/* GUILD ARCHIVE / one public dark system; base CSS owns functional layout. */
.theme-expedition-manual{
  color-scheme:dark;
  --manual-obsidian:#141918;--manual-panel-dark:#191f1d;--manual-panel-raised:#1d2421;
  --manual-linen:#141918;--manual-paper:#222925;--manual-paper-muted:#1d2421;
  --manual-ink:#f5f0e6;--manual-ink-muted:#b9c3b9;--manual-chalk:#f5f0e6;--manual-chalk-muted:#b9c3b9;
  --manual-brass:#c9a84b;--manual-brass-link:#d7bd72;--manual-control-line:#64716a;
  --manual-line:#39443e;--manual-line-dark:#39443e;--manual-control-line-dark:#64716a;
  --manual-success:#5fa77d;--manual-success-dark:#9dd3af;--manual-danger:#d77b72;--manual-danger-dark:#f2aca4;
  --bg-primary:#141918;--bg-secondary:#191f1d;--bg-card:#222925;--bg-card-hover:#27302b;
  --text-primary:#f5f0e6;--text-secondary:#b9c3b9;--text-muted:#b9c3b9;
  --border-color:#39443e;--border-color-strong:#64716a;
  --gold:#c9a84b;--gold-light:#dec87e;--gold-dark:#a7893c;
  --shadow:0 12px 30px #04080724;--radius:6px;--radius-sm:4px;--nav-height:72px;
  background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;
}
.theme-expedition-manual ::selection{background:#d7bd7240;color:#fff9eb}
.public-main{min-width:0;flex:1;scroll-margin-top:72px}
.page-home .public-main{display:flex;flex-direction:column}
.public-site>a.skip-link{position:fixed;top:12px;left:16px;z-index:2000;width:max-content;max-width:calc(100vw - 32px);padding:12px 20px;background:#f5f0e6;color:#141918!important;border-radius:4px;transform:translateY(-160%);font-weight:700}
.skip-link:focus{transform:translateY(0);outline:2px solid #d7bd72;outline-offset:4px}
.theme-expedition-manual a{color:var(--manual-brass-link)}
.theme-expedition-manual a:hover{color:var(--text-primary)}
.theme-expedition-manual :is(button,input,select){font-family:inherit}
.public-site :focus-visible{outline:2px solid var(--manual-brass-link);outline-offset:4px}
.theme-expedition-manual :is(.container,.main-content){max-width:1280px}
/* Constant archive frame. */
.theme-expedition-manual .navbar{height:72px;padding:0 clamp(16px,3.5vw,56px);background:#141918;border-bottom:1px solid #39443e;backdrop-filter:none}
.theme-expedition-manual .navbar.scrolled{background:#141918;box-shadow:0 6px 24px #0002}
.theme-expedition-manual .nav-logo{gap:12px;color:var(--text-primary)}
.theme-expedition-manual .nav-logo picture{display:flex;flex-shrink:0;align-items:center}
.theme-expedition-manual .nav-logo span{background:none;-webkit-text-fill-color:var(--text-primary);font-size:17px;letter-spacing:.06em}
.theme-expedition-manual .nav-links{gap:6px}
.theme-expedition-manual .nav-links a{display:inline-flex;align-items:center;min-height:48px;padding:0 12px;border-radius:0;color:var(--text-secondary);font-size:13px;letter-spacing:.04em;transition:color .2s,box-shadow .2s}
.theme-expedition-manual .nav-links a.active,.theme-expedition-manual .nav-links a:hover{color:var(--text-primary);background:transparent;box-shadow:inset 0 -2px var(--manual-brass)}
.theme-expedition-manual .nav-toggle{min-width:48px;min-height:48px;align-items:center;justify-content:center}
.theme-expedition-manual .nav-toggle span{background:var(--text-primary)}
/* Quiet editorial mastheads for working pages. */
.theme-expedition-manual .page-masthead{position:relative;min-height:220px;padding:112px 0 36px;background:#141918;border-bottom:1px solid #39443e;overflow:hidden}
.theme-expedition-manual .page-masthead .container{position:relative;z-index:1;max-width:1280px;padding-inline:clamp(20px,3vw,40px)}
.theme-expedition-manual .page-masthead h1{max-width:100%;font-size:clamp(32px,3.5vw,52px);line-height:1.25;letter-spacing:.035em;color:var(--text-primary)}
.theme-expedition-manual .page-masthead p{font-size:14px;line-height:1.8;color:var(--text-secondary);margin-top:12px}
.theme-expedition-manual .masthead-bg-word{display:block;position:absolute;right:0;bottom:-36px;left:auto;top:auto;font-family:var(--font-display);font-size:clamp(90px,12vw,160px);line-height:1;color:#d7bd7207;letter-spacing:.04em;pointer-events:none;white-space:nowrap}
.theme-expedition-manual .page-masthead::after{content:"";position:absolute;bottom:-1px;left:calc((100% - min(100%,1280px))/2 + 40px);width:64px;height:2px;background:var(--manual-brass)}
/* Original cup / compass cover. */
.theme-expedition-manual.page-home{display:flex;flex-direction:column}
.theme-expedition-manual.page-home .public-main>.page-masthead{min-height:560px;padding:152px max(32px,calc((100vw - 1200px)/2)) 72px;background:radial-gradient(ellipse at 75% 44%,#2b3b3026,transparent 52%),#141918;border:0;display:flex;align-items:center}
.theme-expedition-manual.page-home .public-main>.page-masthead::after{display:none}
.theme-expedition-manual.page-home .public-main>.page-masthead .container{margin:0;width:60%;padding:0}
.theme-expedition-manual.page-home .masthead-bg-word{display:none}
.theme-expedition-manual.page-home .page-masthead h1{width:4.5em;max-width:100%;font-size:clamp(52px,5.5vw,80px);line-height:1.22;letter-spacing:.07em;margin:22px 0;word-break:normal;text-wrap:wrap}
.theme-expedition-manual.page-home .page-masthead p{max-width:32em;font-size:14px;letter-spacing:.035em}
.archive-kicker,.archive-signature{display:flex;align-items:center;gap:18px;font-family:var(--font-mono);font-size:10px;line-height:1.8;letter-spacing:.14em;color:var(--manual-brass-link)}
.archive-kicker span+span{border-left:1px solid #64716a;padding-left:18px;letter-spacing:.1em}
.archive-signature{margin-top:44px;gap:12px;color:var(--text-secondary);font-size:9px;letter-spacing:.12em}
.archive-signature::before{content:"";width:28px;height:1px;background:var(--manual-brass)}
.guild-emblem{position:absolute;right:max(20px,calc((100vw - 1300px)/2));top:160px;width:min(42vw,520px);text-align:center;pointer-events:none}
.guild-emblem img{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 40px #0003)}
.guild-emblem picture{display:block}
.theme-expedition-manual .hero-render .model-state{padding:16px;text-align:center;font-family:var(--font-body);font-size:12px;line-height:1.8;color:var(--text-secondary)}
.theme-expedition-manual.page-hero-detail :is(.hero-name,.hero-guild-realm,.hero-tag){overflow-wrap:anywhere}
.theme-expedition-manual.page-hero-detail .detail-main{min-height:100svh}
.theme-expedition-manual.page-hero-detail .hero-render:is([data-model-state="loading"],[data-model-state="unavailable"]){background:transparent;border-color:transparent}
@media(max-width:640px){
  .theme-expedition-manual.page-hero-detail .hero-card{display:grid;grid-template-columns:minmax(0,1fr) 100px;grid-template-rows:72px auto;align-content:center;align-items:start;gap:16px;text-align:left;padding:24px 16px}
  .theme-expedition-manual.page-hero-detail .hero-avatar-wrap{grid-column:1;grid-row:1;justify-self:start}
  .theme-expedition-manual.page-hero-detail .hero-avatar-ring{width:72px;height:72px}
  .theme-expedition-manual.page-hero-detail .hero-info{grid-column:1;grid-row:2;width:100%}
  .theme-expedition-manual.page-hero-detail .hero-tags{justify-content:flex-start}
  .theme-expedition-manual.page-hero-detail .hero-render{grid-column:2;grid-row:1/span 2;align-self:center;width:100px;height:180px}
  .theme-expedition-manual.page-hero-detail .hero-render .model-state{padding:8px;line-height:1.8}
}
.guild-emblem span{display:block;font-size:11px;letter-spacing:.24em;color:var(--text-secondary);margin-top:12px}
.theme-expedition-manual.page-home .public-main>.activity-panel{position:relative;width:calc(100% - 80px);max-width:1200px;margin:0 auto;padding:0;background:transparent}
.theme-expedition-manual .activity-panel-glow{display:none}
.theme-expedition-manual.page-home .activity-panel-main{min-height:116px;width:100%;display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:32px;align-items:center;padding:22px 28px;border:1px solid #39443e;border-top:2px solid #a7893c;border-radius:2px;background:#191f1d;box-shadow:none}
.theme-expedition-manual .activity-state-block{padding:0}
.theme-expedition-manual .activity-kicker{font-family:var(--font-mono);font-size:10px;letter-spacing:.16em;color:var(--manual-brass-link)}
.theme-expedition-manual .activity-state-row{margin-top:8px}
.theme-expedition-manual .activity-state-label,.theme-expedition-manual .activity-title{color:var(--text-primary)}
.theme-expedition-manual .activity-title{font-size:20px;line-height:1.5}
.theme-expedition-manual .activity-subtitle{font-size:12px;color:var(--text-secondary);margin-top:4px}
.theme-expedition-manual .activity-timer{gap:8px}
.theme-expedition-manual .timer-cell{padding:4px 12px;border:0;border-left:1px solid #39443e;background:transparent;border-radius:0}
.theme-expedition-manual .timer-cell strong{font-family:var(--font-mono);font-size:30px;font-weight:400;color:var(--text-primary);font-variant-numeric:tabular-nums;line-height:1.3}
.theme-expedition-manual .timer-cell span{font-size:10px;color:var(--text-secondary)}
/* Chapters and directories share an alignment system. */
.theme-expedition-manual.page-home .public-main>.home-section{padding:72px 0;background:#141918}
.theme-expedition-manual.page-home .public-main>.home-section:nth-of-type(even){background:#191f1d}
.theme-expedition-manual.page-home .home-directory{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:calc(100% - 80px);max-width:1200px;margin:24px auto 0;padding:0}
.theme-expedition-manual.page-home .home-directory+.home-section{padding-top:48px}
.theme-expedition-manual .home-directory a{display:flex;align-items:center;gap:16px;min-width:44px;min-height:56px;padding:12px 16px;border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);background:var(--bg-secondary);font-size:14px;text-decoration:none;transition:background .2s,border-color .2s}
.theme-expedition-manual .home-directory a span:first-child{font-family:var(--font-mono);font-size:11px;color:var(--manual-brass-link);font-variant-numeric:tabular-nums}
.theme-expedition-manual .home-directory a:hover{background:var(--bg-card);border-color:var(--manual-brass)}
.theme-expedition-manual .home-section[id]{scroll-margin-top:calc(var(--nav-height) + 24px)}
.theme-expedition-manual .home-heroes-avatar [hidden]{display:none!important}
.theme-expedition-manual .home-section-header{display:grid;grid-template-columns:1fr auto;gap:8px 20px;text-align:left;padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid #39443e}
.theme-expedition-manual .home-section-header .section-tag{grid-column:1;background:none;border:0;padding:0;color:var(--manual-brass-link);font-size:11px;letter-spacing:.18em}
.theme-expedition-manual .home-section-header .section-title{grid-column:1;color:var(--text-primary);font-size:32px;letter-spacing:.04em;margin:0;line-height:1.4}
.theme-expedition-manual .home-section-header .home-more-link{grid-column:2;grid-row:1/span 2;margin:auto 0;min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--manual-brass-link);font-size:12px;letter-spacing:.04em}
.theme-expedition-manual .members-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.theme-expedition-manual .streams-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.theme-expedition-manual :is(.member-card,.stream-card,.video-card,.comment-card,.achievement-card,.timeline-item,.home-video-card,.home-heroes-card){background:#222925;border:1px solid #39443e;border-radius:6px;box-shadow:none;transition:background .22s,border-color .22s,transform .22s}
.theme-expedition-manual :is(.member-card,.stream-card,.video-card,.comment-card,.achievement-card,.home-video-card,.home-heroes-card):hover{background:#27302b;border-color:#64716a;transform:translateY(-3px);box-shadow:none}
.theme-expedition-manual .member-card{padding:20px;min-width:0}
.theme-expedition-manual:is(.page-home,.page-members) .member-card{display:grid;grid-template-rows:auto auto 1fr auto minmax(57px,auto);grid-template-areas:"header" "desc" "quote" "platform" "socials"}
.theme-expedition-manual:is(.page-home,.page-members) .member-header{grid-area:header}
.theme-expedition-manual:is(.page-home,.page-members) .member-desc{grid-area:desc}
.theme-expedition-manual:is(.page-home,.page-members) .member-slogan{grid-area:quote;align-self:start}
.theme-expedition-manual:is(.page-home,.page-members) .member-socials{grid-area:socials;align-self:end}
.theme-expedition-manual:is(.page-home,.page-members) :is(.member-desc,.member-slogan){font-size:.875rem}
.theme-expedition-manual:is(.page-home,.page-members) .member-platform{grid-area:platform;margin-top:0}
.theme-expedition-manual .member-avatar{position:relative;width:64px;height:64px;border-radius:6px;overflow:hidden;flex-shrink:0}
.theme-expedition-manual.page-home .member-avatar{width:48px;height:48px}
.theme-expedition-manual .member-avatar-fallback{position:absolute;inset:0;z-index:0;display:grid;place-items:center;color:var(--text-primary);font-family:var(--font-display);font-size:1.55rem;font-weight:800}
.theme-expedition-manual .member-avatar-image{position:relative;z-index:1;width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.theme-expedition-manual .member-avatar-image[hidden]{display:none}
.theme-expedition-manual .member-name{color:var(--text-primary);font-size:20px;letter-spacing:.02em}
.theme-expedition-manual .spec-tag{color:var(--text-primary)!important}
.theme-expedition-manual .spec-sub{opacity:1}
.theme-expedition-manual #members-preview{min-height:400px}
.theme-expedition-manual #members-container{min-height:calc(100svh - 280px)}
.theme-expedition-manual :is(#galleryContainer,#commentsGrid,#streams-container,#achievements-container,#contentArea){min-height:70svh}
.theme-expedition-manual.page-home .member-name{font-size:17px}
.theme-expedition-manual :is(.member-desc,.member-bio){color:var(--text-secondary);line-height:1.7;white-space:normal}
.theme-expedition-manual .member-slogan{background:#14191830;border-left:2px solid #a7893c;color:var(--text-secondary);padding:8px 10px;white-space:normal}
.theme-expedition-manual.page-members .member-card{height:auto;overflow:visible}
.theme-expedition-manual.page-members :is(.member-desc,.member-slogan){display:block!important;white-space:normal!important;text-overflow:clip!important;overflow:visible!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;max-height:none!important}
.theme-expedition-manual.page-home :is(.member-desc,.member-slogan){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.theme-expedition-manual :is(.member-platform,.member-socials){border-color:#39443e}
.theme-expedition-manual :is(.member-link,.social-icon-link,.follow-btn,.social-link){display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--manual-brass-link);border-color:#64716a}
.theme-expedition-manual .social-icon-link:hover{background:#39443e}
/* Media tools, metrics and content. */
.theme-expedition-manual :is(.gallery-main,.comments-main,.streams-main){background:#141918}
.theme-expedition-manual .member-filters,.theme-expedition-manual .gallery-platform-tabs,.theme-expedition-manual .comments-platform-tabs,.theme-expedition-manual .comments-type-tabs{gap:8px}
.theme-expedition-manual :is(.filter-btn,.gallery-platform-tab,.gallery-category-tab,.comments-platform-tab,.comments-type-tab){min-height:44px;padding:8px 16px;background:#191f1d;border:1px solid #64716a;color:var(--text-secondary);border-radius:4px;font-size:14px;font-weight:500;transition:background .2s,color .2s,border-color .2s}
.theme-expedition-manual .gallery-platform-tab.active,.theme-expedition-manual .comments-platform-tab.active,.theme-expedition-manual .filter-btn.active,.theme-expedition-manual .comments-type-tab.active,.theme-expedition-manual .gallery-category-tab.active{color:var(--text-primary);border-color:var(--manual-brass);background:#2b3024;box-shadow:inset 0 -2px var(--manual-brass)}
.theme-expedition-manual :is(.filter-btn,.gallery-platform-tab,.gallery-category-tab,.comments-platform-tab,.comments-type-tab):hover{color:var(--text-primary);background:#27302b}
.theme-expedition-manual .gallery-platform-tabs{margin-bottom:12px}
.theme-expedition-manual .gallery-category-tabs{gap:8px;margin:0 0 20px;border:0}
.theme-expedition-manual .gallery-category-tab{margin:0}
.theme-expedition-manual :is(#tabCountGroup,#tabCountClip){opacity:1;color:var(--manual-brass-link)}
.theme-expedition-manual .gallery-stats-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.theme-expedition-manual .gallery-toolbar .result-count{min-height:22px}
.theme-expedition-manual :is(.gallery-stats,.gallery-stats-bar,.comments-stats-bar){min-height:64px;margin:0 0 24px;padding:16px 0;gap:32px;background:transparent;border:0;border-block:1px solid #39443e;box-shadow:none;border-radius:0}
.theme-expedition-manual :is(.gallery-stat-value,.comment-stat .value){font-family:var(--font-mono);font-size:25px;line-height:1.3;font-weight:400;font-variant-numeric:tabular-nums;color:var(--manual-brass-link)}
.theme-expedition-manual :is(.gallery-stat-label,.comment-stat .label){color:var(--text-secondary);font-size:11px;letter-spacing:.05em}
.theme-expedition-manual .gallery-toolbar,.theme-expedition-manual .comments-toolbar{gap:10px;padding:0;margin:0 0 24px;background:transparent;border:0}
.theme-expedition-manual :is(.gallery-toolbar input,.comments-toolbar input,.custom-select-trigger){min-height:44px;background:#191f1d;color:var(--text-primary);border:1px solid #64716a;border-radius:4px;font-size:13px}
.theme-expedition-manual input::placeholder{color:var(--text-secondary);opacity:.85}
.theme-expedition-manual .custom-select-dropdown{background:#222925;border:1px solid #64716a;border-radius:4px;box-shadow:0 12px 24px #0005}
.theme-expedition-manual .custom-select-option{color:var(--text-primary);min-height:40px}
.theme-expedition-manual .custom-select-option.selected,.theme-expedition-manual .custom-select-option:hover{color:var(--manual-brass-link);background:#27302b}
.theme-expedition-manual .custom-select-option:focus-visible{outline-offset:-3px}
.theme-expedition-manual .video-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px}
.theme-expedition-manual .video-card-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#222925,#141918)}
.theme-expedition-manual :is(.video-card-thumb,.home-video-thumb) img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.theme-expedition-manual :is(.video-card,.home-video-card):hover img{transform:scale(1.035)}
.theme-expedition-manual .video-card-title{color:var(--text-primary);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px;line-height:1.65}
.theme-expedition-manual .video-card-body{padding:16px}
.theme-expedition-manual .home-video-grid{gap:24px 18px}
.theme-expedition-manual .home-video-title{color:var(--text-primary)}
.theme-expedition-manual .comments-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.theme-expedition-manual .comment-card{padding:24px}
.theme-expedition-manual :is(.comment-text,.comment-content){color:var(--text-primary);font-size:17px;line-height:1.8}
.theme-expedition-manual :is(.gallery-pagination button,.comments-pagination button){min-width:44px;min-height:44px}
.theme-expedition-manual .empty-state{background:#191f1d;color:var(--text-secondary);border:1px solid #39443e;box-shadow:none;border-radius:6px}
/* Data pages retain semantic class and parse colors. */
.theme-expedition-manual.page-heroes,.theme-expedition-manual.page-hero-detail,.theme-expedition-manual.page-wcl{
  --h-bg:#141918;--h-bg-warm:#191f1d;--h-card:#222925;--h-panel:#222925;--h-panel-hover:#27302b;
  --h-text:#f5f0e6;--h-sand:#b9c3b9;--h-sand-dim:#b9c3b9;--h-gold:#c9a84b;--h-gold-bright:#dec87e;
  --h-olive:#8baa86;--h-terracotta:#d89470;--h-cream:#f5f0e6;--h-cream-dim:#b9c3b9;--h-muted:#b9c3b9;--h-line:#39443e;--h-line-strong:#64716a;
  --h-font-display:var(--font-display);--h-font-body:var(--font-body);--h-font-mono:var(--font-mono);
  --wcl-bg:#141918;--wcl-panel:#191f1d;--wcl-card:#222925;--wcl-text:#f5f0e6;--wcl-text-dim:#b9c3b9;
  --wcl-muted:#b9c3b9;--wcl-line:#39443e;--wcl-line-strong:#64716a;--wcl-gold:#c9a84b;--wcl-gold-bright:#dec87e;--wcl-green:#75b68b;--wcl-red:#db887e;
  background:#141918;
}
.theme-expedition-manual.page-hero-detail :is(.hero-card,.info-card,.stat-card,.talent-section),.theme-expedition-manual.page-wcl :is(.report-card,.date-group,.fight-card,.fight-detail,.rnk-row,.wcl-roast-section){background:#222925;border-color:#39443e}
.theme-expedition-manual.page-hero-detail .tooltip-box{max-width:min(270px,calc(100vw - 16px));background:#1d2421fa;color:var(--text-primary)}
.theme-expedition-manual.page-hero-detail .back-link{color:var(--text-secondary)}
.theme-expedition-manual.page-hero-detail #heroSection{min-height:354px}
.theme-expedition-manual.page-hero-detail .hero-name{margin-top:0}
.theme-expedition-manual.page-hero-detail .cat-chip{font:inherit;min-height:44px}
.theme-expedition-manual.page-hero-detail .equip-empty-slot{opacity:1}
.theme-expedition-manual.page-hero-detail .equip-empty-slot :is(.eq-empty-text,.eq-slot-label){color:var(--text-secondary);opacity:1}
.theme-expedition-manual.page-heroes .cr-name{color:var(--text-primary)!important}
.theme-expedition-manual.page-heroes .char-row.dimmed{opacity:1;border-style:dashed}
.theme-expedition-manual.page-heroes .char-row.dimmed .cr-name{color:var(--text-secondary)!important}
@media(max-width:640px){
  .theme-expedition-manual.page-hero-detail #heroSection{min-height:332px}
  .theme-expedition-manual.page-hero-detail .hero-card{min-height:300px}
}
.theme-expedition-manual.page-hero-detail :is(.tab-nav button,.sub-tab-nav button){min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.theme-expedition-manual.page-wcl .wcl-sync-status{color:var(--text-secondary)!important}
.theme-expedition-manual.page-wcl #content{min-height:100svh}
.theme-expedition-manual.page-wcl .report-detail.open{min-height:50svh}
.theme-expedition-manual.page-wcl .date-group-header{width:100%;font:inherit;text-align:left;border:0;color:var(--text-primary);min-height:56px}
.theme-expedition-manual.page-wcl .wcl-pager{min-height:44px;align-items:center}
.theme-expedition-manual.page-wcl .wcl-results-bar{min-height:44px}
.theme-expedition-manual.page-wcl .badge-heroic{color:#ddc2f5;background:#342a40;border-color:#7f6698}
.theme-expedition-manual.page-wcl .badge-normal{color:#9dd3af;background:#263b2c;border-color:#587e60}
.theme-expedition-manual.page-wcl .badge-mythic{color:#d7bd72;background:#3a321e;border-color:#a7893c}
.theme-expedition-manual.page-wcl :is(.rnk-analysis-btn,.wcl-roast-action,.wcl-roast-tabs button,.wcl-roast-generate){min-width:44px;min-height:44px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-primary);border-color:#64716a}
.theme-expedition-manual.page-wcl .rnk-row{height:auto;min-height:48px}
.theme-expedition-manual.page-wcl .report-header a,.theme-expedition-manual.page-wcl .wcl-load-detail-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.theme-expedition-manual .about-section{max-width:760px}
.theme-expedition-manual .about-text{color:var(--text-primary)}
.theme-expedition-manual.page-about .about-section{min-height:40vh;display:flex;align-items:center;justify-content:center;width:100%;max-width:none}
.theme-expedition-manual.page-about .about-text{width:min(760px,calc(100% - 32px));max-width:760px;text-align:center}
.theme-expedition-manual.page-about .about-text p{color:var(--text-secondary);font-size:1.05rem;line-height:2}
.theme-expedition-manual.page-about .site-footer{margin-top:auto}
.theme-expedition-manual :is(.site-footer,footer){width:100%;background:#141918;color:var(--text-secondary);border-top:1px solid #39443e}
.theme-expedition-manual .site-footer-inner{padding-block:28px}
.theme-expedition-manual .site-footer a:hover{color:var(--text-primary)}
/* Short, non-blocking motion. */
@keyframes archive-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.theme-expedition-manual .page-masthead h1{animation:archive-arrive .55s ease-out both}
.theme-expedition-manual .page-masthead p{animation:archive-arrive .6s .06s ease-out both}
@media (max-width:1199px){
  .theme-expedition-manual .nav-links{gap:0}
  .theme-expedition-manual .nav-links a{padding-inline:8px;font-size:12px}
  .theme-expedition-manual .members-grid,.theme-expedition-manual .video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .theme-expedition-manual.page-home .activity-panel-main{gap:16px;padding:20px}
}
@media (max-width:899px){
  .theme-expedition-manual .members-grid,.theme-expedition-manual .video-grid,.theme-expedition-manual .streams-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-expedition-manual.page-home .public-main>.page-masthead{min-height:450px;padding:120px 32px 52px}
  .theme-expedition-manual.page-home .page-masthead h1{font-size:56px}
  .guild-emblem{top:140px;width:42vw;right:8px}
  .guild-emblem span{font-size:9px;margin-top:8px;letter-spacing:.12em}
  .theme-expedition-manual.page-home .activity-panel-main{grid-template-columns:1fr 1fr}
  .theme-expedition-manual.page-home .activity-state-block{grid-column:1/-1;display:flex;align-items:center;gap:20px}
  .theme-expedition-manual.page-home .activity-state-row{margin:0}
}
@media (max-width:767px){
  .theme-expedition-manual{--nav-height:56px}
  .theme-expedition-manual .navbar{height:56px;padding-inline:16px}
  .theme-expedition-manual .nav-logo span{font-size:14px}
  .theme-expedition-manual .nav-logo img{height:26px;width:auto}
  .theme-expedition-manual .nav-links{background:#141918;border-bottom:1px solid #39443e;padding:12px 16px;gap:0;top:56px}
  .theme-expedition-manual .nav-links a{min-height:44px;padding:8px 12px;font-size:14px}
  .theme-expedition-manual .page-masthead{min-height:150px;padding:86px 0 24px}
  .theme-expedition-manual .page-masthead .container{padding-inline:20px}
  .theme-expedition-manual .page-masthead h1{font-size:32px}
  .theme-expedition-manual .page-masthead p{font-size:13px;margin-top:8px}
}
@media (max-width:639px){
  .theme-expedition-manual:is(.page-home,.page-members) .member-card{grid-template-rows:auto auto auto auto auto;align-self:start}
  .theme-expedition-manual.page-home .home-directory{width:calc(100% - 32px);margin-top:8px;gap:6px}
  .theme-expedition-manual .home-directory a{flex-direction:column;justify-content:center;gap:4px;min-height:44px;padding:6px 2px;font-size:13px;line-height:1.3}
  .theme-expedition-manual .home-directory a span:first-child{font-size:10px;line-height:1}
  .theme-expedition-manual .members-grid,.theme-expedition-manual .video-grid,.theme-expedition-manual .streams-grid,.theme-expedition-manual .comments-grid{grid-template-columns:minmax(0,1fr)}
  .theme-expedition-manual.page-home .public-main>.page-masthead{min-height:244px;padding:80px 20px 26px}
  .theme-expedition-manual.page-home .public-main>.page-masthead .container{width:100%}
  .theme-expedition-manual.page-home .page-masthead h1{font-size:36px;width:4.5em;max-width:100%;margin:12px 0;line-height:1.22;word-break:normal}
  .theme-expedition-manual.page-home .page-masthead p{max-width:24em;font-size:12px;line-height:1.7}
  .archive-kicker{gap:10px;font-size:8px;letter-spacing:.08em}
  .archive-kicker span+span{padding-left:10px}
  .archive-signature{display:none}
  .guild-emblem{display:block;top:100px;right:12px;width:calc(100% - 220px);max-width:190px}
  .guild-emblem span{display:none}
  .theme-expedition-manual.page-home .public-main>.activity-panel{width:calc(100% - 32px)}
  .theme-expedition-manual.page-home .activity-panel-main{grid-template-columns:1.2fr 1fr;gap:8px;padding:12px 14px;min-height:108px}
  .theme-expedition-manual .activity-kicker{font-size:8px}
  .theme-expedition-manual .activity-state-label{font-size:11px}
  .theme-expedition-manual .activity-title{font-size:15px}
  .theme-expedition-manual .activity-subtitle{font-size:10px}
  .theme-expedition-manual .activity-timer{gap:0}
  .theme-expedition-manual .timer-cell{padding:2px 7px}
  .theme-expedition-manual .timer-cell strong{font-size:22px}
  .theme-expedition-manual .timer-cell span{font-size:9px}
  .theme-expedition-manual.page-home .public-main>.home-section{padding:28px 0}
  .theme-expedition-manual.page-home .public-main>.home-directory+.home-section{padding-top:12px}
  .theme-expedition-manual .home-section-header{padding-bottom:12px;margin-bottom:16px;gap:4px 12px}
  .theme-expedition-manual .home-section-header .section-title{font-size:24px}
  .theme-expedition-manual .home-section-header .section-tag{font-size:10px}
  .theme-expedition-manual .home-section-header .home-more-link{font-size:11px}
  .theme-expedition-manual :is(.member-card,.stream-card){padding:18px}
  .theme-expedition-manual .comment-card{padding:18px}
  .theme-expedition-manual :is(.comment-text,.comment-content){font-size:16px}
  .theme-expedition-manual :is(.filter-btn,.gallery-platform-tab,.gallery-category-tab,.comments-platform-tab){font-size:12px;min-height:44px;padding:6px 5px}
  .theme-expedition-manual .filter-bar{position:static}
  .theme-expedition-manual.page-members .filter-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .theme-expedition-manual.page-members .filter-btn{width:100%;padding-inline:4px}
  .theme-expedition-manual.page-wcl .report-header{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
  .theme-expedition-manual.page-wcl .report-header>div:first-child{min-width:0;width:100%}
  .theme-expedition-manual.page-wcl .report-meta{flex-wrap:wrap;gap:4px 12px}
  .theme-expedition-manual.page-wcl .report-title{font-size:18px;line-height:1.5;overflow-wrap:anywhere}
  .theme-expedition-manual.page-wcl .wcl-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-inline:16px}
  .theme-expedition-manual.page-wcl .wcl-filters select{width:100%;min-width:0;min-height:44px}
  .theme-expedition-manual.page-wcl .wcl-filter-note{grid-column:1/-1;margin:0}
  .theme-expedition-manual.page-wcl .wcl-pager button{min-width:44px;min-height:44px}
  .theme-expedition-manual.page-wcl .wcl-results-bar{min-height:92px}
  .theme-expedition-manual.page-gallery .public-main>.page-masthead,.theme-expedition-manual.page-comments .public-main>.page-masthead{min-height:120px;padding:76px 0 14px}
  .theme-expedition-manual.page-gallery .page-masthead h1,.theme-expedition-manual.page-comments .page-masthead h1{font-size:28px}
  .theme-expedition-manual.page-gallery .page-masthead p,.theme-expedition-manual.page-comments .page-masthead p{font-size:12px;margin-top:4px}
  .theme-expedition-manual.page-gallery .public-main>.section,.theme-expedition-manual.page-comments .public-main>.section{padding:16px 0 28px!important}
  .theme-expedition-manual.page-gallery .public-main>.section>.container,.theme-expedition-manual.page-comments .public-main>.section>.container{width:calc(100% - 24px);margin-inline:auto;padding-inline:0}
  .theme-expedition-manual .gallery-platform-tabs,.theme-expedition-manual .comments-platform-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:8px}
  .theme-expedition-manual .gallery-category-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0 0 12px}
  .theme-expedition-manual .gallery-platform-tab,.theme-expedition-manual .gallery-category-tab{width:100%;white-space:nowrap}
  .theme-expedition-manual.page-comments #typeTabs{margin-bottom:12px!important}
  .theme-expedition-manual :is(.gallery-stats-bar,.comments-stats-bar){padding:10px 0;min-height:48px;margin:0 0 12px;gap:14px;flex-wrap:wrap}
  .theme-expedition-manual.page-gallery .gallery-stat-value{font-size:clamp(18px,4.5vw,20px);white-space:nowrap}
  .theme-expedition-manual .gallery-stat-label{font-size:10px}
  .theme-expedition-manual .gallery-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}
  .theme-expedition-manual.page-gallery .custom-select{width:100%;min-width:0}
  .theme-expedition-manual.page-gallery .custom-select-trigger{width:100%;justify-content:space-between}
  .theme-expedition-manual.page-gallery .gallery-toolbar .search-box,.theme-expedition-manual.page-gallery #authorSelect,.theme-expedition-manual.page-gallery .result-count{grid-column:1/-1}
  .theme-expedition-manual.page-gallery #sortSelect{grid-column:1}
  .theme-expedition-manual.page-gallery #orderSelect{grid-column:2}
  .theme-expedition-manual .comments-toolbar{margin:0 0 16px;gap:8px}
  .theme-expedition-manual .comments-toolbar .search-box input{min-height:44px}
  .theme-expedition-manual .video-grid{gap:18px}
}
.theme-expedition-manual .achievements-timeline{max-width:820px;padding-left:28px}
.theme-expedition-manual .achievements-timeline::before{left:5px;transform:none;background:linear-gradient(#d7bd72,#39443e)}
.theme-expedition-manual .achievement-item,.theme-expedition-manual .achievement-item:nth-child(odd){display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;flex-direction:row;text-align:left;margin-bottom:24px}
.theme-expedition-manual .achievement-dot{left:-23px;top:15px;transform:translateX(-50%);border-color:#141918}
.theme-expedition-manual .achievement-date{width:120px;padding:10px 8px;font-family:var(--font-mono);background:transparent;border:0;text-align:left}
.theme-expedition-manual .achievement-content{min-width:0;background:#222925;border-color:#39443e;border-radius:6px;padding:24px}
.theme-expedition-manual .achievement-title{color:#f5f0e6;line-height:1.5}
.theme-expedition-manual .achievement-desc{color:#b9c3b9;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:639px){
  .theme-expedition-manual .achievements-timeline{padding-left:24px}
  .theme-expedition-manual .achievement-item,.theme-expedition-manual .achievement-item:nth-child(odd){grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:24px}
  .theme-expedition-manual .achievement-dot{left:-19px}
  .theme-expedition-manual .achievement-date{padding:6px 0}
  .theme-expedition-manual .achievement-content{padding:18px}
}
.theme-expedition-manual.page-comments .comments-state{grid-column:1/-1;align-self:start;padding:32px;text-align:left;min-height:220px;background:#222925;border:1px solid #39443e;border-top:2px solid #d7bd72;border-radius:6px}
.theme-expedition-manual.page-comments a.comment-card{display:block;color:inherit;text-decoration:none}
.theme-expedition-manual.page-comments .comments-state-label{display:block;color:#d7bd72;font-size:12px;margin-bottom:16px}
.theme-expedition-manual.page-comments .comments-state h2{font-family:var(--font-display);font-size:clamp(22px,3vw,28px);color:#f5f0e6;line-height:1.5;margin:0 0 10px}
.theme-expedition-manual.page-comments .comments-state p{color:#b9c3b9;line-height:1.8;font-size:14px;margin-bottom:20px}
.theme-expedition-manual.page-comments .comments-state button{min-height:44px;padding:10px 18px;background:#d7bd72;color:#141918;border:1px solid #d7bd72;border-radius:4px;font:inherit;font-size:14px;cursor:pointer}
.theme-expedition-manual.page-comments .comments-state button:hover{background:#ead49a}
@media(max-width:639px){.theme-expedition-manual.page-comments .comments-state{padding:24px 20px}}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto!important}
  .theme-expedition-manual *, .theme-expedition-manual *::before,.theme-expedition-manual *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
