/* =====================================================================
   Earnice — Design System v3
   Palette : ink / paper / indigo (aksi) / mint (uang) / amber / rose
   Type    : Plus Jakarta Sans (UI) + JetBrains Mono (semua angka & slug)
   Prinsip : angka adalah subjek situs ini, jadi angka punya typeface sendiri.
   ===================================================================== */

:root {
    --ink:         #0B1220;
    --ink-2:       #16203A;
    --paper:       #F5F6F8;
    --surface:     #FFFFFF;
    --line:        #E7EAF0;
    --line-2:      #D9DEE8;
    --text:        #111827;
    --muted:       #6B7280;
    --faint:       #9AA3B2;

    --indigo:      #3B4EF0;
    --indigo-dark: #2E3ED6;
    --indigo-soft: #EDEFFE;
    --mint:        #00A870;
    --mint-dark:   #008F5F;
    --mint-soft:   #E4F6EE;
    --amber:       #C77700;
    --amber-soft:  #FBF1E0;
    --rose:        #D93A43;
    --rose-soft:   #FBEAEB;

    --r-xl: 20px;
    --r-lg: 16px;
    --r-md: 11px;
    --r-sm: 8px;

    --rail: 244px;
    --topbar: 60px;

    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --bs-body-color: var(--text);
    --bs-body-bg: var(--paper);
    --bs-border-color: var(--line);
    --bs-border-radius: var(--r-md);
    --bs-link-color: var(--indigo);
    --bs-link-hover-color: var(--indigo-dark);
    --bs-primary: #3B4EF0;
    --bs-primary-rgb: 59, 78, 240;
}

* { box-sizing: border-box; }

body {
    font-family: var(--bs-body-font-family);
    background: var(--paper);
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Angka: monospace + tabular ---------- */
.num, .money, .slug, .metric__value, .slab__amount {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
    letter-spacing: -.02em;
}

.slug {
    display: inline-block;
    background: var(--indigo-soft);
    color: var(--indigo-dark);
    border-radius: var(--r-sm);
    padding: 1px 7px;
    font-size: .84em;
    font-weight: 600;
    text-decoration: none;
}
a.slug:hover { background: var(--indigo); color: #fff; }

.text-money { color: var(--mint-dark) !important; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.eyebrow {
    font-size: .68rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--faint);
}

/* =====================================================================
   Shell
   ===================================================================== */
.app-topbar {
    position: sticky; top: 0; z-index: 1040;
    height: var(--topbar);
    background: rgba(255,255,255,.88);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center;
    padding: 0 16px; gap: 12px;
}
.brand {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 800; font-size: 1.06rem; letter-spacing: -.03em;
    color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 3px var(--mint-soft);
}
.brand__tag {
    font-size: .6rem; font-weight: 800; letter-spacing: .1em;
    background: var(--ink); color: #fff;
    padding: 2px 6px; border-radius: 5px; margin-left: 2px;
}

.balance-chip {
    display: inline-flex; align-items: baseline; gap: 8px;
    background: var(--ink); color: #fff;
    border-radius: 999px; padding: 6px 14px;
    font-size: .85rem; text-decoration: none;
}
.balance-chip:hover { background: var(--ink-2); color: #fff; }
.balance-chip small { color: rgba(255,255,255,.6); font-size: .74rem; }

.icon-btn {
    border: 1px solid var(--line); background: var(--surface);
    width: 38px; height: 38px; border-radius: var(--r-md);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text); font-size: 1.1rem; cursor: pointer;
}
.icon-btn:hover { background: var(--paper); }

.app-shell { display: flex; min-height: calc(100vh - var(--topbar)); }

.app-rail {
    width: var(--rail); flex-shrink: 0;
    background: var(--surface);
    border-right: 1px solid var(--line);
    padding: 16px 12px;
    display: flex; flex-direction: column; gap: 3px;
}
.rail-group { margin: 14px 8px 6px; }
.rail-link {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 12px; border-radius: var(--r-md);
    color: #4B5563; text-decoration: none;
    font-weight: 600; font-size: .9rem;
    transition: background .14s, color .14s;
}
.rail-link i { font-size: 1.05rem; width: 20px; text-align: center; color: var(--faint); }
.rail-link:hover { background: var(--paper); color: var(--text); }
.rail-link:hover i { color: var(--muted); }
.rail-link.is-active { background: var(--indigo); color: #fff; }
.rail-link.is-active i { color: #fff; }
.rail-link.is-danger:hover { background: var(--rose-soft); color: var(--rose); }
.rail-link.is-danger:hover i { color: var(--rose); }
.rail-spacer { flex: 1; }

.app-main { flex: 1; min-width: 0; }
.app-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 18px 40px; }

.page-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.page-head h1 { font-size: 1.5rem; margin: 0; }
.page-head p { color: var(--muted); margin: 3px 0 0; font-size: .9rem; }

.app-foot { text-align: center; color: var(--faint); font-size: .78rem; padding: 26px 0 4px; }

.tabbar { display: none; }

@media (max-width: 991.98px) {
    .app-rail {
        position: fixed; top: var(--topbar); bottom: 0; left: calc(-1 * var(--rail) - 8px);
        z-index: 1050; transition: left .22s ease; overflow-y: auto;
        box-shadow: 8px 0 30px rgba(11,18,32,.14);
    }
    .app-rail.is-open { left: 0; }
    .rail-backdrop {
        display: none; position: fixed; inset: var(--topbar) 0 0 0;
        background: rgba(11,18,32,.42); z-index: 1045;
    }
    .rail-backdrop.is-open { display: block; }
    .app-wrap { padding: 16px 13px 92px; }

    .tabbar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
        background: rgba(255,255,255,.94);
        backdrop-filter: saturate(180%) blur(12px);
        border-top: 1px solid var(--line);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    }
    .tabbar a {
        flex: 1; text-align: center; text-decoration: none;
        color: var(--faint); font-size: .66rem; font-weight: 700;
        padding: 4px 2px; border-radius: var(--r-sm);
        display: flex; flex-direction: column; align-items: center; gap: 2px;
    }
    .tabbar a i { font-size: 1.24rem; }
    .tabbar a.is-active { color: var(--indigo); }
}

/* =====================================================================
   Kartu & panel
   ===================================================================== */
.card, .panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: none;
}
.panel { padding: 18px; }
.panel--tight { padding: 14px; }
.panel__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.panel__head h2 { font-size: .98rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.panel__head h2 i { color: var(--faint); }

/* Slab: panel saldo bergaya struk */
.slab {
    background: var(--ink); color: #fff;
    border-radius: var(--r-lg); padding: 20px;
    position: relative; overflow: hidden; height: 100%;
    display: flex; flex-direction: column;
}
.slab::after {
    content: ''; position: absolute; right: -50px; top: -60px;
    width: 190px; height: 190px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,168,112,.30), transparent 68%);
}
.slab > * { position: relative; z-index: 1; }
.slab__label {
    font-size: .68rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.5);
}
.slab__amount { font-size: 2.1rem; font-weight: 700; line-height: 1.15; margin-top: 6px; }
.slab__sub { color: rgba(255,255,255,.72); font-size: .95rem; }
.slab__rule {
    border-top: 1px dashed rgba(255,255,255,.22);
    margin: 14px 0 10px; padding-top: 10px;
    display: flex; justify-content: space-between; gap: 10px;
    font-size: .76rem; color: rgba(255,255,255,.6);
}
.btn-cash {
    background: var(--mint); color: #fff; border: none;
    border-radius: var(--r-md); padding: 9px 16px;
    font-weight: 700; font-size: .87rem; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.btn-cash:hover { background: var(--mint-dark); color: #fff; }
.btn-cash.is-off { background: rgba(255,255,255,.10); color: rgba(255,255,255,.55); pointer-events: none; }
.spark { display: block; width: 100%; height: 34px; margin-top: 6px; }

.metric {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 16px; height: 100%;
}
.metric__icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem; margin-bottom: 12px;
}
.i-indigo { background: var(--indigo-soft); color: var(--indigo); }
.i-mint   { background: var(--mint-soft);   color: var(--mint-dark); }
.i-amber  { background: var(--amber-soft);  color: var(--amber); }
.i-rose   { background: var(--rose-soft);   color: var(--rose); }
.i-ink    { background: #EAECF2;            color: var(--ink); }
.metric__label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.metric__value { font-size: 1.42rem; font-weight: 700; line-height: 1.2; margin-top: 1px; }
.metric__foot { font-size: .76rem; color: var(--faint); margin-top: 3px; }

/* =====================================================================
   Form & tombol
   ===================================================================== */
.form-label { font-size: .8rem; font-weight: 700; color: #374151; margin-bottom: 5px; }
.form-control, .form-select {
    border: 1px solid var(--line-2); border-radius: var(--r-md);
    padding: 9px 12px; font-size: .9rem; color: var(--text); background: var(--surface);
}
.form-control:focus, .form-select:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3.5px rgba(59,78,240,.13);
}
.form-control::placeholder { color: var(--faint); }
.form-text { font-size: .76rem; color: var(--muted); }

.btn { border-radius: var(--r-md); font-weight: 700; font-size: .88rem; padding: 9px 16px; }
.btn-sm { padding: 6px 11px; font-size: .8rem; border-radius: var(--r-sm); }
.btn-primary { background: var(--indigo); border-color: var(--indigo); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--indigo-dark); border-color: var(--indigo-dark); }
.btn-money { background: var(--mint); border-color: var(--mint); color: #fff; }
.btn-money:hover { background: var(--mint-dark); border-color: var(--mint-dark); color: #fff; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-quiet { background: var(--surface); border: 1px solid var(--line-2); color: #374151; }
.btn-quiet:hover { background: var(--paper); color: var(--text); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

.composer { display: flex; gap: 9px; flex-wrap: wrap; }
.composer .form-control { flex: 1 1 260px; height: 46px; font-size: .95rem; }
.composer .btn { height: 46px; padding-inline: 22px; }

.copybox {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--mint-soft); border: 1px solid #C9E9DC;
    border-radius: var(--r-md); padding: 10px 12px; margin-top: 13px; flex-wrap: wrap;
}
.copybox a { color: var(--mint-dark); font-weight: 700; text-decoration: none; word-break: break-all; }

/* =====================================================================
   Tabel
   ===================================================================== */
.table-wrap {
    border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow-x: auto; background: var(--surface);
}
.table-wrap .table { margin: 0; font-size: .86rem; }
.table > :not(caption) > * > * { padding: 11px 14px; background: transparent; }
.table thead th {
    background: #FAFBFC; color: var(--muted);
    font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table tbody td { border-bottom: 1px solid #F0F2F6; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #FBFCFD; }
.table tfoot td { background: #FAFBFC; font-weight: 700; border-top: 1px solid var(--line); }
.table .trunc { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table .num { font-size: .84rem; }

.chip {
    display: inline-block; padding: 3px 9px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.chip--mint   { background: var(--mint-soft);   color: var(--mint-dark); }
.chip--amber  { background: var(--amber-soft);  color: var(--amber); }
.chip--rose   { background: var(--rose-soft);   color: var(--rose); }
.chip--ink    { background: #EAECF2;            color: var(--ink); }
.chip--indigo { background: var(--indigo-soft); color: var(--indigo-dark); }

/* Pagination */
.pager {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin-top: 14px;
}
.pager__info { font-size: .8rem; color: var(--muted); }
.pager__list { display: flex; gap: 4px; flex-wrap: wrap; }
.pager__list a, .pager__list span {
    min-width: 34px; height: 34px; padding: 0 9px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-2); border-radius: var(--r-sm);
    background: var(--surface); color: #374151;
    font-size: .82rem; font-weight: 700; text-decoration: none;
}
.pager__list a:hover { background: var(--paper); }
.pager__list .is-current { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.pager__list .is-gap { border: none; background: none; color: var(--faint); min-width: 20px; }
.pager__list .is-off { opacity: .42; pointer-events: none; }

.empty { text-align: center; padding: 34px 18px; }
.empty i { font-size: 2rem; color: var(--line-2); }
.empty h3 { font-size: .98rem; margin: 12px 0 4px; }
.empty p { color: var(--muted); font-size: .87rem; margin: 0 0 14px; }

.note {
    border: 1px solid var(--line); border-left: 3px solid var(--faint);
    background: var(--surface); border-radius: var(--r-md);
    padding: 11px 14px; font-size: .87rem; margin-bottom: 14px;
}
.note--ok    { border-left-color: var(--mint);   background: var(--mint-soft);   border-color: #C9E9DC; }
.note--warn  { border-left-color: var(--amber);  background: var(--amber-soft);  border-color: #F0DFBE; }
.note--error { border-left-color: var(--rose);   background: var(--rose-soft);   border-color: #F2D3D5; }
.note--info  { border-left-color: var(--indigo); background: var(--indigo-soft); border-color: #D9DEFB; }
.note a { font-weight: 700; }

.data-list { list-style: none; margin: 0; padding: 0; }
.data-list li {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 9px 0; border-bottom: 1px solid #F0F2F6; font-size: .87rem;
}
.data-list li:last-child { border-bottom: none; }
.data-list span { color: var(--muted); }
.data-list strong { font-weight: 700; text-align: right; word-break: break-word; }

/* =====================================================================
   Chat
   ===================================================================== */
.chat {
    height: 380px; overflow-y: auto; padding: 14px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-md); display: flex; flex-direction: column; gap: 9px;
}
.bubble { max-width: 84%; align-self: flex-start; }
.bubble__body {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: .87rem;
    word-wrap: break-word; overflow-wrap: anywhere;
}
.bubble__who { font-size: .74rem; font-weight: 800; color: var(--indigo); margin-bottom: 2px; }
.bubble__meta { font-size: .68rem; color: var(--faint); margin-top: 3px; display: flex; gap: 9px; align-items: center; }
.bubble__meta button {
    border: none; background: none; padding: 0; color: var(--indigo);
    font-size: .68rem; font-weight: 700; cursor: pointer;
}
.bubble__quote {
    border-left: 2px solid var(--line-2); padding-left: 8px;
    font-size: .76rem; color: var(--muted); margin-bottom: 4px;
}
.bubble.is-mine { align-self: flex-end; }
.bubble.is-mine .bubble__body { background: var(--indigo); border-color: var(--indigo); color: #fff; border-radius: 14px 14px 4px 14px; }
.bubble.is-mine .bubble__who { display: none; }
.bubble.is-mine .bubble__quote { border-left-color: rgba(255,255,255,.45); color: rgba(255,255,255,.85); }
.bubble.is-mine .bubble__meta { justify-content: flex-end; }

.reply-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--indigo-soft); border-radius: var(--r-sm);
    padding: 6px 10px; font-size: .78rem; color: var(--indigo-dark); margin-bottom: 8px;
}

.ticker { max-height: 400px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.ticker__row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 12px;
    animation: fade-up .3s ease both;
}
.ticker__row:first-child { border-color: #C9E9DC; background: var(--mint-soft); }
.ticker__who { font-weight: 700; font-size: .86rem; }
.ticker__offer { font-size: .74rem; color: var(--muted); }
.ticker__amt { font-weight: 700; color: var(--mint-dark); font-size: .92rem; }
.ticker__time { font-size: .7rem; color: var(--faint); }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Auth
   ===================================================================== */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; align-items: center; background: var(--paper); }
.auth__aside { display: none; }
.auth__panel { width: 100%; max-width: 420px; margin: 0 auto; padding: 30px 20px; }
.auth__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; }
.auth__card h1 { font-size: 1.32rem; margin: 0 0 4px; }
.auth__card .sub { color: var(--muted); font-size: .87rem; margin-bottom: 20px; }

@media (min-width: 992px) {
    .auth { grid-template-columns: 1.05fr 1fr; }
    .auth__aside {
        display: flex; flex-direction: column; justify-content: center;
        background: var(--ink); color: #fff; min-height: 100vh; padding: 56px;
        position: relative; overflow: hidden;
    }
    .auth__aside::after {
        content: ''; position: absolute; left: -90px; bottom: -120px;
        width: 380px; height: 380px; border-radius: 50%;
        background: radial-gradient(circle, rgba(0,168,112,.28), transparent 66%);
    }
    .auth__aside > * { position: relative; z-index: 1; }
    .auth__aside h2 { color: #fff; font-size: 2.05rem; line-height: 1.22; max-width: 460px; }
    .auth__aside p { color: rgba(255,255,255,.68); max-width: 420px; }
}
.auth__stats { display: flex; gap: 26px; margin-top: 30px; }
.auth__stats span { display: block; font-size: .7rem; color: rgba(255,255,255,.5); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.auth__stats strong { font-size: 1.28rem; }

/* =====================================================================
   Landing
   ===================================================================== */
.land-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; max-width: 1160px; margin: 0 auto; }
.hero { max-width: 1160px; margin: 0 auto; padding: 34px 22px 56px; }
.hero__grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.05rem); line-height: 1.08; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--mint-dark); }
.hero .lead { color: var(--muted); font-size: 1.02rem; max-width: 520px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero__demo { background: var(--ink); border-radius: var(--r-xl); padding: 22px; color: #fff; position: relative; overflow: hidden; }
.hero__demo::after {
    content: ''; position: absolute; right: -70px; top: -70px;
    width: 230px; height: 230px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,168,112,.30), transparent 68%);
}
.demo-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.16);
    position: relative; z-index: 1; font-size: .88rem;
}
.demo-row:last-child { border-bottom: none; }
.demo-row span { color: rgba(255,255,255,.6); }
@media (min-width: 992px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__inner { max-width: 1160px; margin: 0 auto; padding: 52px 22px; }
.step__n {
    font-family: 'JetBrains Mono', monospace; font-size: .78rem; font-weight: 700;
    color: var(--indigo); background: var(--indigo-soft);
    width: 30px; height: 30px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 11px;
}
.step h3 { font-size: 1rem; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: .89rem; margin: 0; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    padding: 16px 0; font-weight: 700; font-size: .95rem; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\002B'; color: var(--faint); font-weight: 400; font-size: 1.2rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--muted); font-size: .89rem; padding: 0 0 16px; margin: 0; max-width: 720px; }

/* =====================================================================
   Halaman quest (redirect)
   ===================================================================== */
.quest-page { background: var(--paper); min-height: 100vh; }
.quest-wrap { max-width: 820px; margin: 0 auto; padding: 22px 16px 50px; }
.quest-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.quest-steps { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; color: var(--faint); }
.quest-steps .on { color: var(--indigo); }
.quest-steps .line { width: 26px; height: 2px; background: var(--line-2); }

.quest-hero { text-align: center; margin-bottom: 22px; }
.quest-hero h1 { font-size: clamp(1.3rem, 4vw, 1.8rem); margin-bottom: 8px; }
.quest-hero p { color: var(--muted); margin: 0; font-size: .93rem; }

.offer-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
.offer {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 16px; display: flex; flex-direction: column; gap: 9px;
    transition: border-color .15s, transform .15s;
}
.offer:hover { border-color: var(--indigo); transform: translateY(-2px); }
.offer__n { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 700; color: var(--faint); }
.offer h3 { font-size: .95rem; margin: 0; line-height: 1.35; }
.offer p { font-size: .82rem; color: var(--muted); margin: 0; flex: 1; }
.offer .btn { width: 100%; }
.offer.is-locked { opacity: .42; }

.quest-wait {
    display: flex; align-items: center; gap: 12px;
    background: var(--ink); color: #fff; border-radius: var(--r-lg);
    padding: 15px 18px; margin-top: 20px; font-size: .88rem;
}
.quest-wait .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); animation: pulse 1.3s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang-switch a { padding: 4px 11px; font-size: .74rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang-switch a.is-active { background: var(--ink); color: #fff; }

.skel { background: linear-gradient(90deg, #EEF0F4 25%, #F7F8FA 50%, #EEF0F4 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-lg); height: 132px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
