.mystery-shell{max-width:1200px;margin:0 auto;padding:70px 6% 120px;color:var(--cream)}.mystery-shell h2,.mystery-shell h3{font-family:EtrangeElegant,Georgia,serif;font-weight:400}.mystery-intro{max-width:650px;font-size:20px;color:var(--muted)}.mystery-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:35px 0}.mystery-mode{padding:0;background:#10170f;color:var(--cream);border:1px solid #77684d;text-align:left;overflow:hidden}.mystery-mode img{display:block;width:100%;height:210px;object-fit:cover;filter:brightness(.65) saturate(.6)}.mystery-mode span{display:block;font:36px/1.1 EtrangeElegant,Georgia,serif;margin:22px 22px 12px}.mystery-mode small{display:block;font:12px/1.6 Arial,sans-serif;color:var(--muted);margin:0 22px 24px}.mystery-mode:hover{border-color:#d0b177;background:#1a2417}.mystery-note{font:12px/1.7 Arial,sans-serif;color:var(--muted);max-width:850px}.mystery-topbar,.mystery-round-meta,.mystery-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.mystery-topbar{padding-bottom:25px;border-bottom:1px solid #77684d66;margin-bottom:25px}.mystery-score,.mystery-round-meta>span:last-child{font:12px/1.6 Arial,sans-serif;color:var(--gold)}.mystery-text-button{border:1px solid #726650;padding:11px 14px;background:transparent;color:#c9c3b5;font:10px/1.4 Arial,sans-serif;letter-spacing:1px}.mystery-card{margin:25px 0 20px;background:#11170f;border:1px solid #746347;padding:30px;perspective:1200px}.mystery-card h2{font-size:clamp(30px,3.7vw,48px);line-height:1.15;margin:0 0 24px}.mystery-image{display:block;width:100%;max-height:390px;object-fit:contain;background:#060906;margin:auto;filter:brightness(.85) saturate(.75)}.mystery-answer-options{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.mystery-answer-options button{flex:1;min-width:135px;min-height:48px}.mystery-picture-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.mystery-picture-choice{padding:0;border:1px solid #746347;background:#080e08;color:var(--cream);text-align:left;overflow:hidden}.mystery-picture-choice .mystery-image{height:235px;object-fit:contain}.mystery-picture-choice>span{display:block;padding:18px;font:16px/1.6 Georgia,serif}.mystery-picture-choice b{display:inline-block;margin-right:5px;color:var(--gold)}.mystery-shell button:focus-visible,.mystery-evidence summary:focus-visible{outline:2px solid #cfb685;outline-offset:4px}.mystery-shell button:disabled{cursor:default;opacity:.75}.mystery-shell .mystery-correct{border:2px solid #a1ba8a;background:#263521;color:#ded7c6;opacity:1}.mystery-shell .mystery-incorrect{border:2px solid #c48b76;background:#3d241e}.mystery-result{border-top:1px solid #8c7854;margin-top:30px;padding-top:30px}.mystery-result h3{font-size:clamp(29px,3vw,40px);line-height:1.2;color:#d4bd90;margin:14px 0}.mystery-result>p{font-size:18px;line-height:1.8}.mystery-result>p.mystery-note{font-size:12px}.mystery-evidence{margin:25px 0;border:1px solid #6a604b;padding:18px 22px;color:#c5c0b3}.mystery-evidence summary{cursor:pointer;font:11px/1.6 Arial,sans-serif;letter-spacing:1px;color:var(--gold)}.mystery-evidence a{color:#cbb98e;overflow-wrap:anywhere}.mystery-evidence ul{padding-left:22px}.mystery-evidence li{margin:9px 0}.mystery-image-credit{font-size:13px;border-top:1px solid #6a604b;margin-top:22px;padding-top:17px}.mystery-bottom{margin-top:25px}.mystery-finish .actions{margin-top:35px}.mystery-turned{animation:mystery-turn .4s ease-in-out}@keyframes mystery-turn{0%{transform:perspective(1200px) rotateY(0)}45%{transform:perspective(1200px) rotateY(75deg);opacity:.65}100%{transform:perspective(1200px) rotateY(0);opacity:1}}@media(max-width:650px){.mystery-shell{padding:55px 6% 110px}.mystery-menu-grid{grid-template-columns:1fr}.mystery-mode img{height:175px}.mystery-card{padding:20px}.mystery-picture-options{grid-template-columns:1fr}.mystery-picture-choice .mystery-image{height:200px}.mystery-picture-choice>span{padding:14px}.mystery-score{font-size:11px}.mystery-result .actions{flex-direction:column}.mystery-evidence{padding:15px}.mystery-topbar{gap:14px}.mystery-answer-options button{min-width:110px;font-size:10px}}@media(prefers-reduced-motion:reduce){.mystery-turned{animation:none}}

/* Keep complete cards and images visible on narrow screens and in the full-screen dialog. */
#roomContent:has(.mystery-shell){width:100%;min-width:0;max-width:100%;overflow-x:hidden}
.mystery-shell{width:100%;min-width:0;max-width:1200px;padding-top:85px;padding-bottom:max(150px,env(safe-area-inset-bottom));overflow-wrap:anywhere}
.mystery-shell *{min-width:0}
.mystery-menu-grid,.mystery-picture-options{width:100%;align-items:stretch}
.mystery-mode,.mystery-picture-choice{width:100%;max-width:100%;height:auto;white-space:normal;display:flex;flex-direction:column;overflow:visible;border-radius:2px}
.mystery-mode img{height:auto;aspect-ratio:16/10;max-height:none;object-fit:contain;background:#060906;flex:none}
.mystery-mode span,.mystery-mode small{white-space:normal;overflow-wrap:anywhere}
.mystery-card{width:100%;max-width:100%;height:auto;min-height:0;perspective:none;padding:clamp(16px,3vw,30px)}
.mystery-image{width:100%;height:auto;max-height:390px;object-fit:contain;flex:none}
.mystery-picture-choice .mystery-image{height:auto;aspect-ratio:4/3;max-height:none;object-fit:contain}
.mystery-picture-choice>span{white-space:normal;overflow-wrap:anywhere;flex:1}
.mystery-answer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.mystery-answer-options button{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.mystery-result .actions{display:flex;flex-wrap:wrap}
.mystery-result .actions>*{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.mystery-turned{animation:mystery-reveal .25s ease-out}
@keyframes mystery-reveal{from{opacity:.55}to{opacity:1}}
@media(max-width:750px){.mystery-picture-options{grid-template-columns:1fr}.mystery-shell{padding-inline:18px}.mystery-mode span{font-size:30px}}
@media(max-width:420px){.mystery-answer-options{grid-template-columns:1fr}.mystery-shell{padding-inline:12px}.mystery-card h2{font-size:28px}.mystery-topbar>*{max-width:100%}.mystery-result .actions>*{width:100%}}
@media(prefers-reduced-motion:reduce){.mystery-turned{animation:none}}
