.story-atlas{display:block;flex:none;width:100%;aspect-ratio:2/3;background-size:400% 200%;background-repeat:no-repeat;background-position:0 0;animation:story-atlas-frames var(--atlas-duration,3200ms) steps(1,end) infinite;pointer-events:none}
.story-atlas.still{animation:none}
.story-rift-art{background-image:url('/assets/art/story-0485/green-rift-sprites.png');--atlas-duration:1600ms;filter:drop-shadow(0 0 9px #6ef1ad44)}
@keyframes story-atlas-frames{0%,100%{background-position:0 0}12.5%{background-position:33.333333% 0}25%{background-position:66.666667% 0}37.5%{background-position:100% 0}50%{background-position:0 100%}62.5%{background-position:33.333333% 100%}75%{background-position:66.666667% 100%}87.5%{background-position:100% 100%}}
.story-quests>summary>.story-atlas{width:38px;height:48px}
.story-card{position:relative;display:flex;align-items:center;gap:18px;min-width:0;padding:20px 16px;border:1px solid #638c744d;border-radius:14px;background:radial-gradient(ellipse at 0 50%,#37684e33,transparent 65%),#0a1722;margin-bottom:12px}
.story-card:last-child{margin-bottom:0}.story-card-art{width:94px;flex:none}.story-card-copy{flex:1;min-width:0}.story-card-copy>small{font:10px system-ui;color:#abd9bd;letter-spacing:.6px}.story-card h3{margin:8px 0;color:#e0eee7;font:22px/1.25 Georgia}.story-card p{font:12px/1.6 system-ui;color:#b3c7c0}.story-card .reward-ready-badge{position:absolute;right:9px;top:9px}.story-card.has-reward{animation:story-ready 2.8s ease-in-out infinite}
.story-objective{margin:15px 0;font:12px system-ui;color:#d2e2dc}.story-objective>span{display:flex;justify-content:space-between;gap:8px}.story-objective b{white-space:nowrap;color:#bcebd1;font-variant-numeric:tabular-nums}.story-objective .book-progress{margin-top:8px;height:7px}.story-objective .book-progress i{background:linear-gradient(90deg,#358f6b,#b2f4b1)}
.story-rewards{display:flex;align-items:center;gap:20px;margin:12px 0;color:#e4e5c6}.story-rewards .resource-amount{display:inline-flex;align-items:center;gap:5px}
.story-conversation{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:22px;min-width:0;padding:6px 2px 10px}.story-character{position:sticky;top:0;isolation:isolate;margin-top:24px}.story-character:before{content:'';position:absolute;inset:10% 2% 0;z-index:-1;background:radial-gradient(ellipse,#74ec9d30,transparent 68%);animation:story-aura 3s ease-in-out infinite}.story-character .story-atlas{filter:drop-shadow(0 0 9px #67e6a344)}
.story-conversation-copy{min-width:0}.story-conversation h2{margin:10px 0;color:#dbf2e4}.story-conversation .eyebrow{font-size:9px;letter-spacing:1.3px;color:#96c9ac}.story-speech{font:17px/1.8 Georgia;color:#d0e3da;margin:15px 0 20px}.story-task{padding:16px;border:1px solid #75ad8e3b;border-radius:12px;background:#10262055}.story-task>small{font:10px/1.5 system-ui;color:#9ab4a6}.story-task h3{font:21px Georgia;color:#dbeadf;margin:6px 0 12px}.story-task p,.story-unlock{font:12px/1.7 system-ui;color:#aacbb8}.story-unlock{padding-left:10px;border-left:2px solid #71c09270;margin:16px 0}.story-dialog-actions{display:grid;gap:9px;margin-top:18px}.story-conversation .primary,.story-rift-popup .primary{border-color:#77ce9c99;background:linear-gradient(130deg,#244a3c,#122c2b);color:#e6f5df}
.story-rift-popup{text-align:center;padding:0 0 15px}.story-rift-hero{width:140px;margin:0 auto 18px}.story-rift-popup h2{margin:10px 0;color:#d9f0e2}.story-rift-popup p{font:15px/1.8 Georgia;color:#bad1c4;margin:15px 0 25px}.story-rift-popup .eyebrow{color:#9bd5b1}
.npc-avatar{display:block;position:relative;width:100%;height:100%;overflow:hidden;background:radial-gradient(#315c48,#081913)}.npc-avatar>.story-atlas{position:absolute;width:175%;left:-37.5%;top:-8%;filter:drop-shadow(0 0 4px #68e49b66)}
.world-place[data-poi-type=story] .poi-art{height:calc(126px * var(--actor-scale,1));width:calc(84px * var(--actor-scale,1));background-size:400% 200%;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 0 7px #78ffa34d)}
.world-place[data-poi-type=story] .actor-label{border-color:#87d7a380;color:#d9f9e3;background:#132d26ec}
@keyframes story-aura{50%{opacity:.6;transform:scale(.96)}}@keyframes story-ready{50%{border-color:#9ae4b6;box-shadow:inset 0 0 22px #80f6aa16,0 0 12px #72ee9b18}}
.story-view[data-motion=reduced] .story-atlas,.story-view[data-motion=reduced] .story-character:before{animation:none}
@media(max-width:600px){.story-conversation{grid-template-columns:minmax(0,1fr);gap:4px}.story-character{position:relative;top:auto;width:120px;justify-self:center;margin:0}.story-conversation-copy>.eyebrow,.story-conversation-copy>h2{text-align:center;display:block}.story-speech{font-size:16px;line-height:1.65}.story-card{padding:16px 12px;gap:12px}.story-card-art{width:66px}.story-card h3{font-size:19px}.story-rewards{gap:12px}.story-task{padding:12px}}
@media(prefers-reduced-motion:reduce){.story-atlas,.story-character:before,.story-card.has-reward{animation:none}}

.story-item-rewards{display:grid;gap:7px;margin:10px 0 16px}.story-item-reward{display:flex;align-items:center;gap:10px;min-width:0;padding:7px 9px;border:1px solid #7ac99833;border-radius:8px;background:linear-gradient(110deg,#24483a55,#0a172233);font:12px/1.5 system-ui;color:#cde7d6}.story-item-reward img{width:42px;height:42px;object-fit:contain;flex:none;filter:drop-shadow(0 0 5px #63d89933)}.story-item-reward span{min-width:0;overflow-wrap:anywhere}.story-item-reward b{color:#e3eccc}.story-capacity{padding:12px;border:1px solid #c9b87c55;border-radius:8px;color:#e3d5a5;font:12px/1.65 system-ui}
.story-wait>span{display:block;margin-top:5px}.story-wait b{display:inline-block;color:#c4eccf;white-space:nowrap;font-variant-numeric:tabular-nums}
.story-upcoming{margin-bottom:16px;padding:14px 16px;border:1px solid #638c744d;border-radius:12px;background:linear-gradient(110deg,#234c3633,#0a1722)}.story-upcoming .story-wait{margin:0;font:13px/1.7 system-ui;color:#bad8c7}.story-completed>h3{margin:18px 0 12px;font:15px/1.4 Georgia;color:#a0b5ab}.story-completed .story-card{border-color:#638c742b;background:#0a1722}
