.page-game .game-shell.theme-cluepath:has(.cluepath-room) {
  --slip-ink:#1b3546;
  --slip-muted:#405562;
  --slip-accent:#15545b;
  --slip-line:#91aeb8;
  --slip-paper:#fffaf0;
  color:var(--slip-ink);
  background:radial-gradient(ellipse at 27% 14%,#f3f8f9,#deedf0 71%,#cfE4e9);
}
.page-game .game-shell.theme-cluepath:has(.cluepath-room) .game-toolbar {
  color:var(--slip-ink);
  background:#e9f2f3;
  border-bottom:1px solid var(--slip-line);
}
.page-game .game-shell.theme-cluepath:has(.cluepath-room) .game-toolbar .button {
  min-height:44px;
  color:var(--slip-accent);
  background:#f7fcfc;
  border-color:#7d9ca8;
}
.cluepath-room {width:min(100%,1260px);margin-inline:auto;color:var(--slip-ink);text-align:left}
.game-shell .play .cluepath-room .session-banner {max-width:none;text-align:left;margin:0 0 clamp(18px,3.2vw,36px)}
.game-shell .play .cluepath-room .session-banner>:is(h2,.meta) {max-width:none;margin-inline:0;text-align:left;color:var(--slip-ink)}
.game-shell .play .cluepath-room .session-banner h2 {font-size:clamp(1.53rem,4.15vw,3.65rem);line-height:1.13;text-wrap:balance}
.game-shell .play .cluepath-room .session-banner .meta {color:var(--slip-accent);font-weight:750}
.cluepath-room .session-banner .meta::after {content:"";display:inline-block;width:2.2rem;height:1px;margin-inline-start:10px;background:#6f9baa;vertical-align:middle}
.cluepath-desk {
  display:grid;
  grid-template-columns:minmax(0,1.36fr) minmax(270px,1fr);
  gap:clamp(18px,3.2vw,42px);
  align-items:start;
}
.cluepath-slip {
  min-width:0;
  padding:clamp(16px,2.9vw,36px);
  background:linear-gradient(122deg,#fffdf4,var(--slip-paper));
  border:1px solid #ccc4af;
  border-inline-start:7px solid #518a9d;
  border-radius:5px 22px 5px 5px;
  box-shadow:0 5px 0 #41617318,0 14px 20px #294e5d17;
}
.game-shell .play .cluepath-room .cluepath-observation {
  font-size:clamp(1.2rem,2.3vw,2rem);
  line-height:1.48;
  color:var(--slip-ink);
  text-align:left;
  max-width:none;
  margin:0;
  overflow-wrap:anywhere;
}
.game-shell .play .cluepath-room .cluepath-fragment {
  display:inline-block;
  min-height:44px;
  max-width:100%;
  padding:.15em .05em;
  border:0;
  border-radius:3px;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  box-shadow:none;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
  vertical-align:baseline;
}
.game-shell .play .cluepath-room .cluepath-fragment:hover {background:#f3e6d0}
.game-shell .play .cluepath-room .cluepath-fragment[aria-pressed=true] {
  background:#ffe4a1;
  text-decoration:underline #906724 2px;
  text-underline-offset:.21em;
}
.cluepath-room button:focus-visible {outline:3px solid #2e628d;outline-offset:3px}
.game-shell .play .cluepath-room .cluepath-caption {font-size:.88rem;text-align:left;line-height:1.55;color:var(--slip-muted);margin-inline:0}
.cluepath-slip .cluepath-observation+.cluepath-caption {border-top:1px solid #c1cbd0;margin:1rem 0 .55rem;padding-top:.75rem}
.cluepath-places h3 {text-align:left;margin:0 0 .6rem;font-size:clamp(1.08rem,2vw,1.55rem)}
.cluepath-options {display:grid;gap:.5rem}
.game-shell .play .cluepath-room .cluepath-options button {
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(.45rem,1vw,.8rem);
  width:100%;
  min-height:55px;
  padding:.45rem .7rem;
  text-align:left;
  background:#f8fcfc;
  border:1px solid #9eb6c1;
  border-radius:8px;
  color:var(--slip-ink);
  white-space:normal;
  overflow-wrap:anywhere;
  font:inherit;
  font-weight:710;
  cursor:pointer;
}
.game-shell .play .cluepath-room .cluepath-options button:hover {background:#edf5f7}
.game-shell .play .cluepath-room .cluepath-options button[aria-pressed=true] {
  border-color:#286278;
  box-shadow:inset 0 0 0 1px #286278;
  background:#cfe7ed;
}
.cluepath-option-letter {display:grid;place-items:center;width:36px;height:34px;border-radius:5px;background:#deedf0;color:var(--slip-ink);font:750 .9rem ui-monospace,monospace}
[aria-pressed=true] .cluepath-option-letter {background:#236277;color:#fff}
.cluepath-options small {color:#244e5c;font-size:.74rem}
.cluepath-commit {display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.75rem}
.game-shell .play .cluepath-room .actions {justify-content:flex-start;gap:.55rem;margin:.75rem 0 0}
.game-shell .play .cluepath-room button {min-height:44px;white-space:normal}
.game-shell .play .cluepath-room :is(.button.secondary,.cluepath-exit button) {
  color:var(--slip-accent);
  background:#f6fbfb;
  border-color:#86a4b1;
  box-shadow:none;
}
.cluepath-exit {margin-top:1rem;text-align:left}
.game-shell .play .cluepath-room :is(.cluepath-commit .primary,.actions .button:not(.secondary)) {
  color:#fffdf3;
  background:var(--slip-accent);
  border:1px solid var(--slip-accent);
  border-radius:8px;
  font-weight:720;
  cursor:pointer;
}
.game-shell .play .cluepath-room .cluepath-commit .primary {flex:1 1 13rem;padding:.55rem .85rem}
.game-shell .play .cluepath-room .cluepath-commit .primary:disabled {
  color:#3e535e;
  background:#e5edef;
  border-color:#98acb6;
  opacity:1;
  cursor:default;
}
.cluepath-record {
  padding:clamp(14px,2vw,25px);
  border:1px solid #abbdc3;
  border-radius:9px;
  background:#f8fcfc;
  margin-bottom:14px;
  break-inside:avoid;
}
.cluepath-record header {display:flex;justify-content:space-between;gap:.8rem;align-items:baseline;margin-bottom:10px}
.cluepath-record header h3 {margin:0;font-size:1.08rem}
.cluepath-record header>strong {color:var(--slip-accent);white-space:nowrap}
.cluepath-record dl,.cluepath-traces {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:.8rem 0}
.cluepath-record dl>div {padding:.6rem .8rem;border-inline-start:3px solid #477865;background:#e6f3ec}
.cluepath-record[data-cluepath-points="0"] dl>div:first-child {border-color:#a3684f;background:#f5e9e2}
.cluepath-record dt {font-size:.83rem;color:var(--slip-muted)}
.cluepath-record dd {margin:.2rem 0 0;font-weight:750;font-size:1.12rem;overflow-wrap:anywhere}
.game-shell .play .cluepath-room .cluepath-reason {max-width:68ch;text-align:left;color:var(--slip-ink);line-height:1.58;margin:.8rem 0}
.cluepath-traces {background:#eef5f6;padding:.7rem .85rem}
.game-shell .play .cluepath-room .cluepath-traces p {text-align:left;margin:0;color:var(--slip-ink);font-size:.94rem;line-height:1.5}
.cluepath-traces span {display:block;font-size:.79rem;color:var(--slip-muted);margin-bottom:.21rem}
.cluepath-traces strong {font-weight:670;overflow-wrap:anywhere}
.game-shell .play .cluepath-room .cluepath-archive .cluepath-observation {font-size:1.15rem}
.cluepath-archive {margin-top:14px}
@media(max-width:760px) {
  .cluepath-desk {grid-template-columns:minmax(0,1fr)}
  .cluepath-slip {border-inline-start-width:5px}
  .cluepath-commit .secondary {flex:1}
}
@media(max-width:420px) {
  .cluepath-record dl,.cluepath-traces {grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:no-preference) {
  .cluepath-room[data-cluepath-phase=reveal] .cluepath-record {animation:cluepath-review-in .22s ease-out}
}
@keyframes cluepath-review-in {from {opacity:.75;translate:0 4px}}
