:root,
html.dark {
  --background: oklch(16% 0.04 330);
  --foreground: oklch(94% 0.01 330);
  --card: oklch(20% 0.04 330);
  --primary: oklch(80% 0.16 158);
  --muted-foreground: oklch(76% 0.025 330);
  --border: oklch(30% 0.04 330);
  --hot: oklch(65% 0.25 5);
  --hot-foreground: oklch(100% 0 0);
  --primary-foreground: oklch(18% 0.06 265);
  --blue: #4fb3ff;
  --gold: #f0c14b;
  --lime: oklch(80% 0.16 158);
  --lime-deep: oklch(70% 0.15 160);
  --radius: 0.5rem;
  --shadow: 0 8px 40px oklch(0 0 0 / 0.55), 0 2px 6px oklch(0 0 0 / 0.4);
  --font-sans: "Open Sans", "DM Sans", system-ui, sans-serif;
  --font-brand: "Outfit", "Inter", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
html:not(.dark),
[data-theme="light"] {
  --background: oklch(96% 0.02 330);
  --foreground: oklch(22% 0.04 330);
  --card: oklch(99% 0.01 330);
  --primary: oklch(48% 0.12 158);
  --muted-foreground: oklch(45% 0.03 330);
  --border: oklch(82% 0.03 330);
  --blue: #2563c4;
  --shadow: 0 4px 20px oklch(0 0 0 / 0.07), 0 1px 3px oklch(0 0 0 / 0.05);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--muted-foreground) 45%, transparent) transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: color-mix(in oklab, var(--muted-foreground) 45%, transparent);
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}
.bg-art {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 12% 0%, oklch(80% 0.16 158 / 0.08), transparent 50%),
    radial-gradient(700px 500px at 90% 10%, oklch(65% 0.25 5 / 0.1), transparent 45%),
    linear-gradient(180deg, oklch(18% 0.05 330) 0%, var(--background) 42%, var(--background) 100%);
}
html:not(.dark) .bg-art,
[data-theme="light"] .bg-art {
  background:
    radial-gradient(900px 420px at 12% 0%, oklch(80% 0.16 158 / 0.16), transparent 50%),
    radial-gradient(700px 500px at 90% 10%, oklch(65% 0.25 5 / 0.12), transparent 45%),
    linear-gradient(180deg, #efe4f4, var(--background));
}
.bg-art::before {
  content: "";
  position: absolute;
  right: 0;
  top: 80px;
  width: min(42vw, 560px);
  height: 70vh;
  background:
    radial-gradient(ellipse at 70% 40%, oklch(30% 0.06 330 / 0.45), transparent 55%),
    radial-gradient(circle at 62% 28%, oklch(60% 0.08 50 / 0.2), transparent 24%);
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: oklch(16.5% 0.045 335);
}
html:not(.dark) .site-header,
[data-theme="light"] .site-header {
  background: var(--card);
}
.header-row {
  display: flex;
  align-items: center;
  height: 3.5rem;
  padding: 0 1.5rem;
}
.brand { display: flex; gap: 0.625rem; align-items: center; flex-shrink: 0; }
.brand-mark svg { display: block; height: 2.5rem; width: 2.5rem; transition: transform 0.15s; }
.brand:hover .brand-mark svg { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-brand); }
.brand-text strong { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.brand-text small { color: var(--muted-foreground); font-size: 11px; font-weight: 500; margin-top: 4px; }

.search {
  position: relative;
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
  max-width: 36rem;
  margin: 0 2rem;
  background: oklch(20% 0.04 330 / 0.6);
  border: 1px solid oklch(80% 0.16 158 / 0.25);
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  color: var(--muted-foreground);
}
.search:focus-within { border-color: oklch(80% 0.16 158 / 0.6); }
html:not(.dark) .search,
[data-theme="light"] .search { background: oklch(100% 0 0 / 0.7); }
.search input { width: 100%; border: 0; background: transparent; outline: none; font-size: 14px; }
.search-panel {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 20;
}
.search-panel a, .search-panel p { display: block; padding: 10px 12px; border-radius: 10px; }
.search-panel a:hover { background: oklch(80% 0.16 158 / 0.08); }
.header-end { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; }
.top-actions { display: none; align-items: center; }
.ghost-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ghost-link:hover { color: var(--foreground); background: oklch(94% 0.01 330 / 0.08); }
.ghost-link.nav-active { color: var(--primary); }
.nav-sep { width: 1px; height: 1.25rem; background: var(--border); margin: 0 1rem; }
.icon-btn {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
}
.icon-btn:hover { background: oklch(94% 0.01 330 / 0.08); color: var(--foreground); }
.menu-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 22px;
  cursor: pointer;
}
.mobile-drawer {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--background);
  padding: 8px 24px 16px;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer.is-open { display: flex; }
@media (min-width: 1024px) {
  .search, .top-actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-drawer, .mobile-drawer.is-open { display: none !important; }
}
@media (min-width: 1536px) {
  .search { max-width: 42rem; }
}

.games-bar {
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 0;
}
@media (min-width: 640px) {
  .games-bar { padding-top: 2rem; }
}
.blue-switch {
  border: 1px solid var(--border);
  background: oklch(94% 0.01 330 / 0.04);
  border-radius: 0.4rem;
  gap: 0.1rem;
  padding: 0.15rem;
  font-size: 11px;
  display: inline-flex;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.blue-switch a {
  color: var(--muted-foreground);
  border-radius: 0.3rem;
  padding: 0.15rem 0.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blue-switch a:hover { color: var(--foreground); background: oklch(94% 0.01 330 / 0.06); }
.blue-switch a.is-active {
  color: var(--primary);
  background: oklch(80% 0.16 158 / 0.16);
  font-weight: 600;
}
.blue-switch-lg { border-radius: 0.5rem; padding: 0.2rem; font-size: 12px; }
.game-switch a { min-height: 32px; padding: 0.4rem 0.8rem; font-size: 13px; }
.switch-game, .gicon {
  width: 20px; height: 20px;
  border-radius: 4px;
  display: inline-block;
  flex: 0 0 auto;
}
.game-switch a:not(.is-active) .switch-game { opacity: 0.5; }
.gicon-wow { background: #c9a227; }
.gicon-diablo { background: #c44; }
.gicon-ow { background: #f5a623; }
.gicon-ff { background: #7ec8e3; }
.gicon-other { background: #888; }

main { padding-bottom: 5rem; }

.restore-row { display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap; }
.restore-row:not(:has(button:not(.is-hidden))) { display: none; }

.live-band {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 1.5rem;
}
.live-band::before,
.live-band::after {
  content: "";
  background: linear-gradient(90deg, transparent, var(--border) 18%, var(--primary) 50%, var(--border) 82%, transparent);
  height: 1px;
  position: absolute;
  left: 0; right: 0;
}
.live-band::before { top: 0; }
.live-band::after { bottom: 0; }
.live-strip {
  min-width: 0;
  padding: 0.75rem 0 0.8rem;
  width: 100%;
}
.live-band > .live-strip + .live-strip { position: relative; }
.live-band > .live-strip + .live-strip::before {
  content: "";
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  height: 1px;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.live-head {
  align-items: center;
  gap: 0.75rem;
  min-height: 2.125rem;
  margin-bottom: 0.2rem;
  display: flex;
  flex-wrap: wrap;
}
.live-mark {
  background: var(--mark, var(--primary));
  border-radius: 2px;
  flex: 0 0 auto;
  width: 8px; height: 8px;
}
.mark-blue { --mark: var(--blue); }
.mark-gold { --mark: var(--gold); }
.live-name {
  font-family: var(--font-display);
  color: var(--foreground);
  align-items: center;
  gap: 0.45rem;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  margin: 0;
}
.live-more { color: var(--muted-foreground); font-size: 12px; font-weight: 600; transition: color 0.15s; }
.live-more:hover { color: var(--primary); }
.live-updated { color: var(--muted-foreground); font-size: 11px; }
.live-tools { align-items: center; gap: 0.5rem; margin-left: auto; display: flex; }
.live-choice {
  cursor: pointer;
  height: 2.125rem;
  color: var(--foreground);
  white-space: nowrap;
  border: 1px solid var(--border);
  background: oklch(94% 0.01 330 / 0.04);
  border-radius: 0.4rem;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.7rem;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}
.live-choice:hover { background: oklch(94% 0.01 330 / 0.08); }
.hide-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 8px;
  color: var(--muted-foreground);
  cursor: pointer;
  display: grid; place-items: center;
}
.live-columns { display: grid; grid-template-columns: minmax(0, 1fr); }
.live-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.live-link {
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.45rem 0;
  display: flex;
}
.live-link:hover .live-title { color: var(--primary); }
.live-avatar, .live-thumb {
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
  width: 28px; height: 28px;
  margin-top: 1px;
  display: grid; place-items: center;
  background: #2a2038;
  font-size: 12px; font-weight: 700;
}
.live-thumb { border-radius: 6px; }
.av-wow { background: #3d2a12; color: #f0c14b; }
.av-diablo { background: #3a1212; color: #f88; }
.av-overwatch { background: #3a2a12; color: #f5a623; }
.live-text { flex-direction: column; flex: 1 1 0%; gap: 0.2rem; min-width: 0; display: flex; }
.live-title {
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 3rem;
  overflow: hidden;
  display: block;
}
.live-meta {
  color: var(--muted-foreground);
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  line-height: 1;
  display: flex;
}
.blue-name { color: var(--blue); }
.live-tag {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  white-space: nowrap;
  margin-left: auto;
  padding-left: 0.75rem;
  font-size: 10px;
  font-weight: 700;
  flex: 0 0 auto;
}
.kind-tag { font-size: 10px; letter-spacing: 0.08em; font-weight: 700; }
.kind-topics { color: #8ecbff; }
.kind-updates { color: #5dcf8a; }
.kind-notices { color: #f0c14b; }
.thumb-topics { background: linear-gradient(135deg, #3a2a18, #c9a227); }
.thumb-updates { background: linear-gradient(135deg, #142238, #4d8bd6); }
.thumb-notices { background: linear-gradient(135deg, #2a1818, #c45); }

@media (min-width: 64rem) {
  .live-band { flex-direction: row; align-items: stretch; }
  .live-band > .live-strip + .live-strip { padding-left: 1.5rem; }
  .live-band > .live-strip + .live-strip::before {
    background: linear-gradient(180deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    width: 1px; height: auto;
    inset: 0.5rem auto 0.5rem 0;
  }
  .live-band > .live-strip:not(:last-child) { padding-right: 1.5rem; }
  .blue-strip {
    flex: 1 1 calc((100% - 16.5rem) * 7 / 12 + 9rem);
    min-width: 0;
  }
  .lode-strip {
    flex: 1 1 calc((100% - 16.5rem) * 5 / 12 + 6rem);
    min-width: 0;
  }
  .blue-strip .live-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blue-strip .live-col:first-child { padding-right: 1.25rem; }
  .blue-strip .live-col + .live-col { padding-left: 1.25rem; position: relative; }
  .blue-strip .live-col + .live-col::before {
    content: "";
    background: linear-gradient(180deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    width: 1px;
    position: absolute;
    top: 0.5rem; bottom: 0.5rem; left: 0;
  }
  .lode-strip .live-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lode-strip .live-col:first-child { padding-right: 1.25rem; }
  .lode-strip .live-col + .live-col { padding-left: 1.25rem; position: relative; }
  .lode-strip .live-col + .live-col::before {
    content: "";
    background: linear-gradient(180deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    width: 1px;
    position: absolute;
    top: 0.5rem; bottom: 0.5rem; left: 0;
  }
}
@media (max-width: 39.99rem) {
  .live-updated { display: none; }
}

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  right: 0; top: calc(100% + 6px);
  min-width: 140px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  z-index: 5;
  box-shadow: var(--shadow);
}
.dropdown-menu.wide { min-width: 220px; }
.dropdown-menu button, .lang-menu a {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
}
.dropdown-menu button:hover, .lang-menu a:hover { background: oklch(80% 0.16 158 / 0.1); }
.live-menu-label { font-size: 11px; color: var(--muted-foreground); padding: 4px 10px; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

.featured-section { padding-top: 2rem; padding-bottom: 2.5rem; }
.featured-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 64rem) {
  .featured-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .featured-wrap { grid-column: span 7; }
  .side-news { grid-column: span 5; }
}
.featured-wrap { position: relative; min-width: 0; }
.gaming-card {
  border-radius: var(--radius);
  --card-fill: oklch(20% 0.04 330 / 0.85);
  --card-border: oklch(30% 0.04 330 / 0.95);
  --card-accent: oklch(62% 0.08 150);
  backdrop-filter: blur(20px);
  background: var(--card-fill);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
html:not(.dark) .gaming-card,
[data-theme="light"] .gaming-card {
  --card-fill: oklch(93.5% 0.018 78 / 0.78);
  --card-border: oklch(76% 0.04 76);
  --card-accent: oklch(72% 0.07 158);
}
.gaming-card::before {
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--card-border), var(--card-accent) 50%, var(--card-border)) top / 100% 1px no-repeat, var(--card-border);
  z-index: 5;
  pointer-events: none;
  padding: 1px;
  position: absolute;
  inset: 0;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.featured-card { height: 400px; }
.card-link { z-index: 1; position: absolute; inset: 0; }
.featured-art, .card-thumb.thumb-full {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 38% 58%, rgba(255, 140, 60, 0.55), transparent 28%),
    radial-gradient(circle at 62% 35%, rgba(90, 160, 255, 0.35), transparent 32%),
    linear-gradient(180deg, #5a3a48 0%, #2a1828 55%, #140c18 100%);
}
.hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--card) 0%, var(--card) 26%, var(--card) 48%, color-mix(in oklab, var(--card) 66%, transparent) 66%, transparent 82%);
  z-index: 1;
}
.card-content {
  z-index: 2;
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.badge {
  display: inline-block;
  background: var(--hot);
  color: var(--hot-foreground);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.card-content .meta { font-size: 14px; color: var(--muted-foreground); margin: 0 0 8px; }
.card-content h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .card-content h3 { font-size: 1.875rem; }
}
.card-title { color: var(--foreground); }
.news-card:hover .card-title { color: var(--primary); }
.card-content .excerpt {
  color: var(--muted-foreground);
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; }
.tag {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
  pointer-events: auto;
}
.hide-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  border: 1px solid var(--border);
  background: oklch(0 0 0 / 0.35);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 10px;
  cursor: pointer;
}
.side-news { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.side-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 118px;
  overflow: hidden;
}
.side-card-art, .catalog-thumb, .article-hero-art {
  background:
    radial-gradient(circle at 40% 40%, rgba(80, 160, 255, 0.35), transparent 40%),
    linear-gradient(180deg, #2a4060, #121018);
}
.art-wow {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 180, 80, 0.45), transparent 36%),
    linear-gradient(180deg, #5a3a28, #1a1018);
}
.art-other {
  background: linear-gradient(135deg, #3a2a48, #1a1018);
}
.art-diablo {
  background: linear-gradient(135deg, #3a1818, #101018);
}
.art-overwatch {
  background: linear-gradient(135deg, #3a2a18, #1a1018);
}
.art-ffxiv {
  background: linear-gradient(135deg, #142238, #101018);
}
.side-card-body { padding: 0.85rem 1rem; display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; }
.side-card h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.side-card .tag { align-self: flex-start; }

.next-section { padding: 1rem 0 3rem; }
.next {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 64rem) {
  .next {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 3.5rem;
  }
}
.page-title {
  font-family: var(--font-brand);
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
  color: var(--foreground);
}
@media (min-width: 640px) {
  .page-title { font-size: 2.25rem; }
}
.next-copy > p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 28rem;
}
.about-block {
  margin-top: 2rem;
  border-top: 1px solid oklch(30% 0.04 330 / 0.6);
  padding-top: 1.5rem;
  max-width: 28rem;
}
.about-title { font-weight: 700; color: var(--foreground); }
.about-block p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 0.25rem 0 0;
  line-height: 1.7;
}
.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
}
.roadmap li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid oklch(30% 0.04 330 / 0.6);
}
@media (min-width: 640px) {
  .roadmap li { padding: 1.25rem 2rem; }
}
.roadmap li:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--font-brand);
  color: var(--primary);
  min-width: 2.5rem;
  margin-top: -0.15rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}
.roadmap h3 { margin: 0; font-size: 16px; font-weight: 700; }
.roadmap p, .muted, .lead, .empty { color: var(--muted-foreground); margin: 0.125rem 0 0; font-size: 14px; line-height: 1.7; }

.page-block {
  max-width: 1536px;
  margin: 1.75rem auto 0;
  padding: 0 1rem 2rem;
}
.page-block h1 { font-size: 40px; margin: 0 0 8px; font-family: var(--font-brand); letter-spacing: -0.02em; }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-row, .tool-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: oklch(20% 0.04 330 / 0.5);
}
.article-row h2, .article-row h3, .tool-card h2 { margin: 0 0 6px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.callout {
  border: 1px solid oklch(70% 0.12 80 / 0.3);
  background: oklch(70% 0.12 80 / 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 8px 0 28px;
}
.app-hero {
  max-width: 1536px;
  margin: 0.75rem auto 0;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.app-hero h1 { font-size: 48px; margin: 0 0 10px; font-family: var(--font-brand); }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; }
.app-shots { display: grid; gap: 12px; }
.shot {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  min-height: 140px;
}
.shot-a { background: linear-gradient(135deg, #1c2a38, #142018); }
.shot-b { background: linear-gradient(135deg, #2a1830, #1a1428); }
.shot figcaption { font-weight: 700; margin-bottom: 6px; }
.change { border-top: 1px solid var(--border); padding: 16px 0; }
.change h3 { margin: 0; }
.change h4 { margin: 12px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-foreground); }
.eula-box {
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: oklch(0 0 0 / 0.2);
  margin: 12px 0;
}
.download-form { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn, .gaming-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-deep) 70%, oklch(64% 0.15 160) 100%);
  color: oklch(18% 0.06 265);
  font-weight: 600;
  border: 1px solid oklch(56% 0.15 152);
  border-radius: 0.5rem;
  padding: 0 1.5rem;
  height: 2.75rem;
  cursor: pointer;
  box-shadow: oklch(48% 0.13 152) 0 2px, oklch(100% 0 0 / 0.28) 0 1px inset;
}
.btn:hover, .gaming-btn:hover { filter: brightness(1.06); }
.btn-discord {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: none;
  margin-top: 1.25rem;
  gap: 0.5rem;
  font-size: 14px;
}
.btn-discord:hover { border-color: oklch(80% 0.16 158 / 0.6); filter: none; }
.prose { max-width: 760px; }
.prose h1 { font-size: 40px; }
.prose h2 { margin-top: 28px; }
.full-feed { list-style: none; padding: 0; }
.full-feed li { padding: 16px 0; border-bottom: 1px solid var(--border); }

.site-footer {
  border-top: 1px solid oklch(28% 0.045 330);
  padding: 40px 20px 24px;
  background: oklch(13.5% 0.035 330);
}
html:not(.dark) .site-footer,
[data-theme="light"] .site-footer {
  background: var(--card);
  border-top-color: var(--border);
}
.footer-grid {
  max-width: 1536px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer h3 { margin: 0 0 10px; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted-foreground); }
.site-footer a:hover { color: var(--foreground); }
.footer-bar {
  max-width: 1536px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-controls { display: flex; gap: 8px; align-items: center; }
.pill-btn, .chip {
  border: 1px solid var(--border);
  background: oklch(94% 0.01 330 / 0.04);
  border-radius: 0.4rem;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute;
  right: 0; bottom: calc(100% + 6px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 160px;
  padding: 6px;
}
.legal-tiny {
  max-width: 1536px;
  margin: 16px auto 0;
  color: var(--muted-foreground);
  font-size: 12px;
}
[data-theme="light"] .sun, html:not(.dark) .sun, [data-theme="dark"] .moon, html.dark .moon { display: none; }
.is-hidden { display: none !important; }

@media (max-width: 960px) {
  .next, .app-hero, .tool-grid, .footer-grid { grid-template-columns: 1fr; }
  .featured-card h3, .page-title, .app-hero h1 { font-size: 28px; }
  .reader-card.is-forum { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.tracker-head h1 { font-size: 42px; margin: 8px 0 6px; font-family: var(--font-brand); }

.archive-page { padding: 2rem 0 3.5rem; }
.archive-intro { padding-top: 0.5rem; }
.archive-intro .page-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.game-tile {
  background: oklch(15% 0.04 330);
  border: 1px solid oklch(32% 0.04 330);
  border-radius: 0.4rem;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
}
.game-tile::after {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #00aeff, #0068b5);
}
.game-tile.tile-ff::after {
  background: linear-gradient(135deg, #7ec8e3, #c9a227);
}
html:not(.dark) .game-tile,
[data-theme="light"] .game-tile {
  background: oklch(90.5% 0.026 78);
  border-color: oklch(78% 0.042 75);
}
.archive-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 0.5rem;
}
.archive-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 28rem;
  height: 2.25rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: oklch(20% 0.04 330 / 0.6);
  color: var(--muted-foreground);
}
.archive-search:focus-within { border-color: var(--primary); }
.archive-search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--foreground);
}
.archive-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.region-flag {
  display: inline-flex;
  width: 22px;
  height: 15px;
}
.region-flag svg {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  display: block;
}
.blue-switch a:not(.is-active) .region-flag svg,
.blue-switch a:not(.is-active) .switch-game {
  opacity: 0.4;
  filter: grayscale(0.7);
}
.blue-switch a:hover .region-flag svg,
.blue-switch a:hover .switch-game {
  opacity: 0.9;
  filter: none;
}
.archive-count {
  color: var(--muted-foreground);
  font-size: 12px;
  margin: 0 0 1rem;
}
.archive-day {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
}
.archive-day::after {
  content: "";
  background: linear-gradient(90deg, var(--border), transparent);
  flex: 1 1 0%;
  height: 1px;
}
.archive-card { padding: 0; }
.archive-list { list-style: none; margin: 0; padding: 0 0.75rem; }
.archive-item {
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1.25rem;
  transition: background 0.15s;
  display: flex;
  margin: 0 -0.75rem;
}
.archive-item:hover { background: oklch(94% 0.01 330 / 0.06); }
.archive-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.archive-thumb {
  width: 64px;
  height: 40px;
  border-radius: 4px;
  flex: 0 0 auto;
}
.archive-text {
  flex-direction: column;
  flex: 1 1 0%;
  gap: 0.2rem;
  min-width: 0;
  display: flex;
}
.archive-title {
  color: var(--foreground);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.blue-posts a:hover .blue-title { color: var(--blue); }
.archive-meta {
  color: var(--muted-foreground);
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  line-height: 1.2;
  display: flex;
}
.archive-replies { padding-left: 0.35rem; font-weight: 600; }
.archive-side {
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.5rem;
  display: flex;
}
.archive-game { width: 20px; height: 20px; }
.archive-tag {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
}
.archive-row + .archive-row { position: relative; }
.archive-row + .archive-row::before {
  content: "";
  background: linear-gradient(90deg, transparent, var(--border) 25%, var(--border) 75%, transparent);
  height: 1px;
  position: absolute;
  top: 0;
  left: 0.25rem;
  right: 0.25rem;
}
.blue-posts .archive-row + .archive-row::before {
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--border) 90%, var(--blue)) 25%, color-mix(in oklab, var(--border) 90%, var(--blue)) 75%, transparent);
}
.lodestone-tag {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
}
.lodestone-tag[data-category="topics"] { color: #8ecbff; }
.lodestone-tag[data-category="updates"] { color: #5dcf8a; }
.lodestone-tag[data-category="notices"] { color: #f0c14b; }
.page-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding-top: 1.5rem;
}
.page-btn {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  min-width: 2.25rem;
  height: 2.25rem;
  color: var(--muted-foreground);
  justify-content: center;
  align-items: center;
  padding: 0 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
}
.page-btn:hover { color: var(--foreground); border-color: oklch(80% 0.16 158 / 0.45); }
.page-btn.is-current {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  cursor: default;
  font-weight: 700;
}
.page-btn.is-disabled { opacity: 0.35; pointer-events: none; }
.page-ellipsis { color: var(--muted-foreground); padding: 0 0.35rem; }
.tracker-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 0 8px;
}
.tracker-search input {
  min-width: 260px;
  border: 1px solid var(--border);
  background: oklch(0 0 0 / 0.28);
  border-radius: 999px;
  padding: 10px 16px;
}
.filter-pills { display: flex; gap: 6px; }
.g-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  background: oklch(100% 0 0 / 0.04);
}
.g-pill.is-active {
  background: oklch(80% 0.16 158 / 0.14);
  color: var(--foreground);
  border-color: oklch(80% 0.16 158 / 0.3);
}
.lang-select select {
  border: 1px solid var(--border);
  background: oklch(100% 0 0 / 0.04);
  border-radius: 10px;
  padding: 8px 12px;
}
.thread-count { color: var(--muted-foreground); font-size: 13px; }
.day-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin: 22px 0 8px;
}
.tracker-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.tracker-list li + li { border-top: 1px solid var(--border); }
.tracker-list a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}
.tracker-list a:hover, .tracker-list li.is-current a { background: oklch(100% 0 0 / 0.04); }
.tracker-list em { color: #7eb6ff; font-style: normal; }
.meta-right {
  color: var(--muted-foreground);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.avatar-wow { background: #3d2a12; color: #f0c14b; }
.avatar-diablo { background: #3a1212; color: #f88; }
.avatar-overwatch { background: #3a2a12; color: #f5a623; }
.avatar-ffxiv { background: #123040; color: #7ec8e3; }

#reader-root[hidden] { display: none !important; }
body.reader-open { overflow: hidden; }
.reader-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: oklch(8% 0.04 330 / 0.58);
  display: grid;
  place-items: center;
  padding: 72px 18px 18px;
}
.reader-card {
  width: min(1080px, 100%);
  height: min(860px, calc(100vh - 96px));
  background: oklch(20.5% 0.04 330);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
.reader-card.is-forum { grid-template-columns: 260px 1fr; }
.post-stream {
  border-right: 1px solid var(--border);
  overflow: auto;
  padding: 14px 10px;
  background: oklch(14% 0.04 330);
}
.post-stream h2 {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  margin: 0 8px 10px;
}
.post-stream ul { list-style: none; margin: 0; padding: 0; }
.post-stream a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.post-stream li.is-current a {
  border-color: oklch(80% 0.16 158 / 0.35);
  background: oklch(80% 0.16 158 / 0.08);
}
.post-stream em { color: var(--muted-foreground); font-style: normal; }
.reader-main { overflow: auto; padding: 22px 26px 40px; }
.reader-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.reader-top h2 { margin: 0; font-size: 28px; line-height: 1.2; max-width: 640px; }
.reader-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.icon-sq {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--foreground);
  background: transparent;
  cursor: pointer;
}
.icon-sq:disabled, .icon-sq.is-disabled { opacity: 0.35; pointer-events: none; }
.stream-btn {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.live-avatar.lg { width: 48px; height: 48px; font-size: 18px; }
.reader-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin: 18px 0 16px;
  flex-wrap: wrap;
}
.who { display: flex; gap: 12px; }
.avatar.lg { width: 48px; height: 48px; font-size: 18px; }
.author { color: var(--blue); display: block; }
.where { display: flex; gap: 8px; align-items: center; color: var(--muted-foreground); }
.hero-art { height: 280px; border-radius: 16px; margin-bottom: 18px; }
.hero-festival {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 180, 80, 0.45), transparent 36%),
    linear-gradient(180deg, #5a3a28, #1a1018);
}
.hero-sea {
  background:
    radial-gradient(circle at 40% 40%, rgba(80, 160, 255, 0.35), transparent 40%),
    linear-gradient(180deg, #2a4060, #121018);
}
.hero-topics { background: linear-gradient(135deg, #3a2a18, #1a1018); }
.hero-updates { background: linear-gradient(135deg, #142238, #101018); }
.hero-notices { background: linear-gradient(135deg, #3a1818, #101018); }
.reader-body h3 { font-size: 22px; margin: 18px 0 8px; }
.reader-body h4 { margin: 14px 0 6px; }
.reader-body blockquote {
  margin: 16px 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid oklch(70% 0.04 330 / 0.4);
  color: var(--muted-foreground);
}
.forum-skin, .forum-skin h3, .forum-skin h4, .forum-skin li, .forum-skin p { color: #4ec4f0; }
.dev-note { font-style: italic; opacity: 0.9; }
html:not(.dark) .reader-card,
[data-theme="light"] .reader-card { background: #fff; color: #231326; }
html:not(.dark) .post-stream,
[data-theme="light"] .post-stream { background: #f6eef8; }
.meta { color: var(--muted-foreground); font-size: 13px; margin: 0; }

.news-index { padding-top: 1.5rem; padding-bottom: 3rem; }
.news-lead { color: var(--muted-foreground); font-size: 14px; margin: 0.5rem 0 1.5rem; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.catalog-card { display: flex; flex-direction: column; min-height: 100%; }
.catalog-thumb { height: 160px; }
.catalog-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.catalog-body h3 { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.catalog-body .excerpt {
  color: var(--muted-foreground);
  font-size: 14px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.catalog-body .tag { align-self: flex-start; margin-top: 0.35rem; }

.article-page { padding: 2rem 0 3.5rem; }
.crumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  min-width: 0;
}
.crumb a { flex-shrink: 0; }
.crumb a:hover { color: var(--primary); }
.crumb svg { flex-shrink: 0; opacity: 0.6; }
.crumb span { color: oklch(94% 0.01 330 / 0.8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.dark) .crumb span,
[data-theme="light"] .crumb span { color: oklch(22% 0.04 330 / 0.8); }
.article-shell { overflow: hidden; }
.article-hero { position: relative; }
.article-hero-art {
  width: 100%;
  height: 300px;
}
@media (min-width: 640px) {
  .article-hero-art { height: 420px; }
}
.article-hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .article-hero-copy { padding: 2rem; }
}
.article-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .article-hero-copy h1 { font-size: 2.25rem; }
}
.article-hero-copy .meta { margin-bottom: 0.5rem; font-size: 14px; }
.article-hero-copy .card-foot { margin-top: 0.75rem; }
.prose-epicore {
  padding: 1.5rem;
  line-height: 1.75;
  color: var(--foreground);
}
@media (min-width: 640px) {
  .prose-epicore { padding: 2rem; }
}
@media (min-width: 64rem) {
  .prose-epicore { padding: 2.5rem; }
}
.prose-epicore h2,
.prose-epicore h3 {
  font-family: var(--font-display);
  color: var(--foreground);
  margin: 1.5em 0 0.6em;
  font-weight: 700;
}
.prose-epicore h2 { font-size: 1.5rem; }
.prose-epicore h3 { font-size: 1.25rem; }
.prose-epicore p { margin: 0.9em 0; }
.prose-epicore a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose-epicore ul, .prose-epicore ol { margin: 0.9em 0; padding-left: 1.5em; }
.prose-epicore ul { list-style: disc; }
.prose-epicore ol { list-style: decimal; }
.prose-epicore li { margin: 0.35em 0; }
.prose-epicore li::marker { color: var(--primary); }
.prose-epicore strong { color: var(--foreground); }
.prose-epicore blockquote {
  border-left: 3px solid var(--primary);
  color: var(--muted-foreground);
  margin: 1em 0;
  padding-left: 1em;
}
.prose-epicore img,
.reader-html img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
  display: block;
}
.reader-html p,
.prose-epicore p {
  margin: 0 0 1em;
}
.reader-html p:last-child,
.prose-epicore p:last-child {
  margin-bottom: 0;
}
.prose-epicore table,
.reader-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.prose-epicore th,
.prose-epicore td,
.reader-html th,
.reader-html td {
  border: 1px solid var(--border);
  padding: 0.45em 0.7em;
  text-align: left;
}
.tox-tinymce { border-radius: 0.5rem !important; border-color: var(--border) !important; }
.admin-form .tox { margin-top: 0.35rem; }
.comments-card { margin-top: 1.5rem; }
.comments-card summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.comments-card summary::-webkit-details-marker { display: none; }
@media (min-width: 640px) {
  .comments-card summary { padding: 1.25rem 2rem; }
}
.comments-card summary svg:first-child { color: var(--primary); }
.comments-count { font-size: 14px; font-weight: 400; color: var(--muted-foreground); }
.comments-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted-foreground);
}
.comments-toggle svg { transform: rotate(90deg); transition: transform 0.15s; }
.comments-card[open] .comments-toggle svg { transform: rotate(-90deg); }
.when-open { display: none; }
.comments-card[open] .when-open { display: inline; }
.comments-card[open] .when-closed { display: none; }
.comments-body {
  padding: 0 1.25rem 1.5rem;
  color: var(--muted-foreground);
  font-size: 14px;
}
@media (min-width: 640px) {
  .comments-body { padding: 0 2rem 2rem; }
}
.comments-body p { margin: 0 0 0.75rem; }

img.live-avatar,
img.archive-avatar {
  display: block;
  padding: 0;
  object-fit: cover;
}
.live-avatar.sm {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px 0 0;
  font-size: 10px;
}
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; }

.admin-body { min-height: 100vh; }
.admin-main { padding: 2rem 1rem 4rem; }
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-left: 1.5rem;
  font-size: 13px;
  font-weight: 600;
}
.admin-nav a { color: var(--muted-foreground); }
.admin-nav a:hover,
.admin-nav a.is-active { color: var(--primary); }
.admin-logout { margin-left: auto; }
.admin-flash {
  background: oklch(80% 0.16 158 / 0.12);
  border: 1px solid oklch(80% 0.16 158 / 0.35);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  margin: 0 0 1.25rem;
}
.admin-error { color: oklch(70% 0.18 25); }
.admin-login { max-width: 28rem; margin: 3rem auto; padding: 2rem; }
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  margin: 1rem 0 2rem;
}
.admin-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 13px; font-weight: 600; }
.admin-form label.inline { flex-direction: row; align-items: center; font-weight: 500; }
.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="file"],
.admin-form select,
.admin-form textarea {
  border: 1px solid var(--border);
  background: oklch(16% 0.04 330 / 0.6);
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--foreground);
}
.admin-form textarea { resize: vertical; }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
.admin-tile {
  display: grid;
  place-items: center;
  min-height: 88px;
  font-weight: 700;
  padding: 1rem;
}
.admin-h2 { margin: 1.5rem 0 0.6rem; font-size: 1.1rem; }
.admin-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.admin-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.admin-list a { font-weight: 600; flex: 1; min-width: 12rem; }
.admin-list span { color: var(--muted-foreground); font-size: 13px; }
.admin-avatar-preview { margin-bottom: 0.5rem; }
@media (max-width: 900px) {
  .admin-nav { margin-left: 0; width: 100%; }
  .admin-logout { margin-left: 0; }
}
