  :root {
    --bg: #0a0a0f;
    --surface: #13131a;
    --surface2: #1c1c27;
    --border: #2a2a3a;
    --accent: #6c63ff;
    --accent2: #ff6584;
    --accent3: #43e97b;
    --text: #e8e8f0;
    --text-muted: #7a7a9a;
    --success: #43e97b;
    --error: #ff4d6d;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    top: -200px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  body::after {
    content: '';
    position: fixed;
    bottom: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,101,132,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  /* HEADER */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .logo {
    font-family: 'Syne', sans-serif;
    font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
  }
  .logo span { -webkit-text-fill-color: var(--text); opacity: 0.5; }

  /* NAV TABS */
  nav {
    display: flex; gap: 4px;
    background: var(--surface);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border);
  }
  .tab-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    border-radius: 9px;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .tab-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(108,99,255,0.4);
  }
  .tab-btn:hover:not(.active) {
    color: var(--text);
    background: var(--surface2);
  }

  /* MAIN CONTAINER */
  main {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 24px;
    position: relative; z-index: 1;
  }

  /* PANELS */
  .panel { display: none; animation: fadeUp 0.3s ease; }
  .panel.active { display: block; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* SECTION HEADERS */
      .section-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px; font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
  }
  .section-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
  }

  /* CARDS */
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s;
  }
  .card:hover { border-color: rgba(108,99,255,0.3); }

  .card-title {
    font-family: 'Syne', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
  }

  /* FORM ELEMENTS */
  label {
    display: block;
    font-size: 13px; font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
  }

  input[type="text"], select, textarea {
    width: 100%;
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 14px;
  }
  input[type="text"]:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
  }
  select option { background: var(--surface2); }
  textarea { resize: vertical; min-height: 110px; }

  .row { display: flex; gap: 14px; align-items: flex-end; }
  .row > * { flex: 1; }

  /* BUTTONS */
  .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(108,99,255,0.35);
  }
  .btn-primary:hover { background: #7a72ff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,99,255,0.45); }
  .btn-secondary {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
  }
  .btn-secondary:hover { background: var(--border); }
  .btn-danger {
    background: rgba(255,77,109,0.12);
    color: var(--error);
    border: 1px solid rgba(255,77,109,0.3);
    padding: 6px 12px;
    font-size: 12px;
  }
  .btn-danger:hover { background: rgba(255,77,109,0.25); }
  .btn-sm { padding: 6px 14px; font-size: 12px; }

  /* TOGGLE between add modes */
  .mode-toggle {
    display: flex; gap: 8px; margin-bottom: 20px;
  }
  .mode-btn {
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }
  .mode-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(108,99,255,0.1);
  }

  /* WORD LIST */
  .filter-bar {
    display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
  }
  .filter-bar select, .filter-bar input { margin-bottom: 0; flex: 1; min-width: 180px; }
  .word-count-badge {
    background: rgba(108,99,255,0.15);
    color: var(--accent);
    border: 1px solid rgba(108,99,255,0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px; font-weight: 600;
    align-self: center;
    white-space: nowrap;
  }

  .category-group { margin-bottom: 24px; }
  .category-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(108,99,255,0.05));
    border: 1px solid rgba(108,99,255,0.25);
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .category-name {
    font-family: 'Syne', sans-serif;
    font-size: 15px; font-weight: 700;
    color: var(--accent);
    display: flex; align-items: center; gap: 8px;
  }
  .cat-badge {
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px; font-weight: 600;
  }

  .word-table {
    width: 100%;
    border-collapse: collapse;
  }
  .word-table th {
    text-align: left;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
  }
  .word-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(42,42,58,0.5);
    font-size: 14px;
  }
  .word-table tr:last-child td { border-bottom: none; }
  .word-table tr:hover td { background: rgba(255,255,255,0.02); }
  .word-en { font-weight: 600; color: var(--text); }
  .word-uz { color: var(--accent2); font-weight: 500; padding-left: 24px; }
  .arrow { color: var(--text-muted); }

  .empty-state {
    text-align: center; padding: 60px 20px;
    color: var(--text-muted);
  }
  .empty-state .emoji { font-size: 48px; margin-bottom: 12px; }
  .empty-state p { font-size: 15px; }

  /* TOAST */
  .toast {
    position: fixed; bottom: 32px; right: 32px; z-index: 999;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--success);
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    max-width: 300px;
  }
  .toast.show { transform: translateX(0); }
  .toast.error { border-left-color: var(--error); }

  /* TEST PANEL */
  .test-config { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
  .test-config > * { flex: 1; min-width: 160px; }

  .progress-bar-wrap {
    background: var(--surface2);
    border-radius: 20px; height: 6px;
    margin-bottom: 24px;
    overflow: hidden;
  }
  .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 20px;
    transition: width 0.4s ease;
  }

  .question-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
  }
  .q-meta {
    font-size: 12px; color: var(--text-muted); margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
  }
  .q-word {
    font-family: 'Syne', sans-serif;
    font-size: 36px; font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .q-hint { font-size: 13px; color: var(--text-muted); }

  .options-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 24px;
  }
  .option-btn {
    padding: 16px 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex; align-items: center; gap: 12px;
  }
  .option-btn:hover:not(:disabled) {
    border-color: var(--accent);
    background: rgba(108,99,255,0.08);
    transform: translateY(-2px);
  }
  .option-btn .opt-label {
    width: 28px; height: 28px;
    background: var(--surface2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--text-muted);
    flex-shrink: 0;
  }
  .option-btn.correct {
    border-color: var(--success);
    background: rgba(67,233,123,0.12);
    color: var(--success);
  }
  .option-btn.correct .opt-label { background: var(--success); color: #000; }
  .option-btn.wrong {
    border-color: var(--error);
    background: rgba(255,77,109,0.12);
    color: var(--error);
  }
  .option-btn.wrong .opt-label { background: var(--error); color: #fff; }
  .option-btn:disabled { cursor: default; }

  /* RESULT */
  .result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
  }
  .result-emoji { font-size: 64px; margin-bottom: 16px; }
  .result-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px; font-weight: 800;
    margin-bottom: 8px;
  }
  .result-percent {
    font-family: 'Syne', sans-serif;
    font-size: 72px; font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 24px;
  }
  .result-stats {
    display: flex; justify-content: center; gap: 32px;
    margin-bottom: 32px; flex-wrap: wrap;
  }
  .stat-item { text-align: center; }
  .stat-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700; }
  .stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
  .stat-correct .stat-num { color: var(--success); }
  .stat-wrong .stat-num { color: var(--error); }

  /* LANGUAGE SWITCH */
  header { flex-wrap: wrap; gap: 12px; }
  .lang-switch { display: flex; align-items: center; gap: 8px; }
  .lang-switch-label { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
  .lang-switch select {
    width: auto; min-width: 140px; margin-bottom: 0;
    padding: 9px 14px; font-weight: 600; cursor: pointer;
    border-color: rgba(108,99,255,0.5);
    background: rgba(108,99,255,0.1);
    box-shadow: 0 0 18px rgba(108,99,255,0.25);
  }
  .pair-pill {
    display: inline-block; padding: 2px 10px; border-radius: 20px;
    background: rgba(108,99,255,0.15); color: var(--accent);
    border: 1px solid rgba(108,99,255,0.3); font-weight: 600; font-size: 13px;
  }
  .mode-toggle { flex-wrap: wrap; }
  .pair-heading {
    font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800;
    margin: 8px 0 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  }
  .table-wrap { overflow-x: auto; }
  .word-table td.col-status { white-space: nowrap; }
  .status-badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
  }
  .status-new { background: rgba(122,122,154,0.15); color: var(--text-muted); border-color: rgba(122,122,154,0.3); }
  .status-learning { background: rgba(255,101,132,0.12); color: var(--accent2); border-color: rgba(255,101,132,0.3); }
  .status-learned { background: rgba(67,233,123,0.12); color: var(--success); border-color: rgba(67,233,123,0.3); }
  .feedback {
    display: none; margin: 0 0 12px; padding: 12px 14px; border-radius: 10px;
    background: rgba(255,77,109,0.08); border: 1px solid rgba(255,77,109,0.25);
    font-size: 13px; color: var(--text); line-height: 1.5; word-break: break-word;
  }
  .feedback b { color: var(--error); }
  .result-lists {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    text-align: left; margin-bottom: 28px;
  }
  .result-col {
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 12px; padding: 14px 16px; min-width: 0;
  }
  .result-col-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
  .result-col.ok .result-col-title { color: var(--success); }
  .result-col.bad .result-col-title { color: var(--error); }
  .result-col ul { list-style: none; font-size: 14px; }
  .result-col li { padding: 5px 0; border-bottom: 1px solid rgba(42,42,58,0.6); word-break: break-word; }
  .result-col li:last-child { border-bottom: none; }
  .result-col li span { color: var(--text-muted); }
  .result-col .none { color: var(--text-muted); font-size: 13px; }

  /* TRANSLATOR WIDGET */
  .tr-fab {
    position: fixed; left: 24px; bottom: 24px; z-index: 900;
    padding: 12px 20px; border: none; border-radius: 30px; cursor: pointer;
    background: var(--accent); color: #fff;
    font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
    box-shadow: 0 4px 20px rgba(108,99,255,0.5);
    transition: all 0.2s;
  }
  .tr-fab:hover { background: #7a72ff; transform: translateY(-2px); box-shadow: 0 6px 26px rgba(108,99,255,0.65); }
  .tr-panel {
    position: fixed; left: 24px; bottom: 84px; z-index: 900;
    width: 380px; max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); overflow-y: auto;
    background: var(--surface); border: 1px solid rgba(108,99,255,0.35);
    border-radius: var(--radius); padding: 16px; box-shadow: 0 12px 48px rgba(0,0,0,0.6), 0 0 28px rgba(108,99,255,0.15);
    opacity: 0; transform: translateY(12px) scale(0.98); pointer-events: none; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .tr-panel.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .tr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .tr-title { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 17px; }
  .tr-close { background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
  .tr-close:hover { background: var(--surface2); color: var(--text); }
  .tr-langs { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
  .tr-langs select { margin-bottom: 0; flex: 1; min-width: 0; padding: 9px 10px; }
  .tr-swap {
    flex: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    background: var(--surface2); border: 1px solid var(--border); color: var(--accent); font-size: 16px;
  }
  .tr-swap:hover { background: rgba(108,99,255,0.15); }
  #tr-input { min-height: 90px; margin-bottom: 4px; }
  .tr-count { text-align: right; font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
  .tr-output {
    min-height: 70px; padding: 12px 14px; border-radius: 10px; background: var(--surface2);
    border: 1.5px solid var(--border); font-size: 16px; font-weight: 500; color: var(--accent2);
    word-break: break-word; white-space: pre-wrap;
  }
  .tr-output.muted { color: var(--text-muted); font-size: 13px; font-weight: 400; }
  .tr-output.error { color: var(--error); font-size: 13px; font-weight: 400; }
  .tr-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .tr-add { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .tr-add input { flex: 1; min-width: 120px; margin-bottom: 0; padding: 8px 12px; }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    header { justify-content: center; }
  }
  @media (max-width: 640px) {
    header { padding: 12px 16px; flex-direction: column; gap: 12px; }
    main { padding: 24px 16px; }
    .options-grid { grid-template-columns: 1fr; }
    .q-word { font-size: 28px; }
    nav { overflow-x: auto; max-width: 100%; }
    .lang-switch { width: 100%; }
    .lang-switch select { flex: 1; min-width: 0; width: 100%; }
    .row { flex-direction: column; align-items: stretch; gap: 0; }
    .row > * { flex: none; width: 100%; }
    .result-lists { grid-template-columns: 1fr; }
    .result-card { padding: 28px 18px; }
    .question-card { padding: 24px 16px; }
    .word-table th, .word-table td { padding: 10px 8px; }
    .word-uz { padding-left: 8px; }
    .category-header { flex-wrap: wrap; gap: 8px; }
    .toast { left: 16px; right: 16px; bottom: 84px; max-width: none; }
    .tr-fab { left: 16px; bottom: 16px; }
    .tr-panel { left: 16px; right: 16px; bottom: 76px; width: auto; max-width: none; }
  }

  /* ===== LARAVEL QO'SHIMCHALARI: auth sahifalari va foydalanuvchi bloki ===== */
  input[type="email"], input[type="password"] {
    width: 100%;
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 14px;
  }
  input[type="email"]:focus, input[type="password"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
  }
  .user-box { display: flex; align-items: center; gap: 10px; }
  .user-name { font-size: 13px; color: var(--text-muted); white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
  .auth-wrap { max-width: 420px; margin: 0 auto; padding: 48px 20px; position: relative; z-index: 1; }
  .auth-logo { text-align: center; margin-bottom: 24px; font-size: 30px; }
  .auth-card { margin-bottom: 0; }
  .auth-alt { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text-muted); }
  .auth-alt a { color: var(--accent); text-decoration: none; font-weight: 600; }
  .auth-alt a:hover { text-decoration: underline; }
  .form-error { color: var(--error); font-size: 12px; margin: -8px 0 12px; }
  .check-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; cursor: pointer; }
  .check-row input { width: auto; margin: 0; }
  @media (max-width: 640px) {
    .user-box { width: 100%; justify-content: space-between; }
    .user-name { max-width: none; }
  }

  /* ===== OVOZ va ALOQA ===== */
  .modal-back {
    position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.6);
    display: none; align-items: center; justify-content: center; padding: 16px;
  }
  .modal-back.open { display: flex; }
  .modal-box {
    width: 360px; max-width: 100%; background: var(--surface);
    border: 1px solid rgba(108,99,255,0.35); border-radius: var(--radius);
    padding: 16px; box-shadow: var(--shadow);
  }
  .contact-list { display: flex; flex-direction: column; gap: 10px; }
  .contact-list .btn { text-align: center; text-decoration: none; display: block; }
  #tr-speak.loading { opacity: 0.6; pointer-events: none; }

/* ===== ASOSIY SAHIFA FONI: ko'k-yashil + mis aurora, yulduz changlari (login sahifasi bilan bir palitra) ===== */
  body.app-bg {
    --accent: #2aa7c4; --accent2: #e0956a;
    --surface: #0a2230; --surface2: #0f2d3d; --border: #1f4a5c; --text-muted: #7fa3b0;
    background: linear-gradient(180deg, #06222e 0%, #051b27 55%, #04111a 100%) fixed;
  }
  body.app-bg::before, body.app-bg::after { display: none; }
  body.app-bg header { background: rgba(5,22,32,0.82); border-bottom-color: rgba(80,190,210,0.18); }
  .bg-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .bg-aurora b { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
  .bg-aurora b:nth-child(1) { width: 58vw; height: 46vh; left: -12vw; bottom: -16vh; background: #14a8bd; opacity: .38; animation: aur-a 24s ease-in-out infinite alternate; }
  .bg-aurora b:nth-child(2) { width: 46vw; height: 40vh; right: -10vw; top: -14vh; background: #c97a46; opacity: .26; animation: aur-b 30s ease-in-out infinite alternate; }
  .bg-aurora b:nth-child(3) { width: 40vw; height: 34vh; left: 32vw; top: 38vh; background: #1b6fb0; opacity: .20; animation: aur-c 36s ease-in-out infinite alternate; }
  @keyframes aur-a { to { transform: translate(8vw, -8vh) scale(1.15); } }
  @keyframes aur-b { to { transform: translate(-7vw, 9vh) scale(1.2); } }
  @keyframes aur-c { to { transform: translate(-9vw, -6vh) scale(1.25); } }
  .bg-stars { position: absolute; inset: 0; }
  .bg-stars i { position: absolute; border-radius: 50%; background: #d8f6ff; box-shadow: 0 0 6px #8fe0f0; animation: bg-tw 5s ease-in-out infinite; }
  @keyframes bg-tw { 50% { opacity: .12; } }
  /* binafsha qolib ketgan joylar -> ko'k-yashil */
  body.app-bg .card:hover { border-color: rgba(70,190,215,0.35); }
  body.app-bg input:focus, body.app-bg textarea:focus, body.app-bg select:focus { box-shadow: 0 0 0 3px rgba(42,167,196,0.2); }
  body.app-bg .btn-primary { box-shadow: 0 4px 16px rgba(42,167,196,0.38); }
  body.app-bg .btn-primary:hover { background: #3bbad6; box-shadow: 0 6px 20px rgba(42,167,196,0.5); }
  body.app-bg .tr-fab { box-shadow: 0 4px 20px rgba(42,167,196,0.5); }
  body.app-bg .tr-fab:hover { background: #3bbad6; box-shadow: 0 6px 26px rgba(42,167,196,0.65); }
  @media (max-width: 760px) { .bg-aurora b { filter: blur(60px); } .bg-aurora b:nth-child(3) { display: none; } }
  @media (prefers-reduced-motion: reduce) { .bg-aurora b, .bg-stars i { animation: none !important; } }
  body.app-bg .lang-switch select { border-color: rgba(42,167,196,0.55); background: rgba(42,167,196,0.10); box-shadow: 0 0 18px rgba(42,167,196,0.22); }
  body.app-bg .pair-pill { background: rgba(42,167,196,0.16); border-color: rgba(42,167,196,0.35); }
  body.app-bg .tr-swap:hover { background: rgba(42,167,196,0.18); }
