/* Shared guild identity; report layouts and semantic class colours stay local. */
@media screen{
  :root{--reading-size:20px;--font:var(--reading-size)}
  body.guild-report{font-size:var(--reading-size);line-height:1.8}
  body.guild-report[data-article="garrosh"]{font-size:var(--font)}
  .guild-report :is(.section-lead,.player-card p:not(.castline),.completion-verdict p):not(table *),.guild-report .method :is(.lead,section p:not(.eyebrow)),.guild-report[data-article="klaxxi"] main :is(.intro,.prep-grid p,.burst p,.note>p:first-of-type){font-size:var(--reading-size);line-height:1.8}
  body.guild-report{--bg:var(--guild-bg);--panel:var(--guild-panel);--surface:var(--guild-panel);--surface-quiet:#15130f;--surface-strong:#242017;--text:var(--guild-text);--ink:var(--guild-text);--soft:#d5c9b5;--muted:var(--guild-muted);--accent:var(--guild-gold);--gold:var(--guild-gold);--line:var(--guild-line);--radius:0px;background:var(--guild-bg);color:var(--guild-text);font-family:var(--guild-body)!important;-webkit-font-smoothing:antialiased}
  html:has(body.guild-report){background:var(--guild-bg)}
  .guild-report::selection,.guild-report ::selection{background:var(--guild-gold);color:#21180c}
  .guild-report a{color:var(--guild-gold);text-underline-offset:5px}
  .guild-report a:hover{color:#f0d19c}
  .guild-report a:focus-visible,.guild-report button:focus-visible,.guild-report summary:focus-visible{outline:2px solid #f0d19c;outline-offset:4px}
  .guild-report :is(.report-header,.book-cover,.hero){position:relative;border-top:1px solid var(--guild-gold);background:radial-gradient(ellipse at 85% 0,#b9814e0c,transparent 65%)}
  .guild-report h1{font-family:var(--guild-display);font-weight:400;letter-spacing:.025em;line-height:1.4;color:#f0e0bb;font-size:clamp(32px,3.5vw,52px);margin:24px 0}
  .guild-report .hero h1{font-size:clamp(38px,4.3vw,60px)}
  .guild-report .hero h1 span{color:var(--guild-gold);font-family:var(--guild-display);font-weight:400}
  .guild-report h2{font-family:var(--guild-display);font-weight:400;letter-spacing:.035em;color:var(--guild-text)}
  .guild-report h3,.guild-report h4{color:var(--guild-text)}
  .guild-report :is(.chapter-number,.chapter-no,.toc-number,.nav-no,.index){font-family:Cinzel,serif;color:var(--guild-gold)}
  .guild-report :is(.topline,.eyebrow){color:var(--guild-gold);letter-spacing:.045em}
  .guild-report :is(.sidebar .brand,.rail .brand,.nav-title,.book-nav>strong){font-family:var(--guild-display);color:var(--guild-text);letter-spacing:.04em}
  .guild-report .brand-kicker{font-family:Cinzel,serif;font-size:11px;letter-spacing:.2em;color:var(--guild-gold)}
  .guild-report :is(.toc-link,.jump-link,.rail nav a,.book-nav a){color:var(--guild-muted);border-radius:0;transition:background .2s,color .2s,border-color .2s}
  .guild-report :is(.toc-link:hover,.toc-link[aria-current="location"],.jump-link:hover,.jump-link.active,.rail nav a:hover,.rail nav a.active,.book-nav a:hover){color:var(--guild-gold);background:#d8b77a0e;text-decoration:none}
  .guild-report .toc-link[aria-current="location"]{box-shadow:inset 2px 0 var(--guild-gold)}
  .guild-report .report-chapter-nav a[aria-current="location"]{color:var(--guild-gold);background:#d8b77a0e;border-color:var(--guild-gold);box-shadow:inset 2px 0 var(--guild-gold)}
  .guild-report .chapter-links a{min-height:44px}
  .guild-report .book-nav{background:transparent;border:0;border-right:1px solid var(--guild-line);border-radius:0}
  .guild-report :is(button,.tool-button,.back,.to-top){border-color:#d8b77a55;background:#1a1814;color:var(--guild-text);border-radius:0}
  .guild-report button:hover{background:#2b2418;border-color:var(--guild-gold)}
  .guild-report .rail nav a{border-color:var(--guild-line)}
  .guild-report :is(.brief,.conclusion-box,.evidence-note,.tank,.player-card,.phase,.prep-grid article,.boss,.burst,.callout,.notice,blockquote){background:var(--guild-panel);border-color:var(--guild-line);border-radius:0;box-shadow:none}
  .guild-report :is(.brief,.conclusion-box,blockquote){border-left:3px solid var(--guild-gold)}
  .guild-report .conclusion-box::before{background:var(--guild-gold);color:#21180c;border-color:var(--guild-gold);border-radius:0}
  .guild-report :is(.castline,.raid-order,.fact,.assign .blank){background:#15130f;border-color:var(--guild-line);border-radius:0}
  .guild-report :is(.role-band,.assign .label){background:#242017;border-radius:0}
  .guild-report :is(.table-wrap,.table-scroll){background:#15130f;border-color:var(--guild-line);border-radius:0}
  .guild-report table th{background:#242017!important;color:#e4cc9b!important;border-color:var(--guild-line)}
  .guild-report table td{border-color:var(--guild-line)}
  .guild-report tbody tr:nth-child(even):not(.route-break){background:#1b1812!important}
  .guild-report tbody tr:hover:not(.route-break){background:#272117!important}
  .guild-report details{background:#15130f;border-color:var(--guild-line);border-radius:0}
  .guild-report details>summary{color:var(--guild-text)}
  .guild-report details>summary::marker{color:var(--guild-gold)}
  .guild-report .hero-number{font-family:Cinzel,serif;color:#d8b77a10}
  .guild-report .phase h3{color:var(--guild-text)}
  .guild-report .phase-note{color:var(--guild-muted);border-color:var(--guild-line)}
  .guild-report .method{color:var(--guild-text)}
  .guild-report .method-toc{border-color:var(--guild-line)}
  .guild-report .method-toc a{background:var(--guild-panel);border-color:var(--guild-line)}
  .guild-report .method section{border-color:var(--guild-line)}
  .guild-report .method .notice{color:var(--guild-muted)}
  .guild-report :is(.report-header,.book-cover,.hero){animation:none}
  @keyframes guild-page-in{from{transform:translateY(8px)}to{transform:translateY(0)}}
  /* This guide uses a fixed chapter rail outside its main content grid. */
  .guild-report[data-article="klaxxi"]>nav[aria-label="攻略目录"]{top:152px;max-height:calc(100vh - 180px);background:var(--guild-bg)}
  @media(max-width:780px){
    :root{--reading-size:18px}
    .guild-report h1,.guild-report .hero h1{font-size:34px;line-height:1.45}
    .guild-report .book-nav{border-right:0;border-bottom:1px solid var(--guild-line)}
    .guild-report .book-nav .toc-list{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:10px;scrollbar-color:#6f5938 #15130f}
    .guild-report .book-nav .toc-list a{flex:0 0 auto;white-space:nowrap;border:1px solid var(--guild-line);padding:8px 12px;font-size:14px}
    .guild-report[data-article="klaxxi"]>nav[aria-label="攻略目录"]{top:0;max-height:none;background:#11100efa}
  }
  @media(prefers-reduced-motion:reduce){.guild-report :is(.report-header,.book-cover,.hero){animation:none}.guild-report a,.guild-report button{transition:none}}
}
/* Battle dossier: official raid imagery, illuminated cover, quiet reading surface. */
@media screen{
  body.guild-report{--report-art:url('assets/brand/siege-of-orgrimmar.png');--report-glow:#8b5a2b;--cover-position:70% 50%;--cover-mobile-position:68% 24%;position:relative;background:radial-gradient(ellipse 95% 620px at 80% 160px,color-mix(in srgb,var(--report-glow) 20%,transparent),transparent),linear-gradient(110deg,#11110f,#13120f 60%,#10100e)}
  body.guild-report[data-article^="klaxxi"]{--report-art:url('assets/brand/paragons-raid.jpg');--report-glow:#8f6c36;--cover-position:68% 46%;--cover-mobile-position:64% 20%}
  body.guild-report[data-article^="blackfuse"]{--report-art:url('assets/brand/blackfuse-raid.jpg');--report-glow:#aa4f28;--cover-position:76% 48%;--cover-mobile-position:76% 22%}
  body.guild-report[data-article="malkorok"]{--report-art:url('assets/brand/malkorok-raid.jpg');--report-glow:#796b99;--cover-position:72% 42%;--cover-mobile-position:72% 18%}
  body.guild-report[data-article="unholy"]{--report-glow:#6d8378}
  .guild-report::before{content:"";position:absolute;inset:90px 0 auto;height:800px;background-image:linear-gradient(180deg,#11100e65,#11100efa 85%),var(--report-art);background-position:center 34%;background-size:cover;opacity:.18;pointer-events:none;z-index:0}
  .guild-report :is(.report-shell,.shell,.book-layout,.method){position:relative}
  .guild-report :is(.report-header,.book-cover,.hero){border:0;background:none;animation:none;padding-top:0;overflow:visible}
  .guild-report .report-shell{padding-top:40px;gap:42px}
  .guild-report .shell main>.hero{margin-top:40px}
  .guild-report .book-layout{padding-top:40px}
  .guild-report[data-article="klaxxi"]>.hero{padding-top:40px}
  /* One full-viewport cover, independent of every report's reading grid. */
  .guild-report.report-fullscreen::before{display:none}
  .report-fullscreen>.archive-tools{position:absolute!important;inset:0 0 auto!important;background:linear-gradient(180deg,#11100ee8,#11100e80)!important}
  .report-fullscreen>.archive-tools:has(details[open]){background:#11100efa!important}
  .guild-report>.report-cover{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;width:100%;min-height:100svh;margin:0;padding:180px max(40px,calc((100% - 1408px)/2)) 120px;display:flex;align-items:center;background:#11100e;border:0;border-radius:0;box-shadow:none;scroll-margin:0}
  .guild-report .report-cover-art{position:absolute;z-index:-2;inset:-6% -2%;background-image:var(--report-art);background-position:var(--cover-position);background-size:cover;filter:saturate(.8) brightness(1.12);transform-origin:var(--cover-position)}
  .guild-report .report-cover::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#11100ee8 0%,#11100ec4 28%,#11100e57 57%,#11100e14 85%),linear-gradient(0deg,#11100e 0%,#11100e9c 12%,transparent 40%,#11100e20 80%);pointer-events:none}
  .guild-report .report-cover::after{display:none}
  .guild-report .report-cover-copy{width:100%;min-width:0;max-width:1408px;margin-inline:auto}
  .guild-report .report-cover .topline,.guild-report .report-cover .eyebrow{font-size:13px;line-height:1.8;margin-bottom:26px;align-items:center;letter-spacing:.06em;gap:20px;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:850px}
  .guild-report .report-cover .topline>a{flex-shrink:0;padding:7px 12px;background:#11100e80;border:1px solid #d8b77a55;font-size:12px;text-decoration:none}
  .guild-report .report-cover h1{font-size:clamp(42px,4.5vw,72px);font-weight:600;line-height:1.38;letter-spacing:.035em;color:#f5e6c4;max-width:850px;margin:24px 0 30px;text-shadow:0 3px 24px #000b;text-wrap:balance}
  .guild-report .report-cover h1 span{display:block;font-size:.6em;color:#d8c8a7;line-height:1.6;margin-top:12px}
  .guild-report .report-cover h1 .cover-title-secondary{display:block;font-size:.58em;font-weight:400;letter-spacing:.035em;line-height:1.8;margin-top:16px;color:#dcc89e}
  .guild-report .report-cover h1 .cover-title-divider{display:none}
  .guild-report .report-cover :is(.lead,.sub),.guild-report .report-cover-copy>p:last-child:not(.eyebrow){font-size:19px;line-height:1.9;max-width:660px;color:#e1d5bf;margin:26px 0 0;text-shadow:0 2px 12px #000}
  .report-fullscreen :is(.report-header,.book-cover){padding:0 0 20px}
  .report-fullscreen .shell main>.hero{margin-top:40px;padding-bottom:0}
  .report-fullscreen[data-article="klaxxi"]>.hero{padding:32px 0 0}
  .report-fullscreen[data-article="klaxxi"]>nav.report-chapter-nav{position:sticky;float:left;top:28px;max-height:calc(100vh - 56px);margin-left:max(28px,calc((100vw - 1330px)/2));left:auto}
  .report-fullscreen .archive-related{clear:both}
  .guild-report :is(.meta,.facts,.stats){background:#1b19137d;border-top:1px solid #d8b77a30;border-bottom:1px solid #d8b77a30;padding:20px 16px;margin:0 0 28px;backdrop-filter:none}
  .guild-report .meta b{color:#e5d5b3;font-size:18px;font-weight:600}
  .guild-report .meta span{border-color:#d8b77a30}
  .guild-report :is(.brief,.conclusion-box){background:linear-gradient(110deg,#d1ae6312,transparent 75%);border:0;border-left:2px solid #b69a62;padding:22px 26px;margin-block:26px;color:#ddd4c5}
  .guild-report .brief>b:first-child{display:block;color:#efdfb9;line-height:1.7}
  .guild-report .conclusion-box::before{display:none}
  .guild-report :is(.report-section,.book-chapter,.method section){border-top-color:#c7a97535}
  .guild-report :is(.report-section,.book-main,.content,.method) h2,.guild-report[data-article="klaxxi"] main h2{font-size:clamp(25px,2vw,31px);line-height:1.6;letter-spacing:.035em;color:#e5d8bc;position:relative}
  .guild-report :is(.report-section,.book-main,.content,.method) h2::after,.guild-report[data-article="klaxxi"] main h2::after{content:"";display:block;position:absolute;bottom:-9px;left:0;height:1px;width:56px;background:var(--guild-gold);transform:scaleX(var(--chapter-line,1));transform-origin:left}
  .guild-report .report-section h2{margin-bottom:36px}
  .guild-report :is(.table-wrap,.table-scroll){background:#161511;border:0;border-top:1px solid #a88f5a70;box-shadow:0 12px 32px -24px #000}
  .guild-report table th{background:#262218!important;color:#dcc591!important;font-size:16px!important;font-weight:600!important;letter-spacing:.025em}
  .guild-report table :is(th,td){line-height:1.8;font-variant-numeric:tabular-nums}
  .guild-report table th{min-inline-size:4.5em;word-break:normal;overflow-wrap:normal;text-wrap:pretty}
  .guild-report table :is(th.num,td.num){text-align:right;white-space:nowrap}
  .guild-report[data-article="malkorok"] table:has(thead th:nth-child(6)) :is(th,td):nth-child(n+3):nth-child(-n+6){text-align:right;white-space:nowrap}
  .guild-report[data-article="klaxxi-11"] #conclusion table :is(th,td):first-child{min-width:82px;width:82px;text-align:center}
  .guild-report .meta>span{line-height:1.8;min-width:0;overflow-wrap:anywhere}
  .guild-report .meta b{text-wrap:pretty}
  .guild-report table td{border-bottom-color:#d2b57a20!important}
  .guild-report tbody tr:nth-child(even):not(.route-break){background:#c5aa6906!important}
  .guild-report tbody tr:hover:not(.route-break){background:#d1b3760d!important}
  .guild-report :is(.sidebar-inner,.rail,.book-nav){scrollbar-width:thin;scrollbar-color:#6c5834 transparent}
  .guild-report .sidebar-inner{top:28px}
  .guild-report .toc-link{border-left:1px solid #bca16d22;padding-left:12px;min-height:44px}
  .guild-report .toc-link:hover{border-left-color:#c7a975}
  .guild-report .archive-related{background:transparent!important;border:0!important;border-top:1px solid #b49a6a55!important;padding-inline:0!important}
  .archive-related .art-credit{display:block!important;margin-top:24px!important;color:#857d6f!important;font:11px/1.8 var(--guild-body)!important}
  .archive-related .art-credit a{display:inline!important;border:0!important;padding:0!important;font:inherit!important;color:#aaa08e!important}
  .archive-tools .report-motion-toggle{margin-left:auto!important;min-width:78px!important;min-height:44px!important;border:1px solid #b49a6a40!important;background:transparent!important;color:#b9b0a0!important;font:12px/1.4 var(--guild-body)!important;cursor:pointer!important;padding:8px 10px!important}
  .archive-tools .report-motion-toggle[hidden]{display:none!important}
  .archive-tools .report-motion-toggle:disabled{opacity:.6;cursor:default!important}
  .archive-tools details{margin-left:0!important}
  .report-reading-progress{position:fixed!important;z-index:100;inset:0 0 auto;height:2px;transform:scaleX(0);transform-origin:left;background:#d8b77a;pointer-events:none}
  .guild-report .hero-number{display:none}
  @media(max-width:1000px){
    .guild-report>.report-cover{padding:160px 32px 100px}
    .guild-report .report-cover h1{max-width:740px;font-size:clamp(40px,5vw,56px)}
    .guild-report .report-cover::before{background:linear-gradient(90deg,#11100ed9,#11100ea1 55%,#11100e40),linear-gradient(0deg,#11100e,transparent 50%)}
    .archive-tools{gap:16px!important}
  }
  @media(max-width:780px){
    .guild-report::before{height:650px;opacity:.12}
    .guild-report .report-shell{padding-top:24px}
    .guild-report .shell main>.hero{margin-top:24px}
    .guild-report .book-layout{padding-top:24px}
    .guild-report[data-article="klaxxi"]>.hero{padding-top:24px}
    .guild-report>.report-cover{padding:200px 20px 72px;min-height:100svh;align-items:flex-end}
    .guild-report .report-cover-art{inset:-3% -8%;background-position:var(--cover-mobile-position);filter:saturate(.75) brightness(1.15)}
    .guild-report .report-cover::before{background:linear-gradient(0deg,#11100e 0%,#11100eeb 22%,#11100ea6 48%,#11100e20 85%),linear-gradient(180deg,#11100e6b,transparent 35%)}
    .guild-report .report-cover h1{max-width:100%;font-size:clamp(32px,8.6vw,44px);margin:18px 0 22px;line-height:1.45}
    .guild-report .report-cover .topline,.guild-report .report-cover .eyebrow{font-size:11px;margin-bottom:18px;gap:12px;max-width:100%}
    .guild-report .report-cover :is(.lead,.sub),.guild-report .report-cover-copy>p:last-child:not(.eyebrow){max-width:100%;font-size:17px;margin-top:20px}
    .guild-report .report-cover h1 .cover-title-secondary{font-size:22px;line-height:1.65;margin-top:12px}
    .report-fullscreen[data-article="klaxxi"]>nav.report-chapter-nav{float:none;margin-left:0}
    .guild-report :is(.meta,.facts,.stats){padding:16px 12px;gap:16px;margin-bottom:24px}
    .guild-report .meta b{font-size:16px}
    .guild-report :is(.brief,.conclusion-box){padding:18px 20px}
    .guild-report .archive-tools .report-motion-toggle{margin-left:auto!important;min-width:72px!important;min-height:44px!important;font-size:12px!important}
    .guild-report .archive-tools details{flex-basis:auto!important;margin-left:auto!important;border:0!important}
    .guild-report .archive-tools .archive-home{margin-left:auto!important}
    .guild-report .report-cover .hero-number{display:none}
  }

}

.chapter-cue{display:none}
@media print{.report-cover-art,.report-reading-progress,.report-motion-toggle,.chapter-cue{display:none!important}}
@media screen and (max-width:780px){
  .guild-report .report-shell{display:block;padding:24px 18px 60px}
  .guild-report .sidebar{padding-bottom:18px;margin-bottom:0}
  .guild-report .sidebar-inner{display:block!important;position:static!important;max-height:none!important;overflow:visible!important;padding:0!important}
  .guild-report .sidebar-inner>.brand,.guild-report .sidebar-inner>.report-label,.guild-report .toc-overview{display:none!important}
  .guild-report .chapter-cue{display:flex;align-items:center;justify-content:space-between;gap:18px;font:12px/1.5 var(--guild-body);letter-spacing:.04em;color:#b9b0a0;margin:0 0 10px}
  .guild-report .chapter-cue::before{content:"章节目录";color:#d8c8a7}
  .guild-report .chapter-cue::after{content:"左右滑动 →";color:#8f846f;letter-spacing:0}
  .guild-report .report-chapter-nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#6f5938 transparent;padding:0 0 10px!important;margin-top:0!important;border:0;border-bottom:1px solid #b49a6a30;scroll-padding-inline:12px}
  .guild-report .report-chapter-nav a{flex:0 0 auto;display:flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #b49a6a30;padding:8px 12px!important;font-size:14px!important;min-height:44px;width:auto!important;margin:0}
  .guild-report .rail .brand{display:none}
  .guild-report .rail .tools{position:static;order:3;margin:10px 0 0;padding:0}
  .guild-report .rail .tools button{min-height:44px;font-size:13px}
  .guild-report .book-nav>strong{display:none}
  .guild-report .book-nav.report-chapter-nav .toc-list{display:contents!important}
  .guild-report[data-article="klaxxi"]>.chapter-cue{width:calc(100% - 36px);margin:0 auto 10px}
  .guild-report[data-article="klaxxi"]>nav.report-chapter-nav{position:sticky;left:auto;width:100%;padding:8px 18px!important;top:0;max-height:none}
  .guild-report[data-article="klaxxi"]>:is(.hero,main){width:calc(100% - 36px);margin-inline:auto}
  .guild-report[data-article="klaxxi"]>nav.report-chapter-nav .nav-title,.guild-report[data-article="klaxxi"]>nav.report-chapter-nav .type-controls{display:none}
  .guild-report .sidebar-tools{display:flex;gap:10px;margin:10px 0 0;padding:0;border:0}
  .guild-report .sidebar-tools button{padding:6px 10px;min-height:44px;font-size:13px}
  .guild-report.tables-enhanced td.num,.guild-report[data-article="malkorok"].tables-enhanced table:has(thead th:nth-child(6)) td:nth-child(n+3):nth-child(-n+6){text-align:left;white-space:normal}
  .guild-report.tables-enhanced thead th{min-inline-size:0;overflow-wrap:anywhere;word-break:break-all}
  .guild-report .report-cover .topline>a{font-size:10px;max-width:100%;overflow-wrap:anywhere}
}
@media screen and (min-width:781px) and (max-width:1050px){
  .guild-report .book-nav{padding:0 0 18px}
  .guild-report .book-nav .toc-list{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:10px}
  .guild-report .book-nav .toc-list a{flex:0 0 auto;white-space:nowrap;padding:8px 14px;border:1px solid var(--guild-line);min-height:44px}
}

html.report-motion-paused{scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){html:has(body.guild-report){scroll-behavior:auto}.guild-report a,.guild-report button{transition:none!important}}
