/* GULU VIP surface polish.
   Visual-only layer: no prediction, routing or ledger semantics live here. */
:root {
  --vip-bg: #070806;
  --vip-bg-soft: #0d100d;
  --vip-surface: rgba(19, 20, 15, .86);
  --vip-surface-strong: rgba(25, 26, 19, .96);
  --vip-line: rgba(229, 195, 104, .16);
  --vip-line-strong: rgba(229, 195, 104, .34);
  --vip-gold: #e7c76f;
  --vip-gold-soft: #fff0b7;
  --vip-ink: #f8f5e9;
  --vip-muted: #9c9a91;
  --vip-green: #73dca8;
  --vip-red: #f1817d;
  --vip-blue: #8ac9f2;
  --vip-shadow: 0 28px 90px rgba(0, 0, 0, .42);
  --vip-radius: 20px;
}

html { background: var(--vip-bg); }

body.vip-modern {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  color: var(--vip-ink);
  background:
    radial-gradient(900px 560px at 12% -12%, rgba(222, 177, 68, .14), transparent 68%),
    radial-gradient(760px 520px at 102% 12%, rgba(59, 126, 105, .10), transparent 66%),
    linear-gradient(180deg, #090a07, var(--vip-bg) 48%, #060705);
}

body.vip-modern::before,
body.vip-modern::after {
  content: "";
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
  opacity: .7;
  will-change: transform;
}

body.vip-modern::before {
  width: 42vw;
  height: 42vw;
  min-width: 360px;
  min-height: 360px;
  left: -22vw;
  top: 20vh;
  background: radial-gradient(circle, rgba(232, 194, 93, .09), transparent 68%);
  animation: vip-orbit-a 18s ease-in-out infinite alternate;
}

body.vip-modern::after {
  width: 34vw;
  height: 34vw;
  min-width: 300px;
  min-height: 300px;
  right: -17vw;
  bottom: -8vh;
  background: radial-gradient(circle, rgba(79, 151, 129, .08), transparent 68%);
  animation: vip-orbit-b 22s ease-in-out infinite alternate;
}

@keyframes vip-orbit-a {
  from { transform: translate3d(0, -3%, 0) scale(.92); }
  to { transform: translate3d(14vw, 6%, 0) scale(1.08); }
}

@keyframes vip-orbit-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-11vw, -8%, 0) scale(1.12); }
}

.vip-grid-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.vip-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--vip-ink);
  text-decoration: none;
}

.vip-brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(231, 199, 111, .48);
  border-radius: 13px;
  color: var(--vip-gold-soft);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(145deg, rgba(67, 53, 22, .92), rgba(14, 15, 11, .98));
  box-shadow: 0 10px 30px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
  font: 800 16px/1 Georgia, serif;
  letter-spacing: -.04em;
  overflow: hidden;
}

.vip-brand-mark::after {
  content: "";
  position: absolute;
  inset: -60% -160%;
  background: linear-gradient(110deg, transparent 42%, rgba(255,255,255,.32) 50%, transparent 58%);
  transform: translateX(-45%);
  animation: vip-mark-sheen 7s ease-in-out infinite;
}

@keyframes vip-mark-sheen {
  0%, 62% { transform: translateX(-45%); }
  78%, 100% { transform: translateX(45%); }
}

.vip-brand-copy { min-width: 0; }
.vip-brand-copy strong,
.vip-brand-copy small { display: block; }
.vip-brand-copy strong { font-size: 13px; letter-spacing: .16em; white-space: nowrap; }
.vip-brand-copy small { margin-top: 2px; color: var(--vip-muted); font-size: 9px; letter-spacing: .12em; white-space: nowrap; }

.vip-glass {
  background: linear-gradient(145deg, rgba(27, 28, 21, .90), rgba(11, 12, 9, .88));
  border: 1px solid var(--vip-line);
  border-radius: var(--vip-radius);
  box-shadow: var(--vip-shadow), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.vip-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: var(--vip-muted);
  background: rgba(255,255,255,.025);
  font-size: 11px;
}
.vip-user-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vip-green);
  box-shadow: 0 0 12px rgba(115,220,168,.65);
}

.vip-modern .btn,
.vip-modern .account a,
.vip-modern .day,
.vip-modern .filter,
.vip-paper-nav__link {
  transition: transform .18s ease, border-color .18s ease, color .18s ease,
              background .18s ease, box-shadow .18s ease;
}
.vip-modern .btn:hover,
.vip-modern .account a:hover,
.vip-modern .day:hover,
.vip-modern .filter:hover,
.vip-paper-nav__link:hover {
  transform: translateY(-1px);
}

.vip-modern .hero-card,
.vip-modern .paper,
.vip-modern .match,
.vip-modern .card,
.vip-modern .panel,
.vip-modern .hero-kpi,
.vip-modern .kpi,
.vip-modern .capital,
.vip-modern .line,
.vip-modern .plan-day,
.vip-modern .admin-card {
  box-shadow: 0 16px 44px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025);
}

.vip-modern .match,
.vip-modern .card,
.vip-modern .panel,
.vip-modern .hero-kpi,
.vip-modern .kpi,
.vip-modern .line,
.vip-modern .plan-day,
.vip-modern .admin-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.vip-modern .match:hover,
.vip-modern .card:hover,
.vip-modern .panel:hover,
.vip-modern .hero-kpi:hover,
.vip-modern .kpi:hover,
.vip-modern .line:hover,
.vip-modern .plan-day:hover,
.vip-modern .admin-card:hover {
  transform: translateY(-2px);
  border-color: var(--vip-line-strong);
  box-shadow: 0 22px 56px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
}

.vip-reveal {
  animation: vip-rise .62s cubic-bezier(.2,.75,.2,1) both;
}
.vip-reveal:nth-of-type(2) { animation-delay: .06s; }
.vip-reveal:nth-of-type(3) { animation-delay: .12s; }
@keyframes vip-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Prediction terminal */
body.vip-predict-page .wrap { max-width: 1260px; }
body.vip-predict-page header {
  border: 1px solid rgba(231,199,111,.13);
  border-radius: 16px;
  background: rgba(9,10,8,.88);
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
}
body.vip-predict-page .logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: .04em;
}
body.vip-predict-page .logo .vip-brand-mark { width: 32px; height: 32px; flex-basis: 32px; border-radius: 11px; }
body.vip-predict-page .hero-card,
body.vip-predict-page .paper {
  border-color: rgba(231,199,111,.18);
}
body.vip-predict-page .hero-card h1 { letter-spacing: -.025em; }
body.vip-predict-page .kpi { background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(0,0,0,.12)); }
body.vip-predict-page .match > summary { position: relative; }
body.vip-predict-page .match > summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17%;
  bottom: 17%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--vip-gold), transparent);
  opacity: .5;
}

/* Investor ledger */
body.vip-investor-page .top {
  padding: 10px 12px;
  border: 1px solid rgba(231,199,111,.12);
  border-radius: 15px;
  background: rgba(10,11,8,.72);
  backdrop-filter: blur(16px);
}
body.vip-investor-page .hero { position: relative; }
body.vip-investor-page .hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(260px, 45%);
  height: 1px;
  background: linear-gradient(90deg,var(--vip-gold),transparent);
}
body.vip-investor-page .tabs { backdrop-filter: blur(12px); }
body.vip-investor-page .chart-wrap { position: relative; }
body.vip-investor-page .chart-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 12px;
  box-shadow: inset 0 0 55px rgba(0,0,0,.18);
}

/* Sporttery */
body.vip-jczq-page .wrap { max-width: 1220px; }
body.vip-jczq-page .top {
  padding: 12px 14px;
  border: 1px solid rgba(231,199,111,.14);
  border-radius: 15px;
  background: rgba(10,11,8,.76);
  backdrop-filter: blur(16px);
}
body.vip-jczq-page .notice > summary {
  cursor: pointer;
  list-style: none;
  color: var(--vip-gold);
  font-weight: 750;
}
body.vip-jczq-page .notice > summary::-webkit-details-marker { display: none; }
body.vip-jczq-page .notice > summary::after { content: "查看规则"; float: right; color: var(--vip-muted); font-size: 10px; }
body.vip-jczq-page .notice[open] > summary::after { content: "收起"; }
body.vip-jczq-page .notice p { margin: 8px 0 0; }

/* Admin */
.vip-admin-page { font-size: 14px; }
.vip-admin-shell { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 64px; }
.vip-admin-top { display: flex; align-items: center; gap: 12px; padding: 11px 13px; margin-bottom: 30px; }
.vip-admin-top .spacer { flex: 1; }
.vip-admin-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vip-admin-link {
  color: var(--vip-muted); text-decoration: none; border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px; padding: 7px 11px; font-size: 11px; background: rgba(255,255,255,.025);
  transition: .18s ease;
}
.vip-admin-link:hover { color: var(--vip-gold-soft); border-color: var(--vip-line-strong); transform: translateY(-1px); }
.vip-admin-hero { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin: 0 0 22px; }
.vip-admin-hero h1 { margin: 7px 0 0; font-size: clamp(30px, 5vw, 50px); letter-spacing: -.045em; }
.vip-kicker { color: var(--vip-gold); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.vip-admin-hero p { max-width: 460px; margin: 0; color: var(--vip-muted); font-size: 12px; line-height: 1.7; text-align: right; }
.vip-admin-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.vip-admin-stat { padding: 16px 18px; }
.vip-admin-stat b { display: block; font: 700 28px/1.1 Georgia,serif; color: var(--vip-gold-soft); }
.vip-admin-stat span { display: block; margin-top: 6px; color: var(--vip-muted); font-size: 10px; }
.admin-card { padding: 20px; margin-top: 14px; }
.admin-card h2 { margin: 0 0 15px; color: var(--vip-ink); font-size: 14px; }
.admin-card h2 span { color: var(--vip-gold); }
.vip-flash { padding: 10px 13px; margin-bottom: 12px; border-radius: 10px; font-size: 12px; }
.vip-flash.ok { color: var(--vip-green); border: 1px solid rgba(115,220,168,.28); background: rgba(45,122,83,.12); }
.vip-flash.no { color: var(--vip-red); border: 1px solid rgba(241,129,125,.28); background: rgba(141,54,54,.12); }
.vip-admin-form { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.2fr auto; gap: 10px; align-items: end; }
.vip-field { min-width: 0; }
.vip-field label { display: block; margin-bottom: 6px; color: var(--vip-muted); font-size: 10px; }
.vip-field input,.vip-field select {
  width: 100%; min-width: 0; padding: 11px 12px; color: var(--vip-ink); background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.09); border-radius: 10px; outline: 0; font: inherit;
}
.vip-field input:focus,.vip-field select:focus { border-color: var(--vip-line-strong); box-shadow: 0 0 0 3px rgba(231,199,111,.07); }
.vip-admin-submit { padding: 11px 18px; border: 0; border-radius: 10px; color: #171207; background: linear-gradient(135deg,#b88b37,var(--vip-gold-soft)); font-weight: 800; cursor: pointer; }
.vip-admin-note { margin: 10px 0 0; color: var(--vip-muted); font-size: 10px; }
.vip-admin-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; }
.vip-admin-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.vip-admin-table th { padding: 10px 12px; text-align: left; color: #777970; font-size: 9px; letter-spacing: .08em; border-bottom: 1px solid rgba(255,255,255,.08); }
.vip-admin-table td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.055); font-size: 12px; }
.vip-admin-table tr:last-child td { border-bottom: 0; }
.vip-role { display: inline-flex; padding: 3px 8px; border: 1px solid var(--vip-line); border-radius: 999px; color: var(--vip-gold); font-size: 9px; }
.vip-role.wealth { color: var(--vip-green); border-color: rgba(115,220,168,.25); }
.vip-role.predict { color: var(--vip-blue); border-color: rgba(138,201,242,.25); }
.vip-status { display: inline-flex; align-items: center; gap: 6px; color: var(--vip-muted); font-size: 10px; }
.vip-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vip-red); }
.vip-status.on::before { background: var(--vip-green); box-shadow: 0 0 9px rgba(115,220,168,.55); }
.vip-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.vip-mini { padding: 5px 8px; border: 1px solid rgba(255,255,255,.10); border-radius: 7px; color: var(--vip-muted); background: transparent; font: 10px inherit; cursor: pointer; }
.vip-mini:hover { color: var(--vip-gold-soft); border-color: var(--vip-line-strong); }
.vip-mini.danger:hover { color: var(--vip-red); border-color: rgba(241,129,125,.32); }
.vip-role-select { padding: 6px 8px; color: var(--vip-ink); border: 1px solid rgba(255,255,255,.10); border-radius: 8px; background: #10110d; font-size: 10px; }

/* Unified navigation and the refined admin composition. */
.vip-brand-lockup > span:last-child { min-width: 0; }
.vip-brand-lockup > span:last-child b,
.vip-brand-lockup > span:last-child small { display: block; }
.vip-brand-lockup > span:last-child b { color: var(--vip-ink); font-size: 12px; letter-spacing: .15em; white-space: nowrap; }
.vip-brand-lockup > span:last-child small { margin-top: 2px; color: var(--vip-muted); font-size: 8px; letter-spacing: .13em; white-space: nowrap; }
.vip-surface-bar {
  padding: 10px 12px !important; border: 1px solid rgba(255,255,255,.075); border-radius: 16px;
  background: linear-gradient(135deg,rgba(25,26,19,.86),rgba(12,13,10,.72));
  box-shadow: 0 18px 50px rgba(0,0,0,.24); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.vip-admin-nav { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.vip-admin-nav a { color: var(--vip-muted); text-decoration: none; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; padding: 7px 11px; font-size: 11px; transition: .18s ease; }
.vip-admin-nav a:hover { color: var(--vip-gold-soft); border-color: var(--vip-line-strong); transform: translateY(-1px); }
.vip-admin-total { min-width: 140px; padding: 16px 20px; border: 1px solid var(--vip-line); border-radius: 17px; text-align: right; background: linear-gradient(145deg,rgba(27,28,21,.8),rgba(11,12,9,.78)); }
.vip-admin-total strong { display: block; color: var(--vip-gold-soft); font: 700 34px/1 Georgia,serif; }
.vip-admin-total span { display: block; margin-top: 7px; color: var(--vip-muted); font-size: 8px; letter-spacing: .13em; }
.vip-admin-card { padding: 20px; margin-top: 14px; border: 1px solid var(--vip-line); border-radius: 20px; background: linear-gradient(145deg,rgba(25,26,19,.94),rgba(11,12,9,.92)); box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.vip-card-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.vip-card-heading span { color: var(--vip-gold); font-size: 8px; letter-spacing: .18em; }
.vip-card-heading h2 { margin: 3px 0 0; color: var(--vip-ink); font-size: 16px; }
.vip-card-heading p { margin: 0; color: var(--vip-muted); font-size: 10px; }
.vip-admin-form > label { min-width: 0; }
.vip-admin-form > label > span { display: block; margin-bottom: 6px; color: var(--vip-muted); font-size: 9px; }
.vip-admin-form input,.vip-admin-form select { width: 100%; min-width: 0; padding: 11px 12px; color: var(--vip-ink); background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; outline: 0; font: inherit; }
.vip-admin-form input:focus,.vip-admin-form select:focus { border-color: var(--vip-line-strong); box-shadow: 0 0 0 3px rgba(231,199,111,.07); }
.vip-primary-action { min-height: 42px; padding: 10px 16px; border: 0; border-radius: 10px; color: #171207; background: linear-gradient(135deg,#b88b37,var(--vip-gold-soft)); font-weight: 850; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 26px rgba(184,139,55,.16); transition: .18s ease; }
.vip-primary-action:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(184,139,55,.24); }
.vip-flash.success { color: var(--vip-green); border: 1px solid rgba(115,220,168,.28); background: rgba(45,122,83,.12); }
.vip-flash.error { color: var(--vip-red); border: 1px solid rgba(241,129,125,.28); background: rgba(141,54,54,.12); }
.vip-member { display: flex; align-items: center; gap: 9px; }
.vip-member > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--vip-line); border-radius: 9px; color: var(--vip-gold); background: rgba(231,199,111,.05); font: 700 11px Georgia,serif; }
.vip-member b,.vip-member small { display: block; }.vip-member small { margin-top: 2px; color: var(--vip-muted); font-size: 8px; }
.vip-role-form { display: flex; align-items: center; gap: 5px; }.vip-role-form select { padding: 6px 8px; color: var(--vip-ink); border: 1px solid rgba(255,255,255,.10); border-radius: 8px; background: #10110d; font-size: 10px; }
.vip-role-form button,.vip-row-actions button { padding: 5px 8px; border: 1px solid rgba(255,255,255,.10); border-radius: 7px; color: var(--vip-muted); background: transparent; font: 10px inherit; cursor: pointer; }
.vip-role-form button:hover,.vip-row-actions button:hover { color: var(--vip-gold-soft); border-color: var(--vip-line-strong); }
.vip-row-actions button.danger:hover { color: var(--vip-red); border-color: rgba(241,129,125,.32); }
.vip-role-tag { display: inline-flex; padding: 3px 8px; border: 1px solid var(--vip-line); border-radius: 999px; color: var(--vip-gold); font-size: 9px; }
.vip-role-tag.role-wealth { color: var(--vip-green); border-color: rgba(115,220,168,.25); }.vip-role-tag.role-predict,.vip-role-tag.role-vip { color: var(--vip-blue); border-color: rgba(138,201,242,.25); }
.vip-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--vip-red); }.vip-status.online i { background: var(--vip-green); box-shadow: 0 0 9px rgba(115,220,168,.55); }
.vip-muted { color: var(--vip-muted); }
.vip-jczq-hero { padding: 30px 4px 16px; }.vip-jczq-hero h1 { margin: 6px 0 4px; font-size: clamp(31px,5vw,52px); letter-spacing: -.045em; }.vip-jczq-hero p { margin: 0; color: var(--vip-muted); font-size: 12px; }

@media (max-width: 820px) {
  .vip-admin-form { grid-template-columns: 1fr 1fr; }
  .vip-admin-submit { min-height: 42px; }
  .vip-admin-hero { align-items: flex-start; flex-direction: column; }
  .vip-admin-hero p { text-align: left; }
  .vip-admin-total { text-align: left; }
}

@media (max-width: 560px) {
  body.vip-modern::before, body.vip-modern::after { opacity: .45; }
  .vip-brand-copy small { display: none; }
  .vip-user-pill { padding: 5px 8px; }
  .vip-admin-shell { width: min(100% - 20px, 1120px); padding-top: 10px; }
  .vip-admin-top { align-items: flex-start; flex-wrap: wrap; }
  .vip-admin-nav { width: 100%; justify-content: flex-start; }
  .vip-admin-top .spacer { display: none; }
  .vip-admin-actions { width: 100%; }
  .vip-admin-stats { grid-template-columns: 1fr; }
  .vip-admin-form { grid-template-columns: 1fr; }
  body.vip-predict-page .kpis { grid-template-columns: repeat(2,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
