/* FellowTrail launcher visual language, shared across the journal and community. */
:root,:root[data-theme=azeroth]{--bg:#0a111b;--panel:#111f2f;--surface:#111f2f;--line:#293d51;--edge:#293d51;--text:#e5edf5;--muted:#9fb3c8;--accent:#e5bd70;--gold:#e5bd70;--blue:#65bdeb;--ft-field:#152334;--ft-glow:#1e3349;--ft-radius:14px}
body{background:var(--bg);color:var(--text);font-family:'Segoe UI',system-ui,sans-serif}
html[data-theme] body{background:radial-gradient(ellipse at top right,var(--ft-glow),transparent 65%),var(--bg)}
body>aside,.hub-nav{padding:25px 18px;background:var(--bg);border-right:1px solid var(--line)}
body>aside .brand-logo,.hub-nav .brand-logo{max-width:190px;margin:0 auto 15px;display:block}
body>aside>h1{font:24px/1.3 Georgia,serif;margin:14px 0;color:var(--text)}
body>aside>.muted{font-size:13px;line-height:1.6}
body>main{padding:28px clamp(18px,2.6vw,44px)}
body>main>header:first-child{padding:26px 28px;border:1px solid var(--line);border-radius:var(--ft-radius);background:linear-gradient(110deg,var(--panel),var(--ft-glow));margin-bottom:22px;min-height:150px;position:relative;isolation:isolate}
body>main>header:first-child h2,.hub-main>header h1{font:clamp(25px,2.6vw,38px)/1.2 Georgia,serif;letter-spacing:-.5px;color:var(--gold);margin:8px 0 12px}
body>main>header:first-child .badge{background:var(--panel);font-size:10px;letter-spacing:1px;align-self:flex-start}
html[data-theme] :is(.panel,.card,.cards article,.account,.companion-callout,.npc-card,.attribute,dialog,.activity-ribbon),:is(.panel,.card,.account,.companion-callout){border-radius:var(--ft-radius);border-color:var(--line);box-shadow:none}
.panel{padding:22px}.panel h3,.panel-heading h3{font:500 18px/1.3 'Segoe UI',system-ui,sans-serif;color:var(--text)}
.cards article{background:var(--panel);padding:18px;border:1px solid var(--line)}
.cards strong,.journey-metrics strong{font-size:28px;font-weight:500;letter-spacing:-.5px}
html[data-theme] .cards strong{color:var(--text)}
.cards span,.journey-metrics small{color:var(--muted)}
html[data-theme] button,button,.upload{border-radius:8px;padding:9px 13px;font-weight:500;border:1px solid var(--line);background:var(--ft-field);color:var(--text);transition:background .15s ease,border-color .15s ease,transform .15s ease}
html[data-theme] button:hover,button:hover{border-color:var(--gold);background:var(--ft-glow)}
html[data-theme] button.primary,button.primary,html[data-theme] .upload,.upload{background:var(--gold);color:var(--bg);border-color:transparent}
input,select,textarea{border-radius:8px;padding:9px 11px;background:var(--ft-field);color:var(--text)}
.community-nav a,.hub-nav nav a{border-radius:8px;padding:11px 13px;font-size:14px;color:var(--muted);text-decoration:none;transition:background .15s ease,color .15s ease}
.community-nav a:hover,.hub-nav nav a:hover,.hub-nav nav a[aria-current]{background:var(--ft-glow);color:var(--gold)}
.character-launcher{display:grid;gap:8px}.character-launcher button{margin:0;text-align:left}.character-launcher .tiny{margin:2px 0 0}
.journey-tabs{gap:16px;padding:0;border-color:var(--line);flex-wrap:wrap;overflow:visible}
html[data-theme] .journey-tabs button,.journey-tabs button{margin:0;padding:10px 3px 13px;border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;color:var(--muted);font-size:13px}
html[data-theme] .journey-tabs button.selected,.journey-tabs button.selected{background:transparent;color:var(--gold);border-bottom-color:var(--gold);box-shadow:none}
.journey-metrics article,.journey-gear>div,.character-card{border-radius:var(--ft-radius);background:var(--panel)}
.journey-chart{padding-top:5px}.journey-chart h4{font-size:14px;font-weight:500;color:var(--text)}
.character-card button{position:relative;font:21px/1.3 Georgia,serif;color:var(--gold)!important;background:transparent!important;border:0!important;padding:0;margin:0 0 8px;text-align:left}
.character-card-portrait{opacity:.3;max-width:60%}.character-card{min-height:190px;padding:20px;background:linear-gradient(110deg,var(--panel),var(--ft-glow))!important}
.entity-tooltip{background:var(--panel);color:var(--text);border-color:var(--gold);border-radius:12px;box-shadow:0 10px 35px #0005}
.journey-table th{font-size:12px;letter-spacing:.3px;color:var(--muted);font-weight:500}.journey-table td{font-size:14px}
.character-picker{background:var(--panel);border:1px solid var(--line);border-radius:16px}.character-pick-card{border-radius:10px!important;background:var(--ft-field)!important}.character-pick-card:hover{background:var(--ft-glow)!important}
.character-pick-card img{border-radius:9px}.photo-card img{border-radius:10px}
.journey-body{animation:ft-surface-in .22s ease-out}@keyframes ft-surface-in{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:800px){body>main>header:first-child{padding:20px;min-height:0;flex-wrap:wrap}body>main>header:first-child .badge{display:none}.panel{padding:17px}.journey-tabs{gap:12px}.cards strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.journey-body{animation:none}button,.community-nav a,.hub-nav nav a{transition:none}}
