/*
 * 5STAR Roleplay — Vice internal pages v1
 * Visual-only layer for public, account and staff pages.
 * Routes, forms, IDs, data hooks and state classes remain owned by dashboard.js.
 */

body.site-vice:not(.page-home) {
  --vice-ink: #070412;
  --vice-night: #0d0719;
  --vice-deep: #160a28;
  --vice-plum: #2a1040;
  --vice-pink: #ff3d9a;
  --vice-coral: #ff6b62;
  --vice-violet: #8c5cff;
  --vice-cyan: #39dcff;
  --vice-gold: #ffd36a;
  --vice-text: #fff8fc;
  --vice-muted: #d8cadf;
  --vice-line: rgba(255, 255, 255, .14);
  --bg: var(--vice-ink);
  --bg-soft: var(--vice-night);
  --panel: rgba(22, 10, 40, .8);
  --panel-2: rgba(36, 15, 54, .9);
  --line: var(--vice-line);
  --text: var(--vice-text);
  --muted: var(--vice-muted);
  --blue: var(--vice-pink);
  --landing-blue: var(--vice-pink);
  --landing-cyan: var(--vice-cyan);
  --landing-red: var(--vice-coral);
  --landing-amber: var(--vice-gold);
  color: var(--vice-text);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 61, 154, .16), transparent 28rem),
    radial-gradient(circle at 88% 26%, rgba(57, 220, 255, .11), transparent 32rem),
    linear-gradient(180deg, #080412 0%, #140821 48%, #07030d 100%);
}

body.site-vice:not(.page-home) main {
  position: relative;
  z-index: 0;
  min-height: 72vh;
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, .022) 50%, transparent 50.1%) 0 0 / 84px 84px,
    linear-gradient(rgba(255, 255, 255, .017) 1px, transparent 1px) 0 0 / 84px 84px;
}

body.site-vice:not(.page-home) main::before,
body.site-vice:not(.page-home) main::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: min(44vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .14;
  pointer-events: none;
  will-change: transform;
}

body.site-vice:not(.page-home) main::before {
  top: 8vh;
  left: -20vw;
  background: var(--vice-pink);
  animation: vice-page-aurora-left 18s ease-in-out infinite alternate;
}

body.site-vice:not(.page-home) main::after {
  top: 48vh;
  right: -20vw;
  background: var(--vice-cyan);
  animation: vice-page-aurora-right 22s ease-in-out infinite alternate;
}

/* Shared navigation: same geometry and behavior as the homepage. */
body.site-vice:not(.page-home) .topbar.home-topbar::before {
  border-bottom-color: rgba(255, 107, 98, .18);
  background:
    linear-gradient(90deg, rgba(255, 61, 154, .09), transparent 28%, transparent 72%, rgba(57, 220, 255, .08)),
    rgba(8, 4, 18, .84);
  box-shadow: 0 18px 46px rgba(5, 2, 12, .42);
  backdrop-filter: blur(22px) saturate(150%);
}

body.site-vice:not(.page-home) .home-nav-shell {
  border-color: rgba(255, 255, 255, .18);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, .09), transparent 36%),
    rgba(21, 9, 37, .84);
  box-shadow:
    0 14px 42px rgba(6, 2, 15, .42),
    0 0 0 1px rgba(255, 61, 154, .08),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

body.site-vice:not(.page-home) .home-logo {
  background: linear-gradient(145deg, var(--vice-pink), var(--vice-coral) 48%, var(--vice-violet));
  box-shadow: 0 0 28px rgba(255, 61, 154, .38);
}

body.site-vice:not(.page-home) .home-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .22));
}

body.site-vice:not(.page-home) .home-links a {
  color: rgba(255, 248, 252, .78);
}

body.site-vice:not(.page-home) .home-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 61, 154, .52);
}

body.site-vice:not(.page-home) .home-links a.active {
  color: var(--vice-ink);
  background: linear-gradient(135deg, #ffffff, #ffe4f2);
  box-shadow: 0 8px 24px rgba(255, 61, 154, .22);
}

body.site-vice:not(.page-home) .home-join {
  border-color: rgba(255, 255, 255, .32);
  color: #ffffff;
  background: linear-gradient(135deg, var(--vice-pink), var(--vice-coral));
  box-shadow: 0 10px 28px rgba(255, 61, 154, .32);
}

body.site-vice:not(.page-home) .home-join:hover {
  background: linear-gradient(135deg, var(--vice-coral), var(--vice-pink));
  box-shadow: 0 13px 34px rgba(255, 61, 154, .44);
}

body.site-vice:not(.page-home) .home-tools {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(19, 8, 34, .78);
  box-shadow: 0 12px 34px rgba(5, 2, 12, .34);
}

body.site-vice:not(.page-home) .home-tool {
  color: var(--vice-text);
  background: rgba(255, 255, 255, .07);
}

body.site-vice:not(.page-home) .discord-tool {
  color: #ffffff;
  background: linear-gradient(145deg, #725cff, #9b5cff);
}

body.site-vice:not(.page-home) .server-status.online {
  background: rgba(5, 25, 18, .8);
  box-shadow: 0 0 26px rgba(54, 255, 148, .2);
}

/* Shared type, controls and glass surfaces. */
body.site-vice:not(.page-home) .section-kicker,
body.site-vice:not(.page-home) .eyebrow {
  color: var(--vice-coral);
  letter-spacing: .17em;
  text-transform: uppercase;
}

body.site-vice:not(.page-home) h1,
body.site-vice:not(.page-home) .section-headline h2,
body.site-vice:not(.page-home) .hidden-gallery-head h2 {
  color: #ffffff;
}

body.site-vice:not(.page-home) .section-headline h2,
body.site-vice:not(.page-home) .narrative-hero h1,
body.site-vice:not(.page-home) .hidden-hero h1,
body.site-vice:not(.page-home) .report-public-copy h1,
body.site-vice:not(.page-home) .whitelist-hero h1,
body.site-vice.page-staff .staff-head h1 {
  font-family: "FiveStar Vice", "SF Pro Display", sans-serif;
  font-style: italic;
  letter-spacing: -.045em;
}

body.site-vice:not(.page-home) .panel,
body.site-vice:not(.page-home) .legal-card,
body.site-vice:not(.page-home) .application,
body.site-vice:not(.page-home) .staff-performance-panel,
body.site-vice:not(.page-home) .political-analytics {
  border-color: rgba(255, 255, 255, .13);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 44%),
    rgba(18, 8, 32, .86);
  box-shadow:
    0 22px 58px rgba(5, 2, 12, .34),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
}

body.site-vice:not(.page-home) .field,
body.site-vice:not(.page-home) pre,
body.site-vice:not(.page-home) .notice-panel,
body.site-vice:not(.page-home) .review-toolbar {
  border-color: rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .045);
}

body.site-vice:not(.page-home) input,
body.site-vice:not(.page-home) textarea,
body.site-vice:not(.page-home) select {
  border-color: rgba(255, 255, 255, .15);
  border-radius: 11px;
  color: var(--vice-text);
  background: rgba(8, 4, 18, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

body.site-vice:not(.page-home) input:focus,
body.site-vice:not(.page-home) textarea:focus,
body.site-vice:not(.page-home) select:focus {
  border-color: var(--vice-pink);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 61, 154, .13), 0 0 28px rgba(255, 61, 154, .08);
}

body.site-vice:not(.page-home) .button,
body.site-vice:not(.page-home) .landing-button {
  border-color: rgba(255, 255, 255, .18);
  color: #ffffff;
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}

body.site-vice:not(.page-home) .button:hover,
body.site-vice:not(.page-home) .landing-button:hover {
  border-color: rgba(255, 107, 98, .44);
  background: rgba(255, 61, 154, .13);
  box-shadow: 0 14px 34px rgba(255, 61, 154, .16);
}

body.site-vice:not(.page-home) .button.primary,
body.site-vice:not(.page-home) .landing-button.primary {
  border-color: rgba(255, 255, 255, .28);
  color: #ffffff;
  background: linear-gradient(135deg, var(--vice-pink), var(--vice-coral));
  box-shadow: 0 13px 34px rgba(255, 61, 154, .28), inset 0 1px 0 rgba(255, 255, 255, .3);
}

body.site-vice:not(.page-home) .button.primary:hover,
body.site-vice:not(.page-home) .landing-button.primary:hover {
  background: linear-gradient(135deg, var(--vice-coral), var(--vice-pink));
  box-shadow: 0 17px 42px rgba(255, 61, 154, .38);
}

body.site-vice:not(.page-home) .button.success {
  color: #04140c;
  background: var(--green);
  border-color: var(--green);
}

body.site-vice:not(.page-home) .button.danger {
  border-color: rgba(255, 90, 103, .52);
  color: #ffd7dc;
  background: rgba(255, 90, 103, .13);
}

body.site-vice:not(.page-home) :focus-visible {
  outline: 3px solid var(--vice-cyan);
  outline-offset: 3px;
}

/* Lore and rules share a cinematic editorial frame. */
body.site-vice.page-lore,
body.site-vice.page-rules {
  background:
    radial-gradient(circle at 82% 14%, rgba(140, 92, 255, .17), transparent 30rem),
    radial-gradient(circle at 12% 54%, rgba(255, 61, 154, .15), transparent 32rem),
    linear-gradient(180deg, #07030d 0%, #160824 54%, #080410 100%);
}

body.site-vice.page-lore .narrative-hero,
body.site-vice.page-rules .narrative-hero {
  min-height: clamp(690px, 84vh, 940px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: #090411;
}

body.site-vice.page-lore .narrative-hero-media img,
body.site-vice.page-rules .narrative-hero-media img {
  filter: saturate(1.1) contrast(1.06) brightness(.86);
}

body.site-vice.page-lore .narrative-hero-media::after,
body.site-vice.page-rules .narrative-hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 3, 16, .96) 0%, rgba(9, 4, 19, .72) 41%, rgba(11, 5, 23, .2) 72%),
    linear-gradient(180deg, rgba(7, 3, 16, .12) 0%, transparent 42%, #0d0618 100%),
    radial-gradient(circle at 72% 32%, rgba(255, 61, 154, .15), transparent 34%);
}

body.site-vice.page-rules .narrative-hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 3, 16, .95) 0%, rgba(9, 4, 19, .74) 44%, rgba(11, 5, 23, .24) 76%),
    linear-gradient(180deg, rgba(7, 3, 16, .14), transparent 38%, #0d0618 100%),
    radial-gradient(circle at 74% 36%, rgba(255, 211, 106, .14), transparent 34%);
}

body.site-vice.page-lore .narrative-hero::before,
body.site-vice.page-rules .narrative-hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral), var(--vice-gold), var(--vice-cyan));
  pointer-events: none;
}

body.site-vice.page-lore .narrative-hero-copy,
body.site-vice.page-rules .narrative-hero-copy {
  width: min(1500px, calc(100% - 64px));
}

body.site-vice.page-lore .narrative-hero h1,
body.site-vice.page-rules .narrative-hero h1 {
  max-width: 10ch;
  color: transparent;
  background: linear-gradient(150deg, #ffffff 0 34%, #ffc1df 62%, var(--vice-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(5px 6px 0 rgba(83, 25, 111, .42)) drop-shadow(0 18px 40px rgba(0, 0, 0, .56));
}

body.site-vice.page-rules .narrative-hero h1 {
  background: linear-gradient(150deg, #ffffff 0 34%, #ffe1a2 66%, var(--vice-coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.site-vice.page-lore .narrative-hero p,
body.site-vice.page-rules .narrative-hero p {
  color: rgba(255, 248, 252, .8);
}

body.site-vice.page-lore .landing-section,
body.site-vice.page-rules .landing-section {
  position: relative;
}

body.site-vice.page-lore .landing-section::before,
body.site-vice.page-rules .landing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(82vw, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--vice-pink), var(--vice-coral), var(--vice-cyan), transparent);
  opacity: .58;
  pointer-events: none;
}

body.site-vice.page-lore .section-headline h2,
body.site-vice.page-rules .section-headline h2,
body.site-vice.page-lore .background-essentials-head h2 {
  font-family: "FiveStar Vice", "SF Pro Display", sans-serif;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 12px 36px rgba(5, 2, 12, .42);
}

body.site-vice.page-lore .section-lead,
body.site-vice.page-rules .section-lead,
body.site-vice.page-lore .background-essentials-head p {
  color: var(--vice-muted);
}

body.site-vice.page-lore .narrative-copy-panel,
body.site-vice.page-lore .narrative-image,
body.site-vice.page-lore .lore-setup-card,
body.site-vice.page-lore .background-prime-card,
body.site-vice.page-lore .background-essential {
  border-color: rgba(255, 255, 255, .13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .075), transparent 48%),
    rgba(18, 8, 32, .88);
  box-shadow: 0 24px 62px rgba(5, 2, 12, .38), inset 0 1px 0 rgba(255, 255, 255, .07);
}

body.site-vice.page-lore .narrative-copy-panel > span,
body.site-vice.page-lore .background-prime-card small,
body.site-vice.page-lore .background-essential small {
  color: var(--vice-coral);
}

body.site-vice.page-lore .server-pill {
  border-color: rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .045);
}

body.site-vice.page-lore .lore-setup-card::before,
body.site-vice.page-lore .background-essential::before {
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral), var(--vice-cyan));
}

body.site-vice.page-lore .lore-step-icon,
body.site-vice.page-lore .background-essential-icon {
  color: #ffffff;
  background: linear-gradient(145deg, var(--vice-pink), var(--vice-violet));
  box-shadow: 0 12px 28px rgba(255, 61, 154, .3);
}

body.site-vice.page-lore .lore-setup-card:hover,
body.site-vice.page-lore .background-essential:hover {
  border-color: rgba(255, 107, 98, .36);
  box-shadow: 0 28px 68px rgba(255, 61, 154, .17);
}

body.site-vice.page-lore .narrative-gallery {
  border-color: rgba(255, 255, 255, .15);
  border-radius: 30px;
  background: rgba(12, 6, 24, .78);
  box-shadow: 0 34px 90px rgba(5, 2, 12, .52);
}

body.site-vice.page-lore .carousel-slide::after,
body.site-vice.page-gallery .carousel-slide::after {
  background:
    linear-gradient(120deg, rgba(255, 61, 154, .11), transparent 44%),
    linear-gradient(180deg, transparent 38%, rgba(7, 3, 16, .95));
}

body.site-vice.page-lore .carousel-slide figcaption span,
body.site-vice.page-gallery .carousel-slide figcaption span {
  color: var(--vice-coral);
}

body.site-vice.page-lore .carousel-control,
body.site-vice.page-gallery .carousel-control {
  border-color: rgba(255, 255, 255, .2);
  color: #ffffff;
  background: rgba(18, 8, 32, .78);
  backdrop-filter: blur(14px);
}

body.site-vice.page-lore .carousel-control:hover,
body.site-vice.page-gallery .carousel-control:hover {
  background: var(--vice-pink);
}

body.site-vice.page-lore .carousel-dots button.is-active,
body.site-vice.page-gallery .carousel-dots button.is-active {
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral));
  box-shadow: 0 0 18px rgba(255, 61, 154, .56);
}

body.site-vice.page-rules .narrative-rules-intro article,
body.site-vice.page-rules .narrative-checklist > div,
body.site-vice.page-rules .rules-document.narrative-document {
  border-color: rgba(255, 255, 255, .13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 46%),
    rgba(18, 8, 32, .88);
  box-shadow: 0 24px 62px rgba(5, 2, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .07);
}

body.site-vice.page-rules .narrative-rules-intro article::before,
body.site-vice.page-rules .narrative-checklist > div::before {
  background: linear-gradient(90deg, var(--vice-gold), var(--vice-coral), var(--vice-pink));
}

body.site-vice.page-rules .rules-intro span {
  color: var(--vice-gold);
}

body.site-vice.page-rules .rules-document-head {
  border-bottom-color: rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 211, 106, .14), transparent 32%),
    linear-gradient(135deg, rgba(255, 61, 154, .12), rgba(21, 9, 37, .9));
}

body.site-vice.page-rules .rules-document-fallback {
  border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(18, 8, 32, .74), rgba(7, 3, 16, .9));
}

body.site-vice.page-rules .rules-document iframe {
  background: #ffffff;
}

/* Whitelist and personal backgrounds. */
body.site-vice.page-whitelist {
  background:
    radial-gradient(circle at 12% 10%, rgba(140, 92, 255, .2), transparent 28rem),
    radial-gradient(circle at 88% 32%, rgba(57, 220, 255, .1), transparent 30rem),
    linear-gradient(180deg, #080412 0%, #170925 52%, #07030d 100%);
}

body.site-vice.page-whitelist .whitelist-hero {
  width: min(1500px, calc(100% - 64px));
  min-height: clamp(510px, 44vw, 680px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: clamp(40px, 6vw, 84px) auto 28px;
  padding: clamp(34px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 34px;
  background: #0b0615;
  box-shadow: 0 36px 100px rgba(5, 2, 12, .56), 0 0 0 1px rgba(255, 61, 154, .05);
  isolation: isolate;
}

body.site-vice.page-whitelist .whitelist-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 3, 16, .9) 0%, rgba(8, 4, 18, .54) 48%, rgba(8, 4, 18, .2) 76%),
    linear-gradient(180deg, rgba(7, 3, 16, .08), transparent 42%, rgba(7, 3, 16, .94)),
    radial-gradient(circle at 72% 30%, rgba(255, 61, 154, .16), transparent 32%);
  pointer-events: none;
}

body.site-vice.page-whitelist .whitelist-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  pointer-events: none;
}

body.site-vice.page-whitelist .whitelist-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04) brightness(.84);
}

body.site-vice.page-whitelist .whitelist-hero .eyebrow,
body.site-vice.page-whitelist .whitelist-hero h1,
body.site-vice.page-whitelist .whitelist-hero p {
  position: relative;
  z-index: 3;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border: 0;
}

body.site-vice.page-whitelist .whitelist-hero .eyebrow {
  margin-bottom: 14px;
  color: var(--vice-gold);
}

body.site-vice.page-whitelist .whitelist-hero h1 {
  max-width: 11ch;
  font-size: clamp(58px, 8vw, 124px);
  line-height: .78;
  color: transparent;
  background: linear-gradient(150deg, #ffffff 0 34%, #ffc2df 62%, var(--vice-pink));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(5px 6px 0 rgba(83, 25, 111, .4)) drop-shadow(0 18px 38px rgba(0, 0, 0, .58));
}

body.site-vice.page-whitelist .whitelist-hero p {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 248, 252, .82);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.5;
}

body.site-vice.page-whitelist .grid {
  width: min(1500px, calc(100% - 64px));
  margin: 0 auto clamp(88px, 9vw, 140px);
  gap: 20px;
}

body.site-vice.page-whitelist .grid > div,
body.site-vice.page-whitelist .grid > aside {
  min-width: 0;
}

body.site-vice.page-whitelist .panel {
  padding: clamp(20px, 2.4vw, 30px);
}

body.site-vice.page-whitelist #whitelist-form {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 61, 154, .13), transparent 26rem),
    linear-gradient(150deg, rgba(255, 255, 255, .06), transparent 34%),
    rgba(17, 7, 30, .94);
}

body.site-vice.page-whitelist #whitelist-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral), var(--vice-cyan));
}

body.site-vice.page-whitelist #whitelist-form > h1 {
  font-family: "FiveStar Vice", "SF Pro Display", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-style: italic;
}

body.site-vice.page-whitelist .form-band,
body.site-vice.page-whitelist .form-section {
  border-top-color: rgba(255, 255, 255, .11);
}

body.site-vice.page-whitelist .form-band > h2,
body.site-vice.page-whitelist .section-head h2 {
  color: #ffffff;
}

body.site-vice.page-whitelist .char-counter,
body.site-vice.page-whitelist .selection-counter,
body.site-vice.page-whitelist details.form-section > summary::after {
  border-color: rgba(255, 255, 255, .13);
  color: var(--vice-muted);
  background: rgba(8, 4, 18, .74);
}

body.site-vice.page-whitelist details.form-section[open] > summary::after {
  border-color: rgba(255, 61, 154, .48);
  color: #ffc0dd;
  background: rgba(255, 61, 154, .1);
}

body.site-vice.page-whitelist .choice-card {
  min-height: 52px;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: var(--vice-text);
  background: rgba(255, 255, 255, .045);
}

body.site-vice.page-whitelist .choice-card:hover,
body.site-vice.page-whitelist .choice-card:focus-within {
  border-color: rgba(255, 107, 98, .5);
  background: rgba(255, 61, 154, .08);
}

body.site-vice.page-whitelist .choice-card:has(input:checked) {
  border-color: var(--vice-pink);
  background: linear-gradient(135deg, rgba(255, 61, 154, .16), rgba(140, 92, 255, .12));
  box-shadow: 0 10px 26px rgba(255, 61, 154, .1);
}

body.site-vice.page-whitelist .choice-none:has(input:checked) {
  border-color: var(--green);
  background: rgba(36, 194, 122, .12);
}

body.site-vice.page-whitelist .choice-card input {
  accent-color: var(--vice-pink);
}

body.site-vice.page-whitelist .draft-status {
  border-color: rgba(57, 220, 255, .3);
  border-radius: 12px;
  color: #a9f2ff;
  background: rgba(57, 220, 255, .08);
}

body.site-vice.page-whitelist .avatar {
  box-shadow: 0 0 0 3px rgba(255, 61, 154, .18), 0 0 26px rgba(255, 61, 154, .2);
}

/* Reports: editorial intro plus an operational glass form. */
body.site-vice.page-reports .report-page-shell {
  width: min(1500px, calc(100% - 64px));
  margin-inline: auto;
  padding-top: clamp(44px, 6vw, 88px);
  padding-bottom: clamp(88px, 9vw, 140px);
}

body.site-vice.page-reports .report-public-copy {
  position: sticky;
  top: 96px;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 3, 16, .08), rgba(7, 3, 16, .38) 34%, rgba(7, 3, 16, .96) 82%),
    linear-gradient(110deg, rgba(255, 61, 154, .12), transparent 48%),
    url("/assets/restyle-gta6-v1/pages/reports-hero-v1.jpg") center / cover no-repeat;
  box-shadow: 0 34px 94px rgba(5, 2, 12, .54);
  isolation: isolate;
}

body.site-vice.page-reports .report-public-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 21px;
  pointer-events: none;
}

body.site-vice.page-reports .report-public-copy h1 {
  max-width: 9ch;
  color: transparent;
  background: linear-gradient(150deg, #ffffff 0 32%, #ffc0df 64%, var(--vice-pink));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(4px 5px 0 rgba(83, 25, 111, .42)) drop-shadow(0 16px 34px rgba(0, 0, 0, .5));
}

body.site-vice.page-reports .report-public-copy > p {
  color: rgba(255, 248, 252, .8);
}

body.site-vice.page-reports .report-kicker {
  width: max-content;
  max-width: 100%;
  border-color: rgba(255, 107, 98, .35);
  color: #ffd7e9;
  background: rgba(255, 61, 154, .12);
}

body.site-vice.page-reports .report-process div {
  border-top-color: rgba(255, 255, 255, .12);
}

body.site-vice.page-reports .report-process span {
  color: var(--vice-coral);
}

body.site-vice.page-reports .report-process small {
  color: rgba(255, 248, 252, .68);
}

body.site-vice.page-reports .report-identity {
  border-left-color: var(--vice-pink);
}

body.site-vice.page-reports .report-public-form {
  border-color: rgba(255, 255, 255, .15);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 4%, rgba(57, 220, 255, .1), transparent 24rem),
    linear-gradient(155deg, rgba(27, 11, 43, .97), rgba(8, 4, 18, .98));
  box-shadow: 0 34px 94px rgba(5, 2, 12, .5), inset 0 1px rgba(255, 255, 255, .07);
}

body.site-vice.page-reports .report-public-form::before {
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral) 55%, var(--vice-cyan));
}

body.site-vice.page-reports .report-form-head {
  border-bottom-color: rgba(255, 255, 255, .11);
}

body.site-vice.page-reports .report-form-head span {
  color: var(--vice-coral);
}

body.site-vice.page-reports .report-field > label {
  color: var(--vice-text);
}

body.site-vice.page-reports .report-field input,
body.site-vice.page-reports .report-field textarea {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(8, 4, 18, .76);
}

body.site-vice.page-reports .report-field input:focus,
body.site-vice.page-reports .report-field textarea:focus {
  border-color: var(--vice-pink);
  box-shadow: 0 0 0 3px rgba(255, 61, 154, .13);
}

body.site-vice.page-reports .report-kind-option {
  border-color: rgba(255, 255, 255, .13);
  border-radius: 15px;
  background: rgba(255, 255, 255, .045);
}

body.site-vice.page-reports .report-kind-option:hover,
body.site-vice.page-reports .report-kind-option:focus-within,
body.site-vice.page-reports .report-kind-option:has(input:checked) {
  border-color: var(--vice-pink);
  background: linear-gradient(135deg, rgba(255, 61, 154, .14), rgba(140, 92, 255, .1));
}

body.site-vice.page-reports .report-kind-icon {
  color: #ffffff;
  background: linear-gradient(145deg, var(--vice-pink), var(--vice-violet));
  box-shadow: 0 10px 24px rgba(255, 61, 154, .24);
}

body.site-vice.page-reports .report-confirm-dialog {
  border-color: rgba(255, 255, 255, .17);
  color: var(--vice-text);
  background: #10071d;
  box-shadow: 0 40px 120px rgba(5, 2, 12, .72);
}

body.site-vice.page-reports .report-confirm-dialog::backdrop {
  background: rgba(5, 2, 12, .82);
}

body.site-vice.page-reports .report-confirm-summary {
  border-color: rgba(255, 255, 255, .12);
}

/* Staff: a denser Vice control-room treatment without changing its workflows. */
body.site-vice.page-staff main {
  padding: clamp(38px, 5vw, 76px) 32px clamp(90px, 9vw, 140px);
}

body.site-vice.page-staff .staff-head,
body.site-vice.page-staff .staff-section-nav,
body.site-vice.page-staff .stats-grid,
body.site-vice.page-staff .staff-performance-panel,
body.site-vice.page-staff .political-analytics,
body.site-vice.page-staff .server-control,
body.site-vice.page-staff .staff-filter-panel,
body.site-vice.page-staff .staff-pagination,
body.site-vice.page-staff .staff-list,
body.site-vice.page-staff > main > .section,
body.site-vice.page-staff main > .panel {
  width: min(1500px, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.site-vice.page-staff .staff-head {
  position: relative;
  min-height: 360px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 32px;
  padding: clamp(30px, 5vw, 62px);
  background:
    linear-gradient(90deg, rgba(7, 3, 16, .96), rgba(8, 4, 18, .68) 48%, rgba(8, 4, 18, .28)),
    linear-gradient(180deg, rgba(7, 3, 16, .04), rgba(7, 3, 16, .86)),
    url("/assets/restyle-gta6-v1/pages/staff-hero-v1.jpg") center 35% / cover no-repeat;
  box-shadow: 0 34px 94px rgba(5, 2, 12, .52);
}

body.site-vice.page-staff .staff-head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral), var(--vice-cyan));
}

body.site-vice.page-staff .staff-head::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  pointer-events: none;
}

body.site-vice.page-staff .staff-head > * {
  position: relative;
  z-index: 1;
}

body.site-vice.page-staff .staff-head > div:first-child {
  max-width: 760px;
}

body.site-vice.page-staff .staff-head h1 {
  max-width: 8ch;
  font-size: clamp(54px, 7vw, 104px);
  line-height: .78;
  color: transparent;
  background: linear-gradient(150deg, #ffffff, #ffc2df 58%, var(--vice-pink));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(4px 5px 0 rgba(83, 25, 111, .4));
}

body.site-vice.page-staff .staff-head p {
  color: rgba(255, 248, 252, .78);
}

body.site-vice.page-staff .staff-logo {
  border-color: rgba(255, 255, 255, .2);
  background: linear-gradient(145deg, rgba(255, 61, 154, .86), rgba(140, 92, 255, .82));
  box-shadow: 0 18px 44px rgba(255, 61, 154, .28);
}

body.site-vice.page-staff .staff-section-nav {
  margin-top: 18px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(16, 7, 29, .76);
  box-shadow: 0 18px 46px rgba(5, 2, 12, .28);
  backdrop-filter: blur(16px);
}

body.site-vice.page-staff .staff-section-nav .button {
  min-height: 44px;
}

body.site-vice.page-staff .stats-grid {
  gap: 14px;
}

body.site-vice.page-staff .stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

body.site-vice.page-staff .stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral), var(--vice-cyan));
}

body.site-vice.page-staff .stat-card h1,
body.site-vice.page-staff .staff-kpi strong {
  color: #ffffff;
  text-shadow: 0 0 24px rgba(255, 61, 154, .2);
}

body.site-vice.page-staff .staff-kpi,
body.site-vice.page-staff .political-stat,
body.site-vice.page-staff .utility-card,
body.site-vice.page-staff .utility-command-card {
  border-color: rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .045);
}

body.site-vice.page-staff .staff-filter-panel,
body.site-vice.page-staff .server-control,
body.site-vice.page-staff .review-toolbar {
  border-color: rgba(255, 255, 255, .13);
  background:
    linear-gradient(140deg, rgba(255, 61, 154, .07), transparent 38%),
    rgba(18, 8, 32, .84);
}

body.site-vice.page-staff .application {
  overflow: hidden;
}

body.site-vice.page-staff .application > summary:hover,
body.site-vice.page-staff .application[open] > summary {
  background: rgba(255, 61, 154, .08);
}

body.site-vice.page-staff .open-pill,
body.site-vice.page-staff .staff-assignee,
body.site-vice.page-staff .report-badge {
  border-color: rgba(255, 107, 98, .25);
  color: #ffd0e5;
  background: rgba(255, 61, 154, .09);
}

body.site-vice.page-staff .utility-tabs,
body.site-vice.page-staff .staff-pagination {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(16, 7, 29, .74);
}

body.site-vice.page-staff code,
body.site-vice.page-staff .utility-command-head code {
  color: var(--vice-cyan);
}

/* Legal pages stay quiet and highly readable while sharing the same shell. */
body.site-vice.page-legal .page-hero {
  position: relative;
  width: min(1500px, calc(100% - 64px));
  margin: clamp(42px, 6vw, 86px) auto 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 88% 16%, rgba(57, 220, 255, .13), transparent 28%),
    radial-gradient(circle at 16% 84%, rgba(255, 61, 154, .17), transparent 34%),
    linear-gradient(135deg, rgba(34, 13, 52, .96), rgba(10, 5, 21, .98));
  box-shadow: 0 30px 84px rgba(5, 2, 12, .45);
}

body.site-vice.page-legal .page-hero::after {
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral), var(--vice-cyan));
}

body.site-vice.page-legal .page-hero h1 {
  max-width: 12ch;
  font-family: "FiveStar Vice", "SF Pro Display", sans-serif;
  font-size: clamp(48px, 6.6vw, 92px);
  font-style: italic;
  line-height: .84;
  color: transparent;
  background: linear-gradient(150deg, #ffffff, #ffc2df 62%, var(--vice-pink));
  -webkit-background-clip: text;
  background-clip: text;
}

body.site-vice.page-legal .legal-shell {
  width: min(1500px, calc(100% - 64px));
  margin: 0 auto clamp(88px, 9vw, 140px);
  gap: 20px;
}

body.site-vice.page-legal .legal-index {
  border-radius: 20px;
}

body.site-vice.page-legal .legal-index a {
  border-color: rgba(255, 255, 255, .1);
  color: var(--vice-muted);
  background: rgba(255, 255, 255, .035);
}

body.site-vice.page-legal .legal-index a:hover {
  border-color: rgba(255, 107, 98, .34);
  color: #ffffff;
  background: rgba(255, 61, 154, .08);
}

body.site-vice.page-legal .legal-card h2 {
  color: #ffffff;
}

body.site-vice.page-legal .legal-card a {
  color: var(--vice-cyan);
}

/* Hidden lore dossiers use their existing imagery but the new visual language. */
body.site-vice.page-gallery .hidden-hero {
  position: relative;
  min-height: clamp(600px, 76vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background-image:
    linear-gradient(90deg, rgba(7, 3, 16, .94), rgba(8, 4, 18, .56) 48%, rgba(8, 4, 18, .16)),
    linear-gradient(180deg, rgba(7, 3, 16, .08), transparent 42%, #0d0618),
    var(--hidden-hero-image);
}

body.site-vice.page-gallery .hidden-hero::before {
  background: linear-gradient(90deg, var(--vice-pink), var(--vice-coral), var(--vice-cyan));
}

body.site-vice.page-gallery .hidden-hero h1 {
  max-width: 10ch;
  color: transparent;
  background: linear-gradient(150deg, #ffffff, #ffc2df 62%, var(--vice-pink));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(4px 5px 0 rgba(83, 25, 111, .4));
}

body.site-vice.page-gallery .hidden-hero p {
  color: rgba(255, 248, 252, .8);
}

body.site-vice.page-gallery .hidden-gallery {
  width: min(1500px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: clamp(78px, 8vw, 124px);
  padding-bottom: clamp(92px, 9vw, 140px);
}

body.site-vice.page-gallery .hidden-gallery-head h2 {
  font-family: "FiveStar Vice", "SF Pro Display", sans-serif;
  font-style: italic;
}

body.site-vice.page-gallery .gallery-carousel {
  border-color: rgba(255, 255, 255, .15);
  border-radius: 30px;
  background: rgba(12, 6, 24, .78);
  box-shadow: 0 34px 90px rgba(5, 2, 12, .52);
}

/* Footer and cookie surface. */
body.site-vice:not(.page-home) .site-footer {
  border-top-color: rgba(255, 255, 255, .1);
  background:
    linear-gradient(90deg, rgba(255, 61, 154, .07), transparent 28%, transparent 72%, rgba(57, 220, 255, .06)),
    #080410;
}

body.site-vice:not(.page-home) .site-footer a:hover {
  color: var(--vice-coral);
}

body.site-vice:not(.page-home) .footer-socials a {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .05);
}

body.site-vice:not(.page-home) .cookie-notice {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(11, 5, 22, .93);
  box-shadow: 0 24px 70px rgba(5, 2, 12, .56);
  backdrop-filter: blur(20px);
}

body.site-vice:not(.page-home) .cookie-notice .button:last-child {
  background: linear-gradient(135deg, var(--vice-pink), var(--vice-coral));
}

@keyframes vice-page-aurora-left {
  from { transform: translate3d(0, 0, 0) scale(.92); }
  to { transform: translate3d(11vw, 16vh, 0) scale(1.14); }
}

@keyframes vice-page-aurora-right {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-10vw, -12vh, 0) scale(1.18); }
}

@media (max-width: 1120px) {
  body.site-vice.page-whitelist .grid {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  body.site-vice.page-reports .report-page-shell {
    grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
    gap: 28px;
  }
}

@media (max-width: 900px) {
  body.site-vice.page-whitelist .grid,
  body.site-vice.page-reports .report-page-shell {
    grid-template-columns: 1fr;
  }

  body.site-vice.page-reports .report-public-copy {
    position: relative;
    top: auto;
    min-height: 590px;
  }

  body.site-vice.page-staff .staff-head {
    min-height: 430px;
  }

  body.site-vice.page-staff .staff-logo {
    opacity: .72;
  }
}

@media (max-width: 700px) {
  body.site-vice:not(.page-home) main::before,
  body.site-vice:not(.page-home) main::after {
    opacity: .09;
  }

  body.site-vice:not(.page-home) .topbar.home-topbar::before {
    background: rgba(8, 4, 18, .93);
  }

  body.site-vice:not(.page-home) .home-nav-shell {
    justify-content: flex-start;
  }

  body.site-vice.page-lore .narrative-hero-copy,
  body.site-vice.page-rules .narrative-hero-copy {
    width: 100%;
    max-width: 100%;
  }

  body.site-vice.page-whitelist .whitelist-hero,
  body.site-vice.page-whitelist .grid,
  body.site-vice.page-reports .report-page-shell,
  body.site-vice.page-legal .page-hero,
  body.site-vice.page-legal .legal-shell,
  body.site-vice.page-gallery .hidden-gallery {
    width: calc(100% - 28px);
  }

  body.site-vice.page-lore .narrative-hero h1,
  body.site-vice.page-rules .narrative-hero h1,
  body.site-vice.page-lore .narrative-hero p,
  body.site-vice.page-rules .narrative-hero p,
  body.site-vice.page-lore .narrative-actions,
  body.site-vice.page-rules .narrative-actions {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.site-vice.page-lore .narrative-actions .button,
  body.site-vice.page-lore .narrative-actions .landing-button,
  body.site-vice.page-rules .narrative-actions .button,
  body.site-vice.page-rules .narrative-actions .landing-button {
    min-width: 0;
    max-width: 100%;
  }

  body.site-vice.page-lore .narrative-hero,
  body.site-vice.page-rules .narrative-hero {
    min-height: 650px;
  }

  body.site-vice.page-lore .narrative-hero-media::after,
  body.site-vice.page-rules .narrative-hero-media::after {
    background:
      linear-gradient(180deg, rgba(7, 3, 16, .2), rgba(7, 3, 16, .96)),
      linear-gradient(90deg, rgba(7, 3, 16, .76), transparent 84%);
  }

  body.site-vice.page-whitelist .whitelist-hero {
    min-height: 560px;
    margin-top: 26px;
    padding: 30px 24px 42px;
    border-radius: 24px;
  }

  body.site-vice.page-whitelist .whitelist-hero::before {
    background:
      linear-gradient(180deg, rgba(7, 3, 16, .22), rgba(7, 3, 16, .95)),
      linear-gradient(90deg, rgba(7, 3, 16, .62), transparent 82%);
  }

  body.site-vice.page-whitelist .whitelist-hero::after {
    inset: 10px;
    border-radius: 16px;
  }

  body.site-vice.page-whitelist .whitelist-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 10vw, 64px);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  body.site-vice.page-whitelist .panel,
  body.site-vice.page-whitelist #whitelist-form {
    border-radius: 20px;
    padding: 20px;
  }

  body.site-vice.page-reports .report-page-shell {
    padding-top: 28px;
  }

  body.site-vice.page-reports .report-public-copy {
    min-height: 570px;
    border-radius: 24px;
    padding: 28px 24px;
  }

  body.site-vice.page-reports .report-public-copy h1 {
    max-width: 100%;
    font-size: clamp(44px, 12vw, 64px);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  body.site-vice.page-reports .report-public-form {
    border-radius: 24px;
    padding: 22px;
  }

  body.site-vice.page-reports .report-kind-grid,
  body.site-vice.page-reports .report-form-row {
    grid-template-columns: 1fr;
  }

  body.site-vice.page-staff main {
    padding: 26px 14px 90px;
  }

  body.site-vice.page-staff .staff-head {
    min-height: 480px;
    padding: 30px 24px;
    border-radius: 24px;
    background-position: 62% center;
  }

  body.site-vice.page-staff .staff-head h1 {
    max-width: 100%;
    font-size: clamp(48px, 15vw, 70px);
  }

  body.site-vice.page-staff .staff-logo {
    position: absolute;
    top: 28px;
    right: 28px;
    opacity: .54;
  }

  body.site-vice.page-staff .staff-section-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  body.site-vice.page-staff .staff-section-nav .button {
    flex: 0 0 auto;
  }

  body.site-vice.page-legal .page-hero {
    margin-top: 26px;
    padding: 34px 24px;
    border-radius: 24px;
  }

  body.site-vice.page-legal .page-hero h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  body.site-vice.page-gallery .hidden-hero {
    min-height: 590px;
  }

  body.site-vice.page-gallery .gallery-carousel,
  body.site-vice.page-lore .narrative-gallery {
    border-radius: 24px;
  }
}

@media (max-width: 430px) {
  body.site-vice.page-whitelist .whitelist-hero {
    min-height: 520px;
  }

  body.site-vice.page-whitelist .whitelist-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 10.75vw, 46px);
    line-height: .82;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  body.site-vice.page-reports .report-process div {
    grid-template-columns: 30px 82px 1fr;
    gap: 8px;
  }

  body.site-vice.page-reports .report-public-copy {
    min-height: 540px;
  }

  body.site-vice.page-reports .report-public-copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(38px, 11.5vw, 48px);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }
}

html.motion-lite body.site-vice:not(.page-home) main::before,
html.motion-lite body.site-vice:not(.page-home) main::after {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body.site-vice:not(.page-home) main::before,
  body.site-vice:not(.page-home) main::after {
    animation: none !important;
  }
}
