:root {
  --features-ink: #e8e4dc;
  --features-copy: rgba(226, 222, 214, .78);
  --features-muted: rgba(205, 198, 186, .46);
  --features-canvas: rgba(31, 32, 33, .70);
  --features-canvas-deep: rgba(19, 20, 21, .74);
  --features-sidebar-w: 286px;
  --features-gap: clamp(42px, 4.2vw, 76px);
  --features-content: 980px;
}

.features-page {
  min-height: 100%;
  color: var(--features-copy);
  background: #0c0f12;
  overflow-x: clip;
}
.features-page::before,
.features-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.features-page::before {
  z-index: 0;
  background: url("../images/features/features-bg.webp") 57% top / cover no-repeat;
  filter: saturate(.50) brightness(.49) contrast(.98);
  transform: scale(1.025);
}
.features-page::after {
  z-index: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(164, 146, 116, .006), transparent 34%),
    linear-gradient(90deg, rgba(8,10,12,.80) 0%, rgba(8,10,12,.33) 24%, rgba(14,15,17,.14) 54%, rgba(10,11,13,.29) 100%),
    linear-gradient(180deg, rgba(8,10,12,.17) 0%, rgba(8,10,12,.22) 56%, rgba(8,10,12,.57) 100%);
}

.features-page .site-footer { position: relative; z-index: 1; }

.features-page .desktop-nav a.is-active,
.features-page .desktop-nav a[aria-current="page"] { color: var(--brand-ivory); }
.features-page .desktop-nav a.is-active::after,
.features-page .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: .65;
}

.features-main {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 28px) 0 80px;
}

.features-workspace {
  width: min(1480px, calc(100% - clamp(44px, 6.2vw, 128px)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--features-sidebar-w) minmax(0, var(--features-content));
  justify-content: center;
  gap: var(--features-gap);
  align-items: start;
}

/* SIDEBAR — the one retained B1 mechanism, visually reduced to an index rail. */
.features-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  max-height: calc(100svh - var(--header-h) - 52px);
  overflow-y: auto;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: rgba(175,152,120,.20) transparent;
  padding: 14px 10px 18px 18px;
  background: linear-gradient(90deg, rgba(10,11,13,.62), rgba(10,11,13,.12) 82%, transparent);
}
.features-sidebar::-webkit-scrollbar { width: 3px; height: 0; }
.features-sidebar::-webkit-scrollbar-thumb { background: rgba(175,152,120,.20); }
.features-sidebar::-webkit-scrollbar-track { background: transparent; }
.features-sidebar__heading {
  display: grid;
  gap: 3px;
  padding: 0 4px 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(216,208,190,.13);
}
.features-sidebar__heading span {
  color: rgba(236,232,223,.80);
  font-family: Cinzel, serif;
  font-size: 14px;
  letter-spacing: .12em;
}
.features-sidebar__heading small {
  color: rgba(175,152,120,.48);
  font-size: 7px;
  letter-spacing: .26em;
}
.features-nav { min-width: 0; }
.features-nav__group { border-bottom: 1px solid rgba(216,208,190,.07); }
.features-nav__main {
  min-height: 57px;
  display: grid;
  grid-template-columns: 27px minmax(0,1fr) 14px;
  align-items: center;
  gap: 8px;
  color: rgba(216,208,190,.48);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
  padding: 0 4px;
  text-decoration: none;
  transition: color .18s ease;
}
.features-nav__main > span {
  color: rgba(175,152,120,.42);
  font-size: 8px;
  letter-spacing: .13em;
}
.features-nav__main strong { font-weight: 600; line-height: 1.35; text-decoration: none; }
.features-nav__main i { position: relative; width: 9px; height: 9px; justify-self: end; }
.features-nav__main i::before,
.features-nav__main i::after {
  content: ""; position: absolute; background: currentColor; opacity: .8; transition: transform .18s ease;
}
.features-nav__main i::before { left: 1px; top: 4px; width: 7px; height: 1px; }
.features-nav__main i::after { left: 4px; top: 1px; width: 1px; height: 7px; }
.features-nav__main:hover { color: rgba(236,232,223,.78); }
.features-nav__group.is-active .features-nav__main { color: var(--features-ink); }
.features-nav__group.is-active .features-nav__main > span { color: var(--bronze); }
.features-nav__group.is-active .features-nav__main i::after { transform: scaleY(0); }
.features-nav__sub {
  display: none;
  margin: -2px 0 12px 31px;
  padding: 2px 0 2px 15px;
  border-left: 1px solid rgba(175,152,120,.20);
}
.features-nav__group.is-active .features-nav__sub { display: grid; }
.features-nav__sub a {
  position: relative;
  padding: 7px 0;
  color: rgba(216,208,190,.40);
  font-size: 9px;
  line-height: 1.28;
  text-decoration: none;
  transition: color .18s ease;
}
.features-nav__sub a::before {
  content: ""; position: absolute; left: -14px; top: 50%; width: 1px; height: 0; background: var(--bronze); transform: translateY(-50%); transition: height .18s ease;
}
.features-nav__sub a:hover { color: rgba(236,232,223,.66); }
.features-nav__sub a.is-active { color: rgba(236,232,223,.92); }
.features-nav__sub a.is-active::before { height: 20px; }

.features-document { min-width: 0; max-width: var(--features-content); }
.feature-group { display: block; }
.features-page.features-enhanced .feature-group:not(.is-active) { display: none; }
.feature-group.is-entering { animation: feature-enter .20s ease both; }
@keyframes feature-enter { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* One continuous reading plane, not a stack of forum cards. */
.feature-group {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--features-canvas), var(--features-canvas-deep));
  border-left: 1px solid rgba(216,208,190,.07);
  border-right: 1px solid rgba(216,208,190,.04);
  box-shadow: 0 28px 72px rgba(0,0,0,.24);
}
.feature-group::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(175,152,120,.22), rgba(175,152,120,0) 72%) top left / 112px 1px no-repeat,
    linear-gradient(to bottom, rgba(175,152,120,.22), rgba(175,152,120,0) 72%) top left / 1px 112px no-repeat,
    linear-gradient(to left, rgba(175,152,120,.22), rgba(175,152,120,0) 72%) top right / 112px 1px no-repeat,
    linear-gradient(to bottom, rgba(175,152,120,.22), rgba(175,152,120,0) 72%) top right / 1px 112px no-repeat,
    linear-gradient(to right, rgba(175,152,120,.16), rgba(175,152,120,0) 72%) bottom left / 112px 1px no-repeat,
    linear-gradient(to top, rgba(175,152,120,.16), rgba(175,152,120,0) 72%) bottom left / 1px 112px no-repeat,
    linear-gradient(to left, rgba(175,152,120,.16), rgba(175,152,120,0) 72%) bottom right / 112px 1px no-repeat,
    linear-gradient(to top, rgba(175,152,120,.16), rgba(175,152,120,0) 72%) bottom right / 1px 112px no-repeat;
  opacity: .72;
  pointer-events: none;
}
.feature-group__hero {
  position: relative;
  z-index: 1;
  min-height: 250px;
  padding: clamp(28px, 3.4vw, 42px) clamp(30px, 4vw, 44px) 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(216,208,190,.10);
}
.feature-group__hero > p:first-child,
.feature-section__kicker {
  margin: 0 0 14px;
  color: rgba(175,152,120,.64);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.feature-group__hero h1 {
  margin: 0;
  max-width: 790px;
  color: var(--features-ink);
  font-family: Cinzel, serif;
  font-size: clamp(48px, 5vw, 78px);
  line-height: .93;
  font-weight: 400;
  letter-spacing: -.045em;
}
.feature-group__hero h1 em { color: transparent; -webkit-text-stroke: 1px rgba(175,152,120,.60); font-style: normal; }
#server-concept .feature-group__hero { min-height: 0; }
#server-concept .feature-group__hero > p:first-child { margin-bottom: 20px; }
.feature-group__lead {
  max-width: 740px;
  margin: 22px 0 0;
  color: rgba(232,226,215,.68);
  font-size: 14px;
  line-height: 1.85;
}

.feature-section {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 2.7vw, 34px) clamp(30px, 3.8vw, 44px);
}
.feature-section + .feature-section { border-top: 1px solid rgba(216,208,190,.09); }
.feature-section h2 {
  margin: 0 0 18px;
  color: var(--features-ink);
  font-family: Cinzel, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -.025em;
}
.feature-section p {
  max-width: 760px;
  margin: 0;
  color: var(--features-copy);
  font-size: 14px;
  line-height: 1.92;
}
.feature-section--quiet { background: rgba(10,11,13,.018); }
.feature-section--accent {
  background: linear-gradient(105deg, rgba(61,58,53,.027), rgba(28,29,31,.012) 68%);
}
.feature-section--statement {
  min-height: 430px;
  display: grid;
  align-content: center;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(10,11,13,.036), rgba(49,46,41,.015));
}
.feature-section--rating {
  background: linear-gradient(120deg, rgba(55,52,47,.033), rgba(21,22,24,.021) 72%);
}
.feature-section--open { background: rgba(13,15,17,.015); }

.feature-section__split,
.feature-proof-grid,
.feature-open-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.feature-pillar-list {
  display: grid;
  border-top: 1px solid rgba(216,208,190,.13);
}
.feature-pillar-list span {
  display: grid;
  gap: 6px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(216,208,190,.10);
}
.feature-pillar-list strong { color: rgba(236,232,223,.85); font-family: Cinzel, serif; font-size: 15px; letter-spacing: .03em; }
.feature-pillar-list small { color: rgba(216,208,190,.40); font-size: 9px; }

.feature-flow,
.feature-rating-path {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid rgba(216,208,190,.12);
}
.feature-flow span,
.feature-rating-path span { color: rgba(236,232,223,.76); font-family: Cinzel, serif; font-size: 12px; letter-spacing: .08em; }
.feature-flow i,
.feature-rating-path i { height: 1px; background: linear-gradient(90deg, rgba(175,152,120,.45), rgba(175,152,120,.08)); }

.feature-note {
  max-width: 720px;
  margin-top: 32px;
  padding: 12px 14px 13px;
  border-left: 1px solid rgba(175,152,120,.58);
  background: linear-gradient(90deg, rgba(175,152,120,.011), rgba(175,152,120,.002));
}
.feature-note span { display: block; margin-bottom: 8px; color: rgba(175,152,120,.78); font-size: 8px; font-weight: 700; letter-spacing: .20em; }
.feature-note p { font-size: 12px; line-height: 1.72; color: rgba(232,226,215,.66); }
.feature-note--inline { max-width: none; }

/* EVENTS & COMPETITION — deliberately varied flagship proof. */
.feature-group--proof .feature-group__hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 20px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(175,152,120,.05);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(175,152,120,.014), 0 0 0 105px rgba(175,152,120,.009);
  pointer-events: none;
}
.feature-proof-pulse {
  display: grid;
  border-left: 1px solid rgba(216,208,190,.13);
}
.feature-proof-pulse span {
  display: grid;
  gap: 7px;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid rgba(216,208,190,.11);
  color: rgba(236,232,223,.88);
  font-family: Cinzel, serif;
  font-size: 16px;
  letter-spacing: .035em;
}
.feature-proof-pulse small { color: rgba(216,208,190,.40); font-family: Manrope, sans-serif; font-size: 9px; letter-spacing: 0; }
.feature-statement__ghost {
  position: absolute;
  right: -15px;
  bottom: 8px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(175,152,120,.075);
  font-family: Cinzel, serif;
  font-size: clamp(90px, 11vw, 154px);
  line-height: .8;
  letter-spacing: -.06em;
  pointer-events: none;
}
.feature-statement__content { position: relative; z-index: 1; max-width: 760px; }
.feature-rating-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.feature-rating-mark {
  color: transparent;
  -webkit-text-stroke: 1px rgba(175,152,120,.33);
  font-family: Cinzel, serif;
  font-size: clamp(46px, 6.5vw, 80px);
  letter-spacing: -.05em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: center;
}
.feature-rating-copy p { max-width: 610px; }
.feature-open-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
.feature-open-tags span {
  padding: 14px 14px;
  border: 1px solid rgba(216,208,190,.11);
  color: rgba(236,232,223,.70);
  font-family: Cinzel, serif;
  font-size: 11px;
  text-align: center;
  letter-spacing: .07em;
  background: rgba(10,11,13,.12);
}


.features-mobile-nav { display: none; }

/* Features uses a long scrolling document. Keep its global chrome geometrically
   aligned with the locked Home while allowing the scrolled surface treatment. */
@media (min-width: 821px) {
  .features-page .site-header.is-scrolled {
    height: var(--header-h);
  }

  .features-page .nav-shell,
  .features-page .footer-shell {
    position: relative;
    left: calc((100vw - 100%) / 2);
  }
}

@media (max-width: 1180px) {
  :root { --features-sidebar-w: 250px; --features-content: 820px; --features-gap: 36px; }
  .features-workspace { width: min(1180px, calc(100% - 48px)); }
}

@media (max-width: 980px), (orientation: landscape) and (max-width: 1180px) and (max-height: 560px) {
  .features-main { padding: var(--header-h) 0 70px; }
  .features-workspace { width: 100%; display: block; }
  .features-sidebar { display: none; }
  .features-document { max-width: none; }
  .features-mobile-nav {
    display: block;
    position: sticky;
    top: var(--header-h);
    z-index: 45;
    width: 100%;
    background: rgba(13,15,17,.70);
    border-bottom: 1px solid rgba(216,208,190,.10);
    backdrop-filter: blur(12px);
  }
  .features-mobile-nav__toggle {
    -webkit-appearance: none;
    appearance: none;
    width: min(760px, calc(100% - 36px));
    min-height: 64px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 34px 1fr 18px;
    gap: 10px;
    align-items: center;
    color: var(--features-ink);
    font: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .features-mobile-nav__toggle:focus-visible {
    outline: 1px solid rgba(175,152,120,.72);
    outline-offset: -1px;
  }
  .features-mobile-nav__index { color: var(--bronze); font-size: 9px; letter-spacing: .16em; }
  .features-mobile-nav__labels { display: grid; gap: 3px; }
  .features-mobile-nav__labels strong { font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
  .features-mobile-nav__labels span { color: rgba(216,208,190,.46); font-size: 9px; }
  .features-mobile-nav__chevron { position: relative; width: 12px; height: 12px; }
  .features-mobile-nav__chevron::before,
  .features-mobile-nav__chevron::after { content:""; position:absolute; top:5px; width:7px; height:1px; background:rgba(216,208,190,.68); transition: transform .2s ease; }
  .features-mobile-nav__chevron::before { left:0; transform:rotate(45deg); }
  .features-mobile-nav__chevron::after { right:0; transform:rotate(-45deg); }
  .features-mobile-nav.is-open .features-mobile-nav__chevron::before { transform:rotate(-45deg); }
  .features-mobile-nav.is-open .features-mobile-nav__chevron::after { transform:rotate(45deg); }
  .features-mobile-nav__panel {
    max-height: calc(100svh - var(--header-h) - 64px);
    overflow-y: auto;
    padding: 8px 18px 24px;
    background: transparent;
    border-top: 1px solid rgba(216,208,190,.08);
  }
  .features-mobile-nav__panel .features-sidebar__heading { display:none; }
  .features-mobile-nav__panel .features-nav { width:min(720px,100%); margin:0 auto; }
  .features-mobile-nav__panel .features-nav__main { min-height:52px; }
  .features-mobile-nav__panel .features-nav__sub { margin-left:27px; }
  .feature-group {
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    background: linear-gradient(180deg, rgba(34,35,37,.70), rgba(19,20,22,.74));
  }
  .feature-group__hero { min-height: 240px; padding: 30px clamp(22px,4.4vw,36px) 26px; }
  .feature-group__hero h1 { font-size: clamp(42px, 8vw, 66px); }
  .feature-section { padding: 24px clamp(22px,4vw,34px); }
  .feature-section__split,
  .feature-proof-grid,
  .feature-open-layout,
  .feature-rating-layout { grid-template-columns: 1fr; }
  .feature-rating-mark { writing-mode: horizontal-tb; transform:none; justify-self:start; font-size:52px; margin-bottom:-18px; }
  .feature-statement__ghost { font-size:90px; right:-12px; opacity:.68; }
}

@media (max-width: 560px) {
  .features-page::before { background-position: 64% top; filter: saturate(.42) brightness(.38) contrast(.97); }
  .features-page::after {
    background:
      linear-gradient(90deg, rgba(8,10,12,.30), rgba(8,10,12,.20)),
      linear-gradient(180deg, rgba(8,10,12,.18), rgba(8,10,12,.52));
  }
  .features-mobile-nav__toggle { width: calc(100% - 28px); }
  .feature-group__hero { min-height: 220px; padding: 24px 18px 22px; }
  .feature-group__hero h1 { font-size: clamp(38px, 12vw, 54px); }
  #server-concept .feature-group__hero > p:first-child { margin-bottom: 18px; }
  .feature-group__lead { margin-top:24px; font-size:13px; line-height:1.75; }
  .feature-section { padding: 22px 18px; }
  .feature-section h2 { font-size:30px; }
  .feature-section p { font-size:13px; line-height:1.82; }
  .feature-flow,
  .feature-rating-path { grid-template-columns: 1fr; gap:8px; }
  .feature-flow i,
  .feature-rating-path i { display:none; }
  .feature-proof-pulse { border-left:0; border-top:1px solid rgba(216,208,190,.12); }
  .feature-proof-pulse span { padding-left:0; }
  .feature-open-tags { grid-template-columns:1fr 1fr; }
  .feature-note { padding:14px 16px; }
  .feature-group--proof .feature-group__hero::after { width:220px; height:220px; right:-110px; top:50px; }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  /* Short landscape is its own reading profile: mobile navigation, desktop-like use of width. */
  .features-mobile-nav__toggle { min-height: 46px; }
  .features-mobile-nav__panel { max-height: calc(100svh - var(--header-h) - 46px); }

  .feature-group__hero {
    min-height: 160px;
    padding: 18px clamp(24px, 3.8vw, 34px) 18px;
  }
  .feature-group__hero > p:first-child,
  .feature-section__kicker { margin-bottom: 12px; font-size: 7px; }
  #server-concept .feature-group__hero > p:first-child { margin-bottom: 16px; }
  .feature-group__hero h1 {
    max-width: 720px;
    font-size: clamp(36px, 5.2vw, 48px);
    line-height: .95;
  }
  .feature-group__lead {
    max-width: 700px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.65;
  }

  .feature-section {
    padding: 17px clamp(24px, 3.6vw, 32px);
  }
  .feature-section h2 {
    margin-bottom: 12px;
    font-size: clamp(25px, 3.35vw, 31px);
    line-height: 1.08;
  }
  .feature-section p {
    max-width: 760px;
    font-size: 12px;
    line-height: 1.7;
  }

  /* Use the available landscape width instead of portrait-style single-column collapse. */
  .feature-section__split,
  .feature-proof-grid,
  .feature-open-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(220px, .82fr);
    gap: clamp(24px, 4vw, 46px);
  }
  .feature-rating-layout {
    grid-template-columns: minmax(110px, .42fr) minmax(0, 1.58fr);
    gap: clamp(22px, 4vw, 42px);
  }
  .feature-rating-mark {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-self: center;
    margin-bottom: 0;
    font-size: clamp(34px, 4.4vw, 46px);
  }

  .feature-section--statement {
    min-height: 280px;
  }
  .feature-statement__ghost {
    right: -8px;
    bottom: 4px;
    font-size: clamp(58px, 8vw, 82px);
    opacity: .52;
  }
  .feature-proof-pulse span {
    gap: 5px;
    padding: 12px 0 12px 20px;
    font-size: 13px;
  }
  .feature-proof-pulse small { font-size: 8px; }

  .feature-note {
    margin-top: 20px;
    padding: 12px 14px 13px;
  }
  .feature-note span { margin-bottom: 6px; font-size: 7px; }
  .feature-note p { font-size: 11px; line-height: 1.62; }

  .feature-flow,
  .feature-rating-path {
    gap: 11px;
    margin-top: 24px;
    padding-top: 16px;
  }
  .feature-flow span,
  .feature-rating-path span { font-size: 10px; }

  .feature-pillar-list span { padding: 12px 0; }
  .feature-pillar-list strong { font-size: 13px; }
  .feature-open-tags span { padding: 11px 11px; font-size: 10px; }

  .feature-group--proof .feature-group__hero::after {
    width: 250px;
    height: 250px;
    right: -85px;
    top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-group.is-entering { animation: none; }
  .features-nav__main,
  .features-nav__sub a,
  .features-mobile-nav__chevron::before,
  .features-mobile-nav__chevron::after { transition: none; }
}

/* SERVER CONCEPT — owner-corrected content composition. */
.feature-section__followup {
  margin-top: 16px !important;
}
.feature-section strong {
  color: rgba(240,235,225,.90);
  font-weight: 700;
}
.concept-world-copy {
  max-width: 820px;
}
.concept-world-flow {
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
  grid-template-columns: auto 1fr auto 1fr auto;
}
.feature-ranking-concept {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1.58fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.concept-ranking-mark {
  color: transparent;
  -webkit-text-stroke: 1px rgba(175,152,120,.28);
  font-family: Cinzel, serif;
  font-size: clamp(42px, 5.5vw, 72px);
  letter-spacing: -.045em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: center;
  opacity: .76;
}
.feature-ranking-copy p { max-width: 700px; }
.concept-role-section { min-height: 0; }
.concept-role-copy { max-width: 820px; }
.concept-modern-note { color: rgba(216,208,190,.50) !important; font-size: 12px !important; line-height: 1.76 !important; }
.concept-closing { margin-top: 30px; max-width: 820px; }

@media (max-width: 980px), (orientation: landscape) and (max-width: 1180px) and (max-height: 560px) {
  .feature-ranking-concept { grid-template-columns: 1fr; }
  .concept-ranking-mark {
    writing-mode: horizontal-tb;
    transform: none;
    justify-self: start;
    font-size: clamp(38px, 7vw, 58px);
    margin-bottom: -10px;
  }
}

@media (max-width: 560px) {
  .concept-world-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }
  .concept-world-flow i { display: none; }
  .concept-world-flow span {
    font-size: 9px;
    letter-spacing: .045em;
    text-align: center;
    white-space: nowrap;
  }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  .concept-world-flow {
    grid-template-columns: auto 1fr auto 1fr auto;
    gap: 12px;
    margin-top: 26px;
    padding-top: 0;
  }
  .concept-world-flow span { font-size: 9px; }

  .feature-ranking-concept {
    grid-template-columns: minmax(120px, .34fr) minmax(0, 1.66fr);
    gap: clamp(24px, 4vw, 42px);
  }
  .concept-ranking-mark {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-self: center;
    margin-bottom: 0;
    font-size: clamp(36px, 5vw, 52px);
  }
  .concept-modern-note { font-size: 11px !important; line-height: 1.6 !important; }
  .concept-closing { margin-top: 18px; }
}


/* GENERAL FEATURES — compact systems presentation. */
#general-features .feature-group__hero { min-height: 0; }

/* General Features uses a denser heading scale than the editorial Server Concept. */
#general-features .feature-section h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.25vw, 32px);
}

.general-bullet-list,
.general-item-list {
  margin: 0;
  padding: 0;
}

/* Plain, quickly-scannable rules lists. */
.general-bullet-list {
  max-width: 820px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: disc;
}
.general-bullet-list li {
  color: var(--features-copy);
  font-size: 13px;
  line-height: 1.62;
  padding-left: 2px;
}
.general-bullet-list li::marker { color: rgba(175,152,120,.72); font-size: .76em; }
.general-bullet-list strong,
.general-item-list strong { color: rgba(240,235,225,.91); }
.general-bullet-list--compact { max-width: 720px; }
.general-compact-section { padding-top: clamp(22px, 2.3vw, 28px); padding-bottom: clamp(22px, 2.3vw, 28px); }
.general-compact-section h2 { margin-bottom: 14px !important; }

/* Items — one continuous panel, icon slot + description per row. */
.general-items-section {
  background: linear-gradient(116deg, rgba(47,44,40,.025), rgba(17,18,20,.012) 68%);
}
.general-item-list {
  max-width: 940px;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(216,208,190,.11);
  background: rgba(8,10,12,.075);
}
.general-item-list li {
  min-height: 48px;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--features-copy);
  font-size: 13px;
  line-height: 1.55;
}
.general-item-list li:nth-child(odd) { background: rgba(216,208,190,.024); }
.general-item-list li + li { border-top: 1px solid rgba(216,208,190,.055); }
.general-item-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216,208,190,.13);
  background: rgba(8,10,12,.18);
  box-shadow: inset 0 0 0 1px rgba(8,10,12,.32);
}
.general-item-icon img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: auto;
}

/* Screenshot-led service sections. */
.general-screenshot-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(340px, 1.14fr);
  gap: clamp(32px, 4.5vw, 58px);
  align-items: stretch;
}
.general-screenshot-layout--reverse {
  grid-template-columns: minmax(340px, 1.18fr) minmax(0, .82fr);
}
.general-screenshot-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.general-screenshot-copy .general-bullet-list { max-width: none; }
.general-screenshot-copy > p { max-width: 520px; }

.general-media-frame {
  position: relative;
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(216,208,190,.10);
  background:
    linear-gradient(180deg, rgba(8,10,12,.04), rgba(8,10,12,.28)),
    linear-gradient(125deg, rgba(175,152,120,.035), rgba(216,208,190,.012));
}
.general-media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(175,152,120,.22), transparent 68%) top left / 72px 1px no-repeat,
    linear-gradient(to bottom, rgba(175,152,120,.22), transparent 68%) top left / 1px 72px no-repeat,
    linear-gradient(to left, rgba(175,152,120,.18), transparent 68%) bottom right / 72px 1px no-repeat,
    linear-gradient(to top, rgba(175,152,120,.18), transparent 68%) bottom right / 1px 72px no-repeat;
  pointer-events: none;
}
.general-media-frame > span {
  color: rgba(175,152,120,.66);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .22em;
}
.general-media-frame > strong {
  margin-top: 8px;
  color: rgba(236,232,223,.78);
  font-family: Cinzel, serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
}
.general-media-frame > small {
  margin-top: 7px;
  color: rgba(216,208,190,.36);
  font-size: 8px;
  line-height: 1.55;
}

.general-media-frame.general-media-frame--asset {
  margin: 0;
  padding: 0;
  background: rgba(8,10,12,.20);
}
.general-media-frame--asset img {
  position: relative;
  z-index: 0;
  display: block;
  max-width: 100%;
}
.general-media-frame--asset::before { z-index: 1; }
.general-media-frame--npc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buffs: media fills the full content-row height. */
.general-screenshot-layout--buffs {
  grid-template-columns: minmax(0, .78fr) minmax(380px, 1.22fr);
}
.general-media-frame--buffs {
  min-height: 0;
  height: auto;
  aspect-ratio: 509 / 466;
}

/* Noblesse: image intentionally dominates the sparse two-bullet copy. */
.general-screenshot-layout--noblesse {
  grid-template-columns: minmax(390px, 1.28fr) minmax(0, .72fr);
  align-items: stretch;
}
.general-media-frame--noblesse {
  min-height: 0;
  height: auto;
  aspect-ratio: 509 / 466;
}

/* Attendance sits below the description, aligned to the left. */
.general-attendance-description {
  max-width: 620px;
  margin: 0;
}
.general-attendance-visual {
  width: min(100%, 797px);
  display: block;
  margin-top: 22px;
}
.general-media-frame--attendance {
  width: min(420px, 100%);
  max-width: 420px;
  min-height: 0;
  aspect-ratio: 483 / 636;
  margin-left: 0;
  margin-right: auto;
}
.general-media-frame--attendance img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Missions needs the complete, larger client panel. */
.general-missions-section > p { max-width: 680px; }
.general-media-frame--wide {
  width: 100%;
  margin-top: 22px;
}
.general-media-frame--missions {
  width: min(100%, 797px);
  min-height: 0;
  aspect-ratio: 797 / 588;
  margin-left: auto;
  margin-right: auto;
}
.general-media-frame--missions img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Raw UI PNGs already contain their intended alpha. Do not add any frame surface behind them. */
.general-media-frame.general-media-frame--asset.general-media-frame--attendance,
.general-media-frame.general-media-frame--asset.general-media-frame--missions {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.general-media-frame.general-media-frame--asset.general-media-frame--attendance::before,
.general-media-frame.general-media-frame--asset.general-media-frame--missions::before {
  content: none;
  display: none;
  background: none;
}

@media (max-width: 980px), (orientation: landscape) and (max-width: 1180px) and (max-height: 560px) {
  .general-screenshot-layout,
  .general-screenshot-layout--reverse,
  .general-screenshot-layout--buffs,
  .general-screenshot-layout--noblesse {
    grid-template-columns: 1fr;
  }
  .general-media-frame--buffs {
    width: min(760px, 100%);
    min-height: 0;
    height: auto;
    aspect-ratio: 509 / 466;
  }
  .general-media-frame--noblesse {
    width: min(760px, 100%);
    min-height: 0;
    height: auto;
    aspect-ratio: 509 / 466;
  }
  .general-media-frame--attendance {
    width: min(400px, 100%);
    justify-self: start;
  }
}

@media (max-width: 560px) {
  #general-features .feature-section h2 {
    margin-bottom: 15px;
    font-size: 26px;
  }
  .general-compact-section { padding-top: 20px; padding-bottom: 20px; }
  .general-compact-section h2 { margin-bottom: 12px !important; }

  .general-bullet-list { gap: 5px; padding-left: 17px; }
  .general-bullet-list li { font-size: 13px; line-height: 1.58; }

  .general-item-list li {
    min-height: 46px;
    padding: 8px 10px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
    font-size: 12.5px;
    line-height: 1.5;
  }
  .general-item-icon { width: 26px; height: 26px; }

  .general-screenshot-layout,
  .general-screenshot-layout--reverse,
  .general-screenshot-layout--buffs,
  .general-screenshot-layout--noblesse { grid-template-columns: 1fr; gap: 22px; }

  .general-media-frame { padding: 18px; }
  .general-media-frame--buffs {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 509 / 466;
  }
  .general-media-frame--noblesse {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 509 / 466;
  }
  .general-media-frame--attendance {
    width: min(360px, 100%);
    min-height: 0;
    height: auto;
    aspect-ratio: 483 / 636;
    justify-self: start;
  }
  .general-media-frame--missions {
    width: min(100%, 797px);
    min-height: 0;
    height: auto;
    aspect-ratio: 797 / 588;
  }
  .general-media-frame--wide { margin-top: 18px; }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  #general-features .feature-section h2 {
    margin-bottom: 10px;
    font-size: clamp(22px, 3vw, 27px);
  }
  .general-compact-section { padding-top: 16px; padding-bottom: 16px; }
  .general-bullet-list { gap: 4px; }
  .general-bullet-list li,
  .general-item-list li { font-size: 11px; line-height: 1.5; }
  .general-item-list li {
    min-height: 40px;
    padding: 6px 10px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
  }
  .general-item-icon { width: 22px; height: 22px; }
  .general-media-frame--buffs { max-width: 620px; aspect-ratio: 509 / 466; }
  .general-media-frame--noblesse { max-width: 620px; aspect-ratio: 509 / 466; }
  .general-media-frame--attendance { max-width: 340px; aspect-ratio: 483 / 636; }
  .general-media-frame--missions { max-width: 680px; aspect-ratio: 797 / 588; }
  .general-media-frame--wide { margin-top: 16px; }
}


/* REWORKED CLASSES — B2.32 layout prototype. */
#reworked-classes .feature-group__hero { min-height: 220px; }
.classes-hero .feature-group__lead { max-width: 700px; }

.classes-race-section {
  position: relative;
  padding-top: clamp(26px, 3vw, 34px);
  padding-bottom: clamp(28px, 3.4vw, 38px);
}
.classes-race-section + .classes-race-section { border-top: 1px solid rgba(216,208,190,.075); }
.classes-race-section:nth-of-type(even) { background: rgba(216,208,190,.012); }

.classes-race-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.classes-race-heading__mark {
  width: 42px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-right: 1px solid rgba(175,152,120,.18);
}
.classes-race-heading__mark img {
  width: 32px;
  height: 40px;
  display: block;
  image-rendering: auto;
  opacity: .82;
  filter: saturate(.72) brightness(.92);
}
.classes-race-heading > div { display: grid; gap: 2px; }
.classes-race-heading > div > span {
  color: rgba(175,152,120,.50);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .22em;
}
.classes-race-heading h2 {
  margin: 0 !important;
  font-size: clamp(25px, 2.2vw, 31px) !important;
  line-height: 1;
}

.class-tree-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(216,208,190,.095);
  background:
    radial-gradient(circle at 15% 50%, rgba(175,152,120,.035), transparent 34%),
    rgba(7,9,11,.115);
}
.class-tree-board::before,
.class-tree-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.class-tree-board::before {
  inset: 0;
  background:
    linear-gradient(to right, rgba(175,152,120,.20), transparent 70%) top left / 54px 1px no-repeat,
    linear-gradient(to bottom, rgba(175,152,120,.20), transparent 70%) top left / 1px 54px no-repeat,
    linear-gradient(to left, rgba(175,152,120,.14), transparent 70%) bottom right / 54px 1px no-repeat,
    linear-gradient(to top, rgba(175,152,120,.14), transparent 70%) bottom right / 1px 54px no-repeat;
}
.class-tree-branch {
  position: relative;
  z-index: 1;
  min-height: 132px;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.class-tree-branch + .class-tree-branch {
  padding-top: 14px;
  border-top: 1px solid rgba(216,208,190,.055);
}
.class-tree-branch::before {
  content: "";
  position: absolute;
  left: 174px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(175,152,120,.34), rgba(175,152,120,.08));
}
.class-tree-root {
  position: relative;
  min-height: 72px;
  padding: 14px 14px 13px 19px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(175,152,120,.28);
  background: linear-gradient(90deg, rgba(175,152,120,.045), transparent 86%);
}
.class-tree-root__glyph {
  position: absolute;
  left: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--bronze);
  transform: translate(-50%,-50%) rotate(45deg);
  box-shadow: 0 0 14px rgba(175,152,120,.22);
}
.class-tree-root strong {
  color: rgba(239,234,224,.90);
  font-family: Cinzel, serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .025em;
}
.class-tree-root small {
  margin-top: 7px;
  color: rgba(175,152,120,.42);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .18em;
}
.class-tree-leaves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}
.class-tree-node {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  padding: 7px 9px 7px 8px;
  border: 1px solid rgba(216,208,190,.08);
  background: rgba(216,208,190,.018);
}
.class-tree-node__mark {
  width: 32px;
  height: 40px;
  display: grid;
  place-items: center;
}
.class-tree-node__mark img {
  width: 32px;
  height: 40px;
  display: block;
  opacity: .86;
  filter: saturate(.72) brightness(.94);
}
.class-tree-node__name {
  color: rgba(232,228,220,.76);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .018em;
}

/* B2.33 — selection-driven class interaction. */
.class-tree-node {
  position: relative;
  appearance: none;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.class-tree-node::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -42%;
  width: 34%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg) translateX(0);
  background: linear-gradient(90deg, transparent, rgba(221,209,184,.11), transparent);
}
.class-tree-node:hover,
.class-tree-node:focus-visible,
.class-tree-node.is-selected {
  border-color: rgba(175,152,120,.28);
  background: rgba(175,152,120,.052);
  box-shadow: inset 0 0 22px rgba(175,152,120,.025), 0 0 18px rgba(7,8,10,.12);
}
.class-tree-node:hover,
.class-tree-node:focus-visible { transform: translateY(-1px); }
.class-tree-node:focus-visible { outline: 1px solid rgba(209,195,176,.48); outline-offset: 2px; }
.class-tree-node:hover::after,
.class-tree-node:focus-visible::after,
.class-tree-node.is-selected::after { opacity: 1; animation: classCardSheen 1.55s ease-out both; }
.class-tree-node:hover .class-tree-node__mark img,
.class-tree-node:focus-visible .class-tree-node__mark img,
.class-tree-node.is-selected .class-tree-node__mark img { opacity: 1; filter: saturate(.94) brightness(1.06); }
.class-tree-node.is-selected .class-tree-node__name { color: rgba(244,239,229,.96); }
.class-tree-branch.is-preview-root .class-tree-root,
.class-tree-branch.is-selected-root .class-tree-root {
  border-left-color: rgba(175,152,120,.55);
  background: linear-gradient(90deg, rgba(175,152,120,.085), transparent 88%);
}
.class-tree-branch.is-preview-root .class-tree-root__glyph,
.class-tree-branch.is-selected-root .class-tree-root__glyph {
  background: #d1c3b0;
  box-shadow: 0 0 8px rgba(209,195,176,.42), 0 0 20px rgba(175,152,120,.22);
}
.class-tree-branch.is-preview-root::before,
.class-tree-branch.is-selected-root::before {
  background: linear-gradient(90deg, rgba(209,195,176,.72), rgba(175,152,120,.12));
  box-shadow: 0 0 8px rgba(175,152,120,.12);
}
.class-tree-branch.is-selected-root .class-tree-root strong { color: rgba(247,241,230,.96); }

@keyframes classCardSheen {
  0% { transform: skewX(-18deg) translateX(0); opacity: 0; }
  18% { opacity: .85; }
  100% { transform: skewX(-18deg) translateX(520%); opacity: 0; }
}

.class-skills-shell {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid transparent;
  background: transparent;
  transition: grid-template-rows .28s cubic-bezier(.22,.61,.36,1), margin-top .28s cubic-bezier(.22,.61,.36,1), opacity .18s ease, border-color .18s ease, background-color .18s ease, visibility 0s linear .28s;
}
.class-skills-shell.is-open {
  grid-template-rows: 1fr;
  margin-top: 16px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-color: rgba(216,208,190,.075);
  background: rgba(8,10,12,.085);
  transition-delay: 0s;
}
.class-skills-shell__inner { min-height: 0; overflow: hidden; }
.class-skills-shell__header {
  min-height: 64px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid rgba(216,208,190,.055);
}
.class-skills-shell__selected-mark { width: 32px; height: 40px; display: grid; place-items: center; }
.class-skills-shell__selected-mark img { width: 32px; height: 40px; display: block; opacity: .94; filter: saturate(.84) brightness(1.02); }
.class-skills-shell__identity { min-width: 0; display: grid; gap: 2px; }
.class-skills-shell__eyebrow,
.class-skills-shell__identity small,
.class-skills-shell__title { color: rgba(175,152,120,.46); font-size: 7px; font-weight: 700; letter-spacing: .17em; }
.class-skills-shell__identity strong {
  overflow: hidden;
  color: rgba(238,233,223,.92);
  font-family: Cinzel, serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.class-skills-shell__identity small { letter-spacing: .11em; opacity: .72; }
.class-skills-shell__title { color: rgba(216,208,190,.70); font-family: Cinzel, serif; font-size: 10px; font-weight: 500; letter-spacing: .09em; white-space: nowrap; }
.class-skills-shell__table { display: grid; }
.class-skills-shell__table-head {
  min-height: 30px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: minmax(150px,.42fr) minmax(0,1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(216,208,190,.04);
}
.class-skills-shell__table-head span { color: rgba(175,152,120,.38); font-size: 7px; font-weight: 700; letter-spacing: .15em; }
.class-skills-shell__rows { min-height: 50px; }
.class-skills-shell__row {
  min-height: 52px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: minmax(150px,.42fr) minmax(0,1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(216,208,190,.045);
}
.class-skills-shell__row:last-child { border-bottom: 0; }
.class-skills-shell__skill {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  gap: 10px;
  align-items: center;
}
.class-skills-shell__skill img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}
.class-skills-shell__skill strong {
  min-width: 0;
  color: rgba(235,229,218,.88);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}
.class-skills-shell__rework {
  color: rgba(214,207,194,.64);
  font-size: 9px;
  line-height: 1.55;
}
.class-skills-shell__empty {
  min-height: 52px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  color: rgba(214,207,194,.5);
  font-size: 9px;
  line-height: 1.6;
}

@media (max-width: 980px), (orientation: landscape) and (max-width: 1180px) and (max-height: 560px) {
  #reworked-classes .feature-group__hero { min-height: 190px; }
  .classes-race-section { padding-top: 24px; padding-bottom: 28px; }
  .class-tree-board { padding: 14px; gap: 20px; }
  .class-tree-branch {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .class-tree-branch::before { display: none; }
  .class-tree-branch + .class-tree-branch { padding-top: 18px; }
  .class-tree-root {
    min-height: 0;
    padding: 4px 0 7px 12px;
    border-left: 1px solid rgba(175,152,120,.24);
    background: none;
  }
  .class-tree-root strong { font-family: Manrope, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
  .class-tree-root small { display: none; }
  .class-tree-leaves { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .class-tree-node { min-height: 54px; }
  .class-skills-shell.is-open { margin-top: 14px; }
  .class-skills-shell__header { grid-template-columns: 34px minmax(0,1fr) auto; min-height: 58px; }
  .class-skills-shell__title { font-size: 9px; }
}

@media (max-width: 560px) {
  #reworked-classes .feature-group__hero { min-height: 200px; }
  .classes-race-heading { gap: 12px; margin-bottom: 18px; }
  .classes-race-heading__mark { width: 38px; height: 46px; }
  .classes-race-heading h2 { font-size: 25px !important; }
  .class-tree-board { margin-left: -2px; margin-right: -2px; padding: 12px; }
  .class-tree-leaves { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .class-tree-node {
    min-height: 52px;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 7px;
    padding: 6px 7px 6px 6px;
  }
  .class-tree-node__mark,
  .class-tree-node__mark img { width: 28px; height: 35px; }
  .class-tree-node__name { font-size: 9px; line-height: 1.26; }
  .class-skills-shell__header {
    grid-template-columns: 30px minmax(0,1fr);
    gap: 8px;
    min-height: 58px;
    padding: 8px 10px;
  }
  .class-skills-shell__selected-mark,
  .class-skills-shell__selected-mark img { width: 28px; height: 35px; }
  .class-skills-shell__identity strong { font-size: 11px; }
  .class-skills-shell__title {
    grid-column: 1 / -1;
    padding: 6px 0 0 38px;
    border-top: 1px solid rgba(216,208,190,.035);
  }
  .class-skills-shell__table-head { grid-template-columns: minmax(95px,.42fr) minmax(0,1fr); gap: 8px; padding: 0 10px; }
  .class-skills-shell__rows { min-height: 42px; }
  .class-skills-shell__row { min-height: 48px; grid-template-columns: minmax(95px,.42fr) minmax(0,1fr); gap: 8px; padding: 7px 10px; }
  .class-skills-shell__skill { grid-template-columns: 28px minmax(0,1fr); gap: 8px; }
  .class-skills-shell__skill img { width: 28px; height: 28px; }
  .class-skills-shell__skill strong { font-size: 9px; }
  .class-skills-shell__rework { font-size: 8px; }
  .class-skills-shell__empty { min-height: 48px; padding: 12px 10px; font-size: 8px; }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  #reworked-classes .feature-group__hero { min-height: 156px; }
  .classes-race-section { padding-top: 18px; padding-bottom: 20px; }
  .classes-race-heading { margin-bottom: 14px; }
  .class-tree-board { padding: 12px 14px; gap: 14px; }
  .class-tree-branch + .class-tree-branch { padding-top: 12px; }
  .class-tree-leaves { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .class-tree-node { min-height: 48px; grid-template-columns: 28px minmax(0,1fr); padding: 4px 7px; }
  .class-tree-node__mark,
  .class-tree-node__mark img { width: 26px; height: 33px; }
  .class-tree-node__name { font-size: 9px; }
  .class-skills-shell.is-open { margin-top: 10px; }
  .class-skills-shell__table-head { min-height: 26px; }
  .class-skills-shell__row { min-height: 42px; padding-top: 5px; padding-bottom: 5px; }
}


@media (prefers-reduced-motion: reduce) {
  .class-tree-node,
  .class-skills-shell { transition: none; }
  .class-tree-node::after { display: none; }
}

/* EVENTS & MATCH SCORE — compact mechanics-first overview. */
#events-match-score .feature-group__hero { min-height: 0; }
#events-match-score .feature-section h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 2.25vw, 32px);
}
.events-overview-section {
  padding-top: clamp(22px, 2.3vw, 28px);
  padding-bottom: clamp(24px, 2.6vw, 32px);
}
.events-cadence {
  max-width: 820px;
  display: grid;
  grid-template-columns: .8fr 1fr 1.55fr;
  margin: 0 0 20px;
  border-top: 1px solid rgba(216,208,190,.13);
  border-bottom: 1px solid rgba(216,208,190,.11);
}
.events-cadence span {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 16px;
  border-right: 1px solid rgba(216,208,190,.09);
}
.events-cadence span:first-child { padding-left: 0; }
.events-cadence span:last-child { border-right: 0; }
.events-cadence small {
  color: rgba(175,152,120,.68);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .18em;
}
.events-cadence strong {
  color: rgba(240,235,225,.88);
  font-family: Cinzel, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .045em;
}
.events-overview-list { max-width: 840px; }

@media (max-width: 560px) {
  #events-match-score .feature-section h2 { font-size: 26px; }
  .events-overview-section { padding-top: 20px; padding-bottom: 22px; }
  .events-cadence {
    grid-template-columns: 1fr;
    margin-bottom: 17px;
  }
  .events-cadence span {
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(216,208,190,.08);
  }
  .events-cadence span:last-child { border-bottom: 0; }
  .events-cadence strong { font-size: 12px; }
}


/* EVENTS 04.02 — Interactive Event Orb guide. Native 823x617 screenshot stays uncropped. */
.events-orb-section {
  padding-top: clamp(24px, 2.7vw, 34px);
  padding-bottom: clamp(28px, 3vw, 38px);
}
.events-orb-intro {
  max-width: 760px;
  margin: -2px 0 24px;
  color: rgba(226,220,207,.68);
  font-size: 12px;
  line-height: 1.75;
}
.events-orb-media {
  position: relative;
  width: min(823px, 100%);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid rgba(175,152,120,.22);
  background: rgba(8,8,7,.34);
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
.events-orb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(240,235,225,.025);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.3);
}
.events-orb-media img {
  display: block;
  width: 100%;
  height: auto;
}
.events-orb-pin {
  position: absolute;
  z-index: 5;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
}
.events-orb-pin__button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(175,152,120,.86);
  border-radius: 50%;
  background: rgba(11,10,8,.94);
  box-shadow: 0 0 0 3px rgba(8,8,7,.52), 0 4px 14px rgba(0,0,0,.5), 0 0 16px rgba(175,152,120,.08);
  color: rgba(239,231,214,.96);
  font: 800 7px/1 Manrope, sans-serif;
  letter-spacing: .055em;
  cursor: help;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}
.events-orb-pin__button:hover,
.events-orb-pin__button:focus-visible,
.events-orb-pin:focus-within .events-orb-pin__button {
  outline: none;
  border-color: rgba(209,195,176,.96);
  background: rgba(33,28,22,.97);
  color: #f3eadb;
  box-shadow: 0 0 0 3px rgba(8,8,7,.58), 0 4px 14px rgba(0,0,0,.5), 0 0 20px rgba(175,152,120,.25);
  transform: scale(1.06);
}
.events-orb-tooltip {
  position: absolute;
  z-index: 20;
  width: 250px;
  padding: 12px 13px 13px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(175,152,120,.27);
  background: rgba(13,13,12,.975);
  box-shadow: 0 14px 34px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.018);
  transform-origin: var(--orb-tip-origin, left center);
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}
.events-orb-tooltip::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: rgba(13,13,12,.975);
  border-left: 1px solid rgba(175,152,120,.27);
  border-bottom: 1px solid rgba(175,152,120,.27);
}
.events-orb-tooltip strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(239,234,223,.94);
  font-family: Cinzel, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .045em;
}
.events-orb-tooltip > span {
  display: block;
  color: rgba(213,207,195,.72);
  font-size: 9px;
  line-height: 1.65;
}
.events-orb-pin:hover .events-orb-tooltip,
.events-orb-pin:focus-within .events-orb-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Pins map directly to native Event Lobby controls. */
.events-orb-pin--01 { left: 19%; top: 27%; }
.events-orb-pin--02 { left: 17%; top: 48%; }
.events-orb-pin--03 { left: 31%; top: 84%; }
.events-orb-pin--04 { left: 58%; top: 88%; }
.events-orb-pin--05 { left: 70.5%; top: 88%; }
.events-orb-pin--06 { left: 86.5%; top: 88%; }
.events-orb-pin--07 { left: 72%; top: 51%; }

/* Left-side controls open right; lower controls open upward to remain inside the document. */
.events-orb-pin--01 .events-orb-tooltip,
.events-orb-pin--02 .events-orb-tooltip {
  left: 38px;
  top: 50%;
  transform: translate(5px,-50%);
  --orb-tip-origin: left center;
}
.events-orb-pin--01:hover .events-orb-tooltip,
.events-orb-pin--01:focus-within .events-orb-tooltip,
.events-orb-pin--02:hover .events-orb-tooltip,
.events-orb-pin--02:focus-within .events-orb-tooltip { transform: translate(0,-50%); }
.events-orb-pin--01 .events-orb-tooltip::before,
.events-orb-pin--02 .events-orb-tooltip::before {
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.events-orb-pin--03 .events-orb-tooltip,
.events-orb-pin--04 .events-orb-tooltip,
.events-orb-pin--07 .events-orb-tooltip {
  left: 50%;
  bottom: 39px;
  transform: translate(-50%,5px);
  --orb-tip-origin: center bottom;
}
.events-orb-pin--03:hover .events-orb-tooltip,
.events-orb-pin--03:focus-within .events-orb-tooltip,
.events-orb-pin--04:hover .events-orb-tooltip,
.events-orb-pin--04:focus-within .events-orb-tooltip,
.events-orb-pin--07:hover .events-orb-tooltip,
.events-orb-pin--07:focus-within .events-orb-tooltip { transform: translate(-50%,0); }
.events-orb-pin--03 .events-orb-tooltip::before,
.events-orb-pin--04 .events-orb-tooltip::before,
.events-orb-pin--07 .events-orb-tooltip::before {
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%) rotate(-45deg);
}
.events-orb-pin--05 .events-orb-tooltip,
.events-orb-pin--06 .events-orb-tooltip {
  right: 0;
  bottom: 39px;
  transform: translateY(5px);
  --orb-tip-origin: right bottom;
}
.events-orb-pin--05:hover .events-orb-tooltip,
.events-orb-pin--05:focus-within .events-orb-tooltip,
.events-orb-pin--06:hover .events-orb-tooltip,
.events-orb-pin--06:focus-within .events-orb-tooltip { transform: translateY(0); }
.events-orb-pin--05 .events-orb-tooltip::before,
.events-orb-pin--06 .events-orb-tooltip::before {
  right: 8px;
  bottom: -5px;
  transform: rotate(-45deg);
}

.events-orb-mobile-guide { display: none; }
.events-orb-guide-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 10px;
  padding: 13px 0 14px;
  border-bottom: 1px solid rgba(216,208,190,.09);
}
.events-orb-guide-item > span {
  padding-top: 2px;
  color: rgba(175,152,120,.68);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}
.events-orb-guide-item h3 {
  margin: 0 0 5px;
  color: rgba(239,234,223,.9);
  font-family: Cinzel, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}
.events-orb-guide-item p {
  margin: 0;
  color: rgba(213,207,195,.64);
  font-size: 10px;
  line-height: 1.66;
}
.events-orb-guide-item p strong { color: rgba(228,221,208,.84); font-weight: 650; }

/* Compact/mobile: keep numbered markers on the screenshot, replace hover tooltips with readable guide text. */
@media (max-width: 980px), (orientation: landscape) and (max-width: 1180px) and (max-height: 560px) {
  .events-orb-intro { margin-bottom: 18px; }
  .events-orb-media { width: 100%; max-width: 823px; }
  .events-orb-pin { width: 23px; height: 23px; }
  .events-orb-pin__button {
    width: 23px;
    height: 23px;
    font-size: 6px;
    cursor: default;
    pointer-events: none;
  }
  .events-orb-tooltip { display: none !important; }
  .events-orb-mobile-guide {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 22px;
    margin-top: 17px;
    border-top: 1px solid rgba(216,208,190,.11);
  }
}

@media (max-width: 680px) {
  .events-orb-section { padding-top: 22px; padding-bottom: 26px; }
  .events-orb-intro { margin-bottom: 15px; font-size: 11px; line-height: 1.7; }
  .events-orb-mobile-guide { grid-template-columns: 1fr; column-gap: 0; margin-top: 14px; }
  .events-orb-pin { width: 21px; height: 21px; }
  .events-orb-pin__button { width: 21px; height: 21px; font-size: 5.5px; }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  .events-orb-section { padding-top: 18px; padding-bottom: 22px; }
  .events-orb-intro { margin-bottom: 14px; }
  .events-orb-mobile-guide {
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 16px;
    margin-top: 13px;
  }
  .events-orb-guide-item { grid-template-columns: 24px minmax(0,1fr); gap: 7px; padding: 9px 0 10px; }
  .events-orb-guide-item h3 { margin-bottom: 3px; font-size: 9px; }
  .events-orb-guide-item p { font-size: 8px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .events-orb-pin__button,
  .events-orb-tooltip { transition: none; }
}




/* Deathmatch — cinematic stage with edge-bleed character anchors. */
#events-match-score { overflow: visible; }

/* MAIN PvP EVENTS — raw Match Score copy + full-width foldable archetype tables. */
.events-main-pvp-section {
  background: linear-gradient(118deg, rgba(49,46,41,.026), rgba(17,18,20,.012) 70%);
}
.events-main-pvp-copy {
  max-width: 860px;
  display: grid;
  gap: 12px;
}
.events-main-pvp-copy p {
  max-width: 860px;
}
.events-main-pvp-copy strong {
  color: rgba(240,235,225,.91);
}
.events-main-archetypes {
  margin-top: 32px;
}
.events-main-subhead {
  max-width: 800px;
  margin-bottom: 18px;
}
.events-main-subhead > span,
.events-main-penalties > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(175,152,120,.72);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}
.events-main-subhead h3 {
  margin: 0 0 8px;
  color: rgba(239,234,223,.92);
  font-family: Cinzel, serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.28;
}
.events-main-subhead p {
  max-width: 760px;
  color: rgba(213,207,195,.6);
  font-size: 11px;
  line-height: 1.72;
}
.events-archetype-stack {
  max-width: 940px;
  display: grid;
  gap: 14px;
}
.events-archetype-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(216,208,190,.11);
  background: rgba(8,10,12,.075);
}
.events-archetype-toggle {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 0;
  color: rgba(236,230,218,.9);
  font: 500 13px/1.55 Cinzel, serif;
  letter-spacing: .055em;
  text-align: left;
  background: rgba(216,208,190,.018);
  cursor: pointer;
}
.events-archetype-toggle:hover {
  background: rgba(216,208,190,.035);
}
.events-archetype-toggle:focus-visible {
  outline: 1px solid rgba(175,152,120,.68);
  outline-offset: -1px;
}
.events-archetype-toggle i {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.events-archetype-toggle i::before,
.events-archetype-toggle i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: rgba(175,152,120,.72);
  transform: translate(-50%,-50%);
  transition: transform 160ms ease, opacity 160ms ease;
}
.events-archetype-toggle i::after {
  transform: translate(-50%,-50%) rotate(90deg);
}
.events-archetype-panel.is-open .events-archetype-toggle i::after {
  opacity: 0;
  transform: translate(-50%,-50%) rotate(0deg);
}
.events-archetype-collapse {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  transition: grid-template-rows 190ms ease, border-color 190ms ease;
}
.events-archetype-panel.is-open .events-archetype-collapse {
  grid-template-rows: 1fr;
  border-top-color: rgba(216,208,190,.055);
}
.events-archetype-collapse__inner {
  min-height: 0;
  overflow: hidden;
}
.events-archetype-classes {
  margin: 0;
  padding: 0;
  list-style: none;
}
.events-archetype-classes li {
  min-height: 48px;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 36px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  color: var(--features-copy);
  font-size: 13px;
  line-height: 1.55;
}
.events-archetype-classes li:nth-child(odd) {
  background: rgba(216,208,190,.024);
}
.events-archetype-classes li + li {
  border-top: 1px solid rgba(216,208,190,.055);
}
.events-archetype-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.events-archetype-mark img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.events-archetype-duty {
  max-width: none !important;
  margin: 0 !important;
  padding: 12px 14px 13px;
  border-top: 1px solid rgba(216,208,190,.075);
  color: rgba(205,199,188,.62) !important;
  font-size: 11px !important;
  line-height: 1.62 !important;
  background: linear-gradient(90deg, rgba(175,152,120,.018), rgba(175,152,120,.003));
}
.events-archetype-duty strong {
  color: rgba(229,222,210,.82);
}
.events-main-penalties {
  max-width: 920px;
  margin-top: 23px;
  padding: 14px 16px 15px;
  border-left: 1px solid rgba(175,152,120,.55);
  background: linear-gradient(90deg, rgba(175,152,120,.018), rgba(175,152,120,.003));
}
.events-main-penalties > span { margin-bottom: 9px; }
.events-main-penalties ul {
  margin: 0;
  padding-left: 17px;
  display: grid;
  gap: 5px;
}
.events-main-penalties li {
  color: rgba(213,207,195,.62);
  font-size: 10px;
  line-height: 1.6;
}
.events-main-penalties li::marker { color: rgba(175,152,120,.65); }

@media (prefers-reduced-motion: reduce) {
  .events-archetype-collapse,
  .events-archetype-toggle i::before,
  .events-archetype-toggle i::after { transition: none; }
}
@media (max-width: 560px) {
  .events-main-pvp-copy { gap: 10px; }
  .events-main-archetypes { margin-top: 26px; }
  .events-archetype-stack { gap: 12px; }
  .events-archetype-toggle {
    min-height: 46px;
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.5;
  }
  .events-archetype-classes li {
    min-height: 46px;
    padding: 8px 10px;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 11px;
    font-size: 12.5px;
    line-height: 1.5;
  }
  .events-archetype-mark,
  .events-archetype-mark img { width: 26px; height: 26px; }
  .events-archetype-duty {
    padding: 11px 10px 12px;
    font-size: 10.5px !important;
    line-height: 1.56 !important;
  }
}
@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  .events-main-archetypes { margin-top: 24px; }
  .events-archetype-stack { gap: 10px; }
  .events-archetype-toggle {
    min-height: 40px;
    padding: 6px 10px;
    font-size: 11px;
    line-height: 1.5;
  }
  .events-archetype-classes li {
    min-height: 40px;
    padding: 6px 10px;
    grid-template-columns: 26px minmax(0,1fr);
    gap: 10px;
    font-size: 11px;
    line-height: 1.5;
  }
  .events-archetype-mark,
  .events-archetype-mark img { width: 22px; height: 22px; }
  .events-archetype-duty {
    padding: 9px 10px 10px;
    font-size: 9px !important;
    line-height: 1.5 !important;
  }
  .events-main-penalties { margin-top: 17px; padding: 11px 13px; }
  .events-main-penalties li { font-size: 8.5px; line-height: 1.5; }
}

.events-deathmatch-section {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding-top: clamp(24px, 2.8vw, 36px);
  padding-bottom: clamp(26px, 3.2vw, 42px);
  isolation: isolate;
}
.events-deathmatch-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 9%;
  right: 9%;
  top: 82px;
  bottom: 22px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(175,152,120,.045), transparent 42%),
    linear-gradient(90deg, transparent, rgba(5,6,7,.24) 23%, rgba(5,6,7,.38) 50%, rgba(5,6,7,.24) 77%, transparent);
}
.events-deathmatch-stage {
  position: relative;
  min-height: clamp(330px, 35vw, 430px);
  display: grid;
  grid-template-columns: minmax(160px, .62fr) minmax(420px, 1.76fr) minmax(160px, .62fr);
  align-items: center;
  margin: -8px -8px 0;
  overflow: visible;
}
.events-deathmatch-stage::before,
.events-deathmatch-stage::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 10%;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(175,152,120,.09) 22%, rgba(175,152,120,.16) 50%, rgba(175,152,120,.09) 78%, transparent);
}
.events-deathmatch-stage::before { left: 24%; }
.events-deathmatch-stage::after { right: 24%; }
.events-deathmatch-character {
  position: relative;
  z-index: 1;
  align-self: end;
  min-width: 0;
  height: 100%;
  pointer-events: none;
}
.events-deathmatch-character img {
  position: absolute;
  bottom: -3%;
  width: auto;
  max-width: none;
  height: 108%;
  opacity: .72;
  filter: saturate(.54) brightness(.74) contrast(.96) drop-shadow(0 20px 24px rgba(0,0,0,.42));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.96) 78%, rgba(0,0,0,.70) 92%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.96) 78%, rgba(0,0,0,.70) 92%, transparent 100%);
}
.events-deathmatch-character--left img {
  left: -72px;
  transform-origin: bottom center;
  transform: scale(.96);
}
.events-deathmatch-character--right img {
  right: -94px;
  height: 102%;
  transform-origin: bottom center;
  transform: scale(.98);
}
.events-deathmatch-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
  max-width: 620px;
  justify-self: center;
  padding: 24px 28px 26px;
  background:
    linear-gradient(90deg, transparent, rgba(10,11,12,.74) 10%, rgba(10,11,12,.88) 26%, rgba(10,11,12,.91) 50%, rgba(10,11,12,.88) 74%, rgba(10,11,12,.74) 90%, transparent);
  box-shadow: 0 16px 42px rgba(0,0,0,.10);
}
.events-deathmatch-copy::before,
.events-deathmatch-copy::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(175,152,120,.18), transparent);
}
.events-deathmatch-copy::before { top: 0; }
.events-deathmatch-copy::after { bottom: 0; }
.events-deathmatch-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 17px;
}
.events-deathmatch-list li {
  position: relative;
  padding-left: 21px;
  color: rgba(226,220,207,.72);
  font-size: 13px;
  line-height: 1.78;
  text-shadow: 0 2px 9px rgba(0,0,0,.58);
}
.events-deathmatch-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .76em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(175,152,120,.74);
  box-shadow: 0 0 0 4px rgba(175,152,120,.07), 0 0 12px rgba(175,152,120,.08);
}
.events-deathmatch-list strong {
  color: rgba(240,234,223,.90);
  font-weight: 650;
}

@media (max-width: 1180px) {
  .events-deathmatch-stage {
    grid-template-columns: minmax(135px, .55fr) minmax(380px, 1.9fr) minmax(135px, .55fr);
    min-height: 350px;
  }
  .events-deathmatch-character--left img { left: -48px; }
  .events-deathmatch-character--right img { right: -62px; }
  .events-deathmatch-copy { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 980px) {
  #events-match-score { overflow: hidden; }
  .events-deathmatch-section { overflow: hidden; }
  .events-deathmatch-stage {
    min-height: 390px;
    grid-template-columns: minmax(110px, .55fr) minmax(0, 2.25fr) minmax(110px, .55fr);
    margin-left: -12px;
    margin-right: -12px;
  }
  .events-deathmatch-character img {
    bottom: 0;
    height: 94%;
    opacity: .43;
    filter: saturate(.46) brightness(.64) contrast(.94) drop-shadow(0 16px 20px rgba(0,0,0,.38));
  }
  .events-deathmatch-character--left img { left: -50px; }
  .events-deathmatch-character--right img { right: -72px; height: 90%; }
  .events-deathmatch-copy {
    max-width: 650px;
    padding: 22px 18px 23px;
    background: linear-gradient(90deg, transparent, rgba(9,10,11,.84) 8%, rgba(9,10,11,.94) 24%, rgba(9,10,11,.95) 76%, rgba(9,10,11,.84) 92%, transparent);
  }
}

@media (max-width: 680px) {
  .events-deathmatch-stage {
    min-height: 400px;
    grid-template-columns: 76px minmax(0,1fr) 76px;
  }
  .events-deathmatch-character img { height: 82%; opacity: .29; }
  .events-deathmatch-character--left img { left: -84px; }
  .events-deathmatch-character--right img { right: -112px; height: 78%; }
  .events-deathmatch-copy { padding: 20px 8px 21px; }
  .events-deathmatch-list { gap: 14px; }
  .events-deathmatch-list li { font-size: 12px; line-height: 1.68; padding-left: 17px; }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  #events-match-score { overflow: hidden; }
  .events-deathmatch-section { overflow: hidden; }
  .events-deathmatch-stage {
    min-height: 270px;
    grid-template-columns: minmax(110px,.58fr) minmax(0,2fr) minmax(110px,.58fr);
    margin-top: -12px;
  }
  .events-deathmatch-character img { height: 100%; opacity: .38; }
  .events-deathmatch-character--left img { left: -45px; }
  .events-deathmatch-character--right img { right: -68px; height: 94%; }
  .events-deathmatch-copy { max-width: 600px; padding: 15px 18px 16px; }
  .events-deathmatch-list { gap: 10px; }
  .events-deathmatch-list li { font-size: 10.5px; line-height: 1.55; }
}

.events-pve-section {
  padding-top: clamp(24px, 2.8vw, 36px);
  padding-bottom: clamp(28px, 3.2vw, 40px);
}
.events-pve-intro {
  max-width: 760px;
  margin: -2px 0 24px;
  color: rgba(226,220,207,.68);
  font-size: 12px;
  line-height: 1.75;
}
.events-pve-rows {
  border-top: 1px solid rgba(216,208,190,.12);
}
.events-pve-row {
  display: grid;
  grid-template-columns: minmax(135px,.34fr) minmax(0,1.66fr);
  gap: clamp(24px, 3.5vw, 46px);
  align-items: start;
  padding: 18px 0 19px;
  border-bottom: 1px solid rgba(216,208,190,.09);
}
.events-pve-label {
  margin: 2px 0 0 !important;
  color: rgba(175,152,120,.78) !important;
  font-size: 8px !important;
  font-weight: 800;
  line-height: 1.45 !important;
  letter-spacing: .18em;
}
.events-pve-body {
  min-width: 0;
}
.events-pve-body > p {
  max-width: 720px;
  color: rgba(220,214,202,.68);
  font-size: 12px;
  line-height: 1.78;
}
.events-pve-body strong {
  color: rgba(239,233,221,.87);
  font-weight: 650;
}
.events-pve-row--series {
  padding-top: 22px;
  padding-bottom: 23px;
}
.events-pve-body h3 {
  margin: 0 0 9px;
  color: rgba(239,234,223,.92);
  font-family: Cinzel, serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .025em;
}
.events-pve-zones {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  max-width: 650px;
  margin: 16px 0 14px;
}
.events-pve-zones span {
  color: rgba(232,225,212,.76);
  font-family: Cinzel, serif;
  font-size: 9px;
  letter-spacing: .09em;
  white-space: nowrap;
}
.events-pve-zones i {
  height: 1px;
  background: linear-gradient(90deg, rgba(175,152,120,.22), rgba(175,152,120,.06), rgba(175,152,120,.22));
}
.events-pve-helios {
  padding-left: 13px;
  border-left: 1px solid rgba(175,152,120,.48);
}

@media (max-width: 680px) {
  .events-pve-intro { margin-bottom: 18px; font-size: 11px; }
  .events-pve-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px 0 16px;
  }
  .events-pve-label { margin-top: 0 !important; }
  .events-pve-body > p { font-size: 11.5px; line-height: 1.72; }
  .events-pve-body h3 { font-size: 16px; }
  .events-pve-zones {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 7px;
  }
  .events-pve-zones i { display: none; }
  .events-pve-zones span {
    padding: 8px 7px;
    border: 1px solid rgba(175,152,120,.16);
    text-align: center;
    white-space: normal;
    font-size: 7.5px;
    line-height: 1.35;
  }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  .events-pve-intro { margin-bottom: 14px; }
  .events-pve-row {
    grid-template-columns: minmax(120px,.32fr) minmax(0,1.68fr);
    gap: 20px;
    padding: 12px 0 13px;
  }
  .events-pve-body > p { font-size: 10.5px; line-height: 1.6; }
  .events-pve-body h3 { margin-bottom: 6px; font-size: 15px; }
  .events-pve-zones { margin: 10px 0 9px; }
}


/* 04.05 — Instanced Epic Raid Bosses */
.events-epic-section {
  padding-top: clamp(26px, 2.9vw, 38px);
  padding-bottom: clamp(30px, 3.3vw, 42px);
}
.events-epic-intro {
  max-width: 760px;
  margin: -2px 0 22px;
  color: rgba(226,220,207,.68);
  font-size: 12px;
  line-height: 1.75;
}
.events-epic-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-bottom: 24px;
  border-top: 1px solid rgba(216,208,190,.13);
  border-bottom: 1px solid rgba(216,208,190,.11);
}
.events-epic-facts > span {
  display: grid;
  gap: 5px;
  padding: 13px 16px 14px;
  min-width: 0;
}
.events-epic-facts > span + span {
  border-left: 1px solid rgba(216,208,190,.09);
}
.events-epic-facts small {
  color: rgba(175,152,120,.62);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .18em;
}
.events-epic-facts strong {
  color: rgba(239,234,223,.9);
  font-family: Cinzel, serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .045em;
}
.events-epic-mechanics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid rgba(216,208,190,.09);
}
.events-epic-mechanics article {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 12px;
  padding: 17px 18px 18px 0;
  border-bottom: 1px solid rgba(216,208,190,.09);
}
.events-epic-mechanics article:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid rgba(216,208,190,.09);
}
.events-epic-mechanics article:last-child {
  grid-column: 1 / -1;
  padding-right: 0;
}
.events-epic-mechanics > article > span {
  padding-top: 3px;
  color: rgba(175,152,120,.62);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
}
.events-epic-mechanics h3 {
  margin: 0 0 6px;
  color: rgba(239,234,223,.91);
  font-family: Cinzel, serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .025em;
}
.events-epic-mechanics p {
  max-width: none;
  color: rgba(216,210,198,.65);
  font-size: 11px;
  line-height: 1.72;
}
.events-epic-mechanics p strong {
  color: rgba(235,228,215,.86);
  font-weight: 650;
}

@media (max-width: 680px) {
  .events-epic-intro { margin-bottom: 18px; font-size: 11px; }
  .events-epic-facts {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }
  .events-epic-facts > span { padding: 11px 0 12px; }
  .events-epic-facts > span + span {
    border-left: 0;
    border-top: 1px solid rgba(216,208,190,.08);
  }
  .events-epic-mechanics { grid-template-columns: 1fr; }
  .events-epic-mechanics article,
  .events-epic-mechanics article:nth-child(even),
  .events-epic-mechanics article:last-child {
    grid-column: auto;
    padding: 14px 0 15px;
    border-left: 0;
  }
  .events-epic-mechanics h3 { font-size: 12px; }
  .events-epic-mechanics p { font-size: 11px; line-height: 1.68; }
}

@media (orientation: landscape) and (min-width: 561px) and (max-width: 1180px) and (max-height: 560px) {
  .events-epic-intro { margin-bottom: 14px; }
  .events-epic-facts { margin-bottom: 15px; }
  .events-epic-facts > span { padding: 9px 12px 10px; }
  .events-epic-facts strong { font-size: 10px; }
  .events-epic-mechanics article { padding-top: 11px; padding-bottom: 12px; }
  .events-epic-mechanics h3 { margin-bottom: 4px; font-size: 11px; }
  .events-epic-mechanics p { font-size: 9.5px; line-height: 1.55; }
}



.ranking-overview-section {
  padding-top: clamp(24px, 2.8vw, 40px);
}
.ranking-overview-intro {
  max-width: 760px;
  margin-bottom: 30px;
}
.ranking-carousel {
  display: grid;
  gap: 20px;
}
.ranking-carousel__frame {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.ranking-carousel__viewport {
  position: relative;
  overflow: visible;
  min-height: 1px;
  display: grid;
  place-items: center;
}
.ranking-carousel__slide {
  display: none;
  margin: 0;
  width: 100%;
  text-align: center;
}
.ranking-carousel__slide.is-active {
  display: block;
  animation: ranking-panel-reveal .24s ease both;
}
.ranking-carousel__slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0;
  box-shadow: none;
}
@keyframes ranking-panel-reveal {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ranking-panel-slide-in-right {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes ranking-panel-slide-in-left {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}
.ranking-carousel__slide.is-active.is-from-next {
  animation: ranking-panel-slide-in-right .28s ease both;
}
.ranking-carousel__slide.is-active.is-from-prev {
  animation: ranking-panel-slide-in-left .28s ease both;
}
.ranking-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 96px;
  height: 164px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(202,168,113,.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: color .22s ease, transform .22s ease, text-shadow .22s ease;
}
.ranking-carousel__arrow--prev { left: -18px; }
.ranking-carousel__arrow--next { right: -18px; }
.ranking-carousel__arrow span {
  display: block;
  font-family: var(--font-display);
  font-size: 66px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-3px);
  text-shadow:
    0 0 10px rgba(185,145,89,.12),
    0 1px 0 rgba(255,240,210,.08);
}
.ranking-carousel__arrow:hover,
.ranking-carousel__arrow:focus-visible {
  color: rgba(230,195,138,.98);
  transform: translateY(-50%) scale(1.06);
  text-shadow:
    0 0 16px rgba(190,149,90,.2),
    0 1px 0 rgba(255,240,210,.12);
  outline: none;
}
.ranking-carousel__summary {
  display: grid;
  gap: 10px;
  padding: 0 2px;
}
.ranking-carousel__summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ranking-carousel__count {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(175,152,120,.78);
}
.ranking-carousel__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ranking-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(175,152,120,.24);
  box-shadow: 0 0 0 1px rgba(175,152,120,.18);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ranking-carousel__dot.is-active,
.ranking-carousel__dot:hover,
.ranking-carousel__dot:focus-visible {
  background: rgba(193,168,129,.92);
  box-shadow: 0 0 0 1px rgba(193,168,129,.72), 0 0 12px rgba(193,168,129,.15);
  transform: scale(1.05);
}
.ranking-carousel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: .01em;
}
.ranking-carousel__copy {
  max-width: 740px;
  margin: 0;
  color: rgba(226,220,207,.72);
}
@media (max-width: 980px) {
  .ranking-overview-intro { margin-bottom: 24px; }
  .ranking-carousel__arrow {
    width: 78px;
    height: 136px;
  }
  .ranking-carousel__arrow--prev { left: -10px; }
  .ranking-carousel__arrow--next { right: -10px; }
  .ranking-carousel__arrow span { font-size: 54px; }
}
@media (max-width: 640px) {
  .ranking-carousel { gap: 16px; }
  .ranking-carousel__viewport { overflow: hidden; }
  .ranking-carousel__arrow {
    width: 58px;
    height: 102px;
  }
  .ranking-carousel__arrow--prev { left: -4px; }
  .ranking-carousel__arrow--next { right: -4px; }
  .ranking-carousel__arrow span { font-size: 44px; }
  .ranking-carousel__summary-head {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (orientation: landscape) and (max-width: 1180px) and (max-height: 560px) {
  .ranking-overview-intro { margin-bottom: 18px; }
  .ranking-carousel { gap: 12px; }
  .ranking-carousel__arrow {
    width: 58px;
    height: 96px;
  }
  .ranking-carousel__arrow span { font-size: 42px; }
  .ranking-carousel__copy {
    font-size: 12px;
    line-height: 1.65;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ranking-carousel__slide.is-active,
  .ranking-carousel__slide.is-active.is-from-next,
  .ranking-carousel__slide.is-active.is-from-prev { animation: none; }
  .ranking-carousel__arrow { transition: none; }
}


/* Ranking 05.02 / 05.03 */
.ranking-rating-section,
.ranking-seasons-section {
  padding-top: clamp(34px, 4vw, 54px);
}
.ranking-editorial-copy {
  max-width: 780px;
  display: grid;
  gap: 13px;
}
.ranking-editorial-copy p {
  margin: 0;
}
.ranking-editorial-lead {
  margin-bottom: 2px !important;
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: rgba(239,233,222,.9);
}
.ranking-editorial-lead strong {
  font-weight: 600;
}
.ranking-season-cycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 28px 0 30px;
  padding-top: 17px;
  max-width: 820px;
}
.ranking-season-cycle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(183,151,107,.24), rgba(193,163,119,.58) 50%, rgba(183,151,107,.24));
}
.ranking-season-cycle__step {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
}
.ranking-season-cycle__step::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(205,174,126,.92);
  box-shadow: 0 0 0 3px rgba(15,14,13,.86), 0 0 12px rgba(185,145,89,.16);
}
.ranking-season-cycle__step span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(177,151,115,.72);
}
.ranking-season-cycle__step strong {
  font-family: var(--font-display);
  font-size: clamp(.92rem, 1.3vw, 1.08rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(232,225,212,.88);
}
.ranking-editorial-copy--seasons {
  margin-top: 0;
}
.ranking-closing-note {
  margin-top: 28px;
  max-width: 760px;
}
.ranking-closing-note p {
  max-width: 680px;
}
@media (max-width: 640px) {
  .ranking-rating-section,
  .ranking-seasons-section {
    padding-top: 30px;
  }
  .ranking-editorial-copy {
    gap: 11px;
  }
  .ranking-season-cycle {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 26px 0;
    padding: 0 0 0 19px;
  }
  .ranking-season-cycle::before {
    top: 3px;
    bottom: 3px;
    left: 3px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(183,151,107,.24), rgba(193,163,119,.58) 50%, rgba(183,151,107,.24));
  }
  .ranking-season-cycle__step::before {
    top: 5px;
    left: -19px;
  }
  .ranking-closing-note {
    margin-top: 24px;
  }
}
@media (orientation: landscape) and (max-width: 1180px) and (max-height: 560px) {
  .ranking-rating-section,
  .ranking-seasons-section {
    padding-top: 24px;
  }
  .ranking-editorial-copy {
    gap: 8px;
  }
  .ranking-editorial-copy p {
    font-size: 11px;
    line-height: 1.62;
  }
  .ranking-editorial-lead {
    font-size: 12px !important;
  }
  .ranking-season-cycle {
    margin: 19px 0 21px;
    gap: 18px;
  }
  .ranking-season-cycle__step strong {
    font-size: 12px;
  }
  .ranking-closing-note {
    margin-top: 18px;
  }
}
