﻿:root {
      --bg: #f4f8fb;
      --card: #ffffff;
      --text: #102033;
      --muted: #5d7086;
      --accent: #0f9d8a;
      --accent-dark: #0b7869;
      --danger: #c0392b;
      --line: #d8e0ea;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: "Segoe UI", Tahoma, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 8% 8%, rgba(15,157,138,0.18), transparent 30%),
        radial-gradient(circle at 85% 90%, rgba(16,32,51,0.12), transparent 38%),
        var(--bg);
      min-height: 100vh;
      padding: 14px;
    }
    .app {
      width: 100%;
      max-width: 480px;
      margin: 0 auto;
      background: var(--card);
      border-radius: 18px;
      box-shadow: 0 14px 30px rgba(16, 32, 51, 0.12);
      overflow: hidden;
    }
    .header {
      padding: 18px 16px 10px;
      border-bottom: 1px solid var(--line);
    }
    .title { margin: 0; font-size: 24px; font-weight: 800; }
    .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
    .section { padding: 16px; display: none; }
    .section.active { display: block; }
    .balance-card {
      background: linear-gradient(135deg, #0f9d8a, #1b6f8f);
      color: #fff;
      border-radius: 14px;
      padding: 14px;
      margin-bottom: 14px;
    }
    .balance-card .label { opacity: 0.9; font-size: 13px; }
    .balance-card .value { margin-top: 4px; font-size: 28px; font-weight: 800; }
    .grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 10px;
    }
    button {
      border: none;
      border-radius: 12px;
      cursor: pointer;
      font-size: 15px;
      font-weight: 700;
      padding: 11px;
      transition: 0.15s;
    }
    .menu-btn {
      background: #ecf4f7;
      color: #103047;
      min-height: 56px;
    }
    .menu-btn:hover { background: #dceaf0; }
    .menu-wide {
      width: 100%;
      background: #ecf4f7;
      color: #103047;
      min-height: 56px;
      margin-bottom: 10px;
    }
    .menu-wide:hover { background: #dceaf0; }
    .primary {
      background: var(--accent);
      color: #fff;
      width: 100%;
    }
    .primary:hover { background: var(--accent-dark); }
    .ghost {
      width: 100%;
      background: #eef3f8;
      color: #244258;
      margin-top: 10px;
    }
    label {
      display: block;
      margin-bottom: 6px;
      font-size: 14px;
      font-weight: 700;
    }
    input, select, textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 10px 11px;
      margin-bottom: 12px;
      outline: none;
      font-size: 14px;
      font-family: inherit;
      background: #fff;
    }
    textarea { min-height: 88px; resize: vertical; }
    input:focus, select:focus, textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(15,157,138,0.12);
    }
    .msg { margin-top: 10px; font-size: 14px; }
    .success { color: #1f8f4a; }
    .error { color: var(--danger); }
    .support-list {
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 10px;
      max-height: 220px;
      overflow: auto;
      margin-top: 10px;
      background: #fbfdff;
    }
    .support-item {
      padding: 8px 0;
      border-bottom: 1px dashed #d9e3ee;
      font-size: 13px;
    }
    .support-item:last-child { border-bottom: none; }
    .support-meta {
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 4px;
    }
    .faq-list {
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fbfdff;
      padding: 10px;
    }
    .faq-item {
      border-bottom: 1px dashed #d9e3ee;
      padding: 10px 0;
    }
    .faq-item:last-child { border-bottom: none; }
    .faq-q {
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 6px;
    }
    .faq-a {
      font-size: 13px;
      color: #27445a;
      line-height: 1.4;
    }
    .admin-stats {
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fbfdff;
      padding: 10px;
      margin-bottom: 10px;
      font-size: 14px;
    }
    .admin-row { margin-bottom: 6px; }
    .admin-row:last-child { margin-bottom: 0; }
