﻿
:root{--gold:#caa24a;--gold2:#f2d27b;--cream:#f5efe3;--muted:rgba(245,239,227,.72);--line:rgba(242,210,123,.28)}
*{box-sizing:border-box}html,body{margin:0;padding:0;overflow-x:hidden}
body{min-height:100vh;background:#000;color:var(--cream);font-family:Oswald,Arial,sans-serif}
.bg{position:fixed;inset:0;z-index:0;background:radial-gradient(circle at top,rgba(242,210,123,.16),transparent 35%),linear-gradient(180deg,rgba(0,0,0,.50),rgba(0,0,0,.97))}
.app{position:relative;z-index:1;width:min(1280px,95vw);margin:auto;padding:18px 0 42px}
.top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--cream)}
.brand span{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(180deg,#f2d27b,#caa24a 58%,#805c1a);color:#100c05;font-family:"Black Ops One";font-size:24px}
.brand b{font-family:"Black Ops One"}
nav{display:flex;gap:10px;flex-wrap:wrap}
nav a,button{border:1px solid var(--line);border-radius:999px;min-height:42px;padding:11px 15px;background:rgba(255,255,255,.045);color:var(--cream);text-decoration:none;font-weight:900;text-transform:uppercase;cursor:pointer}
button:hover{background:linear-gradient(180deg,#f2d27b,#caa24a 58%,#805c1a);color:#100c05}
.hero{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:end;border:1px solid var(--line);border-radius:28px;padding:24px;margin-bottom:16px;background:linear-gradient(180deg,rgba(18,18,18,.82),rgba(0,0,0,.64));box-shadow:0 28px 90px rgba(0,0,0,.6)}
.kicker{color:var(--gold2);font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:900}
h1{font-family:"Black Ops One";font-size:clamp(44px,7vw,86px);line-height:.88;margin:10px 0;color:var(--gold2);text-transform:uppercase}
h2{font-family:"Black Ops One";color:var(--gold2);margin:0 0 10px;text-transform:uppercase}
p{color:var(--muted);line-height:1.45}.score{min-width:190px;border:1px solid rgba(242,210,123,.2);border-radius:22px;background:rgba(0,0,0,.48);padding:16px;text-align:right}
.score span,.score small{display:block;color:var(--muted)}.score b{display:block;font-family:"Black Ops One";color:var(--gold2);font-size:32px}
.panel,.table{border:1px solid var(--line);border-radius:28px;background:linear-gradient(180deg,rgba(17,14,9,.78),rgba(0,0,0,.70));box-shadow:0 28px 90px rgba(0,0,0,.58);padding:16px;margin-bottom:16px}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.grid{display:grid;gap:14px}.hand{display:flex;gap:8px;flex-wrap:wrap}.card{width:72px;height:104px;border-radius:12px;background:linear-gradient(180deg,#fff6dc,#d6c09a);color:#111;border:2px solid rgba(242,210,123,.75);box-shadow:0 12px 22px rgba(0,0,0,.36);display:grid;place-items:center;font-weight:900;font-size:22px;cursor:pointer}.card:hover{transform:translateY(-6px)}.red{color:#8b1414}
.casino-table{position:relative;min-height:430px;border-radius:46px;border:10px solid #caa24a;background:radial-gradient(circle at center,#1f5d2e 0%,#0d2d16 65%,#06120a 100%);box-shadow:0 0 0 6px #3b2a0c,0 30px 100px rgba(0,0,0,.72),inset 0 0 70px rgba(255,255,255,.07);overflow:hidden;margin:16px 0;padding:24px}
.casino-table:before{content:"";position:absolute;inset:18px;border-radius:36px;border:2px solid rgba(242,210,123,.38);pointer-events:none}
.table-logo{position:absolute;inset:0;display:grid;place-items:center;font-family:"Black Ops One";font-size:clamp(44px,9vw,120px);color:rgba(242,210,123,.10);letter-spacing:.08em;transform:rotate(-8deg);pointer-events:none}
.table-content{position:relative;z-index:2}
ol{max-height:360px;overflow:auto;color:var(--muted)}
@media(max-width:760px){.hero{grid-template-columns:1fr}.score{text-align:left}nav a,button{width:100%}.card{width:54px;height:82px;font-size:17px}.panel,.table,.hero{border-radius:20px;padding:13px}.casino-table{border-width:7px;border-radius:28px;min-height:360px}}

.hold{outline:4px solid #f2d27b;transform:translateY(-8px)}
.card.back{background:linear-gradient(135deg,rgba(22,16,10,.72),rgba(5,5,5,.88)),url("../shared/assets/bg-vault-door.jpg") center/cover;color:#f2d27b;border-color:#caa24a;text-shadow:0 2px 10px rgba(0,0,0,.85)}
.card span{align-self:start;justify-self:start;font-size:.72em;line-height:1}
.card b{font-size:1.45em;line-height:1}
.card small{align-self:end;justify-self:end;font-size:.62em;line-height:1}

/* CONSUMER LAYOUT REPAIR - POKER */
body{overflow:auto}.app{width:min(1700px,98vw);min-height:100vh;display:flex;flex-direction:column;gap:6px;padding:6px 8px 8px}.top{height:34px;max-height:34px;margin:0}.brand span{width:32px;height:32px;border-radius:10px;font-size:15px}.brand b{font-size:13px}.hero{height:46px;max-height:46px;min-height:46px;margin:0;padding:6px 10px;border-radius:14px;align-items:center}.hero p{display:none}.kicker{font-size:9px}h1{font-size:clamp(24px,2.8vw,40px);margin:0}.score{min-width:160px;padding:6px 10px;border-radius:12px}.score b{font-size:20px}.poker-shell{flex:1;margin:0;padding:0;border:0;background:transparent;box-shadow:none}.poker-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:10px;height:calc(100vh - 108px);min-height:620px}.poker-rail{padding:10px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(17,14,9,.78),rgba(0,0,0,.70));overflow:auto}.poker-controls{display:grid;grid-template-columns:1fr;gap:8px}.poker-controls button{min-height:42px;font-size:13px;padding:9px 10px;width:100%}.rail-zone{margin-top:10px;padding-top:10px;border-top:1px solid rgba(242,210,123,.22)}.casino-table{height:100%;min-height:620px;margin:0;border-width:10px;border-radius:46px}.poker-center{height:100%;display:grid;place-items:center;padding:70px 34px}.poker-center .hand,#hand.hand{justify-content:center;align-items:center;gap:14px}.card{width:82px;height:118px}@media(max-width:980px){.app{display:block}.top,.hero{height:auto;max-height:none}.poker-layout{grid-template-columns:1fr;height:auto;min-height:0}.casino-table{height:64vh;min-height:460px}.poker-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* TARGETED HEADER / PILL OVERLAP FIX */
.top{height:auto!important;max-height:none!important;min-height:44px!important;margin:0 0 8px!important;position:relative!important;z-index:30!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;}
.top nav,nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;}
.top nav a,nav a{min-height:38px!important;font-size:12px!important;line-height:1.1!important;padding:9px 12px!important;}
.hero{height:auto!important;max-height:none!important;min-height:66px!important;margin:0 0 10px!important;position:relative!important;z-index:20!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;}
.hero .score{align-self:center!important;min-width:180px!important;max-width:260px!important;overflow-wrap:anywhere!important;}
.poker-layout{height:calc(100vh - 138px)!important;}
.poker-status p,.poker-status li{font-size:12px!important;line-height:1.25!important;}

