.rules-intro{max-width:40rem;color:var(--hw-text-dim);margin:0 0 1rem;font-size:1.05rem;line-height:1.6}.rules-tabs{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.rules-tab{border:1px solid var(--hw-line);border-radius:var(--hw-radius-control,10px);background:var(--hw-module);min-height:2.75rem;color:var(--hw-text-dim);letter-spacing:.02em;cursor:pointer;padding:.55rem 1rem;font-weight:700}.rules-tab:hover{color:var(--hw-text);border-color:var(--hw-line-strong,var(--hw-line))}.rules-tab[aria-selected=true]{color:var(--hw-text);border-color:var(--hw-cyan);box-shadow:inset 0 0 0 1px var(--hw-cyan)}.rules-tab:focus-visible{outline:2px solid var(--hw-amber);outline-offset:2px}.rules-panel{border:1px solid var(--hw-line);border-radius:var(--hw-radius-module,14px);background:var(--hw-lcd,transparent);padding:1rem 1.1rem}.rules-summary{color:var(--hw-text);margin:0 0 .75rem;font-size:1.1rem;font-weight:700}.rules-lines{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.rules-lines li{color:var(--hw-text-dim);line-height:1.5}.rules-lines li:first-child,.rules-lines li:last-child{color:var(--hw-text)}.rules-actions{justify-content:flex-end;margin-top:1.1rem;display:flex}.phase-hint{border-left:3px solid var(--hw-amber);background:var(--hw-module);color:var(--hw-text);border-radius:6px;margin:0 0 .6rem;padding:.45rem .8rem;font-size:clamp(.9rem,1.5vh,1.05rem);line-height:1.4}.hw-label.hw-mode-players{letter-spacing:.04em;white-space:nowrap}@media (max-width:640px){.rules-tab{flex:calc(50% - .5rem);padding:.5rem .6rem;font-size:.9rem}.rules-intro{font-size:.95rem}}.phase-hint.phase-hint-inline{white-space:normal;color:var(--hw-amber-hi,var(--hw-text));font-size:inherit;background:0 0;border:0;margin:0;padding:0;display:inline}.rules-actions[data-auto=true]{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem}.rules-dont-show{min-height:2.75rem;color:var(--hw-text-dim);cursor:pointer;align-items:center;gap:.55rem;font-size:.95rem;display:inline-flex}.rules-dont-show input{width:1.15rem;height:1.15rem;accent-color:var(--hw-cyan);cursor:pointer}.rules-dialog .rules-actions{background:var(--studio-surface,transparent);box-shadow:-1.6rem 0 0 var(--studio-surface,transparent), 1.6rem 0 0 var(--studio-surface,transparent);margin:1.1rem 0 -1.6rem;padding:.75rem 0 1.6rem;position:sticky;bottom:-1.6rem}
