
      *,
      *::before,
      *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
      }

      :root {
        --bg: #080a10;
        --card: #0f1221;
        --card2: #151929;
        --line: rgba(255, 255, 255, 0.07);
        --line2: rgba(255, 255, 255, 0.12);

        /* Signature: warm amber + cold electric */
        --a: #f5b731; /* amber - головний */
        --a2: #ffd166; /* amber light */
        --e: #22d3ee; /* electric cyan */
        --e2: #67e8f9; /* cyan light */
        --r: #ef4444; /* red */
        --g: #10b981; /* green */

        --ink: #f0f2ff;
        --ink2: #8892b0;
        --ink3: #3d4a6b;

        --radius: 16px;
        --radius2: 24px;
      }

      html {
        height: 100%;
      }
      body {
        font-family: "Manrope", sans-serif;
        background: var(--bg);
        color: var(--ink);
        min-height: 100%;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
      }

      /* ── NOISE TEXTURE OVERLAY ── */
      body::after {
        content: "";
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 9999;
        opacity: 0.4;
      }

      /* ── AMBIENT GLOW ── */
      .glow-1 {
        position: fixed;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(
          circle,
          rgba(245, 183, 49, 0.08) 0%,
          transparent 70%
        );
        top: -100px;
        left: -80px;
        pointer-events: none;
        z-index: 0;
        animation: glowFloat 8s ease-in-out infinite;
      }
      .glow-2 {
        position: fixed;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        background: radial-gradient(
          circle,
          rgba(34, 211, 238, 0.06) 0%,
          transparent 70%
        );
        bottom: -80px;
        right: -60px;
        pointer-events: none;
        z-index: 0;
        animation: glowFloat 10s ease-in-out infinite reverse;
      }
      @keyframes glowFloat {
        0%,
        100% {
          transform: translate(0, 0);
        }
        50% {
          transform: translate(20px, 30px);
        }
      }

      /* ── PROGRESS BAR ── */
      #progress-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        z-index: 1000;
        background: var(--line);
      }
      #progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--a), var(--e));
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
      }
      #progress-fill::after {
        content: "";
        position: absolute;
        right: 0;
        top: -2px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--a2);
        box-shadow:
          0 0 10px var(--a),
          0 0 20px rgba(245, 183, 49, 0.4);
      }

      /* ── SCREENS ── */
      .scr {
        display: none;
        position: relative;
        z-index: 1;
        min-height: 100vh;
        padding: 16px 20px 40px;
        flex-direction: column;
        align-items: stretch;
        animation: scrIn 0.38s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .scr.on {
        display: flex;
      }
      @keyframes scrIn {
        from {
          opacity: 0;
          transform: translateY(16px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .inner {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
        flex: 1;
        display: flex;
        flex-direction: column;
      }

      /* ── TOP NAV ── */
      .topnav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0 20px;
      }
      .logo-mark {
        font-size: 13px;
        font-weight: 800;
        color: var(--a);
        letter-spacing: -0.2px;
      }
      .top-badge {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 10px;
        font-weight: 700;
        color: var(--e);
        letter-spacing: 0.5px;
        text-transform: uppercase;
      }
      .top-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--e);
        animation: blip 1.3s ease-in-out infinite;
      }
      @keyframes blip {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.25;
        }
      }

      /* ── LABEL ── */
      .label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.16em;
        color: var(--a);
        text-transform: uppercase;
        margin-bottom: 14px;
      }

      /* ── HEADLINE ── */
      .hl {
        font-size: clamp(26px, 7.5vw, 36px);
        font-weight: 900;
        line-height: 1.08;
        letter-spacing: -1.2px;
        margin-bottom: 14px;
        color: var(--ink);
      }
      .hl em {
        font-style: normal;
        color: var(--a);
      }
      .hl .ce {
        color: var(--e);
      }
      .sub {
        font-size: 15px;
        line-height: 1.65;
        color: var(--ink);
        margin-bottom: 24px;
      }
      .sub b {
        color: var(--ink);
        font-weight: 700;
      }

      /* ── CARDS ── */
      .card {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 18px;
        margin-bottom: 12px;
        position: relative;
        overflow: hidden;
      }
      .card-hover {
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .card-hover:hover {
        transform: translateY(-2px);
        border-color: var(--line2);
      }
      .card-glow::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--a), transparent);
        opacity: 0.5;
      }

      /* ── SOCIAL COUNT ── */
      .social-proof {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        background: rgba(34, 211, 238, 0.05);
        border: 1px solid rgba(34, 211, 238, 0.12);
        border-radius: 12px;
        margin-bottom: 20px;
      }
      .sp-avatars {
        display: flex;
        margin-right: 4px;
      }
      .sp-av {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 2px solid var(--bg);
        margin-left: -6px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
      }
      .sp-av:first-child {
        margin-left: 0;
      }
      .sp-av.a1 {
        background: linear-gradient(135deg, #f59e0b, #ef4444);
        color: #fff;
      }
      .sp-av.a2 {
        background: linear-gradient(135deg, #8b5cf6, #ec4899);
        color: #fff;
      }
      .sp-av.a3 {
        background: linear-gradient(135deg, #06b6d4, #3b82f6);
        color: #fff;
      }
      .sp-av.a4 {
        background: linear-gradient(135deg, #10b981, #84cc16);
        color: #fff;
      }
      .sp-text {
        font-size: 12px;
        color: var(--ink2);
        line-height: 1.4;
        flex: 1;
      }
      .sp-text b {
        color: var(--ink);
      }

      /* ── CHOICE BUTTONS ── */
      .choices {
        display: flex;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 14px;
      }
      .ch {
        display: flex;
        align-items: flex-start;
        gap: 13px;
        padding: 15px 14px;
        background: var(--card);
        border: 1.5px solid var(--line);
        border-radius: var(--radius);
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: left;
        width: 100%;
        color: var(--ink);
        font-family: "Manrope", sans-serif;
        position: relative;
        overflow: hidden;
      }
      .ch::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          135deg,
          rgba(245, 183, 49, 0.04),
          transparent
        );
        opacity: 0;
        transition: opacity 0.2s;
      }
      .ch:hover {
        border-color: var(--line2);
        transform: translateX(2px);
      }
      .ch:hover::after {
        opacity: 1;
      }
      .ch:active {
        transform: scale(0.98);
      }
      .ch.ok {
        border-color: var(--e);
        background: rgba(34, 211, 238, 0.04);
        transform: none;
      }
      .ch.bad {
        border-color: var(--r);
        background: rgba(239, 68, 68, 0.04);
        transform: none;
      }
      .ch.pick {
        border-color: var(--a);
        background: rgba(245, 183, 49, 0.04);
        transform: none;
      }
      .ch:disabled {
        cursor: default;
      }
      .ch-key {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        background: var(--card2);
        border: 1px solid var(--line2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        color: var(--ink3);
        flex-shrink: 0;
        margin-top: 1px;
        transition: all 0.2s;
      }
      .ch.ok .ch-key {
        background: var(--e);
        color: #000;
        border-color: var(--e);
      }
      .ch.bad .ch-key {
        background: var(--r);
        color: #fff;
        border-color: var(--r);
      }
      .ch.pick .ch-key {
        background: var(--a);
        color: #000;
        border-color: var(--a);
      }
      .ch-body {
        flex: 1;
      }
      .ch-txt {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
      }
      .ch-hint {
        font-size: 11px;
        color: var(--ink);
        margin-top: 3px;
        font-weight: 400;
      }
      .ch-tag {
        display: inline-block;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 100px;
        margin-top: 6px;
        letter-spacing: 0.3px;
      }
      .tag-a {
        background: rgba(245, 183, 49, 0.12);
        color: var(--a);
        border: 1px solid rgba(245, 183, 49, 0.2);
      }
      .tag-e {
        background: rgba(34, 211, 238, 0.1);
        color: var(--e);
        border: 1px solid rgba(34, 211, 238, 0.15);
      }
      .tag-r {
        background: rgba(239, 68, 68, 0.1);
        color: var(--r);
        border: 1px solid rgba(239, 68, 68, 0.15);
      }
      .tag-g {
        background: rgba(16, 185, 129, 0.1);
        color: var(--g);
        border: 1px solid rgba(16, 185, 129, 0.15);
      }

      /* ── FEEDBACK ── */
      .fb {
        display: none;
        padding: 15px 16px;
        border-radius: var(--radius);
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.65;
        color: var(--ink2);
        position: relative;
        overflow: hidden;
        border-left: 3px solid transparent;
      }
      .fb.show {
        display: block;
        animation: fbPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      }
      @keyframes fbPop {
        from {
          opacity: 0;
          transform: scale(0.97);
        }
        to {
          opacity: 1;
          transform: scale(1);
        }
      }
      .fb.win {
        background: rgba(34, 211, 238, 0.05);
        border-color: var(--e);
      }
      .fb.lose {
        background: rgba(239, 68, 68, 0.05);
        border-color: var(--r);
      }
      .fb.info {
        background: rgba(245, 183, 49, 0.05);
        border-color: var(--a);
      }
      .fb strong {
        display: block;
        font-size: 15px;
        font-weight: 800;
        color: var(--ink);
        margin-bottom: 5px;
      }
      .fb .math {
        font-family: monospace;
        background: var(--card2);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 13px;
        color: var(--e);
      }

      /* ── CTA BUTTON ── */
      .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 18px 24px;
        border: none;
        border-radius: var(--radius);
        font-family: "Manrope", sans-serif;
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        letter-spacing: -0.2px;
        text-decoration: none;
        position: relative;
        overflow: hidden;
      }
      .btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          135deg,
          rgba(255, 255, 255, 0.15) 0%,
          transparent 60%
        );
        opacity: 0;
        transition: opacity 0.2s;
      }
      .btn:hover::before {
        opacity: 1;
      }
      .btn:hover {
        transform: translateY(-2px);
      }
      .btn:active {
        transform: scale(0.98);
      }

      .btn-primary {
        background: linear-gradient(135deg, var(--a2) 0%, var(--a) 100%);
        color: #0a0c14;
        box-shadow: 0 4px 30px rgba(245, 183, 49, 0.35);
      }
      .btn-primary:hover {
        box-shadow: 0 8px 40px rgba(245, 183, 49, 0.45);
      }

      .btn-soft {
        background: var(--card);
        color: var(--ink2);
        border: 1.5px solid var(--line2);
        margin-top: 10px;
        font-size: 14px;
      }
      .btn-arr {
        font-size: 18px;
        transition: transform 0.2s;
      }
      .btn:hover .btn-arr {
        transform: translateX(4px);
      }
      .btn-hidden {
        display: none;
      }

      /* ── CHAT ── */
      .chat {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
      }
      .mrow {
        display: flex;
        gap: 10px;
      }
      .mrow.gone {
        display: none;
      }

      /* ── CHAT SCREEN STYLES ── */
      .chat-header {
        background: var(--card);
        border-bottom: 1px solid var(--line);
        padding: 14px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        position: sticky;
        top: 0;
        z-index: 10;
      }
      .chat-name {
        font-weight: 700;
        font-size: 14px;
        font-family: "Manrope", sans-serif;
        color: var(--ink);
      }
      .chat-role {
        font-size: 11px;
        color: var(--ink2);
      }
      .online {
        width: 7px;
        height: 7px;
        background: var(--a);
        border-radius: 50%;
        margin-left: auto;
        animation: pulse 2s infinite;
      }
      .chat-msgs {
        flex: 1;
        padding: 22px 18px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        overflow-y: auto;
      }
      .msg {
        display: flex;
        gap: 10px;
        animation: fadeUp 0.3s ease;
      }
      .bubble {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 18px 18px 18px 4px;
        padding: 12px 16px;
        font-size: 14px;
        line-height: 1.6;
        max-width: 300px;
      }
      .msg.user {
        flex-direction: row-reverse;
      }
      .msg.user .bubble {
        background: var(--a2);
        border: none;
        border-radius: 18px 18px 4px 18px;
        color: #000;
      }
      .chat-input-area {
        padding: 14px 18px 72px;
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .typing {
        display: flex;
        gap: 4px;
        padding: 12px 14px;
      }
      .typing span {
        width: 5px;
        height: 5px;
        background: var(--ink3);
        border-radius: 50%;
        animation: bounce 1s infinite;
      }
      .typing span:nth-child(2) {
        animation-delay: 0.2s;
      }
      .typing span:nth-child(3) {
        animation-delay: 0.4s;
      }

      .av {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 900;
        position: relative;
      }
      .av::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 50%;
        padding: 2px;
        background: conic-gradient(var(--a) 0deg, transparent 180deg);
        -webkit-mask:
          linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.6;
      }
      .av-l {
        background: linear-gradient(135deg, #2563eb, #1e40af);
        color: #fff;
      }
      .av-c {
        background: linear-gradient(135deg, var(--a), var(--a2));
        color: #000;
      }
      .bub {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 4px 16px 16px 16px;
        padding: 11px 14px;
        font-size: 14px;
        line-height: 1.65;
        max-width: calc(100% - 50px);
      }
      .bub .who {
        font-size: 11px;
        color: var(--ink3);
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
      .tdots {
        display: flex;
        gap: 4px;
        padding: 5px 2px;
      }
      .tdots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--ink3);
        animation: td 1.1s ease-in-out infinite;
      }
      .tdots span:nth-child(2) {
        animation-delay: 0.2s;
      }
      .tdots span:nth-child(3) {
        animation-delay: 0.4s;
      }
      @keyframes td {
        0%,
        60%,
        100% {
          transform: translateY(0);
        }
        30% {
          transform: translateY(-5px);
        }
      }

      /* ── INPUT ── */
      .inp-wrap {
        position: relative;
        margin-bottom: 10px;
      }
      .inp {
        width: 100%;
        background: var(--card);
        border: 1.5px solid var(--line2);
        border-radius: var(--radius);
        padding: 16px 52px 16px 18px;
        font-family: "Manrope", sans-serif;
        font-size: 16px;
        color: var(--ink);
        outline: none;
        transition: border-color 0.2s;
        -webkit-appearance: none;
      }
      .inp:focus {
        border-color: var(--a);
      }
      .inp::placeholder {
        color: var(--ink3);
      }
      .inp-go {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        background: linear-gradient(135deg, var(--a2), var(--a));
        border: none;
        border-radius: 10px;
        color: #000;
        font-size: 18px;
        font-weight: 900;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
      }
      .inp-go:hover {
        transform: translateY(-50%) scale(1.08);
      }

      /* ── PROFILE STYLES ── */
      .style-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 16px;
      }
      .style-card {
        background: var(--card);
        border: 1.5px solid var(--line);
        border-radius: var(--radius);
        padding: 16px 10px 14px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
        overflow: hidden;
      }
      .style-card:hover {
        border-color: var(--line2);
        transform: translateY(-2px);
      }
      .style-card.on {
        border-color: var(--a);
        background: rgba(245, 183, 49, 0.04);
      }
      .style-card.on::before {
        content: "✓";
        position: absolute;
        top: 6px;
        right: 8px;
        font-size: 11px;
        color: var(--a);
        font-weight: 900;
      }
      .sc-em {
        font-size: 26px;
        margin-bottom: 8px;
        display: block;
      }
      .sc-nm {
        font-size: 12px;
        font-weight: 800;
        color: var(--ink);
      }
      .sc-sb {
        font-size: 10px;
        color: var(--ink3);
        margin-top: 2px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
      }

      /* ── ID CARD ── */
      .id-card {
        background: linear-gradient(135deg, var(--card2), var(--card));
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 28px;
        max-width: 320px;
        width: 100%;
        position: relative;
        overflow: hidden;
        margin: 24px auto;
        animation: glow 3s infinite;
      }
      .id-card::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 140px;
        height: 140px;
        background: radial-gradient(
          circle,
          rgba(245, 183, 49, 0.12),
          transparent 70%
        );
      }
      .id-logo {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.15em;
        color: var(--a);
        text-transform: uppercase;
        margin-bottom: 18px;
        font-family: "Manrope", sans-serif;
      }
      .id-av {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--a2), var(--a));
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Manrope", sans-serif;
        font-weight: 800;
        font-size: 20px;
        margin: 0 auto 14px;
        color: #000;
      }
      .id-name {
        font-family: "Manrope", sans-serif;
        font-size: 20px;
        font-weight: 800;
        text-align: center;
        color: var(--ink);
      }
      .id-role {
        color: var(--a);
        font-size: 12px;
        font-weight: 500;
        margin: 3px 0 14px;
        text-align: center;
      }
      .id-divider {
        height: 1px;
        background: var(--line);
        margin: 14px 0;
      }
      .id-row {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        margin-bottom: 7px;
        color: var(--ink2);
      }
      .id-row span:last-child {
        color: var(--ink);
        font-weight: 600;
      }
      .id-status {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 10px;
        font-weight: 700;
        color: var(--a);
        letter-spacing: 0.5px;
        margin-top: 10px;
        justify-content: center;
      }
      @keyframes pulse {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.3;
        }
      }
      @keyframes shake {
        0%,
        100% {
          transform: translateX(0);
        }
        25% {
          transform: translateX(-8px);
        }
        75% {
          transform: translateX(8px);
        }
      }

      /* ── MIRROR SCREEN ── */
      .mirror-opt {
        background: var(--card);
        border: 1.5px solid var(--line);
        border-radius: 14px;
        padding: 16px 20px;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 14px;
        display: flex;
        gap: 12px;
        align-items: center;
        text-align: left;
      }
      .mirror-opt:hover {
        border-color: var(--a);
        background: rgba(245, 183, 49, 0.05);
      }
      .mirror-opt .mo-icon {
        font-size: 20px;
      }

      /* ── QUIZ / TICKET OPTS ── */
      .opt {
        background: var(--card);
        border: 1.5px solid var(--line);
        border-radius: 14px;
        padding: 15px 18px;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        gap: 12px;
        align-items: flex-start;
        font-size: 14px;
        line-height: 1.55;
        text-align: left;
      }
      .opt:hover {
        border-color: var(--a);
        background: rgba(245, 183, 49, 0.06);
      }
      .opt-letter {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        background: var(--card2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        color: var(--ink3);
        flex-shrink: 0;
      }
      .opt.correct {
        border-color: var(--a);
        background: rgba(245, 183, 49, 0.07);
      }
      .opt.correct .opt-letter {
        background: var(--a);
        color: var(--bg);
      }
      .opt.wrong {
        border-color: var(--e);
        background: rgba(255, 71, 87, 0.07);
      }
      .opt.correct-ans {
        border-color: var(--a);
        background: rgba(245, 183, 49, 0.07);
      }
      .opt.correct-ans .opt-letter {
        background: var(--a);
        color: var(--bg);
      }
      .opt.wrong-ans {
        border-color: var(--e);
        background: rgba(255, 71, 87, 0.07);
      }
      .opt.wrong-ans .opt-letter {
        background: var(--e);
        color: white;
      }

      /* ── OLD ID CARD STYLES (kept for compatibility) ── */
      .id-lbl {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--ink3);
        margin-bottom: 3px;
      }
      .id-val {
        font-size: 14px;
        font-weight: 600;
        color: var(--ink);
        margin-bottom: 12px;
      }
      .id-nm {
        font-size: 20px;
        font-weight: 900;
        color: var(--a);
        letter-spacing: -0.5px;
      }
      .id-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
      }

      /* ── DATA TABLE ── */
      .dtable {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        overflow: hidden;
        margin-bottom: 14px;
        font-size: 13px;
      }
      .drow {
        display: grid;
        padding: 10px 14px;
        border-bottom: 1px solid var(--line);
        align-items: center;
      }
      .drow:last-child {
        border-bottom: none;
      }
      .drow.bad {
        background: rgba(239, 68, 68, 0.04);
      }
      .drow.hd {
        background: var(--card2);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--ink3);
      }
      .val-r {
        color: var(--r);
        font-weight: 700;
      }
      .val-g {
        color: var(--e);
        font-weight: 700;
      }

      /* ── BAR CHART ── */
      .chart-box {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 18px 14px 12px;
        margin-bottom: 14px;
      }
      .chart-hint {
        font-size: 11px;
        color: var(--ink3);
        margin-bottom: 14px;
        display: flex;
        justify-content: space-between;
      }
      .y-axis {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 96px;
        padding-bottom: 8px;
        margin-right: 4px;
      }
      .y-label {
        font-size: 10px;
        color: var(--ink3);
        text-align: right;
        min-width: 32px;
        line-height: 1;
      }
      .bars-area {
        display: flex;
        align-items: flex-end;
        gap: 5px;
        height: 96px;
        border-bottom: 1px solid var(--line);
        padding-bottom: 8px;
        flex: 1;
      }
      .bc {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        cursor: pointer;
      }
      .bb {
        width: 100%;
        max-width: 40px;
        border-radius: 5px 5px 0 0;
        background: linear-gradient(
          180deg,
          rgba(79, 138, 255, 0.5),
          rgba(79, 138, 255, 0.15)
        );
        border: 1px solid rgba(79, 138, 255, 0.3);
        transition: all 0.2s;
        position: relative;
      }
      .bb:hover {
        filter: brightness(1.4);
      }
      .bb.wrong {
        opacity: 0.35;
        background: var(--card2);
        border-color: var(--line);
      }
      .bb.right {
        background: linear-gradient(
          180deg,
          var(--r),
          rgba(239, 68, 68, 0.4)
        ) !important;
        border-color: var(--r) !important;
        box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
      }
      .bd {
        font-size: 10px;
        color: var(--ink3);
      }

      /* ── CHANNEL TABLE ── */
      .chtable {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        overflow: hidden;
        margin-bottom: 14px;
      }
      .chr,
      .chh {
        display: grid;
        grid-template-columns: 70px 1fr 60px;
        padding: 11px 14px;
        gap: 8px;
        align-items: center;
        font-size: 13px;
        border-bottom: 1px solid var(--line);
      }
      .chr:last-child {
        border-bottom: none;
      }
      .chh {
        background: var(--card2);
        font-size: 10px;
        color: var(--ink3);
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
      }
      .chr.best {
        background: rgba(34, 211, 238, 0.03);
        border-left: 2px solid var(--e);
      }
      .chr-nm {
        font-weight: 700;
        color: var(--ink);
      }
      .chr-cr {
        font-size: 15px;
        font-weight: 900;
      }
      .cr-hi {
        color: var(--e);
      }
      .cr-lo {
        color: var(--r);
      }
      .cr-md {
        color: var(--ink2);
      }
      .mb-track {
        height: 3px;
        background: var(--card2);
        border-radius: 2px;
        margin-top: 4px;
        overflow: hidden;
      }
      .mb-fill {
        height: 100%;
        border-radius: 2px;
      }

      /* ── RING ── */
      .ring-box {
        position: relative;
        width: 110px;
        height: 110px;
        margin: 0 auto 16px;
      }
      .ring-box svg {
        transform: rotate(-90deg);
      }
      .ring-inner {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
      .ring-n {
        font-size: 28px;
        font-weight: 900;
        color: var(--ink);
        line-height: 1;
      }
      .ring-l {
        font-size: 11px;
        color: var(--ink3);
        margin-top: 2px;
      }

      /* ── LOADING ── */
      .load-steps {
        display: flex;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 20px;
      }
      .lstep {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: var(--ink2);
        opacity: 0;
        transition: opacity 0.4s;
      }
      .lstep.v {
        opacity: 1;
      }
      .lstep .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--ink3);
        flex-shrink: 0;
        transition: all 0.3s;
      }
      .lstep.done .dot {
        background: var(--e);
        box-shadow: 0 0 8px var(--e);
      }
      .load-bar {
        background: var(--line);
        height: 5px;
        border-radius: 3px;
        overflow: hidden;
        margin-bottom: 8px;
      }
      .load-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--a), var(--e));
        border-radius: 3px;
        transition: width 0.4s ease;
      }

      /* ── RESULT TYPE ── */
      .type-card {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius2);
        padding: 26px 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
        margin-bottom: 14px;
      }
      .type-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--a), var(--e));
      }
      .type-em {
        font-size: 48px;
        display: block;
        margin-bottom: 10px;
      }
      .type-nm {
        font-size: 20px;
        font-weight: 900;
        color: var(--a);
        letter-spacing: -0.5px;
        margin-bottom: 8px;
      }
      .type-desc {
        font-size: 14px;
        color: var(--ink2);
        line-height: 1.65;
      }

      /* ── SALARY ── */
      .sal-row {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        margin-bottom: 8px;
        transition: all 0.2s;
      }
      .sal-row.hl {
        border-color: rgba(34, 211, 238, 0.25);
        background: rgba(34, 211, 238, 0.03);
      }
      .sal-ic {
        font-size: 22px;
      }
      .sal-bd {
        flex: 1;
      }
      .sal-t {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
      }
      .sal-s {
        font-size: 11px;
        color: var(--ink3);
        margin-top: 2px;
      }
      .sal-v {
        font-size: 18px;
        font-weight: 900;
        white-space: nowrap;
      }
      .sv-def {
        color: var(--ink2);
      }
      .sv-e {
        color: var(--e);
      }
      .sv-a {
        color: var(--a);
      }

      /* ── TESTIMONY ── */
      .tcard {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 16px;
        margin-bottom: 10px;
        position: relative;
      }
      .tcard::before {
        content: '"';
        position: absolute;
        top: 8px;
        left: 14px;
        font-size: 36px;
        line-height: 1;
        color: var(--a);
        opacity: 0.25;
        font-weight: 900;
      }
      .ttext {
        font-size: 14px;
        line-height: 1.7;
        color: var(--ink2);
        margin-bottom: 12px;
        padding-top: 8px;
      }
      .tauth {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .tav {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 900;
        background: linear-gradient(135deg, var(--a), var(--a2));
        color: #000;
      }
      .tnm {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
      }
      .trl {
        font-size: 11px;
        color: var(--ink2);
      }
      .tv {
        margin-left: auto;
        font-size: 10px;
        font-weight: 700;
        color: var(--e);
        border: 1px solid rgba(34, 211, 238, 0.2);
        background: rgba(34, 211, 238, 0.06);
        padding: 3px 8px;
        border-radius: 100px;
        white-space: nowrap;
      }

      /* ── QUOTE HERO ── */
      .qhero {
        padding: 20px;
        background: linear-gradient(
          135deg,
          rgba(245, 183, 49, 0.06),
          rgba(34, 211, 238, 0.04)
        );
        border: 1px solid rgba(245, 183, 49, 0.15);
        border-radius: var(--radius);
        margin-bottom: 14px;
        position: relative;
        overflow: hidden;
      }
      .qhero::before {
        content: '"';
        position: absolute;
        top: 4px;
        left: 14px;
        font-size: 48px;
        color: var(--a);
        opacity: 0.15;
        font-weight: 900;
        line-height: 1;
      }
      .qhero-text {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.65;
        color: var(--ink);
        margin-bottom: 12px;
      }
      .qhero-author {
        font-size: 12px;
        color: var(--ink3);
      }

      /* ── CALLOUT ── */
      .callout {
        padding: 16px;
        border-radius: var(--radius);
        margin-bottom: 14px;
        position: relative;
        overflow: hidden;
        border-left: 3px solid transparent;
      }
      .callout p {
        font-size: 14px;
        line-height: 1.65;
        color: var(--ink2);
      }
      .callout b {
        color: var(--ink);
      }
      .co-warn {
        background: rgba(239, 68, 68, 0.05);
        border-color: var(--r);
      }
      .co-ok {
        background: rgba(34, 211, 238, 0.04);
        border-color: var(--e);
      }
      .co-inf {
        background: rgba(245, 183, 49, 0.05);
        border-color: var(--a);
      }

      /* ── Q DOTS ── */
      .qdots {
        display: flex;
        gap: 6px;
        margin-bottom: 20px;
      }
      .qd {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--line2);
        transition: all 0.3s;
      }
      .qd.done {
        background: var(--a);
      }
      .qd.act {
        background: var(--a2);
        box-shadow: 0 0 8px var(--a);
        width: 18px;
        border-radius: 4px;
      }

      /* ── LEADERBOARD ── */
      .lb {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        overflow: hidden;
        margin-bottom: 14px;
      }
      .lbr {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 14px;
        border-bottom: 1px solid var(--line);
      }
      .lbr:last-child {
        border-bottom: none;
      }
      .lbr.you {
        background: rgba(245, 183, 49, 0.04);
        border-left: 2px solid var(--a);
      }
      .lb-pos {
        font-size: 11px;
        font-weight: 800;
        color: var(--ink3);
        width: 18px;
      }
      .lb-nm {
        font-size: 13px;
        color: var(--ink);
        flex: 1;
      }
      .lbr.you .lb-nm {
        color: var(--a);
        font-weight: 700;
      }
      .lb-bw {
        flex: 1.5;
      }
      .lb-b {
        height: 4px;
        background: var(--card2);
        border-radius: 2px;
        overflow: hidden;
      }
      .lb-bf {
        height: 100%;
        border-radius: 2px;
        background: var(--ink3);
      }
      .lbr.you .lb-bf {
        background: linear-gradient(90deg, var(--a), var(--a2));
      }
      .lb-sc {
        font-size: 14px;
        font-weight: 900;
        color: var(--ink3);
      }
      .lbr.you .lb-sc {
        color: var(--a);
      }

      /* ── DAY TIMELINE ── */
      .dline {
        display: flex;
        flex-direction: column;
        gap: 0;
      }
      .dev {
        display: flex;
        gap: 14px;
        padding: 11px 0;
        position: relative;
      }
      .dev::before {
        content: "";
        position: absolute;
        left: 41px;
        top: 26px;
        bottom: -11px;
        width: 1px;
        background: var(--line);
      }
      .dev:last-child::before {
        display: none;
      }
      .dev-t {
        font-size: 12px;
        font-weight: 800;
        color: var(--a);
        min-width: 48px;
        padding-top: 8px;
      }
      .dev-d {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--card2);
        border: 1px solid var(--line2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
      }
      .dev-tx {
        flex: 1;
        font-size: 14px;
        color: var(--ink2);
        line-height: 1.5;
        padding-top: 5px;
      }
      .dev-tx b {
        color: var(--ink);
      }

      /* ── TICKET ── */
      .ticket {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 18px;
        overflow: hidden;
        width: 100%;
        max-width: 480px;
        margin: 0 auto 18px;
      }
      .ticket-head {
        background: var(--card2);
        padding: 12px 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--line);
      }
      .ticket-id {
        font-size: 11px;
        color: var(--ink2);
        font-family: monospace;
      }
      .pri {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.1em;
        padding: 3px 9px;
        border-radius: 100px;
        text-transform: uppercase;
      }
      .pri-high {
        background: rgba(239, 68, 68, 0.12);
        color: var(--r);
        border: 1px solid rgba(239, 68, 68, 0.25);
      }
      .pri-med {
        background: rgba(245, 183, 49, 0.12);
        color: var(--a);
        border: 1px solid rgba(245, 183, 49, 0.25);
      }
      .ticket-body {
        padding: 20px 18px;
      }
      .h3 {
        font-family: "Manrope", sans-serif;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--ink);
      }

      /* ── COMPATIBILITY VARIABLES ── */
      :root {
        --muted: var(--ink2);
        --text: var(--ink);
      }

      /* ── MISC ── */
      .spacer {
        flex: 1;
        min-height: 16px;
      }
      .sc-lbl {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--ink3);
        margin-bottom: 12px;
      }
      .tc {
        text-align: center;
      }
      .divd {
        height: 1px;
        background: var(--line);
        margin: 16px 0;
      }
      .mb12 {
        margin-bottom: 12px;
      }
      .mb20 {
        margin-bottom: 20px;
      }
      .mb24 {
        margin-bottom: 24px;
      }
      .hidden-el {
        display: none !important;
      }

      /* ── PHONE FORM ── */
      .trust-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-top: 10px;
        flex-wrap: wrap;
      }
      .tr-item {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        color: var(--ink3);
      }

      /* ── INTL TEL INPUT CUSTOM STYLES ── */
      .iti {
        width: 100%;
      }
      .iti__flag-container {
        position: absolute;
        top: 0;
        bottom: 0;
        right: auto;
        left: 0;
        padding: 0 0 0 16px;
      }
      .iti__selected-flag {
        background: transparent;
        border: none;
        padding: 0 0 0 8px;
        display: flex;
        align-items: center;
        height: 100%;
      }
      .iti__selected-flag:hover {
        background: transparent;
      }
      .iti__selected-dial-code {
        font-family: "Manrope", sans-serif !important;
        font-size: 17px !important;
        letter-spacing: 0.5px !important;
        color: var(--ink) !important;
        margin-left: 8px;
      }
      .iti__arrow {
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid var(--ink3);
        margin-left: 6px;
      }
      .iti__country-list {
        background: var(--card);
        border: 1px solid var(--line2);
        border-radius: var(--radius);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        max-height: 200px;
        margin-top: 4px;
      }
      .iti__country {
        padding: 10px 14px;
        color: var(--ink2);
        font-size: 14px;
      }
      .iti__country:hover {
        background: var(--card2);
      }
      .iti__country.iti__highlight {
        background: var(--card2);
      }
      .iti__country-name {
        color: var(--ink);
        margin-right: 6px;
        font-family: "Manrope", sans-serif;
      }
      .iti__dial-code {
        color: var(--ink3);
        font-family: "Manrope", sans-serif;
      }
      .iti__divider {
        border-bottom: 1px solid var(--line);
        margin: 4px 0;
      }
      #inp-phone {
        padding-left: 105px !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 17px !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
        display: flex !important;
        align-items: center !important;
      }
      #inp-phone::placeholder {
        font-family: "Manrope", sans-serif !important;
        font-size: 17px !important;
        letter-spacing: 0.5px !important;
      }

      /* ── URGENCY TIMER ── */
      .urgency-strip {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        background: rgba(239, 68, 68, 0.06);
        border: 1px solid rgba(239, 68, 68, 0.15);
        border-radius: var(--radius);
        margin-bottom: 14px;
      }
      .urg-text {
        font-size: 13px;
        color: var(--ink2);
        flex: 1;
      }
      .urg-text b {
        color: var(--ink);
      }
      .urg-timer {
        font-size: 15px;
        font-weight: 900;
        color: var(--r);
        font-family: monospace;
      }

      /* ── MICRO CONFETTI PARTICLE ── */
      .particle {
        position: fixed;
        pointer-events: none;
        z-index: 500;
        border-radius: 2px;
        animation: confettiDrop 0.8s ease-out forwards;
      }
      @keyframes confettiDrop {
        0% {
          opacity: 1;
          transform: translateY(0) rotate(0deg) scale(1);
        }
        100% {
          opacity: 0;
          transform: translateY(60px) rotate(360deg) scale(0);
        }
      }