:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #172033;
  background: #ffffff;
  font-synthesis: none;
  --surface-page: #f4f7f9;
  --surface-panel: #ffffff;
  --surface-raised: #f8fafb;
  --border-subtle: #d9e3e9;
  --text-primary: #15232d;
  --text-muted: #647783;
  --accent-primary: #168a82;
  --accent-strong: #0f766e;
  --danger: #b84f59;
  --warning: #b98528;
  --success: #168568;
  --focus-ring: 0 0 0 3px rgb(22 138 130 / 18%);
  --radius-control: 6px;
  --radius-panel: 8px;
  --shadow-raised: 0 18px 44px rgb(15 23 42 / 10%);
  --motion-fast: 160ms;
  --motion-slow: 420ms;
}

* { box-sizing: border-box; min-width: 0; }

body { margin: 0; min-width: 320px; background: #ffffff; }

.ui-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border: 1px solid var(--border-subtle);
  border-left-width: 3px;
  border-radius: var(--radius-control);
  padding: 10px 12px;
  color: var(--text-primary);
  background: var(--surface-raised);
  font-size: 13px;
  line-height: 1.55;
}

.ui-status.is-loading { border-left-color: #3f8fac; }
.ui-status.is-success { border-left-color: var(--success); }
.ui-status.is-warning { border-left-color: var(--warning); }
.ui-status.is-error { border-left-color: var(--danger); }

.ui-empty-state {
  display: grid;
  place-items: center;
  min-height: 128px;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-panel);
  padding: 24px;
  color: var(--text-muted);
  background: var(--surface-raised);
  text-align: center;
  line-height: 1.65;
}

.operation-feedback:not(:empty) {
  display: flex;
  align-items: center;
  min-height: 34px;
  border-left: 3px solid currentColor;
  padding: 7px 10px;
  line-height: 1.5;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.operation-feedback.is-loading::before {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  content: "";
  animation: issue-spinner .72s linear infinite;
}

.operation-feedback.is-error { color: #a63d4b !important; background: #fff4f5; }
.operation-feedback.is-manual { color: #8a651f !important; background: #fff9e9; }
[data-ui-theme="member"] .operation-feedback { color: #14776f; background: rgb(234 249 246 / 82%); }
[data-ui-theme="vip"] .operation-feedback { color: #d5af60; background: rgb(35 29 18 / 88%); }
[data-ui-theme="founder"] .operation-feedback { color: #e29a89; background: rgb(52 27 32 / 88%); }
[data-ui-theme="admin"] .operation-feedback { color: #2a788d; background: #edf7f9; }

button, input, select { font: inherit; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; opacity: .55; }

a { color: inherit; }

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 32px;
  border-bottom: 1px solid #e5eaf1;
}

.brand-cluster { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 750; text-decoration: none; color: #172033; }
.brand-logo { display: block; width: 25px; height: 25px; object-fit: contain; flex: 0 0 auto; }
.vip-header .brand-logo, .vip-admin-page .brand-logo { filter: brightness(0) invert(1); }
.codework-mark { display: inline-flex; align-items: center; gap: 7px; color: #334155; font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.codework-mark img { display: block; width: 24px; height: 20px; object-fit: contain; }
.codework-mark span { color: #0f766e; font-size: 16px; }

.header-actions, .toolbar-actions, .dialog-actions, .campaign-heading-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }

.text-link { display: inline-flex; align-items: center; min-height: 30px; padding: 0 5px; border-radius: 4px; color: #2563eb; font-size: 14px; text-decoration: none; transition: color .16s ease, background .16s ease, transform .16s ease; }
.text-link:hover { color: #0f766e; background: #f0fdfa; transform: translateY(-1px); }

.page-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 72px; }
.is-hidden { display: none !important; }

.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); align-items: start; gap: 88px; padding-top: 54px; }
.intro-copy { padding-top: 24px; max-width: 540px; }
.intro-copy h1, .member-heading h1, .admin-heading h1 { margin: 8px 0 12px; font-size: 32px; line-height: 1.25; font-weight: 760; }
.intro-copy p:not(.eyebrow) { margin: 0; color: #64748b; line-height: 1.75; }
.eyebrow { margin: 0; color: #2563eb; font-size: 13px; font-weight: 700; }
.community-portal { display: grid; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e5eaf1; }
.community-portal h2 { margin: 0; color: #172033; font-size: 17px; }
.community-portal p { font-size: 13px; }
.community-actions, .community-qr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.community-actions .button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.qr-trigger { display: inline-flex; align-items: center; border: 0; padding: 0; color: #2563eb; background: transparent; font: inherit; font-size: 13px; text-decoration: none; transition: color .16s ease, transform .16s ease; }
.community-qr-dialog { width: min(460px, calc(100% - 28px)); max-height: calc(100vh - 28px); overflow: auto; border: 1px solid #d9e1eb; border-radius: 8px; padding: 0; color: #172033; }
.community-qr-dialog::backdrop { background: rgb(15 23 42 / .42); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dialog-heading h2 { margin: 4px 0 0; font-size: 18px; line-height: 1.45; }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid #d5dde8; border-radius: 6px; color: #475569; background: #ffffff; font-size: 22px; line-height: 1; }
.community-qr-dialog img { display: block; width: min(100%, 390px); max-height: 70vh; margin: 18px auto 0; object-fit: contain; }

.panel { border: 1px solid #dfe5ed; border-radius: 8px; background: #ffffff; }
.form-panel { display: grid; gap: 17px; padding: 28px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.form-panel:focus-within { border-color: #93c5fd; box-shadow: 0 16px 34px rgb(37 99 235 / .1); transform: translateY(-2px); }
.login-form-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid #e8edf4; }
.login-form-heading > div { display: grid; gap: 3px; }
.login-form-heading strong { color: #172033; font-size: 16px; }
.login-form-heading small { color: #64748b; font-size: 12px; }
.login-form-mark { position: relative; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #93c5fd; border-radius: 7px; background: #eff6ff; overflow: hidden; }
.login-form-mark img { display: block; width: 24px; height: 20px; object-fit: contain; }
.login-form-mark::before, .login-form-mark::after { display: none; position: absolute; background: #2563eb; content: ''; }
.login-form-mark::before { inset: 8px 14px 8px 8px; }
.login-form-mark::after { inset: 14px 8px 8px 8px; opacity: .45; }
.login-submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin-top: 4px; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.login-submit-button:hover:not(:disabled) { box-shadow: 0 8px 16px rgb(37 99 235 / .2); transform: translateY(-1px); }
.login-submit-button:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.login-submit-spinner { display: none; width: 14px; height: 14px; border: 2px solid rgb(255 255 255 / .38); border-top-color: #ffffff; border-radius: 50%; animation: login-spinner .7s linear infinite; }
.form-panel.is-submitting .login-submit-spinner { display: block; }
.form-panel.is-submitting label { opacity: .72; }
.form-panel.login-form-success { border-color: #86efac; box-shadow: 0 16px 34px rgb(34 197 94 / .12); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 46px; }
.password-visibility-button { position: absolute; top: 50%; right: 7px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; color: #94a3b8; background: transparent; transform: translateY(-50%); }
.password-visibility-button:hover { color: #2563eb; }
.password-visibility-icon { position: relative; display: block; width: 17px; height: 11px; border: 1.7px solid currentcolor; border-radius: 50%; }
.password-visibility-icon::after { position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: currentcolor; content: ''; transform: translate(-50%, -50%); }
.password-visibility-button:not(.is-visible)::after { position: absolute; width: 22px; height: 1.7px; background: currentcolor; content: ''; transform: rotate(-42deg); }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: -2px; }
.login-options > a { display: inline-flex; color: #2563eb; font-size: 13px; font-weight: 650; text-decoration: none; transition: color .16s ease, transform .16s ease; }
.login-options > a:hover { color: #1d4ed8; transform: translateY(-1px); }
.login-remember-control { display: inline-flex; align-items: center; gap: 8px; color: #475569; font-size: 13px; font-weight: 600; cursor: pointer; }
.login-remember-control input { width: 17px; min-height: 17px; margin: 0; accent-color: #2563eb; }
@keyframes login-spinner { to { transform: rotate(360deg); } }
label { display: grid; gap: 8px; color: #334155; font-size: 14px; font-weight: 650; }
.field-hint { color: #64748b; font-size: 12px; font-weight: 500; line-height: 1.45; }
input, select { width: 100%; min-height: 40px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; color: #172033; background: #ffffff; outline: none; }
input:focus, select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px #dbeafe; }

.button { min-height: 38px; border: 1px solid transparent; border-radius: 6px; padding: 8px 13px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.button-primary { color: #ffffff; background: #2563eb; border-color: #2563eb; }
.button-primary:hover:not(:disabled) { background: #1d4ed8; border-color: #1d4ed8; }
.button-secondary { color: #1d4ed8; background: #ffffff; border-color: #93c5fd; }
.button-secondary:hover:not(:disabled) { background: #eff6ff; }
.button-quiet { color: #475569; background: #ffffff; border-color: #d5dde8; }
.button-quiet:hover:not(:disabled) { background: #f8fafc; }
.button-danger { color: #ffffff; background: #b91c1c; border-color: #b91c1c; }
.button-danger:hover:not(:disabled) { background: #991b1b; border-color: #991b1b; }
.button-large { width: 100%; min-height: 44px; margin-top: 24px; }

.form-message { min-height: 20px; margin: 0; color: #b91c1c; font-size: 13px; line-height: 1.5; }
.form-message.is-success { color: #047857; }
.muted { margin: 0; color: #64748b; font-size: 14px; line-height: 1.65; }

.member-heading, .admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.member-profile { display: grid; justify-items: end; gap: 4px; color: #64748b; font-size: 13px; overflow-wrap: anywhere; }
.member-profile strong { color: #172033; font-size: 14px; }
.member-profile .member-growth-title { padding: 3px 7px; border: 1px solid #8acdc4; border-radius: 3px; color: #1d766f; background: #effbf8; font-size: 10px; font-weight: 850; }

.draw-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: start; gap: 16px; }
.draw-sidebar { display: grid; gap: 16px; }
.draw-panel, .records-panel, .table-panel { padding: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.panel-heading h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.35; }
.panel-heading p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.6; }
.draw-meta { display: grid; justify-items: end; gap: 6px; }
.status-chip, .count-badge, .record-status { display: inline-flex; align-items: center; min-height: 25px; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-chip, .record-status.status-pending_issue { color: #1d4ed8; background: #eff6ff; }
.record-status.status-issued { color: #047857; background: #ecfdf5; }
.record-status.status-failed { color: #b45309; background: #fffbeb; }
.record-status.status-manual_hold { color: #9f1239; background: #fff1f2; }
.count-badge { color: #475569; background: #f1f5f9; }

.prize-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.prize-list li { padding: 12px; border: 1px solid #e2e8f0; border-radius: 6px; }
.prize-list strong { display: block; color: #172033; font-size: 15px; }
.prize-list span { display: block; margin-top: 4px; color: #64748b; font-size: 12px; }
.prize-list small { display: block; margin-top: 8px; color: #334155; font-size: 12px; font-weight: 700; }
.draw-rule-card { margin-top: 14px; padding: 11px 12px; border: 1px solid #e2e8f0; border-radius: 6px; color: #64748b; font-size: 12px; line-height: 1.6; }
.draw-rule-card summary { color: #172033; font-size: 13px; font-weight: 700; cursor: pointer; }
.draw-rule-card p { margin: 8px 0 0; }

.chance-guide { margin: 20px 0 16px; padding: 14px 0 0; border-top: 1px solid #e2e8f0; color: #64748b; font-size: 13px; line-height: 1.65; }
.chance-guide h3 { margin: 0 0 5px; color: #172033; font-size: 15px; }
.chance-guide p { margin: 3px 0; }
.chance-guide-lead { color: #334155; font-weight: 700; }
.chance-guide-example { color: #64748b; }
.chance-recharge-link { display: inline-flex; margin-top: 9px; color: #075fd7; font-weight: 700; text-decoration: none; }
.chance-recharge-link:hover { color: #0f766e; transform: translateY(-1px); }

.wheel-stage { position: relative; display: grid; place-items: center; width: min(100%, 360px); aspect-ratio: 1; margin: 24px auto 0; padding: 12px; }
.prize-wheel { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border: 7px solid #ffffff; border-radius: 50%; box-shadow: 0 5px 18px rgb(15 23 42 / .18), inset 0 0 0 1px rgb(15 23 42 / .1); transform: rotate(0deg); container-type: inline-size; }
.prize-wheel.wheel-rotating { transition: transform 3.8s cubic-bezier(.08, .84, .14, 1); }
.wheel-pointer { position: absolute; z-index: 3; top: 1px; left: 50%; width: 27px; height: 34px; background: #172033; clip-path: polygon(50% 100%, 0 0, 100% 0); transform: translateX(-50%); filter: drop-shadow(0 2px 2px rgb(15 23 42 / .22)); }
.wheel-labels { position: absolute; inset: 0; pointer-events: none; }
.wheel-segment-label { position: absolute; top: 50%; left: 50%; width: 18cqi; color: #ffffff; font-size: 12px; font-weight: 800; line-height: 1.2; white-space: pre-line; text-align: center; overflow-wrap: anywhere; text-shadow: 0 1px 2px rgb(15 23 42 / .34); transform: rotate(var(--label-angle)) translateY(-31cqi) rotate(calc(-1 * var(--label-angle))) translate(-50%, -50%); }
.wheel-center { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 24%; aspect-ratio: 1; border: 4px solid #ffffff; border-radius: 50%; color: #172033; background: #ffffff; font-size: 13px; font-weight: 800; transform: translate(-50%, -50%); box-shadow: 0 2px 7px rgb(15 23 42 / .18); }
.prize-wheel.is-lottery-spinning { transition: transform 4.6s cubic-bezier(.06, .74, .1, 1); }
.experience-state { min-height: 18px; margin: 7px 0 0; color: #64748b; font-size: 12px; line-height: 1.45; }
.checkin-center[data-checkin-state="submitting"] .checkin-button { cursor: wait; opacity: .86; }
.checkin-center[data-checkin-state="submitting"] .checkin-button::before { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border: 2px solid rgb(255 255 255 / .42); border-top-color: #ffffff; border-radius: 50%; content: ''; animation: issue-spinner .72s linear infinite; vertical-align: -1px; }
.checkin-center.is-vip[data-checkin-state="submitting"] .checkin-button::before { border-color: rgb(70 53 24 / .24); border-top-color: #443718; }
.checkin-center[data-checkin-state="completed"] .checkin-experience-state { color: #0f766e; }
.checkin-center.is-vip[data-checkin-state="completed"] .checkin-experience-state { color: #8b641b; }
.vip-draw-experience-state { color: #9c7a30; }
.hero-wheel-stage[data-lottery-phase="charging"] .prize-wheel, .vip-wheel-stage[data-lottery-phase="charging"] .prize-wheel { filter: brightness(1.1) saturate(1.12); }
.hero-wheel-stage[data-lottery-phase="spinning"] .wheel-pointer, .hero-wheel-stage[data-lottery-phase="slowing"] .wheel-pointer { animation: lottery-pointer-tick .16s ease-in-out infinite alternate; }
.hero-wheel-stage[data-lottery-phase="slowing"] .prize-wheel, .vip-wheel-stage[data-lottery-phase="slowing"] .prize-wheel { filter: brightness(1.08); }
.hero-wheel-stage.lottery-theme-member .prize-wheel { box-shadow: 0 12px 30px rgb(8 145 178 / .28), 0 0 0 6px rgb(15 118 110 / .1), inset 0 0 0 1px rgb(255 255 255 / .45); }
.hero-wheel-stage.lottery-theme-founder .prize-wheel, .vip-wheel-stage.lottery-theme-founder .prize-wheel { border-color: #e9a18a; box-shadow: 0 18px 42px rgb(91 37 29 / .5), 0 0 0 5px #2c1715, 0 0 0 6px #a8614d, inset 0 0 0 1px #d9876e; }
.hero-wheel-stage.lottery-theme-founder .wheel-center, .vip-wheel-stage.lottery-theme-founder .wheel-center { color: #301713; border-color: #ffe0d4; background: #efaa91; }
.hero-wheel-stage.lottery-theme-founder .wheel-pointer, .vip-wheel-stage.lottery-theme-founder .wheel-pointer { background: #efaa91; }
.lottery-command-group { display: flex; align-items: stretch; gap: 8px; }
.lottery-sound-toggle.is-active { color: #ffffff; border-color: #0f766e; background: #0f766e; box-shadow: 0 0 0 3px rgb(15 118 110 / .12); }
.vip-page-body .lottery-sound-toggle.is-active { color: #17130a; border-color: #d7b360; background: #d7b360; box-shadow: 0 0 0 3px rgb(215 179 96 / .12); }
.lottery-share-button { min-height: 42px; white-space: nowrap; }
.member-prize-reveal { position: absolute; z-index: 4; inset: 25%; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 14px; border: 1px solid #4fd1c5; color: #bff8f1; background: rgb(6 43 48 / .94); text-align: center; pointer-events: none; visibility: hidden; opacity: 0; transform: scale(.86); }
.member-prize-reveal span { color: #7ee8dc; font-size: 10px; font-weight: 850; }
.member-prize-reveal strong { color: #ffffff; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.member-prize-reveal small { color: #a8d8d4; font-size: 10px; }
.member-prize-reveal.lottery-theme-founder { border-color: #efaa91; color: #ffd8c8; background: rgb(46 23 19 / .95); }
.member-prize-reveal.is-revealed { visibility: visible; opacity: 1; transform: scale(1); animation: lottery-result-reveal .62s cubic-bezier(.18, .8, .24, 1); }
@keyframes lottery-pointer-tick { from { transform: translateX(-50%) rotate(-4deg); } to { transform: translateX(-50%) rotate(4deg); } }
@keyframes lottery-result-reveal { 0% { opacity: 0; transform: scale(.82); } 68% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

.recent-draws-panel { padding: 20px 24px; }
.recent-draw-list { position: relative; height: 320px; margin-top: 16px; overflow: hidden; padding-right: 18px; }
.recent-draw-track { will-change: transform; }
.recent-draw-set { display: grid; }
.recent-draw-scrollbar { position: absolute; top: 0; right: 3px; bottom: 0; width: 8px; border-radius: 999px; background: #eef2f7; }
.recent-draw-scroll-thumb { position: absolute; inset: 0 auto auto 0; width: 100%; border-radius: inherit; background: #94a3b8; cursor: grab; touch-action: none; }
.recent-draw-scroll-thumb:active { cursor: grabbing; background: #64748b; }
.recent-draw-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e5eaf1; }
.recent-draw-set:last-child .recent-draw-item:last-child { border-bottom: 0; }
.recent-draw-item > div { min-width: 0; }
.recent-draw-item strong, .recent-draw-item span, .recent-draw-item b { display: block; overflow-wrap: anywhere; }
.recent-draw-item strong { color: #334155; font-size: 13px; }
.recent-draw-item span { margin-top: 3px; color: #64748b; font-size: 12px; }
.recent-draw-item b { flex: 0 0 auto; color: #047857; font-size: 13px; }

.record-list { display: grid; gap: 10px; margin-top: 20px; }
.record-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 6px; }
.record-item > div, .record-item strong { min-width: 0; overflow-wrap: anywhere; }
.record-item strong { display: block; font-size: 14px; }
.record-item span { display: block; margin-top: 3px; color: #64748b; font-size: 12px; }
.empty-state { margin: 20px 0 0; color: #64748b; font-size: 14px; }

.admin-toolbar { padding: 18px 20px; margin-bottom: 16px; }
.vip-record-summary { display: grid; gap: 16px; margin-bottom: 16px; padding: 20px 22px; border: 1px solid #5b4828; color: #f4efe3; background: #111216; }
.vip-record-summary-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.vip-record-summary-heading h2 { margin: 5px 0 0; color: #f4efe3; font-size: 18px; }
.vip-record-summary-heading .eyebrow, .vip-record-summary-heading > span { color: #c9a957; }
.vip-record-summary-heading > span { font-size: 12px; }
.vip-record-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #302a20; }
.vip-record-summary-grid > div { display: grid; gap: 5px; padding: 15px 18px 0; border-left: 1px solid #302a20; }
.vip-record-summary-grid > div:first-child { padding-left: 0; border-left: 0; }
.vip-record-summary-grid span { color: #928979; font-size: 12px; }
.vip-record-summary-grid strong { color: #e2c77d; font-size: 23px; overflow-wrap: anywhere; }
.campaign-overview { display: grid; gap: 18px; padding: 0 0 24px; margin-bottom: 20px; border-bottom: 1px solid #e5eaf1; }
.overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.overview-stat { display: grid; gap: 4px; padding: 2px 18px; border-left: 1px solid #e5eaf1; }
.overview-stat:first-child { padding-left: 0; border-left: 0; }
.overview-stat span, .overview-stat small { color: #64748b; font-size: 12px; }
.overview-stat strong { color: #172033; font-size: 23px; line-height: 1.15; }
.overview-recent { display: grid; gap: 8px; }
.overview-recent h3 { margin: 0; font-size: 14px; }
.overview-recent-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.overview-draw-item { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid #e5eaf1; }
.overview-draw-item strong, .overview-draw-item small, .overview-draw-item b { overflow-wrap: anywhere; }
.overview-draw-item strong { display: block; color: #334155; font-size: 12px; }
.overview-draw-item strong span, .overview-draw-item small { color: #64748b; font-size: 11px; font-weight: 400; }
.overview-draw-item b { color: #047857; font-size: 12px; }
.campaign-panel { padding: 20px; margin-bottom: 16px; }
.campaign-heading { margin-bottom: 18px; }
.campaign-picker { display: flex; align-items: end; gap: 16px; padding: 14px; border: 1px solid #e5eaf1; border-radius: 6px; background: #f8fafc; }
.campaign-picker label { width: min(420px, 100%); }
.campaign-form { display: grid; gap: 18px; margin-top: 18px; }
.campaign-grid { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(160px, 1fr)); gap: 12px; }
.participant-capacity-control { display: grid; grid-template-columns: minmax(130px, 1fr) auto; align-items: end; gap: 8px; }
.participant-capacity-control .button { min-height: 40px; white-space: nowrap; }
.prize-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.prize-editor-heading h3 { margin: 0 0 4px; font-size: 15px; }
.prize-editor-heading p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.prize-editor { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.prize-tier { display: grid; gap: 10px; padding: 14px; border: 1px solid #e2e8f0; border-radius: 6px; }
.prize-label-field, .prize-description-field { gap: 5px; font-size: 12px; }
.prize-label-input { min-height: 36px; padding: 6px 8px; color: #172033; font-size: 14px; font-weight: 700; }
.prize-tier label { gap: 5px; font-size: 12px; }
.prize-tier input { min-height: 36px; padding: 6px 8px; }
.prize-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.prize-stats-grid label { min-width: 0; font-size: 12px; }
.prize-probability { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 9px 0; border-top: 1px solid #e5eaf1; border-bottom: 1px solid #e5eaf1; color: #64748b; font-size: 12px; }
.probability-item { display: grid; gap: 2px; min-width: 0; }
.probability-item b { color: #172033; font-size: 14px; white-space: nowrap; }
.restock-control { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 8px; padding-top: 2px; border-top: 1px dashed #cbd5e1; }
.restock-control .button { min-height: 36px; padding-inline: 10px; white-space: nowrap; }
.campaign-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 14px; border-top: 1px solid #e5eaf1; }
.campaign-actions .form-message { flex: 1 1 auto; margin: 0; }
.campaign-audience-tabs { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #d5dde8; border-radius: 7px; background: #f8fafc; }
.campaign-audience-tab { min-height: 32px; padding: 6px 10px; border: 0; border-radius: 5px; color: #64748b; background: transparent; font: inherit; font-size: 12px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.campaign-audience-tab:hover { color: #334155; background: #eef2f7; }
.campaign-audience-tab.is-active { color: #172033; background: #ffffff; box-shadow: 0 1px 2px rgb(15 23 42 / .12); }
.chance-control-panel { display: grid; gap: 18px; padding: 20px; margin-bottom: 16px; }
.shared-chance-notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid #d9b55c; border-radius: 6px; color: #4b3510; background: #fff9e9; }
.shared-chance-notice div { display: grid; gap: 4px; }
.shared-chance-notice strong { font-size: 13px; }
.shared-chance-notice span { color: #725b2d; font-size: 12px; line-height: 1.55; }
.chance-control-panel.is-shared-scope .chance-summary-grid,
.chance-control-panel.is-shared-scope .chance-actions-grid,
.chance-control-panel.is-shared-scope .chance-user-lookup { opacity: .58; }
.chance-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #e5eaf1; border-bottom: 1px solid #e5eaf1; }
.chance-stat { display: grid; gap: 4px; padding: 14px 18px; border-left: 1px solid #e5eaf1; }
.chance-stat:first-child { padding-left: 0; border-left: 0; }
.chance-stat span { color: #64748b; font-size: 12px; }
.chance-stat strong { color: #172033; font-size: 22px; line-height: 1.15; }
.chance-actions-grid { display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr) auto; align-items: end; gap: 10px; }
.chance-scope-actions { grid-template-columns: minmax(220px, 1.15fr) minmax(150px, .6fr) auto auto minmax(190px, .9fr) auto; }
.chance-scope-picker { display: grid; gap: 7px; min-width: 0; color: #475569; font-size: 12px; font-weight: 750; }
.chance-scope-picker > div { display: flex; min-height: 42px; padding: 3px; border: 1px solid #c9dfe4; border-radius: 5px; background: #f7fcfc; }
.chance-scope-button { flex: 1 1 0; border: 0; border-radius: 3px; color: #58717a; background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.chance-scope-button:hover { color: #0f766e; background: #edfafa; }
.chance-scope-button.is-active { color: #ffffff; background: #0f766e; box-shadow: 0 2px 6px rgb(15 118 110 / .18); }
.scoped-chance-preview { grid-column: 1 / 5; align-self: center; margin: 0; color: #0f766e; line-height: 1.45; }
.chance-user-lookup { display: grid; grid-template-columns: minmax(220px, 280px) auto auto minmax(140px, 180px) auto; align-items: end; gap: 10px; padding-top: 2px; }
.chance-user-hint { grid-column: 1 / -1; margin: -2px 0 0; }
.chance-user-hint strong { margin-left: 8px; color: #0f766e; font-size: 12px; }
.chance-user-result { display: grid; grid-column: 1 / -1; gap: 3px; min-height: 42px; padding: 9px 12px; border-left: 2px solid #38bdf8; color: #475569; font-size: 13px; line-height: 1.45; }
.chance-user-result:empty { display: none; }
.chance-user-result strong { color: #172033; }
.chance-user-result b { color: #0369a1; }
.vip-qualification-panel { display: grid; gap: 18px; margin-bottom: 16px; padding: 24px; overflow: hidden; }
.vip-qualification-heading { align-items: flex-start; }
.vip-qualification-seal { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #d5dde8; border-radius: 4px; color: #64748b; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.vip-qualification-lookup { display: grid; grid-template-columns: minmax(220px, 320px) auto; align-items: end; gap: 10px; }
.vip-qualification-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #e5eaf1; border-bottom: 1px solid #e5eaf1; }
.vip-qualification-summary > div { display: grid; gap: 5px; min-width: 0; padding: 16px 18px; border-left: 1px solid #e5eaf1; }
.vip-qualification-summary > div:first-child { padding-left: 0; border-left: 0; }
.vip-qualification-summary span { color: #64748b; font-size: 12px; }
.vip-qualification-summary strong { color: #172033; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.vip-qualification-adjustment { display: grid; grid-template-columns: minmax(180px, 220px) minmax(260px, 1fr) auto; align-items: end; gap: 10px; }
.vip-qualification-actions { display: flex; gap: 8px; }
.vip-qualification-history-wrap { display: grid; gap: 10px; padding-top: 4px; }
.vip-qualification-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vip-qualification-history-heading h3 { margin: 0; color: #172033; font-size: 15px; }
.vip-qualification-history-heading span { color: #94a3b8; font-size: 11px; }
.vip-qualification-history { display: grid; border-top: 1px solid #e5eaf1; }
.vip-qualification-history-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf1f5; }
.vip-qualification-history-item strong { color: #172033; font-size: 14px; }
.vip-qualification-history-item p { margin: 3px 0 0; color: #64748b; font-size: 12px; line-height: 1.45; }
.vip-qualification-history-item small { color: #94a3b8; font-size: 11px; line-height: 1.55; text-align: right; }
.vip-qualification-kind { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 24px; border: 1px solid #cbd5e1; border-radius: 4px; color: #475569; font-size: 11px; font-weight: 800; }
.vip-qualification-kind.is-grant { color: #0f766e; border-color: #99d8d2; background: #f0fdfa; }
.vip-qualification-kind.is-revoke { color: #b4233a; border-color: #efb5be; background: #fff4f5; }
.filter-grid { display: grid; grid-template-columns: 180px minmax(240px, 1fr) auto; gap: 12px; align-items: end; }
.admin-toolbar > .filter-grid { grid-template-columns: 160px 180px minmax(240px, 1fr) auto; }
.checkin-filter-grid { grid-template-columns: 150px 150px 170px minmax(210px, 1fr) auto; margin-top: 18px; }
.site-settings-panel .filter-grid { grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.4fr) minmax(150px, .7fr) auto; }
.selection-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5eaf1; color: #475569; font-size: 14px; }
.table-panel { padding: 20px; }
.table-scroll { overflow-x: auto; margin-top: 18px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; font-size: 13px; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e5eaf1; vertical-align: middle; }
th { color: #64748b; font-size: 12px; font-weight: 700; background: #f8fafc; }
td { color: #334155; }
td input[type="checkbox"], th input[type="checkbox"] { width: 16px; min-height: 16px; margin: 0; accent-color: #2563eb; }
.table-user { display: grid; gap: 3px; min-width: 145px; }
.table-user strong { color: #172033; font-size: 13px; overflow-wrap: anywhere; }
.table-user span { color: #64748b; font-size: 12px; }

.pagination-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.pagination-bar .muted { min-width: 108px; text-align: center; }

.confirm-dialog { width: min(440px, calc(100% - 32px)); border: 1px solid #d9e1eb; border-radius: 8px; padding: 0; color: #172033; }
.confirm-dialog::backdrop { background: rgb(15 23 42 / .34); }
.issue-progress { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px 12px; align-items: center; margin-top: 18px; padding: 14px; border: 1px solid #cde4e5; border-radius: 7px; background: #f3fbfb; }
.issue-progress.is-hidden { display: none; }
.issue-progress-spinner { width: 22px; height: 22px; border: 3px solid #cbe9e7; border-top-color: #159b91; border-radius: 50%; animation: issue-spinner .72s linear infinite; }
.issue-progress-copy { display: grid; gap: 3px; min-width: 0; }
.issue-progress-copy strong { color: #114a50; font-size: 14px; line-height: 1.45; }
.issue-progress-copy span { color: #64748b; font-size: 12px; }
.issue-progress-track { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 3px; background: #dcebea; }
.issue-progress-track span { display: block; width: 38%; height: 100%; border-radius: inherit; background: #27a99f; animation: issue-progress 1.25s ease-in-out infinite; }
.issue-progress.is-success .issue-progress-spinner { border: 0; animation: none; }
.issue-progress.is-success .issue-progress-spinner::before { content: "✓"; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #ffffff; background: #159b91; font-size: 14px; font-weight: 800; }
.issue-progress.is-success .issue-progress-track { display: none; }
.issue-progress.is-error { border-color: #fecaca; background: #fff7f7; }
.issue-progress.is-error .issue-progress-spinner { border: 0; animation: none; }
.issue-progress.is-error .issue-progress-spinner::before { content: "!"; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #ffffff; background: #dc2626; font-size: 14px; font-weight: 800; }
.issue-progress.is-error .issue-progress-copy strong { color: #991b1b; }
.issue-progress.is-error .issue-progress-track { display: none; }
#automatic-issue-button { min-width: 150px; }
#automatic-issue-button.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid rgb(255 255 255 / .42); border-top-color: #ffffff; border-radius: 50%; animation: issue-spinner .72s linear infinite; }
@keyframes issue-spinner { to { transform: rotate(360deg); } }
@keyframes issue-progress { from { transform: translateX(-110%); } to { transform: translateX(300%); } }

.vip-admin-entry,
.vip-admin-back { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 6px 11px; border: 1px solid #b58a37; border-radius: 5px; color: #8b641b; background: #fffaf0; font-size: 13px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.vip-admin-entry:hover,
.vip-admin-back:hover { color: #573d0b; border-color: #8b641b; background: #fff4d6; }

.vip-admin-page { min-height: 100vh; color: #f4efe3; background: #0b0c0f; }
.vip-admin-page .site-header { border-color: #30291d; background: #0b0c0f; }
.vip-admin-page .brand { color: #f4efe3; }
.vip-admin-page .text-link { color: #c5aa69; }
.vip-admin-page .page-shell { width: min(1240px, calc(100% - 40px)); }
.vip-admin-page .vip-admin-back { color: #e3c472; border-color: #765f30; background: #1b170f; }
.vip-admin-page .vip-admin-back:hover { color: #17130a; border-color: #e3c472; background: #e3c472; }
.vip-admin-page .intro-copy h1,
.vip-admin-page .admin-heading h1,
.vip-admin-page .panel-heading h2,
.vip-admin-page .prize-editor-heading h3 { color: #e3c472; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; }
.vip-admin-page .intro-copy h1 { font-size: 38px; }
.vip-admin-page .eyebrow { color: #bf9a50; }
.vip-admin-page .intro-copy p:not(.eyebrow),
.vip-admin-page .muted,
.vip-admin-page .panel-heading p,
.vip-admin-page .prize-editor-heading p { color: #9b9385; }
.vip-admin-page .panel,
.vip-admin-page .table-panel { color: #f4efe3; border-color: #4d4025; background: #111216; box-shadow: 0 14px 38px rgb(0 0 0 / .16); }
.vip-admin-page .form-panel { border-top-color: #c29b4c; }
.vip-admin-page label { color: #c7bfae; }
.vip-admin-page input,
.vip-admin-page select { color: #f4efe3; border-color: #514323; background: #171719; }
.vip-admin-page input:focus,
.vip-admin-page select:focus { border-color: #d7b360; box-shadow: 0 0 0 3px rgb(215 179 96 / .14); }
.vip-admin-page input:read-only { color: #a8a092; background: #121318; }
.vip-admin-page .button-primary { color: #17130a; border-color: #d7b360; background: #d7b360; }
.vip-admin-page .button-primary:hover:not(:disabled) { color: #0b0c0f; border-color: #edcf84; background: #edcf84; }
.vip-admin-page .button-secondary { color: #e3c472; border-color: #765f30; background: #171719; }
.vip-admin-page .button-secondary:hover:not(:disabled) { color: #17130a; border-color: #d7b360; background: #d7b360; }
.vip-admin-page .button-quiet { color: #b8ae9d; border-color: #443b2c; background: #171719; }
.vip-admin-page .button-quiet:hover:not(:disabled) { color: #f4efe3; border-color: #66583a; background: #25221b; }
.vip-admin-page .button-danger { color: #e9c8c8; border-color: #704042; background: #321d20; }
.vip-admin-page .button-danger:hover:not(:disabled) { border-color: #9e565a; background: #4a292d; }
.vip-admin-page .form-message { color: #d69b88; }
.vip-admin-page .form-message.is-success { color: #d8c77f; }
.vip-admin-page .member-profile { color: #aa9f8b; }
.vip-admin-page .member-profile strong { color: #e8d9b7; }
.vip-admin-page .campaign-overview { padding: 22px; border: 1px solid #4d4025; background: #111216; }
.vip-admin-page .overview-grid,
.vip-admin-page .chance-summary-grid { border-color: #302a20; }
.vip-admin-page .overview-stat,
.vip-admin-page .chance-stat { border-color: #302a20; }
.vip-admin-page .overview-stat span,
.vip-admin-page .overview-stat small,
.vip-admin-page .chance-stat span { color: #8f8779; }
.vip-admin-page .overview-stat strong,
.vip-admin-page .chance-stat strong { color: #e3c472; }
.vip-admin-page .overview-recent h3 { color: #d9c28a; }
.vip-admin-page .overview-draw-item { border-color: #302a20; }
.vip-admin-page .overview-draw-item strong { color: #ddd4c3; }
.vip-admin-page .overview-draw-item strong span,
.vip-admin-page .overview-draw-item small { color: #887f70; }
.vip-admin-page .overview-draw-item b { color: #d8bd77; }
.vip-admin-page .campaign-picker { border-color: #443b2c; background: #171719; }
.vip-admin-page .count-badge { color: #dcc47e; border: 1px solid #514323; background: #231d12; }
.vip-admin-page .prize-tier { border-color: #443b2c; background: #15161a; }
.vip-admin-page .prize-tier:hover { border-color: #66532e; background: #18191d; }
.vip-admin-page .prize-editor { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vip-admin-page .prize-tier { min-width: 0; padding: 12px; }
.vip-admin-page .prize-stats-grid { gap: 6px; }
.vip-admin-page .prize-stats-grid label { font-size: 10px; }
.vip-admin-page .prize-label-input,
.vip-admin-page .probability-item b { color: #ead9ad; }
.vip-admin-page .prize-probability,
.vip-admin-page .campaign-actions { border-color: #302a20; }
.vip-admin-page .restock-control { border-color: #514323; }
.vip-admin-page .shared-chance-notice { color: #e5cf91; border-color: #765f30; background: #211b10; }
.vip-admin-page .shared-chance-notice span { color: #a99a77; }
.vip-admin-page .vip-qualification-panel { position: relative; border-color: #765f30; background: #111216; box-shadow: inset 0 1px 0 rgb(227 196 114 / .12), 0 18px 42px rgb(0 0 0 / .2); }
.vip-admin-page .vip-qualification-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #d7b360; }
.vip-admin-page .vip-qualification-seal { color: #d8bd77; border-color: #66532e; background: #1b170f; }
.vip-admin-page .vip-qualification-summary { border-color: #302a20; }
.vip-admin-page .vip-qualification-summary > div { border-color: #302a20; }
.vip-admin-page .vip-qualification-summary span { color: #8f8779; }
.vip-admin-page .vip-qualification-summary strong { color: #e3c472; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; }
.vip-admin-page .vip-qualification-history-heading h3 { color: #d9c28a; }
.vip-admin-page .vip-qualification-history-heading span,
.vip-admin-page .vip-qualification-history-item small { color: #887f70; }
.vip-admin-page .vip-qualification-history { border-color: #302a20; }
.vip-admin-page .vip-qualification-history-item { border-color: #302a20; }
.vip-admin-page .vip-qualification-history-item strong { color: #ead9ad; }
.vip-admin-page .vip-qualification-history-item p { color: #aaa191; }
.vip-admin-page .vip-qualification-kind.is-grant { color: #e3c472; border-color: #66532e; background: #231d12; }
.vip-admin-page .vip-qualification-kind.is-revoke { color: #e3b0aa; border-color: #704042; background: #2c1a1c; }
.vip-admin-page .vip-record-summary { border-color: #765f30; box-shadow: 0 14px 38px rgb(0 0 0 / .16); }
.vip-admin-page .admin-toolbar { border-color: #4d4025; }
.vip-admin-page .selection-bar { color: #aaa191; border-color: #302a20; }
.vip-admin-page .table-scroll { border: 1px solid #302a20; }
.vip-admin-page th,
.vip-admin-page td { border-color: #302a20; }
.vip-admin-page th { color: #b8a777; background: #191a1e; }
.vip-admin-page td { color: #c8c0b1; background: #111216; }
.vip-admin-page tbody tr:hover td { background: #17181c; }
.vip-admin-page .table-user strong { color: #eee4d1; }
.vip-admin-page .table-user span { color: #8f8779; }
.vip-admin-page td input[type="checkbox"],
.vip-admin-page th input[type="checkbox"] { accent-color: #d7b360; }
.vip-admin-page .record-status { border: 1px solid transparent; border-radius: 3px; }
.vip-admin-page .record-status.status-pending_issue { color: #e3c472; border-color: #5f4b27; background: #231d12; }
.vip-admin-page .record-status.status-issued { color: #b8c49d; border-color: #3e4934; background: #192018; }
.vip-admin-page .record-status.status-failed,
.vip-admin-page .record-status.status-manual_hold { color: #d6aaa2; border-color: #633f3d; background: #26191a; }
.vip-admin-page .confirm-dialog { color: #f4efe3; border-color: #765f30; background: #111216; }
.vip-admin-page .confirm-dialog::backdrop { background: rgb(0 0 0 / .72); }
.vip-admin-page .dialog-summary { color: #d8cbaE; }
.vip-admin-page .issue-progress { border-color: #665329; background: #18150f; }
.vip-admin-page .issue-progress-spinner { border-color: #4c4028; border-top-color: #e3c472; }
.vip-admin-page .issue-progress-copy strong { color: #e7d293; }
.vip-admin-page .issue-progress-copy span { color: #a99c85; }
.vip-admin-page .issue-progress-track { background: #30291d; }
.vip-admin-page .issue-progress-track span { background: #d7b360; }
.vip-admin-page .issue-progress.is-success .issue-progress-spinner::before { color: #17130a; background: #e3c472; }
.vip-admin-page .issue-progress.is-error { border-color: #794137; background: #1f1412; }
.vip-admin-page .issue-progress.is-error .issue-progress-spinner::before { background: #b4534b; }
.vip-admin-page .issue-progress.is-error .issue-progress-copy strong { color: #efaaa2; }

@media (max-width: 760px) {
  .vip-admin-entry,
  .vip-admin-back { min-height: 32px; padding: 5px 8px; font-size: 11px; }
  .vip-admin-page .page-shell { width: min(100% - 24px, 560px); }
  .vip-admin-page .intro-copy h1 { font-size: 31px; }
  .vip-admin-page .campaign-overview { padding: 18px; }
  .vip-admin-page .overview-stat,
  .vip-admin-page .overview-stat:first-child,
  .vip-admin-page .chance-stat,
  .vip-admin-page .chance-stat:first-child { border-color: #302a20; }
  .vip-admin-page .table-panel { padding: 16px; }
  .vip-admin-page .prize-editor { grid-template-columns: 1fr; }
  .vip-qualification-lookup,
  .vip-qualification-adjustment { grid-template-columns: 1fr; }
  .vip-qualification-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-qualification-summary > div,
  .vip-qualification-summary > div:first-child { padding: 13px 12px; border-left: 0; border-bottom: 1px solid #302a20; }
  .vip-qualification-summary > div:nth-child(even) { border-left: 1px solid #302a20; }
  .vip-qualification-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .vip-qualification-history-item { grid-template-columns: auto minmax(0, 1fr); }
  .vip-qualification-history-item small { grid-column: 2; text-align: left; }
}

.makeup-card-panel { margin-top: 18px; }
.makeup-card-controls { display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(150px, .8fr) minmax(190px, 1.2fr) auto; gap: 10px; align-items: end; }
.makeup-card-controls label { min-width: 0; }
@media (max-width: 900px) {
  .makeup-card-controls { grid-template-columns: 1fr 1fr; }
  .makeup-card-controls .button { width: 100%; }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .vip-admin-page .prize-editor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.dialog-body { padding: 24px; }
.dialog-body h2 { margin: 8px 0 12px; font-size: 21px; }
.dialog-summary { margin: 0 0 12px; color: #172033; font-weight: 700; line-height: 1.6; }
.dialog-actions { justify-content: flex-end; margin-top: 22px; }

/* Member activity B: a focused event stage with the draw as the primary action. */
.member-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; min-height: 370px; margin-bottom: 24px; padding: 34px 48px; overflow: hidden; border-radius: 8px; background: #172033; color: #ffffff; }
.member-hero-copy { display: grid; align-content: start; max-width: 650px; }
.member-hero-topline { display: block; }
.member-hero .eyebrow { color: #aebed5; letter-spacing: .08em; }
.member-hero h1 { margin: 12px 0 8px; font-size: 34px; line-height: 1.2; }
.member-hero-window, .member-hero-description { margin: 0; color: #cad4e3; font-size: 14px; line-height: 1.7; }
.member-hero-description { max-width: 620px; margin-top: 10px; }
.member-hero .member-profile { position: absolute; top: 34px; right: 48px; justify-items: end; color: #c7d2e2; }
.member-hero .member-profile strong { color: #ffffff; }
.member-hero .member-profile.is-director span, .member-hero .member-profile.is-founder span { padding: 3px 7px; border: 1px solid currentColor; border-radius: 3px; font-size: 10px; font-weight: 850; }
.member-hero .member-profile.is-director span { color: #72d6ca; background: rgb(16 25 22 / .62); }
.member-hero .member-profile.is-founder span { color: #efaa91; background: rgb(24 17 18 / .68); }
.member-hero .member-profile .member-growth-title { border-color: rgb(139 232 218 / .52); color: #b7f7ee; background: rgb(9 37 38 / .66); }
.hero-draw-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 24px; }
.hero-draw-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.member-hero .status-chip { color: #c7d2fe; background: rgb(99 102 241 / .24); }
.member-hero .count-badge { color: #fef3c7; background: rgb(245 158 11 / .18); }
.hero-draw-button { min-width: 158px; min-height: 44px; background: #f5c452; color: #172033; box-shadow: none; }
.hero-draw-button:hover { background: #f8d171; }
.member-topup-entry { margin-top: 20px; }
.member-topup-button { display: grid; min-width: 210px; min-height: 54px; padding: 8px 15px; color: #dbeafe; border-color: #60a5fa; background: rgb(30 58 138 / .28); text-align: left; }
.member-topup-button span { font-weight: 800; }
.member-topup-button small { margin-top: 2px; color: #93c5fd; font-size: 10px; font-weight: 700; }
.member-topup-button:hover { color: #ffffff; border-color: #bfdbfe; background: rgb(37 99 235 / .36); }
.hero-draw-message { margin-top: 11px; color: #fecaca; }
.member-hero .hero-draw-message.operation-feedback { min-height: 38px; border: 1px solid rgb(94 234 212 / 28%); border-left: 3px solid #5eead4; color: #c4f7ef; background: rgb(5 26 35 / 78%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%); }
.member-hero .hero-draw-message.operation-feedback.is-success { border-color: rgb(94 234 212 / 38%); border-left-color: #5eead4; color: #bff8ef; background: rgb(5 41 48 / 86%); }
.member-hero .hero-draw-message.operation-feedback.is-error { border-color: rgb(251 113 133 / 36%); border-left-color: #fb7185; color: #fecdd3 !important; background: rgb(69 10 25 / 82%); }
.member-hero .hero-draw-message:empty { display: none; }
.hero-wheel-stage { position: absolute; z-index: 2; right: clamp(150px, 18vw, 320px); bottom: 28px; display: grid; place-items: center; width: 274px; aspect-ratio: 1; padding: 12px; }
.hero-wheel-stage .prize-wheel { width: 100%; border-width: 9px; box-shadow: 0 15px 32px rgb(15 23 42 / .32), inset 0 0 0 1px rgb(15 23 42 / .1); }
.hero-wheel-stage .wheel-pointer { top: 0; }
.hero-wheel-stage .wheel-center { color: #172033; background: #f5c452; }
.member-activity-grid { display: grid; grid-template-columns: minmax(0, 1fr) 366px; align-items: start; gap: 20px; margin-top: 26px; }
.member-prizes-panel { padding: 0 22px 20px; }
.member-prizes-heading { align-items: center; padding: 20px 0 16px; border-bottom: 1px solid #e5eaf1; }
.quiet-label { color: #64748b; font-size: 12px; white-space: nowrap; }
.member-prizes-panel .prize-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.member-prizes-panel .prize-list li { min-height: 110px; padding: 14px 12px; }
.member-prizes-panel .prize-list strong { font-size: 15px; }
.member-prizes-panel .prize-list small { color: #047857; }
.member-prizes-panel .draw-rule-card { margin-top: 18px; }
.member-prizes-panel .chance-guide { margin-bottom: 0; }
.member-side-stack { display: grid; gap: 20px; padding-top: 112px; }
.member-side-stack .recent-draws-panel { min-height: 438px; }
.member-side-stack .recent-draw-list { height: 330px; }
.member-side-stack .records-panel { padding: 20px 24px; }
.vip-status-card { display: grid; gap: 18px; padding: 23px 24px; border: 1px solid #4f4228; background: #111216; color: #f4efe3; }
.vip-card-topline { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.vip-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.vip-card-mark { color: #d8b567; font-size: 12px; font-weight: 850; letter-spacing: .2em; }
.vip-card-heading h2 { margin: 0 0 7px; color: #f4efe3; font-size: 20px; line-height: 1.25; }
.vip-card-heading p { margin: 0; color: #aea491; font-size: 13px; line-height: 1.65; }
.vip-status-card .status-chip { color: #e2c77d; background: #292112; border: 1px solid #5e4b29; border-radius: 2px; }
.vip-status-card .status-chip.is-success { color: #ead18a; background: #302614; }
.vip-status-refresh-button { flex: 0 0 auto; width: 30px; height: 30px; border-color: #5e4b29; color: #d8b567; background: #1c1913; font-size: 17px; }
.vip-status-refresh-button:hover:not(:disabled) { border-color: #8c713b; color: #f1d485; background: #292112; }
.vip-status-refresh-button:disabled { cursor: wait; opacity: .72; }
.vip-status-refresh-button span { display: block; line-height: 1; }
.vip-status-refresh-button.is-refreshing span { animation: vip-status-refresh-spin .72s linear infinite; }
.vip-status-card .vip-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #393126; border-bottom: 1px solid #393126; }
.vip-status-card .vip-status-grid > div { display: grid; gap: 5px; min-width: 0; padding: 13px 12px; border-left: 1px solid #393126; }
.vip-status-card .vip-status-grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
.vip-status-card .vip-status-grid > div:nth-child(-n + 2) { border-bottom: 1px solid #393126; }
.vip-status-card .vip-status-grid span { color: #9d9381; font-size: 11px; }
.vip-status-card .vip-status-grid strong { color: #f4efe3; font-size: 21px; overflow-wrap: anywhere; }
.vip-status-card .vip-qualification-value strong { color: #e2c77d; }
.vip-status-card .vip-status-link { display: inline-flex; width: 100%; min-height: 42px; align-items: center; justify-content: center; color: #15120b; border-color: #d7b360; background: #d7b360; text-decoration: none; }
.vip-status-card .vip-status-link:hover { color: #15120b; border-color: #ecd083; background: #ecd083; }
@keyframes vip-status-refresh-spin { to { transform: rotate(360deg); } }
.admin-preview-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1120px, calc(100% - 40px)); margin: 12px auto -28px; padding: 10px 14px; border: 1px solid #86c8c3; border-radius: 6px; color: #17444a; background: #edfafa; box-shadow: 0 10px 24px rgb(15 118 110 / .08); }
.admin-preview-strip > div { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.admin-preview-strip span { color: #0f766e; font-size: 11px; font-weight: 850; }
.admin-preview-strip strong { color: #103a45; font-size: 14px; }
.admin-preview-strip small { color: #628088; font-size: 11px; }
.admin-preview-strip .button { flex: 0 0 auto; min-height: 32px; padding: 5px 10px; }
.admin-role-preview-card { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid #b9dfe0; background: #f8fcfc; box-shadow: 0 12px 28px rgb(15 118 110 / .07); }
.admin-role-preview-topline, .admin-role-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-role-preview-topline span { color: #0f766e; font-size: 10px; font-weight: 900; }
.admin-role-preview-topline small { color: #71858a; font-size: 10px; }
.admin-role-preview-heading h2 { margin: 0; color: #103a45; font-size: 19px; }
.admin-role-preview-heading > span { padding: 3px 7px; border: 1px solid #74bdb8; border-radius: 3px; color: #0f766e; background: #e6f7f5; font-size: 11px; font-weight: 800; }
.admin-role-preview-card > p { margin: 0; color: #60777d; font-size: 12px; line-height: 1.65; }
.admin-role-preview-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #c8e4e4; }
.admin-role-preview-options button { display: grid; grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 1px 8px; min-height: 68px; padding: 10px 11px; border: 0; border-right: 1px solid #c8e4e4; border-bottom: 1px solid #c8e4e4; color: #173f48; background: #ffffff; text-align: left; cursor: pointer; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.admin-role-preview-options button:nth-child(2n) { border-right: 0; }
.admin-role-preview-options button:nth-last-child(-n+2) { border-bottom: 0; }
.admin-role-preview-options button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #9bcfcd; border-radius: 50%; color: #0f766e; font-size: 10px; font-weight: 900; }
.admin-role-preview-options button strong { min-width: 0; font-size: 12px; }
.admin-role-preview-options button small { min-width: 0; color: #789095; font-size: 9px; line-height: 1.3; }
.admin-role-preview-options button:hover:not(:disabled) { color: #0f766e; background: #edfafa; box-shadow: inset 3px 0 0 #2aa79d; }
.admin-role-preview-options button.is-active { color: #ffffff; background: #117d77; box-shadow: inset 3px 0 0 #8ce3d8; }
.admin-role-preview-options button.is-active > span { border-color: #9ee9e0; color: #eafffc; }
.admin-role-preview-options button.is-active small { color: #c9f1ec; }
.admin-role-preview-options button:disabled { cursor: wait; opacity: .68; }
.admin-role-preview-card > .admin-role-preview-safety { padding-top: 10px; border-top: 1px solid #d9ebeb; color: #527077; font-size: 10px; }
.admin-role-preview-card .form-message { min-height: 0; }
.vip-entry-transition { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; overflow: hidden; color: #f4efe3; background: rgb(8 9 12 / .96); pointer-events: none; transition: opacity .24s ease, visibility .24s step-end; }
.vip-entry-transition::before, .vip-entry-transition::after { position: absolute; inset: 10%; border: 1px solid #5e4926; content: ''; transform: scale(.9); opacity: 0; }
.vip-entry-transition::after { inset: 17%; border-color: #2d2619; }
.vip-entry-transition-frame { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; width: min(100%, 420px); padding: 34px 28px; border-top: 1px solid #d7b360; border-bottom: 1px solid #715a2c; text-align: center; transform: translateY(16px) scale(.96); opacity: 0; }
.vip-entry-transition-mark { color: #e5c777; font-size: 44px; font-weight: 850; line-height: 1; letter-spacing: .22em; text-indent: .22em; }
.vip-entry-transition p { margin: 0; color: #aa9160; font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.vip-entry-transition strong { color: #f4efe3; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 20px; font-weight: 700; }
.vip-entry-transition-active { overflow: hidden; }
.vip-entry-transition-active .vip-entry-transition { visibility: visible; opacity: 1; transition: opacity .24s ease; }
.vip-entry-transition-active .vip-entry-transition::before, .vip-entry-transition-active .vip-entry-transition::after { animation: vip-entry-sweep .68s cubic-bezier(.18,.8,.24,1) forwards; }
.vip-entry-transition-active .vip-entry-transition::after { animation-delay: .06s; }
.vip-entry-transition-active .vip-entry-transition-frame { animation: vip-entry-frame .54s cubic-bezier(.18,.8,.24,1) .1s forwards; }
@keyframes vip-entry-sweep { to { transform: scale(1); opacity: 1; } }
@keyframes vip-entry-frame { to { transform: translateY(0) scale(1); opacity: 1; } }
.member-topup-dialog { width: min(100% - 32px, 470px); padding: 0; border: 1px solid #60a5fa; color: #e8edf7; background: #172033; box-shadow: 0 24px 70px rgb(15 23 42 / .48); }
.member-topup-dialog::backdrop { background: rgb(15 23 42 / .68); }
.member-topup-dialog-inner { display: grid; gap: 16px; padding: 28px; }
.member-topup-dialog h2 { margin: 0; color: #ffffff; font-size: 22px; }
.member-topup-dialog p { margin: 0; color: #cbd5e1; line-height: 1.7; }
.member-topup-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }
.member-topup-dialog-actions form { margin: 0; }
.logout-confirm-dialog { width: min(500px, calc(100% - 32px)); overflow: hidden; border: 1px solid #cde4e5; border-radius: 8px; padding: 0; color: #103a45; background: #f7fcfc; box-shadow: 0 26px 76px rgb(15 118 110 / .18); }
.logout-confirm-dialog::backdrop { background: rgb(15 118 110 / .2); backdrop-filter: blur(4px); }
.logout-confirm-dialog-body { display: grid; gap: 12px; padding: 26px 24px 23px; border-bottom: 1px solid #d9ecec; }
.logout-confirm-dialog h2 { margin: 0; color: #103a45; font-size: 23px; line-height: 1.2; }
.logout-confirm-dialog p { max-width: 405px; margin: 0; color: #49636c; font-size: 15px; line-height: 1.6; }
.logout-confirm-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px 22px; background: #f4fbfb; }
.logout-confirm-dialog .button { min-width: 72px; min-height: 40px; border-radius: 6px; }
.logout-cancel-button { border-color: #9ed8d4; color: #0f766e; background: #ffffff; }
.logout-cancel-button:hover { border-color: #58beb7; color: #0b615b; background: #effafa; }
.logout-confirm-button { border-color: #0f766e; color: #ffffff; background: #0f766e; box-shadow: 0 8px 18px rgb(15 118 110 / .18); }
.logout-confirm-button:hover:not(:disabled) { border-color: #0b615b; background: #0b615b; }
.logout-confirm-button:disabled { cursor: wait; opacity: .62; }
.vip-privacy-control { display: inline-flex; align-items: center; justify-self: center; gap: 8px; min-width: 0; color: #c5ad72; font-size: 12px; font-weight: 750; cursor: pointer; }
.vip-privacy-control input { appearance: none; position: relative; width: 42px; min-height: 24px; margin: 0; border: 1px solid #5b4828; border-radius: 999px; background: #252116; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.vip-privacy-control input::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #8c8374; content: ''; transition: transform .2s ease, background .2s ease; }
.vip-privacy-control input:checked { border-color: #d7b360; background: #5d4a24; }
.vip-privacy-control input:checked::after { background: #f5d77f; transform: translateX(18px); }
.vip-privacy-control input:disabled { cursor: wait; opacity: .65; }
.vip-private-value { display: inline-flex !important; align-items: center; gap: 7px; color: #e8cf85 !important; white-space: nowrap; }
.vip-private-value img { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 5px; }
.vip-page-body { min-height: 100vh; color: #f4efe3; background: #0b0c0f; }
.vip-header { border-color: #292419; background: #0b0c0f; }
.vip-header .brand, .vip-header .vip-back-link { color: #f5eedf; }
.vip-header-divider { width: 1px; height: 18px; background: #66583a; }
.vip-header-label { color: #d5af60; font-size: 13px; font-weight: 800; }
.vip-back-link { color: #d5af60; font-size: 14px; font-weight: 700; text-decoration: none; }
.vip-welcome-transition { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; color: #f4efe3; background: rgb(8 9 12 / .9); pointer-events: none; transition: opacity .18s ease, visibility .18s step-end; }

/* Zulong VIP presence is separate from the member activity surface. */
.vip-presence-ticker { --presence-accent: #e3c472; --presence-sheen: rgb(227 196 114 / .16); position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 10px; width: min(620px, calc(100% - 40px)); min-height: 38px; margin: 12px auto -20px; padding: 7px 16px; border: 1px solid #4d4025; border-radius: 6px; color: #e6d4a8; background: #111216; box-shadow: 0 10px 26px rgb(17 18 22 / .15); font-size: 13px; font-weight: 700; overflow: hidden; }
.vip-presence-ticker::before { position: absolute; z-index: 0; inset: -40% auto -40% -45%; width: 34%; background: linear-gradient(100deg, transparent, var(--presence-sheen), transparent); content: ''; pointer-events: none; transform: skewX(-18deg); animation: vip-presence-sheen 4.8s ease-in-out 1.1s infinite; }
.vip-presence-ticker > span { position: relative; z-index: 1; }
.vip-presence-ticker.is-announcing { animation: vip-presence-arrive .62s cubic-bezier(.2,.82,.24,1) both; }
.vip-presence-ticker.is-announcing .vip-presence-ticker-mark { animation: vip-presence-mark-arrive .52s cubic-bezier(.2,.82,.24,1) .08s both; }
.vip-presence-ticker.is-announcing #vip-presence-ticker-copy { animation: vip-presence-copy-arrive .56s cubic-bezier(.2,.82,.24,1) .14s both; }
.vip-presence-ticker-mark, .vip-online-rail-mark { color: #e3c472; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.vip-presence-ticker-mark { display: inline-flex; align-items: center; gap: 7px; }
.vip-presence-ticker-mark::before { width: 6px; height: 6px; border-radius: 50%; background: var(--presence-accent); box-shadow: 0 0 0 0 var(--presence-sheen); content: ''; animation: vip-presence-pulse 2.2s ease-out infinite; }
.vip-presence-ticker.is-director { --presence-accent: #72d6ca; --presence-sheen: rgb(114 214 202 / .18); border-color: #41837c; color: #e6ddc3; box-shadow: 0 10px 28px rgb(20 124 116 / .14); }
.vip-presence-ticker.is-director .vip-presence-ticker-mark { color: #72d6ca; }
.vip-presence-ticker.is-founder { --presence-accent: #efaa91; --presence-sheen: rgb(239 170 145 / .19); border-color: #845448; color: #f0dfd4; background: #151112; box-shadow: 0 10px 28px rgb(132 84 72 / .16); }
.vip-presence-ticker.is-founder .vip-presence-ticker-mark { color: #efaa91; }
.vip-presence-ticker.is-administrator { --presence-accent: #7de1d5; --presence-sheen: rgb(125 225 213 / .2); border-color: #397c78; color: #e8fbf8; background: #0d1718; box-shadow: 0 10px 30px rgb(15 118 110 / .2); }
.vip-presence-ticker.is-administrator .vip-presence-ticker-mark { color: #7de1d5; }
.admin-online-rail { position: relative; isolation: isolate; display: grid; gap: 12px; width: min(360px, calc(100% - 28px)); margin: 0 auto 34px; padding: 20px; border: 1px solid #3f7774; border-radius: 8px; color: #eefcf9; background: #0d1718; box-shadow: 0 18px 40px rgb(5 55 53 / .2); overflow: hidden; }
.admin-online-rail::after { position: absolute; z-index: 0; inset: -35% auto -35% -48%; width: 34%; background: linear-gradient(100deg, transparent, rgb(118 225 212 / .18), transparent); content: ''; pointer-events: none; transform: skewX(-18deg); }
.admin-online-rail.is-activating { animation: admin-seat-arrive .72s cubic-bezier(.18,.82,.24,1) both; }
.admin-online-rail.is-activating::after { animation: admin-seat-scan 1.35s ease-out both; }
.admin-online-rail > * { position: relative; z-index: 1; }
.admin-online-rail-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-online-rail-state { display: inline-flex; align-items: center; gap: 7px; color: #7dbab4; font-size: 12px; font-weight: 750; }
.admin-vision-eye { position: relative; display: inline-block; width: 18px; height: 11px; border: 1.5px solid currentColor; border-radius: 50% / 60%; opacity: .95; transform-origin: center; animation: admin-eye-idle-blink 7.2s ease-in-out 1.2s infinite; }
.admin-vision-eye::after { position: absolute; top: 50%; left: 7px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; content: ''; transform: translateY(-50%); animation: admin-eye-patrol 3.6s ease-in-out infinite; }
.admin-online-rail.is-activating .admin-vision-eye { animation: admin-eye-blink .56s ease-out .12s 1, admin-eye-idle-blink 7.2s ease-in-out 1.1s infinite; }
.admin-online-rail-mark { color: #7de1d5; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.admin-online-rail h2 { margin: 0; color: #f2fffc; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 20px; }
.admin-online-rail > p { margin: -5px 0 2px; color: #85aaa6; font-size: 12px; }
.admin-online-rail ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.admin-online-rail ul,
.vip-online-rail ul,
.member-online-rail ul {
  --online-seat-row-gap: 8px;
  max-height: calc(var(--online-seat-row-height) * 5 + var(--online-seat-row-gap) * 4);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgb(96 175 168 / .65) transparent;
  scrollbar-width: thin;
}
.admin-online-rail ul { --online-seat-row-height: 42px; }
.vip-online-rail ul { --online-seat-row-height: 40px; }
.member-online-rail ul { --online-seat-row-height: 36px; }
.online-seat-list.is-auto-scrolling { scroll-behavior: auto; }
.online-seat-list:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.online-seat-list::-webkit-scrollbar { width: 5px; }
.online-seat-list::-webkit-scrollbar-track { background: transparent; }
.online-seat-list::-webkit-scrollbar-thumb { border-radius: 999px; background: rgb(96 175 168 / .65); }
.admin-online-rail li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 42px; padding: 9px 10px; border: 1px solid #203a39; border-left: 2px solid #4b8580; border-radius: 4px; background: rgb(7 24 24 / .34); }
.admin-online-rail li.is-entering { animation: admin-member-arrive .5s cubic-bezier(.18,.82,.24,1) calc(var(--admin-entry-index, 0) * 70ms) both; }
.admin-online-member-mark { color: #7de1d5; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.admin-online-rail li strong { min-width: 0; color: #f4fffd; font-size: 13px; overflow-wrap: anywhere; }
.admin-online-rail li small { color: #78c7be; font-size: 11px; font-weight: 750; }
.vip-online-rail { display: grid; gap: 12px; width: min(360px, calc(100% - 28px)); margin: 0 auto 34px; padding: 20px; border: 1px solid #4d4025; border-radius: 8px; color: #f4efe3; background: #111216; box-shadow: 0 18px 38px rgb(17 18 22 / .16); }
.vip-online-rail-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vip-online-rail-topline > span:last-child { color: #a99a77; font-size: 12px; font-weight: 700; }
.vip-online-rail h2 { margin: 0; color: #e3c472; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 20px; }
.vip-online-rail > p { margin: -5px 0 2px; color: #978f82; font-size: 12px; }
.vip-online-rail ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.vip-online-rail li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 40px; padding: 8px 0; border-top: 1px solid #302a20; }
.vip-online-rail li.is-entering { animation: vip-online-member-arrive .58s cubic-bezier(.18,.82,.24,1) calc(var(--vip-entry-index, 0) * 55ms) both; }
.vip-online-rail li.is-entering .vip-online-member-mark { animation: vip-online-mark-arrive .48s cubic-bezier(.18,.82,.24,1) calc(90ms + var(--vip-entry-index, 0) * 55ms) both; }
.vip-online-rail li.is-entering strong, .vip-online-rail li.is-entering small { animation: vip-online-copy-arrive .5s cubic-bezier(.18,.82,.24,1) calc(130ms + var(--vip-entry-index, 0) * 55ms) both; }
.vip-online-member-mark { color: #d8bd77; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.vip-online-rail li.is-director { margin: 2px -8px; padding: 9px 8px; border: 1px solid #4d897f; background: #101916; }
.vip-online-member-mark.is-director { color: #72d6ca; font-size: 9px; letter-spacing: .04em; }
.vip-online-rail li.is-director strong { color: #f0e3c0; }
.vip-online-rail li.is-director small { color: #84d7c8; }
.vip-online-rail li.is-founder { margin: 2px -8px; padding: 9px 8px; border: 1px solid #845448; background: #181112; }
.vip-online-member-mark.is-founder { color: #efaa91; font-size: 9px; letter-spacing: .04em; }
.vip-online-rail li.is-founder strong { color: #f2dfd5; }
.vip-online-rail li.is-founder small { color: #d9957e; }
.vip-online-rail li strong { min-width: 0; color: #ece2cd; font-size: 13px; overflow-wrap: anywhere; }
.vip-online-rail li small { color: #b49d66; font-size: 11px; }
.member-online-rail { display: grid; gap: 12px; width: min(360px, calc(100% - 28px)); margin: 0 auto 34px; padding: 20px; border: 1px solid #a8dddd; border-radius: 8px; color: #125f63; background: #f1fbfb; box-shadow: 0 16px 34px rgb(15 118 110 / .1); }
.member-online-rail-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-online-rail-topline > span:last-child { color: #438188; font-size: 12px; font-weight: 700; }
.member-online-rail-mark { color: #16858a; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.member-online-rail h2 { margin: 0; color: #125f63; font-size: 18px; }
.member-online-rail > p { margin: -5px 0 2px; color: #568187; font-size: 12px; }
.member-online-rail ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.member-online-rail li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 38px; padding: 8px 10px; border: 1px solid #c9e9e8; border-radius: 4px; background: #fbffff; }
.member-online-rail li.is-entering { animation: member-online-member-arrive .46s cubic-bezier(.18,.82,.24,1) calc(var(--member-entry-index, 0) * 55ms) both; }
.member-online-member-mark { color: #16858a; font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.member-online-rail li strong { min-width: 0; color: #125f63; font-size: 13px; overflow-wrap: anywhere; }
.member-online-rail li small { color: #4b8186; font-size: 11px; font-weight: 700; }
.vip-page-body .vip-presence-ticker { position: relative; z-index: 2; margin: 16px auto -28px; }
.vip-page-body .vip-online-rail { border-color: #67511f; background: #0d0e12; box-shadow: 0 20px 42px rgb(0 0 0 / .34); }
.vip-page-body .admin-online-rail,
.vip-page-body .vip-online-rail,
.vip-page-body .member-online-rail { display: none; }

@keyframes vip-presence-arrive {
  0% { opacity: 0; transform: translateY(-9px) scale(.985); filter: blur(3px); }
  62% { opacity: 1; transform: translateY(1px) scale(1); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes admin-seat-arrive {
  0% { opacity: 0; transform: translateX(-18px); box-shadow: 0 0 0 0 rgb(118 225 212 / 0); }
  70% { opacity: 1; transform: translateX(2px); box-shadow: 0 0 0 5px rgb(118 225 212 / .08); }
  100% { opacity: 1; transform: translateX(0); box-shadow: 0 18px 40px rgb(5 55 53 / .2); }
}
@keyframes admin-seat-scan {
  0%, 12% { left: -48%; opacity: 0; }
  28% { opacity: 1; }
  68%, 100% { left: 118%; opacity: 0; }
}
@keyframes admin-member-arrive {
  0% { opacity: 0; transform: translateX(-9px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes admin-eye-patrol {
  0%, 14% { left: 7px; }
  24%, 36% { left: 4px; }
  48%, 62% { left: 7px; }
  72%, 84% { left: 10px; }
  94%, 100% { left: 7px; }
}
@keyframes admin-eye-blink {
  0%, 100% { transform: scaleY(1); }
  48% { transform: scaleY(.16); }
  62% { transform: scaleY(1); }
}
@keyframes admin-eye-idle-blink {
  0%, 44%, 47%, 100% { transform: scaleY(1); }
  45.5% { transform: scaleY(.16); }
}
@keyframes vip-presence-mark-arrive {
  0% { opacity: 0; transform: translateX(-9px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes vip-presence-copy-arrive {
  0% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes vip-presence-pulse {
  0% { box-shadow: 0 0 0 0 var(--presence-sheen); }
  70%, 100% { box-shadow: 0 0 0 7px transparent; }
}
@keyframes vip-presence-sheen {
  0%, 18% { left: -45%; opacity: 0; }
  30% { opacity: 1; }
  52% { left: 112%; opacity: 0; }
  100% { left: 112%; opacity: 0; }
}
@keyframes vip-online-member-arrive {
  0% { opacity: 0; transform: translateX(18px); filter: brightness(1.45); box-shadow: inset 3px 0 0 rgb(227 196 114 / .7); }
  68% { opacity: 1; transform: translateX(-2px); filter: brightness(1.12); box-shadow: inset 3px 0 0 rgb(227 196 114 / .25); }
  100% { opacity: 1; transform: translateX(0); filter: brightness(1); box-shadow: inset 0 0 0 transparent; }
}
@keyframes vip-online-mark-arrive {
  0% { opacity: 0; transform: scale(.72); }
  72% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes vip-online-copy-arrive {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes member-online-member-arrive {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .vip-presence-ticker,
  .vip-presence-ticker::before,
  .vip-presence-ticker-mark,
  .vip-presence-ticker-mark::before,
  .vip-presence-ticker #vip-presence-ticker-copy,
  .admin-vision-eye,
  .admin-vision-eye::after,
  .admin-online-rail,
  .admin-online-rail::after,
  .admin-online-rail li,
  .vip-status-refresh-button span,
  .vip-online-rail li,
  .vip-online-rail li > *,
  .member-online-rail li { animation: none !important; }
}

@media (min-width: 1200px) {
  .vip-page-body .admin-online-rail { position: fixed; z-index: 10; top: 50%; left: max(24px, calc((100vw - 1960px) / 2)); display: grid; width: clamp(160px, calc((100vw - 1120px) / 2 - 48px), 320px); max-height: calc(100vh - 112px); margin: 0; overflow: auto; transform: translateY(-50%); }
  .vip-page-body .vip-online-rail { position: fixed; z-index: 10; top: 50%; right: max(24px, calc((100vw - 1960px) / 2)); display: grid; width: clamp(160px, calc((100vw - 1120px) / 2 - 48px), 320px); max-height: calc(100vh - 112px); margin: 0; overflow: auto; transform: translateY(-50%); }
  .vip-page-body .member-online-rail { position: fixed; z-index: 10; bottom: 24px; left: max(24px, calc((100vw - 1960px) / 2)); display: grid; width: clamp(160px, calc((100vw - 1120px) / 2 - 48px), 320px); max-height: calc(50vh - 42px); margin: 0; overflow: auto; }
}
.vip-welcome-transition::before, .vip-welcome-transition::after { position: absolute; inset: 12%; border: 1px solid #5e4926; content: ''; transform: scale(.94); opacity: 0; }
.vip-welcome-transition::after { inset: 19%; border-color: #2c2518; }
.vip-welcome-transition-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 9px; min-width: min(100%, 320px); padding: 28px 40px; border-top: 1px solid #d7b360; border-bottom: 1px solid #715a2c; text-align: center; transform: translateY(12px); opacity: 0; }
.vip-welcome-transition-inner span { color: #e5c777; font-size: 36px; font-weight: 850; line-height: 1; letter-spacing: .2em; text-indent: .2em; }
.vip-welcome-transition-inner small { color: #a89162; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.vip-welcome-transition-inner strong { font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 18px; }
.vip-welcome-active { overflow: hidden; }
.vip-welcome-active .vip-welcome-transition { visibility: visible; opacity: 1; transition: opacity .18s ease; }
.vip-welcome-active .vip-welcome-transition::before, .vip-welcome-active .vip-welcome-transition::after { animation: vip-welcome-frame .66s cubic-bezier(.18,.8,.24,1) forwards; }
.vip-welcome-active .vip-welcome-transition::after { animation-delay: .05s; }
.vip-welcome-active .vip-welcome-transition-inner { animation: vip-welcome-copy .46s cubic-bezier(.18,.8,.24,1) .1s forwards; }
.vip-page-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 88px; overflow-x: hidden; }
.vip-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 242px; align-items: center; min-height: 300px; padding: 42px 48px; border: 1px solid #4d4025; background: #121318; overflow: hidden; }
.vip-hero::before, .vip-hero::after { position: absolute; content: ''; background: #342c1d; }
.vip-hero::before { width: 1px; height: 100%; top: 0; right: 274px; }
.vip-hero::after { height: 1px; width: 260px; right: 0; bottom: 64px; }
.vip-hero-copy { display: grid; align-content: center; width: min(100%, 590px); min-height: 190px; padding: 8px 0; }
.vip-hero h1 { display: grid; gap: 5px; margin: 0; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 50px; font-weight: 700; line-height: 1.12; letter-spacing: 0; }
.vip-title-primary { color: #e3c472; }
.vip-title-secondary { color: #f3ead7; font-size: .9em; }
.vip-hero p { max-width: 500px; margin: 22px 0 0; color: #b6a989; font-size: 15px; line-height: 1.7; }
.vip-emblem { z-index: 1; display: grid; place-content: center; justify-self: end; width: 184px; aspect-ratio: 1; border: 1px solid #b38b3b; border-radius: 50%; color: #d5af60; text-align: center; box-shadow: inset 0 0 0 9px #171719; }
.vip-emblem span { font-size: 40px; font-weight: 850; line-height: 1; }
.vip-emblem small { margin-top: 8px; color: #95805a; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.vip-page-panel { display: grid; gap: 24px; margin-top: 18px; padding: 30px 34px; border-top: 1px solid #5b4828; border-bottom: 1px solid #30291d; background: #111216; }
.vip-page-panel .panel-heading h2, .vip-campaign-heading h2 { color: #f4efe3; font-size: 20px; }
.vip-page-panel .panel-heading p, .vip-campaign-heading p { color: #938b7c; }
.vip-page-panel .status-chip, .vip-campaign-panel .status-chip { color: #d5af60; background: #231d12; border: 1px solid #5b4828; border-radius: 2px; }
.vip-page-panel .status-chip.is-success { color: #e2c77d; background: #292112; }
.vip-page-panel .vip-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #302a20; border-bottom: 1px solid #302a20; }
.vip-page-panel .vip-status-grid > div { display: grid; gap: 5px; min-width: 0; padding: 15px 18px; border-left: 1px solid #302a20; }
.vip-page-panel .vip-status-grid > div:first-child { padding-left: 0; border-left: 0; }
.vip-page-panel .vip-status-grid span { color: #8c8374; }
.vip-page-panel .vip-status-grid strong { color: #f4efe3; font-size: 24px; }
.vip-page-panel .vip-qualification-value strong { color: #e2c77d; }
.vip-page-panel .button-secondary { color: #e5c777; border-color: #765f30; background: transparent; }
.vip-page-panel .button-secondary:hover { color: #0b0c0f; background: #d6b15f; }
.vip-campaign-panel { display: grid; gap: 28px; margin-top: 18px; padding: 34px; border: 1px solid #514323; background: #121318; }
.vip-campaign-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid #302a20; }
.vip-campaign-meta { display: grid; justify-items: end; gap: 8px; }
.vip-countdown { color: #d8bd77; font-size: 12px; font-weight: 800; white-space: nowrap; }
.vip-inventory-alert { padding: 11px 14px; border-left: 2px solid #d5af60; color: #e3ca8b; background: #211b10; font-size: 13px; line-height: 1.55; }
.vip-section-mark { margin: 0 0 9px !important; color: #bf9a50 !important; font-size: 12px !important; font-weight: 800; letter-spacing: .14em; }
.vip-campaign-main { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(280px, 350px); align-items: center; gap: 30px; }
.vip-wheel-column { display: grid; min-width: 0; }
.vip-recent-panel { min-height: 390px; padding: 4px 0 4px 28px; border-left: 1px solid #514323; }
.vip-recent-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #302a20; }
.vip-recent-heading h3 { margin: 0; color: #f4efe3; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 18px; }
.vip-recent-heading > span { color: #9b7e48; font-size: 11px; font-weight: 800; white-space: nowrap; }
.vip-recent-draw-list { position: relative; height: 326px; overflow: hidden; padding-right: 18px; }
.vip-recent-track { will-change: transform; }
.vip-recent-track.is-static .vip-recent-set[aria-hidden="true"] { display: none; }
.vip-recent-set { display: grid; }
.vip-recent-item { display: grid; gap: 8px; padding: 13px 0; border-bottom: 1px solid #29251d; }
.vip-recent-item > div { min-width: 0; }
.vip-recent-item strong,
.vip-recent-item span,
.vip-recent-item b { display: block; overflow-wrap: anywhere; }
.vip-recent-item strong { color: #ddd4c3; font-size: 13px; }
.vip-recent-item span { margin-top: 4px; color: #81796c; font-size: 11px; line-height: 1.45; }
.vip-recent-item b { color: #d8bd77; font-size: 13px; font-weight: 750; }
.vip-recent-empty { display: grid; place-items: center; min-height: 260px; margin: 0; color: #766f63; font-size: 13px; text-align: center; }
.vip-recent-scrollbar { position: absolute; top: 14px; right: 2px; bottom: 14px; width: 7px; background: #242119; }
.vip-recent-scroll-thumb { position: absolute; inset: 0 auto auto 0; width: 100%; min-height: 38px; background: #80662f; cursor: grab; touch-action: none; }
.vip-recent-scroll-thumb:active { background: #c29f50; cursor: grabbing; }
.vip-prize-stage { overflow: hidden; }
.vip-wheel-stage { position: relative; display: grid; place-items: center; width: min(100%, 350px); aspect-ratio: 1; margin: 0 auto; padding: 18px; isolation: isolate; }
.vip-wheel-aura { position: absolute; z-index: -1; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, #efd68d 0 5deg, transparent 5deg 30deg); -webkit-mask: radial-gradient(circle, transparent 0 43%, #000 44% 51%, transparent 52%); mask: radial-gradient(circle, transparent 0 43%, #000 44% 51%, transparent 52%); opacity: .52; animation: vip-aura-idle 14s linear infinite; }
.vip-wheel-stage::after { position: absolute; z-index: -2; inset: 10%; border: 1px solid #6f592b; border-radius: 50%; box-shadow: 0 0 38px rgb(215 179 96 / .18); content: ''; }
.vip-wheel-stage .prize-wheel { width: 100%; border-color: #d7b360; box-shadow: 0 16px 34px rgb(0 0 0 / .42), 0 0 0 5px #211a0e, 0 0 0 6px #6f592b, inset 0 0 0 1px #6f592b; }
.vip-wheel-stage .prize-wheel.wheel-rotating { transition-duration: 5.2s; transition-timing-function: cubic-bezier(.08, .72, .12, 1); }
.vip-wheel-stage .wheel-pointer { top: 3px; background: #e2c77d; transform-origin: 50% 0; }
.vip-wheel-stage .wheel-center { color: #17130a; border-color: #f5e7ba; background: #d7b360; }
.vip-wheel-stage.is-spinning .vip-wheel-aura { opacity: 1; animation-duration: 1.1s; filter: drop-shadow(0 0 9px #d7b360); }
.vip-wheel-stage.is-spinning .wheel-pointer { animation: vip-pointer-tick .22s ease-in-out infinite alternate; }
.vip-wheel-stage.is-revealed .wheel-center { animation: vip-center-reveal .7s ease-out; }
.vip-wheel-stage.is-revealed::after { box-shadow: 0 0 52px rgb(239 214 141 / .38); }
.vip-prize-reveal { position: absolute; z-index: 4; inset: 23%; display: grid; align-content: center; justify-items: center; gap: 7px; padding: 14px; border: 1px solid #d7b360; color: #e6ce8e; background: rgb(15 13 10 / .94); text-align: center; pointer-events: none; opacity: 0; transform: scale(.84); }
.vip-prize-reveal span { color: #aa9160; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.vip-prize-reveal strong { color: #f4efe3; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.vip-prize-reveal small { color: #b6a989; font-size: 10px; }
.vip-prize-reveal.is-revealed { opacity: 1; transform: scale(1); animation: vip-prize-reveal .62s cubic-bezier(.18,.8,.24,1); }
.vip-wheel-result { display: grid; justify-items: center; gap: 5px; width: min(100%, 390px); margin: -8px auto 0; padding: 14px 18px; border-top: 1px solid #725b2d; border-bottom: 1px solid #30291d; color: #9f927b; background: #0f1013; text-align: center; }
.vip-wheel-result span { font-size: 11px; font-weight: 800; }
.vip-wheel-result strong { color: #e2c77d; font-size: 19px; overflow-wrap: anywhere; }
.vip-wheel-result.is-revealed { animation: vip-result-reveal .55s ease-out; }
@keyframes vip-aura-idle { to { transform: rotate(360deg); } }
@keyframes vip-pointer-tick { from { transform: translateX(-50%) rotate(-3deg); } to { transform: translateX(-50%) rotate(3deg); } }
@keyframes vip-center-reveal { 0% { transform: translate(-50%, -50%) scale(.9); } 55% { transform: translate(-50%, -50%) scale(1.12); } 100% { transform: translate(-50%, -50%) scale(1); } }
@keyframes vip-result-reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vip-welcome-frame { to { transform: scale(1); opacity: 1; } }
@keyframes vip-welcome-copy { to { transform: translateY(0); opacity: 1; } }
@keyframes vip-prize-reveal { from { opacity: 0; transform: scale(.84); } 68% { opacity: 1; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.vip-campaign-panel .prize-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0; background: #413922; }
.vip-campaign-panel .prize-list li { position: relative; min-height: 154px; padding: 20px 18px; border: 0; border-radius: 0; background: #16171b; }
.vip-campaign-panel .prize-list li:hover { background: #1d1d1c; }
.vip-campaign-panel .prize-list small { display: block; margin: 0 0 24px; color: #9b7e48; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.vip-campaign-panel .prize-list strong { color: #f4efe3; font-size: 16px; }
.vip-campaign-panel .prize-list span { color: #91897c; }
.vip-campaign-panel .prize-list em { display: block; margin-top: 14px; color: #c3a45f; font-size: 11px; font-style: normal; font-weight: 700; }
.vip-stock-state { display: inline-flex; width: fit-content; margin-top: 10px; padding: 3px 7px; border: 1px solid #3f392b; color: #958c7b; font-size: 10px; font-weight: 800; }
.vip-stock-state.is-low { border-color: #7a5c28; color: #e0bd69; background: #241c0f; }
.vip-stock-state.is-empty { border-color: #493438; color: #b88f91; background: #211719; }
.vip-stock-state.is-ready { color: #9eaa92; }
.vip-draw-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding-top: 6px; }
.vip-draw-actions > div p { margin: 0 0 3px; color: #a28d5f; font-size: 12px; }
.vip-draw-actions > div strong { color: #958b79; font-size: 13px; font-weight: 500; }
.vip-draw-action-buttons { display: flex; align-items: stretch; gap: 10px; }
.vip-chance-controls { display: flex; align-items: stretch; gap: 6px; }
.vip-refresh-chances-button, .refresh-chances-button { display: grid; flex: 0 0 42px; place-items: center; min-width: 42px; min-height: 42px; border-radius: 2px; font-size: 21px; line-height: 1; }
.vip-refresh-chances-button { border: 1px solid #765f30; color: #d5af60; background: #171511; }
.vip-refresh-chances-button:hover:not(:disabled) { color: #f4df9d; border-color: #d7b360; background: #211a0e; }
.refresh-chances-button { border: 1px solid #60a5fa; color: #dbeafe; background: rgb(30 58 138 / .28); }
.refresh-chances-button:hover:not(:disabled) { color: #ffffff; border-color: #bfdbfe; background: rgb(37 99 235 / .36); }
.vip-refresh-chances-button:disabled, .refresh-chances-button:disabled { cursor: wait; opacity: .55; }
.vip-chance-controls .status-chip { display: grid; place-items: center; min-width: 82px; padding: 0 12px; white-space: nowrap; }
.vip-topup-button { display: grid; min-width: 164px; min-height: 48px; padding: 8px 14px; border-color: #765f30; color: #e4c77c; background: #171511; text-align: left; }
.vip-topup-button span { font-weight: 800; }
.vip-topup-button small { margin-top: 2px; color: #998159; font-size: 10px; font-weight: 700; }
.vip-topup-button:hover { border-color: #d7b360; color: #f2dfaa; background: #211a0e; }
.vip-draw-actions .button-primary { min-width: 194px; min-height: 48px; color: #15120b; border-color: #d7b360; background: #d7b360; }
.vip-draw-actions .button-primary:hover:not(:disabled) { background: #edcf84; }
.vip-draw-actions .button-primary:disabled { color: #777064; border-color: #2d2a24; background: #2d2a24; }
.vip-draw-actions .form-message { grid-column: 1 / -1; color: #d99b85; }
.vip-draw-actions .form-message.is-success { color: #d6c27e; }

.vip-personal-records {
  overflow: clip;
  border: 1px solid #514323;
  background: #151519;
}
.vip-personal-records > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 13px 18px;
  cursor: pointer;
  list-style: none;
  transition: background .18s ease;
}
.vip-personal-records > summary::-webkit-details-marker { display: none; }
.vip-personal-records > summary:hover { background: #1b1a18; }
.vip-personal-records-copy { display: grid; gap: 3px; min-width: 0; }
.vip-personal-records-copy strong { color: #f1dfb0; font-size: 15px; }
.vip-personal-records-copy small { color: #9f927a; font-size: 12px; }
.vip-personal-records-action { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: #d7b360; font-size: 12px; font-weight: 800; }
.vip-personal-records-action::after { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #745c2b; border-radius: 50%; content: "+"; font-size: 17px; font-weight: 500; line-height: 1; }
.vip-personal-records[open] .vip-personal-records-action::after { content: "−"; }
.vip-personal-records[open] > summary { border-bottom: 1px solid #514323; background: #1b1a18; }
.vip-personal-records-content { padding: 0 18px 18px; }
.vip-member-record-list { display: grid; gap: 8px; margin-top: 14px; }
.vip-member-record-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; border: 1px solid #393121; padding: 10px 12px; background: #111217; }
.vip-member-record-item > div { display: grid; gap: 4px; min-width: 0; }
.vip-member-record-item strong { color: #eee6d4; font-size: 13px; overflow-wrap: anywhere; }
.vip-member-record-item span { color: #8f887b; font-size: 11px; }
.vip-member-record-status { flex: 0 0 auto; color: #d9b968; font-size: 12px; }
.vip-member-record-status.status-issued { color: #8dcba0; }
.vip-member-record-empty { margin: 14px 0 0; border: 1px dashed #4a402c; padding: 19px; color: #968b77; font-size: 13px; text-align: center; }
.vip-member-records-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.vip-member-records-pagination span { min-width: 94px; color: #b7a77f; font-size: 12px; text-align: center; }
.vip-member-records-pagination .icon-button { width: 30px; height: 30px; border-color: #5b4828; color: #d7b360; background: #1b1a18; font-size: 20px; line-height: 1; }
.vip-member-records-pagination .icon-button:hover:not(:disabled) { border-color: #a2823e; background: #282319; }
.vip-member-records-pagination .icon-button:disabled { cursor: default; opacity: .38; }
.vip-topup-dialog { width: min(100% - 32px, 470px); padding: 0; border: 1px solid #765f30; color: #eae0cf; background: #111216; box-shadow: 0 24px 70px rgb(0 0 0 / .62); }
.vip-topup-dialog::backdrop { background: rgb(0 0 0 / .72); }
.vip-topup-dialog-inner { display: grid; gap: 16px; padding: 28px; }
.vip-topup-dialog h2 { margin: 0; color: #f3ead7; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 23px; }
.vip-topup-dialog p:not(.vip-section-mark) { margin: 0; color: #a99c85; font-size: 14px; line-height: 1.75; }
.vip-topup-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }
.vip-topup-dialog-actions form { margin: 0; }
.vip-topup-dialog .button-secondary { color: #e5c777; border-color: #765f30; background: transparent; }
.vip-topup-dialog .button-primary { color: #15120b; border-color: #d7b360; background: #d7b360; }
@media (max-width: 760px) { .vip-page-shell { width: min(100% - 24px, 560px); padding: 24px 0 50px; } .vip-header { padding: 0 14px; } .vip-hero { grid-template-columns: 1fr; min-height: 0; padding: 34px 24px; } .vip-hero-copy { min-height: 0; padding: 0; } .vip-hero h1 { font-size: 38px; } .vip-hero::before, .vip-hero::after { display: none; } .vip-emblem { width: 102px; margin-top: 30px; justify-self: start; } .vip-emblem span { font-size: 26px; } .vip-page-panel, .vip-campaign-panel { padding: 24px; } .vip-campaign-heading { align-items: stretch; flex-direction: column; } .vip-campaign-meta { justify-items: start; } .vip-campaign-main { grid-template-columns: 1fr; gap: 26px; } .vip-recent-panel { min-height: 0; padding: 24px 0 0; border-top: 1px solid #514323; border-left: 0; } .vip-recent-draw-list { height: 280px; } .vip-campaign-panel .prize-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vip-draw-actions { grid-template-columns: 1fr; } .vip-draw-action-buttons { width: 100%; flex-wrap: wrap; } .vip-chance-controls { flex: 1 0 100%; } .vip-chance-controls .status-chip { flex: 1; } .vip-draw-actions .button-primary, .vip-topup-button { flex: 1 1 170px; } .vip-topup-dialog-actions { align-items: stretch; flex-direction: column-reverse; } .vip-topup-dialog-actions .button, .vip-topup-dialog-actions form { width: 100%; } .vip-topup-dialog-actions .button { justify-content: center; } .vip-record-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; } .vip-record-summary-grid > div:nth-child(3) { padding-left: 0; border-left: 0; } .vip-personal-records > summary { min-height: 60px; padding: 12px 14px; } .vip-personal-records-content { padding: 0 14px 14px; } }

@media (prefers-reduced-motion: reduce) {
  .vip-wheel-aura, .vip-wheel-stage.is-spinning .wheel-pointer, .vip-wheel-stage.is-revealed .wheel-center, .vip-wheel-result.is-revealed, .vip-prize-reveal.is-revealed { animation: none; }
  .vip-wheel-stage .prize-wheel.wheel-rotating { transition-duration: .01ms; }
  .vip-entry-transition, .vip-entry-transition *, .vip-entry-transition::before, .vip-entry-transition::after, .vip-welcome-transition, .vip-welcome-transition *, .vip-welcome-transition::before, .vip-welcome-transition::after { animation: none !important; transition: none !important; }
}

@media (max-width: 760px) {
  .site-header { min-height: 56px; gap: 10px; padding: 0 12px; }
  .brand-cluster { gap: 8px; }
  .brand { font-size: 16px; white-space: nowrap; }
  .codework-mark { display: none; }
  .header-actions { gap: 6px; flex-wrap: nowrap; }
  .header-actions .text-link { font-size: 12px; white-space: nowrap; }
  .header-actions .button { min-height: 34px; padding: 6px 9px; font-size: 12px; white-space: nowrap; }
  .page-shell { width: min(100% - 28px, 560px); padding: 28px 0 48px; }
  .auth-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 8px; }
  .intro-copy { padding-top: 0; }
  .intro-copy h1, .member-heading h1, .admin-heading h1 { font-size: 26px; }
  .member-heading, .admin-heading { flex-direction: column; gap: 12px; }
  .member-profile { justify-items: start; }
  .draw-meta { justify-items: start; }
  .draw-layout { grid-template-columns: 1fr; }
  .draw-panel, .records-panel, .table-panel { padding: 18px; }
  .prize-list { grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .overview-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .overview-recent-list { grid-template-columns: 1fr; }
  .campaign-picker, .campaign-actions { align-items: stretch; flex-direction: column; }
  .campaign-heading-actions { width: 100%; flex-wrap: wrap; }
  .campaign-heading-actions .button { flex: 1 1 140px; }
  .campaign-audience-tabs { width: 100%; }
  .campaign-audience-tab { flex: 1 1 0; }
  .campaign-picker label { width: 100%; }
  .campaign-grid { grid-template-columns: 1fr; }
  .chance-summary-grid { grid-template-columns: 1fr; gap: 0; }
  .chance-stat, .chance-stat:first-child { padding: 12px 0; border-left: 0; border-top: 1px solid #e5eaf1; }
  .chance-stat:first-child { border-top: 0; }
  .chance-actions-grid { grid-template-columns: 1fr; }
  .chance-actions-grid .button { width: 100%; }
  .chance-user-lookup { grid-template-columns: 1fr; }
  .chance-user-lookup .button { width: 100%; }
  .chance-user-hint, .chance-user-result { grid-column: 1; }
  .chance-user-result { min-height: 0; padding: 10px 0; }
  .prize-editor { grid-template-columns: 1fr; }
  .prize-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prize-stats-grid label:last-child { grid-column: 1 / -1; }
  .campaign-actions .button { width: 100%; }
  .filter-grid .button { width: 100%; }
  .selection-bar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; flex-wrap: wrap; }
  .toolbar-actions .button { flex: 1 1 140px; }
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .community-actions .button { flex: 1 1 150px; }
  .member-hero { grid-template-columns: 1fr; min-height: 0; padding: 24px 20px 0; overflow: hidden; }
  .member-hero h1 { font-size: 27px; }
  .member-hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .member-hero .member-profile { position: static; top: auto; right: auto; justify-items: end; }
  .hero-draw-actions { align-items: stretch; flex-direction: column; margin-top: 18px; }
  .hero-draw-button { width: 100%; }
  .hero-wheel-stage { position: relative; right: auto; bottom: auto; width: min(240px, 72vw); margin: 26px auto 0; }
  .member-activity-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .member-prizes-panel { padding: 0 16px 16px; }
  .member-prizes-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .member-prizes-panel .prize-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
  .member-prizes-panel .prize-list li { min-height: 0; padding: 11px; }
  .member-prizes-panel .prize-list li:last-child { grid-column: 1 / -1; }
  .member-side-stack { padding-top: 0; }
  .member-side-stack .recent-draws-panel { min-height: 0; }
  .member-side-stack .recent-draw-list { height: 285px; }
  .record-item { align-items: flex-start; }
  .record-status { flex: 0 0 auto; }
  .pagination-bar { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .prize-wheel.wheel-rotating { transition-duration: .01ms; }
  .prize-wheel.is-lottery-spinning { transition-duration: .01ms; }
  .hero-wheel-stage[data-lottery-phase] .wheel-pointer, .vip-wheel-stage[data-lottery-phase] .wheel-pointer, .member-prize-reveal.is-revealed { animation: none; }
}

@media (max-width: 760px) {
  .lottery-command-group { width: 100%; }
  .lottery-command-group .button { flex: 1 1 0; min-width: 0; }
  .member-prize-reveal { inset: 24%; padding: 10px; }
  .member-prize-reveal strong { font-size: 16px; }
}

/* Shared member visual system: bright teal technology, distinct from the Zulong VIP experience. */
.auth-layout {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: 48px clamp(24px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid #d8eef0;
  border-radius: 8px;
  background: #f7fcfc;
}
.auth-layout::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-color: #f7fcfc;
  background-image: linear-gradient(rgb(20 184 166 / .08) 1px, transparent 1px), linear-gradient(90deg, rgb(14 165 233 / .075) 1px, transparent 1px);
  background-size: 36px 36px;
  content: '';
}
.auth-layout::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 10%;
  width: min(44vw, 520px);
  height: 100%;
  border-left: 1px solid rgb(20 184 166 / .14);
  border-right: 1px solid rgb(14 165 233 / .1);
  background: linear-gradient(135deg, rgb(236 253 245 / .92), rgb(240 249 255 / .72));
  content: '';
  transform: skewX(-8deg);
}
.auth-layout .intro-copy { position: relative; max-width: 560px; padding-top: 0; }
.auth-layout .intro-copy::before {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 20px;
  background: #14b8a6;
  content: '';
}
.auth-layout .eyebrow { color: #0f766e; }
.auth-layout .intro-copy h1 { max-width: 520px; margin: 10px 0 14px; color: #0f172a; font-size: clamp(32px, 3.35vw, 46px); line-height: 1.16; }
.auth-layout .intro-copy p:not(.eyebrow) { max-width: 470px; color: #526b79; }
.auth-layout .community-portal { max-width: 490px; margin-top: 34px; padding: 18px 18px 0; border: 1px solid #d9eced; border-width: 1px 0 0; }
.auth-layout .community-portal h2 { color: #103a45; }
.auth-layout .community-actions .button { min-height: 40px; }
.auth-layout .qr-trigger { color: #0f766e; font-weight: 700; text-decoration: none; }
.auth-layout .qr-trigger:hover { color: #0e7490; transform: translateY(-1px); }
.form-panel {
  position: relative;
  gap: 18px;
  padding: 32px;
  overflow: hidden;
  border-color: #d0e7e8;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgb(15 118 110 / .12);
}
.form-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #14b8a6);
  content: '';
}
.form-panel:focus-within { border-color: #5eead4; box-shadow: 0 24px 58px rgb(13 148 136 / .2); }
.login-form-heading { padding-bottom: 14px; border-color: #dcebed; }
.login-form-heading strong { color: #103a45; }
.login-form-mark { border-color: #99f6e4; background: #f0fdfa; }
.login-form-mark::before, .login-form-mark::after { background: #0d9488; }
.form-panel input { min-height: 44px; border-color: #c9dfe2; }
.form-panel input:focus { border-color: #14b8a6; box-shadow: 0 0 0 3px rgb(45 212 191 / .16); }
.form-panel label { color: #244653; }
.password-visibility-button:hover, .login-options > a { color: #0f766e; }
.login-options > a:hover { color: #0e7490; }
.login-remember-control input { accent-color: #0d9488; }
.login-submit-button { min-height: 48px; background: #0d9488; border-color: #0d9488; box-shadow: 0 10px 22px rgb(13 148 136 / .18); }
.login-submit-button:hover:not(:disabled) { background: #0f766e; border-color: #0f766e; box-shadow: 0 12px 26px rgb(13 148 136 / .26); }
.login-register-entry { margin: -3px 0 0; color: #7b8e96; font-size: 13px; text-align: center; }
.login-register-entry a { display: inline-flex; margin-left: 4px; color: #0f766e; font-weight: 750; text-decoration: none; transition: color .16s ease, transform .16s ease; }
.login-register-entry a:hover { color: #0e7490; text-decoration: none; transform: translateY(-1px); }

.member-hero {
  min-height: 390px;
  padding: 40px 46px;
  border: 1px solid #0f766e;
  background-color: #0f766e;
  box-shadow: 0 20px 44px rgb(13 148 136 / .18);
}
.member-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .09) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .075) 1px, transparent 1px);
  background-size: 34px 34px;
  content: '';
  opacity: .88;
  animation: member-hero-grid 18s linear infinite;
}
.member-hero::after {
  position: absolute;
  top: -44%;
  right: 7%;
  width: 380px;
  height: 760px;
  border: 1px solid rgb(103 232 249 / .45);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgb(45 212 191 / .08), 0 0 0 76px rgb(56 189 248 / .06);
  content: '';
  transform: rotate(19deg);
}
.member-hero-copy { position: relative; z-index: 2; }
.member-hero .eyebrow { color: #99f6e4; }
.member-hero h1 { max-width: 610px; font-size: clamp(32px, 3.2vw, 44px); }
.member-hero-window, .member-hero-description { color: #d5fbf5; }
.member-hero .member-profile { z-index: 3; color: #b7f7ee; }
.member-hero .status-chip { color: #d9fffb; background: rgb(2 44 34 / .26); }
.member-hero .count-badge { color: #fef3c7; background: rgb(146 64 14 / .28); }
.refresh-chances-button { border-color: rgb(153 246 228 / .42); color: #d9fffb; background: rgb(2 44 34 / .18); }
.refresh-chances-button:hover { border-color: #99f6e4; color: #ffffff; background: rgb(15 23 42 / .24); }
.hero-draw-button { color: #083344; background: #67e8f9; border-color: #67e8f9; box-shadow: 0 10px 24px rgb(8 47 73 / .22); }
.hero-draw-button:hover { color: #082f49; background: #a5f3fc; border-color: #a5f3fc; }
.member-topup-button { border-color: rgb(153 246 228 / .48); color: #e5fffc; background: rgb(2 44 34 / .28); }
.member-topup-button small { color: #a7f3d0; }
.member-topup-button:hover { border-color: #99f6e4; color: #ffffff; background: rgb(2 44 34 / .42); }
.hero-wheel-stage { z-index: 3; right: clamp(66px, 13vw, 205px); width: 284px; }
.hero-wheel-stage .prize-wheel { border-color: #ecfeff; box-shadow: 0 16px 34px rgb(8 47 73 / .38), inset 0 0 0 1px rgb(255 255 255 / .22); }
.hero-wheel-stage .wheel-pointer { background: #ecfeff; filter: drop-shadow(0 3px 3px rgb(8 47 73 / .34)); }
.hero-wheel-stage .wheel-center { color: #083344; background: #67e8f9; }

.member-activity-grid { gap: 22px; }
.member-prizes-panel, .member-side-stack .recent-draws-panel, .member-side-stack .records-panel { border-color: #d6e8eb; box-shadow: 0 12px 28px rgb(15 118 110 / .06); }
.member-prizes-heading { border-color: #dbeaec; }
.member-prizes-heading h2, .member-side-stack .panel-heading h2 { color: #103a45; }
.member-prizes-panel .prize-list li { border-color: #d3e7e9; background: #fbffff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.member-prizes-panel .prize-list li:hover { border-color: #5eead4; box-shadow: 0 9px 18px rgb(13 148 136 / .09); transform: translateY(-2px); }
.member-prizes-panel .prize-list strong { color: #134e4a; }
.member-prizes-panel .prize-list small { color: #0f766e; }
.member-prizes-panel .draw-rule-card { border-color: #cce5e5; background: #f6fffe; }
.member-prizes-panel .draw-rule-card summary, .member-prizes-panel .chance-guide h3 { color: #134e4a; }
.member-prizes-panel .chance-guide { border-color: #d8ebec; }
.member-side-stack { gap: 22px; }
.member-side-stack .recent-draw-scrollbar { background: #e6f4f3; }
.member-side-stack .recent-draw-scroll-thumb { background: #2dd4bf; }
.member-side-stack .recent-draw-scroll-thumb:active { background: #0d9488; }
.recent-draw-item b { color: #0f766e; }
.record-item { border-color: #d6e8eb; background: #fcffff; }

@keyframes member-hero-grid { from { background-position: 0 0; } to { background-position: 136px 68px; } }

@media (max-width: 760px) {
  .admin-preview-strip { align-items: flex-start; margin-bottom: -18px; }
  .admin-preview-strip > div { display: grid; gap: 2px; }
  .admin-preview-strip small { display: none; }
  .admin-role-preview-options { grid-template-columns: 1fr; }
  .admin-role-preview-options button, .admin-role-preview-options button:nth-child(2n), .admin-role-preview-options button:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #c8e4e4; }
  .admin-role-preview-options button:last-child { border-bottom: 0; }
  .auth-layout { min-height: 0; gap: 26px; padding: 30px 20px; }
  .auth-layout::after { top: auto; right: -18%; bottom: -14%; width: 76%; height: 62%; transform: skewX(-8deg); }
  .auth-layout .intro-copy h1 { font-size: 31px; }
  .auth-layout .community-portal { margin-top: 24px; }
  .form-panel { padding: 24px 20px; }
  .member-hero { min-height: 0; padding: 27px 20px 0; }
  .member-hero::after { top: auto; right: -24%; bottom: -34%; width: 300px; height: 550px; }
  .member-hero h1 { font-size: 30px; }
  .member-hero-description { max-width: 100%; }
  .hero-wheel-stage { width: min(244px, 72vw); }
}

@media (prefers-reduced-motion: reduce) {
  .member-hero::before { animation: none; }
  .member-prizes-panel .prize-list li { transition: none; }
}

/* Main activity refinements: make the draw and live winners feel like one event surface. */
.hero-wheel-stage::before {
  position: absolute;
  z-index: -1;
  inset: -18px;
  border: 1px dashed rgb(153 246 228 / .68);
  border-radius: 50%;
  content: '';
  animation: member-wheel-orbit 16s linear infinite;
}
.hero-wheel-stage::after {
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid rgb(103 232 249 / .34);
  border-radius: 50%;
  content: '';
}
.recent-draws-panel { position: relative; overflow: hidden; }
.recent-draws-panel .panel-heading { position: relative; padding-right: 24px; }
.recent-draws-panel .panel-heading::after {
  position: absolute;
  top: 7px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 0 5px rgb(20 184 166 / .12);
  content: '';
  animation: member-live-pulse 1.8s ease-out infinite;
}
.recent-draw-item { transition: background .18s ease, padding .18s ease; }
.recent-draw-item:hover { margin: 0 -8px; padding-right: 8px; padding-left: 8px; background: #f0fdfa; }
.auth-layout .community-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.auth-layout .community-actions .button { width: 100%; }
.auth-layout .community-qr-actions { gap: 14px; margin-top: 2px; }
.auth-layout .community-qr-actions .qr-trigger { display: inline-flex; align-items: center; min-height: 28px; }

/* Ordinary management uses a quiet blue-green operations surface and stays separate from the Zulong VIP backend. */
.standard-admin-page { min-height: 100vh; background: #f4fbfb; }
.standard-admin-page .site-header { border-color: #d7eaeb; background: #ffffff; }
.standard-admin-page .page-shell { width: min(1220px, calc(100% - 40px)); padding-top: 34px; }
.standard-admin-page .admin-heading { align-items: end; margin-bottom: 22px; padding: 4px 2px; }
.standard-admin-page .admin-heading h1 { color: #103a45; font-size: 34px; }
.standard-admin-page .admin-heading .eyebrow { color: #0f766e; }
.standard-admin-page .admin-heading .member-profile { padding: 10px 13px; border: 1px solid #cce5e5; border-radius: 6px; background: #ffffff; }
.standard-admin-page .panel { border-color: #d3e6e8; box-shadow: 0 12px 30px rgb(15 118 110 / .055); }
.standard-admin-page .panel-heading h2, .standard-admin-page .prize-editor-heading h3 { color: #103a45; }
.standard-admin-page .site-settings-panel { position: relative; overflow: hidden; }
.standard-admin-page .site-settings-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #14b8a6);
  content: '';
}
.standard-admin-page .campaign-overview {
  gap: 20px;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid #d3e6e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(15 118 110 / .055);
}
.standard-admin-page .campaign-overview .eyebrow { color: #0f766e; }
.standard-admin-page .campaign-overview h2, .standard-admin-page .overview-recent h3 { color: #103a45; }
.standard-admin-page .overview-grid { border: 1px solid #dcebed; border-radius: 6px; background: #fbffff; }
.standard-admin-page .overview-stat { padding: 14px 18px; border-color: #dcebed; }
.standard-admin-page .overview-stat strong { color: #0f766e; font-size: 25px; }
.standard-admin-page .overview-recent { border-color: #dcebed; }
.standard-admin-page .overview-draw-item { border-color: #e0eeee; }
.standard-admin-page .overview-draw-item b { color: #0f766e; }
.standard-admin-page .campaign-panel, .standard-admin-page .chance-control-panel { border-color: #d3e6e8; }
.standard-admin-page .campaign-audience-tab.is-active { color: #ffffff; border-color: #0d9488; background: #0d9488; }
.standard-admin-page .campaign-picker, .standard-admin-page .shared-chance-notice { border-color: #cde4e5; background: #f6fffe; }
.standard-admin-page .prize-tier { border-color: #d4e8e9; background: #fbffff; }
.standard-admin-page .prize-tier:hover { border-color: #5eead4; background: #f0fdfa; }
.standard-admin-page .admin-toolbar {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid #d3e6e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(15 118 110 / .055);
}
.standard-admin-page .admin-toolbar .filter-grid { padding-bottom: 18px; border-bottom: 1px solid #e0eeee; }
.standard-admin-page .selection-bar { margin-top: 14px; padding-top: 14px; border-color: #e0eeee; }
.standard-admin-page .table-panel { border-color: #d3e6e8; }
.standard-admin-page .table-scroll { border-color: #d8e9ea; border-radius: 6px; }
.standard-admin-page th { color: #31535e; background: #f2fafa; }
.standard-admin-page td { border-color: #e0eeee; }
.standard-admin-page tbody tr:hover td { background: #f6fffe; }
.standard-admin-page .button-primary { background: #0d9488; border-color: #0d9488; }
.standard-admin-page .button-primary:hover:not(:disabled) { background: #0f766e; border-color: #0f766e; }
.standard-admin-page .button-secondary { color: #0f766e; border-color: #78d7d1; background: #ffffff; }
.standard-admin-page .button-secondary:hover:not(:disabled) { color: #ffffff; border-color: #0d9488; background: #0d9488; }

@keyframes member-wheel-orbit { to { transform: rotate(360deg); } }
@keyframes member-live-pulse { 0%, 100% { box-shadow: 0 0 0 5px rgb(20 184 166 / .12); } 55% { box-shadow: 0 0 0 9px rgb(20 184 166 / 0); } }

@media (max-width: 760px) {
  .auth-layout .community-actions { grid-template-columns: 1fr; }
  .auth-layout .community-qr-actions { gap: 10px; }
  .standard-admin-page .page-shell { width: min(100% - 28px, 560px); }
  .standard-admin-page .admin-heading { align-items: flex-start; }
  .standard-admin-page .campaign-overview, .standard-admin-page .admin-toolbar { padding: 18px; }
  .standard-admin-page .overview-grid { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wheel-stage::before, .recent-draws-panel .panel-heading::after { animation: none; }
  .recent-draw-item { transition: none; }
}

/* Daily check-in shares the member activity page and upgrades in place for 尊龙VIP. */
.member-main-stack { display: grid; gap: 22px; min-width: 0; }
.checkin-center { position: relative; overflow: hidden; padding: 24px; border-color: #cfe8e9; background: #f9ffff; box-shadow: 0 14px 30px rgb(15 118 110 / .07); }
.checkin-center::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: #14b8a6; content: ''; }
.checkin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid #dceef0; }
.checkin-heading h2 { margin: 5px 0 6px; color: #103a45; font-size: 22px; line-height: 1.25; }
.checkin-heading p:not(.eyebrow) { margin: 0; color: #5c7580; font-size: 13px; line-height: 1.6; }
.checkin-tier-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border: 1px solid #93ddd7; border-radius: 999px; color: #0f766e; background: #effcfa; font-size: 11px; font-weight: 800; white-space: nowrap; }
.checkin-content { display: grid; grid-template-columns: minmax(330px, 1fr) minmax(0, 1fr); align-items: stretch; gap: 24px; padding-top: 20px; }
.checkin-calendar { display: grid; align-content: start; gap: 9px; min-height: 248px; padding: 16px; border: 1px solid #d4eaeb; background: #f2fcfb; }
.checkin-calendar-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid #d4eaeb; }
.checkin-calendar-top > div { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; }
.checkin-calendar-top span { grid-column: 1 / -1; color: #0f766e; font-size: 12px; font-weight: 750; }
.checkin-calendar-top strong { color: #103a45; font-size: 29px; line-height: 1; }
.checkin-calendar-top small { color: #638087; font-size: 11px; }
.checkin-calendar-hint { color: #66838a !important; font-size: 10px !important; font-weight: 650 !important; white-space: nowrap; }
.checkin-weekdays, .checkin-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.checkin-weekdays span { color: #789198; font-size: 10px; font-weight: 800; text-align: center; }
.checkin-month-grid { grid-auto-rows: minmax(32px, 1fr); }
.checkin-month-tools { display: grid; grid-template-columns: 36px 1fr 36px; gap: 8px; align-items: center; margin: 10px 0 8px; }
.checkin-month-tools strong { text-align: center; color: #315e65; font-size: 12px; }
.checkin-month-tools .icon-button { width: 36px; height: 36px; }
.checkin-month-grid > span { display: grid; position: relative; align-content: center; justify-items: center; min-height: 32px; border: 1px solid #d7e8e9; color: #91a5a8; background: #e6eeee; font-size: 12px; }
.checkin-month-grid > button { display: grid; position: relative; align-content: center; justify-items: center; min-width: 0; min-height: 32px; padding: 0; border: 1px solid #d7e8e9; font: inherit; }
.checkin-day.is-makeup-eligible { cursor: pointer; color: #075e59; border-color: #22b8aa; background: #f0fffb; box-shadow: inset 0 0 0 1px rgba(20, 184, 166, .2); }
.checkin-day.is-makeup-eligible:hover, .checkin-day.is-makeup-eligible:focus-visible { border-color: #087f75; background: #dffbf4; outline: 2px solid rgba(20, 184, 166, .24); outline-offset: 1px; }
.checkin-month-grid > .is-makeup i { display: grid; position: absolute; right: 2px; bottom: 2px; place-items: center; min-width: 15px; height: 13px; padding: 0 2px; color: #fff; background: #4c7d78; font-size: 9px; font-style: normal; }
.checkin-month-grid > .is-disabled { opacity: .62; }
.checkin-month-grid > .is-empty { border-color: transparent; background: transparent; }
.checkin-day small { color: inherit; font-size: 12px; font-weight: 800; }
.checkin-day i { display: none; }
.checkin-month-grid > .is-checked i { display: grid; position: absolute; right: 3px; bottom: 2px; place-items: center; width: 12px; height: 12px; border-radius: 50%; color: #ffffff; background: #0f8d83; font-size: 10px; font-style: normal; font-weight: 900; line-height: 1; }
.checkin-month-grid > .is-checked { border-color: #63d6cc; color: #0c6d66; background: #eafff9; }
.checkin-month-grid > .is-today { box-shadow: inset 0 0 0 2px #14b8a6; }
.checkin-detail { display: grid; align-content: center; justify-items: start; gap: 7px; }
.checkin-reward-label { color: #0f766e; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.checkin-detail > strong { color: #103a45; font-size: 28px; line-height: 1.1; }
.checkin-detail > p { min-height: 20px; margin: 0; color: #5f7780; font-size: 13px; line-height: 1.5; }
.checkin-detail > .checkin-rule-detail { min-height: 0; padding-left: 10px; border-left: 2px solid #64cfc6; color: #57727c; font-size: 11px; line-height: 1.65; }
.checkin-stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 5px; border-top: 1px solid #dceef0; border-bottom: 1px solid #dceef0; }
.checkin-stat-row > div { display: grid; gap: 3px; padding: 10px 0; }
.checkin-stat-row > div + div { padding-left: 14px; border-left: 1px solid #dceef0; }
.checkin-stat-row span { color: #6b8389; font-size: 11px; }
.checkin-stat-row strong { color: #134e4a; font-size: 13px; }
.checkin-button { min-width: 144px; min-height: 42px; margin-top: 5px; border-color: #0f766e; color: #ffffff; background: #0f766e; }
.checkin-button:hover:not(:disabled) { border-color: #0b615b; background: #0b615b; }
.checkin-button:disabled { color: #4f7b78; border-color: #b7deda; background: #e9f8f6; opacity: 1; }
.checkin-message { min-height: 0; color: #b45309; }
.checkin-message.is-success { color: #047857; }

.checkin-center.is-vip { border-color: #5d4b26; color: #f4efe3; background: #111216; box-shadow: 0 18px 38px rgb(0 0 0 / .24); }
.checkin-center.is-vip::before { background: #d7b360; }
.checkin-center.is-vip .checkin-heading { border-color: #3f3521; }
.checkin-center.is-vip .checkin-heading h2, .checkin-center.is-vip .checkin-detail > strong { color: #f4efe3; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; }
.checkin-center.is-vip .checkin-heading p:not(.eyebrow), .checkin-center.is-vip .checkin-detail > p { color: #a99c85; }
.checkin-center.is-vip .checkin-detail > .checkin-rule-detail { border-left-color: #a98c48; color: #b6a98d; }
.checkin-center.is-vip .eyebrow, .checkin-center.is-vip .checkin-reward-label { color: #d8bd77; }
.checkin-center.is-vip .checkin-tier-badge { border-color: #765f30; color: #e5c777; background: #221b10; }
.checkin-center.is-vip .checkin-calendar { border-color: #4b4028; background: #171711; }
.checkin-center.is-vip .checkin-calendar-top { border-color: #4b4028; }
.checkin-center.is-vip .checkin-calendar-top span { color: #d8bd77; }
.checkin-center.is-vip .checkin-calendar-top strong { color: #f4efe3; }
.checkin-center.is-vip .checkin-calendar-top small, .checkin-center.is-vip .checkin-calendar-hint { color: #93866d !important; }
.checkin-center.is-vip .checkin-weekdays span { color: #9d8d70; }
.checkin-center.is-vip .checkin-month-grid > span { border-color: #423824; color: #776d5c; background: #10110d; }
.checkin-center.is-vip .checkin-month-grid > .is-empty { border-color: transparent; background: transparent; }
.checkin-center.is-vip .checkin-month-grid > .is-checked { border-color: #92763a; color: #efd496; background: #241d10; }
.checkin-center.is-vip .checkin-month-grid > .is-checked i { color: #20180a; background: #d7b360; }
.checkin-center.is-vip .checkin-month-grid > .is-today { box-shadow: inset 0 0 0 2px #d7b360; }
.checkin-center.is-vip .checkin-day.is-makeup-eligible { color: #efd496; border-color: #b4944d; background: #2a2112; box-shadow: inset 0 0 0 1px rgb(215 179 96 / .18); }
.checkin-center.is-vip .checkin-day.is-makeup-eligible:hover, .checkin-center.is-vip .checkin-day.is-makeup-eligible:focus-visible { border-color: #edcf84; background: #352a16; outline-color: rgb(215 179 96 / .3); }
.checkin-center.is-vip .checkin-stat-row { border-color: #403620; }
.checkin-center.is-vip .checkin-stat-row > div + div { border-color: #403620; }
.checkin-center.is-vip .checkin-stat-row span { color: #a89a82; }
.checkin-center.is-vip .checkin-stat-row strong { color: #ead6a0; }
.checkin-center.is-vip .checkin-button { border-color: #d7b360; color: #17130a; background: #d7b360; }
.checkin-center.is-vip .checkin-button:hover:not(:disabled) { border-color: #edcf84; background: #edcf84; }
.checkin-center.is-vip .checkin-button:disabled { color: #98875d; border-color: #4d4129; background: #252219; }
.checkin-center.is-vip .checkin-message.is-success { color: #dcc47d; }

.checkin-center.is-founder { border-color: #845448; color: #f2dfd5; background: #181112; box-shadow: 0 20px 42px rgb(53 19 14 / .32); }
.checkin-center.is-founder::before { background: linear-gradient(90deg, #8f4938, #efaa91 48%, #b4664e); }
.checkin-center.is-founder .checkin-heading { border-color: #56352f; }
.checkin-center.is-founder .checkin-heading h2, .checkin-center.is-founder .checkin-detail > strong { color: #f6e7df; }
.checkin-center.is-founder .checkin-heading p:not(.eyebrow), .checkin-center.is-founder .checkin-detail > p { color: #c5a69a; }
.checkin-center.is-founder .checkin-detail > .checkin-rule-detail { border-left-color: #b86f58; color: #c8a99d; }
.checkin-center.is-founder .eyebrow, .checkin-center.is-founder .checkin-reward-label { color: #efaa91; }
.checkin-center.is-founder .checkin-tier-badge { border-color: #9b5b48; color: #ffd8c8; background: #321b18; box-shadow: inset 0 0 0 1px rgb(255 209 190 / .08); }
.checkin-center.is-founder .checkin-calendar { border-color: #684239; background: #151112; }
.checkin-center.is-founder .checkin-calendar-top { border-color: #684239; }
.checkin-center.is-founder .checkin-calendar-top span { color: #e7a189; }
.checkin-center.is-founder .checkin-calendar-top strong { color: #f7e8e1; }
.checkin-center.is-founder .checkin-calendar-top small, .checkin-center.is-founder .checkin-calendar-hint { color: #ae8b80 !important; }
.checkin-center.is-founder .checkin-weekdays span { color: #b18c80; }
.checkin-center.is-founder .checkin-month-grid > span { border-color: #53352f; color: #846a62; background: #110d0e; }
.checkin-center.is-founder .checkin-month-grid > .is-empty { border-color: transparent; background: transparent; }
.checkin-center.is-founder .checkin-month-grid > .is-checked { border-color: #a8614d; color: #ffd7c7; background: #351d19; }
.checkin-center.is-founder .checkin-month-grid > .is-checked i { color: #2b1713; background: #efaa91; }
.checkin-center.is-founder .checkin-month-grid > .is-today { box-shadow: inset 0 0 0 2px #d9876e; }
.checkin-center.is-founder .checkin-day.is-makeup-eligible { color: #ffd7c7; border-color: #b86f58; background: #351d19; box-shadow: inset 0 0 0 1px rgb(239 170 145 / .16); }
.checkin-center.is-founder .checkin-day.is-makeup-eligible:hover, .checkin-center.is-founder .checkin-day.is-makeup-eligible:focus-visible { border-color: #ffc5b0; background: #45231e; outline-color: rgb(239 170 145 / .28); }
.checkin-center.is-founder .checkin-stat-row { border-color: #56362f; }
.checkin-center.is-founder .checkin-stat-row > div + div { border-color: #56362f; }
.checkin-center.is-founder .checkin-stat-row span { color: #b9968a; }
.checkin-center.is-founder .checkin-stat-row strong { color: #f0b8a3; }
.checkin-center.is-founder .checkin-button { border-color: #efaa91; color: #2e1713; background: #efaa91; }
.checkin-center.is-founder .checkin-button:hover:not(:disabled) { border-color: #ffc5b0; background: #ffc5b0; }
.checkin-center.is-founder .checkin-button:disabled { color: #a77c6e; border-color: #603c34; background: #2b1d1b; }
.checkin-center.is-founder .checkin-message.is-success { color: #f2ad94; }

.record-status.status-founder { border-color: #b97b67; color: #8b3e2c; background: #fff0ea; }

.founder-checkin-celebration { position: fixed; z-index: 95; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; color: #f3dfd7; background: rgb(20 10 10 / .86); pointer-events: none; transition: opacity .22s ease, visibility .22s step-end; }
.founder-checkin-celebration::before, .founder-checkin-celebration::after { position: absolute; inset: 10%; border: 1px solid #78483d; content: ''; opacity: 0; transform: scale(.94); }
.founder-checkin-celebration::after { inset: 17%; border-color: #4e302c; }
.founder-checkin-celebration-frame { position: relative; z-index: 1; display: grid; justify-items: center; gap: 9px; width: min(100%, 430px); padding: 34px 38px 30px; border-top: 1px solid #efaa91; border-bottom: 1px solid #845448; background: #181112; box-shadow: 0 26px 76px rgb(28 8 7 / .5); text-align: center; opacity: 0; transform: translateY(14px) scale(.96); }
.founder-checkin-celebration-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #694039; border-radius: 50%; color: #d9a08d; background: #251716; font-size: 20px; line-height: 1; cursor: pointer; }
.founder-checkin-celebration-close:hover { color: #ffe2d6; border-color: #b26c56; background: #35201c; }
.founder-checkin-crown { color: #efaa91; font-size: 42px; line-height: 1; }
.founder-checkin-celebration-frame > small { color: #d18b73; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.founder-checkin-celebration h2 { margin: 0; color: #f7e8e1; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 24px; letter-spacing: 0; }
.founder-checkin-celebration-frame > strong { color: #e9b39f; font-size: 15px; }
.founder-checkin-celebration-frame > p { margin: 2px 0 0; color: #ba988c; font-size: 13px; line-height: 1.6; }
.founder-checkin-celebration-reward { display: flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 180px; margin-top: 4px; padding: 12px 20px; border-top: 1px solid #70443a; border-bottom: 1px solid #4f302c; }
.founder-checkin-celebration-reward b { color: #ffc1aa; font-size: 34px; line-height: 1; }
.founder-checkin-celebration-reward span { color: #e7b19d; font-size: 15px; font-weight: 800; }
.founder-checkin-celebrating { overflow: hidden; }
.founder-checkin-celebrating .founder-checkin-celebration { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .22s ease; }
.founder-checkin-celebrating .founder-checkin-celebration::before, .founder-checkin-celebrating .founder-checkin-celebration::after { animation: founder-checkin-frame .75s cubic-bezier(.18,.8,.24,1) forwards; }
.founder-checkin-celebrating .founder-checkin-celebration::after { animation-delay: .08s; }
.founder-checkin-celebrating .founder-checkin-celebration-frame { animation: founder-checkin-reveal .58s cubic-bezier(.18,.8,.24,1) .08s forwards; }
.founder-checkin-celebrating .founder-checkin-crown { animation: founder-checkin-crown .9s cubic-bezier(.18,.8,.24,1) .18s both; }
@keyframes founder-checkin-frame { to { opacity: 1; transform: scale(1); } }
@keyframes founder-checkin-reveal { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes founder-checkin-crown { 0% { opacity: 0; transform: translateY(8px) scale(.7); } 55% { opacity: 1; transform: translateY(0) scale(1.16); } 100% { opacity: 1; transform: scale(1); } }

.checkin-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.checkin-summary-card { position: relative; display: grid; gap: 7px; min-height: 132px; padding: 19px 20px; border: 1px solid #cfe4e6; border-radius: 6px; background: #fbffff; box-shadow: 0 10px 24px rgb(15 118 110 / .05); overflow: hidden; }
.checkin-summary-card::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: #14b8a6; content: ''; }
.checkin-summary-card > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.checkin-summary-card span { color: #31535e; font-size: 14px; font-weight: 850; }
.checkin-summary-card small { color: #7a9298; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.checkin-summary-card strong { align-self: end; color: #0f766e; font-size: 24px; line-height: 1.1; }
.checkin-summary-card p { margin: 0; color: #647b82; font-size: 12px; }
.checkin-summary-card.is-vip { border-color: #d8c99f; background: #fffdf7; }
.checkin-summary-card.is-vip::before { background: #c6a451; }
.checkin-summary-card.is-vip strong { color: #8b6b22; }
.checkin-summary-card.is-founder { border-color: #d8b3a7; background: #fff9f7; }
.checkin-summary-card.is-founder::before { background: #b66750; }
.checkin-summary-card.is-founder strong { color: #934b38; }
.checkin-heading-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.checkin-selection-bar { margin-top: 12px; }
.checkin-single-verify { min-width: 78px; min-height: 34px; padding: 6px 10px; white-space: nowrap; }

@media (max-width: 760px) {
  .member-main-stack { gap: 16px; }
  .checkin-center { padding: 18px; }
  .checkin-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .checkin-content { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .checkin-calendar { min-height: 0; padding: 12px; }
  .checkin-calendar-top strong { font-size: 26px; }
  .checkin-weekdays, .checkin-month-grid { gap: 3px; }
  .checkin-month-grid { grid-auto-rows: minmax(30px, 1fr); }
  .checkin-month-grid > span { min-height: 30px; }
  .checkin-button { width: 100%; }
  .checkin-summary-grid { grid-template-columns: 1fr; }
  .founder-checkin-celebration { padding: 16px; }
  .founder-checkin-celebration::before { inset: 5%; }
  .founder-checkin-celebration::after { inset: 9%; }
  .founder-checkin-celebration-frame { padding: 30px 22px 26px; }
  .founder-checkin-celebration h2 { font-size: 21px; }
}

/* Compact member console: two independent stacks prevent either column from creating vertical gaps. */
.member-activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  align-items: start;
  gap: 18px;
  margin-top: 0;
}

.member-main-stack,
.member-side-stack { min-width: 0; }

.member-main-stack { grid-column: 1; grid-row: 1; gap: 18px; }
.member-side-stack { grid-column: 2; grid-row: 1; gap: 14px; padding-top: 0; }
.member-main-stack .member-hero { margin-bottom: 0; }

.member-main-stack .member-hero {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 270px);
  min-height: 334px;
  padding: 32px 34px;
}

.member-main-stack .member-hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.member-main-stack .member-hero .member-profile {
  position: static;
  top: auto;
  right: auto;
  flex: 0 0 auto;
  justify-items: end;
}

.member-main-stack .hero-wheel-stage {
  position: relative;
  right: auto;
  bottom: auto;
  align-self: center;
  justify-self: center;
  width: min(264px, 100%);
}

.member-main-stack .hero-draw-actions { gap: 9px; margin-top: 20px; }
.member-main-stack .member-topup-entry { margin-top: 14px; }

.member-prizes-panel { padding: 0 18px 18px; }
.member-prizes-heading { padding: 17px 0 14px; }
.member-prizes-panel .prize-list { gap: 7px; margin-top: 14px; }
.member-prizes-panel .prize-list li { min-height: 94px; padding: 12px 10px; }
.member-prizes-panel .draw-rule-card { margin-top: 14px; }
.member-prizes-panel .chance-guide { padding-top: 15px; }

.member-side-stack .recent-draws-panel {
  min-height: 360px;
  padding: 18px 20px;
}

.member-side-stack .recent-draw-list { height: 268px; }

.member-side-stack .vip-status-card { gap: 13px; padding: 18px 20px; }
.member-side-stack .vip-card-heading h2 { font-size: 18px; }
.member-side-stack .vip-status-card .vip-status-grid > div { padding-top: 10px; padding-bottom: 10px; }
.member-side-stack .vip-status-card .vip-status-grid strong { font-size: 17px; }

@media (max-width: 760px) {
  .vip-page-panel .vip-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-page-panel .vip-status-grid > div,
  .vip-page-panel .vip-status-grid > div:first-child { padding: 13px 10px; border-left: 0; }
  .vip-page-panel .vip-status-grid > div:nth-child(even) { border-left: 1px solid #302a20; }
  .vip-page-panel .vip-status-grid > div:nth-child(-n + 2) { border-bottom: 1px solid #302a20; }
}

.member-side-stack .vip-online-rail {
  position: static;
  top: auto;
  right: auto;
  width: 100%;
  margin: 0;
  padding: 17px 20px;
  box-shadow: 0 12px 28px rgb(17 18 22 / .12);
}

.member-side-stack .admin-online-rail {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  margin: 0;
  padding: 17px 20px;
  box-shadow: 0 12px 28px rgb(5 55 53 / .16);
}

.member-side-stack .admin-online-rail li { min-height: 36px; padding: 7px 10px; }

.member-side-stack .vip-online-rail li { min-height: 36px; padding: 7px 0; }

.member-side-stack .member-online-rail {
  width: 100%;
  margin: 0;
  padding: 17px 20px;
  box-shadow: 0 12px 28px rgb(15 118 110 / .08);
}

.member-side-stack .member-online-rail li { min-height: 36px; padding: 7px 10px; }

.member-main-stack .checkin-center { padding: 20px; }

.daily-play-panel { position: relative; padding: 20px; border-color: #cfe4e6; overflow: hidden; }
.daily-play-panel::before { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #14b8a6, #5bc0d0, #d1a744); content: ''; }
.daily-play-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid #e1eaed; }
.daily-play-heading h2 { margin: 2px 0 5px; color: #133845; font-size: 20px; }
.daily-play-heading p { margin: 0; color: #728a92; font-size: 13px; }
.daily-play-heading-meta { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.daily-play-date, .daily-fragment-progress { padding: 5px 9px; border: 1px solid #cfe4e6; border-radius: 4px; color: #0f766e; background: #f2fbfb; font-size: 12px; font-weight: 800; }
.daily-fragment-progress { border-color: #d8ca97; color: #936c18; background: #fff9df; }
.daily-play-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.daily-play-card { min-height: 176px; padding: 16px; border: 1px solid #dbe8eb; border-radius: 6px; background: #fcffff; }
.daily-play-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #173b47; font-size: 15px; font-weight: 850; }
.daily-play-card-heading small { color: #789198; font-size: 11px; font-weight: 700; }
.daily-card-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 15px 0 11px; }
.daily-card-button { display: grid; place-items: center; aspect-ratio: .72; padding: 0; border: 1px solid #247a7a; border-radius: 5px; color: #d9ffff; background: linear-gradient(145deg, #0e6470, #164656); box-shadow: 0 7px 13px rgb(12 81 92 / .16); font-size: 19px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.daily-card-button:hover:not(:disabled), .daily-card-button:focus-visible:not(:disabled) { outline: none; transform: translateY(-3px) rotate(-1deg); box-shadow: 0 12px 18px rgb(12 81 92 / .22); filter: brightness(1.12); }
.daily-card-button:nth-child(2):hover:not(:disabled), .daily-card-button:nth-child(2):focus-visible:not(:disabled) { transform: translateY(-3px); }
.daily-card-button:nth-child(3):hover:not(:disabled), .daily-card-button:nth-child(3):focus-visible:not(:disabled) { transform: translateY(-3px) rotate(1deg); }
.daily-card-button:disabled { cursor: default; opacity: .42; }
.daily-card-button.is-revealed { display: none; }
.daily-play-result { min-height: 38px; color: #648087; font-size: 12px; line-height: 1.55; }
.daily-play-result p { margin: 0; }
.daily-play-result strong { display: block; color: #0f766e; font-size: 16px; }
.daily-play-result small { color: #789198; }
.daily-fortune-card { display: flex; flex-direction: column; }
.daily-fortune-result { display: grid; align-content: center; flex: 1; min-height: 94px; padding: 12px 0; }
.daily-fortune-result small { color: #0f766e; font-size: 11px; font-weight: 800; }
.daily-fortune-result strong { color: #173b47; font-size: 18px; }
.daily-fortune-result p { margin: 6px 0 0; color: #648087; font-size: 13px; line-height: 1.55; }
.daily-fortune-actions { display: flex; align-items: center; gap: 8px; }
.daily-fortune-button { flex: 1; min-height: 38px; }
.daily-fortune-share { flex: 0 0 auto; width: 38px; height: 38px; color: #0f766e; border-color: #acd6d6; background: #f4ffff; }
.daily-play-message { min-height: 18px; margin: 10px 0 0; }
.weekend-surprise { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 13px 14px; border: 1px dashed #b9ced1; border-radius: 6px; background: #f9fcfc; }
.weekend-surprise strong { color: #34515a; font-size: 14px; }
.weekend-surprise p { margin: 4px 0 0; color: #789198; font-size: 12px; line-height: 1.45; }
.weekend-surprise.is-open { border-style: solid; border-color: #d1ae54; background: #fffcf1; }
.weekend-surprise.is-open strong { color: #896317; }
.weekend-surprise .button { flex: 0 0 auto; white-space: nowrap; }
.fragment-redemption-list { display: grid; gap: 9px; }
.fragment-redemption-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 14px; border: 1px solid #dce7e9; border-radius: 6px; background: #fbffff; }
.fragment-redemption-item strong { color: #173b47; font-size: 14px; }
.fragment-redemption-item p { margin: 4px 0 0; color: #718991; font-size: 12px; }
.fragment-redemption-item small { color: #80979e; }
.fragment-redemption-actions { display: flex; gap: 7px; }
.fragment-redemption-actions .button { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.fragment-redemption-status { display: inline-flex; margin-left: 7px; padding: 2px 6px; border: 1px solid #cfe4e6; border-radius: 3px; color: #557077; background: #f2fafa; font-size: 11px; }
.fragment-redemption-status.is-pending { border-color: #dfc476; color: #8a691a; background: #fff9e6; }
.fragment-redemption-status.is-approved { border-color: #92c9b4; color: #0f766e; background: #edfbf4; }
.fragment-redemption-status.is-rejected { border-color: #e5b5ad; color: #a14a3d; background: #fff5f3; }
.daily-question-card { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.7fr); gap: 12px 20px; align-items: center; margin-top: 14px; padding: 14px; border: 1px solid #dce8ea; border-radius: 6px; background: #fcffff; }
.daily-question-card strong { color: #173b47; font-size: 15px; }
.daily-question-card p { margin: 5px 0 0; color: #718991; font-size: 12px; line-height: 1.5; }
.daily-question-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.daily-question-option { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 8px; border: 1px solid #cfe1e4; border-radius: 4px; color: #47656d; background: #f9fdfd; font-size: 12px; text-align: left; cursor: pointer; }
.daily-question-option:hover:not(:disabled), .daily-question-option:focus-visible:not(:disabled) { border-color: #159b91; color: #0f766e; outline: none; background: #effcf9; }
.daily-question-option b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #f4ffff; background: #45737a; font-size: 10px; }
.daily-question-option:disabled { cursor: default; opacity: .72; }
.daily-question-option.is-selected { border-color: #d4ae4a; color: #8b6819; background: #fff9e8; }
.daily-question-option.is-correct { border-color: #71b69a; color: #0f766e; background: #edfbf4; }
.daily-question-result { grid-column: 1 / -1; min-height: 18px; color: #748d94; }
.daily-question-result.is-correct { color: #0f766e; }
@media (max-width: 700px) { .fragment-redemption-item { grid-template-columns: 1fr; } .fragment-redemption-actions { width: 100%; } .fragment-redemption-actions .button { flex: 1; } }
[data-ui-theme="vip"] .daily-play-panel { border-color: #51452a; background: #151511; }
[data-ui-theme="vip"] .daily-play-panel::before { background: linear-gradient(90deg, #9d7a32, #e0bf6e, #8c6d2d); }
[data-ui-theme="vip"] .daily-play-heading { border-color: #3d3524; }
[data-ui-theme="vip"] .daily-play-heading h2, [data-ui-theme="vip"] .daily-play-card-heading, [data-ui-theme="vip"] .daily-fortune-result strong { color: #f0dfad; }
[data-ui-theme="vip"] .daily-play-heading p, [data-ui-theme="vip"] .daily-play-card-heading small, [data-ui-theme="vip"] .daily-play-result, [data-ui-theme="vip"] .daily-fortune-result p { color: #a99c82; }
[data-ui-theme="vip"] .daily-play-date, [data-ui-theme="vip"] .daily-fragment-progress, [data-ui-theme="vip"] .daily-fortune-share { border-color: #6b5730; color: #e5c777; background: #211b11; }
[data-ui-theme="vip"] .daily-play-card { border-color: #423823; background: #11110d; }
[data-ui-theme="vip"] .daily-card-button { border-color: #b18a3b; color: #ffe9a8; background: linear-gradient(145deg, #654a18, #2d2412); }
[data-ui-theme="vip"] .daily-play-result strong, [data-ui-theme="vip"] .daily-fortune-result small { color: #e3c36d; }
[data-ui-theme="vip"] .weekend-surprise { border-color: #51452a; background: #10110d; }
[data-ui-theme="vip"] .weekend-surprise.is-open { border-color: #9d7a32; background: #1c180f; }
[data-ui-theme="vip"] .weekend-surprise strong { color: #e2c473; }
[data-ui-theme="vip"] .weekend-surprise p { color: #a99c82; }
[data-ui-theme="vip"] .daily-question-card { border-color: #423823; background: #11110d; }
[data-ui-theme="vip"] .daily-question-card strong { color: #ead6a0; }
[data-ui-theme="vip"] .daily-question-card p, [data-ui-theme="vip"] .daily-question-result { color: #a99c82; }
[data-ui-theme="vip"] .daily-question-option { border-color: #4a4029; color: #baaa83; background: #171711; }
[data-ui-theme="vip"] .daily-question-option b { color: #211907; background: #c8a854; }
[data-ui-theme="founder"] .daily-play-panel { border-color: #76483d; background: #171112; }
[data-ui-theme="founder"] .daily-play-panel::before { background: linear-gradient(90deg, #914c3a, #efaa91, #9d5040); }
[data-ui-theme="founder"] .daily-play-heading { border-color: #51322e; }
[data-ui-theme="founder"] .daily-play-heading h2, [data-ui-theme="founder"] .daily-play-card-heading, [data-ui-theme="founder"] .daily-fortune-result strong { color: #f4dfd5; }
[data-ui-theme="founder"] .daily-play-heading p, [data-ui-theme="founder"] .daily-play-card-heading small, [data-ui-theme="founder"] .daily-play-result, [data-ui-theme="founder"] .daily-fortune-result p { color: #bd998d; }
[data-ui-theme="founder"] .daily-play-date, [data-ui-theme="founder"] .daily-fragment-progress, [data-ui-theme="founder"] .daily-fortune-share { border-color: #845448; color: #f0b09b; background: #291917; }
[data-ui-theme="founder"] .daily-play-card { border-color: #59372f; background: #120e0f; }
[data-ui-theme="founder"] .daily-card-button { border-color: #b66850; color: #ffded0; background: linear-gradient(145deg, #713523, #311d1b); }
[data-ui-theme="founder"] .daily-play-result strong, [data-ui-theme="founder"] .daily-fortune-result small { color: #efaa91; }
[data-ui-theme="founder"] .weekend-surprise { border-color: #59372f; background: #120e0f; }
[data-ui-theme="founder"] .weekend-surprise.is-open { border-color: #b66850; background: #251614; }
[data-ui-theme="founder"] .weekend-surprise strong { color: #f0b09b; }
[data-ui-theme="founder"] .weekend-surprise p { color: #bd998d; }
[data-ui-theme="founder"] .daily-question-card { border-color: #59372f; background: #120e0f; }
[data-ui-theme="founder"] .daily-question-card strong { color: #f4dfd5; }
[data-ui-theme="founder"] .daily-question-card p, [data-ui-theme="founder"] .daily-question-result { color: #bd998d; }
[data-ui-theme="founder"] .daily-question-option { border-color: #694039; color: #d4afa3; background: #1b1213; }
[data-ui-theme="founder"] .daily-question-option b { color: #2c1714; background: #db9279; }
@media (max-width: 700px) { .daily-play-panel { padding: 17px; } .daily-play-heading { gap: 12px; } .daily-play-heading-meta { align-items: flex-end; flex-direction: column; } .daily-play-grid, .daily-question-card { grid-template-columns: 1fr; } .daily-play-card { min-height: 0; } .daily-card-button { max-height: 88px; } .weekend-surprise { align-items: flex-start; flex-direction: column; } .weekend-surprise .button { width: 100%; } .daily-question-result { grid-column: auto; } .daily-question-options { grid-template-columns: 1fr; } }

.member-main-stack .checkin-content {
  grid-template-columns: minmax(270px, 1fr) minmax(220px, .8fr);
  gap: 18px;
}

.member-main-stack .checkin-calendar { min-height: 226px; padding: 14px; }

.member-main-stack > .member-records-disclosure {
  min-height: 0;
  width: 100%;
  max-width: 820px;
  margin: 0;
  padding: 0;
  overflow: clip;
  border-color: #d6e8eb;
  box-shadow: 0 10px 24px rgb(15 118 110 / .05);
}

.member-records-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 13px 20px;
  cursor: pointer;
  list-style: none;
}

.member-records-disclosure > summary::-webkit-details-marker { display: none; }
.member-records-summary-copy { display: grid; gap: 3px; min-width: 0; }
.member-records-summary-copy strong { color: #103a45; font-size: 15px; }
.member-records-summary-copy small { color: #64748b; font-size: 12px; }
.member-records-summary-action { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: #0f766e; font-size: 12px; font-weight: 800; }
.member-records-summary-action::after { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #9edbd7; border-radius: 50%; font-size: 17px; font-weight: 500; line-height: 1; }
.member-records-disclosure[open] .member-records-summary-action::after { content: "−"; }
.member-records-disclosure[open] > summary { border-bottom: 1px solid #e1eeee; background: #f7fdfd; }
.member-records-content { padding: 0 20px 18px; }
.member-records-content .record-list { display: grid; gap: 9px; margin-top: 14px; }
.member-records-content .record-item { gap: 10px; padding: 11px; }
.member-records-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.member-records-pagination .muted { min-width: 94px; text-align: center; color: #52717a; font-size: 12px; }
.member-records-pagination .icon-button { width: 30px; height: 30px; border-color: #c7e4e2; color: #0f766e; background: #f7fdfd; font-size: 20px; line-height: 1; }
.member-records-pagination .icon-button:hover:not(:disabled) { border-color: #5eead4; background: #ecfdf5; }
.member-records-pagination .icon-button:disabled { cursor: default; opacity: .38; }

.member-side-stack .admin-role-preview-card { gap: 11px; padding: 18px 20px; }
.member-side-stack .admin-role-preview-card > p { font-size: 11px; }
.member-side-stack .admin-role-preview-options button { min-height: 58px; padding: 8px 9px; }

@media (max-width: 980px) {
  .member-activity-grid { grid-template-columns: 1fr; }
  .member-main-stack,
  .member-side-stack { grid-column: 1; grid-row: auto; }
  .member-side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-side-stack .recent-draws-panel { grid-row: span 2; }
  .member-side-stack .admin-role-preview-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .member-activity-grid { grid-template-columns: 1fr; }

  .member-main-stack,
  .member-side-stack { gap: 14px; }

  .member-side-stack { grid-template-columns: 1fr; }
  .member-side-stack .recent-draws-panel,
  .member-side-stack .admin-role-preview-card { grid-column: auto; grid-row: auto; }

  .member-main-stack .member-hero {
    grid-template-columns: 1fr;
    padding: 26px 20px 0;
  }

  .member-main-stack .member-hero-topline { align-items: center; }
  .member-main-stack .member-hero .member-profile { justify-items: end; }

  .member-main-stack .hero-wheel-stage {
    width: min(238px, 72vw);
    margin: 24px auto 0;
  }

  .member-prizes-panel .prize-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-main-stack .checkin-content { grid-template-columns: 1fr; }
  .member-side-stack .recent-draw-list { height: 260px; }
  .member-side-stack .admin-online-rail { order: -4; }
  .member-side-stack .vip-online-rail { order: -3; }
  .member-side-stack .member-online-rail { order: -2; }
  .member-records-disclosure > summary { min-height: 62px; padding: 12px 16px; }
  .member-records-content { padding: 0 16px 16px; }
}

@media (min-width: 1600px) {
  body:not(.vip-page-body) .member-side-stack .admin-online-rail {
    position: fixed;
    z-index: 8;
    top: 50%;
    left: 20px;
    width: clamp(160px, calc((100vw - 1160px) / 2 - 44px), 320px);
    max-height: none;
    overflow: hidden;
    margin: 0;
    transform: translateY(-50%);
  }

  body:not(.vip-page-body) .member-side-stack .vip-online-rail {
    position: fixed;
    z-index: 8;
    top: 50%;
    right: 20px;
    width: clamp(160px, calc((100vw - 1160px) / 2 - 44px), 320px);
    max-height: calc(100vh - 144px);
    overflow: auto;
    margin: 0;
    transform: translateY(-50%);
  }

  body:not(.vip-page-body) .member-side-stack .member-online-rail {
    position: fixed;
    z-index: 8;
    top: 50%;
    left: 20px;
    width: clamp(160px, calc((100vw - 1160px) / 2 - 44px), 320px);
    max-height: calc(100vh - 144px);
    overflow: auto;
    margin: 0;
    transform: translateY(-50%);
  }

  body.has-admin-online-seat:not(.vip-page-body) .member-side-stack .member-online-rail {
    top: auto;
    bottom: 24px;
    transform: none;
  }
}

/* 2026 full-experience modernization: shared hierarchy for login and member flows. */
.auth-brand-panel {
  position: relative;
  align-self: stretch;
  max-width: none;
  border: 1px solid #d9e6eb;
  border-radius: var(--radius-panel);
  padding: 38px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 96%), rgb(241 248 249 / 96%)),
    var(--surface-panel);
  box-shadow: 0 22px 54px rgb(22 59 72 / 8%);
}

.auth-brand-panel::after {
  position: absolute;
  right: -58px;
  bottom: -78px;
  width: 220px;
  height: 220px;
  border: 1px solid rgb(22 138 130 / 14%);
  border-radius: 50%;
  content: '';
}

.auth-brand-panel h1 { max-width: 470px; color: var(--text-primary); font-size: clamp(30px, 4vw, 42px); }
.auth-brand-panel > p:not(.eyebrow) { max-width: 500px; color: var(--text-muted); font-size: 15px; }

.auth-support-links {
  position: relative;
  z-index: 1;
  border-top-color: #d7e5e8;
}

.auth-account-panel {
  position: sticky;
  top: 88px;
  border-color: #d5e2e7;
  padding: 30px;
  box-shadow: var(--shadow-raised);
}

.auth-account-panel .login-form-heading { padding-bottom: 14px; }
.auth-account-panel input { min-height: 44px; }
.auth-account-panel .login-submit-button { min-height: 46px; }

.member-hero:has([data-ui-region="member-command-center"]) {
  border-color: #22596a;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgb(7 27 38 / 98%), rgb(13 49 61 / 96%)),
    #0a202b;
  box-shadow: 0 24px 58px rgb(8 43 57 / 22%);
}

.member-hero:has([data-ui-region="member-command-center"]) .hero-draw-button {
  min-width: 152px;
  min-height: 46px;
  box-shadow: 0 12px 25px rgb(35 197 166 / 18%);
}

.member-hero:has([data-ui-region="member-command-center"]) .hero-draw-button:hover:not(:disabled) { transform: translateY(-2px); }

.member-hero .hero-draw-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgb(143 211 205 / 22%);
  border-radius: var(--radius-control);
  padding: 6px;
  background: rgb(3 24 33 / 42%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.member-hero .hero-draw-meta > * { flex: 0 0 auto; }
.member-hero .hero-draw-meta .status-chip,
.member-hero .hero-draw-meta .count-badge { min-height: 32px; border-radius: 4px; }
.member-hero .hero-draw-meta .button { min-height: 32px; padding-top: 5px; padding-bottom: 5px; }
.member-hero .hero-draw-button,
.member-hero .lottery-command-group .button {
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, filter var(--motion-fast) ease;
}
.member-hero .hero-draw-button:active:not(:disabled),
.member-hero .lottery-command-group .button:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.member-hero .hero-draw-button:disabled,
.member-hero .lottery-command-group .button:disabled { filter: saturate(.55); cursor: wait; }

.member-prizes-panel:has([data-ui-region="member-quick-status"]) {
  border-color: #d6e4e8;
  box-shadow: 0 14px 34px rgb(15 45 56 / 7%);
}

.member-prizes-panel:has([data-ui-region="member-quick-status"]) .panel-heading { border-bottom: 1px solid #e1eaed; }

.member-daily-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d4e5e7;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(15 45 56 / 6%);
}

.member-daily-status > div {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 104px;
  padding: 17px 19px;
  border-left: 1px solid #e1eaed;
}

.member-daily-status > div:first-child { border-left: 0; }
.member-daily-status span { color: #5e747d; font-size: 12px; font-weight: 700; }
.member-daily-status strong { color: #133845; font-size: 21px; line-height: 1.2; }
.member-daily-status small { color: #81929a; font-size: 11px; line-height: 1.45; }

[data-ui-theme="vip"] .member-daily-status {
  border-color: #705a31;
  background: #171713;
  box-shadow: inset 0 0 0 1px rgb(213 175 96 / 7%), 0 15px 34px rgb(0 0 0 / 20%);
}

[data-ui-theme="vip"] .member-daily-status > div { border-color: #3e3523; }
[data-ui-theme="vip"] .member-daily-status span,
[data-ui-theme="vip"] .member-daily-status small { color: #a69166; }
[data-ui-theme="vip"] .member-daily-status strong { color: #e2c473; }

[data-ui-theme="founder"] .member-daily-status {
  border-color: #70424b;
  background: #211317;
  box-shadow: inset 0 0 0 1px rgb(224 139 122 / 7%), 0 15px 34px rgb(63 22 29 / 22%);
}

[data-ui-theme="founder"] .member-daily-status > div { border-color: #4e2d35; }
[data-ui-theme="founder"] .member-daily-status span,
[data-ui-theme="founder"] .member-daily-status small { color: #b98882; }
[data-ui-theme="founder"] .member-daily-status strong { color: #f0ad99; }

.member-side-stack:has([data-ui-region="member-secondary-grid"]) > .panel,
.member-side-stack:has([data-ui-region="member-secondary-grid"]) > aside,
.member-side-stack:has([data-ui-region="member-secondary-grid"]) > article {
  border-radius: var(--radius-panel);
}

.member-side-stack:has([data-ui-region="member-secondary-grid"]) .panel-heading h2 { color: var(--text-primary); }
.member-side-stack:has([data-ui-region="member-secondary-grid"]) .panel-heading p { color: var(--text-muted); }

@media (max-width: 720px) {
  .auth-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 18px; }
  .auth-brand-panel { padding: 25px 21px; }
  .auth-brand-panel h1 { font-size: 29px; }
  .auth-account-panel { position: static; top: auto; padding: 22px 20px; }
  .auth-support-links .community-actions { display: grid; grid-template-columns: 1fr; }
  .member-hero:has([data-ui-region="member-command-center"]) { padding-left: 19px; padding-right: 19px; }
  .member-hero:has([data-ui-region="member-command-center"]) .hero-draw-actions,
  .member-hero:has([data-ui-region="member-command-center"]) .lottery-command-group { width: 100%; }
  .member-hero:has([data-ui-region="member-command-center"]) .lottery-command-group { display: grid; grid-template-columns: 1fr; }
  .member-hero:has([data-ui-region="member-command-center"]) .hero-draw-button { width: 100%; }
  .member-prizes-panel:has([data-ui-region="member-quick-status"]) { border-radius: var(--radius-panel); }
  .member-daily-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-daily-status > div { min-height: 94px; padding: 15px; }
  .member-daily-status > div:nth-child(3) { border-left: 0; }
  .member-daily-status > div:nth-child(n + 3) { border-top: 1px solid #e1eaed; }
  .member-side-stack:has([data-ui-region="member-secondary-grid"]) { grid-template-columns: 1fr; }
}

/* 尊龙VIP: imperial red carries the identity, jade confirms an active privilege, and gold remains a restrained accent. */
[data-ui-theme="vip"] .vip-page-body,
.vip-page-body {
  color: #fff0df;
  background: #210a12;
}
[data-ui-theme="vip"] .vip-header,
[data-ui-theme="vip"] .vip-hero,
[data-ui-theme="vip"] .vip-page-panel,
[data-ui-theme="vip"] .vip-campaign-panel,
[data-ui-theme="vip"] .vip-recent-panel,
[data-ui-theme="vip"] .vip-weekly-activity,
[data-ui-theme="vip"] .vip-badge-wall {
  border-color: #73303d;
  background: #32101a;
}
[data-ui-theme="vip"] .vip-header { background: #210a12; }
[data-ui-theme="vip"] .vip-header-label,
[data-ui-theme="vip"] .vip-title-primary,
[data-ui-theme="vip"] .vip-online-rail h2,
[data-ui-theme="vip"] .vip-page-panel .vip-qualification-value strong,
[data-ui-theme="vip"] .vip-badge-wall h2 { color: #d8b56b; }
[data-ui-theme="vip"] .vip-title-secondary,
[data-ui-theme="vip"] .vip-page-panel .panel-heading h2,
[data-ui-theme="vip"] .vip-campaign-heading h2,
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid strong { color: #fff0df; }
[data-ui-theme="vip"] .vip-hero p,
[data-ui-theme="vip"] .vip-page-panel .panel-heading p,
[data-ui-theme="vip"] .vip-campaign-heading p,
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid span { color: #d3b498; }
[data-ui-theme="vip"] .vip-emblem {
  border-color: #64d6ba;
  color: #64d6ba;
  box-shadow: inset 0 0 0 9px #210a12, 0 0 0 1px rgb(216 181 107 / .18);
}
[data-ui-theme="vip"] .vip-emblem small { color: #d8b56b; }
[data-ui-theme="vip"] .vip-page-panel .status-chip,
[data-ui-theme="vip"] .vip-campaign-panel .status-chip {
  border-color: #416e62;
  color: #8aecd1;
  background: #142d2a;
}
[data-ui-theme="vip"] .vip-page-panel .button-secondary,
[data-ui-theme="vip"] .vip-draw-actions .button-secondary {
  border-color: #64d6ba;
  color: #8aecd1;
  background: transparent;
}
[data-ui-theme="vip"] .vip-page-panel .button-secondary:hover,
[data-ui-theme="vip"] .vip-draw-actions .button-secondary:hover {
  color: #14201d;
  background: #64d6ba;
}
[data-ui-theme="vip"] .vip-topup-button,
[data-ui-theme="vip"] .vip-draw-actions .button-primary {
  border-color: #d8b56b;
  color: #2a0c14;
  background: #d8b56b;
}
[data-ui-theme="vip"] .vip-topup-button:hover,
[data-ui-theme="vip"] .vip-draw-actions .button-primary:hover { background: #f1cf84; }
[data-ui-theme="vip"] .vip-wheel-stage { border-color: #73303d; background: #280c15; }
[data-ui-theme="vip"] .vip-wheel-aura { border-color: rgb(100 214 186 / .45); box-shadow: 0 0 46px rgb(100 214 186 / .16); }
[data-ui-theme="vip"] .lottery-theme-vip { border-color: #d8b56b; box-shadow: 0 0 0 8px #32101a, 0 0 0 9px #73303d; }
[data-ui-theme="vip"] .lottery-theme-vip .wheel-center { border-color: #64d6ba; color: #8aecd1; background: #142d2a; }
[data-ui-theme="vip"] .vip-recent-panel,
[data-ui-theme="vip"] .vip-online-rail { box-shadow: 0 18px 42px rgb(42 5 15 / .42); }
[data-ui-theme="vip"] .vip-online-rail { border-color: #73303d; background: #32101a; }
[data-ui-theme="vip"] .vip-online-rail-mark,
[data-ui-theme="vip"] .vip-presence-ticker-mark,
[data-ui-theme="vip"] .vip-online-member-mark { color: #64d6ba; }
[data-ui-theme="vip"] .vip-presence-ticker { --presence-accent: #64d6ba; --presence-sheen: rgb(100 214 186 / .18); border-color: #416e62; color: #fff0df; background: #32101a; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge { border-color: #73303d; color: #d3b498; background: #280c15; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked { border-color: #64d6ba; color: #8aecd1; background: #142d2a; }
.vip-admin-page { color: #fff0df; background: #210a12; }
.vip-admin-page .site-header,
.vip-admin-page .admin-shell,
.vip-admin-page .admin-panel,
.vip-admin-page .admin-audit-panel { border-color: #73303d; background: #32101a; }
.vip-admin-page .admin-page-title,
.vip-admin-page .admin-panel h2,
.vip-admin-page .admin-panel h3 { color: #fff0df; }
.vip-admin-page .eyebrow,
.vip-admin-page .admin-page-copy,
.vip-admin-page .field-hint { color: #d3b498; }
.vip-admin-page .button-primary { border-color: #d8b56b; color: #2a0c14; background: #d8b56b; }
.vip-admin-page .button-secondary { border-color: #64d6ba; color: #8aecd1; background: #142d2a; }

@media (max-width: 360px) {
  .member-daily-status { grid-template-columns: 1fr; }
  .member-daily-status > div { border-top: 1px solid #e1eaed; border-left: 0; }
  .member-daily-status > div:first-child { border-top: 0; }
}

[data-ui-theme="member"] {
  --identity-accent: #25aa94;
  --identity-accent-soft: #e7f7f3;
  --identity-surface: #0b2632;
}

[data-ui-theme="vip"] {
  --identity-accent: #c9a45d;
  --identity-accent-soft: #2b2418;
  --identity-surface: #171511;
}

[data-ui-theme="founder"] {
  --identity-accent: #c58179;
  --identity-accent-soft: #321a21;
  --identity-surface: #1e1216;
}

[data-ui-theme="admin"] {
  --identity-accent: #4f9db6;
  --identity-accent-soft: #e7f1f5;
  --identity-surface: #12232d;
}

[data-ui-theme="founder"] .vip-page-body {
  background: #140d10;
}

[data-ui-theme="founder"] .vip-hero,
[data-ui-theme="founder"] .vip-campaign-panel,
[data-ui-theme="founder"] .vip-page-panel {
  border-color: #70424b;
  background-image: linear-gradient(135deg, rgb(42 19 25 / 98%), rgb(22 15 18 / 98%));
}

.admin-primary-nav {
  position: sticky;
  z-index: 7;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  border: 1px solid #d5e2e8;
  border-radius: var(--radius-panel);
  padding: 7px;
  overflow-x: auto;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 12px 28px rgb(15 45 56 / 8%);
  backdrop-filter: blur(14px);
}

.admin-primary-nav a {
  position: relative;
  flex: 0 0 auto;
  min-height: 36px;
  border-radius: var(--radius-control);
  padding: 9px 12px;
  color: #405662;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.standard-admin-page .admin-primary-nav a::before {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: #218a92;
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.admin-primary-nav a:hover,
.admin-primary-nav a:focus-visible {
  color: #0f6670;
  background: #eaf4f6;
  outline: none;
  transform: translateY(-1px);
}

.standard-admin-page .admin-primary-nav a:hover::before,
.standard-admin-page .admin-primary-nav a:focus-visible::before { opacity: 1; transform: scaleX(1); }

.confirm-dialog[open],
.logout-confirm-dialog[open] { animation: dialog-enter var(--motion-slow) cubic-bezier(.2, .8, .2, 1) both; }

.confirm-dialog::backdrop,
.logout-confirm-dialog::backdrop {
  backdrop-filter: blur(5px);
  animation: dialog-backdrop-enter var(--motion-fast) ease both;
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dialog-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }

[data-ui-theme="vip"] .vip-campaign-panel {
  position: relative;
  border-color: #6b562d;
  background:
    linear-gradient(135deg, rgb(255 226 153 / 3%), transparent 42%),
    #121318;
  box-shadow: inset 0 0 0 1px rgb(225 190 108 / 7%), 0 24px 58px rgb(0 0 0 / 28%);
}

[data-ui-theme="vip"] .vip-campaign-panel::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(213 175 96 / 12%);
  pointer-events: none;
  content: "";
}

[data-ui-theme="founder"] .vip-emblem {
  position: relative;
  border-color: #b46f68;
  color: #efaa91;
  background: radial-gradient(circle at 50% 42%, #381d22, #1a1013 70%);
  box-shadow: inset 0 0 0 8px #211317, inset 0 0 0 9px rgb(224 139 122 / 24%), 0 18px 45px rgb(74 26 34 / 36%);
  animation: founder-emblem-watch 4.8s ease-in-out infinite;
}

[data-ui-theme="founder"] .vip-emblem small { color: #c8847c; }

@keyframes founder-emblem-watch {
  0%, 100% { box-shadow: inset 0 0 0 8px #211317, inset 0 0 0 9px rgb(224 139 122 / 22%), 0 18px 45px rgb(74 26 34 / 30%); }
  50% { box-shadow: inset 0 0 0 8px #211317, inset 0 0 0 9px rgb(239 170 145 / 38%), 0 20px 52px rgb(112 49 57 / 42%); }
}

.admin-section-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.admin-section-nav span { color: #2a5363; font-weight: 750; }
.admin-section-nav strong { font-weight: 600; }
#admin-operation-progress { margin: 0 0 18px; }

.standard-admin-page .panel,
.standard-admin-page .campaign-overview {
  border-color: #d7e2e7;
  box-shadow: 0 10px 28px rgb(15 45 56 / 5%);
}

.operations-summary {
  margin-bottom: 18px;
  border: 1px solid #cfdee4;
  border-left: 3px solid #31899d;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(15 45 56 / 6%);
}

.operations-summary-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e0e9ed;
}

.operations-summary-heading h2 { margin: 2px 0 4px; color: #183946; font-size: 18px; }
.operations-summary-heading p { margin: 0; color: #71848d; font-size: 12px; }
.operations-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(110px, .7fr)) minmax(230px, 1.6fr); }
.operations-summary-grid > div { display: grid; align-content: center; gap: 4px; min-height: 94px; padding: 16px 18px; border-left: 1px solid #e2eaed; }
.operations-summary-grid > div:first-child { border-left: 0; }
.operations-summary-grid span { color: #647985; font-size: 11px; font-weight: 750; }
.operations-summary-grid strong { color: #183946; font-size: 22px; line-height: 1.25; }
.operations-summary-grid small { color: #91a0a7; font-size: 10px; }
.operations-role-stat strong { color: #24687a; font-size: 13px; line-height: 1.55; }
#refresh-operations-summary.is-loading { animation: issue-spinner .72s linear infinite; }

.vip-admin-page .operations-summary {
  border-color: #765f30;
  border-left-color: #d7b360;
  background: #111216;
  box-shadow: inset 0 0 0 1px rgb(227 196 114 / 8%), 0 14px 34px rgb(0 0 0 / 25%);
}

.vip-admin-page .operations-summary-heading,
.vip-admin-page .operations-summary-grid > div { border-color: #332d20; }
.vip-admin-page .operations-summary-heading h2,
.vip-admin-page .operations-summary-grid strong { color: #e3c472; }
.vip-admin-page .operations-summary-heading p,
.vip-admin-page .operations-summary-grid span,
.vip-admin-page .operations-summary-grid small { color: #9a8c72; }
.vip-admin-page .operations-role-stat strong { color: #d9c28a; }

@media (max-width: 720px) {
  .admin-primary-nav { top: 4px; margin-right: -4px; margin-left: -4px; }
  .admin-section-nav { align-items: flex-start; flex-direction: column; }
  .operations-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-summary-grid > div { min-height: 86px; }
  .operations-summary-grid > div:nth-child(odd) { border-left: 0; }
  .operations-summary-grid > div:nth-child(n + 3) { border-top: 1px solid #e2eaed; }
  .operations-summary-grid .operations-role-stat { grid-column: 1 / -1; border-left: 0; }
  .member-hero .hero-draw-meta { width: 100%; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-dialog[open],
  .logout-confirm-dialog[open],
  .confirm-dialog::backdrop,
  .logout-confirm-dialog::backdrop,
  [data-ui-theme="founder"] .vip-emblem { animation: none; }
  .operation-feedback.is-loading::before { animation: none; }

  .standard-admin-page .admin-primary-nav a::before,
  .member-hero .hero-draw-button,
  .member-hero .lottery-command-group .button { transition: none; }
}

/* Current activity layout polish: one final hierarchy layer for the existing flow. */
.auth-layout {
  gap: clamp(32px, 6vw, 72px);
  padding-top: 38px;
}

.auth-layout .community-portal { margin-top: 28px; }
.auth-account-panel { align-self: center; }

.member-activity-grid { gap: 28px; }
.member-main-stack { gap: 28px; }
.member-hero { margin-bottom: 0; }
.member-side-stack { gap: 24px; padding-top: 0; }

.member-daily-status {
  min-height: 104px;
  margin: 0;
}

.member-daily-status > div { padding: 18px 16px; }
.member-prizes-panel { padding-bottom: 22px; }
.member-prizes-panel .chance-guide { margin-top: 16px; }

.vip-page-body .vip-prize-stage { margin-top: 22px; }
.vip-page-body .vip-draw-actions { padding: 20px 0 4px; }
.vip-page-body .vip-draw-action-buttons { gap: 12px; }

/* Zulong VIP identity: deep dragon ink, jade, and vermilion. */
[data-ui-theme="vip"] {
  --identity-accent: #1bb89a;
  --identity-accent-soft: #103a3b;
  --identity-surface: #071b23;
}

[data-ui-theme="vip"] .vip-page-body,
.vip-admin-page {
  color: #e8fbf4;
  background-color: #06161d;
  background-image: repeating-linear-gradient(135deg, rgb(27 184 154 / .035) 0 1px, transparent 1px 18px);
}

[data-ui-theme="vip"] .vip-header,
[data-ui-theme="vip"] .vip-hero,
[data-ui-theme="vip"] .vip-page-panel,
[data-ui-theme="vip"] .vip-campaign-panel,
[data-ui-theme="vip"] .vip-recent-panel,
[data-ui-theme="vip"] .vip-weekly-activity,
[data-ui-theme="vip"] .vip-badge-wall,
.vip-admin-page .site-header,
.vip-admin-page .admin-shell,
.vip-admin-page .admin-panel,
.vip-admin-page .admin-audit-panel,
.vip-admin-page .panel,
.vip-admin-page .table-panel,
.vip-admin-page .campaign-overview,
.vip-admin-page .operations-summary,
.vip-admin-page .vip-qualification-panel,
.vip-admin-page .vip-record-summary {
  border-color: #1d5f5c;
  background-color: #09242c;
  background-image: linear-gradient(145deg, rgb(27 184 154 / .065), transparent 38%);
}

[data-ui-theme="vip"] .vip-header { background-color: #06161d; }
[data-ui-theme="vip"] .brand,
[data-ui-theme="vip"] .vip-title-secondary,
[data-ui-theme="vip"] .vip-page-panel .panel-heading h2,
[data-ui-theme="vip"] .vip-campaign-heading h2,
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid strong,
.vip-admin-page .admin-page-title,
.vip-admin-page .admin-panel h2,
.vip-admin-page .admin-panel h3 { color: #e8fbf4; }

[data-ui-theme="vip"] .vip-header-label,
[data-ui-theme="vip"] .vip-title-primary,
[data-ui-theme="vip"] .vip-online-rail h2,
[data-ui-theme="vip"] .vip-page-panel .vip-qualification-value strong,
[data-ui-theme="vip"] .vip-badge-wall h2,
.vip-admin-page .prize-editor-heading h3,
.vip-admin-page .overview-stat strong,
.vip-admin-page .chance-stat strong,
.vip-admin-page .vip-qualification-summary strong,
.vip-admin-page .operations-summary-heading h2,
.vip-admin-page .operations-summary-grid strong,
.vip-admin-page .admin-activity-trend-heading h3,
.vip-admin-page .admin-activity-trend-value,
.vip-admin-page .admin-audit-heading h2,
.vip-admin-page .admin-audit-item strong { color: #75efd2; }

[data-ui-theme="vip"] .vip-hero p,
[data-ui-theme="vip"] .vip-page-panel .panel-heading p,
[data-ui-theme="vip"] .vip-campaign-heading p,
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid span,
.vip-admin-page .eyebrow,
.vip-admin-page .admin-page-copy,
.vip-admin-page .field-hint,
.vip-admin-page .operations-summary-heading p,
.vip-admin-page .operations-summary-grid span,
.vip-admin-page .operations-summary-grid small { color: #a8d7cc; }

[data-ui-theme="vip"] .vip-section-mark,
[data-ui-theme="vip"] .eyebrow,
.vip-admin-page .eyebrow { color: #d8434e !important; }

[data-ui-theme="vip"] .vip-emblem {
  position: relative;
  overflow: hidden;
  border-color: #1bb89a;
  color: #e8fbf4;
  background: #082b32;
  box-shadow: inset 0 0 0 8px #061a21, inset 0 0 0 9px rgb(27 184 154 / .28), 0 22px 50px rgb(0 0 0 / .32);
}
[data-ui-theme="vip"] .vip-emblem::before { position: absolute; inset: 14px; border: 1px solid rgb(216 67 78 / .72); border-radius: 50%; content: ""; }
[data-ui-theme="vip"] .vip-emblem img { width: 88px; height: 88px; margin: 0 auto -6px; filter: drop-shadow(0 0 10px rgb(27 184 154 / .36)); }
[data-ui-theme="vip"] .vip-emblem span { position: relative; z-index: 1; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif; }
[data-ui-theme="vip"] .vip-emblem small { position: relative; z-index: 1; color: #a8d7cc; }

[data-ui-theme="vip"] .vip-page-panel .status-chip,
[data-ui-theme="vip"] .vip-campaign-panel .status-chip { border-color: #287a72; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-page-panel .button-secondary,
[data-ui-theme="vip"] .vip-draw-actions .button-secondary,
.vip-admin-page .button-secondary { border-color: #2f9183; color: #a9ffea; background: #0e3337; }
[data-ui-theme="vip"] .vip-page-panel .button-secondary:hover,
[data-ui-theme="vip"] .vip-draw-actions .button-secondary:hover,
.vip-admin-page .button-secondary:hover:not(:disabled) { color: #052127; border-color: #75efd2; background: #75efd2; }
[data-ui-theme="vip"] .vip-topup-button,
[data-ui-theme="vip"] .vip-draw-actions .button-primary,
.vip-admin-page .button-primary { border-color: #c83b47; color: #fff4ed; background: #b9303e; }
[data-ui-theme="vip"] .vip-topup-button:hover,
[data-ui-theme="vip"] .vip-draw-actions .button-primary:hover,
.vip-admin-page .button-primary:hover:not(:disabled) { border-color: #ee6870; background: #cf4050; }

[data-ui-theme="vip"] .vip-wheel-stage { border-color: #1d5f5c; background: #061a21; }
[data-ui-theme="vip"] .vip-wheel-aura { border-color: rgb(27 184 154 / .62); background: repeating-conic-gradient(from 0deg, #1bb89a 0 3deg, transparent 3deg 24deg); box-shadow: 0 0 44px rgb(27 184 154 / .2); }
[data-ui-theme="vip"] .lottery-theme-vip { border-color: #1bb89a; box-shadow: 0 0 0 8px #082b32, 0 0 0 9px #1d5f5c, 0 18px 46px rgb(0 0 0 / .4); }
[data-ui-theme="vip"] .lottery-theme-vip .wheel-center { border-color: #75efd2; color: #e8fbf4; background: #0d5e59; }
.vip-wheel-seal { border-color: rgb(27 184 154 / .58); background: repeating-conic-gradient(from 4deg, #1bb89a 0 1deg, transparent 1deg 12deg); }
.vip-wheel-crown { top: -14px; width: 58px; height: 58px; border: 0; background: url("/zulong-dragon.svg") center / contain no-repeat; clip-path: none; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .56)); }
.vip-wheel-stage[data-lottery-phase="charging"] .vip-wheel-seal { filter: drop-shadow(0 0 8px rgb(27 184 154 / .58)); }
.vip-wheel-stage[data-lottery-phase="spinning"] .vip-wheel-seal { filter: drop-shadow(0 0 14px rgb(117 239 210 / .7)); }
.vip-wheel-stage[data-lottery-phase="spinning"] .vip-wheel-crown { animation: zulong-dragon-breath .5s ease-in-out infinite alternate; }
.vip-wheel-stage[data-lottery-phase="revealed"] .vip-wheel-seal { filter: drop-shadow(0 0 20px rgb(117 239 210 / .66)); }
.vip-wheel-stage[data-lottery-phase="revealed"] .vip-wheel-crown { animation: zulong-dragon-arrive .62s cubic-bezier(.18, .8, .24, 1); }
.vip-wheel-stage[data-lottery-phase="charging"] .wheel-center::after { color: #d7fff4; }
.vip-wheel-stage[data-lottery-phase="spinning"] .wheel-center::after { color: #e8fbf4; }
.vip-wheel-stage[data-lottery-phase="slowing"] .wheel-center::after { color: #d7fff4; }
.vip-wheel-stage[data-lottery-phase="revealed"] .wheel-center::after { color: #fff4ed; background: #b9303e; }

[data-ui-theme="vip"] .vip-recent-panel,
[data-ui-theme="vip"] .vip-online-rail { border-color: #1d5f5c; background: #09242c; box-shadow: 0 18px 42px rgb(0 0 0 / .3); }
[data-ui-theme="vip"] .vip-online-rail-mark,
[data-ui-theme="vip"] .vip-presence-ticker-mark,
[data-ui-theme="vip"] .vip-online-member-mark { color: #d8434e; }
[data-ui-theme="vip"] .vip-presence-ticker { --presence-accent: #1bb89a; --presence-sheen: rgb(27 184 154 / .2); border-color: #287a72; color: #e8fbf4; background: #09242c; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge { border-color: #1d5f5c; color: #a8d7cc; background: #061a21; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }

[data-ui-theme="vip"] .checkin-center.is-vip::before { background: #d8434e; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-tier-badge { border-color: #287a72; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-month-grid > .is-checked i { color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-month-grid > .is-today { box-shadow: inset 0 0 0 2px #d8434e; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-button { border-color: #c83b47; color: #fff4ed; background: #b9303e; }
[data-ui-theme="vip"] .checkin-progress-meter > span { background: linear-gradient(90deg, #b9303e, #75efd2); box-shadow: 0 0 12px rgb(27 184 154 / .4); }
[data-ui-theme="vip"] .checkin-month-achievement { border-color: #287a72; color: #a9ffea; background: #103b3d; }

.vip-admin-page .site-header { background-color: #06161d; }
.vip-admin-page .brand,
.vip-admin-page .text-link { color: #a9ffea; }
.vip-admin-page input,
.vip-admin-page select { color: #e8fbf4; border-color: #1d5f5c; background: #061a21; }
.vip-admin-page input:focus,
.vip-admin-page select:focus { border-color: #1bb89a; box-shadow: 0 0 0 3px rgb(27 184 154 / .15); }
.vip-admin-page .vip-qualification-panel::before { background: #d8434e; }
.vip-admin-page .vip-qualification-seal,
.vip-admin-page .count-badge,
.vip-admin-page .shared-chance-notice { color: #a9ffea; border-color: #287a72; background: #103b3d; }
.vip-admin-page .vip-qualification-kind.is-grant,
.vip-admin-page .record-status.status-pending_issue { color: #a9ffea; border-color: #287a72; background: #103b3d; }
.vip-admin-page th { color: #a8d7cc; background: #0c3036; }
.vip-admin-page td { color: #d7eee7; background: #09242c; }
.vip-admin-page tbody tr:hover td { background: #0e3337; }
.vip-admin-page th input[type="checkbox"],
.vip-admin-page td input[type="checkbox"] { accent-color: #1bb89a; }
.vip-admin-page .confirm-dialog,
.vip-admin-page .vip-topup-dialog { color: #e8fbf4; border-color: #287a72; background: #09242c; }
.vip-admin-page .issue-progress { border-color: #287a72; background: #061a21; }
.vip-admin-page .issue-progress-spinner { border-color: #1d5f5c; border-top-color: #75efd2; }
.vip-admin-page .issue-progress-track { background: #12343a; }
.vip-admin-page .issue-progress-track span { background: #1bb89a; }
.vip-admin-page .issue-progress.is-success .issue-progress-spinner::before { color: #052127; background: #75efd2; }

/* Restore the original interactive login layout. The image-only B experiment is disabled. */
@media (min-width: 721px) {
  body:has(#login-view:not(.is-hidden)) .site-header { display: flex; }
  body:has(#login-view:not(.is-hidden)) .page-shell {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
  }
  #login-view.auth-layout:not(.is-hidden) {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(460px, .94fr);
    min-height: calc(100vh - 70px);
    padding: 0;
    background: #073f43;
  }
  #login-view.auth-layout::before,
  #login-view.auth-layout::after,
  #login-view .auth-brand-panel { display: block; }
  #login-view .auth-account-panel {
    position: relative;
    inset: auto;
    display: grid;
    width: auto;
    min-height: 0;
    padding: clamp(32px, 7vh, 72px) clamp(38px, 7.5vw, 124px) 30px clamp(68px, 9vw, 156px);
    overflow: visible;
    background: #fbfaf6;
  }
  #login-view .auth-account-panel::after { display: block; }
  #login-view .login-form-heading,
  #login-view .login-register-entry { display: block; }
  #login-view .login-form-heading { display: flex; }
  #login-view .auth-account-panel > label {
    position: static;
    display: grid;
    width: auto;
    margin: 0;
    color: #1d464a;
    font-size: 15px;
    line-height: normal;
  }
  #login-view .auth-account-panel > label > input,
  #login-view .auth-account-panel > label > .password-field,
  #login-view .auth-account-panel > label > .password-field > input { position: static; }
  #login-view .auth-account-panel input {
    height: auto;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #bfd6d1;
    border-radius: 6px;
    color: #123f45;
    background: #fffefa;
    font-size: 15px;
  }
  #login-view .auth-account-panel input:not(:placeholder-shown) { background: #fffefa; }
  #login-view .auth-account-panel .password-field { position: relative; display: block; }
  #login-view .auth-account-panel .password-field > input { position: static; padding-right: 46px; }
  #login-view .auth-account-panel .password-visibility-button { position: absolute; top: 50%; right: 7px; bottom: auto; }
  #login-view .auth-account-panel .login-options {
    position: static;
    display: flex;
    width: auto;
    margin-top: 2px;
    padding: 8px 0 2px;
  }
  #login-view .auth-account-panel .login-options > a,
  #login-view .auth-account-panel .login-remember-control { color: inherit; font-size: 13px; }
  #login-view .auth-account-panel .login-remember-control input {
    position: static;
    width: 17px;
    height: 17px;
    min-height: 17px;
    padding: 0;
    opacity: 1;
  }
  #login-view #login-error { position: static; width: auto; }
  #login-view .auth-account-panel .login-submit-button {
    position: static;
    width: auto;
    height: auto;
    min-height: 54px;
    margin-top: 3px;
    border: 1px solid #ef7259;
    border-radius: 6px;
    color: #fff9e9;
    background: linear-gradient(100deg, #e95745, #fb8065);
    box-shadow: 0 12px 23px rgb(220 85 61 / .22);
    font-size: 16px;
  }
}

/* Retained only as a historical draft; it must not change the live member homepage. */
@media (min-width: 99999px) {
  body:has(#member-view:not(.is-hidden)) .page-shell {
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 0 56px;
  }
  #member-view .member-activity-grid { display: grid; grid-template-columns: minmax(0, 1fr) 366px; align-items: start; gap: 20px; margin-top: 0; }
  #member-view .member-main-stack,
  #member-view .member-side-stack { display: contents; }
  #member-view .member-hero { grid-column: 1 / -1; grid-row: 1; }
  #member-view .member-prizes-panel { grid-column: 1; grid-row: 2; }
  #member-view #vip-status-card { grid-column: 2; grid-row: 2; }
  #member-view .recent-draws-panel { grid-column: 2; grid-row: 3; }
  #member-view .member-records-disclosure { display: block; grid-column: 2; grid-row: 4; padding: 18px; }
  #member-view .member-records-disclosure > summary { cursor: default; }
  #member-view .member-records-disclosure .member-records-summary-action { display: none; }
  #member-view .member-records-disclosure .member-records-content { display: block; margin-top: 16px; }
  #member-view .member-daily-status,
  #member-view .member-badge-wall,
  #member-view #checkin-center,
  #member-view #daily-play-panel,
  #member-view #weekly-activity-panel,
  #member-view #zulong-progression { display: none !important; }
}

.admin-self-record-toggle {
  align-self: end;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #cfe4e4;
  border-radius: 6px;
  color: #405970;
  background: #f8fffe;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.admin-self-record-toggle input { width: 16px; height: 16px; min-height: 0; accent-color: #0d9488; }
.admin-self-record-toggle:has(input:checked) { color: #0f766e; border-color: #75cfc5; background: #e8faf6; }

/* Keep saved credentials inside the B-art input channels, after every legacy login rule. */
@media (min-width: 721px) {
  #login-view .auth-account-panel > label { line-height: 0; }
  #login-view .auth-account-panel > label > input,
  #login-view .auth-account-panel > label > .password-field { position: absolute; inset: 0; }
  #login-view .auth-account-panel > label > .password-field > input { position: absolute; inset: 0; }
  #login-view .auth-account-panel input:not(:placeholder-shown) { background: linear-gradient(90deg, transparent 0 12%, #fbfaf6 12% 88%, transparent 88% 100%); }
  #login-view .auth-account-panel input:-webkit-autofill,
  #login-view .auth-account-panel input:-webkit-autofill:hover,
  #login-view .auth-account-panel input:-webkit-autofill:focus { -webkit-text-fill-color: #23484c; -webkit-box-shadow: 0 0 0 1000px #fbfaf6 inset; }
  #login-view .auth-account-panel .password-visibility-button { position: absolute; top: 0; bottom: 0; }
}

/* Retained only as a historical draft; it must not change the live member homepage. */
@media (min-width: 99999px) {
  body:has(#member-view:not(.is-hidden)) .page-shell {
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 0 56px;
  }
  #member-view .member-activity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 366px;
    align-items: start;
    gap: 20px;
    margin-top: 0;
  }
  #member-view .member-main-stack,
  #member-view .member-side-stack { display: contents; }
  #member-view .member-hero { grid-column: 1 / -1; grid-row: 1; }
  #member-view .member-prizes-panel { grid-column: 1; grid-row: 2; }
  #member-view #vip-status-card { grid-column: 2; grid-row: 2; }
  #member-view .recent-draws-panel { grid-column: 2; grid-row: 3; }
  #member-view .member-records-disclosure {
    display: block;
    grid-column: 2;
    grid-row: 4;
    padding: 18px;
  }
  #member-view .member-records-disclosure > summary { cursor: default; }
  #member-view .member-records-disclosure .member-records-summary-action { display: none; }
  #member-view .member-records-disclosure .member-records-content { display: block; margin-top: 16px; }
  #member-view .member-daily-status,
  #member-view .member-badge-wall,
  #member-view #checkin-center,
  #member-view #daily-play-panel,
  #member-view #weekly-activity-panel,
  #member-view #zulong-progression { display: none !important; }
}

/* Final desktop login surface: the approved B artwork is the page itself, with real controls aligned on its fields. */
@media (min-width: 721px) {
  body:has(#login-view:not(.is-hidden)) .site-header { display: none; }
  body:has(#login-view:not(.is-hidden)) .page-shell { width: 100%; max-width: none; min-height: 100vh; margin: 0; padding: 0; }
  #login-view.auth-layout {
    position: relative;
    display: block;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #073f43 url('/assets/login-concept-b.webp?v=20260911.1') center / 100% 100% no-repeat;
    box-shadow: none;
  }
  #login-view.auth-layout::before,
  #login-view.auth-layout::after,
  #login-view .auth-brand-panel { display: none; }
  #login-view .auth-account-panel {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  #login-view .auth-account-panel::after,
  #login-view .login-form-heading,
  #login-view .login-register-entry { display: none; }
  #login-view .auth-account-panel > label {
    position: absolute;
    display: block;
    width: 29.1%;
    margin: 0;
    color: transparent;
    font-size: 0;
  }
  #login-view .auth-account-panel > label:nth-of-type(1) { top: 32.9%; left: 64.6%; }
  #login-view .auth-account-panel > label:nth-of-type(2) { top: 44.6%; left: 64.6%; }
  #login-view .auth-account-panel input {
    box-sizing: border-box;
    width: 100%;
    height: 5.8vh;
    min-height: 0;
    padding: 0 12% 0 14%;
    border: 0;
    border-radius: 10px;
    color: #23484c;
    background: transparent;
    box-shadow: none;
    font-size: clamp(13px, 1vw, 17px);
  }
  #login-view .auth-account-panel input:-webkit-autofill,
  #login-view .auth-account-panel input:-webkit-autofill:hover,
  #login-view .auth-account-panel input:-webkit-autofill:focus {
    -webkit-text-fill-color: #23484c;
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    transition: background-color 9999s ease-out 0s;
  }
  #login-view .auth-account-panel input:focus { outline: 2px solid rgb(79 180 167 / .7); outline-offset: -1px; box-shadow: none; }
  #login-view .auth-account-panel .password-field { display: block; }
  #login-view .auth-account-panel .password-visibility-button { right: 3.2%; color: #829497; background: transparent; }
  #login-view .auth-account-panel .login-options {
    position: absolute;
    top: 52.6%;
    left: 64.6%;
    display: flex;
    justify-content: space-between;
    width: 29.1%;
    margin: 0;
    padding: 0;
    border: 0;
  }
  #login-view .auth-account-panel .login-options > a,
  #login-view .auth-account-panel .login-remember-control { color: transparent; font-size: 0; }
  #login-view .auth-account-panel .login-remember-control { position: relative; width: 20px; height: 20px; }
  #login-view .auth-account-panel .login-remember-control input { position: absolute; inset: 0; width: 20px; height: 20px; padding: 0; opacity: 0; }
  #login-view .auth-account-panel .login-remember-control::before { position: absolute; inset: 1px; border: 1px solid #2e8f87; border-radius: 3px; background: #f9faf6; content: ''; }
  #login-view .auth-account-panel .login-remember-control:has(input:checked)::before { color: #fff; background: #208f84; content: '\\2713'; font-size: 13px; line-height: 17px; text-align: center; }
  #login-view #login-error { position: absolute; top: 56%; left: 64.6%; width: 29.1%; }
  #login-view .auth-account-panel .login-submit-button {
    position: absolute;
    top: 58.95%;
    left: 64.6%;
    width: 29.1%;
    height: 6.3vh;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 10px;
    color: transparent;
    background: transparent;
    box-shadow: none;
    font-size: 0;
  }
  #login-view .auth-account-panel .login-submit-button:hover:not(:disabled) { background: rgb(244 103 80 / .08); box-shadow: none; }
  #login-view .auth-account-panel .login-submit-button:focus-visible { outline: 2px solid #f46750; outline-offset: 3px; }
}

/* The artwork already provides labels, icons, and blank fields. Values sit in the text channel only. */
@media (min-width: 721px) {
  #login-view .auth-account-panel > label { line-height: 0; }
  #login-view .auth-account-panel > label > input,
  #login-view .auth-account-panel > label > .password-field {
    position: absolute;
    inset: 0;
  }
  #login-view .auth-account-panel > label > .password-field > input { position: absolute; inset: 0; }
  #login-view .auth-account-panel input:not(:placeholder-shown) {
    background: linear-gradient(90deg, transparent 0 12%, #fbfaf6 12% 88%, transparent 88% 100%);
  }
  #login-view .auth-account-panel input:-webkit-autofill,
  #login-view .auth-account-panel input:-webkit-autofill:hover,
  #login-view .auth-account-panel input:-webkit-autofill:focus {
    -webkit-text-fill-color: #23484c;
    -webkit-box-shadow: 0 0 0 1000px #fbfaf6 inset;
  }
  #login-view .auth-account-panel .password-visibility-button { position: absolute; top: 0; bottom: 0; }
}

/* Desktop uses the approved activity-art direction directly; the real login controls sit over its matching fields. */
@media (min-width: 721px) {
  body:has(#login-view:not(.is-hidden)) .site-header { display: none; }
  body:has(#login-view:not(.is-hidden)) .page-shell { min-height: 100vh; }
  .auth-layout { display: block; min-height: 100vh; background: #073f43 url('/assets/login-concept-b.webp?v=20260911.1') center / 100% 100% no-repeat; }
  .auth-layout::before, .auth-layout::after, .auth-layout .auth-brand-panel { display: none; }
  .auth-account-panel { position: absolute; inset: 0; display: block; width: 100%; min-height: 100vh; padding: 0; overflow: visible; background: transparent; }
  .auth-account-panel::after { display: none; }
  .auth-account-panel .login-form-heading, .auth-account-panel .login-register-entry { display: none; }
  .auth-account-panel > label { position: absolute; display: block; width: 32.4%; margin: 0; color: transparent; font-size: 0; }
  .auth-account-panel > label:nth-of-type(1) { top: 32.9%; left: 72.3%; }
  .auth-account-panel > label:nth-of-type(2) { top: 44.6%; left: 72.3%; }
  .auth-account-panel input { box-sizing: border-box; width: 100%; height: 5.8vh; min-height: 0; padding: 0 4.7%; border: 0; border-radius: 10px; color: #23484c; background: #fbfaf6; box-shadow: none; font-size: clamp(13px, 1vw, 17px); }
  .auth-account-panel input:focus { outline: 2px solid #4fb4a7; outline-offset: 2px; box-shadow: none; }
  .auth-account-panel .password-field { display: block; }
  .auth-account-panel .password-visibility-button { right: 3.2%; color: #829497; background: transparent; }
  .auth-account-panel .login-options { position: absolute; top: 52.6%; left: 72.3%; display: flex; width: 32.4%; margin: 0; padding: 0; border: 0; }
  .auth-account-panel .login-options > a, .auth-account-panel .login-remember-control { color: transparent; font-size: 0; }
  .auth-account-panel .login-remember-control input { width: 2.3vh; height: 2.3vh; min-height: 0; padding: 0; opacity: 0; }
  .auth-account-panel .login-remember-control:has(input:checked)::before { position: absolute; top: 3px; left: 1px; width: 15px; height: 15px; border-radius: 3px; color: #fff; background: #208f84; content: '✓'; font-size: 13px; line-height: 15px; text-align: center; }
  #login-error { position: absolute; top: 56%; left: 72.3%; width: 32.4%; }
  .auth-account-panel .login-submit-button { position: absolute; top: 58.95%; left: 72.3%; width: 32.4%; height: 6.3vh; min-height: 0; margin: 0; border: 0; border-radius: 10px; color: #fffaf0; background: #f46750; box-shadow: none; font-size: clamp(14px, 1.2vw, 19px); }
  .auth-account-panel .login-submit-button:hover:not(:disabled) { background: #e95642; box-shadow: none; }
}

/* Activity voucher login: a dedicated public entry surface, separate from member and Zulong areas. */
body:has(#login-view:not(.is-hidden)) { background: #073f43; }
body:has(#login-view:not(.is-hidden)) .site-header {
  position: relative;
  z-index: 2;
  max-width: none;
  min-height: 70px;
  margin: 0;
  padding: 0 clamp(24px, 4vw, 64px);
  border: 0;
  border-bottom: 1px solid rgb(222 255 248 / .14);
  border-radius: 0;
  color: #ecfaf4;
  background: #073f43;
  box-shadow: none;
}
body:has(#login-view:not(.is-hidden)) .site-header .brand { color: #fff8e7; font-size: 22px; }
body:has(#login-view:not(.is-hidden)) .site-header .codework-mark { color: #68d9c9; border-color: rgb(104 217 201 / .34); background: transparent; }
body:has(#login-view:not(.is-hidden)) .site-header .text-link { color: #e6faf4; }
body:has(#login-view:not(.is-hidden)) .site-header .text-link:hover { color: #8ee9d8; background: rgb(255 255 255 / .07); }
body:has(#login-view:not(.is-hidden)) .page-shell { width: 100%; max-width: none; margin: 0; padding: 0; }

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(460px, .94fr);
  align-items: stretch;
  min-height: calc(100vh - 70px);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #073f43;
  box-shadow: none;
}
.auth-layout::before {
  z-index: 0;
  background-color: transparent;
  background-image: radial-gradient(circle at 18% 20%, rgb(123 239 213 / .12) 0 1px, transparent 1.5px), radial-gradient(circle at 76% 76%, rgb(255 245 211 / .12) 0 1px, transparent 1.5px);
  background-size: 29px 29px, 43px 43px;
}
.auth-layout::after {
  z-index: 0;
  top: -8%;
  right: 37.2%;
  width: 132px;
  height: 116%;
  border: 0;
  border-right: 1px solid rgb(255 245 211 / .68);
  background: linear-gradient(90deg, transparent, rgb(84 203 183 / .62) 58%, rgb(255 245 211 / .9));
  box-shadow: 14px 0 36px rgb(0 0 0 / .13);
  transform: skewX(-8deg);
}
.auth-layout .auth-brand-panel {
  z-index: 1;
  align-self: stretch;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: clamp(70px, 11vh, 128px) clamp(32px, 8vw, 130px) 70px;
  border: 0;
  border-radius: 0;
  color: #eafaf4;
  background: transparent;
  box-shadow: none;
}
.auth-layout .auth-brand-panel::before { display: none; }
.auth-layout .auth-brand-panel::after { display: none; }
.auth-layout .eyebrow { margin-bottom: 18px; color: #70d8c6; font-size: 12px; font-weight: 700; }
.auth-layout .intro-copy h1 { max-width: 640px; margin: 0; color: #fff8e8; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(43px, 5.2vw, 76px); font-weight: 500; line-height: .96; text-shadow: 0 3px 22px rgb(0 0 0 / .11); }
.auth-layout .intro-copy h1 span { color: #78dcca; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif; font-size: .66em; font-weight: 750; }
.auth-layout .auth-brand-slogan { max-width: none; margin: 22px 0 0; color: #7cdecf; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: .1em; }
.auth-ticket-visual { position: relative; width: min(475px, 90%); height: 238px; margin: 42px 0 26px; }
.auth-ticket-ribbon { position: absolute; z-index: 0; display: block; width: 580px; height: 86px; border: 1px solid rgb(255 245 211 / .45); opacity: .68; }
.auth-ticket-ribbon-one { top: 35px; left: -130px; border-radius: 50%; transform: rotate(-8deg); }
.auth-ticket-ribbon-two { top: 126px; left: -74px; border-radius: 52%; transform: rotate(12deg); }
.auth-ticket { position: absolute; z-index: 2; top: 41px; left: 42px; width: 306px; height: 132px; border: 2px solid #fff4d4; border-radius: 6px; background: linear-gradient(135deg, #0a5b5c, #0b7771); box-shadow: 0 22px 30px rgb(0 0 0 / .23); transform: rotate(-11deg); }
.auth-ticket::before, .auth-ticket::after { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #073f43; content: ''; transform: translateY(-50%); }
.auth-ticket::before { left: -12px; }
.auth-ticket::after { right: -12px; }
.auth-ticket-star { position: absolute; z-index: 3; top: 75px; left: 170px; color: #fff1c9; font-size: 46px; transform: rotate(-11deg); }
.auth-ticket-gift { position: absolute; z-index: 3; right: 5px; bottom: 0; width: 100px; height: 90px; border: 2px solid #77ded0; border-radius: 4px; background: linear-gradient(135deg, #116966, #0c4c50); box-shadow: 0 18px 24px rgb(0 0 0 / .2); }
.auth-ticket-gift::before, .auth-ticket-gift::after { position: absolute; content: ''; }
.auth-ticket-gift::before { top: -15px; left: 35px; width: 26px; height: 25px; border: 5px solid #ffefbf; border-bottom: 0; border-radius: 70% 70% 0 0; }
.auth-ticket-gift::after { top: 0; bottom: 0; left: 43px; width: 10px; background: #ffefbf; }
.auth-layout .community-portal { max-width: 510px; margin-top: 0; padding: 20px 0 0; border-color: rgb(184 242 227 / .25); }
.auth-layout .community-portal h2 { color: #f5fcf7; font-size: 17px; }
.auth-layout .community-portal p { color: #abdacf; }
.auth-layout .community-actions { max-width: 400px; }
.auth-layout .community-actions .button-primary { color: #073f43; border-color: #79ddcb; background: #79ddcb; box-shadow: none; }
.auth-layout .community-actions .button-secondary { color: #dffbf4; border-color: #4a9d95; background: rgb(7 45 49 / .3); }
.auth-layout .qr-trigger { color: #83dfd0; }
.auth-layout .qr-trigger:hover { color: #fff1c9; }

.auth-account-panel {
  position: relative;
  top: auto;
  z-index: 1;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  margin: 0;
  gap: 12px;
  padding: clamp(32px, 7vh, 72px) clamp(38px, 7.5vw, 124px) 30px clamp(68px, 9vw, 156px);
  border: 0;
  border-radius: 0;
  color: #17454b;
  background: #fbfaf6;
  box-shadow: none;
}
.auth-account-panel::before { display: none; }
.auth-account-panel::after { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: -84px; background: #fbfaf6; content: ''; transform: skewX(-8deg); transform-origin: top; }
.auth-account-panel .login-form-heading { align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #b8d9d2; }
.auth-account-panel .login-form-heading strong { color: #093f45; font-family: Georgia, 'Times New Roman', serif; font-size: 31px; font-weight: 600; }
.auth-account-panel .login-form-heading small { margin-top: 5px; color: #718e8c; }
.auth-account-panel .login-form-mark { width: 42px; height: 42px; border: 1px solid #79cdbf; border-radius: 50%; background: #e4f5ee; box-shadow: 0 0 0 8px rgb(121 221 203 / .1); }
.auth-account-panel .login-form-mark::before, .auth-account-panel .login-form-mark::after { background: #0d8b81; }
.auth-account-panel label { gap: 9px; color: #1d464a; font-size: 15px; font-weight: 720; }
.auth-account-panel input { min-height: 50px; border-color: #bfd6d1; border-radius: 6px; color: #123f45; background: #fffefa; }
.auth-account-panel input:focus { border-color: #168b83; box-shadow: 0 0 0 3px rgb(22 139 131 / .13); }
.auth-account-panel .login-options { margin-top: 2px; padding: 8px 0 2px; border: 0; }
.auth-account-panel .login-remember-control { color: #52706f; font-weight: 600; }
.auth-account-panel .login-options > a { color: #e85d48; font-weight: 700; }
.auth-account-panel .login-submit-button { min-height: 54px; margin-top: 3px; color: #fff9e9; border-color: #ef7259; border-radius: 6px; background: linear-gradient(100deg, #e95745, #fb8065); box-shadow: 0 12px 23px rgb(220 85 61 / .22); }
.auth-account-panel .login-submit-button:hover:not(:disabled) { border-color: #d84c3b; background: linear-gradient(100deg, #d94b3b, #f46c53); box-shadow: 0 15px 27px rgb(220 85 61 / .29); }
.auth-account-panel .login-register-entry { margin-top: 8px; padding-top: 10px; border-top: 1px solid #e5e2d9; color: #6a8380; }
.auth-account-panel .login-register-entry a { color: #0d857d; background: transparent; }
.auth-account-panel .login-register-entry a:hover { color: #075f5c; background: #e8f5f0; }

@media (max-width: 940px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); }
  .auth-layout .auth-brand-panel { padding-right: 56px; padding-left: 42px; }
  .auth-account-panel { padding-right: 46px; padding-left: 80px; }
  .auth-ticket-visual { transform: scale(.84); transform-origin: left center; margin-bottom: -3px; }
}
@media (max-width: 720px) {
  body:has(#login-view:not(.is-hidden)) .site-header { align-items: center; justify-content: space-between; min-height: 64px; padding: 0 18px; }
  body:has(#login-view:not(.is-hidden)) .site-header .codework-mark { display: none; }
  body:has(#login-view:not(.is-hidden)) .site-header .header-actions { display: flex; width: auto; gap: 2px; flex-wrap: nowrap; }
  body:has(#login-view:not(.is-hidden)) .site-header .text-link { padding: 6px 7px; font-size: 12px; white-space: nowrap; }
  .auth-layout { grid-template-columns: 1fr; min-height: auto; }
  .auth-layout::after { display: none; }
  .auth-layout .auth-brand-panel { min-height: 0; padding: 35px 24px 18px; }
  .auth-layout .intro-copy h1 { font-size: 40px; }
  .auth-ticket-visual { width: 100%; height: 130px; margin: 17px 0 0; transform: scale(.56); transform-origin: left top; }
  .auth-layout .community-portal { display: none; }
  .auth-account-panel { min-height: 0; padding: 38px 24px 42px; }
  .auth-account-panel::after { top: -26px; left: 0; transform: none; }
  .auth-account-panel .login-form-heading { margin-bottom: 18px; }
  .auth-account-panel .login-form-heading strong { font-size: 26px; }
}

/* Keep the premium route present in the ordinary backend without making it a second primary action. */
.standard-admin-page .vip-admin-entry {
  min-height: 36px;
  padding: 6px 12px;
  border-color: #8bd8d1;
  color: #0f766e;
  background: #f4fffd;
  box-shadow: inset 0 0 0 1px rgb(20 184 166 / .07);
}
.standard-admin-page .vip-admin-entry::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: #14b8a6;
  content: '';
  transform: rotate(45deg);
}
.standard-admin-page .vip-admin-entry:hover {
  color: #ffffff;
  border-color: #0d9488;
  background: #0d9488;
  box-shadow: 0 7px 16px rgb(13 148 136 / .18);
}
.standard-admin-page .vip-admin-entry:hover::before { background: #d8fffa; }

/* The public login is a focused activity entry, so empty states must not consume a visual row. */
#login-error:empty { display: none; }
#login-error:not(:empty) { padding: 9px 10px; border-left: 3px solid currentColor; background: #fff5f5; }

/* Final Zulong page palette guard: no retired black-gold surfaces may bleed through. */
[data-ui-theme="vip"] .vip-page-body { color: #e8fbf4; background: #061a21; }
[data-ui-theme="vip"] .vip-page-body .site-header { border-color: #174b4e; background: #061a21; }
[data-ui-theme="vip"] .vip-page-body .brand { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-page-body .text-link { color: #75efd2; }
[data-ui-theme="vip"] .vip-welcome-transition::before { border-color: #287a72; }
[data-ui-theme="vip"] .vip-welcome-transition::after { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-welcome-transition-inner { border-top-color: #1bb89a; border-bottom-color: #174b4e; }
[data-ui-theme="vip"] .vip-welcome-transition-inner span { color: #75efd2; }
[data-ui-theme="vip"] .vip-welcome-transition-inner small { color: #a8d7cc; }

/* Keep the approved B artwork and its live controls on the same coordinate grid. */
@media (min-width: 721px) {
  #login-view.auth-layout {
    display: block;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    background: #073f43 url('/assets/login-concept-b.webp?v=20260911.1') center / 100% 100% no-repeat;
  }
  #login-view .auth-account-panel {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 0;
    background: transparent;
  }
  #login-view .auth-account-panel > label:nth-of-type(1) { top: 36.7%; left: 64.6%; }
  #login-view .auth-account-panel > label:nth-of-type(2) { top: 49.7%; left: 64.6%; }
  #login-view .auth-account-panel .login-options { top: 58.9%; left: 64.6%; }
  #login-view #login-error { top: 62.2%; left: 64.6%; }
  #login-view .auth-account-panel .login-submit-button { top: 65.6%; left: 64.6%; }
  #login-view .auth-account-panel input:not(:placeholder-shown) {
    background: linear-gradient(90deg, transparent 0 12%, #fbfaf6 12% 88%, transparent 88% 100%);
  }
}
[data-ui-theme="vip"] .vip-hero { border-color: #1d5f5c; background: #082127; }
[data-ui-theme="vip"] .vip-hero::before,
[data-ui-theme="vip"] .vip-hero::after { background: #174b4e; }
[data-ui-theme="vip"] .vip-title-primary { color: #75efd2; }
[data-ui-theme="vip"] .vip-title-secondary { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-hero p { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-emblem { border-color: #287a72; color: #75efd2; box-shadow: inset 0 0 0 9px #061a21, 0 0 24px rgb(27 184 154 / .12); }
[data-ui-theme="vip"] .vip-emblem small { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-page-panel { border-top-color: #1d5f5c; border-bottom-color: #174b4e; background: #082127; }
[data-ui-theme="vip"] .vip-page-panel .panel-heading h2 { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-page-panel .panel-heading p { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-page-panel .status-chip,
[data-ui-theme="vip"] .vip-campaign-panel .status-chip { border-color: #287a72; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid,
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid > div { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid span { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid strong,
[data-ui-theme="vip"] .vip-page-panel .vip-qualification-value strong { color: #75efd2; }
[data-ui-theme="vip"] .vip-page-panel .button-secondary { color: #a9ffea; border-color: #287a72; background: #082b32; }
[data-ui-theme="vip"] .vip-page-panel .button-secondary:hover { color: #052127; border-color: #75efd2; background: #75efd2; }
[data-ui-theme="vip"] .member-daily-status { border-color: #1d5f5c; background: #082127; box-shadow: inset 0 1px 0 rgb(117 239 210 / .08), 0 15px 34px rgb(0 0 0 / .2); }
[data-ui-theme="vip"] .member-daily-status > div { border-color: #174b4e; }
[data-ui-theme="vip"] .member-daily-status span,
[data-ui-theme="vip"] .member-daily-status small { color: #a8d7cc; }
[data-ui-theme="vip"] .member-daily-status strong { color: #75efd2; }
[data-ui-theme="vip"] .vip-personal-records { border-color: #1d5f5c; background: #061a21; }
[data-ui-theme="vip"] .vip-member-record-item { border-color: #174b4e; background: #082127; }
[data-ui-theme="vip"] .vip-member-record-item strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-member-record-item span,
[data-ui-theme="vip"] .vip-member-records-pagination span { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-member-record-status { color: #75efd2; }
[data-ui-theme="vip"] .vip-member-record-empty { border-color: #287a72; color: #a8d7cc; background: #082127; }
[data-ui-theme="vip"] .vip-member-records-pagination .icon-button { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-member-records-pagination .icon-button:hover:not(:disabled) { border-color: #75efd2; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-topup-dialog { border-color: #287a72; color: #e8fbf4; background: #082127; }
[data-ui-theme="vip"] .vip-topup-dialog h2 { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-topup-dialog p:not(.vip-section-mark) { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-topup-dialog .button-secondary { color: #a9ffea; border-color: #287a72; background: #082b32; }
[data-ui-theme="vip"] .vip-topup-dialog .button-primary { color: #052127; border-color: #1bb89a; background: #1bb89a; }

@keyframes zulong-dragon-breath { from { filter: drop-shadow(0 4px 8px rgb(0 0 0 / .56)); transform: translateX(-50%) scale(.96); } to { filter: drop-shadow(0 0 12px rgb(27 184 154 / .72)); transform: translateX(-50%) scale(1.06); } }
@keyframes zulong-dragon-arrive { 0% { transform: translateX(-50%) translateY(-8px) scale(.8); } 70% { transform: translateX(-50%) translateY(1px) scale(1.13); } 100% { transform: translateX(-50%) translateY(0) scale(1); } }

.standard-admin-page .campaign-overview { margin-bottom: 28px; }
.standard-admin-page .operations-summary { margin-bottom: 24px; }
.standard-admin-page .admin-primary-nav { top: 14px; margin-bottom: 22px; }

@media (max-width: 720px) {
  .auth-layout { gap: 20px; padding-top: 20px; }
  .member-activity-grid, .member-main-stack { gap: 18px; }
  .member-side-stack { gap: 18px; }
  .member-daily-status { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .member-daily-status > div { min-height: 92px; padding: 15px 14px; }
  .member-daily-status > div:nth-child(odd) { border-left: 0; }
  .member-daily-status > div:nth-child(n + 3) { border-top: 1px solid #e1eaed; }
  .vip-page-body .vip-draw-actions { gap: 14px; padding-top: 16px; }
  .standard-admin-page .admin-primary-nav { top: 4px; margin-bottom: 16px; }
}

/* Member and admin activity focus refinement. */
.member-hero:has([data-ui-region="member-command-center"]) .hero-wheel-stage {
  align-self: center;
  isolation: isolate;
  filter: drop-shadow(0 18px 22px rgb(3 43 49 / .2));
}

/* Cinematic wheel experience: visual phases only, with server results remaining authoritative. */
.hero-wheel-stage .prize-wheel,
.vip-wheel-stage .prize-wheel { z-index: 1; }

.member-wheel-instrument {
  position: absolute;
  z-index: 0;
  inset: -13px;
  border: 1px solid rgb(153 246 228 / .48);
  border-radius: 50%;
  background: repeating-conic-gradient(from -2deg, rgb(153 246 228 / .72) 0 1deg, transparent 1deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 0 67%, #000 68% 72%, transparent 73%);
  mask: radial-gradient(circle, transparent 0 67%, #000 68% 72%, transparent 73%);
  opacity: .78;
  animation: member-wheel-instrument-idle 10s linear infinite;
}

.member-wheel-scan {
  position: absolute;
  z-index: 0;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 72%, rgb(94 234 212 / .08) 77%, rgb(236 253 245 / .88) 82%, rgb(45 212 191 / .14) 88%, transparent 94%);
  -webkit-mask: radial-gradient(circle, transparent 0 72%, #000 73% 78%, transparent 79%);
  mask: radial-gradient(circle, transparent 0 72%, #000 73% 78%, transparent 79%);
  opacity: .68;
  animation: member-wheel-scan 7.5s linear infinite;
}

.hero-wheel-stage .wheel-center { z-index: 2; overflow: hidden; }
.hero-wheel-stage .wheel-center::after,
.vip-wheel-stage .wheel-center::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 4px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  content: '';
}

.hero-wheel-stage[data-lottery-phase="charging"] .wheel-center,
.hero-wheel-stage[data-lottery-phase="spinning"] .wheel-center,
.hero-wheel-stage[data-lottery-phase="slowing"] .wheel-center,
.hero-wheel-stage[data-lottery-phase="revealed"] .wheel-center,
.vip-wheel-stage[data-lottery-phase="charging"] .wheel-center,
.vip-wheel-stage[data-lottery-phase="spinning"] .wheel-center,
.vip-wheel-stage[data-lottery-phase="slowing"] .wheel-center,
.vip-wheel-stage[data-lottery-phase="revealed"] .wheel-center { font-size: 0; }

.hero-wheel-stage[data-lottery-phase="charging"] .wheel-center::after { color: #0f4c5c; content: '锁定中'; }
.hero-wheel-stage[data-lottery-phase="spinning"] .wheel-center::after { color: #083344; content: '高速抽取'; }
.hero-wheel-stage[data-lottery-phase="slowing"] .wheel-center::after { color: #115e59; content: '结果确认'; }
.hero-wheel-stage[data-lottery-phase="revealed"] .wheel-center::after { color: #ecfeff; background: #0f766e; content: '已揭晓'; }
.hero-wheel-stage[data-lottery-phase="charging"] .member-wheel-instrument { animation-duration: 1.35s; opacity: 1; }
.hero-wheel-stage[data-lottery-phase="charging"] .member-wheel-scan { animation-duration: 1.1s; opacity: 1; }
.hero-wheel-stage[data-lottery-phase="spinning"] .member-wheel-instrument { animation-duration: .7s; opacity: 1; filter: drop-shadow(0 0 8px rgb(45 212 191 / .62)); }
.hero-wheel-stage[data-lottery-phase="spinning"] .member-wheel-scan { animation-duration: .42s; opacity: 1; }
.hero-wheel-stage[data-lottery-phase="slowing"] .member-wheel-instrument { animation-duration: 2.2s; opacity: 1; }
.hero-wheel-stage[data-lottery-phase="slowing"] .member-wheel-scan { animation-duration: 1.45s; opacity: 1; }
.hero-wheel-stage[data-lottery-phase="revealed"] .member-wheel-instrument { animation-play-state: paused; border-color: #e6fffb; box-shadow: 0 0 22px rgb(45 212 191 / .56); opacity: 1; }
.hero-wheel-stage[data-lottery-phase="revealed"] .member-wheel-scan { animation-play-state: paused; opacity: .95; }
.hero-wheel-stage[data-lottery-phase="revealed"] .prize-wheel { filter: saturate(1.15) brightness(1.08); }

.vip-wheel-seal {
  position: absolute;
  z-index: 0;
  inset: 2px;
  border: 1px solid rgb(239 214 141 / .52);
  border-radius: 50%;
  background: repeating-conic-gradient(from 4deg, #d7b360 0 1deg, transparent 1deg 12deg);
  -webkit-mask: radial-gradient(circle, transparent 0 71%, #000 72% 77%, transparent 78%);
  mask: radial-gradient(circle, transparent 0 71%, #000 72% 77%, transparent 78%);
  opacity: .62;
  animation: vip-wheel-seal-idle 13s linear infinite;
}

.vip-wheel-crown {
  position: absolute;
  z-index: 4;
  top: -4px;
  left: 50%;
  width: 44px;
  height: 22px;
  border: 1px solid #f5e7ba;
  background: linear-gradient(135deg, #765a22, #f4d98d 48%, #806327);
  clip-path: polygon(0 100%, 0 26%, 22% 58%, 34% 0, 50% 48%, 66% 0, 78% 58%, 100% 26%, 100% 100%);
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / .58));
}

.vip-wheel-stage[data-lottery-phase="charging"] .wheel-center::after { color: #443718; content: '封印开启'; }
.vip-wheel-stage[data-lottery-phase="spinning"] .wheel-center::after { color: #251d0b; content: '专属抽取'; }
.vip-wheel-stage[data-lottery-phase="slowing"] .wheel-center::after { color: #33270e; content: '专属确认'; }
.vip-wheel-stage[data-lottery-phase="revealed"] .wheel-center::after { color: #1b160b; background: #efd68d; content: '专属揭晓'; }
.vip-wheel-stage[data-lottery-phase="charging"] .vip-wheel-seal { animation-duration: 1.45s; opacity: .94; filter: drop-shadow(0 0 8px rgb(215 179 96 / .56)); }
.vip-wheel-stage[data-lottery-phase="spinning"] .vip-wheel-seal { animation-duration: .72s; opacity: 1; filter: drop-shadow(0 0 13px rgb(239 214 141 / .74)); }
.vip-wheel-stage[data-lottery-phase="spinning"] .vip-wheel-crown { animation: vip-crown-pulse .42s ease-in-out infinite alternate; }
.vip-wheel-stage[data-lottery-phase="slowing"] .vip-wheel-seal { animation-duration: 2.25s; opacity: 1; }
.vip-wheel-stage[data-lottery-phase="revealed"] .vip-wheel-seal { animation-play-state: paused; opacity: 1; filter: drop-shadow(0 0 20px rgb(239 214 141 / .68)); }
.vip-wheel-stage[data-lottery-phase="revealed"] .vip-wheel-crown { animation: vip-crown-reveal .62s cubic-bezier(.18, .8, .24, 1); }
.vip-wheel-stage[data-lottery-phase="revealed"] .prize-wheel { filter: brightness(1.12) saturate(1.08); }

@keyframes member-wheel-instrument-idle { to { transform: rotate(360deg); } }
@keyframes member-wheel-scan { to { transform: rotate(360deg); } }
@keyframes vip-wheel-seal-idle { to { transform: rotate(-360deg); } }
@keyframes vip-crown-pulse { from { filter: drop-shadow(0 2px 4px rgb(0 0 0 / .58)); } to { filter: drop-shadow(0 0 9px rgb(239 214 141 / .92)); } }
@keyframes vip-crown-reveal { 0% { transform: translateX(-50%) translateY(-5px) scale(.84); } 70% { transform: translateX(-50%) translateY(1px) scale(1.12); } 100% { transform: translateX(-50%) translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .member-wheel-instrument,
  .member-wheel-scan,
  .vip-wheel-seal,
  .vip-wheel-crown { animation: none !important; }
}

.member-hero:has([data-ui-region="member-command-center"]) .hero-wheel-stage::after {
  position: absolute;
  z-index: -1;
  inset: 14% 9%;
  border: 1px solid rgb(153 246 228 / .36);
  border-radius: 50%;
  content: "";
}

.member-hero:has([data-ui-region="member-command-center"]) .lottery-command-group {
  align-items: stretch;
}

.member-prizes-panel:has([data-ui-region="member-quick-status"]) {
  background: #ffffff;
}

.member-prizes-panel:has([data-ui-region="member-quick-status"]) .prize-list {
  gap: 8px;
}

.member-prizes-panel:has([data-ui-region="member-quick-status"]) .prize-list li {
  min-height: 86px;
  padding: 11px 10px;
  box-shadow: none;
}

.member-prizes-panel:has([data-ui-region="member-quick-status"]) .prize-list small {
  margin-top: 6px;
}

.activity-empty-state {
  display: grid;
  min-height: 118px;
  place-items: center;
  margin: 12px 0 0;
  border: 1px dashed #bdd9da;
  border-radius: 6px;
  padding: 18px;
  color: #52727a;
  background: #f8ffff;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.standard-admin-page .admin-primary-nav {
  border-color: #c7e0e2;
  background: rgb(255 255 255 / .92);
  box-shadow: 0 14px 26px rgb(15 118 110 / .08);
  backdrop-filter: blur(14px);
}

.standard-admin-page .campaign-overview {
  scroll-margin-top: 92px;
  border-bottom-color: #cfe3e4;
}

.standard-admin-page .operations-summary {
  border-left-width: 4px;
  box-shadow: 0 16px 30px rgb(15 118 110 / .07);
}

.standard-admin-page .operations-summary-grid > div:first-child strong,
.standard-admin-page .operations-summary-grid > div:nth-child(3) strong {
  color: #0f766e;
}

@media (max-width: 720px) {
  .member-hero:has([data-ui-region="member-command-center"]) .hero-wheel-stage {
    filter: drop-shadow(0 12px 16px rgb(3 43 49 / .16));
  }

  .member-prizes-panel:has([data-ui-region="member-quick-status"]) .prize-list {
    gap: 8px;
  }

  .member-prizes-panel:has([data-ui-region="member-quick-status"]) .prize-list li {
    min-height: 0;
    padding: 11px;
  }

  .activity-empty-state { min-height: 96px; padding: 14px; }

  .standard-admin-page .admin-primary-nav {
    position: static;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* Draw finale and activity surface upgrade. */
.prize-wheel::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--lottery-result-start, 0deg), rgb(236 253 245 / .78) 0 var(--lottery-result-size, 0deg), transparent var(--lottery-result-size, 0deg) 360deg);
  box-shadow: inset 0 0 0 3px rgb(255 255 255 / .72);
  content: '';
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease;
}

.wheel-labels { z-index: 2; }
.wheel-segment-label { transition: color .2s ease, text-shadow .2s ease, transform .2s ease; }
.wheel-segment-label.is-selected {
  z-index: 3;
  color: #ffffff;
  text-shadow: 0 0 5px #ffffff, 0 0 12px rgb(45 212 191 / .92), 0 2px 2px rgb(15 23 42 / .6);
}
.wheel-segment-label.is-selected::before {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px #5eead4;
  content: '';
  transform: translateX(-50%);
}
.hero-wheel-stage[data-lottery-phase="revealed"] .prize-wheel::after,
.vip-wheel-stage[data-lottery-phase="revealed"] .prize-wheel::after { opacity: 1; }
.vip-wheel-stage .prize-wheel::after {
  background: conic-gradient(from var(--lottery-result-start, 0deg), rgb(245 231 186 / .75) 0 var(--lottery-result-size, 0deg), transparent var(--lottery-result-size, 0deg) 360deg);
  box-shadow: inset 0 0 0 3px rgb(245 231 186 / .74);
}
.vip-wheel-stage .wheel-segment-label.is-selected { text-shadow: 0 0 5px #fff7d6, 0 0 13px rgb(239 214 141 / .96), 0 2px 2px rgb(0 0 0 / .78); }
.vip-wheel-stage .wheel-segment-label.is-selected::before { background: #efd68d; box-shadow: 0 0 11px #f5e7ba; }

.draw-spotlight {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.draw-spotlight-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(100%, 380px);
  padding: 22px 26px;
  border: 1px solid currentColor;
  text-align: center;
  transform: scale(.82) translateY(12px);
}
.draw-spotlight-card span { font-size: 11px; font-weight: 850; }
.draw-spotlight-card strong { font-size: clamp(22px, 4vw, 34px); line-height: 1.2; overflow-wrap: anywhere; }
.draw-spotlight-card small { font-size: 11px; }
.draw-spotlight.is-active { visibility: visible; opacity: 1; animation: draw-spotlight-curtain 1.2s cubic-bezier(.16, .78, .22, 1); }
.draw-spotlight.is-active .draw-spotlight-card { animation: draw-spotlight-card 1.2s cubic-bezier(.16, .78, .22, 1); }
.member-draw-spotlight { color: #d9fffa; background: rgb(2 32 39 / .34); }
.member-draw-spotlight .draw-spotlight-card { background: rgb(4 78 84 / .95); box-shadow: 0 0 0 7px rgb(94 234 212 / .12), 0 24px 70px rgb(2 44 50 / .5); }
.member-draw-spotlight .draw-spotlight-card span { color: #80fff1; }
.vip-draw-spotlight { color: #f6e9bd; background: rgb(4 3 2 / .48); }
.vip-draw-spotlight .draw-spotlight-card { border-color: #d7b360; color: #f4efe3; background: rgb(16 14 9 / .97); box-shadow: 0 0 0 7px rgb(215 179 96 / .1), 0 24px 70px rgb(0 0 0 / .68); }
.vip-draw-spotlight .draw-spotlight-card span { color: #d7b360; letter-spacing: .12em; }
@keyframes draw-spotlight-curtain { 0% { opacity: 0; } 14%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes draw-spotlight-card { 0% { opacity: 0; transform: scale(.82) translateY(12px); } 16%, 68% { opacity: 1; transform: scale(1) translateY(0); } 100% { opacity: 0; transform: scale(1.04) translateY(-4px); } }

.member-prizes-panel .prize-list li { position: relative; padding-right: 34px; }
.prize-detail-trigger {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 36px;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 1px solid #bcd3d8;
  border-radius: 50%;
  color: #176c79;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.prize-detail-trigger:hover, .prize-detail-trigger:focus-visible { border-color: #167a70; color: #075d67; background: #eaf8f6; outline: none; }
.vip-page-body .prize-detail-trigger { border-color: #8f7746; color: #e6c97f; background: #17120a; }
.vip-page-body .prize-detail-trigger:hover, .vip-page-body .prize-detail-trigger:focus-visible { border-color: #dfbf70; color: #ffdfa0; background: #312410; }
.member-prize-card-index {
  position: absolute;
  top: 9px;
  right: 9px;
  margin: 0 !important;
  color: #0f766e !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .08em;
}
.member-prizes-panel .prize-list li:hover .member-prize-card-index { color: #047857 !important; }
.vip-prize-card-index { position: absolute; top: 18px; right: 18px; margin: 0 !important; }

.recent-draw-item { position: relative; padding-left: 15px; }
.recent-draw-item::before {
  position: absolute;
  top: 16px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgb(45 212 191 / .12);
  content: '';
}
.recent-draw-item b { padding: 4px 7px; border: 1px solid #bce8e2; background: #f1fffb; font-size: 12px; }

@media (max-width: 720px) {
  .draw-spotlight { padding: 18px; }
  .draw-spotlight-card { padding: 20px; }
  .recent-draw-item { padding-left: 14px; }
  .recent-draw-item b { max-width: 44%; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .wheel-segment-label,
  .draw-spotlight,
  .draw-spotlight-card { transition: none; animation: none !important; }
}

/* Prize tiers and weekly participation use existing activity data only. */
.prize-list li { position: relative; overflow: hidden; }
.prize-list .prize-rarity-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 20px;
  align-items: center;
  margin-top: 9px;
  padding: 0 7px;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  color: #546576;
  background: #f7fafb;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}
.prize-list li:has(.prize-rarity-common) { border-color: #dbe5e9; background: #fbfcfd; }
.prize-list li:has(.prize-rarity-uncommon) { border-color: #99d7cf; background: #f2fbf9; box-shadow: inset 3px 0 0 #35ad9d; }
.prize-list .prize-rarity-badge.prize-rarity-uncommon { border-color: #8fd0c7; color: #127b6e; background: #e5f7f3; }
.prize-list li:has(.prize-rarity-rare) { border-color: #69a9bb; background: linear-gradient(135deg, #f3fbfc, #e5f6f7); box-shadow: inset 3px 0 0 #177c93; }
.prize-list .prize-rarity-badge.prize-rarity-rare { border-color: #79b7c8; color: #0b6078; background: #d9f0f4; }
.vip-page-body .prize-list li:has(.prize-rarity-common) { border-color: #5e4d2e; background: #211b12; }
.vip-page-body .prize-list li:has(.prize-rarity-uncommon) { border-color: #a47734; background: #2a2114; box-shadow: inset 3px 0 0 #b88a43; }
.vip-page-body .prize-list li:has(.prize-rarity-rare) { border-color: #d5b76d; background: #302615; box-shadow: inset 3px 0 0 #e0c77d, 0 10px 22px rgb(10 8 4 / .18); }
.vip-page-body .prize-list .prize-rarity-badge { border-color: #6b5933; color: #cdb271; background: #19140c; }
.vip-page-body .prize-list .prize-rarity-badge.prize-rarity-uncommon { border-color: #a47734; color: #e1bf76; background: #332510; }
.vip-page-body .prize-list .prize-rarity-badge.prize-rarity-rare { border-color: #d5b76d; color: #ffe4a4; background: #453418; }

.weekly-activity-panel { padding: 18px; }
.weekly-activity-heading { align-items: flex-start; margin-bottom: 14px; }
.weekly-activity-heading-meta, .vip-weekly-activity-heading-meta { display: inline-flex; align-items: center; gap: 7px; }
.weekly-activity-mark { display: inline-flex; align-items: center; min-height: 21px; padding: 0 7px; border: 1px solid #ccdfe1; border-radius: 4px; color: #71818d; background: #f7fbfb; font-size: 10px; font-weight: 800; white-space: nowrap; }
.weekly-activity-mark.is-active { border-color: #8ed1c8; color: #08766c; background: #e8f8f4; }
.weekly-activity-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dce8ea; border-radius: 6px; background: #f9fcfc; }
.weekly-activity-summary > div { display: grid; gap: 3px; min-width: 0; padding: 12px; }
.weekly-activity-summary > div + div { border-left: 1px solid #dce8ea; }
.weekly-activity-summary span, .weekly-activity-summary small { color: #64748b; font-size: 11px; line-height: 1.45; }
.weekly-activity-summary strong { color: #143941; font-size: 16px; }
.weekly-activity-ranking { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
.weekly-activity-ranking li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 48px; border-top: 1px solid #e5eef0; }
.weekly-activity-ranking li:first-child { border-top: 0; }
.weekly-rank-number { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #b9ddd8; border-radius: 50%; color: #167a70; background: #e9f8f5; font-size: 11px; font-weight: 800; }
.weekly-activity-ranking div { display: grid; gap: 2px; min-width: 0; }
.weekly-activity-ranking strong { color: #253d45; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weekly-activity-ranking small { color: #7a8995; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weekly-activity-ranking b { color: #167a70; font-size: 12px; white-space: nowrap; }
.weekly-activity-ranking li.is-current-user { margin: 2px -7px; padding: 0 7px; border: 1px solid #a5ddd5; border-radius: 5px; background: #f0fbf8; }
.weekly-activity-ranking li.is-current-user + li { border-top-color: transparent; }
.weekly-activity-ranking em, .vip-weekly-activity-ranking em { margin-left: 4px; color: #0f766e; font-size: 10px; font-style: normal; font-weight: 800; }
.weekly-activity-ranking .weekly-activity-empty { display: block; min-height: 0; padding: 5px 0 1px; border: 0; color: #72818c; font-size: 12px; line-height: 1.6; }

.vip-weekly-activity { margin-top: 16px; padding-top: 15px; border-top: 1px solid rgb(217 194 138 / .24); }
.vip-weekly-activity-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.vip-weekly-activity-heading p { margin: 0 0 4px; color: #b99a58; font-size: 9px; font-weight: 800; }
.vip-weekly-activity-heading h4 { margin: 0; color: #f4e0ad; font-size: 15px; }
.vip-weekly-activity-heading > span { color: #9c8451; font-size: 10px; font-weight: 800; }
.vip-weekly-activity-mark { border-color: #675631; color: #a9915e; background: #17120a; }
.vip-weekly-activity-mark.is-active { border-color: #b6934a; color: #f3d88f; background: #2b2110; }
.vip-weekly-activity-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; border: 1px solid #594827; background: #16120c; }
.vip-weekly-activity-summary > div { display: grid; gap: 3px; min-width: 0; padding: 10px; }
.vip-weekly-activity-summary > div + div { border-left: 1px solid #594827; }
.vip-weekly-activity-summary span, .vip-weekly-activity-summary small { color: #9f916f; font-size: 10px; line-height: 1.4; }
.vip-weekly-activity-summary strong { color: #f1d58d; font-size: 15px; }
.vip-weekly-activity-ranking { display: grid; gap: 0; margin: 10px 0 0; padding: 0; list-style: none; }
.vip-weekly-activity-ranking li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 43px; border-top: 1px solid rgb(217 194 138 / .14); }
.vip-weekly-activity-ranking li:first-child { border-top: 0; }
.vip-weekly-activity-ranking li > span { color: #d9be78; font-size: 11px; font-weight: 800; text-align: center; }
.vip-weekly-activity-ranking div { display: grid; gap: 2px; min-width: 0; }
.vip-weekly-activity-ranking strong { color: #f0dfb0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vip-weekly-activity-ranking small { color: #a39370; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vip-weekly-activity-ranking b { color: #e1c276; font-size: 11px; white-space: nowrap; }
.vip-weekly-activity-ranking li.is-current-user { margin: 2px -6px; padding: 0 6px; border: 1px solid rgb(213 183 109 / .72); background: rgb(213 183 109 / .08); }
.vip-weekly-activity-ranking li.is-current-user + li { border-top-color: transparent; }
.vip-weekly-activity-ranking .vip-weekly-activity-empty { display: block; min-height: 0; padding: 4px 0 0; border: 0; color: #9f916f; font-size: 11px; line-height: 1.6; }

.prize-detail-dialog { width: min(420px, calc(100vw - 32px)); padding: 0; border: 1px solid #bfd7da; border-radius: 7px; color: #1e3640; background: #fbfefe; box-shadow: 0 22px 70px rgb(15 43 50 / .24); }
.prize-detail-dialog::backdrop { background: rgb(9 27 33 / .42); }
.prize-detail-dialog-body { display: grid; gap: 16px; padding: 22px; }
.prize-detail-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.prize-detail-dialog-heading h2 { margin: 2px 0 0; font-size: 20px; }
.prize-detail-dialog-heading .eyebrow { margin: 0; }
.prize-detail-description { margin: 0; color: #596d75; font-size: 13px; line-height: 1.7; }
.prize-detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid #d9e7e9; border-radius: 5px; overflow: hidden; }
.prize-detail-meta > div { display: grid; gap: 4px; padding: 11px; }
.prize-detail-meta > div + div { border-left: 1px solid #d9e7e9; }
.prize-detail-meta dt { color: #71818b; font-size: 10px; }
.prize-detail-meta dd { margin: 0; color: #163d45; font-size: 13px; font-weight: 800; word-break: break-word; }
.vip-prize-detail-dialog { border-color: #8a7040; color: #f3e2b5; background: #151009; box-shadow: 0 22px 70px rgb(0 0 0 / .62); }
.vip-prize-detail-dialog::backdrop { background: rgb(0 0 0 / .68); }
.vip-prize-detail-dialog .prize-detail-description, .vip-prize-detail-dialog .prize-detail-meta dt { color: #b5a17a; }
.vip-prize-detail-dialog .prize-detail-meta { border-color: #5a4828; }
.vip-prize-detail-dialog .prize-detail-meta > div + div { border-color: #5a4828; }
.vip-prize-detail-dialog .prize-detail-meta dd { color: #f4dea0; }

.admin-weekly-activity { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dfe8ea; }
.admin-weekly-activity-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.admin-weekly-activity-heading .eyebrow { margin: 0 0 3px; }
.admin-weekly-activity-heading h3 { margin: 0; font-size: 16px; }
.admin-weekly-activity-heading > span { color: #58707a; font-size: 12px; font-weight: 750; text-align: right; }
.admin-weekly-activity-list { display: grid; margin-top: 10px; }
.admin-weekly-activity-item { display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 45px; border-top: 1px solid #edf2f3; }
.admin-weekly-activity-item > span { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid #bfded9; border-radius: 50%; color: #10776e; background: #effbf8; font-size: 10px; font-weight: 800; }
.admin-weekly-activity-item div { display: grid; gap: 2px; min-width: 0; }
.admin-weekly-activity-item strong, .admin-weekly-activity-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-weekly-activity-item strong { color: #263f48; font-size: 12px; }
.admin-weekly-activity-item small { color: #74838d; font-size: 10px; }
.admin-weekly-activity-item b { color: #10776e; font-size: 12px; white-space: nowrap; }

.admin-activity-trend { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dfe8ea; }
.admin-activity-trend-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-activity-trend-heading .eyebrow { margin: 0 0 3px; }
.admin-activity-trend-heading h3 { margin: 0; color: #274b57; font-size: 16px; }
.admin-activity-trend > .muted { margin: 7px 0 0; color: #71848d; font-size: 12px; }
.admin-activity-trend-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 7px; min-height: 112px; margin-top: 13px; padding: 10px 4px 0; border-bottom: 1px solid #dce8ea; }
.admin-activity-trend-item { display: grid; grid-template-rows: 16px 76px 16px; align-items: end; justify-items: center; min-width: 0; }
.admin-activity-trend-item i { display: block; width: min(100%, 22px); height: var(--trend-height); min-height: 8px; border: 1px solid #3b9f93; border-bottom: 0; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #8edbd1, #2b988c); box-shadow: 0 4px 9px rgb(16 119 110 / .16); }
.admin-activity-trend-value { color: #167a70; font-size: 11px; font-weight: 800; }
.admin-activity-trend-item small { color: #788a93; font-size: 10px; white-space: nowrap; }
.vip-admin-page .admin-activity-trend { border-color: #332d20; }
.vip-admin-page .admin-activity-trend-heading h3 { color: #e3c472; }
.vip-admin-page .admin-activity-trend > .muted, .vip-admin-page .admin-activity-trend-item small { color: #9a8c72; }
.vip-admin-page .admin-activity-trend-bars { border-color: #443922; }
.vip-admin-page .admin-activity-trend-item i { border-color: #b9964e; background: linear-gradient(180deg, #e2c676, #8d6b2e); box-shadow: 0 4px 9px rgb(213 183 109 / .13); }
.vip-admin-page .admin-activity-trend-value { color: #e3c472; }
.vip-growth-title { display: inline-flex; margin-top: 8px; padding: 3px 8px; border: 1px solid #8a6d35; color: #e4c87e; background: #17130d; font-size: 10px; font-weight: 850; line-height: 1.2; }
.lottery-save-image-button { width: 38px; height: 38px; border-color: #8ccfc6; color: #0d7169; background: #effbf8; }
.lottery-save-image-button:hover { border-color: #1b988d; color: #ffffff; background: #187d74; }
.share-template-picker { display: inline-flex; align-items: center; min-height: 38px; gap: 6px; padding: 0 8px; border: 1px solid #cfe5e2; color: #176e67; background: #f3fcfa; font-size: 10px; font-weight: 800; white-space: nowrap; }
.share-template-picker select { min-width: 92px; border: 0; outline: 0; color: #124f4b; background: transparent; font: inherit; cursor: pointer; }
.vip-share-template-picker { border-color: #715d31; color: #d9be77; background: #18140d; }
.vip-share-template-picker select { color: #f0d892; }
.vip-draw-actions .lottery-save-image-button { border-color: #806934; color: #e1c273; background: #19150e; }
.vip-draw-actions .lottery-save-image-button:hover { border-color: #d7b764; color: #17120a; background: #d7b764; }
.member-badge-wall { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 14px 16px; border: 1px solid #d9e7e8; background: #fbfefe; }
.member-badge-wall .eyebrow { margin: 0 0 4px; }
.member-badge-wall h2 { margin: 0; color: #244953; font-size: 15px; }
.member-badge-list { display: grid; grid-template-columns: repeat(4, minmax(108px, 1fr)); gap: 7px; flex: 1; }
.member-badge { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 7px; border: 1px solid #dfe9eb; color: #81929a; background: #f7fafb; }
.member-badge i { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 1px solid #b9c9ce; border-radius: 50%; font-style: normal; font-size: 11px; }
.member-badge div { display: grid; min-width: 0; gap: 2px; }
.member-badge strong, .member-badge small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-badge strong { font-size: 11px; }
.member-badge small { font-size: 9px; }
.badge-progress { display: block; width: 100%; height: 3px; overflow: hidden; background: #dfe9eb; }
.badge-progress b { display: block; width: var(--badge-progress, 0%); height: 100%; background: #8ba2a8; transition: width 560ms ease; }
.member-badge.is-unlocked { border-color: #7ecbc1; color: #176e67; background: #ecfaf7; }
.member-badge.is-unlocked i { border-color: #2aa396; color: #ffffff; background: #229187; }
.member-badge.is-unlocked .badge-progress b { background: #229187; }
.member-badge.is-newly-unlocked { animation: badge-unlock-pulse 1.1s ease-out 2; }
.vip-badge-wall { border-color: #493e28; background: #111216; }
.vip-badge-wall h2 { color: #e6cc88; }
.vip-badge-wall .member-badge { border-color: #3e3422; color: #968a70; background: #17150f; }
.vip-badge-wall .member-badge i { border-color: #6c5a36; }
.vip-badge-wall .member-badge.is-unlocked { border-color: #a88948; color: #e5ca83; background: #211b10; }
.vip-badge-wall .member-badge.is-unlocked i { border-color: #c6a55a; color: #17120a; background: #dabd70; }
.vip-badge-wall .member-badge.is-unlocked .badge-progress b { background: #dabd70; }
@keyframes badge-unlock-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(42 163 150 / 0); } 45% { box-shadow: 0 0 0 5px rgb(42 163 150 / .22); } }
@media (prefers-reduced-motion: reduce) { .member-badge.is-newly-unlocked { animation: none; } }
@media (max-width: 760px) { .member-badge-wall { display: grid; } .member-badge-list { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } }

@media (max-width: 720px) {
  .weekly-activity-panel { padding: 16px; }
  .weekly-activity-summary, .vip-weekly-activity-summary { grid-template-columns: 1fr; }
  .weekly-activity-summary > div + div, .vip-weekly-activity-summary > div + div { border-top: 1px solid #dce8ea; border-left: 0; }
  .vip-weekly-activity-summary > div + div { border-color: #594827; }
  .prize-detail-meta { grid-template-columns: 1fr; }
  .prize-detail-meta > div + div { border-top: 1px solid #d9e7e9; border-left: 0; }
  .vip-prize-detail-dialog .prize-detail-meta > div + div { border-color: #5a4828; }
  .admin-weekly-activity-heading { align-items: flex-start; flex-direction: column; }
  .admin-weekly-activity-heading > span { text-align: left; }
}

/* Daily streak and settlement cues: presentation only, with existing reward rules unchanged. */
.checkin-progress-meter { --checkin-progress: 0%; position: relative; height: 7px; overflow: hidden; margin: 2px 0 3px; border-radius: 999px; background: #dbeaed; box-shadow: inset 0 1px 2px rgb(15 118 110 / .12); }
.checkin-progress-meter > span { display: block; width: var(--checkin-progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #2dd4bf); box-shadow: 0 0 12px rgb(45 212 191 / .5); transition: width .42s ease; }
.checkin-progress-meter[data-complete="true"] > span { background: linear-gradient(90deg, #0f766e, #84f1d8); }
[data-ui-theme="vip"] .checkin-progress-meter { background: #3c3525; }
[data-ui-theme="vip"] .checkin-progress-meter > span { background: linear-gradient(90deg, #9f792e, #efd68d); box-shadow: 0 0 12px rgb(239 214 141 / .45); }
[data-ui-theme="founder"] .checkin-progress-meter { background: #493530; }
[data-ui-theme="founder"] .checkin-progress-meter > span { background: linear-gradient(90deg, #a8553d, #efaa91); box-shadow: 0 0 12px rgb(239 170 145 / .4); }
.member-prize-reveal-status { display: inline-flex; align-items: center; justify-content: center; width: fit-content; margin-top: 5px; padding: 4px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 800; line-height: 1; letter-spacing: 0; opacity: .9; }
.member-prize-reveal-ticket { max-width: 100%; color: inherit; font-size: 10px; line-height: 1.35; opacity: .76; }
.checkin-calendar-summary { margin: 9px 0 0; color: #5c717a; font-size: 11px; line-height: 1.5; text-align: center; }
.checkin-month-achievement { display: block; width: fit-content; margin: 7px auto 0; padding: 3px 8px; border: 1px solid #b8d9d9; color: #28646a; background: #f1fbfb; font-size: 10px; font-weight: 800; line-height: 1.2; }
[data-ui-theme="vip"] .checkin-calendar-summary { color: #b8a77d; }
[data-ui-theme="founder"] .checkin-calendar-summary { color: #d1a69a; }
[data-ui-theme="vip"] .checkin-month-achievement { border-color: #756039; color: #e3c472; background: #1b1710; }
[data-ui-theme="founder"] .checkin-month-achievement { border-color: #784d42; color: #f0b29c; background: #271613; }
.draw-settlement-steps { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 0; padding: 0; color: #80939a; font-size: 10px; line-height: 1.3; list-style: none; }
.draw-settlement-steps li { position: relative; padding-left: 9px; }
.draw-settlement-steps li::before { position: absolute; top: .45em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: currentColor; content: ''; }
.draw-settlement-steps .is-complete { color: #118276; }
.draw-settlement-steps .is-current { color: #257489; }
.draw-settlement-steps .is-review { color: #b45309; }
.vip-draw-settlement-steps { color: #8f887b; }
.vip-draw-settlement-steps .is-complete { color: #d9b968; }
.vip-draw-settlement-steps .is-current { color: #e9d59c; }
.vip-draw-settlement-steps .is-review { color: #e9a774; }
.admin-audit-panel { margin: 0 0 22px; padding: 18px 20px; }
.admin-audit-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.admin-audit-heading .eyebrow { margin: 0 0 3px; }
.admin-audit-heading h2 { margin: 0; color: #183946; font-size: 17px; }
.admin-audit-heading p { margin: 5px 0 0; color: #71848d; font-size: 12px; }
.admin-audit-list { display: grid; margin-top: 13px; border-top: 1px solid #e3edef; }
.admin-audit-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid #edf3f4; }
.admin-audit-item strong, .admin-audit-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-audit-item strong { color: #2d5360; font-size: 12px; }
.admin-audit-item small, .admin-audit-item time { color: #83969e; font-size: 10px; }
.vip-admin-page .admin-audit-panel { border-color: #443922; background: #111216; }
.vip-admin-page .admin-audit-heading h2, .vip-admin-page .admin-audit-item strong { color: #e3c472; }
.vip-admin-page .admin-audit-heading p, .vip-admin-page .admin-audit-item small, .vip-admin-page .admin-audit-item time { color: #9a8c72; }
.vip-admin-page .admin-audit-list, .vip-admin-page .admin-audit-item { border-color: #332d20; }
.admin-operation-history { display: grid; gap: 0; margin: -8px 0 18px; border-top: 1px solid #d8e9eb; }
.admin-operation-history:empty { display: none; }
.admin-operation-history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 31px; border-bottom: 1px solid #e7f0f1; color: #58707a; font-size: 11px; }
.admin-operation-history-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-operation-history-item time { color: #8a9ba2; font-variant-numeric: tabular-nums; }
.admin-operation-history-item.is-success span::before { color: #0f766e; content: '已完成 · '; }
.admin-operation-history-item.is-loading span::before { color: #0f766e; content: '进行中 · '; }
.admin-operation-history-item.is-error span::before { color: #b4233c; content: '需处理 · '; }
#admin-operation-progress[data-operation-state="loading"] { display: flex; align-items: center; gap: 8px; color: #1e5b67; background: #edfafa; border-color: #a8dde0; }
#admin-operation-progress[data-operation-state="loading"]::before { width: 12px; height: 12px; border: 2px solid #83cfd3; border-top-color: #0f766e; border-radius: 50%; content: ''; animation: issue-spinner .72s linear infinite; }
#admin-operation-progress[data-operation-state="success"] { color: #0f625c; background: #effcf9; border-color: #9bddcf; }
#admin-operation-progress[data-operation-state="error"] { color: #9f1d31; background: #fff4f5; border-color: #f0b8c1; }

/* Keep late legacy rules from reintroducing the former VIP look. */
[data-ui-theme="vip"] .vip-wheel-seal {
  border-color: rgb(27 184 154 / .58);
  background: repeating-conic-gradient(from 4deg, #1bb89a 0 1deg, transparent 1deg 12deg);
}
[data-ui-theme="vip"] .vip-wheel-crown {
  top: -14px;
  width: 58px;
  height: 58px;
  border: 0;
  background: url("/zulong-dragon.svg") center / contain no-repeat;
  clip-path: none;
  filter: drop-shadow(0 4px 8px rgb(0 0 0 / .56));
}
[data-ui-theme="vip"] .vip-wheel-stage[data-lottery-phase="charging"] .vip-wheel-seal { filter: drop-shadow(0 0 8px rgb(27 184 154 / .58)); }
[data-ui-theme="vip"] .vip-wheel-stage[data-lottery-phase="spinning"] .vip-wheel-seal { filter: drop-shadow(0 0 14px rgb(117 239 210 / .7)); }
[data-ui-theme="vip"] .vip-wheel-stage[data-lottery-phase="spinning"] .vip-wheel-crown { animation: zulong-dragon-breath .5s ease-in-out infinite alternate; }
[data-ui-theme="vip"] .vip-wheel-stage[data-lottery-phase="revealed"] .vip-wheel-seal { filter: drop-shadow(0 0 20px rgb(117 239 210 / .66)); }
[data-ui-theme="vip"] .vip-wheel-stage[data-lottery-phase="revealed"] .vip-wheel-crown { animation: zulong-dragon-arrive .62s cubic-bezier(.18, .8, .24, 1); }
[data-ui-theme="vip"] .vip-wheel-stage .wheel-segment-label.is-selected::before { background: #d8434e; box-shadow: 0 0 11px #75efd2; }
[data-ui-theme="vip"] .vip-draw-spotlight .draw-spotlight-card { border-color: #1bb89a; color: #e8fbf4; background: #061a21; box-shadow: 0 0 0 7px rgb(27 184 154 / .1), 0 24px 70px rgb(0 0 0 / .68); }
[data-ui-theme="vip"] .vip-draw-spotlight .draw-spotlight-card span { color: #75efd2; }

[data-ui-theme="vip"] .vip-badge-wall { border-color: #1d5f5c; background: #09242c; }
[data-ui-theme="vip"] .vip-badge-wall h2 { color: #75efd2; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge { border-color: #1d5f5c; color: #a8d7cc; background: #061a21; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge i { border-color: #287a72; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked i { border-color: #75efd2; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked .badge-progress b { background: #1bb89a; }
[data-ui-theme="vip"] .checkin-progress-meter { background: #12343a; }
[data-ui-theme="vip"] .checkin-progress-meter > span { background: linear-gradient(90deg, #b9303e, #75efd2); box-shadow: 0 0 12px rgb(27 184 154 / .4); }
[data-ui-theme="vip"] .checkin-calendar-summary { color: #a8d7cc; }
[data-ui-theme="vip"] .checkin-month-achievement { border-color: #287a72; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-draw-settlement-steps { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-draw-settlement-steps .is-complete { color: #75efd2; }
[data-ui-theme="vip"] .vip-draw-settlement-steps .is-current { color: #d8434e; }
[data-ui-theme="vip"] .vip-draw-settlement-steps .is-review { color: #ffb8ad; }

.vip-admin-page .admin-audit-panel { border-color: #1d5f5c; background: #09242c; }

/* 2026.08 Member, console, and Zulong surface refinement. */
[data-ui-theme="member"] .member-activity-grid { gap: 26px; }
[data-ui-theme="member"] .member-main-stack,
[data-ui-theme="member"] .member-side-stack { gap: 20px; }
[data-ui-theme="member"] .member-hero { position: relative; overflow: hidden; border-color: #cfd9e6; background: linear-gradient(115deg, rgb(255 255 255 / .98) 0 56%, rgb(236 246 255 / .92) 100%), #fff; box-shadow: 0 20px 46px rgb(23 48 80 / .08); }
[data-ui-theme="member"] .member-hero::after { position: absolute; top: -68px; right: -34px; width: 260px; height: 260px; border: 1px solid rgb(68 135 212 / .18); border-radius: 50%; box-shadow: 0 0 0 30px rgb(68 135 212 / .055), 0 0 0 61px rgb(68 135 212 / .03); content: ''; pointer-events: none; }
[data-ui-theme="member"] .member-hero-copy,
[data-ui-theme="member"] .hero-wheel-stage { position: relative; z-index: 1; }
[data-ui-theme="member"] .member-hero .eyebrow { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border: 1px solid #c8dcf2; color: #276bb0; background: #eff7ff; }
[data-ui-theme="member"] .member-hero h1 { max-width: 13ch; line-height: 1.16; }
[data-ui-theme="member"] .hero-draw-actions { gap: 13px; padding-top: 14px; border-top: 1px solid rgb(157 184 216 / .4); }
[data-ui-theme="member"] .hero-draw-meta { gap: 8px; }
[data-ui-theme="member"] .hero-draw-meta .status-chip,
[data-ui-theme="member"] .hero-draw-meta .count-badge { min-height: 34px; box-sizing: border-box; border-color: #c7d8ec; background: rgb(255 255 255 / .82); }
[data-ui-theme="member"] .hero-draw-button { min-width: 142px; min-height: 46px; border-radius: 6px; box-shadow: 0 9px 18px rgb(40 111 181 / .2); }
[data-ui-theme="member"] .member-topup-entry { margin-top: 13px; }
[data-ui-theme="member"] .member-topup-button { border-color: #cbdcf0; background: #f7fbff; }
[data-ui-theme="member"] .member-daily-status { gap: 0; overflow: hidden; border: 1px solid #d7e2ed; border-radius: 6px; background: #fff; box-shadow: 0 12px 26px rgb(26 58 91 / .045); }
[data-ui-theme="member"] .member-daily-status > div { position: relative; padding: 15px 16px; }
[data-ui-theme="member"] .member-daily-status > div + div::before { position: absolute; top: 17px; bottom: 17px; left: 0; width: 1px; background: #e2eaf2; content: ''; }
[data-ui-theme="member"] .member-daily-status strong { color: #1e5e9f; }
[data-ui-theme="member"] .recent-draws-panel,
[data-ui-theme="member"] .weekly-activity-panel,
[data-ui-theme="member"] .zulong-progression,
[data-ui-theme="member"] .member-badge-wall,
[data-ui-theme="member"] .member-prizes-panel,
[data-ui-theme="member"] .checkin-center,
[data-ui-theme="member"] .daily-play-panel { border-color: #d7e2ed; box-shadow: 0 13px 30px rgb(26 58 91 / .045); }
[data-ui-theme="member"] .recent-draws-panel .panel-heading,
[data-ui-theme="member"] .weekly-activity-panel .panel-heading { padding-bottom: 12px; border-bottom: 1px solid #e3ebf3; }
[data-ui-theme="member"] .checkin-center { overflow: hidden; background: linear-gradient(125deg, #fff 0%, #f8fbff 100%); }
[data-ui-theme="member"] .checkin-heading { padding-bottom: 16px; border-bottom: 1px solid #dfe9f3; }
[data-ui-theme="member"] .checkin-calendar { border-color: #d7e4f1; background: #fff; box-shadow: inset 0 1px 0 #fff, 0 10px 22px rgb(20 69 115 / .045); }
[data-ui-theme="member"] .checkin-month-grid > button,
[data-ui-theme="member"] .checkin-month-grid > span { border-radius: 4px; }

/* Operations are presented as a proper console, even while tables get dense. */
.standard-admin-page .admin-heading,
.standard-admin-page .operations-summary,
.standard-admin-page .campaign-overview,
.standard-admin-page .table-panel,
.standard-admin-page .campaign-panel,
.standard-admin-page .admin-toolbar,
.standard-admin-page .admin-audit-panel { border-color: #d7e2ed; box-shadow: 0 15px 32px rgb(22 55 90 / .055); }
.standard-admin-page .admin-primary-nav { position: sticky; z-index: 12; top: 8px; padding: 7px; border: 1px solid #d7e2ed; border-radius: 6px; background: rgb(255 255 255 / .94); box-shadow: 0 12px 28px rgb(22 55 90 / .08); backdrop-filter: blur(12px); }
.standard-admin-page .admin-primary-nav a { min-height: 34px; border-radius: 4px; }
.standard-admin-page .campaign-heading,
.standard-admin-page .table-panel > .panel-heading,
.standard-admin-page .checkin-records-panel > .panel-heading { padding-bottom: 14px; border-bottom: 1px solid #e3ebf3; }
.standard-admin-page .campaign-picker,
.standard-admin-page .filter-grid,
.standard-admin-page .selection-bar { border-color: #dae5ef; background: #f8fbfe; }
.standard-admin-page .selection-bar { position: sticky; z-index: 2; top: 58px; box-shadow: 0 8px 18px rgb(27 66 105 / .06); }
.standard-admin-page .table-scroll { border: 1px solid #dfe8f1; border-radius: 6px; background: #fff; }
.standard-admin-page .table-scroll table { border-collapse: separate; border-spacing: 0; }
.standard-admin-page .table-scroll thead th { position: sticky; z-index: 1; top: 0; border-bottom: 1px solid #d3e0ed; color: #54708b; background: #f3f8fc; box-shadow: 0 2px 5px rgb(25 58 92 / .035); }
.standard-admin-page .table-scroll tbody tr { transition: background-color .18s ease, box-shadow .18s ease; }
.standard-admin-page .table-scroll tbody tr:nth-child(even) { background: #fbfdff; }
.standard-admin-page .table-scroll tbody tr:hover { background: #eef7ff; box-shadow: inset 3px 0 0 #4b96d5; }
.standard-admin-page .admin-operation-history { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; padding: 11px; border: 1px solid #dbe6f0; border-radius: 6px; background: #f8fbfe; }
.standard-admin-page .admin-operation-history-item { min-height: 34px; padding: 8px 10px; border: 1px solid #e0e9f1; border-radius: 4px; background: #fff; }

/* Zulong gets depth from structural framing, not legacy gold decoration. */
[data-ui-theme="vip"] .vip-hero { position: relative; overflow: hidden; min-height: 248px; background: linear-gradient(105deg, rgb(6 28 35 / .98), rgb(8 44 49 / .96)), #061a21; box-shadow: inset 0 1px 0 rgb(117 239 210 / .08), 0 22px 50px rgb(0 0 0 / .32); }
[data-ui-theme="vip"] .vip-hero::before { position: absolute; top: -34px; right: 3%; width: 290px; height: 290px; background: url('/zulong-dragon.svg') center / contain no-repeat; content: ''; filter: opacity(.14) drop-shadow(0 0 18px rgb(117 239 210 / .38)); transform: rotate(-8deg); pointer-events: none; }
[data-ui-theme="vip"] .vip-hero-copy,
[data-ui-theme="vip"] .vip-emblem { position: relative; z-index: 1; }
[data-ui-theme="vip"] .vip-hero-copy { max-width: 720px; }
[data-ui-theme="vip"] .vip-title-primary { text-shadow: 0 2px 18px rgb(117 239 210 / .16); }
[data-ui-theme="vip"] .vip-campaign-panel { position: relative; overflow: hidden; }
[data-ui-theme="vip"] .vip-campaign-panel::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, transparent, #1bb89a 22%, #75efd2 50%, #d8434e 78%, transparent); content: ''; }
[data-ui-theme="vip"] .vip-campaign-heading { padding: 8px 0 19px; border-bottom: 1px solid rgb(40 122 114 / .62); }
[data-ui-theme="vip"] .vip-campaign-meta { min-height: 36px; padding: 0 10px; border: 1px solid #287a72; border-radius: 4px; background: #082b32; }
[data-ui-theme="vip"] .vip-wheel-column { padding: 16px 26px 18px 8px; border-right: 1px solid rgb(40 122 114 / .48); }
[data-ui-theme="vip"] .vip-wheel-stage { box-shadow: inset 0 1px 0 rgb(117 239 210 / .09), 0 18px 34px rgb(0 0 0 / .3); }
[data-ui-theme="vip"] .vip-recent-panel { position: relative; }
[data-ui-theme="vip"] .vip-recent-panel::after { position: absolute; top: 18px; right: 18px; width: 5px; height: 5px; border-radius: 50%; background: #d8434e; box-shadow: 0 0 0 4px rgb(216 67 78 / .14), 0 0 12px rgb(216 67 78 / .65); content: ''; }
[data-ui-theme="vip"] .vip-page-panel,
[data-ui-theme="vip"] .vip-badge-wall { box-shadow: inset 0 1px 0 rgb(117 239 210 / .06), 0 16px 34px rgb(0 0 0 / .22); }

/* The entry view feels decisive without adding another step to login. */
.auth-layout .auth-brand-panel,
.auth-layout .intro-copy { position: relative; }
.auth-layout .auth-brand-panel::after {
  display: block;
  width: 66px;
  height: 3px;
  margin-top: 24px;
  background: #0f766e;
  content: '';
}
.auth-account-panel { overflow: hidden; box-shadow: 0 22px 52px rgb(21 50 78 / .1); }
.auth-account-panel .login-form-heading { align-items: flex-start; }
.auth-account-panel .login-form-mark { box-shadow: 0 0 0 5px rgb(13 148 136 / .1); }
.auth-account-panel label { font-weight: 750; }
.auth-account-panel input { border-color: #cfdae6; background: #fbfdff; }
.auth-account-panel input:hover { border-color: #9bbbd6; background: #fff; }
.auth-account-panel .login-options { padding: 10px 0 2px; border-top: 1px solid #edf1f5; }
.auth-account-panel .login-remember-control { color: #405970; font-weight: 650; }
.auth-account-panel .login-submit-button { position: relative; overflow: hidden; box-shadow: 0 10px 22px rgb(13 118 110 / .2); }
.auth-account-panel .login-submit-button::after { position: absolute; top: 0; bottom: 0; left: -42%; width: 25%; background: rgb(255 255 255 / .22); content: ''; transform: skewX(-20deg); transition: left .42s ease; }
.auth-account-panel .login-submit-button:hover::after { left: 118%; }
.auth-account-panel .login-register-entry { padding-top: 14px; border-top: 1px solid #edf1f5; }
.auth-account-panel .login-register-entry a { display: inline-flex; min-height: 26px; align-items: center; margin-left: 4px; padding: 0 6px; border-radius: 3px; color: #0b7169; background: #ecfaf8; }

/* The member check-in section uses the calendar as the main visible progress signal. */
[data-ui-theme="member"] .checkin-content { gap: 24px; }
[data-ui-theme="member"] .checkin-calendar-top { padding-bottom: 13px; border-bottom: 1px solid #e5edf5; }
[data-ui-theme="member"] .checkin-month-tools { margin: 14px 0 12px; padding: 7px; border: 1px solid #deebf4; border-radius: 5px; background: #f8fbfe; }
[data-ui-theme="member"] .checkin-month-tools strong { color: #1e5e9f; }
[data-ui-theme="member"] .checkin-month-grid { gap: 6px; }
[data-ui-theme="member"] .checkin-month-grid > button,
[data-ui-theme="member"] .checkin-month-grid > span { min-height: 34px; border-color: #e3ebf3; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
[data-ui-theme="member"] .checkin-month-grid > button:hover:not(:disabled) { border-color: #4c94d1; background: #eff8ff; transform: translateY(-1px); }
[data-ui-theme="member"] .checkin-detail { padding: 18px; border: 1px solid #dce8f2; border-radius: 6px; background: rgb(255 255 255 / .78); }
[data-ui-theme="member"] .checkin-reward-label { color: #3979b5; }
[data-ui-theme="member"] .checkin-detail > strong { color: #155f9f; }
[data-ui-theme="member"] .checkin-stat-row { margin: 16px 0 4px; padding: 12px 0; border-top: 1px solid #e3ebf3; border-bottom: 1px solid #e3ebf3; }
[data-ui-theme="member"] .checkin-button { width: 100%; min-height: 46px; margin-top: 13px; border-radius: 5px; }
[data-ui-theme="member"] .checkin-center[data-checkin-state="submitting"] .checkin-detail { border-color: #86bce7; box-shadow: 0 0 0 3px rgb(73 148 210 / .1); }

/* The confirmed prize reads as a sealed result, not a generic modal. */
[data-ui-theme="member"] .member-prize-reveal { overflow: hidden; min-width: min(100%, 224px); padding: 19px 16px 16px; border-color: #44b8b1; background: #063f49; box-shadow: 0 0 0 7px rgb(80 210 198 / .1), 0 20px 38px rgb(0 42 53 / .42); }
[data-ui-theme="member"] .member-prize-reveal::after { position: absolute; top: 8px; right: 8px; bottom: 8px; left: 8px; border: 1px solid rgb(153 246 228 / .22); content: ''; pointer-events: none; }
[data-ui-theme="member"] .member-prize-reveal strong,
[data-ui-theme="member"] .member-prize-reveal span,
[data-ui-theme="member"] .member-prize-reveal small,
[data-ui-theme="member"] .member-prize-reveal em { position: relative; z-index: 1; }
[data-ui-theme="member"] .member-prize-reveal strong { padding: 4px 8px; font-size: clamp(18px, 2vw, 23px); text-shadow: 0 2px 12px rgb(153 246 228 / .24); }
[data-ui-theme="member"] .member-prize-reveal-ticket { width: 100%; padding-top: 8px; border-top-color: rgb(153 246 228 / .3); }

/* Inventory configuration, pending records, and issuance retain one calm operating rhythm. */
.standard-admin-page .campaign-panel { position: relative; }
.standard-admin-page .campaign-panel::before { position: absolute; top: 0; left: 20px; width: 62px; height: 3px; background: #0f766e; content: ''; }
.standard-admin-page .campaign-grid { padding: 15px; border: 1px solid #dce8f1; border-radius: 6px; background: #fbfdff; }
.standard-admin-page .prize-editor-heading { align-items: flex-end; margin-top: 22px; padding: 0 2px 11px; border-bottom: 1px solid #dce8f1; }
.standard-admin-page .prize-editor { counter-reset: prize-slot; gap: 12px; }
.standard-admin-page .prize-tier { position: relative; overflow: hidden; padding-top: 18px; border-color: #d8e5ef; background: #fff; box-shadow: 0 8px 17px rgb(25 58 92 / .035); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.standard-admin-page .prize-tier::before { position: absolute; top: 0; right: 11px; color: #75a3c9; content: '奖项 ' counter(prize-slot, decimal-leading-zero); counter-increment: prize-slot; font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.standard-admin-page .prize-tier:hover { border-color: #8cbde0; box-shadow: 0 12px 24px rgb(25 78 126 / .09); transform: translateY(-1px); }
.standard-admin-page .restock-control { padding-top: 10px; border-top-color: #dce8f1; }
.standard-admin-page .campaign-actions { position: sticky; z-index: 3; bottom: 10px; padding: 13px; border: 1px solid #cce1ef; border-radius: 6px; background: rgb(247 252 255 / .94); box-shadow: 0 12px 28px rgb(23 69 108 / .1); backdrop-filter: blur(10px); }
.standard-admin-page .campaign-actions .button { min-height: 42px; }
.standard-admin-page .admin-toolbar { border-top: 3px solid #0f766e; }
.standard-admin-page .admin-toolbar .filter-grid { position: relative; }
.standard-admin-page .table-panel { position: relative; }
.standard-admin-page .table-panel::before { position: absolute; top: 0; left: 20px; width: 48px; height: 3px; background: #4b96d5; content: ''; }
.standard-admin-page .issue-progress { border-color: #a9d8d4; box-shadow: 0 10px 24px rgb(15 118 110 / .08); }
.standard-admin-page .issue-progress.is-success { border-color: #9bd5c1; background: #f2fcf7; }
.standard-admin-page .issue-progress.is-error { box-shadow: 0 10px 24px rgb(185 47 47 / .06); }

@media (max-width: 760px) {
  .auth-layout .auth-brand-panel::after { margin-top: 18px; }
  .auth-account-panel { box-shadow: 0 16px 36px rgb(21 50 78 / .08); }
  [data-ui-theme="member"] .checkin-content { gap: 16px; }
  [data-ui-theme="member"] .checkin-detail { padding: 16px; }
  [data-ui-theme="member"] .checkin-month-grid { gap: 4px; }
  [data-ui-theme="member"] .checkin-month-grid > button,
  [data-ui-theme="member"] .checkin-month-grid > span { min-height: 30px; }
  [data-ui-theme="member"] .member-prize-reveal { inset: 14%; }
  .standard-admin-page .campaign-grid { padding: 12px; }
  .standard-admin-page .campaign-actions { position: static; padding: 12px; }
  .standard-admin-page .prize-tier::before { top: 8px; }
}

@media (max-width: 760px) {
  [data-ui-theme="member"] .member-activity-grid { gap: 16px; }
  [data-ui-theme="member"] .member-main-stack,
  [data-ui-theme="member"] .member-side-stack { gap: 14px; }
  [data-ui-theme="member"] .member-hero { padding: 22px 18px 0; }
  [data-ui-theme="member"] .member-hero::after { top: -78px; right: -100px; width: 240px; height: 240px; }
  [data-ui-theme="member"] .member-hero h1 { max-width: 100%; }
  [data-ui-theme="member"] .hero-draw-actions { align-items: stretch; }
  [data-ui-theme="member"] .lottery-command-group { width: 100%; }
  [data-ui-theme="member"] .hero-draw-button { flex: 1; min-width: 0; }
  [data-ui-theme="member"] .member-daily-status { grid-template-columns: 1fr 1fr; }
  [data-ui-theme="member"] .member-daily-status > div { padding: 13px 12px; }
  [data-ui-theme="member"] .member-daily-status > div:nth-child(3)::before { display: none; }
  [data-ui-theme="member"] .member-daily-status > div:nth-child(n + 3) { border-top: 1px solid #e2eaf2; }
  .standard-admin-page .admin-primary-nav { top: 4px; overflow-x: auto; }
  .standard-admin-page .selection-bar { top: 52px; }
  .standard-admin-page .admin-operation-history { grid-template-columns: 1fr; }
  [data-ui-theme="vip"] .vip-hero { min-height: 0; }
  [data-ui-theme="vip"] .vip-hero::before { top: -42px; right: -100px; width: 250px; height: 250px; }
  [data-ui-theme="vip"] .vip-wheel-column { padding: 16px 0 0; border-right: 0; border-bottom: 1px solid rgb(40 122 114 / .48); }
  [data-ui-theme="vip"] .vip-campaign-heading { gap: 12px; }
}

/* Result reveal: keep the confirmed prize as the clear final focal point. */
.member-prize-reveal {
  inset: 20%;
  gap: 7px;
  padding: 15px 13px 12px;
  border-color: #5eead4;
  border-radius: 6px;
  background: rgb(5 53 62 / .96);
  box-shadow: 0 0 0 5px rgb(94 234 212 / .1), 0 18px 34px rgb(2 44 50 / .38);
}
.member-prize-reveal::before { width: 32px; height: 2px; background: #99f6e4; content: ''; }
.member-prize-reveal span { color: #99f6e4; font-size: 9px; letter-spacing: .12em; }
.member-prize-reveal strong { color: #ffffff; font-size: clamp(17px, 1.8vw, 22px); }
.member-prize-reveal small { color: #d4fffa; }
.member-prize-reveal-status { border-color: rgb(153 246 228 / .55); color: #d9fffb; background: rgb(2 44 34 / .36); }
.member-prize-reveal-ticket { padding-top: 5px; border-top: 1px solid rgb(153 246 228 / .18); color: #b7f7ee; }
.member-prize-reveal.is-revealed { animation: member-prize-confirm .64s cubic-bezier(.16, .82, .2, 1); }
@keyframes member-prize-confirm { 0% { opacity: 0; transform: scale(.78); } 56% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }

/* Zulong prize pool: five distinct cards make value, rarity, and stock visible at a glance. */
[data-ui-theme="vip"] .vip-campaign-panel .prize-list { gap: 8px; background: transparent; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li {
  display: grid;
  align-content: start;
  min-height: 176px;
  padding: 17px 15px 15px;
  border: 1px solid #174b4e;
  border-radius: 6px;
  background: #061a21;
  box-shadow: inset 0 1px 0 rgb(117 239 210 / .06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li:hover {
  border-color: #287a72;
  background: #082b32;
  box-shadow: inset 0 1px 0 rgb(117 239 210 / .12), 0 12px 22px rgb(0 0 0 / .18);
  transform: translateY(-2px);
}
[data-ui-theme="vip"] .vip-campaign-panel .prize-list strong { padding-right: 18px; font-size: 16px; line-height: 1.35; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list span { min-height: 34px; margin-top: 8px; font-size: 12px; line-height: 1.5; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list em { margin-top: 10px; }
[data-ui-theme="vip"] .vip-prize-card-index { top: 13px; right: 13px; color: #75efd2; font-size: 10px !important; letter-spacing: .1em; }
[data-ui-theme="vip"] .vip-stock-state { align-self: end; margin-top: 10px; border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-stock-state.is-low { border-color: #d8434e; color: #ffd7d1; background: #3b2029; }
[data-ui-theme="vip"] .vip-stock-state.is-empty { border-color: #4a4f59; color: #a8b6bb; background: #111e25; }

/* Standard administration: one composed operating surface with high-density, calm scanning. */
.standard-admin-page #admin-view { display: grid; gap: 18px; }
.standard-admin-page .admin-heading {
  align-items: center;
  margin-bottom: 0;
  padding: 20px 22px;
  border: 1px solid #d7e9eb;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgb(15 118 110 / .055);
}
.standard-admin-page .admin-heading h1 { margin: 4px 0 7px; }
.standard-admin-page .admin-heading .member-profile { min-width: 140px; background: #f6fffe; }
.standard-admin-page .operations-summary,
.standard-admin-page .campaign-overview,
.standard-admin-page .site-settings-panel,
.standard-admin-page .admin-audit-panel,
.standard-admin-page .campaign-panel { margin: 0; }
.standard-admin-page .operations-summary { border-left-width: 4px; }
.standard-admin-page .operations-summary-grid > div { min-height: 88px; padding: 14px 16px; }
.standard-admin-page .operations-summary-grid strong { color: #0d6d67; }
.standard-admin-page .campaign-overview { padding: 22px; }
.standard-admin-page .campaign-overview .panel-heading { padding-bottom: 14px; border-bottom: 1px solid #dcebed; }
.standard-admin-page .overview-grid { overflow: hidden; }
.standard-admin-page .site-settings-panel,
.standard-admin-page .admin-audit-panel { padding: 20px; }
.standard-admin-page .site-settings-panel .panel-heading,
.standard-admin-page .admin-audit-heading { padding-bottom: 14px; border-bottom: 1px solid #e1edef; }
.standard-admin-page .admin-audit-list { margin-top: 12px; }
.standard-admin-page .campaign-panel { padding: 22px; }
.standard-admin-page .campaign-heading { padding-bottom: 16px; border-bottom: 1px solid #dcebed; }
.standard-admin-page .campaign-picker { margin-top: 16px; }
@media (max-width: 760px) {
  .member-prize-reveal { inset: 19%; }
  [data-ui-theme="vip"] .vip-campaign-panel .prize-list li { min-height: 150px; }
  .standard-admin-page .admin-heading { padding: 18px; }
  .standard-admin-page .operations-summary-grid > div { min-height: 78px; }
  .standard-admin-page .campaign-overview,
  .standard-admin-page .site-settings-panel,
  .standard-admin-page .admin-audit-panel,
  .standard-admin-page .campaign-panel { padding: 18px; }
}

/* Login is a focused account handoff, with clear input, verification, and success states. */
.auth-account-panel {
  overflow: hidden;
  border-color: #cfe4e6;
  box-shadow: 0 18px 42px rgb(15 118 110 / .1);
}
.auth-account-panel::before { display: block; height: 3px; margin: -28px -28px 20px; background: linear-gradient(90deg, #0d9488, #67e8f9); content: ''; }
.auth-account-panel label { gap: 7px; }
.auth-account-panel input { transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.auth-account-panel label:has(input:focus) { color: #0f766e; }
.password-visibility-button { border-radius: 4px; transition: color .16s ease, background .16s ease; }
.password-visibility-button:hover,
.password-visibility-button:focus-visible { color: #0f766e; background: #e8f8f5; outline: none; }
.login-options { padding: 8px 0; border-top: 1px solid #edf4f4; border-bottom: 1px solid #edf4f4; }
.login-remember-control { min-height: 22px; }
.login-submit-button { letter-spacing: 0; }
.form-panel.login-form-success::before { background: linear-gradient(90deg, #0d9488, #75efd2); }

/* The check-in calendar makes completed, current, and makeup days unmistakable. */
.checkin-calendar { border-radius: 6px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .65), 0 8px 18px rgb(15 118 110 / .045); }
.checkin-month-tools { padding: 6px 0; border-top: 1px solid #e1eff0; border-bottom: 1px solid #e1eff0; }
.checkin-month-tools .icon-button { border-color: #b9dcdd; color: #0f766e; background: #f8ffff; }
.checkin-month-grid > span,
.checkin-month-grid > button { border-radius: 4px; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.checkin-month-grid > .is-checked { box-shadow: inset 0 1px 0 rgb(255 255 255 / .42); }
.checkin-month-grid > .is-today { background: #f1fffc; }
.checkin-day.is-makeup-eligible:hover:not(:disabled) { transform: translateY(-1px); }
.checkin-month-achievement { padding: 5px 9px; }
.checkin-progress-meter { height: 8px; margin: 5px 0; }
.checkin-stat-row { margin-top: 8px; }
.checkin-button { box-shadow: 0 8px 16px rgb(15 118 110 / .16); }
.checkin-button:hover:not(:disabled) { box-shadow: 0 10px 20px rgb(15 118 110 / .22); }
[data-ui-theme="vip"] .checkin-calendar { box-shadow: inset 0 1px 0 rgb(117 239 210 / .08), 0 10px 22px rgb(0 0 0 / .2); }
[data-ui-theme="vip"] .checkin-month-tools { border-color: #174b4e; }
[data-ui-theme="vip"] .checkin-month-tools .icon-button { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .checkin-button { box-shadow: 0 8px 18px rgb(216 67 78 / .2); }

/* Narrow layouts retain tap targets and keep identity surfaces easy to scan. */
@media (max-width: 720px) {
  .site-header { align-items: flex-start; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .brand-cluster { min-width: 0; }
  .header-actions { width: 100%; justify-content: flex-start; }
  .auth-account-panel::before { margin: -22px -20px 18px; }
  .login-options { align-items: flex-start; flex-direction: column; gap: 8px; }
  .member-main-stack .hero-draw-actions,
  .vip-draw-action-buttons { gap: 8px; }
  .member-main-stack .hero-draw-meta,
  .vip-chance-controls { width: 100%; }
  .member-main-stack .lottery-command-group,
  .vip-draw-action-buttons { width: 100%; }
  .vip-draw-action-buttons .button,
  .vip-draw-action-buttons .share-template-picker { min-height: 44px; }
  .checkin-calendar-top { align-items: flex-start; flex-direction: column; }
  .checkin-calendar-hint { white-space: normal; }
  .checkin-month-tools { grid-template-columns: 38px 1fr 38px; }
  .checkin-month-grid { grid-auto-rows: minmax(34px, 1fr); }
  .standard-admin-page #admin-view { gap: 14px; }
  .standard-admin-page .operations-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standard-admin-page .operations-summary-grid > div { min-height: 76px; border-top: 1px solid #e2eaed; border-left: 0; }
  .standard-admin-page .operations-summary-grid > div:nth-child(-n + 2) { border-top: 0; }
  .standard-admin-page .operations-role-stat { grid-column: 1 / -1; }
  .standard-admin-page .campaign-heading-actions,
  .standard-admin-page .campaign-picker { align-items: stretch; flex-direction: column; }
  .standard-admin-page .campaign-heading-actions > *,
  .standard-admin-page .campaign-picker > * { width: 100%; }
  .standard-admin-page .campaign-picker label { width: 100%; }
}
.vip-admin-page .admin-audit-heading h2,
.vip-admin-page .admin-audit-item strong { color: #75efd2; }
.vip-admin-page .admin-audit-heading p,
.vip-admin-page .admin-audit-item small,
.vip-admin-page .admin-audit-item time { color: #a8d7cc; }
.vip-admin-page .admin-audit-list,
.vip-admin-page .admin-audit-item { border-color: #174b4e; }

@media (max-width: 760px) {
  [data-ui-theme="vip"] .vip-recent-panel { border-top-color: #1d5f5c; }
}

@media (prefers-reduced-motion: reduce) {
  [data-ui-theme="vip"] .vip-wheel-seal,
  [data-ui-theme="vip"] .vip-wheel-crown { animation: none !important; }
}

/* Zulong VIP check-in: this surface must never fall back to the former black-gold palette. */
[data-ui-theme="vip"] .checkin-center.is-vip {
  border-color: #1d5f5c;
  color: #e8fbf4;
  background: #09242c;
  box-shadow: inset 0 1px 0 rgb(117 239 210 / .1), 0 18px 38px rgb(0 0 0 / .28);
}
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-heading { border-color: #174b4e; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-heading h2,
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-detail > strong { color: #e8fbf4; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-heading p:not(.eyebrow),
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-detail > p { color: #a8d7cc; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-detail > .checkin-rule-detail { border-left-color: #d8434e; color: #c4e8de; }
[data-ui-theme="vip"] .checkin-center.is-vip .eyebrow,
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-reward-label { color: #d8434e; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-calendar { border-color: #1d5f5c; background: #061a21; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-calendar-top { border-color: #174b4e; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-calendar-top span { color: #75efd2; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-calendar-top strong { color: #e8fbf4; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-calendar-top small,
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-calendar-hint { color: #8bbdb3 !important; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-weekdays span { color: #a8d7cc; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-month-grid > span { border-color: #174b4e; color: #73958f; background: #082127; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-month-grid > .is-empty { border-color: transparent; background: transparent; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-month-grid > .is-checked { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-day.is-makeup-eligible { color: #ffd7d1; border-color: #d8434e; background: #3b2029; box-shadow: inset 0 0 0 1px rgb(216 67 78 / .18); }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-day.is-makeup-eligible:hover,
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-day.is-makeup-eligible:focus-visible { border-color: #ff7c82; background: #512831; outline-color: rgb(216 67 78 / .35); }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-stat-row,
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-stat-row > div + div { border-color: #174b4e; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-stat-row span { color: #a8d7cc; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-stat-row strong { color: #75efd2; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-button:disabled { color: #6f958e; border-color: #174b4e; background: #123037; }
[data-ui-theme="vip"] .checkin-center.is-vip .checkin-message.is-success,
[data-ui-theme="vip"] .checkin-center.is-vip[data-checkin-state="completed"] .checkin-experience-state { color: #75efd2; }
[data-ui-theme="vip"] .checkin-center.is-vip[data-checkin-state="submitting"] .checkin-button::before { border-color: rgb(117 239 210 / .22); border-top-color: #75efd2; }

/* Zulong VIP draw surface: wheel, prize catalog, live feed, and controls use one dragon palette. */
[data-ui-theme="vip"] .vip-campaign-panel {
  border-color: #1d5f5c;
  background: #09242c;
  box-shadow: inset 0 0 0 1px rgb(27 184 154 / .08), 0 24px 58px rgb(0 0 0 / .28);
}
[data-ui-theme="vip"] .vip-campaign-panel::before { border-color: rgb(27 184 154 / .18); }
[data-ui-theme="vip"] .vip-campaign-heading { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-campaign-heading h2 { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-campaign-heading p,
[data-ui-theme="vip"] .vip-countdown { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-wheel-stage { border-color: #1d5f5c; background: #061a21; }
[data-ui-theme="vip"] .vip-wheel-stage::after { border-color: #287a72; box-shadow: 0 0 38px rgb(27 184 154 / .2); }
[data-ui-theme="vip"] .vip-wheel-stage .prize-wheel { border-color: #75efd2; box-shadow: 0 16px 34px rgb(0 0 0 / .42), 0 0 0 5px #082b32, 0 0 0 6px #1d5f5c, inset 0 0 0 1px #287a72; }
[data-ui-theme="vip"] .vip-wheel-stage .wheel-pointer { background: #d8434e; filter: drop-shadow(0 3px 5px rgb(216 67 78 / .52)); }
[data-ui-theme="vip"] .vip-wheel-stage .wheel-center { color: #e8fbf4; border-color: #b9f5e4; background: #0d6d67; }
[data-ui-theme="vip"] .vip-wheel-stage.is-spinning .vip-wheel-aura { filter: drop-shadow(0 0 10px #1bb89a); }
[data-ui-theme="vip"] .vip-wheel-stage.is-revealed::after { box-shadow: 0 0 52px rgb(117 239 210 / .4); }
[data-ui-theme="vip"] .vip-wheel-stage .wheel-segment-label { color: #effff8; text-shadow: 0 2px 3px rgb(0 0 0 / .72); }
[data-ui-theme="vip"] .vip-wheel-stage .wheel-segment-label.is-selected { text-shadow: 0 0 5px #e8fbf4, 0 0 13px rgb(117 239 210 / .94), 0 2px 2px rgb(0 0 0 / .78); }

[data-ui-theme="vip"] .vip-prize-reveal { border-color: #75efd2; color: #a9ffea; background: rgb(6 26 33 / .95); }
[data-ui-theme="vip"] .vip-prize-reveal span { color: #d8434e; }
[data-ui-theme="vip"] .vip-prize-reveal small { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-wheel-result { border-color: #174b4e; color: #a8d7cc; background: #061a21; }
[data-ui-theme="vip"] .vip-wheel-result strong { color: #75efd2; }

[data-ui-theme="vip"] .vip-recent-panel { border-color: #1d5f5c; background: #061f27; }
[data-ui-theme="vip"] .vip-recent-heading,
[data-ui-theme="vip"] .vip-recent-draw-list > * { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-recent-heading h3 { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-recent-heading > span,
[data-ui-theme="vip"] .vip-recent-draw-list small { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-recent-draw-list strong { color: #a9ffea; }
[data-ui-theme="vip"] .vip-recent-draw-list b { color: #d8434e; }
[data-ui-theme="vip"] .vip-recent-scrollbar { background: #12343a; }
[data-ui-theme="vip"] .vip-recent-scroll-thumb { background: #1bb89a; }

[data-ui-theme="vip"] .vip-weekly-activity { border-color: rgb(27 184 154 / .25); }
[data-ui-theme="vip"] .vip-weekly-activity-heading p { color: #d8434e; }
[data-ui-theme="vip"] .vip-weekly-activity-heading h4 { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-weekly-activity-heading > span,
[data-ui-theme="vip"] .vip-weekly-activity-summary span,
[data-ui-theme="vip"] .vip-weekly-activity-summary small,
[data-ui-theme="vip"] .vip-weekly-activity-ranking small { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-weekly-activity-mark { border-color: #287a72; color: #a8d7cc; background: #082b32; }
[data-ui-theme="vip"] .vip-weekly-activity-mark.is-active { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-weekly-activity-summary { border-color: #174b4e; background: #061a21; }
[data-ui-theme="vip"] .vip-weekly-activity-summary > div + div { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-weekly-activity-summary strong,
[data-ui-theme="vip"] .vip-weekly-activity-ranking strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-weekly-activity-ranking li { border-color: rgb(27 184 154 / .18); }
[data-ui-theme="vip"] .vip-weekly-activity-ranking li > span,
[data-ui-theme="vip"] .vip-weekly-activity-ranking b { color: #75efd2; }
[data-ui-theme="vip"] .vip-weekly-activity-ranking li.is-current-user { border-color: #1bb89a; background: rgb(27 184 154 / .11); }

[data-ui-theme="vip"] .vip-campaign-panel .prize-list { background: #174b4e; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li { background: #061a21; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li:hover { background: #0b2b31; }
[data-ui-theme="vip"] .vip-page-body .prize-list li:has(.prize-rarity-common) { border-color: #1d5f5c; background: #061a21; }
[data-ui-theme="vip"] .vip-page-body .prize-list li:has(.prize-rarity-uncommon) { border-color: #287a72; background: #092c31; box-shadow: inset 3px 0 0 #1bb89a; }
[data-ui-theme="vip"] .vip-page-body .prize-list li:has(.prize-rarity-rare) { border-color: #d8434e; background: #17252a; box-shadow: inset 3px 0 0 #d8434e, 0 10px 22px rgb(0 0 0 / .2); }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list small { color: #75efd2; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list span { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list em { color: #d8434e; }
[data-ui-theme="vip"] .vip-page-body .prize-list .prize-rarity-badge { border-color: #287a72; color: #a8d7cc; background: #082b32; }
[data-ui-theme="vip"] .vip-page-body .prize-list .prize-rarity-badge.prize-rarity-uncommon { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-page-body .prize-list .prize-rarity-badge.prize-rarity-rare { border-color: #d8434e; color: #ffd7d1; background: #3b2029; }

[data-ui-theme="vip"] .vip-draw-actions > div p { color: #75efd2; }
[data-ui-theme="vip"] .vip-draw-actions > div strong { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-draw-actions .button-primary:disabled { color: #6f958e; border-color: #174b4e; background: #123037; }
[data-ui-theme="vip"] .vip-draw-actions .form-message.is-success { color: #75efd2; }
[data-ui-theme="vip"] .vip-refresh-chances-button,
[data-ui-theme="vip"] .vip-draw-actions .lottery-save-image-button { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-refresh-chances-button:hover:not(:disabled),
[data-ui-theme="vip"] .vip-draw-actions .lottery-save-image-button:hover { border-color: #75efd2; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-personal-records { border-color: #1d5f5c; background: #061a21; }
[data-ui-theme="vip"] .vip-personal-records > summary:hover,
[data-ui-theme="vip"] .vip-personal-records[open] > summary { border-color: #174b4e; background: #082b32; }
[data-ui-theme="vip"] .vip-personal-records-copy strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-personal-records-copy small { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-personal-records-action { color: #75efd2; }
[data-ui-theme="vip"] .vip-personal-records-action::after { border-color: #287a72; }
[data-ui-theme="vip"] .vip-prize-detail-dialog { border-color: #287a72; color: #e8fbf4; background: #061a21; }
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-description,
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta dt { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta,
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta > div + div { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta dd { color: #75efd2; }

/* Zulong VIP universal entry surfaces: shared pages can render a VIP card while the shell is member or admin themed. */
.vip-status-card {
  border-color: #1d5f5c;
  color: #e8fbf4;
  background: #09242c;
  box-shadow: inset 0 1px 0 rgb(117 239 210 / .1), 0 18px 38px rgb(0 0 0 / .2);
}
.vip-status-card .vip-card-mark { color: #d8434e; }
.vip-status-card .vip-card-heading h2,
.vip-status-card .vip-status-grid strong { color: #e8fbf4; }
.vip-status-card .vip-card-heading p,
.vip-status-card .vip-status-grid span { color: #a8d7cc; }
.vip-status-card .status-chip { border-color: #287a72; color: #a9ffea; background: #103b3d; }
.vip-status-card .status-chip.is-success { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
.vip-status-card .vip-status-grid,
.vip-status-card .vip-status-grid > div,
.vip-status-card .vip-status-grid > div:nth-child(-n + 2) { border-color: #174b4e; }
.vip-status-card .vip-qualification-value strong { color: #75efd2; }
.vip-status-card .vip-status-link { border-color: #c83b47; color: #fff4ed; background: #b9303e; }
.vip-status-card .vip-status-link:hover { border-color: #ee6870; color: #fff4ed; background: #cf4050; }
.vip-status-refresh-button { border-color: #287a72; color: #a9ffea; background: #082b32; }
.vip-status-refresh-button:hover:not(:disabled) { border-color: #75efd2; color: #052127; background: #75efd2; }

/* Recharge qualification stays an activity status: it never changes draw chances or VIP access rules. */
.zulong-progression {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #1d5f5c;
  border-radius: 8px;
  color: #e8fbf4;
  background: #09242c;
  box-shadow: inset 0 1px 0 rgb(117 239 210 / .1), 0 18px 38px rgb(0 0 0 / .18);
}
.zulong-progression::before {
  position: absolute;
  top: -58px;
  right: -22px;
  width: 138px;
  height: 138px;
  background: url('/zulong-dragon.svg') center / contain no-repeat;
  content: '';
  opacity: .1;
  pointer-events: none;
  transform: rotate(-12deg);
}
.zulong-progression-heading,
.zulong-progression-footer { display: flex; position: relative; z-index: 1; align-items: flex-end; justify-content: space-between; gap: 14px; }
.zulong-progression-heading .eyebrow { margin: 0 0 4px; color: #d8434e; }
.zulong-progression-heading h2 { margin: 0; color: #e8fbf4; font-size: 21px; }
.zulong-progression-heading p:not(.eyebrow) { margin: 5px 0 0; color: #a8d7cc; font-size: 13px; }
.zulong-progression-current { flex: 0 0 auto; padding: 5px 9px; border: 1px solid #287a72; border-radius: 999px; color: #a9ffea; background: #103b3d; font-size: 12px; font-weight: 800; }
.zulong-progression-track { position: relative; z-index: 1; height: 7px; margin: 20px 4px 11px; overflow: hidden; border: 1px solid #174b4e; border-radius: 999px; background: #061a21; }
.zulong-progression-fill { display: block; width: var(--zulong-progress, 0%); height: 100%; border-radius: inherit; background: #1bb89a; box-shadow: 0 0 13px rgb(117 239 210 / .55); transition: width .44s ease; }
.zulong-progression-nodes { display: grid; position: relative; z-index: 1; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.zulong-progression-node { min-width: 0; color: #6c958f; font-size: 11px; text-align: center; }
.zulong-progression-node span { display: grid; width: 18px; height: 18px; margin: 0 auto 6px; place-items: center; border: 1px solid #285d5b; border-radius: 50%; color: #6c958f; background: #061a21; font-size: 9px; font-weight: 800; }
.zulong-progression-node strong { display: block; overflow: hidden; color: inherit; font-size: 11px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.zulong-progression-node.is-complete { color: #a9ffea; }
.zulong-progression-node.is-complete span { border-color: #1bb89a; color: #052127; background: #75efd2; box-shadow: 0 0 11px rgb(117 239 210 / .34); }
.zulong-progression-node.is-current { color: #e8fbf4; }
.zulong-progression-node.is-current span { width: 26px; height: 26px; margin-top: -4px; margin-bottom: 2px; border-color: #d8434e; color: #fff4ed; background: #b9303e; box-shadow: 0 0 0 4px rgb(216 67 78 / .12), 0 0 14px rgb(216 67 78 / .36); }
.zulong-progression-benefits { display: grid; position: relative; z-index: 1; gap: 3px; margin-top: 16px; padding: 10px 12px; border-left: 3px solid #1bb89a; background: #082127; }
.zulong-progression-benefits strong { color: #e8fbf4; font-size: 13px; }
.zulong-progression-benefits span { color: #a8d7cc; font-size: 12px; line-height: 1.45; }
.zulong-progression-footer { align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid #174b4e; }
.zulong-progression-footer p { margin: 0; color: #a8d7cc; font-size: 13px; line-height: 1.45; }
.zulong-progression-footer .button { flex: 0 0 auto; border-color: #c83b47; color: #fff4ed; background: #b9303e; }
.zulong-progression-footer .button:hover { border-color: #ee6870; background: #cf4050; }
.zulong-progression.is-amounts-hidden .zulong-progression-fill { background: #287a72; box-shadow: none; }
.zulong-progression[data-progression-tier="50000"]::before { opacity: .28; animation: zulong-tianque-seal 2.8s ease-in-out infinite; }

.zulong-progression-overview { border-color: #1d5f5c; color: #e8fbf4; background: #09242c; }
.zulong-progression-overview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.zulong-progression-overview-heading .eyebrow { color: #d8434e; }
.zulong-progression-overview-heading h2 { margin: 0; color: #e8fbf4; }
.zulong-progression-overview-heading p { margin: 5px 0 0; color: #a8d7cc; }
.zulong-progression-overview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.zulong-progression-overview-grid > div { display: grid; gap: 4px; min-height: 92px; padding: 13px; border: 1px solid #174b4e; background: #061a21; }
.zulong-progression-overview-grid span { color: #75efd2; font-size: 12px; }
.zulong-progression-overview-grid strong { color: #e8fbf4; font-size: 24px; }
.zulong-progression-overview-grid small { color: #a8d7cc; }

@media (max-width: 720px) {
  .zulong-progression { padding: 17px; }
  .zulong-progression-heading,
  .zulong-progression-footer { align-items: flex-start; flex-direction: column; }
  .zulong-progression-current { align-self: flex-start; }
  .zulong-progression-footer .button { width: 100%; }
  .zulong-progression-node strong { font-size: 10px; }
  .zulong-progression-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.checkin-center.is-vip:not(.is-founder) {
  border-color: #1d5f5c;
  color: #e8fbf4;
  background: #09242c;
  box-shadow: inset 0 1px 0 rgb(117 239 210 / .1), 0 18px 38px rgb(0 0 0 / .28);
}
.checkin-center.is-vip:not(.is-founder)::before { background: #d8434e; }
.checkin-center.is-vip:not(.is-founder) .checkin-heading { border-color: #174b4e; }
.checkin-center.is-vip:not(.is-founder) .checkin-heading h2,
.checkin-center.is-vip:not(.is-founder) .checkin-detail > strong { color: #e8fbf4; }
.checkin-center.is-vip:not(.is-founder) .checkin-heading p:not(.eyebrow),
.checkin-center.is-vip:not(.is-founder) .checkin-detail > p { color: #a8d7cc; }
.checkin-center.is-vip:not(.is-founder) .checkin-detail > .checkin-rule-detail { border-left-color: #d8434e; color: #c4e8de; }
.checkin-center.is-vip:not(.is-founder) .eyebrow,
.checkin-center.is-vip:not(.is-founder) .checkin-reward-label { color: #d8434e; }
.checkin-center.is-vip:not(.is-founder) .checkin-tier-badge { border-color: #287a72; color: #a9ffea; background: #103b3d; }
.checkin-center.is-vip:not(.is-founder) .checkin-calendar { border-color: #1d5f5c; background: #061a21; }
.checkin-center.is-vip:not(.is-founder) .checkin-calendar-top,
.checkin-center.is-vip:not(.is-founder) .checkin-stat-row,
.checkin-center.is-vip:not(.is-founder) .checkin-stat-row > div + div { border-color: #174b4e; }
.checkin-center.is-vip:not(.is-founder) .checkin-calendar-top span,
.checkin-center.is-vip:not(.is-founder) .checkin-stat-row strong { color: #75efd2; }
.checkin-center.is-vip:not(.is-founder) .checkin-calendar-top strong { color: #e8fbf4; }
.checkin-center.is-vip:not(.is-founder) .checkin-calendar-top small,
.checkin-center.is-vip:not(.is-founder) .checkin-calendar-hint,
.checkin-center.is-vip:not(.is-founder) .checkin-weekdays span,
.checkin-center.is-vip:not(.is-founder) .checkin-stat-row span { color: #a8d7cc !important; }
.checkin-center.is-vip:not(.is-founder) .checkin-month-grid > span { border-color: #174b4e; color: #73958f; background: #082127; }
.checkin-center.is-vip:not(.is-founder) .checkin-month-grid > .is-empty { border-color: transparent; background: transparent; }
.checkin-center.is-vip:not(.is-founder) .checkin-month-grid > .is-checked { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
.checkin-center.is-vip:not(.is-founder) .checkin-month-grid > .is-checked i { color: #052127; background: #75efd2; }
.checkin-center.is-vip:not(.is-founder) .checkin-month-grid > .is-today { box-shadow: inset 0 0 0 2px #d8434e; }
.checkin-center.is-vip:not(.is-founder) .checkin-day.is-makeup-eligible { color: #ffd7d1; border-color: #d8434e; background: #3b2029; }
.checkin-center.is-vip:not(.is-founder) .checkin-day.is-makeup-eligible:hover,
.checkin-center.is-vip:not(.is-founder) .checkin-day.is-makeup-eligible:focus-visible { border-color: #ff7c82; background: #512831; outline-color: rgb(216 67 78 / .35); }
.checkin-center.is-vip:not(.is-founder) .checkin-button { border-color: #c83b47; color: #fff4ed; background: #b9303e; }
.checkin-center.is-vip:not(.is-founder) .checkin-button:hover:not(:disabled) { border-color: #ee6870; background: #cf4050; }
.checkin-center.is-vip:not(.is-founder) .checkin-button:disabled { color: #6f958e; border-color: #174b4e; background: #123037; }
.checkin-center.is-vip:not(.is-founder) .checkin-message.is-success,
.checkin-center.is-vip:not(.is-founder)[data-checkin-state="completed"] .checkin-experience-state { color: #75efd2; }

/* Zulong VIP dragon hall: entry, wheel atmosphere, and management use one jade-and-vermilion identity. */
.vip-entry-transition { color: #e8fbf4; background: rgb(3 20 27 / .97); }
.vip-entry-transition::before { border-color: rgb(27 184 154 / .48); }
.vip-entry-transition::after { border-color: rgb(216 67 78 / .34); }
.vip-entry-transition-frame { border-top-color: #1bb89a; border-bottom-color: #174b4e; }
.vip-entry-dragon { width: 86px; height: 86px; margin-bottom: -4px; filter: drop-shadow(0 0 16px rgb(27 184 154 / .45)); opacity: 0; transform: translateY(10px) scale(.82); }
.vip-entry-transition-mark { color: #75efd2; }
.vip-entry-transition p { color: #a8d7cc; }
.vip-entry-transition strong { color: #e8fbf4; }
.vip-entry-transition-active .vip-entry-dragon { animation: zulong-entry-dragon .58s cubic-bezier(.18, .8, .24, 1) .08s forwards; }

.vip-wheel-stage { isolation: isolate; }
.vip-dragon-particles { position: absolute; z-index: 0; inset: 8% 5%; overflow: hidden; pointer-events: none; }
.vip-dragon-particles i { position: absolute; width: 2px; height: 28%; background: linear-gradient(180deg, transparent, #75efd2 40%, #d8434e 72%, transparent); opacity: 0; transform: translate3d(0, 18px, 0) rotate(var(--dragon-angle)); }
.vip-dragon-particles i:nth-child(1) { --dragon-angle: -36deg; top: 8%; left: 16%; }
.vip-dragon-particles i:nth-child(2) { --dragon-angle: 26deg; top: 4%; left: 72%; }
.vip-dragon-particles i:nth-child(3) { --dragon-angle: -18deg; top: 34%; left: 6%; }
.vip-dragon-particles i:nth-child(4) { --dragon-angle: 42deg; top: 38%; left: 86%; }
.vip-dragon-particles i:nth-child(5) { --dragon-angle: -48deg; top: 70%; left: 20%; }
.vip-dragon-particles i:nth-child(6) { --dragon-angle: 16deg; top: 68%; left: 70%; }
.vip-dragon-particles i:nth-child(7) { --dragon-angle: 56deg; top: 16%; left: 48%; }
.vip-dragon-particles i:nth-child(8) { --dragon-angle: -4deg; top: 74%; left: 49%; }
.vip-wheel-stage[data-dragon-phase="charging"] .vip-dragon-particles i { opacity: .24; animation: zulong-dragon-trace 1.15s ease-in-out infinite; }
.vip-wheel-stage[data-dragon-phase="spinning"] .vip-dragon-particles i { opacity: .82; animation: zulong-dragon-trace .64s linear infinite; }
.vip-wheel-stage[data-dragon-phase="slowing"] .vip-dragon-particles i { opacity: .52; animation: zulong-dragon-trace 1.05s ease-out infinite; }
.vip-wheel-stage[data-dragon-phase="revealed"] .vip-dragon-particles i { opacity: 0; animation: zulong-dragon-flare .62s ease-out both; }
.vip-wheel-stage .vip-wheel-aura,
.vip-wheel-stage .vip-wheel-seal,
.vip-wheel-stage .vip-wheel-crown,
.vip-wheel-stage .wheel-pointer,
.vip-wheel-stage .prize-wheel,
.vip-wheel-stage .vip-prize-reveal { z-index: 1; }
.vip-wheel-stage .vip-wheel-crown { z-index: 4; }

.vip-admin-page { position: relative; isolation: isolate; color: #e8fbf4; background: #061a21; }
.vip-admin-page::before { position: fixed; z-index: -1; inset: 0; background: linear-gradient(160deg, rgb(27 184 154 / .11), transparent 31%), repeating-linear-gradient(135deg, transparent 0 42px, rgb(117 239 210 / .025) 42px 43px); content: ''; pointer-events: none; }
.vip-admin-page .site-header { position: relative; isolation: isolate; border-color: #174b4e; background: #06161d; }
.vip-admin-page .site-header::after { position: absolute; z-index: -1; top: -36px; right: 7%; width: 132px; height: 132px; background: url("/zulong-dragon.svg") center / contain no-repeat; content: ''; filter: opacity(.18) drop-shadow(0 0 14px rgb(27 184 154 / .45)); transform: rotate(-10deg); }
.vip-admin-page .site-header > * { position: relative; z-index: 1; }
.vip-admin-page .vip-admin-back { border-color: #287a72; color: #a9ffea; background: #082b32; }
.vip-admin-page .vip-admin-back:hover { border-color: #75efd2; color: #052127; background: #75efd2; }
.vip-admin-page .admin-heading { position: relative; padding: 8px 0 18px; border-bottom: 1px solid rgb(27 184 154 / .22); }
.vip-admin-page .admin-heading::before { display: inline-block; width: 30px; height: 30px; margin-right: 10px; background: url("/zulong-dragon.svg") center / contain no-repeat; content: ''; filter: drop-shadow(0 0 8px rgb(27 184 154 / .45)); vertical-align: middle; }
.vip-admin-page .panel,
.vip-admin-page .table-panel,
.vip-admin-page .campaign-overview,
.vip-admin-page .operations-summary { box-shadow: inset 0 1px 0 rgb(117 239 210 / .08), 0 18px 42px rgb(0 0 0 / .24); }
.vip-admin-page .admin-primary-nav { border-color: #1d5f5c; background: rgb(6 26 33 / .92); box-shadow: 0 14px 30px rgb(0 0 0 / .2); }
.vip-admin-page .admin-primary-nav button.is-active { border-color: #1bb89a; color: #a9ffea; background: #103b3d; box-shadow: inset 0 2px 0 #75efd2; }

@keyframes zulong-entry-dragon { 0% { opacity: 0; transform: translateY(10px) scale(.82); } 68% { opacity: 1; transform: translateY(-2px) scale(1.08); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes zulong-tianque-seal { 0%, 100% { opacity: .19; transform: rotate(-12deg) scale(1); } 50% { opacity: .34; transform: rotate(-12deg) scale(1.08); } }
@keyframes zulong-dragon-trace { 0% { transform: translate3d(0, 22px, 0) rotate(var(--dragon-angle)); } 54% { opacity: 1; } 100% { transform: translate3d(0, -30px, 0) rotate(var(--dragon-angle)); opacity: 0; } }
@keyframes zulong-dragon-flare { 0% { transform: scaleY(.4) rotate(var(--dragon-angle)); } 55% { opacity: .92; } 100% { transform: scaleY(1.4) rotate(var(--dragon-angle)); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .vip-entry-dragon,
  .vip-dragon-particles i,
  .zulong-progression[data-progression-tier="50000"]::before { animation: none !important; }
}

/* Zulong VIP final palette reset: jade is the privilege signal and vermilion is the action signal. */
[data-ui-theme="vip"] {
  --identity-accent: #1bb89a;
  --identity-accent-soft: #103b3d;
  --identity-surface: #061a21;
}

.vip-welcome-transition { color: #e8fbf4; background: rgb(3 20 27 / .97); }
.vip-welcome-transition::before { border-color: #1d5f5c; }
.vip-welcome-transition::after { border-color: #174b4e; }
.vip-welcome-transition-inner { border-top-color: #1bb89a; border-bottom-color: #174b4e; }
.vip-welcome-transition-inner span { color: #75efd2; }
.vip-welcome-transition-inner small { color: #d8434e; }
.vip-welcome-transition-inner strong { color: #e8fbf4; }

[data-ui-theme="vip"] .vip-page-body {
  color: #e8fbf4;
  background: #061a21;
}

[data-ui-theme="vip"] .vip-header,
[data-ui-theme="vip"] .vip-hero,
[data-ui-theme="vip"] .vip-page-panel,
[data-ui-theme="vip"] .vip-campaign-panel,
[data-ui-theme="vip"] .vip-recent-panel,
[data-ui-theme="vip"] .vip-weekly-activity,
[data-ui-theme="vip"] .vip-badge-wall {
  border-color: #1d5f5c;
  background: #09242c;
}

[data-ui-theme="vip"] .vip-header { background: #06161d; }
[data-ui-theme="vip"] .vip-header-label,
[data-ui-theme="vip"] .vip-title-primary,
[data-ui-theme="vip"] .vip-online-rail h2,
[data-ui-theme="vip"] .vip-page-panel .vip-qualification-value strong,
[data-ui-theme="vip"] .vip-badge-wall h2 { color: #75efd2; }
[data-ui-theme="vip"] .vip-title-secondary,
[data-ui-theme="vip"] .vip-page-panel .panel-heading h2,
[data-ui-theme="vip"] .vip-campaign-heading h2,
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-hero p,
[data-ui-theme="vip"] .vip-page-panel .panel-heading p,
[data-ui-theme="vip"] .vip-campaign-heading p,
[data-ui-theme="vip"] .vip-page-panel .vip-status-grid span { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-emblem { border-color: #1bb89a; color: #75efd2; box-shadow: inset 0 0 0 9px #061a21, 0 0 0 1px rgb(117 239 210 / .18); }
[data-ui-theme="vip"] .vip-emblem small { color: #d8434e; }
[data-ui-theme="vip"] .vip-back-link,
[data-ui-theme="vip"] .vip-countdown,
[data-ui-theme="vip"] .vip-section-mark { color: #75efd2 !important; }
[data-ui-theme="vip"] .vip-inventory-alert { border-left-color: #d8434e; color: #ffd7d1; background: #3b2029; }
[data-ui-theme="vip"] .vip-page-panel .status-chip,
[data-ui-theme="vip"] .vip-campaign-panel .status-chip { border-color: #287a72; color: #a9ffea; background: #103b3d; }

[data-ui-theme="vip"] .vip-page-panel .button-secondary,
[data-ui-theme="vip"] .vip-draw-actions .button-secondary { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-page-panel .button-secondary:hover,
[data-ui-theme="vip"] .vip-draw-actions .button-secondary:hover { border-color: #75efd2; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-topup-button,
[data-ui-theme="vip"] .vip-draw-actions .button-primary { border-color: #c83b47; color: #fff4ed; background: #b9303e; }
[data-ui-theme="vip"] .vip-topup-button:hover,
[data-ui-theme="vip"] .vip-draw-actions .button-primary:hover { border-color: #ee6870; background: #cf4050; }
[data-ui-theme="vip"] .vip-wheel-stage { border-color: #1d5f5c; background: #082127; }
[data-ui-theme="vip"] .vip-wheel-aura { border-color: rgb(27 184 154 / .52); box-shadow: 0 0 46px rgb(117 239 210 / .18); }
[data-ui-theme="vip"] .lottery-theme-vip { border-color: #1bb89a; box-shadow: 0 0 0 8px #09242c, 0 0 0 9px #1d5f5c; }
[data-ui-theme="vip"] .lottery-theme-vip .wheel-center { border-color: #287a72; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-recent-panel,
[data-ui-theme="vip"] .vip-online-rail { border-color: #1d5f5c; background: #09242c; box-shadow: 0 18px 42px rgb(0 0 0 / .3); }
[data-ui-theme="vip"] .vip-online-rail-mark,
[data-ui-theme="vip"] .vip-presence-ticker-mark,
[data-ui-theme="vip"] .vip-online-member-mark { color: #75efd2; }
[data-ui-theme="vip"] .vip-presence-ticker { --presence-accent: #1bb89a; --presence-sheen: rgb(117 239 210 / .18); border-color: #287a72; color: #e8fbf4; background: #09242c; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge { border-color: #174b4e; color: #a8d7cc; background: #061a21; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge i { border-color: #287a72; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked i,
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked .badge-progress b { color: #052127; background: #75efd2; }

[data-ui-theme="vip"] .vip-draw-spotlight { color: #e8fbf4; background: rgb(3 20 27 / .62); }
[data-ui-theme="vip"] .vip-draw-spotlight .draw-spotlight-card { border-color: #1bb89a; color: #e8fbf4; background: #082127; box-shadow: 0 0 0 7px rgb(117 239 210 / .1), 0 24px 70px rgb(0 0 0 / .58); }
[data-ui-theme="vip"] .vip-draw-spotlight .draw-spotlight-card span { color: #75efd2; }
[data-ui-theme="vip"] .vip-page-body .prize-detail-trigger { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-page-body .prize-detail-trigger:hover,
[data-ui-theme="vip"] .vip-page-body .prize-detail-trigger:focus-visible { border-color: #75efd2; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-page-body .prize-list li:has(.prize-rarity-common) { border-color: #174b4e; background: #082127; }
[data-ui-theme="vip"] .vip-page-body .prize-list li:has(.prize-rarity-uncommon) { border-color: #287a72; background: #0b2d31; box-shadow: inset 3px 0 0 #1bb89a; }
[data-ui-theme="vip"] .vip-page-body .prize-list li:has(.prize-rarity-rare) { border-color: #d8434e; background: #17252a; box-shadow: inset 3px 0 0 #d8434e, 0 10px 22px rgb(0 0 0 / .2); }
[data-ui-theme="vip"] .vip-page-body .prize-list .prize-rarity-badge { border-color: #287a72; color: #a8d7cc; background: #061a21; }
[data-ui-theme="vip"] .vip-page-body .prize-list .prize-rarity-badge.prize-rarity-uncommon { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-page-body .prize-list .prize-rarity-badge.prize-rarity-rare { border-color: #d8434e; color: #ffd7d1; background: #3b2029; }

[data-ui-theme="vip"] .vip-weekly-activity { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-weekly-activity-heading p,
[data-ui-theme="vip"] .vip-weekly-activity-ranking > li > span,
[data-ui-theme="vip"] .vip-weekly-activity-ranking b { color: #75efd2; }
[data-ui-theme="vip"] .vip-weekly-activity-heading h4,
[data-ui-theme="vip"] .vip-weekly-activity-summary strong,
[data-ui-theme="vip"] .vip-weekly-activity-ranking strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-weekly-activity-heading > span,
[data-ui-theme="vip"] .vip-weekly-activity-summary span,
[data-ui-theme="vip"] .vip-weekly-activity-summary small,
[data-ui-theme="vip"] .vip-weekly-activity-ranking small,
[data-ui-theme="vip"] .vip-weekly-activity-empty { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-weekly-activity-mark { border-color: #287a72; color: #a8d7cc; background: #061a21; }
[data-ui-theme="vip"] .vip-weekly-activity-mark.is-active { border-color: #1bb89a; color: #a9ffea; background: #103b3d; }
[data-ui-theme="vip"] .vip-weekly-activity-summary { border-color: #174b4e; background: #061a21; }
[data-ui-theme="vip"] .vip-weekly-activity-summary > div + div,
[data-ui-theme="vip"] .vip-weekly-activity-ranking li { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-weekly-activity-ranking li.is-current-user { border-color: #287a72; background: #0b2d31; }

[data-ui-theme="vip"] .vip-prize-detail-dialog { border-color: #287a72; color: #e8fbf4; background: #09242c; box-shadow: 0 22px 70px rgb(0 0 0 / .62); }
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-description,
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta dt { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta,
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta > div + div { border-color: #174b4e; }
[data-ui-theme="vip"] .vip-prize-detail-dialog .prize-detail-meta dd { color: #a9ffea; }
[data-ui-theme="vip"] .vip-topup-dialog { border-color: #287a72; color: #e8fbf4; background: #09242c; }
[data-ui-theme="vip"] .vip-topup-dialog h2 { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-topup-dialog p:not(.vip-section-mark) { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-share-template-picker { border-color: #287a72; color: #a8d7cc; background: #082b32; }
[data-ui-theme="vip"] .vip-share-template-picker select { color: #a9ffea; }
[data-ui-theme="vip"] .vip-draw-actions .lottery-save-image-button { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-draw-actions .lottery-save-image-button:hover { border-color: #75efd2; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-growth-title { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .checkin-progress-meter { background: #174b4e; }
[data-ui-theme="vip"] .checkin-progress-meter > span { background: linear-gradient(90deg, #1bb89a, #75efd2); box-shadow: 0 0 12px rgb(117 239 210 / .45); }
[data-ui-theme="vip"] .checkin-calendar-summary { color: #a8d7cc; }
[data-ui-theme="vip"] .checkin-month-achievement { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-draw-settlement-steps { color: #73958f; }
[data-ui-theme="vip"] .vip-draw-settlement-steps .is-complete { color: #75efd2; }
[data-ui-theme="vip"] .vip-draw-settlement-steps .is-current { color: #d8434e; }
[data-ui-theme="vip"] .vip-draw-settlement-steps .is-review { color: #ff9e93; }

/* Keep the wheel anchored to the campaign heading as the live lists grow. */
[data-ui-theme="vip"] .vip-campaign-main { align-items: start; }
[data-ui-theme="vip"] .vip-wheel-column { align-content: start; }
[data-ui-theme="vip"] .vip-recent-panel { min-height: 0; }

/* The controls below the wheel are part of the Zulong surface too. */
[data-ui-theme="vip"] .vip-refresh-chances-button,
[data-ui-theme="vip"] .vip-draw-actions .lottery-sound-toggle,
[data-ui-theme="vip"] .vip-draw-actions .lottery-save-image-button {
  border-color: #287a72;
  color: #a9ffea;
  background: #082b32;
}
[data-ui-theme="vip"] .vip-refresh-chances-button:hover:not(:disabled),
[data-ui-theme="vip"] .vip-draw-actions .lottery-sound-toggle:hover:not(:disabled),
[data-ui-theme="vip"] .vip-draw-actions .lottery-save-image-button:hover:not(:disabled) {
  border-color: #75efd2;
  color: #052127;
  background: #75efd2;
}
[data-ui-theme="vip"] .lottery-sound-toggle.is-active {
  border-color: #1bb89a;
  color: #052127;
  background: #1bb89a;
  box-shadow: 0 0 0 3px rgb(27 184 154 / .18);
}
[data-ui-theme="vip"] .vip-privacy-control { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-privacy-control input { border-color: #287a72; background: #082b32; }
[data-ui-theme="vip"] .vip-privacy-control input::after { background: #73958f; }
[data-ui-theme="vip"] .vip-privacy-control input:checked { border-color: #1bb89a; background: #1bb89a; }
[data-ui-theme="vip"] .vip-privacy-control input:checked::after { background: #e8fbf4; }
[data-ui-theme="vip"] .vip-draw-experience-state { color: #75efd2; }

/* Activity hierarchy: the wheel leads; live records remain compact and easy to scan. */
[data-ui-theme="vip"] .vip-campaign-main { gap: clamp(28px, 4vw, 48px); }
[data-ui-theme="vip"] .vip-wheel-column { position: relative; padding: 8px 18px 10px 0; }
[data-ui-theme="vip"] .vip-wheel-stage { width: min(100%, 372px); margin: 0 auto 8px; }
[data-ui-theme="vip"] .vip-wheel-result { width: min(100%, 372px); margin-top: -2px; }
[data-ui-theme="vip"] .vip-recent-panel {
  display: grid;
  align-content: start;
  padding: 18px 18px 16px;
  border: 1px solid #1d5f5c;
  border-radius: 6px;
  background: #09242c;
}
[data-ui-theme="vip"] .vip-recent-heading { padding-bottom: 12px; }
[data-ui-theme="vip"] .vip-recent-draw-list { height: 292px; margin-top: 4px; padding-right: 14px; }
[data-ui-theme="vip"] .vip-recent-scrollbar { top: 12px; right: 0; bottom: 12px; }
[data-ui-theme="vip"] .vip-weekly-activity { margin-top: 14px; padding: 14px 14px 0; border: 1px solid #174b4e; background: #061a21; }
[data-ui-theme="vip"] .vip-weekly-activity-summary { margin-top: 10px; }
[data-ui-theme="vip"] .vip-weekly-activity-ranking { margin-top: 8px; }

/* Member activity uses a denser, consistent rhythm without hiding any activity. */
.member-activity-grid { gap: 20px; }
.member-main-stack { gap: 16px; }
.member-side-stack { gap: 16px; }
.member-main-stack .member-hero { min-height: 326px; padding: 30px 32px; }
.member-main-stack .hero-wheel-stage { width: min(252px, 100%); }
.member-main-stack .member-daily-status,
.member-main-stack .member-badge-wall { margin-top: 0; }
.member-main-stack .member-badge-wall { padding: 13px 15px; }
.member-side-stack .recent-draws-panel { min-height: 334px; padding: 16px 18px; }
.member-side-stack .recent-draw-list { height: 244px; margin-top: 12px; }
.member-side-stack .weekly-activity-panel { padding: 16px 18px; }
.member-side-stack .zulong-progression { padding: 17px 18px; }

@media (max-width: 760px) {
  [data-ui-theme="vip"] .vip-wheel-column { padding: 0; }
  [data-ui-theme="vip"] .vip-recent-panel { padding: 18px 0 0; border-width: 1px 0 0; border-radius: 0; background: transparent; }
  [data-ui-theme="vip"] .vip-weekly-activity { padding-right: 0; padding-left: 0; border-width: 1px 0 0; background: transparent; }
  .member-main-stack .member-hero { min-height: 0; padding: 26px 20px 0; }
  .member-main-stack .hero-wheel-stage { width: min(244px, 72vw); }
  .member-side-stack .recent-draws-panel,
  .member-side-stack .weekly-activity-panel,
  .member-side-stack .zulong-progression { padding: 16px; }
}

.vip-admin-page .admin-activity-trend { border-color: #174b4e; }
.vip-admin-page .admin-activity-trend-heading h3,
.vip-admin-page .admin-activity-trend-value,
.vip-admin-page .admin-audit-heading h2,
.vip-admin-page .admin-audit-item strong { color: #75efd2; }
.vip-admin-page .admin-activity-trend > .muted,
.vip-admin-page .admin-activity-trend-item small,
.vip-admin-page .admin-audit-heading p,
.vip-admin-page .admin-audit-item small,
.vip-admin-page .admin-audit-item time { color: #a8d7cc; }
.vip-admin-page .admin-activity-trend-bars,
.vip-admin-page .admin-audit-list,
.vip-admin-page .admin-audit-item { border-color: #174b4e; }
.vip-admin-page .admin-activity-trend-item i { border-color: #1bb89a; background: linear-gradient(180deg, #75efd2, #1bb89a); box-shadow: 0 4px 9px rgb(27 184 154 / .2); }
.vip-admin-page .admin-audit-panel { border-color: #1d5f5c; background: #09242c; }

/* Final activity polish: one clear visual language across entry, member, and management. */
[data-ui-theme="member"] .member-hero { position: relative; overflow: hidden; border-color: #cfdde9; background: linear-gradient(115deg, #fff 0%, #f2f9ff 100%); box-shadow: 0 22px 48px rgb(25 63 100 / .08); }
[data-ui-theme="member"] .member-hero::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, #2976ba, #53c8c0 55%, transparent); content: ''; }
[data-ui-theme="member"] .member-hero .member-hero-description { max-width: 52ch; color: #5b7288; }
[data-ui-theme="member"] .hero-draw-actions { padding-top: 15px; border-top-color: #dce8f2; }
[data-ui-theme="member"] .hero-draw-button { min-height: 47px; box-shadow: 0 11px 21px rgb(34 112 183 / .22); }
[data-ui-theme="member"] .member-daily-status { border-color: #d7e4ee; box-shadow: 0 12px 27px rgb(22 59 95 / .05); }
[data-ui-theme="member"] .checkin-center { border-color: #cfe1ef; background: linear-gradient(125deg, #fff, #f7fbff); }
[data-ui-theme="member"] .checkin-calendar { border-color: #d5e4f0; box-shadow: 0 12px 24px rgb(24 72 119 / .05); }
[data-ui-theme="member"] .checkin-month-tools { padding: 7px; border: 1px solid #dce9f3; border-radius: 5px; background: #f8fbfe; }
[data-ui-theme="member"] .checkin-detail { padding: 18px; border: 1px solid #dce8f2; border-radius: 6px; background: rgb(255 255 255 / .82); }
[data-ui-theme="member"] .checkin-button { width: 100%; min-height: 46px; margin-top: 13px; border-radius: 5px; box-shadow: 0 10px 20px rgb(15 118 110 / .18); }
[data-ui-theme="member"] .checkin-center[data-checkin-state="submitting"] .checkin-detail { border-color: #86bce7; box-shadow: 0 0 0 3px rgb(73 148 210 / .1); }
[data-ui-theme="member"] .member-prize-reveal { overflow: hidden; min-width: min(100%, 224px); padding: 19px 16px 16px; border-color: #44b8b1; background: #063f49; box-shadow: 0 0 0 7px rgb(80 210 198 / .1), 0 20px 38px rgb(0 42 53 / .42); }
[data-ui-theme="member"] .member-prize-reveal::after { position: absolute; top: 8px; right: 8px; bottom: 8px; left: 8px; border: 1px solid rgb(153 246 228 / .22); content: ''; pointer-events: none; }
[data-ui-theme="member"] .member-prize-reveal strong,
[data-ui-theme="member"] .member-prize-reveal span,
[data-ui-theme="member"] .member-prize-reveal small,
[data-ui-theme="member"] .member-prize-reveal em { position: relative; z-index: 1; }
[data-ui-theme="member"] .member-prize-reveal strong { padding: 4px 8px; font-size: clamp(18px, 2vw, 23px); text-shadow: 0 2px 12px rgb(153 246 228 / .24); }
[data-ui-theme="member"] .member-prize-reveal-ticket { width: 100%; padding-top: 8px; border-top-color: rgb(153 246 228 / .3); }

.auth-layout .auth-brand-panel::after { display: block; width: 66px; height: 3px; margin-top: 24px; background: #0f766e; content: ''; }
.auth-account-panel { overflow: hidden; box-shadow: 0 22px 52px rgb(21 50 78 / .1); }
.auth-account-panel .login-options { padding: 10px 0 2px; border-top: 1px solid #edf1f5; }
.auth-account-panel .login-submit-button { position: relative; overflow: hidden; box-shadow: 0 10px 22px rgb(13 118 110 / .2); }
.auth-account-panel .login-submit-button::after { position: absolute; top: 0; bottom: 0; left: -42%; width: 25%; background: rgb(255 255 255 / .22); content: ''; transform: skewX(-20deg); transition: left .42s ease; }
.auth-account-panel .login-submit-button:hover::after { left: 118%; }
.auth-account-panel .login-register-entry { padding-top: 14px; border-top: 1px solid #edf1f5; }

/* Zulong management uses jade hierarchy and vermilion actions from end to end. */
.vip-admin-page .campaign-overview,
.vip-admin-page .operations-summary,
.vip-admin-page .campaign-panel,
.vip-admin-page .admin-toolbar,
.vip-admin-page .table-panel,
.vip-admin-page .vip-qualification-panel { border-color: #1d5f5c; background: #09242c; box-shadow: inset 0 1px 0 rgb(117 239 210 / .08), 0 18px 42px rgb(0 0 0 / .24); }
.vip-admin-page .campaign-panel,
.vip-admin-page .table-panel { position: relative; }
.vip-admin-page .campaign-panel::before,
.vip-admin-page .table-panel::before { position: absolute; top: 0; left: 20px; width: 58px; height: 3px; background: #1bb89a; content: ''; }
.vip-admin-page .campaign-heading,
.vip-admin-page .prize-editor-heading { padding-bottom: 14px; border-bottom: 1px solid #174b4e; }
.vip-admin-page .campaign-picker,
.vip-admin-page .campaign-grid,
.vip-admin-page .filter-grid,
.vip-admin-page .selection-bar { border-color: #174b4e; background: #061a21; }
.vip-admin-page .campaign-grid { padding: 15px; border: 1px solid #174b4e; border-radius: 6px; }
.vip-admin-page .prize-editor { gap: 12px; }
.vip-admin-page .prize-tier { border-color: #1d5f5c; background: #082127; box-shadow: inset 0 1px 0 rgb(117 239 210 / .04); }
.vip-admin-page .prize-tier:hover { border-color: #1bb89a; background: #0b2d31; }
.vip-admin-page .prize-label-input,
.vip-admin-page .prize-description-input,
.vip-admin-page .prize-stats-grid input,
.vip-admin-page .campaign-grid input,
.vip-admin-page .campaign-grid select { border-color: #287a72; color: #e8fbf4; background: #061a21; }
.vip-admin-page .count-badge { border-color: #287a72; color: #a9ffea; background: #082b32; }
.vip-admin-page .campaign-actions { position: sticky; z-index: 3; bottom: 10px; padding: 13px; border: 1px solid #287a72; border-radius: 6px; background: rgb(6 26 33 / .94); box-shadow: 0 14px 30px rgb(0 0 0 / .28); backdrop-filter: blur(10px); }
.vip-admin-page .campaign-actions .button-primary { border-color: #c83b47; background: #b9303e; }
.vip-admin-page .selection-bar { position: sticky; z-index: 3; top: 58px; padding: 12px; border-radius: 6px; box-shadow: 0 12px 26px rgb(0 0 0 / .2); }
.vip-admin-page .table-scroll { border-color: #174b4e; background: #061a21; }
.vip-admin-page th { color: #a8d7cc; background: #082b32; }
.vip-admin-page tr:nth-child(even) { background: rgb(11 45 49 / .38); }
.vip-admin-page tbody tr:hover { background: #103b3d; box-shadow: inset 3px 0 0 #1bb89a; }

/* The operating review only renders values produced by the existing activity endpoint. */
.admin-activity-review { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #dce8f1; }
.admin-activity-review > div { display: grid; gap: 4px; min-width: 0; padding: 10px 11px; border: 1px solid #dce8f1; border-radius: 5px; background: #f8fbfe; }
.admin-activity-review span { color: #688098; font-size: 11px; }
.admin-activity-review strong { color: #1f577e; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.admin-activity-review > span { grid-column: 1 / -1; color: #688098; font-size: 12px; }
.vip-admin-page .admin-activity-review { border-color: #174b4e; }
.vip-admin-page .admin-activity-review > div { border-color: #1d5f5c; background: #061a21; }
.vip-admin-page .admin-activity-review span { color: #a8d7cc; }
.vip-admin-page .admin-activity-review strong { color: #75efd2; }

@media (max-width: 760px) {
  [data-ui-theme="member"] .member-hero { padding-top: 24px; }
  [data-ui-theme="member"] .checkin-detail { padding: 16px; }
  [data-ui-theme="member"] .member-prize-reveal { inset: 14%; }
  .auth-layout .auth-brand-panel::after { margin-top: 18px; }
  .vip-admin-page .campaign-actions,
  .vip-admin-page .selection-bar { position: static; }
  .admin-activity-review { grid-template-columns: 1fr; }
}

/* Draw pacing: the member wheel visibly gathers speed, settles, then confirms. */
[data-ui-theme="member"] .hero-wheel-stage { transition: filter .24s ease, box-shadow .24s ease; }
[data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="charging"] { filter: saturate(1.08); box-shadow: 0 0 0 4px rgb(55 169 186 / .08), 0 18px 34px rgb(21 85 119 / .12); }
[data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="spinning"] { filter: saturate(1.2) brightness(1.03); box-shadow: 0 0 0 5px rgb(45 212 191 / .12), 0 0 34px rgb(48 150 200 / .2), 0 22px 42px rgb(21 85 119 / .16); }
[data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="spinning"] .wheel-pointer { animation: member-wheel-pointer-pulse .42s ease-in-out infinite alternate; }
[data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="slowing"] { filter: saturate(1.12); box-shadow: 0 0 0 4px rgb(45 212 191 / .1), 0 18px 35px rgb(21 85 119 / .16); }
[data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="revealed"] { box-shadow: 0 0 0 5px rgb(80 210 198 / .14), 0 0 42px rgb(80 210 198 / .24), 0 22px 44px rgb(21 85 119 / .18); }
[data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="revealed"] .wheel-pointer { transform: translateX(-50%) scale(1.08); filter: drop-shadow(0 0 8px rgb(80 210 198 / .8)); }
[data-ui-theme="member"] .hero-draw-button:disabled { cursor: wait; }
@keyframes member-wheel-pointer-pulse { from { transform: translateX(-50%) scale(.98); } to { transform: translateX(-50%) scale(1.08); filter: drop-shadow(0 0 7px rgb(45 212 191 / .72)); } }

/* The Zulong activity brief surfaces only the current campaign's real values. */
[data-ui-theme="vip"] .vip-activity-notice { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 18px; align-items: center; margin: 16px 0 4px; padding: 15px 16px; border: 1px solid #1d5f5c; border-left: 3px solid #d8434e; background: #061a21; box-shadow: inset 0 1px 0 rgb(117 239 210 / .06); }
[data-ui-theme="vip"] .vip-activity-notice-copy { display: grid; gap: 5px; min-width: 0; }
[data-ui-theme="vip"] .vip-activity-notice-copy > span { color: #d8434e; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
[data-ui-theme="vip"] .vip-activity-notice-copy strong { color: #e8fbf4; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
[data-ui-theme="vip"] .vip-activity-notice-copy p { margin: 0; color: #a8d7cc; font-size: 12px; line-height: 1.55; }
[data-ui-theme="vip"] .vip-reward-highlight { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-left: 1px solid #174b4e; }
[data-ui-theme="vip"] .vip-reward-highlight > div { display: grid; gap: 4px; min-width: 0; padding: 3px 10px; text-align: center; }
[data-ui-theme="vip"] .vip-reward-highlight > div + div { border-left: 1px solid #174b4e; }
[data-ui-theme="vip"] .vip-reward-highlight dt { color: #73958f; font-size: 10px; }
[data-ui-theme="vip"] .vip-reward-highlight dd { margin: 0; color: #75efd2; font-size: 15px; font-weight: 850; white-space: nowrap; }

@media (max-width: 760px) {
  [data-ui-theme="vip"] .vip-activity-notice { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  [data-ui-theme="vip"] .vip-reward-highlight { border-top: 1px solid #174b4e; border-left: 0; padding-top: 12px; }
  [data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="spinning"] { box-shadow: 0 0 0 4px rgb(45 212 191 / .12), 0 16px 34px rgb(21 85 119 / .14); }
}

@media (prefers-reduced-motion: reduce) {
  [data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase] .wheel-pointer { animation: none; }
}

/* Result tools are quiet until a confirmed draw makes them relevant. */
[data-ui-theme="member"] .lottery-command-group .lottery-share-button { border-color: #79cfc6; color: #08645e; background: #ecfbf8; }
[data-ui-theme="member"] .lottery-command-group .lottery-share-button:hover { border-color: #159b91; color: #ffffff; background: #11877e; }
[data-ui-theme="member"] .member-share-template-wrap { border-color: #b9e4df; background: #f5fcfb; }
[data-ui-theme="member"] .member-share-template-wrap::before { width: 5px; height: 5px; border-radius: 50%; background: #18a79b; content: ''; }

/* Each Zulong reward reads like a collectible, while the real stock state stays primary. */
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li { isolation: isolate; overflow: hidden; min-height: 184px; padding: 19px 16px 16px; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li::after { position: absolute; z-index: -1; right: 9px; bottom: 9px; left: 9px; height: 2px; background: #1d5f5c; content: ''; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li:has(.prize-rarity-uncommon)::after { background: #1bb89a; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list li:has(.prize-rarity-rare)::after { background: #d8434e; }
[data-ui-theme="vip"] .vip-prize-card-index { display: inline-flex; min-height: 22px; align-items: center; padding: 0 6px; border: 1px solid #287a72; color: #75efd2; background: #082b32; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list strong { padding-right: 40px; }
[data-ui-theme="vip"] .vip-campaign-panel .prize-list .prize-rarity-badge { margin-top: 10px; }
[data-ui-theme="vip"] .vip-stock-state { position: relative; padding-left: 17px; }
[data-ui-theme="vip"] .vip-stock-state::before { position: absolute; top: 50%; left: 7px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 7px currentColor; content: ''; transform: translateY(-50%); }

@media (max-width: 760px) {
  [data-ui-theme="vip"] .vip-campaign-panel .prize-list li { min-height: 158px; padding: 15px 13px 13px; }
  [data-ui-theme="member"] .lottery-command-group .lottery-share-button { flex: 1 1 100%; }
}

/* Personal history stays readable without competing with the draw stage. */
[data-ui-theme="member"] .member-records-disclosure {
  border-color: #cfe0e8;
  background: #ffffff;
  box-shadow: 0 12px 28px rgb(25 63 100 / .05);
}
[data-ui-theme="member"] .member-records-disclosure > summary:hover,
[data-ui-theme="member"] .member-records-disclosure[open] > summary { background: #f4fbfc; }
[data-ui-theme="member"] .member-records-content .record-list { gap: 8px; }
[data-ui-theme="member"] .member-records-content .record-item {
  min-height: 58px;
  padding: 11px 13px;
  border-color: #d8e7ee;
  border-left: 3px solid #62b9ba;
  background: #fbfefe;
}
[data-ui-theme="member"] .member-records-content .record-item:hover { border-color: #86c9c9; background: #f2fbfa; }
[data-ui-theme="member"] .member-records-content .record-item strong { color: #164a59; }
[data-ui-theme="member"] .member-records-content .record-item small,
[data-ui-theme="member"] .member-records-content .record-item span { color: #66808d; }
[data-ui-theme="member"] .member-badge-wall {
  align-items: stretch;
  border-color: #cfe1e4;
  background: linear-gradient(110deg, #fbffff, #f2fbfa);
}
[data-ui-theme="member"] .member-badge-wall > div:first-child { display: grid; align-content: center; min-width: 112px; }
[data-ui-theme="member"] .member-badge-list { gap: 8px; }
[data-ui-theme="member"] .member-badge {
  min-height: 52px;
  padding: 8px;
  border-color: #d8e8ea;
  background: rgb(255 255 255 / .76);
}
[data-ui-theme="member"] .member-badge i { width: 21px; height: 21px; border-color: #9fc4c8; color: #42747a; }
[data-ui-theme="member"] .member-badge.is-unlocked { border-color: #72c4bb; color: #166c67; background: #edfbf7; }
[data-ui-theme="member"] .member-badge.is-unlocked i { border-color: #198d84; background: #198d84; }
[data-ui-theme="member"] .badge-progress { height: 4px; border-radius: 4px; background: #dcebed; }
[data-ui-theme="member"] .badge-progress b { border-radius: inherit; background: #5f9ca0; }
[data-ui-theme="member"] .member-badge.is-unlocked .badge-progress b { background: #198d84; }

/* Zulong records inherit jade hierarchy with a small vermilion pending signal. */
[data-ui-theme="vip"] .vip-recent-item {
  position: relative;
  gap: 6px;
  padding: 12px 10px 12px 14px;
  border-bottom-color: #174b4e;
  background: linear-gradient(90deg, rgb(8 43 50 / .66), transparent);
}
[data-ui-theme="vip"] .vip-recent-item::before {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;
  width: 2px;
  background: #1bb89a;
  content: '';
}
[data-ui-theme="vip"] .vip-recent-item strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-recent-item span { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-recent-item b { color: #75efd2; }
[data-ui-theme="vip"] .vip-personal-records[open] > summary { box-shadow: inset 3px 0 0 #1bb89a; }
[data-ui-theme="vip"] .vip-member-record-list { gap: 9px; }
[data-ui-theme="vip"] .vip-member-record-item {
  min-height: 61px;
  padding: 11px 13px;
  border-color: #1d5f5c;
  border-left: 3px solid #1bb89a;
  background: #082127;
}
[data-ui-theme="vip"] .vip-member-record-item:hover { background: #0b2d31; }
[data-ui-theme="vip"] .vip-member-record-item strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-member-record-item span { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-member-record-status {
  min-width: 56px;
  padding: 5px 7px;
  border: 1px solid #a63b43;
  color: #ffb2b4;
  background: rgb(216 67 78 / .1);
  font-size: 11px;
  text-align: center;
}
[data-ui-theme="vip"] .vip-member-record-status.status-issued { border-color: #287a72; color: #a9ffea; background: rgb(27 184 154 / .1); }
[data-ui-theme="vip"] .vip-badge-wall { border-color: #1d5f5c; background: #082127; }
[data-ui-theme="vip"] .vip-badge-wall h2 { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge { border-color: #174b4e; color: #a8d7cc; background: #061a21; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge i { border-color: #287a72; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked { border-color: #1bb89a; color: #a9ffea; background: #0b2d31; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked i { border-color: #1bb89a; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-badge-wall .member-badge.is-unlocked .badge-progress b { background: #1bb89a; }

/* The campaign brief summarizes only the selected campaign's live figures. */
.activity-summary-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d7e7e9;
  border-radius: 6px;
  background: #f8fcfc;
}
.activity-summary-board > span { padding: 13px 14px; color: #67808a; font-size: 13px; }
.activity-summary-board > div { display: grid; gap: 3px; min-width: 0; padding: 12px 14px; }
.activity-summary-board > div + div { border-left: 1px solid #d7e7e9; }
.activity-summary-board span { color: #55717c; font-size: 11px; }
.activity-summary-board strong { color: #0f766e; font-size: 21px; line-height: 1.1; }
.activity-summary-board small { min-height: 17px; color: #6a838d; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.vip-admin-page .activity-summary-board { border-color: #1d5f5c; background: #061a21; }
.vip-admin-page .activity-summary-board > div + div { border-color: #174b4e; }
.vip-admin-page .activity-summary-board > span { color: #a8d7cc; }
.vip-admin-page .activity-summary-board span,
.vip-admin-page .activity-summary-board small { color: #a8d7cc; }
.vip-admin-page .activity-summary-board strong { color: #75efd2; }

@media (max-width: 760px) {
  [data-ui-theme="member"] .member-badge-wall > div:first-child { min-width: 0; }
  [data-ui-theme="member"] .member-records-content .record-item { align-items: flex-start; }
  [data-ui-theme="vip"] .vip-member-record-item { align-items: flex-start; }
  [data-ui-theme="vip"] .vip-member-record-status { min-width: 52px; }
  .activity-summary-board { grid-template-columns: 1fr; }
  .activity-summary-board > div + div { border-top: 1px solid #d7e7e9; border-left: 0; }
  .vip-admin-page .activity-summary-board > div + div { border-color: #174b4e; }
}

/* A visible three-stop journey makes continuous check-in rewards easy to understand. */
.checkin-milestone-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 11px 0 3px;
  padding-top: 3px;
}
.checkin-milestone-strip::before,
.checkin-milestone-strip::after {
  position: absolute;
  top: 9px;
  right: 16.666%;
  left: 16.666%;
  height: 2px;
  content: '';
}
.checkin-milestone-strip::before { background: #d8e7eb; }
.checkin-milestone-strip::after {
  width: auto;
  background: #249a90;
  box-shadow: 0 0 8px rgb(36 154 144 / .3);
  transform: scaleX(var(--checkin-milestone-scale, 0));
  transform-origin: left center;
  transition: transform .56s ease;
}
.checkin-milestone { position: relative; z-index: 1; display: grid; justify-items: center; gap: 3px; min-width: 0; color: #7b929b; text-align: center; }
.checkin-milestone i { display: grid; width: 14px; height: 14px; place-items: center; border: 2px solid #b7cbd1; border-radius: 50%; background: #ffffff; box-sizing: border-box; }
.checkin-milestone strong { color: #66808a; font-size: 11px; line-height: 1.2; }
.checkin-milestone small { color: #91a4ab; font-size: 10px; line-height: 1.2; white-space: nowrap; }
.checkin-milestone.is-complete i { border-color: #249a90; background: #249a90; box-shadow: 0 0 0 3px rgb(36 154 144 / .12); }
.checkin-milestone.is-complete i::after { width: 4px; height: 7px; border: solid #ffffff; border-width: 0 1px 1px 0; content: ''; transform: rotate(45deg) translate(-1px, -1px); }
.checkin-milestone.is-complete strong { color: #14736d; }
.checkin-milestone.is-current i { animation: checkin-milestone-pulse 1.3s ease-in-out infinite; }
.checkin-milestone-strip[data-complete="true"] .checkin-milestone:last-child small { color: #14736d; font-weight: 800; }

/* The reveal keeps focus on the confirmed prize, then leaves users straight back in control. */
.member-prize-reveal.is-revealed { animation: lottery-result-arrival .72s cubic-bezier(.14, .86, .2, 1); }
.member-prize-reveal.is-revealed::before { width: 50px; box-shadow: 0 0 12px currentColor; }
.member-prize-reveal.is-revealed::after { animation: lottery-result-frame .72s ease-out both; }
.member-prize-reveal.is-revealed strong { animation: lottery-result-label .66s cubic-bezier(.16, .82, .2, 1) .1s both; }
.member-prize-reveal.is-revealed .member-prize-reveal-status { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 5px 12px rgb(0 0 0 / .12); }
[data-ui-theme="vip"] .vip-prize-reveal {
  border-color: #75efd2;
  background-color: #061a21;
  background-image: linear-gradient(135deg, rgb(27 184 154 / .15), transparent 44%);
  box-shadow: 0 0 0 6px rgb(27 184 154 / .1), 0 20px 42px rgb(0 0 0 / .48);
}
[data-ui-theme="vip"] .vip-prize-reveal::before { background: #d8434e; }
[data-ui-theme="vip"] .vip-prize-reveal::after { border-color: rgb(117 239 210 / .28); }
[data-ui-theme="vip"] .vip-prize-reveal strong { color: #e8fbf4; text-shadow: 0 0 16px rgb(117 239 210 / .28); }
[data-ui-theme="vip"] .vip-prize-reveal .member-prize-reveal-status { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-prize-reveal .member-prize-reveal-ticket { border-top-color: #174b4e; color: #a8d7cc; }

@keyframes checkin-milestone-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgb(36 154 144 / .12); }
  50% { box-shadow: 0 0 0 7px rgb(36 154 144 / .04); }
}
@keyframes lottery-result-arrival {
  0% { opacity: 0; transform: scale(.72) translateY(12px); }
  58% { opacity: 1; transform: scale(1.045) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes lottery-result-frame {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes lottery-result-label {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .checkin-milestone small { font-size: 9px; white-space: normal; }
  .member-prize-reveal.is-revealed { animation-duration: .58s; }
}
@media (prefers-reduced-motion: reduce) {
  .checkin-milestone.is-current i,
  .member-prize-reveal.is-revealed,
  .member-prize-reveal.is-revealed::after,
  .member-prize-reveal.is-revealed strong { animation: none; }
}

/* Final contrast guard: identity previews must never inherit the retired dark member surface. */
[data-ui-theme="member"] .member-hero h1 { color: #103a45; }
[data-ui-theme="member"] .member-hero-window { color: #39769d; }
[data-ui-theme="member"] .member-hero .member-profile,
[data-ui-theme="member"] .member-hero .member-profile strong { color: #174b62; }
[data-ui-theme="member"] .member-hero .member-profile span { color: #39817d; }
[data-ui-theme="member"] .member-hero .status-chip { border-color: #9edbd7; color: #0b6f69; background: #edfafa; }
[data-ui-theme="member"] .member-hero .count-badge { border-color: #e5ca88; color: #855b16; background: #fff8e6; }
[data-ui-theme="member"] .member-hero .refresh-chances-button,
[data-ui-theme="member"] .member-hero .lottery-sound-toggle { border-color: #9cc7c9; color: #16756f; background: #f1fbfa; }
[data-ui-theme="member"] .member-hero .refresh-chances-button:hover,
[data-ui-theme="member"] .member-hero .lottery-sound-toggle:hover { border-color: #168b83; color: #ffffff; background: #168b83; }
[data-ui-theme="member"] .member-topup-button { border-color: #b6d7ec; color: #1d6e9e; background: #f6fbff; }
[data-ui-theme="member"] .member-topup-button small { color: #4385ad; }
[data-ui-theme="member"] .member-topup-button:hover { border-color: #397fb7; color: #ffffff; background: #397fb7; }
[data-ui-theme="member"] .member-topup-button:hover small { color: #eaf7ff; }
[data-ui-theme="member"] .hero-draw-message,
[data-ui-theme="member"] .experience-state { color: #52738c; }

/* A VIP preview on the regular page uses a complete dark surface, not mixed foreground colors. */
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-detail {
  border-color: #1d5f5c;
  background: #061a21;
  box-shadow: inset 0 1px 0 rgb(117 239 210 / .06);
}
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-progress-meter { background: #174b4e; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-progress-meter > span { background: linear-gradient(90deg, #1bb89a, #75efd2); }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone-strip::before { background: #174b4e; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone-strip::after { background: #1bb89a; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone { color: #73958f; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone i { border-color: #287a72; background: #061a21; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone strong,
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone small { color: #a8d7cc; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone.is-complete i { border-color: #1bb89a; background: #1bb89a; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-milestone.is-complete strong { color: #a9ffea; }

/* Keep the privacy control compact so it reads as a personal setting, not a second primary action. */
.vip-status-card .vip-card-topline { align-items: center; }
.vip-status-card .vip-card-actions { gap: 7px; }
.vip-status-card .vip-privacy-control { gap: 6px; padding: 4px 7px; border: 1px solid #287a72; border-radius: 5px; color: #a8d7cc; background: #082b32; font-size: 11px; }
.vip-status-card .vip-privacy-control input { width: 34px; min-height: 20px; border-color: #287a72; background: #061a21; }
.vip-status-card .vip-privacy-control input::after { top: 2px; left: 2px; width: 14px; height: 14px; background: #73958f; }
.vip-status-card .vip-privacy-control input:checked { border-color: #1bb89a; background: #1bb89a; }
.vip-status-card .vip-privacy-control input:checked::after { background: #e8fbf4; transform: translateX(14px); }

@media (max-width: 760px) {
  [data-ui-theme="member"] .member-hero h1 { max-width: 100%; }
  .vip-status-card .vip-card-actions { flex-wrap: wrap; justify-content: flex-end; }
}

/* Keep the ordinary member command row light and individually scannable. */
[data-ui-theme="member"] .member-hero .hero-draw-meta {
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
[data-ui-theme="member"] .member-hero .hero-draw-meta .icon-button,
[data-ui-theme="member"] .member-hero .hero-draw-meta .status-chip,
[data-ui-theme="member"] .member-hero .hero-draw-meta .count-badge {
  min-height: 36px;
  box-sizing: border-box;
  border-radius: 5px;
}
[data-ui-theme="member"] .member-hero .hero-draw-meta .icon-button { width: 36px; }

/* A Zulong preview can live in the normal shell without leaking its light calendar tooling. */
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-month-tools {
  margin: 14px 0 12px;
  padding: 7px;
  border: 1px solid #174b4e;
  border-radius: 5px;
  background: #082127;
}
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-month-tools strong { color: #a9ffea; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-month-tools .icon-button {
  border-color: #287a72;
  color: #a9ffea;
  background: #061a21;
}
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-month-tools .icon-button:hover:not(:disabled) {
  border-color: #75efd2;
  color: #052127;
  background: #75efd2;
}
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-calendar-summary { color: #a8d7cc; }
[data-ui-theme="member"] .checkin-center.is-vip:not(.is-founder) .checkin-month-achievement {
  border-color: #287a72;
  color: #a9ffea;
  background: #082b32;
}

/* Keep the live winner feed compact; participation earns its own full-width operation row. */
[data-ui-theme="vip"] .vip-recent-panel { min-height: 0; }
[data-ui-theme="vip"] .vip-campaign-panel > .vip-weekly-activity-wide {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(240px, .9fr) minmax(0, 1.38fr);
  align-items: start;
  gap: 18px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #174b4e;
  background: #061a21;
}
[data-ui-theme="vip"] .vip-weekly-activity-wide .vip-weekly-activity-heading { min-height: 100%; padding-right: 18px; border-right: 1px solid #174b4e; }
[data-ui-theme="vip"] .vip-weekly-activity-wide .vip-weekly-activity-summary { align-self: stretch; margin: 0; }
[data-ui-theme="vip"] .vip-weekly-activity-wide .vip-weekly-activity-ranking { align-self: stretch; margin: 0; padding-left: 18px; border-left: 1px solid #174b4e; }
@media (max-width: 760px) {
  [data-ui-theme="vip"] .vip-campaign-panel > .vip-weekly-activity-wide { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  [data-ui-theme="vip"] .vip-weekly-activity-wide .vip-weekly-activity-heading { min-height: 0; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid #174b4e; }
  [data-ui-theme="vip"] .vip-weekly-activity-wide .vip-weekly-activity-ranking { padding: 12px 0 0; border-top: 1px solid #174b4e; border-left: 0; }
}

/* The member identity label sits on a light hero, so it needs its own readable badge surface. */
[data-ui-theme="member"] .member-hero .member-profile #member-identity-label {
  color: #39769d;
  font-weight: 700;
}
[data-ui-theme="member"] .member-hero .member-profile .member-growth-title {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid #55b9af;
  border-radius: 4px;
  color: #0c6964;
  background: #e7f8f5;
  box-shadow: 0 2px 7px rgb(20 123 115 / .10);
}

/* Keep the profile in the copy column after the member wheel switched to grid placement. */
[data-ui-theme="member"] .member-hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
[data-ui-theme="member"] .member-hero .member-profile {
  position: static;
  flex: 0 0 auto;
  justify-items: end;
}

/* Make the member wheel's idle atmosphere visible before the draw begins. */
[data-ui-theme="member"] .hero-wheel-stage {
  isolation: isolate;
  animation: member-wheel-idle-presence 2.9s ease-in-out infinite;
}
[data-ui-theme="member"] .hero-wheel-stage::before {
  z-index: 0;
  inset: -29px;
  border: 0;
  background: repeating-conic-gradient(from 0deg, rgb(45 212 191 / .94) 0 2deg, transparent 2deg 13deg);
  -webkit-mask: radial-gradient(circle, transparent 0 72%, #000 73% 75%, transparent 76%);
  mask: radial-gradient(circle, transparent 0 72%, #000 73% 75%, transparent 76%);
  opacity: .94;
  animation: member-wheel-orbit 5.8s linear infinite;
  pointer-events: none;
}
[data-ui-theme="member"] .hero-wheel-stage::after {
  z-index: 0;
  inset: -18px;
  border: 1px solid rgb(45 212 191 / .7);
  box-shadow: 0 0 0 6px rgb(45 212 191 / .08), 0 0 27px rgb(45 212 191 / .22);
  opacity: .9;
  pointer-events: none;
}
[data-ui-theme="member"] .member-wheel-instrument {
  inset: -20px;
  border-width: 2px;
  border-color: rgb(45 212 191 / .76);
  background: repeating-conic-gradient(from -2deg, rgb(45 212 191 / .95) 0 1.6deg, transparent 1.6deg 8deg);
  -webkit-mask: radial-gradient(circle, transparent 0 65%, #000 66% 73%, transparent 74%);
  mask: radial-gradient(circle, transparent 0 65%, #000 66% 73%, transparent 74%);
  opacity: .98;
  filter: drop-shadow(0 0 6px rgb(45 212 191 / .55));
  animation-duration: 6.4s;
}
[data-ui-theme="member"] .member-wheel-scan {
  inset: -11px;
  background: conic-gradient(from 0deg, transparent 0 63%, rgb(45 212 191 / .12) 68%, rgb(236 253 245 / .98) 74%, rgb(45 212 191 / .3) 82%, transparent 88%);
  -webkit-mask: radial-gradient(circle, transparent 0 70%, #000 71% 79%, transparent 80%);
  mask: radial-gradient(circle, transparent 0 70%, #000 71% 79%, transparent 80%);
  opacity: .9;
  animation-duration: 4.4s;
}
[data-ui-theme="member"] .hero-wheel-stage[data-lottery-phase="spinning"] {
  animation-duration: .72s;
}
@keyframes member-wheel-idle-presence {
  from { filter: drop-shadow(0 14px 20px rgb(21 85 119 / .14)); transform: translateY(0) scale(1); }
  to { filter: drop-shadow(0 20px 29px rgb(18 190 175 / .36)); transform: translateY(-4px) scale(1.018); }
}
@media (prefers-reduced-motion: reduce) {
  [data-ui-theme="member"] .hero-wheel-stage { animation: none; }
}

/* Zulong's wheel keeps a visible jade circuit at rest and accelerates only during a real draw. */
[data-ui-theme="vip"] .vip-wheel-stage {
  animation: zulong-wheel-idle-presence 3.3s ease-in-out infinite;
}
[data-ui-theme="vip"] .vip-wheel-stage::before {
  position: absolute;
  z-index: 0;
  inset: -27px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #75efd2 0 1.5deg, transparent 1.5deg 11deg, rgb(216 67 78 / .85) 11deg 12deg, transparent 12deg 22deg);
  -webkit-mask: radial-gradient(circle, transparent 0 74%, #000 75% 77%, transparent 78%);
  mask: radial-gradient(circle, transparent 0 74%, #000 75% 77%, transparent 78%);
  box-shadow: 0 0 22px rgb(27 184 154 / .26);
  content: '';
  opacity: .95;
  animation: zulong-wheel-circuit 7.2s linear infinite;
  pointer-events: none;
}
[data-ui-theme="vip"] .vip-wheel-stage::after {
  z-index: 0;
  inset: -14px;
  border-color: rgb(117 239 210 / .62);
  box-shadow: 0 0 0 5px rgb(27 184 154 / .08), 0 0 28px rgb(27 184 154 / .3);
  opacity: .9;
}
[data-ui-theme="vip"] .vip-wheel-aura {
  z-index: 1;
  inset: -18px;
  background: repeating-conic-gradient(from 0deg, rgb(117 239 210 / .95) 0 2deg, transparent 2deg 13deg, rgb(216 67 78 / .78) 13deg 14deg, transparent 14deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 0 71%, #000 72% 76%, transparent 77%);
  mask: radial-gradient(circle, transparent 0 71%, #000 72% 76%, transparent 77%);
  opacity: .94;
  filter: drop-shadow(0 0 7px rgb(117 239 210 / .56));
  animation-duration: 6.4s;
}
[data-ui-theme="vip"] .vip-wheel-scan {
  position: absolute;
  z-index: 2;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 48%, rgb(27 184 154 / .16) 53%, rgb(117 239 210 / .8) 58%, rgb(232 251 244 / .98) 62%, rgb(216 67 78 / .8) 68%, transparent 75%);
  -webkit-mask: radial-gradient(circle, transparent 0 73%, #000 74% 81%, transparent 82%);
  mask: radial-gradient(circle, transparent 0 73%, #000 74% 81%, transparent 82%);
  opacity: .96;
  animation: zulong-wheel-scan 4.6s linear infinite;
  pointer-events: none;
}
[data-ui-theme="vip"] .vip-wheel-rune-ring {
  position: absolute;
  z-index: 3;
  inset: -25px;
  border: 1px solid rgb(117 239 210 / .32);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgb(6 26 33 / .66), 0 0 0 1px rgb(216 67 78 / .24);
  animation: zulong-rune-orbit 16s linear infinite;
  pointer-events: none;
}
[data-ui-theme="vip"] .vip-wheel-rune-ring i {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid #75efd2;
  background: #0b514d;
  box-shadow: 0 0 8px rgb(117 239 210 / .75), inset 0 0 0 2px rgb(6 26 33 / .64);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(1) { top: -6px; left: calc(50% - 6px); }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(2) { top: 13%; right: 13%; }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(3) { top: calc(50% - 6px); right: -6px; }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(4) { right: 13%; bottom: 13%; }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(5) { bottom: -6px; left: calc(50% - 6px); }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(6) { bottom: 13%; left: 13%; }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(7) { top: calc(50% - 6px); left: -6px; }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(8) { top: 13%; left: 13%; }
[data-ui-theme="vip"] .vip-wheel-rune-ring i:nth-child(odd) { border-color: #d8434e; background: #611b29; box-shadow: 0 0 9px rgb(216 67 78 / .76), inset 0 0 0 2px rgb(6 26 33 / .7); }
[data-ui-theme="vip"] .vip-dragon-particles i {
  opacity: .24;
  animation: zulong-dragon-trace 4.8s ease-in-out infinite;
}
[data-ui-theme="vip"] .vip-wheel-stage[data-dragon-phase="spinning"] {
  animation-duration: .78s;
}
[data-ui-theme="vip"] .vip-wheel-stage[data-dragon-phase="spinning"] .vip-wheel-scan {
  animation-duration: .46s;
  opacity: 1;
  filter: drop-shadow(0 0 9px rgb(117 239 210 / .85));
}
[data-ui-theme="vip"] .vip-wheel-stage[data-dragon-phase="spinning"] .vip-wheel-aura {
  animation-duration: .72s;
  opacity: 1;
}
[data-ui-theme="vip"] .vip-wheel-stage[data-dragon-phase="spinning"] .vip-wheel-rune-ring { animation-duration: 2.5s; }
@keyframes zulong-wheel-idle-presence {
  from { filter: drop-shadow(0 17px 24px rgb(0 0 0 / .28)); transform: translateY(0) scale(1); }
  to { filter: drop-shadow(0 22px 34px rgb(27 184 154 / .32)); transform: translateY(-4px) scale(1.016); }
}
@keyframes zulong-wheel-circuit { to { transform: rotate(360deg); } }
@keyframes zulong-wheel-scan { to { transform: rotate(360deg); } }
@keyframes zulong-rune-orbit { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  [data-ui-theme="vip"] .vip-wheel-stage,
  [data-ui-theme="vip"] .vip-wheel-stage::before,
  [data-ui-theme="vip"] .vip-wheel-aura,
  [data-ui-theme="vip"] .vip-wheel-scan,
  [data-ui-theme="vip"] .vip-wheel-rune-ring,
  [data-ui-theme="vip"] .vip-dragon-particles i { animation: none !important; }
}

/* Zunlong VIP admin uses the dragon palette throughout. Crimson is reserved for destructive actions. */
.vip-admin-page { color: #e8fbf4; background: #061a21; }
.vip-admin-page .site-header { border-color: #174b4e; background: #061a21; }
.vip-admin-page .brand { color: #e8fbf4; }
.vip-admin-page .text-link { color: #75efd2; }
.vip-admin-page .vip-admin-back { color: #a9ffea; border-color: #287a72; background: #082b32; }
.vip-admin-page .vip-admin-back:hover { color: #052127; border-color: #75efd2; background: #75efd2; }
.vip-admin-page .intro-copy h1,
.vip-admin-page .admin-heading h1,
.vip-admin-page .panel-heading h2,
.vip-admin-page .prize-editor-heading h3 { color: #e8fbf4; }
.vip-admin-page .eyebrow { color: #1bb89a; }
.vip-admin-page .intro-copy p:not(.eyebrow),
.vip-admin-page .muted,
.vip-admin-page .panel-heading p,
.vip-admin-page .prize-editor-heading p { color: #a8d7cc; }
.vip-admin-page .panel,
.vip-admin-page .table-panel,
.vip-admin-page .campaign-overview { color: #e8fbf4; border-color: #1d5f5c; background: #082127; }
.vip-admin-page .form-panel { border-top-color: #1bb89a; }
.vip-admin-page label { color: #c6e6dc; }
.vip-admin-page input,
.vip-admin-page select { color: #e8fbf4; border-color: #287a72; background: #061a21; }
.vip-admin-page input:focus,
.vip-admin-page select:focus { border-color: #75efd2; box-shadow: 0 0 0 3px rgb(117 239 210 / .14); }
.vip-admin-page input:read-only { color: #8db8ad; background: #06171c; }
.vip-admin-page .button-primary { color: #052127; border-color: #1bb89a; background: #1bb89a; }
.vip-admin-page .button-primary:hover:not(:disabled) { color: #041a1e; border-color: #75efd2; background: #75efd2; }
.vip-admin-page .button-secondary { color: #a9ffea; border-color: #287a72; background: #082127; }
.vip-admin-page .button-secondary:hover:not(:disabled) { color: #052127; border-color: #75efd2; background: #75efd2; }
.vip-admin-page .button-quiet { color: #a8d7cc; border-color: #174b4e; background: #082127; }
.vip-admin-page .button-quiet:hover:not(:disabled) { color: #e8fbf4; border-color: #287a72; background: #0b2d31; }
.vip-admin-page .button-danger { color: #ffdfe0; border-color: #a63b43; background: #611b29; }
.vip-admin-page .button-danger:hover:not(:disabled) { border-color: #ff7f89; background: #812434; }
.vip-admin-page .form-message { color: #ffb2b4; }
.vip-admin-page .form-message.is-success { color: #75efd2; }
.vip-admin-page .member-profile { color: #a8d7cc; }
.vip-admin-page .member-profile strong { color: #e8fbf4; }
.vip-admin-page .overview-grid,
.vip-admin-page .chance-summary-grid,
.vip-admin-page .overview-stat,
.vip-admin-page .chance-stat,
.vip-admin-page .overview-draw-item,
.vip-admin-page .prize-probability,
.vip-admin-page .campaign-actions,
.vip-admin-page .vip-qualification-summary,
.vip-admin-page .vip-qualification-summary > div,
.vip-admin-page .vip-qualification-history,
.vip-admin-page .vip-qualification-history-item,
.vip-admin-page .selection-bar,
.vip-admin-page .table-scroll,
.vip-admin-page th,
.vip-admin-page td { border-color: #174b4e; }
.vip-admin-page .overview-stat span,
.vip-admin-page .overview-stat small,
.vip-admin-page .chance-stat span,
.vip-admin-page .overview-draw-item strong span,
.vip-admin-page .overview-draw-item small,
.vip-admin-page .vip-qualification-summary span,
.vip-admin-page .vip-qualification-history-heading span,
.vip-admin-page .vip-qualification-history-item small,
.vip-admin-page .table-user span { color: #8db8ad; }
.vip-admin-page .overview-stat strong,
.vip-admin-page .chance-stat strong,
.vip-admin-page .overview-recent h3,
.vip-admin-page .overview-draw-item b,
.vip-admin-page .vip-qualification-summary strong,
.vip-admin-page .vip-qualification-history-heading h3,
.vip-admin-page .vip-qualification-kind.is-grant,
.vip-admin-page .record-status.status-pending_issue { color: #75efd2; }
.vip-admin-page .overview-draw-item strong,
.vip-admin-page .prize-label-input,
.vip-admin-page .probability-item b,
.vip-admin-page .vip-qualification-history-item strong,
.vip-admin-page .table-user strong { color: #e8fbf4; }
.vip-admin-page .campaign-picker,
.vip-admin-page .prize-tier { border-color: #174b4e; background: #061a21; }
.vip-admin-page .prize-tier:hover { border-color: #287a72; background: #082b32; }
.vip-admin-page .count-badge,
.vip-admin-page .shared-chance-notice { color: #a9ffea; border-color: #287a72; background: #082b32; }
.vip-admin-page .shared-chance-notice span { color: #a8d7cc; }
.vip-admin-page .vip-qualification-panel { border-color: #287a72; background: #082127; box-shadow: inset 0 1px 0 rgb(117 239 210 / .1), 0 18px 42px rgb(0 0 0 / .2); }
.vip-admin-page .vip-qualification-panel::before { background: #1bb89a; }
.vip-admin-page .vip-qualification-seal { color: #75efd2; border-color: #287a72; background: #082b32; }
.vip-admin-page .vip-qualification-history-item p,
.vip-admin-page .selection-bar { color: #a8d7cc; }
.vip-admin-page .vip-qualification-kind.is-grant { border-color: #287a72; background: rgb(27 184 154 / .1); }
.vip-admin-page .vip-record-summary { border-color: #1d5f5c; color: #e8fbf4; background: #061a21; }
.vip-admin-page .vip-record-summary-heading h2 { color: #e8fbf4; }
.vip-admin-page .vip-record-summary-heading .eyebrow,
.vip-admin-page .vip-record-summary-heading > span,
.vip-admin-page .vip-record-summary-grid strong { color: #75efd2; }
.vip-admin-page .vip-record-summary-grid,
.vip-admin-page .vip-record-summary-grid > div { border-color: #174b4e; }
.vip-admin-page .vip-record-summary-grid span { color: #a8d7cc; }
.vip-admin-page th { color: #a9ffea; background: #082b32; }
.vip-admin-page td { color: #c6e6dc; background: #082127; }
.vip-admin-page tbody tr:hover td { background: #0b2d31; }
.vip-admin-page td input[type="checkbox"],
.vip-admin-page th input[type="checkbox"] { accent-color: #1bb89a; }
.vip-admin-page .record-status.status-pending_issue { border-color: #287a72; background: rgb(27 184 154 / .1); }
.vip-admin-page .record-status.status-issued { color: #a9ffea; border-color: #287a72; background: rgb(27 184 154 / .1); }
.vip-admin-page .confirm-dialog { color: #e8fbf4; border-color: #287a72; background: #082127; }
.vip-admin-page .dialog-summary { color: #a8d7cc; }
.vip-admin-page .issue-progress { border-color: #287a72; background: #061a21; }
.vip-admin-page .issue-progress-spinner { border-color: #174b4e; border-top-color: #75efd2; }
.vip-admin-page .issue-progress-copy strong { color: #a9ffea; }
.vip-admin-page .issue-progress-copy span { color: #a8d7cc; }
.vip-admin-page .issue-progress-track { background: #174b4e; }
.vip-admin-page .issue-progress-track span { background: #1bb89a; }
.vip-admin-page .issue-progress.is-success .issue-progress-spinner::before { color: #052127; background: #75efd2; }

/* Final login rollback: preserve the earlier two-column login, not the artwork overlay. */
@media (min-width: 721px) {
  body:has(#login-view:not(.is-hidden)) .site-header { display: flex !important; }
  body:has(#login-view:not(.is-hidden)) .page-shell { min-height: 0 !important; }
  #login-view.auth-layout:not(.is-hidden) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.06fr) minmax(460px, .94fr) !important;
    min-height: calc(100vh - 70px) !important;
    background: #073f43 !important;
  }
  #login-view.auth-layout:not(.is-hidden) .auth-brand-panel {
    display: block !important;
    animation: login-brand-enter 520ms cubic-bezier(.22, .72, .24, 1) both !important;
  }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    align-content: start !important;
    gap: 14px !important;
    width: auto !important;
    min-height: 0 !important;
    padding: clamp(32px, 7vh, 72px) clamp(38px, 7.5vw, 124px) 30px clamp(68px, 9vw, 156px) !important;
    background: #fbfaf6 !important;
    overflow: visible !important;
    animation: login-account-enter 560ms cubic-bezier(.22, .72, .24, 1) 90ms both !important;
  }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel::after { display: block !important; }
  #login-view.auth-layout:not(.is-hidden) .login-form-heading { display: flex !important; }
  #login-view.auth-layout:not(.is-hidden) .login-register-entry { display: block !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel > label {
    position: static !important;
    display: grid !important;
    width: auto !important;
    margin: 0 !important;
    gap: 10px !important;
    color: #1d464a !important;
    font-size: 15px !important;
    line-height: normal !important;
  }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel > label > input,
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel > label > .password-field > input { position: static !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel > label > .password-field { position: relative !important; display: block !important; width: 100% !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel input {
    height: auto !important;
    min-height: 50px !important;
    padding: 0 14px !important;
    border: 1px solid #bfd6d1 !important;
    border-radius: 6px !important;
    color: #123f45 !important;
    background: #fffefa !important;
    font-size: 15px !important;
  }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .password-field { position: relative !important; display: block !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .password-field > input { padding-right: 46px !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .password-visibility-button { position: absolute !important; top: 50% !important; right: 7px !important; bottom: auto !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-options { position: static !important; display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: center !important; width: auto !important; margin-top: 2px !important; padding: 8px 0 2px !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-options > a { color: inherit !important; font-size: 13px !important; white-space: nowrap !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-remember-control { position: static !important; display: inline-flex !important; width: max-content !important; height: auto !important; min-width: max-content !important; min-height: 17px !important; align-items: center !important; gap: 8px !important; color: inherit !important; font-size: 13px !important; white-space: nowrap !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-remember-control > span { display: block !important; white-space: nowrap !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-remember-control input { position: static !important; width: 17px !important; height: 17px !important; min-height: 17px !important; padding: 0 !important; opacity: 1 !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-remember-control input { appearance: auto !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-remember-control::before { display: none !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-winner-feed {
    display: grid !important;
    gap: 10px !important;
    margin-top: clamp(72px, 12vh, 146px) !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #d9e7e3 !important;
    color: #315c5f !important;
    animation: login-winner-feed-enter 420ms cubic-bezier(.22, .72, .24, 1) 280ms both !important;
  }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-heading { display: flex !important; align-items: center !important; gap: 8px !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-heading span { padding: 3px 6px !important; border-radius: 3px !important; color: #fff !important; background: #0d9488 !important; font-size: 10px !important; font-weight: 800 !important; line-height: 1 !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-heading strong { color: #1d464a !important; font-size: 13px !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-window { width: 100% !important; overflow: hidden !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-list { display: flex !important; width: max-content !important; min-width: 100% !important; align-items: center !important; gap: 28px !important; white-space: nowrap !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-list.is-scrolling { animation: login-winner-marquee 30s linear infinite !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-window:hover .login-winner-feed-list { animation-play-state: paused !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-item,
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-empty { color: #52706f !important; font-size: 12px !important; }
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-item::before { display: inline-block !important; width: 6px !important; height: 6px !important; margin-right: 8px !important; border-radius: 50% !important; background: #f26a55 !important; content: '' !important; vertical-align: middle !important; }
  #login-view.auth-layout:not(.is-hidden) #login-error { position: static !important; width: auto !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-submit-button {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 54px !important;
    margin-top: 3px !important;
    border: 1px solid #ef7259 !important;
    border-radius: 6px !important;
    color: #fff9e9 !important;
    background: linear-gradient(100deg, #e95745, #fb8065) !important;
    box-shadow: 0 12px 23px rgb(220 85 61 / .22) !important;
    font-size: 16px !important;
  }
}

@keyframes login-brand-enter {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes login-account-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes login-winner-feed-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes login-winner-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-height: 780px) and (min-width: 721px) {
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-winner-feed { margin-top: 36px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed-list { animation: none !important; }
  #login-view.auth-layout:not(.is-hidden) .auth-brand-panel,
  #login-view.auth-layout:not(.is-hidden) .auth-account-panel,
  #login-view.auth-layout:not(.is-hidden) .login-winner-feed { animation: none !important; }
}

/* Final interaction refinement: affirm login, compress daily status, and carry a new draw into the live feed. */
#login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-submit-button {
  transition: transform 160ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease !important;
}

#login-view.auth-layout:not(.is-hidden) .auth-account-panel .login-submit-button:active:not(:disabled) {
  transform: translateY(1px) scale(.985) !important;
  box-shadow: 0 5px 12px rgb(220 85 61 / .2) !important;
}

#login-view.auth-layout:not(.is-hidden) #login-form.is-submitting .login-submit-button {
  filter: saturate(.82) brightness(.97);
  transform: scale(.99);
}

#login-view.auth-layout:not(.is-hidden) #login-form.login-form-success .login-submit-button {
  border-color: #13877e !important;
  background: linear-gradient(100deg, #0f766e, #21a392) !important;
  box-shadow: 0 13px 27px rgb(15 118 110 / .28) !important;
}

#login-view.auth-layout:not(.is-hidden) #login-form.login-form-success .login-submit-button::before {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #0f766e;
  background: #e5fff9;
  content: '\2713';
  font-size: 12px;
  font-weight: 900;
  animation: login-success-pulse 560ms cubic-bezier(.22, .72, .24, 1) both;
}

@keyframes login-success-pulse {
  0% { opacity: 0; transform: scale(.45); }
  68% { opacity: 1; transform: scale(1.16); }
  100% { opacity: 1; transform: scale(1); }
}

/* A brief confirmation handoff makes successful sign-in feel intentional without delaying entry. */
#login-view.auth-layout.is-login-handoff:not(.is-hidden) .auth-brand-panel {
  animation: login-brand-handoff 420ms cubic-bezier(.22, .72, .24, 1) both !important;
}

#login-view.auth-layout.is-login-handoff:not(.is-hidden) .auth-account-panel {
  animation: login-account-handoff 420ms cubic-bezier(.22, .72, .24, 1) both !important;
}

#login-view.auth-layout.is-login-handoff:not(.is-hidden) .login-winner-feed {
  animation: login-feed-handoff 300ms ease both !important;
}

@keyframes login-brand-handoff {
  to { opacity: 0; transform: translateX(-18px); }
}

@keyframes login-account-handoff {
  to { opacity: 0; transform: translateY(-12px); }
}

@keyframes login-feed-handoff {
  to { opacity: 0; transform: translateY(6px); }
}

[data-ui-theme="member"] .member-main-stack { gap: 22px; }

[data-ui-theme="member"] .member-daily-status {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #d5e6e7;
  border-radius: 8px;
  padding: 0;
  background: #fafdfe;
  box-shadow: 0 10px 24px rgb(22 88 95 / .06);
}

[data-ui-theme="member"] .member-daily-status > div {
  min-height: 90px;
  padding: 15px 16px;
  border-left: 1px solid #e0ecec;
}

[data-ui-theme="member"] .member-daily-status > div:first-child { border-left: 0; }
[data-ui-theme="member"] .member-daily-status span { color: #54737b; font-size: 12px; }
[data-ui-theme="member"] .member-daily-status strong { color: #164957; font-size: 18px; }
[data-ui-theme="member"] .member-daily-status small { color: #718b91; font-size: 11px; }

.recent-draw-item.is-current-result {
  position: relative;
  margin: 4px -8px;
  border: 1px solid #82d6ce;
  border-radius: 6px;
  padding: 10px 8px;
  background: linear-gradient(90deg, #ecfbf8, #f7fffd);
  box-shadow: 0 7px 18px rgb(13 148 136 / .12);
  animation: recent-draw-sync 640ms cubic-bezier(.2, .75, .25, 1) both;
}

.recent-draw-item.is-current-result::after {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #0b756d;
  content: '刚刚抽中';
  font-size: 10px;
  font-weight: 800;
}

.recent-draw-item.is-current-result b { padding-right: 52px; }

@keyframes recent-draw-sync {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  [data-ui-theme="member"] .member-main-stack { gap: 18px; }
  [data-ui-theme="member"] .member-daily-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-ui-theme="member"] .member-daily-status > div:nth-child(odd) { border-left: 0; }
  [data-ui-theme="member"] .member-daily-status > div:nth-child(n + 3) { border-top: 1px solid #e0ecec; }
}

@media (prefers-reduced-motion: reduce) {
  #login-view.auth-layout:not(.is-hidden) #login-form.login-form-success .login-submit-button::before,
  #login-view.auth-layout.is-login-handoff:not(.is-hidden) .auth-brand-panel,
  #login-view.auth-layout.is-login-handoff:not(.is-hidden) .auth-account-panel,
  #login-view.auth-layout.is-login-handoff:not(.is-hidden) .login-winner-feed,
  .recent-draw-item.is-current-result { animation: none !important; }
}

/* Five-draw keeps repeated participation compact while preserving every confirmed result. */
.five-draw-button {
  display: inline-grid;
  min-width: 108px;
  min-height: 46px;
  align-content: center;
  gap: 1px;
  padding: 7px 13px;
  border-style: dashed;
  text-align: left;
}
.five-draw-button strong { font-size: 13px; line-height: 1.1; }
.five-draw-button small { opacity: .72; font-size: 10px; line-height: 1.1; }
.five-draw-button:disabled { opacity: .5; cursor: not-allowed; }
.five-draw-summary {
  margin-top: 14px;
  border: 1px solid #b8dce0;
  border-radius: 6px;
  padding: 13px;
  background: #f8fdfd;
  box-shadow: 0 10px 22px rgb(14 116 111 / .07);
}
.five-draw-summary-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #d9ebeb; }
.five-draw-summary-heading span { display: block; color: #16837a; font-size: 10px; font-weight: 800; }
.five-draw-summary-heading strong { display: block; margin-top: 2px; color: #164b55; font-size: 15px; }
.five-draw-summary-heading > small { color: #637e82; font-size: 10px; text-align: right; }
.five-draw-summary ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin: 11px 0 0; padding: 0; list-style: none; }
.five-draw-summary li { display: grid; gap: 5px; min-width: 0; padding: 9px; border: 1px solid #d6e8e8; border-radius: 4px; background: #ffffff; }
.five-draw-summary li > b { color: #5a9490; font-size: 10px; }
.five-draw-summary li > strong { min-height: 2.5em; color: #1a4d55; font-size: 11px; line-height: 1.25; overflow-wrap: anywhere; }
.five-draw-summary li > span { font-size: 10px; font-weight: 700; }
.five-draw-summary .is-issued { color: #128176; }
.five-draw-summary .is-manual { color: #a1661c; }
[data-ui-theme="vip"] .vip-five-draw-button { border-color: #287a72; color: #a9ffea; background: #082b32; }
[data-ui-theme="vip"] .vip-five-draw-button:hover:not(:disabled) { border-color: #75efd2; color: #052127; background: #75efd2; }
[data-ui-theme="vip"] .vip-five-draw-summary { border-color: #1d5f5c; background: #061a21; box-shadow: 0 14px 26px rgb(0 0 0 / .26); }
[data-ui-theme="vip"] .vip-five-draw-summary .five-draw-summary-heading { border-bottom-color: #174b4e; }
[data-ui-theme="vip"] .vip-five-draw-summary-heading span { color: #d8434e; }
[data-ui-theme="vip"] .vip-five-draw-summary-heading strong { color: #e8fbf4; }
[data-ui-theme="vip"] .vip-five-draw-summary-heading > small { color: #a8d7cc; }
[data-ui-theme="vip"] .vip-five-draw-summary li { border-color: #174b4e; background: #082b32; }
[data-ui-theme="vip"] .vip-five-draw-summary li > b { color: #75efd2; }
[data-ui-theme="vip"] .vip-five-draw-summary li > strong { color: #e8fbf4; }

/* Keep the dense Zulong command row readable when post-draw tools are visible. */
[data-ui-theme="vip"] .vip-draw-actions {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
[data-ui-theme="vip"] .vip-draw-actions > div:first-child { align-self: center; }
[data-ui-theme="vip"] .vip-draw-actions > div:first-child p,
[data-ui-theme="vip"] .vip-draw-actions > div:first-child strong { white-space: nowrap; }
[data-ui-theme="vip"] .vip-draw-action-buttons {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
[data-ui-theme="vip"] .vip-weekly-activity-wide .vip-weekly-activity-heading {
  display: grid;
  align-content: start;
  gap: 10px;
}
[data-ui-theme="vip"] .vip-weekly-activity-wide .vip-weekly-activity-heading-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .five-draw-button { min-width: 98px; }
  .five-draw-summary ol { grid-template-columns: 1fr; }
  .five-draw-summary li { grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; }
  .five-draw-summary li > strong { min-height: 0; }
  .five-draw-summary-heading { align-items: flex-start; flex-direction: column; }
  .five-draw-summary-heading > small { text-align: left; }
}

/* Ordinary member A: a bright green event stage with stronger information rhythm. */
[data-ui-theme="member"] body { background: #f4f8f8; }
[data-ui-theme="member"] .page-shell { position: relative; }
[data-ui-theme="member"] .member-hero {
  border-color: #128a83;
  background: linear-gradient(118deg, #0f766e 0%, #0b7285 55%, #b8f2e6 100%);
  box-shadow: 0 22px 42px rgb(8 83 90 / .2);
}
[data-ui-theme="member"] .member-hero::before {
  background-image: linear-gradient(rgb(255 255 255 / .12) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .09) 1px, transparent 1px);
  opacity: .68;
}
[data-ui-theme="member"] .member-hero::after {
  right: 10%;
  border-color: rgb(238 255 252 / .62);
  box-shadow: 0 0 0 38px rgb(192 251 238 / .14), 0 0 0 76px rgb(98 220 232 / .12);
}
[data-ui-theme="member"] .member-hero .member-profile { padding: 9px 11px; border: 1px solid rgb(224 255 249 / .35); border-radius: 6px; background: rgb(1 57 64 / .17); }
[data-ui-theme="member"] .member-hero .status-chip { color: #e9fffb; background: rgb(2 63 64 / .34); }
[data-ui-theme="member"] .member-hero .count-badge { color: #fff6d4; background: rgb(142 71 10 / .34); }
[data-ui-theme="member"] .hero-draw-button { color: #083a42; background: #b9f7eb; border-color: #b9f7eb; box-shadow: 0 10px 22px rgb(2 72 76 / .22); }
[data-ui-theme="member"] .hero-draw-button:hover { color: #062e36; background: #e9fff9; border-color: #e9fff9; }
[data-ui-theme="member"] .member-topup-button { border-color: rgb(232 255 249 / .62); background: rgb(1 59 65 / .31); }
[data-ui-theme="member"] .hero-wheel-stage::before { border-color: rgb(231 255 250 / .85); }
[data-ui-theme="member"] .hero-wheel-stage .prize-wheel { box-shadow: 0 18px 34px rgb(4 59 69 / .38), inset 0 0 0 1px rgb(255 255 255 / .36); }

[data-ui-theme="member"] .member-daily-status { border-color: #c8e4e4; background: #fbffff; box-shadow: 0 14px 28px rgb(11 97 105 / .08); }
[data-ui-theme="member"] .member-daily-status > div:first-child { background: #f2fffb; }
[data-ui-theme="member"] .member-daily-status > div:nth-child(2) { background: #f3fbff; }
[data-ui-theme="member"] .member-daily-status > div:nth-child(3) { background: #fffbf1; }
[data-ui-theme="member"] .member-daily-status > div:nth-child(4) { background: #fff6f1; }
[data-ui-theme="member"] .member-daily-status > div:nth-child(2) strong { color: #176d91; }
[data-ui-theme="member"] .member-daily-status > div:nth-child(3) strong { color: #9a6b14; }
[data-ui-theme="member"] .member-daily-status > div:nth-child(4) strong { color: #a54f39; }

[data-ui-theme="member"] .member-badge-wall { position: relative; overflow: hidden; border: 1px solid #cfe5e5; background: linear-gradient(90deg, #f7fffe, #eef8ff); box-shadow: 0 12px 26px rgb(14 107 111 / .06); }
[data-ui-theme="member"] .member-badge-wall::after { position: absolute; top: 0; right: 0; width: 170px; height: 100%; border-left: 1px solid rgb(45 212 191 / .19); background: linear-gradient(135deg, transparent 20%, rgb(94 234 212 / .13)); content: ''; pointer-events: none; }
[data-ui-theme="member"] .member-badge-wall > * { position: relative; z-index: 1; }
[data-ui-theme="member"] .member-badge-list > *:nth-child(2n) { border-color: #cce6f0; background: #f3fbff; }
[data-ui-theme="member"] .member-badge-list > *:nth-child(3n) { border-color: #f0dfb5; background: #fffdf5; }

[data-ui-theme="member"] .recent-draws-panel { overflow: hidden; border-top: 3px solid #0d9488; background: #ffffff; box-shadow: 0 16px 30px rgb(9 72 80 / .09); }
[data-ui-theme="member"] .recent-draws-panel .panel-heading { margin: -1px -1px 0; padding: 17px 18px; color: #eafff8; background: #0d4b52; }
[data-ui-theme="member"] .recent-draws-panel .panel-heading h2, [data-ui-theme="member"] .recent-draws-panel .panel-heading p { color: inherit; }
[data-ui-theme="member"] .recent-draws-panel .panel-heading::after { top: 19px; right: 18px; background: #8effdf; box-shadow: 0 0 0 5px rgb(142 255 223 / .15); }
[data-ui-theme="member"] .recent-draw-list { padding: 4px 12px 12px; }
[data-ui-theme="member"] .recent-draw-item:hover { background: #edfdfa; }

[data-ui-theme="member"] .weekly-activity-panel { border-color: #d9e7f0; background: #fbfdff; box-shadow: 0 12px 26px rgb(33 88 130 / .07); }
[data-ui-theme="member"] .weekly-activity-panel .panel-heading { padding-bottom: 14px; border-bottom-color: #dce8ef; }
[data-ui-theme="member"] .weekly-activity-panel .quiet-label { color: #477b96; background: #edf7fc; }
[data-ui-theme="member"] .member-prizes-panel { border-top: 3px solid #e0a934; background: #fffefd; }

/* The event stage uses a dark background, so it must not inherit the retired light-surface text palette. */
[data-ui-theme="member"] .member-hero h1 { color: #f4fffc; }
[data-ui-theme="member"] .member-hero-window,
[data-ui-theme="member"] .member-hero-description { color: #d8fffa; }
[data-ui-theme="member"] .member-hero .member-profile,
[data-ui-theme="member"] .member-hero .member-profile strong { color: #edfffa; }
[data-ui-theme="member"] .member-hero .member-profile #member-identity-label { color: #c8fff1; }
[data-ui-theme="member"] .member-hero .member-profile .member-growth-title { border-color: rgb(200 255 241 / .62); color: #effffb; background: rgb(1 71 74 / .62); }
[data-ui-theme="member"] .member-topup-button { border-color: rgb(205 255 244 / .72); color: #effffb; background: rgb(1 74 78 / .54); }
[data-ui-theme="member"] .member-topup-button small { color: #c8fff1; }
[data-ui-theme="member"] .hero-draw-message,
[data-ui-theme="member"] .experience-state { color: #c8fff1; }

/* A single low-contrast atlas ties the activity panels together without competing with their content. */
body:has(#member-view:not(.is-hidden)) {
  background-color: #f2faf8;
  background-image: url('/assets/member-event-atlas.png');
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 2048px auto;
  background-attachment: fixed;
}

body:has(#member-view:not(.is-hidden)) .site-header {
  background: rgb(250 255 254 / .84);
  backdrop-filter: blur(10px);
}

@media (max-width: 720px) {
  [data-ui-theme="member"] .member-hero { background: linear-gradient(158deg, #0f766e 0%, #0b7285 62%, #7ddfda 100%); }
  [data-ui-theme="member"] .member-hero .member-profile { background: rgb(1 57 64 / .24); }
  [data-ui-theme="member"] .recent-draws-panel .panel-heading { padding: 15px 16px; }
  body:has(#member-view:not(.is-hidden)) { background-attachment: scroll; background-size: auto 900px; }
}
