﻿/* ============================================================
   MonsterMorris — global styles (mobile-first)
   Breakpoints: 600px (tablet), 900px (desktop nav)

   Sections (in file order):
     1.  Theme tokens
     2.  Base
     3.  Shell
     4.  Footer
     5.  Page layout helpers
     6.  Hero (landing)
     7.  Buttons
     8.  Forms
     9.  Messages
    10.  Auth wrapper (login / signup)
    11.  Fee breakdown
    12.  Invitee / Squad cards
    13.  Option pickers (amounts, %)
    14.  Contribute page
    15.  Wishlist status banners
    16.  Read-only values
    17.  Expiry slider
    18.  Lifecycle actions
    19.  Campaign progress
    20.  Contributions list
    21.  Wishlist CTA hint
    22.  Past wishlist rows
    23.  Address book picker
    24.  Modal dialogs
    25.  Kid switcher
    26.  Kid rows / action buttons
    27.  Nav menu
    28.  Payout history
    29.  Account page sections
    30.  Coming soon
    31.  Share link block
    32.  Guest tagline
    33.  Verify email banner
    34.  Cookie banner
    35.  Template buttons
    36.  Image previews
    37.  Avatar-style toy picture upload
    38.  Toy row
    39.  Amount input + Set button
    40.  Campaign duration label
    41.  Misc utility
    42.  Textarea scrollbars
    43.  Blazor error UI
    44.  Thank-you card
    45.  Progress block
    46.  Inline add button
    47.  Consent checkboxes
    48.  Stripe embed (Connect components)
    49.  iOS touch behaviour
    50.  Copy button balloon
    51.  Pickup page
    52.  Unsubscribe page
   ============================================================ */

/* ---------- 1. Theme tokens ---------- */
:root {
    --mm-green: #4CAF50;
    --mm-green-dark: #388E3C;
    --mm-blue: #2196F3;
    --mm-purple: #9C27B0;
    --mm-orange: #FF9800;
    --mm-pink: #E91E63;
    --mm-yellow: #FFD54F;
    --mm-cream: #FFF9C4;
    --mm-sky: #B3E5FC;
    --mm-card: #FFFFFF;
    --mm-ink: #1F2124;
    --mm-muted: #5A5A5A;
    --mm-outline: #2B2B2B;
    --mm-radius-sm: 12px;
    --mm-radius: 18px;
    --mm-radius-lg: 26px;
    --mm-shadow: 4px 4px 0 var(--mm-outline);
    --mm-shadow-lg: 6px 6px 0 var(--mm-outline);
    --mm-space-1: 0.5rem;
    --mm-space-2: 0.75rem;
    --mm-space-3: 1rem;
    --mm-space-4: 1.5rem;
    --mm-space-5: 2rem;
    --mm-shell-max: 1100px;
    --mm-form-max: 520px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive, system-ui, -apple-system, sans-serif;
    color: var(--mm-ink);
    background: linear-gradient(160deg, var(--mm-cream) 0%, var(--mm-sky) 100%);
    background-attachment: fixed;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

h1 {
    font-size: clamp(1.75rem, 6vw, 2.75rem);
    line-height: 1.15;
    margin: 0 0 var(--mm-space-3);
}

    h1:focus,
    h1:focus-visible {
        outline: none;
    }

h2 {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    line-height: 1.2;
    margin: 0 0 var(--mm-space-3);
}

/* Secondary line inside an <h2>. Used where the title carries a
   companion label that would otherwise force the heading to wrap. */
.h2-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.7em;
    font-weight: normal;
    line-height: 1.35;
    color: var(--mm-ink);
}

/* Inline secondary text inside an <h2>. */
.h2-subtitle-inline {
    font-size: 0.7em;
    font-weight: normal;
}

h3 {
    font-size: clamp(1.15rem, 3.5vw, 1.5rem);
    margin: var(--mm-space-4) 0 var(--mm-space-2);
}

h4 {
    font-size: clamp(1.05rem, 3vw, 1.25rem);
    margin: var(--mm-space-3) 0 var(--mm-space-2);
}

p {
    margin: 0 0 var(--mm-space-3);
}

a {
    color: var(--mm-green-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- 3. Shell ---------- */
.mm-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.mm-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 249, 196, 0.92);
    border-bottom: 4px solid var(--mm-outline);
}

.mm-header-inner {
    position: relative;
    max-width: var(--mm-shell-max);
    margin: 0 auto;
    padding: var(--mm-space-2) var(--mm-space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--mm-space-3);
}

.mm-header-left {
    display: flex;
    align-items: center;
    gap: var(--mm-space-3);
    min-width: 0;
}

.mm-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    text-decoration: none;
    color: var(--mm-green);
    font-weight: 900;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    -webkit-text-stroke: 0.04em var(--mm-outline);
    paint-order: stroke fill;
    letter-spacing: -0.3px;
}

.mm-brand-logo {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(1px 1px 0 var(--mm-outline)) drop-shadow(-1px 1px 0 var(--mm-outline)) drop-shadow(1px -1px 0 var(--mm-outline)) drop-shadow(-1px -1px 0 var(--mm-outline)) drop-shadow(4px 4px 0 var(--mm-outline));
}

.mm-main {
    flex: 1;
}

.mm-container {
    width: 100%;
    max-width: var(--mm-shell-max);
    margin: 0 auto;
    padding: var(--mm-space-3);
}

@media (min-width: 600px) {
    .mm-container {
        padding: var(--mm-space-4);
    }
}

/* ---------- 4. Footer ---------- */
.mm-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mm-space-2);
    text-align: center;
    padding: var(--mm-space-3);
    color: var(--mm-muted);
    font-size: 0.9rem;
    border-top: 3px dashed var(--mm-outline);
    margin-top: var(--mm-space-5);
}

    .mm-footer a {
        color: var(--mm-green-dark);
        text-decoration: none;
        font-weight: bold;
    }

        .mm-footer a:hover {
            text-decoration: underline;
        }

.mm-footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--mm-space-2);
}

.mm-footer-stripe-badge {
    height: 20px;
    width: auto;
    border: 0;
    display: block;
}

.mm-footer-sep {
    margin: 0 3px;
    opacity: 0.6;
}

/* Footer button styled as a link — matches .mm-footer a */
.mm-footer-link {
    font: inherit;
    color: var(--mm-green-dark);
    text-decoration: none;
    font-weight: bold;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

    .mm-footer-link:hover {
        text-decoration: underline;
    }

    .mm-footer-link:focus-visible {
        outline: 2px solid var(--mm-green-dark);
        outline-offset: 2px;
        border-radius: 2px;
    }

/* Button styled to look like an inline link — used where an action
   should read as a link but must not trigger anchor navigation. */
.link-danger {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #B71C1C;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

    .link-danger:hover {
        color: #8B0000;
    }

    .link-danger:focus-visible {
        outline: 2px solid #B71C1C;
        outline-offset: 2px;
        border-radius: 2px;
    }

/* ---------- 5. Page layout helpers ---------- */
.mm-page-narrow {
    max-width: var(--mm-form-max);
    margin: 0 auto;
}

.mm-back-row {
    margin-top: var(--mm-space-4);
    margin-bottom: var(--mm-space-4);
}

/* ---------- 6. Hero (landing) ---------- */
.hero {
    text-align: center;
    padding: var(--mm-space-4) var(--mm-space-2) var(--mm-space-3);
}

.logo-text {
    font-size: clamp(2.5rem, 10vw, 4rem);
    color: #E53935;
    -webkit-text-stroke: 0.08em var(--mm-outline);
    paint-order: stroke fill;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--mm-space-2);
    margin-bottom: var(--mm-space-4);
    flex-wrap: wrap;
}

.hero-logo {
    display: block;
    height: clamp(48px, 10vw, 72px);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 0 var(--mm-outline)) drop-shadow(-2px 2px 0 var(--mm-outline)) drop-shadow(2px -2px 0 var(--mm-outline)) drop-shadow(-2px -2px 0 var(--mm-outline)) drop-shadow(6px 6px 0 var(--mm-outline));
}

.slogan-bubble {
    position: relative;
    display: inline-block;
    background: var(--mm-card);
    border: 4px solid var(--mm-outline);
    border-radius: 40px;
    padding: var(--mm-space-4) var(--mm-space-5);
    margin: var(--mm-space-3) auto var(--mm-space-4);
    max-width: 42ch;
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    line-height: 1.4;
    color: var(--mm-ink);
    text-align: center;
    font-weight: bold;
    animation: sloganFloat 8s ease-in-out 1;
}

@keyframes sloganFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-6px) rotate(-0.8deg);
    }

    50% {
        transform: translateY(-10px) rotate(0deg);
    }

    75% {
        transform: translateY(-6px) rotate(0.8deg);
    }
}

.slogan-highlight {
    position: relative;
    background: linear-gradient(180deg, transparent 18%, var(--mm-yellow) 18%, var(--mm-yellow) 88%, transparent 88%);
    padding: 0 6px;
    border-radius: 4px;
}

.sticky-note {
    position: relative;
    display: block;
    width: fit-content;
    background: var(--mm-yellow);
    padding: var(--mm-space-4) var(--mm-space-4) var(--mm-space-3);
    margin: var(--mm-space-3) auto var(--mm-space-4);
    max-width: 42ch;
    color: var(--mm-ink);
    font-size: clamp(1rem, 3.6vw, 1.15rem);
    line-height: 1.45;
    text-align: center;
    transform: rotate(-1.5deg);
    box-shadow: 4px 4px 0 var(--mm-outline);
    border-radius: 2px 2px 8px 4px;
    border: 2px solid var(--mm-outline);
}

    .sticky-note::before {
        content: '';
        position: absolute;
        top: -14px;
        left: 55%;
        transform: translateX(-50%);
        width: 24px;
        height: 24px;
        background: #E53935;
        border: 3px solid var(--mm-outline);
        border-radius: 50%;
        box-shadow: 2px 3px 0 var(--mm-outline);
        z-index: 1;
    }

    .sticky-note::after {
        content: '';
        position: absolute;
        top: -6px;
        left: 55%;
        transform: translateX(-40%);
        width: 7px;
        height: 7px;
        background: rgba(255, 255, 255, 0.75);
        border-radius: 50%;
        filter: blur(0.5px);
    }

.eligibility-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: var(--mm-space-3) 0;
    padding: 10px 24px;
    background: var(--mm-orange);
    color: white;
    border: 3px solid var(--mm-outline);
    border-radius: 30px;
    box-shadow: var(--mm-shadow);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.25;
    max-width: 48ch;
}

.guardian-notice {
    font-size: 0.88rem;
    font-weight: normal;
    opacity: 0.92;
}

.invite-how-to {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: var(--mm-space-3) var(--mm-space-4);
    margin: var(--mm-space-3) 0 var(--mm-space-4);
    background: #FFF3E0;
    border: 3px solid var(--mm-orange);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow);
    text-align: left;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--mm-ink);
}

.invite-how-to-or {
    font-size: 0.8rem;
    color: var(--mm-muted);
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* ---------- 7. Buttons ---------- */
.btn-monster {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 3px solid var(--mm-outline);
    border-radius: 50px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: clamp(0.98rem, 3.2vw, 1.1rem);
    font-weight: bold;
    cursor: pointer;
    box-shadow: var(--mm-shadow);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    text-decoration: none;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
}

    .btn-monster:active:not(:disabled) {
        transform: translate(3px, 3px);
        box-shadow: 1px 1px 0 var(--mm-outline);
    }

    .btn-monster:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.btn-green {
    background: var(--mm-green);
    color: white;
}

.btn-blue {
    background: var(--mm-blue);
    color: white;
}

.btn-purple {
    background: var(--mm-purple);
    color: white;
}

.btn-orange {
    background: var(--mm-orange);
    color: white;
}

.btn-yellow {
    background: var(--mm-yellow);
    color: var(--mm-ink);
}

.btn-grey {
    background: #E0E0E0;
    color: var(--mm-ink);
}

.btn-red {
    background: var(--mm-pink);
    color: white;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 30px;
}

.btn-block {
    display: flex;
    width: 100%;
    margin-top: var(--mm-space-2);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: var(--mm-space-4);
}

    .cta-buttons .btn-monster {
        width: 100%;
    }

@media (min-width: 600px) {
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

        .cta-buttons .btn-monster {
            width: auto;
        }
}

/* ---------- 8. Forms ---------- */
.form-group {
    margin-bottom: var(--mm-space-3);
}

    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 6px;
        font-size: 0.98rem;
    }

.form-control,
input.form-control,
textarea.form-control,
select.form-control {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 1rem;
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    background: white;
    color: var(--mm-ink);
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

    .form-control:focus {
        box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.35);
    }

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--mm-space-3);
    }
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--mm-muted);
    line-height: 1.35;
}

.hint-highlight {
    display: inline-block;
    background: linear-gradient(180deg, transparent 15%, var(--mm-yellow) 15%, var(--mm-yellow) 92%, transparent 92%);
    padding: 1px 6px;
    border-radius: 3px;
    color: var(--mm-ink);
}

/* Live validation states */
.auth-wrapper--plain .form-control,
.auth-wrapper--plain .form-control.valid,
.auth-wrapper--plain .form-control.invalid,
.auth-wrapper--plain .form-control.valid.modified,
.auth-wrapper--plain .form-control.invalid.modified {
    border-color: var(--mm-outline);
    box-shadow: none;
}

    .auth-wrapper--plain .form-control:focus {
        border-color: var(--mm-outline);
        box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18);
    }

.form-control.valid.modified {
    border-color: var(--mm-green);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18);
}

    .form-control.valid.modified:focus {
        border-color: var(--mm-green);
        box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.32);
    }

.form-control.invalid.modified {
    border-color: var(--mm-pink);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.18);
}

    .form-control.invalid.modified:focus {
        border-color: var(--mm-pink);
        box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.32);
    }

.validation-message {
    display: block;
    color: var(--mm-pink);
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: bold;
}

/* ---------- 9. Messages ---------- */
.error-msg {
    background: #FFEBEE;
    border: 3px solid var(--mm-pink);
    border-radius: var(--mm-radius-sm);
    padding: 12px 14px;
    color: #B71C1C;
    text-align: center;
    margin-top: var(--mm-space-3);
    font-weight: bold;
}

.success-msg {
    background: #E8F5E9;
    border: 3px solid var(--mm-green);
    border-radius: var(--mm-radius-sm);
    padding: 12px 14px;
    color: var(--mm-green-dark);
    text-align: center;
    margin-top: var(--mm-space-3);
    font-weight: bold;
}

.warning-msg {
    background: #FFF3E0;
    border: 3px solid var(--mm-orange);
    border-radius: var(--mm-radius-sm);
    padding: 12px 14px;
    color: #E65100;
    text-align: center;
    margin-top: var(--mm-space-3);
    font-weight: bold;
}

.muted {
    color: var(--mm-muted);
}

/* ---------- 10. Auth wrapper (login / signup) ---------- */
.auth-wrapper {
    max-width: var(--mm-form-max);
    margin: var(--mm-space-4) auto;
    padding: var(--mm-space-4) var(--mm-space-3);
    background: var(--mm-card);
    border: 4px dashed var(--mm-purple);
    border-radius: var(--mm-radius-lg);
}

@media (min-width: 600px) {
    .auth-wrapper {
        padding: var(--mm-space-5);
    }
}

.auth-wrapper h2 {
    text-align: center;
    color: var(--mm-purple);
    margin-bottom: var(--mm-space-2);
}

.auth-wrapper--login {
    border-color: var(--mm-blue);
}

    .auth-wrapper--login h2 {
        color: var(--mm-blue);
    }

.auth-subtitle {
    text-align: center;
    color: var(--mm-muted);
    margin-bottom: var(--mm-space-4);
}

.auth-subtitle-highlight {
    display: inline-block;
    background: linear-gradient(180deg, transparent 15%, var(--mm-yellow) 15%, var(--mm-yellow) 92%, transparent 92%);
    padding: 2px 10px;
    border-radius: 4px;
    color: var(--mm-ink);
}

.auth-alt {
    text-align: center;
    margin-top: var(--mm-space-4);
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--mm-muted);
}

/* ---------- 11. Fee breakdown ---------- */
.fee-breakdown {
    background: var(--mm-cream);
    border: 3px dashed var(--mm-outline);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin: var(--mm-space-3) 0;
}

    .fee-breakdown p {
        margin: 6px 0;
        font-size: clamp(0.95rem, 3vw, 1.05rem);
    }

.fee-explanation {
    color: var(--mm-muted);
    font-size: 0.88rem;
    margin-top: var(--mm-space-2) !important;
}

.fee-explanation--separated {
    border-top: 2px dashed var(--mm-outline);
    padding-top: var(--mm-space-2);
    margin-top: var(--mm-space-3) !important;
}

/* ---------- 12. Invitee / Squad cards ---------- */
.invitee-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--mm-card);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    box-shadow: var(--mm-shadow);
    margin-bottom: var(--mm-space-2);
}

    .invitee-card .email {
        flex: 1 1 100%;
        color: var(--mm-muted);
        font-size: 0.9rem;
        word-break: break-all;
    }

.invitee-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .invitee-card .email {
        flex: 1 1 auto;
        text-align: right;
        margin-right: 8px;
    }
}

.invite-setup-hint {
    font-size: 0.85rem;
    margin: var(--mm-space-2) 0 0;
    text-align: center;
}

.invitee-notice {
    flex: 1 1 100%;
    margin: 0;
}

.invitee-notice--warn {
    color: #B71C1C;
}

.invitee-notice--limit {
    color: #E65100;
}

/* Squad header */
.squad-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--mm-space-3);
    margin-bottom: var(--mm-space-2);
}

    .squad-header h2 {
        margin: 0;
        flex: 1 1 auto;
        min-width: 0;
    }

/* Wishlist header */
.wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--mm-space-2);
    flex-wrap: wrap;
    margin-bottom: var(--mm-space-3);
}

    .wishlist-header h2 {
        margin: 0;
        flex: 1 1 auto;
        min-width: 0;
    }

    .wishlist-header .btn-monster {
        flex-shrink: 0;
    }

.wishlist-header-actions {
    display: flex;
    align-items: center;
    gap: var(--mm-space-2);
    flex-shrink: 0;
}

/* ---------- 13. Option pickers (amounts, %) ---------- */
.amount-options,
.percent-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin: var(--mm-space-2) 0 var(--mm-space-4);
}

.btn-amount {
    padding: 14px 10px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: bold;
    background: white;
    color: var(--mm-ink);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    box-shadow: var(--mm-shadow);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s;
}

    .btn-amount:active {
        transform: translate(3px, 3px);
        box-shadow: 1px 1px 0 var(--mm-outline);
    }

    .btn-amount.selected {
        background: var(--mm-green);
        color: white;
    }

/* ---------- 14. Contribute page ---------- */
.contribute-hero {
    text-align: center;
    margin-bottom: var(--mm-space-4);
}

.contribute-toy {
    font-size: clamp(1.4rem, 5.5vw, 1.9rem);
    font-weight: bold;
    line-height: 1.25;
    color: var(--mm-ink);
    margin: 0 auto var(--mm-space-3);
    max-width: 34ch;
}

.thankyou-note {
    background: var(--mm-cream);
    border: 3px dashed var(--mm-outline);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin: var(--mm-space-3) auto;
    max-width: 42ch;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: left;
}

    .thankyou-note footer {
        display: block;
        margin-top: 6px;
        font-style: normal;
        font-size: 0.9rem;
        color: var(--mm-muted);
        text-align: right;
    }

.progress-block p {
    color: var(--mm-muted);
    font-size: 0.95rem;
    margin: 0;
}

.chosen-amount-block {
    background: var(--mm-card);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin: var(--mm-space-4) 0;
    text-align: center;
    box-shadow: var(--mm-shadow);
}

    .chosen-amount-block p {
        margin: 0;
        font-size: 1.05rem;
    }

    .chosen-amount-block strong {
        font-size: 1.25rem;
        color: var(--mm-green-dark);
    }

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: var(--mm-space-2) 0 var(--mm-space-4);
}

    .payment-methods button {
        padding: 16px;
        font-family: inherit;
        font-size: 1.05rem;
        font-weight: bold;
        background: var(--mm-blue);
        color: white;
        border: 3px solid var(--mm-outline);
        border-radius: var(--mm-radius);
        box-shadow: var(--mm-shadow);
        cursor: pointer;
    }

        .payment-methods button:active {
            transform: translate(3px, 3px);
            box-shadow: 1px 1px 0 var(--mm-outline);
        }

        .payment-methods button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

@media (min-width: 600px) {
    .payment-methods {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 600px) {
    .payment-methods--single {
        grid-template-columns: minmax(auto, 320px);
        justify-content: center;
    }
}

.payout-options {
    display: flex;
    gap: 10px;
    margin: var(--mm-space-3) 0 var(--mm-space-4);
    flex-wrap: wrap;
}

    .payout-options .btn-monster {
        flex: 1 1 auto;
    }

.contribute-identity {
    border: 3px dashed var(--mm-outline);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin-bottom: var(--mm-space-4);
    background: var(--mm-card);
}

    .contribute-identity .form-group:last-child {
        margin-bottom: 0;
    }

.contribute-identity__invitee {
    text-align: center;
    margin: 0;
}

.contribute-identity > *:last-child {
    margin-bottom: 0;
}

/* ---------- 15. Wishlist status banners ---------- */
.status-banner {
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin: var(--mm-space-3) 0 var(--mm-space-4);
    border: 3px solid var(--mm-outline);
    box-shadow: var(--mm-shadow);
}

    .status-banner h3 {
        margin: 0 0 var(--mm-space-2);
    }

    .status-banner p {
        margin: 0;
        font-size: 0.95rem;
    }

.status-banner--locked {
    background: #FFF8E1;
    border-color: var(--mm-yellow);
}

.status-banner--expired {
    background: #ECEFF1;
    border-color: #607D8B;
}

    .status-banner--expired h3 {
        color: #37474F;
    }

.status-banner--adjourned {
    background: #FFF3E0;
    border-color: var(--mm-orange);
}

    .status-banner--adjourned h3 {
        color: #E65100;
    }

/* ---------- 16. Read-only values ---------- */
.readonly-value {
    padding: 12px 14px;
    background: #F5F5F5;
    border: 3px solid #E0E0E0;
    border-radius: var(--mm-radius-sm);
    margin: 0;
    white-space: pre-wrap;
    font-size: 1rem;
    color: var(--mm-ink);
}

/* ---------- 17. Expiry slider ---------- */
.expiry-slider {
    margin: var(--mm-space-2) 0;
}

.slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, var(--mm-green), var(--mm-yellow));
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    border: 3px solid var(--mm-outline);
}

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 28px;
        height: 28px;
        background: var(--mm-green);
        border: 3px solid var(--mm-outline);
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 2px 2px 0 var(--mm-outline);
        margin-top: -2px;
    }

    .slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
        background: var(--mm-green);
        border: 3px solid var(--mm-outline);
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 2px 2px 0 var(--mm-outline);
    }

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--mm-muted);
    gap: 8px;
    flex-wrap: wrap;
}

.slider-current {
    color: var(--mm-ink);
    text-align: center;
    flex: 1 1 100%;
    order: -1;
}

@media (min-width: 480px) {
    .slider-current {
        order: 0;
        flex: 0 1 auto;
    }
}

/* ---------- 18. Lifecycle actions ---------- */
.lifecycle-actions {
    margin-top: var(--mm-space-5);
    padding-top: var(--mm-space-4);
    border-top: 3px dashed var(--mm-outline);
}

    .lifecycle-actions h3 {
        margin-top: 0;
        margin-bottom: var(--mm-space-3);
    }

    .lifecycle-actions .field-hint {
        display: block;
        margin-top: var(--mm-space-3);
        margin-left: auto;
        margin-right: auto;
        max-width: 42ch;
        line-height: 1.5;
        text-align: center;
    }

/* ---------- 19. Campaign progress ---------- */
.campaign-progress {
    --control-h: 38px;
    display: flex;
    align-items: center;
    gap: var(--mm-space-2);
    margin: var(--mm-space-3) 0;
    flex-wrap: wrap;
}

.progress-bar {
    position: relative;
    flex: 1 1 200px;
    min-width: 0;
    height: var(--control-h);
    background: #E0E0E0;
    border: 3px solid var(--mm-outline);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--mm-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--mm-green);
    transition: width 0.6s ease-out;
}

.progress-label {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--mm-ink);
    white-space: nowrap;
    padding: 0 8px;
}

.btn-details {
    flex-shrink: 0;
    height: var(--control-h);
    padding: 0 16px;
    font-size: 1rem;
    letter-spacing: 2px;
    line-height: 1;
    min-width: 48px;
}

/* ---------- 20. Contributions list ---------- */
.contribution-card {
    background: var(--mm-card);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius);
    box-shadow: var(--mm-shadow);
    padding: var(--mm-space-3);
    margin-bottom: var(--mm-space-3);
}

.contribution-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--mm-space-2);
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.contribution-meta {
    font-size: 0.85rem;
    color: var(--mm-muted);
}

    .contribution-meta > div {
        padding: 2px 0;
    }

.contrib-amount {
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--mm-green-dark);
}

.thank-you-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: var(--mm-space-3);
    padding-top: var(--mm-space-3);
    border-top: 2px dashed var(--mm-outline);
}

.thank-you-status {
    font-size: 0.85rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 30px;
    border: 2px solid var(--mm-outline);
    white-space: nowrap;
}

.thank-you-status--ok {
    background: #E8F5E9;
    color: var(--mm-green-dark);
}

.thank-you-status--fail {
    background: #FFEBEE;
    color: #B71C1C;
}

.invite-send-row {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: var(--mm-space-3);
    padding-top: var(--mm-space-3);
    border-top: 2px dashed var(--mm-outline);
}

.invite-send-status {
    font-size: 0.85rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 30px;
    border: 2px solid var(--mm-outline);
    white-space: nowrap;
}

.invite-send-status--ok {
    background: #E8F5E9;
    color: var(--mm-green-dark);
}

.invite-send-status--fail {
    background: #FFEBEE;
    color: #B71C1C;
}

/* ---------- 21. Wishlist CTA hint ---------- */
.wishlist-cta-hint {
    display: block;
    text-align: center;
    max-width: 42ch;
    margin: var(--mm-space-2) auto 0;
    font-size: 0.82rem;
    color: var(--mm-muted);
    line-height: 1.35;
}

/* ---------- 22. Past wishlist rows ---------- */
.past-wishlist-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

    .past-wishlist-info strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .past-wishlist-info small {
        font-size: 0.8rem;
    }

.past-wishlist-badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 30px;
    border: 2px solid var(--mm-outline);
    white-space: nowrap;
}

.past-wishlist-badge--expired {
    background: #ECEFF1;
    color: #37474F;
}

.past-wishlist-badge--adjourned {
    background: #FFF3E0;
    color: #E65100;
}

/* ---------- 23. Address book picker ---------- */
.address-book-picker {
    background: var(--mm-cream);
    border: 3px dashed var(--mm-outline);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin: var(--mm-space-3) 0;
}

    .address-book-picker label {
        display: block;
        font-weight: bold;
        margin-bottom: 8px;
    }

.pick-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 600px) {
    .pick-row {
        flex-direction: row;
    }

        .pick-row select {
            flex: 1;
        }
}

.divider-or {
    text-align: center;
    color: var(--mm-muted);
    font-size: 0.9rem;
    margin: var(--mm-space-3) 0;
}

/* ---------- 24. Modal dialogs ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--mm-space-3);
    z-index: 1000;
}

.modal-card {
    background: var(--mm-card);
    border: 4px solid var(--mm-outline);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-lg);
    padding: var(--mm-space-4);
    max-width: 420px;
    width: 100%;
    max-height: calc(100dvh - 3rem);
    overflow-y: auto;
}

    .modal-card::-webkit-scrollbar {
        width: 10px;
    }

    .modal-card::-webkit-scrollbar-track {
        background: transparent;
        margin-block: 20px;
    }

    .modal-card::-webkit-scrollbar-thumb {
        background: var(--mm-outline);
        border-radius: 30px;
        border: 2px solid var(--mm-card);
    }

    .modal-card h3 {
        margin-top: 0;
    }

/* ---------- 25. Kid switcher ---------- */
.mm-kid-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .mm-kid-switcher select {
        font-family: inherit;
        font-size: 0.95rem;
        font-weight: bold;
        padding: 6px 12px;
        border: 3px solid var(--mm-outline);
        border-radius: var(--mm-radius-sm);
        background: var(--mm-yellow);
        color: var(--mm-ink);
        cursor: pointer;
        box-shadow: var(--mm-shadow);
        appearance: none;
        -webkit-appearance: none;
        max-width: 160px;
    }

        .mm-kid-switcher select option {
            font-weight: bold;
        }

        .mm-kid-switcher select:focus {
            outline: none;
            box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.35);
        }

@media (min-width: 600px) {
    .mm-kid-switcher select {
        max-width: 220px;
    }
}

.mm-kid-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1;
    background: var(--mm-green);
    color: white;
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    box-shadow: var(--mm-shadow);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s;
}

    .mm-kid-add:hover,
    .mm-kid-add:focus-visible {
        filter: brightness(1.08);
        outline: none;
    }

    .mm-kid-add:active {
        transform: translate(3px, 3px);
        box-shadow: 1px 1px 0 var(--mm-outline);
    }

.mm-kid-add--wide {
    width: auto;
    padding: 0 14px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.mm-kid-trigger {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 6px 12px;
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    background: var(--mm-yellow);
    color: var(--mm-ink);
    cursor: pointer;
    box-shadow: var(--mm-shadow);
    width: 140px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

    .mm-kid-trigger:active {
        transform: translate(3px, 3px);
        box-shadow: 1px 1px 0 var(--mm-outline);
    }

/* ---------- 26. Kid rows / action buttons ---------- */
.kid-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: var(--mm-radius-sm);
    background: #FAFAFA;
    border: 2px solid #EEE;
    margin-bottom: 8px;
}

.kid-row--active {
    background: var(--mm-cream);
    border-color: var(--mm-outline);
}

.kid-row-name {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    color: var(--mm-ink);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}

    .kid-row-name:hover,
    .kid-row-name:focus-visible {
        background: rgba(0, 0, 0, 0.05);
        outline: none;
    }

.kid-row-badge {
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mm-green-dark);
    background: white;
    padding: 2px 8px;
    border-radius: 30px;
    border: 2px solid var(--mm-green);
}

.kid-row-action {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: white;
    border: 2px solid var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--mm-outline);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

    .kid-row-action:active {
        transform: translate(2px, 2px);
        box-shadow: 0 0 0 var(--mm-outline);
    }

    .kid-row-action:hover,
    .kid-row-action:focus-visible {
        background: var(--mm-cream);
        outline: none;
    }

.kid-row-action--delete {
    color: #B71C1C;
}

/* ---------- 27. Nav menu ---------- */
.mm-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--mm-yellow);
    border: 3px solid var(--mm-outline);
    border-radius: 12px;
    box-shadow: var(--mm-shadow);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

    .mm-burger:active {
        transform: translate(3px, 3px);
        box-shadow: 1px 1px 0 var(--mm-outline);
    }

.mm-burger-line {
    display: block;
    height: 3px;
    background: var(--mm-outline);
    border-radius: 2px;
}

.mm-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mm-card);
    border-bottom: 4px solid var(--mm-outline);
    padding: var(--mm-space-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    z-index: 50;
}

.mm-nav--open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

.mm-nav-btn {
    --nav-color: var(--mm-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 260px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-family: inherit;
    font-weight: bold;
    font-size: 1rem;
    background: var(--nav-color);
    border: 3px solid var(--mm-outline);
    box-shadow: var(--mm-shadow);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s;
    -webkit-tap-highlight-color: transparent;
}

    .mm-nav-btn:hover,
    .mm-nav-btn:focus-visible {
        filter: brightness(1.08);
    }

    .mm-nav-btn:active {
        transform: translate(3px, 3px);
        box-shadow: 1px 1px 0 var(--mm-outline);
    }

/* Per-item colors */
.mm-nav-btn--home {
    --nav-color: var(--mm-orange);
}

.mm-nav-btn--wishlist {
    --nav-color: var(--mm-green);
}

.mm-nav-btn--invitees {
    --nav-color: var(--mm-purple);
}

.mm-nav-btn--payout {
    --nav-color: var(--mm-blue);
}

.mm-nav-btn--history {
    --nav-color: #00897B;
}

.mm-nav-btn--account {
    --nav-color: #6D4C41;
}

.mm-nav-btn--support {
    --nav-color: #7E57C2;
}

.mm-nav-btn--login {
    --nav-color: var(--mm-blue);
}

.mm-nav-btn--logout {
    --nav-color: #B71C1C;
}

.mm-nav-emoji {
    font-size: 1.2em;
    line-height: 1;
}

@media (min-width: 900px) {
    .mm-burger {
        display: none;
    }

    .mm-nav {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: 0;
        padding: 0;
    }

    .mm-nav-btn {
        width: auto;
        max-width: none;
        padding: 8px 16px;
        font-size: 0.95rem;
        gap: 6px;
    }

    .mm-nav-btn--login {
        margin-left: 6px;
    }

    .mm-nav-emoji {
        display: none;
    }
}

/* ---------- 28. Payout history ---------- */
.payout-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mm-space-3);
    background: var(--mm-cream);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-4);
    margin-bottom: var(--mm-space-4);
    box-shadow: var(--mm-shadow);
}

.payout-summary-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.payout-summary-label {
    font-size: 0.85rem;
    color: var(--mm-muted);
    margin-bottom: 4px;
}

.payout-summary-value {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: bold;
    color: var(--mm-green-dark);
}

.payout-card {
    background: var(--mm-card);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius);
    box-shadow: var(--mm-shadow);
    padding: var(--mm-space-3);
    margin-bottom: var(--mm-space-3);
}

.payout-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--mm-space-2);
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.payout-toy {
    font-size: 0.95rem;
    color: var(--mm-muted);
    font-style: italic;
    margin: 0 0 var(--mm-space-3);
}

.payout-status {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 30px;
    border: 2px solid var(--mm-outline);
    white-space: nowrap;
}

.payout-status--pending {
    background: var(--mm-yellow);
    color: var(--mm-ink);
}

.payout-status--processing {
    background: var(--mm-blue);
    color: white;
}

.payout-status--settled {
    background: var(--mm-green);
    color: white;
}

.payout-status--failed {
    background: var(--mm-pink);
    color: white;
}

.payout-amounts {
    border-top: 2px dashed var(--mm-outline);
    border-bottom: 2px dashed var(--mm-outline);
    padding: var(--mm-space-2) 0;
    margin-bottom: var(--mm-space-2);
}

    .payout-amounts > div {
        display: flex;
        justify-content: space-between;
        padding: 3px 0;
    }

.payout-net {
    font-size: 1.05rem;
    color: var(--mm-green-dark);
    border-top: 1px solid #E0E0E0;
    padding-top: 6px !important;
    margin-top: 4px;
}

.payout-meta {
    font-size: 0.85rem;
    color: var(--mm-muted);
}

    .payout-meta > div {
        padding: 2px 0;
    }

/* ---------- 29. Account page sections ---------- */
.account-section {
    background: var(--mm-card);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-4);
    margin-bottom: var(--mm-space-4);
    box-shadow: var(--mm-shadow);
}

    .account-section h3 {
        margin-top: 0;
        margin-bottom: var(--mm-space-3);
    }

/* ---------- 30. Coming soon ---------- */
.coming-soon-card {
    background: #FFF3E0;
    border: 3px dashed var(--mm-orange);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin: var(--mm-space-3) 0;
}

    .coming-soon-card h3 {
        margin-top: 0;
        color: #E65100;
    }

/* ---------- 31. Share link block ---------- */
.share-link-block {
    background: #E3F2FD;
    border: 3px dashed var(--mm-blue);
    border-radius: var(--mm-radius);
    padding: var(--mm-space-3);
    margin: var(--mm-space-4) 0;
}

    .share-link-block p {
        margin: 0 0 var(--mm-space-2);
    }

    .share-link-block .muted {
        margin-top: var(--mm-space-3);
        margin-bottom: 0;
        line-height: 1.4;
        font-size: 0.85rem;
        text-align: center;
        max-width: 42ch;
        margin-left: auto;
        margin-right: auto;
    }

.share-link-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .share-link-row .form-control {
        font-family: ui-monospace, 'SF Mono', Consolas, monospace;
        font-size: 0.9rem;
    }

@media (min-width: 600px) {
    .share-link-row {
        flex-direction: row;
    }

        .share-link-row .form-control {
            flex: 1;
        }
}

/* ---------- 32. Guest tagline ---------- */
.mm-guest-tagline {
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    color: var(--mm-muted);
    display: none;
}

@media (min-width: 600px) {
    .mm-guest-tagline {
        display: inline;
    }
}

/* ---------- 33. Verify email banner ---------- */
.verify-banner {
    background: #FFF8E1;
    border-bottom: 3px solid var(--mm-orange);
    padding: 10px var(--mm-space-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.95rem;
}

.verify-banner-text {
    font-weight: bold;
    color: #E65100;
}

.verify-banner-btn {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 6px 14px;
    background: var(--mm-orange);
    color: white;
    border: 3px solid var(--mm-outline);
    border-radius: 30px;
    box-shadow: 2px 2px 0 var(--mm-outline);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

    .verify-banner-btn:active {
        transform: translate(2px, 2px);
        box-shadow: 0 0 0 var(--mm-outline);
    }

    .verify-banner-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.verify-banner--ok {
    background: #E8F5E9;
    border-bottom-color: var(--mm-green);
}

    .verify-banner--ok .verify-banner-text {
        color: var(--mm-green-dark);
    }

.verify-banner--warn {
    background: #FFF8E1;
    border-bottom-color: var(--mm-orange);
}

    .verify-banner--warn .verify-banner-text {
        color: #E65100;
    }

@media (min-width: 600px) {
    .verify-banner {
        flex-direction: column;
        justify-content: center;
        gap: 16px;
    }
}

/* ---------- 34. Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #FFF8E1;
    border-top: 4px dashed var(--mm-orange);
    padding: var(--mm-space-3);
    display: flex;
    flex-direction: column;
    gap: var(--mm-space-2);
    text-align: center;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

    .cookie-banner p {
        margin: 0;
        font-size: 0.92rem;
        color: var(--mm-ink);
    }

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

    .cookie-buttons .btn-monster {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: var(--mm-space-3) var(--mm-space-4);
    }

        .cookie-banner p {
            flex: 1;
        }

    .cookie-buttons {
        flex-shrink: 0;
    }
}

.cookie-reassurance {
    font-size: 0.92rem;
    color: var(--mm-muted);
    margin-top: var(--mm-space-2);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ---------- 35. Template buttons ---------- */
.template-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

    .template-buttons button {
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: bold;
        color: var(--mm-ink);
        padding: 8px 14px;
        background: var(--mm-yellow);
        border: 2px solid var(--mm-outline);
        border-radius: 30px;
        cursor: pointer;
        box-shadow: 2px 2px 0 var(--mm-outline);
        -webkit-tap-highlight-color: transparent;
    }

        .template-buttons button:active {
            transform: translate(2px, 2px);
            box-shadow: 0 0 0 var(--mm-outline);
        }

/* ---------- 36. Image previews ---------- */
.image-preview-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.image-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    box-shadow: var(--mm-shadow);
}

/* ---------- 37. Avatar-style toy picture upload ---------- */
.avatar-upload-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: var(--mm-space-2) auto;
}

.avatar-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--mm-outline);
    box-shadow: var(--mm-shadow);
    background: var(--mm-cream);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.avatar-frame--readonly {
    cursor: default;
}

.avatar-upload-wrap:hover .avatar-frame:not(.avatar-frame--readonly) {
    transform: translateY(-2px);
}

.avatar-upload-wrap:active .avatar-frame:not(.avatar-frame--readonly) {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--mm-outline);
}

.avatar-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 0;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--mm-muted);
    text-align: center;
    padding: 12px;
    pointer-events: none;
}

.avatar-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.avatar-hint {
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.2;
}

.avatar-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mm-pink);
    color: white;
    border: 3px solid var(--mm-outline);
    box-shadow: 2px 2px 0 var(--mm-outline);
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 3;
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s;
}

    .avatar-remove:hover,
    .avatar-remove:focus-visible {
        filter: brightness(1.08);
        outline: none;
    }

    .avatar-remove:active {
        transform: translate(2px, 2px);
        box-shadow: 0 0 0 var(--mm-outline);
    }

.avatar-processing {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 249, 196, 0.92);
    z-index: 4;
    border-radius: 50%;
}

.avatar-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid var(--mm-outline);
    border-top-color: var(--mm-green);
    border-radius: 50%;
    animation: mm-spin 0.8s linear infinite;
}

@keyframes mm-spin {
    to {
        transform: rotate(360deg);
    }
}

.avatar-processing-text {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--mm-ink);
}

/* ---------- 38. Toy row: description + avatar side by side ---------- */
.toy-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mm-space-3);
    margin-bottom: var(--mm-space-3);
}

.toy-desc-col {
    width: 100%;
    margin-bottom: 0;
}

@media (min-width: 600px) {
    .toy-row {
        flex-direction: row;
        align-items: center;
        gap: var(--mm-space-4);
    }

    .toy-desc-col {
        flex: 1 1 auto;
        min-width: 0;
    }

    .avatar-upload-wrap {
        flex-shrink: 0;
        margin: 0;
    }
}

/* ---------- 39. Amount input + Set button ---------- */
.amount-with-set {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

    .amount-with-set .form-control {
        flex: 1 1 auto;
        min-width: 0;
    }

    .amount-with-set .btn-monster {
        flex-shrink: 0;
        padding: 12px 20px;
        font-size: 0.98rem;
    }

/* ---------- 40. Campaign duration label + extend button ---------- */
.duration-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

    .duration-row .btn-monster {
        flex-shrink: 0;
        padding: 6px 14px;
        font-size: 0.88rem;
    }

/* ---------- 41. Misc utility ---------- */
.kid-highlight {
    display: inline-block;
    background: linear-gradient(180deg, transparent 15%, var(--mm-yellow) 15%, var(--mm-yellow) 92%, transparent 92%);
    padding: 0 8px;
    border-radius: 4px;
    color: var(--mm-ink);
}

.wishlist-photo {
    display: block;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto var(--mm-space-3);
    border: 3px solid var(--mm-outline);
    border-radius: var(--mm-radius);
    box-shadow: var(--mm-shadow);
}

/* ---------- 42. Textarea scrollbars ---------- */
textarea.form-control::-webkit-scrollbar {
    width: 10px;
}

textarea.form-control::-webkit-scrollbar-track {
    background: transparent;
}

textarea.form-control::-webkit-scrollbar-thumb {
    background: var(--mm-outline);
    border-radius: 30px;
    border: 2px solid var(--mm-card);
}

    textarea.form-control::-webkit-scrollbar-thumb:hover {
        background: #1A1A1A;
    }

/* ---------- 43. Blazor error UI ---------- */
#blazor-error-ui {
    background: #FFEBEE;
    color: var(--mm-ink);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ---------- 44. Thank-you card ---------- */
.thank-you-card {
    background: var(--mm-cream);
    border: 4px dashed var(--mm-green);
    border-radius: var(--mm-radius-lg);
    padding: var(--mm-space-4) var(--mm-space-3);
    margin: var(--mm-space-4) 0;
    text-align: center;
}

    .thank-you-card h3 {
        margin: 0 0 var(--mm-space-2);
        color: var(--mm-green-dark);
        font-size: clamp(1.4rem, 5vw, 1.75rem);
    }

    .thank-you-card p {
        margin: 0;
        font-size: clamp(1rem, 3.5vw, 1.15rem);
        line-height: 1.5;
    }

/* ---------- 45. Progress block ---------- */
.progress-block strong {
    color: var(--mm-ink);
}

/* ---------- 46. Inline add button ---------- */
.inline-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4em;
    height: 1.4em;
    background: var(--mm-green);
    color: white;
    border: 2px solid var(--mm-outline);
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95em;
    line-height: 1;
    vertical-align: middle;
    margin: 0 3px;
    transform: translateY(-1px);
}

.invite-hint {
    text-align: center;
    font-size: 0.85rem;
    margin: var(--mm-space-2) 0;
}

/* ---------- 47. Consent checkboxes ---------- */
.consent-wrap {
    margin-bottom: var(--mm-space-3);
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.35;
    cursor: pointer;
}

    .consent-row input[type="checkbox"] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-top: 2px;
        cursor: pointer;
        accent-color: var(--mm-green);
    }

.expiry-slider + .field-hint {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 42ch;
}

.consent-wrap--centered .consent-row {
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 48. Stripe embed (Connect components) ---------- */
.stripe-embed {
    min-height: 400px;
}

.stripe-embed-wrapper {
    border: 3px dashed #635BFF;
    border-radius: var(--mm-radius-sm);
    padding: var(--mm-space-3) var(--mm-space-2);
    background: #F6F9FC;
    margin-block: var(--mm-space-4);
}

.stripe-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--mm-space-3);
}

.stripe-logo {
    height: 24px;
    width: auto;
}

/* ---------- 49. iOS touch behaviour ---------- */
.btn-monster,
.btn-amount,
.btn-small,
.mm-kid-add,
.mm-nav-btn,
.template-buttons button,
.kid-row-action,
.avatar-remove,
.verify-banner-btn,
.mm-burger {
    -webkit-touch-callout: none;
}

@media (hover: none) {
    a:focus,
    button:focus {
        outline: none;
    }
}

/* ---------- 50. Copy button balloon ---------- */
.copy-btn-wrap {
    position: relative;
    display: inline-flex;
}

.copy-btn-wrap--stretch {
    display: flex;
    width: 100%;
}

    .copy-btn-wrap--stretch > .btn-monster {
        width: 100%;
    }

@media (min-width: 600px) {
    .copy-btn-wrap--stretch {
        display: inline-flex;
        width: auto;
    }

        .copy-btn-wrap--stretch > .btn-monster {
            width: auto;
        }
}

.copy-balloon {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--mm-ink);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
    box-shadow: 2px 2px 0 var(--mm-outline);
}

.copy-balloon--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-balloon--error {
    background: var(--mm-pink);
}

.copy-balloon::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: var(--mm-ink);
    border-bottom-width: 0;
}

.copy-balloon--error::after {
    border-top-color: var(--mm-pink);
}

.copy-balloon--below {
    bottom: auto;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(-4px);
}

    .copy-balloon--below.copy-balloon--visible {
        transform: translateX(-50%) translateY(0);
    }

    .copy-balloon--below::after {
        top: auto;
        bottom: 100%;
        border-top-color: transparent;
        border-bottom-color: var(--mm-ink);
        border-top-width: 0;
        border-bottom-width: 7px;
    }

    .copy-balloon--below.copy-balloon--error::after {
        border-bottom-color: var(--mm-pink);
    }

/* ---------- 51. Pickup page ---------- */
.pickup-page {
    text-align: center;
    padding-top: var(--mm-space-4);
}

.pickup-page-heading {
    margin-top: var(--mm-space-4);
    margin-bottom: var(--mm-space-3);
}

@media (min-width: 600px) {
    .pickup-page-heading {
        margin-top: var(--mm-space-5);
    }
}

.form-control.pickup-code-input {
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

/* ---------- 52. Unsubscribe page ---------- */
.unsubscribe-email {
    background: var(--mm-cream);
    border: 3px dashed var(--mm-outline);
    border-radius: var(--mm-radius-sm);
    padding: var(--mm-space-3);
    text-align: center;
    font-size: 1.1rem;
    margin: var(--mm-space-3) 0;
    word-break: break-all;
}
