/* Mochidoku's notebook stays next to the floor plan; core game styles remain shared. */
.mochi-game{max-width:100%;padding:20px!important;overflow:visible}
.mochi-game .case-head{gap:10px;margin-bottom:12px;align-items:center}
.mochi-game .case-head>img{width:52px;height:52px;object-fit:contain;flex:none}
.mochi-game .case-title{font-size:clamp(21px,2.3vw,28px);line-height:1.16;margin:2px 0 5px}
.mochi-game .case-sub{font-size:13px;line-height:1.4;max-width:60ch;margin:0}
.mochi-game .case-head .eyebrow{font-size:10px;letter-spacing:.12em;margin:0}
.mochi-game .case-modes{margin:10px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.mochi-game .case-modes button{padding:9px 6px;font-size:12px;min-height:40px;white-space:normal}
.mochi-options{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:9px 0}
.mochi-options .game-action{font-size:11px;padding:6px 8px;min-height:32px}
.mochi-options [aria-pressed=true]{background:var(--green);color:#fff}
.mochi-link{border:0;background:transparent;padding:6px 1px;color:var(--green);font:inherit;font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.mochi-link:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:3px}
.mochi-game .section-pickers{justify-content:flex-start;gap:14px;margin:10px 0}
.mochi-game .section-pickers select{min-height:36px;padding:4px 8px}
.mochi-game #file-bar{margin:8px 0 0;gap:6px}
.mochi-game #file-title{font-size:12px;flex:1;min-width:0;white-space:normal;min-height:34px}
.mochi-game #file-bar>.game-action{padding:4px 10px;min-height:34px}
.mochi-game .section-status{font-size:11px;line-height:1.4;margin:7px 0 12px;min-height:0;color:var(--muted)}
.mochi-game .case-layout{grid-template-columns:minmax(0,1fr) minmax(230px,.85fr);gap:16px;align-items:start}
.mochi-game .case-board-col{min-width:0}
.mochi-game .case-board-col .game-board-wrap{width:min(100%,380px);margin:0 auto}
.mochi-game .case-board{width:100%;aspect-ratio:1}
.mochi-game .case-board .case-piece{width:79%;height:79%;object-fit:contain;z-index:2;position:relative}
.mochi-game .case-board .is-selected-piece{box-shadow:inset 0 0 0 3px #246f59;z-index:3}
.mochi-game .case-board .is-selected-piece:after{content:'•';position:absolute;right:3px;top:0;color:#176044;font-size:14px;line-height:1}
.mochi-game .case-board .is-conflict{box-shadow:inset 0 0 0 3px #bd3e3e}
.mochi-game .case-board .is-highlight{outline:3px solid #ce9e20;outline-offset:-4px}
.mochi-game .case-tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px}
.mochi-game .case-suspect{position:relative;min-height:45px;padding:5px 3px;gap:3px;justify-content:center;flex-direction:column;font-size:10px;line-height:1.1;text-align:center;border-radius:8px}
.mochi-game .case-tray-icon{width:25px;height:25px}
.mochi-game .case-suspect small{position:absolute;right:3px;top:3px;font-size:10px;color:var(--green)}
.mochi-game .case-suspect.is-placed span:last-child:after{content:none}
.mochi-game .case-suspect[aria-pressed=true]{background:#e6f1e5;border:2px solid #246f59;box-shadow:none;padding:4px 2px}
.mochi-game .case-x-mark{font-size:23px;line-height:25px;height:25px}
.mochi-game .case-suspect[data-tool=erase]>span:first-child{font-size:21px;line-height:25px;height:25px}
.mochi-selection{font-size:11px;line-height:1.4;min-height:30px;margin:7px 0;color:#315d4d}
.mochi-game .mochi-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:5px 0}
.mochi-game .mochi-actions .game-action{font-size:11px;padding:7px 3px;min-height:38px;white-space:normal}
.mochi-game .section-message{font-size:12px;line-height:1.45;min-height:32px;margin:7px 0}
.mochi-game .case-side{background:#fcfaf3;border:1px solid #e1dfd2;border-radius:13px;padding:12px;min-width:0}
.mochi-clue-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mochi-clue-heading h3{font-size:15px;line-height:1.3;margin:0}
.mochi-clue-note{font-size:10px;line-height:1.5;color:var(--muted);margin:7px 0}
.mochi-game .case-clues{margin:8px 0;gap:7px;font-size:12px;line-height:1.45;max-height:340px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.mochi-game .case-clue{display:grid;grid-template-columns:13px 24px minmax(0,1fr);align-items:start;gap:5px;padding:8px;background:#fff;border:1px solid #e7e3d8;border-radius:8px}
.mochi-game .case-clue-icons{display:flex;flex-direction:column;gap:2px}
.mochi-game .case-clue-icon{width:23px;height:23px;object-fit:contain}
.mochi-game .case-clue.is-broken{border-color:#d88d86;background:#fff3ed;color:#8e2924}
.mochi-game .case-clue.is-ok{border-color:#adc9aa;background:#f3f8ed;color:#315b36}
.mochi-game .case-clue.is-quiet{display:block}
.mochi-clue-state{font-size:12px;line-height:20px;font-weight:700}
.mochi-room-key{font-size:11px;line-height:1.45;margin-top:10px;border-top:1px solid #e1dfd2;padding-top:9px}
.mochi-room-key summary{cursor:pointer;color:var(--green);font-weight:650}
.mochi-game .case-legend{margin:9px 0;font-size:11px;gap:5px 10px}
.mochi-game .case-legend .legend-note{font-size:10px}
.mochi-evidence{margin-top:12px;padding:10px;background:#fff7dd;border:1px solid #e4cf92;border-radius:9px;font-size:12px;line-height:1.55}
.mochi-evidence h3{font-size:13px}
.mochi-evidence .game-action{font-size:12px;padding:7px 10px}
.mochi-game .case-accuse{font-size:12px;line-height:1.5;margin:10px 0 0;padding:10px}
.mochi-game .case-accuse-buttons{gap:5px}
.mochi-game .case-accuse-buttons .game-action{padding:5px 7px;font-size:11px}
.mochi-game .case-accuse-buttons img{width:24px;height:24px}
.mochi-tutorial-note{display:flex;gap:12px;align-items:flex-start;border:1px solid #bed1ac;background:#f0f6e8;padding:12px;border-radius:10px;margin-bottom:12px;font-size:12px;line-height:1.5}
.mochi-tutorial-note p{margin:4px 0 0}.mochi-tutorial-note .mochi-link{flex:none;max-width:80px;font-size:11px}
.mochi-dialog{padding:24px;max-width:560px;font-size:14px;line-height:1.6}
.mochi-dialog h2{font-size:24px;line-height:1.2;margin:10px 0}
.mochi-dialog ol{padding-left:20px}.mochi-dialog li{margin:8px 0}.mochi-dialog .game-action{margin:6px 5px 6px 0}
.mochi-victory{text-align:center}.mochi-dialog>img{object-fit:contain}
.mochi-game #case-map-dialog{max-width:min(650px,94vw)}
.mochi-game #case-map-dialog .mochi-dialog{max-width:none}
.mochi-game [hidden]{display:none!important}
@media(min-width:1024px) and (max-width:1279px){.mochi-game .case-layout{grid-template-columns:minmax(0,1fr) minmax(200px,.8fr);gap:12px}.mochi-game .case-side{padding:9px}.mochi-game .case-clue{grid-template-columns:12px 22px minmax(0,1fr);gap:4px}.mochi-game .case-clue-icon{width:21px;height:21px}.mochi-game .case-suspect{font-size:9px}}
@media(max-width:760px){
 .mochi-game{padding:12px!important}
 .mochi-game .case-layout{grid-template-columns:1fr;gap:10px}
 .mochi-game .case-head>img{width:42px;height:42px}.mochi-game .case-head{margin-bottom:7px}
 .mochi-game .case-title{font-size:21px}.mochi-game .case-sub{font-size:11px}
 .mochi-options{gap:10px;margin:6px 0}.mochi-options .game-action{min-height:30px}
 .mochi-game .case-modes button{font-size:11px;min-height:38px;padding:7px 3px}
 .mochi-game .section-status{margin:6px 0 9px;font-size:10px}
 .mochi-game .case-board-col .game-board-wrap{width:min(100%,340px)}
 .mochi-game .case-tray{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:7px}
 .mochi-game .case-suspect{min-height:45px;font-size:8px;padding:4px 1px;border-radius:6px}
 .mochi-game .case-tray-icon{width:24px;height:24px}.mochi-game .case-suspect[aria-pressed=true]{padding:3px 0}
 .mochi-game .case-suspect small{right:1px;top:1px;font-size:8px}
 .mochi-selection{font-size:10px;min-height:0;margin:5px 0}
 .mochi-game .case-side{padding:10px}.mochi-game .case-clues{max-height:220px}
 .mochi-game .mochi-actions .game-action{font-size:10px;min-height:37px}
 .mochi-game .section-message{font-size:11px;min-height:0}
 .mochi-dialog{padding:19px}.mochi-dialog h2{font-size:22px}
 .mochi-game .game-shortcuts{font-size:10px;margin-top:10px}
}
@media(max-width:359px){.mochi-game{padding:8px!important}.mochi-game .case-tray{grid-template-columns:repeat(5,minmax(0,1fr))}.mochi-game .case-suspect{font-size:9px}}
@media(max-width:760px){
 /* Keep the selected clue, board and identity tray in one continuous work area. */
 .mochi-game .case-layout{display:flex;flex-direction:column;gap:6px}
 .mochi-game .case-board-col,.mochi-game .case-side{display:contents}
 .mochi-game .case-layout .mochi-clue-heading{order:1;width:100%}
 .mochi-game .case-layout .case-clues{order:2;width:100%;max-height:106px;margin:0 0 3px;gap:4px}
 .mochi-game .case-layout .case-clue{padding:6px;font-size:11px}
 .mochi-game .case-layout .game-board-wrap{order:3}
 .mochi-game .case-layout .case-tray{order:4;width:100%}
 .mochi-game .case-layout .mochi-selection{order:5;width:100%}
 .mochi-game .case-layout .mochi-actions{order:6;width:100%}
 .mochi-game .case-layout #case-message{order:7;width:100%}
 .mochi-game .case-layout .mochi-evidence{order:8;width:100%;box-sizing:border-box}
 .mochi-game .case-layout .case-accuse{order:9;width:100%;box-sizing:border-box}
 .mochi-game .case-layout .mochi-room-key{order:10;width:100%}
 .mochi-game .case-layout .mochi-clue-note{display:none}
}

/* The map key is part of play: keep names and furniture meanings visible. */
.mochi-game .mochi-core-rules{border-left:3px solid #7f9f76;background:#f1f6e9;border-radius:0 8px 8px 0;padding:8px 11px;margin:0 0 12px;font-size:12px;line-height:1.55;color:#345343}
.mochi-core-rules p{margin:0}.mochi-core-rules p+p{margin-top:2px}
.mochi-map-guide{grid-column:1/-1;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid #dce4d5;border-radius:11px;background:#f8faf3;color:var(--ink)}
.mochi-map-guide h3{font-size:13px;line-height:1.35;margin:0 0 8px}
.mochi-game .mochi-map-caption{font-size:11px;line-height:1.35;margin:0 0 7px;color:#426453}
.mochi-room-list{display:flex;flex-wrap:wrap;gap:5px 7px;margin:0 0 9px}
.mochi-room-chip,.mochi-object-chip{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0;min-height:34px;max-width:100%;border:1px solid #d8dfd1;border-radius:7px;padding:4px 7px;background:#fff;color:var(--ink);font:inherit;font-size:12px;line-height:1.2;text-align:left;cursor:pointer}
.mochi-room-chip:hover,.mochi-object-chip:hover{background:#edf5e9;border-color:#8ea98d}
.mochi-room-chip:focus-visible,.mochi-object-chip:focus-visible,.mochi-clue-ref:focus-visible,.mochi-map-clear:focus-visible{outline:2px solid #1c7a82;outline-offset:2px}
.mochi-room-chip[aria-pressed=true],.mochi-object-chip[aria-pressed=true]{border:2px solid #1c7a82;padding:3px 6px;background:#e7f5f3;box-shadow:0 0 0 1px #1c7a8220}
.mochi-room-swatch{display:inline-grid;place-items:center;flex:none;width:23px;height:23px;border:1px solid #61706460;border-radius:5px;background:var(--region-color);color:#263f33;font-size:11px;font-weight:750;line-height:1}
.mochi-room-name{overflow-wrap:anywhere}
.mochi-furniture-key{display:grid;gap:6px}
.mochi-furniture-group{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:7px}
.mochi-furniture-group>strong{font-size:11px;line-height:1.3;color:#3e5d45}
.mochi-furniture-items{display:flex;flex-wrap:wrap;gap:5px}
.mochi-object-chip{gap:5px;padding:2px 7px;min-height:36px;font-size:11px}
.mochi-object-chip[aria-pressed=true]{padding:1px 6px}
.mochi-object-chip svg{display:block;flex:none;width:30px;height:30px;pointer-events:none}
.mochi-object-chip>span{overflow-wrap:anywhere}
.mochi-map-status{display:flex;align-items:flex-start;gap:8px;margin-top:7px}
.mochi-game .mochi-map-notice{flex:1;min-width:0;font-size:11px;line-height:1.35;color:#426453;margin:0;min-height:1.35em}
.mochi-map-clear{border:0;background:none;padding:0;margin:0;flex:none;max-width:80px;color:#14626c;font:inherit;font-size:11px;font-weight:650;line-height:1.35;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.mochi-game .case-board .mochi-room-badge{position:absolute;top:2px;left:2px;display:grid;place-items:center;z-index:4;width:1.5em;height:1.5em;border:1px solid #48604a80;border-radius:4px;background:#fffdf0e8;color:#263f33;font-size:clamp(9px,1vw,12px);font-weight:750;line-height:1;pointer-events:none}
.mochi-game .case-board .case-furniture{inset:0;align-items:center;justify-content:center;padding:3%;background:none}
.mochi-game .case-board .case-furniture svg{display:block;width:76%;height:76%;opacity:1}
.mochi-game .case-board .case-furniture.is-blocking{background:#fff8}
.mochi-game .case-board .is-cat .case-furniture{inset:auto 2% 2% auto;z-index:3;width:35%;height:35%;padding:1px;border:1px solid #4a624f66;border-radius:50%;background:#fffef7ed;box-sizing:border-box}
.mochi-game .case-board .is-cat .case-furniture svg{width:100%;height:100%}
.mochi-game .case-board .is-map-focus{outline:2px solid #1c7a82;outline-offset:-3px;background-image:linear-gradient(#e4ffff30,#e4ffff30)}
.mochi-game .case-board .is-map-focus.is-highlight{outline:3px solid #ce9e20;outline-offset:-4px}
.mochi-game .case-board .is-map-focus .case-furniture{filter:drop-shadow(0 0 2px #fff)}
.mochi-clue-ref{display:inline-flex;align-items:center;vertical-align:baseline;gap:3px;max-width:100%;border:0;border-bottom:1px dashed #367e77;background:#edf6ed;color:#185b54;padding:1px 3px;border-radius:3px;font:inherit;font-weight:650;line-height:inherit;text-align:left;cursor:pointer}
.mochi-clue-ref:hover,.mochi-clue-ref[aria-pressed=true]{background:#d8eeeb;color:#134d55;border-bottom-color:#164d57}
.mochi-ref-icon{display:inline-flex;align-items:center;flex:none;width:17px;height:17px;vertical-align:middle}
.mochi-ref-icon svg,svg.mochi-ref-icon{display:block;width:17px;height:17px}
.mochi-extra-rules{margin-top:10px;border-top:1px solid #e1dfd2;padding-top:9px;font-size:11px;line-height:1.5}
.mochi-extra-rules summary{color:var(--green);font-weight:650;cursor:pointer}
.mochi-extra-rules p{margin:7px 0 0}.mochi-extra-rules ul{margin:7px 0 0;padding-left:18px}
.mochi-game #case-tutorial-focus{min-height:34px;font-size:11px;padding:6px 9px;white-space:normal;margin:7px 0 0}
@media(min-width:761px) and (max-width:1023px){
 .mochi-game .case-layout{grid-template-columns:minmax(0,1fr) minmax(210px,.8fr);gap:12px}
 .mochi-game .case-clue{grid-template-columns:12px 22px minmax(0,1fr);gap:4px}
 .mochi-game .case-clue-icon{width:21px;height:21px}
}
@media(max-width:760px){
 .mochi-game .mochi-core-rules{font-size:11px;padding:7px 8px;margin-bottom:9px;line-height:1.45}
 .mochi-game .case-layout .mochi-map-guide{order:0;width:100%;padding:8px}
 .mochi-map-guide h3{font-size:12px;margin-bottom:6px}
 .mochi-room-list{gap:4px;margin-bottom:7px}
 .mochi-room-chip{gap:4px;min-height:31px;padding:3px 5px;font-size:11px}
 .mochi-room-chip[aria-pressed=true]{padding:2px 4px}
 .mochi-room-swatch{width:20px;height:20px;font-size:10px}
 .mochi-furniture-key{gap:4px}.mochi-furniture-group{grid-template-columns:73px minmax(0,1fr);gap:5px}
 .mochi-furniture-group>strong{font-size:11px}.mochi-furniture-items{gap:4px}
 .mochi-object-chip{font-size:11px;gap:3px;padding:2px 4px;min-height:32px}
 .mochi-object-chip[aria-pressed=true]{padding:1px 3px}
 .mochi-object-chip svg{width:25px;height:25px}
 .mochi-map-status{margin-top:6px;gap:5px}
 .mochi-game .mochi-map-notice{font-size:11px;line-height:1.35}
 .mochi-game .case-layout .mochi-extra-rules{order:10;width:100%;font-size:11px;box-sizing:border-box}
 .mochi-game .case-board .mochi-room-badge{font-size:9px;top:1px;left:1px;border-radius:3px}
 .mochi-game .case-clue{grid-template-columns:12px 24px minmax(0,1fr)}
 .mochi-tutorial-note{gap:8px;padding:9px;font-size:11px}
 .mochi-tutorial-note .mochi-link{max-width:65px}
}
@media(max-width:359px){
 .mochi-furniture-group{grid-template-columns:1fr;gap:3px}
 .mochi-furniture-group>strong{line-height:1.2}
 .mochi-map-guide h3{margin-bottom:5px}
 .mochi-game .mochi-map-caption{margin-bottom:6px}
 .mochi-room-list{margin-bottom:6px}
 .mochi-map-status{margin-top:5px}
}
@media(prefers-reduced-motion:reduce){.mochi-game .case-clue,.mochi-room-chip,.mochi-object-chip{transition:none}}

/* Keep the first playable board close to the page's game switcher. */
.detective-page .page-wrap{padding-top:8px}
.detective-page .breadcrumbs{font-size:9px;line-height:1.35;gap:6px;margin-bottom:4px}
.detective-page .breadcrumbs>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detective-page .article-header{padding:4px 0 7px;margin-bottom:6px}
.detective-page .article-header h1{font-size:20px;line-height:1.15;margin:0 0 3px;letter-spacing:-.02em}
.detective-page .article-header>.eyebrow,.detective-page .article-meta{display:none}
.detective-page .article-intro{font-size:12px;line-height:1.4;margin:0}
.mochi-game{padding:12px!important}
.mochi-game .case-head{gap:8px;margin-bottom:6px}
.mochi-game .case-head>img{width:38px;height:38px}
.mochi-game .case-head .eyebrow{font-size:9px;letter-spacing:.08em}
.mochi-game .case-title{font-size:22px;line-height:1.12;margin:1px 0 3px}
.mochi-game .case-sub{font-size:11px;line-height:1.3}
.mochi-game .case-modes{margin:6px 0 4px;padding:3px}
.mochi-game .case-modes button{min-height:32px;padding:5px 6px;font-size:11px;line-height:1.3}
.mochi-case-switcher{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px;margin:5px 0}
.mochi-game .mochi-case-switcher #file-bar{flex:1 1 180px;min-width:0;margin:0;gap:4px}
.mochi-game .mochi-case-switcher #file-title{min-height:30px;padding:3px 6px;font-size:11px;line-height:1.25}
.mochi-game .mochi-case-switcher #file-bar>.game-action{min-height:30px;padding:3px 8px}
.mochi-case-switcher .mochi-options{flex:0 1 auto;gap:7px;margin:0}
.mochi-case-switcher .mochi-link{font-size:11px;padding:3px 0;line-height:1.4;min-height:25px}
.mochi-case-switcher .mochi-options [aria-pressed=true]{background:none;color:var(--green);text-decoration-thickness:2px}
.mochi-game .section-status{font-size:10px;line-height:1.3;margin:3px 0 5px}
.mochi-game .mochi-core-rules{padding:4px 7px;margin:0 0 8px;font-size:11px;line-height:1.4;border-left-width:2px;background:#f1f6e9}
.mochi-game .case-layout{gap:12px}
.mochi-game .case-side{padding:9px}
.mochi-game .case-side .mochi-map-guide{padding:0 0 8px;margin:0 0 9px;border:0;border-bottom:1px solid #dce4d5;border-radius:0;background:none}
.mochi-game .case-side .mochi-map-guide h3{font-size:12px;margin:0 0 5px}
.mochi-game .case-side .mochi-furniture-group{grid-template-columns:65px minmax(0,1fr);gap:4px}
.mochi-game .case-side .mochi-room-list{gap:4px;margin-bottom:7px}
.mochi-game .case-side .mochi-room-chip{min-height:28px;font-size:11px;padding:2px 5px;gap:4px}
.mochi-game .case-side .mochi-room-chip[aria-pressed=true]{padding:1px 4px}
.mochi-game .case-side .mochi-room-swatch{width:19px;height:19px;font-size:10px}
.mochi-game .case-side .mochi-object-chip{min-height:28px;padding:1px 4px;gap:3px}
.mochi-game .case-side .mochi-object-chip[aria-pressed=true]{padding:0 3px}
.mochi-game .case-side .mochi-object-chip svg{width:24px;height:24px}
@media(max-width:760px){
 .detective-page .article-header h1{font-size:18px;margin:0}
 .detective-page .article-intro{display:none}
 .detective-page .article-header{padding:3px 0 5px;margin-bottom:4px}
 .mochi-game{padding:9px!important}
 .mochi-game .case-head>img{width:30px;height:30px}
 .mochi-game .case-title{font-size:19px;line-height:1.1}
 .mochi-game .case-head .eyebrow{display:none}
 .mochi-game .case-sub{font-size:10px}
 .mochi-game .case-modes button{min-height:30px;font-size:11px;padding:4px}
 .mochi-case-switcher{gap:2px 7px;margin:3px 0}
 .mochi-case-switcher .mochi-options{gap:9px;justify-content:space-between}
 .mochi-game .mochi-case-switcher #file-bar{flex-basis:180px}
 .mochi-game .section-status{margin:2px 0 4px}
 .mochi-game .mochi-core-rules{font-size:11px;line-height:1.35;padding:4px 6px;margin-bottom:6px}
 .mochi-game .case-layout{gap:5px}
 .mochi-game .case-layout .mochi-map-guide{display:contents}
 .mochi-game .mochi-map-guide>h3,.mochi-game .mochi-map-guide>.mochi-map-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .mochi-game .case-layout #case-room-legend{order:0;width:100%;margin:0 0 2px;gap:4px}
 .mochi-game .case-side .mochi-room-chip{min-height:26px;padding:2px 4px;font-size:11px;gap:3px}
 .mochi-game .case-side .mochi-room-chip[aria-pressed=true]{padding:1px 3px}
 .mochi-game .case-side .mochi-room-swatch{width:17px;height:17px;font-size:10px}
 .mochi-game .case-layout #case-object-legend{order:4;width:100%;gap:4px;margin:2px 0}
 .mochi-game .case-side .mochi-furniture-group{grid-template-columns:65px minmax(0,1fr);gap:4px}
 .mochi-game .case-side .mochi-object-chip{min-height:28px;font-size:11px}
 .mochi-game .case-side .mochi-object-chip svg{width:23px;height:23px}
 .mochi-game .case-layout .mochi-map-status{order:5;width:100%;margin:0 0 2px;gap:5px}
 .mochi-game .case-layout .case-tray{order:6}
 .mochi-game .case-layout .mochi-selection{order:7}
 .mochi-game .case-layout .mochi-actions{order:8}
 .mochi-game .case-layout #case-message{order:9}
 .mochi-game .case-layout .mochi-evidence{order:10}
 .mochi-game .case-layout .case-accuse{order:11}
 .mochi-game .case-layout .mochi-extra-rules{order:12}
}
@media(max-width:359px){
 .mochi-game{padding:7px!important}
 .mochi-game .case-side .mochi-furniture-group{grid-template-columns:1fr;gap:2px}
 .mochi-game .case-layout #case-object-legend{gap:4px}
}
@media(max-width:760px){
 .detective-page .page-wrap{padding-top:6px}
 .detective-page .breadcrumbs{display:none}
 .detective-page .game-navigation-region{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:start}
 .detective-page .game-navigation-region>.game-selector{grid-column:1;grid-row:1;width:100%;min-width:0;max-width:none;margin:0;align-self:start}
 .detective-page .game-navigation-region>[data-companion-dock="mobile"]{grid-column:2;grid-row:1;margin:0;align-self:start;position:relative;z-index:2}
 .detective-page .game-navigation-region>.play-layout{grid-column:1/-1;min-width:0;width:100%}
 .detective-page .game-selector>summary{min-height:43px;padding:6px 8px;gap:6px}
 .detective-page .game-selector .home-selector-art{flex:0 0 23px;width:23px;height:25px}
 .detective-page .game-selector .home-selector-art img{width:23px;height:25px}
 .detective-page .game-selector .home-selector-label{font-size:0;min-width:0}
 .detective-page .game-selector .home-selector-label strong{font-size:11px}
 .detective-page .game-selector .home-selector-change{font-size:0;gap:0}
 .detective-page .game-selector .home-selector-chevron{font-size:17px;line-height:1}
 .detective-page [data-companion-dock="mobile"] .companion-corner{width:110px;min-height:45px;padding:7px 8px;font-size:11px;line-height:1.3;border-radius:11px}
 .detective-page .game-navigation-region>.game-selector[open]{grid-column:1/-1}
 .detective-page .game-navigation-region:has([data-companion-dock="mobile"] .companion-corner:not([hidden]))>.game-selector[open]>summary{padding-right:126px}
 .mochi-game .case-layout{gap:3px}
 .mochi-game .case-layout .mochi-clue-heading .mochi-link{min-height:24px;padding:2px 1px;line-height:1.35}
 .mochi-game .case-layout .case-clues{margin:0;padding:0;gap:3px}
 .mochi-game .case-layout .case-clues .case-clue{margin:0;padding:4px;font-size:11px;line-height:1.35;min-height:33px;align-items:center}
 .mochi-game .case-layout .case-clue-icons{gap:0}
 .mochi-game .case-layout .case-clue-icon{width:21px;height:21px}
 .mochi-game .case-layout .case-tray{order:4}
 .mochi-game .case-layout .mochi-selection{order:5}
 .mochi-game .case-layout #case-object-legend{order:6}
 .mochi-game .case-layout .mochi-map-status{order:7}
 .mochi-game .case-layout .mochi-actions{order:8}
 .mochi-game .case-layout #case-message{order:9}
 .mochi-game .case-layout .mochi-evidence{order:10}
 .mochi-game .case-layout .case-accuse{order:11}
 .mochi-game .case-layout .mochi-extra-rules{order:12}
}
@media(min-width:1024px) and (max-height:800px){
 .detective-page .article-intro{display:none}
 .detective-page .article-header{padding:2px 0 4px;margin-bottom:4px}
 .detective-page .article-header h1{font-size:18px;line-height:1.1;margin:0}
}
