.clue-heading{display:flex;align-items:center;gap:14px;margin:8px 0 18px}.clue-heading>[data-game-icon]{flex:0 0 56px;width:56px;height:56px}.clue-heading h2{margin:2px 0;color:#287888;font-size:22px}.clue-heading p{margin:3px 0}.clue-progress{display:flex;gap:7px;list-style:none;padding:0;flex-wrap:wrap;margin:14px 0}.clue-progress li{display:flex;align-items:center;gap:6px;border-radius:18px;padding:6px 10px;background:#f3ead7;color:#685d46;font-size:12px}.clue-progress li.done{background:#ddf2e8;color:#315e50}.clue-progress li span{display:grid;place-items:center;width:21px;height:21px;background:#fffaf0;border-radius:50%;font-weight:700}.clue-dialogue{display:flex;align-items:center;gap:16px;background:#edf8f1;border:1px solid #afd3bd;border-radius:24px;padding:18px;margin:14px 0;color:#36564d;text-align:left}.clue-dialogue h2,.clue-dialogue h3{margin:4px 0;font-size:18px;color:#287383}.clue-dialogue p{margin:6px 0;line-height:1.7}.clue-portrait{flex:0 0 78px;display:grid;place-items:center;min-height:82px;border-radius:24px;background:#fff8e3;border:2px solid #e7d6ac}.clue-portrait canvas,.clue-portrait img{max-width:76px;max-height:88px;object-fit:contain}.clue-note{padding:13px 16px;border:1px solid #e7cf99;background:#fff3d4;border-radius:17px;margin:12px 0;color:#695332}.clue-note p{margin:4px 0}.clue-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.clue-actions button{flex:1 1 180px;min-height:46px;margin:0;text-align:center}.clue-secondary button{background:#eef5ed;color:#386352;border-color:#b7d6c4}.clue-person-name{font-weight:700;color:#325b4c}.clue-log{border:1px dashed #9ac5aa;background:#f2f8ec;border-radius:16px;padding:12px 16px;margin-top:16px}.clue-log summary{cursor:pointer;color:#3d6958;font-weight:700}.clue-log p{line-height:1.7}.clue-object{width:86px;height:86px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 2px #7d6c3b25)}.clue-cards{display:grid;gap:13px}.clue-cards article{display:flex;align-items:center;gap:16px;padding:17px;background:#fffcf1;border:1px solid #b7d6c5;border-radius:23px;box-shadow:0 3px 0 #dae8d9}.clue-cards article>div{flex:1;min-width:0}.clue-cards h3{margin:0 0 5px;color:#297587}.clue-cards p{margin:5px 0}.clue-cards small{display:block;color:#536c5e}.clue-cards button{margin-top:10px;min-height:44px}.clue-handover{display:flex;align-items:center;gap:15px;padding:12px;background:#fff4d7;border-radius:20px}.clue-memory{text-align:center;padding:22px;border:2px solid #c1d9af;background:#f4f8e8;border-radius:26px}.clue-memory .clue-object{width:140px;height:140px}.clue-memory p{max-width:530px;margin:12px auto;line-height:1.8}.clue-memory h2{color:#327e72}.clue-memory small{display:block}.clue-memory .game-rewards{justify-content:center}#clue-trail-stop{position:absolute;right:0;top:-48px;min-height:42px;padding:8px 14px;border-radius:22px;background:#fff4d6;color:#3d6555;border:2px solid #8ec2a8;font-size:13px}.clue-author-step{background:#edf6ee;border:1px solid #b9d4c0;border-radius:18px;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.clue-author-step h3,.clue-author-step .wide{grid-column:1/-1}.clue-preview-path{display:grid;gap:8px}.clue-preview-path>div{border-radius:14px;padding:12px;background:#edf6ee;border:1px solid #bdd6c0}.clue-preview-path strong{color:#2b706e}
@media(max-width:520px){.clue-heading h2{font-size:19px}.clue-heading>[data-game-icon]{flex-basis:44px;width:44px;height:44px}.clue-portrait{flex-basis:56px;min-height:64px}.clue-portrait canvas,.clue-portrait img{max-width:54px;max-height:66px}.clue-dialogue{padding:13px;gap:10px;align-items:flex-start}.clue-dialogue h3{font-size:16px}.clue-object{width:64px;height:64px}.clue-cards article{padding:13px;gap:10px;align-items:flex-start}.clue-cards h3{font-size:17px}.clue-progress{gap:4px}.clue-progress li{font-size:11px;padding:5px 7px}.clue-author-step{grid-template-columns:1fr}.clue-actions button{flex-basis:100%;font-size:14px}}
@media(prefers-reduced-motion:reduce){.clue-object{filter:none}}

#dialog #content .clue-heading>[data-game-icon]{display:grid;place-items:center;align-self:center}#dialog #content .clue-heading>[data-game-icon] :is(canvas,img){width:100%!important;height:100%!important;margin:0!important;object-fit:contain}#dialog #content .clue-heading>div{min-width:0;flex:1}#dialog #content .clue-memory .game-rewards small{white-space:nowrap}.clue-author-cover{width:130px!important;height:130px!important;object-fit:contain!important}.author-entry:has(img[src*="/v34/"]) img{object-fit:contain}

#dialog #content .clue-memory :is(h2,p){text-align:center}
