.pixel-room{--pixel-ink:#293f42;--pixel-paper:#fffdf3;--pixel-line:#acb7af;--pixel-filled:#284b50;width:min(100%,1160px);margin-inline:auto;text-align:left;color:var(--pixel-ink)}
.game-shell .play .pixel-room .session-banner{margin:0 0 24px;text-align:left;max-width:none}
.game-shell .play .pixel-room .session-banner>:is(h2,.meta){max-width:none;margin-inline:0;text-align:left}
.game-shell .play .pixel-room p{max-width:none;text-align:left;margin-inline:0;line-height:1.65;color:#657374}
.pixel-room h3{margin:0 0 10px;font-size:1rem}
.pixel-room button{font:inherit;touch-action:manipulation}
.pixel-room .button{min-height:44px;font-size:.92rem}
.pixel-room button:focus-visible{outline:3px solid #3a8c83;outline-offset:3px;z-index:2}
.pixel-room .button:disabled{opacity:.4;cursor:default;transform:none}
.game-shell .play .pixel-room .actions{justify-content:flex-start;gap:9px;margin:17px 0 0}
.pixel-desk{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(265px,.8fr);gap:clamp(25px,4vw,65px);align-items:start}
.pixel-puzzle{min-width:0}
.pixel-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:13px}
.pixel-tools>.button{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 15px}
.pixel-tools>.button[aria-pressed=true]{border-color:#3e7467;background:#e8f1e9;color:#284b44;box-shadow:inset 0 0 0 1px #3e7467}
.pixel-tools kbd{font:inherit;font-size:.78rem;opacity:.65}
.pixel-paper{width:min(100%,640px);padding:13px;background:var(--pixel-paper);border:1px solid #c1c4b4;box-shadow:0 3px 0 #b7bdad52,0 9px 25px #314d3f0b}
.pixel-grid{border-collapse:collapse;table-layout:fixed;width:100%;font-variant-numeric:tabular-nums}
.pixel-grid th{width:auto;padding:0;font-weight:650;color:var(--pixel-ink);vertical-align:bottom}
.pixel-grid thead th:first-child{width:65px}
.pixel-grid tbody th{width:65px;vertical-align:middle;padding-right:9px}
.pixel-grid .pixel-axis{display:block;font-size:.73rem;color:#647066;font-weight:500}
.pixel-grid thead .pixel-axis{margin-bottom:8px}
.pixel-grid thead th:not(:first-child){position:relative;padding-top:22px}
.pixel-grid thead th:not(:first-child) .pixel-axis{position:absolute;top:0;inset-inline:0;margin:0;text-align:center}
.pixel-grid tbody .pixel-axis{display:inline-block;margin-right:8px;font-size:.76rem;min-width:10px}
.pixel-clue-values{font-size:.94rem;line-height:1.3}
.pixel-grid thead .pixel-clue-values{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;padding:0 3px 10px;min-height:53px}
.pixel-grid tbody .pixel-clue-values{display:inline-flex;gap:5px;vertical-align:middle}
.pixel-clue-values>b{font-weight:650}
.pixel-grid th[data-pixel-line-state=contradiction]{color:#943f42;background:#fae7df}
.pixel-grid th[data-pixel-line-state=matched]{color:#35765b;background:#edf4e8}
.pixel-grid th[data-pixel-line-state=possible]{color:#786748;background:#f6f0df}
.pixel-grid td{padding:0;border:1px solid var(--pixel-line);background:var(--pixel-paper)}
.pixel-grid td:nth-child(7){border-left:2px solid #647c75}
.pixel-grid tbody tr:nth-child(5) td{border-bottom:2px solid #647c75}
.pixel-grid .pixel-cell{display:block;width:100%;aspect-ratio:1;min-height:0;padding:0;border:0;border-radius:0;cursor:pointer}
.pixel-cell{position:relative;background:var(--pixel-paper);color:var(--pixel-filled)}
.pixel-cell[data-pixel-state=fill]{background:var(--pixel-filled);box-shadow:inset 0 0 0 2px #426369}
.pixel-cell[data-pixel-state=unknown]::before{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#bdc3b4;left:calc(50% - 1.5px);top:calc(50% - 1.5px)}
.pixel-cell[data-pixel-state=cross]::before,.pixel-cell[data-pixel-state=cross]::after{content:'';position:absolute;width:45%;height:2px;background:#6b7d78;left:27.5%;top:calc(50% - 1px)}
.pixel-cell[data-pixel-state=cross]::before{transform:rotate(45deg)}
.pixel-cell[data-pixel-state=cross]::after{transform:rotate(-45deg)}
.pixel-grid .pixel-cell:enabled:hover{box-shadow:inset 0 0 0 3px #65a69b}
.pixel-grid .pixel-cell[data-pixel-hint-target=true]{outline:3px dashed #ad7c2d;outline-offset:-4px}
.pixel-grid .pixel-cell:disabled{opacity:1;cursor:default}
.pixel-corner>span{display:block;max-width:60px;font-size:.7rem;font-weight:500;color:#656f65;padding:0 8px 12px 0;overflow-wrap:anywhere}
.pixel-legend{display:flex;gap:12px 18px;flex-wrap:wrap;margin-bottom:20px}
.pixel-legend>span{display:flex;align-items:center;gap:7px;font-size:.82rem;color:#667471}
.pixel-legend .pixel-cell{display:inline-block;flex:none;width:21px;height:21px;border:1px solid #b8c2b8}
.pixel-notebook{min-width:0;border-top:2px solid #a7b7a9;padding-top:17px}
.game-shell .play .pixel-room .pixel-rule{font-size:.92rem;margin:0 0 14px}
.game-shell .play .pixel-room :is(.pixel-tool-help,.pixel-key-help){font-size:.83rem;margin:12px 0}
.pixel-notebook>.actions{align-items:flex-start;flex-direction:column}
.pixel-notebook>.actions>.button{min-height:40px}
.pixel-notebook>.actions>[data-action=reveal]{color:#886144}
.game-shell .play .pixel-room .pixel-progress{font-size:.82rem;margin:12px 0 0}
.pixel-feedback{border-top:1px solid #bcc9ba;margin-top:18px;padding-top:15px}
.game-shell .play .pixel-room .pixel-feedback p{font-size:.9rem;margin:9px 0}
.pixel-hint{margin-top:16px}
.pixel-hint>details{margin-top:12px;font-size:.85rem}
.pixel-hint summary{cursor:pointer;min-height:40px;line-height:1.5}
.pixel-candidates{list-style:none;display:grid;gap:8px;padding:0;margin:12px 0}
.pixel-candidates>li{display:flex;gap:2px}
.pixel-candidates .pixel-cell{display:block;width:23px;height:23px;border:1px solid #b4bfb3}
.pixel-ending-desk{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:clamp(25px,5vw,70px);align-items:center}
.pixel-end-board{max-width:590px;min-width:0}
.pixel-confirm-board{max-width:490px;min-width:0;opacity:.75}
.pixel-ending-notes{min-width:0;border-top:2px solid #a7b7a9;padding-top:17px}
.game-shell .play .pixel-room .pixel-ending-notes>.actions{flex-direction:column;align-items:flex-start;justify-content:flex-start;margin:22px 0 0;gap:12px}
.game-shell .play .pixel-room .pixel-ending-notes>.pixel-end-note{margin:0;font-size:1rem;line-height:1.75}
.game-shell .play .pixel-room .pixel-reveal-warning{max-width:760px;color:#795943}
.pixel-screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.page-game .game-shell.theme-pixel:has(.pixel-room) {
  --pixel-stage:#eaf1f7;
  --pixel-navy:#223f68;
  --pixel-action:#205087;
  background:
    linear-gradient(#7ba1bd1a 1px,transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg,#7ba1bd1a 1px,transparent 1px) 0 0 / 18px 18px,
    var(--pixel-stage);
  color:var(--pixel-navy);
}
.page-game .game-shell.theme-pixel:has(.pixel-room) .game-toolbar {
  background:var(--pixel-stage);color:var(--pixel-navy);border-color:#a9bbcd;
}
.page-game .game-shell.theme-pixel:has(.pixel-room) .game-toolbar .button,
.page-game .game-shell.theme-pixel .play .pixel-room .button.secondary {
  background:#f8fbff;color:var(--pixel-navy);border-color:#7890aa;
}
.page-game .game-shell.theme-pixel .play .pixel-room .button:not(.secondary) {
  background:var(--pixel-action);color:white;border-color:var(--pixel-action);font-weight:730;
}
.page-game .game-shell.theme-pixel .play .pixel-room .button:disabled {
  background:#e2e8ee;color:#4b6077;border-color:#a2b1c0;opacity:1;
}
.game-shell.theme-pixel .play .pixel-room {
  --pixel-ink:#203954;--pixel-paper:#fffdf6;--pixel-line:#8198ad;--pixel-filled:#234469;
  width:min(100%,76rem);
}
.game-shell.theme-pixel .play .pixel-room .session-banner h2 {
  color:var(--pixel-ink);font-size:clamp(1.7rem,4.1vw,3.4rem);line-height:1.1;letter-spacing:-.035em;
}
.game-shell.theme-pixel .play .pixel-room p {color:#415870}
.game-shell.theme-pixel .play .pixel-room .actions {flex-wrap:wrap}
.pixel-tools {gap:.45rem}
.pixel-tools>.button {font-weight:750}
.page-game .game-shell.theme-pixel .play .pixel-tools>.button[aria-pressed=true] {
  color:white;background:#234469;border-color:#234469;box-shadow:none;
}
.pixel-tools kbd {opacity:1}
.pixel-paper {
  border-color:#748da5;border-radius:.45rem;
  box-shadow:0 .25rem 0 #afc0d1,0 .55rem 1.1rem #28446026;
}
.pixel-grid .pixel-axis,.pixel-corner>span {color:#415870}
.pixel-clue-values {font-size:1.01rem}
.pixel-grid td:nth-child(7),.pixel-grid tbody tr:nth-child(5) td {border-color:#41617e}
.pixel-cell[data-pixel-state=fill] {box-shadow:inset 0 0 0 2px #3a5a7d}
.pixel-cell[data-pixel-state=unknown]::before {background:#8095a5}
.pixel-cell[data-pixel-state=cross]::before,.pixel-cell[data-pixel-state=cross]::after {background:#526e89}
.pixel-grid .pixel-cell:enabled:hover {box-shadow:inset 0 0 0 3px #648bad}
.pixel-grid .pixel-cell[data-pixel-hint-target=true] {outline-color:#a55b24;background:#ffecd0}
.pixel-grid .pixel-cell[data-pixel-hint-target=true][data-pixel-state=fill] {background:var(--pixel-filled)}
.pixel-room button:focus-visible {outline-color:#a55b24}
.pixel-notebook,.pixel-ending-notes,.pixel-feedback {border-color:#839bb1}
.pixel-legend>span {color:#415870}
.pixel-notebook>.actions {flex-direction:row}
.game-shell .play .pixel-room .pixel-reveal-warning {color:#78421f}
@media(max-width:700px) {
  .page-game .game-shell.theme-pixel.wide .play:has(.pixel-room) {
    justify-content:flex-start;min-height:0;margin-block:0;padding-block:1.15rem 2rem;
  }
  .pixel-desk,.pixel-ending-desk {gap:1.2rem}
}
@media(max-width:540px) {
  .game-shell.theme-pixel.wide:has(.pixel-room) .game-toolbar {
    display:grid;grid-template-columns:minmax(0,1fr);gap:.3rem;padding:.4rem .75rem;
  }
  .game-shell.theme-pixel.wide:has(.pixel-room) .game-toolbar-title {display:flex;padding:0}
  .game-shell.theme-pixel.wide:has(.pixel-room) .game-toolbar-title strong {white-space:normal}
  .game-shell.theme-pixel.wide:has(.pixel-room) .game-toolbar-actions {justify-content:flex-start;margin:0}
}
@media(max-width:450px){.game-shell.theme-pixel:not(.wide) .play{padding-inline:0}}
@media(min-width:1000px){.game-shell.wide .pixel-paper{width:min(100%,600px,calc(100dvh - 300px))}.game-shell.wide .pixel-end-board .pixel-paper{width:min(100%,590px,calc(100dvh - 220px))}}
@media(max-width:850px){.pixel-desk,.pixel-ending-desk{grid-template-columns:minmax(0,1fr)}.pixel-paper{max-width:590px}.pixel-notebook{max-width:590px}.pixel-notebook>.actions{flex-direction:row;gap:10px}.pixel-tools>.button{min-height:44px}.pixel-room .button{font-size:.9rem}.pixel-ending-notes{max-width:590px}}
@media(max-width:450px){.pixel-paper{padding:7px}.pixel-grid thead th:first-child,.pixel-grid tbody th{width:46px}.pixel-grid tbody th{padding-right:4px}.pixel-grid tbody .pixel-axis{margin-right:3px;font-size:.7rem;min-width:8px}.pixel-grid tbody .pixel-clue-values{gap:3px;flex-wrap:wrap;justify-content:flex-end;max-width:34px;font-size:.79rem}.pixel-grid thead .pixel-clue-values{font-size:.82rem;gap:3px;min-height:48px;padding-bottom:8px}.pixel-grid thead .pixel-axis{font-size:.7rem;margin-bottom:6px}.pixel-corner>span{font-size:.68rem;padding-right:4px}.pixel-room[data-pixel-size="7"] .pixel-paper{padding:3px}.pixel-room[data-pixel-size="7"] .pixel-grid thead th:first-child,.pixel-room[data-pixel-size="7"] .pixel-grid tbody th{width:41px}.pixel-room[data-pixel-size="7"] .pixel-grid tbody .pixel-axis{display:block;margin:0 3px 3px 0;text-align:right}.pixel-room[data-pixel-size="7"] .pixel-grid tbody .pixel-clue-values{font-size:.76rem;max-width:37px;gap:3px}.pixel-room[data-pixel-size="7"] .pixel-grid thead .pixel-clue-values{font-size:.79rem}.pixel-cell[data-pixel-state=cross]::before,.pixel-cell[data-pixel-state=cross]::after{height:2px}.pixel-puzzle>.actions>.button{font-size:.88rem}.pixel-tools{gap:8px}.pixel-tools>.button{padding:9px 11px;gap:16px}.pixel-legend{gap:10px 14px}.pixel-grid td:nth-child(7){border-left-width:2px}.pixel-grid tbody tr:nth-child(5) td{border-bottom-width:2px}}
