 :root {
      --ink: #070816;
      --ink-2: #0c0e24;
      --surface: rgba(255,255,255,.045);
      --surface-2: rgba(255,255,255,.08);
      --solid: #12142e;
      --solid-2: #1a1d40;
      --line: rgba(255,255,255,.09);
      --line-2: rgba(255,255,255,.16);
      --text: #f1f3ff;
      --muted: #9aa1c7;
      --blue: #7c6bff;
      --blue-2: #4b8bff;
      --ice: #b9c4ff;
      --sky: #38b6ff;
      --pink: #ff5fa2;
      --mint: #35d6a0;
      --coral: #ff6b81;
      --amber: #ffbf47;
      --grad: linear-gradient(135deg, #7c6bff 0%, #4b8bff 55%, #38b6ff 100%);
      --grad-warm: linear-gradient(135deg, #ff5fa2, #ff9a4d);
      --font-display: 'Poppins', 'Segoe UI', sans-serif;
      --font-body: 'Figtree', 'Segoe UI', sans-serif;
      --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    html { scroll-behavior: smooth; }
    body { min-height: 100vh; font-family: var(--font-body); color: var(--text); background: var(--ink); padding: 16px 14px 70px; overflow-x: hidden; line-height: 1.5; }
    button, input, select, textarea { font: inherit; color: inherit; }
    button { cursor: pointer; }
    :focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
    [hidden] { display: none !important; }
    body:not(.is-auth) .auth-only { display: none !important; }
    body.is-auth .guest-only { display: none !important; }

    /* ---------- aurora background ---------- */
    .aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
    .aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
    .aurora i:nth-child(1) { width: 520px; height: 520px; background: #5b45ff; top: -160px; left: -140px; }
    .aurora i:nth-child(2) { width: 460px; height: 460px; background: #ff4f9a; right: -160px; top: 30%; opacity: .32; animation-duration: 28s; animation-delay: -6s; }
    .aurora i:nth-child(3) { width: 420px; height: 420px; background: #1aa6ff; left: 20%; bottom: -200px; opacity: .3; animation-duration: 25s; animation-delay: -12s; }
    @keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
    .aurora::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); }

    .shell { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; }

    /* ---------- top bar ---------- */
    .bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 2px 16px; }
    .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
    .mark { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(124,107,255,.45); }
    .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
    .brand-name b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 2px; }
    .bar-right { display: flex; align-items: center; gap: 8px; }
    .icon-btn { width: 40px; height: 40px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; transition: .2s; backdrop-filter: blur(10px); }
    .icon-btn:hover { color: var(--text); border-color: var(--line-2); transform: rotate(-12deg); }
    .btn-ghost { height: 40px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: 8px; transition: .2s; backdrop-filter: blur(10px); }
    .btn-ghost:hover { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(124,107,255,.15); }
    .credit { height: 40px; padding: 0 5px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; transition: .2s; backdrop-filter: blur(10px); }
    .credit i { color: var(--amber); font-size: .85rem; }
    .credit .num { font-family: var(--font-mono); font-size: .95rem; min-width: 1.4ch; text-align: right; }
    .credit small { color: var(--muted); font-size: .72rem; font-weight: 600; }
    .credit .plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: .78rem; margin-left: 2px; transition: transform .25s; }
    .credit:hover .plus { transform: rotate(90deg); }
    .credit.empty { border-color: rgba(255,107,129,.6); }
    .credit.empty .num { color: var(--coral); }
    .credit.empty .plus { background: var(--grad-warm); animation: beat 1.6s ease-in-out infinite; }
    @keyframes beat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
    .user { position: relative; }
    .avatar-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid transparent; background: linear-gradient(var(--solid), var(--solid)) padding-box, var(--grad) border-box; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; overflow: hidden; padding: 0; }
    .avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
    .menu { position: absolute; right: 0; top: 50px; width: 264px; z-index: 50; padding: 14px; background: var(--solid); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.6); opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: .18s; }
    .menu.open { opacity: 1; transform: none; pointer-events: auto; }
    .menu .who { font-weight: 700; }
    .menu .mail { color: var(--muted); font-size: .8rem; word-break: break-all; }
    .menu .uid { margin: 10px 0; padding: 8px 10px; border-radius: 10px; background: var(--ink); border: 1px dashed var(--line-2); font-family: var(--font-mono); font-size: .72rem; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
    .uid span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .uid button { background: none; border: none; color: var(--sky); }
    .menu-item { width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: none; background: transparent; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .9rem; }
    .menu-item:hover { background: var(--surface-2); }
    .menu-item.danger { color: var(--coral); }

    /* ---------- hero ---------- */
    .hero-card { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 6px; padding: 26px 8px 22px 26px; border-radius: 32px; overflow: hidden;
      background: linear-gradient(160deg, rgba(124,107,255,.20), rgba(56,182,255,.07) 50%, rgba(255,95,162,.14)); border: 1px solid var(--line-2); box-shadow: 0 40px 90px rgba(0,0,0,.4); }
    .hero-card::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -90px; bottom: -120px; background: radial-gradient(circle, rgba(124,107,255,.45), transparent 65%); }
    .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--ice); }
    .eyebrow i { color: var(--amber); }
    .hero-copy { position: relative; z-index: 1; }
    .hero-copy h1 { margin: 14px 0 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; font-size: clamp(1.9rem, 6vw, 2.9rem); }
    .hero-copy h1 em { font-style: normal; background: linear-gradient(100deg, #a99bff, #5cc8ff 55%, #ff8ec2); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .hero-copy p { color: var(--muted); font-size: .95rem; max-width: 40ch; }
    .status-line { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; background: rgba(7,8,22,.55); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; backdrop-filter: blur(8px); }
    .status-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: ping 2s infinite; }
    .status-line.warn .dot { background: var(--amber); }
    .status-line.bad .dot { background: var(--coral); }
    @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(53,214,160,.55); } 70% { box-shadow: 0 0 0 9px rgba(53,214,160,0); } 100% { box-shadow: 0 0 0 0 rgba(53,214,160,0); } }
    .perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
    .perk { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--ice); }
    .perk i { color: var(--mint); }
    .hero-art { position: relative; z-index: 1; align-self: end; }
    .hero-art img { width: 100%; height: auto; display: block; transform-origin: 50% 90%; animation: floaty 6s ease-in-out infinite; }
    @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

    /* ---------- logo marquee ---------- */
    .marquee { margin: 18px 0 4px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
    .marquee-track { display: flex; gap: 12px; width: max-content; animation: slide 34s linear infinite; }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    @keyframes slide { to { transform: translateX(-50%); } }
    .m-item { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; white-space: nowrap; }
    .m-item svg { width: 28px; height: 28px; }

    /* ---------- deck ---------- */
    .deck { margin-top: 16px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid var(--line-2); border-radius: 30px; padding: 14px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 90px rgba(0,0,0,.4); }
    .seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; border-radius: 20px; background: rgba(7,8,22,.6); border: 1px solid var(--line); --i: 0; }
    .seg-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 4); border-radius: 15px; background: var(--grad); box-shadow: 0 10px 26px rgba(124,107,255,.5); transform: translateX(calc(var(--i) * 100%)); transition: transform .4s cubic-bezier(.3,1.25,.5,1); }
    .tab-btn { position: relative; z-index: 1; border: none; background: transparent; color: var(--muted); height: 54px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 700; font-size: .74rem; transition: color .2s; }
    .tab-btn i { font-size: 1rem; }
    .tab-btn.active { color: #fff; }
    .content { display: none; padding: 20px 8px 10px; }
    .content.active { display: block; animation: rise .35s ease; }
    @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    .label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; letter-spacing: .02em; }

    /* ---------- provider tiles ---------- */
    .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-bottom: 20px; }
    .tile { position: relative; }
    .tile input { position: absolute; opacity: 0; pointer-events: none; }
    .tile-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 11px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line); cursor: pointer; user-select: none; transition: transform .22s cubic-bezier(.3,1.4,.5,1), border-color .2s, background .2s, box-shadow .2s; }
    .tile-body svg { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: transform .25s; }
    .tile-body b { font-size: .74rem; font-weight: 700; letter-spacing: .01em; color: var(--ice); }
    .tile:hover .tile-body { transform: translateY(-3px); border-color: var(--line-2); background: var(--surface-2); }
    .tile:hover svg { transform: scale(1.06) rotate(-3deg); }
    .tile input:checked + .tile-body { border-color: transparent; background: linear-gradient(var(--solid), var(--solid)) padding-box, var(--grad) border-box; box-shadow: 0 14px 34px rgba(124,107,255,.35); transform: translateY(-3px); }
    .tile input:checked + .tile-body b { color: #fff; }
    .tile input:checked + .tile-body::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #05281c; font-size: .62rem; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(53,214,160,.5); animation: pop2 .3s cubic-bezier(.3,1.6,.5,1); }
    @keyframes pop2 { from { transform: scale(0); } to { transform: scale(1); } }
    .tile input:focus-visible + .tile-body { outline: 2px solid var(--sky); outline-offset: 2px; }

    /* ---------- fields & buttons ---------- */
    .field { display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px; height: 64px; border-radius: 20px; background: rgba(7,8,22,.6); border: 1.5px solid var(--line-2); margin-bottom: 14px; transition: .2s; }
    .field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(124,107,255,.18); }
    .field > i { color: var(--sky); }
    .field input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; font-family: var(--font-mono); font-size: 1.12rem; letter-spacing: .05em; }
    .field input::placeholder { font-family: var(--font-body); letter-spacing: 0; color: #5f668e; font-size: .95rem; }
    .field .count { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); padding-right: 4px; }
    .field .clear { width: 36px; height: 36px; border-radius: 12px; border: none; background: transparent; color: var(--muted); }
    .field .clear:hover { background: var(--surface-2); color: var(--text); }
    .btn-main { position: relative; overflow: hidden; width: 100%; height: 58px; border: none; border-radius: 20px; color: #fff; font-weight: 800; font-size: .98rem; letter-spacing: .01em; background: var(--grad); display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 16px 36px rgba(124,107,255,.42); transition: transform .15s, filter .2s; }
    .btn-main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -90px; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
    @keyframes shine { 0%, 60% { left: -90px; } 100% { left: 120%; } }
    .btn-main:hover { filter: brightness(1.1); }
    .btn-main:active { transform: scale(.985); }
    .btn-main:disabled { opacity: .6; cursor: not-allowed; filter: grayscale(.4); }
    .btn-main:disabled::after { display: none; }
    .btn-amber { background: linear-gradient(135deg, #ffd166, #f59e0b); color: #2a1c00; box-shadow: 0 16px 36px rgba(245,158,11,.3); }
    .btn-line { background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: none; }
    .btn-line::after { display: none; }
    .btn-sm { height: 46px; font-size: .88rem; border-radius: 15px; }

    /* ---------- result ticket ---------- */
    .result-area { margin-top: 18px; display: grid; gap: 12px; }
    .ticket { position: relative; border-radius: 22px; padding: 16px 18px 16px 22px; background: rgba(7,8,22,.7); border: 1px solid var(--line-2); animation: rise .35s ease; overflow: hidden; }
    .ticket::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--muted); }
    .ticket::after { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(53,214,160,.18), transparent 70%); }
    .ticket.valid::before { background: var(--mint); }
    .ticket.invalid::before { background: var(--coral); }
    .ticket.invalid::after { background: radial-gradient(circle, rgba(255,107,129,.18), transparent 70%); }
    .t-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    .t-prov { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .8rem; color: var(--ice); }
    .pico { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; }
    .stamp { font-family: var(--font-mono); font-weight: 700; font-size: .72rem; padding: 4px 11px; border-radius: 9px; border: 1.5px solid; transform: rotate(-3deg); }
    .valid .stamp { color: var(--mint); border-color: var(--mint); background: rgba(53,214,160,.1); }
    .invalid .stamp { color: var(--coral); border-color: var(--coral); background: rgba(255,107,129,.1); }
    .t-name { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.25rem, 5vw, 1.75rem); line-height: 1.2; margin: 14px 0 6px; word-break: break-word; min-height: 1.2em; }
    .invalid .t-name { color: var(--coral); font-size: 1.05rem; font-weight: 600; }
    .t-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--line-2); padding-top: 11px; margin-top: 10px; }
    .t-no { font-family: var(--font-mono); font-size: .88rem; color: var(--sky); word-break: break-all; }
    .t-copy { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; height: 34px; padding: 0 13px; font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
    .t-copy:hover { border-color: var(--blue); }
    .scanning { padding: 14px; text-align: center; color: var(--ice); font-size: .9rem; }

    /* ---------- bulk ---------- */
    .modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 16px; background: rgba(7,8,22,.6); border: 1px solid var(--line); margin-bottom: 16px; }
    .modes button { height: 42px; border: none; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 700; font-size: .84rem; transition: .2s; }
    .modes button.on { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
    .drop { display: block; border: 2px dashed var(--line-2); border-radius: 24px; padding: 28px 18px; text-align: center; cursor: pointer; background: radial-gradient(circle at 50% 0, rgba(124,107,255,.12), transparent 70%); transition: .25s; }
    .drop:hover, .drop.over { border-color: var(--blue); background-color: rgba(124,107,255,.08); }
    .drop.over { transform: scale(1.015); }
    .drop .big { width: 60px; height: 60px; border-radius: 20px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.4rem; box-shadow: 0 12px 28px rgba(124,107,255,.45); animation: floaty 4s ease-in-out infinite; }
    .drop strong { display: block; font-size: 1rem; }
    .drop small { color: var(--muted); }
    .fmt { margin-top: 14px; text-align: left; background: rgba(7,8,22,.6); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; font-family: var(--font-mono); font-size: .78rem; color: var(--sky); line-height: 1.85; }
    .fmt em { font-style: normal; color: var(--muted); }
    .note { margin-top: 12px; font-size: .78rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
    .note i { color: var(--mint); margin-top: 3px; }
    .bhead { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
    .bhead .fname { font-weight: 700; font-size: .92rem; word-break: break-all; }
    .bhead .sub { color: var(--muted); font-size: .78rem; }
    .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
    .stat { background: rgba(7,8,22,.6); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
    .stat b { display: block; font-family: var(--font-mono); font-size: 1.3rem; }
    .stat span { font-size: .72rem; color: var(--muted); font-weight: 600; }
    .stat.ok b { color: var(--mint); } .stat.bad b { color: var(--coral); }
    .progress { height: 7px; border-radius: 999px; background: rgba(7,8,22,.7); border: 1px solid var(--line); overflow: hidden; margin-bottom: 12px; }
    .progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--sky), var(--mint)); transition: width .3s; }
    .rows { max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,8,22,.55); }
    .row { display: grid; grid-template-columns: 22px 34px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .82rem; }
    .row:last-child { border-bottom: none; }
    .row .st { text-align: center; color: var(--muted); }
    .row.ok .st { color: var(--mint); } .row.bad .st { color: var(--coral); } .row.run .st { color: var(--sky); }
    .row .p .pico { width: 30px; height: 30px; display: block; }
    .row .m { min-width: 0; }
    .row .m .n { font-family: var(--font-mono); color: var(--sky); font-size: .78rem; }
    .row .m .r { font-weight: 700; word-break: break-word; }
    .row.ok .r { color: #fff; } .row.bad .r { color: var(--coral); font-weight: 600; } .row.skip .r { color: var(--muted); font-weight: 500; }
    .actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
    .actions > * { flex: 1 1 140px; }
    .warnbox { margin: 10px 0; padding: 10px 14px; border-radius: 14px; font-size: .82rem; background: rgba(255,191,71,.09); border: 1px solid rgba(255,191,71,.35); color: #ffd98a; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
    .warnbox button { background: var(--amber); color: #2a1c00; border: none; border-radius: 10px; height: 32px; padding: 0 12px; font-weight: 800; font-size: .76rem; white-space: nowrap; }
    textarea { width: 100%; min-height: 150px; background: rgba(7,8,22,.6); border: 1.5px solid var(--line-2); border-radius: 20px; padding: 14px; resize: vertical; outline: none; margin-bottom: 14px; font-family: var(--font-mono); font-size: .9rem; }
    textarea:focus { border-color: var(--blue); }

    /* ---------- promo & footer ---------- */
    .promo { margin-top: 18px; position: relative; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-2); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
    .promo .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s, transform 1.2s; }
    .promo .slide.active { opacity: 1; transform: scale(1); }
    .promo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .promo .dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; }
    .promo .dots span { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.5); transition: .3s; cursor: pointer; }
    .promo .dots span.active { width: 26px; background: #fff; }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
    .footer-link-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 18px; text-decoration: none; font-weight: 700; font-size: .84rem; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: .2s; backdrop-filter: blur(10px); }
    .footer-link-btn:hover { border-color: var(--blue); transform: translateY(-2px); }

    /* ---------- modal ---------- */
    .modal { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(4,5,16,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
    .modal.show { display: flex; }
    .sheet { width: 100%; max-width: 430px; max-height: 92vh; overflow-y: auto; border-radius: 30px; padding: 26px; position: relative; background: linear-gradient(180deg, var(--solid-2), var(--solid)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0,0,0,.65); animation: pop .35s cubic-bezier(.2,1.2,.4,1); }
    @keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
    .sheet h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 8px; }
    .sheet p.lead { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
    .sheet .x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 11px; border: none; background: var(--surface-2); color: var(--muted); }
    .sheet .x:hover { color: var(--text); }
    .cancel { text-align: center; margin-top: 14px; color: var(--muted); font-size: .86rem; cursor: pointer; }
    .cancel:hover { color: var(--text); }
    .modal-field { margin-bottom: 14px; border: 1.5px solid var(--line-2); background: rgba(7,8,22,.6); border-radius: 16px; padding: 14px 16px; }
    .modal-field input { width: 100%; background: transparent; border: none; outline: none; }
    .packs { display: grid; gap: 10px; margin-bottom: 16px; }
    .pack { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 20px; border: 1.5px solid var(--line-2); background: rgba(7,8,22,.55); text-align: left; transition: .2s; width: 100%; }
    .pack:hover { border-color: var(--blue); }
    .pack.sel { border-color: var(--blue); background: rgba(124,107,255,.14); box-shadow: 0 0 0 4px rgba(124,107,255,.14); }
    .pack .cr { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
    .pack .cr small { font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--muted); margin-left: 4px; }
    .pack .pr { font-family: var(--font-mono); font-weight: 700; font-size: .95rem; }
    .pack .per { grid-column: 1 / -1; font-size: .76rem; color: var(--muted); }
    .pack .tag { position: absolute; top: -9px; right: 14px; background: var(--grad-warm); color: #fff; font-size: .66rem; font-weight: 800; padding: 2px 10px; border-radius: 99px; }
    .pack.custom { display: block; cursor: pointer; }
    .pack.custom .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
    .pack.custom .top b { font-family: var(--font-display); font-size: 1.05rem; }
    .cu-row { display: grid; grid-template-columns: 46px 1fr 46px; gap: 8px; }
    .cu-row button { height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 1rem; font-weight: 800; }
    .cu-row button:hover { border-color: var(--blue); }
    .cu-row input { height: 48px; width: 100%; min-width: 0; text-align: center; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(7,8,22,.7); outline: none; font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; }
    .cu-row input:focus { border-color: var(--blue); }
    .pack.custom .per.err { color: var(--coral); }
    .mlabel { font-size: .78rem; font-weight: 700; color: var(--muted); margin: 4px 2px 8px; letter-spacing: .02em; }
    .methods { display: grid; gap: 8px; margin-bottom: 16px; }
    .method { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; border-radius: 16px; border: 1.5px solid var(--line-2); background: rgba(7,8,22,.55); transition: .2s; }
    .method:hover { border-color: var(--blue); }
    .method.sel { border-color: var(--blue); background: rgba(124,107,255,.14); box-shadow: 0 0 0 4px rgba(124,107,255,.14); }
    .method .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--sky); font-size: 1.05rem; overflow: hidden; }
    .method .mi img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
    .method b { display: block; font-size: .92rem; }
    .method small { color: var(--muted); font-size: .72rem; }
    .method .ck { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: .6rem; color: transparent; }
    .method.sel .ck { background: var(--mint); border-color: var(--mint); color: #05281c; }
    .method.off { opacity: .45; }
    .method-note { font-size: .78rem; color: var(--amber); margin: -6px 2px 12px; }
    .vabox { text-align: left; margin-bottom: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(7,8,22,.55); border: 1px solid var(--line-2); display: grid; gap: 10px; }
    .vabox .k { font-size: .74rem; color: var(--muted); }
    .vabox .v { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; word-break: break-all; }
    .qrbox { background: #fff; border-radius: 22px; padding: 14px; width: 232px; height: 232px; margin: 0 auto 14px; display: grid; place-items: center; position: relative; }
    .qrbox img { width: 100%; height: 100%; object-fit: contain; }
    .qrbox::after { content: ""; position: absolute; left: 14px; right: 14px; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); top: 14px; animation: scan 2.4s ease-in-out infinite; }
    @keyframes scan { 0%,100% { top: 14px; opacity: 0; } 15%,85% { opacity: 1; } 50% { top: calc(100% - 16px); } }
    .paymeta { display: grid; gap: 6px; font-size: .86rem; margin-bottom: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(7,8,22,.55); border: 1px solid var(--line); }
    .paymeta div { display: flex; justify-content: space-between; gap: 10px; }
    .paymeta span:first-child { color: var(--muted); }
    .paymeta b { font-family: var(--font-mono); font-weight: 700; }
    .waiting { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: .84rem; color: var(--ice); margin-bottom: 12px; }
    .waiting i { animation: spin 1s linear infinite; }
    .success-ring { width: 86px; height: 86px; border-radius: 50%; margin: 6px auto 16px; display: grid; place-items: center; background: rgba(53,214,160,.12); border: 2px solid var(--mint); color: var(--mint); font-size: 2rem; animation: pulse-ok .7s cubic-bezier(.2,1.4,.4,1); }
    @keyframes pulse-ok { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
    .center { text-align: center; }
    .toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(110px); background: var(--solid-2); border: 1px solid var(--line-2); color: #fff; padding: 12px 18px; border-radius: 16px; font-size: .86rem; font-weight: 600; z-index: 12000; transition: .35s cubic-bezier(.2,1.1,.4,1); max-width: 92vw; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
    .toast.show { transform: translateX(-50%) translateY(0); }
    .spinner-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(4,5,16,.8); backdrop-filter: blur(8px); z-index: 11000; }
    .spinner-overlay.show { display: flex; }
    .spinner-ring { width: 48px; height: 48px; border-radius: 50%; border: 4px solid rgba(124,107,255,.2); border-top-color: var(--blue); animation: spin .85s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ----------  SYARAT & KETENTUAN ---------- */
/* ---------- POPUP SYARAT & KETENTUAN ---------- */
.tnc-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 14px; background: rgba(3,4,14,.82); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); z-index: 8500; }
.tnc-overlay.show { display: flex; }
.tnc-overlay.closing .tnc-box { animation: tncOut .35s ease both; }
@keyframes tncOut { to { opacity: 0; transform: translateY(16px) scale(.95); } }

.tnc-box { width: min(96vw, 760px); max-height: 94vh; display: flex; flex-direction: column; border-radius: 32px; padding: 32px 34px 28px; background: linear-gradient(180deg, var(--solid-2), var(--solid)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 60px rgba(124,107,255,.3); animation: pop .4s cubic-bezier(.2,1.2,.4,1); }

.tnc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tnc-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: rgba(255,191,71,.12); border: 1px solid rgba(255,191,71,.4); color: var(--amber); font-size: .92rem; font-weight: 800; letter-spacing: .04em; }
.tnc-pct { font-family: var(--font-mono); font-size: .95rem; color: var(--muted); }
.tnc-prog { height: 7px; border-radius: 99px; background: rgba(7,8,22,.7); border: 1px solid var(--line); overflow: hidden; margin-bottom: 18px; }
.tnc-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--sky), var(--mint)); transition: width .15s; }

.tnc-scroll-wrap { position: relative; min-height: 0; flex: 1; }
.tnc-scroll { max-height: 62vh; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 4px 16px 24px 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.tnc-scroll::-webkit-scrollbar { width: 7px; }
.tnc-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 9px; }
.tnc-hint { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: .86rem; font-weight: 700; color: var(--ice); background: linear-gradient(transparent, var(--solid) 85%); transition: opacity .3s; }
.tnc-hint i { margin-right: 8px; animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.tnc-hint.hide { opacity: 0; }

.tnc-sec { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px dashed var(--line-2); }
.tnc-sec:last-child { border-bottom: none; margin-bottom: 0; }
.tnc-sec h3 { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 14px; }
.tnc-sec p { color: #c9cdea; font-size: 1.12rem; line-height: 1.75; margin-bottom: 14px; }
.tnc-sec p b { color: #fff; }
.tnc-sec img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; border-radius: 16px; border: 1px solid var(--line-2); background: var(--ink); margin: 8px 0 4px; }
.tnc-code { display: inline-block; padding: 2px 11px; border-radius: 9px; font-family: var(--font-mono); font-weight: 700; color: var(--sky); background: rgba(56,182,255,.12); border: 1px solid rgba(56,182,255,.3); }

.tnc-sign { display: block; flex-shrink: 0; }
.tnc-sign.big { margin-bottom: 14px; }
.tnc-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tnc-title-row h3 { margin: 0; }

.tnc-check { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; cursor: pointer; user-select: none; background: rgba(7,8,22,.6); border: 1.5px solid var(--line-2); font-size: 1.05rem; font-weight: 600; margin: 16px 0; transition: .2s; }
.tnc-check:hover { border-color: var(--blue); }
.tnc-check.locked { opacity: .45; cursor: not-allowed; }
.tnc-check.locked:hover { border-color: var(--line-2); }
.tnc-check input { position: absolute; opacity: 0; pointer-events: none; }
.tnc-check .box { width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; font-size: .8rem; transition: .2s; }
.tnc-check input:checked + .box { background: var(--mint); border-color: var(--mint); color: #05281c; transform: scale(1.06); }
.tnc-check input:focus-visible + .box { outline: 2px solid var(--sky); outline-offset: 2px; }
.tnc-lock-note { font-size: .88rem; color: var(--amber); text-align: center; margin: -6px 0 12px; }
.tnc-box .btn-main { height: 64px; font-size: 1.05rem; }

@media (max-width: 620px) {
  .tnc-box { padding: 22px 18px 20px; border-radius: 26px; }
  .tnc-sec h3 { font-size: 1.3rem; }
  .tnc-sec p { font-size: 1.02rem; }
  .tnc-scroll { max-height: 60vh; }
}
    /* SEO */
    .seo-rich-block { margin-top: 30px; display: grid; gap: 14px; color: var(--muted); font-size: .9rem; }
    .seo-card { border: 1px solid var(--line); border-radius: 24px; padding: 22px; background: var(--surface); }
    .seo-card h2 { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); margin-bottom: 10px; letter-spacing: -.02em; }
    .seo-card h3 { font-size: .98rem; color: var(--ice); margin: 14px 0 4px; }
    .seo-card p, .seo-card ul { margin-bottom: 8px; }
    .seo-card ul { padding-left: 20px; } .seo-card li { margin-bottom: 5px; }

    .ts-wrapper { flex: 1; } .ts-control { background: transparent !important; border: none !important; box-shadow: none !important; color: var(--text) !important; font-size: 1rem; padding: 0 !important; }
    .ts-control input { color: var(--text) !important; }
    .ts-dropdown { background: var(--solid-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; border-radius: 16px; overflow: hidden; }
    .ts-dropdown .active { background: rgba(124,107,255,.25) !important; color: #fff !important; }
    .ts-control .item { color: var(--text) !important; }

    /* ---------- float sidebar produk digital ---------- */
    .float-store { position: fixed; left: 0; top: 50%; z-index: 9500; transform: translate(-115%, -50%); transition: transform .6s cubic-bezier(.2,1.1,.3,1); }
    .float-store.in { transform: translate(0, -50%); }
    .fs-link { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; text-decoration: none; color: #eaf4ff; background: linear-gradient(#0a1020, #0a1020) padding-box, linear-gradient(135deg, #00e5ff, #ff2bd6, #9dff00) border-box; border: 1.5px solid transparent; border-left: none; border-radius: 0 20px 20px 0; box-shadow: 0 12px 34px rgba(0,0,0,.55), 0 0 22px rgba(0,229,255,.22); transition: padding .3s, gap .3s, filter .2s; }
    .fs-link:hover { filter: brightness(1.15); }
    .fs-icon { width: 46px; height: 46px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255,43,214,.55)); animation: fsPulse 3.4s ease-in-out infinite; }
    @keyframes fsPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1) rotate(-3deg); } }
    .fs-text, .fs-ext { overflow: hidden; white-space: nowrap; transition: max-width .35s ease, opacity .25s ease; }
    .fs-text { display: flex; flex-direction: column; max-width: 170px; line-height: 1.2; }
    .fs-text b { font-size: .88rem; font-weight: 800; }
    .fs-text small { font-size: .66rem; color: #8da8c8; }
    .fs-ext { max-width: 14px; font-size: .72rem; color: #00e5ff; }
    .float-store.min .fs-link { gap: 0; padding-right: 8px; }
    .float-store.min .fs-text, .float-store.min .fs-ext { max-width: 0; opacity: 0; }
    .fs-toggle { position: absolute; top: -11px; right: -11px; width: 24px; height: 24px; border-radius: 50%; padding: 0; border: 1px solid rgba(255,255,255,.28); background: #0d1830; color: #00e5ff; font-size: .62rem; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
    .fs-toggle i { transition: transform .35s; }
    .float-store.min .fs-toggle i { transform: rotate(180deg); }

    @media (max-width: 620px) {
      .hero-card { grid-template-columns: 1fr; padding: 22px 18px 0; }
      .hero-art { width: 78%; margin: 6px auto 0; }
      .deck { padding: 10px; border-radius: 26px; }
      .content { padding: 16px 4px 8px; }
      .credit small { display: none; }
      .brand-name { font-size: 1rem; }
      .tiles { grid-template-columns: repeat(3, 1fr); }
      .fs-icon { width: 40px; height: 40px; }
      .fs-text b { font-size: .78rem; }
      .fs-text small { display: none; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    }

    /* ----------  KONFIRMASI  ---------- */
.electric-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.electric-confirm-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.electric-confirm-box {
  width: min(92vw, 390px);
  background: radial-gradient(circle at center, rgba(14, 18, 48, 0.98) 20%, rgba(5, 7, 22, 0.98) 100%);
  border: 2px solid #00f0ff;
  border-radius: 26px;
  padding: 26px 22px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7),
              0 0 60px rgba(124, 107, 255, 0.5),
              inset 0 0 20px rgba(0, 240, 255, 0.3);
  transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.18, 1.4, 0.3, 1);
}

.electric-confirm-overlay.show .electric-confirm-box {
  transform: scale(1);
  animation: electricArc 1.2s infinite alternate, electricJitter 0.12s infinite;
}

@keyframes electricArc {
  0% {
    border-color: #00f0ff;
    box-shadow: 0 0 20px #00f0ff, 0 0 50px rgba(0, 140, 255, 0.6), inset 0 0 15px rgba(0, 240, 255, 0.4);
  }
  35% {
    border-color: #7c6bff;
    box-shadow: 0 0 30px #7c6bff, 0 0 70px rgba(124, 107, 255, 0.8), inset 0 0 25px rgba(124, 107, 255, 0.5);
  }
  70% {
    border-color: #ff5fa2;
    box-shadow: 0 0 25px #ff5fa2, 0 0 60px rgba(255, 95, 162, 0.7), inset 0 0 20px rgba(255, 95, 162, 0.4);
  }
  100% {
    border-color: #38b6ff;
    box-shadow: 0 0 35px #00ffff, 0 0 85px rgba(0, 255, 255, 0.9), inset 0 0 30px rgba(0, 255, 255, 0.6);
  }
}

@keyframes electricJitter {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.006) translate(0.5px, -0.5px); }
}

.electric-confirm-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: rgba(0, 240, 255, 0.12);
  border: 1.5px solid rgba(0, 240, 255, 0.6);
  color: #ffbf47;
  font-size: 1.7rem;
  box-shadow: 0 0 25px rgba(255, 191, 71, 0.6), inset 0 0 12px rgba(255, 191, 71, 0.3);
  animation: boltSpark 0.5s infinite alternate;
}

@keyframes boltSpark {
  from { filter: drop-shadow(0 0 6px #ffbf47); transform: scale(0.94); }
  to { filter: drop-shadow(0 0 16px #fff) drop-shadow(0 0 26px #00f0ff); transform: scale(1.1) rotate(6deg); }
}

.electric-confirm-msg {
  color: #f1f3ff;
  font-family: var(--font-body), sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 22px;
  word-break: break-word;
}

.electric-confirm-actions {
  display: flex;
  gap: 10px;
}

.electric-btn-cancel {
  flex: 1;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line-2, rgba(255,255,255,0.2));
  background: rgba(255,255,255,0.06);
  color: var(--muted, #9aa1c7);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: .2s;
}
.electric-btn-cancel:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.electric-btn-ok {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #7c6bff, #38b6ff);
  box-shadow: 0 0 20px rgba(56, 182, 255, 0.5);
  cursor: pointer;
  transition: filter .2s, transform .15s;
}
.electric-btn-ok:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.8);
}
.electric-btn-ok:active {
  transform: scale(0.97);
}

   /* ---------- NOTIF CEK NAWALA ---------- */
.nawala-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 9000;
  width: min(94vw, 560px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 18px;
  background: linear-gradient(var(--solid-2), var(--solid)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 24px rgba(124,107,255,.25);
  animation: nawalaIn .6s cubic-bezier(.2,1.1,.3,1) both;
}
.nawala-bar .nw-ic {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-warm); color: #fff; font-size: .9rem;
}
.nawala-bar .nw-txt { flex: 1; min-width: 0; font-size: .82rem; font-weight: 600; line-height: 1.35; color: var(--text); }
.nawala-bar .nw-txt a { color: var(--sky); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.nawala-bar .nw-txt a:hover { color: var(--ice); }
.nawala-bar .nw-x {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 10px; border: none;
  background: var(--surface-2); color: var(--muted); display: grid; place-items: center; font-size: .75rem;
}
.nawala-bar .nw-x:hover { color: var(--text); }
@keyframes nawalaIn { from { opacity: 0; transform: translateX(-50%) translateY(30px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@media (max-width: 620px) { .nawala-bar .nw-txt { font-size: .76rem; } }

    /* ================= CIHUY ================= */
    .devtools-fullscreen-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #000 !important;
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  touch-action: none;
}
.devtools-fullscreen-overlay video {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  object-fit: cover !important;
  pointer-events: none;
}

#accessModal { z-index: 9800; }

.tile-body img { width: 52px; height: 52px; border-radius: 15px; object-fit: contain; background: #fff; padding: 5px; box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: transform .25s; }
.tile:hover img { transform: scale(1.06) rotate(-3deg); }
.m-item img { width: 28px; height: 28px; border-radius: 9px; object-fit: contain; background: #fff; padding: 2px; }
img.pico { width: 30px; height: 30px; border-radius: 9px; object-fit: contain; background: #fff; padding: 2px; flex-shrink: 0; }
.row .p img.pico { display: block; }