:root {
  --rp-sea-950: #090704;
  --rp-sea-900: #0f0b07;
  --rp-sea-850: #181209;
  --rp-glass: rgba(14, 10, 6, 0.86);
  --rp-glass-strong: rgba(20, 14, 8, 0.96);
  --rp-purple: #5a4a8a;
  --rp-purple-soft: rgba(90, 74, 138, 0.3);
  --rp-purple-line: rgba(201, 125, 24, 0.26);
  --rp-gold: #c97d18;
  --rp-gold-soft: rgba(201, 125, 24, 0.22);
  --rp-blue: #2ab5b5;
  --rp-blue-soft: rgba(42, 181, 181, 0.18);
  --rp-green: #6ec99a;
  --rp-text: #f2ead8;
  --rp-copy: #c8baa8;
  --rp-muted: #8a7d6e;
  --rp-shadow: rgba(0, 0, 0, 0.56);
  --rp-width: 1180px;
}

html {
  background: var(--rp-sea-950);
}

body.runeport-art-home {
  overflow-x: hidden;
  color-scheme: dark;
  background:
    linear-gradient(180deg,
      rgba(4, 3, 2, 0.0)  0%,
      rgba(4, 3, 2, 0.12) 14%,
      rgba(4, 3, 2, 0.62) 50%,
      rgba(4, 3, 2, 0.95) 74%,
      rgba(4, 3, 2, 1.0)  100%
    ),
    url('/assets/RP-bg.webp') center top / min(100%, 1024px) auto no-repeat fixed,
    url('/assets/wide-RPbg.webp') center top / cover no-repeat fixed;
}

/* edge vignette */
body.runeport-art-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.58) 100%);
}

/* harbour water fog at bottom */
body.runeport-art-home::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: -14vh;
  height: 52vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(20, 40, 64, 0.48), transparent 60%),
    linear-gradient(180deg, transparent, rgba(4, 3, 2, 0.9));
}

/* ── backdrop decorative layer ── */

#runeport-art-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#runeport-art-backdrop span {
  position: absolute;
  display: block;
  pointer-events: none;
}

/* amber lantern fog — left */
.runeport-art-mist-a {
  left: -14vw;
  top: 140px;
  width: 62vw;
  height: 280px;
  background: radial-gradient(ellipse, rgba(201, 125, 24, 0.15), transparent 68%);
  filter: blur(40px);
  opacity: 0.26;
}

/* sea-teal fog — right */
.runeport-art-mist-b {
  right: -20vw;
  top: 200px;
  width: 68vw;
  height: 360px;
  background: radial-gradient(ellipse, rgba(42, 181, 181, 0.13), transparent 70%);
  filter: blur(46px);
  opacity: 0.2;
}

/* compass rose ring */
.runeport-art-portal-ring {
  right: max(7vw, calc((100vw - var(--rp-width)) / 2 - 30px));
  top: 248px;
  width: 288px;
  height: 288px;
  border: 1px solid rgba(201, 125, 24, 0.26);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 54%, rgba(201, 125, 24, 0.07) 55%, transparent 72%),
    conic-gradient(from 0deg,
      transparent 0% 23%, rgba(42, 181, 181, 0.22) 23% 27%, transparent 27% 48%,
      rgba(201, 125, 24, 0.24) 48% 52%, transparent 52% 73%,
      rgba(42, 181, 181, 0.18) 73% 77%, transparent 77%
    );
  box-shadow: 0 0 64px rgba(201, 125, 24, 0.14);
  opacity: 0.52;
}

/* harbour waterline */
.runeport-art-harbour-line {
  left: 50%;
  top: 630px;
  width: min(1040px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 125, 24, 0.48), rgba(42, 181, 181, 0.36), transparent);
  box-shadow: 0 0 24px rgba(201, 125, 24, 0.2);
}

/* anchor seal circle */
.runeport-art-rune-orbit {
  left: max(2vw, calc((100vw - var(--rp-width)) / 2 - 150px));
  top: 360px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(201, 125, 24, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 32px rgba(201, 125, 24, 0.08),
    0 0 42px rgba(201, 125, 24, 0.1);
  opacity: 0.46;
}

/* ── z-index safety ── */

body.runeport-art-home #root,
body.runeport-art-home main,
body.runeport-art-home .site-footer {
  position: relative;
  z-index: 2;
}

body.runeport-art-home main {
  width: min(var(--rp-width), calc(100% - 44px));
  padding-top: 46px;
}

body.runeport-art-home .section {
  margin-top: 34px;
}

body.runeport-art-home .section-heading {
  margin-bottom: 18px;
}

body.runeport-art-home .section h2,
body.runeport-art-home .runeport-pro-info-section h2 {
  color: #f5e8c4;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72), 0 0 22px rgba(201, 125, 24, 0.1);
}

body.runeport-art-home .section-heading p,
body.runeport-art-home .muted {
  color: var(--rp-muted);
}

body.runeport-art-home .grid {
  gap: 18px;
}

/* ── hero ── */

body.runeport-art-home .runeport-art-hero {
  position: relative;
  min-height: 405px;
  padding: clamp(22px, 3.4vw, 42px);
  gap: 32px;
  border: 1px solid rgba(201, 125, 24, 0.24);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 10%, rgba(201, 125, 24, 0.18), transparent 18rem),
    radial-gradient(circle at 88% 40%, rgba(42, 181, 181, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(24, 17, 9, 0.98), rgba(11, 8, 4, 0.97) 58%, rgba(16, 11, 7, 0.97));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(201, 125, 24, 0.06) inset,
    0 0 56px rgba(201, 125, 24, 0.1);
}

/* inner rim glow */
body.runeport-art-home .runeport-art-hero::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(201, 125, 24, 0.16), transparent 32%, transparent 68%, rgba(42, 181, 181, 0.1)),
    radial-gradient(circle at 80% 50%, transparent 0 66px, rgba(201, 125, 24, 0.1) 67px 68px, transparent 69px);
  opacity: 0.72;
}

/* bottom shimmer line */
body.runeport-art-home .runeport-art-hero::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(201, 125, 24, 0.56), rgba(42, 181, 181, 0.38), transparent);
}

body.runeport-art-home .runeport-art-hero > * {
  position: relative;
  z-index: 1;
}

body.runeport-art-home .runeport-art-hero .eyebrow {
  color: var(--rp-blue);
  letter-spacing: 0.22em;
  text-shadow: 0 0 18px rgba(42, 181, 181, 0.32);
}

body.runeport-art-home .runeport-art-hero h1 {
  max-width: 790px;
  margin-top: 10px;
  color: #f5e8c4;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.97;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.76), 0 0 36px rgba(201, 125, 24, 0.18);
}

body.runeport-art-home .runeport-art-hero p {
  max-width: 760px;
  color: var(--rp-copy);
  font-size: 16px;
  line-height: 1.72;
}

body.runeport-art-home .runeport-art-hero .actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ── trust strip — stamped brass tags ── */

body.runeport-art-home .trust-strip,
body.runeport-art-home .runeport-pro-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.runeport-art-home .trust-strip span,
body.runeport-art-home .runeport-pro-trust-strip span,
body.runeport-art-home.rp-home-polish .trust-strip span,
body.runeport-art-home.rp-home-polish .runeport-pro-trust-strip span {
  min-height: 31px;
  padding: 8px 15px;
  border: 1px solid rgba(34, 197, 94, 0.88) !important;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(22, 101, 52, 0.98), rgba(12, 58, 30, 1)) !important;
  color: #a7f3c0 !important;
  font-size: 12px;
  font-weight: 850;
  box-shadow:
    inset 0 1px rgba(167, 243, 192, 0.16),
    0 0 18px rgba(34, 197, 94, 0.4),
    0 0 36px rgba(34, 197, 94, 0.16),
    0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* ── buttons — dark glass with lantern trim ── */

body.runeport-art-home .button,
body.runeport-art-home a.button,
body.runeport-art-home .directory-hero .button,
body.runeport-art-home .directory-hero .button.secondary,
body.runeport-art-home .directory-hero .actions a,
body.runeport-art-home.rp-home-polish .button,
body.runeport-art-home.rp-home-polish a.button,
body.runeport-art-home.rp-home-polish .directory-hero .button,
body.runeport-art-home.rp-home-polish .directory-hero .button.secondary {
  border: 1px solid rgba(201, 125, 24, 0.62) !important;
  color: #d4a840 !important;
  background: rgba(10, 7, 2, 0.84) !important;
  box-shadow:
    inset 0 1px rgba(255, 210, 80, 0.07),
    0 0 14px rgba(201, 125, 24, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.52) !important;
  text-shadow: 0 0 12px rgba(201, 125, 24, 0.22) !important;
  letter-spacing: 0.03em !important;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease !important;
}

body.runeport-art-home .button:hover,
body.runeport-art-home a.button:hover,
body.runeport-art-home .directory-hero .button:hover,
body.runeport-art-home .directory-hero .actions a:hover,
body.runeport-art-home.rp-home-polish .button:hover,
body.runeport-art-home.rp-home-polish a.button:hover,
body.runeport-art-home.rp-home-polish .directory-hero .button:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(232, 150, 18, 0.9) !important;
  color: #f5c84a !important;
  background: rgba(18, 12, 3, 0.92) !important;
  box-shadow:
    inset 0 1px rgba(255, 220, 100, 0.1),
    0 0 26px rgba(201, 125, 24, 0.42),
    0 0 52px rgba(201, 125, 24, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.58) !important;
  text-shadow: 0 0 16px rgba(232, 150, 18, 0.46) !important;
}

/* ── side panels ── */

body.runeport-art-home .trending-panel,
body.runeport-art-home .fair-box {
  border-color: rgba(201, 125, 24, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(42, 181, 181, 0.1), transparent 12rem),
    linear-gradient(180deg, rgba(20, 14, 8, 0.9), rgba(10, 7, 4, 0.94));
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.46),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

body.runeport-art-home .trending-panel .panel-title {
  color: var(--rp-blue);
  letter-spacing: 0.18em;
}

body.runeport-art-home .trending-item {
  border-color: rgba(201, 125, 24, 0.14);
  background: linear-gradient(180deg, rgba(16, 11, 6, 0.88), rgba(9, 6, 3, 0.9));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

/* ── server cards — harbourmaster's notice board ── */

body.runeport-art-home .server-card {
  position: relative;
  border-color: rgba(201, 125, 24, 0.2);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 0%, rgba(201, 125, 24, 0.1), transparent 10rem),
    radial-gradient(circle at 90% 0%, rgba(42, 181, 181, 0.07), transparent 11rem),
    linear-gradient(180deg, rgba(20, 14, 8, 0.97), rgba(10, 7, 4, 0.99));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.48),
    inset 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

/* top amber shimmer line on each card */
body.runeport-art-home .server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(201, 125, 24, 0.1), transparent 1px, transparent);
  opacity: 0.78;
}

body.runeport-art-home .server-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 125, 24, 0.44);
  box-shadow:
    0 30px 76px rgba(0, 0, 0, 0.58),
    0 0 26px rgba(201, 125, 24, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

body.runeport-art-home .server-banner {
  min-height: 136px;
  background: #080500;
  box-shadow: 0 1px rgba(255, 255, 255, 0.04) inset, 0 12px 28px rgba(0, 0, 0, 0.3);
}

body.runeport-art-home .server-banner,
body.runeport-art-home .server-banner img,
body.runeport-art-home .server-banner video {
  aspect-ratio: 3 / 1;
}

body.runeport-art-home .server-banner img,
body.runeport-art-home .server-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.runeport-art-home .server-card-body {
  padding: 16px 17px 17px;
}

body.runeport-art-home .card-topline {
  top: 12px;
  left: 12px;
  right: 12px;
}

/* rank badge — embossed brass seal */
body.runeport-art-home .rank-badge,
body.runeport-art-home .mini-rank {
  border: 1px solid rgba(201, 125, 24, 0.4);
  background: linear-gradient(180deg, rgba(80, 54, 20, 0.96), rgba(46, 29, 8, 0.98));
  color: #f0d898;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.08);
}

body.runeport-art-home .score-pill {
  border-color: rgba(201, 125, 24, 0.18);
  background: rgba(10, 7, 3, 0.9);
}

body.runeport-art-home .server-title-row {
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 8px;
}

body.runeport-art-home .server-title-row a {
  color: #f5e8c4;
  line-height: 1.15;
}

body.runeport-art-home .server-card p {
  min-height: 46px;
  margin: 8px 0 11px;
  color: #c0b29e;
  line-height: 1.48;
}

/* card achievement badges */
body.runeport-art-home .runeport-pro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

body.runeport-art-home .runeport-pro-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 9px;
  border: 1px solid rgba(201, 125, 24, 0.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201, 125, 24, 0.14), rgba(90, 74, 138, 0.1));
  color: #e8c88a;
  font-size: 11px;
  font-weight: 850;
}

body.runeport-art-home .card-stats {
  gap: 8px;
  margin-top: 11px;
}

body.runeport-art-home .card-stats span,
body.runeport-art-home .score-pill {
  border-color: rgba(201, 125, 24, 0.16);
  background: rgba(8, 5, 2, 0.9);
}

body.runeport-art-home .card-stats strong {
  color: #f5e8c4;
}

body.runeport-art-home .card-actions {
  gap: 8px;
  margin-top: 13px;
}

body.runeport-art-home .card-actions .button {
  min-height: 35px;
  padding: 8px 10px;
}

/* ── rope divider with diamond mark ── */

body.runeport-art-home .runeport-art-divider {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 56px));
  margin: 36px auto 24px;
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--rp-gold);
  text-align: center;
}

body.runeport-art-home .runeport-art-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 125, 24, 0.48));
}

body.runeport-art-home .runeport-art-divider span:last-child {
  background: linear-gradient(90deg, rgba(201, 125, 24, 0.48), transparent);
}

body.runeport-art-home .runeport-art-divider b {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: 1px solid rgba(201, 125, 24, 0.8);
  background: rgba(42, 181, 181, 0.28);
  box-shadow: 0 0 16px rgba(201, 125, 24, 0.36);
}

body.runeport-art-home .runeport-art-divider em {
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── info sections — stone tablet ── */

body.runeport-art-home .runeport-pro-info-section {
  position: relative;
  z-index: 30;
  width: min(1080px, calc(100% - 72px));
  margin: 26px auto;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(201, 125, 24, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 6% 0%, rgba(201, 125, 24, 0.1), transparent 14rem),
    radial-gradient(circle at 94% 18%, rgba(42, 181, 181, 0.1), transparent 13rem),
    linear-gradient(180deg, rgba(20, 14, 8, 0.94), rgba(10, 7, 4, 0.96));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

/* corner bracket motif */
body.runeport-art-home .runeport-pro-info-section::before,
body.runeport-art-home .runeport-pro-info-section::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
  border-color: rgba(201, 125, 24, 0.32);
}

body.runeport-art-home .runeport-pro-info-section::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
}

body.runeport-art-home .runeport-pro-info-section::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

body.runeport-art-home .runeport-pro-info-section h2 {
  margin: 0 0 15px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
}

body.runeport-art-home .runeport-pro-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.runeport-art-home .runeport-pro-info-grid article {
  min-height: 108px;
  padding: 15px;
  border: 1px solid rgba(42, 181, 181, 0.15);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 10, 5, 0.82), rgba(8, 5, 2, 0.86));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

body.runeport-art-home .runeport-pro-info-grid strong,
body.runeport-art-home .runeport-pro-info-grid span {
  display: block;
}

body.runeport-art-home .runeport-pro-info-grid strong {
  color: var(--rp-gold);
  font-size: 13px;
}

body.runeport-art-home .runeport-pro-info-grid span {
  margin-top: 7px;
  color: #b8ac9a;
  font-size: 12px;
  line-height: 1.48;
}

/* ── human verification standard section ── */

body.runeport-art-home .runeport-verification-section {
  position: relative;
  z-index: 30;
  width: min(1080px, calc(100% - 72px));
  margin: 26px auto 10px;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid rgba(201, 125, 24, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 5% 0%, rgba(201, 125, 24, 0.09), transparent 14rem),
    radial-gradient(circle at 96% 100%, rgba(42, 181, 181, 0.08), transparent 13rem),
    linear-gradient(180deg, rgba(20, 14, 8, 0.94), rgba(10, 7, 4, 0.96));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

body.runeport-art-home .runeport-verification-section::before,
body.runeport-art-home .runeport-verification-section::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  pointer-events: none;
  border-color: rgba(201, 125, 24, 0.3);
}

body.runeport-art-home .runeport-verification-section::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
}

body.runeport-art-home .runeport-verification-section::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

body.runeport-art-home .rpvs-header {
  margin-bottom: 22px;
}

body.runeport-art-home .rpvs-kicker {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rp-blue);
  margin-bottom: 8px;
}

body.runeport-art-home .rpvs-header h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  color: #f5e8c4;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72), 0 0 20px rgba(201, 125, 24, 0.1);
}

body.runeport-art-home .rpvs-header p {
  margin: 0;
  color: var(--rp-copy);
  font-size: 15px;
  line-height: 1.65;
  max-width: 780px;
}

body.runeport-art-home .rpvs-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

body.runeport-art-home .rpvs-checklist,
body.runeport-art-home .rpvs-badges {
  padding: 18px;
  border: 1px solid rgba(42, 181, 181, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 10, 5, 0.82), rgba(8, 5, 2, 0.86));
}

body.runeport-art-home .rpvs-checklist h3,
body.runeport-art-home .rpvs-badges h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-gold);
}

body.runeport-art-home .rpvs-checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

body.runeport-art-home .rpvs-checklist li {
  padding-left: 20px;
  position: relative;
  color: #c8baa8;
  font-size: 14px;
  line-height: 1.5;
}

body.runeport-art-home .rpvs-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(42, 181, 181, 0.7);
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgba(42, 181, 181, 0.18);
}

body.runeport-art-home .rpvs-badge-list {
  display: grid;
  gap: 10px;
}

body.runeport-art-home .rpvs-badge-card {
  padding: 12px 14px;
  border: 1px solid rgba(201, 125, 24, 0.2);
  border-radius: 10px;
  background: rgba(10, 7, 3, 0.6);
}

body.runeport-art-home .rpvs-badge-card.rpvs-badge-founder {
  border-color: rgba(255, 185, 0, 0.24);
}

body.runeport-art-home .rpvs-badge-name {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #f5e8c4;
  margin-bottom: 4px;
}

body.runeport-art-home .rpvs-badge-founder .rpvs-badge-name {
  color: #ffd700;
}

body.runeport-art-home .rpvs-founder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

body.runeport-art-home .rpvs-founder-badge-demo {
  flex-shrink: 0;
  pointer-events: none;
}

body.runeport-art-home .rpvs-badge-card p {
  margin: 0;
  font-size: 13px;
  color: #b8ac9a;
  line-height: 1.5;
  min-height: 0;
}

body.runeport-art-home .rpvs-fairness {
  padding: 14px 16px;
  border: 1px solid rgba(201, 125, 24, 0.18);
  border-radius: 10px;
  background: rgba(8, 5, 2, 0.6);
  font-size: 13px;
  color: #a89e8e;
  line-height: 1.6;
}

body.runeport-art-home .rpvs-fairness strong {
  color: #e8c88a;
  font-weight: 900;
}

body.runeport-art-home .rpvs-fairness .rpvs-fairness-link {
  display: inline-block;
  margin-top: 6px;
  color: #e8c88a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

body.runeport-art-home .rpvs-fairness .rpvs-fairness-link:hover {
  color: #ffd47a;
  text-decoration: underline;
}

@media (max-width: 860px) {
  body.runeport-art-home .runeport-verification-section {
    width: min(100%, calc(100% - 28px));
  }

  body.runeport-art-home .rpvs-body {
    grid-template-columns: 1fr;
  }
}

/* ── side ad rails ── */

@media (min-width: 1500px) and (max-width: 1799px) {
  body.runeport-art-home .side-ad-rail {
    display: none !important;
  }
}

@media (min-width: 1800px) {
  body.runeport-art-home .side-ad-rail {
    top: 310px !important;
    z-index: 1 !important;
    opacity: 0.76;
    border-color: rgba(201, 125, 24, 0.3) !important;
    background:
      linear-gradient(180deg, rgba(16, 11, 6, 0.92), rgba(8, 5, 2, 0.96)) !important;
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(201, 125, 24, 0.07) inset,
      0 0 18px rgba(201, 125, 24, 0.12) !important;
  }

  body.runeport-art-home .side-ad-rail:hover {
    opacity: 0.92;
  }
}

/* ── responsive ── */

@media (max-width: 980px) {
  body.runeport-art-home main {
    width: min(100% - 30px, 760px);
    padding-top: 30px;
  }

  body.runeport-art-home .runeport-art-hero {
    min-height: 0;
    padding: 24px;
  }

  body.runeport-art-home .runeport-art-hero h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  body.runeport-art-home .runeport-art-hero .actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  body.runeport-art-home .runeport-pro-info-section,
  body.runeport-art-home .runeport-art-divider {
    width: min(100%, calc(100% - 28px));
  }

  body.runeport-art-home .runeport-pro-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.runeport-art-home .side-ad-rail {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.runeport-art-home {
    background:
      linear-gradient(180deg,
        rgba(4, 3, 2, 0.0)  0%,
        rgba(4, 3, 2, 0.18) 16%,
        rgba(4, 3, 2, 0.72) 52%,
        rgba(4, 3, 2, 1.0)  78%
      ),
      url('/assets/wide-RPbg.webp') center top / cover no-repeat scroll !important;
  }
}

@media (max-width: 640px) {
  body.runeport-art-home main {
    width: min(100% - 20px, 540px);
  }

  body.runeport-art-home .runeport-art-hero {
    padding: 19px;
    border-radius: 18px;
  }

  body.runeport-art-home .runeport-art-hero p {
    font-size: 14px;
  }

  body.runeport-art-home .trust-strip span,
  body.runeport-art-home .runeport-pro-trust-strip span {
    font-size: 11px;
  }

  body.runeport-art-home .runeport-pro-info-grid {
    grid-template-columns: 1fr;
  }

  body.runeport-art-home .runeport-art-divider {
    grid-template-columns: 1fr auto 1fr;
  }

  body.runeport-art-home .runeport-art-divider em {
    display: none;
  }

  .runeport-art-portal-ring,
  .runeport-art-rune-orbit {
    display: none !important;
  }
}

/* ── nav bar — dark harbourmaster's hall ── */

body.runeport-art-home header,
body.runeport-art-home nav,
body.runeport-art-home .nav-shell,
body.runeport-art-home .global-nav,
body.runeport-art-home .nav-brand,
body.runeport-art-home .nav-links,
body.runeport-art-home .nav-item,
body.runeport-art-home .nav-menu,
body.runeport-art-home .dropdown {
  overflow: visible !important;
}

body.runeport-art-home header,
body.runeport-art-home .global-nav {
  position: relative;
  z-index: 10000 !important;
}

/* ════════════════════════════════════════════════════════════════════
   STRUCTURAL nav stacking — UNSCOPED (applies on ALL pages incl. /admin).
   The themed nav block below is gated behind body.runeport-art-home, which
   is NOT added on /admin (and can mis-time on /owner) — so the open dropdown
   panel fell BEHIND dashboard content there. Stacking order is structural,
   not theming, so it must apply everywhere. Keep this independent of the
   art-theme class.
   ════════════════════════════════════════════════════════════════════ */
.nav-shell {
  position: relative;
  z-index: 10000 !important;
}
.nav-shell nav details.nav-menu,
.nav-shell .nav-menu {
  position: relative;
  z-index: 10001 !important;
}
.nav-shell .nav-menu > div,
.nav-shell .nav-menu[open] > div {
  z-index: 10002 !important;
}

/* ════════════════════════════════════════════════════════════════════
   DARK-FANTASY NAVIGATION BAR
   A dark-glass control bar: layered darkness + blur, muted-gold hairline
   edges, restrained amber hover glow, dropdowns as gold-edged glass panels.
   Scoped to the art layer (site-wide). Structural z-index/pointer-event
   fixes below are load-bearing — keep them.
   ════════════════════════════════════════════════════════════════════ */

body.runeport-art-home .nav-shell {
  position: sticky;
  top: 0;
  z-index: 10000 !important;
  /* Layered darkness over the nav art, with a faint gold wash at the top edge
     so the bar reads as one cohesive plate rather than a flat strip. */
  background:
    linear-gradient(180deg, rgba(201, 125, 24, 0.05) 0%, transparent 30%),
    linear-gradient(180deg, rgba(6, 4, 2, 0.74) 0%, rgba(5, 3, 1, 0.9) 100%),
    url('/assets/RP-nav-bg.webp') center / cover no-repeat !important;
  /* Dark-glass blur — subtle, not frosted. */
  backdrop-filter: blur(14px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.05) !important;
  /* Crisp muted-gold hairline base + depth shadow. */
  border-bottom: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 214, 130, 0.06),
    0 1px 0 rgba(201, 125, 24, 0.5),
    0 2px 0 rgba(0, 0, 0, 0.7),
    0 26px 70px rgba(0, 0, 0, 0.5) !important;
}

/* Bind the nav items into ONE integrated unit: a recessed dark-glass track
   that the links sit inside, instead of separate floating buttons. */
body.runeport-art-home .nav-shell nav {
  gap: 2px !important;
  padding: 4px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(201, 125, 24, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.14)) !important;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 214, 130, 0.03) !important;
}

body.runeport-art-home .nav-menu,
body.runeport-art-home .nav-item,
body.runeport-art-home .dropdown {
  position: relative;
  z-index: 10001 !important;
}

/* The open dropdown PANEL must sit above all page content. The build only
   gives it z-index:200, which some pages' stacking contexts overlap, so the
   menu rendered behind the page. Lift it above the nav layer. */
body.runeport-art-home .nav-menu > div,
body.runeport-art-home .nav-menu[open] > div,
body.runeport-art-home .dropdown-menu,
body.runeport-art-home .dropdown > div {
  z-index: 10002 !important;
}

/* Nav items — quiet by default: transparent within the track, muted gold
   text, borderless so they read as one bar. Identity comes on hover/active. */
body.runeport-art-home .nav-shell nav > a,
body.runeport-art-home .nav-shell summary,
body.runeport-art-home .nav-shell .text-button {
  border: 1px solid transparent !important;
  color: #c2a04e !important;
  background: transparent !important;
  box-shadow: none !important;
  letter-spacing: 0.03em !important;
  font-weight: 600 !important;
  border-radius: 9px !important;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease !important;
}

/* Restrained amber hover: soft inner lift + a low, diffuse glow — not a flash. */
body.runeport-art-home .nav-shell nav > a:hover,
body.runeport-art-home .nav-shell summary:hover,
body.runeport-art-home .nav-shell .text-button:hover {
  border-color: rgba(201, 125, 24, 0.45) !important;
  color: #f0d488 !important;
  background:
    linear-gradient(180deg, rgba(201, 125, 24, 0.12), rgba(201, 125, 24, 0.05)) !important;
  box-shadow:
    0 0 14px rgba(201, 125, 24, 0.22),
    inset 0 1px rgba(255, 214, 130, 0.1) !important;
}

/* Active page — obvious but not loud: a gold underline accent + warm text,
   no heavy fill. Targets aria-current and the SPA's active link class. */
body.runeport-art-home .nav-shell nav > a[aria-current="page"],
body.runeport-art-home .nav-shell nav > a.active {
  color: #ffe09a !important;
  background: rgba(201, 125, 24, 0.08) !important;
  border-color: rgba(201, 125, 24, 0.3) !important;
  box-shadow:
    inset 0 -2px 0 rgba(216, 160, 60, 0.95),
    0 0 12px rgba(201, 125, 24, 0.14) !important;
}

/* Open dropdown trigger — matches the active treatment so it reads as engaged. */
body.runeport-art-home .nav-shell .nav-menu[open] > summary,
body.runeport-art-home .nav-shell details[open] > summary {
  border-color: rgba(201, 125, 24, 0.55) !important;
  color: #ffe09a !important;
  background:
    linear-gradient(180deg, rgba(201, 125, 24, 0.16), rgba(201, 125, 24, 0.06)) !important;
  box-shadow:
    0 0 16px rgba(201, 125, 24, 0.26),
    inset 0 1px rgba(255, 214, 130, 0.12) !important;
}
body.runeport-art-home .nav-shell .nav-menu summary:after {
  color: rgba(201, 125, 24, 0.7) !important;
}

/* Discord — slightly stronger CTA, gold-filled (NOT blue), still on-theme. */
body.runeport-art-home .nav-shell nav > a[href*="discord"] {
  color: #1c1206 !important;
  background:
    linear-gradient(180deg, #e8bf63, #c8911f) !important;
  border-color: rgba(255, 224, 150, 0.55) !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.35) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 2px 10px rgba(201, 125, 24, 0.35) !important;
}
body.runeport-art-home .nav-shell nav > a[href*="discord"]:hover {
  color: #150d03 !important;
  background:
    linear-gradient(180deg, #f4ce74, #d89c25) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(232, 192, 96, 0.5),
    0 2px 12px rgba(201, 125, 24, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* Brand — keep dominant + clean: warm gold glow on the mark, parchment wordmark. */
body.runeport-art-home .brand-mark {
  filter:
    drop-shadow(0 0 16px rgba(201, 125, 24, 0.78))
    drop-shadow(0 0 34px rgba(42, 181, 181, 0.22));
}
body.runeport-art-home .brand-name {
  color: #f5e8c4;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.72),
    0 0 18px rgba(201, 125, 24, 0.18);
}

/* Hover bridge — the SPA closes the menu on mouseleave of the <details>, so the
   panel must sit flush under the trigger with NO dead gap to cross, or the menu
   vanishes before the cursor reaches it. Keep/strengthen the invisible bridge. */
body.runeport-art-home .nav-shell .nav-menu {
  padding-bottom: 12px !important;
  margin-bottom: -12px !important;
}

/* Dropdown panels — dark glass with a gold edge, soft shadow, blurred. */
body.runeport-art-home .nav-menu > div,
body.runeport-art-home .dropdown-menu,
body.runeport-art-home [role="menu"] {
  top: calc(100% - 2px) !important;   /* tuck under the trigger — no hover gap */
  z-index: 10002 !important;
  margin-top: 0 !important;
  padding: 7px !important;
  pointer-events: auto !important;
  border: 1px solid rgba(201, 125, 24, 0.34) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(18, 12, 5, 0.92), rgba(9, 6, 2, 0.95)) !important;
  backdrop-filter: blur(16px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.05) !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(255, 214, 130, 0.06) inset,
    0 0 24px rgba(201, 125, 24, 0.1) !important;
}

/* Dropdown items — clear separation, restrained gold hover row. */
body.runeport-art-home .nav-menu > div a,
body.runeport-art-home .dropdown-menu a,
body.runeport-art-home [role="menu"] a {
  pointer-events: auto !important;
  border-radius: 7px !important;
  color: #cdb072 !important;
  border-bottom: 1px solid rgba(201, 125, 24, 0.08) !important;
  transition: color 140ms ease, background 140ms ease !important;
}
body.runeport-art-home .nav-menu > div a:last-child,
body.runeport-art-home .dropdown-menu a:last-child,
body.runeport-art-home [role="menu"] a:last-child {
  border-bottom: none !important;
}
body.runeport-art-home .nav-menu > div a:hover,
body.runeport-art-home .dropdown-menu a:hover,
body.runeport-art-home [role="menu"] a:hover {
  color: #ffe09a !important;
  background: rgba(201, 125, 24, 0.14) !important;
  border-bottom-color: transparent !important;
}

/* ── Nav restructure (nav-enhance.js): Types nested inside Toplist ── */

/* Hide the standalone top-level "Types" dropdown — its items now live as a
   submenu inside the Toplist panel. */
body.runeport-art-home .nav-shell nav details.nav-menu.rp-nav-hidden,
.nav-shell nav details.nav-menu.rp-nav-hidden {
  display: none !important;
}

/* The nested "Types" subgroup inside the Toplist dropdown. */
body.runeport-art-home .nav-menu > div .rp-nav-subgroup {
  display: grid !important;
  margin-top: 6px !important;
  padding-top: 6px !important;
  border-top: 1px solid rgba(201, 125, 24, 0.22) !important;
}

/* Subgroup heading ("Types") — a quiet gold section label, not a link. */
body.runeport-art-home .nav-menu > div .rp-nav-subgroup-label {
  padding: 4px 12px 5px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(201, 125, 24, 0.85) !important;
}

/* Cloned Types links — slightly indented so the nesting reads clearly. */
body.runeport-art-home .nav-menu > div a.rp-nav-subitem {
  padding-left: 22px !important;
  position: relative !important;
  border-bottom: none !important;
  color: #c2a662 !important;
}
body.runeport-art-home .nav-menu > div a.rp-nav-subitem:before {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  width: 4px !important;
  height: 1px !important;
  background: rgba(201, 125, 24, 0.55) !important;
}
body.runeport-art-home .nav-menu > div a.rp-nav-subitem:hover {
  color: #ffe09a !important;
}

@media (max-width: 920px) {
  body.runeport-art-home .nav-shell {
    position: static;
  }
  /* On the mobile stacked layout the items are full-width; relax the track. */
  body.runeport-art-home .nav-shell nav {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

/* ── pointer-event safety ── */

#runeport-art-backdrop,
#runeport-art-backdrop *,
body.runeport-art-home::before,
body.runeport-art-home::after,
body.runeport-art-mist-a,
body.runeport-art-mist-b,
body.runeport-art-portal-ring,
body.runeport-art-harbour-line,
body.runeport-art-rune-orbit {
  pointer-events: none !important;
}

body.runeport-art-home .side-ad-rail {
  pointer-events: auto !important;
  z-index: 9000 !important;
  cursor: pointer !important;
}

body.runeport-art-home .side-ad-rail * {
  pointer-events: auto !important;
}

/* ── brand logo hover — all pages ── */

.brand-mark {
  transition: filter 200ms ease, transform 200ms ease !important;
}

.brand:hover .brand-mark,
a.brand:hover .brand-mark {
  filter:
    drop-shadow(0 0 14px rgba(201, 125, 24, 0.88))
    drop-shadow(0 0 32px rgba(201, 125, 24, 0.44))
    drop-shadow(0 0 56px rgba(42, 181, 181, 0.26)) !important;
  transform: translateY(-3px) scale(1.07) !important;
}

/* ── "Trending today" title clipping fix ──
   .trending-panel uses overflow:hidden with 0 horizontal padding, so the
   letter-spaced heading's first glyph ("T") gets clipped at the left edge.
   Give the title a little breathing room without changing the panel's
   overflow (the scrolling list mask depends on it). */
.trending-panel {
  padding-left: 4px !important;
  padding-right: 4px !important;
}
.trending-panel .panel-title {
  padding-left: 2px;
}

/* ── Toplist-style hero (rebuilt by homepage-pro.js) ── */
body.runeport-art-home .rp-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

body.runeport-art-home .rp-hero-toprow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.runeport-art-home .rp-hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(87, 214, 141, 0.4);
  background: rgba(87, 214, 141, 0.12);
  color: #7ce6a6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.runeport-art-home .rp-hero-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57d68d;
  box-shadow: 0 0 0 0 rgba(87, 214, 141, 0.6);
  animation: rpHeroPulse 2s ease-out infinite;
}

@keyframes rpHeroPulse {
  0% { box-shadow: 0 0 0 0 rgba(87, 214, 141, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(87, 214, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 214, 141, 0); }
}

body.runeport-art-home .rp-hero-eyebrow {
  color: #8fa0c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.runeport-art-home .rp-hero-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f6edda;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Animated gold "The RSPS toplist" — shimmer sweep + drawn SVG underline,
   matching the guides page title treatment. */
body.runeport-art-home .rp-hero-title-main {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-bottom: 8px;
  color: #ffd47a;
  background: linear-gradient(100deg, #e8b85a 0%, #fff1c4 28%, #ffd47a 48%, #e8b85a 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: rpHeroTitleShimmer 5.5s ease-in-out infinite;
}

body.runeport-art-home .rp-hero-title-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.26em;
  overflow: visible;
  color: #f0b94e;
  filter: drop-shadow(0 0 4px rgba(240, 185, 78, 0.55));
  animation: rpHeroTitleGlow 4s ease-in-out 2s infinite;
}

body.runeport-art-home .rp-hero-title-underline path {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: rpHeroTitleDraw 1.5s ease-out 0.25s forwards;
}

@keyframes rpHeroTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rpHeroTitleDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes rpHeroTitleGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(240, 185, 78, 0.45)); }
  50% { filter: drop-shadow(0 0 9px rgba(255, 220, 130, 0.85)); }
}

/* Silvery animated subtitle on its own line so it never wraps awkwardly. */
body.runeport-art-home .rp-hero-title-sub {
  display: block;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(100deg, #aab2c6 0%, #ffffff 30%, #c9d2e6 50%, #9aa3b8 72%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: rpHeroSubShimmer 6s ease-in-out infinite;
}

@keyframes rpHeroSubShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  body.runeport-art-home .rp-hero-title-main,
  body.runeport-art-home .rp-hero-title-sub { animation: none; }
  body.runeport-art-home .rp-hero-title-underline { animation: none; }
  body.runeport-art-home .rp-hero-title-underline path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* Four stat columns with divider lines */
body.runeport-art-home .rp-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(201, 125, 24, 0.16);
  border-radius: 16px;
  background: rgba(8, 6, 3, 0.45);
  overflow: hidden;
}

body.runeport-art-home .rp-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-left: 1px solid rgba(201, 125, 24, 0.12);
}

body.runeport-art-home .rp-hero-stat:first-child {
  border-left: 0;
}

body.runeport-art-home .rp-hero-stat b {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  color: #f6edda;
  line-height: 1;
}

body.runeport-art-home .rp-hero-stat .rp-hero-countdown {
  color: #57d68d;
  font-variant-numeric: tabular-nums;
}

body.runeport-art-home .rp-hero-stat span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa2bd;
}

/* #1 today server row */
body.runeport-art-home .rp-hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(141, 98, 255, 0.4);
  background: linear-gradient(180deg, rgba(28, 22, 48, 0.7), rgba(14, 11, 26, 0.7));
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

body.runeport-art-home .rp-hero-top:hover {
  border-color: rgba(201, 125, 24, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

body.runeport-art-home .rp-hero-top-logo {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(8, 6, 3, 0.6);
  border: 1px solid rgba(201, 125, 24, 0.2);
}

body.runeport-art-home .rp-hero-top-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.runeport-art-home .rp-hero-top-fallback {
  font-family: Cinzel, serif;
  font-size: 24px;
  font-weight: 900;
  color: #ffd47a;
}

body.runeport-art-home .rp-hero-top-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

body.runeport-art-home .rp-hero-top-main strong {
  color: #f6edda;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.runeport-art-home .rp-hero-top-meta {
  font-size: 12px;
  color: #9aa2bd;
}

body.runeport-art-home .rp-hero-top-stats {
  display: flex;
  gap: 14px;
  margin-top: 2px;
  font-size: 12px;
  color: #c4ccdf;
}

body.runeport-art-home .rp-hero-top-stats b {
  color: #f6edda;
  font-weight: 800;
}

body.runeport-art-home .rp-hero-top-up {
  color: #57d68d;
  font-weight: 700;
}

body.runeport-art-home .rp-hero-top-rank {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e7b658, #c7902f);
  color: #1a1206;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* Action buttons row */
body.runeport-art-home .rp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.runeport-art-home .rp-hero-actions .rp-hero-cta-primary {
  background: linear-gradient(180deg, #e7b658, #c7902f);
  color: #1a1206;
  border: 0;
  font-weight: 800;
}

body.runeport-art-home .rp-hero-actions .button.ghost {
  background: rgba(8, 6, 3, 0.4);
  border: 1px solid rgba(201, 125, 24, 0.4);
  color: #f0d7a4;
}

body.runeport-art-home .rp-hero-actions .button.ghost:hover {
  border-color: rgba(201, 125, 24, 0.7);
}

/* Pulse the "Submit server" button to draw attention (mimics a hover glow). */
body.runeport-art-home .rp-hero-actions .rp-hero-pulse {
  animation: rpHeroBtnPulse 2.2s ease-in-out infinite;
  will-change: box-shadow, border-color, transform;
}

body.runeport-art-home .rp-hero-actions .rp-hero-pulse:hover {
  animation: none; /* settle into the normal hover state when actually hovered */
}

@keyframes rpHeroBtnPulse {
  0%, 100% {
    border-color: rgba(201, 125, 24, 0.4);
    box-shadow: 0 0 0 0 rgba(201, 125, 24, 0);
    transform: translateY(0);
  }
  50% {
    border-color: rgba(201, 125, 24, 0.85);
    box-shadow: 0 0 0 4px rgba(201, 125, 24, 0.16), 0 0 16px rgba(201, 125, 24, 0.34);
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.runeport-art-home .rp-hero-actions .rp-hero-pulse { animation: none; }
}

@media (max-width: 640px) {
  body.runeport-art-home .rp-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.runeport-art-home .rp-hero-stat:nth-child(3) {
    border-left: 0;
  }
}

/* ── Elo change marker (▲/▼ X Elo) on server cards, added by climb-marker.js ── */
.rp-climb-marker {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
}

/* Net Elo gain (above the 1200 baseline). */
.rp-climb-marker.rp-climb-up {
  border-color: rgba(87, 214, 141, 0.4);
  background: rgba(87, 214, 141, 0.12);
  color: #7ce6a6;
}

/* Net Elo loss (below the 1200 baseline). */
.rp-climb-marker.rp-climb-down {
  border-color: rgba(255, 109, 143, 0.4);
  background: rgba(255, 109, 143, 0.12);
  color: #ff8da6;
}

/* Exactly at baseline. */
.rp-climb-marker.rp-climb-flat {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #9aa2bd;
}
