:root {
    --yolande-prune: #692e53;
    --yolande-prune-dark: #43203a;
    --yolande-pink: #dc7fa8;
    --yolande-cream: #fff8f3;
    --yolande-gold: #d4a85f;
    --ink: #322a31;
    color-scheme: light;
}

body {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(220, 127, 168, .18), transparent 28rem),
        linear-gradient(145deg, #fffaf6, #f6edf2);
}

.navbar, .btn-yolande {
    background: linear-gradient(135deg, var(--yolande-prune-dark), var(--yolande-prune));
    color: #fff !important;
}

.btn-yolande:hover, .btn-yolande:focus { background: var(--yolande-prune-dark); color: #fff !important; }
.text-prune { color: var(--yolande-prune); }
.badge-yolande { background: #f4d6e4; color: var(--yolande-prune-dark); }

.mwg-card {
    border: 0;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 3rem rgba(67, 32, 58, .12);
    overflow: hidden;
}

.coin-image {
    width: min(100%, 420px);
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 .75rem 2rem rgba(67, 32, 58, .15);
}

.guest-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--yolande-pink); box-shadow: 0 0 0 .25rem rgba(220,127,168,.2); }
.admin-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.qr-box canvas, .qr-box img {
    margin: auto;
    max-width: 100%;
    height: auto !important;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.paste-zone {
    border: 2px dashed var(--yolande-pink);
    background: #fff;
    cursor: pointer;
    outline: none;
}
.paste-zone:focus {
    border-color: var(--yolande-prune);
    box-shadow: 0 0 0 .25rem rgba(220,127,168,.2);
}
.paste-zone .paste-preview img {
    max-width: 100%;
    max-height: 140px;
    border-radius: .5rem;
}

@media (max-width: 767.98px) {
    body {
        background:
            radial-gradient(circle at 12% 8%, rgba(220, 127, 168, .10), transparent 18rem),
            linear-gradient(145deg, #fffdfb, #fff6f9);
    }

    .navbar {
        background: #692e53;
    }

    .navbar .container {
        gap: .75rem;
    }

    .navbar-brand {
        white-space: normal;
        line-height: 1.2;
    }

    .mwg-card {
        background: #fff;
        border: 1px solid rgba(105, 46, 83, .14);
        border-radius: 1rem;
        box-shadow: 0 .75rem 1.75rem rgba(67, 32, 58, .10);
    }

    .text-prune {
        color: #542544;
    }

    .text-secondary {
        color: #5f5660 !important;
    }

    .btn-yolande {
        background: #692e53;
        border-color: #692e53;
    }

    .btn-yolande:hover,
    .btn-yolande:focus {
        background: #542544;
        border-color: #542544;
    }

    .badge-yolande {
        background: #f8e1eb;
        color: #43203a;
    }

    .coin-image {
        background: #fff;
        box-shadow: 0 .5rem 1.25rem rgba(67, 32, 58, .12);
    }
}

@media print {
    .no-print { display: none !important; }
    .qr-ticket { break-inside: avoid; border: 1px solid #aaa !important; box-shadow: none !important; }
    .qr-box canvas, .qr-box img {
        width: 20mm !important;
        height: 20mm !important;
        max-width: none !important;
    }
}
