/* Shared Cryptoverse interface: portfolio, funding, activity and account screens. */
:root { --workspace-bg: #f5f7fb; --workspace-card: #ffffff; --workspace-raised: #f3f6fa; --workspace-border: rgba(18, 39, 69, 0.12); --workspace-accent: #95691e; }
body { background: var(--workspace-bg) !important; }
.phone-frame { background: var(--workspace-bg); }
.screen { background: radial-gradient(ellipse at 80% 0,rgba(25,49,79,.35),transparent 50%),var(--workspace-bg); }
.crypto-sidebar { background: #ffffff; border-color: var(--workspace-border); }
.top-app-bar { padding-bottom: 20px; margin-bottom: 24px; border-color: var(--workspace-border); }
.top-brand-name { font-size: 17px; }
.top-brand-meta { font-size: 9px; letter-spacing: .16em; }
.top-brand-mark { border-radius: 50%; background: #f0f4f9; color: var(--workspace-accent); }
.top-icon-btn { border-radius: 50%; background: #ffffff; box-shadow: none; }
.top-icon-btn.is-user { background: linear-gradient(180deg,#f4d58a,#c9973e); color: #07172f; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 24px; }
.workspace-eyebrow { color: #65758b; font-size: 9px; letter-spacing: .2em; font-weight: 600; }
.workspace-heading h1 { font-size: clamp(25px,3vw,34px); letter-spacing: -.05em; font-weight: 600; margin: 8px 0 0; color: #122745; }
.workspace-heading h1 > span { color: var(--workspace-accent); }
.workspace-member { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #65758b; }
.workspace-member > i { font-size: 20px; color: var(--workspace-accent); }
.workspace-member > span { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card, .history-hero, .referral-hero, .level-hero, .profile-hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at right top,rgba(232,190,106,.08),transparent 70%),linear-gradient(125deg,#f0f4f9,#ffffff); border: 1px solid rgba(232,190,106,.24); border-radius: 20px; padding: 26px; box-shadow: none; }
.hero-card::after { pointer-events: none; z-index: -1; }
.hero-card .section-title, .history-title, .referral-title, .level-title-main { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.035em; }
.section-subtitle, .history-subtitle, .referral-subtitle, .level-subtitle { color: #65758b; font-size: 12px; line-height: 1.75; }
.balance-figure { font-size: clamp(34px,4vw,48px); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.05em; overflow-wrap: anywhere; }
.section-panel, .support-card, .profile-panel, .insight-panel, .earning-panel, .filter-panel, .asset-filter-panel, .transaction-filter-panel, .search-panel, .profile-menu { background: var(--workspace-card); border: 1px solid var(--workspace-border); border-radius: 18px; padding: 22px; box-shadow: none; }
.metric-card, .account-card, .history-stat-card, .referral-metric-card, .level-stat-card, .asset-summary-tile { background: var(--workspace-raised); border: 1px solid var(--workspace-border); border-radius: 13px; box-shadow: none; }
.metric-card.gold-surface, .account-card.gold-surface { background: #f8f5ee; border-color: rgba(232,190,106,.28); color: #122745; }
.metric-card.gold-surface .value, .account-card.gold-surface .value { color: var(--workspace-accent); }
.metric-card .value, .account-card .value, .history-stat-card strong { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-card .small, .account-card .small, .history-stat-card > span { font-size: 10px; }
.hero-card .brand-chip, .hero-card .soft-chip { font-size: 9px; letter-spacing: .05em; padding: 7px 10px; }
.btn-gold, .btn-primary { min-height: 46px; border-radius: 12px; font-size: 12px; text-transform: none; letter-spacing: .01em; font-weight: 600; background: linear-gradient(160deg,#f4d58a,#c9973e); color: #07172f; }
.btn-outline-gold { min-height: 46px; border-radius: 12px; font-size: 12px; text-transform: none; letter-spacing: .01em; }
.form-label, .support-field label { color: #65758b; font-size: 11px; text-transform: none; letter-spacing: .02em; }
.form-control, .form-select, .filter-field, .asset-filter-select, .transaction-filter-select, .search-field, .picker-search { min-height: 46px; background-color: #ffffff; color: #122745; border: 1px solid rgba(18, 39, 69, 0.12); border-radius: 10px; font-size: 12px; box-shadow: none; }
.form-control:focus, .form-select:focus, .filter-field:focus, .asset-filter-select:focus, .search-field:focus { background-color: #ffffff; color: #122745; border-color: var(--workspace-accent); box-shadow: 0 0 0 3px rgba(232,190,106,.1); outline: none; }
.form-select option, .filter-field option, .asset-filter-select option { background: #f3f6fa; color: #122745; }
textarea.form-control { min-height: 110px; }
.list-row, .transaction-row, .transaction-card, .notification-card, .message-card, .history-card, .referral-card { background: #ffffff; border: 1px solid var(--workspace-border); border-radius: 13px; padding: 16px; box-shadow: none; }
.row-icon, .notification-mini-icon { background: rgba(232,190,106,.09); color: var(--workspace-accent); border-radius: 11px; }
.list-row .small, .notification-message { color: #65758b; }
.payout-list-row, .gateway-card label, .plan-card, .plan-option, .wallet-radio > span, .selected-channel-pill { border-color: var(--workspace-border); border-radius: 13px; background-color: #f3f6fa; box-shadow: none; }
.payout-list-row:hover, .gateway-card:hover { border-color: rgba(232,190,106,.45); }
.gateway-card input:checked + label, .wallet-radio input:checked + span { border-color: var(--workspace-accent); background: rgba(232,190,106,.08); }
.empty-state, .activity-empty, .history-empty, .message-empty { background: transparent; color: #65758b; border: 1px dashed rgba(18, 39, 69, 0.12); border-radius: 14px; padding: 32px 18px; text-align: center; }
.page-link-inline, .link-action, .change-plan-link { color: var(--workspace-accent); font-size: 11px; }
.profile-menu { gap: 10px; }
.profile-menu-item, .profile-menu-btn { border-radius: 10px; }
.modal-content, .thread-modal, .thread-modal .modal-content { background: #ffffff; color: #122745; border-color: var(--workspace-border); border-radius: 18px; }
.modal-header, .modal-footer, .thread-header, .thread-footer { border-color: var(--workspace-border); }
.auth-card { border-color: rgba(232,190,106,.24); background: linear-gradient(125deg,#f0f4f9,#ffffff); box-shadow: none; }
.auth-card .section-title { font-size: 27px; }
.auth-card .brand-chip { background: rgba(232,190,106,.09); color: var(--workspace-accent); border: 1px solid rgba(232,190,106,.18); }
.bottom-nav { box-shadow: 0 -10px 35px rgba(0,0,0,.25); }
.nav-item-mobile.active { color: var(--workspace-accent); background: rgba(232,190,106,.1); }
/* Older screens use the same surfaces and controls without changing their data or forms. */
.crypto-legacy .app-wrapper .card, [data-crypto-legacy] .app-wrapper .card { background: #ffffff; border: 1px solid var(--workspace-border); border-radius: 18px; box-shadow: none; }
.crypto-legacy .card-header, [data-crypto-legacy] .card-header { border-color: var(--workspace-border); padding: 20px; border-radius: 18px 18px 0 0; }
.crypto-legacy .app-wrapper main, [data-crypto-legacy] .app-wrapper main { background: var(--workspace-bg); }
.crypto-legacy .main-title, .crypto-legacy .page-title, [data-crypto-legacy] .main-title { font-size: 27px; letter-spacing: -.04em; color: #122745; }
.crypto-legacy .card-body, [data-crypto-legacy] .card-body { padding: 22px; }
.header-area, .classy-nav-container { background: #ffffff; }
.welcome_area, .about-us-area, .our_services_area, .features, .footer-content-area { background-color: #f5f7fb; }
.service_single_content, .single_cool_fact, .who-we-contant { border-radius: 18px; }
@media (min-width: 1101px) {
  .screen:not(.auth-screen) > section { min-width: 0; }
  .screen:not(.auth-screen) > .workspace-heading { min-width: 0; }
  .asset-filter-grid, .filter-grid { gap: 16px; }
}
@media (max-width: 767px) {
  .screen { padding: 18px 18px 120px; }
  .top-app-bar { margin-bottom: 22px; padding-bottom: 16px; }
  .top-brand-mark { width: 38px; height: 38px; }
  .top-brand-name { font-size: 15px; }
  .top-brand-meta { font-size: 8px; }
  .top-icon-btn { width: 36px; height: 36px; }
  .workspace-heading { align-items: flex-start; padding: 0 0 24px; }
  .workspace-heading h1 { font-size: 27px; }
  .workspace-eyebrow { font-size: 8px; }
  .workspace-member { margin-top: 4px; }
  .workspace-member > span { max-width: 90px; font-size: 9px; }
  .hero-card, .history-hero, .referral-hero, .level-hero, .profile-hero { padding: 22px; border-radius: 18px; }
  .section-panel, .support-card, .profile-panel, .insight-panel, .earning-panel, .filter-panel, .asset-filter-panel, .transaction-filter-panel, .search-panel, .profile-menu { padding: 20px; }
  .hero-card .section-title, .history-title, .referral-title, .level-title-main { font-size: 21px; }
  .section-subtitle, .history-subtitle, .referral-subtitle, .level-subtitle { font-size: 11px; }
  .metric-card, .account-card { padding: 15px; }
  .metric-card .value, .account-card .value { font-size: 23px; }
  .bottom-nav { display: grid; position: fixed; left: 10px; right: 10px; bottom: 8px; z-index: 100; max-width: 580px; margin: 0 auto; border: 1px solid rgba(18, 39, 69, 0.12); border-radius: 20px; padding: 7px 3px calc(7px + env(safe-area-inset-bottom)); background: rgba(12,23,40,.97); backdrop-filter: blur(16px); }
  .nav-item-mobile { min-height: 50px; font-size: 8px; text-transform: none; border-radius: 13px; letter-spacing: 0; gap: 4px; }
  .nav-item-mobile i { font-size: 18px; }
  .nav-item-mobile.active { color: var(--workspace-accent); background: rgba(232,190,106,.1); }
  .crypto-legacy .app-wrapper main, [data-crypto-legacy] .app-wrapper main { padding-bottom: 110px; }
  .auth-screen { padding: 28px 20px; }
  .auth-card { padding: 26px 22px; }
}
@media (max-width: 360px) { .workspace-member > span { display: none; } .history-stats-grid { gap: 7px; } .history-stat-card { padding: 12px 8px; } }
