/* V3 visual refinement and minimum touch sizes */
.phone button:not(.room):not(.seat-avatar){min-height:44px;min-width:44px}
.phone .icon-button,.phone .profile-head .identity h3 .icon-button{width:44px;height:44px;min-width:44px}
.phone .text-button,.phone .row .label .text-button,.phone .row .value .text-button,.phone .profile-head .text-button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
.phone button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}
.phone button:focus-visible,.phone input:focus-visible,.phone textarea:focus-visible{outline:2px solid #adf465;outline-offset:2px}
.quick-choices{grid-template-columns:repeat(5,minmax(44px,1fr));gap:8px}.phone .quick-choices .choice{min-height:44px}
.phone[data-screen="quick-settings"] .sheet{height:80%;max-height:80%}
.phone .profile-head{position:relative;isolation:isolate;min-height:82px;margin-bottom:12px;padding:8px 0}
.profile-head:before{content:'';position:absolute;inset:-10px -20px;background:radial-gradient(ellipse at 85% 20%,#2b773c66,transparent 55%),url('assets/v3/table-felt.svg') center/cover;z-index:-1;opacity:.7}
.profile-head .identity{min-width:0}.profile-head .identity h3{flex-wrap:wrap}.profile-head .identity p{font-size:10px}
.phone .club-head .club-avatar{background:#25452b url('assets/logo-ok.svg') center/65% no-repeat;color:transparent;border:1px solid #81934d}
.room{min-height:102px!important;background-image:linear-gradient(100deg,#182119 55%,#1c2a20e8),url('assets/logo-ok.svg');background-position:center,right center;background-repeat:no-repeat;background-size:auto,90px;gap:10px}
.occupancy{width:56px;height:56px;flex-shrink:0}.occupancy text{fill:#e4efd8;font-size:14px;font-weight:650;font-family:inherit}
.room-main{min-width:0}.room-main strong{font-size:14px!important;white-space:nowrap}.room-main .badge{font-size:9px;padding:2px 5px}.room-main .inline{gap:5px}.room-main small{font-size:9px;line-height:1.7}.room-side{min-width:66px}.room-side small{display:block;font-size:9px}.room-vpip{display:block;margin-top:4px;color:#b8d894;font-size:9px}
.phone .room{border:1px solid #34432e}.room-side strong{font-size:18px}
.v3-table{width:360px;height:640px;position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 40%,#08795b,#034631 75%,#03271f)}
.v3-table:before{content:'';position:absolute;inset:0;background:url('assets/v3/table-felt.svg') center/100% 100%;pointer-events:none;z-index:0}
.v3-table.theme-graphite{background:radial-gradient(ellipse at center,#46534f,#182422)}.v3-table.theme-midnight{background:radial-gradient(ellipse at center,#265572,#0b273b)}
.v3-table .table-menu{top:81px}.v3-table .proof{top:83px}.v3-table .network{top:78px;right:52px}
.v3-table .table-pot{top:226px}.v3-table .table-cards{top:276px}.v3-table .table-caption{top:330px;line-height:1.65;font-size:9px}
.v3-table .seat{width:62px}.v3-table .seat-avatar{width:42px;height:42px;position:relative;overflow:visible;background:#234d38}
.v3-table .seat-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.v3-table .seat-avatar .countdown{position:absolute;inset:0;border-radius:50%;background:#06160ca8;display:grid;place-items:center;font-size:18px;color:#f3e89c}
.v3-table .s1{left:149px;top:135px}.v3-table .s2{left:16px;top:204px}.v3-table .s3{right:16px;top:204px}.v3-table .s4{left:16px;top:327px}.v3-table .s5{right:16px;top:327px}.v3-table .s6,.v3-table.playable .s6{left:149px;top:416px}.v3-table .s7,.v3-table.playable .s7{left:36px;top:426px}.v3-table .s8,.v3-table.playable .s8{right:36px;top:426px}
.v3-table .hero-seat .seat-avatar{width:34px;height:34px}.v3-table .hero-seat .seat-name{display:none}.v3-table .hero-seat .seat-stack{margin-top:4px}
.v3-table .seat-name{max-width:62px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.v3-table .seat-stack{font-size:9px;white-space:nowrap}
.v3-table .seat-cards{top:76px}.v3-table .seat-cards .card-line{margin:0;gap:2px}.v3-table .seat-cards .playing-card{width:17px!important;height:23px!important;padding:2px;font-size:7px!important;line-height:7px}.v3-table .seat-cards .playing-card i{font-size:9px!important}
.v3-table .bubble{top:-22px;font-size:10px;min-width:40px;white-space:nowrap}.v3-table .my-hand{bottom:113px;z-index:7}.v3-table .my-hand .card-line{margin:0;gap:3px}.v3-table .my-hand .playing-card{width:33px;height:44px}.v3-table .folded-hand{opacity:.25}
.v3-table .bet-bar{bottom:max(12px,env(safe-area-inset-bottom));gap:7px}.v3-table .bet-presets{gap:5px}.v3-table .bet-presets button{font-size:11px;padding:2px;min-width:0}.v3-table .bet-controls{gap:6px}.v3-table .bet-controls button{font-size:11px;min-height:46px}
.v3-table .table-tools,.v3-table.playable .table-tools{bottom:112px;pointer-events:none;z-index:14}.v3-table .table-tools button{pointer-events:auto}
.v3-table .connection-banner{top:107px;left:54px;right:54px;padding:5px;font-size:9px;z-index:15;line-height:1.35}.v3-table .connection-banner.urgent{color:#ffdd9f;background:#663716}
.v3-table .urgent-avatar{border:3px solid #f0a748!important;box-shadow:0 0 0 3px #e38e3333}
.v3-table .seat .dealer{right:0;top:33px}.v3-table .seat.empty-seat .seat-avatar{min-width:44px;min-height:44px}
.nested-dim{z-index:40}.nested-sheet{z-index:41}.frozen-sheet{pointer-events:none;z-index:30}.frozen-sheet .sheet-body{overflow:hidden}
.phone[data-screen="table-info"] .sheet{height:84%;max-height:84%}.phone[data-screen="table-info"] .row{min-height:32px}.phone[data-screen="table-info"] .sheet-body{padding:8px 18px 18px}
.sheet-footer{padding-bottom:max(18px,env(safe-area-inset-bottom));flex-shrink:0}.sheet-body{scroll-padding-bottom:16px}.phone .topbar{margin-top:env(safe-area-inset-top,0px)}
.insurance-pools{display:grid;gap:8px;margin:12px 0}.insurance-pools label{display:flex;align-items:center;gap:12px;min-height:62px;border:1px solid #37462f;border-radius:12px;padding:10px;background:#1c271a}.insurance-pools input{width:22px;height:22px;accent-color:#6cdf38}.insurance-pools small{display:block;color:#99ad8b;margin-top:5px;font-size:10px}
.pot-result{display:grid;gap:7px;padding:12px;background:#172719;border:1px solid #345130;border-radius:10px;font-size:12px}.pot-result small{font-size:10px;color:#9ab38e;margin-bottom:7px}
.list-end{text-align:center;color:#7f9274;font-size:11px;padding:16px 0}.decision-question{display:flex;gap:14px;border-bottom:1px solid #2a3a24;align-items:flex-start;padding:12px 0}.decision-question>span{font-size:19px;color:#77bc4a;font-variant-numeric:tabular-nums}.decision-question p{font-size:13px;line-height:1.7;margin:0}
.metric-unavailable span{font-size:26px}.metric-unavailable small{display:block;font-size:9px;color:#86967c;margin-top:4px}
.playing-card{position:relative;overflow:hidden}.court-art{position:absolute;width:58%;height:80%;right:3px;bottom:3px;object-fit:fill;z-index:0}.playing-card:has(.court-art){text-align:left}.playing-card:has(.court-art)>i{position:relative;z-index:1;left:0;font-size:.65em;width:12px}.art-cards{display:flex;gap:12px;justify-content:center}.art-cards .playing-card{width:72px;height:100px}.avatar-library{display:flex;gap:12px}.avatar-library img{width:58px;height:58px;border-radius:50%}
.flow-art{padding:18px 12px;background:radial-gradient(at 50% 20%,#285d2e99,#10200e);border:1px solid #344f28;border-radius:16px;margin:4px 0 14px;min-height:218px}.flow-kicker{font-size:9px;letter-spacing:3px;color:#a5c881}.flow-nodes{display:flex;align-items:center;justify-content:center;gap:4px;margin:22px 0}.flow-node{flex:1;text-align:center}.flow-symbol{width:54px;height:60px;border:1px solid #81b957;border-radius:12px;background:linear-gradient(140deg,#3e7c36,#17371f);box-shadow:inset 0 0 0 4px #2c502833;display:grid;place-items:center;font-size:27px;color:#bdeb99;margin:auto}.flow-node small{font-size:9px;color:#c4d7b2;display:block;margin-top:10px}.flow-arrow{color:#89ba5d;font-size:16px}.flow-cards{display:flex;align-items:center;justify-content:center;gap:4px}.flow-cards>span:last-child{font-size:10px;color:#a9c78e;margin-left:10px}.cut-diagram{display:flex;gap:5px;justify-content:center}.cut-diagram i{width:34px;height:42px;background:#243d21;display:grid;place-items:center;font-size:10px;font-style:normal;color:#a9c397;border-radius:5px}.cut-diagram .cut-start{background:#a0d963;color:#1c3612}.rules-table-diagram{border-radius:40px;border:5px solid #254934;background:radial-gradient(at center,#0e7657,#06432e);padding:18px 8px;margin:15px 0;text-align:center}.diagram-player{display:flex;align-items:center;justify-content:center;gap:14px;font-size:11px;color:#d6eacd}.diagram-board{margin:10px 0}.diagram-board small{font-size:9px;color:#acd29c}.rules-table-diagram p{font-size:10px;color:#d6ed95;margin:6px 0 0}
.phone .page-content{scroll-padding-bottom:30px}.phone .chat-input input{font-size:16px}.phone input,.phone textarea{max-width:100%}.phone textarea{resize:vertical;min-height:90px}
@media(max-width:359px){.phone{width:100%;height:640px}.v3-table{transform:scale(calc(var(--phone-width,320) / 360));transform-origin:top left;width:360px;height:640px}.quick-choices{grid-template-columns:repeat(5,minmax(44px,1fr));gap:6px}.phone .room{padding:10px;gap:6px}.room-main strong{font-size:12px!important}.occupancy{width:48px;height:48px}.room-side{min-width:60px}.phone .sheet-body{padding-left:14px;padding-right:14px}}
@media(max-width:620px){.prototype .phone:focus-within{max-height:min(640px,calc(var(--visible-height,100dvh) - 28px));min-height:300px}.phone:focus-within .page-content{padding-bottom:28px}}
@media(prefers-reduced-motion:reduce){.phone *{animation:none!important;scroll-behavior:auto!important}}
.v3-table .table-pot{top:241px;font-size:12px}.v3-table .table-pot strong{font-size:13px}.v3-table .table-pot span{font-size:8px}
.v3-table .seat.hero-seat:not(.s6) .seat-name{display:block}.v3-table .seat.hero-seat:not(.s6) .seat-avatar{width:42px;height:42px}
.phone .sheet-body .choice-grid:has([data-action="v3-buy-preset"]){grid-template-columns:repeat(3,1fr)}
.phone[data-screen="screen-club"] .page-content,.phone[data-screen="club-long"] .page-content,.phone[data-screen="club-short"] .page-content{padding-top:12px}
@media(max-width:359px){.phone .v3-table button{min-height:50px!important;min-width:50px!important}.v3-table .bet-presets button{flex:1}.v3-table .table-tools .icon-button{width:50px;height:50px}.v3-table .bet-bar{bottom:15px}.v3-table .bet-controls button{min-height:50px}.v3-table .my-hand{bottom:124px}.v3-table .table-tools,.v3-table.playable .table-tools{bottom:124px}}
.v3-table .table-pot{top:240px;line-height:12px}.v3-table .table-pot strong{padding:1px 8px;margin:0 auto 1px;line-height:17px}.v3-table .table-pot span{display:block;line-height:11px}
/* Lower seats place cards and action labels inward, away from tools and neighbouring seats. */
.v3-table .s7,.v3-table.playable .s7,.v3-table .s8,.v3-table.playable .s8{top:415px}
.v3-table .s7 .bubble{left:100%;top:5px;transform:none}.v3-table .s8 .bubble{left:auto;right:100%;top:5px;transform:none}
.v3-table .s7 .seat-cards{left:65px;right:auto;top:51px;transform:none}.v3-table .s8 .seat-cards{left:auto;right:65px;top:51px;transform:none}
.v3-table .table-caption{top:330px;line-height:1.4;font-size:9px}.v3-table .table-caption .hand-hint{font-size:12px;line-height:16px;margin:0 0 4px}
.v3-table .seat-name{line-height:10px;padding:2px 1px 1px}.v3-table .seat-stack{line-height:10px;padding:1px}
.v3-table .seat-cards{position:absolute;left:50%;top:68px;transform:translateX(-50%);width:max-content;height:18px;margin:0}
.v3-table .seat-cards .playing-card{width:14px!important;height:18px!important;line-height:6px;font-size:6px!important}.v3-table .seat-cards .playing-card i{font-size:7px!important}
/* Review-only flow boards, separate from product navigation. */
.flow-map{padding-bottom:20px}.flow-intro{font-size:14px;line-height:1.7;color:#b8c5b2}.flow-legend{display:flex;gap:14px;font-size:12px;margin:16px 0;color:#8fdf72}.flow-legend span:nth-child(2){color:#80c5ef}.flow-legend span:nth-child(3){color:#e1c67b}.flow-directory{display:grid;gap:8px}.flow-directory button{width:100%;text-align:left}.flow-section{border-top:1px solid #2c3828;margin-top:24px;padding-top:12px}.flow-section h3,.flow-rules h3{font-size:16px}.flow-chain{display:flex;flex-direction:column;gap:22px}.flow-node{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:12px;border:1px solid #4c7740;border-radius:10px;background:#182819;color:#e7f2e0;text-decoration:none;font-size:14px;box-sizing:border-box}.flow-node small{flex-shrink:0;color:#a7bd9d;font-size:11px}.flow-node.overlay{border-color:#416278;background:#15232c}.flow-node.state{border-color:#75663b;background:#28251a}.flow-node:not(:last-child):after{content:'↓';position:absolute;bottom:-21px;left:50%;color:#819477;line-height:20px}.flow-chain.parallel{gap:8px}.flow-chain.parallel .flow-node:after{display:none}.flow-node:focus-visible{outline:2px solid #83ee50;outline-offset:3px}.flow-section>p,.flow-rules p{font-size:13px;line-height:1.7;color:#b5c2ad}.flow-rules{margin:24px 0;padding:12px;border-radius:12px;background:#182016}.flow-rules b{font-size:13px;color:#d4e1ca}.flow-rules>div+div{border-top:1px solid #303c2b;padding-top:10px}
/* Keep the scaled background table inside the viewport beneath sheets. */
.phone .v3-table{overflow:clip}
.phone .row .value{min-width:0;overflow-wrap:anywhere}
@media(max-width:359px){.phone .v3-table{transform:none;zoom:calc(var(--phone-width,320) / 360)}}
