:root {
    --bg: #1b103f;
    --bg-deep: #12092d;
    --card: rgba(255, 255, 255, 0.18);
    --card-strong: rgba(255, 255, 255, 0.22);
    --text: #fffaf2;
    --muted: #f7def8;
    --line: rgba(255, 255, 255, 0.18);
    --orange: #ff8a2b;
    --pink: #ff4fc2;
    --lime: #c6ff3c;
    --cyan: #3ef4ff;
    --blue: #3c85ff;
    --yellow: #ffe35a;
    --danger: #ff6d7a;
    --success: #39e28c;
    --shadow: 0 22px 50px rgba(19, 9, 46, 0.45);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    color: var(--text);
    font-family: 'Fredoka', sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 138, 43, .34), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(62, 244, 255, .26), transparent 24%),
        radial-gradient(circle at 20% 92%, rgba(198, 255, 60, .16), transparent 22%),
        linear-gradient(180deg, #31156e 0%, #180a38 52%, #110726 100%);
}

a { color: inherit; text-decoration: none; }
p, small, span, label { color: var(--muted); }
h1, h2, h3, h4, strong { font-family: 'Baloo 2', cursive; color: var(--text); letter-spacing: .02em; }

.confetti-strip {
    position: fixed;
    inset: 0 0 auto;
    height: 10px;
    background: linear-gradient(90deg, var(--orange), var(--yellow), var(--lime), var(--cyan), var(--pink));
    z-index: 50;
}
.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(42px);
    opacity: .45;
    z-index: 0;
}
.orb-one { width: 240px; height: 240px; left: -60px; top: 120px; background: rgba(255, 79, 194, .42); }
.orb-two { width: 280px; height: 280px; right: -70px; bottom: 80px; background: rgba(62, 244, 255, .25); }

.app-shell, .admin-shell { position: relative; z-index: 1; }
.app-shell { width: min(100%, 540px); margin: 0 auto; padding: 28px 14px 100px; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr; gap: 18px; padding: 18px 14px 24px; }
.page-content, .hero-card, .dashboard-grid, .single-card-wrap, .landing-grid, .card-list, .side-column, .leader-list, .admin-main, .admin-nav, .stack-form, .withdraw-form, .auth-form { display: grid; gap: 16px; }

.topbar, .topbar-actions, .brand-mark, .hero-card, .hero-actions, .stats-row, .dashboard-main, .copy-row, .reader-head, .reader-layout, .withdraw-grid, .leader-item, .action-row, .inline-adjust { display: flex; }
.topbar { justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.brand-mark { align-items: center; gap: 12px; }
.brand-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 79, 194, .36);
    font-size: 1.3rem;
}
.brand-mark strong { display: block; font-size: 1.3rem; line-height: 1; }
.topbar-actions { gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.score-pill, .neon-link, .icon-pill {
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}
.score-pill { padding: 10px 14px; text-align: right; }
.score-pill span { display: block; font-size: .72rem; }
.score-pill strong { line-height: 1; }
.neon-link, .icon-pill { padding: 10px 14px; }
.icon-pill { width: 46px; height: 46px; display: inline-flex; justify-content: center; align-items: center; }

.glow-card {
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.09));
    border: 2px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.hero-card, .auth-wrap, .hero-balance, .withdraw-grid, .referral-hero, .reader-panel, .iframe-shell, .challenge-card, .streak-card, .feature-card, .leaderboard-card, .table-card, .stat-box, .admin-sidebar, .admin-panel-card, .reward-mission-card { padding: 18px; }
.hero-card, .auth-wrap, .reader-layout, .withdraw-grid, .referral-hero, .dashboard-main { flex-direction: column; }
.hero-copy h1, .auth-copy h1, .hero-balance h1, .reader-head h1, .leaderboard-card h1 { font-size: 2.5rem; line-height: .95; margin: 8px 0; }
.hero-actions { gap: 10px; flex-wrap: wrap; }
.metric-grid, .landing-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.metric-grid div, .mini-card, .quest-chip, .read-kpi, .admin-mini-stat {
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.12);
}
.metric-grid strong { display: block; font-size: 1.4rem; }
.phone-mockup {
    width: 100%;
    max-width: 310px;
    margin: 0 auto;
    padding: 16px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(35,18,80,.96), rgba(20,9,47,.98));
    border: 2px solid rgba(255,255,255,.12);
}
.phone-top { display: flex; justify-content: space-between; margin-bottom: 10px; }
.accent-a { background: linear-gradient(135deg, rgba(255,79,194,.32), rgba(255,138,43,.22)); }
.accent-b { background: linear-gradient(135deg, rgba(62,244,255,.25), rgba(60,133,255,.18)); }
.accent-c { background: linear-gradient(135deg, rgba(198,255,60,.18), rgba(255,227,90,.2)); }

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 2px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: .86rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--orange), var(--pink));
    border: none;
    color: #fff;
    box-shadow: 0 16px 28px rgba(255, 79, 194, .24);
}
.btn-outline-light { border-width: 2px; }
.soft-alert { border: none; border-radius: 20px; }
.auth-wrap { align-items: stretch; }
.auth-form .form-control, .withdraw-form .form-control, .withdraw-form .form-select, .stack-form .form-control, .stack-form .form-select, textarea.form-control {
    border-radius: 18px;
    min-height: 50px;
    background: rgba(255,255,255,.11);
    border: 2px solid rgba(255,255,255,.14);
    color: var(--text);
}
textarea.form-control { min-height: 120px; }

.hero-balance { gap: 16px; }
.balance-panel {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,138,43,.28), rgba(255,79,194,.24));
}
.balance-panel strong { display: block; font-size: 2rem; margin: 6px 0; }
.stats-row { flex-wrap: wrap; gap: 14px; }
.stat-box { flex: 1 1 160px; }
.stat-box strong { display: block; margin: 6px 0; font-size: 1.35rem; }
.fancy-progress { height: 14px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.fancy-progress .progress-bar { background: linear-gradient(90deg, var(--lime), var(--cyan), var(--pink)); }
.content-column, .side-column { display: grid; gap: 16px; }
.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.article-card { padding: 18px; display: grid; gap: 14px; border-radius: 26px; }
.article-card.is-complete { opacity: .7; }
.article-kicker { color: var(--yellow); font-weight: 600; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.challenge-list { margin: 0; padding-left: 18px; }
.challenge-list li { margin-bottom: 10px; }
.streak-flames { color: var(--orange); display: flex; gap: 6px; font-size: 1.4rem; }
.ad-slot { text-align: center; padding: 22px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,138,43,.22), rgba(62,244,255,.18)); }
.ad-slot span { display: block; color: #fff; font-weight: 700; }
.sponsor-card small { display: block; margin-top: 6px; }

.reader-layout { gap: 16px; }
.reader-panel, .iframe-shell { width: 100%; }
.reward-mission-card { display: grid; gap: 16px; }
.reader-head { justify-content: space-between; align-items: flex-start; gap: 14px; }
.reward-chip {
    min-width: 150px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(198,255,60,.22), rgba(62,244,255,.18));
    border: 2px solid rgba(255,255,255,.12);
}
.read-earn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.read-kpi strong { display: block; font-size: 1.3rem; }
.timer-box.inner-panel { margin-top: 4px; }
.timer-display { font-size: 3.2rem; text-align: center; }
.mission-meter {
    height: 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
    margin-bottom: 10px;
}
.mission-meter-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink)); }
.mission-list { display: grid; gap: 10px; }
.mission-list div { padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.09); }
.iframe-shell iframe { width: 100%; min-height: 420px; border: 0; border-radius: 18px; background: #fff; }
.iframe-note { padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.08); }

.copy-row { gap: 10px; align-items: center; }
.copy-row input { flex: 1; }
.table { --bs-table-bg: transparent; --bs-table-color: #fff9f1; }
.status-pill { padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.status-pill.pending { background: rgba(255, 227, 90, .2); color: #fff29c; }
.status-pill.approved { background: rgba(57, 226, 140, .2); color: #b6ffdb; }
.status-pill.rejected { background: rgba(255, 109, 122, .2); color: #ffc0c7; }
.leader-item { align-items: center; gap: 12px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.1); }
.leader-rank {
    min-width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,138,43,.28), rgba(255,79,194,.22));
}
.leader-copy { flex: 1; display: grid; }
.leader-item.current-user { border: 2px solid rgba(198,255,60,.42); }

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: calc(100vw - 16px);
    max-width: 540px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    border-radius: 26px;
    background: rgba(32, 16, 73, .94);
    border: 2px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.bottom-nav a { display: grid; place-items: center; gap: 4px; padding: 10px 6px; border-radius: 18px; font-size: .8rem; }
.bottom-nav a.active { background: linear-gradient(135deg, rgba(255,138,43,.28), rgba(255,79,194,.22)); color: #fff; }

.interstitial-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    background: rgba(14, 7, 33, .75);
    padding: 18px;
}
.interstitial-inner {
    max-width: 360px;
    padding: 24px;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(135deg, #2d145f, #1a0938);
    border: 2px solid rgba(255,255,255,.12);
}

.admin-body { background: linear-gradient(180deg, #28105f 0%, #120726 100%); }
.admin-sidebar, .admin-panel-card { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.09)); }
.admin-nav a { padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.09); border: 2px solid rgba(255,255,255,.08); }
.admin-main { gap: 16px; }
.admin-top h1 { font-size: 2.2rem; margin: 0; }
.admin-grid-two { display: grid; gap: 16px; }
.admin-grid-two.tight-grid { grid-template-columns: 1fr 1fr; }
.admin-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline-adjust, .action-row { gap: 8px; align-items: center; flex-wrap: wrap; }
.quick-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-link-card { padding: 16px; border-radius: 22px; background: rgba(255,255,255,.1); }

.form-control::placeholder { color: rgba(255,255,255,.55); }
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(255, 79, 194, .18);
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255,255,255,.14);
    color: var(--text);
}

@media (min-width: 768px) {
    .app-shell { width: min(100%, 1180px); padding: 30px 22px 110px; }
    .hero-card, .dashboard-main, .reader-layout, .withdraw-grid, .referral-hero { flex-direction: row; }
    .landing-grid { grid-template-columns: repeat(3, 1fr); }
    .metric-grid { grid-template-columns: repeat(3, 1fr); }
    .content-column { flex: 1.3; }
    .side-column { flex: .7; }
    .reader-panel { flex: 1.1; }
    .iframe-shell { flex: .9; }
    .admin-shell { grid-template-columns: 280px 1fr; padding: 18px; }
    .admin-sidebar { position: sticky; top: 18px; height: fit-content; }
    .admin-grid-two { grid-template-columns: minmax(320px, 420px) 1fr; }
    .quick-link-grid { grid-template-columns: repeat(4, 1fr); }
}

.route-dashboard .app-shell,
.route-withdraw .app-shell {
    width: min(100%, 460px);
    padding-top: 18px;
}

.dashboard-app-shell,
.redeem-app-shell {
    display: grid;
    gap: 18px;
}

.dashboard-welcome-card,
.redeem-balance-card {
    background: #ffffff;
    color: #111827;
    border-radius: 34px;
    padding: 16px 18px 18px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}
.dashboard-welcome-card small,
.dashboard-welcome-card span,
.dashboard-welcome-card p,
.dashboard-welcome-card h1,
.redeem-balance-card p,
.redeem-balance-card h1 {
    color: #111827;
}
.dashboard-pill {
    width: fit-content;
    margin: 0 auto 12px;
    padding: 7px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d8dfc, #2d6df6);
    color: #fff;
    font-weight: 700;
}
.dashboard-welcome-row,
.welcome-foot-row,
.redeem-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dashboard-welcome-row { justify-content: space-between; }
.profile-badge {
    width: 68px;
    height: 68px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffd56a, #ffa94d);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
}
.welcome-copy { flex: 1; }
.welcome-copy h1 {
    margin: 2px 0;
    font-size: 2.15rem;
    line-height: .95;
    word-break: break-word;
}
.wallet-corner { display: grid; justify-items: end; gap: 10px; }
.wallet-score {
    padding: 3px 10px;
    border-radius: 12px;
    background: #6be675;
    color: #fff;
    font-weight: 700;
}
.wallet-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, #8d63ff, #6f47f0);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}
.mini-action-btn {
    display: inline-flex;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #28d7ff, #00c6fb);
    color: #fff;
    font-weight: 700;
}
.mini-progress {
    flex: 1;
    height: 12px;
    border-radius: 999px;
    background: #e5f3ff;
    overflow: hidden;
}
.mini-progress div { height: 100%; background: linear-gradient(90deg, #b517ff, #22c7ff); }

.feature-mission-card,
.offer-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 22px;
    color: #fff;
    min-height: 170px;
}
.feature-mission-card h2,
.offer-card h3,
.offer-card small,
.offer-card p,
.feature-mission-card p { color: #fff; }
.mission-purple { background: linear-gradient(135deg, #8e5cff, #6e5bef); }
.mint-card { background: linear-gradient(180deg, #19d9b8, #08cdb0); }
.aqua-card { background: linear-gradient(135deg, #7fdde6, #8ed8d2); }
.teal-card { background: linear-gradient(135deg, #3eb8c5, #42aeb7); }
.violet-card { background: linear-gradient(135deg, #7d58ff, #a65bf0); }
.blue-card { background: linear-gradient(135deg, #2f9eff, #2a80f5); }
.sky-card { background: linear-gradient(135deg, #4baeff, #3e8cf7); }
.feature-mission-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.mission-copy { max-width: 72%; }
.mission-copy h2 { font-size: 2.1rem; line-height: .95; margin-bottom: 8px; }
.mission-meta-line { font-weight: 600; margin: 10px 0 14px; }
.mission-btn,
.offer-pill,
.redeem-pick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-weight: 700;
    border: 0;
}
.offer-pill.dark { background: #0f172a; color: #fff; }
.mission-mascot,
.offer-rabbit {
    font-size: 4.3rem;
    line-height: 1;
}
.offer-rabbit.bottom {
    position: absolute;
    right: 14px;
    bottom: -2px;
}
.offer-grid-large {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
}
.offer-tall { min-height: 280px; display: grid; align-content: space-between; }
.offer-stack { display: grid; gap: 16px; }
.compact-card { min-height: 132px; }
.section-title-wrap h2 {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
}
.reward-catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.reward-rect-card {
    min-height: 160px;
    display: grid;
    align-content: space-between;
}
.highlight-card { min-height: 220px; }
.dashboard-utility-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.utility-chip {
    padding: 16px;
    border-radius: 24px;
    text-align: center;
}
.utility-chip strong { display: block; font-size: 1.35rem; }
.utility-chip.ad-panel { grid-column: 1 / -1; }

.redeem-balance-card {
    text-align: center;
    padding-top: 20px;
}
.redeem-back {
    text-align: left;
    font-size: 2rem;
    line-height: 1;
}
.redeem-balance-copy h1 {
    font-size: 3rem;
    line-height: .95;
    margin: 8px 0 0;
}
.redeem-balance-copy p { font-size: 1.4rem; margin-bottom: 18px; }
.redeem-action-row { justify-content: center; flex-wrap: wrap; }
.redeem-action {
    flex: 1 1 140px;
    padding: 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
}
.redeem-action.history { background: linear-gradient(135deg, #33a6ff, #2d8cf6); }
.redeem-action.transaction { background: linear-gradient(135deg, #26d8b0, #14cba6); }
.redeem-section h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 2rem;
}
.redeem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.redeem-card {
    background: #202733;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    display: grid;
}
.redeem-logo {
    min-height: 94px;
    display: grid;
    place-items: center;
    font-family: 'Baloo 2', cursive;
    font-size: 1.75rem;
    color: #111827;
    background: #fff;
}
.redeem-upi .redeem-logo { background: linear-gradient(180deg, #ff9d45, #ffffff 45%, #2bd267); }
.redeem-paypal .redeem-logo { background: #ffffff; color: #0a4abf; }
.redeem-crypto .redeem-logo { background: linear-gradient(180deg, #4ea4ff, #2f81ff); color: #fff; }
.redeem-card-body { padding: 10px 12px 2px; display: grid; gap: 4px; }
.redeem-card-body strong { font-size: 1.55rem; color: #fff; }
.redeem-card-body span { color: #d8deeb; }
.redeem-pick-btn { margin: 10px 12px 12px; }
.redeem-form-card { padding: 18px; }
.compact-withdraw-form { margin-top: 8px; }

@media (max-width: 460px) {
    .offer-grid-large,
    .reward-catalog-grid,
    .dashboard-utility-row,
    .redeem-grid {
        grid-template-columns: 1fr;
    }
    .mission-copy { max-width: 100%; }
    .feature-mission-card { align-items: flex-start; }
    .mission-mascot { font-size: 3.4rem; }
}
.route-dashboard .topbar,
.route-withdraw .topbar {
    display: none;
}
.route-dashboard .bottom-nav,
.route-withdraw .bottom-nav {
    max-width: 460px;
}

body {
    background: linear-gradient(180deg, #ffd8f2 0%, #d7f6ff 34%, #fff7cd 100%);
    color: #1f2937;
}

.kid-bg-bubbles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 16%, rgba(255, 111, 196, .23), transparent 14%),
        radial-gradient(circle at 88% 8%, rgba(77, 182, 255, .22), transparent 14%),
        radial-gradient(circle at 14% 78%, rgba(255, 214, 92, .28), transparent 18%),
        radial-gradient(circle at 84% 74%, rgba(104, 230, 161, .24), transparent 18%);
}

.playful-shell {
    width: min(100%, 460px);
    padding: 14px 14px 100px;
}
.playful-page {
    display: grid;
    gap: 18px;
}
.white-hero-card {
    background: #ffffff;
    color: #111827;
    border-radius: 32px;
    padding: 18px;
    box-shadow: 0 20px 42px rgba(56, 45, 114, .16);
    border: 2px solid rgba(255,255,255,.9);
}
.white-hero-card h1,
.white-hero-card h2,
.white-hero-card h3,
.white-hero-card p,
.white-hero-card small,
.white-hero-card span,
.white-hero-card label,
.white-hero-card strong {
    color: #111827;
}

.candy-topbar {
    background: rgba(255,255,255,.82);
    border-radius: 26px;
    padding: 12px 14px;
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 34px rgba(56,45,114,.12);
}
.candy-pill {
    background: linear-gradient(135deg, #ff8ad8, #8bc9ff);
    color: #fff;
}
.neon-link {
    background: #fff;
    color: #5b4fd3;
    border: 2px solid rgba(91,79,211,.12);
    font-weight: 700;
}
.brand-icon {
    background: linear-gradient(135deg, #ff8ad8, #8bc9ff);
}
.brand-mark strong,
.brand-mark small {
    color: #2b2b42;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2e9bff, #2a7dff);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
}
.hero-row-top,
.kid-welcome-row,
.hero-action-pills,
.hero-button-row,
.fun-grid-two,
.fun-auth-page,
.copy-row {
    display: flex;
    gap: 12px;
}
.hero-row-top,
.kid-welcome-row {
    justify-content: space-between;
    align-items: center;
}
.kid-welcome-row { margin: 12px 0 14px; }
.back-bubble,
.coin-bubble,
.wallet-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
}
.back-bubble { background: linear-gradient(135deg, #8bd3ff, #58b6ff); color: #114; }
.coin-bubble { background: linear-gradient(135deg, #7ee07f, #5bcb66); }
.wallet-icon { background: linear-gradient(135deg, #9b6cff, #7b57ef); }
.profile-badge {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffd76c, #ffb158);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 177, 88, .35);
}
.welcome-copy small { font-size: 1rem; opacity: .72; }
.welcome-copy h1 {
    font-size: 2.2rem;
    line-height: .92;
    margin: 3px 0;
}
.hero-action-pills { display: grid; grid-template-columns: 1fr 1fr; }
.hero-action {
    text-align: center;
    color: #fff;
    padding: 15px 14px;
    border-radius: 999px;
    font-weight: 700;
}
.blue-pill { background: linear-gradient(135deg, #39a9ff, #268cff); }
.green-pill { background: linear-gradient(135deg, #36d3ac, #16c7a1); }
.pink-btn { background: linear-gradient(135deg, #ff76c8, #ff63a4); }
.blue-btn { background: linear-gradient(135deg, #47b2ff, #2a8dff); }
.green-btn { background: linear-gradient(135deg, #5edb7b, #35c95a); }
.kid-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    border: 0;
    box-shadow: 0 12px 24px rgba(76, 93, 190, .18);
}
.kid-btn:disabled { opacity: .7; }

.fun-auth-page { flex-direction: column; }
.auth-card-cute,
.landing-hero-card,
.read-hero-card,
.timer-card,
.kid-frame-shell { display: grid; gap: 14px; }
.cute-form .form-control,
.cute-form .form-select,
.compact-withdraw-form .form-control,
.compact-withdraw-form .form-select,
.auth-form .form-control {
    background: #f7f9ff;
    border: 2px solid #dfe8ff;
    color: #1f2937;
    min-height: 52px;
    border-radius: 18px;
}
.fun-grid-two { flex-wrap: wrap; }
.fun-grid-two > * { flex: 1 1 calc(50% - 6px); }
.fun-card {
    min-height: 130px;
    padding: 18px;
    border-radius: 28px;
    color: #fff;
}
.fun-card h3,
.fun-card p { color: #fff; }
.purple-fun { background: linear-gradient(135deg, #8f68ff, #7b58ef); }
.mint-fun { background: linear-gradient(135deg, #20d5b3, #09c89c); }
.orange-fun { background: linear-gradient(135deg, #ffb05e, #ff8f43); }
.blue-fun { background: linear-gradient(135deg, #47b2ff, #3094ff); }

.feature-mission-card,
.offer-card {
    box-shadow: 0 18px 36px rgba(63, 54, 135, .14);
}
.section-title-wrap h2 { color: #1f2937; }
.utility-chip { background: #fff; }
.utility-chip span { color: #5b6478; }
.ad-panel .ad-slot { min-height: 110px; }

.read-kpi {
    background: #f7f9ff;
    border: 2px solid #e1e8ff;
    color: #1f2937;
}
.read-kpi strong,
.read-kpi small { color: #1f2937; }
.timer-card .timer-display { color: #7b57ef; }
.timer-card #readingStatus { color: #5b6478; }
.kid-frame-shell iframe {
    min-height: 360px;
    border-radius: 18px;
}

.copy-row { align-items: center; }
.copy-row input { flex: 1; }
.table-card .table { --bs-table-color: #263042; }
.table-card .table > :not(caption) > * > * { background: transparent; }
.kids-leader-list { display: grid; gap: 12px; }
.kids-leader-list .leader-item { background: #fff; }
.kids-leader-list .leader-rank {
    background: linear-gradient(135deg, #ff9aca, #8bc9ff);
    color: #fff;
}

.dark-mobile-section {
    background: #202732;
    border-radius: 28px;
    padding: 16px;
}
.dark-mobile-section h2 { color: #fff; }
.cartoon-redeem-card.selected {
    outline: 3px solid #ffd76c;
    transform: translateY(-2px);
}
.redeem-form-card .form-select:disabled,
.redeem-form-card .form-control:disabled {
    opacity: .65;
}

.bottom-nav {
    background: #1f2631;
    border: 0;
    box-shadow: 0 20px 36px rgba(31, 38, 49, .22);
}
.bottom-nav a { color: #fff; }
.bottom-nav a.active {
    background: #fff;
    color: #1f2631;
}

@media (max-width: 460px) {
    .fun-grid-two > * {
        flex-basis: 100%;
    }
    .hero-action-pills {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .playful-shell {
        width: min(100%, 980px);
        padding-top: 22px;
    }
    .playful-page {
        gap: 22px;
    }
    .fun-auth-page {
        max-width: 760px;
        margin: 0 auto;
    }
    .route-dashboard .playful-shell,
    .route-withdraw .playful-shell {
        width: min(100%, 520px);
    }
}
