/*
 * EatOut Wellness Ambassador — gamified creator dashboard.
 * Mobile-first, dark wellness aesthetic with glassmorphism + glow.
 * Withdrawal-drawer styles at the bottom of this file are preserved verbatim
 * because the existing slide-over template still depends on them.
 */

:root {
    --eo-nav-h: 76px;
    --eo-green: #16a34a;
    --eo-green-soft: #f0fdf4;
    --eo-text: #0f172a;
    --eo-muted: #64748b;
    --eo-border: #e2e8f0;
}

body.eatout-ambassador-app {
    margin: 0;
    background: #060b14;
    color: #f3f6fb;
    -webkit-font-smoothing: antialiased;
}
body.eatout-ambassador-app .site-header,
body.eatout-ambassador-app header,
body.eatout-ambassador-app footer,
body.eatout-ambassador-app .site-footer { display: none !important; }
body.eatout-ambassador-app #content,
body.eatout-ambassador-app #main,
body.eatout-ambassador-app .site-content,
body.eatout-ambassador-app .entry-content {
    margin: 0 !important; padding: 0 !important;
    max-width: none !important; width: 100% !important;
}

.eo-amb-app, .eo-amb-app * { box-sizing: border-box; }

.eo-amb-app {
    position: relative;
    min-height: 100vh;
    padding-bottom: calc(var(--eo-nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,94,0.15), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(14,165,233,0.12), transparent 60%),
        linear-gradient(180deg, #060b14 0%, #0a1422 100%);
}

.eo-amb-app__loading {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh; color: #cbd5e1;
}
.eo-amb-spinner {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #22c55e;
    animation: eo-spin 0.9s linear infinite;
    margin-bottom: 14px;
}
@keyframes eo-spin { to { transform: rotate(360deg); } }

.eo-amb-app__main {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px;
}

.eo-amb-panel { display: none; }
.eo-amb-panel.is-active { display: block; }
.eo-amb-panel.is-entering {
    animation: eo-fadein 0.32s ease both;
}
@keyframes eo-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   Hero / identity card
   ───────────────────────────────────────────── */
.eo-amb-hero {
    position: relative;
    margin: 16px 0 14px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.eo-amb-hero__bg { position: absolute; inset: -40px; pointer-events: none; }
.eo-amb-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.55;
}
.eo-amb-hero__blob--1 { width: 220px; height: 220px; left: -40px; top: -40px; background: rgba(34,197,94,0.6); }
.eo-amb-hero__blob--2 { width: 200px; height: 200px; right: -40px; bottom: -40px; background: rgba(14,165,233,0.55); }

.eo-amb-hero__inner { position: relative; z-index: 1; }
.eo-amb-hero__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.eo-amb-hero__avatar {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 22px;
    box-shadow: 0 10px 24px rgba(34,197,94,0.45);
    flex: 0 0 56px;
}
.eo-amb-hero__avatar-letter { line-height: 1; }
.eo-amb-hero__avatar-badge {
    position: absolute; right: -4px; bottom: -4px;
    width: 22px; height: 22px; border-radius: 50%;
    background: #f59e0b; color: #422006;
    font-size: 12px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #0a1422;
}
.eo-amb-hero__level {
    font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
    color: #86efac; text-transform: uppercase;
    margin-bottom: 4px;
}
.eo-amb-hero__id h1 {
    margin: 0; font-size: 22px; font-weight: 800; color: #f8fafc;
    line-height: 1.15;
}
.eo-amb-hero__id p {
    margin: 4px 0 0; font-size: 13px; color: #94a3b8;
}

.eo-amb-hero__chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 14px;
}
.eo-amb-chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 12px; color: #e2e8f0;
}
.eo-amb-chip strong { color: #fff; font-weight: 800; margin: 0 2px; }

.eo-amb-tierbar { margin-bottom: 16px; }
.eo-amb-tierbar__head {
    display: flex; justify-content: space-between;
    font-size: 11px; color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.eo-amb-tierbar__rail {
    width: 100%; height: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
}
.eo-amb-tierbar__fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #0ea5e9);
    box-shadow: 0 0 10px rgba(34,197,94,0.7);
    transition: width 0.6s cubic-bezier(0.34,1.56,0.64,1);
}

.eo-amb-hero__cta {
    width: 100%;
    padding: 16px;
    border: 0; border-radius: 18px;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #fff; font-weight: 700; font-size: 16px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(34,197,94,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.18s ease;
}
.eo-amb-hero__cta:hover { transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   Metric cards
   ───────────────────────────────────────────── */
.eo-amb-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 0 18px;
}
.eo-amb-metric {
    position: relative;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.eo-amb-metric::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.6;
}
.eo-amb-metric--mint   { color: #22c55e; }
.eo-amb-metric--sky    { color: #0ea5e9; }
.eo-amb-metric--violet { color: #a78bfa; }
.eo-amb-metric--amber  { color: #f59e0b; }

.eo-amb-metric__icon { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.eo-amb-metric__label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
    color: #94a3b8; font-weight: 700;
}
.eo-amb-metric__value {
    font-size: 22px; font-weight: 800;
    color: #ffffff;
    margin-top: 4px;
    line-height: 1.1;
    text-shadow: 0 0 12px currentColor;
}
.eo-amb-metric__sub {
    margin-top: 6px;
    font-size: 11px; color: #94a3b8; line-height: 1.35;
}
@media (min-width: 480px) {
    .eo-amb-metrics { grid-template-columns: repeat(4, 1fr); }
}

/* ─────────────────────────────────────────────
   Sections + quests
   ───────────────────────────────────────────── */
.eo-amb-section { margin-bottom: 22px; }
.eo-amb-section__head, .eo-amb-section h2 {
    margin: 0 0 12px;
    font-size: 16px; font-weight: 800; color: #f1f5f9;
    display: flex; justify-content: space-between; align-items: center;
}
.eo-amb-section__head span {
    font-size: 11px; font-weight: 700; color: #86efac;
    text-transform: uppercase; letter-spacing: 0.08em;
}

.eo-amb-quests { display: grid; gap: 10px; grid-template-columns: 1fr; }
.eo-amb-quest {
    display: flex; gap: 14px; align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.eo-amb-quest.is-done {
    background: rgba(34,197,94,0.1);
    border-color: rgba(34,197,94,0.3);
}
.eo-amb-quest__ring { position: relative; flex: 0 0 56px; }
.eo-amb-quest__ring-num {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #f1f5f9;
}
.eo-amb-quest__title { font-size: 14px; font-weight: 700; color: #f1f5f9; }
.eo-amb-quest__reward { font-size: 12px; color: #cbd5e1; margin-top: 3px; }
.eo-amb-quest__timer  { margin-top: 6px; font-size: 11px; color: #94a3b8; }
.eo-amb-quest__done   { margin-top: 6px; font-size: 11px; color: #22c55e; font-weight: 800; }

/* ─────────────────────────────────────────────
   Achievements
   ───────────────────────────────────────────── */
.eo-amb-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
@media (min-width: 480px) {
    .eo-amb-achievements { grid-template-columns: repeat(4, 1fr); }
}
.eo-amb-ach {
    position: relative;
    text-align: center;
    padding: 14px 8px 10px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #94a3b8;
    transition: transform 0.2s ease, background 0.2s ease;
    overflow: hidden;
    min-height: 130px;
}
.eo-amb-ach.is-on {
    background: linear-gradient(180deg, rgba(34,197,94,0.18), rgba(14,165,233,0.12));
    border-color: rgba(34,197,94,0.4);
    color: #f1f5f9;
    box-shadow: 0 0 24px rgba(34,197,94,0.25);
    animation: eo-ach-pop 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes eo-ach-pop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.eo-amb-ach__emoji { font-size: 30px; line-height: 1; margin-bottom: 6px; filter: grayscale(1); opacity: 0.6; transition: filter 0.3s ease, opacity 0.3s ease; }
.eo-amb-ach.is-on .eo-amb-ach__emoji { filter: none; opacity: 1; }
.eo-amb-ach__title  { font-size: 12px; font-weight: 700; color: inherit; line-height: 1.2; }
.eo-amb-ach__desc   { font-size: 10px; color: #64748b; margin-top: 4px; line-height: 1.3; min-height: 26px; }
.eo-amb-ach.is-on .eo-amb-ach__desc { color: #cbd5e1; }
.eo-amb-ach__badge {
    margin-top: 6px;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background: #22c55e; color: #052e16;
    font-size: 9px; font-weight: 900; letter-spacing: 0.08em;
}
.eo-amb-ach__locked { margin-top: 6px; opacity: 0.4; }

/* ─────────────────────────────────────────────
   Mission strip + cta row
   ───────────────────────────────────────────── */
.eo-amb-mission {
    display: flex; gap: 14px; align-items: center;
    padding: 16px;
    margin: 0 0 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(14,165,233,0.1));
    border: 1px solid rgba(34,197,94,0.2);
}
.eo-amb-mission__emoji { font-size: 30px; line-height: 1; }
.eo-amb-mission h3 { margin: 0 0 4px; font-size: 14px; color: #86efac; font-weight: 800; }
.eo-amb-mission p  { margin: 0; font-size: 13px; line-height: 1.5; color: #e2e8f0; }
.eo-amb-cta-row { display: flex; gap: 10px; justify-content: center; margin: 14px 0 24px; }

/* ─────────────────────────────────────────────
   Empty state
   ───────────────────────────────────────────── */
.eo-amb-empty {
    text-align: center;
    padding: 28px 16px;
}
.eo-amb-empty__emoji { font-size: 38px; margin-bottom: 10px; }
.eo-amb-empty__head  { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
.eo-amb-empty__sub   { font-size: 13px; color: #94a3b8; line-height: 1.5; }

/* ─────────────────────────────────────────────
   Cards (shared)
   ───────────────────────────────────────────── */
.eo-amb-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
}
.eo-amb-card--list { padding: 4px 0; }

/* ─────────────────────────────────────────────
   Earnings panel
   ───────────────────────────────────────────── */
.eo-amb-payout {
    position: relative;
    margin: 16px 0 18px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(34,197,94,0.18), rgba(16,163,74,0.08));
    border: 1px solid rgba(34,197,94,0.35);
    text-align: center;
    overflow: hidden;
}
.eo-amb-payout::before {
    content: '';
    position: absolute; inset: -40px;
    background: radial-gradient(circle at 50% 0%, rgba(34,197,94,0.3), transparent 60%);
    pointer-events: none;
}
.eo-amb-payout__head {
    position: relative; z-index: 1;
    display: flex; justify-content: space-between;
    font-size: 11px; color: #86efac;
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
    margin-bottom: 6px;
}
.eo-amb-payout__amount {
    position: relative; z-index: 1;
    font-size: 44px; font-weight: 800; color: #ffffff;
    text-shadow: 0 0 32px rgba(34,197,94,0.5);
    line-height: 1.1;
}
.eo-amb-payout__countdown {
    position: relative; z-index: 1;
    margin: 8px 0 16px;
    font-size: 13px; color: #cbd5e1;
}
.eo-amb-payout .eo-amb-btn { position: relative; z-index: 1; }

.eo-amb-chart {
    display: flex; align-items: flex-end; gap: 6px;
    height: 120px;
    padding: 14px 0 0;
}
.eo-amb-chart__col { flex: 1; text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.eo-amb-chart__bar {
    width: 100%;
    background: linear-gradient(180deg, #22c55e, #0ea5e9);
    border-radius: 8px 8px 2px 2px;
    transition: height 0.6s ease;
    box-shadow: 0 -4px 12px rgba(34,197,94,0.4);
    min-height: 6px;
}
.eo-amb-chart__label {
    margin-top: 6px;
    font-size: 10px; color: #94a3b8;
}

.eo-amb-comm {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.eo-amb-comm:last-child { border-bottom: 0; }
.eo-amb-comm__icon {
    flex: 0 0 36px; width: 36px; height: 36px;
    background: rgba(34,197,94,0.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.eo-amb-comm__title { font-size: 14px; font-weight: 700; color: #f1f5f9; }
.eo-amb-comm__meta  { font-size: 11px; color: #94a3b8; }
.eo-amb-comm__amount {
    margin-left: auto;
    font-weight: 800; color: #22c55e;
    font-size: 15px;
}

/* ─────────────────────────────────────────────
   Impact panel
   ───────────────────────────────────────────── */
.eo-amb-impact-hero {
    text-align: center;
    padding: 28px 16px;
    margin: 16px 0 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(168,85,247,0.18), rgba(14,165,233,0.08));
    border: 1px solid rgba(168,85,247,0.3);
    position: relative; overflow: hidden;
}
.eo-amb-impact-hero::before {
    content: '🌎';
    position: absolute; bottom: -32px; right: -16px;
    font-size: 140px; opacity: 0.08;
    pointer-events: none;
}
.eo-amb-impact-hero__big {
    position: relative; z-index: 1;
    font-size: 64px; font-weight: 800;
    color: #fff;
    background: linear-gradient(180deg, #fff, #c4b5fd);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.eo-amb-impact-hero__label {
    position: relative; z-index: 1;
    margin-top: 8px;
    font-size: 14px; color: #cbd5e1; line-height: 1.5;
    max-width: 320px; margin-inline: auto;
}

/* ─────────────────────────────────────────────
   Share panel
   ───────────────────────────────────────────── */
.eo-amb-share-card {
    margin: 16px 0 18px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(34,197,94,0.14), rgba(14,165,233,0.08));
    border: 1px solid rgba(34,197,94,0.3);
    position: relative; overflow: hidden;
}
.eo-amb-share-card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.eo-amb-share-card__eyebrow {
    font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
    color: #86efac; text-transform: uppercase;
}
.eo-amb-share-card__code { color: #cbd5e1; font-size: 13px; }
.eo-amb-share-card__code strong { color: #fff; font-weight: 800; letter-spacing: 0.04em; }
.eo-amb-share-card__qr {
    width: 84px; height: 84px;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.eo-amb-share-card__qr img { width: 100%; height: 100%; display: block; }

.eo-amb-share-box {
    display: flex; gap: 8px;
    margin-bottom: 14px;
}
.eo-amb-share-box input {
    flex: 1; min-width: 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #f3f6fb;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 13px;
}

.eo-amb-share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 480px) {
    .eo-amb-share-grid { grid-template-columns: repeat(3, 1fr); }
}
.eo-amb-share-grid__btn {
    padding: 14px 8px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    color: #f3f6fb;
    font-size: 13px; font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}
.eo-amb-share-grid__btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.12); }
.eo-amb-share-grid__btn--wa { background: #25D366; color: #fff; }
.eo-amb-share-grid__btn--ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.eo-amb-share-grid__btn--tt { background: #000; color: #fff; }
.eo-amb-share-grid__btn--fb { background: #1877F2; color: #fff; }
.eo-amb-share-grid__btn--x  { background: #000; color: #fff; }

.eo-amb-captions { display: grid; gap: 10px; }
.eo-amb-caption {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.eo-amb-caption__hook {
    font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
    color: #86efac; text-transform: uppercase;
    margin-bottom: 6px;
}
.eo-amb-caption__text {
    font-size: 13px; line-height: 1.5; color: #e2e8f0;
    margin-bottom: 10px;
}

/* ─────────────────────────────────────────────
   Settings list (Share tab footer)
   ───────────────────────────────────────────── */
.eo-amb-settings {
    display: grid;
    gap: 8px;
}
.eo-amb-setting {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f3f6fb;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.eo-amb-setting:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}
.eo-amb-setting__emoji {
    flex: 0 0 38px;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: rgba(34,197,94,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.eo-amb-setting__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.eo-amb-setting__title {
    font-size: 14px; font-weight: 700; color: #f1f5f9;
}
.eo-amb-setting__sub {
    font-size: 12px; color: #94a3b8;
}
.eo-amb-setting__chev {
    font-size: 22px; color: #64748b;
    font-weight: 700;
    line-height: 1;
}
.eo-amb-setting--danger {
    background: rgba(220,38,38,0.08);
    border-color: rgba(248,113,113,0.25);
}
.eo-amb-setting--danger .eo-amb-setting__emoji {
    background: rgba(220,38,38,0.18);
}
.eo-amb-setting--danger .eo-amb-setting__title {
    color: #fca5a5;
}
.eo-amb-setting--danger:hover {
    background: rgba(220,38,38,0.14);
    border-color: rgba(248,113,113,0.4);
    color: #fff;
}

.eo-amb-form input {
    width: 100%;
    margin: 6px 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #f3f6fb;
    font-size: 14px;
}
.eo-amb-form label {
    font-size: 12px; font-weight: 700; color: #cbd5e1;
}

/* ─────────────────────────────────────────────
   Buttons (shared)
   ───────────────────────────────────────────── */
.eo-amb-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 20px;
    border: 0; border-radius: 16px;
    background: rgba(255,255,255,0.06);
    color: #f3f6fb;
    font-size: 14px; font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}
.eo-amb-btn:hover { transform: translateY(-1px); }
.eo-amb-btn--primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 8px 22px rgba(22,163,74,0.45);
}
.eo-amb-btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.14);
}
.eo-amb-btn--lg { width: 100%; padding: 16px; font-size: 15px; }
.eo-amb-btn--sm { padding: 10px 14px; font-size: 13px; border-radius: 12px; }

/* ─────────────────────────────────────────────
   Bottom nav
   ───────────────────────────────────────────── */
.eo-amb-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    height: var(--eo-nav-h);
    padding: 8px 8px calc(env(safe-area-inset-bottom, 0px) + 8px);
    background: rgba(6, 11, 20, 0.92);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    box-sizing: content-box;
}
.eo-amb-nav-btn {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px;
    background: transparent; border: 0;
    color: #94a3b8;
    cursor: pointer;
    font-size: 11px;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease;
}
.eo-amb-nav-btn:hover { color: #f1f5f9; background: rgba(255,255,255,0.04); }
.eo-amb-nav-btn.is-active {
    color: #22c55e;
}
.eo-amb-nav-btn.is-active .eo-amb-nav-icon {
    filter: drop-shadow(0 0 8px rgba(34,197,94,0.7));
}

/* ─────────────────────────────────────────────
   Gate (locked / paused)
   ───────────────────────────────────────────── */
.eo-amb-gate {
    text-align: center;
    padding: 60px 20px;
    color: #cbd5e1;
}
.eo-amb-gate p { font-size: 15px; line-height: 1.5; }

/* ─────────────────────────────────────────────
   Toast
   ───────────────────────────────────────────── */
.eo-amb-toast {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--eo-nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
    background: #22c55e;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.5);
}
.eo-amb-toast.show { opacity: 1; }

/* ─────────────────────────────────────────────
   Withdrawal drawer  (preserved verbatim — the
   existing template depends on these styles)
   ───────────────────────────────────────────── */
.eo-amb-withdrawal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999990;
    background: rgba(15, 23, 42, 0.45);
}
body.eo-amb-withdrawal-open .eo-amb-withdrawal-backdrop { display: block; }
.eo-amb-withdrawal-drawer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: translateY(100%);
    height: 100dvh;
    z-index: 999995;
    background: #fff;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, visibility 0.22s ease;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}
.eo-amb-withdrawal-drawer.is-open { transform: translateY(0); visibility: visible; }
.eo-amb-withdrawal-drawer-header {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--eo-border);
    background: linear-gradient(180deg, var(--eo-green-soft) 0%, #fff 100%);
}
.eo-amb-withdrawal-drawer-header h2 {
    margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--eo-text);
}
.eo-amb-withdrawal-close {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--eo-border) !important;
    border-radius: 10px;
    background: #fff !important; background-image: none !important;
    color: var(--eo-muted) !important;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.eo-amb-withdrawal-close:hover,
.eo-amb-withdrawal-close:focus {
    color: var(--eo-text) !important;
    background: var(--eo-green-soft) !important;
    border-color: rgba(22, 163, 74, 0.35) !important;
}
.eo-amb-withdrawal-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(var(--eo-nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
}
body.eo-amb-withdrawal-open { overflow: hidden; }
body.eo-amb-withdrawal-open .eo-amb-nav { z-index: 1000000; }
body.eo-amb-withdrawal-open .eo-amb-toast { z-index: 1000002; }
body.eo-amb-withdrawal-open .eo-amb-withdrawal-drawer { pointer-events: auto; }
body.eo-amb-withdrawal-open .eo-amb-app { pointer-events: none; }
body.eo-amb-withdrawal-open .eo-amb-nav,
body.eo-amb-withdrawal-open .eo-amb-withdrawal-backdrop,
body.eo-amb-withdrawal-open .eo-amb-withdrawal-drawer { pointer-events: auto; }
