.story-journal{color:#ede5d5;background:#111e25;border:1px solid #9e8860;width:min(1120px,94vw);max-width:94vw;height:min(800px,90dvh);max-height:90dvh;padding:20px;box-sizing:border-box;overflow:hidden;font:15px/1.7 system-ui;display:flex;flex-direction:column}.story-journal::backdrop{background:#050b13cc}.story-journal header{display:flex;justify-content:space-between;align-items:center;gap:15px;flex:none}.story-journal h2{margin:.2em 0 .6em;font-size:24px}.story-journal small,.story-voice{color:#c4b48d}.story-journal button,.story-journal input,.story-journal select{font:inherit;color:inherit;background:#233039;border:1px solid #746c58;padding:8px;cursor:pointer}.story-journal button:disabled{opacity:.4;cursor:default}.story-journal button:hover:not(:disabled),.story-entry.active{background:#51472f}.story-journal a{color:#ecd79b}.story-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;flex:none}.story-tools input{min-width:160px;flex:1 1 240px}.story-columns{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;min-height:0;flex:1;overflow:hidden}.story-columns nav{display:flex;flex-direction:column;min-height:0}.story-list,#storyList{overflow:auto;min-height:0;flex:1}.story-columns article{overflow:auto;min-width:0;padding-right:5px}.story-entry{display:block;width:100%;text-align:left;margin-bottom:5px}.story-pages{display:flex;align-items:center;justify-content:space-between;gap:5px;flex:none}.story-pages button{font-size:12px}.story-art{height:clamp(150px,28dvh,205px);position:relative;overflow:hidden;background:linear-gradient(135deg,#14242c,#20333b)}.story-art>img:first-child{width:100%;height:100%;object-fit:cover;filter:brightness(.75)}.story-art .story-portrait{position:absolute;height:88%;width:38%;right:3%;bottom:6%;object-fit:contain}.story-art span{position:absolute;bottom:10px;left:14px;text-shadow:0 1px 5px #000;background:#111a22dd;padding:3px 9px}.story-art-retry{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:2}.story-art.asset-error::before{content:'原畫暫時無法載入';position:absolute;inset:35% 0 auto;text-align:center;color:#c4b48d}.story-copy{padding:15px 4px}.story-copy p{margin:10px 0}.story-objective{border-left:3px solid #d4b365;padding:6px 12px;background:#28343b}#storyActions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.story-chapters{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.story-chapters [aria-current]{border-color:#ffe29d;background:#685433}.story-chapters button{min-width:36px}.story-journal button:focus-visible{outline:3px solid #e8d29d;outline-offset:2px}.story-library{margin:0;background:#07141c;display:flex;justify-content:center}.story-library .story-journal{height:auto;max-height:none;min-height:100vh;margin:0;overflow:visible}.story-library .story-columns{overflow:visible}.story-library .story-columns article{overflow:visible}#storyTrack{font-size:12px;color:#e9d29a;line-height:1.5}.quest #storyOpen{margin-top:7px}@media(max-width:680px){.story-journal{padding:12px;overflow:auto}.story-columns{display:block;overflow:visible}.story-columns nav{max-height:180px;overflow:auto;display:block}.story-columns article{overflow:visible;padding-right:0}.story-art{height:185px}.story-journal header h2{font-size:20px}.story-tools input{width:100%}}
.story-journal header{position:static;inset:auto;transform:none;width:auto;padding:0;background:none;z-index:auto;pointer-events:auto}.story-journal header small{display:block;letter-spacing:.04em}.story-journal h2{letter-spacing:.05em}.story-copy p{font-size:15px;line-height:1.8}.story-copy small{font-size:12px;letter-spacing:0}.story-journal{margin:auto}.story-journal .story-art{height:205px}.story-finding{margin:14px 0;padding:12px 14px;border:1px solid #8f7748;background:linear-gradient(135deg,#1c2a31,#2c2a20)}.story-finding strong{color:#f0d58e;letter-spacing:.08em}.story-finding ol{margin:8px 0 0;padding-left:22px;color:#d9cfba}
