/* Quest foundation — inherits the current Hermes accent and typography. */
.portal-grid.quests-active { display:block; }
.quest-workspace { --quest-line:rgba(215,232,231,.13); color:#d3dedc; width:100%; padding-bottom:36px; }
.quest-workspace button { font:inherit; cursor:pointer; }
.quest-workspace button:disabled { opacity:.5; cursor:wait; }
.quest-workspace button:focus-visible,.quest-notices button:focus-visible { outline:2px solid var(--accent,#82f4ee); outline-offset:5px; }
.quest-eyebrow { display:block; color:rgba(var(--accent-rgb,130,244,238),.8); font-size:11px; letter-spacing:.15em; line-height:1.5; }
.quest-intro { display:flex; justify-content:space-between; align-items:baseline; gap:24px; margin-bottom:26px; }
.quest-intro p { margin:0; font-size:14px; color:#8c9b99; }
.quest-givers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.quest-giver { position:relative; display:flex; gap:28px; align-items:center; text-align:left; color:inherit; padding:34px 30px; min-height:224px; border:1px solid var(--quest-line); border-radius:4px; background:linear-gradient(125deg,rgba(var(--accent-rgb,130,244,238),.055),rgba(10,16,17,.32)); transition:border-color .18s,background .18s; }
.quest-giver:hover,.quest-giver.selected { border-color:rgba(var(--accent-rgb,130,244,238),.58); background:linear-gradient(125deg,rgba(var(--accent-rgb,130,244,238),.095),rgba(10,16,17,.4)); }
.quest-giver-sigil { display:grid; place-items:center; flex:0 0 84px; width:84px; height:84px; color:var(--accent,#82f4ee); font-family:Georgia,serif; font-size:40px; border:1px solid rgba(var(--accent-rgb,130,244,238),.33); border-radius:50%; box-shadow:0 0 0 9px rgba(var(--accent-rgb,130,244,238),.025); }
.quest-giver-copy { min-width:0; }
.quest-giver h2 { margin:10px 0; color:#e2ebe9; font-size:30px; font-weight:400; letter-spacing:.04em; }
.quest-giver p { margin:0 0 24px; max-width:36ch; color:#98a8a5; font-size:14px; line-height:1.6; }
.quest-giver-count { color:var(--accent,#82f4ee); font-size:12px; letter-spacing:.025em; }
.quest-welcome { padding:40px 0; color:#899995; font-size:14px; }
.quest-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:22px; margin:42px 0 22px; }
.quest-toolbar h2 { margin:0; font-size:21px; font-weight:400; }
.quest-filters { display:flex; gap:6px; flex-wrap:wrap; }
.quest-filter { padding:10px 15px; color:#98a6a4; border:1px solid transparent; border-radius:3px; background:transparent; font-size:13px!important; }
.quest-filter[aria-pressed="true"] { color:var(--accent,#82f4ee); border-color:var(--quest-line); background:rgba(var(--accent-rgb,130,244,238),.045); }
.quest-layout { display:grid; grid-template-columns:minmax(210px,.3fr) minmax(0,.7fr); gap:38px; align-items:start; }
.quest-list { display:flex; flex-direction:column; gap:2px; }
.quest-list-item { display:block; width:100%; text-align:left; padding:22px 18px; border:0; border-left:2px solid transparent; color:#a7b5b2; background:transparent; }
.quest-list-item[aria-pressed="true"] { border-left-color:var(--accent,#82f4ee); background:rgba(var(--accent-rgb,130,244,238),.055); color:#e1eae7; }
.quest-list-item strong { display:block; font-weight:400; font-size:16px; line-height:1.5; overflow-wrap:anywhere; }
.quest-list-item small { margin-bottom:6px; }
.quest-list-state { display:block; margin-top:9px; font-size:10px; letter-spacing:.12em; color:#96aaa4; }
.quest-detail { min-width:0; padding:26px 0 20px 32px; border-left:1px solid var(--quest-line); }
.quest-detail h2 { font-size:28px; line-height:1.3; font-weight:400; margin:12px 0 24px; overflow-wrap:anywhere; }
.quest-story { font-size:15px; line-height:1.8; color:#b0bfba; white-space:pre-line; overflow-wrap:anywhere; }
.quest-muted { color:#94a59e; font-size:13px; line-height:1.65; }
.quest-deadline { color:#c0cec8; font-size:13px; line-height:1.6; }
.quest-section-label { font-size:11px; letter-spacing:.14em; color:#9cafa6; font-weight:400; margin:30px 0 16px; }
.quest-objectives,.quest-rewards { list-style:none; padding:0; margin:0; }
.quest-objective { margin:0 0 20px; }
.quest-objective-label { display:flex; justify-content:space-between; gap:18px; font-size:14px; line-height:1.5; }
.quest-count { flex-shrink:0; font-variant-numeric:tabular-nums; color:var(--accent,#82f4ee); }
.quest-progress { display:block; width:100%; height:4px; margin:12px 0 8px; border:none; background:#23322c; accent-color:var(--accent,#82f4ee); }
.quest-progress::-webkit-progress-bar { background:#23322c; }
.quest-progress::-webkit-progress-value { background:var(--accent,#82f4ee); }
.quest-progress::-moz-progress-bar { background:var(--accent,#82f4ee); }
.quest-rewards li { padding:9px 0; border-bottom:1px solid rgba(215,232,231,.06); font-size:14px; color:#c0d4c9; overflow-wrap:anywhere; }
.quest-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin-top:28px; }
.quest-button { background:transparent; color:#cdded4; border:1px solid var(--quest-line); padding:12px 18px; border-radius:3px; font-size:13px!important; }
.quest-button:hover { border-color:var(--accent,#82f4ee); }
.quest-button.quest-primary { color:#0b1916; background:var(--accent,#82f4ee); border-color:var(--accent,#82f4ee); }
.quest-text-button { padding:6px 0; color:#a0b3a7; border:0; background:transparent; text-decoration:underline; text-underline-offset:4px; font-size:12px!important; cursor:pointer; }
.quest-abandon-confirmation { padding:18px; border:1px solid var(--quest-line); font-size:14px; }
.quest-abandon-confirmation .quest-button { margin-right:10px; }
.quest-last-completion { margin-top:30px; padding-top:22px; border-top:1px solid var(--quest-line); }
.quest-last-completion p { margin:10px 0; font-size:14px; }
.quest-empty { padding:38px 24px; border-top:1px solid var(--quest-line); border-bottom:1px solid var(--quest-line); font-size:15px; }
.quest-empty h3 { font-weight:400; font-size:19px; }
.quest-error,.quest-action-error { color:#e5b18f; }
.quest-action-error { font-size:14px; }
.quest-notices { position:fixed; right:24px; bottom:24px; z-index:10050; width:min(380px,calc(100vw - 32px)); display:grid; gap:12px; }
.quest-notice { padding:24px; color:#d3e2da; background:rgba(7,19,17,.98); border:1px solid rgba(var(--accent-rgb,130,244,238),.45); box-shadow:0 12px 36px rgba(0,0,0,.35); border-radius:4px; }
.quest-notice h3 { font-size:20px; font-weight:400; margin:12px 0; overflow-wrap:anywhere; }
.quest-notice p { font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
@media(max-width:1100px) {
 .quest-giver { padding:26px 22px; gap:20px; }
 .quest-giver-sigil { flex-basis:62px; width:62px; height:62px; font-size:31px; }
 .quest-layout { grid-template-columns:minmax(180px,.32fr) minmax(0,.68fr); gap:18px; }
 .quest-detail { padding-left:22px; }
}
@media(max-width:720px) {
 .quest-intro { display:block; }
 .quest-intro p { margin-top:12px; line-height:1.6; }
 .quest-givers { grid-template-columns:1fr; gap:14px; }
 .quest-giver { min-height:180px; }
 .quest-giver h2 { font-size:27px; }
 .quest-giver p { margin-bottom:16px; }
 .quest-layout { grid-template-columns:1fr; }
 .quest-list { max-height:280px; overflow-y:auto; }
 .quest-detail { border-left:0; border-top:1px solid var(--quest-line); padding:24px 0; }
 .quest-toolbar { margin-top:30px; }
 .quest-notices { right:16px; bottom:16px; }
}
@media(prefers-reduced-motion:reduce) { .quest-giver { transition:none; } }
