/* Mystery Isle (Foghaven): colours for the shared island HUD and dialog (isle-common.css), the magnifying-glass
   flash when a clue is searched, the Detective Notebook (lined paper) and the Chief Detective badge. */
#mystery-hud{--isle-main:#2b3a55;--isle-accent:#ffd27a;--isle-ink:#22304a;--isle-soft:#fbf6ea;--isle-good:#8fe3a1;--isle-bad:#ff7a6b}
.my-panel{--isle-main:#2b3a55;--isle-accent:#ffd27a;--isle-ink:#22304a;--isle-soft:#fbf6ea}
#mystery-hud .ih-quest{background:color-mix(in srgb,#2b3a55 90%,transparent);box-shadow:0 3px 0 rgba(0,0,0,.35),0 0 18px rgba(255,210,122,.25)}
#mystery-hud .my-badge{background:linear-gradient(90deg,#7a3b52,#2b3a55);border-color:#ffd27a}
/* Magnifying glass that pops up over the screen while a clue is searched */
#mystery-hud .my-lens{position:absolute;left:50%;top:44%;width:180px;height:180px;margin:-90px 0 0 -90px;border-radius:50%;border:10px solid #c9a227;pointer-events:none;opacity:0;transform:scale(.3);
 box-shadow:0 0 0 6px rgba(43,58,85,.55),inset 0 0 40px rgba(255,255,255,.55);background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.4),rgba(200,235,255,.14) 55%,transparent 72%)}
#mystery-hud .my-lens::after{content:'';position:absolute;width:22px;height:90px;border-radius:11px;background:#5a3b2a;right:-34px;bottom:-80px;transform:rotate(-45deg)}
#mystery-hud.my-searching .my-lens{animation:my-lens 1.4s ease-out}
@keyframes my-lens{0%{opacity:0;transform:scale(.3) rotate(-20deg)}25%{opacity:1;transform:scale(1.08) rotate(0)}70%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.25)}}
/* The guide's dialog: case header, notebook pages, letters and the award */
.my-panel .my-casehead{display:flex;gap:12px;align-items:center}
.my-panel .my-caseicon{font-size:40px;line-height:1}
.my-panel .my-casehead small{display:block;font-weight:800;letter-spacing:.08em;opacity:.7}
.my-panel .my-casehead b{font-size:22px;line-height:1.2}
.my-panel .my-h{margin:6px 0 0;font-size:18px}
.my-panel .my-notes li{background:#fffdf5 repeating-linear-gradient(transparent 0 27px,rgba(43,58,85,.1) 27px 28px);border-left:6px solid #c0504d}
.my-panel .my-notes li.locked{border-left-color:#c9c3b5}
.my-panel .my-notes small{opacity:.75}
.my-panel .my-fact{margin:6px 0 0;font-size:16px;line-height:1.45;color:#22304a}
.my-panel .my-unknown{opacity:.6;font-style:italic}
.my-panel .my-letters li{font-size:16px;line-height:1.4}
.my-panel .my-award{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,#fff6d6,#ffe9a8);border-color:#c9a227}
.my-panel .my-medal{font-size:46px;line-height:1}
.my-panel .my-award p{margin:2px 0 0}
.my-panel .ip-go,.my-panel .ip-reset{min-height:48px}
/* Case board (free case files), the active file, the detective rank and the archive; the room investigation */
#mystery-hud .my-rank{background:linear-gradient(90deg,#2b3a55,#3f5a7a);border-color:#ffd27a}
.my-panel .my-files li{display:flex;gap:12px;align-items:center;background:#fffdf5;border-left:6px solid #c9a227}
.my-panel .my-files li.now{border-left-color:#2f8f5b;background:#f1fbf3}
.my-panel .my-files li>div{flex:1;min-width:0}
.my-panel .my-files small{display:block;opacity:.8;line-height:1.35}
.my-panel .my-files .ip-go{min-height:44px;white-space:nowrap}
.my-panel .my-fileicon{font-size:36px;line-height:1}
.my-panel .my-active{background:#f1fbf3;border-color:#2f8f5b}
.my-panel .my-rankcard{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,#eef3fb,#dbe6f6);border-color:#3f5a7a}
.my-panel .my-rankcard p{margin:2px 0 0}
.my-panel .my-archive li{font-size:15px}
.my-panel .my-room{margin-top:10px;padding:10px;border-radius:12px;background:#f3f6fb}
.my-panel .my-room-tiers{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:420px){.my-panel .my-files li{flex-wrap:wrap}.my-panel .my-files .ip-go{width:100%}.my-panel .my-casehead b{font-size:18px}.my-panel .my-caseicon{font-size:32px}.my-panel .my-fact{font-size:15px}#mystery-hud .my-lens{width:140px;height:140px;margin:-70px 0 0 -70px}}
