.poker-card-slot{display:flex;flex-direction:column;gap:.65rem;flex:0 0 auto}.poker-card-slot.hero{width:116px}.poker-card-slot.board,.poker-card-slot.villain{width:82px}.poker-card-face{width:100%;border-radius:14px;background:#2d3449;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;position:relative;overflow:hidden;box-shadow:0 18px 36px rgba(0,0,0,.18)}.poker-card-slot.hero .poker-card-face{height:172px}.poker-card-slot.board .poker-card-face,.poker-card-slot.villain .poker-card-face{height:116px}.poker-card-face.empty{background:rgba(11,19,38,.46);border:2px dashed rgba(134,148,138,.18);box-shadow:none}.poker-card-slot-label{position:absolute;top:10px;left:10px;font-size:9px;text-transform:uppercase;letter-spacing:.16em;color:rgba(183,200,225,.36)}.poker-rank{font-family:'Space Grotesk',sans-serif;font-size:2.5rem;font-weight:700;line-height:1;color:#dae2fd}.poker-card-slot.board .poker-rank,.poker-card-slot.villain .poker-rank{font-size:1.7rem}.poker-suit{font-size:1.9rem;line-height:1}.poker-card-slot.board .poker-suit,.poker-card-slot.villain .poker-suit{font-size:1.28rem}.poker-suit.red{color:#ffb4ab}.poker-suit.black{color:#dae2fd}.poker-placeholder{font-size:2.1rem;color:rgba(183,200,225,.28)}.poker-card-select,.surface-select{width:100%;appearance:none;-webkit-appearance:none;border:1px solid rgba(134,148,138,.18);border-radius:10px;background:#222a3d;color:#dae2fd;padding:.68rem 2.1rem .68rem .78rem;font-size:.78rem;line-height:1.1;box-shadow:0 10px 22px rgba(0,0,0,.18);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23b7c8e1' d='M5 6 0 0h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center;background-size:10px 6px}.poker-card-select:hover,.surface-select:hover{background-color:#2d3449}.poker-card-select:focus,.surface-select:focus{outline:none;border-color:rgba(78,222,163,.42);box-shadow:0 0 0 3px rgba(78,222,163,.12)}.poker-card-select:disabled,.surface-select:disabled{opacity:.45;cursor:not-allowed}.poker-card-select option,.surface-select option{background:#171f33;color:#dae2fd}.input-chip-btn{min-height:48px;border:none;border-radius:.45rem;background:#2d3449;color:#b7c8e1;font-size:.8rem;font-weight:700;cursor:pointer;transition:all .16s ease}.input-chip-btn.active{background:linear-gradient(135deg,#4edea3 0%,#10b981 100%);color:#03291d;box-shadow:0 12px 24px rgba(16,185,129,.14)}.pot-input{width:100%;border:none;outline:none;border-radius:.5rem;background:#2d3449;color:#dae2fd;padding:.9rem 1rem}.result-shell .metric-ring{width:164px;height:164px;border-radius:999px;display:grid;place-items:center;background:conic-gradient(#4edea3 calc(var(--ring-fill)*1%),rgba(45,52,73,.92) 0)}.result-shell .metric-ring-inner{width:132px;height:132px;border-radius:999px;background:#171f33;display:flex;flex-direction:column;align-items:center;justify-content:center}.result-shell .result-card-sm{background:#171f33;border-radius:.9rem;padding:1.25rem 1.3rem}.result-shell .result-strip{height:6px;background:#2d3449;border-radius:999px;overflow:hidden}.result-shell .result-strip>span{display:block;height:100%;background:#f9bd22}.result-shell .timeline-node{width:32px;height:32px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700}.result-shell .timeline-node.primary{background:rgba(78,222,163,.15);color:#4edea3;border:1px solid rgba(78,222,163,.26)}.result-shell .timeline-node.neutral{background:#2d3449;color:#dae2fd;border:1px solid rgba(134,148,138,.16)}.result-shell .timeline-line{width:1px;flex:1;background:rgba(134,148,138,.14);margin:.5rem 0}.result-shell .heat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem}.result-shell .heat-grid div{height:2.5rem;border-radius:.2rem}.result-shell .result-container{max-width:1180px;margin:0 auto}.decision-tab-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.decision-tab{display:flex;flex-direction:column;gap:.45rem;padding:1rem 1.1rem;border-radius:16px;border:1px solid rgba(134,148,138,.16);background:#20293c;color:#dae2fd;text-align:left;transition:all .16s ease}.decision-tab:hover{transform:translateY(-1px);border-color:rgba(183,200,225,.28)}.decision-tab.primary.active{background:linear-gradient(135deg,rgba(78,222,163,.2) 0%,rgba(16,185,129,.1) 100%);border-color:rgba(78,222,163,.38);box-shadow:0 16px 28px rgba(16,185,129,.12)}.decision-tab.secondary.active{background:linear-gradient(135deg,rgba(249,189,34,.18) 0%,rgba(255,180,171,.08) 100%);border-color:rgba(249,189,34,.36);box-shadow:0 16px 28px rgba(249,189,34,.08)}.decision-tab.tertiary.active{background:linear-gradient(135deg,rgba(183,200,225,.16) 0%,rgba(78,222,163,.07) 100%);border-color:rgba(183,200,225,.3);box-shadow:0 16px 28px rgba(183,200,225,.08)}.decision-tab-label{font-size:10px;font-weight:700;letter-spacing:.26em;text-transform:uppercase;color:rgba(183,200,225,.62)}.decision-tab-action{font-family:'Space Grotesk',sans-serif;font-size:1.05rem;font-weight:700;color:#f4f7ff}.decision-tab-confidence{font-size:.86rem;font-weight:700}.decision-tab.primary .decision-tab-confidence{color:#4edea3}.decision-tab.secondary .decision-tab-confidence{color:#f9bd22}.decision-tab.tertiary .decision-tab-confidence{color:#b7c8e1}.decision-summary-card{padding:1.15rem 1.2rem;border-radius:16px;border:1px solid rgba(134,148,138,.16);background:#171f33}.decision-summary-card.primary{border-color:rgba(78,222,163,.24);background:linear-gradient(180deg,rgba(78,222,163,.08) 0%,rgba(23,31,51,.96) 100%)}.decision-summary-card.secondary{border-color:rgba(249,189,34,.24);background:linear-gradient(180deg,rgba(249,189,34,.08) 0%,rgba(23,31,51,.96) 100%)}.decision-summary-card.tertiary{border-color:rgba(183,200,225,.22);background:linear-gradient(180deg,rgba(183,200,225,.06) 0%,rgba(23,31,51,.96) 100%)}.decision-summary-confidence{display:inline-flex;align-items:center;padding:.45rem .7rem;border-radius:999px;font-size:.74rem;font-weight:700}.decision-summary-confidence.primary{background:rgba(78,222,163,.14);color:#4edea3}.decision-summary-confidence.secondary{background:rgba(249,189,34,.14);color:#f9bd22}.decision-summary-confidence.tertiary{background:rgba(183,200,225,.14);color:#b7c8e1}.range-chip-wrap{display:flex;flex-wrap:wrap;gap:.55rem}.range-chip{display:inline-flex;align-items:center;padding:.45rem .7rem;border-radius:999px;font-size:.76rem;font-weight:600;background:#2d3449;color:#dae2fd}.range-chip.primary{background:rgba(78,222,163,.12);color:#7ef0bd;border:1px solid rgba(78,222,163,.18)}.range-chip.secondary{background:rgba(249,189,34,.1);color:#ffd97a;border:1px solid rgba(249,189,34,.16)}.range-chip.tertiary{background:rgba(183,200,225,.12);color:#d9e4f5;border:1px solid rgba(183,200,225,.18)}.villain-guess-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:1rem}.villain-guess-group{display:flex;flex-direction:column;gap:.6rem}.villain-guess-cards{display:flex;gap:.55rem}.villain-guess-label{font-size:.72rem;color:rgba(183,200,225,.62);letter-spacing:.08em;text-transform:uppercase}.guess-card{width:60px;height:88px;border-radius:14px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 14px 28px rgba(0,0,0,.2)}.guess-card.primary{border:2px solid rgba(78,222,163,.24)}.guess-card.secondary{border:2px solid rgba(249,189,34,.24)}.guess-card.tertiary{border:2px solid rgba(183,200,225,.24)}.guess-card.placeholder{background:#2d3449}.guess-card-rank{font-family:'Space Grotesk',sans-serif;font-size:1.7rem;font-weight:700;line-height:1;color:#0f172a}.guess-card.placeholder .guess-card-rank{color:#dae2fd}.guess-card-suit{font-size:1.35rem;line-height:1}.guess-card-suit.red{color:#dc2626}.guess-card-suit.black{color:#0f172a}.guess-card-suit.unknown{color:#b7c8e1}.street-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}@media (max-width:1024px){.poker-card-slot.hero{width:100px}.poker-card-slot.board,.poker-card-slot.villain{width:74px}.poker-card-slot.hero .poker-card-face{height:156px}.poker-card-slot.board .poker-card-face,.poker-card-slot.villain .poker-card-face{height:106px}}@media (max-width:768px){.result-shell .metric-ring{width:144px;height:144px}.result-shell .metric-ring-inner{width:116px;height:116px}.poker-card-slot.hero{width:92px}.poker-card-slot.hero .poker-card-face{height:144px}.decision-tab-row,.street-grid,.context-grid{grid-template-columns:1fr}.villain-guess-grid{grid-template-columns:1fr}}
.street-action-card{padding:1rem;border-radius:14px;background:rgba(45,52,73,.35);border:1px solid rgba(134,148,138,.12)}.street-action-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tooltip-wrap{position:relative;display:inline-flex;align-items:center}.tooltip-trigger{width:18px;height:18px;border:none;border-radius:999px;background:#2d3449;color:#b7c8e1;font-size:.72rem;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:help}.tooltip-card{position:absolute;left:calc(100% + .65rem);top:50%;transform:translateY(-50%);width:220px;padding:.8rem .9rem;border-radius:12px;background:#171f33;border:1px solid rgba(134,148,138,.18);box-shadow:0 18px 36px rgba(0,0,0,.24);opacity:0;pointer-events:none;transition:opacity .16s ease;z-index:20}.tooltip-wrap:hover .tooltip-card,.tooltip-wrap:focus-within .tooltip-card{opacity:1}.tooltip-card p{margin:0 0 .4rem 0;font-size:.72rem;line-height:1.4;color:#dae2fd}.tooltip-card p:last-child{margin-bottom:0}
@media (max-width:768px){.street-action-pair{grid-template-columns:1fr}.tooltip-card{left:auto;right:0;top:calc(100% + .65rem);transform:none;width:210px}}

.gto-matrix{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:2px;font-family:'Space Grotesk',sans-serif}.gto-matrix-header{font-size:.6rem;font-weight:700;color:rgba(183,200,225,.5);display:flex;align-items:center;justify-content:center;height:36px}.gto-cell{height:36px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.6rem;font-weight:700;cursor:pointer;transition:all .12s ease;position:relative;user-select:none}.gto-cell:hover{transform:scale(1.15);z-index:2;box-shadow:0 4px 12px rgba(0,0,0,.3)}.gto-cell.raise{background:rgba(78,222,163,.7);color:#03291d}.gto-cell.call{background:rgba(249,189,34,.55);color:#261a00}.gto-cell.fold{background:rgba(45,52,73,.6);color:rgba(183,200,225,.4)}.gto-cell.mixed-rc{background:linear-gradient(135deg,rgba(78,222,163,.7) 50%,rgba(249,189,34,.55) 50%);color:#03291d}.gto-cell.mixed-rf{background:linear-gradient(135deg,rgba(78,222,163,.7) 50%,rgba(45,52,73,.6) 50%);color:#03291d}.gto-legend{display:flex;gap:1.2rem;flex-wrap:wrap}.gto-legend-item{display:flex;align-items:center;gap:.4rem;font-size:.72rem;color:#b7c8e1}.gto-legend-swatch{width:14px;height:14px;border-radius:3px}.gto-trainer-prompt{padding:1.5rem;border-radius:16px;background:#171f33;border:1px solid rgba(134,148,138,.16)}.gto-trainer-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.gto-trainer-btn{padding:.75rem;border-radius:10px;border:1px solid rgba(134,148,138,.2);background:#222a3d;color:#dae2fd;font-size:.85rem;font-weight:700;cursor:pointer;transition:all .14s ease}.gto-trainer-btn:hover{border-color:rgba(78,222,163,.4);background:#2d3449}.gto-trainer-btn.correct{background:rgba(78,222,163,.2);border-color:#4edea3;color:#4edea3}.gto-trainer-btn.wrong{background:rgba(255,180,171,.15);border-color:#ffb4ab;color:#ffb4ab}.gto-stats-row{display:flex;justify-content:space-between;align-items:center;padding:.6rem 0;border-bottom:1px solid rgba(134,148,138,.08)}.gto-stats-row:last-child{border-bottom:none}

@keyframes analysisPulse{0%,100%{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}@keyframes analysisOrbit{0%{transform:rotate(0deg) translateX(60px) rotate(0deg)}100%{transform:rotate(360deg) translateX(60px) rotate(-360deg)}}@keyframes analysisSpin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes analysisGlow{0%,100%{box-shadow:0 0 20px rgba(78,222,163,.15)}50%{box-shadow:0 0 40px rgba(78,222,163,.3)}}@keyframes analysisFade{0%{opacity:0;transform:translateY(6px)}100%{opacity:1;transform:translateY(0)}}
.analysis-overlay{position:fixed;inset:0;z-index:60;background:rgba(11,19,38,.92);backdrop-filter:blur(12px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem}.analysis-spinner{width:140px;height:140px;position:relative;animation:analysisGlow 2s ease-in-out infinite;border-radius:999px}.analysis-spinner-ring{position:absolute;inset:0;border-radius:999px;border:2px solid transparent;border-top-color:#4edea3;animation:analysisSpin 1.2s linear infinite}.analysis-spinner-ring:nth-child(2){inset:10px;border-top-color:#f9bd22;animation-duration:1.8s;animation-direction:reverse}.analysis-spinner-ring:nth-child(3){inset:20px;border-top-color:#b7c8e1;animation-duration:2.4s}.analysis-spinner-core{position:absolute;inset:32px;border-radius:999px;background:radial-gradient(circle,rgba(78,222,163,.2),transparent);display:flex;align-items:center;justify-content:center}.analysis-spinner-core .material-symbols-outlined{font-size:2rem;color:#4edea3;animation:analysisPulse 1.5s ease-in-out infinite}.analysis-orbit-dot{position:absolute;width:8px;height:8px;border-radius:999px;background:#4edea3;top:50%;left:50%;margin:-4px 0 0 -4px;animation:analysisOrbit 3s linear infinite}.analysis-orbit-dot:nth-child(5){background:#f9bd22;animation-delay:-.75s}.analysis-orbit-dot:nth-child(6){background:#b7c8e1;animation-delay:-1.5s}.analysis-orbit-dot:nth-child(7){background:#ffb4ab;animation-delay:-2.25s}.analysis-status{display:flex;flex-direction:column;align-items:center;text-align:center}.analysis-status h3{font-family:'Space Grotesk',sans-serif;font-size:1.1rem;font-weight:700;color:#dae2fd;letter-spacing:.08em}.analysis-status p{font-size:.75rem;color:rgba(183,200,225,.5);margin-top:.5rem;animation:analysisFade .6s ease both}.analysis-steps{display:inline-flex;justify-content:center;align-items:center;width:max-content;max-width:100%;margin:.5rem auto 0;gap:.5rem}.analysis-step{width:6px;height:6px;border-radius:999px;background:#2d3449;transition:background .3s}.analysis-step.active{background:#4edea3}

html,body{max-width:100%;overflow-x:hidden}

@media (max-width:767px){
#mobileSidebar{
position:fixed;
top:0;
left:0;
bottom:0;
width:min(18rem,calc(100vw - 2.5rem));
display:flex;
flex-direction:column;
transform:translateX(calc(-100% - 1rem));
transition:transform .22s ease;
padding-bottom:env(safe-area-inset-bottom,0);
overflow-y:auto;
overscroll-behavior:contain
}
#mobileSidebar nav{
display:block;
overflow:visible;
white-space:normal
}
#mobileSidebar nav a{
border-right-width:0!important;
border-radius:.9rem
}
#mobileSidebar .p-4.pb-3{padding:1.15rem 1rem .5rem}
body.mobile-sidebar-open{overflow:hidden}
body.mobile-sidebar-open #mobileSidebar{transform:translateX(0)}
header #shellTopLeft{flex:1 1 auto}
header #shellTopRight{margin-left:auto}
}

@media (max-width:900px){
body>main .overflow-x-auto,
#gtoMatrixContainer{
overflow-x:auto;
-webkit-overflow-scrolling:touch
}
body>main input,
body>main select,
body>main textarea{font-size:16px}
.gto-matrix{min-width:34rem}
#modal-backdrop>div{
width:min(400px,calc(100vw - 2rem));
max-height:calc(100vh - 2rem);
overflow-y:auto;
padding:1.25rem
}
.analysis-overlay{padding:1.5rem 1rem}
.analysis-spinner{width:116px;height:116px}
.analysis-spinner-core{inset:26px}
}

@media (max-width:640px){
.font-headline.text-4xl{font-size:2rem!important}
.text-5xl{font-size:2.5rem!important}
.poker-card-slot.hero{width:80px}
.poker-card-slot.hero .poker-card-face{height:126px}
.poker-card-slot.board,.poker-card-slot.villain{width:68px}
.poker-card-slot.board .poker-card-face,.poker-card-slot.villain .poker-card-face{height:98px}
.poker-rank{font-size:2rem}
.poker-card-slot.board .poker-rank,.poker-card-slot.villain .poker-rank{font-size:1.45rem}
.poker-suit{font-size:1.55rem}
.poker-card-slot.board .poker-suit,.poker-card-slot.villain .poker-suit{font-size:1.08rem}
.result-shell .heat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gto-trainer-options{gap:.5rem}
}
