.gr-layout{border:1px solid #8a724338;border-radius:20px;overflow:hidden;background:#101a21;box-shadow:0 24px 70px #0005,inset 0 1px 0 #ffffff0a;grid-template-columns:270px minmax(0,1fr)}
.gr-controls.game-controls{border:0;border-right:1px solid #8c79542b;padding:26px;background:linear-gradient(170deg,#1a2c32,#121f28)}
.gr-control-intro{display:flex;gap:11px;padding:18px 0;border-bottom:1px solid #ffffff09}
.gr-mini-star{color:#efc575;font-size:28px;line-height:1.2;text-shadow:0 0 16px #efc57555}
.gr-control-intro p{color:#95a9b3;font-size:11px;line-height:1.8;margin:0}
.gr-control-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
.gr-control-facts>span{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#8da3b2}
.gr-control-facts strong{font-size:19px;color:#efcf91;font-family:'Space Grotesk',sans-serif;font-weight:500}
.gr-controls #play{width:100%;min-height:50px;border-radius:10px;background:linear-gradient(135deg,#fae0a8,#dfad4e);color:#2a1e0c;font-weight:700;box-shadow:inset 0 1px 0 #fff7dc80,0 4px 14px #d7a5492b,0 3px 0 #8a602d66;transition:transform .12s,box-shadow .18s,filter .18s}
.gr-controls #play:hover:not(:disabled){background:linear-gradient(135deg,#ffe9b8,#efc46c);box-shadow:inset 0 1px 0 #fff9e599,0 6px 20px #e8b85c3d,0 3px 0 #8a602d77;transform:translateY(-1px)}
.gr-controls #play:active:not(:disabled){transform:translateY(1px)}
.gr-controls .control-note{margin-top:24px}
.gr-controls .control-note b{font-size:25px}
.gr-controls .rules-link{margin-top:28px}
.gr-controls .manual-tab{background:#101d25;border-color:#344651;border-radius:10px}

.gr-stage.game-stage{position:relative;isolation:isolate;min-width:0;min-height:0;padding:28px;background:radial-gradient(ellipse at 85% 0,#b0842c38,transparent 56%),radial-gradient(ellipse at 0 82%,#1d685224,transparent 60%),linear-gradient(145deg,#172824,#0f1b21 72%);text-align:start;overflow:hidden}
.gr-stage::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.32;background:repeating-linear-gradient(125deg,transparent 0 55px,#c3b58107 56px 57px);pointer-events:none}

.gr-stage-head{position:relative;display:flex;align-items:center;min-height:160px;padding:4px 0 20px}
.gr-stage-head>div:first-child{position:relative;z-index:1;max-width:calc(100% - 210px)}
.gr-stage-head .eyebrow{color:#c9b88c;font-size:8px;letter-spacing:2.4px}
.gr-stage-head h1{margin:12px 0 9px;font-family:'Space Grotesk',sans-serif;font-size:clamp(36px,4vw,56px);font-weight:600;letter-spacing:-2px;line-height:1.05;color:#f4f5ea;white-space:nowrap}
.gr-stage-head h1 em{font-style:normal;background:linear-gradient(180deg,#ffebb3,#e4b457);-webkit-background-clip:text;background-clip:text;color:transparent}
.gr-stage-head h1>span{font-size:19px;vertical-align:top;margin:4px 0 0 10px;color:#f5db9b;display:inline-block;text-shadow:0 0 14px #f5db9b66;animation:gr-star-pulse 3.6s ease-in-out infinite}
.gr-stage-head p{font-size:11px;color:#99aeac;margin:0;line-height:1.7}

.gr-head-art-wrap{position:absolute;right:112px;top:-6px;width:154px;height:154px;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:2}
.gr-head-glow{position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle,#f0be593a 0,#c2892616 52%,transparent 75%);animation:gr-glow-breathe 4.4s ease-in-out infinite}
.gr-hero-art{position:relative;width:100%;height:100%;object-fit:contain;animation:gr-hero-float 5.2s ease-in-out infinite}
.gr-head-art-wrap.gr-hero-celebrate .gr-hero-art{animation:gr-hero-pop .72s cubic-bezier(.22,1.3,.36,1)}
.gr-head-art-wrap.gr-hero-celebrate .gr-head-glow{background:radial-gradient(circle,#ffe48899 0,#f0b34042 56%,transparent 78%);transform:scale(1.22);transition:transform .35s}

.gr-sound{position:absolute;right:0;top:-7px;z-index:3;display:flex;align-items:center;gap:6px;border:1px solid #c5d6ce24;border-radius:8px;background:#0e2019eb;color:#adc0be;padding:6px 10px;font-size:9px;font-weight:600;white-space:nowrap;transition:border-color .18s,color .18s,background .18s}
.gr-sound:hover{border-color:#e5c07455;color:#f2dfad}
.gr-sound .icon{width:13px;height:13px}
.gr-sound[aria-pressed=true]{color:#efd79e;border-color:#e5c07455;background:#1d3025ee}

.gr-ticket{position:relative;overflow:hidden;contain:layout style paint;padding:17px;background:radial-gradient(ellipse at 50% 0,#17332b66,transparent 65%),linear-gradient(135deg,#0d1d1b,#0c181e);border:1px solid #ba974966;border-radius:17px;box-shadow:inset 0 1px 0 #fae39c18,inset 0 0 0 3px #dfc88d08,0 16px 38px #0004;transition:border-color .25s,box-shadow .35s}
.gr-ticket::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(112deg,transparent 25%,#fff4cc18 47%,#ffe99e2c 50%,#fff4cc18 53%,transparent 75%);transform:translateX(-120%);opacity:0}
.gr-ticket.gr-ticket-shimmer::after{opacity:1;animation:gr-ticket-sweep .85s cubic-bezier(.25,.75,.35,1)}
.gr-ticket-top,.gr-ticket-bottom{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#d0bf92;font-size:9px;line-height:1.5}
.gr-ticket-top{padding:0 2px 13px;font-weight:600;letter-spacing:.5px}
.gr-ticket-badge{display:inline-flex;align-items:center;gap:7px}
.gr-badge-dot{width:6px;height:6px;border-radius:50%;background:#79948d;transition:background .25s,box-shadow .25s}
.gr-has-card .gr-badge-dot{background:#f0c766;box-shadow:0 0 10px #f0c766aa;animation:gr-dot-pulse 1.5s ease-in-out infinite}
.gr-serial{font-size:8px;font-weight:400;letter-spacing:1.4px;color:#829a9b;direction:ltr;unicode-bidi:isolate}
.gr-ticket-bottom{padding:13px 2px 0;color:#8fa3a0;font-size:9px}
.gr-ticket-hint{color:#c6b68a}
.gr-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}

.gr-panels{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;direction:ltr}
.gr-panel{--mx:50%;--my:50%;position:relative;display:block;width:100%;min-width:0;aspect-ratio:1.25;contain:layout style paint;border:1px solid #d9bf7866;border-radius:11px;overflow:hidden;background:radial-gradient(circle at 50% 44%,#213931,#0e1b20 82%);box-shadow:inset 0 1px 0 #ffffff12,0 6px 16px #0004;padding:0;margin:0;cursor:crosshair;user-select:none;-webkit-user-select:none;isolation:isolate;opacity:1!important;transition:transform .2s cubic-bezier(.22,1,.36,1),border-color .22s,box-shadow .25s}
.gr-panel::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;background:radial-gradient(circle 120px at var(--mx) var(--my),#ffe59b28,transparent 70%);transition:opacity .2s}
.gr-panel:not(:disabled):not(.gr-revealed):hover{border-color:#f0cf7d;box-shadow:inset 0 1px 0 #fff4cf2b,0 10px 24px #0006,0 0 18px #dfaf4822;transform:translateY(-2px)}
.gr-panel:not(:disabled):not(.gr-revealed):hover::before{opacity:1}
.gr-panel.gr-dealing{animation:gr-deal .42s cubic-bezier(.2,1.25,.35,1) both;animation-delay:calc(var(--i,0) * 55ms)}
.gr-panel:disabled{cursor:default}

.gr-panel canvas{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;border-radius:10px;touch-action:pan-y;transition:opacity .24s ease,transform .24s ease}
.gr-panel:not(:disabled) canvas{touch-action:none}
.gr-panel:disabled canvas{pointer-events:none}

.gr-foil-glint{position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:10px;background:linear-gradient(112deg,transparent 30%,#fff6d21c 46%,#ffe3933a 50%,#fff6d21c 54%,transparent 70%);transform:translateX(-125%);animation:gr-foil-sweep 4.6s ease-in-out infinite;animation-delay:calc(var(--i,0) * 320ms)}
.gr-panel:disabled:not(.gr-revealed) .gr-foil-glint{opacity:.3;animation:none;transform:translateX(-125%)}
.gr-revealed .gr-foil-glint{display:none}

.gr-reveal{position:relative;z-index:0;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:10px;color:#b9cdc1;transition:opacity .32s,transform .32s}
.gr-reveal>span:last-child{position:relative;z-index:1;font-size:9px;font-weight:600;letter-spacing:.2px;line-height:1.3;max-width:100%;text-align:center}
.gr-reveal-glow{position:absolute;width:76%;height:76%;border-radius:50%;opacity:0;pointer-events:none;transform:scale(.6);transition:opacity .35s,transform .4s cubic-bezier(.22,1.2,.36,1)}
.gr-revealed .gr-reveal-glow{opacity:.85;transform:scale(1)}

.gr-sym-coin .gr-reveal-glow{background:radial-gradient(circle,#f5a62348,transparent 72%)}
.gr-sym-amethyst .gr-reveal-glow{background:radial-gradient(circle,#b85cff54,transparent 72%)}
.gr-sym-emerald .gr-reveal-glow{background:radial-gradient(circle,#14d49154,transparent 72%)}
.gr-sym-chest .gr-reveal-glow{background:radial-gradient(circle,#ffd24c58,transparent 72%)}
.gr-sym-crown .gr-reveal-glow{background:radial-gradient(circle,#ffe46b6e,transparent 72%)}

.gr-panel-art{position:relative;z-index:1;display:block;width:58%;max-width:92px;aspect-ratio:1}
.gr-panel-art>img,.gr-panel-art>svg,.gr-panel-art>.gr-sprite{display:block;width:100%;height:100%;object-fit:contain}
.gr-sprite{display:block;aspect-ratio:1;background-repeat:no-repeat}
.gr-sprite-coin{background-image:url('assets/originals/lobby-atlas-padded.png');background-size:400% 300%;background-position:0 50%}
.gr-sprite-amethyst{background-image:url('assets/neon/symbols-clean.png');background-size:400% 200%;background-position:33.333333% 0}
.gr-sprite-emerald{background-image:url('assets/neon/symbols-clean.png');background-size:400% 200%;background-position:33.333333% 100%}

.gr-revealed{border-color:#53736a66;background:radial-gradient(ellipse,#1c322c,#0c171c 85%)}
.gr-revealed canvas{opacity:0;transform:scale(1.04);pointer-events:none}
.gr-just-revealed .gr-panel-art{animation:gr-art-pop .44s cubic-bezier(.22,1.4,.36,1)}
.gr-just-revealed::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(120deg,transparent 20%,#fff7d255 50%,transparent 80%);animation:gr-cell-flash .46s ease-out forwards}

.gr-pair-hot{border-color:#eab954cc;box-shadow:inset 0 0 20px #ebb94b28,0 0 18px #eab95433}
.gr-pair-hot .gr-reveal{color:#f3db98}

.gr-match{border-color:#ffe185;background:radial-gradient(ellipse at 50% 42%,#354b35,#13241e 85%);box-shadow:inset 0 0 30px #e4bf5934,0 0 22px #eec25940,0 0 0 1px #ffe28566}
.gr-match .gr-reveal{color:#ffebad}
.gr-match .gr-panel-art{animation:gr-win-art 1.9s ease-in-out infinite}
.gr-match .gr-reveal-glow{opacity:1;transform:scale(1.22)}

.gr-dimmed{border-color:#344a4444;background:radial-gradient(ellipse,#152420,#0a1317 85%);box-shadow:none}
.gr-dimmed .gr-reveal{opacity:.42;transform:scale(.95)}
.gr-dimmed .gr-reveal-glow{opacity:.25}

.gr-ticket-won{border-color:#ecc86a;box-shadow:inset 0 0 0 3px #f3d68914,0 0 44px #cf9b2e26}

.gr-reveal-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 1px 20px;min-height:42px}
.gr-reveal-tools>span{display:flex;align-items:center;gap:8px;min-width:0;color:#97aaa6;font-size:10px;line-height:1.6}
.gr-reveal-tools i{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#ceb877;box-shadow:0 0 9px #d5b86c55}
.gr-reveal-tools button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;flex-shrink:0;padding:10px 14px;border-radius:9px;background:#e8c9800d;color:#ead199;border:1px solid #e5c17844;font-size:11px}
.gr-reveal-tools button:hover:not(:disabled){background:#e8c98019}
.gr-reveal-tools button .icon{width:14px;height:14px}

.gr-receipt{display:grid;grid-template-columns:1.3fr 1fr 1.3fr;gap:12px;padding:17px;margin:0 0 20px;border-radius:12px;border:1px solid #48625c55;background:linear-gradient(135deg,#122b2266,#10231f66);box-shadow:inset 0 1px 0 #ffffff08;transition:border-color .3s,background .3s,box-shadow .3s}
.gr-receipt div{min-width:0}
.gr-receipt small{display:block;font-size:7px;color:#869e97;letter-spacing:1px;margin-bottom:8px}
.gr-receipt strong{display:block;font:500 15px 'Space Grotesk',sans-serif;color:#b8cac4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
.gr-receipt-won{border-color:#d8b76580;background:linear-gradient(120deg,#1a3b2b99,#25361d99);box-shadow:inset 0 1px 0 #fae39c22,0 0 24px #d5aa3f1a}
.gr-receipt-won strong{color:#f7dc92;text-shadow:0 0 14px #f7dc9233}

.gr-prizes{padding-top:4px}
.gr-prize-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}
.gr-prize-heading>span{font-size:8px;letter-spacing:1.7px;color:#a1b1a6}
.gr-prize-heading>small{font-size:9px;color:#7f9590}
.gr-prize-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.gr-prize-list>div{display:flex;align-items:center;flex-direction:column;gap:6px;padding:10px 4px;border-radius:10px;border:1px solid #d2bd801a;background:linear-gradient(180deg,#ffffff05,#ffffff01);text-align:center;transition:border-color .25s,background .25s,transform .25s,box-shadow .25s}
.gr-prize-art{display:block;width:42px;height:42px;filter:drop-shadow(0 4px 6px #0006)}
.gr-prize-art>*{display:block;width:100%;height:100%;object-fit:contain}
.gr-prize-list>div>span:nth-child(2){font-size:8px;color:#8ea39b;line-height:1.3;min-height:20px}
.gr-prize-list strong{font:600 14px 'Space Grotesk',sans-serif;color:#e0c482}
.gr-prize-list>div.gr-prize-chase{border-color:#eab95488;background:linear-gradient(180deg,#eab9541c,#eab95406);box-shadow:0 0 14px #eab95424;transform:translateY(-1px)}
.gr-prize-list>div.gr-prize-won{border-color:#f2d178cc;background:linear-gradient(180deg,#f0ca6b26,#d5aa440b);box-shadow:0 0 18px #f0ca6b30;transform:translateY(-2px)}
.gr-prize-list>div.gr-prize-won strong{color:#ffe69b}

.gr-announcement.result{margin:18px 0 0;padding:0;font-size:10px;color:#8ca49d;line-height:1.7;min-height:0}
.gr-rules-table{display:grid;gap:0;margin:20px 0;border:1px solid #ffffff10;border-radius:10px;overflow:hidden}
.gr-rules-table>div{display:grid;grid-template-columns:1fr 55px 65px;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #ffffff08;font-size:12px}
.gr-rules-table>div:last-child{border:0}
.gr-rules-table strong{color:#e5c984;font-size:12px}
.gr-rules-table small{text-align:end;color:#95a69f;font-size:10px}
.tile-goldrush{background:radial-gradient(ellipse at 50% 20%,#89632666,transparent 75%),linear-gradient(155deg,#26352b,#0c181e)!important}
.modern-card .tile-goldrush>.card-illustration{top:8%!important;height:61%!important}
.gr-panel:focus-visible{outline:2px solid #fff0b8;outline-offset:3px}

@keyframes gr-deal{0%{transform:translateY(10px) scale(.94);opacity:.72}100%{transform:none;opacity:1}}
@keyframes gr-art-pop{0%{transform:scale(.52) rotate(-7deg)}65%{transform:scale(1.13) rotate(1.5deg)}100%{transform:scale(1) rotate(0)}}
@keyframes gr-cell-flash{0%{transform:translateX(-80%);opacity:1}100%{transform:translateX(120%);opacity:0}}
@keyframes gr-foil-sweep{0%,58%{transform:translateX(-125%)}90%,100%{transform:translateX(125%)}}
@keyframes gr-ticket-sweep{0%{transform:translateX(-110%)}100%{transform:translateX(110%)}}
@keyframes gr-win-art{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.05)}}
@keyframes gr-hero-float{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-4px) rotate(.8deg)}}
@keyframes gr-hero-pop{0%{transform:scale(1)}30%{transform:scale(1.16) rotate(-4deg)}65%{transform:scale(.96) rotate(2deg)}100%{transform:scale(1) rotate(0)}}
@keyframes gr-glow-breathe{0%,100%{opacity:.72;transform:scale(.95)}50%{opacity:1;transform:scale(1.08)}}
@keyframes gr-star-pulse{0%,100%{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.15) rotate(8deg)}}
@keyframes gr-dot-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.35);opacity:.65}}

@media(max-width:1100px) and (min-width:761px){
.gr-layout{grid-template-columns:235px minmax(0,1fr)}
.gr-stage.game-stage{padding:22px}
.gr-stage-head h1{font-size:41px}
.gr-controls.game-controls{padding:22px}
.gr-panels{gap:8px}
.gr-panel{aspect-ratio:1.1}
.gr-ticket{padding:13px}
.gr-prize-heading small{font-size:8px}
}

@media(max-width:760px){
.gr-layout{display:flex;flex-direction:column-reverse;border-radius:15px}
.gr-stage.game-stage{padding:22px 16px 20px}
.gr-controls.game-controls{padding:24px 20px;border:0;border-top:1px solid #8c795426}
.gr-stage-head{min-height:133px;padding-bottom:18px}
.gr-stage-head h1{font-size:43px;letter-spacing:-1.7px}
.gr-stage-head .eyebrow{font-size:6px;letter-spacing:1.8px}
.gr-stage-head p{font-size:10px;max-width:210px}
.gr-sound{top:-6px;font-size:8px;padding:5px 7px}
.gr-ticket{padding:12px;border-radius:13px}
.gr-ticket-top{font-size:8px;padding-bottom:11px}
.gr-serial{font-size:6px;letter-spacing:1px}
.gr-panels{gap:7px}
.gr-panel{aspect-ratio:.95;border-radius:8px}
.gr-panel canvas,.gr-foil-glint{border-radius:7px}
.gr-reveal{padding:6px;gap:4px}
.gr-reveal>span:last-child{font-size:7px}
.gr-panel-art{width:78%}
.gr-ticket-bottom{font-size:8px;gap:8px}
.gr-reveal-tools{margin:14px 0 18px;gap:10px}
.gr-reveal-tools>span{font-size:9px}
.gr-reveal-tools button{font-size:10px;padding:9px 11px;min-height:40px}
.gr-prize-list{gap:4px}
.gr-prize-list>div{padding:8px 3px}
.gr-prize-art{width:34px;height:34px}
.gr-prize-list>div>span:nth-child(2){font-size:6px;min-height:20px}
.gr-prize-list strong{font-size:12px}
.gr-prize-heading>span{font-size:7px;letter-spacing:1px}
.gr-prize-heading>small{font-size:8px}
.gr-receipt{gap:9px;padding:13px}
.gr-receipt strong{font-size:13px}
.gr-receipt small{font-size:6px;letter-spacing:.6px}
.gr-announcement.result{font-size:9px}
.gr-control-facts{margin:14px 0 20px}
}

@media(max-width:359px){
.gr-stage.game-stage{padding-inline:12px}
.gr-stage-head h1{font-size:37px}
.gr-stage-head p{font-size:9px;max-width:180px}
.gr-ticket{padding:9px}
.gr-panels{gap:5px}
.gr-ticket-bottom{flex-wrap:wrap;gap:4px}
.gr-reveal-tools>span{font-size:8px}
.gr-prize-art{width:29px;height:29px}
.gr-prize-list>div>span:nth-child(2){font-size:6px}
.gr-stage-head h1>span{display:none}
.gr-stage-head h1{font-size:35px}
}

/* The scratch stage owns its layout rather than inheriting centered table-game flex rules. */
.gr-stage.game-stage{display:block}
/* Viewport-sized scratch desk; history remains available from its own page. */
.playing-goldrush #app{padding:16px 24px;min-height:0;max-width:1550px}
.playing-goldrush .shell>footer{display:none}
.playing-goldrush .game-breadcrumb{height:28px;margin:0 0 12px}
.gr-layout{height:calc(100dvh - 156px);min-height:340px;grid-template-columns:250px minmax(0,1fr);align-items:stretch}
.gr-controls.game-controls{display:flex;flex-direction:column;gap:14px;padding:22px;min-height:0}
.gr-controls .manual-tab,.gr-controls .gr-control-facts,.gr-controls .gr-control-intro,.gr-controls .control-note,.gr-controls .rules-link{margin:0}
.gr-controls .gr-control-intro{padding:10px 0}
.gr-controls .gr-control-facts{gap:10px}
.gr-controls .control-note{margin-top:auto;padding-top:8px}
.gr-controls .control-note b{font-size:23px}
.gr-controls #play,.gr-controls #gr-reveal-all{min-height:46px;height:46px;margin:0;flex-shrink:0}
.gr-controls #gr-reveal-all{display:none;width:100%;align-items:center;justify-content:center;gap:10px;padding:10px 12px;border:1px solid #f7dc9290;border-radius:10px;background:linear-gradient(135deg,#fae0a8,#dfad4e);color:#2a1e0c;font-size:12px;font-weight:700;box-shadow:inset 0 1px 0 #fff7dc80,0 4px 14px #d7a5492b;transition:transform .12s,box-shadow .18s}
.gr-controls #gr-reveal-all:hover:not(:disabled){background:linear-gradient(135deg,#ffe9b8,#efc46c);transform:translateY(-1px)}
.gr-controls #gr-reveal-all svg{width:15px;height:15px}
.gr-has-card .gr-controls #play{display:none}
.gr-has-card .gr-controls #gr-reveal-all{display:flex}
.gr-history-link{font-size:11px;color:#9cafb8;text-decoration:none}
.gr-history-link:hover{color:#edcd8b}
.gr-stage.game-stage{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:10px;padding:18px 22px;min-height:0;align-self:stretch;height:100%;box-sizing:border-box;align-items:stretch;justify-items:stretch;justify-content:stretch}
.gr-stage-head{min-height:70px;height:auto;padding:0 0 2px}
.gr-stage-head>div:first-child{max-width:calc(100% - 208px);min-width:0}
.gr-stage-head h1{font-size:clamp(26px,2.8vw,37px);margin:5px 0 3px;letter-spacing:-1.2px}
.gr-stage-head .eyebrow{font-size:6px}
.gr-stage-head p{font-size:9px;line-height:1.45}
.gr-head-art-wrap{width:88px;height:88px;top:-8px;right:104px}
.gr-sound{top:3px;right:0;font-size:8px}
.gr-ticket{display:grid;grid-template-rows:18px minmax(0,1fr) 18px;gap:8px;min-height:0;padding:12px}
.gr-ticket-top,.gr-ticket-bottom{padding:0}
.gr-panels{min-height:0;height:100%;gap:8px}
.gr-panel{aspect-ratio:auto;height:100%;min-height:0}
.gr-panel-art{height:58%;width:auto;max-width:72%;max-height:98px;aspect-ratio:1}
.gr-reveal{gap:4px;padding:8px}
.gr-reveal>span:last-child{font-size:9px}
.gr-reveal-tools{display:none}
.gr-receipt{margin:0;padding:10px 12px;gap:12px}
.gr-receipt small{font-size:6px;margin-bottom:4px}
.gr-receipt strong{font-size:14px}
.gr-prizes{padding:0}
.gr-prize-heading{margin:0 0 6px}
.gr-prize-heading>span{font-size:7px}
.gr-prize-heading>small{font-size:8px}
.gr-prize-list>div{padding:6px 4px;gap:3px}
.gr-prize-art{width:30px;height:30px}
.gr-prize-list>div>span:nth-child(2){font-size:7px;min-height:0}
.gr-prize-list strong{font-size:12px}
.gr-announcement.result{margin:0;font-size:9px;line-height:1.4}

@media(min-width:761px) and (max-height:760px){
.gr-controls .gr-control-intro,.gr-controls .gr-control-facts{display:none}
.gr-stage.game-stage{grid-template-rows:54px minmax(0,1fr) auto auto auto;gap:7px;padding:14px 18px}
.gr-stage-head{height:54px}
.gr-stage-head h1{font-size:32px}
.gr-stage-head p{display:none}
.gr-head-art-wrap{height:66px;width:66px;top:-6px;right:102px}
.gr-prize-heading{display:none}
.gr-prize-list>div>span:nth-child(2){display:none}
.gr-prize-art{width:24px;height:24px}
.gr-prize-list>div{flex-direction:row;justify-content:center;gap:8px}
.gr-prize-list strong{font-size:11px}
}

@media(max-width:760px){
.playing-goldrush #app{padding:10px 12px;min-height:0}
.playing-goldrush .game-breadcrumb{height:26px;margin-bottom:8px;font-size:9px}
.gr-layout{display:flex;flex-direction:column-reverse;height:calc(100dvh - 180px);min-height:320px;border-radius:13px}
.gr-controls.game-controls{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:50px 15px;gap:5px 12px;padding:9px 12px;border-top:1px solid #92744330}
.gr-controls .manual-tab,.gr-controls .gr-control-intro,.gr-controls .gr-control-facts,.gr-controls .control-note{display:none}
.gr-controls>div:has(#bet){grid-column:1;grid-row:1;align-self:end}
.gr-controls label{font-size:8px;margin-bottom:4px}
.gr-controls label>span{font-size:7px}
.gr-controls .input-group{height:35px;border-radius:8px}
.gr-controls #bet{padding:8px 10px;font-size:13px;min-height:0;height:35px}
.gr-controls [data-bet]{display:none}
.gr-controls #play,.gr-controls #gr-reveal-all{grid-column:2;grid-row:1;align-self:end;min-height:39px;height:39px;font-size:11px;padding:8px;border-radius:8px}
.gr-controls #rules{grid-column:1;grid-row:2;justify-self:start;font-size:9px;padding:0;min-height:0;height:15px;line-height:15px}
.gr-controls #rules .icon{width:11px;height:11px}
.gr-controls .gr-history-link{grid-column:2;grid-row:2;justify-self:end;font-size:9px;line-height:15px}
.gr-stage.game-stage{flex:1;min-height:0;height:auto;grid-template-rows:48px minmax(0,1fr) auto auto auto;gap:6px;padding:10px 12px}
.gr-stage-head{height:48px;min-height:0}
.gr-stage-head>div:first-child{max-width:calc(100% - 146px)}
.gr-stage-head .eyebrow,.gr-stage-head p{display:none}
.gr-stage-head h1{font-size:29px;margin:0;letter-spacing:-1px}
.gr-stage-head h1>span{font-size:12px;margin-left:7px}
.gr-head-art-wrap{height:56px;width:56px;right:78px;top:-5px}
.gr-sound{top:5px;font-size:7px;padding:5px 7px}
.gr-sound .icon{width:11px;height:11px}
.gr-ticket{padding:8px;grid-template-rows:14px minmax(0,1fr) 13px;gap:5px;border-radius:11px}
.gr-ticket-top,.gr-ticket-bottom{font-size:7px;gap:6px;flex-wrap:nowrap}
.gr-serial{font-size:6px;letter-spacing:.5px}
.gr-panels{gap:6px}
.gr-panel{border-radius:7px}
.gr-panel canvas,.gr-foil-glint{border-radius:6px}
.gr-panel-art{width:auto;height:59%;max-width:75%;max-height:76px}
.gr-reveal{padding:5px;gap:2px}
.gr-reveal>span:last-child{font-size:6px}
.gr-receipt{padding:6px 9px;gap:7px;border-radius:8px}
.gr-receipt small{font-size:5px;letter-spacing:.4px;margin-bottom:3px}
.gr-receipt strong{font-size:11px}
.gr-prize-heading{display:none}
.gr-prize-list{gap:4px}
.gr-prize-list>div{flex-direction:row;justify-content:center;padding:5px 2px;gap:4px}
.gr-prize-list>div>span:nth-child(2){display:none}
.gr-prize-art{width:23px;height:23px}
.gr-prize-list strong{font-size:10px}
.gr-announcement.result{font-size:7px;line-height:1.4}
}

@media(max-width:760px) and (max-height:680px){
.gr-stage.game-stage{grid-template-rows:35px minmax(0,1fr) auto auto auto;padding:8px 10px;gap:5px}
.gr-stage-head{height:35px}
.gr-stage-head h1{font-size:25px}
.gr-head-art-wrap{width:42px;height:42px;top:-3px;right:74px}
.gr-announcement.result{display:none}
.gr-layout{min-height:280px}
.gr-prize-art{width:19px;height:19px}
.gr-prize-list>div{padding:4px 2px}
.gr-receipt strong{font-size:10px}
}

@media(min-width:540px) and (max-height:540px){
.playing-goldrush .game-breadcrumb{display:none}
.gr-layout{display:grid;grid-template-columns:165px minmax(0,1fr);min-height:180px;height:calc(100dvh - 116px)}
.gr-controls.game-controls{display:flex;flex-direction:column;gap:10px;padding:12px;border-top:0;border-right:1px solid #92744330}
.gr-controls .manual-tab,.gr-controls .gr-control-intro,.gr-controls .gr-control-facts,.gr-controls .control-note,.gr-controls .gr-history-link{display:none}
.gr-controls #play,.gr-controls #gr-reveal-all{height:40px;min-height:40px;font-size:10px;width:100%}
.gr-controls #rules{margin-top:auto;min-height:18px;height:auto;font-size:10px}
.gr-stage.game-stage{height:100%;grid-template-rows:32px minmax(0,1fr) auto;gap:6px;padding:10px 12px}
.gr-stage-head{height:32px}
.gr-stage-head h1{font-size:26px;margin:0}
.gr-stage-head .eyebrow,.gr-stage-head p,.gr-prizes,.gr-announcement.result{display:none}
.gr-head-art-wrap{height:40px;width:40px;top:-4px;right:76px}
.gr-ticket{padding:7px;grid-template-rows:12px minmax(0,1fr) 12px;gap:4px}
.gr-ticket-top,.gr-ticket-bottom{font-size:7px}
.gr-panels{gap:5px}
.gr-receipt{padding:5px 8px}
.gr-receipt small{font-size:5px;margin-bottom:2px}
.gr-receipt strong{font-size:10px}
}
@media(min-width:540px) and (max-width:760px) and (max-height:540px){.gr-layout{height:calc(100dvh - 146px)}}

html[dir=rtl] .gr-head-art-wrap{right:auto;left:108px}
html[dir=rtl] .gr-sound{right:auto;left:0}
html[dir=rtl] .gr-controls.game-controls{border-right:0;border-left:1px solid #8c79542b}
html[dir=rtl] .gr-stage-head h1{direction:ltr;unicode-bidi:isolate;display:inline-block}
@media(max-width:760px){html[dir=rtl] .gr-head-art-wrap{left:78px;right:auto}}
@media(min-width:761px) and (max-height:760px){html[dir=rtl] .gr-head-art-wrap{left:102px;right:auto}}

@media(prefers-reduced-motion:reduce){
.gr-ticket,.gr-panel,.gr-panel canvas,.gr-reveal,.gr-reveal-glow,.gr-prize-list>div,.gr-receipt,.gr-controls #play,.gr-controls #gr-reveal-all,.gr-sound{transition:none}
.gr-stage-head h1>span,.gr-head-glow,.gr-hero-art,.gr-head-art-wrap.gr-hero-celebrate .gr-hero-art,.gr-badge-dot,.gr-ticket.gr-ticket-shimmer::after,.gr-panel.gr-dealing,.gr-foil-glint,.gr-just-revealed .gr-panel-art,.gr-just-revealed::after,.gr-match .gr-panel-art{animation:none!important}
}
