:root {
  color: #17191d;
  background: #eef2f6;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  --ink: #202224;
  --ink-strong: #102438;
  --muted: #8b929c;
  --soft: #f3f4f6;
  --cyan: #16c7f4;
  --blue: #087ef8;
  --blue-dark: #066fcf;
  --navy: #101d29;
  --page: #f4f7fa;
  --surface: #fff;
  --surface-soft: #f4f7f9;
  --border: #e2e9ef;
  --border-strong: #cedce7;
  --success: #128456;
  --warning: #9a680d;
  --danger: #bf4054;
  --radius-sm: 11px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 6px 18px rgba(22, 45, 65, .055);
  --shadow-md: 0 13px 34px rgba(22, 45, 65, .085);
  --shadow-lg: 0 22px 56px rgba(18, 39, 58, .13);
  --focus-ring: 0 0 0 4px rgba(8, 126, 248, .16);
  --ease-ui: cubic-bezier(.2, .75, .25, 1);
  --gradient: linear-gradient(110deg, var(--cyan), var(--blue));
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 320px; line-height: 1.45; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
::selection { color: #fff; background: #087ef8; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

#app {
  width: min(100%, 750px);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 70px rgba(26, 38, 55, .08);
}

.icon-btn {
  width: 44px;
  height: 44px;
  padding: 10px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(22, 35, 50, .06);
  border-radius: 14px;
}
.icon-btn.muted { opacity: 0; pointer-events: none; }
.user-header { height: 76px; padding: 16px 20px; display: flex; justify-content: space-between; position: relative; z-index: 2; }
.header-actions { display: flex; gap: 8px; }

.auth-page { min-height: 100vh; position: relative; background: #fff; }
.auth-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-content { position: relative; z-index: 1; padding: 26px clamp(22px, 7vw, 54px) 36px; }
.welcome { display: flex; align-items: center; gap: 18px; margin: 18px 0 38px; }
.welcome img { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 14px 30px rgba(30, 35, 45, .16); }
.welcome h1 { font-size: clamp(30px, 7vw, 48px); margin: 0 0 4px; letter-spacing: -1.5px; }
.welcome p { margin: 0; color: #686f79; font-size: 16px; }
.welcome.small h1 { font-size: clamp(24px, 6vw, 36px); }
.welcome.small img { width: 66px; height: 66px; border-radius: 19px; }
.reset-content { padding-top: 6px; }
.auth-card { padding: clamp(22px, 5vw, 34px); border-radius: 28px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 65px rgba(42, 62, 90, .11); backdrop-filter: blur(18px); }
.field-label { display: block; font-size: 14px; font-weight: 650; margin: 0 0 10px 4px; }
.input-shell { height: 58px; display: flex; align-items: center; padding: 0 16px; margin-bottom: 21px; background: rgba(35, 35, 35, .045); border: 1px solid transparent; border-radius: 16px; transition: .2s; }
.input-shell:focus-within { background: #fff; border-color: #111; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.input-shell input { width: 100%; min-width: 0; border: 0; outline: 0; color: #17191d; background: transparent; font-size: 15px; }
.input-shell input::placeholder { color: #a7adb5; }
.country-code { flex: 0 0 auto; padding: 8px 13px 8px 0; margin-right: 12px; color: #202224; background: transparent; border-right: 1px solid #dcdfe3; }
.country-code span { padding: 0 3px; }
.input-icon { padding: 8px; margin-right: -8px; color: #7d8590; background: transparent; }
.input-icon svg { width: 22px; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -3px 1px 27px; font-size: 13px; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { display: none; }
.check span { width: 19px; height: 19px; display: inline-grid; place-items: center; border: 1.5px solid #aeb4bb; border-radius: 6px; }
.check input:checked + span { border-color: #0f9ff9; background: var(--gradient); }
.check input:checked + span::after { content: "✓"; color: #fff; font-size: 12px; }
.text-button, .auth-switch button { padding: 0; color: #111; font-weight: 650; background: none; }
.primary-button { width: 100%; min-height: 56px; border-radius: 16px; color: #fff; font-weight: 750; background: var(--gradient); box-shadow: 0 12px 28px rgba(8, 126, 248, .24); }
.primary-button:disabled { cursor: wait; opacity: .58; }
.auth-switch { color: #8b929c; text-align: center; font-size: 13px; margin: 22px 0 0; }
.download { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px auto 0; color: #3e444c; background: transparent; font-weight: 650; }
.download span { width: 25px; height: 25px; display: grid; place-items: center; color: #fff; background: #242628; border-radius: 50%; }
.verify-tabs { display: flex; padding: 4px; margin-bottom: 21px; background: #f1f2f4; border-radius: 14px; }
.verify-tabs button { flex: 1; padding: 10px 6px; color: #858b94; background: transparent; border-radius: 11px; font-size: 12px; }
.verify-tabs .active { color: #fff; background: #252628; }
.code-button { flex: 0 0 auto; padding: 8px 0 8px 12px; color: #098cf8; background: none; font-size: 13px; font-weight: 700; }
.auth-success { display: flex; flex-direction: column; gap: 4px; padding: 13px 15px; margin-bottom: 20px; color: #176a48; background: #e8f8f0; border: 1px solid #caefdc; border-radius: 13px; }
.auth-success strong { font-size: 13px; }.auth-success span { font-size: 10px; }

#app.registration-wide { width: min(calc(100% - 32px),1120px); max-width: 1120px; overflow: visible; }
#app.registration-wide .auth-page { height: auto; min-height: calc(100vh - 48px); }
.registration-content { position: relative; z-index: 1; padding: 6px clamp(22px,5vw,58px) 55px; }
.registration-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.registration-heading .welcome { margin: 5px 0 25px; }
.registration-progress { display: flex; align-items: center; gap: 7px; }
.registration-progress span { width: 25px; height: 25px; display: grid; place-items: center; color: #fff; background: #17202a; border-radius: 50%; font-size: 9px; font-weight: 800; }
.registration-progress span:first-child { background: #078df8; box-shadow: 0 0 0 5px rgba(7,141,248,.1); }
.registration-progress i { width: 34px; height: 1px; background: #cdd5dd; }
.registration-card { padding: clamp(24px,4vw,42px); background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.95); border-radius: 28px; box-shadow: 0 28px 70px rgba(36,56,80,.12); backdrop-filter: blur(20px); }
.registration-intro { display: flex; align-items: start; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid #e8edf1; }
.registration-intro > div > span { color: #078df8; font-size: 9px; font-weight: 850; letter-spacing: 1.5px; }
.registration-intro h2 { margin: 6px 0 6px; font-size: 25px; letter-spacing: -.7px; }
.registration-intro p { margin: 0; color: #87929d; font-size: 11px; }
.registration-intro > b { color: #e9eef2; font-size: 52px; line-height: 1; }
.referral-invite { display: grid; gap: 4px; margin-top: 18px; padding: 14px 16px; background: #f2f8fe; border: 1px solid #dceefe; border-radius: 12px; }
.referral-invite > span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.referral-invite > strong { color: #17202a; font-size: 14px; letter-spacing: 1.4px; line-height: 1.3; }
.referral-invite > small { color: #7f8c98; font-size: 9px; line-height: 1.45; }
.registration-card fieldset { padding: 25px 0; margin: 0; border: 0; border-bottom: 1px solid #e8edf1; }
.registration-card legend { width: 100%; display: flex; align-items: center; gap: 11px; padding: 0 0 18px; }
.registration-card legend > span { width: 29px; height: 29px; display: grid; place-items: center; color: #078df8; background: #e8f4ff; border-radius: 9px; font-size: 9px; font-weight: 850; }
.registration-card legend div { display: flex; flex-direction: column; gap: 3px; }
.registration-card legend strong { font-size: 13px; }.registration-card legend small { color: #939da7; font-size: 9px; }
.registration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.registration-grid label { color: #525f6b; font-size: 10px; font-weight: 700; }
.registration-grid input,.registration-grid select { width: 100%; height: 45px; display: block; margin-top: 7px; padding: 0 14px; color: #25313d; background: #f3f5f7; border: 1px solid transparent; border-radius: 12px; outline: none; font-size: 11px; font-weight: 500; transition: .2s; }
.registration-grid input:focus,.registration-grid select:focus { background: #fff; border-color: #078df8; box-shadow: 0 6px 20px rgba(7,141,248,.08); }
.registration-grid label > small { display: block; margin: 5px 0 0 3px; color: #98a3ad; font-size: 8px; font-weight: 400; }
.international-phone { height: 45px; display: flex; align-items: center; margin-top: 7px; overflow: hidden; background: #f3f5f7; border: 1px solid transparent; border-radius: 12px; transition: .2s; }
.international-phone:focus-within { background: #fff; border-color: #078df8; box-shadow: 0 6px 20px rgba(7,141,248,.08); }
.international-phone > select { align-self: stretch; width: 92px; height: 43px; flex: 0 0 92px; margin: 0; padding: 0 24px 0 10px; color: #1f2d39; background-color: #e7ebef; border: 0; border-right: 1px solid #d8dee4; border-radius: 0; outline: none; font-size: 11px; font-weight: 750; cursor: pointer; box-shadow: none; }
.registration-grid .international-phone input { height: 43px; margin: 0; padding: 0 13px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.registration-consent { display: flex; align-items: flex-start; gap: 10px; padding: 20px 1px; cursor: pointer; }
.registration-consent input { display: none; }
.registration-consent > span { flex: 0 0 auto; width: 19px; height: 19px; display: grid; place-items: center; border: 1.5px solid #aeb7c0; border-radius: 6px; }
.registration-consent input:checked + span { background: #078df8; border-color: #078df8; }
.registration-consent input:checked + span::after { content: "✓"; color: #fff; font-size: 11px; }
.registration-consent p { margin: 1px 0 0; color: #727e89; font-size: 10px; line-height: 1.5; }
.registration-consent p button { display: inline; padding: 0; color: #078df8; background: transparent; font: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.registration-footer { display: flex; justify-content: flex-end; gap: 12px; }
.registration-footer .secondary-button { min-width: 140px; color: #33404d; background: #edf1f4; }
.registration-footer .primary-button { width: auto; min-width: 230px; padding: 0 22px; }
.registration-footer .primary-button span { margin-left: 8px; }

.dashboard { height: 100vh; display: flex; flex-direction: column; background: #fff; }
.dashboard-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(18px, 5vw, 34px) 12px; background: rgba(255,255,255,.94); z-index: 5; }
.profile-mini { display: flex; align-items: center; gap: 13px; }
.profile-mini img { width: 48px; height: 48px; object-fit: cover; border-radius: 15px; }
.profile-mini div { display: flex; flex-direction: column; }
.profile-mini span { font-size: 12px; color: #848b95; }
.profile-mini strong { font-size: 16px; margin-top: 3px; }
.dashboard-header .icon-btn { position: relative; }
.dashboard-header .icon-btn i { position: absolute; width: 7px; height: 7px; top: 9px; right: 9px; background: #ff4d5b; border: 2px solid #fff; border-radius: 50%; }
.notification-trigger { position: relative; overflow: visible; }
.notification-trigger.has-unread { color: #087ef8; background: #eef7ff; border-color: #cce8ff; }
.notification-count { min-width: 18px; height: 18px; position: absolute; top: -5px; right: -5px; display: grid; place-items: center; padding: 0 5px; color: #fff; background: #ef4056; border: 2px solid #fff; border-radius: 20px; font-size: 8px; font-weight: 850; line-height: 1; box-shadow: 0 4px 12px rgba(239,64,86,.3); }
.notification-count[hidden] { display: none; }
.notification-center { position: fixed; z-index: 220; inset: 0; }
.notification-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(8,20,31,.42); backdrop-filter: blur(5px); animation: notification-fade-in .18s ease-out both; }
.notification-panel { width: min(430px,100%); height: 100dvh; position: absolute; top: 0; right: 0; display: flex; flex-direction: column; overflow: hidden; background: #f6f9fb; border-left: 1px solid rgba(255,255,255,.72); box-shadow: -24px 0 70px rgba(13,31,48,.2); animation: notification-panel-in .28s cubic-bezier(.2,.85,.25,1) both; }
.notification-panel > header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: max(22px,env(safe-area-inset-top)) 22px 18px; color: #fff; background: linear-gradient(125deg,#162432,#087ef8 72%,#17bfe8); }
.notification-panel > header span { color: #aeeaff; font-size: 8px; font-weight: 850; letter-spacing: 1.4px; }
.notification-panel > header h2 { margin: 5px 0 0; font-size: 25px; letter-spacing: -.6px; }
.notification-panel > header button { width: 44px; height: 44px; flex: 0 0 auto; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; font-size: 25px; line-height: 1; }
.notification-summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 18px; background: #fff; border-bottom: 1px solid #e7edf2; }
.notification-summary span { color: #687784; font-size: 10px; }
.notification-summary button { min-height: 38px; padding: 0 10px; color: #087ef8; background: #eaf5ff; border-radius: 10px; font-size: 9px; font-weight: 800; }
.notification-summary button:disabled { color: #9aa6b0; background: #f0f3f5; cursor: default; }
.notification-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px max(18px,env(safe-area-inset-bottom)); scrollbar-width: thin; }
.notification-entry { width: 100%; min-height: 92px; display: grid; grid-template-columns: 44px minmax(0,1fr) 8px; align-items: start; gap: 11px; padding: 14px; margin-bottom: 9px; color: #24313c; text-align: left; background: #fff; border: 1px solid #e4ebf0; border-radius: 16px; box-shadow: 0 7px 22px rgba(33,56,74,.045); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.notification-entry:hover { border-color: #c9dcea; box-shadow: 0 10px 26px rgba(33,56,74,.08); transform: translateY(-1px); }
.notification-entry.unread { background: linear-gradient(105deg,#fff,#f2f9ff); border-color: #c5e5ff; }
.notification-entry-icon { width: 44px; height: 44px; display: grid; place-items: center; color: #087ef8; background: #e8f5ff; border-radius: 13px; font-size: 17px; font-style: normal; font-weight: 850; }
.notification-entry-icon.welcome { color: #9b6a07; background: #fff3cf; }
.notification-entry-icon.withdrawal_success { color: #7652d4; background: #eee9ff; }
.notification-entry-icon.referral_deposit_success { color: #0b8856; background: #dcf7e9; }
.notification-entry-icon.status_change { color: #0b6c91; background: #dff6fb; }
.notification-entry-copy { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.notification-entry-copy > span { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.notification-entry-copy b { font-size: 11px; line-height: 1.35; }
.notification-entry-copy time { flex: 0 0 auto; color: #95a1ab; font-size: 7px; white-space: nowrap; }
.notification-entry-copy small { color: #6f7d89; font-size: 9px; line-height: 1.55; }
.notification-entry > em { width: 7px; height: 7px; align-self: center; background: #078df8; border-radius: 50%; box-shadow: 0 0 0 4px rgba(7,141,248,.1); }
.notification-empty { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; color: #7e8b96; text-align: center; }
.notification-empty svg { width: 38px; height: 38px; padding: 8px; color: #6d7e8c; background: #e8edf1; border-radius: 13px; }
.notification-empty strong { margin-top: 14px; color: #24313c; font-size: 15px; }
.notification-empty p { max-width: 260px; margin: 7px 0 0; font-size: 10px; line-height: 1.55; }
.notification-panel.loading { align-items: center; justify-content: center; }
.notification-loading { display: flex; flex-direction: column; align-items: center; gap: 13px; color: #667582; font-size: 11px; }
.notification-loading i { width: 30px; height: 30px; border: 3px solid #d8e7f1; border-top-color: #087ef8; border-radius: 50%; animation: notification-spin .8s linear infinite; }
@keyframes notification-fade-in { from { opacity: 0; } }
@keyframes notification-panel-in { from { opacity: .65; transform: translate3d(45px,0,0); } }
@keyframes notification-spin { to { transform: rotate(360deg); } }
.dashboard-scroll { flex: 1; overflow-y: auto; padding: 0 clamp(18px, 5vw, 34px) 28px; scrollbar-width: none; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 0 24px; }
.quick-grid button { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 10px; padding: 12px 2px; color: #292b2e; background: transparent; font-size: 11px; }
.quick-grid img, .quick-grid button > svg { width: 50px; height: 50px; padding: 0; object-fit: cover; border-radius: 15px; }
.quick-grid button > svg { padding: 12px; color: #fff; background: linear-gradient(145deg,#32363e,#121316); }
.quick-grid span { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker { height: 36px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; overflow: hidden; color: #565c65; font-size: 11px; white-space: nowrap; }
.ticker > span { position: relative; z-index: 2; flex: 0 0 auto; color: #0b92f8; font-size: 18px; background: #fff; }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 16s linear infinite; will-change: transform; }
.ticker-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ticker-group span { display: inline-flex; gap: 3px; }
.ticker-group strong { color: #17202a; font-weight: 750; }
@keyframes ticker { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.brand-hero { position: relative; min-height: 190px; overflow: hidden; border-radius: 22px; background: #06162d; box-shadow: 0 14px 38px rgba(16, 31, 58, .15); }
.brand-hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.brand-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 15, 34, .92) 0%, rgba(3, 15, 34, .68) 48%, rgba(3, 15, 34, .08) 78%); }
.brand-hero-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; min-height: 190px; width: 75%; padding: 24px; color: #fff; }
.brand-hero-content > img { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 16px; box-shadow: 0 8px 28px rgba(0, 0, 0, .28); }
.brand-hero-content span { color: #dfb64b; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.brand-hero-content h2 { margin: 5px 0 4px; font-size: 23px; line-height: 1.05; }
.brand-hero-content p { margin: 0; color: #c6d3e3; font-size: 11px; line-height: 1.45; }
.route-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.route-cards button { min-width: 0; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; text-align: left; background: #f5f5f6; border-radius: 18px; }
.route-cards img { grid-row: 1 / 3; width: 54px; height: 54px; }
.route-cards strong { align-self: end; font-size: 14px; }
.route-cards span { align-self: start; margin-top: 3px; color: #9298a1; font-size: 10px; }
.route-cards .home-referral-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 16px 18px; background: #fff; border: 1px solid #dce3e9; }
.route-cards .home-referral-card > span { margin: 0; color: #71808e; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.route-cards .home-referral-card > strong { align-self: auto; color: #161a20; font-size: 20px; letter-spacing: 1px; line-height: 1; }
.route-cards .home-referral-card > small { padding: 7px 10px; color: #fff; background: #078df8; border-radius: 8px; font-size: 8px; font-weight: 750; }
.route-cards .home-referral-card:hover > small { background: #067ddd; }
.advantage-card { padding: 22px 18px 18px; margin-bottom: 18px; border-radius: 22px; background: linear-gradient(150deg,#f1f3f5,#fafafa); }
.section-heading, .market-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-heading span, .market-header span, .simple-header span { color: #078ef9; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }
.section-heading h2, .market-header h2 { margin: 4px 0 0; font-size: 19px; letter-spacing: -.45px; }
.heading-mark { width: 40px; height: 40px; display: grid; place-items: center; color: #fff !important; background: #202224; border-radius: 13px; font-size: 19px !important; }
.article-links { display: grid; gap: 9px; }
.article-links button { display: grid; grid-template-columns: 43px 1fr 20px; gap: 12px; align-items: center; padding: 13px; text-align: left; background: #fff; border-radius: 15px; }
.article-links button::before { content: ""; grid-column: 1; grid-row: 1; width: 43px; height: 43px; background: linear-gradient(145deg, #edf7ff, #f8f5ec); border: 1px solid #e2ebf2; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.article-links img { z-index: 1; grid-column: 1; grid-row: 1; width: 43px; height: 43px; object-fit: contain; transform: scale(1.12); }
.article-links span { grid-column: 2; grid-row: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.article-links strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.article-links small { color: #959ba4; font-size: 9px; }
.article-links svg { grid-column: 3; grid-row: 1; width: 18px; transform: rotate(180deg); color: #afb4bb; }
.market { padding: 20px 0; }
.market-header button { padding: 8px 11px; color: #555c65; background: #f2f3f5; border-radius: 10px; font-size: 10px; }
.exchange-tab { padding: 12px; color: #fff; text-align: center; background: #232528; border-radius: 14px; font-size: 12px; font-weight: 800; }
.market-columns, .market-row { display: grid; grid-template-columns: 1.25fr .9fr .8fr; align-items: center; }
.market-columns { padding: 17px 0 8px; color: #a0a6ae; font-size: 9px; }
.market-columns span:nth-child(n+2) { text-align: right; }
.market-row { min-height: 66px; border-bottom: 1px solid #f1f2f4; font-size: 12px; }
.market-row > div { display: flex; align-items: center; gap: 10px; }
.market-row img { width: 34px; height: 34px; object-fit: contain; }
.market-row span { display: flex; flex-direction: column; }
.market-row small { margin-top: 3px; color: #9ba2ab; font-size: 9px; }
.market-row > strong, .market-row em { text-align: right; }
.market-row em { color: #e94358; font-style: normal; font-weight: 700; }
.market-row em.rise { color: #00a85a; }
.bottom-nav { flex: 0 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); padding: 9px 10px var(--safe-bottom); border-top: 1px solid #eff0f2; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); z-index: 6; }
.bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #a1a6ad; background: transparent; font-size: 9px; }
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav .active { color: #151719; font-weight: 750; }
.bottom-nav .active svg { stroke-width: 2.2; }

.inside-header { height: 70px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 10px 18px; border-bottom: 1px solid #f0f1f3; }
.inside-header > strong { text-align: center; font-size: 15px; }
.article-page { min-height: 100vh; background: #fff; }
.article-page article { max-width: 660px; margin: 0 auto; padding: 30px clamp(22px, 6vw, 42px) 60px; }
.article-kicker { color: #078ef9; font-size: 10px; font-weight: 850; letter-spacing: 1.8px; }
.article-page h1 { margin: 10px 0 18px; font-size: clamp(28px, 7vw, 44px); line-height: 1.08; letter-spacing: -1.2px; }
.article-intro { color: #5f6670; font-size: 15px; line-height: 1.75; }
.article-visual { position: relative; margin: 26px 0 31px; overflow: hidden; border-radius: 24px; background: #10131d; }
.article-visual img { width: 100%; aspect-ratio: 1.8; display: block; object-fit: cover; opacity: .82; }
.article-visual div { position: absolute; inset: auto 18px 17px; display: flex; justify-content: space-between; align-items: end; color: #fff; }
.article-visual strong { font-size: 30px; letter-spacing: -1px; }
.article-visual span { max-width: 130px; text-align: right; font-size: 8px; letter-spacing: 1px; line-height: 1.5; }
.article-page section { margin: 29px 0; }
.article-page section h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.35; }
.article-page section p, .article-page aside p { margin: 0; color: #646b75; font-size: 14px; line-height: 1.75; }
.article-page aside { margin-top: 34px; padding: 18px; border-left: 3px solid #098cf8; background: #f3f7fb; border-radius: 4px 15px 15px 4px; }
.article-page aside strong { display: block; margin-bottom: 6px; font-size: 13px; }
.article-page aside p { font-size: 12px; }
.platform-links { display: grid; gap: 10px; margin-top: 28px; }
.platform-links button { display: grid; grid-template-columns: 1fr 20px; gap: 12px; align-items: center; padding: 17px; text-align: left; background: #f4f7f9; border: 1px solid #e7ebef; border-radius: 16px; }
.platform-links button span { display: flex; flex-direction: column; gap: 5px; }
.platform-links button strong { color: #17202a; font-size: 13px; }
.platform-links button small { color: #88949f; font-size: 10px; }
.platform-links button svg { width: 18px; color: #9aa6b0; transform: rotate(180deg); }
.privacy-page article { max-width: 760px; }
.privacy-heading { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #e8edf1; }
.privacy-heading > span { color: #078df8; font-size: 9px; font-weight: 850; letter-spacing: 1.5px; }
.privacy-heading h1 { margin-bottom: 8px; }
.privacy-heading p { color: #8b96a1 !important; font-size: 11px !important; }
.privacy-page article > p,.privacy-popup-scroll > p { color: #596570; font-size: 14px; line-height: 1.75; }
.privacy-page article ul,.privacy-popup-scroll ul { display: grid; gap: 8px; padding-left: 20px; color: #646b75; font-size: 14px; line-height: 1.65; }
.privacy-page article a,.privacy-popup-scroll a { color: #078df8; font-weight: 700; }
.privacy-popup { position: fixed; z-index: 190; inset: 0; display: grid; place-items: end center; padding: 12px; }
.privacy-popup-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(9,18,27,.7); }
.privacy-popup-card { position: relative; width: min(100%,720px); max-height: min(90vh,820px); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 24px; box-shadow: 0 25px 90px rgba(0,0,0,.3); animation: install-guide-in .22s ease-out; }
.privacy-popup-card > header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid #e8edf1; }
.privacy-popup-card > header strong { font-size: 15px; }
.privacy-popup-card > header button { width: 34px; height: 34px; color: #17202a; background: #eff3f6; border-radius: 11px; font-size: 22px; }
.privacy-popup-scroll { flex: 1; overflow-y: auto; padding: 23px 22px; }
.privacy-popup-scroll .privacy-heading h1 { margin: 8px 0; font-size: 30px; }
.privacy-popup-scroll section { margin: 25px 0; }
.privacy-popup-scroll section h2 { margin: 0 0 9px; font-size: 17px; }
.privacy-popup-scroll section p { margin: 0 0 12px; color: #646b75; font-size: 13px; line-height: 1.7; }
.privacy-popup-card > footer { flex: 0 0 auto; display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #e8edf1; }
.privacy-popup-card > footer button { flex: 1; min-height: 43px; }
.privacy-popup-card > footer .secondary-button { color: #33404d; background: #edf1f4; }

.simple-page { background: linear-gradient(160deg,#f7fbff 0,#fff 45%); }
.simple-header { padding: 38px 26px 10px; }
.simple-header h1 { margin: 6px 0 0; font-size: 34px; letter-spacing: -1px; }
.empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px; text-align: center; }
.empty-state > svg { width: 76px; height: 76px; padding: 18px; color: #fff; background: #202224; border-radius: 24px; box-shadow: 0 18px 35px rgba(31,34,37,.2); }
.empty-state h2 { max-width: 340px; margin: 24px 0 8px; font-size: 20px; }
.empty-state p { margin: 0 0 24px; color: #8b929c; font-size: 13px; }
.empty-state .primary-button { max-width: 220px; }
.quantification-page { color: #111923; background: #f5f7f9; }
.quantification-header { flex: 0 0 auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px clamp(20px,5vw,34px) 15px; background: rgba(255,255,255,.94); border-bottom: 1px solid #edf0f3; }
.quantification-header > div { min-width: 0; }
.quantification-header > div span { display: block; overflow: hidden; color: #078df8; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.quantification-header h1 { margin: 6px 0 0; font-size: 27px; letter-spacing: -.7px; }
.quantification-header > button { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; color: #078df8; background: #e9f5ff; border-radius: 12px; }
.quantification-header svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quantification-scroll { flex: 1; overflow-y: auto; padding: 14px clamp(18px,5vw,34px) 35px; }
.quantification-scroll > * { width: 100%; max-width: 630px; margin-left: auto; margin-right: auto; }
.sandbox-ribbon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; margin-bottom: 10px; color: #78570d; background: #fff6d9; border: 1px solid #f0d98b; border-radius: 13px; }
.sandbox-ribbon strong { flex: 0 0 auto; font-size: 8px; letter-spacing: 1px; }.sandbox-ribbon span { text-align: right; font-size: 8px; line-height: 1.35; }
.quantification-time { display: flex; align-items: center; gap: 7px; margin-top: 0; margin-bottom: 11px; color: #7a8792; font-size: 10px; }
.quantification-time > span { color: #f1a21b; font-size: 16px; }
.quantification-summary { position: relative; overflow: hidden; padding: 18px 16px 14px; color: #fff; background:
  radial-gradient(circle at 79% 72%,rgba(152,92,255,.9) 0,rgba(152,92,255,.25) 16%,transparent 31%),
  radial-gradient(circle at 46% 30%,rgba(0,220,219,.45),transparent 24%),
  radial-gradient(circle at 72% 3%,rgba(14,89,244,.7),transparent 27%),
  linear-gradient(125deg,#161509 0%,#002b35 48%,#160851 100%);
  border: 0; border-radius: 21px; box-shadow: 0 15px 34px rgba(20,42,63,.16);
}
.quantification-summary::after { content: ""; position: absolute; inset: 0; opacity: .17; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size: 34px 34px; }
.quantification-total { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.quantification-total > span { color: rgba(255,255,255,.72); font-size: 10px; }
.quantification-total > strong { font: 24px Georgia,serif; letter-spacing: .4px; }
.quantification-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); margin-top: 16px; padding: 15px 5px 2px; background: rgba(27,17,41,.42); border-radius: 9px; backdrop-filter: blur(7px); }
.quantification-metrics article { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 7px; text-align: center; }
.quantification-metrics strong { font: 14px Georgia,serif; }
.quantification-metrics span { color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.25; }
.quantification-start { position: relative; width: min(100%,430px); min-height: 48px; display: block; margin: 14px auto 16px; overflow: hidden; color: #fff; background: linear-gradient(105deg,#12c1ed,#087ef8); border: 0; border-radius: 15px; box-shadow: 0 10px 22px rgba(8,126,248,.2); font-size: 13px; font-weight: 750; }
.quantification-start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg,transparent 15%,rgba(255,255,255,.12) 46%,transparent 70%); transform: translateX(-100%); transition: transform .45s; }
.quantification-start:hover::after { transform: translateX(100%); }
.quantification-start:disabled { cursor: not-allowed; opacity: .72; }
.quantification-start.limit-reached { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 8px 18px; color: #62717d; background: linear-gradient(135deg,#f3f7fa,#e3ebf1); border: 1px solid #d5e0e8; border-radius: 18px; box-shadow: 0 8px 20px rgba(32,55,74,.08); text-align: left; text-shadow: none; opacity: 1; }
.quantification-allowance { margin-bottom: 16px; padding: 14px 16px; background: #fff; border: 1px solid #e1e8ee; border-radius: 16px; box-shadow: 0 7px 18px rgba(28,52,70,.05); }
.quantification-allowance span { display: block; margin-bottom: 6px; color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.quantification-allowance strong { color: #172633; font-size: 13px; }
.quantification-allowance strong b { color: #078df8; }
.quantification-allowance p { margin: 9px 0 7px; color: #6d7d89; font-size: 9px; line-height: 1.5; }
.quantification-allowance small { display: block; color: #536675; font-size: 9px; font-weight: 650; line-height: 1.45; }
.limit-lock { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; color: #718492; background: #fff; border: 1px solid #dbe5ec; border-radius: 11px; box-shadow: 0 4px 10px rgba(34,58,77,.07); }
.limit-lock svg { width: 17px; height: 17px; }
.limit-copy { display: flex; flex-direction: column; gap: 3px; }
.limit-copy strong { color: #3d4c58; font-size: 11px; line-height: 1.1; }
.limit-copy small { color: #8997a2; font-size: 7px; font-weight: 600; line-height: 1.2; }
.vip-section { padding: 18px; background: #fff; border: 1px solid #e4e9ed; border-radius: 20px; box-shadow: 0 10px 30px rgba(25,44,64,.05); }
.vip-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.vip-heading h2 { margin: 0; font-size: 15px; }
.vip-heading button { padding: 5px; color: #9aa1a8; background: transparent; font-size: 9px; }
.vip-current { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: #078df8; }
.vip-current img { width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 5px 6px rgba(5,34,63,.18)); transition: filter .25s, opacity .25s; }
.vip-current strong { padding: 7px 13px; background: #e9f5ff; border-radius: 18px; font-size: 11px; }
.vip-card { position: relative; min-height: 125px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 22px 25px; margin-bottom: 13px; color: #057bf0; background: linear-gradient(130deg,#eaf9ff,#9de5fb); border-radius: 18px; box-shadow: inset 0 0 28px rgba(255,255,255,.45); }
.vip-card::before,.vip-card::after { content: ""; position: absolute; width: 90px; height: 90px; border: 20px solid rgba(255,255,255,.27); border-radius: 50%; }
.vip-card::before { left: -55px; bottom: -54px; }.vip-card::after { right: -50px; top: -55px; }
.vip-card > div:first-child { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.vip-card > div:first-child strong { font-size: 25px; }.vip-card > div:first-child span { font-size: 9px; font-weight: 650; }
.vip-badge-art { position: relative; z-index: 1; width: 82px; height: 82px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(5,34,63,.22)); transition: filter .25s, opacity .25s, transform .25s; }
.vip-card:hover .vip-badge-art { transform: translateY(-2px) scale(1.025); }
.vip-current.is-locked img,.vip-card.is-locked .vip-badge-art { opacity: .55; filter: grayscale(.75) drop-shadow(0 5px 6px rgba(5,34,63,.12)); }
.vip-conditions { padding: 15px 14px; background: #f5f7f9; border: 1px solid #e9edf0; border-radius: 15px; box-shadow: none; }
.vip-conditions h3 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid #ebedef; font-size: 13px; }
.vip-conditions > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 0; color: #8c9299; font-size: 10px; }
.vip-conditions > div + div { border-top: 1px solid #edf0f2; }
.vip-conditions strong { color: #30343a; font-size: 10px; }.vip-conditions b { color: #111; font-size: 12px; }
.vip-section.collapsed .vip-content { display: none; }
.trading-simulation { position: fixed; z-index: 210; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(7,16,25,.76); backdrop-filter: blur(8px); }
.trading-simulation-card { width: min(100%,430px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 25px; color: #17202a; text-align: center; background: #fff; border-radius: 25px; box-shadow: 0 30px 90px rgba(0,0,0,.35); animation: simulation-card-in .25s ease-out; }
.simulation-badge { width: fit-content; padding: 6px 10px; margin: 0 auto 17px; color: #93680c; background: #fff3c8; border: 1px solid #efd16c; border-radius: 20px; font-size: 7px; font-weight: 850; letter-spacing: 1.1px; }
.simulation-ring { --simulation-progress: 4deg; position: relative; width: 126px; height: 126px; display: grid; place-items: center; margin: 0 auto 18px; background: conic-gradient(#078df8 0 var(--simulation-progress),#e9eef2 var(--simulation-progress) 360deg); border-radius: 50%; box-shadow: 0 14px 35px rgba(7,141,248,.2); transition: background .12s linear; }
.simulation-ring::before { content: ""; position: absolute; inset: -7px; border: 2px dashed rgba(7,141,248,.45); border-radius: 50%; animation: simulation-spin 2.2s linear infinite; }
.simulation-ring::after { content: ""; position: absolute; inset: 10px; background: #fff; border-radius: 50%; box-shadow: inset 0 0 0 1px #edf1f4; }
.simulation-ring > div { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.simulation-ring strong { color: #078df8; font-size: 25px; }.simulation-ring span { color: #8a96a1; font-size: 7px; font-weight: 850; letter-spacing: 1px; }
.trading-simulation-card h2 { margin: 0 0 7px; font-size: 20px; }
.trading-simulation-card > p { min-height: 18px; margin: 0 0 16px; color: #75818c; font-size: 10px; }
.simulation-markets { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 13px; }
.simulation-markets > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 10px; text-align: left; background: #f4f7f9; border: 1px solid #e9edf0; border-radius: 11px; }
.simulation-markets span { color: #798691; font-size: 7px; }.simulation-markets strong { font-size: 10px; }
.simulation-markets i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #079a62; font-size: 8px; font-style: normal; font-weight: 750; }
.simulation-markets i.down { color: #d34859; }
.simulation-markets i.neutral { color: #8996a0; }
.simulation-terminal { display: grid; gap: 6px; padding: 12px; text-align: left; background: #14212c; border-radius: 13px; }
.simulation-terminal > div { display: flex; align-items: center; gap: 8px; color: #637685; font-size: 8px; transition: .2s; }
.simulation-terminal i { width: 7px; height: 7px; flex: 0 0 auto; background: #3d4c58; border-radius: 50%; }
.simulation-terminal > div.active { color: #fff; }.simulation-terminal > div.active i { background: #18c7f3; box-shadow: 0 0 0 4px rgba(24,199,243,.14),0 0 12px #18c7f3; animation: simulation-pulse .75s ease-in-out infinite alternate; }
.simulation-terminal > div.complete { color: #8ea4b3; }.simulation-terminal > div.complete i { background: #29c883; }
.simulation-progress { height: 6px; margin: 14px 0 10px; overflow: hidden; background: #e9eef2; border-radius: 10px; }
.simulation-progress i { width: 1%; height: 100%; display: block; background: linear-gradient(90deg,#13c4ee,#087ef8); border-radius: inherit; transition: width .12s linear; }
.trading-simulation-card > small { display: grid; gap: 3px; color: #9aa4ad; font-size: 7px; line-height: 1.4; }
.trading-simulation-card > small b { color: #087fda; font-size: 7px; font-weight: 800; }.trading-simulation-card > small b.cached { color: #9a6a10; }.trading-simulation-card > small b.unavailable { color: #bd4052; }
.trading-simulation-card.completed .simulation-ring::before { border-style: solid; border-color: #20bd7a; animation: none; }
.trading-simulation-card.completed .simulation-ring strong { color: #18a96d; }
@keyframes simulation-spin { to { transform: rotate(360deg); } }
@keyframes simulation-pulse { to { opacity: .45; transform: scale(.72); } }
@keyframes simulation-card-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.rewards-page { background: #f5f7f9; }
.rewards-header { display: flex; align-items: center; gap: 13px; }
.rewards-header > button { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: #17202a; background: #fff; border: 1px solid #e1e7ec; border-radius: 12px; }
.rewards-header > button svg { width: 19px; height: 19px; }
.rewards-header > div h1 { margin-top: 6px; }
.rewards-scroll { flex: 1; overflow-y: auto; padding: 10px 20px 35px; }
.demo-warning { padding: 15px 16px; margin-bottom: 12px; color: #75520c; background: #fff4cd; border: 1px solid #efd06a; border-radius: 15px; }
.demo-warning strong { font-size: 9px; letter-spacing: 1.2px; }.demo-warning p { margin: 6px 0 0; font-size: 9px; line-height: 1.55; }
.reward-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; margin-bottom: 11px; }
.reward-hero > div { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 18px; color: #fff; background: linear-gradient(135deg,#17232e,#2a4153); border-radius: 18px; }
.reward-hero > div:last-child { background: linear-gradient(135deg,#057fee,#13badf); }
.reward-hero span,.reward-hero small { color: rgba(255,255,255,.68); font-size: 7px; font-weight: 750; letter-spacing: .7px; }
.reward-hero strong { margin: 8px 0 5px; overflow: hidden; text-overflow: ellipsis; font-size: 20px; white-space: nowrap; }
.reward-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 11px; }
.reward-stats article { min-width: 0; padding: 13px; background: #fff; border: 1px solid #e4e9ed; border-radius: 15px; }
.reward-stats span,.reward-stats small { display: block; color: #8a96a1; font-size: 7px; line-height: 1.4; }
.reward-stats strong { display: block; margin: 7px 0 5px; font-size: 20px; }
.reward-panel { padding: 18px; margin-bottom: 11px; background: #fff; border: 1px solid #e4e9ed; border-radius: 18px; }
.reward-section-title span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.reward-section-title h2 { margin: 5px 0 14px; font-size: 18px; }
.reward-rules > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #edf0f2; font-size: 9px; line-height: 1.4; }
.reward-rules span { color: #65717d; }.reward-rules strong { text-align: right; }
.withdrawal-preview { padding: 14px; background: #f5f7f9; border-radius: 13px; }
.withdrawal-preview > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 9px; }
.withdrawal-preview > div span { color: #82909b; }.withdrawal-preview p { color: #8a6413; font-size: 8px; line-height: 1.5; }
.withdrawal-preview.eligible p { color: #20724f; }
.withdrawal-preview button { width: 100%; padding: 11px; color: #8b939a; background: #e5e9ec; border-radius: 10px; font-size: 9px; font-weight: 750; }
.reward-history article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f2; }
.reward-history article > div,.reward-history aside { display: flex; flex-direction: column; gap: 4px; }
.reward-history article > div { min-width: 0; }.reward-history article > div strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.reward-history small { color: #909ba5; font-size: 7px; }.reward-history aside { flex: 0 0 auto; align-items: flex-end; }
.reward-history aside b { color: #0b8b59; font-size: 11px; }.reward-empty { padding: 22px; color: #909ba5; text-align: center; font-size: 9px; }
.team-page { background: #f6f8fa; }
.team-header { display: flex; align-items: center; gap: 13px; }
.team-header > button { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: #17202a; background: #fff; border: 1px solid #e1e7ec; border-radius: 12px; box-shadow: 0 6px 16px rgba(30,45,60,.06); }
.team-header > button:hover { color: #078df8; border-color: #b9dcfa; }
.team-header > button svg { width: 19px; height: 19px; }
.team-header > div > span { color: #078df8; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.team-header > div > h1 { margin-top: 6px; }
.team-scroll { flex: 1; overflow-y: auto; padding: 10px 20px 34px; }
.team-referral-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px; color: #fff; background: linear-gradient(135deg,#121b24,#283b4d); border-radius: 19px; box-shadow: 0 15px 30px rgba(20,33,45,.14); }
.team-referral-card div { display: flex; flex-direction: column; gap: 6px; }
.team-referral-card span { color: #91a7ba; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.team-referral-card strong { font-size: 21px; letter-spacing: 1.5px; }
.team-referral-card button { flex: 0 0 auto; padding: 10px 12px; color: #fff; background: #078df8; border-radius: 10px; font-size: 9px; font-weight: 750; }
.team-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin: 12px 0; }
.team-stats article { padding: 14px; background: #fff; border: 1px solid #e7ebef; border-radius: 15px; }
.team-stats span { display: block; min-height: 24px; color: #8b96a1; font-size: 8px; line-height: 1.4; }
.team-stats strong { display: block; margin-top: 5px; color: #17202a; font-size: 23px; }
.team-members { padding: 18px; background: #fff; border: 1px solid #e7ebef; border-radius: 19px; }
.team-section-heading span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.team-section-heading h2 { margin: 5px 0 14px; font-size: 18px; }
.team-member { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid #eef1f3; }
.team-member > b { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#17202a,#3a4e61); border-radius: 13px; }
.team-member > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.team-member > div strong,.team-member > div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-member > div strong { font-size: 11px; }.team-member > div span { color: #8e99a4; font-size: 9px; }
.team-member aside { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.team-member aside small { color: #9ba5ae; font-size: 8px; }
.referral-eligibility { width: fit-content; padding: 6px 9px; color: #986709; background: #fff3d8; border-radius: 20px; font-style: normal; font-size: 8px; font-weight: 850; letter-spacing: .35px; }
.referral-eligibility.eligible { color: #087845; background: #dcf7e9; box-shadow: inset 0 0 0 1px #bcebd2; }
.lucky-wheel-page { background: radial-gradient(circle at 50% 24%,#e8f7ff 0,#f3f8fc 34%,#f5f7f9 68%); }
.lucky-wheel-header { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
.lucky-wheel-scroll { flex: 1; overflow-y: auto; padding: 14px clamp(14px,4vw,28px) 34px; scrollbar-width: none; }
.wheel-ticket-card { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 16px; max-width: 650px; margin: 0 auto 16px; padding: 15px 18px; color: #fff; background: linear-gradient(120deg,#172a3c,#087fce 58%,#19bfe9); border-radius: 18px; box-shadow: 0 10px 30px rgba(16,87,137,.2); }
.wheel-ticket-card > div { display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 7px; }
.wheel-ticket-card span { grid-column: 1 / -1; font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }
.wheel-ticket-card strong { font-size: 35px; line-height: 1; }.wheel-ticket-card small { padding-bottom: 4px; font-size: 9px; }
.wheel-ticket-card p { margin: 0; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.35); font-size: 10px; line-height: 1.55; }
.wheel-stage { position: relative; max-width: 650px; min-height: 590px; display: grid; place-items: start center; margin: 0 auto 16px; padding-top: 75px; overflow: hidden; background: linear-gradient(145deg,#167f98 0,#38aeb6 56%,#62c2bd 100%); border: 5px solid #fff; border-radius: 30px; box-shadow: 0 18px 45px rgba(17,66,84,.2); }
.wheel-stage::before,.wheel-stage::after { content: ""; position: absolute; width: 260px; height: 260px; border: 55px solid rgba(255,255,255,.06); border-radius: 50%; }
.wheel-stage::before { left: -175px; top: -110px; }.wheel-stage::after { right: -190px; bottom: -120px; }
.wheel-lights { position: absolute; z-index: 1; top: 79px; width: min(430px,80vw); aspect-ratio: 1; background: repeating-conic-gradient(#f6fdff 0 1.5deg,transparent 1.5deg 15deg); border-radius: 50%; filter: drop-shadow(0 4px 4px rgba(10,53,65,.2)); animation: wheel-lights 2.8s ease-in-out infinite; }
.wheel-lights::after { content: ""; position: absolute; inset: 8px; background: #194052; border: 4px solid rgba(255,255,255,.94); border-radius: 50%; }
.wheel-disc { position: relative; z-index: 2; width: min(410px,76vw); aspect-ratio: 1; overflow: hidden; margin-top: 15px; background: conic-gradient(from -15deg,#e9f7f7 0 30deg,#67c5cd 30deg 60deg,#c9ecec 60deg 90deg,#278fa7 90deg 120deg,#f5fbfb 120deg 150deg,#54b9c5 150deg 180deg,#d8f1f1 180deg 210deg,#338da4 210deg 240deg,#173f55 240deg 270deg,#8fd4d7 270deg 300deg,#edf8f8 300deg 330deg,#3aa4b5 330deg 360deg); border: 11px solid #f8fdff; border-radius: 50%; box-shadow: inset 0 0 0 3px #214e60,5px 7px 0 rgba(17,67,79,.32),0 18px 27px rgba(11,54,68,.22); }
.wheel-disc::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from -15deg,transparent 0 29.5deg,rgba(18,71,105,.24) 29.5deg 30deg); border-radius: 50%; pointer-events: none; }
.wheel-segment-label { --segment: 0; position: absolute; z-index: 1; left: 50%; top: 50%; width: 36%; height: 38px; display: flex; justify-content: center; align-items: center; overflow: visible; text-align: center; transform: translate(-50%,-50%) rotate(calc(var(--segment) * 30deg)) translateY(calc(min(410px,76vw) * -.33)); }
.wheel-segment-label b { width: 90px; max-height: 32px; overflow: hidden; color: #15354c; font-size: 8px; font-weight: 950; line-height: 1.08; text-shadow: 0 1px rgba(255,255,255,.65); transform: rotate(-90deg); }
.wheel-segment-label.prize-quantification b { color: #fff; text-shadow: 0 1px 3px rgba(0,45,82,.35); }
.wheel-segment-label:nth-child(9) b { color: #fff; }
.wheel-segment-label:nth-child(2) { --segment: 1 }.wheel-segment-label:nth-child(3) { --segment: 2 }.wheel-segment-label:nth-child(4) { --segment: 3 }
.wheel-segment-label:nth-child(5) { --segment: 4 }.wheel-segment-label:nth-child(6) { --segment: 5 }.wheel-segment-label:nth-child(7) { --segment: 6 }
.wheel-segment-label:nth-child(8) { --segment: 7 }.wheel-segment-label:nth-child(9) { --segment: 8 }.wheel-segment-label:nth-child(10) { --segment: 9 }
.wheel-segment-label:nth-child(11) { --segment: 10 }.wheel-segment-label:nth-child(12) { --segment: 11 }
.wheel-spin-button { position: absolute; z-index: 4; inset: calc(90px + min(205px,38vw)) auto auto 50%; width: 92px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(#1cc6e9,#078df8); border: 7px solid #e9faff; border-radius: 50%; box-shadow: 0 5px 0 #075c9d,0 9px 20px rgba(8,76,126,.3); transform: translate(-50%,-50%); }
.wheel-spin-button span { font-size: 20px; font-weight: 950; letter-spacing: .5px; }.wheel-spin-button small { margin-top: 1px; font-size: 7px; font-weight: 800; }
.wheel-spin-button:disabled { cursor: not-allowed; filter: grayscale(.65); opacity: .72; }
.wheel-pointer { position: absolute; z-index: 5; top: 2px; left: 50%; width: 72px; height: 98px; transform: translateX(-50%); transform-origin: 50% 29px; animation: wheel-pointer-float 1.7s ease-in-out infinite; }
.wheel-pointer svg { width: 100%; height: 100%; overflow: visible; }
.wheel-pointer-shadow { fill: rgba(9,59,72,.32); }
.wheel-pointer-body { fill: #20b8d5; stroke: #fff; stroke-width: 5; stroke-linejoin: round; }
.wheel-pointer-circle { fill: #fff; stroke: rgba(9,89,122,.2); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: wheel-pointer-dot 1.7s ease-in-out infinite; }
.wheel-stage.spinning .wheel-pointer { animation: wheel-pointer-spin .16s cubic-bezier(.3,.1,.7,.9) infinite alternate; }
.wheel-stage.spinning .wheel-pointer-circle { animation: none; }
.wheel-result { position: absolute; z-index: 6; bottom: 18px; left: 18px; right: 18px; min-height: 68px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px; color: #24455d; text-align: center; background: rgba(255,255,255,.93); border-radius: 17px; box-shadow: 0 7px 18px rgba(17,65,99,.12); }
.wheel-result strong { font-size: 16px; }.wheel-result span { margin-top: 4px; font-size: 9px; }.wheel-result.won strong { color: #078df8; }.wheel-result.missed strong { color: #6f7780; }
.wheel-history { max-width: 650px; margin: 0 auto 16px; padding: 20px; background: #fff; border: 1px solid #e8e5df; border-radius: 21px; }
.wheel-history > div:first-child span { color: #078df8; font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }
.wheel-history h2 { margin: 4px 0 14px; font-size: 18px; }
.wheel-history article { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #eef0f2; }
.wheel-history-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-size: 15px; }.wheel-history-icon.win { color: #fff; background: #078df8; }.wheel-history-icon.empty { color: #8d969f; background: #edf0f2; }
.wheel-history article div { display: flex; flex-direction: column; gap: 3px; }.wheel-history article strong { font-size: 10px; }.wheel-history article small { color: #9aa2aa; font-size: 8px; }
.wheel-history article > b { padding: 5px 7px; border-radius: 20px; font-size: 7px; }.wheel-history article > b.win { color: #0b834e; background: #dff8ec; }.wheel-history article > b.empty { color: #7b858e; background: #edf0f2; }.wheel-history article > b.preview { color: #087f9a; background: #ddf5f7; }
.wheel-empty-history { padding: 20px; color: #98a0a8; text-align: center; font-size: 10px; border-top: 1px solid #eef0f2; }
@keyframes wheel-lights { 50% { opacity: .62; filter: drop-shadow(0 4px 4px rgba(15,70,108,.18)) brightness(1.12); } }
@keyframes wheel-pointer-float { 0%,100% { transform: translate(-50%,-2px) rotate(-2deg); } 50% { transform: translate(-50%,4px) rotate(2deg); } }
@keyframes wheel-pointer-dot { 0%,100% { transform: scale(.9); opacity: .84; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes wheel-pointer-spin { from { transform: translate(-50%,0) rotate(-9deg); } to { transform: translate(-50%,5px) rotate(9deg); } }
@keyframes wheel-idle { to { transform: rotate(360deg); } }
.wheel-disc[class*="spin-to-"] { animation-duration: 8s; animation-timing-function: cubic-bezier(.12,.62,.08,1); animation-fill-mode: forwards; }
.wheel-disc.spin-to-0 { animation-name: wheel-spin-0 }.wheel-disc.spin-to-1 { animation-name: wheel-spin-1 }.wheel-disc.spin-to-2 { animation-name: wheel-spin-2 }.wheel-disc.spin-to-3 { animation-name: wheel-spin-3 }
.wheel-disc.spin-to-4 { animation-name: wheel-spin-4 }.wheel-disc.spin-to-5 { animation-name: wheel-spin-5 }.wheel-disc.spin-to-6 { animation-name: wheel-spin-6 }.wheel-disc.spin-to-7 { animation-name: wheel-spin-7 }
.wheel-disc.spin-to-8 { animation-name: wheel-spin-8 }.wheel-disc.spin-to-9 { animation-name: wheel-spin-9 }.wheel-disc.spin-to-10 { animation-name: wheel-spin-10 }.wheel-disc.spin-to-11 { animation-name: wheel-spin-11 }
@keyframes wheel-spin-0 { to { transform: rotate(1440deg) } } @keyframes wheel-spin-1 { to { transform: rotate(1410deg) } }
@keyframes wheel-spin-2 { to { transform: rotate(1380deg) } } @keyframes wheel-spin-3 { to { transform: rotate(1350deg) } }
@keyframes wheel-spin-4 { to { transform: rotate(1320deg) } } @keyframes wheel-spin-5 { to { transform: rotate(1290deg) } }
@keyframes wheel-spin-6 { to { transform: rotate(1260deg) } } @keyframes wheel-spin-7 { to { transform: rotate(1230deg) } }
@keyframes wheel-spin-8 { to { transform: rotate(1200deg) } } @keyframes wheel-spin-9 { to { transform: rotate(1170deg) } }
@keyframes wheel-spin-10 { to { transform: rotate(1140deg) } } @keyframes wheel-spin-11 { to { transform: rotate(1110deg) } }
@media (max-width: 520px) {
  .wheel-ticket-card { grid-template-columns: 110px 1fr; }.wheel-stage { min-height: 550px; }.wheel-result { bottom: 13px; }
  .wheel-segment-label b { width: 72px; font-size: 7px; }.wheel-spin-button { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) { .wheel-disc { animation: none; }.wheel-disc[class*="spin-to-"] { animation-duration: 1.2s; }.wheel-lights { animation: none; } }
.wheel-stage-v2 {
  display: block;
  min-height: 0;
  padding: 70px 18px 18px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 18%,#fafdff 0,#e9f7ff 52%,#dceef8 100%);
  border-color: #fff;
}
.wheel-stage-v2 .wheel-arena-v2 {
  --wheel-size: min(440px, calc(100vw - 120px));
  position: relative;
  width: calc(var(--wheel-size) + 54px);
  height: calc(var(--wheel-size) + 54px);
  max-width: 100%;
  margin: 0 auto;
}
.wheel-stage-v2 .wheel-shell-v2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wheel-stage-v2 .wheel-lights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg,#152637 0,#02080f 48%,#102234 100%);
  border: 3px solid #087ef8;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(103,64,255,.65),inset 0 0 24px rgba(0,0,0,.9),0 16px 30px rgba(9,37,70,.28),0 0 0 1px rgba(102,51,255,.3);
  filter: none;
  animation: wheel-rim-pulse 2.8s ease-in-out infinite;
}
.wheel-stage-v2 .wheel-lights::after {
  inset: 22px;
  background: #07121d;
  border: 2px solid #1e8cff;
  box-shadow: 0 0 12px rgba(60,47,255,.45);
}
.wheel-stage-v2 .wheel-disc {
  position: absolute;
  inset: 27px;
  width: var(--wheel-size);
  height: var(--wheel-size);
  margin: 0;
  background:
    radial-gradient(circle at 50% 50%,rgba(255,255,255,.2) 0,rgba(255,255,255,.05) 34%,transparent 64%),
    conic-gradient(from -15deg,
      #f5f8ff 0 30deg,#126cf3 30deg 60deg,
      #eef6ff 60deg 90deg,#5738e8 90deg 120deg,
      #f6f9ff 120deg 150deg,#079bd7 150deg 180deg,
      #edf7ff 180deg 210deg,#145acb 210deg 240deg,
      #162e4b 240deg 270deg,#6141ed 270deg 300deg,
      #f7f9ff 300deg 330deg,#088fc7 330deg 360deg);
  border: 3px solid #1188ff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28),inset 0 0 22px rgba(28,50,112,.16),0 0 0 2px rgba(92,54,255,.72),0 9px 18px rgba(4,24,54,.35);
}
.wheel-stage-v2 .wheel-disc::before {
  background: repeating-conic-gradient(from -15deg,transparent 0 29.65deg,rgba(16,39,85,.2) 29.65deg 30deg);
}
.wheel-stage-v2 .wheel-segment-label {
  width: 40%;
  height: 40px;
  transform: translate(-50%,-50%) rotate(calc(var(--segment) * 30deg)) translateY(calc(var(--wheel-size) * -.34));
}
.wheel-stage-v2 .wheel-segment-label b {
  width: 116px;
  max-height: 44px;
  color: #163a75;
  font-size: clamp(10px,1.7vw,12.5px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: .2px;
  text-shadow: 0 1px 1px rgba(255,255,255,.82);
}
.wheel-stage-v2 .wheel-segment-label:nth-child(even) b,
.wheel-stage-v2 .wheel-segment-label.prize-quantification b {
  color: #fff;
  text-shadow: 0 1px 3px rgba(3,20,73,.72);
}
.wheel-stage-v2 .wheel-segment-label.prize-quantification b { font-size: 14px; }
.wheel-stage-v2 .wheel-segment-label.prize-quantification small { font-size: .68em; }
.wheel-stage-v2 .wheel-segment-label small {
  display: block;
  margin-top: 2px;
  font-size: .61em;
  letter-spacing: -.2px;
}
.wheel-stage-v2 .wheel-spin-button {
  inset: 50% auto auto 50%;
  width: 78px;
  height: 78px;
  background: linear-gradient(145deg,#633cf0,#087ef8 60%,#13bce1);
  border-width: 5px;
  box-shadow: 0 0 0 3px #102339,0 5px 0 #071426,0 10px 20px rgba(6,31,72,.35);
}
.wheel-stage-v2 .wheel-pointer {
  top: -62px;
  width: 52px;
  height: 90px;
  transform-origin: 50% 25%;
  animation: none;
  filter: drop-shadow(3px 5px 4px rgba(9,39,72,.32));
}
.wheel-stage-v2.spinning .wheel-pointer { animation: none; }
.wheel-stage-v2 .wheel-pointer svg { display: block; width: 100%; height: 100%; }
.wheel-stage-v2 .wheel-pointer-shadow { fill: rgba(9,59,72,.32); stroke: none; }
.wheel-stage-v2 .wheel-pointer-body { fill: url(#wheel-pointer-gradient); stroke: rgba(255,255,255,.96); stroke-width: 1.7; stroke-linejoin: round; }
.wheel-stage-v2 .wheel-pointer-dot { fill: #fff; stroke: rgba(9,89,122,.2); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.wheel-stage-v2 .wheel-result {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 68px;
  margin-top: 16px;
}
.wheel-stage-v2 .wheel-result-action {
  color: #153b65;
  background: linear-gradient(145deg,#fff 0,#f4fbff 55%,#e6f6ff 100%);
  border: 1px solid rgba(8,126,248,.28);
  box-shadow: 0 8px 20px rgba(9,65,112,.16),inset 0 1px 0 #fff;
  cursor: pointer;
  transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease;
}
.wheel-stage-v2 .wheel-result-action strong { color: #087ef8; }
.wheel-stage-v2 .wheel-result-action:hover:not(:disabled) { border-color: rgba(8,126,248,.58); box-shadow: 0 11px 24px rgba(9,65,112,.22),0 0 0 3px rgba(8,126,248,.08); transform: translateY(-2px); }
.wheel-stage-v2 .wheel-result-action:active:not(:disabled) { box-shadow: 0 4px 12px rgba(9,65,112,.16); transform: translateY(1px) scale(.995); }
.wheel-stage-v2 .wheel-result-action:focus-visible { outline: 3px solid rgba(8,126,248,.25); outline-offset: 3px; }
.wheel-stage-v2 .wheel-result-action:disabled { cursor: wait; filter: saturate(.7); opacity: .82; }
.wheel-stage-v2 .wheel-result-action.won strong { color: #087ef8; }
.wheel-stage-v2 .wheel-result-action.missed strong { color: #6f7780; }
.wheel-outcome-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background: rgba(5,19,38,.3);
  opacity: 0;
  pointer-events: auto;
  backdrop-filter: blur(4px);
  transition: opacity .22s ease;
}
.wheel-outcome-overlay.visible { opacity: 1; }
.wheel-outcome-overlay.leaving { opacity: 0; }
.wheel-outcome-overlay.win { background: radial-gradient(circle at 50% 45%,rgba(8,126,248,.28),rgba(3,13,31,.76)); }
.wheel-outcome-message {
  position: relative;
  z-index: 2;
  min-width: min(320px,84vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 28px;
  color: #173652;
  text-align: center;
  background: rgba(255,255,255,.97);
  border: 2px solid rgba(8,126,248,.22);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(4,28,61,.3),inset 0 1px 0 #fff;
  transform: translateY(18px) scale(.78);
  transition: transform .34s cubic-bezier(.2,.9,.25,1.2);
}
.wheel-outcome-overlay.visible .wheel-outcome-message { transform: translateY(0) scale(1); }
.wheel-outcome-overlay.loss .wheel-outcome-message { min-width: min(250px,76vw); }
.wheel-outcome-overlay.win .wheel-outcome-message {
  min-width: min(350px,86vw);
  color: #fff;
  background: linear-gradient(145deg,rgba(16,53,91,.97),rgba(5,22,44,.98));
  border-color: rgba(47,202,248,.72);
  box-shadow: 0 22px 65px rgba(0,9,25,.55),0 0 38px rgba(8,126,248,.34),inset 0 1px 0 rgba(255,255,255,.18);
}
.wheel-outcome-overlay.visible.win .wheel-outcome-message { animation: wheel-win-card 1.25s ease-in-out .8s infinite alternate; }
.wheel-outcome-emoji {
  display: block;
  margin-bottom: 8px;
  font-family: "Segoe UI Emoji","Apple Color Emoji",sans-serif;
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 8px 8px rgba(10,50,91,.16));
}
.wheel-outcome-overlay.loss .wheel-outcome-emoji { animation: wheel-sad-drop .55s cubic-bezier(.25,.9,.3,1); }
.wheel-outcome-overlay.win .wheel-outcome-emoji { animation: wheel-win-pop .75s cubic-bezier(.15,.9,.2,1.25) both,wheel-emoji-party 1.2s ease-in-out .75s infinite; }
.wheel-outcome-message strong { color: #087ef8; font-size: 24px; }
.wheel-outcome-overlay.win .wheel-outcome-message strong {
  color: transparent;
  background: linear-gradient(90deg,#fff,#5ce5ff,#fff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: wheel-title-shine 1.4s linear infinite;
}
.wheel-outcome-overlay.loss .wheel-outcome-message strong { color: #52677a; font-size: 18px; }
.wheel-outcome-message small { margin-top: 7px; color: #60788f; font-size: 12px; }
.wheel-outcome-overlay.win .wheel-outcome-message small { margin-top: 10px; color: #abc5db; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; }
.wheel-outcome-message em { margin: 0 0 8px; padding: 5px 10px; color: #8cedff; background: rgba(26,193,235,.14); border: 1px solid rgba(92,229,255,.35); border-radius: 20px; font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: 2px; }
.wheel-outcome-prize { margin-top: 5px; color: #fff; font-size: 25px; line-height: 1.1; text-shadow: 0 0 18px rgba(82,225,255,.7); animation: wheel-prize-pulse .8s ease-in-out infinite alternate; }
.wheel-celebration-rays {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(520px,92vw);
  aspect-ratio: 1;
  background: repeating-conic-gradient(from 0deg,rgba(61,212,255,.18) 0 8deg,transparent 8deg 20deg);
  border-radius: 50%;
  opacity: .75;
  transform: translate(-50%,-50%);
  mask-image: radial-gradient(circle,transparent 0 24%,#000 27% 60%,transparent 76%);
  animation: wheel-rays-turn 8s linear infinite;
}
.wheel-confetti-rain { position: absolute; z-index: 3; inset: 0; overflow: hidden; pointer-events: none; }
.wheel-confetti-rain b {
  position: absolute;
  top: -12vh;
  left: 50%;
  width: 8px;
  height: 16px;
  background: #20c8eb;
  border-radius: 3px;
  box-shadow: 0 0 7px rgba(38,204,241,.45);
  animation: wheel-confetti-left 3.4s linear infinite;
}
.wheel-confetti-rain b:nth-child(3n+2) { background: #6545ee; }
.wheel-confetti-rain b:nth-child(3n) { width: 11px; height: 11px; background: #fff; border-radius: 50%; }
.wheel-confetti-rain b:nth-child(even) { animation-name: wheel-confetti-right; }
.wheel-confetti-rain b:nth-child(12n+1) { left: 4%; animation-delay: -.2s; }
.wheel-confetti-rain b:nth-child(12n+2) { left: 12%; animation-delay: -1.7s; }
.wheel-confetti-rain b:nth-child(12n+3) { left: 21%; animation-delay: -.8s; }
.wheel-confetti-rain b:nth-child(12n+4) { left: 30%; animation-delay: -2.4s; }
.wheel-confetti-rain b:nth-child(12n+5) { left: 39%; animation-delay: -1.2s; }
.wheel-confetti-rain b:nth-child(12n+6) { left: 47%; animation-delay: -2.9s; }
.wheel-confetti-rain b:nth-child(12n+7) { left: 55%; animation-delay: -.5s; }
.wheel-confetti-rain b:nth-child(12n+8) { left: 64%; animation-delay: -2s; }
.wheel-confetti-rain b:nth-child(12n+9) { left: 72%; animation-delay: -1s; }
.wheel-confetti-rain b:nth-child(12n+10) { left: 81%; animation-delay: -2.7s; }
.wheel-confetti-rain b:nth-child(12n+11) { left: 89%; animation-delay: -.35s; }
.wheel-confetti-rain b:nth-child(12n+12) { left: 96%; animation-delay: -1.45s; }
.wheel-confetti-rain b:nth-child(n+13):nth-child(-n+24) { animation-duration: 4.1s; }
.wheel-confetti-rain b:nth-child(n+25) { animation-duration: 4.8s; }
.wheel-firework {
  --fx: 50%;
  --fy: 35%;
  --delay: 0s;
  position: absolute;
  z-index: 1;
  left: var(--fx);
  top: var(--fy);
  width: 6px;
  height: 6px;
}
.wheel-firework.firework-one { --fx: 24%; --fy: 34%; --delay: 0s; }
.wheel-firework.firework-two { --fx: 76%; --fy: 31%; --delay: .22s; }
.wheel-firework.firework-three { --fx: 50%; --fy: 67%; --delay: .46s; }
.wheel-firework i {
  position: absolute;
  width: 12px;
  height: 5px;
  background: #18bfe7;
  border-radius: 10px;
  box-shadow: 0 0 8px currentColor;
  opacity: 0;
  transform: rotate(var(--angle)) translateX(0) scale(.4);
  animation: wheel-firework-burst 1.05s cubic-bezier(.15,.7,.2,1) var(--delay) 2 both;
}
.wheel-firework i:nth-child(3n+2) { background: #6141ed; }
.wheel-firework i:nth-child(3n) { background: #087ef8; }
.wheel-firework i:nth-child(1) { --angle: 0deg; }
.wheel-firework i:nth-child(2) { --angle: 30deg; }
.wheel-firework i:nth-child(3) { --angle: 60deg; }
.wheel-firework i:nth-child(4) { --angle: 90deg; }
.wheel-firework i:nth-child(5) { --angle: 120deg; }
.wheel-firework i:nth-child(6) { --angle: 150deg; }
.wheel-firework i:nth-child(7) { --angle: 180deg; }
.wheel-firework i:nth-child(8) { --angle: 210deg; }
.wheel-firework i:nth-child(9) { --angle: 240deg; }
.wheel-firework i:nth-child(10) { --angle: 270deg; }
.wheel-firework i:nth-child(11) { --angle: 300deg; }
.wheel-firework i:nth-child(12) { --angle: 330deg; }
@keyframes wheel-firework-burst {
  0% { opacity: 0; transform: rotate(var(--angle)) translateX(0) scale(.4); }
  14% { opacity: 1; }
  72% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--angle)) translateX(112px) scale(.9); }
}
@keyframes wheel-win-pop {
  0% { opacity: 0; transform: scale(.2) rotate(-18deg); }
  62% { opacity: 1; transform: scale(1.15) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes wheel-sad-drop {
  0% { opacity: 0; transform: translateY(-28px) scale(.72); }
  70% { opacity: 1; transform: translateY(5px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wheel-confetti-left {
  0% { opacity: 0; transform: translate3d(0,-12vh,0) rotate(0); }
  8% { opacity: 1; }
  35% { transform: translate3d(-36px,34vh,0) rotate(230deg); }
  68% { transform: translate3d(25px,72vh,0) rotate(510deg); }
  100% { opacity: .9; transform: translate3d(-18px,116vh,0) rotate(760deg); }
}
@keyframes wheel-confetti-right {
  0% { opacity: 0; transform: translate3d(0,-12vh,0) rotate(0); }
  8% { opacity: 1; }
  38% { transform: translate3d(38px,38vh,0) rotate(-260deg); }
  70% { transform: translate3d(-22px,76vh,0) rotate(-540deg); }
  100% { opacity: .9; transform: translate3d(20px,116vh,0) rotate(-800deg); }
}
@keyframes wheel-rays-turn { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes wheel-win-card { to { transform: translateY(-6px) scale(1.018); } }
@keyframes wheel-emoji-party { 0%,100% { transform: rotate(-5deg); } 50% { transform: translateY(-6px) rotate(7deg) scale(1.08); } }
@keyframes wheel-title-shine { to { background-position: -200% 0; } }
@keyframes wheel-prize-pulse { to { transform: scale(1.08); text-shadow: 0 0 24px rgba(82,225,255,.95); } }
@media (max-width: 520px) {
  .wheel-stage-v2 { padding: 63px 8px 14px; }
  .wheel-stage-v2 .wheel-arena-v2 { --wheel-size: min(440px,calc(100vw - 92px)); width: calc(var(--wheel-size) + 40px); height: calc(var(--wheel-size) + 40px); }
  .wheel-stage-v2 .wheel-lights::after { inset: 16px; }
  .wheel-stage-v2 .wheel-disc { inset: 20px; }
  .wheel-stage-v2 .wheel-spin-button { width: 70px; height: 70px; }
  .wheel-stage-v2 .wheel-spin-button span { font-size: 16px; }
  .wheel-stage-v2 .wheel-pointer { top: -54px; width: 46px; height: 81px; }
  .wheel-stage-v2 .wheel-segment-label { transform: translate(-50%,-50%) rotate(calc(var(--segment) * 30deg)) translateY(calc(var(--wheel-size) * -.335)); }
  .wheel-stage-v2 .wheel-segment-label b { width: 82px; font-size: 9px; }
  .wheel-stage-v2 .wheel-segment-label.prize-quantification b { font-size: 10px; }
  .wheel-stage-v2 .wheel-segment-label.prize-quantification small { font-size: .64em; }
}
@keyframes wheel-rim-pulse { 50% { box-shadow: inset 0 0 0 2px rgba(103,64,255,.85),inset 0 0 28px rgba(0,0,0,.95),0 18px 34px rgba(9,37,70,.34),0 0 0 2px rgba(31,142,255,.5); } }
.team-empty { display: flex; flex-direction: column; align-items: center; padding: 35px 15px 25px; text-align: center; border-top: 1px solid #eef1f3; }
.team-empty svg { width: 42px; height: 42px; margin-bottom: 13px; padding: 10px; color: #078df8; background: #eaf5ff; border-radius: 13px; }
.team-empty strong { font-size: 13px; }.team-empty p { max-width: 290px; margin: 7px 0 0; color: #89949f; font-size: 10px; line-height: 1.5; }
.wallet-page { background: #f5f7f9; }
.wallet-header { display: flex; align-items: center; justify-content: space-between; }
.wallet-header > div > span { color: #078df8; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.wallet-header > div > h1 { margin-top: 6px; }
.wallet-header > button { width: 38px; height: 38px; color: #078df8; background: #e7f4ff; border-radius: 12px; font-size: 20px; }
.wallet-scroll { flex: 1; overflow-y: auto; padding: 10px 20px 34px; }
.wallet-balance-card { display: flex; flex-direction: column; padding: 22px; color: #fff; background: linear-gradient(135deg,#121b24,#263c50); border-radius: 21px; box-shadow: 0 16px 32px rgba(18,31,43,.16); }
.wallet-balance-card > span { color: #8da5b8; font-size: 8px; font-weight: 850; letter-spacing: 1.3px; }
.wallet-balance-card > strong { margin: 8px 0 5px; font-size: 35px; letter-spacing: -1px; }
.wallet-balance-card > small { color: #90a2b1; font-size: 8px; line-height: 1.5; }
.wallet-balance-breakdown { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.wallet-balance-breakdown small { padding: 6px 8px; color: #9db0bf; background: rgba(255,255,255,.07); border-radius: 8px; font-size: 8px; }
.wallet-balance-breakdown small b { margin-left: 3px; color: #fff; }
.wallet-balance-breakdown i { color: #6f8799; font-size: 10px; font-style: normal; }
.wallet-balance-card > p { margin: 9px 0 0; color: #8196a7; font-size: 7px; line-height: 1.45; }
.wallet-tabs { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0 clamp(18px,5vw,34px); padding: 5px; background: #e7edf2; border-radius: 13px; }
.wallet-tabs button { min-height: 38px; color: #6c7b87; background: transparent; border-radius: 10px; font-size: 11px; font-weight: 750; }
.wallet-tabs button.active { color: #fff; background: linear-gradient(105deg,#12c1ed,#087ef8); box-shadow: 0 6px 14px rgba(8,126,248,.2); }
.deposit-form,.withdrawal-config-form,.withdrawal-request-form,.withdrawal-notice,.payment-setup-notice,.deposit-instructions,.deposit-history { margin-top: 13px; padding: 19px; background: #fff; border: 1px solid #e4e9ed; border-radius: 18px; }
.deposit-form > div > span,.withdrawal-config-form > div > span,.withdrawal-request-form > div > span,.deposit-history > div > span,.deposit-instructions > div > span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.deposit-form h2,.withdrawal-config-form h2,.withdrawal-request-form h2,.deposit-history h2 { margin: 5px 0; font-size: 18px; }
.deposit-form > div > p,.withdrawal-config-form > div > p,.withdrawal-request-form > div > p { margin: 0 0 15px; color: #87939e; font-size: 9px; line-height: 1.5; }
.deposit-form label,.withdrawal-config-form label,.withdrawal-request-form label { display: block; margin-top: 11px; color: #596672; font-size: 9px; font-weight: 700; }
.deposit-form input,.deposit-form select,.withdrawal-config-form input,.withdrawal-request-form input { width: 100%; height: 44px; display: block; margin-top: 6px; padding: 0 12px; color: #23303c; background: #f3f6f8; border: 1px solid transparent; border-radius: 11px; outline: none; }
.deposit-form input:focus,.deposit-form select:focus,.withdrawal-config-form input:focus,.withdrawal-request-form input:focus { background: #fff; border-color: #078df8; }
.withdrawal-config-form input:read-only,.withdrawal-request-form input:read-only { color: #74828d; }
.deposit-form .primary-button,.withdrawal-config-form .primary-button,.withdrawal-request-form .primary-button { margin-top: 14px; }
.deposit-form .primary-button:disabled,.withdrawal-request-form .primary-button:disabled { cursor: not-allowed; opacity: .45; }
.withdrawal-notice { color: #72550d; background: #fff8df; border-color: #f1dc91; }
.withdrawal-notice strong { font-size: 11px; }.withdrawal-notice p { margin: 6px 0 0; font-size: 9px; line-height: 1.5; }
.wallet-address-short { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-error { display: block; margin-top: 9px; color: #c14253; font-size: 8px; }
.payment-setup-notice > strong { font-size: 14px; }.payment-setup-notice > p { color: #75818c; font-size: 10px; line-height: 1.55; }
.payment-setup-notice > div { display: flex; gap: 7px; flex-wrap: wrap; }
.payment-setup-notice > div span { padding: 6px 9px; color: #a54754; background: #fdecef; border-radius: 20px; font-size: 8px; }
.payment-setup-notice > div span.ok { color: #26714e; background: #e7f7ef; }
.deposit-instructions { border-color: #b9defb; }
.deposit-instructions > div { display: flex; flex-direction: column; gap: 5px; }
.deposit-instructions > div strong { font-size: 19px; letter-spacing: .5px; }.deposit-instructions > div small { color: #7e8a95; font-size: 9px; }
.deposit-instructions label { display: block; margin-top: 13px; color: #6e7a85; font-size: 8px; font-weight: 750; }
.deposit-instructions label button { width: 100%; display: block; margin-top: 5px; padding: 11px; overflow: hidden; color: #087dda; text-align: left; text-overflow: ellipsis; white-space: nowrap; background: #eef7ff; border-radius: 10px; font: 9px ui-monospace,monospace; }
.deposit-instructions > p { margin: 13px 0 0; color: #7e8994; font-size: 8px; line-height: 1.55; }
.deposit-history > div { margin-bottom: 10px; }
.deposit-history article { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f3; }
.deposit-history article > div { display: flex; flex-direction: column; gap: 5px; }.deposit-history article > div:last-child { align-items: flex-end; text-align: right; }
.deposit-history article strong { font-size: 11px; }.deposit-history article small { color: #8c97a1; font-size: 8px; }
.payment-history-entry { align-items: center; }
.payment-history-entry .payment-type-badge { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: #087ef8; background: #eaf5ff; border-radius: 11px; font-size: 15px; }
.payment-history-entry.quantification .payment-type-badge { color: #7654d8; background: #f0ecff; }
.payment-history-entry.bonus .payment-type-badge { color: #9a690b; background: #fff4d7; }
.payment-history-entry.withdrawal .payment-type-badge { color: #c14a5b; background: #fdecef; }
.payment-history-entry > div:nth-child(2) { min-width: 0; flex: 1; }
.payment-history-entry > div:nth-child(2) small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-history-amount { font-size: 10px !important; white-space: nowrap; }
.payment-history-amount.positive { color: #178354; }.payment-history-amount.negative { color: #be4355; }
.payment-status { width: fit-content; padding: 5px 7px; color: #92650e; background: #fff4d7; border-radius: 20px; font-size: 7px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.payment-status.finished { color: #28714f; background: #e7f7ef; }
.payment-status.completed { color: #28714f; background: #e7f7ef; }
.payment-status.failed,.payment-status.expired,.payment-status.refunded,.payment-status.rejected { color: #aa3d4c; background: #fdecef; }
.wallet-empty { padding: 25px 0 10px; color: #909ba5; text-align: center; font-size: 10px; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 94px; max-width: calc(100% - 40px); padding: 12px 17px; color: #fff; background: rgba(26,28,31,.94); border-radius: 13px; box-shadow: 0 14px 35px rgba(0,0,0,.2); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.install-guide { position: fixed; z-index: 180; inset: 0; display: grid; place-items: end center; padding: 16px; }
.install-guide-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(9,18,27,.68); }
.install-guide-card { position: relative; width: min(100%,430px); padding: 24px; color: #17202a; background: #fff; border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.28); animation: install-guide-in .22s ease-out; }
.install-guide-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 15px; background: #17202a; border-radius: 16px; }
.install-guide-icon img { width: 42px; height: 42px; object-fit: contain; border-radius: 11px; }
.install-guide-copy > span { color: #078df8; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.install-guide-copy h2 { margin: 6px 0 8px; font-size: 22px; }
.install-guide-copy p { margin: 0; color: #7c8995; font-size: 12px; line-height: 1.55; }
.install-guide-card ol { display: grid; gap: 10px; padding-left: 22px; margin: 20px 0; color: #44515d; font-size: 12px; line-height: 1.5; }
.install-guide-done { width: 100%; }
@keyframes install-guide-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.optional { color: #a0a6ae; font-size: 10px; font-weight: 500; }

#app.wide {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
body.admin-body { padding: 0; background: #f2f5f8; }
.admin-app { width: 100%; min-height: 100vh; display: grid; grid-template-columns: 272px minmax(0,1fr); color: #18202b; background: #f2f5f8; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; min-height: 720px; display: flex; flex-direction: column; padding: 28px 18px; color: #dce5ee; background: #101820; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 30px; }
.admin-brand img { width: 42px; height: 42px; border-radius: 13px; }
.admin-brand div { display: flex; flex-direction: column; }
.admin-brand strong { color: #fff; font-size: 15px; }
.admin-brand span { margin-top: 3px; color: #778796; font-size: 10px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar button { width: 100%; position: relative; display: flex; align-items: center; gap: 12px; overflow: hidden; padding: 12px 14px; color: #81909e; text-align: left; background: transparent; border-radius: 12px; font-size: 12px; }
.admin-sidebar button svg { width: 19px; height: 19px; }
.admin-sidebar button.active { color: #fff; background: linear-gradient(110deg,#0788f7,#16c7f4); box-shadow: 0 10px 24px rgba(8,136,247,.2); }
.admin-sidebar button.has-unread { color: #fff; background: linear-gradient(105deg,#075eb4,#08a7f4 55%,#25d4f2); box-shadow: 0 0 0 1px rgba(77,218,255,.32),0 0 25px rgba(15,183,244,.58),0 11px 25px rgba(4,112,190,.34); animation: admin-support-nav-glow 1.45s ease-in-out infinite; }
.admin-sidebar button.has-unread::before { content: ""; position: absolute; width: 42%; inset: -20% auto -20% -55%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent); transform: skewX(-18deg); animation: admin-support-nav-sheen 1.9s ease-in-out infinite; }
.admin-sidebar button.has-unread > svg,.admin-sidebar button.has-unread > span,.admin-support-nav-badge { position: relative; z-index: 1; }
.admin-support-nav-badge { min-width: 23px; height: 23px; display: grid; place-items: center; margin-left: auto; padding: 0 6px; color: #0879cc; background: #fff; border: 2px solid rgba(255,255,255,.66); border-radius: 20px; box-shadow: 0 4px 12px rgba(0,60,110,.24); font-size: 8px; font-weight: 900; }
.admin-support-nav-badge[hidden] { display: none; }
@keyframes admin-support-nav-glow { 0%,100% { filter: brightness(.94); transform: translateZ(0); } 50% { filter: brightness(1.18); } }
@keyframes admin-support-nav-sheen { 0%,28% { left: -55%; } 72%,100% { left: 120%; } }
.admin-sidebar-bottom { display: grid; gap: 4px; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); }
.admin-main { min-width: 0; width: 100%; }
.admin-topbar { min-height: 96px; display: flex; align-items: center; gap: 18px; padding: 20px clamp(22px,4vw,48px); background: #fff; border-bottom: 1px solid #e8edf2; }
.admin-topbar > div:nth-child(2) { flex: 1; }
.admin-topbar > div > span, .panel-head > div > span, .admin-topbar > div:nth-child(2) > span { color: #088df7; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.admin-topbar h1 { margin: 4px 0 0; font-size: 27px; letter-spacing: -.8px; }
.admin-account { display: flex; align-items: center; gap: 11px; color: #687381; font-size: 11px; }
.admin-account b { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: #17202a; border-radius: 12px; font-size: 14px; }
.admin-menu { display: none; padding: 8px; background: #f0f3f6; border-radius: 9px; }
.admin-content { width: 100%; max-width: 1600px; margin: 0 auto; padding: clamp(26px,3.5vw,54px); }
.admin-loading, .admin-empty { padding: 60px 20px; color: #8d99a5; text-align: center; }
.admin-overview-group { margin-bottom: 24px; }
.admin-overview-heading { margin-bottom: 13px; }
.admin-overview-heading > span { color: #088df7; font-size: 9px; font-weight: 850; letter-spacing: 1.3px; }
.admin-overview-heading h2 { margin: 5px 0 0; font-size: 20px; }
.admin-overview-heading p { margin: 6px 0 0; color: #8995a0; font-size: 10px; line-height: 1.5; }
.admin-overview-heading.compact { margin-bottom: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.admin-money-stats { grid-template-columns: repeat(auto-fit,minmax(185px,1fr)); margin-bottom: 0; }
.admin-today-stats { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 0; }
.admin-today-overview { padding: 20px; background: linear-gradient(135deg,rgba(8,141,247,.055),rgba(22,199,244,.025)); border: 1px solid #dfeaf2; border-radius: 20px; }
.admin-activity-stats { grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); margin-bottom: 0; }
.admin-stat { position: relative; overflow: hidden; padding: 20px; background: #fff; border: 1px solid #e8edf2; border-radius: 18px; }
.admin-stat::after { content: ""; position: absolute; width: 72px; height: 72px; right: -25px; top: -25px; background: #0a8df7; border-radius: 50%; opacity: .1; }
.admin-stat > span { display: block; color: #818d99; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.admin-stat > strong { display: block; margin: 10px 0 5px; color: #17202a; font-size: 30px; letter-spacing: -1px; }
.admin-stat > small { color: #97a2ad; font-size: 10px; }
.admin-money-stat > strong { font-size: 26px; }
.admin-money-stat > strong small { color: #6f7d89; font-size: 9px; font-weight: 800; letter-spacing: .3px; }
.admin-stat.green::after { background: #00a85a; }.admin-stat.red::after { background: #e94358; }
.admin-stat.amber::after { background: #f1a319; }.admin-stat.violet::after { background: #7c57e8; }
.admin-stat.slate::after { background: #536475; }
.admin-stat.cyan::after { background: #16c7f4; }
.currency-overview { overflow: hidden; }
.currency-stats-table { margin-top: 14px; border: 1px solid #e7edf2; border-radius: 13px; overflow-x: auto; }
.currency-stats-row { display: grid; grid-template-columns: minmax(90px,1.25fr) repeat(3,minmax(105px,1.15fr)) repeat(3,minmax(70px,.75fr)); align-items: center; min-width: 780px; min-height: 48px; padding: 0 16px; border-bottom: 1px solid #e7edf2; }
.currency-stats-row:last-child { border-bottom: 0; }
.currency-stats-row > :not(:first-child) { text-align: center; }
.currency-stats-row strong { color: #17202a; font-size: 12px; }
.currency-stats-row .money { color: #52606d; font-size: 10px; font-weight: 700; }
.currency-stats-row .money.balance { color: #087845; }
.currency-stats-row .money.process-amount { color: #9a6500; }
.currency-stats-row b { justify-self: center; min-width: 28px; padding: 5px 8px; border-radius: 20px; font-size: 10px; }
.currency-stats-row b.process { color: #9a6500; background: #fff3d9; }
.currency-stats-row b.success { color: #087845; background: #e4f7ed; }
.currency-stats-row b.rejected { color: #b32d43; background: #fde8ec; }
.currency-stats-head { min-height: 40px; color: #84909c; background: #f5f7f9; font-size: 9px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.currency-stats-empty { padding: 28px 10px; }
.payment-admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
.payment-admin-stats article { padding: 15px; background: #f4f7f9; border-radius: 13px; border-top: 4px solid #f5ad19; }
.payment-admin-stats article.success { border-color: #21ad6a; }.payment-admin-stats article.rejected { border-color: #e14d60; }.payment-admin-stats article.volume { border-color: #078df8; }
.payment-admin-stats span { display: block; color: #7f8b96; font-size: 9px; }.payment-admin-stats strong { display: block; margin-top: 7px; font-size: 20px; }
.provider-readiness { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 11px 13px; color: #a33f4d; background: #fdecef; border-radius: 11px; font-size: 9px; }
.provider-readiness.ready { color: #276d4e; background: #e8f7ef; }
.payments-table .admin-tr { min-width: 1050px; grid-template-columns: 1fr 1fr .65fr .85fr .7fr .6fr 1fr; }
.payment-panel-head { padding-bottom: 17px; }
.payment-panel-head p { margin: 5px 0 0; color: #7c8994; font-size: 9px; }
.provider-mini-status { display: flex; align-items: center; gap: 7px; padding: 7px 10px; color: #a2424f; background: #fdecef; border-radius: 20px; font-size: 8px; font-weight: 750; }
.provider-mini-status i { width: 7px; height: 7px; background: #d9485b; border-radius: 50%; }
.provider-mini-status.ready { color: #286f50; background: #e8f7ef; }.provider-mini-status.ready i { background: #21aa69; }
.transaction-filter-group { margin-bottom: 13px; }
.transaction-filter-group > span { display: block; margin: 0 0 7px 3px; color: #84909c; font-size: 8px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.payment-type-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.payment-type-tabs button { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #61707d; background: #edf2f7; border: 1px solid transparent; border-radius: 11px; font-size: 10px; font-weight: 700; transition: .18s; }
.payment-type-tabs button b { min-width: 22px; padding: 4px 7px; color: #61707d; background: #fff; border-radius: 20px; font-size: 8px; }
.payment-type-tabs button.active { color: #fff; background: linear-gradient(100deg,#132433,#078df8); border-color: #078df8; box-shadow: 0 8px 18px rgba(7,141,248,.17); }
.payment-type-tabs button.active b { color: #0877cd; }
.payment-filter-tabs { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; background: #edf2f7; border-radius: 10px; }
.payment-filter-tabs button { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #687581; background: transparent; font-size: 10px; transition: .18s; }
.payment-filter-tabs button b { min-width: 20px; padding: 3px 6px; color: inherit; background: rgba(255,255,255,.55); border-radius: 20px; font-size: 8px; }
.payment-filter-tabs button.active { color: #17202a; font-weight: 800; }
.payment-filter-tabs button.all.active { color: #fff; background: #172532; }.payment-filter-tabs button.pending.active { background: #ffb51b; }.payment-filter-tabs button.completed.active { color: #fff; background: #20aa68; }.payment-filter-tabs button.rejected.active { color: #fff; background: #df4d5f; }
.payment-total-line { display: flex; justify-content: space-between; gap: 15px; padding: 0 6px 12px; color: #8a96a1; font-size: 9px; }
.payment-total-line strong { color: #33414e; }
.payment-empty { min-height: 210px; display: grid; place-items: center; }
.unified-payment-register { display: grid; gap: 16px; }
.payment-register-section { overflow: hidden; border: 1px solid #e5ebf0; border-radius: 15px; }
.payment-register-section > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 16px; background: #f7f9fb; border-bottom: 1px solid #e5ebf0; }
.payment-register-section > header span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.payment-register-section > header h3 { margin: 4px 0 0; color: #17202a; font-size: 14px; }
.payment-register-section > header > b { color: #667480; font-size: 9px; }
.payment-register-section .admin-table { border: 0; border-radius: 0; }
.withdrawal-register-section > header span { color: #8a54e8; }
.withdrawal-register-section .withdrawal-admin-list { margin: 0; padding: 12px; }
.admin-panel { padding: 24px; background: #fff; border: 1px solid #e8edf2; border-radius: 20px; }
.admin-panel h2 { margin: 0; font-size: 17px; }
.withdrawal-admin-list { display: grid; gap: 10px; margin-top: 18px; }
.withdrawal-admin-row { display: grid; grid-template-columns: 1fr .65fr 1.35fr auto 1.4fr; gap: 14px; align-items: center; padding: 14px; background: #f7f9fb; border: 1px solid #e5ebf0; border-radius: 14px; }
.withdrawal-admin-row > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.withdrawal-admin-row strong { color: #22313e; font-size: 11px; }.withdrawal-admin-row small { color: #7c8994; font-size: 8px; }
.withdrawal-admin-address small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.withdrawal-admin-actions { display: grid !important; grid-template-columns: 1fr 74px 92px; gap: 6px !important; }
.withdrawal-admin-actions input { min-width: 0; height: 34px; padding: 0 9px; background: #fff; border: 1px solid #dce5ec; border-radius: 8px; font-size: 8px; }
.withdrawal-admin-actions button { min-height: 34px; color: #fff; background: #20aa68; border-radius: 8px; font-size: 8px; font-weight: 800; }
.withdrawal-admin-actions button.reject { background: #df4d5f; }
.withdrawal-processed { text-align: right; }
.welcome-panel { min-height: 190px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: #fff; background: linear-gradient(125deg,#131e29,#24394c); border: 0; }
.welcome-panel > div:first-child { max-width: 560px; }
.welcome-panel span { color: #46d3f7; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.welcome-panel h2 { margin: 8px 0; font-size: 25px; }
.welcome-panel p { margin: 0; color: #aab8c5; font-size: 12px; line-height: 1.65; }
.status-orbit { width: 86px; height: 86px; position: relative; display: grid; place-items: center; margin: 0 30px; border: 1px solid rgba(70,211,247,.3); border-radius: 50%; }
.status-orbit::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(70,211,247,.25); border-radius: 50%; }
.status-orbit i { position: absolute; width: 9px; height: 9px; top: 5px; background: #46d3f7; border-radius: 50%; box-shadow: 0 0 15px #46d3f7; }
.status-orbit b { font-size: 11px; letter-spacing: 2px; }
.admin-grid-two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.coverage-list { display: grid; gap: 15px; margin: 20px 0 0; padding: 0; list-style: none; }
.coverage-list li { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding-bottom: 13px; border-bottom: 1px solid #eef1f4; }
.coverage-list b { font-size: 11px; }.coverage-list span { color: #87939f; font-size: 11px; }
.admin-actions { display: grid; gap: 9px; margin-top: 18px; }
.admin-actions button { display: flex; justify-content: space-between; padding: 13px 14px; color: #273442; background: #f4f6f8; border-radius: 11px; font-size: 11px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 20px; }
.panel-head h2 { margin-top: 4px; }.panel-head > b { color: #8894a0; font-size: 10px; }
.user-panel-head form { flex: 1; max-width: 360px; display: flex; background: #f2f5f7; border-radius: 11px; }
.user-panel-head input { min-width: 0; flex: 1; padding: 10px 12px; border: 0; background: transparent; font-size: 11px; }
.user-panel-head button { padding: 8px 13px; color: #fff; background: #17202a; border-radius: 9px; font-size: 10px; }
.user-directory-tools { min-width: 360px; flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; }
.user-directory-tools form { width: min(100%,360px); }
.user-view-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: #edf2f6; border-radius: 10px; }
.user-view-switch button { min-width: 58px; padding: 7px 10px; color: #71808d; background: transparent; border-radius: 7px; font-size: 9px; font-weight: 750; }
.user-view-switch button.active { color: #fff; background: #17202a; box-shadow: 0 4px 10px rgba(23,32,42,.13); }
.user-directory-panel { padding: clamp(20px,2.4vw,32px); }
.user-count-badge { padding: 7px 11px; color: #087dda !important; background: #eaf5ff; border-radius: 20px; white-space: nowrap; }
.user-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding-top: 4px; }
.admin-user-card { min-width: 0; padding: 18px; background: #fff; border: 1px solid #e4eaf0; border-radius: 18px; box-shadow: 0 7px 22px rgba(28,43,57,.045); transition: border-color .18s,box-shadow .18s,transform .18s; }
.admin-user-card:hover { border-color: #cbdff0; box-shadow: 0 13px 30px rgba(28,43,57,.08); transform: translateY(-2px); }
.admin-user-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-user-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }
.admin-user-identity > b { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#17202a,#3a4e61); border-radius: 13px; font-size: 13px; }
.admin-user-identity > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.admin-user-identity strong,.admin-user-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-identity strong { color: #17202a; font-size: 13px; }
.admin-user-identity small { color: #8d99a5; font-size: 9px; }
.admin-user-contact { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 12px 0 14px 53px; color: #7e8b97; font-size: 9px; }
.admin-user-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; background: #f4f7f9; border: 1px solid #edf1f4; border-radius: 14px; }
.admin-user-metrics > div { min-width: 0; min-height: 82px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 12px; border-right: 1px solid #e4eaf0; }
.admin-user-metrics > div:last-child { border-right: 0; }
.admin-user-metrics span,.admin-user-meta small { color: #8b97a3; font-size: 8px; font-weight: 750; letter-spacing: .45px; text-transform: uppercase; }
.admin-user-metrics strong { overflow: hidden; color: #263442; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-metrics strong > small { color: inherit; font-size: 8px; }
.admin-user-metrics div > small { overflow: hidden; color: #8e9aa5; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-metrics .balance strong { color: #087845; font-size: 15px; }
.admin-user-metrics .vip strong { color: #087dda; }
.admin-user-metrics .bonuses strong { color: #7453cb; font-size: 15px; }
.admin-user-bonus-breakdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 10px 0 14px; }
.admin-user-bonus-breakdown > span { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 8px 9px; background: #fafbfc; border: 1px solid #edf1f4; border-radius: 9px; }
.admin-user-bonus-breakdown small { color: #929da7; font-size: 8px; }
.admin-user-bonus-breakdown strong { color: #465462; font-size: 9px; }
.admin-user-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 14px 2px; border-top: 1px solid #edf1f4; }
.admin-user-meta > span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.admin-user-meta strong { overflow: hidden; color: #455361; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-card-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding-top: 3px; }
.admin-user-card-actions button { min-height: 38px; padding: 9px 12px; border-radius: 10px; font-size: 9px; font-weight: 800; }
.admin-user-card-actions .copy { color: #087dda; background: #eaf5ff; }
.admin-user-card-actions .open { display: flex; align-items: center; justify-content: space-between; color: #fff; background: #17202a; }
.admin-user-card-actions .open span { font-size: 15px; }
.adaptive-user-list { overflow: hidden; border: 1px solid #e3eaf0; border-radius: 15px; }
.adaptive-user-list-head,.adaptive-user-list-row { display: grid; grid-template-columns: 1.3fr .72fr .78fr .72fr 1fr .72fr 1fr .43fr 36px; align-items: center; gap: 10px; }
.adaptive-user-list-head { min-height: 40px; padding: 0 14px; color: #8794a0; background: #f4f7f9; border-bottom: 1px solid #e3eaf0; font-size: 8px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.adaptive-user-list-row { min-height: 86px; padding: 12px 14px; background: #fff; border-bottom: 1px solid #e9eef2; transition: background .16s; }
.adaptive-user-list-row:last-child { border-bottom: 0; }
.adaptive-user-list-row:hover { background: #f9fbfc; }
.adaptive-user-list-row > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.adaptive-user-list-row > div > small { display: none; color: #8e9aa5; font-size: 7px; font-weight: 750; letter-spacing: .45px; text-transform: uppercase; }
.adaptive-user-list-row > div > strong { overflow: hidden; color: #263442; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.adaptive-user-list-row > div > span { overflow: hidden; color: #8a96a1; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.list-user { flex-direction: row !important; align-items: center; gap: 10px !important; }
.list-user > b { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#17202a,#3a4e61); border-radius: 11px; font-size: 11px; }
.list-user > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.list-user strong,.list-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-user strong { color: #17202a; font-size: 10px; }.list-user small { color: #8b97a2; font-size: 8px; }
.list-account > strong { color: #087845 !important; }
.list-withdrawals > strong { color: #087dda !important; }
.list-withdrawals > span.pending { color: #9a6500 !important; font-weight: 750; }
.list-bonuses > strong { color: #7453cb !important; }
.list-status { align-items: flex-start; }
.list-status > small { display: block !important; margin-left: 4px; }
.list-open-user { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: #17202a; border-radius: 10px; font-size: 14px; }
.list-open-user:hover { background: #078df8; }
.admin-table { border-top: 1px solid #e9edf1; }
.admin-tr { width: 100%; display: grid; grid-template-columns: 1.2fr 1.2fr .65fr .7fr .8fr; align-items: center; gap: 14px; padding: 13px 7px; color: #4e5b68; text-align: left; background: transparent; border-bottom: 1px solid #eef1f4; font-size: 10px; }
.users-table .admin-tr { min-width: 2050px; grid-template-columns: 1.05fr .9fr .42fr .75fr .62fr 1.05fr .58fr .9fr .62fr .48fr .34fr .45fr .95fr; }
.admin-bonus-cell { overflow: visible !important; }
button.admin-tr:hover { background: #f7fafc; }
.admin-tr > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; overflow: hidden; text-overflow: ellipsis; }
.admin-tr small { color: #98a3ad; overflow: hidden; text-overflow: ellipsis; }
.admin-th { color: #98a3ad; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.user-cell { flex-direction: row !important; align-items: center; }
.user-cell > b { flex: 0 0 auto; width: 33px; height: 33px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#17202a,#3a4e61); border-radius: 10px; }
.user-cell i { min-width: 0; display: flex; flex-direction: column; gap: 3px; font-style: normal; }
.balance-cell { color: #1b6b4c; font-weight: 800; }
.referral-code-cell strong { color: #087dda; font-size: 11px; letter-spacing: 1px; }
.referral-link-cell { cursor: copy; }
.referral-link-cell strong { color: #087dda; }
.referral-link-cell:hover strong { text-decoration: underline; }
.team-count-cell strong { color: #17202a; font-size: 12px; }
.invited-by-cell strong { color: #374554; }
.status { width: fit-content; padding: 5px 8px; color: #327454; background: #e8f7ef; border-radius: 20px; font-style: normal; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.status.blocked,.status.rejected,.status.deleted { color: #b63e4d; background: #fdecef; }
.status.pending { color: #95660d; background: #fff5d9; }
.status.moderator { color: #6644b2; background: #f1edfb; }
.audit-list { border-top: 1px solid #e9edf1; }
.audit-list article { display: grid; grid-template-columns: 10px 1fr auto; gap: 13px; align-items: center; padding: 14px 2px; border-bottom: 1px solid #eef1f4; }
.audit-list article > i { width: 7px; height: 7px; background: #088df7; border-radius: 50%; box-shadow: 0 0 0 4px #e8f4ff; }
.audit-list div { display: flex; flex-direction: column; gap: 4px; }
.audit-list strong { font-size: 11px; }.audit-list span,.audit-list time { color: #929da7; font-size: 9px; }
.settings-list { display: grid; }
.settings-list form { display: grid; grid-template-columns: 1.1fr 1.4fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid #eef1f4; }
.settings-list form > div { display: flex; flex-direction: column; gap: 3px; }
.settings-list strong { font-size: 11px; }.settings-list small { color: #96a1ab; font-size: 9px; }
.settings-list input[name=value],.drawer-controls select,.drawer-section textarea { width: 100%; padding: 10px 11px; border: 1px solid #dfe5ea; border-radius: 9px; outline: none; font-size: 10px; }
.settings-list label { color: #77838f; font-size: 9px; }
.settings-list button,.drawer-controls button,.drawer-section form button { padding: 10px 14px; color: #fff; background: #17202a; border-radius: 9px; font-size: 9px; }
.admin-error { padding: 50px; color: #9e3d4a; text-align: center; background: #fff; border-radius: 18px; }
.admin-error p { color: #7d8995; }.admin-error button { padding: 10px 14px; color: #fff; background: #17202a; border-radius: 10px; }
.admin-drawer-backdrop { position: fixed; z-index: 50; inset: 0; background: rgba(13,20,27,.45); backdrop-filter: blur(2px); }
.admin-drawer { position: fixed; z-index: 51; width: min(680px,100%); top: 0; right: 0; bottom: 0; padding: 25px; overflow-y: auto; background: #fff; box-shadow: -25px 0 70px rgba(14,24,34,.18); }
.admin-drawer > header { display: flex; align-items: start; justify-content: space-between; margin-bottom: 24px; }
.admin-drawer header span { color: #078df8; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.admin-drawer header h2 { margin: 4px 0 0; font-size: 25px; }
.admin-drawer header button { width: 34px; height: 34px; background: #eff2f5; border-radius: 10px; font-size: 20px; }
.drawer-profile { display: flex; align-items: center; gap: 13px; padding: 17px; background: #f3f6f8; border-radius: 15px; }
.drawer-profile > b { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: #17202a; border-radius: 13px; }
.drawer-profile div { display: flex; flex-direction: column; gap: 4px; }
.drawer-profile span { color: #87929d; font-size: 9px; }
.admin-drawer-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin: 14px 0; padding: 5px; background: #edf2f6; border-radius: 13px; }
.admin-drawer-tabs button { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #6e7c89; background: transparent; border-radius: 9px; font-size: 10px; font-weight: 750; }
.admin-drawer-tabs button b { min-width: 22px; padding: 3px 6px; color: inherit; background: rgba(255,255,255,.75); border-radius: 20px; font-size: 8px; }
.admin-drawer-tabs button.active { color: #fff; background: #172432; box-shadow: 0 6px 14px rgba(23,36,50,.14); }
.admin-drawer-tabs button b.required { color: #b93649; background: #fde4e9; }.admin-drawer-tabs button b.approved { color: #087845; background: #ddf7e9; }
.admin-drawer-tab-panel.active { animation: drawer-tab-in .18s ease both; }
@keyframes drawer-tab-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.drawer-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 13px 0; }
.drawer-facts div { display: flex; flex-direction: column; gap: 5px; padding: 12px; border: 1px solid #e7ebef; border-radius: 12px; }
.drawer-facts span { color: #939da7; font-size: 8px; text-transform: uppercase; }.drawer-facts strong { font-size: 10px; }
.admin-user-overview { display: grid; grid-template-columns: repeat(3,1fr); margin: 14px 0; overflow: hidden; color: #fff; background: linear-gradient(130deg,#172432,#22384a); border-radius: 16px; }
.admin-user-overview > div { min-width: 0; min-height: 88px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 15px; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-user-overview > div:nth-child(3n) { border-right: 0; }
.admin-user-overview > div:nth-child(n+4) { border-bottom: 0; }
.admin-user-overview span { color: #90a2b2; font-size: 8px; font-weight: 750; letter-spacing: .5px; text-transform: uppercase; }
.admin-user-overview strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-overview strong small { color: #a8b8c5; font-size: 8px; }
.admin-user-overview .balance strong,.admin-user-overview .quantified strong { color: #55dbad; font-size: 18px; }
.admin-user-overview .bonus strong { color: #62c9ff; font-size: 18px; }
.admin-bonus-overview { margin: 14px 0; padding: 16px; background: #f6f8fa; border: 1px solid #e7ebef; border-radius: 16px; }
.drawer-section-heading span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.drawer-section-heading h3 { margin: 4px 0 12px; font-size: 13px; }
.admin-bonus-overview > div:last-child { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.admin-bonus-overview article { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 11px; background: #fff; border: 1px solid #e8edf1; border-radius: 11px; }
.admin-bonus-overview article span { overflow: hidden; color: #82909c; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-bonus-overview article strong { color: #263442; font-size: 12px; }
.admin-bonus-overview article small { color: #9aa5af; font-size: 7px; }
.admin-profile-facts { grid-template-columns: repeat(3,1fr); }
.login-activity-summary { display: grid; grid-template-columns: .8fr .9fr 1.5fr; overflow: hidden; margin-bottom: 14px; color: #fff; background: linear-gradient(130deg,#172432,#28465b); border-radius: 15px; }
.login-activity-summary article { min-width: 0; min-height: 88px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 15px; border-right: 1px solid rgba(255,255,255,.09); }
.login-activity-summary article:last-child { border-right: 0; }
.login-activity-summary span { color: #94a8b8; font-size: 8px; font-weight: 750; letter-spacing: .5px; text-transform: uppercase; }
.login-activity-summary strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.login-activity-summary article:last-child strong { font-size: 10px; }
.login-access-section,.recent-login-section { margin-top: 14px; padding: 17px; border: 1px solid #e5ebf0; border-radius: 16px; }
.login-access-section .drawer-section-heading p { margin: -5px 0 14px; color: #8995a0; font-size: 9px; }
.login-access-groups { display: grid; gap: 9px; }
.login-access-groups > article { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px; background: #f5f8fa; border: 1px solid #e9eef2; border-radius: 12px; }
.login-device-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #087dda; background: #e4f3ff; border-radius: 11px; font-size: 13px; font-weight: 850; }
.login-access-groups article > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.login-access-groups article > div:nth-child(2) strong { font-size: 11px; }
.login-access-groups article > div:nth-child(2) span { overflow: hidden; color: #536270; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.login-access-groups article > div:nth-child(2) small { color: #929da8; font-size: 8px; line-height: 1.45; }
.login-access-groups article > b { min-width: 54px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px; color: #087dda; background: #fff; border-radius: 10px; font-size: 16px; }
.login-access-groups article > b small { color: #8c98a3; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.recent-login-list { border-top: 1px solid #edf1f4; }
.recent-login-list article { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid #edf1f4; }
.recent-login-list article > i { width: 8px; height: 8px; background: #20aa68; border-radius: 50%; box-shadow: 0 0 0 4px #e7f7ef; }
.recent-login-list article > i.failed { background: #d9485b; box-shadow: 0 0 0 4px #fdecef; }
.recent-login-list article > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.recent-login-list strong { font-size: 9px; }
.recent-login-list span,.recent-login-list time { color: #8995a0; font-size: 8px; }
.recent-login-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-login-list time { text-align: right; }
.admin-empty.compact { padding: 25px 10px; }
.drawer-rule-details { margin: 12px 0; border: 1px solid #e7ebef; border-radius: 14px; background: #fff; }
.drawer-rule-details summary { padding: 14px; cursor: pointer; color: #172432; font-size: 11px; font-weight: 800; }
.admin-rule-list { padding: 0 14px 14px; }
.admin-rule-list h4 { margin: 14px 0 7px; color: #078df8; font-size: 9px; letter-spacing: .8px; text-transform: uppercase; }
.admin-rule-list p { display: flex; justify-content: space-between; gap: 15px; margin: 0; padding: 8px 0; border-bottom: 1px solid #eef1f4; }
.admin-rule-list p strong { font-size: 10px; }
.admin-rule-list p span { color: #7d8995; font-size: 9px; text-align: right; }
.drawer-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; align-items: end; padding: 15px; background: #18232e; border-radius: 14px; }
.drawer-controls label { color: #8fa0af; font-size: 8px; }
.drawer-controls select { display: block; margin-top: 5px; color: #fff; background: #243441; border-color: #344856; }
.drawer-controls button { background: #078df8; }
.drawer-referral { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 15px; margin-top: 13px; color: #fff; background: linear-gradient(125deg,#078df8,#16bfe8); border-radius: 14px; }
.drawer-referral div { display: flex; flex-direction: column; gap: 3px; }
.drawer-referral span { font-size: 8px; font-weight: 850; letter-spacing: 1px; opacity: .78; }
.drawer-referral strong { font-size: 17px; letter-spacing: .5px; }
.drawer-referral button { padding: 9px 11px; color: #12334d; background: #fff; border-radius: 9px; font-size: 9px; font-weight: 800; }
.drawer-referral small { grid-column: 1 / -1; overflow: hidden; color: rgba(255,255,255,.78); text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.referral-relationship { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 13px 105px 13px 14px; margin-top: 13px; color: #53616e; background: #f3f6f8; border: 1px solid #e4e9ed; border-radius: 13px; }
.referral-relationship > span { color: #8896a2; font-size: 7px; font-weight: 850; letter-spacing: 1px; }
.referral-relationship > strong { color: #17202a; font-size: 11px; }.referral-relationship > strong i { color: #078df8; font-style: normal; }
.referral-relationship > small { color: #87939e; font-size: 8px; }
.referral-relationship > button { position: absolute; right: 12px; top: 50%; padding: 8px 10px; color: #087dda; background: #fff; border: 1px solid #d9e7f4; border-radius: 9px; font-size: 8px; font-weight: 750; transform: translateY(-50%); }
.referral-relationship.direct { padding-right: 14px; }
.drawer-section { margin-top: 22px; }
.drawer-section h3 { margin: 0 0 10px; font-size: 13px; }
.drawer-section > p { display: flex; justify-content: space-between; margin: 0; padding: 10px 2px; border-bottom: 1px solid #edf0f3; font-size: 9px; }
.drawer-section > small { color: #909ba5; }
.drawer-section blockquote { margin: 0 0 8px; padding: 12px; color: #4f5d69; background: #f3f6f8; border-radius: 10px; font-size: 10px; }
.drawer-section blockquote small { display: block; margin-top: 5px; color: #929da7; }
.drawer-section form { display: flex; gap: 8px; margin-top: 10px; }
.drawer-section textarea { min-height: 68px; resize: vertical; }
.drawer-referral-team h3 { display: flex; align-items: center; justify-content: space-between; }
.drawer-referral-team h3 span { min-width: 24px; padding: 4px 7px; color: #087dda; text-align: center; background: #eaf5ff; border-radius: 20px; font-size: 9px; }
.drawer-referral-team article { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid #edf0f3; cursor: pointer; }
.drawer-referral-team article:hover { background: #f7fafc; }
.drawer-referral-team article > b { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: #17202a; border-radius: 10px; font-size: 10px; }
.drawer-referral-team article > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.drawer-referral-team article > div strong,.drawer-referral-team article > div small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-referral-team article > div strong { font-size: 9px; }.drawer-referral-team article > div small,.drawer-referral-team article > aside > small { color: #919ca6; font-size: 8px; }
.drawer-referral-team article > aside { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.login-ok { color: #128553; }.login-fail { color: #ce4052; }
.profile-page { background: #f5f7f9; }
.profile-scroll { flex: 1; overflow-y: auto; padding: 8px clamp(18px,5vw,34px) 30px; }
.profile-hero { display: flex; align-items: center; gap: 14px; padding: 20px; margin-bottom: 14px; background: #17202a; border-radius: 20px; color: #fff; }
.profile-hero img { width: 58px; height: 58px; border-radius: 17px; }
.profile-hero div { min-width: 0; flex: 1; }
.profile-hero h2 { margin: 0 0 5px; font-size: 19px; }
.profile-hero div span { color: #99a9b7; font-size: 10px; }
.profile-account-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.profile-account-cards article { min-height: 105px; display: flex; flex-direction: column; justify-content: center; padding: 18px; background: #fff; border: 1px solid #e7ebef; border-radius: 17px; }
.profile-account-cards article:first-child { color: #fff; background: linear-gradient(125deg,#17202a,#2d4355); border: 0; }
.profile-account-cards span { color: #82909c; font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.profile-account-cards article:first-child span { color: #93a6b5; }
.profile-account-cards strong { margin-top: 8px; font-size: 20px; }
.profile-account-cards strong small { font-size: 9px; }
.profile-account-cards button { width: fit-content; padding: 7px 9px; margin-top: 8px; color: #fff; background: #078df8; border-radius: 8px; font-size: 8px; font-weight: 800; }
.kyc-status-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px; margin-bottom: 14px; border-radius: 18px; }
.kyc-status-card.invalid { color: #8f2537; background: #ffeaee; border: 1px solid #f4bac5; }
.kyc-status-card.approved { color: #087346; background: #e3f8ed; border: 1px solid #baeacf; }
.kyc-status-card > div { min-width: 0; }.kyc-status-card span { font-size: 8px; font-weight: 850; letter-spacing: 1px; }.kyc-status-card h2 { margin: 5px 0; font-size: 18px; }.kyc-status-card p { margin: 0; font-size: 9px; line-height: 1.5; }
.kyc-status-card > i { flex: 0 0 auto; padding: 7px 10px; color: inherit; background: rgba(255,255,255,.65); border-radius: 20px; font-size: 8px; font-style: normal; font-weight: 850; }
.kyc-form .profile-section-title p { margin: -10px 0 18px; color: #7f8c98; font-size: 9px; }
.kyc-form select { width: 100%; display: block; margin-top: 7px; padding: 12px; color: #28343f; background: #f3f5f7; border: 1px solid transparent; border-radius: 11px; font-size: 11px; }
.kyc-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 15px; }
.kyc-upload-grid label { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #f5f8fa; border: 1px dashed #cfdbe4; border-radius: 13px; }
.kyc-upload-grid strong { font-size: 10px; }.kyc-upload-grid small { color: #8996a1; font-size: 8px; }.kyc-upload-grid input { margin-top: 7px; font-size: 9px; }
.kyc-consents { display: grid; gap: 9px; margin-bottom: 16px; padding: 14px; background: #eef7ff; border-radius: 13px; }
.kyc-consents label { display: flex; align-items: flex-start; gap: 9px; color: #52606d; font-size: 9px; line-height: 1.45; }.kyc-consents input { margin-top: 2px; }.kyc-consents button { padding: 0; color: #078df8; background: transparent; font: inherit; font-weight: 800; }.kyc-consents p { margin: 2px 0 0; color: #82909c; font-size: 8px; }
.kyc-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.kyc-summary-grid > div { display: flex; flex-direction: column; gap: 5px; padding: 12px; background: #f5f7f9; border-radius: 11px; }.kyc-summary-grid span { color: #8d99a4; font-size: 8px; text-transform: uppercase; }.kyc-summary-grid strong { font-size: 10px; }
.kyc-submitted-documents { display: grid; gap: 7px; margin-top: 12px; }.kyc-submitted-documents > span { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e7ebef; border-radius: 10px; }.kyc-submitted-documents strong { font-size: 9px; text-transform: capitalize; }.kyc-submitted-documents small { color: #8c98a3; font-size: 8px; }
.kyc-rejection { margin-bottom: 14px; padding: 12px; color: #9a3143; background: #ffeaee; border-radius: 11px; }.kyc-rejection strong { font-size: 10px; }.kyc-rejection p { margin: 4px 0 0; font-size: 9px; }
.admin-kyc-empty { padding: 55px 20px; text-align: center; }.admin-kyc-empty i { display: inline-block; padding: 7px 10px; color: #a52e42; background: #ffeaee; border-radius: 20px; font-size: 8px; font-style: normal; font-weight: 850; }.admin-kyc-empty h3 { margin: 13px 0 5px; }.admin-kyc-empty p { color: #87939f; font-size: 9px; }
.admin-kyc-review > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; padding: 17px; background: #f4f7f9; border-radius: 14px; }.admin-kyc-review header span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1px; }.admin-kyc-review header h3 { margin: 5px 0 0; font-size: 15px; }
.kyc-review-status { padding: 7px 10px; color: #9a6500; background: #fff2d6; border-radius: 20px; font-size: 8px; font-style: normal; font-weight: 850; text-transform: uppercase; }.kyc-review-status.approved { color: #087845; background: #dff7ea; }.kyc-review-status.rejected { color: #a52e42; background: #ffeaee; }
.admin-kyc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.admin-kyc-facts > div { display: flex; flex-direction: column; gap: 5px; padding: 12px; border: 1px solid #e7ebef; border-radius: 11px; }.admin-kyc-facts span { color: #8c98a3; font-size: 8px; text-transform: uppercase; }.admin-kyc-facts strong { overflow-wrap: anywhere; font-size: 9px; }
.admin-kyc-consent { margin: 11px 0; padding: 13px; color: #41505e; background: #eef7ff; border-radius: 12px; }.admin-kyc-consent strong { font-size: 10px; }.admin-kyc-consent p { margin: 5px 0 0; font-size: 8px; }
.admin-kyc-documents { margin: 14px 0; }.admin-kyc-documents h3 { font-size: 12px; }.admin-kyc-documents a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px; margin-top: 7px; color: #334250; background: #f5f8fa; border: 1px solid #e7edf2; border-radius: 11px; text-decoration: none; }.admin-kyc-documents a span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }.admin-kyc-documents a strong { font-size: 9px; text-transform: capitalize; }.admin-kyc-documents a small { overflow: hidden; color: #8b97a2; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.admin-kyc-documents a b { color: #078df8; font-size: 9px; white-space: nowrap; }
.admin-kyc-actions { padding: 14px; background: #172432; border-radius: 14px; }.admin-kyc-actions label { color: #9db0bf; font-size: 8px; }.admin-kyc-actions textarea { width: 100%; min-height: 66px; margin-top: 6px; padding: 10px; resize: vertical; border: 1px solid #3b5061; border-radius: 10px; }.admin-kyc-actions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }.admin-kyc-actions button { padding: 11px; color: #fff; border-radius: 9px; font-size: 9px; font-weight: 800; }.admin-kyc-actions .approve { background: #20aa68; }.admin-kyc-actions .reject { background: #d9485b; }.admin-kyc-reviewed { color: #7f8c97; font-size: 9px; text-align: center; }
.profile-form { padding: 22px; margin-bottom: 14px; background: #fff; border: 1px solid #e7ebef; border-radius: 20px; }
.profile-section-title span { color: #088df7; font-size: 9px; font-weight: 850; letter-spacing: 1.2px; }
.profile-section-title h2 { margin: 5px 0 18px; font-size: 18px; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 18px; }
.profile-fields label { color: #707b86; font-size: 10px; font-weight: 650; }
.profile-fields label.full { grid-column: 1 / -1; }
.profile-fields input,.profile-fields textarea { width: 100%; display: block; margin-top: 7px; padding: 12px; color: #28343f; background: #f3f5f7; border: 1px solid transparent; border-radius: 11px; outline: none; font-size: 11px; }
.profile-fields input:focus,.profile-fields textarea:focus { background: #fff; border-color: #088df7; }
.profile-fields input:disabled { color: #98a2ac; cursor: not-allowed; }
.profile-fields textarea { min-height: 80px; resize: vertical; }
.secondary-button { padding: 12px 16px; color: #fff; background: #17202a; border-radius: 11px; font-weight: 700; }
.profile-actions { display: flex; gap: 10px; padding-bottom: 15px; }
.profile-actions button { flex: 1; padding: 13px; color: #273441; background: #e8edf1; border-radius: 11px; font-size: 11px; font-weight: 700; }
.profile-actions button.danger { color: #b53b4b; background: #fdecef; }

.support-launcher { position: fixed; z-index: 48; right: max(18px,calc((100vw - min(100vw,750px))/2 + 18px)); bottom: calc(82px + env(safe-area-inset-bottom)); width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#172b3d,#078df8 62%,#18c3ed); border: 3px solid rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 12px 28px rgba(5,103,184,.3); transition: transform .2s,box-shadow .2s; }
.support-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(5,103,184,.36); }.support-launcher.open { transform: scale(.92); }
.support-launcher svg { width: 25px; height: 25px; }.support-launcher > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.support-launcher > i { position: absolute; width: 12px; height: 12px; right: 0; top: 0; background: #20c878; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(32,200,120,.14); }
.support-widget[hidden] { display: none; }
.support-widget { position: fixed; z-index: 50; right: max(12px,calc((100vw - min(100vw,750px))/2 + 12px)); bottom: calc(150px + env(safe-area-inset-bottom)); width: min(390px,calc(100vw - 24px)); height: min(610px,calc(100vh - 180px)); display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #fff; border: 1px solid rgba(25,53,75,.12); border-radius: 24px; box-shadow: 0 26px 70px rgba(14,42,64,.28); animation: support-widget-in .22s ease-out; }
@keyframes support-widget-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.support-widget > header { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 14px 15px; color: #fff; background: linear-gradient(115deg,#142737,#087fd0 60%,#18bce5); }
.support-agent-avatar { flex: 0 0 auto; width: 45px; height: 45px; display: grid; place-items: center; color: #0783dc; background: #fff; border-radius: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.14); }.support-agent-avatar svg { width: 23px; height: 23px; }
.support-widget > header > div:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }.support-widget > header strong { font-size: 15px; }.support-widget > header span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); font-size: 9px; }.support-widget > header span i { width: 7px; height: 7px; background: #67f0a9; border-radius: 50%; box-shadow: 0 0 0 3px rgba(103,240,169,.15); }
.support-widget > header > button { width: 34px; height: 34px; color: #fff; background: rgba(255,255,255,.12); border-radius: 10px; font-size: 24px; line-height: 1; }
.support-widget-body { min-height: 0; display: flex; flex-direction: column; background: #f4f7fa; }
.support-widget-loading,.support-widget-error { flex: 1; display: grid; place-content: center; gap: 7px; padding: 25px; color: #82909c; text-align: center; font-size: 11px; }.support-widget-error strong { color: #243442; font-size: 14px; }.support-widget-error p { margin: 0; }.support-widget-error button { justify-self: center; padding: 9px 14px; color: #fff; background: #078df8; border-radius: 9px; }
.support-new-ticket { height: 100%; padding: 22px; overflow-y: auto; background: #fff; }.support-form-intro > span { color: #078df8; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }.support-form-intro h3 { margin: 6px 0; font-size: 21px; }.support-form-intro p { margin: 0 0 21px; color: #7f8d99; font-size: 10px; line-height: 1.55; }
.support-new-ticket form { display: grid; gap: 14px; }.support-new-ticket label { color: #5f6e7a; font-size: 9px; font-weight: 750; }.support-new-ticket input,.support-new-ticket textarea { width: 100%; display: block; margin-top: 7px; padding: 12px 13px; color: #22313e; background: #f3f6f8; border: 1px solid transparent; border-radius: 12px; outline: 0; font-size: 11px; }.support-new-ticket textarea { min-height: 150px; resize: vertical; }.support-new-ticket input:focus,.support-new-ticket textarea:focus { background: #fff; border-color: #078df8; box-shadow: 0 0 0 3px rgba(7,141,248,.08); }
.support-new-ticket form > button { min-height: 45px; color: #fff; background: linear-gradient(105deg,#16bee9,#0784ef); border-radius: 12px; font-size: 11px; font-weight: 800; }.support-new-ticket form > button.support-form-back { color: #52616e; background: #edf2f5; }
.support-conversation-toolbar { display: flex; align-items: end; gap: 8px; padding: 11px 12px; background: #fff; border-bottom: 1px solid #e7edf2; }.support-conversation-toolbar label { min-width: 0; flex: 1; }.support-conversation-toolbar label > span { display: block; margin: 0 0 5px 2px; color: #8a97a2; font-size: 7px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }.support-conversation-toolbar select { width: 100%; height: 35px; padding: 0 9px; color: #344452; background: #f1f5f7; border: 0; border-radius: 9px; outline: 0; font-size: 9px; }.support-conversation-toolbar button { height: 35px; padding: 0 11px; color: #087fd9; background: #e9f5ff; border-radius: 9px; font-size: 8px; font-weight: 800; }
.support-ticket-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; background: #f9fbfc; border-bottom: 1px solid #e7edf2; }.support-ticket-summary > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }.support-ticket-summary strong { overflow: hidden; color: #243542; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.support-ticket-summary small { color: #929da7; font-size: 8px; }.support-ticket-summary > i { padding: 5px 8px; color: #8b620e; background: #fff1cc; border-radius: 20px; font-size: 7px; font-style: normal; font-weight: 850; text-transform: uppercase; white-space: nowrap; }.support-ticket-summary > i.in_progress { color: #0879c8; background: #e4f3ff; }.support-ticket-summary > i.resolved { color: #087845; background: #dff6e9; }.support-ticket-summary > i.closed { color: #6e7881; background: #e9edef; }
.support-message-list,.admin-support-message-list { min-height: 0; flex: 1; overflow-y: auto; padding: 14px; scroll-behavior: smooth; }.support-message { display: flex; margin: 0 0 9px; }.support-message.own { justify-content: flex-end; }.support-message > div { max-width: 82%; display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; color: #31414e; background: #fff; border: 1px solid #e3e9ee; border-radius: 5px 15px 15px 15px; box-shadow: 0 4px 12px rgba(33,52,68,.04); }.support-message.own > div { color: #fff; background: linear-gradient(120deg,#087fdd,#129fe9); border: 0; border-radius: 15px 5px 15px 15px; box-shadow: 0 7px 16px rgba(8,127,221,.16); }.support-message span { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 10px; line-height: 1.5; }.support-message small { color: #87949f; font-size: 7px; }.support-message.own small { color: rgba(255,255,255,.75); }.support-chat-empty { padding: 30px; color: #8d99a3; text-align: center; font-size: 10px; }
.support-reply-form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; padding: 11px 12px; background: #fff; border-top: 1px solid #e4eaf0; }.support-reply-form textarea { min-width: 0; height: 42px; max-height: 90px; padding: 12px; resize: none; color: #293946; background: #f1f5f7; border: 1px solid transparent; border-radius: 12px; outline: 0; font-size: 10px; }.support-reply-form textarea:focus { background: #fff; border-color: #078df8; }.support-reply-form button { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,#16bbe9,#0784ef); border-radius: 12px; }.support-reply-form button svg { width: 18px; transform: rotate(180deg); }

.admin-support-panel-head p { margin: 5px 0 0; color: #84919c; font-size: 9px; }.admin-support-live { display: flex; align-items: center; gap: 7px; padding: 8px 11px; color: #087845; background: #e3f7ec; border-radius: 20px; font-size: 8px; font-weight: 800; }.admin-support-live i { width: 8px; height: 8px; background: #20bd70; border-radius: 50%; box-shadow: 0 0 0 4px rgba(32,189,112,.12); }
.admin-support-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }.admin-support-tools nav { display: flex; flex-wrap: wrap; gap: 6px; }.admin-support-tools nav button { display: flex; align-items: center; gap: 6px; min-height: 35px; padding: 0 10px; color: #6c7a86; background: #f0f4f7; border-radius: 9px; font-size: 8px; font-weight: 750; }.admin-support-tools nav button b { min-width: 18px; padding: 3px 5px; color: inherit; background: #fff; border-radius: 20px; font-size: 7px; }.admin-support-tools nav button.active { color: #fff; background: #172532; }.admin-support-tools nav button.active b { color: #087fd9; }
.admin-support-tools form { min-width: 280px; display: flex; background: #f0f4f7; border-radius: 10px; }.admin-support-tools input { min-width: 0; flex: 1; padding: 10px 11px; background: transparent; border: 0; outline: 0; font-size: 9px; }.admin-support-tools form button { padding: 0 13px; color: #fff; background: #172532; border-radius: 9px; font-size: 8px; font-weight: 800; }
.admin-support-workspace { height: min(660px,calc(100vh - 290px)); min-height: 480px; display: grid; grid-template-columns: minmax(280px,360px) minmax(0,1fr); overflow: hidden; border: 1px solid #e1e8ee; border-radius: 16px; }.admin-support-list { overflow-y: auto; background: #f5f8fa; border-right: 1px solid #e1e8ee; }.admin-support-ticket { width: 100%; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; padding: 13px; color: #263743; text-align: left; background: transparent; border-bottom: 1px solid #e2e9ee; }.admin-support-ticket:hover { background: #fff; }.admin-support-ticket.active { background: #fff; box-shadow: inset 3px 0 #078df8; }.admin-support-ticket-avatar { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#172635,#3f596e); border-radius: 11px; font-size: 11px; font-weight: 850; }.admin-support-ticket-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }.admin-support-ticket-copy strong { font-size: 9px; }.admin-support-ticket-copy strong em { margin-left: 5px; color: #0783df; font-size: 7px; font-style: normal; font-weight: 900; letter-spacing: .5px; }.admin-support-ticket-copy b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.admin-support-ticket-copy small { overflow: hidden; color: #87949f; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.admin-support-ticket-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; }.admin-support-ticket-meta i { padding: 4px 6px; color: #9b6809; background: #fff0c9; border-radius: 20px; font-size: 6px; font-style: normal; font-weight: 850; text-transform: uppercase; white-space: nowrap; }.admin-support-ticket-meta i.in_progress { color: #0878c5; background: #e1f2ff; }.admin-support-ticket-meta i.resolved { color: #087745; background: #dff6e9; }.admin-support-ticket-meta i.closed { color: #697680; background: #e6ebee; }.admin-support-ticket-meta time { color: #929da6; font-size: 6px; white-space: nowrap; }.admin-support-empty { display: grid; gap: 5px; padding: 45px 20px; color: #87949e; text-align: center; }.admin-support-empty strong { color: #354550; font-size: 11px; }.admin-support-empty span { font-size: 8px; }
.admin-support-chat { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #fff; }.admin-support-placeholder { flex: 1; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 30px; color: #8996a0; text-align: center; }.admin-support-placeholder svg { width: 36px; height: 36px; color: #078df8; }.admin-support-placeholder strong { color: #2c3d49; font-size: 15px; }.admin-support-placeholder p { max-width: 300px; margin: 0; font-size: 9px; }.admin-support-chat-head { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid #e5ebef; }.admin-support-chat-head > div { min-width: 0; display: flex; align-items: center; gap: 10px; }.admin-support-chat-head > div > span { flex: 0 0 auto; width: 39px; height: 39px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#172635,#3f596e); border-radius: 12px; font-size: 11px; font-weight: 850; }.admin-support-chat-head > div > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }.admin-support-chat-head strong { font-size: 11px; }.admin-support-chat-head small { overflow: hidden; color: #84919c; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.admin-support-chat-head > b { color: #0781de; font-size: 9px; white-space: nowrap; }
.admin-support-subject { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 15px; background: #f7f9fb; border-bottom: 1px solid #e5ebef; }.admin-support-subject span { color: #87939e; font-size: 7px; font-weight: 850; letter-spacing: .8px; }.admin-support-subject h3 { margin: 3px 0 0; font-size: 11px; }.admin-support-subject i { padding: 5px 8px; color: #52616d; background: #e8edf1; border-radius: 20px; font-size: 7px; font-style: normal; font-weight: 800; text-transform: uppercase; white-space: nowrap; }.admin-support-subject i.high { color: #a96500; background: #fff0cf; }.admin-support-subject i.urgent { color: #b33146; background: #ffe4e9; }
.admin-support-message-list { background: #f5f8fa; }.admin-support-reply { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 11px 13px; border-top: 1px solid #e2e8ed; }.admin-support-reply textarea { min-width: 0; height: 45px; padding: 11px 12px; resize: none; color: #263743; background: #f1f4f7; border: 1px solid transparent; border-radius: 10px; outline: 0; font-size: 9px; }.admin-support-reply textarea:focus { background: #fff; border-color: #078df8; }.admin-support-reply button { display: flex; align-items: center; gap: 7px; padding: 0 15px; color: #fff; background: linear-gradient(105deg,#0785ed,#16bbe9); border-radius: 10px; font-size: 8px; font-weight: 850; }.admin-support-reply button svg { width: 15px; transform: rotate(180deg); }
.admin-support-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 10px 13px; background: #172532; }.admin-support-controls label { color: #9eb0be; font-size: 7px; font-weight: 750; }.admin-support-controls select { width: 100%; height: 30px; display: block; margin-top: 4px; padding: 0 7px; color: #eaf2f7; background: #253a4b; border: 1px solid #395267; border-radius: 7px; outline: 0; font-size: 8px; }.admin-support-controls button { align-self: end; height: 30px; padding: 0 12px; color: #172532; background: #fff; border-radius: 7px; font-size: 8px; font-weight: 850; }

@media (min-width: 751px) {
  body { padding: 24px 0; }
  #app { min-height: calc(100vh - 48px); border-radius: 28px; }
  .dashboard, .auth-page { min-height: calc(100vh - 48px); height: calc(100vh - 48px); }
  .install-guide { place-items: center; }
  .privacy-popup { place-items: center; }
  body.admin-body { padding: 0; }
  #app.wide { min-height: 100vh; border-radius: 0; }
}

@media (max-width: 900px) {
  .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; z-index: 60; width: 250px; inset: 0 auto 0 0; transform: translateX(-102%); transition: transform .25s; }
  .admin-sidebar.open { transform: translateX(0); box-shadow: 20px 0 60px rgba(0,0,0,.25); }
  .admin-menu { display: block; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .admin-grid-two { grid-template-columns: 1fr; }
  .user-directory { grid-template-columns: 1fr; }
}

@media (max-width: 1150px) {
  .adaptive-user-list-head { display: none; }
  .adaptive-user-list { display: grid; gap: 10px; overflow: visible; border: 0; border-radius: 0; }
  .adaptive-user-list-row { grid-template-columns: 1.25fr .8fr .8fr 1.05fr 38px; grid-template-areas: "user account withdrawals bonuses action" "user quantification team status action" "access access access access action"; gap: 11px 16px; min-height: 145px; border: 1px solid #e3eaf0; border-radius: 14px; }
  .adaptive-user-list-row:last-child { border-bottom: 1px solid #e3eaf0; }
  .adaptive-user-list-row > div > small { display: block; }
  .list-user { grid-area: user; }.list-account { grid-area: account; }.list-withdrawals { grid-area: withdrawals; }.list-quantification { grid-area: quantification; }.list-bonuses { grid-area: bonuses; }.list-team { grid-area: team; }.list-access { grid-area: access; }.list-status { grid-area: status; }.list-open-user { grid-area: action; align-self: stretch; height: auto; }
}

@media (max-width: 620px) {
  .admin-today-stats { grid-template-columns: 1fr; }
  .admin-money-stats > .admin-stat:last-child,.admin-activity-stats > .admin-stat:last-child { grid-column: 1 / -1; }
  .admin-user-overview { grid-template-columns: 1fr 1fr; }
  .admin-user-overview > div:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.08); }
  .admin-user-overview > div:nth-child(2n) { border-right: 0; }
  .admin-user-overview > div:nth-child(n+4) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .admin-user-overview > div:nth-child(n+5) { border-bottom: 0; }
  .admin-bonus-overview > div:last-child { grid-template-columns: 1fr 1fr; }
  .admin-profile-facts { grid-template-columns: 1fr 1fr; }
  .login-activity-summary { grid-template-columns: 1fr 1fr; }
  .login-activity-summary article:nth-child(2) { border-right: 0; }
  .login-activity-summary article:last-child { grid-column: 1 / -1; min-height: 65px; border-top: 1px solid rgba(255,255,255,.09); }
  .recent-login-list article { grid-template-columns: 9px 1fr; }
  .recent-login-list time { grid-column: 2; text-align: left; }
  .admin-topbar { min-height: 76px; padding: 14px 16px; }
  .admin-topbar h1 { font-size: 20px; }
  .admin-account > span { display: none; }
  .admin-content { padding: 15px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-stat { padding: 15px; border-radius: 14px; }
  .admin-stat > strong { font-size: 23px; }
  .welcome-panel { min-height: 150px; }.status-orbit { display: none; }
  .admin-panel { padding: 16px; }
  .support-launcher { right: 13px; bottom: calc(78px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .support-widget { right: 8px; bottom: calc(140px + env(safe-area-inset-bottom)); width: calc(100vw - 16px); height: min(620px,calc(100vh - 155px)); border-radius: 20px; }
  .admin-support-panel-head { align-items: flex-start; }.admin-support-panel-head > div:first-child { min-width: 0; }
  .admin-support-tools { align-items: stretch; flex-direction: column; }.admin-support-tools form { min-width: 0; }
  .admin-support-tools nav { display: grid; grid-template-columns: repeat(3,1fr); }.admin-support-tools nav button { justify-content: center; padding: 0 6px; }
  .admin-support-workspace { height: auto; min-height: 0; grid-template-columns: 1fr; overflow: visible; }
  .admin-support-list { max-height: 235px; border-right: 0; border-bottom: 1px solid #e1e8ee; }
  .admin-support-chat { min-height: 520px; }
  .payment-panel-head { align-items: flex-start; flex-direction: column; }
  .payment-type-tabs { grid-template-columns: 1fr; }
  .payment-filter-tabs { grid-template-columns: 1fr 1fr; }
  .payment-total-line { flex-direction: column; }
  .payment-register-section > header { padding: 11px 12px; }
  .withdrawal-admin-row { grid-template-columns: 1fr 1fr; }
  .withdrawal-admin-address,.withdrawal-admin-actions,.withdrawal-processed { grid-column: 1 / -1; }
  .withdrawal-admin-actions { grid-template-columns: 1fr 1fr; }
  .withdrawal-admin-actions input { grid-column: 1 / -1; }
  .user-panel-head { flex-wrap: wrap; }.user-panel-head form { order: 3; flex-basis: 100%; max-width: none; }
  .user-directory-tools { order: 3; min-width: 100%; flex-wrap: wrap; justify-content: stretch; }
  .user-directory-tools form { flex: 1; width: auto; max-width: none; }
  .user-view-switch { flex: 0 0 auto; }
  .user-directory-panel { padding: 15px; }
  .admin-user-card { padding: 14px; }
  .admin-user-contact { margin-left: 0; }
  .admin-user-metrics { grid-template-columns: 1fr 1fr; }
  .admin-user-metrics > div:nth-child(2) { border-right: 0; }
  .admin-user-metrics > div:nth-child(-n+2) { border-bottom: 1px solid #e4eaf0; }
  .admin-user-bonus-breakdown { grid-template-columns: 1fr 1fr; }
  .admin-user-card-actions { grid-template-columns: 1fr; }
  .adaptive-user-list-row { grid-template-columns: 1fr auto; grid-template-areas: "user status" "account withdrawals" "quantification quantification" "bonuses bonuses" "team team" "access access" "action action"; min-height: 0; padding: 14px; }
  .list-open-user { width: 100%; min-height: 38px; }
  .list-quantification,.list-bonuses,.list-team,.list-access { padding-top: 9px; border-top: 1px solid #edf1f4; }
  .admin-table { overflow-x: auto; }
  .admin-tr { min-width: 680px; }
  .settings-list form { grid-template-columns: 1fr auto; }
  .settings-list input[name=value] { grid-column: 1 / -1; }
  .drawer-controls { grid-template-columns: 1fr 1fr; }.drawer-controls button { grid-column: 1 / -1; }
  .profile-fields { grid-template-columns: 1fr; }.profile-fields label.full { grid-column: auto; }
  .kyc-status-card { align-items: flex-start; flex-direction: column; }.kyc-upload-grid,.kyc-summary-grid { grid-template-columns: 1fr; }
  .profile-account-cards { grid-template-columns: 1fr; }
  #app.registration-wide { width: 100%; }
  .registration-content { padding: 4px 18px 35px; }
  .registration-heading { align-items: flex-start; }.registration-progress { display: none; }
  .registration-card { padding: 22px 18px; border-radius: 22px; }
  .registration-intro > b { display: none; }.registration-intro h2 { font-size: 21px; }
  .registration-grid { grid-template-columns: 1fr; gap: 13px; }
  .registration-footer { flex-direction: column-reverse; }
  .registration-footer .primary-button,.registration-footer .secondary-button { width: 100%; }
}

@media (max-width: 420px) {
  .support-widget > header { min-height: 70px; padding: 11px 12px; }.support-agent-avatar { width: 40px; height: 40px; }
  .support-conversation-toolbar { align-items: stretch; flex-direction: column; }.support-conversation-toolbar button { width: 100%; }
  .admin-support-controls { grid-template-columns: 1fr 1fr; }.admin-support-controls button { grid-column: 1 / -1; }
  .route-cards button { grid-template-columns: 44px 1fr; padding: 13px; }
  .route-cards img { width: 44px; height: 44px; }
  .auth-card { padding: 22px 18px; }
  .auth-content { padding-top: 10px; }
  .welcome { margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation-duration: 16s !important; animation-iteration-count: infinite !important; }
  .wheel-stage-v2 .wheel-pointer { animation: none !important; }
  .wheel-stage-v2 .wheel-pointer-dot { animation: none !important; }
  .wheel-stage-v2 .wheel-lights { animation-name: wheel-rim-pulse !important; animation-duration: 2.8s !important; animation-iteration-count: infinite !important; }
  .wheel-outcome-overlay.win .wheel-outcome-emoji { animation-duration: .75s !important; animation-iteration-count: 1 !important; }
  .wheel-outcome-overlay.loss .wheel-outcome-emoji { animation-duration: .55s !important; animation-iteration-count: 1 !important; }
  .wheel-outcome-overlay .wheel-firework i { animation-duration: 1.05s !important; animation-iteration-count: 2 !important; }
  .wheel-outcome-overlay .wheel-confetti-rain b { animation-duration: 3.8s !important; animation-iteration-count: infinite !important; }
  .wheel-outcome-overlay .wheel-confetti-rain b:nth-child(n+13):nth-child(-n+24) { animation-duration: 4.1s !important; }
  .wheel-outcome-overlay .wheel-confetti-rain b:nth-child(n+25) { animation-duration: 4.8s !important; }
  .wheel-outcome-overlay .wheel-celebration-rays { animation-duration: 8s !important; animation-iteration-count: infinite !important; }
  .wheel-outcome-overlay.win .wheel-outcome-message { animation-duration: 1.25s !important; animation-iteration-count: infinite !important; }
  .wheel-outcome-overlay.win .wheel-outcome-prize { animation-duration: .8s !important; animation-iteration-count: infinite !important; }
}

/* Responsive application shell */
.desktop-nav-brand { display: none; }
html { width: 100%; min-height: 100%; overflow-x: hidden; }
body { width: 100%; min-height: 100dvh; overflow-x: hidden; }
.dashboard { min-width: 0; min-height: 100dvh; height: 100dvh; }
.dashboard > * { min-width: 0; }
.dashboard-scroll,.quantification-scroll,.rewards-scroll,.team-scroll,.wallet-scroll,.profile-scroll,.lucky-wheel-scroll { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; }
.dashboard-scroll::-webkit-scrollbar,.quantification-scroll::-webkit-scrollbar,.rewards-scroll::-webkit-scrollbar,.team-scroll::-webkit-scrollbar,.wallet-scroll::-webkit-scrollbar,.profile-scroll::-webkit-scrollbar,.lucky-wheel-scroll::-webkit-scrollbar { width: 7px; }
.dashboard-scroll::-webkit-scrollbar-thumb,.quantification-scroll::-webkit-scrollbar-thumb,.rewards-scroll::-webkit-scrollbar-thumb,.team-scroll::-webkit-scrollbar-thumb,.wallet-scroll::-webkit-scrollbar-thumb,.profile-scroll::-webkit-scrollbar-thumb,.lucky-wheel-scroll::-webkit-scrollbar-thumb { background: rgba(91,108,122,.34); border: 2px solid transparent; border-radius: 20px; background-clip: padding-box; }
.simple-header > button,.market-header button,[data-vip-toggle],.profile-account-cards button,.team-referral-card button,.withdrawal-preview button { min-height: 44px; }
.simple-header > button { min-width: 44px; }
.profile-account-cards button { padding-right: 12px; padding-left: 12px; }
.kyc-upload-grid input { min-height: 40px; }
.kyc-consents label { min-height: 44px; align-items: center; }
.kyc-consents input { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; }
.kyc-consents button { min-height: 36px; display: inline-flex; align-items: center; }

@media (max-width: 959px) {
  body.user-body { padding: 0; background: #fff; }
  #app.user-shell { width: 100%; min-height: 100dvh; border-radius: 0; box-shadow: none; }
  #app.user-shell .dashboard { min-height: 100dvh; height: 100dvh; }
  .dashboard-header,.quantification-header,.simple-header { padding-top: max(16px,env(safe-area-inset-top)); }
  .bottom-nav { padding-bottom: max(10px,env(safe-area-inset-bottom)); }
  .bottom-nav button { min-height: 46px; }
  .icon-btn,.quantification-header > button,.simple-header > button,.team-header > button,.rewards-header > button,.wallet-header > button { min-width: 44px; min-height: 44px; }
}

@media (max-width: 520px) {
  .notification-panel { width: 100%; border-left: 0; }
  .notification-panel > header { min-height: 84px; padding-right: 16px; padding-left: 16px; }
  .notification-summary { padding-right: 14px; padding-left: 14px; }
  .notification-list { padding-right: 10px; padding-left: 10px; }
  .notification-entry { grid-template-columns: 42px minmax(0,1fr) 7px; gap: 9px; padding: 12px; border-radius: 14px; }
  .notification-entry-icon { width: 42px; height: 42px; }
  .notification-entry-copy > span { flex-direction: column; gap: 3px; }
  .dashboard-header { padding-right: 14px; padding-left: 14px; }
  .profile-mini { min-width: 0; gap: 10px; }
  .profile-mini img { width: 43px; height: 43px; border-radius: 13px; }
  .profile-mini div { min-width: 0; }
  .profile-mini span,.profile-mini strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .profile-mini span { font-size: 10px; }.profile-mini strong { font-size: 13px; }
  .dashboard-scroll { padding-right: 14px; padding-left: 14px; }
  .quick-grid { padding: 7px 0 16px; }
  .quick-grid button { gap: 7px; font-size: 9px; }
  .quick-grid img,.quick-grid button > svg { width: 46px; height: 46px; border-radius: 13px; }
  .brand-hero,.advantage-card { border-radius: 18px; }
  .brand-hero-content { width: 88%; padding: 18px; }
  .brand-hero-content h2 { font-size: 20px; }
  .route-cards { gap: 8px; }
  .route-cards button { column-gap: 8px; padding: 12px; border-radius: 14px; }
  .route-cards .home-referral-card { padding: 12px; }
  .route-cards .home-referral-card > strong { max-width: 100%; overflow: hidden; font-size: 16px; text-overflow: ellipsis; }
  .simple-header { padding-right: 16px; padding-left: 16px; }
  .simple-header h1 { font-size: 28px; }
  .quantification-header { min-height: 78px; padding-right: 16px; padding-left: 16px; }
  .quantification-header h1 { font-size: 24px; }
  .quantification-scroll,.rewards-scroll,.team-scroll,.wallet-scroll,.profile-scroll { padding-right: 14px; padding-left: 14px; }
  .sandbox-ribbon { align-items: flex-start; flex-direction: column; }
  .sandbox-ribbon span { text-align: left; }
  .quantification-summary { padding: 16px 12px 12px; }
  .quantification-metrics { padding-right: 0; padding-left: 0; }
  .quantification-metrics article { gap: 5px; padding: 0 4px; }
  .quantification-metrics strong { font-size: 12px; }.quantification-metrics span { font-size: 8px; }
  .vip-section,.deposit-form,.withdrawal-config-form,.withdrawal-request-form,.withdrawal-notice,.payment-setup-notice,.deposit-instructions,.deposit-history,.profile-form { padding: 15px; border-radius: 16px; }
  .vip-card { min-height: 112px; padding: 18px; }
  .vip-card > div:first-child strong { font-size: 20px; }
  .vip-badge-art { width: 68px; height: 68px; margin-right: 20px; }
  .team-referral-card { padding: 15px; }
  .team-referral-card strong { font-size: 17px; }
  .team-referral-card button { min-height: 42px; }
  .team-stats { gap: 6px; }.team-stats article { padding: 11px; }.team-stats strong { font-size: 20px; }
  .team-members { padding: 14px; }
  .team-member { grid-template-columns: 38px minmax(0,1fr); }
  .team-member > b { width: 38px; height: 38px; }
  .team-member aside { grid-column: 2; align-items: flex-start; }
  .wallet-tabs { margin-right: 14px; margin-left: 14px; }
  .wallet-balance-card { padding: 18px; }.wallet-balance-card > strong { font-size: 28px; }
  .wallet-balance-breakdown { align-items: stretch; flex-wrap: wrap; }
  .wallet-balance-breakdown small { min-width: 0; flex: 1 1 135px; }
  .wallet-balance-breakdown i { display: none; }
  .payment-history-entry { display: grid !important; grid-template-columns: 34px minmax(0,1fr); }
  .payment-history-entry > div:last-child { grid-column: 2; align-items: flex-start !important; text-align: left !important; }
  .profile-hero { padding: 15px; }.profile-hero img { width: 50px; height: 50px; }
  .profile-hero .status { align-self: flex-start; }
  .profile-account-cards { gap: 8px; }
  .profile-account-cards article { min-height: 96px; padding: 14px; }
  .profile-account-cards strong { font-size: 16px; }
  .kyc-status-card { padding: 15px; }
  .bottom-nav { padding-right: 4px; padding-left: 4px; }
  .bottom-nav button { gap: 2px; font-size: 8px; }
  .bottom-nav svg { width: 21px; height: 21px; }
  .trading-simulation { padding: 8px; }
  .trading-simulation-card { max-height: calc(100dvh - 16px); padding: 18px; border-radius: 20px; }
  .simulation-ring { width: 108px; height: 108px; }
  .simulation-markets { gap: 5px; }.simulation-markets > div { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .notification-backdrop,.notification-panel,.notification-loading i { animation: none; }
}

@media (max-width: 360px) {
  .route-cards { grid-template-columns: 1fr; }
  .team-stats { grid-template-columns: 1fr 1fr; }
  .team-stats article:last-child { grid-column: 1 / -1; }
  .profile-account-cards { grid-template-columns: 1fr; }
  .quantification-metrics span { font-size: 7px; }
  .wheel-ticket-card { grid-template-columns: 1fr; }
  .wheel-ticket-card p { padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
}

@media (min-width: 960px) {
  body.user-body { padding: 16px; background: #eef2f6; }
  #app.user-shell { width: min(calc(100% - 32px),1440px); min-height: calc(100dvh - 32px); border-radius: 26px; box-shadow: 0 18px 70px rgba(25,43,63,.12); }
  #app.user-shell .dashboard { min-height: calc(100dvh - 32px); height: calc(100dvh - 32px); display: grid; grid-template-columns: 188px minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); overflow: hidden; }
  #app.user-shell .dashboard > header { grid-column: 2; grid-row: 1; }
  #app.user-shell .dashboard > .dashboard-scroll,
  #app.user-shell .dashboard > .quantification-scroll,
  #app.user-shell .dashboard > .rewards-scroll,
  #app.user-shell .dashboard > .team-scroll,
  #app.user-shell .dashboard > .profile-scroll,
  #app.user-shell .dashboard > .lucky-wheel-scroll { grid-column: 2; grid-row: 2; }
  #app.user-shell .wallet-page { grid-template-rows: auto auto minmax(0,1fr); }
  #app.user-shell .wallet-page > .wallet-tabs { grid-column: 2; grid-row: 2; }
  #app.user-shell .wallet-page > .wallet-scroll { grid-column: 2; grid-row: 3; }
  .bottom-nav { grid-column: 1; grid-row: 1 / -1; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 22px 13px; color: #c9d5df; background: linear-gradient(180deg,#101a24,#0c151e); border: 0; border-right: 1px solid rgba(255,255,255,.06); backdrop-filter: none; }
  .desktop-nav-brand { min-height: 72px; display: flex; align-items: center; gap: 10px; padding: 0 8px 20px; margin-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .desktop-nav-brand img { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; }
  .desktop-nav-brand > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .desktop-nav-brand strong { overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .desktop-nav-brand small { color: #718393; font-size: 7px; }
  .bottom-nav button { width: 100%; min-height: 50px; flex-direction: row; justify-content: flex-start; gap: 11px; padding: 0 13px; color: #81909e; border-radius: 12px; font-size: 10px; text-align: left; }
  .bottom-nav button:hover { color: #fff; background: rgba(255,255,255,.055); }
  .bottom-nav button.active { color: #fff; background: linear-gradient(105deg,#087ef8,#16bde9); box-shadow: 0 9px 22px rgba(8,126,248,.2); }
  .bottom-nav svg { width: 20px; height: 20px; flex: 0 0 auto; }
  .dashboard-header,.quantification-header { min-height: 92px; padding: 21px 32px 15px; }
  .simple-header { min-height: 92px; padding: 25px 32px 15px; background: rgba(255,255,255,.9); border-bottom: 1px solid #edf0f3; }
  .simple-header h1 { font-size: 31px; }
  .dashboard-scroll,.quantification-scroll,.rewards-scroll,.team-scroll,.wallet-scroll,.profile-scroll { padding-right: 32px; padding-left: 32px; }
  .quantification-scroll > * { max-width: 920px; }
  .rewards-scroll,.team-scroll,.wallet-scroll,.profile-scroll { width: 100%; max-width: 1120px; margin: 0 auto; }
  .lucky-wheel-scroll { width: 100%; max-width: 1180px; margin: 0 auto; }
  .wallet-tabs { margin-right: 32px; margin-left: 32px; }
  .support-launcher { right: max(26px,calc((100vw - min(calc(100vw - 32px),1440px))/2 + 24px)); bottom: 30px; }
  .support-widget { right: max(22px,calc((100vw - min(calc(100vw - 32px),1440px))/2 + 22px)); bottom: 100px; }
  .toast { bottom: 28px; }
}

@media (min-width: 1180px) {
  .dashboard-scroll { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); grid-auto-rows: min-content; gap: 16px 20px; align-content: start; }
  .dashboard-scroll > .quick-grid,.dashboard-scroll > .ticker { grid-column: 1 / -1; margin: 0; }
  .dashboard-scroll > .brand-hero { grid-column: 1; grid-row: 3; }
  .dashboard-scroll > .route-cards { grid-column: 2; grid-row: 3; grid-template-columns: 1fr; margin: 0; }
  .dashboard-scroll > .market { grid-column: 1; grid-row: 4; padding-top: 2px; }
  .dashboard-scroll > .advantage-card { grid-column: 2; grid-row: 4; margin: 0; }
  .quantification-scroll { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(350px,.95fr); grid-auto-rows: min-content; gap: 12px 18px; align-content: start; }
  .quantification-scroll > * { max-width: none; margin-right: 0; margin-left: 0; }
  .quantification-scroll > .sandbox-ribbon,.quantification-scroll > .quantification-time { grid-column: 1 / -1; margin-bottom: 0; }
  .quantification-scroll > .quantification-summary { grid-column: 1; grid-row: 3; }
  .quantification-scroll > .quantification-start { grid-column: 1; grid-row: 4; width: 100%; margin: 0; }
  .quantification-scroll > .quantification-allowance { grid-column: 1; grid-row: 5; margin: 0; }
  .quantification-scroll > .vip-section { grid-column: 2; grid-row: 3 / span 3; }
  .team-scroll { display: grid; grid-template-columns: minmax(360px,.85fr) minmax(420px,1.15fr); grid-auto-rows: min-content; gap: 14px; align-content: start; }
  .team-scroll > .team-referral-card { grid-column: 1; margin: 0; }
  .team-scroll > .team-stats { grid-column: 2; margin: 0; }
  .team-scroll > .team-members { grid-column: 1 / -1; }
  .wallet-scroll { display: grid; grid-template-columns: minmax(330px,.8fr) minmax(440px,1.2fr); grid-auto-rows: min-content; gap: 0 16px; align-content: start; }
  .wallet-scroll > .wallet-balance-card { grid-column: 1 / -1; }
  .wallet-scroll > .deposit-history { grid-column: 2; grid-row: 2 / span 5; }
  .wallet-scroll > :not(.wallet-balance-card):not(.deposit-history) { grid-column: 1; }
  .rewards-scroll { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); grid-auto-rows: min-content; gap: 12px; align-content: start; }
  .rewards-scroll > .demo-warning { grid-column: 1 / -1; margin: 0; }
  .rewards-scroll > .reward-hero { grid-column: 1; margin: 0; }
  .rewards-scroll > .reward-stats { grid-column: 2; height: 100%; margin: 0; }
  .rewards-scroll > .reward-panel { margin: 0; }
  .rewards-scroll > .reward-panel:nth-of-type(4) { grid-column: 1; grid-row: 3 / span 2; }
  .rewards-scroll > .reward-panel:nth-of-type(5) { grid-column: 2; grid-row: 3; }
  .rewards-scroll > .reward-panel:nth-of-type(6) { grid-column: 2; grid-row: 4; }
  .lucky-wheel-scroll { display: grid; grid-template-columns: minmax(590px,1.35fr) minmax(300px,.65fr); grid-auto-rows: min-content; gap: 16px; align-items: start; }
  .lucky-wheel-scroll > .wheel-stage { width: 100%; max-width: none; grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .lucky-wheel-scroll > .wheel-ticket-card { max-width: none; grid-column: 2; grid-row: 1; grid-template-columns: 1fr; margin: 0; }
  .lucky-wheel-scroll > .wheel-ticket-card p { padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.3); border-left: 0; }
  .lucky-wheel-scroll > .wheel-history { width: 100%; max-width: none; grid-column: 2; grid-row: 2; margin: 0; }
}

@media (max-width: 900px) {
  .admin-sidebar { width: min(82vw,300px); min-height: 100dvh; height: 100dvh; overflow-y: auto; padding-bottom: max(24px,env(safe-area-inset-bottom)); }
  .admin-topbar { position: sticky; z-index: 45; top: 0; }
  .admin-menu { width: 44px; height: 44px; font-size: 20px; }
  .admin-drawer { width: 100%; max-width: 680px; }
}

@media (max-width: 620px) {
  .admin-drawer { padding: 16px; }
  .admin-drawer > header { position: sticky; z-index: 3; top: -16px; padding: 16px 0 12px; margin-bottom: 10px; background: #fff; }
  .admin-drawer-tabs { position: sticky; z-index: 2; top: 64px; }
  .admin-drawer-tabs button { min-width: 0; padding: 5px; font-size: 8px; }
  .admin-support-chat { min-height: min(520px,calc(100dvh - 130px)); }
  .admin-support-reply button { min-width: 48px; padding: 0 12px; }
  .settings-list form { gap: 9px; }
}

@media (max-height: 700px) and (min-width: 960px) {
  #app.user-shell .dashboard { min-height: calc(100dvh - 20px); height: calc(100dvh - 20px); }
  body.user-body { padding: 10px; }
  #app.user-shell { min-height: calc(100dvh - 20px); }
  .desktop-nav-brand { min-height: 58px; padding-bottom: 10px; }
  .bottom-nav { padding-top: 13px; }.bottom-nav button { min-height: 43px; }
  .dashboard-header,.quantification-header,.simple-header { min-height: 76px; padding-top: 14px; padding-bottom: 10px; }
}

/* Admin notification campaigns */
.notification-entry-icon.broadcast_promotion { color: #8a6500; background: #fff0b8; }
.notification-entry-icon.broadcast_announcement { color: #0879d1; background: #e3f3ff; }
.notification-entry-icon.broadcast_update { color: #704ed2; background: #eee9ff; }
.admin-notification-hero { min-height: 128px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; margin-bottom: 16px; color: #fff; background: linear-gradient(118deg,#142432 0%,#075fba 58%,#17bee5 100%); border-radius: 20px; box-shadow: 0 18px 45px rgba(10,78,132,.14); overflow: hidden; position: relative; }
.admin-notification-hero::after { content: ""; width: 240px; height: 240px; position: absolute; top: -130px; right: 29%; border: 45px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.admin-notification-hero > div:first-child { position: relative; z-index: 1; }
.admin-notification-hero > div:first-child > span { color: #96e8ff; font-size: 8px; font-weight: 900; letter-spacing: 1.5px; }
.admin-notification-hero h2 { margin: 6px 0 4px; font-size: 24px; }
.admin-notification-hero p { max-width: 620px; margin: 0; color: #c9e6f7; font-size: 10px; line-height: 1.55; }
.notification-audience-summary { min-width: 410px; display: grid; grid-template-columns: repeat(4,1fr); position: relative; z-index: 1; overflow: hidden; background: rgba(7,30,48,.27); border: 1px solid rgba(255,255,255,.14); border-radius: 15px; backdrop-filter: blur(9px); }
.notification-audience-summary article { min-height: 68px; display: grid; place-content: center; gap: 4px; padding: 10px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.notification-audience-summary article:last-child { border-right: 0; }
.notification-audience-summary strong { font-size: 18px; }
.notification-audience-summary span { color: #b9d6e7; font-size: 7px; text-transform: uppercase; letter-spacing: .5px; }
.admin-notification-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.65fr); gap: 16px; align-items: start; }
.notification-composer,.notification-preview-panel { min-width: 0; }
.notification-composer-head p,.notification-history-panel .panel-head p { margin: 5px 0 0; color: #81909b; font-size: 9px; }
.notification-composer-head > i,.notification-preview-panel > .panel-head > i { width: 29px; height: 29px; display: grid; place-items: center; color: #0785ea; background: #e8f5ff; border-radius: 10px; font-size: 10px; font-style: normal; font-weight: 900; }
.notification-form-section { min-width: 0; padding: 0; margin: 0 0 22px; border: 0; }
.notification-form-section > legend { width: 100%; padding: 0 0 9px; color: #536572; font-size: 9px; font-weight: 850; }
.notification-audience-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.notification-audience-tabs > button { min-width: 0; min-height: 66px; display: flex; align-items: center; gap: 10px; padding: 10px; color: #526472; text-align: left; background: #f3f6f8; border: 1px solid #e5ebef; border-radius: 13px; transition: border-color .18s ease,background .18s ease,box-shadow .18s ease; }
.notification-audience-tabs > button:hover { border-color: #bcdcf3; }
.notification-audience-tabs > button.active { color: #0879d0; background: #eaf6ff; border-color: #8fcfff; box-shadow: 0 6px 17px rgba(9,135,224,.08); }
.notification-audience-tabs b { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; color: inherit; background: #fff; border-radius: 10px; }
.notification-audience-tabs svg { width: 17px; height: 17px; }
.notification-audience-tabs span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.notification-audience-tabs strong { font-size: 9px; }
.notification-audience-tabs small { color: #8a98a3; font-size: 7px; }
.notification-audience-panel { padding-top: 10px; }
.notification-audience-panel[hidden] { display: none; }
.notification-all-audience { min-height: 57px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; padding: 10px 12px; background: #f8fafb; border: 1px solid #e8edf1; border-radius: 12px; }
.notification-all-audience > b { width: 42px; height: 37px; display: grid; place-items: center; color: #087bd6; background: #e5f4ff; border-radius: 10px; font-size: 13px; }
.notification-all-audience > span { display: flex; flex-direction: column; gap: 3px; }
.notification-all-audience strong { font-size: 9px; }.notification-all-audience small { color: #82909b; font-size: 7px; }
.notification-all-audience > i { padding: 5px 8px; color: #087b48; background: #ddf6e9; border-radius: 20px; font-size: 7px; font-style: normal; font-weight: 850; }
.notification-group-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; padding: 13px; background: #f7f9fb; border: 1px solid #e5ebef; border-radius: 13px; }
.notification-group-grid label,.notification-content-fields label { min-width: 0; color: #536572; font-size: 8px; font-weight: 750; }
.notification-group-grid select,.notification-group-grid input,.notification-content-fields select,.notification-content-fields input,.notification-content-fields textarea { width: 100%; min-height: 42px; display: block; margin-top: 6px; padding: 10px 11px; color: #233440; background: #f1f5f7; border: 1px solid transparent; border-radius: 10px; outline: 0; font: inherit; font-size: 10px; font-weight: 500; transition: background .18s ease,border-color .18s ease; }
.notification-group-grid select:focus,.notification-group-grid input:focus,.notification-content-fields select:focus,.notification-content-fields input:focus,.notification-content-fields textarea:focus { background: #fff; border-color: #168fe7; box-shadow: 0 0 0 3px rgba(22,143,231,.08); }
.notification-user-search { display: flex; gap: 7px; padding: 9px; background: #f3f6f8; border-radius: 12px; }
.notification-user-search input { min-width: 0; min-height: 39px; flex: 1; padding: 0 11px; background: #fff; border: 1px solid #e3e9ed; border-radius: 9px; outline: 0; font-size: 9px; }
.notification-user-search button { min-height: 39px; padding: 0 14px; color: #fff; background: #162431; border-radius: 9px; font-size: 8px; font-weight: 850; }
.notification-user-picker { max-height: 278px; overflow-y: auto; padding: 5px 3px 0; scrollbar-width: thin; }
.notification-user-option { min-height: 54px; display: grid; grid-template-columns: 18px 34px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 8px 9px; margin-top: 4px; background: #fff; border: 1px solid #e8edf1; border-radius: 10px; cursor: pointer; }
.notification-user-option:hover,.notification-user-option.selected { background: #f0f8ff; border-color: #a9d8f8; }
.notification-user-option input { width: 16px; height: 16px; margin: 0; accent-color: #087fe7; }
.notification-user-option > b { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: #203443; border-radius: 10px; font-size: 10px; }
.notification-user-option > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.notification-user-option strong,.notification-user-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-user-option strong { font-size: 9px; }.notification-user-option small { color: #87949e; font-size: 7px; }
.notification-user-option .status { font-size: 6px; }
.notification-user-empty { padding: 28px 12px; color: #85929c; text-align: center; font-size: 9px; }.notification-user-empty.error { color: #b43b4e; }
.notification-content-fields { padding-top: 19px; border-top: 1px solid #e7ecef; }
.notification-content-fields > label { display: block; position: relative; margin-top: 10px; }
.notification-content-fields > label > span { position: absolute; top: 0; right: 0; color: #9aa5ad; font-size: 7px; font-weight: 600; }
.notification-content-fields textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.notification-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.notification-send-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; margin: 2px -6px -6px; background: #142431; border-radius: 14px; }
.notification-send-bar > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; color: #fff; }
.notification-send-bar > div strong { font-size: 18px; }.notification-send-bar > div span { color: #a9bdca; font-size: 7px; }
.notification-send-bar button { min-height: 43px; display: flex; align-items: center; gap: 8px; padding: 0 17px; color: #fff; background: linear-gradient(105deg,#0783ee,#18c1e7); border-radius: 11px; font-size: 9px; font-weight: 850; box-shadow: 0 9px 20px rgba(5,132,223,.22); }
.notification-send-bar button svg { width: 16px; }.notification-send-bar button:disabled { color: #91a0aa; background: #344653; box-shadow: none; cursor: default; }
.notification-preview-panel { position: sticky; top: 18px; }
.notification-phone-preview { min-height: 315px; padding: 19px 13px; background: radial-gradient(circle at 85% 15%,rgba(34,202,236,.17),transparent 33%),linear-gradient(150deg,#132532,#edf6fb 64%); border: 7px solid #192b39; border-radius: 27px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.13),0 19px 38px rgba(23,45,60,.15); }
.notification-phone-preview > header { display: flex; align-items: center; justify-content: space-between; padding: 4px 5px 17px; color: #fff; font-size: 9px; }.notification-phone-preview > header b { color: #9fddff; font-size: 7px; }
.notification-preview-card { min-height: 102px; display: grid; grid-template-columns: 42px minmax(0,1fr) 7px; align-items: start; gap: 10px; padding: 13px; background: rgba(255,255,255,.97); border: 1px solid #c8e6f8; border-radius: 16px; box-shadow: 0 13px 30px rgba(10,40,60,.16); }
.notification-preview-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #087bd6; background: #e5f4ff; border-radius: 12px; font-size: 15px; font-style: normal; font-weight: 900; }
.notification-preview-card.promotion .notification-preview-icon { color: #916500; background: #fff0ba; }.notification-preview-card.update .notification-preview-icon { color: #714cd5; background: #eee9ff; }
.notification-preview-card > div { min-width: 0; }.notification-preview-card > div > span { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }.notification-preview-card strong { font-size: 10px; line-height: 1.35; }.notification-preview-card time { color: #9ba5ad; font-size: 6px; }
.notification-preview-card p { margin: 7px 0 0; color: #687985; font-size: 8px; line-height: 1.55; overflow-wrap: anywhere; }.notification-preview-card > em { width: 7px; height: 7px; align-self: center; background: #0787ed; border-radius: 50%; box-shadow: 0 0 0 4px rgba(7,135,237,.1); }
.notification-preview-help { padding: 15px; margin-top: 13px; background: #f4f8fa; border-radius: 13px; }.notification-preview-help strong { font-size: 9px; }.notification-preview-help p { margin: 5px 0 0; color: #7d8b95; font-size: 8px; line-height: 1.55; }
.notification-history-panel { margin-top: 16px; }
.notification-campaign-list { display: grid; gap: 7px; }
.notification-campaign-row { min-width: 0; display: grid; grid-template-columns: 42px minmax(240px,1fr) 130px 155px; align-items: center; gap: 13px; padding: 12px; background: #f8fafb; border: 1px solid #e7edf1; border-radius: 13px; }
.notification-campaign-row > .campaign-type { width: 42px; height: 42px; display: grid; place-items: center; color: #087bd6; background: #e5f4ff; border-radius: 12px; font-size: 14px; font-style: normal; font-weight: 900; }.notification-campaign-row > .campaign-type.promotion { color: #916500; background: #fff0ba; }.notification-campaign-row > .campaign-type.update { color: #714cd5; background: #eee9ff; }
.campaign-main { min-width: 0; }.campaign-main > span { display: flex; align-items: center; gap: 7px; }.campaign-main strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.campaign-main > span b { padding: 3px 6px; color: #667783; background: #e8edf1; border-radius: 20px; font-size: 6px; text-transform: uppercase; }.campaign-main p { overflow: hidden; margin: 4px 0; color: #6f7f8b; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.campaign-main small { color: #929da5; font-size: 7px; }
.campaign-delivery { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 5px; }.campaign-delivery > strong { font-size: 15px; }.campaign-delivery > span { color: #75848f; font-size: 7px; }.campaign-delivery > div { height: 4px; grid-column: 1 / -1; overflow: hidden; background: #dfe7ec; border-radius: 10px; }.campaign-delivery > div i { height: 100%; display: block; background: linear-gradient(90deg,#0785ed,#18bde7); border-radius: inherit; }.campaign-delivery > small { grid-column: 1 / -1; color: #87949e; font-size: 7px; }
.notification-campaign-row > time { color: #667783; font-size: 8px; text-align: right; }.notification-campaign-row > time small { display: block; margin-top: 4px; color: #97a2aa; font-size: 7px; }.notification-history-empty { min-height: 120px; }

@media (max-width: 1100px) {
  .admin-notification-hero { align-items: flex-start; flex-direction: column; }
  .notification-audience-summary { width: 100%; min-width: 0; }
  .admin-notification-layout { grid-template-columns: minmax(0,1fr) minmax(270px,.58fr); }
  .notification-audience-tabs > button { align-items: flex-start; flex-direction: column; }
  .notification-campaign-row { grid-template-columns: 42px minmax(200px,1fr) 115px; }.notification-campaign-row > time { grid-column: 2 / -1; text-align: left; }
}

@media (max-width: 900px) {
  .admin-notification-layout { grid-template-columns: 1fr; }
  .notification-preview-panel { position: static; }
  .notification-phone-preview { min-height: 220px; }
}

@media (max-width: 620px) {
  .admin-notification-hero { padding: 19px 16px; border-radius: 16px; }.admin-notification-hero h2 { font-size: 21px; }
  .notification-audience-summary { grid-template-columns: 1fr 1fr; }.notification-audience-summary article:nth-child(2) { border-right: 0; }.notification-audience-summary article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .notification-audience-tabs { gap: 5px; }.notification-audience-tabs > button { min-height: 66px; align-items: center; flex-direction: column; gap: 5px; padding: 7px 4px; text-align: center; }.notification-audience-tabs b { width: 30px; height: 30px; }.notification-audience-tabs small { display: none; }
  .notification-all-audience { grid-template-columns: 38px 1fr; }.notification-all-audience > b { width: 38px; }.notification-all-audience > i { display: none; }
  .notification-group-grid,.notification-field-row { grid-template-columns: 1fr; }
  .notification-user-search { display: grid; grid-template-columns: 1fr auto; }.notification-user-option { grid-template-columns: 18px 32px minmax(0,1fr); }.notification-user-option > i { display: none; }
  .notification-send-bar { align-items: stretch; flex-direction: column; }.notification-send-bar button { justify-content: center; }
  .notification-phone-preview { min-height: 195px; padding: 15px 8px; border-width: 5px; border-radius: 22px; }
  .notification-campaign-row { grid-template-columns: 38px minmax(0,1fr); gap: 9px; }.notification-campaign-row > .campaign-type { width: 38px; height: 38px; }.campaign-delivery,.notification-campaign-row > time { grid-column: 2; }.notification-campaign-row > time { padding-top: 3px; border-top: 1px solid #e6ecef; }
  .notification-history-panel .panel-head { align-items: flex-start; flex-direction: column; }
}

/* Unified visual system */
:where(button,a,input,select,textarea):focus-visible {
  outline: 3px solid rgba(8,126,248,.28);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}
button {
  transition: color .18s var(--ease-ui),background-color .18s var(--ease-ui),border-color .18s var(--ease-ui),box-shadow .18s var(--ease-ui),filter .18s var(--ease-ui),transform .18s var(--ease-ui);
}
button:not(:disabled):active { filter: brightness(.96); }
button:disabled { cursor: not-allowed; }
input,select,textarea { accent-color: var(--blue); }
input::placeholder,textarea::placeholder { color: #97a4af; opacity: 1; }

.dashboard,
.quantification-page,
.rewards-page,
.team-page,
.wallet-page,
.profile-page,
.lucky-wheel-page {
  color: var(--ink-strong);
  background: radial-gradient(circle at 92% 0,rgba(22,199,244,.065),transparent 26%),linear-gradient(180deg,#f8fbfd 0,var(--page) 100%);
}
.dashboard-header,.quantification-header,.simple-header {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(218,228,236,.9);
  box-shadow: 0 5px 20px rgba(25,49,69,.035);
  backdrop-filter: blur(18px);
}
.dashboard-scroll,.quantification-scroll,.rewards-scroll,.team-scroll,.wallet-scroll,.profile-scroll,.lucky-wheel-scroll { scrollbar-color: rgba(91,108,122,.34) transparent; }
.dashboard h1,.dashboard h2,.dashboard h3 { text-wrap: balance; }
.dashboard small { font-size: clamp(9px,.72vw,10px); line-height: 1.45; }

.section-heading span,.market-header span,.simple-header span,
.quantification-header > div span,.team-header > div > span,.wallet-header > div > span,
.reward-section-title span,.team-section-heading span,.profile-section-title span,
.deposit-form > div > span,.withdrawal-config-form > div > span,.withdrawal-request-form > div > span,
.deposit-history > div > span,.deposit-instructions > div > span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.route-cards button,.advantage-card,.article-links button,
.team-stats article,.team-members,.quantification-allowance,.vip-section,
.reward-stats article,.reward-panel,.deposit-form,.withdrawal-config-form,
.withdrawal-request-form,.payment-setup-notice,.deposit-instructions,.deposit-history,
.profile-account-cards article,.profile-form,.kyc-upload-grid label {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.advantage-card,.team-members,.vip-section,.reward-panel,.deposit-form,
.withdrawal-config-form,.withdrawal-request-form,.payment-setup-notice,
.deposit-instructions,.deposit-history,.profile-form {
  background: var(--surface);
}
.route-cards button,.article-links button,.team-stats article,.reward-stats article,
.profile-account-cards article { background: rgba(255,255,255,.96); }
.vip-conditions,.withdrawal-preview,.kyc-summary-grid > div { background: var(--surface-soft); }

.brand-hero,.team-referral-card,.quantification-summary,.wallet-balance-card,
.profile-hero,.reward-hero > div,.wheel-ticket-card {
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: var(--shadow-md);
}
.primary-button,.quantification-start {
  border-radius: 14px;
  background: linear-gradient(105deg,#13c2ed 0,#0784f3 70%,#076ee1 100%);
  box-shadow: 0 12px 26px rgba(8,126,248,.22);
}
.primary-button:not(:disabled):hover,.quantification-start:not(:disabled):hover {
  box-shadow: 0 15px 32px rgba(8,126,248,.3);
  filter: saturate(1.08);
  transform: translateY(-1px);
}
.icon-btn,.quantification-header > button,.team-header > button,
.rewards-header > button,.wallet-header > button {
  border: 1px solid var(--border);
  box-shadow: 0 5px 15px rgba(22,45,65,.045);
}
.wallet-tabs { border: 1px solid #dfe7ed; box-shadow: inset 0 1px 2px rgba(18,40,58,.035); }
.bottom-nav { box-shadow: 0 -8px 28px rgba(24,45,62,.055); }

.sandbox-ribbon span,.demo-warning p,.quantification-allowance p,
.deposit-form > div > p,.withdrawal-config-form > div > p,.withdrawal-request-form > div > p,
.kyc-status-card p,.wallet-balance-card > small,.wallet-balance-card > p {
  font-size: 10px;
  line-height: 1.55;
}
.reward-hero span,.reward-hero small,.reward-stats span,.reward-stats small,
.profile-account-cards span,.wallet-balance-card > span,.wallet-balance-breakdown small,
.team-stats span,.team-referral-card span { font-size: 9px; }
.reward-hero strong { overflow: visible; text-overflow: clip; white-space: normal; line-height: 1.15; overflow-wrap: anywhere; }
.reward-rules > div,.reward-history article > div strong,.deposit-history article small,
.kyc-upload-grid small,.kyc-consents label,.kyc-consents p,.kyc-summary-grid span {
  font-size: 9px;
  line-height: 1.5;
}

.deposit-form input,.deposit-form select,.withdrawal-config-form input,.withdrawal-request-form input,
.profile-fields input,.profile-fields textarea,.kyc-form select,
.support-new-ticket input,.support-new-ticket textarea {
  border-color: transparent;
  background: #f1f5f8;
  transition: background .18s var(--ease-ui),border-color .18s var(--ease-ui),box-shadow .18s var(--ease-ui);
}
.deposit-form input:focus,.deposit-form select:focus,.withdrawal-config-form input:focus,
.withdrawal-request-form input:focus,.profile-fields input:focus,.profile-fields textarea:focus,
.kyc-form select:focus,.support-new-ticket input:focus,.support-new-ticket textarea:focus {
  outline: 0;
  background: #fff;
  border-color: #77bdf1;
  box-shadow: var(--focus-ring);
}

@media (hover:hover) {
  .route-cards button:hover,.article-links button:hover,.team-stats article:hover,
  .reward-stats article:hover,.admin-user-card:hover {
    border-color: #c8dce9;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .icon-btn:hover,.quantification-header > button:hover,.team-header > button:hover,
  .rewards-header > button:hover,.wallet-header > button:hover {
    color: var(--blue);
    border-color: #b9dcf6;
    background: #eef8ff;
  }
}

/* Administration */
.admin-app {
  background: radial-gradient(circle at 88% 0,rgba(22,199,244,.065),transparent 25%),#f2f6f9;
}
.admin-sidebar { background: linear-gradient(180deg,#111d27 0,#0d1821 62%,#09131b 100%); }
.admin-topbar {
  position: sticky;
  z-index: 45;
  top: 0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 5px 20px rgba(23,45,63,.045);
  backdrop-filter: blur(18px);
}
.admin-content { padding: clamp(24px,3.25vw,48px); }
.admin-panel,.admin-stat,.admin-user-card,.admin-today-overview,
.payment-register-section,.admin-support-workspace,.admin-notification-hero,
.notification-composer,.notification-preview-panel,.notification-history-panel {
  border-color: var(--border);
}
.admin-panel,.admin-stat,.admin-user-card,.payment-register-section,
.admin-support-workspace,.notification-composer,.notification-preview-panel,
.notification-history-panel {
  box-shadow: var(--shadow-sm);
}
.admin-stat { min-height: 122px; display: flex; flex-direction: column; justify-content: center; }
.admin-stat > span { color: #718291; font-size: 9px; letter-spacing: .65px; }
.admin-stat > small,.admin-overview-heading p,.panel-head p { color: #7d8c98; font-size: 10px; line-height: 1.5; }
.admin-app small { font-size: clamp(8.5px,.58vw,10px); line-height: 1.45; }
.admin-panel h2,.panel-head h2 { color: var(--ink-strong); }
.admin-table,.adaptive-user-list { border-color: var(--border); }
.adaptive-user-list-head,.currency-stats-head { background: #f2f6f9; }
.adaptive-user-list-row,.admin-tr { transition: background .16s var(--ease-ui),box-shadow .16s var(--ease-ui); }
.user-panel-head form,.admin-support-tools form,.notification-user-search { border: 1px solid var(--border); }
.user-panel-head input,.admin-support-tools input,.notification-user-search input,
.settings-list input[name=value],.drawer-controls select,.drawer-section textarea,
.notification-group-grid select,.notification-group-grid input,
.notification-content-fields select,.notification-content-fields input,.notification-content-fields textarea {
  outline: 0;
}
.user-panel-head input:focus,.admin-support-tools input:focus,.notification-user-search input:focus,
.settings-list input[name=value]:focus,.drawer-controls select:focus,.drawer-section textarea:focus {
  box-shadow: var(--focus-ring);
}
.admin-drawer { border-left: 1px solid var(--border); box-shadow: -24px 0 70px rgba(14,32,47,.18); }

@media (min-width: 960px) {
  body.user-body {
    background: radial-gradient(circle at 14% 0,rgba(8,126,248,.08),transparent 28%),radial-gradient(circle at 88% 8%,rgba(22,199,244,.08),transparent 25%),#eaf0f5;
  }
  #app.user-shell .dashboard { grid-template-columns: 204px minmax(0,1fr); }
  .bottom-nav { padding-right: 15px; padding-left: 15px; }
  .bottom-nav button { min-height: 52px; }
  .dashboard-scroll > .quick-grid { grid-template-columns: repeat(8,minmax(0,1fr)); padding-top: 4px; padding-bottom: 16px; }
  .dashboard-header,.quantification-header,.simple-header { padding-right: 34px; padding-left: 34px; }
}

@media (max-width: 959px) {
  #app.user-shell input,#app.user-shell select,#app.user-shell textarea { font-size: 16px; }
  .bottom-nav { padding-top: 8px; background: rgba(255,255,255,.94); }
  .bottom-nav button { min-height: 48px; padding: 5px 2px; border-radius: 12px; }
  .bottom-nav .active { color: var(--blue); background: #edf7ff; }
  .bottom-nav .active svg { stroke-width: 2.35; }
}

@media (max-width: 620px) {
  .admin-content { padding: 14px; }
  .admin-topbar { min-height: 72px; }
  .admin-stats { gap: 10px; }
  .admin-stat { min-height: 112px; padding: 14px; }
  .admin-panel { padding: 15px; border-radius: 17px; }
  .admin-app input,.admin-app select,.admin-app textarea { font-size: 14px; }
  .support-launcher { width: 46px; height: 46px; border-width: 2px; }
  .support-launcher svg { width: 22px; height: 22px; }
  .route-cards,.reward-hero { gap: 9px; }
  .route-cards button { min-height: 82px; }
  .article-links strong { white-space: normal; line-height: 1.3; }
  .profile-form,.team-members,.vip-section,.deposit-form,.withdrawal-config-form,
  .withdrawal-request-form,.deposit-history,.reward-panel { border-radius: 17px; }
}

@media (max-width: 959px) and (max-height: 500px) {
  .support-launcher { top: max(14px,env(safe-area-inset-top)); right: 74px; bottom: auto; }
  .support-widget { top: calc(64px + env(safe-area-inset-top)); right: 8px; bottom: 8px; height: auto; max-height: none; }
}

@media (max-width: 370px) {
  .quick-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .quick-grid button { font-size: 8px; }
  .team-referral-card { align-items: stretch; flex-direction: column; }
  .team-referral-card button { width: 100%; }
  .reward-hero { grid-template-columns: 1fr; }
  .reward-stats { grid-template-columns: 1fr 1fr; }
  .reward-stats article:last-child { grid-column: 1 / -1; }
}

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

@media (prefers-contrast: more) {
  .admin-panel,.admin-stat,.reward-panel,.team-members,.vip-section,
  .deposit-form,.withdrawal-config-form,.withdrawal-request-form,.deposit-history,.profile-form { border-color: #aebfcb; }
  :where(button,a,input,select,textarea):focus-visible { outline-color: #004fbb; }
}
