@charset "UTF-8";

:root {
  --bg: #0e131b;
  --panel: #171f2b;
  --panel-raised: #1d2938;
  --border: #303b49;
  --text: #e6e9ef;
  --muted: #a8b2c1;
  --dim: #8995a6;
  --accent: #7eb7e4;
  --accent-bg: #20364c;
  --gold: #d2b279;
  --gold-bg: #342d23;
  --gold-border: #6f5c40;
  --radius: 5px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--text); background: var(--bg); font: 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a, button, input, summary { outline-offset: 4px; }
:is(a, button, input, summary):focus-visible { outline: 2px solid var(--accent); }
input[type="checkbox"] { accent-color: #6fa9d6; width: 17px; height: 17px; flex-shrink: 0; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1 { color: #f0e6d2; font: 600 2rem/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.5px; }
h2 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
h3 { font-size: 1rem; font-weight: 600; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 10px 18px; background: var(--accent); color: var(--bg); z-index: 99; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* A compact guild masthead, with the navigation directly underneath. */
.guild-header { background: #121b28; border-top: 3px solid #736044; }
.masthead, .nav-inner, .content { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 15px; }
.guild-crest { width: 48px; height: 58px; flex-shrink: 0; }
.brand-name { display: block; color: #e1c28e; font: 600 1.8rem/1.2 Georgia, "Times New Roman", serif; letter-spacing: .7px; }
.brand-sub { display: block; color: var(--muted); font-size: .75rem; letter-spacing: 1.25px; margin-top: 7px; }
.brand-sub > span { color: #84714f; margin-inline: 5px; }
.header-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; }
.header-link:hover { color: var(--accent); }
.header-link .icon { width: 14px; height: 14px; }
.guild-nav { background: #182230; border-block: 1px solid var(--border); box-shadow: 0 5px 12px #0002; }
.nav-inner { display: flex; align-items: stretch; gap: 20px; }
.nav-link { display: inline-flex; align-items: center; gap: 9px; min-height: 53px; padding: 0 7px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.nav-link .icon { width: 17px; height: 17px; }
.nav-link:hover { color: var(--text); background: #ffffff04; }
.nav-link.active { color: #ecd2a0; border-bottom-color: #c4a36c; }
.nav-caption { display: flex; align-items: center; margin-left: auto; color: var(--dim); font-size: .75rem; letter-spacing: 1.2px; }
.content { padding-top: 32px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.page-heading p { font-size: 1rem; margin-top: 8px; }
.guild-label { display: inline-flex; gap: 9px; align-items: center; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.guild-label .icon { color: var(--gold); width: 17px; height: 17px; }
.back-link { display: inline-block; margin-bottom: 10px; color: var(--accent); font-size: .875rem; }
.back-link:hover { text-decoration: underline; }

/* Repeated panels stay simple; bronze is reserved for guild identity and headers. */
.panel { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius); box-shadow: 0 3px 12px #0002; }
.panel-title { display: flex; align-items: center; gap: 10px; }
.panel-title > .icon { color: var(--gold); width: 19px; height: 19px; }
.panel-title h2 { font-size: 1rem; }
.section-block { margin-bottom: 32px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-heading h2 { color: #ddd0b8; }
.subtle { font-size: .875rem; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: .875rem; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 13px; height: 13px; }
.button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 41px; padding: 8px 16px; border-radius: 3px; border: 1px solid transparent; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.button .icon { width: 17px; height: 17px; }
.button-primary { color: #e3efff; background: #28527a; border-color: #517c9d; box-shadow: inset 0 1px #ffffff12, 0 2px 6px #0003; }
.button-primary:hover { background: #32638f; border-color: #80b7db; }
.button-secondary { color: #d7b984; background: #302a23; border-color: #6a583d; box-shadow: inset 0 1px #ffffff09; }
.button-secondary:hover { background: #3d3327; border-color: #a1875b; }
.text-button { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 5px 7px; border: 0; background: transparent; color: var(--muted); font-size: .875rem; }
.text-button:hover { color: var(--text); }
.text-button .icon { width: 15px; height: 15px; }
.badge { display: inline-block; font-size: .75rem; line-height: 1.5; border-radius: 3px; padding: 4px 9px; }
.badge-amber { color: var(--gold); background: var(--gold-bg); border: 1px solid #584a36; }
.search-field { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 13px; background: #111923; border: 1px solid var(--border); border-radius: 3px; color: var(--dim); }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px #7eb7e433; }
.search-field input { width: 100%; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; font-size: .875rem; }
.search-field input::placeholder { color: var(--dim); }
.search-field .icon { width: 17px; height: 17px; }
kbd { font: .75rem var(--font); color: var(--dim); border: 1px solid #3f4b5a; border-radius: 2px; padding: 0 6px; }
.empty-state { padding: 25px; color: var(--muted); font-size: .875rem; text-align: center; }

/* Home: the saved raid, a reference directory, and preparation tasks. */
.lineup-panel { border-top: 2px solid var(--gold-border); }
.lineup-heading { display: flex; align-items: center; gap: 14px; padding: 22px 25px; }
.lineup-heading h2 { color: #e1c28e; font-size: 1.25rem; }
.lineup-heading p { font-size: 1rem; margin-top: 4px; }
.lineup-heading > .button { margin-left: auto; }
.tool-emblem { display: grid; place-items: center; width: 46px; height: 46px; background: #243246; border: 1px solid #536176; color: #c3a976; flex-shrink: 0; border-radius: 3px; }
.tool-emblem .icon { width: 25px; height: 25px; }
.lineup-body { display: flex; align-items: center; gap: 25px; margin: 0 25px; padding: 20px 0; border-top: 1px solid var(--border); }
.lineup-classes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 13px; flex: 1; }
.lineup-class { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: .75rem; color: var(--muted); }
.lineup-class img { width: 32px; height: 32px; border: 1px solid #687181; border-radius: 3px; opacity: .65; filter: saturate(.6); }
.lineup-class.selected { color: var(--class-color); }
.lineup-class.selected img { opacity: 1; filter: none; outline: 1px solid #789fc2; outline-offset: 2px; }
.lineup-meta { display: flex; flex-direction: column; gap: 3px; padding-left: 24px; border-left: 1px solid var(--border); min-width: 185px; }
.lineup-meta strong { font-size: .875rem; font-weight: 500; }
.lineup-meta > span { color: var(--dim); font-size: .75rem; }
.lineup-foot { display: flex; align-items: center; gap: 25px; padding: 11px 25px; border-top: 1px solid var(--border); background: #131b26; font-size: .8125rem; color: var(--muted); }
.lineup-foot > span { display: inline-flex; align-items: center; gap: 7px; }
.lineup-foot .icon { width: 15px; height: 15px; color: var(--gold); }
.lineup-foot > a { margin-left: auto; font-size: .8125rem; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; margin-top: 32px; }
.resource-row { display: flex; align-items: center; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.resource-row:hover h3 { color: var(--accent); }
.resource-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; background: #1d3044; border: 1px solid #42566d; border-radius: 3px; color: #9dbfdf; }
.resource-row h3 { font-size: 1rem; }
.resource-row p { font-size: .875rem; margin-top: 3px; }
.resource-type { margin-left: auto; color: var(--gold); font-size: .75rem; white-space: nowrap; }
.planned-resources > div { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #27303c; font-size: .875rem; color: var(--dim); }
.planned-resources .icon { width: 18px; height: 18px; margin-inline: 12px; }
.planned-label { margin-left: auto; color: var(--dim); font-size: .75rem; }
.prep-panel { padding: 20px; border-top: 2px solid #6b5a42; }
.prep-panel > .subtle { font-size: .75rem; margin: 7px 0 15px; }
.prep-panel > label { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .875rem; cursor: pointer; }
.prep-panel label input:checked + span { text-decoration: line-through; color: var(--dim); }
.prep-progress { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 16px; color: var(--muted); font-size: .8125rem; }
.prep-progress .text-button { font-size: .8125rem; }
.reference-status { margin-top: 26px; padding: 0 4px; }
.reference-status h2 { font-size: 1rem; }
.reference-status dl { margin: 18px 0; }
.reference-status dl > div { display: flex; gap: 15px; justify-content: space-between; margin: 9px 0; font-size: .875rem; }
.reference-status dt { color: var(--muted); }
.reference-status dd { margin: 0; color: var(--gold); font-variant-numeric: tabular-nums; }
.reference-status p { font-size: .875rem; line-height: 1.75; }
.reference-status > a { font-size: .8125rem; margin-top: 12px; }
.news-status { font-size: .8125rem; color: var(--dim); margin: -5px 0 14px; }
.news-feed { border-top: 1px solid var(--border); }
.news-item { display: flex; gap: 14px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--border); }
.news-item:hover h3 { color: var(--accent); }
.news-icon { display: grid; place-items: center; width: 35px; height: 35px; background: #242a32; border: 1px solid #404752; border-radius: 3px; color: #b8b4aa; flex-shrink: 0; }
.news-icon .icon { width: 18px; height: 18px; }
.news-item h3 { font-size: .9375rem; line-height: 1.6; font-weight: 500; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: var(--dim); margin-bottom: 5px; }
.news-meta > span:first-child { color: var(--gold); }
.news-item > span:last-child { margin-left: auto; color: var(--dim); flex-shrink: 0; }
.news-item > span:last-child .icon { width: 14px; height: 14px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; padding: 22px 0 28px; border-top: 1px solid var(--border); color: var(--dim); font-size: .75rem; }
.footer > span:first-child { color: #c6b393; }
.footer-divider { color: #71634f; margin-inline: 9px; }
.footer a:hover { color: var(--accent); }

/* Spell artwork and game-style descriptions share one local source per effect. */
.spell-icon { flex-shrink: 0; object-fit: cover; border: 1px solid #b59b63; border-radius: 3px; box-shadow: 0 0 0 1px #090b0e, inset 0 0 0 1px #000; }
.tooltip-trigger { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.tooltip-trigger > span { text-decoration: underline dotted #72859b; text-underline-offset: 4px; }
.tooltip-trigger:hover, .tooltip-trigger:focus-visible { color: #ffd66b; }
.tooltip-trigger > .icon { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.option-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.option-row > label { flex: 1; min-width: 0; }
.tooltip-info { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; padding: 6px; border: 1px solid transparent; border-radius: 3px; color: var(--gold); background: transparent; }
.tooltip-info > .icon { width: 17px; height: 17px; }
.tooltip-info:hover, .tooltip-info:focus-visible { background: var(--gold-bg); border-color: var(--gold-border); }
.provider[data-tooltip] { cursor: help; }
.provider[data-tooltip] .provider-name { text-decoration: underline dotted #72859b; text-underline-offset: 4px; }
.provider[data-tooltip]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.reference-tooltip { position: fixed; z-index: 50; width: min(380px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 17px; border: 2px solid #b5a075; border-radius: 7px; background: linear-gradient(135deg, #16243afa, #080d18fc 65%), repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 3px); box-shadow: 0 0 0 1px #06080e, 0 0 0 3px #3c3426, 0 14px 42px #000e, inset 0 0 0 1px #e9d2a52b; font-size: .9375rem; line-height: 1.6; text-shadow: 1px 1px #000; }
.tooltip-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 13px; padding-bottom: 12px; border-bottom: 1px solid #64583d; }
.tooltip-heading > .spell-icon { width: 44px; height: 44px; border: 2px solid #d6bc7c; box-shadow: 0 0 0 1px #030408, 0 2px 7px #000; }
.tooltip-heading strong { display: block; color: #ffda6a; font: 600 1.0625rem/1.3 Georgia, serif; }
.tooltip-heading span { display: block; margin-top: 4px; color: #bbc6da; font-size: .75rem; }
.reference-tooltip .tooltip-description { color: #d0d4de; font-size: .8125rem; }
.tooltip-values { margin-top: 10px; }
.tooltip-values p { color: #6ff58d; }
.tooltip-values p + p { margin-top: 7px; }
.tooltip-overlaps { margin-top: 12px; padding-top: 11px; border-top: 1px solid #665536; }
.tooltip-overlaps > strong { display: block; color: #ffda6a; font-size: .8125rem; margin-bottom: 9px; }
.tooltip-overlap-effect { display: flex; align-items: center; gap: 9px; margin-top: 7px; color: #efdfb5; font-size: .875rem; }
.tooltip-overlap-effect small { display: block; color: #bfc7d5; font-size: .75rem; line-height: 1.5; margin-top: 2px; }
.tooltip-overlaps p { margin-top: 8px; color: #bfc7d5; font-size: .75rem; }
.tooltip-overlaps > p:first-child { margin: 0; }
.effect-source-links { display: grid; gap: 5px; }
.filter-status { margin-top: 10px; padding: 9px 12px; background: var(--accent-bg); border-left: 2px solid var(--accent); font-size: .8125rem; }
.reference-tooltip .tooltip-note { margin-top: 12px; color: #d0d4de; font-size: .8125rem; }
.tooltip-status { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid #554c38; color: #e4c88c; font-size: .75rem; }

/* Raid tool. Selection and effect coverage have independent visual signals. */
.raid-picker { padding: 22px 24px 17px; border-top: 2px solid var(--gold-border); }
.raid-picker .section-heading { margin-bottom: 20px; }
.raid-picker .panel-title h2 { color: #ded1b9; font-size: 1.125rem; }
.raid-picker .panel-title p { margin-top: 2px; }
.picker-actions { display: flex; align-items: center; gap: 12px; }
.class-fieldset { padding: 0; border: 0; margin: 0; }
.class-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 9px; }
.class-choice { position: relative; cursor: pointer; }
.class-choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; z-index: 1; cursor: pointer; }
.class-tile { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 14px 5px 10px; min-height: 95px; background: #111923; border: 1px solid #3b4858; border-radius: 3px; transition: background .15s, border-color .15s; }
.class-tile img { width: 35px; height: 35px; border-radius: 3px; filter: saturate(.7); opacity: .8; border: 1px solid #626a78; }
.class-tile > span { font-size: .875rem; color: #b5bfcc; }
.class-choice input:hover + .class-tile { border-color: #7898b8; background: #192534; }
.class-choice input:focus-visible + .class-tile { outline: 2px solid var(--accent); outline-offset: 4px; }
.class-choice input:checked + .class-tile { background: #243a51; border-color: #82acd1; box-shadow: inset 0 -2px #6199c5; }
.class-choice input:checked + .class-tile img { opacity: 1; filter: none; }
.class-choice input:checked + .class-tile > span { color: var(--class-color); }
.class-check { position: absolute; right: 5px; top: 5px; width: 15px; height: 15px; border: 1px solid #4d6075; border-radius: 2px; display: grid; place-items: center; }
.class-check .icon { width: 12px; height: 12px; visibility: hidden; }
.class-choice input:checked + .class-tile .class-check { background: #96c4e8; border-color: #96c4e8; color: #132539; }
.class-choice input:checked + .class-tile .class-check .icon { visibility: visible; }
.item-provider-options { margin-top: 17px; border-bottom: 1px solid var(--border); }
.item-provider-options summary { list-style: none; display: flex; align-items: center; gap: 15px; min-height: 46px; padding: 9px 0; color: #c4cedb; font-size: .875rem; cursor: pointer; }
.item-provider-options summary::-webkit-details-marker { display: none; }
.item-provider-options summary > .subtle { margin-left: auto; font-size: .8125rem; color: var(--dim); }
.item-provider-options summary > .icon { width: 16px; height: 16px; }
.item-provider-options[open] summary > .icon { transform: rotate(180deg); }
.class-tray-hint { margin-top: 13px; font-size: .8125rem; color: var(--muted); }
.class-choice.is-active .class-tile { outline: 1px solid #c5a467; outline-offset: 3px; }
.class-tray { margin-top: 16px; border: 1px solid var(--gold-border); border-radius: 4px; background: #111a26; box-shadow: inset 0 1px #c5a46730; }
.class-tray-header { display: flex; align-items: center; gap: 12px; padding: 14px 17px; border-bottom: 1px solid #594b35; background: linear-gradient(110deg, #28303a, #171e28); }
.class-tray-header > img { border: 1px solid #9c895f; border-radius: 3px; }
.class-tray-header h3 { font-size: 1rem; }
.class-tray-header p { margin-top: 2px; font-size: .8125rem; }
.tray-label { margin-left: auto; font-size: .6875rem; letter-spacing: 1px; color: var(--gold); }
.class-tray-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 17px; }
.class-tray-body:has(> fieldset[hidden]) > fieldset { grid-column: 1 / -1; }
.class-tray-body fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.class-tray-body legend { color: #e6d3ac; font-size: .875rem; font-weight: 600; }
.tray-help { font-size: .8125rem; margin: 5px 0 12px; line-height: 1.65; }
.assignment-grid { display: grid; gap: 6px; }
.assignment-option { display: flex; align-items: center; gap: 9px; font-size: .875rem; padding: 4px 0; cursor: pointer; }
.assignment-option small { display: block; color: var(--gold); font-size: .75rem; }
.assignment-option:has(input:disabled) { opacity: .55; cursor: default; }
.item-confirm-options { border: 0; margin: 0; padding: 12px 0 20px; }
.item-confirm-options > p { font-size: .8125rem; margin-bottom: 12px; }
.spec-grid { display: grid; gap: 6px; }
.checkbox-label { display: inline-flex; align-items: center; gap: 8px; min-height: 35px; font-size: .875rem; cursor: pointer; }
.spec-option { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: .875rem; }
.spec-option img { width: 26px; height: 26px; }
.spec-option:has(input:disabled) { opacity: .45; }
.spec-option input:not(:disabled) { cursor: pointer; }
.item-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; }
.item-option { display: flex; align-items: center; gap: 10px; font-size: .875rem; cursor: pointer; }
.item-option img { width: 30px; height: 30px; border-radius: 3px; }
.item-option small { display: block; font-size: .75rem; color: var(--muted); }
.coverage-overview { display: grid; grid-template-columns: 1fr repeat(3, minmax(100px, .6fr)); align-items: center; gap: 18px; padding: 19px 0 4px; }
.coverage-label { font-size: .75rem; color: var(--dim); letter-spacing: .6px; }
.coverage-overview > div:first-child strong { display: block; margin-top: 3px; font-size: .875rem; font-weight: 500; }
.coverage-stat { display: flex; align-items: center; gap: 10px; border-left: 1px solid var(--border); padding-left: 20px; }
.coverage-stat strong { font-size: 1.625rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.coverage-stat > span { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.stat-covered strong { color: #9bc6e6; }
.stat-amber strong { color: var(--gold); }
.storage-note { margin-top: 14px; color: var(--dim); font-size: .75rem; line-height: 1.7; }
.share-panel { margin-bottom: 18px; padding: 14px; background: #111b29; border: 1px solid #3b5874; }
.share-panel label { display: block; color: var(--gold); font-size: .875rem; margin-bottom: 7px; }
.share-panel input { width: 100%; min-width: 0; padding: 9px; background: #0e151f; border: 1px solid #4c5d72; border-radius: 2px; font-size: .875rem; }
.share-panel p { font-size: .8125rem; margin-top: 7px; }
.gaps-section { margin: 28px 0 32px; }
.gap-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; padding: 0 16px; background: #141d29; border: 1px solid var(--border); border-radius: 3px; }
.gap-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 13px 0; border-bottom: 1px solid #2e3947; }
.gap-chip:hover h3 { color: var(--accent); }
.gap-chip > div { flex: 1; min-width: 0; }
.gap-effect-icon { width: 30px; height: 30px; }
.gap-chip h3 { font-size: .875rem; font-weight: 500; line-height: 1.5; }
.gap-reason { display: block; margin-top: 3px; font-size: .75rem; color: #bdaf98; }
.provider-mini { display: flex; gap: 4px; flex-shrink: 0; }
.provider-mini img { width: 25px; height: 25px; border: 1px solid #647183; border-radius: 2px; }
.gap-list > .empty-state { grid-column: 1 / -1; width: 100%; padding: 18px 0; text-align: left; }
.gap-list > .empty-state.success { color: #9bc6e6; }
.reference-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filter-tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 3px; background: #151e2a; }
.filter-tab { border: 0; border-radius: 2px; min-height: 35px; padding: 6px 15px; background: transparent; font-size: .875rem; color: var(--muted); }
.filter-tab.active { color: #c3ddf4; background: #2b435c; }
.filter-tab:hover { color: var(--text); }
.reference-controls > .search-field { width: 350px; }
.reference-subfilters { display: flex; align-items: center; gap: 22px; padding: 11px 0 3px; }
.reference-subfilters > .text-button { margin-left: auto; }
.reference-caption { font-size: .8125rem; line-height: 1.7; margin: 8px 0 14px; color: var(--dim); }
.effect-table-wrap { overflow: hidden; border: 1px solid var(--border); border-radius: 3px; background: #141c27; }
.effect-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.effect-table th { padding: 13px 19px; font-size: .8125rem; font-weight: 500; color: #d6c5a7; background: #242b34; border-bottom: 1px solid #65563f; }
.effect-table th:nth-child(1) { width: 35%; }
.effect-table th:nth-child(2) { width: 29%; }
.effect-table th:nth-child(3) { width: 14%; }
.effect-table th:nth-child(4) { width: 22%; }
.effect-table td { padding: 14px 19px; border-bottom: 1px solid #2a3543; font-size: .875rem; vertical-align: top; }
.effect-table tr:nth-child(even) { background: #17212e; }
.effect-table tr:last-child td { border-bottom: 0; }
.effect-table tr:hover, .effect-table tr:target { background: #203247; }
.effect-name { font-weight: 600; color: #e4e7ed; font-size: .9375rem; }
.effect-benefit { display: block; margin-top: 3px; font-size: .875rem; color: var(--muted); }
.effect-kind { display: inline-block; margin-bottom: 3px; font-size: .75rem; color: #96bbd9; text-transform: uppercase; letter-spacing: .5px; }
.effect-kind.debuff { color: #d2ac85; }
.effect-notes { margin-top: 6px; }
.effect-notes summary { font-size: .75rem; color: var(--dim); cursor: pointer; min-height: 23px; }
.effect-notes p { font-size: .875rem; line-height: 1.65; margin: 7px 0; }
.effect-notes a { font-size: .8125rem; color: var(--accent); text-decoration: underline; }
.review-tag { display: inline-block; color: #ccb58b; font-size: .75rem; margin-top: 5px; line-height: 1.5; }
.review-tag::before { content: '· '; color: #b1905c; }
.providers { display: flex; flex-direction: column; gap: 9px; }
.provider { display: flex; align-items: center; gap: 9px; font-size: .875rem; }
.provider img { width: 27px; height: 27px; border-radius: 2px; border: 1px solid #627082; flex-shrink: 0; }
.provider-name { color: var(--class-color, var(--text)); }
.provider small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.scope { color: var(--muted); font-size: .875rem; }
.coverage-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; line-height: 1.5; padding: 3px 0; color: var(--muted); }
.coverage-badge .icon { width: 14px; height: 14px; }
.coverage-badge.covered { color: #a3cbea; }
.coverage-badge.pending { color: #d1b783; }
.coverage-badge.missing { color: #cfab96; }
.review-banner { display: flex; align-items: start; gap: 13px; padding: 20px; margin: 28px 0; background: #191e25; border: 1px solid #4b453b; border-radius: 3px; }
.review-banner > .icon { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.review-banner h2 { color: #d9c59f; font-size: 1rem; margin-bottom: 8px; }
.review-banner p { font-size: .875rem; line-height: 1.8; }
.review-banner p + p { margin-top: 8px; }
.review-banner a { color: var(--accent); text-decoration: underline; }
.review-banner strong { color: var(--gold); font-weight: 500; }

@media (max-width: 1100px) {
  .masthead, .nav-inner, .content { width: calc(100% - 48px); }
  .home-columns { grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; }
  .lineup-body { align-items: start; flex-direction: column; gap: 16px; }
  .lineup-classes { width: 100%; }
  .lineup-meta { flex-direction: row; gap: 12px; padding: 0; border: 0; }
  .class-grid { gap: 7px; }
  .class-tile > span { font-size: .8125rem; }
  .class-tile img { width: 32px; height: 32px; }
  .coverage-stat { padding-left: 13px; gap: 8px; }
  .coverage-overview { gap: 12px; }
  .gap-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .nav-caption { display: none; }
  .nav-inner { justify-content: space-between; gap: 8px; }
  .nav-link { font-size: .8125rem; gap: 7px; padding-inline: 5px; }
  .guild-label { display: none; }
  .home-columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 25px; }
  .reference-status { margin-top: 0; padding: 6px 0; }
  .lineup-heading { flex-wrap: wrap; }
  .lineup-heading > .tool-emblem { display: none; }
  .lineup-heading > div { flex: 1 1 350px; }
  .lineup-heading > .button { margin-left: 0; }
  .class-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .class-tile { min-height: 88px; }
  .class-tile > span { font-size: .875rem; }
  .coverage-overview { grid-template-columns: 1fr 1fr 1fr; }
  .coverage-overview > div:first-child { grid-column: 1 / -1; }
  .class-tray-body { grid-template-columns: 1fr; }
  .gap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-controls > .search-field { width: 300px; }
  .effect-table th, .effect-table td { padding-inline: 13px; }
  .effect-table th:nth-child(1) { width: 33%; }
  .effect-table th:nth-child(2) { width: 28%; }
  .effect-table th:nth-child(3) { width: 12%; }
  .effect-table th:nth-child(4) { width: 27%; }
}

@media (max-width: 600px) {
  .masthead, .nav-inner, .content { width: calc(100% - 32px); }
  .masthead { min-height: 88px; }
  .brand { gap: 10px; }
  .guild-crest { width: 36px; height: 45px; }
  .brand-name { font-size: 1.5rem; }
  .brand-sub { font-size: .625rem; letter-spacing: .5px; margin-top: 5px; }
  .brand-sub > span { margin-inline: 2px; }
  .header-link { font-size: 0; gap: 0; padding: 8px; }
  .header-link .icon { width: 17px; height: 17px; }
  .nav-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0 12px; }
  .nav-link { font-size: .875rem; min-height: 43px; }
  .nav-link:nth-child(3), .nav-link:nth-child(4) { font-size: .8125rem; min-height: 37px; color: var(--dim); }
  .content { padding-top: 25px; }
  h1 { font-size: 1.8rem; }
  .page-heading { align-items: start; margin-bottom: 22px; }
  .page-heading p { font-size: .9375rem; }
  .resource-page-heading > .badge { display: none; }
  .lineup-heading { padding: 18px; gap: 14px; }
  .lineup-heading p { font-size: .9375rem; }
  .lineup-body { margin-inline: 18px; padding-block: 17px; }
  .lineup-classes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 6px; }
  .lineup-class { font-size: .75rem; }
  .lineup-meta { flex-direction: column; gap: 1px; }
  .lineup-foot { padding: 12px 18px; flex-wrap: wrap; gap: 8px 16px; }
  .lineup-foot > a { margin-left: 0; }
  .home-columns { margin-top: 26px; }
  .section-heading { gap: 12px; }
  .section-heading > .text-link { font-size: .75rem; }
  .resource-row { gap: 12px; }
  .resource-type { display: none; }
  .resource-row p { font-size: .875rem; }
  .resource-icon { width: 37px; height: 37px; }
  .planned-resources > div { font-size: .875rem; gap: 12px; }
  .planned-resources .icon { margin-inline: 9px; }
  .home-secondary { grid-template-columns: 1fr; gap: 27px; }
  .news-item { gap: 12px; }
  .news-item h3 { font-size: .875rem; }
  .news-icon { display: none; }
  .footer { align-items: start; flex-direction: column; gap: 6px; }
  .raid-picker { padding: 17px 16px; }
  .raid-picker .section-heading { flex-wrap: wrap; gap: 15px; }
  .picker-actions { gap: 12px; }
  .picker-actions .button { font-size: .8125rem; min-height: 37px; padding: 6px 11px; }
  .class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .class-tile { min-height: 87px; padding: 13px 5px 10px; }
  .class-tile > span { font-size: .8125rem; }
  .class-tile img { width: 31px; height: 31px; }
  .item-options { grid-template-columns: 1fr; }
  .tray-label { display: none; }
  .class-tray-header, .class-tray-body { padding: 13px; }
  .item-provider-options summary { font-size: .8125rem; }
  .item-provider-options summary > .subtle { display: none; }
  .item-provider-options summary > .icon { margin-left: auto; }
  .coverage-overview { gap: 14px 7px; padding-top: 16px; }
  .coverage-stat { flex-direction: column; align-items: start; gap: 5px; padding-left: 11px; }
  .coverage-stat > span { font-size: .75rem; }
  .storage-note { font-size: .75rem; }
  .gaps-section .section-heading { align-items: end; }
  .gaps-section .section-heading > .subtle { text-align: right; max-width: 125px; font-size: .8125rem; }
  .gap-list { grid-template-columns: minmax(0, 1fr); padding-inline: 14px; }
  .gap-chip:last-child { border-bottom: 0; }
  .reference-controls { flex-wrap: wrap; gap: 12px; }
  .reference-controls > .search-field { width: 100%; }
  .filter-tab { padding-inline: 13px; }
  .reference-subfilters { flex-wrap: wrap; gap: 0 13px; }
  .reference-subfilters .checkbox-label, .reference-subfilters .text-button { font-size: .8125rem; }
  .reference-subfilters > .text-button { margin-left: 0; }
  .effect-table thead { display: none; }
  .effect-table, .effect-table tbody { display: block; }
  .effect-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; border-bottom: 1px solid var(--border); }
  .effect-table tr:last-child { border: 0; }
  .effect-table td { padding: 0; border: 0; }
  .effect-table td:first-child { grid-column: 1 / -1; }
  .effect-table td:nth-child(2) { grid-column: 1; grid-row: 2 / 4; }
  .effect-table td:nth-child(3) { grid-column: 2; grid-row: 2; text-align: right; }
  .effect-table td:nth-child(3)::before { content: 'Scope: '; color: var(--dim); font-size: .75rem; }
  .effect-table td:nth-child(4) { grid-column: 2; grid-row: 3; text-align: right; }
  .scope, .coverage-badge { font-size: .8125rem; }
  .provider { font-size: .8125rem; }
  .review-banner { padding: 17px; gap: 10px; }
  .review-banner > .icon { width: 17px; height: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.load-error { align-items: center; flex-wrap: wrap; }
.load-error p { flex: 1; min-width: 180px; }
