.quest-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0 0 24px; }
.quest-overview>section { border:1px solid #4a4940; border-radius:9px; padding:22px; background:radial-gradient(ellipse at top left,#53482b33,transparent 85%),var(--panel); min-width:0; }
.quest-overview h3 { margin:8px 0; font-size:15px; font-weight:500; color:var(--muted); }
.quest-overview strong { display:block; color:var(--gold); font-size:32px; font-weight:550; }
.quest-overview strong small { color:var(--muted); font-size:14px; }
.quest-overview p { margin:10px 0; font-size:12px; }
.quest-overview>section>small { color:var(--muted); font-size:11px; }
.quest-filter { display:flex; gap:12px; margin-bottom:16px; }
.quest-filter input { flex:1; min-width:0; }
.quest-filter select { max-width:180px; }
.quest-workbench { display:grid; grid-template-columns:minmax(230px,300px) minmax(0,1fr); gap:20px; margin-bottom:28px; align-items:start; }
.quest-list { display:flex; flex-direction:column; gap:5px; max-height:760px; overflow:auto; border:1px solid var(--line); padding:7px; border-radius:8px; background:#111617; }
.quest-list>button { text-align:left; padding:14px; background:transparent; border:1px solid transparent; border-radius:5px; min-width:0; }
.quest-list>button>span { display:block; font-size:14px; line-height:1.5; color:var(--text); }
.quest-list>button>small { display:block; font-size:10px; overflow-wrap:anywhere; margin:3px 0 10px; color:var(--muted); }
.quest-list>button>div { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.quest-list>button>div>small { font-size:10px; color:var(--muted); }
.quest-list>button[aria-pressed=true] { border-color:#8b7951; background:#3e3928; }
.quest-list>button:hover { background:#2a302b; }
.quest-tag { display:inline-block; border:1px solid #677c614f; color:#b9d69b; background:#718e5517; padding:2px 6px; border-radius:3px; font-size:10px; line-height:1.5; margin-right:3px; }
.quest-tag.relic { color:#e8c47a; background:#b48b2b19; border-color:#b48b2b44; }
.quest-detail { min-width:0; border:1px solid #60543d; padding:25px; border-radius:9px; background:linear-gradient(145deg,#29291e55,transparent 50%),var(--panel); }
.quest-detail-heading { display:flex; gap:14px; justify-content:space-between; align-items:start; }
.quest-detail-heading h3 { font-size:23px; font-weight:500; color:#f1d7a5; margin:9px 0; }
.quest-detail code { color:var(--muted); font-size:11px; overflow-wrap:anywhere; }
.quest-stage-badge { display:grid; place-items:center; border:1px solid #78623d; background:#201e17; color:#e7c985; border-radius:8px; min-width:55px; padding:10px; font-size:25px; font-variant-numeric:tabular-nums; }
.quest-current-stage { color:var(--accent); line-height:1.7; margin:23px 0 12px; font-size:16px; }
.quest-description { white-space:pre-line; color:#b7c0b9; font-size:13px; line-height:1.9; }
.quest-impact { display:flex; flex-direction:column; gap:6px; border:1px solid #444638; background:#181d18; border-radius:5px; padding:14px 16px; margin:20px 0 12px; }
.quest-impact span { font-size:13px; }
.quest-impact b { color:var(--gold); margin-left:8px; }
.quest-impact small { color:var(--muted); font-size:11px; }
.quest-stage-editor { padding:18px 0; }
.quest-stage-editor>label,.quest-stage-manual label { display:block; color:var(--muted); margin-bottom:8px; font-size:12px; }
.quest-stage-editor>select { width:100%; min-width:0; text-overflow:ellipsis; }
.quest-stage-manual { margin:8px 0 20px; }
.quest-stage-manual input { min-width:0; width:140px; }
.quest-stage-manual .toolbar { display:flex; flex-wrap:wrap; gap:8px; }
.quest-timeline { border-top:1px solid var(--line); padding-top:18px; }
.quest-timeline ol { list-style:none; padding:12px 0 0; margin:0; max-height:390px; overflow:auto; }
.quest-timeline li { display:flex; align-items:start; gap:14px; padding:8px; color:var(--muted); font-size:12px; }
.quest-timeline li b { flex:none; width:24px; color:#8f8f76; }
.quest-timeline li small { display:block; margin-top:4px; font-size:10px; opacity:.7; }
.quest-timeline li.current { color:var(--accent); border-radius:4px; background:#58694327; }
.quest-timeline li.current b { color:var(--accent); }
.quest-timeline li.passed { color:#d2c397; }
.quest-edit-note { border-top:1px solid var(--line); color:var(--muted); margin-top:23px; padding-top:17px; font-size:12px; line-height:1.8; }
.quest-records>details { border-bottom:1px solid var(--line); padding:14px 0; }
.quest-records summary { line-height:1.8; }
.quest-records summary small { color:var(--muted); font-weight:400; }
.quest-records p { font-size:13px; color:var(--muted); line-height:1.7; white-space:pre-line; }
.quest-change { display:grid; grid-template-columns:1fr auto 1fr; gap:18px; border:1px solid var(--line); padding:18px; border-radius:7px; }
.quest-change p { margin:7px 0 0; font-size:13px; line-height:1.6; }
.quest-change small { color:var(--muted); }
.quest-change>span { color:var(--gold); align-self:center; }
.quest-change-effects { display:flex; flex-wrap:wrap; gap:20px 40px; padding:4px 0 12px; border-bottom:1px solid var(--line); }
.quest-change-effects dt { color:var(--muted); font-size:12px; margin-bottom:5px; }
.quest-change-effects dd { margin:0; color:var(--gold); font-size:18px; }
.ether-quest-link { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding:18px 20px; margin-bottom:20px; border:1px solid #5a4e39; border-radius:8px; background:#2e2b2055; }
.ether-quest-link b { color:var(--gold); }
.ether-quest-link small { display:block; color:var(--muted); margin-top:6px; font-size:11px; }
@media(max-width:1100px) { .quest-workbench { grid-template-columns:230px minmax(0,1fr); gap:12px; } .quest-detail { padding:20px; } .quest-overview { gap:10px; } .quest-overview>section { padding:17px; } }
@media(max-width:900px) { .quest-overview { grid-template-columns:1fr; } .quest-overview>section { display:grid; grid-template-columns:1fr auto; gap:6px 15px; align-items:center; } .quest-overview h3 { margin:0; } .quest-overview .eyebrow { grid-column:1; } .quest-overview strong { grid-column:2; grid-row:1/3; font-size:26px; } .quest-overview p { grid-column:1/-1; margin:2px 0; } .quest-overview>section>small { grid-column:1/-1; } .quest-overview button { grid-column:1/-1; justify-self:start; } .quest-workbench { grid-template-columns:1fr; } .quest-list { max-height:280px; } }
@media(max-width:500px) { .quest-filter { flex-wrap:wrap; } .quest-filter input { flex-basis:100%; } .quest-filter select { max-width:none; width:100%; } .quest-detail { padding:18px 14px; } .quest-detail-heading h3 { font-size:20px; } .quest-change { grid-template-columns:1fr; gap:10px; } .quest-change>span { transform:rotate(90deg); justify-self:center; } }
