/* Appearance follows the section setting; card and emblem artwork stay original. */
body[data-lane=poker]{--poker-page:#090e18;--poker-surface:#111b2c;--poker-surface-raised:#1b293e;--poker-text:#f4eddb;--poker-muted:#c2ccdb;--poker-heading:#f6d995;--poker-edge:#b99b5e;--poker-field:#091321;background:var(--poker-page)}
body[data-lane=poker][data-theme=light]{--poker-page:#f4f5f7;--poker-surface:#fff;--poker-surface-raised:#edf1f6;--poker-text:#202c3d;--poker-muted:#46566c;--poker-heading:#674517;--poker-edge:#9b793f;--poker-field:#fff}
body[data-lane=poker][data-theme=sepia]{--poker-page:#eae0ce;--poker-surface:#f7efdf;--poker-surface-raised:#ecdfc7;--poker-text:#322719;--poker-muted:#5e4c36;--poker-heading:#68451c;--poker-edge:#987342;--poker-field:#fff8eb}
body[data-lane=poker][data-theme=dark]::before{background-image:linear-gradient(100deg,#18080ff5,#090e18f2 60%,#2b0b17ed),url('assets/poker-cover-current.webp')}
body[data-lane=poker]:is([data-theme=light],[data-theme=sepia])::before{background:var(--poker-page);opacity:1}
body[data-lane=poker] .op-poker{color:var(--poker-text);--op-muted:var(--poker-muted);--poker-gold:var(--poker-heading)}
body[data-lane=poker] .op-poker :is(h2,h3,h4){color:var(--poker-heading);text-shadow:none}
body[data-lane=poker] .op-poker :is(p,.op-fine,.op-lesson-subtitle,.op-section-heading>span,.op-review-label){color:var(--poker-muted)}
body[data-lane=poker] .op-poker :is(.op-panel,.op-lesson-page,.op-result,.op-feedback,.op-turn-controls,.op-showdown,.op-session-dashboard,.op-replay-bar,.op-stat-grid>div){background:var(--poker-surface-raised);color:var(--poker-text);border-color:var(--poker-edge)}
body[data-lane=poker] .op-poker .op-poker-hero{background:linear-gradient(120deg,var(--poker-surface-raised),var(--poker-surface));display:grid;grid-template-columns:95px minmax(0,1fr) 145px;gap:24px;align-items:center}
.op-poker-emblem{display:inline-block;position:relative;width:95px;aspect-ratio:450/383;overflow:hidden;clip-path:ellipse(50% 50% at 50% 50%);flex:none;filter:drop-shadow(0 4px 9px #0005)}
.op-poker-emblem>img{position:absolute!important;left:-7.5556%;top:-9.1384%;width:113.7778%!important;max-width:none!important;height:auto!important;object-fit:contain}
body[data-lane=poker] .op-poker-hero h2{font-size:clamp(31px,4vw,52px);line-height:1.06}
body[data-lane=poker] .op-poker-hero h2 em{color:var(--poker-heading)}
.op-cover-link{display:grid;gap:8px;text-align:center;text-decoration:none}.op-cover-link>img{display:block;width:100%;height:auto;border:1px solid #c1a66f;border-radius:5px;box-shadow:0 5px 15px #0006}.op-cover-link>span{font:700 9px/1.5 Manrope,Arial,sans-serif;letter-spacing:.08em;color:var(--poker-heading)}
body[data-lane=poker] .op-play-room{background:var(--poker-surface);padding:28px;border:1px solid var(--poker-edge);border-radius:26px}
.op-practice-notice{color:var(--poker-muted);margin:12px 0 22px;font-size:14px;line-height:1.6}.op-practice-notice summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0;color:var(--poker-heading);font-weight:700}.op-practice-notice p{margin:8px 0}
body[data-lane=poker] .op-live-mark{color:var(--poker-heading);border-color:var(--poker-edge)}
body[data-lane=poker] .op-poker :is(.eyebrow,.op-stat-grid strong,.op-action-log li span,.op-learning-route,.op-learning-route span,.op-lesson-number,.op-lesson-diagram b){color:var(--poker-heading)}
body[data-lane=poker] .op-poker :is(input,textarea,select){background:var(--poker-field);color:var(--poker-text);border-color:var(--poker-edge)}
body[data-lane=poker] .op-poker :is(input,textarea)::placeholder{color:var(--poker-muted);opacity:1}
body[data-lane=poker] .op-poker :is(.op-lesson-diagram span,.op-review-card summary,.op-poker-foot){color:var(--poker-muted)}
body[data-lane=poker] .op-poker .op-learning-route span{background:var(--poker-surface-raised)}
body[data-lane=poker] .op-poker #opPokerStatus{background:var(--poker-surface-raised);color:var(--poker-text)}
/* The green table remains a playing surface in every appearance. */
body[data-lane=poker] .op-play-intro{padding:28px 22px;background:radial-gradient(ellipse at 50% 30%,#194942,#071e29 75%)}
body[data-lane=poker] .op-poker .op-play-intro h3{color:#f6d995}
body[data-lane=poker] .op-poker .op-play-intro p{color:#d0dddf}
body[data-lane=poker] .op-play-intro .op-table-emblem{display:block;width:94px;aspect-ratio:450/383;height:auto;margin:0 auto;border:0;border-radius:0;background:none;box-shadow:none}
body[data-lane=poker] .op-poker .op-play-intro label{color:#f0dfb4}
body[data-lane=poker] .op-poker .op-play-felt :is(strong,b,small){color:#f2e8cf}
body[data-lane=poker] .op-poker .op-pot span{color:#f6d995}
body[data-lane=poker] .op-player-head span{color:#f3d28b}
body[data-lane=poker] .op-poker a:not(.op-cover-link){color:var(--poker-heading)}
body[data-lane=poker] .op-poker-foot{margin-top:26px}
/* The shared shortcut owns its decoration; no absolute medallion outside it. */
body .shared-workspace-entry>button{position:relative;min-height:60px;line-height:1.3!important;text-align:center;padding:15px 22px!important}
body .shared-workspace-entry>button:before{display:none!important}
body[data-lane=poker] .shared-workspace-entry>span{color:var(--poker-muted)}
body[data-lane=poker] #operatorFooter.app-footer{background:var(--poker-surface)!important;color:var(--poker-text);border-color:var(--poker-edge)}
body[data-lane=poker] #operatorFooter :is(.app-info-kicker,.footer-copyright){color:var(--poker-muted)!important;-webkit-text-fill-color:var(--poker-muted)!important}
body[data-lane=poker]:is([data-theme=light],[data-theme=sepia]) #operatorFooter :is(.footer-operator,.footer-publisher){background:var(--poker-surface-raised)!important;border:1px solid var(--poker-edge);padding:20px 15px;border-radius:18px}
body[data-lane=poker]:is([data-theme=light],[data-theme=sepia]) #operatorFooter .footer-brands small{color:var(--poker-text)!important;-webkit-text-fill-color:var(--poker-text)!important}
@media(max-width:600px){body[data-lane=poker] .op-poker .op-poker-hero{grid-template-columns:62px minmax(0,1fr);gap:15px;padding:24px 18px}.op-poker-hero .op-poker-emblem{width:62px;align-self:start;margin-top:26px}.op-cover-link{grid-column:1/-1;grid-template-columns:64px minmax(0,1fr);align-items:center;text-align:left;max-width:240px;gap:15px}.op-cover-link>span{font-size:11px;line-height:1.7}.op-cover-link>img{width:64px}.op-poker-hero .op-cover-link{margin-top:6px}body[data-lane=poker] .op-poker-hero h2{font-size:34px}body[data-lane=poker] .op-play-room{padding:20px 14px;border-radius:22px}body[data-lane=poker] .op-play-intro{padding:24px 16px}.op-play-intro .op-deal-controls{margin:16px auto}.op-play-intro>p{font-size:16px;line-height:1.6}.op-play-intro h3{margin:18px 0 12px}.op-practice-notice{font-size:13px}.op-poker .op-section-heading{gap:12px}.op-play-room .op-section-heading h3{font-size:30px;margin:10px 0}.op-play-room .op-section-heading p{font-size:15px;margin:10px 0}.op-play-room .op-live-mark{padding:8px 14px;margin:10px 0 0}.op-poker-nav{margin-bottom:4px;padding-top:18px;padding-bottom:18px}}
body[data-lane=poker] .op-poker :is(label,.op-stat-grid span,.op-lesson-diagram i){color:var(--poker-muted)}
body[data-lane=poker] #operatorFooter .footer-wayfinding>span{color:var(--poker-muted)!important;-webkit-text-fill-color:var(--poker-muted)!important}

/* Signature deck: original back artwork, never typeset OP stand-ins. */
body[data-lane=poker] .op-hidden-cards .op-card-back{display:block;width:clamp(34px,5.8vw,66px);aspect-ratio:5/7;padding:0;border:0;background:none;border-radius:8px;overflow:hidden;box-shadow:0 3px 6px #0008}
.op-card-back img{display:block;width:100%;height:100%;object-fit:contain}
.op-lane-signature{display:flex;justify-content:center;margin:12px 0 22px;padding:16px;background:linear-gradient(110deg,#140b13,#25101c,#0c111b);border:1px solid #b79558;border-radius:20px 6px;box-shadow:inset 0 0 0 4px #07090e,0 8px 22px #0004}
.op-lane-signature img{width:min(100%,360px);height:110px;object-fit:contain}
body[data-lane=poker] .op-poker button[data-op-mark]::before{background-image:url('assets/operator-poker-source.webp');background-size:113.78% auto;background-position:49% 45%;background-color:#110e0b;border-color:#e7c77c;box-shadow:0 2px 5px #0008}
body[data-lane=poker] .op-play-felt{background:radial-gradient(ellipse at 50% 40%,#205d4c,#0b322c 65%,#081c1c);border-color:#28191f;box-shadow:0 15px 30px #0008,inset 0 0 0 2px #d4ae66,inset 0 0 35px #0009}
body[data-lane=poker] .op-you .op-card{width:clamp(52px,11vw,116px)}
@media(max-width:560px){.op-lane-signature{padding:10px;margin:8px 0 16px}.op-lane-signature img{height:82px}.op-hidden-cards{gap:4px}body[data-lane=poker] .op-hidden-cards .op-card-back{width:clamp(27px,7.2vw,40px)}body[data-lane=poker] .op-you .op-card{width:calc((100vw - 135px)/4);max-width:96px}}

/* Game selector and six-card rows keep the Signature OP deck readable. */
.op-game-choice{margin:1rem 0;padding:1rem;border:1px solid #b99856;border-radius:12px;background:#121b25;color:#f5e8c9}.op-game-choice label{display:block;font-weight:700;margin-bottom:.5rem}.op-game-choice select{width:100%;max-width:32rem;min-height:46px;background:#0b121a;color:#fff;border:1px solid #b99856;border-radius:6px;padding:.65rem;font-size:1rem}.op-game-choice p{margin:.55rem 0 0}.op-game-note{font-size:.85rem;color:#d1c5ad}.op-card-row{min-width:0}.op-card-row>.op-card{flex-shrink:1;min-width:0}.op-hidden-cards{flex-wrap:nowrap;min-width:0}.op-card-back{min-width:0;flex-shrink:1}@media(max-width:480px){.op-card-row{gap:4px}.op-hole .op-card-row .op-card,.op-you .op-card-row .op-card{width:calc((100vw - 72px)/6);max-width:58px;height:auto;aspect-ratio:5/7}.op-hidden-cards .op-card-back{width:21px;height:auto;aspect-ratio:5/7}}

.op-poker .op-card-row[data-count="6"],.op-poker .op-card-row[data-count="5"]{flex-wrap:nowrap;gap:clamp(3px,1vw,8px)}
body[data-lane=poker] .op-poker .op-card-row[data-count="6"]>.op-card{width:calc((100% - 40px)/6);max-width:100px;min-width:0;flex:0 1 auto}
body[data-lane=poker] .op-poker[data-game="5"] .op-you .op-card-row>.op-card{width:calc((100% - 32px)/5);min-width:0;flex:0 1 auto}
body[data-lane=poker] .op-poker .op-hidden-cards>.op-card-back{flex:0 1 auto;min-width:0}

/* Approved book editions: consistent uncropped artwork, no horizontal slider. */
.op-books{max-width:1000px;margin:auto}.op-book-editions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.op-poker .op-book-edition{display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px;background:linear-gradient(150deg,#10233b,#081b21);border:2px solid #7b6a43;border-radius:16px;color:#fff;white-space:normal;height:auto}.op-book-edition img{width:100%;max-width:300px;height:auto;object-fit:contain;border-radius:4px}.op-book-edition strong{font-size:clamp(17px,2.3vw,24px);line-height:1.2;color:#ffdf8e}.op-book-edition span{font-size:15px;line-height:1.4}.op-poker .op-book-edition[aria-pressed=true],.op-poker .op-book-volumes button[aria-pressed=true]{border-color:#ffdb81;box-shadow:0 0 0 2px #d8b463}.op-book-volumes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.op-poker .op-book-volumes button{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:94px;height:auto;padding:14px;white-space:normal;line-height:1.35}.op-book-volumes span{font-size:14px}.op-book-detail h3{font-size:clamp(24px,4vw,36px)}.op-book-detail p{font-size:17px;line-height:1.6}.op-book-purchase{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;white-space:normal}.op-book-detail .op-fine{font-size:15px}@media(max-width:600px){.op-book-editions{gap:10px}.op-poker .op-book-edition{padding:8px}.op-book-volumes{grid-template-columns:repeat(2,minmax(0,1fr))}.op-book-edition span{font-size:14px}}@media(max-width:350px){.op-book-editions{grid-template-columns:1fr}}
/* Final approved EN/ES V2–7 front artwork: equal language access, no cover cropping. */
.op-book-languages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.op-book-languages button{min-width:0;min-height:60px;font-size:18px;white-space:normal}
.op-book-languages button[aria-pressed=true]{border-color:#ffdb81;box-shadow:0 0 0 2px #d8b463}
.op-book-set{margin-top:24px;min-width:0}
.op-book-set>img{display:block;width:100%;height:auto;object-fit:contain;margin:16px auto}
.op-book-set li{font-size:17px;line-height:1.6}
.op-book-editions{grid-template-columns:repeat(3,minmax(0,1fr))}
.op-book-edition{min-width:0;overflow-wrap:break-word}
@media(max-width:700px){.op-book-editions{grid-template-columns:1fr}.op-book-edition img{max-width:300px}.op-book-volumes{grid-template-columns:1fr}}
