.duoclue-room{--duo-ink:#354c4f;--duo-row:#a06c49;--duo-column:#44747a;--duo-paper:#f4f0e3;width:100%;max-width:1280px;margin:auto;color:var(--duo-ink)}
.game-shell.wide:has(.duoclue-room) .play{width:100%;margin:0 auto;align-self:start}
.game-shell .play .duoclue-room .session-banner{max-width:none;margin:0 0 1rem;text-align:left}
.game-shell.wide .play .duoclue-room h2{font-size:clamp(1.6rem,2.3vw,2.5rem);text-align:left;line-height:1.25}
.game-shell.wide .play .duoclue-room .session-banner .meta{margin-inline:0;text-align:left}
.game-shell .play .duoclue-room p{text-align:left;line-height:1.6}
.game-shell .play .duoclue-room button{min-height:44px;white-space:normal}
.duoclue-room .actions{justify-content:flex-start}
.game-shell .play .duoclue-room .duoclue-guidance{margin:.8rem 0 1rem;max-width:980px;font-size:.95rem}
.duoclue-motif{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;color:#354c4f;font-size:1.7rem;line-height:1}
.duoclue-motif svg{width:100%;height:100%;display:block}
.duoclue-private-role{display:flex;gap:1rem;align-items:baseline;max-width:680px;margin:.6rem 0 1rem}
.duoclue-private-role>strong{font-size:1.3rem}.duoclue-private-role>span{font-size:.95rem;color:#52625c}
.duoclue-cover{position:relative;display:grid;place-items:center;max-width:680px;min-height:225px;background:repeating-linear-gradient(90deg,#e7e3d5 0 37px,#dcd7c8 38px 39px);border:1px solid #bfb7a1;border-top:6px solid #a08d70;box-shadow:4px 4px 0 #dddcd1;overflow:hidden}
.duoclue-cover i{position:absolute;inset:15px;border:1px solid #bbb29a;border-radius:2px}
.duoclue-cover>b{font:550 3rem Georgia,serif;background:#f5efdf;color:#8d7857;padding:.3rem 1.4rem;z-index:1}
.duoclue-secret{max-width:680px;min-height:225px;padding:1.5rem;display:flex;gap:2rem;align-items:center;background:#f5f0e1;border:1px solid #bfb7a1;border-top:6px solid var(--duo-row);box-shadow:4px 4px 0 #dddcd1}
[data-duoclue-axis=column] .duoclue-secret{border-top-color:var(--duo-column)}
.duoclue-secret .duoclue-motif{width:125px;height:125px}
.duoclue-secret>strong{font-size:clamp(1.9rem,4vw,3rem);overflow-wrap:anywhere}
.duoclue-desk{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.42fr);gap:1.8rem;align-items:start}
.duoclue-board{display:grid;grid-template-columns:minmax(100px,.94fr) repeat(4,minmax(0,1fr));gap:5px;padding:9px;background:#c7c3b3;border:1px solid #ada793;box-shadow:4px 5px 0 #deded2;width:100%;max-width:840px;text-align:center}
.duoclue-board-corner{display:grid;place-items:center;color:#8d7d61;background:#ece8d9;font-size:1.6rem}
.game-shell .play .duoclue-room .duoclue-axis{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;padding:.45rem .2rem;border:1px solid #b6b5a5;border-radius:1px;background:#f3f2e7;box-shadow:none;color:#354c4f;min-height:85px;overflow-wrap:anywhere}
.duoclue-axis strong{font-size:.9rem;font-weight:650;line-height:1.25}
.duoclue-axis-column{border-bottom:4px solid var(--duo-column)!important}
.duoclue-axis-row{border-right:4px solid var(--duo-row)!important}
.duoclue-note-mark{display:block;width:18px;height:15px;font:600 .85rem/1 ui-monospace,monospace;color:#60766a}
.game-shell .play .duoclue-room .duoclue-axis[aria-pressed=true]{background:#e2e9d6;outline:2px solid #667b55;outline-offset:-3px}
.game-shell .play .duoclue-room .duoclue-cell{position:relative;display:grid;place-items:center;min-height:73px;padding:0;background:#f8f5e9;border:1px solid #d2cbbb;border-radius:1px;box-shadow:none;color:#b7b7a3;aspect-ratio:1.3;overflow:hidden}
.duoclue-pin{z-index:1;font:500 1.1rem ui-monospace,monospace;line-height:1}
.duoclue-row-stripe,.duoclue-column-stripe{position:absolute;pointer-events:none;opacity:0}
.duoclue-row-stripe{left:0;right:0;bottom:5px;height:5px;background:repeating-linear-gradient(90deg,#a06c49 0 5px,transparent 5px 8px)}
.duoclue-column-stripe{top:0;bottom:0;left:5px;width:5px;background:repeating-linear-gradient(0deg,#44747a 0 5px,transparent 5px 8px)}
[data-row-noted=true] .duoclue-row-stripe,[data-column-noted=true] .duoclue-column-stripe{opacity:.62}
.game-shell .play .duoclue-room .duoclue-cell[aria-pressed=true]{outline:3px dashed #57536e;outline-offset:-5px;background:#f1edf0;color:#57536e}
.duoclue-cell[aria-pressed=true] .duoclue-pin{display:grid;place-items:center;width:31px;height:31px;border:1px solid #716783;border-radius:50%;background:#faf8ef;font-size:1.3rem}
.game-shell .play .duoclue-room .duoclue-cell[data-duoclue-target=true]{background:#e4eddc;color:#2e624d;outline:3px solid #477b5a;outline-offset:-4px}
.duoclue-cell[data-duoclue-target=true] .duoclue-pin{font-size:1.6rem;background:#f7faef;border-color:#477b5a}
.game-shell .play .duoclue-room .duoclue-axis:disabled,.game-shell .play .duoclue-room .duoclue-cell:disabled{opacity:1;cursor:default}
.duoclue-control-rail{text-align:left;padding:.2rem 0}
.duoclue-control-rail h3{font-size:1rem;margin:1rem 0 .45rem;text-align:left}
.duoclue-holder-rail{display:flex;gap:.7rem;flex-wrap:wrap;border-bottom:1px solid #c2c7b9;padding-bottom:.7rem;font-size:.8rem;color:#546157}
.duoclue-holder-rail>span{display:block}.duoclue-holder-rail strong{display:block;font-weight:650;font-size:.9rem;color:#354c4f;margin-top:.25rem}
.game-shell .play .duoclue-room .duoclue-picked{min-height:3rem;max-width:none;margin:.4rem 0 .7rem;font-size:1.15rem;font-weight:650;overflow-wrap:anywhere}
.duoclue-note-summary{margin:.5rem 0 1rem;display:grid;gap:.65rem}
.duoclue-note-summary dt{font-size:.8rem;color:#546157}
.duoclue-note-summary dd{margin:.25rem 0 0;font-size:.9rem;line-height:1.45;min-height:1.3em;overflow-wrap:anywhere}
.game-shell .play .duoclue-room .duoclue-control-rail>button{width:100%;margin:.3rem 0}
.game-shell .play .duoclue-room [data-action^="clear-"]{background:transparent;color:#53695f;border:1px solid #b9c3b2;box-shadow:none;font-size:.875rem}
.game-shell .play .duoclue-room .duoclue-control-rail .button.cta[data-duoclue-confirm]{background:#44747a;border-color:#44747a;color:#fff}
.game-shell .play .duoclue-room .duoclue-control-rail .button.cta[data-duoclue-confirm]:is(:hover,:focus-visible){background:#355f65}
[data-duoclue-confirm]:disabled{opacity:.45}
.duoclue-comparison{padding:.8rem 0;border-top:2px solid #7e9583}
.duoclue-comparison>strong{display:block;font-size:1.1rem;line-height:1.4}
.duoclue-comparison>span{display:block;font-weight:750;margin:.35rem 0 .7rem;color:#477b5a}
.duoclue-comparison dl{display:grid;gap:.7rem;margin:0}
.duoclue-comparison dt{font-size:.8rem;color:#546157}
.duoclue-comparison dd{margin:.25rem 0 0;font-weight:600;overflow-wrap:anywhere}
.game-shell .play .duoclue-room .duoclue-score{font:650 2.7rem ui-monospace,monospace;margin:.7rem 0 1rem}
.duoclue-archive{display:grid;grid-template-columns:1fr 1fr;gap:1.7rem;margin-top:1.5rem;text-align:left}
.duoclue-archive>article{border-top:2px solid #b7b5a1;padding-top:.8rem;min-width:0}
.duoclue-archive header{display:flex;justify-content:space-between;gap:1rem;align-items:baseline}
.duoclue-archive header h3{font-size:1.15rem;margin:.4rem 0}
.duoclue-archive .duoclue-comparison{border:0}
.duoclue-archive .duoclue-comparison dl{grid-template-columns:1fr 1fr}
.duoclue-archive .duoclue-note-summary{grid-template-columns:1fr 1fr}
@media(min-width:1000px) and (min-height:680px){
  .game-shell.wide .play .duoclue-room .duoclue-board{height:min(620px,calc(100dvh - 240px));grid-template-rows:85px repeat(4,minmax(0,1fr))}
  .game-shell.wide .play .duoclue-room .duoclue-cell{aspect-ratio:auto;min-height:44px}
  .game-shell.wide .play .duoclue-room .duoclue-axis{min-height:0;padding:.3rem .2rem}
  .game-shell.wide .play .duoclue-room .duoclue-axis .duoclue-motif{width:32px;height:32px}
  .game-shell.wide .play .duoclue-room .duoclue-axis-row{display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;align-content:center;column-gap:.35rem}
  .duoclue-axis-row .duoclue-motif{grid-row:1/-1}
  .game-shell.wide .play .duoclue-room .duoclue-axis-row strong,.game-shell.wide .play .duoclue-room .duoclue-axis-row .duoclue-note-mark{text-align:left;justify-self:start}
  .duoclue-control-rail h3{margin:.65rem 0 .35rem}
  .game-shell .play .duoclue-room .duoclue-picked{min-height:2rem}
  .duoclue-note-summary{gap:.5rem;margin:.6rem 0}
}
@media(max-width:760px){.duoclue-desk{grid-template-columns:1fr;gap:1.3rem}.duoclue-board{grid-template-columns:minmax(70px,.95fr) repeat(4,minmax(0,1fr));gap:3px;padding:4px}.game-shell .play .duoclue-room .duoclue-cell{min-height:55px;aspect-ratio:auto}.game-shell .play .duoclue-room .duoclue-axis{min-height:75px;padding:.4rem .1rem}.duoclue-axis .duoclue-motif{width:30px;height:30px}.duoclue-axis strong{font-size:.875rem;line-height:1.25}.duoclue-axis-column{min-height:101px!important}.duoclue-note-mark{height:12px}.duoclue-secret{gap:1rem;min-height:200px;padding:1rem}.duoclue-secret .duoclue-motif{width:90px;height:90px}.duoclue-cover{min-height:200px}.duoclue-control-rail{padding:0}.duoclue-archive{grid-template-columns:1fr}.duoclue-holder-rail{gap:1.2rem}.game-shell .play .duoclue-room .duoclue-picked{min-height:1.7rem}}
@media(max-width:380px){.duoclue-board{grid-template-columns:58px repeat(4,minmax(44px,1fr));gap:2px;padding:2px}}
@media(prefers-reduced-motion:reduce){.duoclue-room *{scroll-behavior:auto}}

.page-game .game-shell.theme-duoclue:has(.duoclue-room) {
  --duo-stage:#e7eef3;
  background:radial-gradient(ellipse at 19% 0,#f8fafb,var(--duo-stage) 77%);color:#203a53;
}
.page-game .game-shell.theme-duoclue:has(.duoclue-room) .game-toolbar {
  background:var(--duo-stage);color:#203a53;border-color:#a4b5c7;
}
.page-game .game-shell.theme-duoclue:has(.duoclue-room) .game-toolbar .button,
.page-game .game-shell.theme-duoclue .duoclue-room .button.secondary {
  background:#fff9ec;color:#29465a;border-color:#8ba1ad;
}
.page-game .game-shell.theme-duoclue .duoclue-room .button:not(.secondary) {
  background:#255e64;color:white;border-color:#255e64;
}
.game-shell .play .duoclue-room {
  --duo-ink:#223f54;--duo-row:#a75825;--duo-column:#226782;--duo-paper:#fff7e5;
}
.game-shell.theme-duoclue .play .duoclue-room .session-banner h2 {
  color:var(--duo-ink);font-size:clamp(1.6rem,3.4vw,3rem);line-height:1.12;letter-spacing:-.025em;
}
.game-shell.theme-duoclue .play .duoclue-room .session-banner .meta {color:#425d78;text-align:left;margin-inline:0}
.duoclue-board {
  border-color:#a88a5f;border-radius:8px;
  background:repeating-linear-gradient(125deg,#fff1 0 1px,transparent 1px 5px),linear-gradient(140deg,#3b5f78,#234255);
  box-shadow:inset 0 0 0 2px #bdb29c66,0 4px 0 #394b5b,0 9px 16px #1f3f541f;
}
.duoclue-board-corner {border-radius:5px;color:#78512a;background:#e6d9bd}
.game-shell .play .duoclue-room .duoclue-axis {
  border-color:#bdab86;border-radius:4px;color:var(--duo-ink);
  background:linear-gradient(145deg,#fff6df,#f2e4c4);
}
.game-shell .play .duoclue-room .duoclue-axis[aria-pressed=true] {
  background:#dfebd8;outline-color:#47705e;
}
.game-shell .play .duoclue-room .duoclue-cell {
  background:linear-gradient(145deg,#fffaf0,#f2e8d2);border-color:#baab90;border-radius:4px;color:#756953;
  box-shadow:inset 0 1px 0 #fffdf5;
}
.duoclue-row-stripe {background:repeating-linear-gradient(90deg,var(--duo-row) 0 5px,transparent 5px 8px)}
.duoclue-column-stripe {background:repeating-linear-gradient(0deg,var(--duo-column) 0 5px,transparent 5px 8px)}
[data-row-noted=true] .duoclue-row-stripe,[data-column-noted=true] .duoclue-column-stripe {opacity:.82}
.game-shell .play .duoclue-room .duoclue-cell[aria-pressed=true] {
  outline-color:#a86d22;background:#fff0c6;color:#734b22;
}
.duoclue-cell[aria-pressed=true] .duoclue-pin {border-color:#916435}
.duoclue-cell[data-duoclue-target=true] .duoclue-pin {border-color:#477b5a}
.duoclue-control-rail {border-left:1px solid #a6b8c6;padding-inline-start:clamp(.65rem,1.4vw,1.2rem)}
.duoclue-holder-rail {border-color:#abbbc6}
.duoclue-cover {
  background:repeating-linear-gradient(124deg,#fff1 0 1px,transparent 1px 5px),#2c4e65;
  border-color:#ab956d;border-top-color:#ab956d;border-radius:.5rem;
  box-shadow:0 5px 0 #263f54,0 11px 18px #25445c26;
}
.duoclue-cover i {border-color:#a6b0a980}
.duoclue-cover>b {border-radius:50%;background:#f0dfb6;color:#2d495d}
.duoclue-secret {
  color:#203c50;background:var(--duo-paper);border-color:#b6a177;border-top-color:var(--duo-row);
  border-radius:.5rem;box-shadow:0 4px 0 #b6a17755;
}
@media(max-width:760px) {
  .duoclue-control-rail {border-inline-start:0;padding:0}
  .duoclue-holder-rail {padding-bottom:.55rem}
}
@media(max-width:350px) {
  .page-game .game-shell.theme-duoclue:not(.wide) .play:has(.duoclue-room) {padding-inline:.95rem}
}
