.turn-example{max-width:760px}.turn-field{position:relative;max-width:620px;margin:auto;container-type:inline-size}.turn-field>img{display:block;width:100%;height:auto;border-radius:14px}.seat-caption{text-align:center;color:#f1c983;font-size:.85rem;margin:8px}.field-pile{position:absolute;display:flex;gap:1px;justify-content:center}.partner-starter{left:35%;top:2.5%;width:13%}.secured-kings{left:72%;top:73%;width:23%}.secured-run{left:72%;top:86%;width:23%}.example-card{box-sizing:border-box;background:#fff9ee;color:#111;border:1px solid #bdb7a9;border-radius:3px;display:flex;flex-direction:column;align-items:center;justify-content:space-around;width:5.4cqw;height:7.5cqw;flex-shrink:0;font-family:Georgia,serif;line-height:1}.example-card b{font-size:2.4cqw}.example-card>span{font-size:3cqw}.example-card.red{color:#b52635}.middle-piles{position:absolute;left:43%;top:45%;display:flex;gap:3cqw;align-items:center}.stock-pile>img{width:5.4cqw;height:7.5cqw;display:block}.turn-highlight{position:absolute;border:2px solid #fff1a7;border-radius:9px;box-shadow:0 0 0 3px #efd18b55;pointer-events:none}.example-hand{container-type:inline-size;margin:18px 0;border-top:1px solid #ffffff25;padding-top:12px}.example-hand>strong{font-size:.9rem}#turn-hand{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.example-hand .example-card{width:34px;height:47px}.example-hand .example-card b{font-size:13px}.example-hand .example-card>span{font-size:18px}.just-drawn{outline:2px solid #f1c983;outline-offset:2px;border-radius:3px}#turn-explanation{min-height:205px}#turn-explanation h2{margin-top:4px}.bonus-note{color:#f1c983}.turn-controls{display:flex;gap:12px;margin:15px 0}.turn-controls button{flex:1}.turn-example h1{font-size:clamp(1.6rem,5vw,2.3rem)}

/* Keep every move and its controls in one viewport. The field takes the remaining space. */
html:has(.turn-example),body:has(.turn-example){height:100%;overflow:hidden}
.turn-example{height:100dvh;max-width:760px;padding:max(8px,env(safe-area-inset-top)) 12px max(8px,env(safe-area-inset-bottom));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto auto;gap:6px;line-height:1.35}
.turn-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.turn-top a{font-size:14px;padding:5px 0}.turn-top h1{font:700 19px/1.2 system-ui;margin:0}
.turn-orientation{font-size:12px;text-align:center;color:#f1c983;margin:0}
.field-stage{min-height:0;min-width:0;container-type:size;display:grid;place-items:center}.turn-field{width:min(100cqw,100cqh);max-width:100%;aspect-ratio:1;margin:0}.turn-field>img{width:100%;height:100%}
.example-hand{margin:0;padding:4px 0 0}.example-hand>strong{font-size:12px}#turn-hand{flex-wrap:nowrap;gap:4px;margin:5px 0 2px}.hand-card{flex:0 1 30px;min-width:0}.example-hand .example-card{width:100%;height:auto;aspect-ratio:34/47}.example-hand .example-card b{font-size:12px}.example-hand .example-card>span{font-size:16px}
#turn-explanation{min-height:0;padding:6px 10px;background:#ffffff08;border-radius:8px}#turn-progress{margin:0;font-size:10px}#turn-explanation h2{font-size:17px;line-height:1.2;margin:3px 0 5px}#turn-text{font-size:14px;margin:0}#turn-bonus{font-size:13px;line-height:1.3;margin:5px 0 0;font-weight:600}
.turn-controls{margin:0;gap:10px}.turn-controls button{padding:8px 12px;min-height:44px}.turn-example>.note{font-size:11px;line-height:1.25;margin:0;text-align:center}
@media(orientation:landscape) and (max-height:600px){.turn-example{max-width:1080px;grid-template-columns:minmax(0,1fr) minmax(250px,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:6px 14px}.turn-top{grid-column:1/-1}.turn-orientation{grid-column:1;grid-row:2}.field-stage{grid-column:1;grid-row:3/6}.example-hand{grid-column:2;grid-row:2}#turn-explanation{grid-column:2;grid-row:3;align-self:center}.turn-controls{grid-column:2;grid-row:4}.turn-example>.note{grid-column:2;grid-row:5}}
