.directory-filters,.seat-ticket,.replay-strip>div,.replay-strip label{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.directory-filters{padding:10px 20px 5px;justify-content:space-between}.directory-filters label{display:flex;align-items:center;gap:7px;flex:1;min-width:120px;border-bottom:2px solid #637170}.directory-filters label svg{width:18px;flex:none}.directory-filters input{min-width:0;width:100%;border:0;background:transparent;color:inherit;padding:8px 2px;font:inherit}
.seat-ticket{padding:10px 5%;background:#243538 url('/assets/stage/village.webp') center 55% / cover;color:white;text-shadow:0 1px 3px #15222c}.seat-ticket .room-join{margin-left:auto}
.directory-rows .room-join,.history-list .room-join,.replay-spread .rail-link{text-decoration:none}.watch-permission{display:flex;align-items:center;gap:.6rem;font-weight:700}.watch-permission[hidden]{display:none}
.room-ruleset{display:flex;align-items:baseline;flex-wrap:wrap;gap:.6rem 1rem;margin:10px 0 18px}.room-ruleset>b{color:#97461c}.match-rules{max-width:58ch;font-size:.94rem}.match-rules summary{font-weight:700;cursor:pointer}.match-rules ol{padding-left:1.4em;line-height:1.65}.match-rules a{color:inherit;font-weight:700}.admit-form .match-rules{margin:0}
.guided-actions{display:flex;gap:6px;flex-wrap:wrap}.guided-actions .button{display:grid;text-align:left;justify-content:start;line-height:1.3;min-height:40px}.guided-actions small{font-size:.82em;opacity:.87}.guided-instruction>p{line-height:1.6;margin:.45rem 0 1rem}.guided-instruction>h3{margin-bottom:.45rem}.recovery-code{font:700 1rem/1.6 monospace;width:100%;color:#1a272d;background:#f8edd6;padding:.6rem;margin:.6rem 0 1rem;border:2px solid #633e27}
.watch-field{position:relative;isolation:isolate;background:#273438 url('/assets/stage/valley.webp') center/cover;padding:clamp(14px,2vw,32px);display:grid;gap:12px;color:#f9f0d9}.watch-field:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(95deg,#192321e8,#1d282bba 65%,#26292fc9)}.watch-camp{display:grid;grid-template-columns:minmax(100px,17%) 1fr;gap:12px 20px;padding:.8rem;border-block:1px solid #d4ba8359;background:linear-gradient(105deg,#101c24b8,transparent)}.watch-camp>header{display:flex;align-items:center;gap:12px}.watch-camp header strong,.watch-camp header b{display:block;overflow-wrap:anywhere}.watch-camp header b{color:#ffb95c}
.watch-zones{display:grid;grid-template-columns:1fr 1fr;gap:15px}.watch-zone{border-bottom:1px solid #e4ce935e}.watch-zone>small{color:#f6cc88;font-weight:bold}.watch-zone>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:40px}.watch-piece{position:relative;display:inline-block;width:clamp(36px,4vw,60px)}.watch-piece button{display:block;background:none;border:0;padding:0;color:inherit}.watch-piece img{display:block;width:100%}.watch-piece.rested{transform:rotate(8deg);filter:brightness(.78)}.watch-piece small{position:absolute;right:0;bottom:0;background:#462b1a;color:white}.watch-camp footer{grid-column:1/-1;display:flex;align-items:baseline;gap:8px 16px;flex-wrap:wrap;font-size:14px}.watch-camp footer summary{cursor:pointer}.watch-status{display:flex;gap:1rem;align-items:baseline;flex-wrap:wrap;padding:.6rem 1rem;background:#f5dbaa;color:#2c2822;border-left:6px solid #d55b21}
.replay-strip,.history-list{background:#f2e7cf;color:#282b27;padding:clamp(14px,2vw,26px)}.replay-strip>div{margin-bottom:.7rem}.replay-strip button,.seat-ticket button,.history-list .room-join{border:0;border-bottom:3px solid #954c29;background:#273538;color:#fff5dc;font:inherit;font-weight:700;cursor:pointer;padding:.5em .9em;clip-path:polygon(0 7%,100% 0,98% 92%,2% 100%)}.replay-strip button:hover,.replay-strip [aria-pressed=true],.history-list .room-join:hover{background:#87411e}.replay-strip :disabled{opacity:.45;cursor:default}.replay-strip input{flex:1;accent-color:#9c4622;min-width:80px}.replay-strip label{font-weight:700}.history-list{margin:0;list-style:none}.history-list li{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:14px 0;border-bottom:1px solid #a08c6d}.history-list li>div{display:grid;gap:4px}.history-list strong{font-size:1.2rem}.history-spread>.battle-head>svg{width:56px;opacity:.65}.replay-spread .battle-head>.rail-link{align-self:center;color:inherit}
@media(max-width:650px){.directory-filters{padding-inline:12px}.watch-camp{grid-template-columns:1fr;gap:10px}.watch-camp header .watch-piece{width:40px}.watch-camp header>div{display:flex;align-items:center;gap:13px}.watch-field{padding:9px}.watch-camp footer{gap:6px 11px}.replay-strip>div{gap:5px}.replay-strip button{font-size:.88rem}.history-list li{align-items:flex-start}.watch-status{gap:.35rem}.watch-status>span{font-size:.9rem}}
.battle-tools .button.secondary{background:#f1e4c8;color:#263230}
.mobile-duel-action{display:none}
@media(max-width:920px){.mobile-duel-action{display:flex;align-items:center;justify-content:space-between;border:0;width:100%;padding:10px 20px;background:repeating-linear-gradient(115deg,#ffffff08 0 1px,transparent 1px 4px),#27383a;color:#ffcd8d;font:inherit;font-weight:700;text-align:left}.table-desk{scroll-margin-top:80px}}
.watch-piece.attacker,.watch-piece.target{outline:2px solid #f1ad4d;outline-offset:2px}.watch-piece.target{outline-color:#ff8274}
.revealed-print{display:inline-flex;align-items:center;gap:.5rem;background:#243638;color:#fff3d4;border:0;padding:4px 8px;font:inherit;cursor:pointer}.revealed-print .card-face{width:24px}
.replay-strip{background-image:repeating-linear-gradient(3deg,transparent 0 4px,#937a4520 4px 5px,transparent 5px 8px);border-block:3px solid #45504b}

.battle-mat .piece.attacker{outline:2px solid #ffbd64;outline-offset:2px}.battle-mat .piece.defender{outline:3px solid #ff8d72;outline-offset:2px}.attack-exchange{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;padding:.55rem .65rem;border-inline-start:4px solid #bc5827;background:#ead5ac;color:#342e24}.attack-exchange strong{font-size:.9rem}
