    :root {
      --bg: #0D0F14;
      --bg-soft: #121626;
      --bg-elevated: #1B1F2A;
      --ink: #F7F8FF;
      --muted: rgba(223, 229, 248, 0.78);
      --dim: rgba(200, 208, 230, 0.64);
      --panel: rgba(27, 31, 42, 0.78);
      --panel-strong: rgba(27, 31, 42, 0.92);
      --line: rgba(184, 190, 215, 0.12);
      --line-strong: rgba(184, 190, 215, 0.18);
      --primary: #7A3FFF;
      --secondary: #3AA8FF;
      --accent: #2EF2B1;
      --highlight: #FF4FD8;
      --success: #2EF2B1;
      --danger: #FF7DCA;
      --warning: #FF4FD8;
      --shadow: 0 28px 82px rgba(4, 6, 12, 0.58);
      --shadow-soft: 0 18px 44px rgba(4, 6, 12, 0.26);
      --glow-pink: 0 0 24px rgba(255, 79, 216, 0.09);
      --glow-mint: 0 0 18px rgba(46, 242, 177, 0.08);
      --radius-xl: 22px;
      --radius-lg: 18px;
      --radius-md: 14px;
      --radius-sm: 12px;
      --safe-top: env(safe-area-inset-top, 0px);
      --safe-bottom: env(safe-area-inset-bottom, 0px);
    }

    * {
      box-sizing: border-box;
    }

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

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--ink);
      font-family: Manrope, "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.45;
      background:
        radial-gradient(circle at top left, rgba(122, 63, 255, 0.10), transparent 30%),
        radial-gradient(circle at 80% 8%, rgba(46, 242, 177, 0.06), transparent 26%),
        linear-gradient(180deg, #171B26 0%, #111521 32%, #0D0F14 66%, #090B11 100%);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* Тонкая сетка — только в самом верху и очень слабая, чтобы не шуметь */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 40%);
    }

    body::after {
      content: "";
      position: fixed;
      inset: auto 0 0;
      height: 30vh;
      pointer-events: none;
      background:
        radial-gradient(circle at 50% 100%, rgba(122, 63, 255, 0.05), transparent 40%);
      opacity: 0.6;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
    }

    button {
      -webkit-tap-highlight-color: transparent;
      appearance: none;
      -webkit-appearance: none;
      background-clip: padding-box;
    }

    .hidden {
      display: none !important;
    }

    .app-shell {
      position: relative;
      width: min(100%, 460px);
      min-height: 100vh;
      margin: 0 auto;
      padding: calc(14px + var(--safe-top)) 14px calc(94px + var(--safe-bottom));
    }

    @media (min-width: 700px) {
      body {
        padding: 24px 0;
      }

      .app-shell {
        min-height: 900px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 34px;
        box-shadow: var(--shadow);
        background: linear-gradient(180deg, rgba(27, 31, 42, 0.8), rgba(14, 17, 27, 0.82));
        overflow: hidden;
      }
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin: -14px -14px 18px;
      padding: calc(14px + var(--safe-top)) 14px 12px;
      background: linear-gradient(180deg, rgba(13, 15, 20, 0.74), rgba(13, 15, 20, 0.08) 72%, rgba(13, 15, 20, 0));
      border-bottom: 0;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .brand {
      display: grid;
      justify-items: center;
      gap: 4px;
      width: 152px;
      min-width: 0;
    }

    .brand-mark {
      display: inline-flex;
      align-items: center;
      padding: 4px 0;
      border: none;
      border-radius: 0;
      background: none;
      box-shadow: none;
    }

    .brand-logo {
      width: 122px;
      height: 51px;
    }

    .brand-mark img {
      width: 100%;
      height: auto;
      display: block;
      image-rendering: auto;
    }

    .brand-slogan {
      width: 152px;
      color: rgba(223, 229, 248, 0.58);
      font-size: 9.6px;
      font-weight: 900;
      letter-spacing: 0.16em;
      line-height: 1.1;
      text-align: center;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .topbar-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .status-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--warning);
      box-shadow: 0 0 10px rgba(255, 79, 216, 0.24);
    }

    .status-dot.ok {
      background: var(--success);
      box-shadow: 0 0 10px rgba(46, 242, 177, 0.22);
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 32px;
      padding: 7px 10px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(27, 31, 42, 0.88);
      color: var(--muted);
      font-size: 12.8px;
      font-weight: 700;
      white-space: nowrap;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .chip strong {
      color: var(--ink);
    }

    .avatar {
      position: relative;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(58, 168, 255, 0.38);
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--secondary), var(--primary) 58%, var(--accent));
      color: #fff;
      font-size: 12px;
      font-weight: 900;
      overflow: hidden;
      box-shadow: 0 12px 28px rgba(6, 8, 14, 0.24);
    }

    .avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .avatar.pro-user,
    .profile-avatar.pro-user {
      border-color: rgba(255, 79, 216, 0.34);
      box-shadow:
        0 14px 30px rgba(255, 79, 216, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .view {
      display: none;
      animation: rise 220ms ease;
    }

    .view.active {
      display: block;
    }

    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(8px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .screen-head {
      margin: 6px 0 18px;
    }

    .kicker {
      color: rgba(255, 127, 227, 0.92);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3,
    p {
      margin: 0;
      letter-spacing: 0;
    }

    h1 {
      margin-top: 6px;
      font-size: clamp(29px, 7vw, 36px);
      line-height: 0.98;
      font-weight: 900;
      letter-spacing: -0.04em;
    }

    .subhead {
      margin-top: 8px;
      color: var(--muted);
      font-size: 14px;
      max-width: 34ch;
    }

    .slogan-line {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 7px;
      margin-top: 12px;
      padding: 9px 12px;
      border: 1px solid rgba(255, 79, 216, 0.24);
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(255, 79, 216, 0.12), rgba(46, 242, 177, 0.1) 56%, rgba(139, 92, 246, 0.08));
      color: var(--ink);
      font-size: 11px;
      font-weight: 950;
      text-transform: uppercase;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .slogan-line span {
      color: var(--accent);
    }

    .slogan-line .slogan-start {
      color: var(--primary);
    }

    .screen-head h1 {
      text-align: center;
    }

    .auth-panel,
    .terms-panel,
    .hero-panel,
    .metric,
    .challenge-card,
    .activity-row,
    .form-panel,
    .profile-band,
    .empty-state,
    .toast,
    .modal-sheet {
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background:
        linear-gradient(180deg, rgba(27, 31, 42, 0.97), rgba(18, 22, 38, 0.95)),
        radial-gradient(circle at top right, rgba(255, 79, 216, 0.035), transparent 34%);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
    }

    .auth-panel,
    .terms-panel {
      padding: 16px;
      margin-bottom: 14px;
    }

    .auth-panel.hidden,
    .terms-panel.hidden {
      display: none;
    }

    .panel-title {
      font-size: 18px;
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    .panel-copy {
      margin-top: 6px;
      color: var(--muted);
      font-size: 13.8px;
    }

    .api-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      margin-top: 12px;
    }

    .input,
    .textarea,
    .select {
      width: 100%;
      min-height: 46px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background-color: rgba(10, 12, 19, 0.92);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239AA3C0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      color: var(--ink);
      outline: none;
      appearance: none;
      -webkit-appearance: none;
      padding: 12px 38px 12px 12px;
      font-size: 14px;
      transition: border 160ms ease, background 160ms ease, box-shadow 160ms ease;
    }

    .textarea {
      min-height: 92px;
      resize: vertical;
    }

    .input:focus,
    .textarea:focus,
    .select:focus {
      border-color: rgba(46, 242, 177, 0.55);
      background: rgba(15, 18, 28, 0.98);
      box-shadow: 0 0 0 3px rgba(46, 242, 177, 0.12);
    }

    .select option {
      background: var(--bg-elevated);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
    }

    .btn {
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      padding: 10px 13px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: rgba(27, 31, 42, 0.92);
      color: var(--ink);
      font-size: 13px;
      font-weight: 850;
      cursor: pointer;
      transition: transform 140ms ease, border 140ms ease, background 140ms ease;
      box-shadow: none;
    }

    .btn:active {
      transform: translateY(1px) scale(0.99);
    }

    .btn.primary {
      border-color: rgba(122, 63, 255, 0.3);
      background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%);
      background-clip: padding-box;
      color: white;
      box-shadow: 0 12px 22px rgba(122, 63, 255, 0.16);
    }

    .btn.success {
      border-color: rgba(46, 242, 177, 0.34);
      background: rgba(46, 242, 177, 0.12);
      color: var(--success);
      box-shadow: none;
    }

    .btn.danger {
      border-color: rgba(255, 79, 216, 0.18);
      background: rgba(255, 79, 216, 0.08);
      color: #ffc9ee;
    }

    .btn.ghost {
      color: var(--muted);
      background: rgba(18, 22, 38, 0.82);
    }

    .btn.block {
      width: 100%;
    }

    .btn[disabled] {
      opacity: 0.54;
      cursor: progress;
    }

    .hero-panel {
      position: relative;
      overflow: hidden;
      padding: 18px;
      margin-bottom: 14px;
      background:
        radial-gradient(circle at 82% 18%, rgba(46, 242, 177, 0.12), transparent 30%),
        radial-gradient(circle at 12% 8%, rgba(255, 79, 216, 0.1), transparent 26%),
        linear-gradient(135deg, rgba(255, 79, 216, 0.09), rgba(46, 242, 177, 0.08) 52%, rgba(139, 92, 246, 0.05) 100%),
        rgba(24, 29, 42, 0.96);
      box-shadow: var(--shadow-soft);
    }

    .hero-panel::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 3px;
      background: linear-gradient(90deg, var(--highlight), var(--accent) 58%, rgba(255, 255, 255, 0.55));
    }

    .hero-panel::after {
      content: "";
      position: absolute;
      inset: auto -10% -30% auto;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(46, 242, 177, 0.11), transparent 62%);
      pointer-events: none;
    }

    .hero-top {
      display: grid;
      gap: 14px;
      margin-bottom: 16px;
    }

    .hero-copy {
      min-width: 0;
    }

    .hero-lead {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 7px 11px;
      border: 1px solid rgba(255, 79, 216, 0.22);
      border-radius: 999px;
      background: rgba(255, 79, 216, 0.08);
      color: #ffd9f6;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .hero-stake-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 14px;
      padding: 14px 16px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: calc(var(--radius-lg) - 2px);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(139, 92, 246, 0.12), rgba(46, 242, 177, 0.07) 74%, rgba(255, 79, 216, 0.1)),
        rgba(12, 14, 22, 0.58);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .hero-stake-copy {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .hero-stake-note {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.35;
      max-width: 32ch;
    }

    .hero-stake-value {
      color: #dcfff1;
      font-size: clamp(25px, 6.2vw, 34px);
      line-height: 0.96;
      font-weight: 950;
      letter-spacing: -0.05em;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
      text-shadow: 0 12px 28px rgba(4, 6, 12, 0.22);
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-top: 14px;
    }

    .hero-stat-chip {
      padding: 11px 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 15px;
      background: rgba(12, 14, 22, 0.5);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .hero-stat-value {
      color: var(--ink);
      font-size: 20px;
      font-weight: 950;
      letter-spacing: -0.04em;
    }

    .hero-stat-label {
      margin-top: 4px;
      color: var(--dim);
      font-size: 11.7px;
      font-weight: 850;
      line-height: 1.25;
    }

    .money-label,
    .mini-label,
    label {
      color: var(--dim);
      font-size: 11.7px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .money {
      margin-top: 6px;
      font-size: 40px;
      line-height: 1;
      font-weight: 950;
      letter-spacing: -0.05em;
      text-shadow: 0 12px 28px rgba(4, 6, 12, 0.22);
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 9px;
      border: 1px solid rgba(58, 168, 255, 0.28);
      border-radius: var(--radius-sm);
      color: #eef3ff;
      background: rgba(58, 168, 255, 0.16);
      font-size: 11.7px;
      font-weight: 900;
      text-transform: uppercase;
      white-space: nowrap;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 18px rgba(58, 168, 255, 0.08);
    }

    .status-badge.active {
      color: #eafff6;
      border-color: rgba(46, 242, 177, 0.34);
      background: linear-gradient(135deg, rgba(46, 242, 177, 0.22), rgba(46, 242, 177, 0.1));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 24px rgba(46, 242, 177, 0.12);
    }

    .status-badge.success {
      color: #eafff6;
      border-color: rgba(46, 242, 177, 0.34);
      background: linear-gradient(135deg, rgba(46, 242, 177, 0.24), rgba(46, 242, 177, 0.1));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 24px rgba(46, 242, 177, 0.12);
    }

    .status-badge.warning {
      color: #fff1fb;
      border-color: rgba(255, 79, 216, 0.34);
      background: linear-gradient(135deg, rgba(255, 79, 216, 0.24), rgba(255, 79, 216, 0.1));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 24px rgba(255, 79, 216, 0.12);
    }

    .status-badge.danger {
      color: #fff0fa;
      border-color: rgba(255, 79, 216, 0.36);
      background: linear-gradient(135deg, rgba(255, 79, 216, 0.28), rgba(255, 79, 216, 0.12));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 24px rgba(255, 79, 216, 0.12);
    }

    .challenge-title {
      max-width: 12ch;
      font-size: clamp(24px, 5vw, 30px);
      line-height: 1.02;
      font-weight: 950;
      letter-spacing: -0.04em;
    }

    .hero-panel .challenge-title {
      max-width: none;
    }

    .challenge-desc {
      max-width: 42ch;
      margin-top: 10px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .chal-kv-list {
      display: flex;
      flex-direction: column;
      gap: 5px;
      margin-top: 10px;
    }
    .chal-kv-row {
      display: flex;
      gap: 8px;
      font-size: 12.5px;
      line-height: 1.35;
    }
    .chal-kv-key {
      color: var(--muted);
      white-space: nowrap;
      flex-shrink: 0;
      min-width: 100px;
    }
    .chal-kv-val {
      color: var(--ink);
      font-weight: 500;
    }
    .chal-kv-note {
      color: var(--muted);
      font-size: 12px;
      margin-top: 6px;
      padding-top: 6px;
      border-top: 1px solid var(--line);
    }

    .hero-progress-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 4px;
    }

    .hero-progress-note,
    .hero-progress-value {
      font-size: 11.7px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .hero-progress-note {
      color: var(--dim);
    }

    .hero-progress-value {
      color: var(--accent);
    }

    .progress {
      height: 7px;
      margin: 10px 0 0;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.08);
    }

    .progress i {
      display: block;
      height: 100%;
      width: 42%;
      border-radius: inherit;
      background: linear-gradient(90deg, rgba(255, 79, 216, 0.92), rgba(46, 242, 177, 0.98) 64%, rgba(255, 255, 255, 0.8));
    }

    .hero-meta,
    .card-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .hero-foot {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .meta-pill {
      padding: 7px 9px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      color: var(--muted);
      background: rgba(10, 12, 19, 0.88);
      font-size: 12.8px;
      font-weight: 750;
      box-shadow: none;
    }

    .meta-pill.pro-pill {
      border-color: rgba(255, 79, 216, 0.28);
      background: rgba(255, 79, 216, 0.12);
      color: #ffd2f3;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .hero-actions,
    .card-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 14px;
    }

    /* Экран входа: тестовая кнопка скрыта — «Войти через Telegram» на всю ширину */
    #authPanel .hero-actions {
      grid-template-columns: 1fr;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 20px;
    }

    .metric {
      position: relative;
      overflow: hidden;
      aspect-ratio: 1;
      min-height: 0;
      padding: 11px;
      display: grid;
      gap: 6px;
      align-content: space-between;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 79, 216, 0.05) 52%, rgba(46, 242, 177, 0.06)),
        rgba(15, 18, 28, 0.92);
    }

    .metric::before {
      content: "";
      position: absolute;
      inset: 0 auto auto 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, rgba(255, 79, 216, 0.8), rgba(46, 242, 177, 0.74), rgba(139, 92, 246, 0.72));
      opacity: 0.86;
    }

    .metric::after {
      content: "";
      position: absolute;
      inset: auto -28px -40px auto;
      width: 96px;
      height: 96px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 79, 216, 0.11), transparent 66%);
      pointer-events: none;
    }

    .metric-top,
    .metric-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
    }

    .metric-icon {
      width: 22px;
      height: 22px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.04);
      color: var(--ink);
      font-size: 12px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .metric-icon.success {
      color: var(--success);
      background: rgba(46, 242, 177, 0.1);
    }

    .metric-icon.primary {
      color: var(--primary);
      background: rgba(139, 92, 246, 0.12);
    }

    .metric-icon.highlight {
      color: var(--highlight);
      background: rgba(255, 79, 216, 0.12);
    }

    .metric-copy {
      color: var(--dim);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 0.01em;
      text-transform: uppercase;
    }

    .metric-value {
      position: relative;
      z-index: 1;
      font-size: 26px;
      line-height: 0.98;
      font-weight: 950;
      letter-spacing: -0.05em;
      text-shadow: 0 12px 28px rgba(4, 6, 12, 0.2);
    }

    .metric-value.primary {
      color: var(--primary);
    }

    .metric-value.success {
      color: var(--success);
    }

    .metric-value.highlight {
      color: var(--highlight);
    }

    .section {
      margin: 22px 0 0;
    }

    .section-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }

    .section-row h2 {
      font-size: 18px;
      font-weight: 950;
      letter-spacing: -0.03em;
    }

    .section-row button {
      flex: 0 0 auto;
    }

    .section-copy {
      margin-top: 6px;
      color: var(--muted);
      font-size: 13.8px;
      line-height: 1.45;
      max-width: 44ch;
    }

    .challenge-list,
    .activity-list {
      display: grid;
      gap: 10px;
    }

    .challenge-card {
      position: relative;
      overflow: hidden;
      padding: 16px;
      background:
        radial-gradient(circle at 88% 14%, rgba(46, 242, 177, 0.08), transparent 28%),
        radial-gradient(circle at 8% 0%, rgba(139, 92, 246, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        rgba(17, 20, 31, 0.94);
    }

    .challenge-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 2px;
      background: linear-gradient(90deg, rgba(139, 92, 246, 0.82), rgba(46, 242, 177, 0.76));
    }

    .challenge-card-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 12px;
    }

    .challenge-spotlights {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
    }

    .challenge-pill {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 7px 10px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.03);
      color: var(--muted);
      font-size: 11.7px;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .challenge-pill.reward {
      border-color: rgba(255, 79, 216, 0.2);
      background: rgba(255, 79, 216, 0.08);
      color: #ffd1f2;
    }

    .challenge-pill.mint {
      border-color: rgba(46, 242, 177, 0.2);
      background: rgba(46, 242, 177, 0.07);
      color: #cffff0;
    }

    .challenge-pill.violet {
      border-color: rgba(139, 92, 246, 0.18);
      background: rgba(139, 92, 246, 0.08);
      color: #ddd0ff;
    }

    .card-name {
      font-size: 18px;
      font-weight: 950;
      line-height: 1.1;
      letter-spacing: -0.03em;
    }

    .card-stake {
      min-width: 104px;
      max-width: 148px;
      padding: 9px 12px 8px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 14px;
      background: rgba(12, 15, 24, 0.54);
      text-align: center;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .card-stake-label {
      color: var(--dim);
      font-size: 10.7px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .card-stake-value {
      margin-top: 4px;
      color: #dcfff1;
      font-size: clamp(15px, 4.4vw, 18px);
      line-height: 1;
      font-weight: 950;
      letter-spacing: -0.03em;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
    }

    .card-stake.reward .card-stake-value {
      color: #ffd1f2;
    }

    .challenge-card .challenge-desc {
      max-width: none;
      margin-top: 10px;
      font-size: 13px;
      line-height: 1.5;
    }

    .challenge-card .card-meta {
      margin-top: 12px;
    }

    .challenge-card .card-actions {
      margin-top: 16px;
    }

    .challenge-state-banner {
      margin-top: 14px;
      padding: 13px 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      background: rgba(10, 12, 19, 0.78);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .challenge-state-banner[data-tone="mint"] {
      border-color: rgba(46, 242, 177, 0.22);
      background:
        linear-gradient(135deg, rgba(46, 242, 177, 0.14), rgba(46, 242, 177, 0.02)),
        rgba(10, 12, 19, 0.8);
    }

    .challenge-state-banner[data-tone="violet"] {
      border-color: rgba(139, 92, 246, 0.2);
      background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(58, 168, 255, 0.03)),
        rgba(10, 12, 19, 0.8);
    }

    .challenge-state-banner[data-tone="pink"] {
      border-color: rgba(255, 79, 216, 0.22);
      background:
        linear-gradient(135deg, rgba(255, 79, 216, 0.14), rgba(255, 79, 216, 0.03)),
        rgba(10, 12, 19, 0.8);
    }

    .challenge-state-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--dim);
      font-size: 11.7px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .challenge-state-text {
      margin-top: 7px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 850;
      line-height: 1.35;
    }

    .challenge-audience {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-top: 14px;
    }

    .challenge-audience.compact {
      margin-top: 12px;
    }

    .challenge-audience-chip {
      position: relative;
      overflow: hidden;
      padding: 10px 11px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        rgba(10, 12, 19, 0.56);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 10px 24px rgba(4, 6, 12, 0.12);
    }

    .challenge-audience-chip::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 2px;
      opacity: 0.92;
    }

    .challenge-audience-chip::after {
      content: "";
      position: absolute;
      inset: auto -18px -24px auto;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      opacity: 0.75;
      pointer-events: none;
    }

    .challenge-audience-chip.total {
      border-color: rgba(58, 168, 255, 0.14);
      background:
        linear-gradient(135deg, rgba(58, 168, 255, 0.13), rgba(58, 168, 255, 0.02)),
        rgba(10, 12, 19, 0.58);
    }

    .challenge-audience-chip.total::before {
      background: linear-gradient(90deg, rgba(58, 168, 255, 0.95), rgba(139, 92, 246, 0.72));
    }

    .challenge-audience-chip.total::after {
      background: radial-gradient(circle, rgba(58, 168, 255, 0.18), transparent 70%);
    }

    .challenge-audience-chip.active {
      border-color: rgba(46, 242, 177, 0.16);
      background:
        linear-gradient(135deg, rgba(46, 242, 177, 0.14), rgba(46, 242, 177, 0.02)),
        rgba(10, 12, 19, 0.58);
    }

    .challenge-audience-chip.active::before {
      background: linear-gradient(90deg, rgba(46, 242, 177, 0.95), rgba(108, 255, 219, 0.7));
    }

    .challenge-audience-chip.active::after {
      background: radial-gradient(circle, rgba(46, 242, 177, 0.18), transparent 70%);
    }

    .challenge-audience-chip.failed {
      border-color: rgba(139, 92, 246, 0.18);
      background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.03)),
        rgba(10, 12, 19, 0.58);
    }

    .challenge-audience-chip.failed::before {
      background: linear-gradient(90deg, rgba(139, 92, 246, 0.95), rgba(122, 63, 255, 0.72));
    }

    .challenge-audience-chip.failed::after {
      background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
    }

    .challenge-audience-value {
      color: var(--ink);
      font-size: 18px;
      font-weight: 950;
      letter-spacing: -0.04em;
      text-shadow: 0 10px 20px rgba(4, 6, 12, 0.16);
    }

    .challenge-audience-chip.total .challenge-audience-value {
      color: #bdddff;
    }

    .challenge-audience-chip.active .challenge-audience-value {
      color: #d5fff1;
    }

    .challenge-audience-chip.failed .challenge-audience-value {
      color: #ddd0ff;
    }

    .challenge-audience-label {
      margin-top: 4px;
      color: var(--dim);
      font-size: 11.7px;
      font-weight: 850;
      line-height: 1.25;
    }

    .challenge-audience.compact .challenge-audience-chip {
      padding: 9px 10px;
      border-radius: 13px;
    }

    .challenge-audience.compact .challenge-audience-value {
      font-size: 17px;
    }

    .detail-grid {
      display: grid;
      gap: 10px;
      margin-top: 16px;
    }

    .detail-block {
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      background: rgba(10, 12, 19, 0.72);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .detail-block h3 {
      font-size: 14px;
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    .detail-list {
      display: grid;
      gap: 9px;
      margin-top: 10px;
    }

    .detail-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--muted);
      font-size: 12.8px;
    }

    .detail-row strong {
      color: var(--ink);
      font-size: 13px;
      font-weight: 900;
      text-align: right;
    }

    .detail-copy {
      margin-top: 10px;
      color: var(--dim);
      font-size: 12.8px;
      line-height: 1.5;
    }

    .activity-row {
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 14px;
      min-height: 74px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        rgba(17, 20, 31, 0.94);
    }

    .activity-body {
      min-width: 0;
    }

    .activity-icon {
      width: 42px;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: var(--primary);
      background: rgba(255, 79, 216, 0.1);
      font-weight: 900;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .activity-icon.success {
      color: var(--success);
      background: rgba(46, 242, 177, 0.12);
    }

    .activity-icon.danger {
      color: #ffd8f3;
      background: rgba(255, 79, 216, 0.12);
    }

    .activity-title {
      font-size: 13px;
      font-weight: 900;
      letter-spacing: -0.01em;
    }

    .activity-sub {
      margin-top: 4px;
      color: var(--dim);
      font-size: 12.8px;
    }

    .amount {
      padding-left: 10px;
      font-size: 13px;
      font-weight: 900;
      white-space: nowrap;
    }

    .amount.in {
      color: var(--success);
    }

    .amount.out {
      color: #ffd8f3;
    }

    .tabs {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      margin-bottom: 14px;
      padding: 4px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(18, 22, 38, 0.88);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .tab {
      min-height: 40px;
      border: 0;
      border-radius: 12px;
      background: transparent;
      color: var(--muted);
      font-size: 12.8px;
      font-weight: 850;
      cursor: pointer;
      transition: color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
    }

    .tab.active {
      color: var(--ink);
      background: linear-gradient(90deg, rgba(122, 63, 255, 0.2) 0%, rgba(122, 63, 255, 0.2) 76%, rgba(46, 242, 177, 0.06) 100%);
      box-shadow: none;
      transform: translateY(-1px);
    }

    .form-panel {
      padding: 14px;
    }

    .form-grid {
      display: grid;
      gap: 12px;
    }

    .create-summary-panel {
      position: relative;
      overflow: hidden;
      padding: 16px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-lg);
      background:
        radial-gradient(circle at 88% 14%, rgba(46, 242, 177, 0.1), transparent 28%),
        radial-gradient(circle at 10% 0%, rgba(255, 79, 216, 0.1), transparent 28%),
        linear-gradient(145deg, rgba(255, 79, 216, 0.08), rgba(46, 242, 177, 0.06) 54%, rgba(139, 92, 246, 0.05)),
        rgba(16, 20, 31, 0.94);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .create-summary-panel::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 3px;
      background: linear-gradient(90deg, rgba(255, 79, 216, 0.92), rgba(46, 242, 177, 0.9));
    }

    .create-summary-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .create-summary-title {
      margin-top: 6px;
      font-size: clamp(22px, 5vw, 28px);
      line-height: 1.02;
      font-weight: 950;
      letter-spacing: -0.04em;
    }

    .create-summary-copy {
      margin-top: 8px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
      max-width: 40ch;
    }

    .create-summary-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 8px 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      background: rgba(12, 15, 24, 0.42);
      color: var(--ink);
      font-size: 11px;
      font-weight: 950;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .create-summary-badge[data-mode="personal"] {
      border-color: rgba(46, 242, 177, 0.24);
      color: #d5fff1;
      background: rgba(46, 242, 177, 0.08);
    }

    .create-summary-badge[data-mode="public"] {
      border-color: rgba(255, 79, 216, 0.26);
      color: #ffe0f8;
      background: rgba(255, 79, 216, 0.1);
    }

    .create-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 16px;
    }

    .create-summary-cell {
      padding: 12px 13px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 15px;
      background: rgba(12, 15, 24, 0.48);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .create-summary-label {
      color: var(--dim);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .create-summary-value {
      margin-top: 5px;
      color: var(--ink);
      font-size: 15px;
      font-weight: 900;
      line-height: 1.3;
    }

    .create-section-card {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        rgba(13, 16, 25, 0.74);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .create-section-head {
      display: grid;
      gap: 6px;
    }

    .create-section-kicker {
      color: #ffb8ef;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .create-section-title {
      font-size: 16px;
      font-weight: 950;
      letter-spacing: -0.02em;
    }

    .create-section-copy {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
      max-width: 46ch;
    }

    .two-cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .stake-box {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(10, 12, 19, 0.9);
    }

    .summary-grid {
      display: grid;
      gap: 8px;
      margin-top: 2px;
    }

    .summary-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--muted);
      font-size: 12px;
    }

    .summary-row strong {
      color: var(--ink);
      font-size: 13px;
      font-weight: 900;
      white-space: nowrap;
    }

    .summary-note {
      padding-top: 6px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      color: var(--dim);
      font-size: 11px;
      line-height: 1.45;
    }

    .responsibility-shortlist {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .responsibility-shortlist li {
      padding: 10px 12px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 13px;
      background: rgba(10, 12, 19, 0.52);
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .stake-line {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 12px;
    }

    .stake-amount {
      font-size: 30px;
      line-height: 1;
      font-weight: 950;
      color: var(--accent);
      letter-spacing: -0.05em;
    }

    .range {
      width: 100%;
      accent-color: var(--highlight);
    }

    .policy-box {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid rgba(255, 79, 216, 0.2);
      border-radius: var(--radius-sm);
      background: linear-gradient(180deg, rgba(255, 79, 216, 0.12), rgba(27, 31, 42, 0.88));
    }

    .policy-title {
      font-size: 14px;
      font-weight: 900;
    }

    .policy-copy,
    .policy-list,
    .policy-link {
      color: var(--muted);
      font-size: 13px;
    }

    .policy-list {
      margin: 0;
      padding-left: 18px;
    }

    .policy-link {
      color: var(--highlight);
      text-decoration: none;
    }

    .policy-link:hover {
      text-decoration: underline;
    }

    .inline-note {
      margin-top: 6px;
      color: var(--dim);
      font-size: 12px;
      line-height: 1.45;
    }

    .section-divider {
      height: 1px;
      margin: 2px 0;
      background: rgba(255, 255, 255, 0.06);
    }

    .checkbox-row {
      display: grid;
      grid-template-columns: 18px 1fr;
      gap: 10px;
      align-items: start;
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
    }

    .checkbox-row input {
      margin-top: 2px;
      accent-color: var(--success);
    }

    .empty-state {
      padding: 18px;
      border: 1px dashed rgba(184, 190, 215, 0.18);
      border-radius: var(--radius-lg);
      background: rgba(15, 18, 28, 0.72);
      color: var(--muted);
      font-size: 13px;
      text-align: center;
    }

    .profile-band {
      padding: 16px;
      display: grid;
      gap: 12px;
    }

    .profile-head {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .profile-avatar {
      position: relative;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 52%, var(--accent) 100%);
      font-size: 18px;
      font-weight: 950;
      overflow: hidden;
      box-shadow: 0 14px 30px rgba(6, 8, 14, 0.22);
    }

    .profile-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .profile-name {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      font-size: 20px;
      font-weight: 950;
      letter-spacing: -0.03em;
    }

    .profile-name.pro-name {
      color: #ffe5f8;
      text-shadow: 0 10px 22px rgba(255, 79, 216, 0.12);
    }

    .pro-word {
      color: #FF4FD8;
      font-weight: 950;
      text-shadow: 0 8px 18px rgba(255, 79, 216, 0.12);
    }

    .pro-crown {
      display: inline-block;
      color: #FF4FD8;
      font-size: 22px;
      line-height: 1;
      vertical-align: baseline;
      position: relative;
      top: -4px;
      margin-left: 6px;
      text-shadow: 0 10px 22px rgba(255, 79, 216, 0.14);
    }

    .pro-status-text {
      color: #ffb7ef;
    }

    .profile-sub {
      color: var(--dim);
      font-size: 13px;
    }

    .settings-grid {
      display: grid;
      gap: 8px;
    }

    .setting-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(14, 17, 27, 0.9);
    }

    .setting-title {
      font-size: 13px;
      font-weight: 900;
    }

    .setting-sub {
      margin-top: 2px;
      color: var(--dim);
      font-size: 12px;
      word-break: break-word;
    }

    .bottom-nav {
      position: fixed;
      left: 50%;
      bottom: 0;
      z-index: 30;
      width: min(100%, 460px);
      transform: translateX(-50%);
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      grid-auto-rows: 56px;
      align-items: stretch;
      gap: 6px;
      padding: 8px 11px calc(8px + var(--safe-bottom));
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      background:
        linear-gradient(180deg, rgba(18, 22, 38, 0.86), rgba(13, 15, 20, 0.95)),
        rgba(13, 15, 20, 0.94);
      box-shadow: 0 -12px 28px rgba(4, 6, 12, 0.2);
      backdrop-filter: blur(26px);
      -webkit-backdrop-filter: blur(26px);
    }

    @media (min-width: 700px) {
      .bottom-nav {
        border-radius: 0 0 30px 30px;
      }
    }

    .nav-btn {
      min-width: 0;
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.015);
      color: var(--dim);
      padding: 7px 3px 6px;
      display: grid;
      gap: 3px;
      place-items: center;
      font-size: 10px;
      font-weight: 850;
      cursor: pointer;
      transition: color 140ms ease, background 140ms ease, transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
    }

    .nav-ico {
      width: 28px;
      height: 28px;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.02);
      color: rgba(223, 229, 248, 0.72);
      font-size: 14px;
      font-weight: 950;
      transition: background 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease;
    }

    .nav-label {
      line-height: 1;
      letter-spacing: 0.01em;
    }

    .nav-btn[data-page="dashboard"],
    .nav-btn[data-page="challenges"] {
      border-color: rgba(122, 63, 255, 0.12);
      background: rgba(122, 63, 255, 0.05);
    }

    .nav-btn[data-page="history"],
    .nav-btn[data-page="profile"] {
      border-color: rgba(46, 242, 177, 0.12);
      background: rgba(46, 242, 177, 0.04);
    }

    .nav-btn[data-page="dashboard"] .nav-ico,
    .nav-btn[data-page="challenges"] .nav-ico {
      border-color: rgba(122, 63, 255, 0.2);
      color: #c3a9ff;
      background: rgba(122, 63, 255, 0.08);
    }

    .nav-btn[data-page="history"] .nav-ico,
    .nav-btn[data-page="profile"] .nav-ico {
      border-color: rgba(46, 242, 177, 0.18);
      color: #7ff6cf;
      background: rgba(46, 242, 177, 0.06);
    }

    .nav-btn[data-page="dashboard"] .nav-label,
    .nav-btn[data-page="challenges"] .nav-label {
      color: rgba(223, 212, 255, 0.86);
    }

    .nav-btn[data-page="history"] .nav-label {
      color: rgba(209, 255, 237, 0.84);
    }

    /* ── Consent Screen ─────────────────────────────────────── */
    .consent-wrap { max-width: 420px; margin: 0 auto; padding: 20px 16px 32px; }
    .consent-logo { font-size: 28px; font-weight: 700; letter-spacing: -1px; margin-bottom: 4px; }
    .consent-title { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
    .consent-sub { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
    .consent-doc-block { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
    .consent-doc-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; margin-bottom: 10px; }
    .consent-doc-title { font-size: 14px; font-weight: 500; }
    .consent-doc-arrow { font-size: 11px; color: rgba(255,255,255,0.4); transition: transform 0.2s; }
    .consent-doc-arrow.open { transform: rotate(180deg); }
    .consent-doc-body { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
    .consent-doc-body.hidden { display: none; }
    .consent-doc-body p { margin-bottom: 8px; }
    .consent-doc-body b { color: rgba(255,255,255,0.9); font-weight: 500; }
    .consent-check-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
    .consent-cb { width: 18px; height: 18px; min-width: 18px; margin-top: 1px; accent-color: #7a3fff; cursor: pointer; }
    .consent-check-label { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.4; }
    .consent-age-note { font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; margin: 14px 0 10px; }
    .consent-submit-btn { opacity: 0.4; transition: opacity 0.2s; }
    .consent-submit-btn:not(:disabled) { opacity: 1; }
    .consent-footer { font-size: 10px; color: rgba(255,255,255,0.2); text-align: center; margin-top: 16px; }

    /* ── Banned Screen ───────────────────────────────────────── */
    .banned-wrap { max-width: 340px; margin: 60px auto 0; padding: 20px; text-align: center; }
    .banned-icon { font-size: 48px; margin-bottom: 16px; }
    .banned-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
    .banned-sub { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px; line-height: 1.5; }
    .banned-code { background: rgba(255,68,85,0.12); border: 1px solid rgba(255,68,85,0.3); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; font-size: 12px; color: #ff8a94; }
    .banned-until { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 20px; }

    /* ── Public Profile Screen ───────────────────────────────── */
    .pub-profile { padding: 16px; }
    .pub-profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
    .pub-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(122,63,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; flex-shrink: 0; overflow: hidden; }
    .pub-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .pub-name { font-size: 18px; font-weight: 600; }
    .pub-username { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 2px; }
    .pub-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 20px; }
    .pub-stat { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px 8px; text-align: center; }
    .pub-stat-val { font-size: 20px; font-weight: 700; color: #2ef2b1; }
    .pub-stat-label { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.4px; }
    .pub-challenges-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
    .pub-challenge-item { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
    .pub-challenge-item:active { opacity: 0.8; }
    .pub-challenge-name { font-size: 13px; font-weight: 500; }
    .pub-challenge-meta { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }
    .pub-badge-ok { background: rgba(46,242,177,0.12); color: #2ef2b1; font-size: 10px; padding: 2px 7px; border-radius: 5px; font-weight: 500; }
    .pub-badge-active { background: rgba(122,63,255,0.15); color: #a07aff; font-size: 10px; padding: 2px 7px; border-radius: 5px; font-weight: 500; }
    .pub-badge-fail { background: rgba(255,68,85,0.12); color: #ff8a94; font-size: 10px; padding: 2px 7px; border-radius: 5px; font-weight: 500; }
    .pub-back { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 16px; cursor: pointer; }

    /* Admin panel */
    .admin-panel { padding: 16px; }
    .admin-section { background: var(--card-bg, #1a1a2e); border-radius: 12px; padding: 16px; margin-bottom: 16px; border: 1px solid rgba(122,63,255,0.15); }
    .admin-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: #7a3fff; margin-bottom: 12px; font-weight: 600; }
    .admin-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; }
    .admin-stat-row:last-child { border-bottom: none; }
    .admin-stat-val { font-weight: 700; color: #2ef2b1; font-variant-numeric: tabular-nums; }
    .admin-stat-val.warn { color: #ffaa00; }
    .admin-stat-val.danger { color: #ff4455; }
    .admin-input { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: #fff; font-size: 14px; padding: 10px 12px; margin-bottom: 10px; outline: none; font-family: inherit; }
    .admin-input:focus { border-color: #7a3fff; }
    .admin-textarea { min-height: 80px; resize: vertical; }
    .admin-row { display: flex; gap: 10px; }
    .admin-row .admin-input { flex: 1; }
    .admin-btn { width: 100%; padding: 11px; border-radius: 9px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; margin-bottom: 8px; transition: opacity 0.15s; }
    .admin-btn:active { opacity: 0.8; }
    .admin-btn-primary { background: #7a3fff; color: #fff; }
    .admin-btn-success { background: #2ef2b1; color: #000; }
    .admin-btn-danger { background: #ff4455; color: #fff; }
    .admin-btn-warn { background: #ffaa00; color: #000; }
    .admin-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
    .admin-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 5px; }
    .admin-badge-red { background: rgba(255,68,85,0.15); color: #ff4455; }
    .admin-badge-green { background: rgba(46,242,177,0.12); color: #2ef2b1; }
    .admin-badge-purple { background: rgba(122,63,255,0.15); color: #7a3fff; }
    .admin-badge-yellow { background: rgba(255,170,0,0.12); color: #ffaa00; }
    .admin-user-card { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 12px; margin-bottom: 8px; }
    .admin-user-name { font-weight: 600; font-size: 14px; }
    .admin-user-meta { font-size: 12px; color: rgba(255,255,255,0.5); margin: 3px 0 8px; }
    .admin-user-actions { display: flex; gap: 8px; flex-wrap: wrap; }
    .admin-user-actions button { flex: 1; min-width: 80px; padding: 6px 10px; border-radius: 7px; border: none; font-size: 12px; font-weight: 600; cursor: pointer; }
    .admin-proof-card { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 12px; margin-bottom: 10px; }
    .admin-proof-img { width: 100%; max-height: 180px; object-fit: contain; border-radius: 7px; background: rgba(0,0,0,0.3); margin: 8px 0; }
    .admin-proof-score { font-family: monospace; font-weight: 700; }
    .admin-tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 2px; }
    .admin-tab { padding: 7px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: transparent; color: rgba(255,255,255,0.6); font-size: 13px; cursor: pointer; white-space: nowrap; }
    .admin-tab.active { background: rgba(122,63,255,0.2); border-color: #7a3fff; color: #fff; }

    .nav-btn[data-page="adminPanel"] .nav-ico,
    .nav-btn[data-page="adminPanel"] .nav-label,
    .nav-btn[data-page="profile"] .nav-label {
      color: rgba(209, 255, 237, 0.84);
    }

    .nav-btn[data-page="create"] .nav-ico {
      border-color: rgba(255, 255, 255, 0.16);
      color: #fff;
      background: rgba(255, 255, 255, 0.08);
      box-shadow: none;
    }

    .nav-btn[data-page="create"] {
      border-color: rgba(255, 79, 216, 0.28);
      background: #FF4FD8;
      color: #fff;
      box-shadow: 0 12px 22px rgba(255, 79, 216, 0.18);
    }

    .nav-btn[data-page="create"]:not(.active) {
      transform: translateY(-1px);
    }

    .nav-btn[data-page="create"] .nav-ico,
    .nav-btn[data-page="create"] .nav-label {
      color: #fff;
    }

    .nav-btn[data-page="create"] .nav-ico {
      border-color: rgba(255, 79, 216, 0.18);
      background: rgba(255, 255, 255, 0.08);
    }

    .nav-btn[data-page="create"] .nav-label {
      color: #fff;
    }

    .nav-btn.active {
      color: var(--ink);
      border-color: rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
      box-shadow: none;
    }

    .nav-btn[data-page="dashboard"].active,
    .nav-btn[data-page="challenges"].active {
      border-color: rgba(122, 63, 255, 0.24);
      background: rgba(122, 63, 255, 0.12);
    }

    .nav-btn[data-page="history"].active,
    .nav-btn[data-page="profile"].active {
      border-color: rgba(46, 242, 177, 0.22);
      background: rgba(46, 242, 177, 0.1);
    }

    .nav-btn.active .nav-ico {
      background: #7A3FFF;
      border-color: transparent;
      color: white;
      box-shadow: 0 8px 14px rgba(122, 63, 255, 0.14);
      transform: translateY(-1px);
    }

    .nav-btn[data-page="dashboard"].active .nav-ico,
    .nav-btn[data-page="challenges"].active .nav-ico {
      background: #7A3FFF;
      box-shadow: 0 8px 14px rgba(122, 63, 255, 0.16);
    }

    .nav-btn[data-page="history"].active .nav-ico,
    .nav-btn[data-page="profile"].active .nav-ico {
      background: #2EF2B1;
      box-shadow: 0 8px 14px rgba(46, 242, 177, 0.12);
    }

    .nav-btn[data-page="create"].active .nav-ico {
      background: rgba(255, 255, 255, 0.12);
      box-shadow: 0 10px 18px rgba(255, 79, 216, 0.14);
    }

    .nav-btn[data-page="create"].active {
      background: #FF4FD8;
      box-shadow: 0 14px 24px rgba(255, 79, 216, 0.2);
    }

    /* Центральная CTA-кнопка: розовый вид независимо от data-page
       (для обычного юзера = "Создать", для админа = "Админка"). */
    .nav-btn.nav-cta {
      border-color: rgba(122, 63, 255, 0.3);
      background: linear-gradient(135deg, #7A3FFF, #2EF2B1);
      color: #fff;
      box-shadow: 0 12px 22px rgba(122, 63, 255, 0.2);
    }
    .nav-btn.nav-cta:not(.active) { transform: translateY(-1px); }
    .nav-btn.nav-cta .nav-ico,
    .nav-btn.nav-cta .nav-label { color: #fff; }
    .nav-btn.nav-cta .nav-ico {
      border-color: rgba(255, 255, 255, 0.25);
      background: rgba(255, 255, 255, 0.14);
      box-shadow: none;
    }
    .nav-btn.nav-cta.active {
      background: linear-gradient(135deg, #7A3FFF, #2EF2B1);
      box-shadow: 0 14px 24px rgba(122, 63, 255, 0.22);
    }
    .nav-btn.nav-cta.active .nav-ico {
      background: rgba(255, 255, 255, 0.18);
      box-shadow: 0 10px 18px rgba(122, 63, 255, 0.16);
    }

    .pro-hero {
      position: relative;
      overflow: hidden;
      padding: 18px;
      background:
        radial-gradient(circle at 82% 16%, rgba(46, 242, 177, 0.13), transparent 28%),
        radial-gradient(circle at 14% 0%, rgba(255, 79, 216, 0.13), transparent 30%),
        linear-gradient(145deg, rgba(255, 79, 216, 0.12), rgba(46, 242, 177, 0.08) 54%, rgba(139, 92, 246, 0.08)),
        rgba(18, 22, 38, 0.94);
    }

    .pro-hero::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 3px;
      background: linear-gradient(90deg, rgba(255, 79, 216, 0.95), rgba(46, 242, 177, 0.9));
    }

    .pro-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 32px;
      padding: 8px 12px;
      border: 1px solid rgba(255, 79, 216, 0.3);
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(255, 79, 216, 0.16), rgba(255, 79, 216, 0.09));
      color: #ffe1f8;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .pro-title {
      margin-top: 14px;
      font-size: clamp(28px, 6vw, 34px);
      line-height: 0.98;
      font-weight: 950;
      letter-spacing: -0.05em;
      max-width: 11ch;
    }

    .pro-copy {
      margin-top: 12px;
      max-width: 42ch;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .pro-points {
      display: grid;
      gap: 10px;
      margin-top: 16px;
    }

    .pro-point {
      padding: 13px 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      background: rgba(15, 18, 28, 0.58);
    }

    .pro-point strong {
      display: block;
      font-size: 13px;
      font-weight: 900;
      color: var(--ink);
    }

    .pro-point span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .pro-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 16px;
    }





    /* ── History Screen ──────────────────────────────────── */
    .hist-balance {
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.12);
      border-radius: 18px; padding: 20px 18px 18px;
      margin-bottom: 10px; text-align: center;
    }
    .hist-balance-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(194,202,225,0.5); margin-bottom: 6px; }
    .hist-balance-val { font-size: 36px; font-weight: 900; letter-spacing: -0.05em; color: #F7F8FF; margin-bottom: 6px; }
    .hist-balance-locked { font-size: 12px; color: rgba(194,202,225,0.5); }
    .hist-balance-locked span { color: #FF9A3C; font-weight: 700; }

    .hist-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
    .hist-metric { background: rgba(27,31,42,0.7); border: 1px solid rgba(184,190,215,0.1); border-radius: 12px; padding: 12px 10px; text-align: center; }
    .hist-metric-val { font-size: 16px; font-weight: 900; letter-spacing: -0.03em; }
    .hist-metric-val.success { color: #2EF2B1; }
    .hist-metric-val.danger { color: #FF7DCA; }
    .hist-metric-val.primary { color: #9B7FFF; }
    .hist-metric-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(194,202,225,0.45); margin-top: 3px; }

    .hist-filter { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; padding-bottom: 2px; }
    .hist-filter::-webkit-scrollbar { display: none; }
    .hist-filter-btn {
      flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 7px 14px;
      border-radius: 99px; border: 1px solid rgba(184,190,215,0.15);
      background: rgba(27,31,42,0.7) !important; color: rgba(194,202,225,0.6) !important;
      cursor: pointer; font-family: inherit; transition: all 150ms;
      appearance: none; -webkit-appearance: none; outline: none;
    }
    .hist-filter-btn.active { background: rgba(122,63,255,0.2); border-color: rgba(122,63,255,0.4); color: #c3a9ff; }

    .hist-date-group { margin-bottom: 8px; }
    .hist-date-label { font-size: 11px; font-weight: 700; color: rgba(194,202,225,0.45); text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 0 6px; }

    .hist-tx {
      display: flex; align-items: center; gap: 12px;
      background: rgba(27,31,42,0.7); border: 1px solid rgba(184,190,215,0.08);
      border-radius: 12px; padding: 12px 14px; margin-bottom: 6px;
    }
    .hist-icon {
      width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; font-weight: 900;
    }
    .hist-icon--in { background: rgba(46,242,177,0.12); color: #2EF2B1; }
    .hist-icon--out { background: rgba(255,125,202,0.12); color: #FF7DCA; }
    .hist-icon--stake { background: rgba(122,63,255,0.12); color: #9B7FFF; }
    .hist-icon--charity { background: rgba(255,79,216,0.12); color: #FF4FD8; }
    .hist-icon--creator { background: rgba(255,154,60,0.12); color: #FF9A3C; }

    .hist-tx-body { flex: 1; min-width: 0; }
    .hist-tx-name { font-size: 13px; font-weight: 700; color: #F7F8FF; }
    .hist-tx-sub { font-size: 11px; color: rgba(194,202,225,0.5); margin-top: 2px; }

    .hist-tx-amount { font-size: 14px; font-weight: 900; letter-spacing: -0.02em; flex-shrink: 0; }
    .hist-tx-amount--in { color: #2EF2B1; }
    .hist-tx-amount--out { color: #FF7DCA; }
    .hist-tx-amount--stake { color: #9B7FFF; }

    /* ── Profile ─────────────────────────────────────────── */
    .pf-hero {
      display: flex; align-items: center; gap: 14px;
      padding: 18px; margin-bottom: 12px;
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.12);
      border-radius: 18px;
    }
    .pf-avatar {
      width: 56px !important; height: 56px !important;
      font-size: 18px !important; flex-shrink: 0;
    }
    .pf-name-wrap { flex: 1; min-width: 0; }
    .pf-name { font-size: 18px; font-weight: 900; letter-spacing: -0.02em; color: #F7F8FF; }
    .pf-sub { font-size: 12px; color: rgba(194,202,225,0.55); margin-top: 3px; }
    .pf-pro-badge {
      flex-shrink: 0; font-size: 11px; font-weight: 800;
      padding: 4px 10px; border-radius: 99px;
      background: rgba(184,190,215,0.1); color: rgba(194,202,225,0.5);
      border: 1px solid rgba(184,190,215,0.2);
    }
    .pf-pro-badge--active {
      background: rgba(255,79,216,0.12); color: #ffd2f3;
      border-color: rgba(255,79,216,0.3);
    }

    .pf-stats {
      display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
      gap: 8px; margin-bottom: 12px;
    }
    .pf-stat {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 12px; padding: 12px 8px; text-align: center;
    }
    .pf-stat-val { font-size: 20px; font-weight: 900; letter-spacing: -0.04em; color: #F7F8FF; }
    .pf-stat-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(194,202,225,0.45); margin-top: 3px; }

    .pf-section {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 14px; padding: 14px 16px;
      margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px;
    }
    .pf-section-head { display: flex; justify-content: space-between; align-items: center; }
    .pf-section-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(194,202,225,0.5); }
    .pf-section-val { font-size: 13px; font-weight: 700; color: #F7F8FF; }
    .pf-section-copy { font-size: 12px; color: rgba(194,202,225,0.6); line-height: 1.5; margin: 0; }
    .pf-mono { font-family: 'SF Mono', 'Fira Code', monospace; letter-spacing: 0.05em; }

    .pf-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(184,190,215,0.06); }
    .pf-row:last-child { border-bottom: none; }
    .pf-row-label { font-size: 13px; color: rgba(194,202,225,0.65); }
    .pf-row-val { font-size: 12px; font-weight: 600; color: rgba(223,229,248,0.8); }

    /* ── Challenge Detail ────────────────────────────────── */
    .cd-hero {
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.12);
      border-radius: 18px;
      padding: 18px;
      margin-bottom: 10px;
    }
    .cd-hero-top {
      display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
    }
    .cd-category {
      font-size: 10px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.08em; color: #2EF2B1;
    }
    .cd-title {
      font-size: 22px; font-weight: 900; letter-spacing: -0.03em;
      line-height: 1.15; margin: 0 0 8px; color: #F7F8FF;
    }
    .cd-desc {
      font-size: 13px; color: rgba(223,229,248,0.72); line-height: 1.5; margin: 0;
    }
    .cd-owner {
      display: flex; align-items: center; gap: 8px;
      margin-top: 12px; padding-top: 12px;
      border-top: 1px solid rgba(184,190,215,0.1);
    }
    .cd-avatar {
      width: 30px; height: 30px; border-radius: 50%;
      background: linear-gradient(135deg, #7A3FFF, #2EF2B1);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 900; color: #fff; flex-shrink: 0;
    }
    .cd-owner-name { font-size: 13px; font-weight: 700; color: rgba(223,229,248,0.9); }
    .cd-owner-sub { font-size: 11px; color: rgba(194,202,225,0.5); margin-top: 1px; }

    .cd-stats {
      display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 8px; margin-bottom: 10px;
    }
    .cd-stat {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 12px; padding: 12px; text-align: center;
    }
    .cd-stat-val { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; color: #F7F8FF; }
    .cd-stat-lbl {
      font-size: 10px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.05em; color: rgba(194,202,225,0.5); margin-top: 2px;
    }

    .cd-progress { margin-bottom: 10px; }
    .cd-progress-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
    .cd-progress-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(194,202,225,0.5); }
    .cd-progress-val { font-size: 11px; font-weight: 700; color: #2EF2B1; }
    .cd-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
    .cd-bar-fill { height: 100%; background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%); background-clip: padding-box; border-radius: 99px; transition: width 600ms ease; }

    .cd-money {
      background: rgba(46,242,177,0.06);
      border: 1px solid rgba(46,242,177,0.15);
      border-radius: 14px; padding: 14px 16px; margin-bottom: 10px;
    }
    .cd-money-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(194,202,225,0.5); margin-bottom: 3px; }
    .cd-money-val { font-size: 28px; font-weight: 900; letter-spacing: -0.05em; color: #2EF2B1; }

    .cd-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 7px 0; border-bottom: 1px solid rgba(184,190,215,0.06);
    }
    .cd-row:last-child { border-bottom: none; }
    .cd-row-label { font-size: 13px; color: rgba(194,202,225,0.65); }
    .cd-row-val { font-size: 13px; font-weight: 700; color: #F7F8FF; }

    .cd-deadline {
      display: flex; justify-content: space-between; align-items: center;
      background: rgba(122,63,255,0.08);
      border: 1px solid rgba(122,63,255,0.2);
      border-radius: 10px; padding: 10px 14px; margin-bottom: 10px;
    }
    .cd-deadline-label { font-size: 12px; color: rgba(194,202,225,0.65); }
    .cd-deadline-val { font-size: 13px; font-weight: 700; color: #c3a9ff; }

    .cd-section {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 14px; padding: 14px 16px; margin-bottom: 12px;
    }
    .cd-section-title {
      font-size: 10px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.08em; color: rgba(194,202,225,0.5); margin-bottom: 8px;
    }

    .cd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .cd-btn-primary {
      background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%);
      background-clip: padding-box;
      border: none; border-radius: 12px; padding: 14px 10px;
      font-size: 14px; font-weight: 800; color: #fff;
      cursor: pointer; font-family: inherit; text-align: center;
      transition: opacity 150ms;
    }
    .cd-btn-primary:hover { opacity: 0.9; }
    .cd-btn-primary:disabled { opacity: 0.5; cursor: default; }
    .cd-btn-ghost {
      background: rgba(27,31,42,0.9);
      border: 1px solid rgba(184,190,215,0.15);
      border-radius: 12px; padding: 14px 10px;
      font-size: 14px; font-weight: 700; color: rgba(223,229,248,0.8);
      cursor: pointer; font-family: inherit; text-align: center;
      transition: background 150ms;
    }
    .cd-btn-ghost:hover { background: rgba(27,31,42,1); }

    /* ── Stepper ── */
    .challenge-search-bar {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
    }
    .challenge-search-bar .input {
      flex: 1;
    }
    .challenge-search-bar .select {
      width: 140px;
      flex-shrink: 0;
    }

    /* Компактная карточка публичного челленджа */
    .challenge-card--compact {
      padding: 14px 16px;
      margin-bottom: 10px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, rgba(27, 31, 42, 0.97), rgba(18, 22, 38, 0.95));
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
    }
    .cc-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cc-meta {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .cc-category {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--accent);
    }
    .cc-owner {
      font-size: 11px;
      color: var(--dim);
      font-weight: 600;
    }
    /* Создатель челленджа (аватар + имя + id) — на карточках и в деталях */
    .cc-creator {
      display: flex;
      align-items: center;
      gap: 6px;
      margin: 6px 0 2px;
      cursor: pointer;
    }
    .cc-creator-ava {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      object-fit: cover;
      flex: none;
      background: rgba(122, 63, 255, 0.12);
    }
    .cc-creator-ava--ini {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 700;
      color: #c3a9ff;
    }
    .cc-creator-name {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.78);
    }
    .cc-creator-id {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.34);
    }
    .cc-stake {
      font-size: 15px;
      font-weight: 900;
      letter-spacing: -0.03em;
      color: var(--ink);
    }
    .cc-title {
      font-size: 17px;
      font-weight: 850;
      letter-spacing: -0.02em;
      color: var(--ink);
      line-height: 1.2;
    }
    .cc-desc {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.45;
    }
    .cc-footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      padding-top: 8px;
      border-top: 1px solid var(--line);
    }
    .cc-stats {
      display: flex;
      gap: 12px;
    }
    .cc-stat {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .cc-stat-val {
      font-size: 16px;
      font-weight: 900;
      letter-spacing: -0.03em;
      color: var(--ink);
    }
    .cc-stat-label {
      font-size: 9px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--dim);
      white-space: nowrap;
    }
    .cc-stat--active .cc-stat-val { color: var(--accent); }
    .cc-stat--failed .cc-stat-val { color: var(--danger); }
    .cc-actions {
      display: flex;
      gap: 8px;
      min-width: 0;
      width: 100%;
    }
    .cc-actions > .btn {
      flex: 1 1 0;
      min-width: 0;
      white-space: nowrap;
      text-align: center;
    }

    .challenge-empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 48px 24px;
      gap: 12px;
    }
    .empty-icon {
      font-size: 48px;
      color: rgba(122, 63, 255, 0.4);
      margin-bottom: 8px;
    }
    .empty-title {
      font-size: 20px;
      font-weight: 800;
      color: var(--ink);
      letter-spacing: -0.03em;
    }
    .empty-copy {
      font-size: 14px;
      color: var(--muted);
      max-width: 28ch;
      line-height: 1.5;
      margin: 0 0 8px;
    }

    .stepper-header {
      margin-bottom: 20px;
    }
    .stepper-steps {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0;
    }
    .stepper-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
    }
    .stepper-dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1.5px solid rgba(184, 190, 215, 0.2);
      background: rgba(27, 31, 42, 0.9);
      color: rgba(194, 202, 225, 0.5);
      font-size: 13px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 200ms ease;
    }
    .stepper-label {
      font-size: 10px;
      font-weight: 700;
      color: rgba(194, 202, 225, 0.4);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      transition: color 200ms ease;
    }
    .stepper-step.active .stepper-dot {
      background: linear-gradient(135deg, #7A3FFF, #2EF2B1 140%);
      border-color: transparent;
      color: white;
      box-shadow: 0 4px 12px rgba(122, 63, 255, 0.35);
    }
    .stepper-step.active .stepper-label {
      color: var(--ink);
    }
    .stepper-step.done .stepper-dot {
      background: rgba(46, 242, 177, 0.15);
      border-color: rgba(46, 242, 177, 0.4);
      color: #2EF2B1;
    }
    .stepper-step.done .stepper-label {
      color: rgba(46, 242, 177, 0.7);
    }
    .stepper-line {
      flex: 1;
      height: 1.5px;
      background: rgba(184, 190, 215, 0.12);
      margin-bottom: 18px;
      transition: background 200ms ease;
    }
    .stepper-line.done {
      background: rgba(46, 242, 177, 0.3);
    }
    .stepper-pane {
      display: none;
    }
    .stepper-pane.active {
      display: block;
      animation: rise 200ms ease;
    }
    .stepper-nav {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
    .stepper-nav > div {
      /* empty placeholder */
    }

    .form-panel {
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background:
        linear-gradient(180deg, rgba(27, 31, 42, 0.97), rgba(18, 22, 38, 0.95)),
        radial-gradient(circle at top right, rgba(255, 79, 216, 0.035), transparent 34%);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .create-intro {
      padding: 16px;
      margin-bottom: 14px;
    }

    .create-mode-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: 14px;
    }

    .create-mode-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-lg);
      padding: 14px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        rgba(15, 18, 28, 0.8);
      color: var(--ink);
      text-align: left;
      cursor: pointer;
      transition: border-color 140ms ease, background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .create-mode-main {
      min-width: 0;
    }

    .create-mode-card:active {
      transform: translateY(1px);
    }

    .create-mode-card.active {
      border-color: rgba(46, 242, 177, 0.2);
      background: linear-gradient(90deg, rgba(122, 63, 255, 0.14) 0%, rgba(122, 63, 255, 0.14) 76%, rgba(46, 242, 177, 0.05) 100%);
      box-shadow: 0 10px 20px rgba(122, 63, 255, 0.08);
    }

    .create-mode-card.locked.active {
      border-color: rgba(139, 92, 246, 0.24);
      background: rgba(255, 79, 216, 0.12);
      box-shadow: 0 10px 20px rgba(255, 79, 216, 0.08);
    }

    .create-mode-title {
      font-size: 14px;
      font-weight: 900;
      letter-spacing: -0.01em;
    }

    .create-mode-tag {
      padding: 5px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--muted);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .create-mode-card.locked .create-mode-tag {
      background: rgba(255, 79, 216, 0.1);
      color: #ffd2f3;
    }

    .create-mode-copy {
      margin-top: 8px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      max-width: 42ch;
    }

    .create-mode-state {
      margin-top: 14px;
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      background: rgba(15, 18, 28, 0.62);
    }

    .create-mode-state strong {
      display: block;
      font-size: 13px;
      font-weight: 900;
      color: var(--ink);
    }

    .create-mode-state > span {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }
    /* Вложенный PRO остаётся инлайновым (иначе ломает строку) */
    .create-mode-state .pro-word {
      display: inline;
    }

    .create-mode-state .hero-actions,
    .create-mode-state .card-actions {
      margin-top: 12px;
    }

    .proof-flow-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .proof-side-stack {
      display: grid;
      gap: 10px;
    }

    .create-return-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }

    .create-return-copy {
      min-width: 0;
      max-width: 42ch;
    }

    .create-return-value {
      color: #d5fff1;
      font-size: 24px;
      font-weight: 950;
      letter-spacing: -0.04em;
      white-space: nowrap;
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: calc(86px + var(--safe-bottom));
      z-index: 60;
      width: min(calc(100% - 28px), 430px);
      padding: 12px 14px;
      transform: translateX(-50%) translateY(18px);
      font-size: 13px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .loading {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: none;
      place-items: center;
      background: rgba(13, 15, 20, 0.7);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .loading.show {
      display: grid;
    }

    .loader {
      width: 52px;
      height: 52px;
      border: 3px solid rgba(255, 255, 255, 0.12);
      border-top-color: var(--highlight);
      border-radius: 50%;
      animation: spin 800ms linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .file-input {
      display: none;
    }

    .muted {
      color: var(--muted);
    }

    .hidden {
      display: none !important;
    }

    @media (max-width: 380px) {
      .brand-mark {
        padding: 8px 10px 7px;
      }

      .brand-logo {
        width: 110px;
        height: 46px;
      }

      .brand,
      .brand-slogan {
        width: 132px;
      }

      .chip {
        padding: 7px 8px;
        font-size: 11px;
      }

      .two-cols,
      .hero-actions,
      .card-actions {
        grid-template-columns: 1fr;
      }

      .create-summary-grid,
      .proof-flow-grid {
        grid-template-columns: 1fr;
      }

      .hero-stats,
      .challenge-audience {
        grid-template-columns: 1fr;
      }

      .hero-stake-strip {
        align-items: flex-start;
      }

      .section-row {
        align-items: flex-start;
        flex-direction: column;
      }

      .pro-actions {
        grid-template-columns: 1fr;
      }

      .challenge-title,
      .challenge-desc {
        max-width: none;
      }

      .tabs {
        grid-template-columns: 1fr;
      }
    }

    /* ── My Challenges Card ──────────────────────────────── */
    .mc-card {
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.12);
      border-radius: 16px; padding: 14px 16px;
      margin-bottom: 10px;
      display: flex; flex-direction: column; gap: 10px;
    }
    .mc-header { display: flex; justify-content: space-between; align-items: center; }
    .mc-meta { display: flex; align-items: center; gap: 7px; }
    .mc-category { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: #2EF2B1; }
    .mc-status { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
    .mc-stake { font-size: 16px; font-weight: 900; letter-spacing: -0.03em; color: #F7F8FF; }
    .mc-title { font-size: 16px; font-weight: 850; letter-spacing: -0.02em; color: #F7F8FF; line-height: 1.2; }

    .mc-urgent {
      font-size: 11px; font-weight: 800; color: #FF9A3C;
      background: rgba(255,154,60,0.1); border: 1px solid rgba(255,154,60,0.25);
      border-radius: 8px; padding: 5px 10px; text-align: center;
    }

    .mc-progress { display: flex; flex-direction: column; gap: 5px; }
    .mc-progress-head { display: flex; justify-content: space-between; }
    .mc-progress-lbl { font-size: 11px; font-weight: 600; color: rgba(194,202,225,0.55); }
    .mc-progress-val { font-size: 11px; font-weight: 700; color: #2EF2B1; }
    .mc-bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
    .mc-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%); background-clip: padding-box; transition: width 500ms ease; }

    .mc-footer { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
    .mc-btn-proof {
      background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%);
      background-clip: padding-box;
      border: none; border-radius: 10px; padding: 11px 14px;
      font-size: 13px; font-weight: 800; color: #fff;
      cursor: pointer; font-family: inherit;
    }
    .mc-btn-muted {
      background: rgba(255,154,60,0.1); border: 1px solid rgba(255,154,60,0.25);
      border-radius: 10px; padding: 11px 14px;
      font-size: 13px; font-weight: 700; color: #FF9A3C;
      cursor: default; font-family: inherit;
    }
    .mc-btn-success {
      background: rgba(46,242,177,0.1); border: 1px solid rgba(46,242,177,0.25);
      border-radius: 10px; padding: 11px 14px;
      font-size: 13px; font-weight: 700; color: #2EF2B1;
      cursor: default; font-family: inherit;
    }
    .mc-btn-failed {
      background: rgba(255,125,202,0.1); border: 1px solid rgba(255,125,202,0.25);
      border-radius: 10px; padding: 11px 14px;
      font-size: 13px; font-weight: 700; color: #FF7DCA;
      cursor: default; font-family: inherit;
    }
    .mc-btn-detail {
      background: rgba(27,31,42,0.9); border: 1px solid rgba(184,190,215,0.15);
      border-radius: 10px; padding: 11px 14px;
      font-size: 13px; font-weight: 700; color: rgba(223,229,248,0.7);
      cursor: pointer; font-family: inherit; white-space: nowrap;
    }

    /* Карточка-состояние: failed (красный) / win (зелёный) */
    .mc-card--fail {
      border-color: rgba(255,68,85,0.45);
      background: linear-gradient(180deg, rgba(255,68,85,0.06), rgba(27,31,42,0.97));
      box-shadow: inset 0 0 0 1px rgba(255,68,85,0.15), 0 6px 20px rgba(255,68,85,0.08);
    }
    .mc-card--win {
      border-color: rgba(46,242,177,0.45);
      background: linear-gradient(180deg, rgba(46,242,177,0.07), rgba(27,31,42,0.97));
      box-shadow: inset 0 0 0 1px rgba(46,242,177,0.18), 0 6px 20px rgba(46,242,177,0.1);
    }
    .mc-result {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 14px; border-radius: 12px;
    }
    .mc-result--fail {
      background: rgba(255,68,85,0.1);
      border: 1px solid rgba(255,68,85,0.3);
    }
    .mc-result--win {
      background: rgba(46,242,177,0.1);
      border: 1px solid rgba(46,242,177,0.3);
    }
    .mc-result-icon { font-size: 26px; line-height: 1; }
    .mc-result-body { flex: 1; }
    .mc-result-title {
      font-size: 14px; font-weight: 800; color: #F7F8FF; margin-bottom: 2px;
    }
    .mc-result--fail .mc-result-title { color: #FF8895; }
    .mc-result--win .mc-result-title { color: #2EF2B1; }
    .mc-result-sub {
      font-size: 12px; color: rgba(223,229,248,0.7);
    }

    /* Усиливаем failed-кнопку, чтобы она тоже была красной (а не розовой) */
    .mc-btn-failed {
      background: rgba(255,68,85,0.12) !important;
      border: 1px solid rgba(255,68,85,0.35) !important;
      color: #FF4455 !important;
    }

    /* Кнопка «Закрыть» в баннере результата */
    .mc-result-close {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px;
      padding: 6px 10px;
      font-size: 11px;
      font-weight: 700;
      color: rgba(255,255,255,0.7);
      cursor: pointer;
      font-family: inherit;
      white-space: nowrap;
      align-self: flex-start;
    }
    .mc-result-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

    /* История челленджей — строки */
    .chist-row {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 14px; border-radius: 12px; margin-bottom: 8px;
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.12);
      cursor: pointer;
    }
    .chist-row--win { border-color: rgba(46,242,177,0.3); }
    .chist-row--fail { border-color: rgba(255,68,85,0.3); }
    .chist-ico { font-size: 22px; line-height: 1; }
    .chist-body { flex: 1; min-width: 0; }
    .chist-title {
      font-size: 13px; font-weight: 800; color: #F7F8FF;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .chist-meta { font-size: 11px; color: rgba(194,202,225,0.55); margin-top: 2px; }
    .chist-badge {
      font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 99px;
      white-space: nowrap;
    }
    .chist-badge--win { background: rgba(46,242,177,0.15); color: #2EF2B1; }
    .chist-badge--fail { background: rgba(255,68,85,0.15); color: #FF4455; }


    /* ── Proof Alert Banner ──────────────────────────────── */
    .proof-alert {
      display: flex; align-items: center; gap: 12px;
      background: rgba(255,154,60,0.1);
      border: 1px solid rgba(255,154,60,0.4);
      border-radius: 14px; padding: 14px 16px;
      margin-bottom: 12px;
      animation: alertPulse 2.5s ease infinite;
    }
    .proof-alert.hidden { display: none !important; }
    @keyframes alertPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255,154,60,0); }
      50% { box-shadow: 0 0 0 3px rgba(255,154,60,0.15); }
    }
    .proof-alert-icon {
      width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
      background: rgba(255,154,60,0.2); border: 1.5px solid rgba(255,154,60,0.5);
      display: flex; align-items: center; justify-content: center;
      font-size: 17px; font-weight: 900; color: #FF9A3C;
    }
    .proof-alert-body { flex: 1; min-width: 0; }
    .proof-alert-title { font-size: 13px; font-weight: 800; color: #FF9A3C; letter-spacing: -0.01em; }
    .proof-alert-sub { font-size: 11px; color: rgba(223,229,248,0.6); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .proof-alert-btn {
      flex-shrink: 0;
      background: #FF9A3C; border: none;
      border-radius: 10px; padding: 9px 16px;
      font-size: 13px; font-weight: 800; color: #0D0F14;
      cursor: pointer; font-family: inherit;
      transition: opacity 150ms;
    }
    .proof-alert-btn:hover { opacity: 0.85; }


    /* ── PRO Screen ──────────────────────────────────────── */
    .pro-screen-hero {
      text-align: center; padding: 28px 16px 22px;
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(255,79,216,0.2);
      border-radius: 20px; margin-bottom: 12px;
    }
    .pro-screen-badge {
      display: inline-block; font-size: 11px; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.1em;
      padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
      background: rgba(255,79,216,0.15); color: #FF4FD8;
      border: 1px solid rgba(255,79,216,0.35);
    }
    .pro-screen-title {
      font-size: 26px; font-weight: 900; letter-spacing: -0.04em;
      line-height: 1.1; margin-bottom: 10px; color: #F7F8FF;
    }
    .pro-screen-title span { color: #FF4FD8; }
    .pro-screen-sub {
      font-size: 13px; color: rgba(194,202,225,0.65); line-height: 1.5;
    }

    .pro-calc {
      background: rgba(255,79,216,0.05);
      border: 1px solid rgba(255,79,216,0.2);
      border-radius: 16px; padding: 16px; margin-bottom: 12px;
    }
    .pro-calc-title {
      font-size: 11px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.08em; color: rgba(194,202,225,0.5); margin-bottom: 14px;
    }
    .pro-calc-row { margin-bottom: 14px; }
    .pro-calc-row:last-of-type { margin-bottom: 0; }
    .pro-calc-label {
      display: flex; justify-content: space-between; margin-bottom: 6px;
      font-size: 13px; color: rgba(194,202,225,0.7);
    }
    .pro-calc-label span:last-child { font-weight: 700; color: #F7F8FF; }
    .pro-slider { width: 100%; accent-color: #FF4FD8; }
    .pro-calc-result {
      display: flex; justify-content: space-between; align-items: center;
      background: rgba(255,79,216,0.1); border: 1px solid rgba(255,79,216,0.25);
      border-radius: 12px; padding: 12px 14px; margin-top: 14px;
    }
    .pro-calc-result-label { font-size: 12px; color: rgba(194,202,225,0.7); }
    .pro-calc-result-sub { font-size: 10px; color: rgba(194,202,225,0.4); margin-top: 2px; }
    .pro-calc-result-val { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; color: #FF4FD8; }
    .pro-calc-breakdown {
      display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 8px; margin-top: 10px;
    }
    .pro-calc-item {
      background: rgba(27,31,42,0.8); border-radius: 10px; padding: 10px 12px;
    }
    .pro-calc-item-val { font-size: 16px; font-weight: 900; letter-spacing: -0.03em; color: #F7F8FF; }
    .pro-calc-item-lbl {
      font-size: 10px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.05em; color: rgba(194,202,225,0.4); margin-top: 2px;
    }

    .pro-features {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 16px; padding: 16px; margin-bottom: 12px;
    }
    .pro-features-title {
      font-size: 11px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.08em; color: rgba(194,202,225,0.5); margin-bottom: 12px;
    }
    .pro-feature {
      display: flex; gap: 12px; align-items: flex-start;
      padding: 10px 0; border-bottom: 1px solid rgba(184,190,215,0.07);
    }
    .pro-feature:last-child { border-bottom: none; padding-bottom: 0; }
    .pro-feature-icon {
      width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 16px;
    }
    .pro-feature-icon--a { background: rgba(122,63,255,0.15); }
    .pro-feature-icon--b { background: rgba(255,79,216,0.12); color: #FF4FD8; font-size: 18px; font-weight: 900; }
    .pro-feature-icon--c { background: rgba(255,154,60,0.12); }
    .pro-feature-icon--d { background: rgba(46,242,177,0.1); }
    .pro-feature-name { font-size: 14px; font-weight: 800; color: #F7F8FF; letter-spacing: -0.01em; }
    .pro-feature-desc { font-size: 12px; color: rgba(194,202,225,0.6); line-height: 1.4; margin-top: 2px; }

    .pro-price-block {
      text-align: center; padding: 18px;
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(255,79,216,0.25);
      border-radius: 14px; margin-bottom: 10px;
    }
    .pro-price-amount { font-size: 40px; font-weight: 900; letter-spacing: -0.05em; color: #FF4FD8; }
    .pro-price-period { font-size: 12px; color: rgba(194,202,225,0.5); margin-top: 4px; }


    .pro-profile-btn {
      width: 100%; padding: 13px; border: none; border-radius: 12px;
      font-size: 14px; font-weight: 900; color: #fff;
      cursor: pointer; font-family: inherit;
      background: #FF4FD8;
      letter-spacing: -0.01em; transition: opacity 150ms;
    }
    .pro-profile-btn:hover { opacity: 0.88; }

    .pro-btn-subscribe {
      width: 100%; padding: 16px; border: none; border-radius: 14px;
      font-size: 16px; font-weight: 900; color: #fff;
      cursor: pointer; font-family: inherit;
      background: #FF4FD8;
      letter-spacing: -0.01em;
      transition: opacity 150ms;
    }
    .pro-btn-subscribe:hover { opacity: 0.88; }

    /* PRO везде розовый */
    .pro-word, .pro-pill, #proBadge.pf-pro-badge--active,
    .pf-pro-badge--active { color: #FF4FD8 !important; }
    .pro-pill { background: rgba(255,79,216,0.12) !important; border-color: rgba(255,79,216,0.3) !important; }




    /* ── Proof Submit Screen ─────────────────────────────── */
    .ps-back { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(194,202,225,0.6); margin-bottom: 16px; cursor: pointer; }
    .ps-back:hover { color: rgba(194,202,225,0.85); }

    .ps-head { margin-bottom: 16px; }
    .ps-kicker { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #2EF2B1; margin-bottom: 6px; }
    .ps-title { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; margin: 0; color: #F7F8FF; }
    .ps-sub { font-size: 13px; color: rgba(194,202,225,0.6); margin-top: 4px; }

    .ps-info {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 14px; padding: 12px 14px;
      margin-bottom: 14px;
      display: flex; gap: 10px; align-items: center;
    }
    .ps-info-icon {
      width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
      background: rgba(46,242,177,0.12);
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; font-weight: 900; color: #2EF2B1;
    }
    .ps-info-body { flex: 1; min-width: 0; }
    .ps-info-name { font-size: 13px; font-weight: 800; color: #F7F8FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ps-info-sub { font-size: 11px; color: rgba(194,202,225,0.55); margin-top: 1px; }
    .ps-info-stake { font-size: 14px; font-weight: 900; color: #2EF2B1; flex-shrink: 0; letter-spacing: -0.02em; }

    .ps-upload {
      border: 2px dashed rgba(184,190,215,0.25);
      border-radius: 14px; padding: 28px 16px; text-align: center;
      margin-bottom: 12px; background: rgba(27,31,42,0.4);
      cursor: pointer; transition: all 200ms;
    }
    .ps-upload:hover {
      border-color: rgba(122,63,255,0.5);
      background: rgba(122,63,255,0.05);
    }
    .ps-upload-icon {
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(122,63,255,0.15);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 10px;
      font-size: 22px; font-weight: 900; color: #9B7FFF;
    }
    .ps-upload-title { font-size: 14px; font-weight: 800; margin-bottom: 4px; color: #F7F8FF; }
    .ps-upload-sub { font-size: 12px; color: rgba(194,202,225,0.55); line-height: 1.5; }
    .ps-upload-formats { font-size: 11px; color: rgba(194,202,225,0.4); margin-top: 6px; }

    .ps-preview {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 14px; padding: 12px;
      margin-bottom: 12px;
      display: flex; align-items: center; gap: 12px;
    }
    .ps-preview-thumb {
      width: 56px; height: 56px; border-radius: 10px;
      background: linear-gradient(135deg, #2EF2B1 0%, #7A3FFF 100%);
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 24px; color: #fff; font-weight: 900;
    }
    .ps-preview-body { flex: 1; min-width: 0; }
    .ps-preview-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #F7F8FF; }
    .ps-preview-size { font-size: 11px; color: rgba(194,202,225,0.55); margin-top: 2px; }
    .ps-preview-remove {
      background: rgba(255,125,202,0.1); color: #FF7DCA;
      border: none; border-radius: 8px; padding: 6px 10px;
      font-size: 11px; font-weight: 700; cursor: pointer; font-family: inherit;
      flex-shrink: 0;
    }
    .ps-preview-remove:hover { background: rgba(255,125,202,0.2); }

    .ps-field { margin-bottom: 12px; }
    .ps-label {
      display: block; font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.06em;
      color: rgba(194,202,225,0.5); margin-bottom: 6px;
    }
    .ps-input {
      width: 100%; background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.12);
      border-radius: 10px; padding: 12px 14px;
      color: #F7F8FF; font-size: 13px; font-family: inherit;
      outline: none; transition: border-color 150ms;
    }
    .ps-input:focus { border-color: rgba(122,63,255,0.5); }
    .ps-input::placeholder { color: rgba(194,202,225,0.35); }
    .ps-textarea { min-height: 70px; resize: vertical; line-height: 1.5; }

    .ps-checkbox-row {
      display: flex; gap: 10px; align-items: flex-start;
      padding: 12px; background: rgba(255,154,60,0.08);
      border: 1px solid rgba(255,154,60,0.2); border-radius: 10px;
      margin-bottom: 14px; cursor: pointer;
    }
    .ps-checkbox {
      width: 18px; height: 18px; border-radius: 4px;
      border: 1.5px solid rgba(184,190,215,0.4);
      flex-shrink: 0; margin-top: 1px;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; color: #fff; font-weight: 900;
      transition: all 150ms;
    }
    .ps-checkbox.checked { background: #FF9A3C; border-color: #FF9A3C; }
    .ps-checkbox-label { font-size: 12px; color: rgba(223,229,248,0.8); line-height: 1.4; }
    .ps-checkbox-label strong { color: #FF9A3C; }

    .ps-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
    .ps-btn-primary {
      background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%);
      background-clip: padding-box; border: none; border-radius: 12px;
      padding: 14px; font-size: 14px; font-weight: 800; color: #fff;
      cursor: pointer; font-family: inherit; transition: opacity 150ms;
    }
    .ps-btn-primary:hover:not(:disabled) { opacity: 0.9; }
    .ps-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
    .ps-btn-ghost {
      background: rgba(27,31,42,0.9);
      border: 1px solid rgba(184,190,215,0.15);
      border-radius: 12px; padding: 14px;
      font-size: 14px; font-weight: 700; color: rgba(223,229,248,0.8);
      cursor: pointer; font-family: inherit;
    }
    .ps-btn-ghost:hover { background: rgba(27,31,42,1); }




    /* ── Burn target cards (PRO create) ──────────────────── */
    .burn-target-label {
      font-size: 13px; font-weight: 800; color: #F7F8FF; margin-bottom: 10px;
    }
    .burn-target-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }

    .burn-card {
      display: flex; gap: 12px; align-items: center;
      background: rgba(27,31,42,0.7);
      border: 1.5px solid rgba(184,190,215,0.12);
      border-radius: 14px; padding: 12px 14px;
      cursor: pointer; transition: all 150ms;
    }
    .burn-card:hover { background: rgba(27,31,42,0.9); border-color: rgba(184,190,215,0.2); }
    .burn-card.active {
      border-color: #7A3FFF;
      background: rgba(122,63,255,0.08);
    }

    .burn-card-icon {
      width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; font-weight: 900;
    }
    .burn-card-icon--charity { background: rgba(255,79,216,0.15); color: #FF4FD8; }
    .burn-card-icon--winners { background: rgba(255,154,60,0.15); color: #FF9A3C; }

    .burn-card-body { flex: 1; min-width: 0; }
    .burn-card-title { font-size: 14px; font-weight: 800; color: #F7F8FF; letter-spacing: -0.01em; }
    .burn-card-desc { font-size: 11px; color: rgba(194,202,225,0.6); margin-top: 3px; line-height: 1.4; }

    .burn-card-check {
      width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
      border: 2px solid rgba(184,190,215,0.25);
      transition: all 150ms;
      display: flex; align-items: center; justify-content: center;
    }
    .burn-card.active .burn-card-check {
      border-color: #7A3FFF; background: #7A3FFF;
    }
    .burn-card.active .burn-card-check::after {
      content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
    }

    .creator-econ-box {
      background: rgba(255,79,216,0.05);
      border: 1px solid rgba(255,79,216,0.2);
      border-radius: 12px; padding: 14px 16px;
    }
    .creator-econ-title {
      font-size: 11px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.07em; color: #FF4FD8; margin-bottom: 10px;
    }
    .creator-econ-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 6px 0; border-bottom: 1px solid rgba(255,79,216,0.1);
      font-size: 13px;
    }
    .creator-econ-row:last-of-type { border-bottom: none; }
    .creator-econ-row span { color: rgba(194,202,225,0.7); }
    .creator-econ-row strong { color: #FF4FD8; font-weight: 900; }
    .creator-econ-note { font-size: 11px; color: rgba(194,202,225,0.5); margin-top: 8px; line-height: 1.4; }


    /* ── Verifier Review Screen ──────────────────────────── */
    .vr-back { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(194,202,225,0.6); margin-bottom: 16px; cursor: pointer; }
    .vr-back:hover { color: rgba(194,202,225,0.85); }

    .vr-head { margin-bottom: 16px; }
    .vr-kicker { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #FF9A3C; margin-bottom: 6px; }
    .vr-title { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; margin: 0; color: #F7F8FF; }
    .vr-sub { font-size: 13px; color: rgba(194,202,225,0.6); margin-top: 4px; }

    .vr-info {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 14px; padding: 12px 14px;
      margin-bottom: 16px;
      display: flex; gap: 10px; align-items: center;
    }
    .vr-info-icon {
      width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
      background: rgba(255,154,60,0.12); color: #FF9A3C;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
    }
    .vr-info-body { flex: 1; min-width: 0; }
    .vr-info-name { font-size: 13px; font-weight: 800; color: #F7F8FF; }
    .vr-info-sub { font-size: 11px; color: rgba(194,202,225,0.55); margin-top: 1px; }

    .vr-details {
      background: rgba(20, 24, 44, 0.72);
      border: 1px solid rgba(122, 63, 255, 0.22);
      border-radius: 14px;
      padding: 12px 14px;
      margin: 10px 0 16px;
    }
    .vr-det-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 12px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(122, 63, 255, 0.10);
    }
    .vr-det-row:last-child { border-bottom: none; }
    .vr-det-row--col { flex-direction: column; gap: 3px; }
    .vr-det-label { font-size: 11px; color: rgba(194,202,225,0.55); }
    .vr-det-val { font-size: 13px; font-weight: 700; color: #F7F8FF; text-align: right; }
    .vr-det-text { font-size: 13px; color: #E3E7F7; line-height: 1.45; white-space: pre-wrap; }

    .vr-reasons { width: 100%; display: flex; flex-direction: column; gap: 6px; }
    .vr-reasons-title { font-size: 12px; color: rgba(194,202,225,0.6); margin-bottom: 2px; }
    .vr-reason-btn {
      width: 100%;
      padding: 10px 12px;
      border-radius: 10px;
      border: 1px solid rgba(255,84,112,0.35);
      background: rgba(255,84,112,0.10);
      color: #FF9AAC;
      font-size: 13px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
    }
    .vr-reason-cancel {
      border-color: rgba(194,202,225,0.25);
      background: rgba(194,202,225,0.06);
      color: rgba(194,202,225,0.7);
    }

    .pf-success-bar {
      height: 8px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.06);
      overflow: hidden;
      margin-top: 12px;
    }
    .pf-success-fill {
      height: 100%;
      border-radius: 6px;
      background: linear-gradient(90deg, #2EF2B1, #7A3FFF);
      transition: width 0.4s ease;
    }
    .pf-newcomer {
      background: linear-gradient(135deg, rgba(255,79,216,0.12), rgba(122,63,255,0.12));
      border: 1px solid rgba(255,79,216,0.25);
      border-radius: 16px;
      padding: 16px;
      margin-bottom: 14px;
      text-align: center;
    }
    .pf-newcomer-title { font-size: 15px; font-weight: 800; color: #F7F8FF; }
    .pf-newcomer-text { font-size: 13px; color: rgba(223,229,248,0.75); margin: 6px 0 12px; line-height: 1.4; }
    .pf-newcomer-btn {
      width: 100%;
      background: linear-gradient(90deg, #FF4FD8, #7A3FFF);
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 11px 18px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .cta-free-hero {
      display: block;
      width: 100%;
      margin: 12px 0 4px;
      padding: 13px 16px;
      border-radius: 14px;
      border: none;
      background: linear-gradient(90deg, #FF4FD8, #7A3FFF);
      color: #fff;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
    }

    .mc-btn-deferral {
      width: 100%;
      margin-top: 6px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px dashed rgba(255,201,77,0.4);
      background: rgba(255,201,77,0.08);
      color: #FFC94D;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }

    .vr-section-title {
      display: flex; justify-content: space-between; align-items: center;
      font-size: 11px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.08em; color: rgba(194,202,225,0.5); margin-bottom: 10px;
    }
    .vr-section-count {
      background: rgba(255,154,60,0.15); color: #FF9A3C;
      font-size: 10px; padding: 2px 8px; border-radius: 99px;
      font-weight: 800; letter-spacing: 0;
    }
    .vr-section-count--muted { background: rgba(184,190,215,0.1); color: rgba(194,202,225,0.6); }

    .vr-proof-card {
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.12);
      border-radius: 16px; padding: 14px;
      margin-bottom: 10px;
    }
    .vr-proof-head {
      display: flex; gap: 10px; align-items: center; margin-bottom: 12px;
    }
    .vr-proof-avatar {
      width: 32px; height: 32px; border-radius: 50%;
      background: linear-gradient(135deg, #7A3FFF, #2EF2B1);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 900; color: #fff; flex-shrink: 0;
    }
    .vr-proof-user { flex: 1; min-width: 0; }
    .vr-proof-user-name { font-size: 13px; font-weight: 800; color: #F7F8FF; }
    .vr-proof-user-time { font-size: 11px; color: rgba(194,202,225,0.5); margin-top: 1px; }
    .vr-proof-type {
      font-size: 10px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.06em; padding: 3px 8px; border-radius: 99px;
      background: rgba(122,63,255,0.15); color: #9B7FFF; flex-shrink: 0;
    }

    .vr-media {
      width: 100%; aspect-ratio: 16/9;
      background: linear-gradient(135deg, #1a1d28, #2a2d3a);
      border-radius: 12px; margin-bottom: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 30px; color: rgba(184,190,215,0.4);
      overflow: hidden;
    }

    .vr-link {
      display: block; background: rgba(27,31,42,0.7);
      padding: 12px; border-radius: 10px; margin-bottom: 12px;
      font-size: 12px; color: #3AA8FF;
      word-break: break-all; text-decoration: none;
      border: 1px solid rgba(58,168,255,0.2);
    }
    .vr-link:hover { background: rgba(58,168,255,0.08); }

    .vr-ai-note {
      font-size: 11px; color: rgba(194,202,225,0.7);
      background: rgba(58,168,255,0.08); padding: 8px 10px;
      border-radius: 8px; margin-bottom: 10px;
    }

    .vr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .vr-btn-approve {
      background: rgba(46,242,177,0.15); border: 1px solid rgba(46,242,177,0.35);
      color: #2EF2B1; border-radius: 10px; padding: 12px;
      font-size: 13px; font-weight: 800; cursor: pointer; font-family: inherit;
      transition: background 150ms;
    }
    .vr-btn-approve:hover { background: rgba(46,242,177,0.25); }
    .vr-btn-reject {
      background: rgba(255,125,202,0.15); border: 1px solid rgba(255,125,202,0.35);
      color: #FF7DCA; border-radius: 10px; padding: 12px;
      font-size: 13px; font-weight: 800; cursor: pointer; font-family: inherit;
      transition: background 150ms;
    }
    .vr-btn-reject:hover { background: rgba(255,125,202,0.25); }

    .vr-status {
      text-align: center; padding: 10px; border-radius: 10px;
      font-size: 13px; font-weight: 700;
    }
    .vr-status--approved { background: rgba(46,242,177,0.1); color: #2EF2B1; }
    .vr-status--rejected { background: rgba(255,125,202,0.1); color: #FF7DCA; }

    .mc-btn-verify {
      background: rgba(255,154,60,0.15); border: 1px solid rgba(255,154,60,0.35);
      border-radius: 10px; padding: 11px 14px;
      font-size: 13px; font-weight: 800; color: #FF9A3C;
      cursor: pointer; font-family: inherit; transition: background 150ms;
    }
    .mc-btn-verify:hover { background: rgba(255,154,60,0.25); }


    /* ── Challenge Result Screen ─────────────────────────── */
    .cr-back { display:flex; align-items:center; gap:6px; font-size:13px; color:rgba(194,202,225,0.6); margin-bottom:16px; cursor:pointer; }
    .cr-back:hover { color:rgba(194,202,225,0.85); }

    .cr-hero {
      text-align: center; padding: 28px 20px 22px;
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.12);
      border-radius: 20px; margin-bottom: 12px;
    }
    .cr-hero-icon {
      width: 56px; height: 56px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 26px; font-weight: 900;
      margin: 0 auto 12px;
    }
    .cr-hero-title { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 6px; }
    .cr-hero-challenge { font-size: 14px; font-weight: 800; color: #F7F8FF; margin-bottom: 4px; }
    .cr-hero-sub { font-size: 13px; color: rgba(194,202,225,0.6); }
    .cr-hero-date { font-size: 11px; color: rgba(194,202,225,0.45); margin-top: 6px; }

    .cr-section {
      background: rgba(27,31,42,0.7);
      border: 1px solid rgba(184,190,215,0.1);
      border-radius: 14px; padding: 14px 16px;
      margin-bottom: 10px;
    }
    .cr-section-title {
      font-size: 11px; font-weight: 800; text-transform: uppercase;
      letter-spacing: 0.08em; color: rgba(194,202,225,0.5); margin-bottom: 10px;
    }
    .cr-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 7px 0; border-bottom: 1px solid rgba(184,190,215,0.06);
    }
    .cr-row:last-child { border-bottom: none; }
    .cr-row-label { font-size: 13px; color: rgba(194,202,225,0.7); }
    .cr-row-label--bold { font-weight: 800; color: #F7F8FF; }
    .cr-row-val { font-size: 13px; font-weight: 700; }
    .cr-val-success { color: #2EF2B1; }
    .cr-val-danger { color: #FF7DCA; }
    .cr-val-muted { color: rgba(194,202,225,0.6); }
    .cr-val-big { font-size: 16px; letter-spacing: -0.02em; }

    .cr-divider {
      height: 1px; background: rgba(184,190,215,0.1); margin: 6px 0;
    }

    .cr-btn-primary {
      width: 100%; padding: 15px; border: none; border-radius: 14px;
      font-size: 15px; font-weight: 900; color: #fff;
      background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%);
      background-clip: padding-box;
      cursor: pointer; font-family: inherit;
      margin-top: 4px; transition: opacity 150ms;
    }
    .cr-btn-primary:hover { opacity: 0.9; }


    /* ── Onboarding ──────────────────────────────────────── */
    .ob-wrap {
      min-height: 80vh; display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: 32px 20px 40px; text-align: center;
    }
    .ob-logo {
      font-size: 28px; font-weight: 900; letter-spacing: -0.04em;
      color: #F7F8FF; margin-bottom: 40px;
    }
    .ob-logo span { color: #2EF2B1; }

    .ob-steps { width: 100%; margin-bottom: 32px; }
    .ob-step { display: none; flex-direction: column; align-items: center; gap: 16px; }
    .ob-step.active { display: flex; }

    .ob-icon {
      width: 80px; height: 80px; border-radius: 24px;
      display: flex; align-items: center; justify-content: center;
      font-size: 36px;
    }
    .ob-title {
      font-size: 24px; font-weight: 900; letter-spacing: -0.03em;
      line-height: 1.15; color: #F7F8FF; margin: 0;
    }
    .ob-text {
      font-size: 15px; color: rgba(194,202,225,0.7);
      line-height: 1.6; max-width: 30ch; margin: 0;
    }

    .ob-dots {
      display: flex; gap: 8px; justify-content: center; margin-bottom: 28px;
    }
    .ob-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(184,190,215,0.2); transition: all 300ms;
    }
    .ob-dot.active {
      width: 24px; border-radius: 4px; background: #7A3FFF;
    }

    .ob-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
    .ob-btn-next {
      width: 100%; padding: 16px; border: none; border-radius: 14px;
      font-size: 16px; font-weight: 900; color: #fff;
      background: linear-gradient(90deg, #7A3FFF 0%, #7A3FFF 60%, #2EF2B1 100%);
      background-clip: padding-box;
      cursor: pointer; font-family: inherit; transition: opacity 150ms;
    }
    .ob-btn-next:hover { opacity: 0.9; }
    .ob-btn-skip {
      background: none; border: none; padding: 10px;
      font-size: 14px; font-weight: 600; color: rgba(194,202,225,0.5);
      cursor: pointer; font-family: inherit; transition: color 150ms;
    }
    .ob-btn-skip:hover { color: rgba(194,202,225,0.8); }


    /* ── Nav badge ───────────────────────────────────────── */
    .nav-badge {
      position: absolute; top: 4px; right: 12px;
      min-width: 16px; height: 16px; border-radius: 99px;
      background: #FF4FD8; color: #fff;
      font-size: 9px; font-weight: 900; letter-spacing: 0;
      display: flex; align-items: center; justify-content: center;
      padding: 0 4px;
    }
    .nav-badge.hidden { display: none; }

    /* ── Toast upgrade ───────────────────────────────────── */
    .toast {
      display: flex; align-items: center; gap: 8px;
      background: rgba(27,31,42,0.97);
      border: 1px solid rgba(184,190,215,0.15);
      border-radius: 12px; color: #F7F8FF;
    }
    .toast--success { border-color: rgba(46,242,177,0.3); }
    .toast--error { border-color: rgba(255,125,202,0.3); }
    .toast--warning { border-color: rgba(255,154,60,0.3); }
    .toast--info { border-color: rgba(122,63,255,0.3); }

    .toast-icon {
      width: 22px; height: 22px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 900; flex-shrink: 0;
    }
    .toast-icon--success { background: rgba(46,242,177,0.15); color: #2EF2B1; }
    .toast-icon--error { background: rgba(255,125,202,0.15); color: #FF7DCA; }
    .toast-icon--warning { background: rgba(255,154,60,0.15); color: #FF9A3C; }
    .toast-icon--info { background: rgba(122,63,255,0.15); color: #9B7FFF; }


    /* ── AI кнопки в форме создания ─────────────────────── */
    .ai-fill-btn {
      width: 100%; padding: 12px 16px; margin-top: 4px; margin-bottom: 8px;
      background: rgba(122,63,255,0.1);
      border: 1.5px dashed rgba(122,63,255,0.4);
      border-radius: 12px; cursor: pointer; font-family: inherit;
      font-size: 13px; font-weight: 800; color: #9B7FFF;
      display: flex; align-items: center; justify-content: center; gap: 7px;
      transition: all 150ms;
    }
    .ai-fill-btn:hover { background: rgba(122,63,255,0.18); border-color: rgba(122,63,255,0.65); }
    .ai-fill-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .ai-fill-icon { font-size: 14px; }

    .ai-suggest-btn {
      width: 36px; height: 36px; flex-shrink: 0;
      background: rgba(122,63,255,0.12); border: 1px solid rgba(122,63,255,0.3);
      border-radius: 10px; cursor: pointer; font-size: 14px; color: #9B7FFF;
      display: flex; align-items: center; justify-content: center;
      transition: all 150ms; font-family: inherit;
    }
    .ai-suggest-btn:hover { background: rgba(122,63,255,0.22); }

    .ai-fill-status {
      font-size: 12px; padding: 8px 12px; border-radius: 8px;
      margin-bottom: 8px; font-weight: 600;
    }
    .ai-fill-status--loading { background: rgba(122,63,255,0.1); color: #9B7FFF; }
    .ai-fill-status--ok { background: rgba(46,242,177,0.1); color: #2EF2B1; }
    .ai-fill-status--error { background: rgba(255,125,202,0.1); color: #FF7DCA; }
    .ai-fill-status--info { background: rgba(122,63,255,0.08); color: rgba(194,202,225,0.8); }

    /* ── AI инсайты в профиле ────────────────────────────── */
    .pf-insight {
      background: rgba(122,63,255,0.07);
      border: 1px solid rgba(122,63,255,0.25);
      border-radius: 14px; padding: 14px 16px;
      margin-top: 10px;
    }
    .pf-insight-text {
      font-size: 13px; color: rgba(223,229,248,0.85);
      line-height: 1.6; margin: 8px 0 6px;
    }
    .pf-insight-rec {
      font-size: 12px; color: #9B7FFF; font-weight: 700;
      padding-top: 8px; border-top: 1px solid rgba(122,63,255,0.2);
    }

    /* Розовая CTA под слоганом Start/Proof/WIn — вход в создание челленджа */
    .cta-create-hero {
      display: block;
      width: 100%;
      margin: 12px 0 4px;
      padding: 14px 22px;
      border: none;
      border-radius: 999px;
      background: var(--highlight);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.01em;
      cursor: pointer;
      box-shadow: 0 8px 22px rgba(255, 79, 216, 0.35);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      -webkit-tap-highlight-color: transparent;
    }
    .cta-create-hero:hover,
    .cta-create-hero:active {
      transform: translateY(-1px);
      box-shadow: 0 10px 26px rgba(255, 79, 216, 0.45);
    }

    /* Стрик-огонёк в шапке (геймификация) */
    .chip-streak {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      background: rgba(255, 140, 60, 0.14);
      border: 1px solid rgba(255, 140, 60, 0.3);
    }
    .chip-streak .streak-fire { font-size: 13px; line-height: 1; }
    .chip-streak strong { color: #FF9A3C; }

    /* Сетка бейджей в профиле (геймификация) */
    .badges-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 12px;
    }
    .badge-cell {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 3px;
      padding: 10px 4px;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--line);
    }
    .badge-earned {
      background: rgba(122, 63, 255, 0.12);
      border-color: rgba(122, 63, 255, 0.35);
    }
    .badge-locked { opacity: 0.45; filter: grayscale(0.7); }
    .badge-emoji { font-size: 24px; line-height: 1; }
    .badge-title { font-size: 10px; font-weight: 700; color: var(--ink); line-height: 1.1; }
    .badge-sub { font-size: 9px; color: var(--muted); }
    @media (max-width: 380px) { .badges-grid { grid-template-columns: repeat(3, 1fr); } }

    /* Стена победителей на главной */
    .winners-wall {
      margin: 16px 0;
      padding: 14px;
      border-radius: var(--radius-lg);
      background: var(--panel);
      border: 1px solid var(--line);
    }
    .winners-wall-head { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
    .winners-wall-list { display: flex; flex-direction: column; gap: 8px; }
    .ww-item { display: flex; align-items: center; gap: 10px; }
    .ww-ava {
      width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
      display: inline-flex; align-items: center; justify-content: center;
      background: rgba(122,63,255,0.2); color: #fff; font-size: 13px; font-weight: 700;
    }
    .ww-body { min-width: 0; }
    .ww-name { font-size: 13px; font-weight: 700; color: var(--ink); }
    .ww-ch { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
