/* Wariant B - "Redakcja" (przyklad stylu dla wlasciciela, 2026-10-18).
   Gleboki lupkowy granat, cieply zloty akcent, szeryfowe naglowki, duze zdjecie w hero (wilk i ksiezyc ze strony
   startowej), aktualnosci jako redakcyjna lista zamiast kart, ostrzejsze rogi. Paleta nadpisana tutaj i dziala
   niezaleznie od motywu z panelu admina. Struktura jest w modern.css. */

:root, :root[data-theme][data-theme] {
  --ground: #0e1219; --surface: #161c27; --surface-high: #1e2635;
  --line: #2a3446; --line-hover: #44526b;
  --ink: #f2eee6; --ink-muted: #b0b6c3; --ink-faint: #5f6b80; --ink-faint-text: #8f98aa;
  --accent: #d9a441; --accent-hover: #e8b957; --accent-pressed: #b98727; --accent-ink: #1b1407; --accent-soft: rgba(217, 164, 65, .13);
  --good: #2f9d68; --warn: #d9a441; --bad: #cf4a43;
  --ink-good: #6fd29b; --ink-warn: #efc46a; --ink-bad: #f5a8a1; --ink-accent: #f0c56e;
  --row-hover: #1c2433; --button-hover: #232d40; --button-pressed: #0c1018; --scrim: #05080eb0;
  --link: #efc46a; --link-hover: #f6d795;
  --good-wash: #12301f; --warn-wash: #3a2e12; --bad-wash: #381c20; --level-ink: #0d1014;
  --m-heading-font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "DejaVu Serif", serif;
  --m-radius: 10px; --m-radius-sm: 6px;
  --m-card: #161c27; --m-card-solid: #161c27;
  --m-card-line: rgba(255, 255, 255, .06);
  --m-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 14px 30px -20px rgba(0, 0, 0, .9);
  --m-bar-bg: rgba(14, 18, 25, .9);
  --m-bar-line: rgba(255, 255, 255, .07);
  --m-hover: rgba(255, 255, 255, .06);
  --m-pill: transparent;
  --m-eyebrow: #c9a259;
  color-scheme: dark;
}

h1, h2 { font-weight: 600; letter-spacing: -0.01em; }
.page > h1 { font-weight: 600; letter-spacing: -0.02em; }
.page > h1::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 18px; background: var(--accent); border-radius: 2px; }
.card > h2:first-child, .card-head h2 { font-family: var(--m-heading-font); }

/* bar: text links, a gold line under the current one */
.brand { font-family: var(--m-heading-font); font-size: 1.2rem; letter-spacing: 0; }
.brand img { border-radius: 6px; }
.sections .section-link, .sections summary { border-radius: 6px; font-weight: 500; }
.sections .section-link[aria-current="page"], .sections .group-here > summary { background: none; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 6px 6px 0 0; }
.group-menu { border-radius: 8px; background: #1a2130; }
.group-menu a { border-radius: 5px; }
.sections .account-nav a:not(.button), .link-button { border-radius: 6px; font-weight: 500; }

.button { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 6px; font-weight: 650; letter-spacing: .01em; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.button-quiet { background: transparent; color: var(--ink); border: 1px solid rgba(255, 255, 255, .22); }
.button-quiet:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .4); }
.button-danger { background: #b9423b; border-color: #b9423b; color: #fff; }
.sections .account-nav a.button { color: var(--accent-ink); }
.sections .account-nav a.button:hover { color: var(--accent-ink); }
.badge { border-radius: 4px; }
.field input, .field textarea, .field select, .inline-form input[type="text"] { background: #0f141d; border: 1px solid var(--line); border-radius: 6px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.table thead th { color: var(--m-eyebrow); }
/* VIP (2026-10-18): a thin gold frame on the highscores row of a VIP character, a gold title after the name */
.table tbody tr.vip-row { background: linear-gradient(90deg, rgba(217, 164, 65, .10), rgba(217, 164, 65, .02) 60%, transparent); }
.table tbody tr.vip-row td { border-top: 1px solid rgba(217, 164, 65, .35); border-bottom: 1px solid rgba(217, 164, 65, .35); }
.table tbody tr.vip-row td:first-child { border-left: 3px solid var(--accent); }
.table tbody tr.vip-row td:last-child { border-right: 1px solid rgba(217, 164, 65, .35); }
.table tbody tr.vip-row:hover { background: linear-gradient(90deg, rgba(217, 164, 65, .16), rgba(217, 164, 65, .05) 60%, transparent); }
.vip-title { white-space: nowrap; font-family: var(--m-heading-font); font-style: italic; font-weight: 500; font-size: .72em; color: var(--ink-accent); letter-spacing: 0; }
.pagination a, .pagination strong { border-radius: 6px; }
.card-narrow h1, .card-narrow h2 { font-family: var(--m-heading-font); }

/* hero: the picture with the wolf on the left, the words on the right */
.hero {
  position: relative; overflow: hidden; text-align: left; border-radius: 18px; min-height: 440px;
  padding: 44px 48px 36px 46%; display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(90deg, rgba(14, 18, 25, 0) 0%, rgba(14, 18, 25, .12) 22%, rgba(14, 18, 25, .94) 37%, rgba(14, 18, 25, .97) 100%),
    linear-gradient(0deg, rgba(14, 18, 25, .55), rgba(14, 18, 25, 0) 45%),
    linear-gradient(180deg, rgba(14, 18, 25, .9), rgba(14, 18, 25, 0) 24%),
    url("../img/backdrop.webp") 0 100% / auto 128% no-repeat, var(--ground);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 60px -34px rgba(0, 0, 0, .9);
}
.hero-title img { width: min(430px, 100%); margin: 0 0 4px -10px; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .6)); }
.hero-lead { margin: 4px 0 24px; max-width: 34ch; font-family: var(--m-heading-font); font-size: 1.3rem; line-height: 1.4; color: var(--ink); }
.hero-actions { justify-content: flex-start; }
.hero-actions .button { min-width: 0; }
.hero-status { margin-top: 26px; }
.hero-status .status-pills { justify-content: flex-start; }
.pill { border: 1px solid rgba(255, 255, 255, .16); background: rgba(14, 18, 25, .55); border-radius: 6px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.footer-status .pill { background: transparent; border-color: var(--m-card-line); }
.pill-label { color: var(--m-eyebrow); }

.home-strip { border-radius: 8px; border: 0; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.home-strip-label { color: var(--m-eyebrow); }

/* cards: flat slate with a gold top line */
.home-card { border: 0; border-top: 2px solid rgba(217, 164, 65, .75); border-radius: 4px 4px 10px 10px; background: var(--surface-high); box-shadow: 0 18px 30px -24px #000; }
.home-card-figure { color: var(--accent); font-family: var(--m-heading-font); }
.home-card .boosted-figure { background: rgba(0, 0, 0, .25); border-radius: 6px; }
.home-card-title { font-family: var(--m-heading-font); font-weight: 600; font-size: 1.25rem; }

/* news as an editorial list, not cards */
.home-section { margin-top: 64px; }
.home-section > .card-head { padding-bottom: 12px; border-bottom: 1px solid var(--m-card-line); margin-bottom: 0; }
.home-section > .card-head h2 { font-size: 1.7rem; }
.news-card {
  display: grid; grid-template-columns: 130px minmax(0, 1fr); column-gap: 24px; align-items: start;
  background: none; border: 0; border-bottom: 1px solid var(--m-card-line); border-radius: 0; box-shadow: none; margin: 0; padding: 26px 0;
}
.news-card > * { grid-column: 2; }
.news-card .news-date { grid-column: 1; grid-row: 1 / span 3; padding-top: 7px; color: var(--m-eyebrow); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { font-family: var(--m-heading-font); font-size: 1.65rem; font-weight: 600; margin: 0 0 8px; }
.news-card h3 a:hover { color: var(--accent); }
.empty-state { background: none; border: 1px dashed rgba(255, 255, 255, .16); box-shadow: none; margin-top: 18px; }
.empty-title { font-family: var(--m-heading-font); font-size: 1.4rem; }
.home-rare { background: none; border: 0; box-shadow: none; padding: 4px 0; }
.home-rare .rare-drop { border-bottom: 1px solid var(--m-card-line); }

@media (max-width: 860px) {
  /* the top of the photo carries its own logo, so below the desktop layout it is pushed out of the frame */
  .hero { min-height: 0; padding: 250px 24px 28px; align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(14, 18, 25, 0) 0%, rgba(14, 18, 25, .25) 28%, rgba(14, 18, 25, .96) 56%),
      url("../img/backdrop.webp") 0 100% / auto 150% no-repeat, var(--ground); }
  .hero-title img { width: min(360px, 100%); margin-left: -6px; }
  .group-menu { background: none; border-radius: 0; }
  .news-card { display: block; }
  .news-card .news-date { padding: 0 0 4px; }
}
@media (max-width: 560px) {
  .hero { border-radius: 14px; padding: 210px 18px 22px; }
  .hero-lead { font-size: 1.1rem; }
}
