@font-face{font-family:Titan;src:url('assets/TitanOne-Latin.woff2') format('woff2');font-display:swap}@font-face{font-family:Nunito;src:url('assets/Nunito-Latin.woff2') format('woff2');font-display:swap}
:root{color-scheme:dark;--navy:#072b3b;--deep:#052330;--teal:#20ddce;--gold:#ffda65;--cream:#fff7dc;--coral:#ff755d}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#144e64,#061d2b 75%);color:var(--cream);font:700 14px Nunito,system-ui,sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:900 13px Nunito,sans-serif;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.43}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid white;outline-offset:4px}a{color:inherit}button{transition:transform .15s,filter .15s}button:hover:not(:disabled){filter:brightness(1.09);transform:translateY(-2px)}.topbar{max-width:1480px;margin:auto;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 26px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font:26px Titan;line-height:1}.brand img{height:59px;width:65px;object-fit:contain}.brand small{display:block;margin-top:7px;color:var(--teal);font:900 8px Nunito;letter-spacing:1.5px}.wallet{text-align:center}.wallet span,.wallet small{display:block;font-size:9px;letter-spacing:1px;color:#a9dbea}.wallet strong{display:block;font:30px Titan;color:var(--gold);line-height:1.15}.wallet small{font-size:9px;letter-spacing:0}.topbar nav{display:flex;gap:7px;align-items:center}.topbar nav button,.topbar nav a{border:1px solid #5f969f77;background:#17485777;padding:11px 14px;border-radius:10px;text-decoration:none;color:var(--cream);min-height:42px;font-size:12px}.topbar nav [hidden]{display:none}.cabinet{position:relative;max-width:1440px;margin:0 auto;border:4px solid var(--gold);outline:5px solid #075e70;border-radius:28px;padding:22px 24px 26px;overflow:hidden;background:linear-gradient(#05293933,#052939bb),url('assets/diner-opt-134802311022.webp') center 42%/cover;background-color:#0b5360;box-shadow:0 30px 80px #0008,inset 0 0 45px #0005}.cabinet:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#04273599,transparent 30%,transparent 70%,#04273599);pointer-events:none}.shopfront,.game-grid,.error-banner,.recovery{position:relative;z-index:1}.shopfront{text-align:center;margin-bottom:17px}.eyebrow{color:var(--teal);letter-spacing:2.2px;font-size:9px;font-weight:1000}.shopfront h1{font:clamp(38px,4.5vw,65px)/1 Titan;margin:5px 0;text-shadow:3px 4px 0 #073240,-1px -1px 0 #073240,1px -1px 0 #073240}.shopfront h1 b{font-weight:400;color:var(--gold)}.shopfront p{margin:7px 0 0;font-size:12px}.game-grid{display:grid;grid-template-columns:190px minmax(0,1fr) 230px;gap:22px;align-items:center}.dealer-card{text-align:center;align-self:center}.mascot-plate{position:relative;width:170px;height:172px;border-radius:50%;background:radial-gradient(#22e1dacc,#009caa55 64%,transparent 65%);margin:auto;filter:drop-shadow(0 8px 10px #0007)}.mascot-plate img{height:185px;width:200px;object-fit:contain;position:absolute;left:-14px;bottom:0;animation:chippy-bob 4s ease-in-out infinite}.dealer-star{position:absolute;right:-6px;top:14px;font-size:42px;color:var(--gold);transform:rotate(12deg);text-shadow:2px 3px #075463}.tiny-label{font-size:9px;letter-spacing:1.2px;font-weight:1000}.dealer-card h2{font:20px/1.2 Titan;margin:8px 0 12px}.speech{position:relative;color:var(--navy);background:var(--cream);border:2px solid #064659;border-radius:16px;padding:15px 10px;box-shadow:4px 5px 0 #052634;margin:0 0 20px;min-height:73px;font-weight:900;font-size:13px}.speech:before{content:'';position:absolute;top:-8px;left:calc(50% - 8px);width:12px;height:12px;background:var(--cream);transform:rotate(45deg);border-top:2px solid #064659;border-left:2px solid #064659}.house-rules{border-top:1px dashed #8be9db66;border-bottom:1px dashed #8be9db66;padding:13px 0}.house-rules span,.house-rules small{display:block;font-size:9px;letter-spacing:.5px}.house-rules strong{display:block;font:34px Titan;color:var(--gold);line-height:1.3}.diner-stamp{margin:20px auto 0;color:#96e5d9;border:2px solid #96e5d999;border-radius:50%;width:115px;height:62px;display:grid;place-content:center;font:17px Titan;transform:rotate(-9deg);opacity:.8}.diner-stamp span{font:900 6px Nunito;letter-spacing:1px;margin-top:5px}.playing-table{position:relative;min-height:506px;border:3px solid #ffda65b0;border-radius:38px;background:radial-gradient(ellipse at 50% 38%,#08767ad9,#053b49f5 78%),repeating-linear-gradient(45deg,transparent,transparent 3px,#ffffff04 3px,#ffffff04 4px);box-shadow:inset 0 0 0 7px #03303a66,0 14px 0 #042b36aa,0 18px 35px #0007;padding:18px 18px 15px;display:flex;flex-direction:column;gap:12px;overflow:hidden}.playing-table:before{content:'';position:absolute;inset:12px;border:1px dashed #cdeede33;border-radius:26px;pointer-events:none}.table-topline,.table-footer{display:flex;justify-content:space-between;gap:8px;font-size:8px;letter-spacing:1px;color:#bdebe0;position:relative}.live-dot:before{content:'';display:inline-block;background:#35fbd1;width:5px;height:5px;border-radius:50%;margin-right:6px;box-shadow:0 0 7px #35fbd1}.hand-zone{position:relative;padding:0 5px}.hand-label{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:9px}.hand-label h2{margin:0;text-transform:uppercase;font-size:10px;letter-spacing:1.4px}.score-chip{background:#042a37;color:var(--gold);border:1px solid #20ddce66;border-radius:20px;min-width:37px;padding:3px 7px;text-align:center;font:15px Titan}.score-chip.busted{color:#ffad9b;border-color:var(--coral)}.hand{display:flex;justify-content:center;align-items:center;min-height:118px;padding:0 4px 8px;overflow:visible}.card{position:relative;flex:none;width:80px;height:112px;border-radius:8px;box-shadow:0 5px 5px #00141d99;background:#fff7dc;transform-origin:50% 95%;margin-left:-9px;animation:deal-in .4s cubic-bezier(.2,.8,.25,1) both}.card:first-child{margin-left:0}.card svg{display:block;width:100%;height:100%;border-radius:8px}.card.back{background:var(--navy)}.empty-card{width:80px;height:112px;border:2px dashed #78ccc144;border-radius:8px;display:grid;place-items:center;color:#9ce5d33d;font-size:42px;margin-left:9px}.table-centre{text-align:center;min-height:79px;display:flex;flex-direction:column;justify-content:center;position:relative}.table-mark{position:absolute;inset:0;top:-17px;font:38px Titan;color:#a4f1d00f;pointer-events:none;z-index:0}.table-mark span{display:block;font:900 9px Nunito;letter-spacing:2.8px}.round-message{position:relative;font:clamp(18px,2vw,27px)/1.1 Titan;color:var(--gold);text-shadow:1px 2px #002832;z-index:1}.round-net{position:relative;font-size:11px;color:#d1f2e9;margin-top:8px;z-index:1}.round-message.loss{color:#ff9f8c}.round-message.win{color:#ffd96a}.round-message.push{color:#70f5df}.action-bar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;position:relative;margin:0 2px}.action-bar button{border:2px solid #29d8c1;border-radius:11px;background:#1fe0c7;color:#072e3c;box-shadow:0 4px 0 #01464f;padding:7px 4px;font:17px Titan;min-height:58px}.action-bar button:nth-child(2){background:var(--gold);border-color:#ffdf78}.action-bar button:nth-child(3){background:#fff7dc;border-color:#fff7dc}.action-bar button span{font:900 18px Nunito;margin-right:4px}.action-bar button small{display:block;margin-top:4px;font:900 8px Nunito}.table-footer{justify-content:center;flex-wrap:wrap;letter-spacing:.45px;margin-top:5px;font-size:7px}.bet-ticket{color:var(--navy);background:var(--cream);border:3px solid #053747;border-radius:18px 18px 8px 8px;box-shadow:5px 6px 0 #052838c9;transform:rotate(1deg);padding:18px 16px 0;position:relative;align-self:center}.bet-ticket:after{content:'';display:block;position:absolute;bottom:-8px;left:0;right:0;height:10px;background:linear-gradient(-45deg,transparent 5px,var(--cream) 0) 0 0/10px 10px,linear-gradient(45deg,transparent 5px,var(--cream) 0) 5px 0/10px 10px}.ticket-top h2{font:22px Titan;margin:6px 0 13px}.receipt-line{border-top:1px dashed #1a526377;margin:12px 0}.bet-ticket label{display:block;font-size:9px;font-weight:1000;letter-spacing:1px}.bet-input{border:2px solid #00657a;background:#fffcf0;border-radius:8px;padding:8px;margin-top:6px;display:flex;align-items:center;gap:5px}.bet-input input{width:100%;min-width:0;background:none;border:0;color:var(--navy);font:24px Titan;outline:none;padding:0;appearance:textfield}.bet-input input::-webkit-inner-spin-button{appearance:none}.bet-input span{font-size:7px}.bet-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:7px}.bet-presets button{border:1px solid #23718566;border-radius:5px;background:#d6ede0;color:#0d4153;padding:6px 0;font-size:10px}.bet-presets button.selected{background:var(--gold);border-color:#005c69}.bet-hint{font-size:9px;line-height:1.5;color:#285765}.deal-button{width:100%;margin:3px 0 7px;display:flex;justify-content:space-between;align-items:center;padding:13px 10px;border:2px solid #093c4c;border-radius:10px;background:var(--coral);color:#07303d;box-shadow:0 4px 0 #062f3f;font:16px Titan}.deal-button span{font:23px Nunito}.stake-line{text-align:center;margin:12px 0 0}.stake-line span{display:block;letter-spacing:1px;font-size:8px;font-weight:1000}.stake-line strong{font:24px Titan;color:#057a83;display:block;margin-top:3px}.return-line{margin-top:10px}.return-line strong{font-size:20px}.refill{display:block;border:0;border-bottom:1px solid #267783;background:none;color:#075d70;margin:16px auto 0;font-size:10px;padding:5px 0}.demo-note{text-align:center;font-size:9px;line-height:1.45;color:#43717a;margin:12px 0}.receipt-bottom{text-align:center;font-size:7px;letter-spacing:1px;border-top:1px dashed #1a526377;padding:13px 0 14px}.page-footer{max-width:1440px;margin:22px auto;padding:0 12px;display:flex;justify-content:space-between;gap:15px;font-size:8px;letter-spacing:1px;color:#a6d6df}.page-footer span:first-child{color:var(--gold)}.error-banner,.recovery{border:1px solid var(--coral);background:#552b33f2;border-radius:10px;margin-top:18px;padding:12px;color:#ffede1}.recovery{border-color:var(--gold);background:#073b4afa;display:flex;justify-content:space-between;align-items:center;gap:12px}.recovery button{border:0;border-radius:7px;background:var(--gold);color:var(--navy);padding:11px}.recovery p{margin:0}.error-banner[hidden],.recovery[hidden]{display:none}dialog{width:min(780px,calc(100% - 28px));max-height:90svh;background:#fff7dc;color:var(--navy);border:3px solid #20b9af;border-radius:24px;padding:32px;box-shadow:0 30px 80px #0008;font-size:14px;line-height:1.6}dialog::backdrop{background:#011b2fcd;backdrop-filter:blur(6px)}dialog h2{font:30px/1.2 Titan;margin:8px 0 16px}.close-dialog{position:absolute;right:12px;top:10px;border:2px solid #074756;border-radius:50%;width:36px;height:36px;background:var(--coral);color:var(--navy);font-size:23px;line-height:1}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rules-grid p{margin:0;background:#d5eee5;border:1px solid #69b9b3;border-radius:12px;padding:12px}.rules-grid b,.rules-grid span{display:block}.rules-grid b{font:16px Titan;margin-bottom:6px}.dialog-done{background:var(--gold);border:2px solid #073442;border-radius:9px;color:var(--navy);padding:12px 18px;margin:12px 0 0;box-shadow:0 3px 0 #073442}.history-wrap{overflow:auto}.history-wrap table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}.history-wrap th{padding:10px;background:#093c50;color:#fff7dc}.history-wrap td{padding:10px;border-bottom:1px dashed #a4c7c2}.history-wrap td small{display:block;color:#417280;font-size:9px}.positive{color:#087766}.negative{color:#cb4d37}.csv-link{display:block;width:max-content;margin:15px 0 4px;color:#036678;font-size:12px}.delay-0{animation-delay:0s}.delay-1{animation-delay:.12s}.delay-2{animation-delay:.24s}.delay-3{animation-delay:.36s}.delay-4{animation-delay:.48s}.delay-5{animation-delay:.60s}.delay-6{animation-delay:.72s}.delay-7{animation-delay:.84s}.delay-8{animation-delay:.96s}.delay-9{animation-delay:1.08s}.delay-10{animation-delay:1.2s}.no-animation{animation:none}.flash-win{animation:table-glow 1.2s ease 2}.flash-loss{animation:table-shake .35s ease 1}@keyframes deal-in{from{opacity:0;transform:translate(60px,-70px) rotate(18deg) scale(.8)}to{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}@keyframes chippy-bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6px) rotate(2deg)}}@keyframes table-glow{50%{box-shadow:inset 0 0 0 7px #ffde6666,0 14px 0 #042b36aa,0 0 50px #22e4c799}}@keyframes table-shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@media(min-width:1600px){.cabinet{margin-top:15px;padding-bottom:32px}.playing-table{min-height:575px;gap:18px}.card,.empty-card{width:90px;height:126px}.hand{min-height:134px}.table-centre{min-height:91px}}
@media(max-width:1100px){.game-grid{grid-template-columns:145px minmax(0,1fr) 200px;gap:13px}.cabinet{margin:0 16px;padding:18px 14px 23px}.topbar{padding:12px 18px;gap:12px}.topbar nav button,.topbar nav a{padding:10px;font-size:11px}.mascot-plate{width:130px;height:140px}.mascot-plate img{width:165px;height:155px;left:-14px}.dealer-card h2{font-size:17px}.dealer-star{font-size:34px}.bet-ticket{padding:14px 12px 0}.card,.empty-card{width:72px;height:101px}.hand{min-height:109px}.playing-table{min-height:485px;padding:17px 12px}.action-bar button{font-size:14px}.action-bar button small{font-size:7px}.shopfront h1{font-size:43px}}
@media(max-width:850px){.topbar{flex-wrap:wrap;min-height:104px;gap:10px}.brand{font-size:23px}.brand img{height:48px;width:52px}.wallet strong{font-size:25px}.topbar nav{width:100%;justify-content:center}.topbar nav button,.topbar nav a{min-height:40px}.game-grid{grid-template-columns:minmax(0,1fr) 195px}.dealer-card{display:none}.shopfront{margin-bottom:13px}.shopfront p{font-size:10px}.playing-table{min-height:505px}.page-footer{margin:20px 15px;font-size:7px}.cabinet{margin:8px 13px 0}}
@media(max-width:600px){.topbar{padding:10px 14px 7px;min-height:110px}.brand{font-size:21px}.brand small{font-size:6px;letter-spacing:.9px}.wallet span{font-size:7px}.wallet strong{font-size:22px}.wallet small{font-size:7px}.topbar nav{gap:6px}.topbar nav button,.topbar nav a{font-size:10px;padding:9px 10px;min-height:40px}.cabinet{border-width:3px;border-radius:21px;outline-width:3px;margin:5px 10px 0;padding:14px 9px 16px;background-position:50% 20%}.shopfront h1{font-size:34px}.eyebrow{font-size:7px;letter-spacing:1.5px}.shopfront p{font-size:9px}.game-grid{display:flex;flex-direction:column;gap:20px}.playing-table{width:100%;min-height:472px;padding:14px 10px 13px;border-radius:26px;gap:9px}.playing-table:before{inset:8px;border-radius:18px}.table-topline{font-size:6px;letter-spacing:.5px}.hand-label{margin-bottom:7px}.hand-label h2{font-size:9px;letter-spacing:.7px}.score-chip{font-size:14px}.hand{min-height:104px;padding:0 1px 6px}.card,.empty-card{width:66px;height:93px;flex-shrink:0}.card{margin-left:-17px}.card:nth-child(n+6){margin-left:-39px}.empty-card{margin-left:7px}.table-centre{min-height:78px}.table-mark{font-size:27px;top:0}.round-message{font-size:21px}.round-net{font-size:10px;padding:0 6px}.action-bar{gap:6px}.action-bar button{font-size:13px;min-height:60px;padding:8px 2px}.action-bar button span{font-size:15px;margin-right:1px}.action-bar button small{font-size:6.5px;line-height:1.5}.table-footer{font-size:6px;gap:5px}.bet-ticket{width:100%;transform:none;border-radius:14px 14px 5px 5px;padding:14px 16px 0;display:grid;grid-template-columns:1fr 1fr;column-gap:14px}.ticket-top{grid-column:1/-1}.ticket-top h2{font-size:19px;margin:4px 0 8px}.ticket-top .receipt-line{margin:8px 0}.bet-ticket label,.bet-input,.bet-presets,.bet-hint{grid-column:1}.bet-ticket label{margin-top:3px}.bet-input input{font-size:21px}.bet-input{padding:7px}.bet-hint{font-size:8px;margin:8px 0}.deal-button{grid-column:2;grid-row:3/5;align-self:center;font-size:15px;min-height:55px;margin:0}.bet-ticket>.receipt-line{display:none}.stake-line{grid-column:2;grid-row:5;align-self:center;margin:0}.return-line{grid-row:6;margin:0 0 6px}.stake-line strong{font-size:20px}.refill{grid-column:1/-1;margin:10px auto 0;font-size:10px;min-height:35px}.demo-note{grid-column:1/-1;margin:8px 0;font-size:9px}.receipt-bottom{grid-column:1/-1;padding:10px 0}.page-footer{flex-direction:column;text-align:center;gap:6px;line-height:1.5}.rules-grid{grid-template-columns:1fr}dialog{padding:28px 18px;font-size:13px}dialog h2{font-size:24px}.recovery{flex-direction:column;align-items:flex-start;font-size:12px}.recovery button{width:100%}.csv-link{max-width:100%}}
/* The painted diner sign already carries the title. Keep the real heading accessible,
   without laying a second title over the artwork on wide tables. */
@media(min-width:851px){.shopfront{height:104px}.shopfront h1,.shopfront>.eyebrow,.shopfront>p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mascot-plate{background:none;filter:none}.mascot-plate img,.mascot-plate .dealer-star{visibility:hidden}}
@media(max-width:850px){.shopfront{background:#073c4aee;border:1px solid #ffda6588;border-radius:18px;padding:10px 7px;box-shadow:0 5px 15px #001a2588}.shopfront h1{margin-top:5px}}
.hand.many-cards{flex-wrap:wrap;gap:5px}.hand.many-cards .card{width:45px;height:63px;margin-left:0}
.hand:has(.card:nth-child(7)){flex-wrap:wrap;gap:5px}.hand:has(.card:nth-child(7)) .card{width:45px;height:63px;margin-left:0}
/* Keep the full decision row and betting receipt comfortable on short desktop screens. */
@media(min-width:851px) and (max-height:800px){.topbar{min-height:72px;padding-top:8px;padding-bottom:8px}.brand img{height:47px;width:52px}.wallet strong{font-size:25px}.cabinet{padding:14px 20px 18px}.shopfront{height:90px;margin-bottom:12px}.game-grid{gap:18px}.playing-table{min-height:450px;padding:14px 16px 12px;gap:8px}.hand-label{margin-bottom:6px}.hand{min-height:98px;padding-bottom:5px}.card,.empty-card{width:64px;height:90px}.table-centre{min-height:60px}.round-message{font-size:23px}.table-mark{font-size:32px;top:-9px}.action-bar button{min-height:52px;padding:6px 4px;font-size:15px}.action-bar button small{margin-top:3px}.table-footer{margin-top:2px}.mascot-plate{height:140px}.dealer-card h2{font-size:18px;margin:6px 0 10px}.speech{padding:11px 9px;min-height:63px;margin-bottom:14px;font-size:12px}.house-rules{padding:9px 0}.house-rules strong{font-size:28px}.diner-stamp{margin-top:14px;height:52px;font-size:15px}.bet-ticket{padding:12px 14px 0}.ticket-top h2{font-size:19px;margin:5px 0 9px}.receipt-line{margin:9px 0}.bet-input{padding:6px}.bet-input input{font-size:22px}.bet-presets{margin-top:6px}.bet-presets button{padding:5px 0}.bet-hint{font-size:8px;margin:8px 0;line-height:1.4}.deal-button{padding:10px 9px;margin:3px 0 6px;font-size:15px}.stake-line{margin-top:8px}.stake-line strong{font-size:21px}.return-line{margin-top:7px}.return-line strong{font-size:18px}.refill{margin-top:10px;font-size:9px}.demo-note{font-size:8px;margin:9px 0}.receipt-bottom{padding:9px 0 10px}.page-footer{margin-top:18px;margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Cards remain on the felt. Only newly dealt cards and moved split cards animate. */
.split-hint{margin:2px 0 0;text-align:center;color:#c6eade;font-size:8px;line-height:1.5;position:relative}
.multiple-hands .hand:has(.card:nth-child(4)){flex-wrap:wrap;gap:6px}.multiple-hands .hand:has(.card:nth-child(4)) .card{margin-left:0}
.playing-table{isolation:isolate;overflow:visible}.playing-table[aria-busy="true"] .action-bar{pointer-events:none}.card{animation:none;perspective:850px;transform-origin:center}.card-turner{position:relative;width:100%;height:100%;transform-style:preserve-3d}.card.face-down .card-turner{transform:rotateY(180deg)}.card-face,.card-reverse{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:8px;overflow:hidden}.card-face{background:#fffbec}.card-reverse{transform:rotateY(180deg);background:#073444}.card[data-motion]{z-index:12;will-change:transform}.card svg{border-radius:8px}.card-shoe{position:absolute;top:53px;right:19px;width:51px;height:76px;z-index:3;transform:rotate(8deg);filter:drop-shadow(0 5px 5px #001c2a88);pointer-events:none}.shoe-stack{position:absolute;inset:5px -4px -4px 4px;background:repeating-linear-gradient(0deg,#e9d7a4 0 1px,#fff2cc 1px 3px);border:1px solid #074957;border-radius:6px}.shoe-back{position:absolute;inset:0;display:block}.shoe-back svg{width:100%;height:100%;display:block}.card-shoe small{position:absolute;left:-9px;right:-9px;bottom:-14px;text-align:center;color:#ffda65;font-size:5px;letter-spacing:1px;font-weight:1000}.dealer-zone{padding-right:56px;padding-left:56px}.player-hands{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.player-hands.multiple-hands{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.player-hand{min-width:0;padding:7px 9px 9px;background:#063d4980;border:1px solid #3a9e9d66;border-radius:14px;box-shadow:inset 0 0 12px #03263366}.player-hand.active-hand{border-color:#ffda65;box-shadow:0 0 0 2px #ffda651a,inset 0 0 20px #ffd66a0c}.player-hand.hand-complete:not(.active-hand){border-color:#7acbb599}.player-hands:not(.multiple-hands) .player-hand{border-color:transparent;background:transparent;box-shadow:none;padding:0 4px 5px}.split-hand-label{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:8px}.hand-title{font:900 8px Nunito;letter-spacing:.6px;color:#b6eee3}.active-hand .hand-title{color:var(--gold)}.split-hand-label .score-chip{font-size:12px;padding:3px 5px;min-width:30px}.player-hands:not(.multiple-hands) .split-hand-label{display:none}.player-hand .hand{min-height:115px;padding:0 0 6px}.hand-receipt{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;font-size:8px;line-height:1.5;letter-spacing:.15px;color:#bde7de}.hand-stake{color:var(--gold);font-weight:1000}.hand-result{padding:2px 5px;border-radius:4px;background:#07303ca6;font-weight:1000}.hand-result.positive{color:#76f4bd}.hand-result.negative{color:#ffac92}.multiple-hands .card{width:66px;height:93px;margin-left:-12px}.multiple-hands .card:first-child{margin-left:0}.multiple-hands .hand{min-height:99px}.player-hand .hand.many-cards{flex-wrap:wrap;gap:6px}.player-hand .hand.many-cards .card{width:54px;height:76px;margin:0}.ready-hand{display:flex;justify-content:center}.action-bar{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.action-bar button{font-size:14px}.action-bar button:nth-child(4){background:#65dcfb;border-color:#96edff}.action-bar button small{font-size:7px;line-height:1.5}.flash-push{box-shadow:inset 0 0 0 7px #36e1d833,0 14px 0 #042b36aa}.table-topline{min-height:11px}
@media(min-width:1600px){.player-hands:not(.multiple-hands) .card{width:90px;height:126px}.player-hands:not(.multiple-hands) .hand{min-height:134px}.multiple-hands .card{width:76px;height:107px}.multiple-hands .hand{min-height:114px}}
@media(max-width:1100px){.action-bar button{font-size:11px}.action-bar button span{font-size:13px}.action-bar button small{font-size:6px}.multiple-hands .card{width:59px;height:83px}.multiple-hands .hand{min-height:90px}.hand-title{font-size:7px}.hand-receipt{font-size:7px}}
@media(max-width:600px){.card-shoe{top:46px;right:14px;width:43px;height:62px}.dealer-zone{padding-left:35px;padding-right:43px}.playing-table{gap:11px}.player-hands:not(.multiple-hands) .card{width:78px;height:110px;margin-left:-11px}.player-hands:not(.multiple-hands) .card:first-child{margin-left:0}.player-hands:not(.multiple-hands) .hand{min-height:117px}.multiple-hands .card{width:65px;height:91px;margin-left:-11px}.multiple-hands .hand{min-height:99px}.player-hand .hand.many-cards .card{width:54px;height:76px;margin:0}.player-hand{padding:9px 7px}.action-bar{gap:5px}.action-bar button{font-size:11px;min-height:62px}.action-bar button small{font-size:6px}.action-bar button span{font-size:13px}.hand-title{font-size:8px}.hand-receipt{font-size:8px}.table-footer{font-size:6px;line-height:1.5}}
@media(max-width:430px){.player-hands.multiple-hands{grid-template-columns:minmax(0,1fr);gap:10px}.multiple-hands .card{width:76px;height:106px;margin-left:-10px}.multiple-hands .hand{min-height:112px}.split-hand-label{max-width:245px;margin:0 auto 6px}.hand-title{font-size:9px}.hand-receipt{font-size:9px}.action-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.action-bar button{font-size:14px;min-height:58px}.action-bar button small{font-size:7px}.action-bar button span{font-size:16px}.round-message{font-size:19px}.dealer-zone{padding-left:22px;padding-right:43px}}
@media(prefers-reduced-motion:reduce){.card[data-motion]{will-change:auto}}

/* Make bet presets and recovery controls comfortable to read and tap. */
@media(max-width:600px){
 .bet-presets button,.topbar nav button,.topbar nav a,.refill,.recovery button{min-height:44px}
 .bet-hint,.demo-note,.split-hint{font-size:12px;line-height:1.5}
 .action-bar button small{font-size:11px}
 .close-dialog{min-width:44px;min-height:44px}
}

/* Keep the dealer's reveal readable before the next draw and the final return. */
.dealer-zone{border-radius:18px;transition:background .25s,box-shadow .25s}
.dealer-zone.dealer-revealing{background:#ffda6510;box-shadow:inset 0 0 0 1px #ffda6544}
.card[data-motion="deal"]{filter:drop-shadow(0 8px 9px #00212c66)}
.round-message{min-height:1.15em}.round-net{min-height:1.4em}
@media(max-width:600px){.table-centre{min-height:94px}.round-net{font-size:12px;line-height:1.45}.table-footer{font-size:8px}}

/* Phone play keeps full-size cards and a reachable decision pad on the felt. */
@media(max-width:600px){
 body{min-width:320px}
 .topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;padding:12px 14px}
 .brand{min-width:0;font-size:21px;gap:6px}.brand img{width:39px;height:44px}.brand small{font-size:6px;letter-spacing:.7px}
 .wallet{text-align:right;min-width:0}.wallet strong{font-size:clamp(20px,5.4vw,25px);overflow-wrap:anywhere}.wallet span,.wallet small{font-size:9px;letter-spacing:.2px}
 .topbar nav{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .topbar nav:has(#games-nav[hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}
 .topbar nav button,.topbar nav a{width:100%;min-width:0;min-height:44px;padding:8px 4px;font-size:11px;display:flex;align-items:center;justify-content:center;text-align:center}
 .topbar nav [hidden]{display:none}
 .cabinet{margin:4px 9px 0;padding:12px 8px 16px;border-radius:20px}
 .shopfront{padding:9px 7px;margin-bottom:12px}.shopfront h1{font-size:32px}.shopfront p{font-size:11px;line-height:1.4}.eyebrow{font-size:8px}
 .game-grid{gap:18px}.playing-table{padding:14px 9px 12px;gap:12px;min-height:0}
 .table-topline{font-size:8px;line-height:1.4;letter-spacing:.15px;align-items:flex-start}.table-topline>span{max-width:51%}.table-topline>span:last-child{text-align:right}
 .hand-label h2{font-size:11px}.score-chip{min-width:36px;font-size:16px}.card-shoe{top:57px;right:12px;width:35px;height:51px}.card-shoe small{font-size:5px;bottom:-12px}
 .dealer-zone{padding-left:9px;padding-right:42px}.dealer-zone .hand{min-height:110px}.dealer-zone .card,.dealer-zone .empty-card{width:72px;height:101px}
 .table-centre{min-height:82px}.round-message{font-size:21px;line-height:1.2}.round-net{font-size:12px;line-height:1.45;padding:0 5px}.table-mark{font-size:29px}
 .hand-zone.player-zone{padding:0 2px}.player-hands{gap:10px}.player-hand{padding:10px 8px}.hand-title{font-size:10px}.hand-receipt{font-size:10px;line-height:1.5}
 .player-hands:not(.multiple-hands) .card{width:78px;height:110px;margin-left:-13px}.player-hands:not(.multiple-hands) .card:first-child{margin-left:0}
 .hand:has(.card:nth-child(5)),.player-hand .hand.many-cards{flex-wrap:wrap;gap:6px;min-height:0}
 .hand:has(.card:nth-child(5)) .card,.player-hands:not(.multiple-hands) .hand:has(.card:nth-child(5)) .card,.player-hand .hand.many-cards .card{width:64px;height:90px;margin:0}
 .action-bar{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:20;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;margin:0 -2px;background:#063d49f5;border:1px solid #4caeaa99;border-radius:15px;box-shadow:0 7px 18px #002b36a6;backdrop-filter:blur(8px)}
 .action-bar button{min-height:60px;font-size:16px;padding:8px 5px}.action-bar button span{font-size:17px}.action-bar button small{font-size:10px;line-height:1.35;margin-top:5px}
 .split-hint{font-size:11px;margin:0;line-height:1.5}.table-footer{font-size:8px;line-height:1.5;gap:6px 10px;margin-top:0}
 .bet-ticket{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:16px 14px 0}
 .ticket-top{grid-column:1/-1}.ticket-top h2{font-size:22px}.tiny-label{font-size:10px}
 .bet-ticket label{grid-column:1/-1;grid-row:auto;font-size:11px;margin:0}.bet-input{grid-column:1/-1;grid-row:auto;min-height:51px;padding:3px 9px;margin:0}.bet-input input{font-size:26px;min-height:44px}.bet-input span{font-size:10px}
 .bet-presets{grid-column:1/-1;grid-row:auto;gap:7px;margin:0}.bet-presets button{min-height:44px;font-size:13px}
 .bet-hint{grid-column:1/-1;grid-row:auto;font-size:11px;line-height:1.5;margin:0}
 .deal-button{grid-column:1/-1;grid-row:auto;min-height:52px;font-size:18px;margin:2px 0 8px;padding:10px 14px}
 .stake-line,.return-line{grid-row:auto;grid-column:auto;margin:0;padding:10px 3px;border-top:1px dashed #1a526377;align-self:start}.stake-line span{font-size:10px;letter-spacing:.3px;line-height:1.4}.stake-line strong{font-size:23px;overflow-wrap:anywhere}
 .bet-ticket>.cws-launcher{grid-column:1/-1;grid-row:auto;margin:0}.bet-ticket>.cws-launcher .cws-trigger{width:100%;min-height:44px}
 .refill{grid-column:1/-1;grid-row:auto;margin:0;min-height:44px;font-size:12px}.demo-note{font-size:11px;line-height:1.5;margin:0}.receipt-bottom{font-size:8px;line-height:1.6}
 .page-footer{font-size:9px;letter-spacing:.4px;margin:20px 14px;padding-bottom:env(safe-area-inset-bottom,0px)}
 dialog{max-height:calc(100dvh - 24px);font-size:14px;line-height:1.6;padding:30px 18px 20px;overscroll-behavior:contain}dialog h2{font-size:25px;padding-right:22px}.rules-grid b{font-size:17px}.close-dialog{top:8px;right:8px;width:44px;height:44px}.dialog-done{min-height:48px;width:100%;font-size:14px}.history-wrap{max-width:100%;-webkit-overflow-scrolling:touch}
 .recovery{font-size:13px;line-height:1.5}.recovery button{min-height:48px}
}
@media(max-width:430px){
 .player-hands.multiple-hands{grid-template-columns:minmax(0,1fr)}.multiple-hands .card{width:76px;height:106px;margin-left:-10px}.multiple-hands .hand{min-height:113px}.split-hand-label{max-width:none;margin:0 2px 9px}.split-hand-label .score-chip{font-size:15px;min-width:34px}.hand-title,.hand-receipt{font-size:10px}
}
@media(max-width:370px){.brand small{display:none}.brand{font-size:19px}.brand img{width:34px}.wallet strong{font-size:20px}.wallet span,.wallet small{font-size:8px}.topbar{padding-left:11px;padding-right:11px}}
