/* Swappable visual theme; no requests, permission decisions or game rules. */
[data-theme="editorial"] {
 --canvas: #faf7f2;
 --ink: #0b0b0b;
 --muted: #58534e;
 --accent: #ee5500;
 --mark-x: var(--accent);
 --mark-o: #087f82;
 --target-o-surface: #ddf3ef;
 --grid-strong: var(--ink);
 --grid-fine: #86817c;
 --cell-surface: var(--canvas);
 --target-surface: #fff0db;
 --target-waiting-surface: #e9e7e2;
 --target-waiting-accent: #756d64;
 --focus-color: var(--ink);
 --focus-width: 3px;
 --font-body: Arial,"Helvetica Neue",sans-serif;
 --font-display: "Arial Black","Helvetica Neue",Arial,sans-serif;
 --font-display-weight: 900;
 --space-page: clamp(8px,3vw,20px);
 --space-small: clamp(8px,2vw,12px);
 --space-medium: clamp(12px,3vw,22px);
 --shell-width: 620px;
 --outer-rule: clamp(3px,.75vw,6px);
 --macro-rule: clamp(3px,.75vw,6px);
 --cell-rule: 1px;
 --mark-stroke: 13;
 --winner-stroke: 14;
 --mark-cap: butt;
 --cell-mark-size: 96%;
 --winner-mark-size: 112%;
 --closed-mark-opacity: .14;
 --winning-line-width: clamp(4px,.8vw,7px);
}
[data-theme="editorial"] .game-board {
 --target-accent: var(--accent);
 --target-corners: linear-gradient(var(--target-accent),var(--target-accent)) left top / 16% 5px no-repeat,
 linear-gradient(var(--target-accent),var(--target-accent)) left top / 5px 16% no-repeat,
 linear-gradient(var(--target-accent),var(--target-accent)) right top / 16% 5px no-repeat,
 linear-gradient(var(--target-accent),var(--target-accent)) right top / 5px 16% no-repeat,
 linear-gradient(var(--target-accent),var(--target-accent)) left bottom / 16% 5px no-repeat,
 linear-gradient(var(--target-accent),var(--target-accent)) left bottom / 5px 16% no-repeat,
 linear-gradient(var(--target-accent),var(--target-accent)) right bottom / 16% 5px no-repeat,
 linear-gradient(var(--target-accent),var(--target-accent)) right bottom / 5px 16% no-repeat;
}
[data-theme="editorial"] .game-board[data-turn="opponent"],
[data-theme="editorial"] .game-board[data-turn="spectator"] {
 --target-surface: var(--target-waiting-surface);
 --target-accent: var(--target-waiting-accent);
}
[data-theme="editorial"] .game-board[data-turn="own"][data-role="o"] {
 --target-accent: var(--mark-o);
 --target-surface: var(--target-o-surface);
}
[data-theme="editorial"] .local-board[data-legal="true"] .board-cell { background: var(--target-surface); }
[data-theme="editorial"] .board-cell[data-last="true"] .cell-symbol::after { content: ""; position: absolute; inset: 16%; box-shadow: inset 0 0 0 1px var(--grid-fine); pointer-events: none; }
[data-theme="editorial"] .local-board:not([data-outcome="open"]) .board-cell[data-last="true"] .cell-symbol::after { display: none; }
[data-theme="editorial"] .board-cell[aria-disabled="false"]:hover { box-shadow: inset 0 0 0 2px var(--ink); }
[data-theme="editorial"] {
 --brand-size: clamp(51.2px,15.2vw,92.8px);
 --brand-short-size: clamp(38.4px,9.6vw,51.2px);
 --brand-leading: .83;
 --brand-tracking: -.075em;
 --tagline-size: clamp(9px,2.6vw,14px);
 --tagline-short-size: 9px;
 --player-size: clamp(17px,5.3vw,30px);
 --status-size: clamp(19px,5vw,30px);
 --hint-size: clamp(13px,3.3vw,19px);
 --shell-wide-width: 920px;
}
[data-theme="editorial"] .turn-label[data-emphasis="action"] { padding: .2em .35em; background: var(--accent); color: var(--ink); }
[data-theme="editorial"][data-viewer="o"] .turn-label[data-emphasis="action"] { background: var(--mark-o); color: var(--canvas); }
[data-theme="editorial"] .turn-label[data-emphasis="turn"] { padding: .2em 0; }
[data-theme="editorial"] .turn-label[data-emphasis="basic"] { font-size: 18px; text-transform: none; font-weight: 700; }
[data-theme="editorial"][data-phase="finished"] .turn-label[data-emphasis="basic"] { font-size: var(--status-size); font-weight: 900; }
[data-theme="editorial"] .rules-trigger { font-size: clamp(16px,4vw,22px); }
[data-theme="editorial"] .game-board[data-locked="true"] .board-cell[aria-disabled="true"] { cursor: default; }
