/* Captions occupy their own row. Card artwork never covers teaching text. */
.card-flow{display:flex;position:relative;isolation:isolate;flex-direction:column;align-items:stretch;gap:0;min-width:0;margin:0;overflow:visible}
.card-flow-cards{position:relative;z-index:0;display:flex;align-items:center;justify-content:center;min-width:0;flex:none}
.card-flow .card-flow-cards>img{position:static;inset:auto;transform:none;display:block;height:auto;aspect-ratio:821/1112;object-fit:contain;flex-shrink:1;align-self:center;z-index:auto}
.card-flow>figcaption{position:relative;inset:auto;transform:none;float:none;clear:both;display:block;z-index:1;flex:none;max-width:100%;margin:16px 0 0;padding:0;overflow-wrap:anywhere;font-size:1rem;line-height:1.5;color:#c9d5d5;text-shadow:none;mix-blend-mode:normal}
.turn-example{min-width:0;overflow:visible}.turn-example h3{position:static;margin-top:0}.turn-example .card-flow{height:auto}.turn-examples{grid-template-columns:repeat(2,minmax(0,1fr))}.turn-example.grey-turn{border-color:#b5b8ba}.turn-example.grey-turn .card-flow img{width:100px;max-width:27%}
.grey-switch-example{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:30px;align-items:center;padding:28px;margin-top:22px;border:1px solid #465257;background:#101617}.grey-switch-example h3,.recipient-case h3,.firewall-outcome h3{font:800 1.8rem/1.1 var(--heading);text-transform:uppercase;margin:0 0 16px;color:#f0f2ed}.grey-switch-example p{font-size:1rem;line-height:1.55;color:var(--muted);margin:0}.grey-switch-example .card-flow img{width:106px;max-width:26%}
.attack-definition{font-size:1rem;line-height:1.5;color:var(--muted);margin:20px 0}.attack-definition strong{color:var(--white)}.attack-target-cases{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.recipient-case{padding:26px;border:1px solid #354448;background:#0d1416;min-width:0}.firewall-case{border-top:3px solid #aa86c3}.penalty-card-path{display:flex;align-items:center;gap:22px;min-height:170px}.penalty-card-path img{width:90px;height:auto;flex:none}.penalty-card-path p{font-size:1rem;line-height:1.5;color:var(--muted);margin:0}.penalty-card-path strong{color:var(--white)}
.turn-order-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;position:relative;margin-top:20px}.turn-seat{position:relative;display:flex;flex-direction:column;gap:9px;align-items:center;padding:12px 5px;background:#131e22;border:1px solid #354b51;text-align:center;min-width:0}.turn-seat:not(:last-child)::after{content:'›';position:absolute;right:-9px;top:42%;color:#b5c4c7;background:#0d1416;z-index:1;font-size:20px;line-height:1}.seat-name{font-weight:700;font-size:.8rem;letter-spacing:.03em;color:#bfcfd0}.seat-count{display:flex;align-items:baseline;justify-content:center;gap:4px;min-height:30px;color:#f2f3ee;font:800 1.9rem/1 var(--heading)}.seat-count:empty{visibility:hidden}.seat-count small{font:400 .72rem Arimo,Arial,sans-serif;color:#a9b7bb}.seat-result{font-size:.8rem;line-height:1.4;color:#c5d2d3}.turn-seat.hit{border-color:var(--orange)}.turn-seat.next-active{border-color:var(--teal)}.turn-seat.exposed .seat-count{color:#cfacdf}.turn-seat.attacker .seat-count small,.turn-seat.next-active .seat-count small{display:none}.skip-rule{padding:18px 20px;border-left:3px solid var(--orange);font-size:1rem;line-height:1.6;margin:22px 0;color:var(--muted)}.skip-rule strong{color:var(--white)}.continuing-attacks{display:flex;align-items:center;justify-content:center;gap:25px;padding:24px;background:#101718;border:1px solid #314247;margin-top:22px}.continuing-art{display:flex;gap:13px;flex:none}.continuing-art img{width:75px;height:auto}.continuing-attacks p{font-size:1rem;line-height:1.5;color:var(--muted);margin:0}.continuing-attacks strong{color:var(--white)}.continuing-attacks a,.firewall-reminder a{color:var(--teal);text-decoration:underline;text-underline-offset:4px}
.firewall-entry{display:flex;justify-content:center;align-items:center;gap:30px;padding:28px;background:#101618;border:1px solid #45545a}.firewall-last-card{display:grid;justify-items:center;gap:12px;flex:none}.firewall-last-card img{width:115px;height:auto}.firewall-last-card span{font-size:.875rem;color:var(--muted)}.firewall-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:150px;min-height:190px;border:2px solid var(--purple);padding:15px;flex:none}.firewall-empty>strong{font:800 6rem/.9 var(--heading);color:#c0a1d1}.firewall-empty>span{font-size:.875rem;color:var(--muted);margin-top:10px}.firewall-empty>b{font-size:.75rem;letter-spacing:.04em;color:#d0b5dd;margin-top:15px}.firewall-entry-copy{max-width:26ch}.firewall-entry-copy p{font-size:1rem;line-height:1.6;color:var(--muted);margin:0 0 12px}.firewall-entry-copy strong{color:var(--white)}.firewall-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.firewall-outcome{padding:24px 20px;border:1px solid #3c4e53;background:#0c1315;min-width:0}.firewall-outcome h3{font-size:1.6rem;min-height:2.25em}.firewall-outcome .card-flow-cards{min-height:175px}.firewall-outcome .card-flow img{width:105px;max-width:40%}.firewall-outcome>p{font-size:1rem;line-height:1.5;color:var(--muted);margin:20px 0 0}.firewall-outcome>p strong{display:block;color:var(--white);margin-bottom:5px}.survive-outcome{border-top:3px solid var(--teal)}.hit-outcome{border-top:3px solid var(--orange)}.null-outcome{border-top:3px solid var(--purple)}.survive-cycle{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;justify-items:center;min-height:215px;padding:15px 0}.cycle-rival{font-size:.8rem;padding:8px;border:1px solid #3c5157;color:#c4d3d5}.survive-cycle>strong{grid-column:1/-1;display:grid;justify-items:center;color:var(--teal);font:800 5rem/.9 var(--heading);gap:12px}.survive-cycle small{font:700 .8rem/1.2 Arimo,Arial,sans-serif;letter-spacing:.03em}.firewall-reminder{font-size:1rem;line-height:1.5;color:var(--muted);margin:22px 0 0}
@media(max-width:900px){.firewall-outcomes{grid-template-columns:1fr}.firewall-outcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:0 25px;align-items:center}.firewall-outcome h3{grid-column:1/-1;min-height:0;margin-bottom:18px;font-size:1.8rem}.firewall-outcome .card-flow-cards{min-height:155px}.firewall-outcome>p{margin:0}.firewall-outcome .survive-cycle{min-height:180px}.recipient-case{padding:22px 18px}.penalty-card-path{gap:15px}.penalty-card-path img{width:72px}.attack-target-cases{gap:16px}.turn-seat{padding-inline:3px}.seat-name{font-size:.72rem}.seat-result{font-size:.75rem}}
@media(max-width:700px){.turn-examples{grid-template-columns:1fr}.turn-example{display:block;padding:20px}.turn-example h3{font-size:1.8rem;margin-bottom:18px}.turn-example .card-flow img{width:110px;max-width:39%}.turn-example.grey-turn .card-flow img{width:85px;max-width:26%}.turn-example .card-flow>figcaption,.card-flow>figcaption{font-size:1rem;line-height:1.5;margin-top:16px}.grey-switch-example{grid-template-columns:1fr;gap:23px;padding:23px 18px}.grey-switch-example .card-flow img{width:85px}.attack-target-cases{grid-template-columns:1fr}.recipient-case h3{font-size:1.8rem}.penalty-card-path{gap:20px;min-height:150px}.penalty-card-path img{width:85px}.turn-seat{padding:13px 6px}.seat-name{font-size:.8rem}.seat-result{font-size:.8rem}.seat-count{font-size:2rem}.continuing-attacks{gap:18px;padding:22px 17px}.continuing-art{gap:7px}.continuing-art img{width:49px}.firewall-entry{flex-wrap:wrap;gap:18px;padding:24px 16px}.firewall-last-card img{width:97px}.firewall-last-card span{font-size:.75rem}.firewall-empty{min-width:115px;min-height:150px;padding:12px}.firewall-empty>strong{font-size:5rem}.firewall-empty>b{font-size:.625rem}.firewall-entry-copy{max-width:none;width:100%;text-align:center;margin-top:6px}.firewall-entry-copy p{margin-bottom:5px}.firewall-outcome{display:block;padding:23px 19px}.firewall-outcome h3{font-size:1.9rem;margin-bottom:20px}.firewall-outcome .card-flow-cards{min-height:180px}.firewall-outcome .card-flow img{width:120px;max-width:39%}.firewall-outcome>p{margin-top:20px}.survive-cycle{min-height:205px!important}.cycle-rival{font-size:1rem}.firewall-outcome .card-flow>figcaption{font-size:.875rem}.grey-switch-example h3{font-size:1.9rem}.skip-rule{padding-inline:16px}}

/* Teaching text stays above flying cards and Dock effects. */
.wb-game-app .arena #fly-layer{z-index:190!important}.wb-game-app .arena #dock-effects{z-index:180!important}.wb-game-app .arena #move-explainer{z-index:220}
