.quest-question{box-sizing:border-box;display:inline-grid;place-items:center;width:32px;height:36px;flex:none;background:#262119;border:1px solid #8a7654;border-radius:7px;color:#d9c49e;font:bold 21px Georgia}
#diary-quests .qs-unknown{border-left-color:#73664f}.quest-mystery{display:grid;justify-items:center;gap:11px;padding:36px 10px;color:#d8c7a7}.quest-mystery .quest-question{width:56px;height:60px;font-size:36px}.quest-mystery h3{margin:0}
.quest-pin-slot:empty{display:none}
.quest-pin-card,.quest-pin-toggle{cursor:pointer;color:#fae8bf;border:1px solid #a48551;border-radius:9px;background:linear-gradient(110deg,#443520,#211b15);font:600 12px system-ui}
.quest-pin-card{box-sizing:border-box;width:100%;min-width:0;display:flex;align-items:center;gap:9px;padding:6px 10px;text-align:left;pointer-events:auto}
.quest-pin-card img{width:26px;height:26px;object-fit:contain}.quest-pin-card span{display:grid;gap:2px;min-width:0;flex:1}.quest-pin-card small{color:#dcc79d;font:600 10px system-ui}.quest-pin-card strong{font:600 13px/1.2 system-ui}.quest-pin-card b{font:700 12px system-ui;white-space:nowrap;color:#f6d593;font-variant-numeric:tabular-nums}.quest-pin-card:focus-visible,.quest-pin-toggle:focus-visible{outline:2px solid #e6bb6e;outline-offset:1px}
#center-column>.quest-pin-slot{margin-bottom:4px;flex:none}#scene-battle>.quest-pin-slot{max-width:760px;margin:0 auto 4px}
.quest-pin-toggle{padding:6px 10px;margin:8px 0 0}.quest-pin-toggle[aria-pressed=true]{border-color:#78a789;color:#c5f1d5}
#w3d-overlay>.quest-pin-slot,#w3db-hud>.quest-pin-slot{position:absolute;z-index:21;width:min(285px,44vw)}#w3d-overlay>.quest-pin-slot{right:12px;bottom:68px}#w3db-hud>.quest-pin-slot{left:10px;top:14px;width:min(245px,24vw)}.has-quest-pin #w3d-quest{display:none!important}
@media(max-width:700px){#w3db-hud>.quest-pin-slot{top:100px;width:min(210px,47vw)}.quest-pin-card img{width:20px;height:20px}.quest-pin-card{gap:5px;padding:5px 7px}.quest-pin-card strong{font-size:12px}}
#diary-quests .quest-row{box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;color:#e8d8b9;text-align:left;background:linear-gradient(115deg,#29241c,#201d17);border:1px solid #554934;border-left:3px solid #786344;padding:7px}
#diary-quests .quest-row.sel{background:linear-gradient(110deg,#463823,#282218);border-color:#b18b50}
.quest-row span{min-width:0}.quest-row b,.quest-row small{display:block;overflow-wrap:anywhere}.quest-row b{font:600 14px Georgia,serif}.quest-row small{font:10px system-ui;color:#bfb194;margin-top:3px}
.quest-art{width:29px;height:29px;flex:none;object-fit:contain;border-radius:50%}
#diary-quests .qs-ready{border-left-color:#81b8ca}#diary-quests .qs-active{border-left-color:#dfb04d}.quest-row.qs-done b,.quest-steps .complete strong{text-decoration:line-through;color:#aaab92}
#diary-quest-detail{color:#eee2c8;font:13px/1.45 system-ui;text-align:left}
.quest-head{display:flex;align-items:center;gap:10px;padding:8px 0 12px;border-bottom:1px solid #715d3a}.quest-head img{width:54px;height:60px;object-fit:cover;border:1px solid #9c8049;border-radius:7px}.quest-head small{font:600 9px system-ui;letter-spacing:.16em;color:#bca77e}.quest-head h3{margin:2px 0;text-align:left;color:#ffe2a3;font:700 20px/1.14 Georgia}.quest-head p,.quest-next{margin:3px 0;color:#c4b699;font-size:12px}
.quest-summary{padding:9px 11px;background:#292218;border-left:2px solid #ac8a50;margin:10px 0;color:#ead7b3;font:italic 14px/1.35 Georgia}
.quest-progress{display:flex;justify-content:space-between;margin-top:10px;color:#e8c27b;font:650 12px system-ui}
.quest-steps{padding:0;list-style:none;margin:10px 0}.quest-steps li{display:flex;align-items:center;gap:8px;border:1px solid #534833;background:#242019;border-radius:6px;padding:7px;margin-top:5px}.quest-steps li.current{border-color:#b49151;background:#382d1c}.quest-steps small,.quest-steps strong{display:block}.quest-steps small{font:10px system-ui;color:#c1ac87}.quest-steps strong{font-size:13px}.quest-steps li>b{margin-left:auto;color:#efd7a1;font:600 12px system-ui;white-space:nowrap}
.quest-next{margin:7px 0 11px}.quest-hint button{display:inline-flex;align-items:center;gap:6px;border:1px solid #977849;border-radius:5px;padding:5px 10px;background:#34291b;color:#f2d8a6;cursor:pointer;font-weight:600}.quest-hint img,.quest-rewards img{width:21px;height:21px;object-fit:contain;border-radius:50%}
.quest-hint p{white-space:pre-line;padding:9px;border:1px solid #675637;background:#211e17;color:#e6d6b7;font-size:12px}.quest-rewards{display:flex;gap:5px;flex-wrap:wrap}.quest-rewards span{display:flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid #6b5738;border-radius:5px;font-size:11px}
#diary-quest-detail h4{margin:10px 0 5px;color:#efd8a8;font:600 15px Georgia}
#diary-modal .diary-bookmark img{width:17px;height:17px;vertical-align:middle;border-radius:50%;margin-right:4px}
@media(max-width:650px){#diary-quests.diary-book-pages{display:flex;flex-direction:column}#diary-quests .diary-page-left{max-height:24vh;overflow:auto}#diary-quests .diary-page-right{max-height:48vh;overflow:auto}#diary-quests .diary-spine{display:none}.quest-head h3{font-size:17px}}
