:root {
  --bg: #07040e;
  --ink: #f4edff;
  --muted: #b7a7cc;
  --line: rgba(196, 181, 253, 0.16);
  --card: rgba(14, 8, 24, 0.62);
  --card-solid: rgba(16, 10, 28, 0.86);
  --violet: #c4b5fd;
  --purple: #a855f7;
  --deep: #6d28d9;
  --fill: linear-gradient(180deg, #e9d5ff 0%, #c084fc 42%, #9333ea 100%);
  --green: #4ade80;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: Manrope, Segoe UI, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  background: #07040e url("assets/splash.jpg?v=2") center top / cover no-repeat fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(124, 58, 237, .22), transparent 55%),
    linear-gradient(180deg, rgba(7,4,14,.28) 0%, rgba(7,4,14,.52) 42%, rgba(7,4,14,.88) 72%, #07040e 100%);
  pointer-events: none;
  z-index: 0;
}
body.home {
  background: #07040e url("assets/obsidian-full-poster.jpg") center top / cover no-repeat fixed;
}
body.home::before { display: none; }
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #07040e url("assets/splash.jpg?v=2") center / cover no-repeat;
}
.site-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 42%;
  filter: saturate(1.1) contrast(1.04);
}
.bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 70% 10%, rgba(88, 28, 135, .16), transparent 55%),
    linear-gradient(180deg, rgba(7,4,14,.42) 0%, rgba(7,4,14,.58) 38%, rgba(7,4,14,.86) 100%);
}
body.home .bg-stage { display: block; }
body.home .site-bg-video {
  object-fit: cover;
  object-position: center top;
}
body.home .bg-veil {
  background:
    linear-gradient(180deg, rgba(7,4,14,.08) 0%, rgba(7,4,14,.18) 38%, rgba(7,4,14,.62) 72%, rgba(7,4,14,.88) 100%);
}
body.home .hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 28px;
}
body.home .cinema-cta {
  position: relative;
  left: auto;
  bottom: auto;
  max-width: none;
  justify-content: center;
  margin: 0 auto 8px;
  padding: 0 16px;
}
.open-timer {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
}
.open-timer h2 {
  font-family: Cinzel, serif;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: clamp(18px, 2.6vw, 30px);
  color: #fff;
  text-shadow: 0 6px 28px #000, 0 0 24px rgba(168,85,247,.45);
  margin: 0 0 14px;
  white-space: nowrap;
}
.timer-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 5, 18, .78);
  border: 1px solid rgba(196,181,253,.32);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 40px rgba(124,58,237,.18);
}
.timer-boxes div {
  min-width: 74px;
  padding: 12px 10px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(168,85,247,.28), rgba(18,8,36,.92));
  border: 1px solid rgba(196,181,253,.22);
}
.timer-boxes b {
  display: block;
  font-size: clamp(28px, 3.6vw, 42px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #f8f0ff;
  line-height: 1;
  letter-spacing: .04em;
}
.timer-boxes span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #c4b5fd;
}
.open-timer.is-live h2 { color: #86efac; }
@media (max-width: 640px) {
  .open-timer { top: 30%; width: calc(100% - 24px); }
  .open-timer h2 { white-space: normal; }
  .timer-boxes div { min-width: 58px; padding: 10px 6px 8px; }
  .timer-boxes b { font-size: 24px; }
}
.cinema {
  position: relative;
  width: 100%;
  aspect-ratio: 1648 / 544;
  background: #05030a url("assets/obsidian-poster.jpg") center / contain no-repeat;
  overflow: hidden;
}
.bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #05030a;
}
.cinema-cta {
  position: absolute;
  left: 3.5%;
  bottom: 11%;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 42%;
  pointer-events: auto;
}
body.home .hero { padding: 0 0 8px; }
.hero-below { padding-top: 22px; padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) {
  .bg-video, .site-bg-video { display: none; }
}
a { color: var(--violet); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }
.hide { display: none !important; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.header, .hero, .section, .footer, .page, .login-page, .panel-page { position: relative; z-index: 1; }

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8, 5, 16, .55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff !important; flex-shrink: 0; }
.logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(196,181,253,.4); }
.logo strong {
  font-family: Cinzel, serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 13px;
  color: #efe6ff;
}
.menu { display: flex; gap: 2px; flex: 1; justify-content: center; }
.menu a {
  color: #d8cce8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 9px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.menu a:hover, .menu a.on { color: #fff; border-bottom-color: #c084fc; }
.header-right { display: flex; align-items: center; gap: 8px; }
.lang-switch { position: relative; flex-shrink: 0; }
.lang-now {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px 0 6px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(14, 8, 24, .55); color: #efe6ff;
  cursor: pointer; font: 700 11px/1 Manrope, sans-serif; letter-spacing: .08em;
}
.lang-now img, .lang-opt img {
  width: 20px; height: 14px; object-fit: cover;
  border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  flex-shrink: 0;
}
.lang-now:hover, .lang-switch.open .lang-now { border-color: rgba(168,85,247,.55); color: #fff; }
.lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 168px; padding: 6px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(16, 10, 28, .96); box-shadow: var(--shadow);
  z-index: 90;
}
.lang-switch.open .lang-menu { display: grid; gap: 2px; }
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px; border: 0; border-radius: 10px;
  background: transparent; color: #efe6ff; cursor: pointer;
  font: 600 13px/1.2 Manrope, sans-serif; text-align: left;
}
.lang-opt:hover, .lang-opt.on { background: rgba(124, 58, 237, .22); }
.clock { text-align: right; line-height: 1.05; padding-right: 6px; }
.clock small { display: block; font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.clock b { font-size: 13px; color: #efe6ff; font-variant-numeric: tabular-nums; }
.online-chip {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px;
  font-size: 12px; color: var(--muted);
}
.online-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.online-chip.on .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.online-chip.on b { color: var(--green); }
.burger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: #fff; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border: 0; cursor: pointer; border-radius: 10px;
  font: 800 12px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.btn-fill, .btn-gold {
  background: var(--fill);
  color: #1a0a2a !important;
  box-shadow: 0 8px 22px rgba(147, 51, 234, .35);
}
.btn-fill:hover, .btn-gold:hover { filter: brightness(1.08); }
.btn-ghost, .btn-line {
  background: rgba(10, 6, 18, .55);
  color: #efe6ff !important;
  border: 1px solid rgba(196, 181, 253, .32);
}
.btn-lg { height: 46px; padding: 0 22px; min-width: 180px; }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.hero {
  padding: 28px 0 8px;
  text-align: center;
}
.hero-logo {
  width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 8px auto 16px;
  box-shadow: 0 0 0 3px rgba(196,181,253,.25), 0 20px 50px rgba(88, 28, 135, .45);
}
.pillbar {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; padding: 5px 8px; border-radius: 999px;
  background: rgba(10, 6, 18, .55);
  border: 1px solid rgba(196,181,253,.18);
  backdrop-filter: blur(12px);
  margin: 0 auto 18px;
  max-width: 100%;
}
.pillbar span {
  padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #d8cce8;
  border-right: 1px solid rgba(255,255,255,.08);
}
.pillbar span:last-child { border-right: 0; }
.pillbar b { color: var(--violet); }

.hero h1, .page-title, .section-title {
  font-family: Cinzel, serif;
  font-weight: 700;
  letter-spacing: .04em;
  color: #f3e8ff;
}
.hero h1 { font-size: clamp(22px, 4vw, 40px); margin-bottom: 18px; text-shadow: 0 10px 30px #000; line-height: 1.2; padding: 0 8px; }
.hero-copy h2 {
  font-family: Cinzel, serif;
  font-size: clamp(22px, 3vw, 32px);
  margin: 18px 0 8px;
  text-transform: uppercase;
}
.hero-copy p { color: #d8cce8; max-width: 560px; margin: 0 auto 18px; }

.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

.easy-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(36, 16, 58, .85), rgba(14, 8, 24, .72));
  border: 1px solid rgba(196, 181, 253, .35);
  box-shadow: 0 0 0 1px rgba(147, 51, 234, .12), 0 16px 40px rgba(0,0,0,.35);
  text-align: left;
  color: inherit;
}
.easy-bar:hover { color: inherit; border-color: rgba(232, 213, 255, .55); }
.easy-bar .tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #1a0a2a; background: var(--fill);
  padding: 3px 8px; border-radius: 999px; margin-bottom: 4px;
}
.easy-bar h3 { font-family: Cinzel, serif; font-size: 18px; margin-bottom: 4px; }
.easy-bar p { color: var(--muted); font-size: 13px; }
.easy-copy { flex: 1; min-width: 0; }
.easy-icons { display: flex; gap: 8px; flex-shrink: 0; }
.item-slot {
  width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(196,181,253,.28), rgba(10,6,18,.9));
  border: 1px solid rgba(196,181,253,.35);
  font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #efe6ff;
}

.counters {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  margin-top: 14px; border-radius: 16px; overflow: hidden;
  background: rgba(12, 8, 22, .62);
  border: 1px solid rgba(255,255,255,.07);
}
.counters > div {
  padding: 22px 12px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.counters > div:last-child { border-right: 0; }
.counters b { display: block; font-size: 34px; font-weight: 800; letter-spacing: .02em; }
.counters span { color: var(--muted); font-size: 12px; }
.counters .ico { color: var(--violet); margin-right: 6px; }

.section { padding: 42px 0; }
.section-title { text-align: center; font-size: 28px; margin-bottom: 6px; }
.lead { text-align: center; color: var(--muted); margin-bottom: 22px; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #1a0a2a; background: var(--fill);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}

.card, .glass {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.world-card {
  padding: 18px; text-align: left; min-height: 210px;
  background:
    linear-gradient(180deg, rgba(18,8,32,.18), rgba(10,6,18,.72)),
    url("assets/world-char.jpg") center 20% / cover;
  border: 1px solid rgba(168, 85, 247, .35);
  box-shadow: 0 0 24px rgba(124, 58, 237, .18);
}
.world-card .badge {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em;
  padding: 3px 8px; border-radius: 999px; background: #6d28d9; color: #fff; margin-bottom: 28px;
}
.world-card h3 { font-family: Cinzel, serif; font-size: 22px; }
.world-card .rate { color: var(--violet); font-weight: 800; margin-bottom: 10px; }
.world-card p, .world-card span { color: #d8cce8; font-size: 13px; }
.world-card .online { color: var(--green); font-weight: 700; display: block; margin: 8px 0; }
.world-card a { font-size: 13px; }

.discord-head { text-align: center; margin-bottom: 16px; }
.discord-head h2 { font-family: Cinzel, serif; font-size: 26px; }
.discord-head h2 em { font-style: normal; color: var(--violet); }
.discord-box {
  display: grid; grid-template-columns: 260px 1fr; gap: 18px; padding: 18px;
}
.disc-left h3 { font-family: Cinzel, serif; margin-bottom: 6px; }
.disc-left p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.avatars { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.av {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #3b2060, #1a0f2c);
  border: 2px solid rgba(196,181,253,.25);
  font-size: 12px; font-weight: 800; color: #efe6ff;
}
.av.on { box-shadow: 0 0 0 2px var(--green); }
.class-ico {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; display: block; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(212,175,90,.55);
}
.who-cell { display: flex; align-items: center; gap: 10px; color: inherit; }
.who-cell:hover { color: #fff; }
.rank-row { cursor: pointer; }
.rank-row:hover { background: rgba(168,85,247,.08); }
.st-on { color: #86efac; font-weight: 800; }
.st-off { color: #fda4af; font-weight: 800; }
.st-hero { color: #f87171; font-weight: 800; }
.mu-block {
  background: rgba(18, 18, 22, .88);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 18px;
  overflow: visible;
}
.mu-block h2 {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px;
  color: #ddd;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mu-sheet {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mu-ava {
  background: #121214;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  min-height: 240px;
}
.mu-ava img { width: 168px; height: 220px; object-fit: contain; object-position: center top; }
.mu-id, .mu-full { width: 100%; border-collapse: collapse; }
.mu-id td, .mu-full td, .mu-full th {
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 13px;
}
.mu-id tr:nth-child(odd), .mu-full tr:nth-child(odd) { background: rgba(255,255,255,.03); }
.mu-k { color: #9aa0a6; width: 42%; }
.mu-v { color: #eee; text-align: right; }
.mu-full b { color: #eee; font-weight: 700; }
.eq-section { overflow: visible; }
.eq-doll {
  display: grid;
  grid-template-columns: 68px 132px 132px  64px  56px 220px;
  grid-template-rows: 56px 56px 56px 56px 56px 56px 132px;
  gap: 10px;
  justify-content: center;
  padding: 28px 16px 40px;
}
.eq-cell {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,10,14,.7);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.eq-cell.empty { border-color: rgba(255,255,255,.07); background: rgba(0,0,0,.18); }
.eq-cell.filled { cursor: pointer; }
.eq-cell img { max-width: 92%; max-height: 92%; object-fit: contain; }
.eq-cell small { position: absolute; right: 5px; bottom: 3px; color: #ffcc00; font-weight: 800; font-size: 12px; }
.eq-doll .pet { grid-column: 1; grid-row: 1; }
.eq-doll .wep { grid-column: 1; grid-row: 2 / span 5; }
.eq-doll .helm { grid-column: 2; grid-row: 1 / span 2; }
.eq-doll .armor { grid-column: 2; grid-row: 3 / span 2; }
.eq-doll .pants { grid-column: 2; grid-row: 5 / span 2; }
.eq-doll .gloves { grid-column: 3; grid-row: 3 / span 2; }
.eq-doll .boots { grid-column: 3; grid-row: 5 / span 2; }
.eq-doll .pend { grid-column: 5; grid-row: 1; }
.eq-doll .ring1 { grid-column: 5; grid-row: 3; }
.eq-doll .ring2 { grid-column: 5; grid-row: 4; }
.eq-doll .cloak { grid-column: 6; grid-row: 1 / span 5; }
.eq-doll .shield { grid-column: 6; grid-row: 6 / span 2; }
#eq-float {
  position: fixed; z-index: 99999; display: none;
  width: 280px; padding: 12px 14px 14px; text-align: center;
  background: #2a2a32; border: 1px solid #666;
  box-shadow: 0 18px 50px rgba(0,0,0,.7);
  pointer-events: none;
}
#eq-float.on { display: block; }
.tip-pic { max-width: 80px; max-height: 80px; margin: 8px auto; display: block; }
.tip-stats { color: #cfd3d8; font-size: 12px; line-height: 1.45; margin: 6px 0 8px; }
.tip-class {
  background: #c0392b; color: #fff; font-weight: 800; font-size: 12px;
  padding: 5px 8px; margin: 8px 0;
}
.tip-set { color: #6cf; font-size: 12px; margin-top: 8px; }
.tip-name { font-weight: 800; margin-bottom: 4px; color: #fff; font-size: 14px; }
.tip-name.tip-exc-name { color: #3ad4ff; }
.tip-name.tip-anc-name { color: #ffcc33; }
.tip-gold { color: #ffcc00; }
.tip-luck { color: #7eb8ff; font-size: 12px; padding: 2px 0; }
.tip-blue { color: #3ad4ff; font-size: 12px; padding: 2px 0; }
.tip-exc { color: #6cff8a; font-size: 12px; padding: 2px 0; }
.tip-harm { color: #c084fc; font-size: 12px; padding: 2px 0; }
.tip-anc { color: #e8c547; font-size: 12px; padding: 2px 0; }
.live-row { text-decoration: none; color: inherit; }
.live-row span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.avatars a { display: inline-flex; }
.disc-meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
.live-panel {
  padding: 12px 12px 8px;
  background: linear-gradient(180deg, rgba(22, 12, 36, .92), rgba(10, 6, 18, .94));
  border: 1px solid rgba(212, 175, 90, .28);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  position: sticky;
  top: 80px;
}
.live-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.live-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 8px 6px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  color: #cbb98a;
  background: rgba(40, 28, 12, .7);
}
.live-tabs button.on {
  color: #1a1208;
  background: linear-gradient(180deg, #f3e0a8, #c9a227);
}
.live-clocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
  text-align: center;
}
.live-clocks small {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  color: #b7a7cc;
}
.live-clocks b {
  font-size: 18px;
  color: #f3e0a8;
  font-variant-numeric: tabular-nums;
}
.live-body {
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}
.live-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 13px;
}
.live-row b { display: block; color: #efe6ff; font-size: 13px; }
.live-row small { color: #9b8bb3; font-size: 11px; }
.live-row time {
  color: #e8c547;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 800;
  font-size: 12px;
}
.live-row.soon time { color: #86efac; }
.live-empty { color: #b7a7cc; font-size: 13px; padding: 18px 6px; text-align: center; }
.live-foot {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 8px 0 4px;
  font-size: 12px;
  color: #e8c547;
}

.widgets { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 12px; margin-top: 14px; }
.widget { padding: 16px; min-height: 180px; }
.widget h3 { font-size: 15px; display: flex; justify-content: space-between; align-items: baseline; }
.widget h3 small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.widget .empty { color: var(--muted); font-size: 13px; padding: 28px 0; text-align: center; }
.ev-list { list-style: none; margin-top: 10px; }
.ev-list li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 13px;
}
.ev-list time { color: var(--violet); font-variant-numeric: tabular-nums; white-space: nowrap; }

.feat-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  padding: 16px; margin-top: 14px; color: #d8cce8; font-size: 13px; font-weight: 700;
}
.feat-bar span::before { content: "✦ "; color: var(--violet); }

.reviews-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; }
.review {
  padding: 18px;
}
.review .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review .stars { margin-left: auto; color: var(--violet); }
.plus { color: #86efac; font-size: 13px; }
.minus { color: #fda4af; font-size: 13px; margin: 4px 0 8px; }
.review p { color: #d8cce8; font-size: 14px; }

.reg-grid { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; }
.reg-copy h2 { font-family: Cinzel, serif; font-size: 32px; margin: 10px 0 12px; }
.checks { list-style: none; color: #d8cce8; }
.checks li { padding: 7px 0; }
.checks li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.form { display: grid; gap: 10px; padding: 22px; }
.form h2 { font-family: Cinzel, serif; text-align: center; margin-bottom: 4px; }
.form .sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.form label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.form input:not([type="checkbox"]), .form select, .login-box input:not([type="checkbox"]), .login-box select {
  height: 44px; border-radius: 10px;
  border: 1px solid rgba(196,181,253,.18);
  background: rgba(8,6,16,.75); color: var(--ink);
  padding: 0 12px; font: 15px Manrope, sans-serif;
}
.form input:focus, .login-box input:focus { outline: none; border-color: var(--purple); }
.check { display: flex; gap: 8px; align-items: center; color: #d8cce8; font-size: 13px; text-transform: none; letter-spacing: 0; }
.form input[type="checkbox"] {
  width: 16px; height: 16px; margin: 0; padding: 0; flex-shrink: 0;
  accent-color: #a855f7; background: transparent; border: 0;
}
.form-msg { font-size: 13px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #fda4af; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
th { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rank-n { width: 48px; color: var(--muted); }
.rank-hi { color: var(--violet); font-weight: 800; }
.who-cell { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.vip-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; }
.vip-badge.bronze { background: #6a3e16; color: #f3c48a; }
.vip-badge.gold { background: #c4922a; color: #23180a; }
.vip-badge.plat { background: #cfd8e6; color: #1a2430; }
.vip-none { color: #5b6770; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0; }
.filters button, .lib-cats button {
  background: rgba(14,8,24,.7); border: 1px solid var(--line); color: #d8cce8;
  padding: 8px 12px; border-radius: 999px; cursor: pointer; font: 700 12px Manrope, sans-serif;
}
.filters button.on, .lib-cats button.on { color: #1a0a2a; background: var(--fill); border-color: transparent; }
.search {
  width: min(420px, 100%); margin: 0 auto 16px; display: block;
  height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(10,6,18,.7); color: #fff; padding: 0 16px; font: 14px Manrope, sans-serif;
}

.page, .panel-page { padding: 40px 0 70px; min-height: calc(100vh - 64px); }
.page-title { text-align: center; font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.center { text-align: center; }

.lib-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.lib-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.lib-item {
  padding: 16px 10px 14px; text-align: center; min-height: 118px;
  background: rgba(14,8,24,.55); border: 1px solid rgba(255,255,255,.06); border-radius: 14px;
}
.lib-ico {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800;
  background: radial-gradient(circle, rgba(168,85,247,.28), rgba(10,6,18,.9));
  border: 1px solid rgba(196,181,253,.25);
}
.lib-ico img { width: 42px; height: 42px; object-fit: contain; image-rendering: auto; }
.lib-item b { display: block; font-size: 13px; font-weight: 600; }
.lib-item span { color: var(--muted); font-size: 11px; }

.mirrors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mirror {
  padding: 18px; display: grid; gap: 10px;
}
.mirror header { display: flex; justify-content: space-between; align-items: center; }
.mirror b { font-size: 16px; }
.mirror .sz { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.steps { color: #d8cce8; padding-left: 18px; line-height: 1.85; }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; color: #d8cce8; font-size: 14px; }
.req b { color: var(--violet); display: inline-block; min-width: 110px; }

.login-page { padding: 50px 0 0; min-height: calc(100vh - 64px); }
.login-box {
  width: min(440px, calc(100% - 28px));
  margin: 20px auto 60px;
  padding: 32px 28px;
  background: rgba(14, 10, 26, .72);
  border: 1px solid rgba(196,181,253,.16);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  text-align: center;
}
.login-box h1 { font-family: Cinzel, serif; font-size: 34px; margin-bottom: 6px; color: var(--violet); }
.login-box form { display: grid; gap: 10px; text-align: left; margin-top: 16px; }
.login-or { margin: 14px 0 8px; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.login-links { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; }

.panel-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.panel-tabs button {
  background: rgba(12,8,22,.7); border: 1px solid var(--line); color: var(--muted);
  padding: 9px 14px; border-radius: 999px; cursor: pointer; font: 700 13px Manrope, sans-serif;
}
.panel-tabs button.on { color: #1a0a2a; background: var(--fill); border-color: transparent; }
.panel-table { width: 100%; background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.panel-table th { width: 240px; }
.svc-row {
  display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); background: var(--card-solid); border-radius: 12px; margin-bottom: 8px;
}
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

.vips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vips article { text-align: center; padding: 20px; }
.vips img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin: 0 auto 10px; border: 2px solid rgba(196,181,253,.4); }
.vips .featured { border-color: var(--purple); box-shadow: 0 0 24px rgba(124,58,237,.25); }
.vips ul { list-style: none; color: #d8cce8; }
.vips li { border-top: 1px solid rgba(255,255,255,.07); padding: 7px 0; }

.donate-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.donate-pack { text-align: center; padding: 26px 20px; }
.donate-pack small { display: block; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; margin-bottom: 6px; }
.donate-pack b { display: block; font-family: Cinzel, serif; font-size: 42px; color: var(--violet); margin: 4px 0 12px; }
.donate-pack p { color: #d8cce8; margin: 4px 0; }
.donate-pack .btn { margin-top: 16px; }
.donate-pack.featured { border-color: var(--purple); box-shadow: 0 0 24px rgba(124,58,237,.25); }
.donate-more { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 10px; }
.donate-more .donate-pack { padding: 18px 16px; }
.donate-more .donate-pack b { font-size: 28px; margin-bottom: 8px; }
.pay-note { color: var(--muted); font-size: 13px; margin: 10px 0 22px; }
.pay-slot { min-width: 88px; }
.pay-slot:disabled { opacity: .45; cursor: not-allowed; }

.news { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; }
.news:last-child { border-bottom: 0; }
.news time { color: var(--muted); font-size: 12px; }
.news h3 { font-family: Cinzel, serif; font-size: 20px; margin: 4px 0 6px; }
.news p { color: #d8cce8; }

.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 36px 0 28px;
  background: rgba(7,4,14,.78);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer .brand { font-family: Cinzel, serif; letter-spacing: .16em; margin-bottom: 8px; }
.footer p, .footer a { color: var(--muted); font-size: 13px; }
.footer h4 { font-size: 11px; letter-spacing: .16em; color: var(--violet); margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.foot-copy { text-align: center; color: #6b5d80; font-size: 12px; margin-top: 22px; }

.popup {
  position: fixed; left: 18px; bottom: 18px; z-index: 90; width: min(320px, calc(100% - 28px));
  padding: 16px; box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .popup {
    left: 12px; right: 12px; bottom: 12px; width: auto;
    max-width: none;
  }
}
.popup .x {
  position: absolute; right: 10px; top: 8px; background: none; border: 0; color: #fff; cursor: pointer; font-size: 18px;
}
.popup .tag { background: #7c3aed; color: #fff; }
.popup h3 { font-family: Cinzel, serif; margin: 8px 0; }
.popup p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

.guide-toc {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 28px;
}
.guide-toc a {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(14,8,24,.7); color: #efe6ff; font-size: 13px; font-weight: 700;
}
.guide-toc a:hover { border-color: var(--purple); color: #fff; }
.guide-block { padding: 24px; margin-bottom: 16px; }
.guide-block h2 { font-family: Cinzel, serif; font-size: 22px; margin-bottom: 10px; }
.guide-block p, .guide-block li { color: #d8cce8; line-height: 1.7; }
.guide-block ol, .guide-block ul { padding-left: 18px; margin: 10px 0; }
.why {
  margin: 14px 0; padding: 14px 16px; border-radius: 12px;
  background: rgba(124, 58, 237, .12); border: 1px solid rgba(168, 85, 247, .28);
  color: #efe6ff; line-height: 1.65;
}
.why b { color: var(--violet); }
.formula {
  font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: .04em;
  color: var(--violet); margin: 10px 0 6px;
}
.keep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.keep-grid article { padding: 16px; }
.keep-grid h3 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.keep-grid.good h3 { color: var(--green); }
.keep-grid.bad h3 { color: #fda4af; }
.cost-table { width: 100%; margin-top: 8px; }
.cost-table th { color: var(--violet); }
.reward-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.reward-row div {
  text-align: center; padding: 16px 10px; border-radius: 14px;
  background: rgba(10,6,18,.55); border: 1px solid var(--line);
}
.reward-row b { display: block; font-size: 22px; color: var(--violet); margin-bottom: 4px; }
.reward-row span { color: var(--muted); font-size: 12px; }
.cmd {
  display: inline-block; font-family: Consolas, monospace; font-weight: 800;
  background: rgba(168,85,247,.18); color: #f3e8ff; padding: 2px 8px; border-radius: 6px;
}

.know-search { width: 100%; margin: 4px 0 22px; }
.know-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.know-group { padding: 22px 20px 16px; }
.know-group small {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--violet);
  margin-bottom: 6px;
}
.know-group h2 {
  font-family: Cinzel, serif;
  font-size: 22px;
  margin-bottom: 14px;
}
.know-list { display: grid; gap: 8px; }
.know-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 6, 18, .45);
  color: #efe6ff !important;
  transition: border-color .15s, background .15s, transform .15s;
}
.know-item b {
  font-size: 15px;
  grid-column: 1;
}
.know-item span {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.know-item em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--violet);
  white-space: nowrap;
}
.know-item:hover {
  border-color: rgba(168, 85, 247, .55);
  background: rgba(124, 58, 237, .16);
  transform: translateY(-1px);
  color: #fff !important;
}
.guide-crumb { margin-bottom: 8px; }
.guide-crumb a { font-weight: 700; font-size: 13px; }
.guide-article h2 {
  font-family: Cinzel, serif;
  font-size: 20px;
  margin: 22px 0 10px;
  color: #efe6ff;
}
.guide-article .vips { margin-top: 12px; }
.know-more {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 8px 0 28px;
}
.know-more a, .know-more span {
  font-size: 13px;
  font-weight: 700;
}
.know-more a:first-child, .know-more span:first-child { justify-self: start; }
.know-more a:last-child, .know-more span:last-child { justify-self: end; text-align: right; }
.know-more a:nth-child(2) { justify-self: center; }
.know-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 1200px) {
  .clock, .clock-you { display: none; }
}
@media (max-width: 1100px) {
  .lib-grid { grid-template-columns: repeat(4, 1fr); }
  .worlds, .mirrors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu { display: none; }
  .header.open .menu {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: #12081c; padding: 8px 0 12px; z-index: 80;
  }
  .burger { display: block; }
  .discord-box, .reg-grid, .widgets, .svc-row, .req, .foot-grid, .home-split, .know-cols { grid-template-columns: 1fr; }
  .know-home { grid-template-columns: 1fr 1fr; }
  .live-panel { position: static; }
  .profile-head { grid-template-columns: 1fr; }
  .mu-sheet { grid-template-columns: 1fr; }
  .mu-ava { min-height: 200px; }
  .easy-bar { flex-wrap: wrap; }
  .lib-grid { grid-template-columns: repeat(3, 1fr); }
  .clock { display: none; }
}
@media (max-width: 640px) {
  .logo strong { display: none; }
  .online-chip { display: none; }
  .worlds, .mirrors, .vips, .lib-grid { grid-template-columns: 1fr 1fr; }
  .counters { grid-template-columns: 1fr 1fr 1fr; }
  .counters b { font-size: 22px; }
  .hero-logo { width: 88px; height: 88px; }
  .cf-card { width: 78vw; margin-left: -39vw; height: 200px; }
  .cf-card[data-pos="-2"], .cf-card[data-pos="2"],
  .cf-card[data-pos="-1"], .cf-card[data-pos="1"] { opacity: 0; pointer-events: none; }
  .btn-lg { min-width: 0; width: 100%; }
  .hero-actions { flex-direction: column; }
  .cinema-cta {
    position: static;
    max-width: none;
    justify-content: center;
    padding: 14px 12px 0;
    bottom: auto;
    left: auto;
  }
  .easy-bar { flex-direction: column; align-items: stretch; }
  .easy-icons { justify-content: flex-start; flex-wrap: wrap; }
  .easy-bar .btn { width: 100%; }
  .pillbar { max-width: calc(100% - 8px); }
  .keep-grid, .reward-row, .donate-hero, .donate-more, .know-cols, .know-home { grid-template-columns: 1fr; }
  .donate-pack b { font-size: 36px; }
  .hero-copy h2 { font-size: 18px; padding: 0 12px; }
  .hero-copy p { padding: 0 12px; }
}
