@charset "UTF-8";
:root{--paper:#f4f1e8;--ink:#252b26;--muted:#717369;--line:#d9d9cd;--amber:#f6c65c;--gold:#b28023;--blue:#2863b3;--red:#c65845;--panel:#252d27;--ease:cubic-bezier(.2,.8,.2,1);font-family:"Helvetica Neue",Arial,sans-serif;color:var(--ink);font-synthesis:none;color-scheme:light}

*{box-sizing:border-box}
body{margin:0;background:var(--paper);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23897652' opacity='.045' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");font-size:14px;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:not-allowed}
button,a{touch-action:manipulation}
button{color:inherit}
button,button svg,a{transition:background .2s,color .2s,opacity .2s,box-shadow .2s,transform .2s}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4678b8;outline-offset:4px}
button:disabled{opacity:.45}
button:disabled:hover{transform:none}
svg{display:block}
.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.icon.small{width:16px;height:16px}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.header{height:91px;padding:0 4.5%;display:flex;align-items:center;gap:54px;border-bottom:1px solid var(--line);max-width:1800px;margin:auto}
.brand{position:relative;display:flex;flex-direction:column;align-items:center;flex-shrink:0;line-height:1}
.brand-mark{font-family:Impact,"Arial Black",sans-serif;letter-spacing:-2.5px;font-size:38px;font-weight:900;display:block;position:relative}
.brand-mark>span{font-family:Arial,sans-serif;font-size:30px;vertical-align:3px;margin:0 2px}
.brand-mark i{position:absolute;right:-10px;top:2px;width:7px;height:7px;background:#d69d3a;border-radius:50%}
.brand-caption{font-size:7px;font-weight:800;letter-spacing:3.4px;margin:5px -3px 0 0}
.navigation{display:flex;align-items:center;gap:8px;height:100%}
.nav-link{background:transparent;border:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 19px;height:44px;font-size:13px;font-weight:600;border-radius:6px;color:#666b60}
.nav-link:hover{background:#e8e6db;color:var(--ink)}
.nav-link.active{background:#e6e6d9;color:var(--ink)}
.nav-dot{width:5px;height:5px;border-radius:50%;background:var(--ink)}
.nav-link .small{width:13px;height:13px}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:28px}
.network-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;white-space:nowrap}
.network-mark{color:#66773a;font-family:Georgia,serif;font-weight:bold;font-style:italic;font-size:29px;transform:rotate(-12deg);margin-right:1px}
.network-tag{font-size:7px;letter-spacing:1px;border:1px solid #bfc5b2;padding:3px 4px;border-radius:3px;color:#65715b}
.wallet-button{border:0;min-height:44px;padding:13px 19px;background:var(--ink);color:var(--paper);border-radius:6px;display:flex;align-items:center;gap:11px;font-size:12px;font-weight:600;white-space:nowrap}
.wallet-button:hover{background:#404b3e;box-shadow:0 3px 8px #252b2620}
.wallet-button .icon{width:17px;height:17px}

.page{max-width:1368px;margin:auto;padding:44px 40px 0}
.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}
.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:10px}
.tiny-cross{font-size:15px;line-height:1;color:#9e7532;transform:rotate(-10deg)}
.eyebrow-line{width:25px;height:1px;background:#c6c6b8;margin:0 3px}
h1{font-size:clamp(32px,3.35vw,48px);letter-spacing:-2px;line-height:1.12;margin:13px 0 11px;font-weight:750}
h1>span{color:#c6973e}
.intro p{color:#73766b;font-size:13px;margin:0;letter-spacing:.1px}
.preview-stamp{border:1px dashed #bcc3b2;border-radius:6px;padding:14px 17px;display:flex;align-items:flex-start;gap:10px;transform:rotate(-1deg);background:#e8ecde4a;margin-top:18px}
.status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#92a47d;flex-shrink:0}
.preview-stamp>.status-dot{margin-top:4px}
.preview-stamp strong{display:block;font-size:11px;font-weight:600;color:#546349;margin-bottom:5px}
.preview-stamp div>span{font-size:10px;color:#68745e}
.stamp-code{font-size:8px;color:#7c886c;margin-left:13px;font-family:monospace}

.arena{display:grid;grid-template-columns:minmax(0,1fr) 344px;border:1px solid #cdd0c0;border-radius:12px;overflow:hidden;box-shadow:0 3px 1px #1b231106,0 10px 30px #32291d04;scroll-margin-top:24px}
.play-area{background:#edece0;min-width:0;position:relative}
.board-topline{height:57px;padding:0 27px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d6d8c6;background:#f0f0e7}
.board-name{font-family:"Courier New",monospace;font-size:10px;font-weight:bold;letter-spacing:.7px;display:flex;align-items:center;gap:10px}
.board-name>.icon{width:15px;height:15px;color:#747c68}
.board-name>span{color:#78806e}
.stage-badge{display:flex;align-items:center;gap:6px;font-size:8px;letter-spacing:1px;color:#546744;font-weight:700;background:#e2e8d7;border:1px solid #cdd8ba;padding:6px 8px;border-radius:3px}
.stage-badge>span{width:4px;height:4px;background:#789253;border-radius:50%}
.stage-badge.busy>span{animation:blink 1.4s ease infinite}
.board-scene{position:relative;padding:18px 55px 16px;overflow:hidden;background-color:#e8e7d8;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='650' height='620' viewBox='0 0 650 620'%3E%3Cg stroke='%23b5bdaa' stroke-width='1' fill='none' opacity='.23'%3E%3Cpath d='M-40 430C50 360-30 310 60 300s130 140 230 20 140-100 180-200S630 60 700-80M-40 446C50 376-15 326 70 316s124 140 220 20 149-100 187-200S642 75 718-68M-40 462C60 392-5 342 80 332s116 143 210 20 158-96 194-200S650 93 730-56M-40 478C70 408 5 358 90 348s105 150 200 20 170-91 204-200S670 110 740-44M-40 494C90 426 15 374 100 364s95 157 190 20 180-84 214-200S690 130 760-32M-40 510C110 444 25 390 110 380s84 164 180 20 190-77 224-200S710 150 780-20M450 690c-150-180-40-190 50-220s60-130 220-160M470 700c-150-180-40-190 50-220s60-130 220-160M490 710c-150-180-40-190 50-220s60-130 220-160M510 720c-150-180-40-190 50-220s60-130 220-160M530 730c-150-180-40-190 50-220s60-130 220-160'/%3E%3C/g%3E%3C/svg%3E");background-size:cover}
.compass{position:absolute;right:22px;top:26px;width:40px;color:#78836d;opacity:.7;display:flex;flex-direction:column;align-items:center}
.compass span{font-family:monospace;font-size:8px;margin-bottom:2px}
.compass svg{width:35px;height:35px;stroke:currentColor;fill:none;stroke-width:1}
.terrain-label{position:absolute;font-family:monospace;font-size:7px;letter-spacing:2px;color:#848b77;writing-mode:vertical-rl}
.terrain-label-left{left:23px;bottom:100px;transform:rotate(180deg)}
.terrain-label-right{right:23px;bottom:105px}
.board-layout{width:min(100%,474px);margin:0 auto;display:grid;grid-template-columns:20px 1fr;grid-template-rows:20px 1fr;position:relative;column-gap:7px;row-gap:6px}
.col-coordinates{grid-column:2;display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.row-coordinates{grid-row:2;display:grid;grid-template-rows:repeat(5,1fr);gap:8px}
.col-coordinates>span,.row-coordinates>span{display:flex;align-items:center;justify-content:center;font-family:"Courier New",monospace;font-size:9px;color:#7b806c;font-weight:bold}
.board{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;position:relative;padding:7px;background:#d9d6bf;border:1px solid #bdbda0;border-radius:8px;box-shadow:0 5px 0 #c4c4aa,0 9px 16px #645b3c12,inset 0 2px 5px #837b4530;aspect-ratio:1}

.cell{border:1px solid #c8ac77;border-bottom-color:#bca16b;border-radius:5px;position:relative;padding:0;min-width:0;aspect-ratio:1;background-color:#dec68f;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.47' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h140v140H0z' filter='url(%23g)' opacity='.16'/%3E%3Cg fill='none' stroke='%23a58c56' opacity='.18'%3E%3Cpath d='M-10 90Q25 72 55 88t100-8M-10 96Q25 78 55 94t100-8M-10 15Q30 10 65 23t100-5M-10 21Q30 16 65 29t100-5'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(150deg,#ead5a5 0%,#dfc792 55%,#d7bc83 100%);box-shadow:inset 0 1px 1px #fff5d6aa,inset 0 -2px 2px #93753e1c,0 2px 1px #836b3222;transition:transform .2s var(--ease),border-color .2s,box-shadow .2s,background-color .2s;isolation:isolate;overflow:hidden}
.cell:after{content:"";position:absolute;width:3px;height:2px;border-radius:50%;background:#a68b5260;left:17%;top:28%;box-shadow:33px 21px 0 -0.2px #af945a70,17px 36px 0 0 #ac905640,37px -5px 0 -.3px #ac905650,3px 44px 0 0 #fff5d354;pointer-events:none}
.cell:nth-child(3n){background-position:40px 60px,0 0}
.cell:nth-child(5n+1){background-position:80px 20px,0 0}
.cell-number{position:absolute;top:6px;left:7px;font-family:monospace;font-size:7px;color:#766034;opacity:.58;z-index:4;transition:opacity .2s}
.cell:hover:not([aria-disabled=true]){transform:translateY(-2px);border-color:#b38c39;box-shadow:0 3px 0 #b29862,0 5px 8px #816a3d20,inset 0 1px 1px #ffedc1}
.cell:focus-visible{outline-offset:1px;z-index:10}
.cell.selected{border-color:#6586a5;box-shadow:inset 0 0 0 1px #3267a532,inset 0 1px 2px #fff3d277,0 2px 1px #806b3320}
.cell.selected:before{content:"";position:absolute;inset:0;background:#6596c412;pointer-events:none}
.cell.golden{border-color:#997120;box-shadow:inset 0 0 0 2px #eabe4f80,0 2px 1px #806b3320}
.cell.gold-eligible{box-shadow:inset 0 0 0 2px #dcae4e90;animation:gold-breathe 1.8s ease-in-out infinite}
.cell[aria-disabled=true]{cursor:default}
.cross-mark{position:absolute;z-index:3;inset:auto;width:64%;height:64%;left:50%;top:50%;filter:drop-shadow(0 1px 0 #fff0c169);pointer-events:none;color:var(--blue);transform:translate(-50%,-50%) rotate(-8deg);animation:stamp .22s var(--ease) both}
.cross-mark line{stroke:currentColor;stroke-width:9;stroke-linecap:square}
.cross-mark.opponent{color:var(--red);transform:translate(-50%,-50%) rotate(7deg)}
.cell.dual .cross-mark{width:38%;height:38%;top:53%}
.cell.dual .cross-mark.you{left:27%}
.cell.dual .cross-mark.opponent{left:73%}
.cell.dual .cross-mark line{stroke-width:10}
.gold-marker{position:absolute;right:5px;top:4px;z-index:5;background:#f7d579;border-radius:50%;padding:3px;color:#795911;box-shadow:0 1px 4px #7453293d}
.gold-marker .icon{width:12px;height:12px;fill:#c18d28;stroke:#73511b;stroke-width:1}
.gold-marker.opponent-gold{left:4px;right:auto;color:#a6432d;background:#f0bca5}
.gold-marker.opponent-gold .icon{fill:#c65845;stroke:#914131}
.board-legend{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:19px;padding-left:22px;color:#626b56;font-size:9px}
.board-legend>span{display:flex;align-items:center;gap:5px}
.legend-cross{font-size:24px;font-style:normal;font-weight:600;line-height:12px;transform:rotate(-8deg)}
.blue{color:var(--blue)}
.red{color:var(--red)}
.gold-icon{color:#aa7c24;fill:#d6b35d40}
.board-legend .small{height:12px;width:12px}

.cell.excavated{background:#d6bc86 radial-gradient(ellipse at 50% 55%,#8e754a 0%,#a68a58 34%,#b89c68 48%,#d5b981 63%,#e5cd9e 72%,#dcc18b 80%);background-position:center;background-size:100% 100%;background-repeat:no-repeat;border-color:#b89a63;box-shadow:inset 0 1px 4px #74592b44,0 1px 0 #f3dca8}
.cell.excavated:after{display:none}
.cell.excavated .cross-mark{opacity:.85;animation:none;width:50%;height:50%;top:53%}
.cell.excavated.dual .cross-mark{width:36%;height:36%}
.cell.excavated.treasure-hit .cross-mark{z-index:5;width:23%;height:23%;top:85%;opacity:1}
.cell.excavated.treasure-hit.dual .cross-mark.you{left:35%}
.cell.excavated.treasure-hit.dual .cross-mark.opponent{left:65%}
.cell.excavated .cell-number{opacity:.65;color:#3d3523}
.cell.excavated .empty-find{position:absolute;inset:36%;border:1px solid #b2a27780;border-radius:50%;opacity:.7}
.cell .treasure{position:absolute;inset:2% 7% auto;width:86%;height:78%;object-fit:contain;z-index:3;filter:drop-shadow(0 4px 2px #50340d50);animation:treasure-pop .42s var(--ease) both;pointer-events:none}
.cell.ghost .treasure{opacity:.28;filter:saturate(.7);z-index:1;inset:9% 6%;width:88%;height:82%;animation:ghost-in .6s ease both}
.cell.ghost .cell-number{opacity:.65}
.cell.treasure-hit{box-shadow:inset 0 0 0 1px #e9c166,0 1px 0 #f3dca8}
.cell.golden-hit{box-shadow:inset 0 0 0 2px #f5d465,0 0 13px #eac04b70}
.shovel-position{position:absolute;width:100px;height:100px;z-index:15;pointer-events:none;transform:translate(-50%,-60%);transition:top .32s var(--ease),left .32s var(--ease)}
.shovel{width:100%;height:100%;filter:drop-shadow(5px 8px 3px #4b391b4f);transform-origin:75% 15%;animation:dig .66s cubic-bezier(.3,.1,.3,1) infinite}
.sand-particle{position:absolute;width:6px;height:4px;background:#b49556;bottom:20px;left:28px;opacity:0;animation:sand .66s ease-out infinite;border-radius:2px}
.p2{animation-delay:.08s;--drift:30px;--rise:-36px;background:#f0d7a1}
.p3{animation-delay:.04s;--drift:-29px;--rise:-22px;width:4px}
.p4{animation-delay:.12s;--drift:20px;--rise:-46px;width:4px;background:#c6a665}
.board-scene.is-digging .cell{filter:saturate(.9)}
.board-scene.is-digging .cell.active-dig{transform:translateY(1px);box-shadow:inset 0 0 12px #89744370}
.board-scene.is-waiting .board{animation:board-wait 2s ease-in-out infinite}

.players{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 26px;background:#f0f0e6;border-top:1px solid #d1d4be}
.player{display:flex;align-items:center;gap:11px;flex:1;min-width:0}
.player-avatar{width:36px;height:36px;border-radius:6px;display:grid;place-items:center;flex-shrink:0}
.blue-avatar{background:#e0e7e6;color:#3264a0;border:1px solid #cad6d9}
.red-avatar{background:#efe1d4;color:#b25640;border:1px solid #e0cdbd}
.player-avatar .icon{stroke-width:2.6;transform:rotate(-8deg);width:24px;height:24px}
.player-details strong{font-size:12px;font-weight:700;display:block;white-space:nowrap}
.player-details strong>span{font-size:6px;letter-spacing:.6px;font-weight:600;margin-left:4px;color:#78816d}
.player-details>span{display:block;font-size:9px;color:#717966;margin-top:6px;line-height:1.3}
.player-score{margin-left:auto;font-size:24px;font-family:"Courier New",monospace;text-align:right;line-height:1.1;flex-shrink:0}
.player-score>small{display:block;font-family:Arial,sans-serif;font-size:5.5px;letter-spacing:1px;margin-top:5px;color:#79816e}
.versus{font-family:Georgia,serif;font-style:italic;font-size:11px;color:#91967f;padding:0 5px}
.round-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:15px 26px 17px;border-top:1px solid #d7dac8;background:#f1f1e8}
.progress-step{font-size:8px;color:#858c78;display:flex;align-items:center;gap:6px;position:relative;padding-top:9px;white-space:nowrap}
.progress-step:before{content:"";height:2px;position:absolute;top:0;left:0;right:0;background:#dfe1d1}
.progress-step.active{color:#465b33;font-weight:700}
.progress-step.active:before{background:#77845a}
.progress-step.done:before{background:#a2aa8c}
.progress-step>span{font-family:monospace;font-size:8px}

.control-panel{padding:26px 27px 18px;background:var(--panel);color:#f2f2e7;display:flex;flex-direction:column;min-width:0;position:relative}
.control-panel:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h180v180H0z' opacity='.04' filter='url(%23n)'/%3E%3C/svg%3E")}
.control-panel>*{position:relative;z-index:1}
.panel-top{display:flex;justify-content:space-between;align-items:center;font-family:monospace;font-size:8px;letter-spacing:1.3px;color:#abb49f}
.panel-number{color:#8f9c82;font-size:9px;letter-spacing:.3px}
.panel-heading h2{font-size:35px;letter-spacing:-1.1px;line-height:1.13;margin:21px 0 12px;font-weight:600}
.panel-heading p{font-size:11px;color:#b6c0ad;line-height:1.7;margin:0 0 23px;min-height:37px}
.mode-switch{display:flex;border:1px solid #555e4c;border-radius:5px;overflow:hidden;padding:3px;gap:3px;background:#1e271f}
.mode-button{padding:10px 8px;min-height:43px;display:flex;align-items:center;justify-content:center;gap:5px;color:#bac4af;font-size:10px;flex:1;border:0;border-radius:3px;background:transparent;white-space:nowrap}
.mode-button .icon{width:14px;height:14px}
.mode-button>span{font-family:monospace;font-size:10px;background:#1d251e;padding:2px 3px;border-radius:3px;color:#aebea0}
.mode-button.selected{background:#49573f;color:#f0f2e7}
.mode-button:hover{background:#3d4936}
.mode-button#mode-gold.selected{background:#65532b;color:#ffe09a}
.mode-button#mode-gold .icon{color:#ecc265}
.chosen-cells{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:13px}
.choice-slot{height:36px;display:flex;align-items:center;justify-content:center;border:1px dashed #5a654f;border-radius:4px;color:#99a98d;font-family:monospace;font-size:11px;position:relative;background:none}
.choice-slot.filled{background:#354639;border:1px solid #5c7560;color:#e8eedb}
.choice-slot.gold{background:#5a4c2a;border-color:#b49a51;color:#ffdb81}
.choice-slot .icon{height:9px;width:9px;position:absolute;top:3px;right:3px;fill:#e9bd5c}
.selection-helpers{display:flex;align-items:center;justify-content:space-between;margin-top:2px}
.selection-helpers button{border:0;background:transparent;min-height:38px;font-size:9px;padding:6px 0;color:#b6c2aa;display:flex;align-items:center;gap:5px}
.selection-helpers button:hover{color:#f7cd70}
.selection-helpers .icon{width:11px;height:11px}
.panel-divider{height:1px;background:#4b5543;margin:9px 0 18px}
.stake-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:11px}
.stake-label>span{font-size:6px;letter-spacing:1px;color:#b2bea5;border:1px solid #5b664f;padding:3px 4px;border-radius:3px}
.stake-input{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #637053;background:#1e271f;border-radius:5px;min-height:51px}
.eth-icon{font-size:28px;line-height:1;color:#ccd4bd;transform:scaleX(.65)}
.stake-input input{border:0;background:none;color:#f3f3e4;width:100%;font-size:23px;letter-spacing:-.5px;min-width:0;padding:0;line-height:1.2;outline-offset:4px}
.stake-input>span:last-child{font-size:10px;color:#c0ccb0}
.stake-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:9px}
.stake-presets>button{border:1px solid #526046;border-radius:4px;background:transparent;color:#bdc9ad;font-family:monospace;font-size:9px;padding:6px 0;min-height:30px}
.stake-presets>button.selected{background:#48563d;border-color:#637451;color:#edf2dd}
.stake-presets>button:hover{background:#566648;color:white}
.input-error{font-size:10px;color:#ffb3a0;line-height:1.5;margin:6px 0 0}
.pot-summary{margin-top:auto;padding-top:23px}
.pot-summary>div{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:12px;gap:5px}
.pot-summary>div>span{color:#b6c2a9;display:flex;gap:6px;align-items:center}
.pot-summary strong{font-family:"Courier New",monospace;font-weight:500;font-size:12px;white-space:nowrap}
.pot-summary small{font-size:8px;color:#bac7a9}
.winner-amount>span>i{border:1px solid #7c794f;color:#f1d175;border-radius:3px;font-style:normal;padding:2px 3px;font-size:7px}
.pot-summary .winner-amount>strong{font-size:16px;color:#f4d889}
.winner-amount small{color:#d5c489}
.start-button{background:var(--amber);border:1px solid #f6cf79;border-radius:5px;min-height:51px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#332f1f;font-size:11px;font-weight:bold;padding:13px 15px;margin-top:4px;box-shadow:0 3px 0 #bd9241;transition:background .2s,transform .2s}
.start-button:hover:not(:disabled){background:#ffda87;transform:translateY(-1px)}
.start-button:active:not(:disabled){transform:translateY(2px);box-shadow:none}
.start-button:disabled{opacity:1;background:#5a6148;border-color:#677056;color:#d1d6c0;box-shadow:0 2px 0 #1c241b}
.start-button:disabled>.icon{opacity:.45}
.action-note{color:#a9b79b;display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;margin:13px 0 19px;line-height:1.5;text-align:center}
.action-note .small{height:10px;width:10px}
.panel-footer{border-top:1px solid #4b5741;display:flex;align-items:center;justify-content:space-between;padding-top:12px;color:#b7c4a7;font-family:monospace;font-size:8px;letter-spacing:.4px}
.panel-footer>div{display:flex;align-items:center;gap:6px}
.panel-footer .status-dot{width:4px;height:4px;background:#9eb488}
.footer-slash{margin:0 2px;color:#7f906b}
.panel-footer>button{border:1px solid #79876a;background:transparent;color:#bacaa6;border-radius:50%;width:20px;height:20px;padding:0;font-family:monospace;position:relative}
.panel-footer>button:before{content:"";position:absolute;inset:-12px}
.waiting-controls{text-align:center;padding:10px 0 24px;min-height:239px}
.signal-orbit{position:relative;width:90px;height:90px;border:1px solid #697951;border-radius:50%;margin:7px auto 25px;display:grid;place-items:center}
.signal-orbit>.icon{width:29px;height:29px;color:#eac977}
.signal-orbit>i:first-of-type{position:absolute;inset:10px;border:1px dashed #64714f;border-radius:50%;animation:rotate 16s linear infinite}
.signal-orbit>i:last-of-type{position:absolute;inset:-1px;border:1px solid transparent;border-top-color:#eac977;border-radius:50%;animation:rotate 2s linear infinite}
.signal-orbit>i:last-of-type:after{content:"";position:absolute;top:11px;right:10px;width:5px;height:5px;background:#eac977;border-radius:50%;box-shadow:0 0 9px #eac97780}
.waiting-controls>strong{font-size:12px;font-weight:600}
.waiting-controls>p{font-size:11px;line-height:1.7;color:#b6c0ad;margin:10px 6px 18px;min-height:37px}
.waiting-ticks{display:flex;justify-content:center;gap:5px}
.waiting-ticks>i{width:3px;height:12px;border-radius:2px;background:#6f7a57;animation:tick 1.2s ease-in-out infinite}
.waiting-ticks>i:nth-child(3n){animation-delay:.2s}
.waiting-ticks>i:nth-child(3n+1){animation-delay:.4s}
.result-controls{text-align:center;padding-bottom:12px}
.result-seal{width:124px;height:108px;border-radius:50%;background:radial-gradient(ellipse,#eaca5230,transparent 70%);margin:-12px auto 0}
.result-seal img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 5px 5px #151d1450)}
.result-controls>p{font-size:11px;color:#c8d0bc;line-height:1.7;margin:3px 0 15px;min-height:38px}
.ticket-result{display:flex;align-items:center;gap:10px;text-align:left;border:1px dashed #8c8251;padding:12px 10px;border-radius:5px;background:#5b512536}
.ticket-result>.icon{color:#e9c86b;width:24px;height:24px}
.ticket-result strong{color:#efd488;font-size:10px;font-weight:500;display:block}
.ticket-result span{font-size:9px;display:block;color:#c9c8a4;margin-top:4px}

.extras{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:18px;margin-top:22px}
.jackpot-card{display:flex;align-items:center;gap:18px;padding:10px 23px 10px 12px;border:1px solid #d4c5a1;border-radius:8px;background:#eee2c1;background-image:radial-gradient(ellipse at 12% 45%,#fff1c399,transparent 50%);text-align:left;position:relative;overflow:hidden;min-height:140px}
.jackpot-card:hover{background-color:#f1e6c8;border-color:#c0a569}
.jackpot-art{position:relative;width:142px;min-width:118px;align-self:stretch;display:flex;align-items:center;justify-content:center}
.jackpot-art img{height:123px;width:135px;object-fit:contain;transform:rotate(-9deg);filter:drop-shadow(0 6px 5px #a97d2333)}
.orbit-star{color:#a97d2b;position:absolute;font-size:13px;line-height:1}
.orbit-star.s1{top:16px;right:1px;transform:rotate(15deg)}
.orbit-star.s2{bottom:14px;left:4px;font-size:10px}
.orbit-star.s3{top:24px;left:10px;font-size:7px}
.jackpot-copy{position:relative}
.jackpot-copy>.eyebrow{font-size:8px;letter-spacing:1.4px;color:#7a5f2b;flex-wrap:wrap;gap:8px}
.jackpot-copy>.eyebrow>span{font-size:6px;border:1px solid #c1ab73;border-radius:3px;letter-spacing:.5px;padding:3px 4px}
.jackpot-copy h3{font-size:19px;letter-spacing:-.4px;margin:11px 0 8px;line-height:1.2}
.jackpot-copy p{font-size:10px;line-height:1.7;margin:0;color:#7a6944}
.jackpot-card-arrow{margin-left:auto;border:1px solid #cdb988;border-radius:50%;padding:9px;flex-shrink:0}
.jackpot-card-arrow>.icon{width:16px;height:16px}
.jackpot-card:hover .jackpot-card-arrow{transform:translateX(3px);background:#f9edc7}
.balance-card{border:1px solid #cdd0c0;border-radius:8px;padding:22px 22px 18px;background:#f0f1e8}
.balance-top{display:flex;align-items:center;justify-content:space-between}
.balance-top>span:first-child{display:flex;align-items:center;gap:7px;font-size:8px;font-weight:600;letter-spacing:1px;color:#5d6952}
.balance-top .small{width:12px;height:12px}
.balance-badge{font-family:monospace;font-size:7px;letter-spacing:1px;border:1px solid #c7ccb8;border-radius:3px;padding:3px 5px;color:#6d795f}
.balance-main{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:17px}
.balance-main>strong{font-family:"Courier New",monospace;font-weight:500;font-size:23px;letter-spacing:-1px;white-space:nowrap}
.balance-main small{font-family:Arial,sans-serif;font-size:9px;color:#727d66;letter-spacing:0}
.balance-main button{background:transparent;border:1px solid #b9c2a5;border-radius:4px;color:#3c4c2d;padding:9px;min-height:35px;display:flex;align-items:center;gap:8px;font-size:9px;white-space:nowrap}
.balance-main button:hover:not(:disabled){background:#e1e8d5}
.balance-main button>.icon{width:13px;height:13px}
.balance-card p{font-size:9px;color:#727d66;margin:13px 0 0;line-height:1.5}
.footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:27px 0 24px;color:#7d8470;font-size:9px}
.footer>span{font-size:8px;letter-spacing:1px;font-weight:600}
.footer i{font-weight:400;font-style:normal;margin-left:10px;letter-spacing:0;color:#8c927e}
.footer p{font-family:Georgia,serif;font-style:italic;font-size:11px;margin:0}
.footer button{border:0;background:transparent;color:#68745c;display:flex;align-items:center;gap:6px;font-size:9px;min-height:36px;padding:0}
.footer button>.icon{height:13px;width:13px}
.preview-settings{border:1px solid var(--line);border-radius:7px;padding:18px;display:flex;align-items:center;gap:24px;justify-content:space-between;background:#eaece0;margin-bottom:25px}
.preview-settings strong{font-size:12px}
.preview-settings p{font-size:11px;color:#69765b;line-height:1.6;margin:5px 0 0}
.preview-settings label{font-size:10px;color:#556448;display:flex;align-items:center;gap:10px;white-space:nowrap}
.preview-settings select{min-height:38px;border:1px solid #b6c1a5;border-radius:4px;background:var(--paper);color:var(--ink);padding:0 8px;font-size:11px}

.dialog{width:min(100% - 32px,470px);max-height:calc(100dvh - 48px);border:1px solid #c6c9b8;border-radius:14px;background:var(--paper);color:var(--ink);padding:34px;box-shadow:0 25px 100px #11190f40;overflow:auto;overscroll-behavior:contain}
.dialog::backdrop{background:#1c281c99;backdrop-filter:blur(6px)}
.dialog[open]{animation:dialog-in .23s var(--ease)}
body:has(dialog[open]){overflow:hidden}
.dialog-close{position:absolute;top:13px;right:13px;width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;border-radius:50%;color:#647257}
.dialog-close:hover{background:#e2e6d6}
.dialog-close:before{content:"";position:absolute;inset:-5px}
.dialog-close>.icon{width:18px;height:18px}
.dialog-eyebrow{font-family:monospace;font-size:8px;letter-spacing:1.4px;color:#7d856a;margin-bottom:20px;padding-right:14px}
.dialog h2{font-size:29px;letter-spacing:-1px;line-height:1.15;margin:0 0 14px}
.dialog-description{font-size:12px;line-height:1.7;color:#6b775e;margin:0 0 22px}
.wallet-list{display:flex;flex-direction:column;gap:9px;margin-top:20px}
.wallet-option{display:flex;align-items:center;gap:12px;width:100%;background:#eeeee3;border:1px solid #cdd1bd;border-radius:7px;padding:12px;text-align:left;min-height:65px}
.wallet-option:hover{background:#e6eadb;border-color:#a4b392}
.wallet-provider-icon{width:36px;height:36px;border-radius:8px;background:#e4e6da;display:grid;place-items:center;flex-shrink:0;overflow:hidden}
.wallet-provider-icon img{width:30px;height:30px;object-fit:contain}
.wallet-provider-icon svg{width:28px;height:28px}
.wallet-option>span:nth-child(2){flex:1;min-width:0}
.wallet-option strong{font-size:13px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis}
.wallet-option small{display:block;font-size:10px;font-weight:400;color:#6c795c;margin-top:4px}
.wallet-option>.icon{width:16px;height:16px;color:#73855e}
.wallet-option.unavailable{opacity:1}
.wallet-option.unavailable strong{color:#737767}
.wallet-option.unavailable small{color:#7b806f}
.wallet-option.unavailable .wallet-provider-icon{opacity:.65}
.wallet-feedback{font-size:11px;line-height:1.6;color:#975133;margin:12px 0 0}
.wallet-feedback:empty{display:none}
.wallet-modal-divider{display:flex;justify-content:center;position:relative;margin:25px 0 18px;font-size:7px;letter-spacing:1px;color:#79866b}
.wallet-modal-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#d7dacb}
.wallet-modal-divider>span{position:relative;background:var(--paper);padding:0 10px}
.demo-wallet{display:flex;align-items:center;text-align:left;width:100%;gap:12px;border:1px dashed #b2bb9e;border-radius:6px;background:transparent;padding:12px}
.demo-wallet:hover{background:#e8ecdc}
.demo-wallet-icon{width:36px;height:36px;display:grid;place-items:center;background:#dfe5d1;border-radius:7px;color:#667a47}
.demo-wallet strong{font-size:12px;display:block}
.demo-wallet small{font-size:10px;display:block;color:#778365;margin-top:4px}
.demo-wallet>.icon{margin-left:auto;width:16px;height:16px}
.wallet-fineprint{font-size:10px;line-height:1.6;color:#78816e;margin:19px 0 0}
.connected-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#4f693d;margin:15px 0}
.connected-status .status-dot{background:#719752}
#connected-address{font-family:monospace;font-size:12px;word-break:break-all;padding:14px;border:1px dashed #b4bea0;background:#e4ead8;border-radius:4px;line-height:1.7}
.secondary-button{background:transparent;border:1px solid #bdc8aa;border-radius:5px;padding:11px;font-size:11px;min-height:44px;margin:12px 0 0;width:100%}
.rules-dialog{width:min(100% - 32px,540px)}
.rule-list{display:flex;flex-direction:column;gap:20px;margin-top:26px}
.rule-list>div{display:flex;gap:16px}
.rule-list>div>span{border:1px solid #c4cbb6;border-radius:50%;width:27px;height:27px;flex-shrink:0;display:grid;place-items:center;font-family:monospace;font-size:10px;background:#e8ecdf;color:#6c7c55}
.rule-list h3{font-size:13px;margin:3px 0 7px}
.rule-list p{font-size:11px;color:#69765b;line-height:1.8;margin:0}
.rules-note{display:flex;gap:12px;border:1px solid #d8c59a;background:#eee3c8;padding:14px;border-radius:6px;margin-top:25px;color:#775e2a}
.rules-note .icon{margin-top:2px;width:18px;height:18px}
.rules-note p{font-size:10px;line-height:1.8;margin:0}
.rules-technical{font-size:10px;line-height:1.8;color:#77826a;margin:18px 0}
.primary-dialog-button{border:1px solid #d0a446;background:#f0c568;border-radius:5px;padding:14px;width:100%;display:flex;align-items:center;justify-content:space-between;font-size:12px;min-height:48px;margin-top:23px;font-weight:600}
.primary-dialog-button:hover{background:#f7d48a}
.primary-dialog-button>.icon{width:18px;height:18px}
.jackpot-dialog{text-align:center}
.jackpot-dialog .dialog-eyebrow{text-align:left}
.jackpot-dialog-art{width:150px;height:135px;object-fit:contain;filter:drop-shadow(0 5px 8px #a67c2c30)}
.jackpot-dialog h2{font-size:34px}
.jackpot-dialog .dialog-description{font-size:11px}
.jackpot-stats{display:grid;grid-template-columns:1fr 1fr;border:1px solid #cecbb3;border-radius:6px;background:#eee9d7;margin:25px 0}
.jackpot-stats>div{padding:17px 7px}
.jackpot-stats>div+div{border-left:1px solid #cecbb3}
.jackpot-stats span{display:block;font-size:9px;color:#797353;margin-bottom:8px}
.jackpot-stats strong{font-family:monospace;font-size:23px;font-weight:400;color:#73602d;white-space:nowrap}
.jackpot-stats small{font-family:Arial,sans-serif;font-size:9px}
.jackpot-explanation{display:flex;gap:10px;text-align:left;margin-top:22px}
.jackpot-explanation .icon{color:#988144;margin-top:3px}
.jackpot-explanation p{font-size:11px;line-height:1.8;color:#767b60;margin:0}
.jackpot-dialog .rules-technical{text-align:left}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20;width:max-content;max-width:calc(100% - 32px);border:1px solid #647c4a;background:#283722;color:#e7eedc;border-radius:8px;box-shadow:0 8px 30px #15241030;font-size:12px;padding:15px 22px;line-height:1.7;animation:toast-in .2s ease}

@keyframes stamp{from{opacity:0;scale:1.35}
to{opacity:1;scale:1}
}
@keyframes blink{50%{opacity:.2}
}
@keyframes gold-breathe{50%{box-shadow:inset 0 0 0 2px #e4be6680,0 0 9px #e4be6640}
}
@keyframes dig{0%,100%{transform:translate(5px,-6px) rotate(-20deg)}
35%{transform:translate(-5px,7px) rotate(7deg)}
62%{transform:translate(-2px,3px) rotate(17deg)}
}
@keyframes sand{0%,25%{opacity:0;transform:translate(0,0)}
35%{opacity:1}
90%,100%{opacity:0;transform:translate(var(--drift,-23px),var(--rise,-38px)) rotate(110deg)}
}
@keyframes rotate{to{transform:rotate(360deg)}
}
@keyframes tick{50%{background:#e8c974;transform:scaleY(1.5)}
}
@keyframes board-wait{50%{box-shadow:0 5px 0 #c4c4aa,0 0 22px #b9954540}
}
@keyframes treasure-pop{from{opacity:0;transform:translateY(6px) scale(.65)}
to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes ghost-in{from{opacity:0}
to{opacity:.28}
}
@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.98)}
to{opacity:1;transform:none}
}
@keyframes toast-in{from{opacity:0;margin-bottom:-8px}
to{opacity:1;margin-bottom:0}
}

@media(min-width:1500px){.page{padding-top:54px}
.intro{margin-bottom:36px}
.board-layout{width:498px}
.control-panel{padding-top:30px}
.panel-heading h2{font-size:38px}
.board-scene{padding-top:23px;padding-bottom:21px}
.panel-divider{margin-top:15px}
.header{padding:0 max(4.5%,calc((100vw - 1288px)/2))}
}

@media(max-width:1190px){.header{gap:30px;padding:0 30px}
.header-actions{gap:18px}
.network-tag{display:none}
.network-label{font-size:11px}
.nav-link{padding:12px 13px;font-size:12px}
.page{padding:34px 30px 0}
.arena,.extras{grid-template-columns:minmax(0,1fr) 310px}
.control-panel{padding:23px 23px 18px}
.board-scene{padding-left:24px;padding-right:34px}
.compass{display:none}
.terrain-label{display:none}
.board-topline{padding:0 22px}
.players{padding:18px;gap:10px}
.player{gap:8px}
.player-details strong>span{display:none}
.player-details>span{font-size:8px}
.player-avatar{width:31px;height:31px}
.player-score{font-size:22px}
.versus{padding:0}
.round-progress{padding:13px 18px 16px;gap:9px}
.jackpot-art{width:114px;min-width:95px}
.jackpot-art img{width:120px;height:120px}
.jackpot-card{gap:8px;padding-left:5px;padding-right:16px}
.jackpot-copy h3{font-size:16px}
.jackpot-copy p{font-size:9px}
.jackpot-card-arrow{padding:6px}
.balance-card{padding:22px 19px}
.balance-main>strong{font-size:21px}
.preview-stamp{padding:12px}
.panel-heading h2{font-size:33px}
.board-name{font-size:9px;gap:8px}
.panel-heading p{margin-bottom:18px}
.control-panel .pot-summary{padding-top:21px}
}

@media(max-width:960px){.header{height:79px;gap:25px;padding:0 24px}
.navigation{gap:0}
.nav-link{padding:11px 12px}
.network-label{display:none}
.header-actions{gap:0}
.wallet-button{padding:12px 13px}
.page{padding:30px 24px 0}
.intro{margin-bottom:25px}
h1{font-size:35px;letter-spacing:-1.3px}
.intro p{font-size:11px}
.eyebrow{font-size:7px;letter-spacing:1.6px}
.preview-stamp{gap:7px}
.stamp-code{display:none}
.preview-stamp strong{font-size:10px}
.preview-stamp div>span{font-size:8px}
.arena{grid-template-columns:minmax(0,1fr) 286px}
.control-panel{padding:23px 19px 17px}
.board-topline{padding:0 17px;height:53px}
.board-name{font-size:8px;gap:6px;letter-spacing:0}
.board-name>.icon{width:13px;height:13px}
.stage-badge{font-size:7px;letter-spacing:.5px;padding:5px}
.board-scene{padding:33px 20px 24px 10px;display:flex;flex-direction:column;justify-content:center;flex:1}
.play-area{display:flex;flex-direction:column}
.board-layout{grid-template-columns:15px 1fr;column-gap:5px;row-gap:4px}
.board{gap:6px;padding:6px}
.col-coordinates,.row-coordinates{gap:6px}
.cell-number{font-size:6px;left:5px;top:4px}
.board-legend{gap:12px;font-size:8px;margin-top:23px;padding-left:15px}
.legend-cross{font-size:20px}
.players{padding:16px 13px;gap:8px}
.player-avatar{display:none}
.player-score{font-size:20px}
.player-details strong{font-size:11px}
.player-details>span{max-width:92px;line-height:1.5}
.round-progress{padding-left:13px;padding-right:13px;gap:7px}
.progress-step{font-size:7px;gap:4px}
.progress-step>span{font-size:7px}
.panel-heading h2{font-size:32px}
.panel-heading p{font-size:10px}
.mode-button{font-size:9px;padding-left:5px;padding-right:5px}
.extras{grid-template-columns:minmax(0,1fr) 286px;gap:14px}
.jackpot-card{padding:16px;gap:10px}
.jackpot-art{min-width:70px;width:75px}
.jackpot-art img{height:88px;width:90px}
.jackpot-copy h3{font-size:16px;line-height:1.3}
.jackpot-copy .eyebrow>span{display:none}
.jackpot-card-arrow{display:none}
.desktop-break{display:none}
.balance-top>span:first-child{font-size:7px;letter-spacing:.6px}
.balance-main>strong{font-size:19px}
.balance-main button{padding:8px 6px;font-size:8px;gap:5px}
.balance-card{padding:22px 17px}
.footer p{font-size:10px}
.gold-marker{padding:2px;top:3px;right:3px}
.gold-marker .icon{width:9px;height:9px}
}

@media(max-width:740px){.header{height:73px;padding:0 20px;gap:20px}
.brand-mark{font-size:31px}
.brand-mark>span{font-size:26px;vertical-align:1px}
.brand-caption{font-size:6px;letter-spacing:2.6px}
.brand-mark i{width:6px;height:6px;right:-8px}
.navigation .nav-link{font-size:11px;padding:10px 11px}
.navigation .nav-link:last-child{display:none}
.navigation{gap:2px}
.nav-link .small{display:none}
.nav-link.active{gap:7px}
.wallet-button{font-size:10px;padding:10px 12px}
.wallet-button>.icon{width:15px;height:15px}
.page{padding:28px 20px 0}
.intro{align-items:flex-start;gap:15px;margin-bottom:23px}
.intro .eyebrow{font-size:6.5px;gap:7px;letter-spacing:1.3px}
.eyebrow-line{width:17px;margin:0}
h1{font-size:34px;margin-top:11px;margin-bottom:9px}
.intro p{font-size:10px}
.preview-stamp{display:none}
.arena{grid-template-columns:1fr}
.board-topline{height:51px;padding:0 23px}
.board-name{font-size:9px;letter-spacing:.6px;gap:9px}
.stage-badge{font-size:8px;letter-spacing:.7px}
.board-scene{padding:19px 28px 20px 15px}
.board-layout{max-width:430px;grid-template-columns:18px 1fr;column-gap:5px;row-gap:4px}
.board{gap:7px;padding:7px}
.col-coordinates,.row-coordinates{gap:7px}
.cell-number{font-size:7px;left:7px;top:6px}
.board-legend{font-size:9px;gap:23px;margin-top:19px}
.players{padding:17px 23px;gap:18px}
.player-avatar{display:grid;width:32px;height:32px}
.player-details strong{font-size:11px}
.player-details>span{font-size:8px;max-width:none}
.player-score{font-size:23px}
.round-progress{padding:13px 23px 17px;gap:16px}
.progress-step{font-size:8px;gap:6px}
.progress-step>span{font-size:8px}
.control-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 27px;padding:25px}
.panel-top{grid-column:1/-1;font-size:8px}
.panel-heading{grid-column:1;grid-row:2}
.panel-heading h2{font-size:29px;margin-top:19px}
.panel-heading h2 br{display:none}
.panel-heading p{font-size:10px;margin-bottom:18px;line-height:1.6;min-height:0}
.panel-heading p br{display:none}
#selection-controls{grid-column:2;grid-row:2/7;align-self:start;padding-top:20px}
.panel-divider{margin:8px 0 14px}
.stake-input{padding:9px 10px}
.pot-summary{grid-column:1;grid-row:3}
.control-panel .pot-summary{padding-top:6px;margin-top:0}
.pot-summary>div{font-size:9px}
.pot-summary strong{font-size:10px}
.pot-summary .winner-amount>strong{font-size:14px}
.start-button{grid-column:1;grid-row:4;align-self:start;font-size:10px;min-height:47px;padding:12px}
.action-note{grid-column:1;grid-row:5;font-size:7px;align-self:start;margin:11px 0 18px}
.panel-footer{grid-column:1/-1;margin-top:15px;padding-top:15px;align-self:end}
.chosen-cells{margin-top:11px;gap:5px}
.choice-slot{height:31px}
.waiting-controls,.result-controls{grid-column:2;grid-row:2/6;align-self:center;min-height:0;padding:20px 0 0}
.signal-orbit{width:70px;height:70px;margin:0 auto 20px}
.waiting-controls>strong{font-size:11px}
.waiting-controls>p{font-size:10px}
.result-controls>p{font-size:10px}
.ticket-result{padding:9px;gap:7px}
.ticket-result strong{font-size:9px}
.ticket-result span{font-size:8px}
.extras{grid-template-columns:1fr;gap:14px;margin-top:18px}
.jackpot-card{padding:13px 20px 13px 6px;min-height:125px;gap:12px}
.jackpot-art{width:114px;min-width:95px}
.jackpot-art img{width:120px;height:109px}
.jackpot-copy h3{font-size:19px}
.jackpot-copy .eyebrow>span{display:inline;font-size:6px}
.jackpot-copy p{font-size:10px}
.jackpot-card-arrow{display:block;padding:8px}
.balance-card{padding:19px 23px;display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
.balance-top{grid-column:1;grid-row:1;justify-content:flex-start;gap:14px}
.balance-main{grid-column:2;grid-row:1/3;margin:0;gap:10px}
.balance-top>span:first-child{font-size:8px;letter-spacing:.7px}
.balance-card p{grid-column:1;grid-row:2;font-size:8px;margin:0}
.balance-main>strong{font-size:23px}
.balance-main button{font-size:9px;min-height:41px;padding:8px 10px}
.footer{padding:18px 0}
.footer p{display:none}
.preview-settings{align-items:flex-start;flex-direction:column;gap:14px}
.preview-settings label{width:100%;justify-content:space-between}
.gold-marker .icon{width:11px;height:11px}
.gold-marker{padding:3px;right:4px;top:4px}
}

@media(max-width:510px){.header{height:68px;padding:0 16px;gap:23px}
.navigation .nav-link{padding:8px 9px;font-size:10px;min-height:44px}
.navigation .nav-link.active{background:transparent;padding-left:0;padding-right:7px}
.navigation .nav-link[data-dialog=jackpot-dialog]{display:none}
.wallet-button{gap:8px;font-size:10px;padding:10px 12px;min-height:40px}
.header-actions{margin-left:auto}
.page{padding:25px 14px 0}
.intro{padding:0 4px}
h1{font-size:33px;letter-spacing:-1.4px}
.intro .eyebrow{font-size:6.5px}
.intro p{font-size:10px}
.arena{border-radius:9px}
.board-topline{padding:0 17px;height:47px}
.board-name{font-size:8px;gap:7px;letter-spacing:.5px}
.board-name>.icon{width:12px;height:12px}
.stage-badge{font-size:7px;padding:5px}
.board-scene{padding:16px 17px 17px 6px}
.board-layout{grid-template-columns:16px 1fr;column-gap:4px;grid-template-rows:16px 1fr;row-gap:4px}
.board{gap:6px;padding:6px;border-radius:7px}
.col-coordinates,.row-coordinates{gap:6px}
.col-coordinates>span,.row-coordinates>span{font-size:8px}
.cell-number{font-size:6px;left:5px;top:4px}
.board-legend{font-size:8px;gap:15px;margin-top:18px}
.board-legend>span{gap:4px}
.board-legend .small{width:11px;height:11px}
.players{padding:15px 16px;gap:12px}
.player{gap:8px}
.player-avatar{width:29px;height:29px}
.player-avatar .icon{width:19px;height:19px}
.player-details strong{font-size:10px}
.player-details>span{font-size:7px;max-width:80px;line-height:1.45;margin-top:4px}
.player-score{font-size:20px}
.player-score>small{font-size:4.5px;letter-spacing:.5px}
.versus{font-size:10px}
.round-progress{padding:12px 16px 15px;gap:10px}
.progress-step{font-size:7px;gap:4px}
.progress-step>span{font-size:7px}
.control-panel{display:flex;padding:23px 23px 19px}
.panel-top{font-size:8px}
.panel-heading h2{font-size:30px;line-height:1.15;margin:17px 0 9px}
.panel-heading p{font-size:11px;margin-bottom:20px;max-width:250px}
#selection-controls{padding:0}
.mode-button{font-size:11px;min-height:44px}
.mode-button .icon{width:15px;height:15px}
.mode-button>span{font-size:11px}
.chosen-cells{gap:8px;margin-top:13px}
.choice-slot{height:35px;font-size:12px}
.selection-helpers button{font-size:10px;min-height:39px}
.panel-divider{margin:10px 0 18px}
.stake-label{font-size:12px}
.stake-label>span{font-size:7px}
.stake-input{min-height:54px;padding:11px 13px}
.stake-input input{font-size:25px}
.stake-presets{gap:8px}
.stake-presets>button{min-height:36px;font-size:10px}
.control-panel .pot-summary{padding-top:25px;margin-top:0}
.pot-summary>div{font-size:11px;margin-bottom:14px}
.pot-summary strong{font-size:12px}
.pot-summary .winner-amount>strong{font-size:18px}
.pot-summary small{font-size:9px}
.winner-amount>span>i{font-size:8px}
.start-button{width:100%;min-height:54px;font-size:12px;padding:14px 17px}
.action-note{align-self:center;font-size:8px;margin:14px 0 0}
.panel-footer{margin-top:20px;padding-top:14px;font-size:8px}
.waiting-controls{padding:12px 0 21px;min-height:220px;width:100%}
.signal-orbit{width:82px;height:82px}
.waiting-controls>strong{font-size:13px}
.waiting-controls>p{font-size:11px;max-width:250px;margin-left:auto;margin-right:auto}
.result-controls{width:100%;padding:0 0 16px}
.result-seal{width:150px;height:128px}
.result-controls>p{font-size:12px}
.ticket-result{padding:13px;gap:12px}
.ticket-result strong{font-size:11px}
.ticket-result span{font-size:10px}
.extras{gap:12px;margin-top:16px}
.jackpot-card{padding:17px 15px 18px 6px;gap:8px;min-height:133px}
.jackpot-art{width:86px;min-width:80px}
.jackpot-art img{width:98px;height:106px}
.jackpot-copy>.eyebrow{font-size:7px;letter-spacing:1px;gap:5px}
.jackpot-copy .eyebrow>span{display:none}
.jackpot-copy h3{font-size:17px;line-height:1.2;margin:8px 0 6px;max-width:200px}
.jackpot-copy p{font-size:9px;line-height:1.6}
.jackpot-card-arrow{display:none}
.orbit-star.s1{right:4px;top:16px;font-size:10px}
.balance-card{display:block;padding:19px 20px}
.balance-top{display:flex;justify-content:space-between;gap:10px}
.balance-top>span:first-child{font-size:8px}
.balance-main{margin-top:14px;display:flex;justify-content:space-between}
.balance-main>strong{font-size:27px}
.balance-main button{font-size:10px;min-height:42px;padding:10px 13px}
.balance-card p{margin:9px 0 0;font-size:9px}
.footer{padding:16px 4px 21px}
.footer>span{font-size:7px;letter-spacing:.6px}
.footer i{font-size:7px;margin-left:5px}
.footer button{font-size:8px}
.dialog{padding:30px 23px 25px;max-height:calc(100dvh - 28px)}
.dialog h2{font-size:27px}
.dialog-description{font-size:11px}
.dialog-eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:19px}
.jackpot-dialog h2{font-size:33px}
.rule-list{gap:18px}
.rule-list p{font-size:11px}
.dialog-close{top:10px;right:10px}
.toast{font-size:11px;padding:13px 17px;bottom:16px}
.gold-marker{padding:2px;right:3px;top:3px}
.gold-marker .icon{width:9px;height:9px}
.shovel-position{width:82px;height:82px}
}

@media(max-width:360px){.header{gap:16px}
.navigation{display:none}
.wallet-button{font-size:9px}
.page{padding-left:10px;padding-right:10px}
h1{font-size:29px}
.players{padding:14px 12px;gap:8px}
.player-avatar{display:none}
.player-details>span{max-width:91px}
.control-panel{padding:22px 19px 18px}
.board-scene{padding-right:13px}
.board{gap:5px;padding:5px}
.col-coordinates,.row-coordinates{gap:5px}
.board-legend{gap:10px;font-size:7px}
.round-progress{padding-left:12px;padding-right:12px}
.progress-step{font-size:6.5px}
.jackpot-copy h3{font-size:16px}
.jackpot-art{min-width:70px;width:75px}
.jackpot-art img{width:90px}
}

.game-navigation{display:flex;align-items:center;gap:7px;margin:0 0 15px;padding:0 2px}
.game-tab{display:flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;border-radius:5px;padding:11px 14px;min-height:44px;font-size:11px;color:#737b65;font-weight:500}
.game-tab.active{background:#e4e7d9;border-color:#ccd2bc;color:#36482d}
.game-tab:hover{background:#e9ebdf}
.game-tab>span{font-family:monospace;background:#d9dfca;border-radius:3px;padding:2px 5px;color:#536344;font-size:9px}
.game-tab .small{width:13px;height:13px}
.lobby-preview-label{display:flex;align-items:center;gap:7px;margin-left:auto;font-family:monospace;font-size:8px;letter-spacing:1px;color:#7a8869}
.lobby-preview-label>.status-dot{width:4px;height:4px}
.lobby{background:#eeeee2;border:1px solid #cdd0c0;border-radius:10px;padding:32px;min-height:540px}
.lobby-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}
.lobby-heading .eyebrow{font-size:8px;letter-spacing:1.5px;color:#74815f}
.lobby-heading h2{font-size:30px;letter-spacing:-1px;margin:13px 0 9px}
.lobby-heading p{font-size:12px;color:#758064;line-height:1.6;margin:0}
.lobby-create{display:flex;align-items:center;justify-content:center;gap:15px;flex-shrink:0;background:#273326;border:1px solid #45573b;border-radius:5px;padding:13px 17px;color:#edf1e1;min-height:44px;font-size:11px;font-weight:500}
.lobby-create:hover:not(:disabled){background:#43553a}
.lobby-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d1d8c1;margin:30px 0 15px;padding-bottom:16px;gap:16px;font-size:11px;color:#6d7b5c}
.lobby-toolbar label{display:flex;align-items:center;gap:10px;font-size:10px}
.lobby-toolbar select{border:1px solid #c4ceb1;border-radius:4px;background:#f6f5ec;padding:8px 10px;color:#566947;font-size:10px;min-height:37px}
.room-list{display:flex;flex-direction:column;gap:11px}
.room-card{display:flex;align-items:center;gap:26px;padding:20px 22px;background:#f6f5ed;border:1px solid #d0d6c0;border-radius:7px}
.room-identity{display:flex;align-items:center;gap:13px;flex:1;min-width:0}
.room-avatar{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;background:#e3e7d7;border:1px solid #ced6be;border-radius:6px;color:#768955}
.room-avatar .icon{width:22px;height:22px}
.room-info{min-width:0}
.room-info strong{font-size:13px;font-weight:600;display:block}
.room-info small{font-family:monospace;font-size:9px;color:#7c886b;display:block;margin-top:6px;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.room-stake,.room-payout{min-width:100px}
.room-stake>span,.room-payout>span,.room-stake>small,.room-payout>small{font-size:9px;color:#7c876d;display:block;margin-bottom:7px}
.room-stake strong,.room-payout strong{font-family:monospace;font-weight:500;font-size:14px;white-space:nowrap}
.room-stake strong small,.room-payout strong small{font-size:8px;font-weight:400;color:#778469}
.room-payout strong{color:#8c743a}
.room-status{display:flex;align-items:center;gap:6px;font-size:9px;color:#657d4e;min-width:67px;background:#e6eddc;padding:6px 8px;border:1px solid #cddbbc;border-radius:4px;white-space:nowrap}
.room-status .status-dot{width:4px;height:4px;background:#839e66}
.room-join{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f0c96f;border:1px solid #d9b457;border-radius:4px;min-height:44px;padding:11px 15px;font-size:10px;font-weight:600;min-width:112px}
.room-join:hover:not(:disabled){background:#f9dc95}
.room-join .small{width:14px;height:14px}
.room-join:disabled{color:#7f8971;background:#e8eddd;border-color:#c9d2ba}
.lobby-footnote{display:flex;align-items:flex-start;gap:8px;color:#7a876a;font-size:10px;line-height:1.7;margin-top:25px;max-width:700px}
.lobby-footnote .small{margin-top:2px;width:12px;height:12px}
.lobby-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 15px;text-align:center;color:#748761}
.lobby-empty>.icon{width:30px;height:30px;stroke-width:1.3}
.lobby-empty h3{font-size:19px;letter-spacing:-.4px;margin:18px 0 9px;color:#4e6440}
.lobby-empty p{font-size:11px;margin:0 0 22px;line-height:1.8}
.lobby-empty .lobby-create{font-size:10px}
.join-banner{display:flex;align-items:center;justify-content:space-between;background:#e1e8d8;border:1px solid #bbcbae;border-radius:6px;padding:14px 18px;margin-bottom:15px;gap:16px}
.join-banner strong{font-size:12px;display:block;color:#526b3c}
.join-banner span{font-size:10px;display:block;color:#6e8158;margin-top:6px;line-height:1.5}
.join-banner button{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#5d714b;min-height:44px;font-size:10px}
.simulate-player{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px dashed #8b926b;border-radius:5px;background:#52613d40;color:#d1dfba;font-size:10px;min-height:50px;padding:10px 12px;margin-top:17px}
.simulate-player>span{font-family:monospace;font-size:6px;letter-spacing:.6px;line-height:1.5;max-width:43px;text-align:left;color:#a8b997}
.simulate-player:hover{background:#56654680}
.preview-options{display:grid;grid-template-columns:1fr 1fr;gap:12px 25px}
.preview-options .secondary-button{margin:0;min-height:40px;font-size:10px}
.preview-settings .preview-options label{justify-content:space-between}
.tie-dialog{text-align:center;width:min(100% - 32px,450px);padding:34px}
.tie-dialog .dialog-eyebrow{font-size:8px;letter-spacing:1.2px;padding:0;margin-bottom:20px}
.tie-dialog h2{font-size:32px}
.tie-dialog .dialog-description{font-size:11px}
.wheel-frame{width:252px;height:252px;position:relative;margin:34px auto 25px;filter:drop-shadow(0 9px 10px #40301b20)}
.tie-wheel{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,#316ab5 0deg 180deg,#c85c49 180deg 360deg);border:8px solid #d9c08b;box-shadow:inset 0 0 0 2px #f4dfaa,0 0 0 1px #ae914f;transition:transform 4s cubic-bezier(.12,.68,.1,1);overflow:hidden}
.tie-wheel:after{content:"";position:absolute;inset:6px;border:2px dashed #ffffff4a;border-radius:50%}
.wheel-side{position:absolute;top:50%;width:42%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:9px;letter-spacing:1px;font-weight:600;color:#fff;line-height:1.25;text-align:center;transform:translate(-50%,-50%) rotate(0deg);transform-origin:50% 50%;transition:transform 4s cubic-bezier(.12,.68,.1,1);z-index:1}
.wheel-side b{display:block;font-family:monospace;font-weight:400;font-size:22px;letter-spacing:0;line-height:1.25}
.wheel-blue{left:72%;right:auto}
.wheel-red{left:28%}
.wheel-hub{position:absolute;inset:calc(50% - 24px);width:48px;height:48px;background:#f7e6b9;border:3px solid #be9a50;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:800;letter-spacing:-1px;color:#645029;z-index:1}
.wheel-pointer{position:absolute;top:-15px;left:calc(50% - 11px);width:22px;height:31px;background:#2d3528;clip-path:polygon(0 0,100% 0,50% 100%);z-index:3;filter:drop-shadow(0 2px 2px #0003)}
.wheel-result{font-size:13px;font-weight:600;color:#607346;line-height:1.7;min-height:23px}
.tie-dialog .primary-dialog-button{margin-top:20px}
.tie-dialog .primary-dialog-button:disabled{background:#e4e6d7;border-color:#ccd2bb;color:#7e876d;opacity:1}
.stake-input input:read-only{color:#d3c69c}
.choice-slot{min-height:36px}
.selection-helpers button{min-height:40px}
.network-label[title]{cursor:help}

@media(max-width:1100px){.room-card{gap:18px;padding:19px}
.room-stake,.room-payout{min-width:90px}
.room-info small{max-width:120px}
.preview-options{gap:10px}
.preview-options label{font-size:9px}
.preview-settings{gap:18px}
}

@media(max-width:880px){.room-card{gap:18px}
.room-payout{display:none}
.lobby{padding:26px}
.lobby-heading h2{font-size:28px}
.lobby-heading p{font-size:11px}
.lobby-heading .eyebrow{font-size:7px}
.lobby-create{font-size:10px;padding:12px}
.preview-settings{flex-direction:column;align-items:stretch}
.preview-options{gap:12px 20px}
.simulate-player{grid-column:1/-1}
.game-tab{font-size:10px}
.room-identity{gap:10px}
.room-status{font-size:8px;min-width:60px}
}

@media(max-width:620px){.lobby{padding:23px 18px}
.lobby-heading{align-items:flex-start;gap:16px}
.lobby-heading h2{font-size:25px}
.lobby-heading .eyebrow{font-size:6px;letter-spacing:1px;line-height:1.6}
.lobby-heading p{font-size:10px;line-height:1.6}
.lobby-create{font-size:9px;gap:8px;padding:10px;min-height:40px}
.lobby-heading .lobby-create{margin-top:22px}
.room-card{display:grid;grid-template-columns:1fr auto;gap:17px;padding:17px}
.room-identity{grid-column:1;grid-row:1}
.room-avatar{width:33px;height:33px}
.room-avatar .icon{width:17px;height:17px}
.room-info strong{font-size:12px}
.room-info small{font-size:8px;max-width:160px}
.room-stake{grid-column:1;grid-row:2;display:flex;align-items:center;gap:10px}
.room-stake>span,.room-stake>small{font-size:9px;margin:0}
.room-stake strong{font-size:13px}
.room-status{grid-column:2;grid-row:1;justify-self:end;font-size:8px;min-width:0}
.room-join{grid-column:2;grid-row:2;min-width:100px;min-height:42px;font-size:9px;padding:10px}
.lobby-footnote{font-size:9px;line-height:1.8}
.lobby-toolbar{font-size:10px;margin-top:22px}
.lobby-preview-label{display:none}
.game-navigation{gap:5px;margin-bottom:13px;justify-content:flex-start;padding:0}
.game-tab{font-size:10px;padding:10px 12px;gap:6px}
.game-tab>span{font-size:8px;padding:2px 4px}
.game-tab .small{width:12px;height:12px}
.preview-options{grid-template-columns:1fr}
.preview-options label{width:100%;font-size:10px}
.tie-dialog{padding:30px 24px}
.wheel-frame{width:240px;height:240px}
.tie-dialog h2{font-size:30px}
.simulate-player{font-size:11px;min-height:53px}
.simulate-player>span{font-size:7px;max-width:49px}
.join-banner{padding:11px 14px;gap:10px}
.join-banner strong{font-size:11px}
.join-banner span{font-size:9px}
.join-banner button{font-size:9px}
.room-join .small{width:12px;height:12px}
}

@media(max-width:380px){.game-tab{padding:10px 8px;gap:5px;font-size:9px}
.lobby{padding:20px 14px}
.lobby-heading{display:block}
.lobby-heading .lobby-create{margin-top:17px}
.room-card{padding:15px;gap:15px}
.room-stake{gap:7px}
.room-stake strong{font-size:12px}
.room-join{min-width:90px;font-size:9px}
.room-info small{max-width:125px}
.wheel-frame{width:218px;height:218px}
.wheel-side{font-size:8px}
.wheel-side b{font-size:20px}
.tie-dialog .dialog-description br{display:none}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
.shovel-position{display:none!important}
.cell:hover:not([aria-disabled=true]){transform:none}
.signal-orbit>i:last-of-type{border-color:#b39c5e}
.waiting-ticks>i{background:#b39c5e}
}


/* Account and epoch details. */
.room-preview{display:inline-block;font-family:monospace;font-weight:400;font-size:7px;letter-spacing:.7px;color:#7a8968;margin-left:8px;border:1px solid #d0d7c2;border-radius:3px;padding:3px 4px;vertical-align:2px}
.epoch-strip{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #d5d8c5;color:#7b856c;font-size:10px}
.epoch-strip b{font-family:monospace;font-size:11px;font-weight:400;margin-left:6px;color:#5a6a48}
.room-stake strong small,.room-payout strong small{font-size:8px;color:#778469}
#wallet-switch{margin-top:18px}
#wallet-dialog .wallet-list:empty{display:none}
.choice-slot.filled:before{content:"";position:absolute;inset:-4px 0}
.stake-presets>button{min-height:36px}


/* Readable secondary text on the parchment surfaces. */
.intro p,.player-details>span,.board-legend,.footer,.footer i,.footer button,.balance-card p,.balance-top>span:first-child,.balance-main small,.lobby-heading p,.lobby-toolbar,.room-info small,.room-stake>small,.room-payout>small,.lobby-footnote,.dialog-description,.rules-technical,.rule-list p,.wallet-fineprint,.jackpot-dialog .dialog-description,.jackpot-explanation p,.epoch-strip{color:#606d53}
.col-coordinates>span,.row-coordinates>span{color:#657057}
.room-status{color:#526e3d}
.cell .cross-mark.opponent{color:#b84e3d}
.room-preview{color:#606e50}
.preview-stamp div>span{color:#606e50}
.wallet-button{min-height:44px}

@media(max-width:510px){.stake-presets>button{min-height:44px}
.choice-slot{height:40px}
.selection-helpers button{min-height:44px}
.balance-main button{min-height:44px}
.footer button{min-height:44px}
.game-tab{min-height:44px}
.room-join{min-height:44px}
}

