@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Marcellus&display=swap');

/* ============================================================
   Aggro Management — Main Stylesheet
   Dark WoW-inspired theme
   ============================================================ */

/* ── Variables ── */
:root {
  --bg:           #0d0d0d;
  --bg-card:      #161616;
  --bg-card-alt:  #1c1c1c;
  --border:       #2a2a2a;
  --accent:       #c69b3a;   /* WoW gold */
  --accent-hover: #e0b84a;
  --accent-blue:  #0072C6;
  --text:         #e8e3d9;
  --text-muted:   #888;
  --danger:       #c0392b;
  --success:      #27ae60;
  --info:         #2980b9;
  --header-h:     64px;
  --radius:       8px;
  --font:         'Segoe UI', Arial, sans-serif;
  --font-display: 'Cinzel', Georgia, serif;
  --font-dashboard: 'Marcellus', Georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body.site-body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
img { max-width: 100%; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.2rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary  { background: var(--accent);  color: #000; }
.btn-primary:hover  { background: var(--accent-hover); color: #000; }
.btn-ghost    { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover    { border-color: var(--accent); color: var(--accent); }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-sm       { padding: .35rem .75rem; font-size: .8rem; }
.btn-lg       { padding: .75rem 1.75rem; font-size: 1rem; }

/* ── Header ── */
/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, #12100a 0%, #0d0c08 100%);
  border-bottom: 2px solid #4a3b1c;
  height: var(--header-h);
  box-shadow: 0 2px 20px rgba(0,0,0,.7), 0 1px 0 rgba(198,155,58,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
  padding: 0 1.5rem;
  max-width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--accent);
  flex-shrink: 0;
  text-shadow: 0 0 20px rgba(198,155,58,.4);
  letter-spacing: .04em;
}
.logo-icon { font-size: 1.4rem; }
.header-tagline {
  flex: 1;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5a5040;
  font-weight: 600;
}
.nav-auth   { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-username { font-size: .85rem; color: var(--accent); font-weight: 700; }
.nav-role-badge {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: .18rem .55rem;
  border-radius: 4px;
  border: 1px solid;
}
.nav-role-officer { background: #1a1040; border-color: #5040b0; color: #a090ff; }
.nav-role-asst_gm { background: #132a1f; border-color: #2e7d57; color: #8ee4b1; }
.nav-role-gm      { background: #2a1a04; border-color: #9b6e34; color: #ffc850; }
.nav-role-admin   { background: #2a0808; border-color: #8b2020; color: #ff7070; }
.nav-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .22rem .35rem .22rem .65rem;
  border-radius: 999px;
  border: 1px solid #7f1d1d;
  background: rgba(69, 10, 10, .88);
  color: #fecaca;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav-alert-badge:hover {
  color: #fff;
  border-color: #b91c1c;
  background: rgba(127, 29, 29, .92);
}
.nav-alert-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 .4rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: .72rem;
  line-height: 1;
}

/* ── Flash messages ── */
.flash {
  padding: .8rem 1.5rem;
  font-size: .9rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.flash-success { background: #0d3320; color: #5fcf8a; border-bottom: 1px solid #1e5c3a; }
.flash-error   { background: #3a0d0d; color: #e07070; border-bottom: 1px solid #6b1f1f; }
.flash-info    { background: #0d2040; color: #6ab0f5; border-bottom: 1px solid #1e4080; }
.flash-close {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: .6;
  font-size: .85rem;
  padding: 0 .25rem;
}
.flash-close:hover { opacity: 1; }

/* ── Main / Footer ── */
/* ── Page shell: sidebar + content ── */
.page-shell {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* ── Sidebar ── */
.sidebar {
  width: 220px;
  min-width: 200px;
  max-width: 240px;
  background: linear-gradient(180deg, #0f0e0a 0%, #0a0906 100%);
  border-right: 1px solid #2a2318;
  flex-shrink: 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a3020 transparent;
}
.sidebar-inner {
  padding: 1.25rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.nav-section { margin-bottom: .75rem; }
.nav-section-label {
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #4a3b1c;
  padding: .5rem .6rem .3rem;
  border-bottom: 1px solid #1e1a10;
  margin-bottom: .25rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .52rem .7rem;
  border-radius: 7px;
  font-size: .875rem;
  font-weight: 500;
  color: #9a9080;
  transition: background .13s, color .13s;
  margin-bottom: .1rem;
  border: 1px solid transparent;
}
.nav-item:hover {
  background: #1a1710;
  color: #d4c4a0;
  border-color: #2e2818;
}
.nav-item.is-active {
  background: linear-gradient(135deg, #1f1a0a 0%, #161205 100%);
  color: var(--accent);
  border-color: #3a2e10;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--accent);
}
.nav-icon { font-size: .95rem; flex-shrink: 0; }

.site-main   { flex: 1; min-width: 0; }
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Tips ── */
.tips-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .85rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f0d492;
}

.tips-library-hero,
.tips-manage-header,
.tips-page-hero,
.tips-featured-card,
.tips-empty-state,
.tips-manage-card,
.tips-editor-main,
.tips-editor-sidebar > section {
  background: linear-gradient(180deg, rgba(33, 28, 20, .95), rgba(18, 17, 14, .98));
  border: 1px solid rgba(198, 155, 58, .16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
}

.tips-library-hero,
.tips-manage-header,
.tips-page-hero,
.tips-featured-card,
.tips-empty-state {
  border-radius: 20px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.tips-library-hero,
.tips-manage-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.tips-library-hero h1,
.tips-manage-header h1,
.tips-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  margin-bottom: .9rem;
}

.tips-library-hero p,
.tips-manage-header p,
.tips-page-hero p,
.tips-featured-copy p,
.tips-library-card-body p,
.tips-empty-state p,
.tips-manage-card p,
.tips-card p,
.tips-callout p,
.tips-hero p,
.tips-split p,
.tips-article p,
.tips-article li,
.tips-editor-sidebar p {
  color: #d7d0c4;
  line-height: 1.7;
}

/* ── Dashboard ── */
.dashboard-page {
  position: relative;
  padding: 1.5rem 0 3rem;
  background:
    radial-gradient(circle at top, rgba(198, 155, 58, .10), transparent 28%),
    linear-gradient(180deg, #080705 0%, #0b0b0a 100%);
}

.dashboard-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(198,155,58,.08), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(89, 64, 154, .08), transparent 20%);
  opacity: .9;
  pointer-events: none;
}

.dashboard-shell-wrap {
  position: relative;
  z-index: 1;
}

.gh-dashboard-shell {
  position: relative;
  padding: 1.65rem 1.65rem 1.95rem;
  font-family: var(--font-dashboard);
  box-shadow: 0 35px 80px rgba(0,0,0,.5);
}

.gh-frame-9 {
  --gh-frame-corner-size: clamp(88px, 7vw, 118px);
  --gh-frame-edge-thickness: clamp(34px, 2.8vw, 46px);
  --gh-frame-edge-overlap: clamp(18px, 1.5vw, 28px);
  background:
    url('/assets/img/dashboard/frame_topleft.png?v=20260531d') left top / var(--gh-frame-corner-size) var(--gh-frame-corner-size) no-repeat,
    url('/assets/img/dashboard/frame_topright.png?v=20260531d') right top / var(--gh-frame-corner-size) var(--gh-frame-corner-size) no-repeat,
    url('/assets/img/dashboard/frame_bottomleft.png?v=20260531d') left bottom / var(--gh-frame-corner-size) var(--gh-frame-corner-size) no-repeat,
    url('/assets/img/dashboard/frame_bottomright.png?v=20260531d') right bottom / var(--gh-frame-corner-size) var(--gh-frame-corner-size) no-repeat,
    url('/assets/img/dashboard/frame_topedge.png?v=20260531d') center top / calc(100% - ((var(--gh-frame-corner-size) - var(--gh-frame-edge-overlap)) * 2)) var(--gh-frame-edge-thickness) no-repeat,
    url('/assets/img/dashboard/frame_bottomedge.png?v=20260531d') center bottom / calc(100% - ((var(--gh-frame-corner-size) - var(--gh-frame-edge-overlap)) * 2)) var(--gh-frame-edge-thickness) no-repeat,
    url('/assets/img/dashboard/frame_leftedge.png?v=20260531d') left center / var(--gh-frame-edge-thickness) calc(100% - ((var(--gh-frame-corner-size) - var(--gh-frame-edge-overlap)) * 2)) no-repeat,
    url('/assets/img/dashboard/frame_rightedge.png?v=20260531d') right center / var(--gh-frame-edge-thickness) calc(100% - ((var(--gh-frame-corner-size) - var(--gh-frame-edge-overlap)) * 2)) no-repeat,
    linear-gradient(180deg, rgba(16, 13, 10, .96), rgba(9, 8, 7, .98));
}

.gh-shell-header,
.gh-tabbar,
.gh-summary-grid,
.gh-panel-grid,
.gh-footer-bars,
.gh-panel {
  position: relative;
}

.gh-shell-header {
  padding: 1.15rem 1rem .8rem;
}

.gh-shell-titlebox {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
}

.gh-shell-titlecopy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  display: grid;
  justify-items: center;
  gap: .85rem;
  width: min(100%, 980px);
  padding: 3.7rem 0 1rem;
}

.gh-shell-titlecopy h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 980px);
  min-height: 126px;
  margin: 0 auto;
  padding: 0 4.25rem;
  font-size: clamp(2.2rem, 3.7vw, 3.65rem);
  line-height: 1.04;
  font-family: var(--font-display);
  font-weight: 700;
  color: #e6bf64;
  background: url('/assets/img/dashboard/panel_header.png?v=20260531d') center/calc(100% - 2px) 112px no-repeat;
  text-shadow: 0 4px 20px rgba(0,0,0,.65);
  letter-spacing: .03em;
}

.gh-shell-titlecopy p {
  margin-top: 0;
  color: #c8b690;
  font-size: 1.02rem;
}

.gh-shell-title-ornament {
  position: absolute;
  top: -10px;
  left: 50%;
  width: min(880px, 96%);
  height: clamp(70px, 7.2vw, 98px);
  transform: translateX(-50%);
  background: url('/assets/img/dashboard/header_titleornament.png?v=20260531d') center/contain no-repeat;
  opacity: .96;
}

.gh-shell-title-divider {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: min(620px, 78%);
  height: 22px;
  transform: translateX(-50%);
  background: url('/assets/img/dashboard/header_subtitledivider.png?v=20260531d') center/contain no-repeat;
  opacity: .78;
}

.gh-title-flourish {
  position: absolute;
  top: 18px;
  width: 164px;
  height: 42px;
  opacity: .94;
}

.gh-title-flourish-left {
  left: 10%;
  background: url('/assets/img/dashboard/header_topflorish_left.png?v=20260531d') center/contain no-repeat;
}

.gh-title-flourish-right {
  right: 10%;
  background: url('/assets/img/dashboard/header_topflorish_right.png?v=20260531d') center/contain no-repeat;
}

.gh-tabbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .55rem;
  justify-items: center;
  padding: .45rem 1rem 1rem;
}

.gh-tab {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  width: min(100%, 250px);
  min-height: 50px;
  padding: 0 1.15rem 0 1.85rem;
  color: #dbc79d;
  font-size: 1.04rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .015em;
  background: url('/assets/img/dashboard/tab_normal.png?v=20260531d') center/100% 100% no-repeat;
  transition: transform .14s ease, filter .14s ease;
}

.gh-tab:hover {
  color: #f3d57d;
  transform: translateY(-1px);
  background-image: url('/assets/img/dashboard/tab_hover.png?v=20260531d');
}

.gh-tab.is-active {
  background-image: url('/assets/img/dashboard/tab_selected.png?v=20260531d');
  color: #ffdc82;
}

.gh-tab-icon {
  width: 17px;
  height: 17px;
  background: center/contain no-repeat;
  flex-shrink: 0;
}

.gh-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: .2rem 1rem 1rem;
}

.gh-summary-card {
  position: relative;
  min-height: 154px;
  display: block;
  padding: 1.45rem 2.1rem 1.55rem 3.95rem;
  background: none;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
  overflow: hidden;
}

.gh-summary-card::before {
  content: '';
  position: absolute;
  inset: -10px -14px;
  background: center/118% 120% no-repeat;
  z-index: 0;
}

.gh-summary-card-gold::before { background-image: url('/assets/img/dashboard/card_gold.png?v=20260531d'); }
.gh-summary-card-green::before { background-image: url('/assets/img/dashboard/card_green.png?v=20260531d'); }
.gh-summary-card-purple::before { background-image: url('/assets/img/dashboard/card_purple.png?v=20260531d'); }
.gh-summary-card-blue::before { background-image: url('/assets/img/dashboard/card_blue.png?v=20260531d'); }

.gh-summary-icon {
  position: absolute;
  left: 1.45rem;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: center/contain no-repeat;
  z-index: 1;
}

.gh-summary-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .28rem;
  align-content: center;
  min-height: 100%;
  padding: .15rem 0;
}

.gh-summary-label,
.gh-data-label {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d0bc8c;
}

.gh-summary-value {
  font-size: clamp(1.95rem, 2.45vw, 2.85rem);
  line-height: .96;
  font-family: var(--font-display);
  font-weight: 700;
  color: #f2d77e;
}

.gh-summary-meta {
  color: #c8b690;
  font-size: .9rem;
  line-height: 1.22;
  max-width: 20ch;
}

.gh-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr);
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.gh-panel {
  padding: 1.15rem 1.15rem 1.3rem;
}

.gh-panel-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 100px;
  padding: 0 2.1rem 0 2.7rem;
  background: url('/assets/img/dashboard/panel_header.png?v=20260531d') center/calc(100% - 2px) 88px no-repeat;
  margin-bottom: 1rem;
}

.gh-panel-heading h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.05;
  font-family: var(--font-display);
  font-weight: 600;
  color: #e6c05f;
  letter-spacing: .03em;
}

.gh-panel-heading-icon {
  width: 40px;
  height: 40px;
  background: center/contain no-repeat;
  flex-shrink: 0;
}

.gh-panel-body {
  padding: .35rem 1.15rem .35rem;
}

.gh-mythic-highlight-card,
.gh-overview-item,
.gh-raid-row {
  background: linear-gradient(180deg, rgba(22, 18, 14, .78), rgba(11, 9, 7, .92));
  border: 1px solid rgba(198, 155, 58, .14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.gh-mythic-highlight-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 260px;
  padding: 1.2rem 1.3rem;
}

.gh-mythic-highlight-card-season {
  max-width: 100%;
}

.gh-mythic-badge {
  min-height: 180px;
  background: url('/assets/img/dashboard/mythic-badge.png?v=20260531d') center/contain no-repeat;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.45));
}

.gh-run-level {
  margin-top: .35rem;
  font-size: clamp(2.5rem, 4vw, 3.9rem);
  font-weight: 800;
  color: #f0ce75;
}

.gh-run-level-purple {
  color: #cf9bff;
}

.gh-run-name {
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  color: #7fc2ff;
  margin-bottom: .25rem;
}

.gh-mythic-copy p,
.gh-overview-item,
.gh-raid-meta,
.gh-muted,
.gh-statusbar-label,
.gh-statusbar-value {
  color: #c7bba3;
  line-height: 1.7;
}

.gh-overview-item {
  min-height: 120px;
  padding: 1rem 1.1rem;
}

.gh-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gh-overview-item strong {
  display: block;
  margin-top: .4rem;
  color: #f0dc9a;
  font-size: 1.2rem;
}

.gh-raid-board {
  display: grid;
  gap: .8rem;
}

.gh-raid-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 90px;
  padding: 1rem 1.15rem;
}

.gh-raid-titleline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: .6rem;
  min-width: 0;
}

.gh-raid-titleline h3 {
  flex: 1 1 220px;
  min-width: 0;
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #efdfbb;
  overflow-wrap: anywhere;
}

.gh-raid-difficulty {
  min-width: 78px;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #f3cd72;
}

.gh-progress-frame {
  height: 18px;
  padding: 3px;
  background: url('/assets/img/dashboard/statusbar_frame.png?v=20260531d') center/100% 100% no-repeat;
}

.gh-progress-frame-soft {
  position: relative;
}

.gh-progress-stack {
  position: relative;
  height: 100%;
}

.gh-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6 0%, #2f8dfc 55%, #d6a64f 100%);
}

.gh-progress-fill-soft,
.gh-progress-fill-hard {
  position: absolute;
  inset: 0 auto 0 0;
}

.gh-progress-fill-soft {
  background: linear-gradient(90deg, rgba(111, 206, 255, .55) 0%, rgba(214, 166, 79, .7) 100%);
}

.gh-progress-fill-hard {
  background: linear-gradient(90deg, #8b5cf6 0%, #2f8dfc 55%, #d6a64f 100%);
}

.gh-class-spec-row {
  border-left: 3px solid var(--gh-class-color, #d6a64f);
}

.gh-class-spec-row .gh-raid-titleline h3 {
  color: var(--gh-class-color, #efdfbb);
}

.gh-class-badge {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #120f0a;
  background: radial-gradient(circle at 30% 30%, #fff8dc 0%, var(--gh-class-color, #d6a64f) 55%, rgba(0, 0, 0, .88) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 22px rgba(0,0,0,.28);
}

.gh-class-spec-row .gh-raid-side {
  align-self: stretch;
  display: grid;
  align-content: center;
}

.gh-raid-side {
  text-align: right;
}

.gh-raid-score {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f0d582;
}

.gh-footer-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1rem 0;
}

.gh-statusbar-block {
  display: grid;
  gap: .35rem;
}

.gh-statusbar-label {
  font-family: var(--font-display);
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gh-statusbar-frame {
  height: 22px;
  padding: 3px;
  background: url('/assets/img/dashboard/statusbar_frame.png?v=20260531d') center/100% 100% no-repeat;
}

.gh-statusbar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.gh-statusbar-fill-gold { background: linear-gradient(90deg, #2a8e43 0%, #a8d04c 100%); }
.gh-statusbar-fill-blue { background: linear-gradient(90deg, #2458c2 0%, #42a5ff 100%); }

@media (max-width: 1280px) {
  .gh-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gh-panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .gh-summary-grid,
  .gh-footer-bars,
  .gh-overview-grid,
  .gh-summary-card,
  .gh-raid-row {
    grid-template-columns: 1fr;
  }


  .gh-raid-titleline {
    gap: .55rem;
  }

  .gh-class-badge {
    width: 34px;
    height: 34px;
    font-size: .72rem;
  }
  .gh-tab {
    width: 100%;
  }

  .gh-title-flourish {
    display: none;
  }

  .gh-shell-titlecopy h1 {
    font-size: 2rem;
  }

  .gh-shell-titlebox {
    min-height: 204px;
  }

  .gh-shell-titlecopy {
    width: 100%;
    padding-top: 2.9rem;
  }

  .gh-shell-title-ornament {
    width: min(600px, 100%);
    height: 72px;
  }

  .gh-shell-titlecopy h1 {
    min-height: 106px;
    padding: 0 2.25rem;
    background-size: calc(100% - 2px) 92px;
  }

  .gh-summary-card {
    min-height: 132px;
    padding-left: 3.45rem;
    padding-right: 1.65rem;
  }

  .gh-panel-heading {
    min-height: 86px;
    padding-left: 2rem;
    padding-right: 1.5rem;
    background-size: calc(100% - 2px) 76px;
  }

  .gh-panel-heading-icon {
    width: 34px;
    height: 34px;
  }

  .gh-panel,
  .gh-dashboard-shell {
    padding-left: .9rem;
    padding-right: .9rem;
  }

  .gh-mythic-highlight-card {
    grid-template-columns: 1fr;
  }

  .gh-mythic-badge {
    min-height: 120px;
  }
}

.tips-library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.tips-featured-card,
.tips-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1.5rem;
  align-items: center;
}

.tips-featured-media,
.tips-library-card-media,
.tips-page-cover {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: #0c0c0c;
}

.tips-featured-media img,
.tips-library-card-media img,
.tips-page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tips-library-grid,
.tips-manage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.tips-library-card,
.tips-stat-card,
.tips-manage-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(198, 155, 58, .14);
  background: linear-gradient(180deg, #181613, #11100e);
}

.tips-library-card-media {
  aspect-ratio: 16 / 9;
}

.tips-library-card-body,
.tips-featured-copy,
.tips-stat-card,
.tips-manage-card {
  padding: 1.35rem;
}

.tips-library-card h3,
.tips-featured-copy h2,
.tips-manage-card h2,
.tips-article h2,
.tips-article h3,
.tips-article h4,
.tips-card h3,
.tips-callout h3,
.tips-hero h2,
.tips-split h3 {
  margin-bottom: .85rem;
  line-height: 1.15;
}

.tips-featured-copy h2 a,
.tips-library-card h3 a {
  color: var(--text);
}

.tips-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.2rem;
  margin: 1rem 0 1.2rem;
  font-size: .82rem;
  color: #ab9f8d;
}

.tips-rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
  margin: .25rem 0 1rem;
}

.tips-rating-stars {
  display: inline-flex;
  gap: .15rem;
}

.tips-rating-star {
  color: rgba(198, 155, 58, .28);
  font-size: 1rem;
  line-height: 1;
}

.tips-rating-star.is-filled {
  color: var(--accent);
}

.tips-rating-value {
  color: #f0d492;
  font-size: .88rem;
  font-weight: 700;
}

.tips-rating-count,
.tips-rating-note {
  color: #ab9f8d;
  font-size: .82rem;
}

.tips-empty-state {
  text-align: center;
}

.tips-page-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.music-library-hero {
  align-items: center;
}

.music-library-notes {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: flex-end;
}

.music-category-section {
  margin: 1.5rem 0 2rem;
}

.music-category-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.music-category-header p {
  color: #ab9f8d;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.music-card {
  display: grid;
  gap: .9rem;
  border-radius: 18px;
  border: 1px solid rgba(198, 155, 58, .14);
  background: linear-gradient(180deg, #181613, #11100e);
  padding: 1.35rem;
}

.music-card h3 {
  margin-bottom: .55rem;
}

.music-track-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  color: #ab9f8d;
  font-size: .85rem;
}

.music-audio-player {
  width: 100%;
}

.music-player-note {
  color: #8f8576;
  font-size: .78rem;
  line-height: 1.5;
}

.music-rating-form {
  display: grid;
  gap: .45rem;
}

.music-rating-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.tips-page-rating-panel {
  display: grid;
  gap: .6rem;
  margin-bottom: 1rem;
}

.tips-stars-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.tips-star-button {
  border: 1px solid rgba(198, 155, 58, .22);
  background: rgba(198, 155, 58, .08);
  color: rgba(198, 155, 58, .55);
  border-radius: 999px;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, color .12s ease, background .12s ease;
}

.tips-star-button:hover,
.tips-star-button:focus-visible,
.tips-star-button.is-selected {
  color: var(--accent);
  border-color: rgba(198, 155, 58, .55);
  background: rgba(198, 155, 58, .18);
  transform: translateY(-1px);
}

.tips-back-link {
  margin-bottom: 1rem;
  font-size: .92rem;
}

.tips-article {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
}

.tips-hero,
.tips-callout,
.tips-card,
.tips-split,
.tips-grid,
.tips-table-wrap {
  border-radius: 18px;
}

.tips-hero,
.tips-callout,
.tips-card,
.tips-split {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .06);
}

.tips-theme-gold {
  background: linear-gradient(135deg, rgba(93, 68, 16, .34), rgba(28, 23, 14, .96));
}

.tips-theme-emerald {
  background: linear-gradient(135deg, rgba(18, 83, 58, .32), rgba(12, 24, 21, .96));
}

.tips-theme-azure {
  background: linear-gradient(135deg, rgba(16, 74, 113, .34), rgba(11, 18, 27, .96));
}

.tips-theme-slate {
  background: linear-gradient(135deg, rgba(54, 62, 83, .34), rgba(15, 17, 24, .96));
}

.tips-theme-crimson {
  background: linear-gradient(135deg, rgba(122, 30, 35, .32), rgba(25, 14, 16, .96));
}

.tips-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.2rem;
}

.tips-pill {
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #f1e7c6;
  font-size: .84rem;
}

.tips-grid {
  display: grid;
  gap: 1rem;
}

.tips-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tips-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tips-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 1.25rem;
  align-items: center;
}

.tips-media {
  overflow: hidden;
}

.tips-media img {
  border-radius: 14px;
  display: block;
  width: 100%;
  margin-bottom: .75rem;
}

.tips-media figcaption {
  color: #b5ab9b;
  font-size: .82rem;
}

.tips-checklist {
  list-style: none;
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

.tips-checklist li {
  position: relative;
  padding-left: 1.35rem;
}

.tips-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 155, 58, .12);
}

.tips-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.tips-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.tips-table th,
.tips-table td {
  padding: .85rem .95rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tips-table thead th {
  color: #f0ddb0;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tips-manage-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.tips-stat-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-items: flex-start;
}

.tips-stat-card strong {
  font-size: 2rem;
  line-height: 1;
}

.tips-manage-title-row,
.tips-manage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}

.tips-manage-actions {
  margin-top: 1rem;
}

.tips-sort-form {
  display: flex;
  align-items: center;
}

.tips-sort-form label {
  display: grid;
  gap: .35rem;
}

.tips-sort-form span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b7aa90;
}

.tips-sort-form select {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 8, 8, .45);
  color: var(--text);
  padding: .55rem .9rem;
}

.tips-status-pill {
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tips-status-live {
  background: rgba(39, 174, 96, .15);
  color: #6dd79a;
}

.tips-status-draft {
  background: rgba(198, 155, 58, .12);
  color: #f0d492;
}

.tips-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.tips-editor-main,
.tips-editor-sidebar > section {
  border-radius: 20px;
  padding: 1.4rem;
}

.tips-editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tips-editor-fields label {
  display: grid;
  gap: .45rem;
}

.tips-editor-fields span {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b7aa90;
}

.tips-editor-fields input[type="text"],
.tips-editor-fields input[type="number"],
.tips-editor-fields textarea,
.tips-editor-fields input[type="file"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 8, 8, .45);
  color: var(--text);
  padding: .8rem .9rem;
}

.tips-editor-field-wide {
  grid-column: 1 / -1;
}

.tips-editor-checkbox {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.7rem;
}

.tips-editor-checkbox span {
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
}

.tips-toolbar,
.tips-snippet-panel {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: .9rem;
}

.tips-upload-chip {
  cursor: pointer;
}

.tips-editor-canvas {
  min-height: 680px;
  padding: 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 8, 8, .55);
  outline: none;
}

.tips-editor-canvas:focus {
  border-color: rgba(198, 155, 58, .45);
  box-shadow: 0 0 0 4px rgba(198, 155, 58, .08);
}

.tips-editor-status {
  margin: .75rem 0 1rem;
  font-size: .82rem;
  color: #ab9f8d;
}

@media (max-width: 980px) {
  .tips-page-hero,
  .tips-featured-card,
  .tips-editor-layout,
  .tips-split,
  .tips-library-hero,
  .tips-manage-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .tips-editor-fields,
  .tips-grid-2,
  .tips-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tips-library-hero,
  .tips-manage-header,
  .tips-page-hero,
  .tips-featured-card,
  .tips-empty-state,
  .tips-editor-main,
  .tips-editor-sidebar > section {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .tips-editor-canvas {
    min-height: 520px;
    padding: .85rem;
  }

  .tips-table {
    min-width: 480px;
  }
}
.site-footer .container { display: flex; gap: .75rem; align-items: center; }
.footer-sep  { opacity: .4; }

/* ── Hero ── */
/* ── Hero ── */
.hero {
  background: #0d0b08;
  min-height: max(560px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: flex-end;
  padding: 5rem 2rem .5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,4,2,.4) 0%,
    rgba(10,8,4,.7) 50%,
    rgba(13,12,8,.97) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.15s ease;
  z-index: 0;
}
.hero-bg-layer.is-active {
  opacity: 1;
}
/* animated shimmer line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c69b3a 30%, #ffd97a 50%, #c69b3a 70%, transparent);
  animation: hero-shimmer 3s ease-in-out infinite;
  z-index: 3;
}
@keyframes hero-shimmer {
  0%,100% { opacity: .4; } 50% { opacity: 1; }
}
.hero-content { max-width: 700px; margin: 0 auto; text-align: center; padding-bottom: 0; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(198,155,58,.4);
  border-radius: 999px;
  padding: .3rem 1.25rem;
  margin-bottom: 1.75rem;
  background: rgba(198,155,58,.07);
  backdrop-filter: blur(4px);
}
/* 3D Title */
.hero-title-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.hero-title-line1 {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: .12em;
  color: #fff;
  text-shadow:
    0 1px 0 #e8d090,
    0 2px 0 #d4a43c,
    0 3px 0 #b8883a,
    0 4px 0 #9c6c2e,
    0 5px 0 #7a5020,
    0 6px 0 #5c3c14,
    0 8px 15px rgba(0,0,0,.8),
    0 0 40px rgba(198,155,58,.35);
}
.hero-title-line2 {
  font-size: clamp(1.6rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: .35em;
  color: var(--accent);
  text-shadow:
    0 1px 0 #b88830,
    0 2px 0 #8c6318,
    0 3px 8px rgba(0,0,0,.7),
    0 0 30px rgba(198,155,58,.3);
  text-transform: uppercase;
}
.hero-sub {
  color: #a09880;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.hero-member-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 0 auto 1rem;
}
.hero-member-access-text {
  color: #f0d492;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-member-access-pill {
  text-decoration: none;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(198,155,58,.5);
}
.hero-stat-label {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5a5040;
  font-weight: 700;
}
.hero-stat-sep { color: #3a3020; font-size: 1.5rem; }
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* ── Home grid ── */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, .7fr);
  gap: 1.75rem;
  padding: 2.5rem 1.5rem;
}
@media (max-width: 1024px) { .home-grid { grid-template-columns: 1fr; } }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.help-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(198,155,58,.5);
  color: var(--accent);
  background: rgba(198,155,58,.08);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.help-link:hover {
  border-color: rgba(198,155,58,.9);
  background: rgba(198,155,58,.18);
  color: #f5d97a;
}
.empty-state { color: var(--text-muted); font-size: .9rem; }

/* ── Tables ── */
.roster-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
  flex-wrap: wrap;
  padding: .7rem 1rem;
  border: 1px solid #4a3b1c;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f1a0f 0%, #161205 100%);
  box-shadow: 0 1px 0 rgba(255,215,100,.06), inset 0 1px 0 rgba(255,215,100,.04);
}
.roster-toolbar-left,
.roster-toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.roster-count {
  color: #a89060;
  font-size: .83rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.roster-pages {
  display: inline-flex;
  gap: .3rem;
}
.roster-page-btn {
  border: 1px solid #4a4030;
  background: linear-gradient(180deg, #29231a 0%, #1c1710 100%);
  color: #c8b990;
  min-width: 32px;
  height: 32px;
  padding: 0 .6rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .14s, background .14s, color .14s, box-shadow .14s, transform .1s;
}
.roster-page-btn:hover {
  border-color: #c69b3a;
  background: linear-gradient(180deg, #362d1e 0%, #26200f 100%);
  color: #f5d97a;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(198,155,58,.22);
}
.roster-page-btn.is-active {
  background: linear-gradient(180deg, #d4a43c 0%, #8c6318 100%);
  color: #0f0900;
  border-color: #c69b3a;
  font-weight: 800;
  box-shadow: 0 0 0 1px #8c6318, 0 4px 12px rgba(198,155,58,.35);
}
.roster-toolbar .btn[disabled],
.roster-page-btn[disabled] {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* outer frame */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 2px solid #4a3b1c;
  border-radius: 10px;
  background: #0e0d0a;
  box-shadow:
    0 0 0 1px rgba(198,155,58,.08),
    0 20px 40px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,215,100,.07);
  position: relative;
}
/* gold top accent line */
.table-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, #8c6318 0%, #d4a43c 50%, #8c6318 100%);
  pointer-events: none;
  z-index: 3;
}
.roster-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.roster-table th,
.roster-table td {
  padding: .78rem .9rem;
  border-bottom: 1px solid #282420;
  border-right: 1px solid #201e1a;
  text-align: left;
  font-size: .86rem;
  vertical-align: middle;
}
.roster-table th:first-child,
.roster-table td:first-child { padding-left: 1.1rem; }
.roster-table th:last-child,
.roster-table td:last-child   { border-right: none; padding-right: 1.1rem; }

/* header */
.roster-table thead tr {
  background: linear-gradient(180deg, #1f1b11 0%, #161208 100%);
}
.roster-table th {
  color: #d4a43c;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid #4a3b1c;
}
/* column dividers in header more visible */
.roster-table th { border-right-color: #2a2318; }
.roster-sort-button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.roster-sort-button::after {
  content: '\2195';
  color: #806d3f;
  font-size: .85rem;
  line-height: 1;
}
.roster-table th[aria-sort="ascending"] .roster-sort-button::after {
  content: '\2191';
  color: #f5d97a;
}
.roster-table th[aria-sort="descending"] .roster-sort-button::after {
  content: '\2193';
  color: #f5d97a;
}
.roster-sort-button:hover,
.roster-sort-button:focus-visible {
  color: #f5d97a;
}
.roster-sort-button:focus-visible {
  outline: 2px solid #d4a43c;
  outline-offset: 3px;
}

/* ── The Daily Wipe ── */
.daily-wipe-page { width:min(1120px,calc(100% - 3rem)); margin:2rem auto 3.5rem; }
.daily-wipe-masthead { display:flex; justify-content:space-between; align-items:end; gap:1rem; padding:clamp(1.5rem,4vw,3rem); border:4px solid #17110d; box-shadow:8px 8px 0 #17110d; color:#17110d; background:repeating-linear-gradient(-45deg,#f5c837 0 16px,#f9d959 16px 32px); }
.daily-wipe-kicker { margin:0 0 .35rem; color:#a82718; font-size:.76rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.daily-wipe-masthead h1,.daily-wipe-admin-header h1 { margin:0; color:#a82718; font-family:Georgia,serif; font-size:clamp(2.4rem,7vw,5.4rem); font-style:italic; font-weight:900; letter-spacing:.02em; line-height:.9; text-shadow:3px 3px 0 #17110d; }
.daily-wipe-masthead p:not(.daily-wipe-kicker),.daily-wipe-admin-header p:not(.daily-wipe-kicker) { margin:.9rem 0 0; font-weight:700; }
.daily-wipe-manage-link { flex:0 0 auto; border:3px solid #17110d; padding:.6rem .8rem; color:#fff8db; background:#a82718; box-shadow:3px 3px 0 #17110d; font-weight:900; text-decoration:none; text-transform:uppercase; }
.daily-wipe-feature { margin-top:2rem; padding:1rem; border:3px solid #17110d; background:#f6f0dd; box-shadow:6px 6px 0 #17110d; }
.daily-wipe-issue-bar { display:flex; justify-content:space-between; gap:1rem; margin:-.35rem -.35rem 1rem; padding:.55rem .7rem; color:#fff8db; background:#a82718; font-size:.76rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.daily-wipe-feature h2 { margin:0 0 1rem; color:#17110d; font-family:Georgia,serif; font-size:clamp(1.5rem,3vw,2.3rem); }
.daily-wipe-comic-navigator { display:grid; grid-template-columns:3.25rem minmax(0,1fr) 3.25rem; align-items:center; gap:.65rem; }
.daily-wipe-comic-frame { margin:0; border:3px solid #17110d; background:#17110d; }
.daily-wipe-comic-frame img { display:block; width:100%; max-height:900px; object-fit:contain; }
.daily-wipe-comic-nav { display:grid; width:3.25rem; height:4rem; place-items:center; border:3px solid #17110d; color:#fff8db; background:#a82718; box-shadow:3px 3px 0 #17110d; cursor:pointer; font-size:2rem; font-weight:900; line-height:1; }
.daily-wipe-comic-nav:hover,.daily-wipe-comic-nav:focus-visible { color:#17110d; background:#f5c837; }
.daily-wipe-comic-nav:focus-visible { outline:2px solid #a82718; outline-offset:3px; }
.daily-wipe-comic-nav:disabled { opacity:.3; cursor:not-allowed; box-shadow:none; }
.daily-wipe-caption { margin:1rem 0 .25rem; color:#30261d; line-height:1.55; }
.daily-wipe-feedback { display:flex; align-items:center; gap:.65rem; margin-top:1rem; }
.daily-wipe-vote-form { display:flex; gap:.5rem; }
.daily-wipe-vote-button { display:inline-flex; align-items:center; gap:.4rem; min-width:4.25rem; justify-content:center; border:2px solid #17110d; padding:.42rem .65rem; color:#fff8db; background:#17110d; box-shadow:2px 2px 0 #a82718; cursor:pointer; font-weight:900; }
.daily-wipe-vote-button:hover,.daily-wipe-vote-button:focus-visible,.daily-wipe-vote-button.is-selected { color:#fff8db; background:#a82718; }
.daily-wipe-vote-button:focus-visible { outline:2px solid #17110d; outline-offset:3px; }
.daily-wipe-vote-signin { color:#a82718; font-size:.85rem; font-weight:900; }
.daily-wipe-vote-total { color:#735a37; font-size:.9rem; font-weight:800; }
.daily-wipe-archive { margin-top:3rem; }
.daily-wipe-archive h2,.daily-wipe-admin-archive h2 { margin:0; color:#f0e8d5; font-family:Georgia,serif; font-size:2rem; }
.daily-wipe-strip-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:1rem; margin-top:1rem; }
.daily-wipe-strip-thumb { overflow:hidden; padding:0; border:3px solid #17110d; background:#f5c837; box-shadow:4px 4px 0 #17110d; color:#17110d; cursor:pointer; font-weight:900; }
.daily-wipe-strip-thumb img { display:block; width:100%; aspect-ratio:1/.82; object-fit:cover; border-bottom:3px solid #17110d; }
.daily-wipe-strip-thumb span { display:block; padding:.4rem; }
.daily-wipe-strip-thumb:hover,.daily-wipe-strip-thumb.is-active { transform:translate(-2px,-2px); box-shadow:6px 6px 0 #a82718; }
.daily-wipe-empty { margin-top:2rem; padding:3rem 1.5rem; border:3px dashed #f5c837; color:#f0e8d5; text-align:center; }
.daily-wipe-empty h2 { margin:0; font-family:Georgia,serif; font-size:2.2rem; }
.daily-wipe-admin-header { display:flex; justify-content:space-between; align-items:end; gap:1rem; margin-bottom:1.5rem; padding:1.5rem; border-left:8px solid #a82718; background:#f5c837; color:#17110d; }
.daily-wipe-admin-header h1 { font-size:clamp(2rem,5vw,3.7rem); }
.daily-wipe-upload-panel,.daily-wipe-admin-archive { padding:1.25rem; border:2px solid #4a3b1c; background:#17110d; }
.daily-wipe-upload-heading { display:flex; gap:1rem; align-items:center; margin-bottom:1rem; }
.daily-wipe-upload-heading h2 { margin:0; color:#f5c837; font-family:Georgia,serif; }
.daily-wipe-upload-heading p { margin:.25rem 0 0; color:#c8b990; font-size:.85rem; }
.daily-wipe-burst { display:grid; width:3.6rem; aspect-ratio:1; place-items:center; clip-path:polygon(50% 0%,62% 29%,90% 10%,74% 38%,100% 50%,74% 61%,90% 90%,62% 71%,50% 100%,38% 71%,10% 90%,26% 61%,0% 50%,26% 38%,10% 10%,38% 29%); color:#fff8db; background:#a82718; font-size:.72rem; font-weight:900; }
.daily-wipe-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.daily-wipe-publish-toggle { display:flex; gap:.55rem; align-items:center; margin:.75rem 0 1rem; }
.daily-wipe-admin-archive { margin-top:1.5rem; }
.daily-wipe-admin-list { display:grid; gap:1rem; margin-top:1rem; }
.daily-wipe-admin-strip { display:grid; grid-template-columns:180px minmax(0,1fr); gap:1rem; padding:1rem; border:1px solid #4a3b1c; background:#211b13; }
.daily-wipe-admin-strip > img { width:100%; aspect-ratio:1/.82; object-fit:cover; border:2px solid #f5c837; }
.daily-wipe-admin-strip h3 { margin:0; color:#f0e8d5; }
.daily-wipe-admin-strip form { margin-top:.75rem; }
@media (max-width:650px) { .daily-wipe-page { width:min(100% - 2rem,1120px); } .daily-wipe-masthead,.daily-wipe-admin-header { align-items:start; flex-direction:column; } .daily-wipe-form-grid,.daily-wipe-admin-strip { grid-template-columns:1fr; } .daily-wipe-admin-strip > img { max-width:260px; } .daily-wipe-comic-navigator { grid-template-columns:2.5rem minmax(0,1fr) 2.5rem; gap:.35rem; } .daily-wipe-comic-nav { width:2.5rem; height:3.25rem; font-size:1.6rem; } }

/* body rows */
.roster-table tbody tr:nth-child(odd)  td { background: #111009; }
.roster-table tbody tr:nth-child(even) td { background: #0d0c08; }
.roster-table tbody tr:last-child td { border-bottom: none; }

.roster-table tbody tr:hover td {
  background: #1e1a0e;
  border-bottom-color: #5a4820;
  border-top-color: #5a4820;
}
/* left accent bar on hover */
.roster-table tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 #c69b3a;
}

/* character name */
.char-name {
  font-weight: 700;
  color: #f0e8d5;
  letter-spacing: .01em;
}
.char-name.wow-class-warrior { color: #c69b6d; }
.char-name.wow-class-paladin { color: #f48cba; }
.char-name.wow-class-hunter { color: #aad372; }
.char-name.wow-class-rogue { color: #fff468; }
.char-name.wow-class-priest { color: #ffffff; }
.char-name.wow-class-death-knight { color: #c41e3a; }
.char-name.wow-class-shaman { color: #0070dd; }
.char-name.wow-class-mage { color: #3fc7eb; }
.char-name.wow-class-warlock { color: #8788ee; }
.char-name.wow-class-monk { color: #00ff98; }
.char-name.wow-class-druid { color: #ff7c0a; }
.char-name.wow-class-demon-hunter { color: #a330c9; }
.char-name.wow-class-evoker { color: #33937f; }

/* avatar */
.char-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #4a3b1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a89060;
  background: linear-gradient(180deg, #1a1610 0%, #100e0a 100%);
  font-size: .85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.5), 0 0 0 1px rgba(198,155,58,.15);
}
.char-avatar-fallback { font-family: var(--font); }

/* pills */
.pill {
  display: inline-flex;
  align-items: center;
  padding: .22rem .6rem;
  border-radius: 5px;
  font-size: .73rem;
  line-height: 1;
  letter-spacing: .03em;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
}
.pill-gold {
  color: #120b00;
  background: linear-gradient(120deg, #d4a43c 0%, #8c6318 100%);
  border-color: #c69b3a;
  text-shadow: 0 1px 0 rgba(255,255,255,.15);
}
.pill-class {
  background: #161c2a;
  border-color: #2e4070;
  color: #a8c4ff;
}
.pill-spec {
  background: #1a1c22;
  border-color: #3a3e52;
  color: #c8cfea;
}
.pill-ilvl {
  background: #0e2016;
  border-color: #1e5c38;
  color: #5edd96;
  font-size: .76rem;
}
.pill-role {
  background: #160f2a;
  border-color: #3d2880;
  color: #b08cff;
}
.pill-main {
  background: #2a1a04;
  border-color: #9b6e34;
  color: #ffc850;
}
.pill-main-tank {
  background: #2a0808;
  border-color: #8b2a2a;
  color: #ff8080;
}
.pill-main-healer {
  background: #072a0f;
  border-color: #2a7040;
  color: #6edb88;
}
.pill-main-dps {
  background: #2a1a04;
  border-color: #9b6e34;
  color: #ffc850;
}
.pill-level {
  background: #1a1a2e;
  border-color: #3a3a70;
  color: #9898e8;
  font-size: .76rem;
}
.pill-alt {
  background: #181818;
  border-color: #404040;
  color: #888;
}

@media (max-width: 768px) {
  .roster-toolbar { padding: .55rem .65rem; }
  .roster-toolbar-right { width: 100%; flex-wrap: wrap; }
  .roster-table th,
  .roster-table td { padding: .6rem .65rem; }
}

/* ── Announcements ── */
.announcement-list { display: flex; flex-direction: column; gap: 1.25rem; }
.announcement-item { padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.announcement-item:last-child { border-bottom: none; padding-bottom: 0; }
.announcement-item h3 { font-size: .95rem; margin-bottom: .35rem; }
.announcement-item p  { font-size: .85rem; color: var(--text-muted); margin-bottom: .4rem; }
.pin-badge { font-size: .72rem; color: var(--accent); font-weight: 700; margin-bottom: .4rem; display: block; }
.is-pinned { border-left: 2px solid var(--accent); padding-left: .75rem; }
.meta { font-size: .75rem; color: var(--text-muted); }

/* ── Events ── */
.event-list  { display: flex; flex-direction: column; gap: 1rem; }
.event-item  {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem;
  background: var(--bg-card-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.event-date  {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  background: var(--accent);
  color: #000;
  border-radius: 6px;
  padding: .25rem .4rem;
}
.event-month { font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.event-day   { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.event-info  { flex: 1; }
.event-title { font-size: .9rem; font-weight: 600; color: var(--text); }
.event-title:hover { color: var(--accent); }
.event-meta  { font-size: .78rem; color: var(--text-muted); display: block; margin-top: .2rem; }

.sister-guilds-card { align-self: start; }
.sister-guilds-intro { margin-bottom: .9rem; }
.sister-guild-pillbox {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sister-guild-pill {
  padding: .8rem .9rem;
  border-radius: 999px;
  border: 1px solid #355840;
  background: linear-gradient(135deg, #0d1f14 0%, #12271a 100%);
  box-shadow: inset 0 0 0 1px rgba(94,221,150,.08);
}
.sister-guild-name {
  font-size: .88rem;
  font-weight: 800;
  color: #dff8e8;
}
.sister-guild-meta {
  font-size: .76rem;
  color: #8fd4a8;
  margin-top: .2rem;
}

.home-visitor-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 0 auto 2.5rem;
  padding: .9rem 1.2rem;
  width: fit-content;
  border: 1px solid rgba(198,155,58,.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(30,24,14,.96) 0%, rgba(17,13,7,.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,217,122,.06), 0 14px 28px rgba(0,0,0,.18);
}

.home-visitor-count-label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #948363;
}

.home-visitor-count-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(198,155,58,.28);
}

/* ── Forms ── */
.form-card {
  max-width: 440px;
  margin: 3rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: .4rem; }
.form-control {
  width: 100%;
  padding: .6rem .85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .9rem;
  transition: border-color .15s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
.form-control[aria-invalid="true"] { border-color: #e07070; }

/* Keep native date/time picker controls readable on dark inputs */
.form-control[type="date"],
.form-control[type="datetime-local"],
.form-control[type="time"],
.form-control[type="month"],
.form-control[type="week"] {
  color-scheme: dark;
}

.form-control[type="date"]::-webkit-calendar-picker-indicator,
.form-control[type="datetime-local"]::-webkit-calendar-picker-indicator,
.form-control[type="time"]::-webkit-calendar-picker-indicator,
.form-control[type="month"]::-webkit-calendar-picker-indicator,
.form-control[type="week"]::-webkit-calendar-picker-indicator {
  filter: invert(78%) sepia(52%) saturate(1320%) hue-rotate(74deg) brightness(104%) contrast(108%);
  opacity: 1;
  cursor: pointer;
}

.form-control[type="date"]::-webkit-calendar-picker-indicator:hover,
.form-control[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
.form-control[type="time"]::-webkit-calendar-picker-indicator:hover,
.form-control[type="month"]::-webkit-calendar-picker-indicator:hover,
.form-control[type="week"]::-webkit-calendar-picker-indicator:hover {
  filter: invert(82%) sepia(66%) saturate(1740%) hue-rotate(72deg) brightness(112%) contrast(112%);
}
.form-divider { text-align: center; color: var(--text-muted); font-size: .8rem; margin: 1.25rem 0; }
.btn-block { width: 100%; justify-content: center; }
.form-footer { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: 1.25rem; }
.form-footer a { color: var(--accent); }
.field-error { font-size: .78rem; color: #e07070; margin-top: .3rem; }

/* ── Admin ── */
.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.admin-role-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: 5px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  border: 1px solid;
}
.admin-role-member   { background: #181818; border-color: #404040; color: #888; }
.admin-role-officer  { background: #1a1040; border-color: #5040b0; color: #a090ff; }
.admin-role-asst_gm  { background: #132a1f; border-color: #2e7d57; color: #8ee4b1; }
.admin-role-gm       { background: #2a1a04; border-color: #9b6e34; color: #ffc850; }
.admin-role-admin    { background: #2a0808; border-color: #8b2020; color: #ff7070; }

/* ── Modal ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-box {
  background: #161410;
  border: 1px solid #4a3b1c;
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 60px rgba(0,0,0,.8), 0 0 0 1px rgba(198,155,58,.1);
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #2a2318;
  background: linear-gradient(135deg, #1f1a0a 0%, #141008 100%);
}
.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: .2rem .4rem;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.modal-close:hover { background: #2a2218; color: var(--text); }
.feedback-reminder {
  color: var(--text);
  padding: 0;
  width: min(480px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow-y: auto;
}
.feedback-reminder::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(3px); }
.feedback-reminder .modal-body { gap: .75rem; }
.feedback-reminder .modal-footer { flex-wrap: wrap; }
.feedback-reminder-preference { margin-top: .5rem; }
.modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #2a2318;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ── Responsive sidebar ── */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .header-tagline { display: none; }
}
@media (max-width: 600px) {
  .hero-title-line1 { font-size: 3rem; }
  .hero-title-line2 { font-size: 1.5rem; }
  .hero-member-access {
    gap: .5rem;
  }
  .hero-member-access-text {
    font-size: .82rem;
  }
  .music-category-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .music-library-notes {
    justify-content: flex-start;
  }
}
