:root {
  --bg: #05070c;
  --ink: #f6f8ff;
  --muted: #a6afc2;
  --panel: rgba(14, 18, 29, 0.42);
  --panel-strong: rgba(13, 20, 34, 0.58);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --blue: #3f82ff;
  --cyan: #70d7ff;
  --gold: #f5c95b;
  --milk: #fff0a8;
  --coral: #ff7c6f;
  --green: #6fffc5;
  --page-max: 1700px;
  --section-max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.16), rgba(5, 7, 12, 0.42) 42%, rgba(5, 7, 12, 0.68) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 140px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    var(--bg);
  letter-spacing: 0;
}

body.home-page {
  background:
    radial-gradient(circle at 50% 10%, rgba(112, 215, 255, 0.12), transparent 30%),
    radial-gradient(circle at 50% 76%, rgba(245, 201, 91, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.12), rgba(5, 7, 12, 0.34) 48%, rgba(5, 7, 12, 0.62) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 140px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(112, 215, 255, 0.08), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(245, 201, 91, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.02), rgba(5, 7, 12, 0.08) 48%, rgba(5, 7, 12, 0.22));
}

html.motion-preload body {
  overflow: hidden;
}

html.motion-preload body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(112, 215, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #05070c 0%, #09111d 44%, #05070c 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 12px max(clamp(18px, 4vw, 64px), calc((100vw - var(--page-max)) / 2 + 32px));
  background: rgba(5, 7, 12, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  height: 28px;
  padding: 0 9px;
  color: #080910;
  background: linear-gradient(90deg, var(--gold), var(--milk));
  border-radius: 4px;
}

.nav-links {
  gap: clamp(10px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.text-button:hover {
  color: var(--ink);
}

.text-button {
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.site-announcement {
  position: sticky;
  top: 64px;
  z-index: 18;
  width: min(var(--section-max), calc(100% - 48px));
  margin: 14px auto -2px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(112, 215, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(112, 215, 255, 0.14), rgba(245, 201, 91, 0.1) 42%, rgba(255, 124, 111, 0.1)),
    rgba(8, 12, 20, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.site-announcement::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.045) 72px 73px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.site-announcement > * {
  position: relative;
  z-index: 1;
}

.announcement-kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-announcement strong {
  color: var(--gold);
  white-space: nowrap;
}

.site-announcement p {
  min-width: 0;
  margin: 0;
  color: rgba(235, 241, 255, 0.9);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.site-contact {
  position: sticky;
  top: 64px;
  z-index: 18;
  width: min(var(--section-max), calc(100% - 48px));
  margin: 14px auto -2px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(112, 215, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(112, 215, 255, 0.12), rgba(245, 201, 91, 0.08) 42%, rgba(255, 124, 111, 0.08)),
    rgba(8, 12, 20, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.site-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.04) 72px 73px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.42;
  pointer-events: none;
}

.site-contact > * {
  position: relative;
  z-index: 1;
}

.contact-kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-contact strong {
  color: var(--gold);
  white-space: nowrap;
}

.site-contact p {
  min-width: 0;
  margin: 0;
  color: rgba(235, 241, 255, 0.9);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid rgba(112, 215, 255, 0.24);
  border-radius: 8px;
  background: rgba(112, 215, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #07101a;
  background: rgba(245, 201, 91, 0.84);
  border-color: rgba(245, 201, 91, 0.84);
}

.site-status {
  position: sticky;
  top: 64px;
  z-index: 19;
  width: min(var(--section-max), calc(100% - 48px));
  margin: 14px auto -2px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 124, 111, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 124, 111, 0.14), rgba(245, 201, 91, 0.08), rgba(112, 215, 255, 0.08)),
    rgba(8, 12, 20, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.site-status[data-type="warning"] {
  border-color: rgba(245, 201, 91, 0.36);
}

.site-status > * {
  position: relative;
  z-index: 1;
}

.status-kicker {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-status[data-type="warning"] .status-kicker {
  color: var(--gold);
}

.site-status strong {
  color: var(--gold);
  white-space: nowrap;
}

.site-status p {
  min-width: 0;
  margin: 0;
  color: rgba(235, 241, 255, 0.9);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 64px);
  overflow: hidden;
  display: grid;
  place-items: center start;
  padding: 86px max(clamp(20px, 5vw, 82px), calc((100vw - var(--page-max)) / 2 + 42px)) 92px;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 58%, rgba(5, 7, 12, 0.7), transparent 34%),
    linear-gradient(90deg, rgba(5, 7, 12, 0.84) 0%, rgba(5, 7, 12, 0.42) 38%, rgba(5, 7, 12, 0.16) 64%, rgba(5, 7, 12, 0.78) 100%),
    linear-gradient(180deg, rgba(66, 130, 255, 0.08), transparent 28%, rgba(245, 201, 91, 0.05) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 120px);
  z-index: -4;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 74px max(18px, calc((100vw - var(--page-max)) / 2 + 30px)) 52px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 54% 66%, rgba(5, 7, 12, 0.66), rgba(5, 7, 12, 0.4) 38%, transparent 66%),
    radial-gradient(ellipse at 84% 66%, rgba(5, 7, 12, 0.7), rgba(5, 7, 12, 0.36) 36%, transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 34%, rgba(255, 255, 255, 0.025)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,0.026) 42px 43px);
  opacity: 0.9;
  z-index: -2;
}

.ferrofluid-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
}

.ferrofluid-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.page-fluid {
  position: fixed;
  z-index: 1;
  opacity: 1;
  background: transparent;
  mix-blend-mode: screen;
  filter: none;
}

.page-fluid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
}

.page-fluid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
}

.home-fluid {
  position: fixed;
  z-index: 1;
  opacity: 1;
  mix-blend-mode: screen;
}

.home-fluid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
}

.home-fluid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
}

.page-fluid.ferrofluid-unavailable,
.home-fluid.ferrofluid-unavailable {
  background:
    repeating-linear-gradient(90deg, transparent 0 96px, rgba(112, 215, 255, 0.055) 96px 97px),
    repeating-linear-gradient(180deg, transparent 0 64px, rgba(255, 255, 255, 0.035) 64px 65px),
    radial-gradient(ellipse at 30% 34%, rgba(112, 215, 255, 0.24), transparent 34%),
    radial-gradient(ellipse at 68% 50%, rgba(245, 201, 91, 0.18), transparent 32%),
    radial-gradient(ellipse at 52% 74%, rgba(255, 124, 111, 0.14), transparent 36%);
}

.hero-fluid {
  z-index: -3;
  opacity: 0.76;
  mask-image: radial-gradient(circle at 54% 42%, black 0 34%, rgba(0, 0, 0, 0.62) 54%, transparent 82%);
}

.subpage-fluid {
  z-index: 0;
  opacity: 0.9;
  mask-image: radial-gradient(circle at 52% 44%, black 0 46%, rgba(0, 0, 0, 0.7) 64%, transparent 86%);
}

.hero-fluid.ferrofluid-skipped,
.subpage-fluid.ferrofluid-skipped {
  background:
    radial-gradient(circle at 52% 42%, rgba(112, 215, 255, 0.06), transparent 34%),
    radial-gradient(circle at 68% 58%, rgba(245, 201, 91, 0.04), transparent 30%);
  filter: none;
}

.hero-wide,
.hero-host {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero-ghost-title {
  position: absolute;
  left: min(56vw, calc((100vw - var(--page-max)) / 2 + 920px));
  top: 84px;
  width: min(680px, 46vw);
  transform: translateX(-50%);
  z-index: -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: rgba(246, 248, 255, 0.32);
  text-align: center;
  filter: blur(0.45px);
  text-shadow:
    0 0 18px rgba(112, 215, 255, 0.2),
    0 18px 44px rgba(0, 0, 0, 0.46);
  mix-blend-mode: screen;
}

.hero-ghost-title span {
  font-size: clamp(64px, 7vw, 124px);
  font-weight: 900;
  line-height: 0.88;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

.hero-ghost-title em,
.hero-ghost-title strong {
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-ghost-title em {
  color: rgba(245, 201, 91, 0.38);
  font-size: clamp(22px, 2vw, 34px);
}

.hero-ghost-title strong {
  padding: 2px 18px 6px;
  color: rgba(5, 7, 12, 0.72);
  background: rgba(245, 201, 91, 0.32);
  border-radius: 999px;
  font-size: clamp(22px, 2.3vw, 38px);
}

.hero-wide {
  width: min(23vw, 360px);
  top: 19vh;
  right: max(560px, calc((100vw - var(--page-max)) / 2 + 660px));
  opacity: 0.08;
  filter: saturate(0.82) blur(0.2px);
  z-index: -1;
}

.hero-host {
  right: max(-40px, calc((100vw - var(--page-max)) / 2 + 28px));
  bottom: -6vh;
  width: min(27vw, 430px);
  max-height: 80vh;
  object-fit: contain;
  object-position: bottom center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 48vw);
  margin-right: min(32vw, 540px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.title-art {
  display: block;
  width: min(620px, 92vw);
  margin: 0 0 12px;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.42));
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 20px;
}

.hero-copy,
.section-heading p,
.fine-print {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 580px;
  margin: 20px 0 0;
  font-size: 18px;
  color: #cad2e4;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: normal;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-action {
  color: #07101a;
  background: linear-gradient(90deg, var(--gold), var(--milk));
}

.secondary-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
}

.secondary-action.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.full {
  width: 100%;
}

.hero-status {
  position: absolute;
  right: max(48px, calc((100vw - var(--page-max)) / 2 + 84px));
  top: 104px;
  width: 176px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid rgba(245, 201, 91, 0.42);
  border-radius: 8px;
  background: rgba(10, 13, 20, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  z-index: 2;
}

.hero-status span,
.hero-status em {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.hero-status strong {
  display: block;
  margin: 6px 0;
  color: var(--gold);
  font-size: 38px;
}

.home-page .hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vh, 46px);
  min-height: calc(100vh - 64px);
  padding: 78px max(clamp(20px, 5vw, 82px), calc((100vw - var(--page-max)) / 2 + 42px)) 82px;
  text-align: center;
}

.home-page .hero-section::before {
  background:
    radial-gradient(ellipse at 50% 34%, rgba(112, 215, 255, 0.1), transparent 42%),
    radial-gradient(ellipse at 50% 74%, rgba(245, 201, 91, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.04), rgba(5, 7, 12, 0.14) 74%, rgba(5, 7, 12, 0.28)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 120px);
  opacity: 0.44;
  z-index: -4;
}

.home-page .hero-section::after {
  inset: 48px max(18px, calc((100vw - var(--page-max)) / 2 + 30px)) 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026), transparent 40%, rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,0.018) 42px 43px);
  opacity: 0.14;
}

.home-page .hero-fluid {
  opacity: 0.46;
  mask-image: radial-gradient(circle at 50% 44%, black 0 42%, rgba(0, 0, 0, 0.58) 62%, transparent 84%);
}

.home-page .hero-ghost-title {
  position: relative;
  left: auto;
  top: auto;
  width: min(100%, calc(100vw - 64px), 1000px);
  margin-inline: auto;
  transform: none;
  z-index: 1;
  gap: 14px;
  --hero-title-font: 144px;
  --hero-title-line-height: 0.96;
  color: rgba(246, 248, 255, 0.44);
  filter: blur(0.48px);
  text-align: center;
  justify-items: center;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.42),
    0 0 14px rgba(186, 235, 255, 0.34),
    0 0 34px rgba(112, 215, 255, 0.24);
  opacity: 1;
}

.home-page .hero-ghost-title h1 {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  margin-inline: auto;
  font-size: var(--hero-title-font);
  line-height: var(--hero-title-line-height);
  text-align: center;
  overflow-wrap: normal;
  text-wrap: balance;
  white-space: nowrap;
  word-break: keep-all;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}

.home-page .hero-ghost-title h1[data-title-wrap="balanced"] {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

.home-page .hero-ghost-title h1[data-title-wrap="single"] {
  white-space: nowrap;
}

.home-page .hero-ghost-title em {
  color: rgba(245, 201, 91, 0.62);
  font-size: 36px;
  text-shadow:
    0 0 1px rgba(255, 238, 181, 0.34),
    0 0 16px rgba(245, 201, 91, 0.24);
}

.home-page .hero-ghost-title strong {
  display: inline-block;
  padding: 4px 22px 8px;
  color: rgba(5, 7, 12, 0.78);
  background: rgba(245, 201, 91, 0.44);
  box-shadow:
    0 0 1px rgba(255, 241, 190, 0.34),
    0 0 18px rgba(245, 201, 91, 0.18);
  border-radius: 999px;
  font-size: 38px;
  line-height: 1;
}

.home-page .hero-content {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.12);
  backdrop-filter: blur(12px);
  opacity: 0.84;
}

.home-page .hero-copy {
  width: min(100%, 22ch);
  margin: 0 auto;
  color: rgba(216, 224, 238, 0.86);
  text-align: center;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: normal;
}

.home-page .hero-actions {
  justify-content: center;
  margin-top: 20px;
}

.quick-grid,
.rules-grid,
.member-grid,
.vote-layout,
.clip-grid {
  width: min(var(--section-max), calc(100% - 48px));
  margin: 0 auto;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  transform: translateY(-34px);
  position: relative;
  z-index: 3;
}

.metric-card,
.form-panel,
.ranking-panel,
.member-card,
.clip-card,
.clip-empty,
.privacy-card,
.rules-grid article,
.admin-panel,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 20px 60px rgba(0, 0, 0, 0.26);
}

.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: calc(var(--edge-sensitivity) + 18);
  --border-radius: 8px;
  --glow-padding: 34px;
  --cone-spread: 24;
  --fill-opacity: 0.18;
  --rest-border-opacity: 0.12;
  --card-bg: rgba(14, 18, 29, 0.46);
  position: relative;
  border-radius: var(--border-radius);
  isolation: isolate;
}

.border-glow-card > .glow-border,
.border-glow-card > .glow-fill,
.border-glow-card > .edge-light {
  display: block;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.24s ease-out;
}

.border-glow-card:not(:hover):not(.sweep-active) > .glow-border {
  opacity: var(--rest-border-opacity);
  transition: opacity 0.7s ease-in-out;
}

.border-glow-card:not(:hover):not(.sweep-active) > .glow-fill,
.border-glow-card:not(:hover):not(.sweep-active) > .edge-light {
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.border-glow-card > .glow-border {
  z-index: 1;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0 100%) border-box,
    var(--gradient-one, radial-gradient(at 80% 55%, #f5c95b 0, transparent 50%)) border-box,
    var(--gradient-two, radial-gradient(at 69% 34%, #70d7ff 0, transparent 50%)) border-box,
    var(--gradient-three, radial-gradient(at 8% 6%, #ffffff 0, transparent 50%)) border-box,
    var(--gradient-four, radial-gradient(at 41% 38%, #f5c95b 0, transparent 50%)) border-box,
    var(--gradient-five, radial-gradient(at 86% 85%, #70d7ff 0, transparent 50%)) border-box,
    var(--gradient-six, radial-gradient(at 82% 18%, #ffffff 0, transparent 50%)) border-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, #70d7ff 0, transparent 50%)) border-box,
    var(--gradient-base, linear-gradient(#f5c95b 0 100%)) border-box;
  opacity: max(0, calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity))));
  -webkit-mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black calc(var(--cone-spread) * 1%),
      transparent calc((var(--cone-spread) + 15) * 1%),
      transparent calc((100 - var(--cone-spread) - 15) * 1%),
      black calc((100 - var(--cone-spread)) * 1%)
    );
  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black calc(var(--cone-spread) * 1%),
      transparent calc((var(--cone-spread) + 15) * 1%),
      transparent calc((100 - var(--cone-spread) - 15) * 1%),
      black calc((100 - var(--cone-spread)) * 1%)
    );
}

.border-glow-card > .glow-fill {
  z-index: 0;
  background:
    var(--gradient-one, radial-gradient(at 80% 55%, #f5c95b 0, transparent 50%)),
    var(--gradient-two, radial-gradient(at 69% 34%, #70d7ff 0, transparent 50%)),
    var(--gradient-three, radial-gradient(at 8% 6%, #ffffff 0, transparent 50%)),
    var(--gradient-four, radial-gradient(at 41% 38%, #f5c95b 0, transparent 50%)),
    var(--gradient-five, radial-gradient(at 86% 85%, #70d7ff 0, transparent 50%)),
    var(--gradient-six, radial-gradient(at 82% 18%, #ffffff 0, transparent 50%)),
    var(--gradient-seven, radial-gradient(at 51% 4%, #70d7ff 0, transparent 50%)),
    var(--gradient-base, linear-gradient(#f5c95b 0 100%));
  opacity: max(0, calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity))));
  mix-blend-mode: soft-light;
  -webkit-mask-image:
    radial-gradient(ellipse at 50% 50%, black 28%, transparent 68%),
    conic-gradient(from var(--cursor-angle) at center, transparent 8%, black 18%, black 82%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse at 50% 50%, black 28%, transparent 68%),
    conic-gradient(from var(--cursor-angle) at center, transparent 8%, black 18%, black 82%, transparent 92%);
  mask-composite: intersect;
}

.border-glow-card > .edge-light {
  inset: 0;
  z-index: 4;
  opacity: max(0, calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity))));
  mix-blend-mode: screen;
  -webkit-mask-image:
    conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 11%, transparent 89%, black 97.5%);
  mask-image:
    conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 11%, transparent 89%, black 97.5%);
}

.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color, hsl(43deg 88% 67% / 100%)),
    inset 0 0 2px 0 var(--glow-color-60, hsl(43deg 88% 67% / 60%)),
    inset 0 0 5px 0 var(--glow-color-50, hsl(43deg 88% 67% / 50%)),
    inset 0 0 12px 0 var(--glow-color-40, hsl(43deg 88% 67% / 40%)),
    inset 0 0 22px 2px var(--glow-color-30, hsl(43deg 88% 67% / 30%)),
    inset 0 0 42px 2px var(--glow-color-20, hsl(43deg 88% 67% / 20%)),
    0 0 2px 0 var(--glow-color-60, hsl(43deg 88% 67% / 60%)),
    0 0 6px 0 var(--glow-color-50, hsl(43deg 88% 67% / 50%)),
    0 0 18px 0 var(--glow-color-30, hsl(43deg 88% 67% / 30%)),
    0 0 34px 2px var(--glow-color-20, hsl(43deg 88% 67% / 20%));
}

.glow-member {
  --edge-sensitivity: 22;
  --glow-padding: 46px;
  --cone-spread: 27;
  --fill-opacity: 0.28;
  --rest-border-opacity: 0.16;
}

.glow-entry {
  --edge-sensitivity: 24;
  --glow-padding: 42px;
  --cone-spread: 26;
  --fill-opacity: 0.24;
  --rest-border-opacity: 0.14;
}

.glow-panel {
  --edge-sensitivity: 32;
  --glow-padding: 30px;
  --cone-spread: 22;
  --fill-opacity: 0.14;
  --rest-border-opacity: 0.1;
}

.glow-quiet,
.glow-rule {
  --edge-sensitivity: 36;
  --glow-padding: 24px;
  --cone-spread: 20;
  --fill-opacity: 0.1;
  --rest-border-opacity: 0.08;
}

.metric-card > :not(.glow-border):not(.glow-fill):not(.edge-light),
.form-panel > :not(.glow-border):not(.glow-fill):not(.edge-light),
.ranking-panel > :not(.glow-border):not(.glow-fill):not(.edge-light),
.signup-form > :not(.glow-border):not(.glow-fill):not(.edge-light),
.subpage-status > :not(.glow-border):not(.glow-fill):not(.edge-light),
.rules-grid article > :not(.glow-border):not(.glow-fill):not(.edge-light) {
  position: relative;
  z-index: 2;
}

.metric-card {
  min-height: 92px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 45%),
    rgba(14, 18, 29, 0.64);
}

.metric-card span,
.member-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: clamp(20px, 3vw, 30px);
}

.section-band {
  position: relative;
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.vote-band,
.entry-band,
.guest-band,
.members-band {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 42%);
}

.signup-band,
.rules-band {
  background: linear-gradient(180deg, rgba(63, 130, 255, 0.035), transparent 46%);
}

.entry-grid {
  width: min(var(--section-max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.entry-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(14, 18, 29, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 70px rgba(0, 0, 0, 0.28);
}

.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 82px, rgba(255, 255, 255, 0.035) 82px 83px),
    repeating-linear-gradient(180deg, transparent 0 54px, rgba(255, 255, 255, 0.025) 54px 55px);
  opacity: 0.62;
  pointer-events: none;
  z-index: 1;
}

.entry-card::after {
  content: "进入";
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #07101a;
  background: linear-gradient(135deg, var(--gold), var(--milk));
  border-radius: 50%;
  font-weight: 900;
  pointer-events: none;
  z-index: 3;
}

.entry-card span,
.entry-card strong,
.entry-card em {
  position: relative;
  z-index: 2;
}

.entry-card span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.entry-card strong {
  max-width: 640px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
}

.entry-card em {
  max-width: 520px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.entry-card[data-vote-state="closed"] {
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
}

.entry-card[data-vote-state="closed"]::after,
.entry-card[data-vote-state="closed"] span,
.entry-card[data-vote-state="closed"] em {
  display: none;
}

.entry-card[data-vote-state="closed"] strong {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: keep-all;
}

.entry-vote {
  background:
    linear-gradient(135deg, rgba(245, 201, 91, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(14, 18, 29, 0.44), rgba(8, 11, 18, 0.48));
}

.entry-signup {
  background:
    linear-gradient(135deg, rgba(112, 215, 255, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(13, 24, 36, 0.44), rgba(8, 11, 18, 0.48));
}

.discussion-band {
  gap: 20px;
}

.discussion-layout {
  width: min(var(--section-max), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.discussion-form,
.discussion-list {
  padding: 22px;
}

.discussion-form {
  display: grid;
  gap: 14px;
}

.discussion-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 800;
}

.discussion-form input,
.discussion-form textarea {
  width: 100%;
}

.discussion-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.discussion-actions .form-message {
  flex: 1;
}

.discussion-list {
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: clamp(360px, 56vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 224, 138, 0.45) rgba(255, 255, 255, 0.06);
}

.discussion-list::-webkit-scrollbar {
  width: 8px;
}

.discussion-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.discussion-list::-webkit-scrollbar-thumb {
  background: rgba(255, 224, 138, 0.42);
  border-radius: 999px;
}

.discussion-empty {
  margin: 0;
  color: var(--muted);
}

.discussion-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.36);
}

.discussion-item div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.discussion-item strong {
  font-size: 15px;
}

.discussion-item span {
  color: var(--muted);
  font-size: 12px;
}

.discussion-item p {
  margin: 0;
  color: rgba(224, 232, 246, 0.9);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.subpage-hero {
  position: relative;
  isolation: isolate;
  width: min(var(--section-max), calc(100% - 48px));
  min-height: 380px;
  margin: 0 auto;
  padding: 88px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: 32px;
  align-items: end;
}

.subpage-hero > div:not(.ferrofluid-layer),
.subpage-status {
  position: relative;
  z-index: 1;
}

.subpage-hero h1 {
  max-width: 1000px;
  font-size: clamp(42px, 5.2vw, 86px);
}

.subpage-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
}

.subpage-status {
  min-height: 156px;
  padding: 22px;
  border: 1px solid rgba(245, 201, 91, 0.36);
  border-radius: 8px;
  background: rgba(14, 18, 29, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 24px 70px rgba(0, 0, 0, 0.24);
}

.subpage-status span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.subpage-status strong {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-family: inherit;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: normal;
  word-break: keep-all;
}

.subpage-status .status-date,
.subpage-status .status-time {
  display: block;
  font: inherit;
  white-space: nowrap;
}

.subpage-status .status-time {
  margin-top: 4px;
}

.section-heading {
  width: min(var(--section-max), calc(100% - 48px));
  margin: 0 auto 34px;
}

.section-heading h2 + p,
.section-heading h1 + p {
  max-width: 760px;
}

.vote-layout {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: 20px;
}

.vote-access-gate {
  width: min(var(--section-max), calc(100% - 48px));
  margin: 0 auto 20px;
  padding: 26px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.vote-access-gate h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(24px, 3.6vw, 46px);
  line-height: 1.14;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

body[data-vote-access="closed"] .subpage-hero {
  display: none;
}

body[data-vote-access="open"] .vote-access-gate {
  display: none;
}

body[data-vote-access="closed"] .vote-layout {
  display: none;
}

body[data-vote-access="closed"] .vote-band {
  padding-top: 56px;
}

body[data-vote-access="closed"] .vote-access-gate {
  min-height: auto;
  padding: 28px 24px;
}

a[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
  opacity: 0.6;
}

.form-panel,
.ranking-panel,
.signup-form {
  padding: 22px;
}

.form-panel.compact {
  width: min(420px, 100%);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  color: var(--ink);
  background: rgba(8, 12, 20, 0.46);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 10px 12px;
}

input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  padding: 0;
  accent-color: var(--gold);
}

[hidden] {
  display: none !important;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px;
  color: rgba(216, 224, 238, 0.78);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  background: rgba(8, 12, 20, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.consent-row input {
  margin-top: 2px;
}

.consent-row span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.consent-row a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
}

.form-panel,
.signup-form {
  display: grid;
  gap: 16px;
}

.signup-form {
  width: min(var(--section-max), calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wide {
  grid-column: 1 / -1;
}

.field-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-message[data-type="success"] {
  color: var(--green);
}

.form-message[data-type="error"] {
  color: var(--coral);
}

.submission-result {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(112, 215, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(112, 215, 255, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(12, 19, 31, 0.68), rgba(8, 11, 18, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 50px rgba(0, 0, 0, 0.22);
}

.submission-result[hidden] {
  display: none;
}

.submission-result::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 201, 91, 0.16), transparent 36%, rgba(112, 215, 255, 0.12)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, 0.035) 70px 71px);
  opacity: 0.72;
  pointer-events: none;
}

.submission-result > * {
  position: relative;
  z-index: 1;
}

.submission-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.submission-result h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.12;
}

.form-panel .submission-result h3 {
  font-size: clamp(21px, 2vw, 28px);
}

.submission-result p {
  margin: 0;
  color: rgba(224, 232, 246, 0.86);
  line-height: 1.65;
}

.submission-meta,
.submission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.submission-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: rgba(235, 241, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.32);
  font-size: 12px;
}

.result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

button.result-action {
  font: inherit;
  cursor: pointer;
}

.result-action-primary {
  color: #080910;
  border-color: transparent;
  background: linear-gradient(90deg, var(--gold), var(--milk));
  font-weight: 800;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title span {
  color: var(--gold);
  font-size: 13px;
  white-space: nowrap;
}

.ranking-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  background: rgba(8, 12, 20, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.ranking-empty {
  grid-template-columns: 1fr !important;
  color: var(--muted);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #07101a;
  background: var(--gold);
  border-radius: 6px;
  font-weight: 900;
}

.ranking-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ranking-list em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guest-showcase-grid {
  width: min(var(--section-max), calc(100% - 48px));
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

.guest-showcase-section {
  display: grid;
  gap: 14px;
}

.guest-section-title {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
}

.guest-section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.guest-card-grid {
  display: grid;
  grid-template-columns: repeat(var(--guest-card-columns, 1), minmax(0, 1fr));
  gap: 14px;
}

.guest-card {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  padding: 20px;
}

.guest-card img {
  position: absolute;
  right: 50%;
  bottom: -4%;
  width: 96%;
  height: auto;
  transform: translateX(50%);
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
}

.guest-card div {
  position: relative;
  z-index: 3;
}

.guest-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1;
}

.member-card {
  position: relative;
  display: block;
  color: inherit;
  min-height: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 28px;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 42%),
    repeating-linear-gradient(180deg, transparent 0 38px, rgba(255, 255, 255, 0.02) 38px 39px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

.member-card img {
  position: absolute;
  right: 50%;
  bottom: -10%;
  height: auto;
  width: min(94%, 360px);
  transform: translateX(50%);
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  z-index: 2;
}

.member-card div {
  position: relative;
  max-width: 420px;
  z-index: 3;
}

.member-card h3 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.member-card p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
}

.member-portrait {
  min-height: 0;
}

.member-rc {
  background: linear-gradient(145deg, rgba(16, 36, 74, 0.48), rgba(11, 12, 18, 0.54));
}

.member-rc img {
  bottom: -12%;
  width: 99%;
}

.member-luwu {
  background: linear-gradient(145deg, rgba(20, 20, 24, 0.52), rgba(51, 54, 63, 0.34));
}

.member-luwu img {
  bottom: -6%;
  width: 92%;
}

.member-kele {
  background: linear-gradient(145deg, rgba(35, 89, 110, 0.38), rgba(90, 78, 33, 0.46));
}

.member-kele img {
  bottom: -2%;
  width: 72.5%;
}

.guest-card {
  background: linear-gradient(145deg, rgba(33, 51, 67, 0.48), rgba(43, 36, 58, 0.4));
}

.guest-card.member-card {
  padding: 20px;
}

.guest-card.member-card img {
  bottom: -4%;
  width: 96%;
  max-width: none;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rules-grid article {
  min-height: 160px;
  padding: 20px;
}

.rules-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.privacy-band {
  padding-top: 72px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--section-max), calc(100% - 48px));
  margin: 0 auto;
}

.privacy-card {
  min-height: 260px;
  padding: 22px;
  background: rgba(14, 18, 29, 0.46);
}

.privacy-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--cyan);
  background: rgba(112, 215, 255, 0.08);
  border: 1px solid rgba(112, 215, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.privacy-card h2 {
  margin: 26px 0 12px;
  font-size: clamp(24px, 2.2vw, 36px);
}

.privacy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.privacy-contact {
  width: min(var(--section-max), calc(100% - 48px));
  margin: 20px auto 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

.privacy-contact a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.not-found-hero {
  min-height: calc(100vh - 132px);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.clip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.clip-context-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(var(--section-max), calc(100% - 48px));
  margin: -18px auto 24px;
  position: relative;
  z-index: 3;
}

.clip-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(var(--section-max), calc(100% - 48px));
  margin: -18px auto 22px;
}

.clip-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  color: var(--muted);
  background: rgba(8, 12, 20, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.clip-filter em {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  color: var(--cyan);
  border: 1px solid rgba(112, 215, 255, 0.18);
  border-radius: 999px;
  background: rgba(112, 215, 255, 0.08);
  font-style: normal;
  font-size: 12px;
}

.clip-filter:hover,
.clip-filter:focus-visible,
.clip-filter.is-active {
  color: var(--ink);
  background: rgba(112, 215, 255, 0.12);
  border-color: rgba(112, 215, 255, 0.45);
}

.clip-card {
  overflow: hidden;
  background: rgba(14, 18, 29, 0.38);
}

.clip-card.is-featured {
  border-color: rgba(245, 201, 91, 0.3);
}

.clip-media-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.clip-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 24%, rgba(112, 215, 255, 0.16), transparent 34%),
    rgba(5, 7, 12, 0.58);
}

.clip-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(5, 7, 12, 0.36)),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, 0.035) 9px 10px);
}

.clip-media video,
.clip-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.clip-media-button:hover .clip-media video,
.clip-media-button:hover .clip-media img,
.clip-media-button:focus-visible .clip-media video,
.clip-media-button:focus-visible .clip-media img {
  transform: scale(1.035);
}

.clip-play-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  min-width: 48px;
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  color: #080910;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--milk));
  border-radius: 8px;
}

.clip-copy {
  padding: 18px;
}

.clip-copy span,
.clip-empty span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.clip-copy h3,
.clip-empty strong {
  display: block;
  margin: 10px 0 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.12;
}

.clip-copy p,
.clip-empty p {
  color: var(--muted);
  line-height: 1.7;
}

.clip-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.clip-copy em {
  display: inline-block;
  margin-top: 6px;
  color: var(--gold);
  font-style: normal;
  font-size: 13px;
}

.clip-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(112, 215, 255, 0.12), transparent 38%),
    rgba(14, 18, 29, 0.42);
}

.clip-empty[data-state="loading"],
.clip-empty[data-state="error"] {
  min-height: 180px;
}

.clip-empty[data-state="loading"] strong::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  animation: clip-loading-dots 1.1s steps(4, end) infinite;
}

@keyframes clip-loading-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

body.clip-modal-open {
  overflow: hidden;
}

.clip-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}

.clip-modal.hidden {
  display: none;
}

.clip-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.72);
  backdrop-filter: blur(14px);
}

.clip-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(82vh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.9);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
}

.clip-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  background: rgba(5, 7, 12, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

.clip-modal-media {
  min-height: 240px;
  max-height: 62vh;
  background: rgba(2, 4, 8, 0.74);
}

.clip-modal-media img,
.clip-modal-media video {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
}

.clip-modal-copy {
  padding: 18px 22px 22px;
}

.clip-modal-copy span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.clip-modal-copy h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
}

.clip-modal-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.admin-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.admin-login {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.hidden {
  display: none !important;
}

.admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.period-select {
  width: min(240px, 100%);
}

.admin-toolbar-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-backup-message {
  min-width: min(260px, 100%);
  margin: 0;
  text-align: right;
}

.admin-panel {
  margin-top: 26px;
  padding: 18px;
}

.discussion-admin-panel {
  display: grid;
  gap: 14px;
}

.keyword-admin-panel {
  display: grid;
  gap: 14px;
}

.keyword-rule-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 220px) minmax(160px, 200px);
  gap: 12px;
}

.keyword-rule-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.keyword-rule-form textarea,
.keyword-rule-form input,
.keyword-rule-form select {
  width: 100%;
}

.keyword-table {
  min-width: 1380px;
}

.keyword-table th,
.keyword-table td {
  vertical-align: top;
}

.keyword-table .keyword-enabled {
  width: 56px;
}

.keyword-table .keyword-term,
.keyword-table .keyword-note,
.keyword-table .keyword-aliases {
  width: 100%;
}

.keyword-table .keyword-term {
  min-width: 110px;
}

.keyword-table .keyword-note,
.keyword-table .keyword-aliases {
  min-height: 72px;
  resize: vertical;
}

.keyword-table .keyword-action {
  min-width: 132px;
}

.keyword-table .keyword-count,
.keyword-table .keyword-hit-time {
  white-space: nowrap;
}

.keyword-table .table-actions {
  justify-content: flex-start;
}

.keyword-log-panel {
  display: grid;
  gap: 12px;
}

.keyword-log-list {
  display: grid;
  gap: 10px;
}

.keyword-log-item {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.28);
}

.keyword-log-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.keyword-log-head strong {
  font-size: 14px;
}

.keyword-log-meta,
.keyword-log-hits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 12px;
}

.keyword-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: var(--cyan);
  border: 1px solid rgba(112, 215, 255, 0.16);
  border-radius: 999px;
  background: rgba(112, 215, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.keyword-chip[data-action="reject"] {
  color: #ffd4d1;
  background: rgba(255, 124, 111, 0.14);
  border-color: rgba(255, 124, 111, 0.22);
}

.keyword-chip[data-action="review"] {
  color: #d7e7ff;
  background: rgba(112, 215, 255, 0.12);
  border-color: rgba(112, 215, 255, 0.2);
}

.keyword-chip[data-action="log"] {
  color: #f1e5c0;
  background: rgba(245, 201, 91, 0.1);
  border-color: rgba(245, 201, 91, 0.18);
}

.comment-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 180px) auto;
  gap: 12px;
  align-items: end;
}

.comment-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.comment-toolbar input,
.comment-toolbar select {
  width: 100%;
}

.comment-table {
  min-width: 1180px;
}

.comment-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.comment-status-pending {
  color: #d7e7ff;
  background: rgba(112, 215, 255, 0.16);
}

.comment-status-approved {
  color: #d4ffdf;
  background: rgba(73, 214, 126, 0.16);
}

.comment-status-rejected {
  color: #ffd4d1;
  background: rgba(255, 124, 111, 0.16);
}

.comment-status-deleted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.admin-overview {
  display: grid;
  gap: 16px;
}

.guest-admin-panel {
  display: grid;
  gap: 18px;
}

.guest-settings-form {
  display: grid;
  gap: 18px;
}

.guest-admin-section {
  display: grid;
  gap: 14px;
}

.guest-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.guest-card-editor {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.32);
}

.guest-card-editor label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.guest-image-preview {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(112, 215, 255, 0.12), transparent 40%),
    rgba(5, 7, 12, 0.64);
}

.guest-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-image-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-stat-grid article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(112, 215, 255, 0.08), transparent 42%),
    rgba(8, 12, 20, 0.34);
}

.admin-stat-grid span,
.admin-insight-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-stat-grid strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
}

.admin-stat-grid em {
  min-height: 20px;
  color: var(--gold);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.admin-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-insight-grid div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.28);
}

.admin-insight-grid strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.announcement-form {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(260px, 0.58fr);
  gap: 16px;
}

.clip-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.switch-row span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.announcement-actions .form-message {
  flex: 1;
}

.admin-clip-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-clip-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.34);
}

.admin-clip-item.is-unpublished {
  opacity: 0.72;
}

.admin-clip-preview {
  width: 170px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 24%, rgba(112, 215, 255, 0.14), transparent 36%),
    rgba(5, 7, 12, 0.62);
}

.admin-clip-preview img,
.admin-clip-preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-clip-editor {
  display: grid;
  gap: 10px;
}

.admin-clip-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-clip-meta span {
  color: var(--muted);
  font-size: 12px;
}

.admin-clip-meta em {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 8px;
  color: #080910;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--milk));
  border-radius: 8px;
}

.admin-clip-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) 120px;
  gap: 10px;
}

.admin-clip-fields label {
  font-size: 12px;
}

.admin-clip-fields input,
.admin-clip-fields textarea {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
}

.clip-switch {
  align-content: center;
  grid-template-columns: auto minmax(0, 1fr);
}

.clip-row-message {
  min-height: 18px;
  margin: 0;
}

.admin-clip-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 76px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-data-scroll {
  max-height: clamp(360px, 54vh, 560px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 224, 138, 0.45) rgba(255, 255, 255, 0.06);
}

.admin-data-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.admin-data-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.admin-data-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 224, 138, 0.42);
  border-radius: 999px;
}

.admin-data-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(8, 11, 18, 0.96);
}

table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th {
  color: var(--gold);
}

td input,
td select {
  min-width: 130px;
  min-height: 36px;
  padding: 7px 8px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.danger-action {
  color: var(--coral);
  border-color: rgba(255, 124, 111, 0.32);
}

.danger-action:hover,
.danger-action:focus-visible {
  color: #080910;
  background: rgba(255, 124, 111, 0.86);
  border-color: rgba(255, 124, 111, 0.86);
}

.long-cell {
  min-width: 190px;
  max-width: 360px;
  color: var(--muted);
  line-height: 1.55;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
}

body.motion-opening {
  overflow: hidden;
}

.opening-stage {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 44%, rgba(112, 215, 255, 0.22), transparent 34%),
    radial-gradient(circle at 54% 58%, rgba(245, 201, 91, 0.12), transparent 36%),
    linear-gradient(135deg, #05070c 0%, #09111d 44%, #05070c 100%);
  pointer-events: none;
  contain: layout paint style;
}

.opening-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(255, 255, 255, 0.05) 90px 91px),
    repeating-linear-gradient(180deg, transparent 0 60px, rgba(255, 255, 255, 0.035) 60px 61px);
  opacity: 0.6;
}

.opening-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 18%, rgba(112, 215, 255, 0.2) 42%, rgba(245, 201, 91, 0.18) 50%, transparent 72%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 8px);
  opacity: 0.52;
  mix-blend-mode: screen;
}

.opening-slab {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.opening-slab-gold {
  background: linear-gradient(90deg, rgba(245, 201, 91, 0.94), rgba(255, 240, 168, 0.86));
}

.opening-slab-cyan {
  background: linear-gradient(90deg, rgba(112, 215, 255, 0.72), rgba(63, 130, 255, 0.28));
}

.opening-slab-night {
  background: linear-gradient(90deg, rgba(5, 7, 12, 0.96), rgba(8, 14, 23, 0.84));
}

.opening-mask {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 50%;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98), rgba(11, 19, 31, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 112px, rgba(255, 255, 255, 0.055) 112px 113px);
  will-change: transform;
}

.opening-mask-top {
  top: 0;
  transform-origin: center top;
}

.opening-mask-bottom {
  bottom: 0;
  transform-origin: center bottom;
}

.opening-frame {
  position: absolute;
  inset: 11vh 8vw;
  z-index: 2;
  border: 1px solid rgba(245, 201, 91, 0.38);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(112, 215, 255, 0.12),
    0 0 90px rgba(112, 215, 255, 0.16),
    0 0 42px rgba(245, 201, 91, 0.08);
  transform-origin: center;
  will-change: transform, opacity;
}

.opening-word {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  text-transform: uppercase;
  transform-origin: center;
  will-change: transform, opacity;
}

.opening-word strong {
  font-size: clamp(48px, 11vw, 168px);
  line-height: 0.85;
  font-weight: 900;
  white-space: nowrap;
}

.opening-word span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.opening-line {
  position: absolute;
  left: 12vw;
  right: 12vw;
  bottom: 18vh;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 201, 91, 0.8), rgba(112, 215, 255, 0.65), transparent);
  transform: scaleX(0);
  transform-origin: center;
  will-change: transform, opacity;
}

.motion-reveal-card {
  transform-origin: 50% 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .opening-stage {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .discussion-layout,
  .comment-toolbar {
    grid-template-columns: 1fr;
  }

  .discussion-list {
    max-height: min(440px, 62vh);
  }

  .keyword-rule-form {
    grid-template-columns: 1fr;
  }

  .keyword-table {
    min-width: 1240px;
  }

  .admin-data-scroll {
    max-height: min(480px, 62vh);
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    place-items: unset;
    padding: 48px 18px 28px;
  }

  .hero-content {
    order: 1;
    width: 100%;
    margin: 0;
  }

  .home-page .hero-section {
    align-items: center;
    gap: 22px;
    padding: 54px 18px 42px;
    text-align: center;
  }

  .home-page .hero-ghost-title {
    width: min(100%, calc(100vw - 36px), 520px);
    gap: 10px;
    --hero-title-font: 74px;
    --hero-title-line-height: 1;
    margin-inline: auto;
    text-align: center;
    justify-items: center;
  }

  .home-page .hero-ghost-title h1 {
    font-size: var(--hero-title-font);
  }

  .home-page .hero-ghost-title em {
    font-size: 18px;
  }

  .home-page .hero-ghost-title strong {
    font-size: 20px;
    padding: 3px 14px 6px;
  }

  .home-page .hero-content {
    order: 2;
    width: min(100%, 350px);
    padding: 16px;
  }

  .home-page .hero-copy {
    width: min(100%, 18ch);
    margin: 0 auto;
  }

  .home-page .hero-actions {
    justify-content: center;
  }

  .hero-ghost-title {
    top: 84px;
    left: 50%;
    width: 92vw;
    opacity: 0.54;
    transform: translateX(-50%);
  }

  .hero-ghost-title span {
    font-size: clamp(42px, 15vw, 74px);
  }

  .hero-ghost-title em {
    font-size: 20px;
  }

  .hero-ghost-title strong {
    font-size: 20px;
  }

  .hero-host {
    order: 3;
    position: relative;
    align-self: flex-end;
    right: auto;
    bottom: auto;
    width: min(72vw, 320px);
    max-height: none;
    margin: 24px -18px -28px 0;
    opacity: 1;
    z-index: 0;
  }

  .hero-wide {
    display: none;
  }

  .hero-status {
    order: 2;
    position: static;
    width: 100%;
    min-height: auto;
    margin-top: 28px;
    z-index: 1;
  }

  .quick-grid,
  .vote-layout,
  .signup-form,
  .announcement-form,
  .clip-upload-form,
  .clip-grid,
  .privacy-grid,
  .admin-stat-grid,
  .admin-insight-grid,
  .guest-admin-grid,
  .entry-grid,
  .subpage-hero,
  .member-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .guest-card-grid {
    grid-template-columns: repeat(var(--guest-card-mobile-columns, 1), minmax(0, 1fr));
  }

  .entry-grid,
  .guest-showcase-grid,
  .subpage-hero,
  .site-announcement,
  .site-contact {
    width: min(100% - 36px, var(--section-max));
  }

  .site-announcement {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    margin-top: 10px;
  }

  .site-contact {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    margin-top: 10px;
  }

  .contact-link {
    width: fit-content;
  }

  .site-status {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    width: min(100% - 36px, var(--section-max));
    margin-top: 10px;
  }

  .submission-actions {
    flex-direction: column;
  }

  .result-action {
    width: 100%;
  }

  .entry-card {
    min-height: 240px;
    padding: 24px;
  }

  .entry-card::after {
    width: 60px;
    height: 60px;
    top: 22px;
    right: 22px;
  }

  .subpage-hero {
    min-height: auto;
    padding: 54px 0 12px;
  }

  .quick-grid {
    transform: none;
    padding-top: 18px;
  }

  .member-grid {
    grid-template-rows: none;
  }

  .guest-section-title {
    align-items: start;
    flex-direction: column;
  }

  .member-card {
    aspect-ratio: 3 / 4;
    padding: 20px;
  }

  .member-card div {
    max-width: 100%;
  }

  .member-card p {
    max-width: none;
  }

  .member-card img {
    top: auto;
    bottom: -6%;
    right: 50%;
    width: min(88%, 330px);
    transform: translateX(50%);
  }

  .member-kele img {
    bottom: -2%;
    width: 72.5%;
  }

  .member-rc img {
    bottom: -12%;
    width: 99%;
  }

  .member-luwu img {
    bottom: -6%;
    width: 92%;
  }

  .guest-card.member-card img {
    bottom: -4%;
    width: 96%;
    max-width: none;
  }


  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar-actions {
    justify-content: stretch;
  }

  .admin-toolbar-actions > * {
    width: 100%;
  }

  .admin-backup-message {
    text-align: left;
  }

  .admin-overview .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-overview .panel-title h2 {
    margin: 0;
    font-size: clamp(32px, 11vw, 48px);
    line-height: 1.08;
    word-break: keep-all;
  }

  .admin-overview .panel-title span {
    white-space: normal;
    line-height: 1.45;
  }

  .admin-clip-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-clip-preview {
    width: min(360px, 100%);
  }

  .admin-clip-fields {
    grid-template-columns: 1fr;
  }

  .admin-clip-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .border-glow-card {
    overflow: hidden;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy {
    width: min(100%, 18ch);
    margin-inline: auto;
    font-size: 16px;
  }

  .title-art {
    width: 100%;
  }

  .hero-actions,
  .site-footer,
  .announcement-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-band {
    padding: 52px 0;
  }

  .ranking-list li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .ranking-list em {
    grid-column: 2;
  }

  .clip-filter-bar {
    width: min(100% - 36px, var(--section-max));
  }

  .clip-context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 36px, var(--section-max));
    margin-top: 10px;
  }

  .clip-filter {
    flex: 1 1 calc(50% - 8px);
  }

  .clip-empty-actions {
    flex-direction: column;
  }

  .clip-modal {
    padding: 12px;
  }

  .clip-modal-panel {
    max-height: 88vh;
  }

  .clip-modal-media,
  .clip-modal-media img,
  .clip-modal-media video {
    max-height: 56vh;
  }

  .privacy-grid {
    width: min(100% - 36px, var(--section-max));
  }

  .privacy-contact {
    width: min(100% - 36px, var(--section-max));
  }

  .privacy-card {
    min-height: auto;
  }
}
