/* Poker edition: shared layout and controls, a separate casino table. */
.lf.poker{--ink:#181a20;--paper:#f2e6cd;--muted:#c5b7a7;--line:#ecd9b42a;--red:#ae3e42;--gold:#d1ac62;background:#201316;color:#f3e6cf}
.poker .world-art{background:radial-gradient(ellipse at 72% 28%,#70383b42,transparent 55%),repeating-linear-gradient(0deg,#ffffff01 0,#ffffff01 1px,transparent 1px,transparent 3px),repeating-linear-gradient(90deg,#00000008 0,#00000008 1px,transparent 1px,transparent 3px),linear-gradient(145deg,#382023,#241719 55%,#191416);opacity:1}
.poker .world-art:after{background:radial-gradient(ellipse at center,transparent 40%,#100d1270)}
.poker .site-header{border-bottom-color:#dfc69725}
.poker .home-link span,.poker .edition{color:#c2b39e}
.poker .edition i{background:#d1ac62}
.poker .eyebrow,.poker .overline{color:#bdae96}
.poker-seal{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid #c1a36b77;border-radius:50%;font:20px Georgia,serif;color:#e2c48b}
.poker .opening{min-height:700px;gap:35px}
.poker .opening h1{letter-spacing:-6px;font-size:clamp(86px,8.5vw,128px)}
.poker .opening h1 em{color:#dfc38a}
.poker .opening-line{font-size:26px}
.poker .opening-description{max-width:375px;color:#bdb0a0;font-size:13px;line-height:1.9}
.poker .opening .player-name-entry{margin-top:26px}
.poker .player-name__input{background:#160f12a1;border-color:#806251;color:#f0e2ca}
.poker .player-name__label,.poker .player-name__hint,.poker .small-note{color:#bfae99}
.poker .primary{background:#b64345;border-color:#c46158;color:#fff2d8}
.poker .primary:hover:not(:disabled){background:#ce5554}
.poker .quiet{color:#c8b9a5}
.poker .edition-link{display:inline-flex;gap:15px;font-size:11px;color:#d0bc9e;margin-top:8px;border-bottom:1px solid #b19b7140;padding-bottom:5px}
.poker .edition-link:hover{color:#f5d99e}
.poker .opening-exhibit{height:570px}
.table-oval{position:absolute;inset:35px -12px 70px;border:1px solid #c3a36726;border-radius:50%;transform:rotate(-16deg)}
.table-oval:before{content:'';position:absolute;inset:14px;border:1px solid #c3a36716;border-radius:50%}
.table-oval>span{position:absolute;bottom:26px;left:20%;width:60%;font:8px/1.5 var(--mono);letter-spacing:2px;text-align:center;color:#ad936343}
.poker .exhibit-card{padding:0;background:#f2e6cd;border-color:#c7bca4;border-radius:10px;width:235px;height:336px;box-shadow:0 20px 30px #09060955;overflow:hidden}
.poker .poker-back{top:33px;right:10px;transform:rotate(19deg);background:#f0e5cc;padding:11px;justify-content:stretch}
.back-ornament{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#e4c893;border:2px solid #eedbb5;border-radius:4px;background:repeating-linear-gradient(45deg,transparent 0,transparent 9px,#dbc18d40 9px,#dbc18d40 10px,transparent 10px,transparent 19px),repeating-linear-gradient(-45deg,#6c2933 0,#6c2933 9px,#dbc18d40 9px,#dbc18d40 10px,#6c2933 10px,#6c2933 19px)}
.back-ornament:before{content:'';position:absolute;inset:7px;border:1px solid #e0c089a0;border-radius:2px}
.back-ornament span{border:1px solid #dbc087;border-radius:50%;font:italic 33px Georgia,serif;background:#6c2933;width:82px;height:82px;display:flex;align-items:center;justify-content:center}
.back-ornament small{background:#6c2933;font:8px var(--mono);letter-spacing:2px;padding:5px}
.poker .poker-king{left:10%;top:100px;transform:rotate(-12deg);z-index:2}
.poker .poker-ace{right:12%;top:115px;transform:rotate(7deg);z-index:1}
.exhibit-corner{position:absolute;left:13px;top:12px;font:30px/1 Georgia,serif;font-weight:700;display:flex;flex-direction:column;gap:4px;text-align:center;color:#20212a}
.exhibit-corner small{font:24px/1 Georgia,serif}
.exhibit-corner.bottom{top:auto;left:auto;bottom:12px;right:13px;transform:rotate(180deg)}
.poker-ace .exhibit-corner,.exhibit-ace-pip{color:#b43c3e}
.exhibit-ace-pip{font:100px/1 Georgia,serif;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.court-art{display:block;aspect-ratio:1;background:url('./art/court-atlas.png') var(--art-x,0%) var(--art-y,0%)/300% 100% no-repeat;mix-blend-mode:multiply}
.poker-king .court-art{position:absolute;left:17%;top:22%;width:66%;border-top:1px solid #bfae8466;border-bottom:1px solid #bfae8466;padding:3px 0}
.court-caption{position:absolute;bottom:47px;left:15%;width:70%;font:6px var(--mono);letter-spacing:1.1px;text-align:center;color:#66604e}
.poker .floating-rule{right:-5px;bottom:81px;z-index:3;transform:rotate(3deg);gap:5px}
.poker .floating-rule span{padding:18px 22px;border-top:0;border-bottom:3px solid #a29377;font:700 15px Georgia,serif;letter-spacing:1px;border-radius:2px;background:#f0e3c6;color:#24232a}
.poker .floating-rule .rule-verb{background:#283036;border-bottom-color:#151a21;color:#f0d9ab}
.poker .exhibit-caption{bottom:8px;right:0;color:#c2ae8d}
.poker-chips{position:absolute;left:5px;bottom:72px;z-index:3;display:flex;gap:0;transform:rotate(-17deg)}
.casino-chip{width:64px;height:64px;border-radius:50%;display:flex;justify-content:center;align-items:center;font:italic 24px Georgia,serif;border:6px dashed #dbcbb0;outline:1px solid #281a1c;box-shadow:0 4px 0 #381e26,0 8px 0 #231920;position:relative}
.casino-chip:after{content:'';position:absolute;inset:4px;border:1px solid currentColor;border-radius:50%;opacity:.7}
.chip-red{background:#8f303b;color:#ecd9b3}
.chip-ivory{background:#e7d9b6;color:#343038;margin:13px 0 0 -8px;border-color:#4a4343}
.table-edition{font:8px var(--mono);letter-spacing:2px;color:#ba9b65;margin-left:17px;vertical-align:middle;border:1px solid #aa895647;padding:5px 7px}
.poker .run-strip{background:#171218a3;border-color:#c8ad7842}
.poker .resource strong{color:#e6c787}
.poker .table-layout{gap:24px}
.poker .rule-grid{background:#160f14ab;border-color:#b58f504f;border-radius:5px}
.poker .tile{background:linear-gradient(180deg,#f1e5cb,#daccae);color:#24252a;border-color:#a39478;border-radius:3px;min-height:77px}
.poker .tile:before{width:3px;height:3px;border:0;border-radius:50%;background:#857252;transform:none;top:6px;left:6px}
.poker .tile.verb{background:linear-gradient(#31343c,#21232a);color:#f5dcab;border-color:#756858}
.poker .tile.verb:before{background:#cfa56b}
.poker .tile.verb:hover:not(:disabled){background:#40434b;color:#ffe7b7}
.poker .tile.numeric{background:linear-gradient(#d7b870,#b9934e);color:#38281a;border-color:#ad8850}
.poker .tile.operator{background:#722e37;color:#f6d4bc;border-color:#ac6b64}
.poker .tile.empty{border-color:#b3986c35;background:#bb977e03}
.poker .tile.empty:hover:not(:disabled){background:#b59a7820}
.poker .tile.dormant{filter:brightness(.68)}
.poker .tile.live{filter:none}
.poker .tile.selected{outline-color:#f1cc82}
.poker .tile-type{color:inherit}
.poker .tile-coordinate{color:inherit}
.poker .panel-note,.poker .push-toolbar>span{color:#c5b39e}
.poker .panel-heading>span{border-color:#b2945d50;color:#d4b77d}
.poker .move-hint,.poker .schedule-description{color:#d9c299}
.poker .sentence{background:#dabd8510;border-color:#b69b7133;color:#d9caa9}
.poker .sentence:before{color:#c8b172}
.poker .sentence.dead:before{color:#cb7272}
.poker .score-panel{background:#d7c29909;border-color:#c2a56940}
.poker .score-equation div:first-child strong{color:#a7c3ce}
.poker .score-equation div:last-child strong{color:#e18b83}
.poker .gathering-name,.poker .score-total strong{color:#e7c888}
.poker .score-events,.poker .score-event small{color:#bbad9b}
.poker .score-event span{color:#d5cbb7}
.poker .schedule-row{color:#c8bba7}
.poker .schedule-row strong{color:#c2ae86}
.poker .schedule-foot{color:#b39e80}
.poker .hand-section{border-top-color:#b2936345;margin-top:27px}
.poker .hand-heading>p,.poker .hand-actions>p{color:#c2b29b}
.poker .hand{gap:12px;padding-top:30px}
.poker .playing-card.poker-card{background:#f3e7ce;border-color:#ccbd9f;color:var(--realm);border-radius:7px;padding:5px;aspect-ratio:.69;display:block;min-width:0;overflow:visible}
.poker .playing-card.poker-card:hover:not(:disabled){background:#fff2d7}
.poker .poker-card.chosen{outline-color:#e0b36b}
.poker .poker-card.chosen:after{background:#ac3840;border:1px solid #e2b677}
.poker-card .card-corner{position:absolute;top:6px;left:7px;font:700 21px/.95 Georgia,serif;color:var(--realm);gap:2px;align-items:center;z-index:1}
.poker-card .corner-suit{font:16px/1 Georgia,serif}
.poker-card .corner-bottom{top:auto;left:auto;right:7px;bottom:24px;transform:rotate(180deg)}
.poker-card .court-art{position:absolute;top:24%;left:16%;width:68%;border:1px solid #b29e764f;border-radius:1px}
.poker-card .card-pips{position:absolute;left:25%;top:21%;width:50%;height:58%;color:var(--realm)}
.poker-card .pip{position:absolute;left:var(--pip-x);top:var(--pip-y);transform:translate(-50%,-50%);font:clamp(15px,2.1vw,27px)/1 Georgia,serif}
.poker-card .pip.inverted{transform:translate(-50%,-50%) rotate(180deg)}
.poker-card.ace-card .pip{font-size:clamp(35px,4.7vw,60px)}
.poker-card .card-label{position:absolute;left:0;bottom:8px;width:100%;font:6px/1.2 var(--mono);letter-spacing:.8px;color:#5c5043;text-align:center;margin:0}
.poker-card .card-realm{display:none}
.poker-card .held-score{color:#e4c17e;bottom:-17px;font-size:7px}
.poker .secondary{border-color:#b3916259;color:#dfcaaa}
.poker .secondary:hover:not(:disabled){background:#d5b57216}
.poker .boss-message{background:#ab3e3d20;border-left-color:#d1785e;color:#f0c2ab}
.poker .offer{background:#a5825310;border-color:#b38c5240}
.poker .offer p,.poker .reserve-heading span,.poker .reserve>p{color:#c3b096}
.poker .lf-dialog{background:#271b20;border-color:#ad8c5d;color:#f0e0c4}
.poker .lf-dialog::backdrop{background:#100d13df}
.poker .help-steps,.poker .verb-guide p,.poker .bestiary-item p{color:#c4b29b}
.poker .help-steps strong{color:#e9c484}
.poker .verb-guide strong{color:#dfb36f}
.poker .bestiary{grid-template-columns:repeat(4,1fr);gap:22px 16px}
.poker .bestiary-item .court-art{background-color:#f2e6cd;mix-blend-mode:normal;border-radius:4px;aspect-ratio:1}
.rank-guide-label{height:76px;display:flex;align-items:center;justify-content:center;font:44px Georgia,serif;color:#e7c48a;border:1px solid #ba996147;border-radius:3px;background:#c6a3640a}
.poker .bestiary-item h3{font-size:19px}
.poker .results-dialog{background:#271b20;color:#f0e0c4;border-color:#ad8c5d}
.poker .results-dialog .results-summary{color:#c7b399}
.poker .results-dialog button,.poker .results-reopen{background:#a93e44;border-color:#c97e6b;color:#fff0d1}
.poker .results-dialog th{color:#c7b699}
.poker .game-footer{border-top-color:#b4976540;color:#a68e72}
@media(min-width:1500px){.poker .opening{min-height:790px}.poker .opening-exhibit{height:620px}.poker .exhibit-card{width:265px;height:380px}.poker .poker-king{top:100px}.poker .floating-rule{bottom:85px}}
@media(max-width:1150px){.poker .opening{gap:20px}.poker .opening-exhibit{height:520px}.poker .exhibit-card{width:205px;height:300px}.poker .poker-king{left:4%;top:106px}.poker .poker-ace{right:8%;top:120px}.poker .table-layout{gap:18px}.poker .hand{gap:9px}.poker .exhibit-caption{font-size:13px}}
@media(max-width:900px){.poker .opening h1{font-size:95px}.poker .opening-line{font-size:22px}.poker .opening-exhibit{height:450px}.poker .exhibit-card{width:165px;height:247px}.poker .poker-king{left:0;top:103px}.poker .poker-ace{right:8%;top:122px}.poker .poker-back{right:0;top:56px}.exhibit-corner{font-size:24px;left:9px;top:9px}.exhibit-corner small{font-size:18px}.exhibit-corner.bottom{right:9px;bottom:9px}.court-caption{font-size:5px;bottom:34px}.poker .floating-rule{bottom:34px;right:0}.poker .floating-rule span{font-size:12px;padding:16px}.poker-chips{bottom:35px;left:-10px}.casino-chip{width:50px;height:50px;font-size:19px;border-width:5px}.poker .hand{gap:7px}.poker-card .card-corner{font-size:17px;left:5px}.poker-card .corner-suit{font-size:13px}.poker-card .corner-bottom{right:5px;bottom:18px}.poker-card .card-label{font-size:5px;letter-spacing:0;bottom:6px}.poker-card .pip{font-size:17px}.poker .table-edition{display:none}}
@media(max-width:650px){.poker .opening{min-height:0;gap:0}.poker .opening h1{font-size:91px;letter-spacing:-5px}.poker .eyebrow{font-size:8px;letter-spacing:1.2px;gap:9px}.poker .opening-description{font-size:12px;max-width:315px}.poker .opening-exhibit{height:315px;margin-top:30px}.poker .exhibit-card{width:164px;height:231px;border-radius:7px}.poker .poker-king{left:10%;top:24px}.poker .poker-ace{right:12%;top:44px}.poker .poker-back{right:3%;top:0}.poker .table-oval{inset:-10px -10px 10px}.table-oval>span{display:none}.poker .floating-rule{bottom:6px;right:0}.poker .floating-rule span{font-size:11px;padding:14px 20px}.poker-chips{left:4px;bottom:16px}.casino-chip{width:47px;height:47px;font-size:19px}.poker .poker-king .court-art{top:23%}.exhibit-ace-pip{font-size:70px}.poker .match-heading h1{font-size:31px}.poker .table-layout{gap:22px}.poker .tile,.poker .tile.empty{min-height:67px}.poker .hand{gap:24px 8px;padding-top:25px}.poker .playing-card.poker-card{aspect-ratio:.68;padding:4px}.poker-card .card-corner{font-size:17px;top:5px;left:5px;gap:1px}.poker-card .corner-suit{font-size:12px}.poker-card .corner-bottom{right:5px;bottom:18px;top:auto;left:auto}.poker-card .pip{font-size:18px}.poker-card.ace-card .pip{font-size:36px}.poker-card .card-label{font-size:5px;bottom:5px}.poker .bestiary{grid-template-columns:repeat(3,1fr);gap:18px 10px}.poker .bestiary-item h3{font-size:16px}.rank-guide-label{height:58px;font-size:34px}.poker .exhibit-caption{display:none}}
/* Scale markings with each card so dense ranks stay separated on small phones. */
.poker .playing-card.poker-card{container-type:inline-size}
.poker-card .card-pips{left:22%;width:56%}
.poker-card .pip{font-size:clamp(9px,16cqw,24px)}
.poker-card.ace-card .pip{font-size:clamp(28px,54cqw,62px)}
.poker-card .card-corner{font-size:clamp(12px,17cqw,23px)}
.poker-card .corner-suit{font-size:clamp(9px,12cqw,16px)}
@media(max-width:350px){.poker .hand{grid-template-columns:repeat(3,minmax(0,1fr))}}
