* {
    box-sizing: border-box;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Monarch';
    src: url("resources/font/MonarchHeritage-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'Monarch Italic';
    src: url("resources/font/MonarchHeritage-Italic.otf") format("opentype");
    font-style: italic;
    font-weight: 400;
}

:root {
    --accent: rgb(200,160,60);
    --midnight: rgb(24,24,32);
    --offwhite: rgb(245,245,250);
    --heading: 'Monarch';
    --italic-heading: 'Monarch Italic';
}

::-webkit-scrollbar {display: none;}

h1 {
    font: clamp(2.00rem, calc(0.909rem + 5.455vw), 5.00rem)/1 var(--heading), serif;
    text-transform: uppercase;
}

h2 {
    font: clamp(1.75rem, calc(1.023rem + 3.636vw), 3.75rem)/1 var(--heading), serif;
}

h3 {font: 500 clamp(1.50rem, calc(1.136rem + 1.818vw), 2.5rem)/1 var(--heading), serif;}

h4 {font: 300 clamp(1.25rem, calc(1.023rem + 1.136vw), 1.5rem)/1 'Inter', Arial, Helvetica, sans-serif;}

html, body {
    background-color: var(--offwhite);
    color: var(--midnight);
    overflow-x: hidden;
}

    #wrapper {
        height: 100dvh;
        width: 100dvw;
    }

        header {
            padding: 2rem;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 100;
            width: 100%;
        }

            header .content {
                background: rgba(245,245,250,0.75);
                -webkit-backdrop-filter: blur(4px);
                backdrop-filter: blur(4px);
                border-radius: 1.5rem;
                display: flex;
                justify-content: center;
                height: 3rem;
                margin: 0 auto;
                padding: 0;
                width: 100%;
                max-width: calc(1200px - 4rem);
            }

                header nav {
                    display: flex;
                    padding: 0.25rem;
                }

                    header nav a {
                        border-radius: 8rem;
                        color: var(--midnight);
                        font-family: var(--heading);
                        font-size: 1.25rem;
                        font-weight: 400;
                        height: 2.5rem;
                        line-height: 2.7rem;
                        padding: 0 1.25rem;
                        text-decoration: none;
                        transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
                    }

                    header nav a:focus:not(.active),
                    header nav a:hover:not(.active),
                    header nav a.active {
                        background: #FFF;
                        color: var(--midnight);
                    }

        main {
            margin: 0 auto;
            padding: 1rem;
            width: 100%;
            max-width: 1200px;
        }

            #hero {
                align-items: center;
                background: #FFF;
                border-radius: 2.5rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 2rem;
                position: relative;
                height: calc(100dvh - 2rem);
                width: 100%;
            }

            #hero::after {
                background: url("https://media.mikalaybourn.com/portraits/Mika_in_chair_on_set_v2_transparent_w_shadows.png") no-repeat fixed center / cover;
                content: '';
                pointer-events: none;
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                z-index: 1;
            }

                #hero h1 {
                    background: linear-gradient(90deg, var(--accent), Moccasin);
                    background-clip: text;
                    color: transparent;
                }

                    #hero h1 span {font-family: var(--italic-heading);}

                #hero .subtitle {
                    font-size: 1.25rem;
                    font-style: italic;
                    font-weight: 200;
                }

            #galleries {
                background: #FFF;
                border-radius: 2.5rem;
                margin-top: 2rem;
                overflow: hidden;
                padding: 2rem 0;
                position: relative;
                width: 100%;
            }

            #galleries::before,
            #galleries::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                pointer-events: none;
                width: 2rem;
                z-index: 10;
            }

            #galleries::before {background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));}
            #galleries::after {
                background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
                right: 0;
                left: auto;
            }

                #galleries h2 {
                    padding: 1rem 2rem 0 2rem;
                }

                #galleries .gallery-wrapper {
                    margin-top: 1rem;
                    overflow-x: auto;
                    position: relative;
                    width: 100%;
                }

                    #galleries .gallery-caroussel {
                        display: flex;
                        flex-direction: row;
                        gap: 2rem;
                        position: relative;
                        width: max-content;
                    }

                        #galleries .gallery-caroussel a {
                            aspect-ratio: 2 / 3;
                            border-radius: 1rem;
                            cursor: pointer;
                            display: block;
                            height: 32vw;
                        }

                        #galleries .gallery-caroussel a:first-of-type {margin-left: 2rem;}
                        #galleries .gallery-caroussel a:last-of-type {margin-right: 2rem;}

        #about-content {
            background: #FFF;
            border-radius: 2rem;
            display: flex;
            gap: 1rem;
            min-height: calc(100dvh - 2rem);
            padding: 1rem;
        }

            #about-content .info {
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 4rem 1rem;
                width: 50%;
            }

            #about #portrait {
                background: linear-gradient(to bottom, #FFF, var(--offwhite));
                border-radius: 1.5rem;
                object-fit: cover;
                width: 50%;
            }

        #contact #info-content {
            background: #FFF;
            border-radius: 2rem;
            padding: 5rem 2rem 2rem;
        }

            #info-content h2 {text-align: center;}

            #info-content form {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                margin: 1rem auto 0 auto;
                width: 100%;
                max-width: 600px;
            }

                #info-content form label {display: none;}

                #info-content form input,
                #info-content form textarea {
                    background: var(--offwhite);
                    border: 0;
                    border-radius: 1rem;
                    padding: 1rem;
                    font-size: 14px;
                    transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
                }

                #info-content form input::placeholder,
                #info-content form textarea::placeholder {
                    color: #000;
                    opacity: 0.25;
                    transition: opacity 0.25s cubic-bezier(0.5, 0, 0.5, 1);
                }

                #info-content form input:focus::placeholder,
                #info-content form input:hover::placeholder,
                #info-content form textarea:focus::placeholder,
                #info-content form textarea:hover::placeholder {opacity: 1;}

                #info-content form input:focus,
                #info-content form textarea:focus {outline: none;}

                #info-content form button {
                    background: linear-gradient(to bottom, transparent 50%, var(--accent) 50%) no-repeat center top / 100% 200%;
                    border: 1px solid var(--accent);
                    border-radius: 0.5rem;
                    color: var(--accent);
                    cursor: pointer;
                    font-size: 1rem;
                    padding: 1rem;
                    transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1);
                }

                #info-content form button:focus,
                #info-content form button:hover {
                    background-position: center bottom;
                    color: #000;
                }

        footer {
            background-color: black;
            border-radius: 2rem;
            color: var(--offwhite);
            display: flex;
            flex-direction: column;
            font-size: 12px;
            font-weight: 300;
            margin-top: 1rem;
            width: 100%;
        }

            footer .links {
                padding: 2rem;
                width: 50%;
            }

                footer .links a {
                    color: inherit;
                    display: block;
                    margin-top: 0.5rem;
                    text-decoration: none;
                }

                footer div a {
                    color: inherit;
                }

            footer div:not(.links) {
                background: rgba(245,245,250,0.1);
                border-radius: 2rem;
                padding: 2rem;
                text-align: center;
                width: 100%;
            }


/* ==========================================================================
   EXTENSIONS — accounts, galleries, checkout, admin
   ========================================================================== */

:root {
    --line: rgba(24,24,32,0.08);
    --muted: rgba(24,24,32,0.55);
    --danger: rgb(185,60,60);
    --success: rgb(45,120,75);
    --ease: cubic-bezier(0.5, 0, 0.5, 1);
}

        header nav a.nav-account:not(.active) {color: var(--accent);}

        /* ---------- Notices (flash messages) ---------- */
        .notices {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            left: 50%;
            max-width: 560px;
            position: fixed;
            top: 5.75rem;
            transform: translateX(-50%);
            width: calc(100% - 2rem);
            z-index: 150;
        }

            .notice {
                animation: notice-out 0.5s var(--ease) 7s forwards;
                background: var(--midnight);
                border-radius: 1rem;
                box-shadow: 0 12px 40px rgba(0,0,0,0.15);
                color: var(--offwhite);
                font-size: 0.9rem;
                padding: 1rem 1.25rem;
            }

            .notice-success {border-left: 4px solid var(--accent);}
            .notice-error {animation: none; background: var(--danger);}

            @keyframes notice-out {to {opacity: 0; transform: translateY(-1rem); visibility: hidden;}}

        /* ---------- Panels & typography ---------- */
        .panel {
            background: #FFF;
            border-radius: 2rem;
            margin-top: 1rem;
            padding: 2rem;
        }

        .panel.page-head {padding-top: 6.5rem;}
        main > .panel:first-child, main > .notices + .panel {margin-top: 0;}

            .panel > h2 + p, .panel > h3 + p {margin-top: 0.75rem;}

        .narrow {margin: 0 auto; max-width: 440px; width: 100%;}
        .medium {margin: 0 auto; max-width: 760px; width: 100%;}

        .eyebrow {
            color: var(--accent);
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.22em;
            margin-bottom: 0.9rem;
            text-transform: uppercase;
        }

        .lead {color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.6;}
        .muted {color: var(--muted);}
        .small {font-size: 0.82rem;}
        .center {text-align: center;}
        .sr-only {border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px;}
        .shake {animation: shake 0.4s var(--ease);}
        @keyframes shake {25% {transform: translateX(-6px);} 50% {transform: translateX(5px);} 75% {transform: translateX(-3px);}}
        .mt-1 {margin-top: 1rem;} .mt-2 {margin-top: 2rem;}

        .link, .prose a {color: var(--midnight); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px;}

        .prose {line-height: 1.7; font-weight: 300;}
            .prose h3 {font-size: 1.6rem; margin: 2rem 0 0.75rem;}
            .prose p, .prose ul {margin-bottom: 0.9rem;}
            .prose ul {padding-left: 1.25rem;}

        /* ---------- Forms ---------- */
        .form {display: flex; flex-direction: column; gap: 1rem;}

            .form .field {display: flex; flex-direction: column; gap: 0.4rem;}

            .form .field > label, .form .label {
                color: var(--muted);
                font-size: 0.72rem;
                font-weight: 500;
                letter-spacing: 0.06em;
                text-transform: uppercase;
            }

            .form input:not([type=checkbox]):not([type=radio]):not([type=file]),
            .form select,
            .form textarea {
                background: var(--offwhite);
                border: 0;
                border-radius: 1rem;
                color: var(--midnight);
                font-size: 14px;
                padding: 1rem;
                transition: box-shadow 0.25s var(--ease);
                width: 100%;
            }

            .form textarea {resize: vertical; line-height: 1.5;}

            .form select {
                -webkit-appearance: none;
                appearance: none;
                background-image: linear-gradient(45deg, transparent 50%, var(--midnight) 50%), linear-gradient(135deg, var(--midnight) 50%, transparent 50%);
                background-position: calc(100% - 1.4rem) 50%, calc(100% - 1.1rem) 50%;
                background-repeat: no-repeat;
                background-size: 0.3rem 0.3rem;
                cursor: pointer;
                padding-right: 2.5rem;
            }

            .form input:focus, .form select:focus, .form textarea:focus {box-shadow: inset 0 0 0 1px var(--accent); outline: none;}

            .form input::placeholder, .form textarea::placeholder {color: #000; opacity: 0.25;}

            .form .row {display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));}

            .form .check {align-items: flex-start; cursor: pointer; display: flex; font-size: 0.85rem; gap: 0.65rem; line-height: 1.45;}
                .form .check input {accent-color: var(--accent); flex: none; height: 1.05rem; margin-top: 0.1rem; width: 1.05rem;}

            .form .hint {color: var(--muted); font-size: 0.8rem; line-height: 1.45;}

            .form .actions {align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem;}

            .input-prefix {align-items: center; background: var(--offwhite); border-radius: 1rem; display: flex; overflow: hidden;}
                .input-prefix span {color: var(--muted); font-size: 14px; padding-left: 1rem; white-space: nowrap;}
                .form .input-prefix input {background: transparent; padding-left: 0.15rem;}

        fieldset.group {border: 0; border-top: 1px solid var(--line); padding-top: 1.5rem;}
            fieldset.group legend {font: 1.6rem/1 var(--heading), serif; padding-right: 1rem;}
            fieldset.group legend + * {margin-top: 1rem;}

        /* ---------- Buttons (same language as the contact form button) ---------- */
        .btn {
            align-items: center;
            background: linear-gradient(to bottom, transparent 50%, var(--accent) 50%) no-repeat center top / 100% 200%;
            border: 1px solid var(--accent);
            border-radius: 0.5rem;
            color: var(--accent);
            cursor: pointer;
            display: inline-flex;
            font-family: inherit;
            font-size: 1rem;
            gap: 0.5rem;
            justify-content: center;
            line-height: 1.2;
            padding: 0.9rem 1.4rem;
            text-decoration: none;
            transition: all 0.5s var(--ease);
            white-space: nowrap;
        }

        .btn:hover, .btn:focus-visible {background-position: center bottom; color: #000; outline: none;}

        .btn-solid {background-position: center bottom; color: #000;}
        .btn-solid:hover, .btn-solid:focus-visible {background-position: center top; color: var(--accent);}

        .btn-dark {background-image: linear-gradient(to bottom, transparent 50%, var(--midnight) 50%); border-color: var(--midnight); color: var(--midnight);}
        .btn-dark:hover, .btn-dark:focus-visible {color: var(--offwhite);}

        .btn-danger {background-image: linear-gradient(to bottom, transparent 50%, var(--danger) 50%); border-color: var(--danger); color: var(--danger);}
        .btn-danger:hover, .btn-danger:focus-visible {color: #FFF;}

        .btn-small {font-size: 0.85rem; padding: 0.55rem 0.9rem;}
        .btn-block {width: 100%;}
        .btn[disabled], .btn.is-disabled {cursor: not-allowed; opacity: 0.35; pointer-events: none;}

        .btn-link {background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 0.85rem; padding: 0; text-decoration: underline; text-underline-offset: 3px;}
        .btn-link:hover {color: var(--midnight);}

        /* ---------- Tabs ---------- */
        .tabs {
            background: var(--offwhite);
            border-radius: 1.5rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem;
            margin-bottom: 2rem;
            max-width: 100%;
            padding: 0.25rem;
            width: max-content;
        }

            .tabs a, .tabs button {
                background: none;
                border: 0;
                border-radius: 8rem;
                color: var(--midnight);
                cursor: pointer;
                font-family: inherit;
                font-size: 0.9rem;
                padding: 0.6rem 1.1rem;
                text-decoration: none;
                transition: background 0.25s var(--ease);
            }

            .tabs a.active, .tabs a:hover, .tabs button:hover {background: #FFF;}
            .tabs .tab-admin {color: var(--accent);}
            .tabs form {display: contents;}
            .tabs .tab-logout button {color: var(--muted);}

        /* ---------- Tables, pills, cards ---------- */
        .table-wrap {overflow-x: auto;}

        table.data {border-collapse: collapse; font-size: 0.9rem; width: 100%;}
            table.data th {border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; padding: 0.75rem; text-align: left; text-transform: uppercase; white-space: nowrap;}
            table.data td {border-bottom: 1px solid var(--line); padding: 0.85rem 0.75rem; vertical-align: middle;}
            table.data tr:last-child td {border-bottom: 0;}
            table.data .thumb {border-radius: 0.5rem; display: block; height: 72px; object-fit: cover; width: 48px; background: var(--offwhite);}
            table.data .num {text-align: right; white-space: nowrap;}

        .pill {background: var(--offwhite); border-radius: 2rem; display: inline-block; font-size: 0.72rem; font-weight: 500; padding: 0.25rem 0.65rem; white-space: nowrap;}
        .pill-paid, .pill-on {background: rgba(45,120,75,0.12); color: var(--success);}
        .pill-pending {background: rgba(200,160,60,0.16); color: rgb(130,98,20);}
        .pill-refunded, .pill-expired, .pill-failed {background: rgba(185,60,60,0.1); color: var(--danger);}

        .cards {display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));}

            .card {
                background: var(--offwhite);
                border-radius: 1.5rem;
                color: inherit;
                display: flex;
                gap: 1rem;
                padding: 1rem;
                text-decoration: none;
                transition: transform 0.35s var(--ease);
            }

            a.card:hover {transform: translateY(-2px);}

                .card img {aspect-ratio: 2 / 3; border-radius: 0.75rem; flex: none; object-fit: cover; width: 72px; background: #FFF;}
                .card .card-body {display: flex; flex-direction: column; gap: 0.3rem; min-width: 0;}
                .card h3 {font-size: 1.35rem;}

        .empty {color: var(--muted); padding: 3rem 1rem; text-align: center;}
            .empty h3 {color: var(--midnight); margin-bottom: 0.5rem;}

        .stats {display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 2rem;}
            .stat {background: var(--offwhite); border-radius: 1.25rem; padding: 1.25rem;}
                .stat b {display: block; font: 2rem/1 var(--heading), serif; margin-top: 0.4rem;}

        /* ---------- Gallery page ---------- */
        .gallery-head {
            background: #FFF;
            border-radius: 2.5rem;
            padding: 7rem 2rem 2.5rem;
            text-align: center;
        }

            .gallery-head h1 {
                font: clamp(1.75rem, calc(1.023rem + 3.636vw), 3.75rem)/1.05 var(--heading), serif;
                margin: 0 auto;
                max-width: 900px;
                text-transform: none;
            }

            .gallery-meta {display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.5rem;}
                .gallery-meta span {background: var(--offwhite); border-radius: 2rem; font-size: 0.8rem; padding: 0.45rem 0.95rem;}
                .gallery-meta b {color: var(--muted); font-weight: 400; margin-right: 0.3rem;}

            .gallery-desc {font-weight: 300; line-height: 1.6; margin: 1.5rem auto 0; max-width: 640px;}

        .shop {background: #FFF; border-radius: 2.5rem; margin-top: 1rem; padding: 2rem;}

            .shop-grid {align-items: start; display: grid; gap: 2rem; grid-template-columns: minmax(240px, 340px) 1fr;}

            .skater-picker select {font-family: var(--heading), serif; font-size: 1.25rem !important; padding: 1.1rem 2.5rem 1.1rem 1.25rem !important;}

            .packages {display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));}

                .package {
                    background: #FFF;
                    border: 1px solid var(--line);
                    border-radius: 1.25rem;
                    color: inherit;
                    cursor: pointer;
                    display: flex;
                    flex-direction: column;
                    font-family: inherit;
                    gap: 0.35rem;
                    padding: 1.25rem;
                    position: relative;
                    text-align: left;
                    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
                }

                .package:hover {border-color: var(--accent);}
                .package.selected {background: rgba(200,160,60,0.06); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);}
                .package .p-name {font: 1.5rem/1.1 var(--heading), serif;}
                .package .p-price {font-size: 1.05rem; font-weight: 600; margin-top: auto; padding-top: 0.5rem;}
                .package .p-desc {color: var(--muted); font-size: 0.85rem; line-height: 1.45;}
                .package .p-check {border: 1px solid var(--line); border-radius: 50%; height: 1.25rem; position: absolute; right: 1rem; top: 1rem; width: 1.25rem;}
                .package.selected .p-check {background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat; border-color: var(--accent);}

        .photos {background: #FFF; border-radius: 2.5rem; margin-top: 1rem; min-height: 40vh; padding: 2rem;}

            .photos-head {align-items: baseline; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between; margin-bottom: 1.5rem;}
                .photos-head h2 {font-size: clamp(1.5rem, calc(1rem + 2vw), 2.5rem);}

            .masonry {align-items: flex-start; display: flex; gap: 1rem;}
                .masonry .col {display: flex; flex: 1; flex-direction: column; gap: 1rem; min-width: 0;}

                .tile {
                    background: var(--offwhite);
                    border-radius: 1rem;
                    cursor: zoom-in;
                    display: block;
                    overflow: hidden;
                    position: relative;
                }

                    .tile img {display: block; height: auto; opacity: 0; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); width: 100%;}
                    .tile img.loaded {opacity: 1;}
                    .tile:hover img {transform: scale(1.02);}

                    .tile .pick {
                        align-items: center;
                        background: rgba(0,0,0,0.25);
                        border: 2px solid #FFF;
                        border-radius: 50%;
                        cursor: pointer;
                        display: none;
                        height: 2.1rem;
                        justify-content: center;
                        position: absolute;
                        right: 0.65rem;
                        top: 0.65rem;
                        transition: background 0.2s var(--ease), transform 0.2s var(--ease);
                        width: 2.1rem;
                        z-index: 2;
                    }

                    .selecting .tile .pick {display: flex;}
                    .tile .pick:hover {transform: scale(1.08);}
                    .tile.picked .pick {background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 60% no-repeat; border-color: var(--accent);}
                    .tile.picked::after {border-radius: 1rem; box-shadow: inset 0 0 0 3px var(--accent); content: ''; inset: 0; pointer-events: none; position: absolute;}

            .load-more {height: 1px;}

        /* Purchase bar */
        .buybar {
            -webkit-backdrop-filter: blur(10px);
            align-items: center;
            backdrop-filter: blur(10px);
            background: rgba(24,24,32,0.92);
            border-radius: 1.5rem;
            bottom: 1.25rem;
            color: var(--offwhite);
            display: flex;
            gap: 1rem;
            left: 50%;
            max-width: 760px;
            padding: 0.75rem 0.75rem 0.75rem 1.5rem;
            position: fixed;
            transform: translate(-50%, 160%);
            transition: transform 0.5s var(--ease);
            width: calc(100% - 2rem);
            z-index: 95;
        }

        .buybar.show {transform: translate(-50%, 0);}
            .buybar .bb-text {font-size: 0.95rem; line-height: 1.35; min-width: 0;}
            .buybar .bb-text small {display: block; opacity: 0.6;}
            .buybar .bb-progress {background: rgba(255,255,255,0.12); border-radius: 1rem; height: 4px; margin-top: 0.4rem; overflow: hidden; width: 160px;}
                .buybar .bb-progress span {background: var(--accent); display: block; height: 100%; transition: width 0.3s var(--ease); width: 0;}
            .buybar .btn {margin-left: auto;}

        /* Lightbox */
        .lightbox {align-items: center; background: rgba(12,12,16,0.95); display: none; inset: 0; justify-content: center; position: fixed; z-index: 200;}
        .lightbox.open {display: flex;}
            .lightbox img {border-radius: 0.75rem; max-height: calc(100dvh - 9rem); max-width: calc(100vw - 9rem); object-fit: contain; user-select: none; -webkit-user-drag: none;}
            .lb-btn {align-items: center; background: rgba(255,255,255,0.1); border: 0; border-radius: 50%; color: #FFF; cursor: pointer; display: flex; font-size: 1.3rem; height: 3rem; justify-content: center; position: absolute; transition: background 0.25s var(--ease); width: 3rem;}
            .lb-btn:hover {background: rgba(255,255,255,0.22);}
            .lb-prev {left: 1.5rem; top: calc(50% - 1.5rem);}
            .lb-next {right: 1.5rem; top: calc(50% - 1.5rem);}
            .lb-close {right: 1.5rem; top: 1.5rem;}
            .lb-bar {align-items: center; bottom: 1.5rem; color: var(--offwhite); display: flex; font-size: 0.85rem; gap: 1rem; left: 50%; position: absolute; transform: translateX(-50%); white-space: nowrap;}

        /* Modal */
        .modal {-webkit-backdrop-filter: blur(4px); align-items: center; backdrop-filter: blur(4px); background: rgba(12,12,16,0.45); display: none; inset: 0; justify-content: center; padding: 1rem; position: fixed; z-index: 210;}
        .modal.open {display: flex;}
            .modal-box {background: #FFF; border-radius: 2rem; max-height: calc(100dvh - 2rem); max-width: 500px; overflow-y: auto; padding: 2rem; width: 100%;}
            .modal-box h2 {margin-bottom: 1.25rem;}

        .summary {background: var(--offwhite); border-radius: 1.25rem; font-size: 0.9rem; margin-bottom: 1.25rem; padding: 1rem 1.25rem;}
            .summary div {display: flex; gap: 1rem; justify-content: space-between; padding: 0.35rem 0;}
            .summary dt {color: var(--muted);}
            .summary dd {text-align: right;}
            .summary .total {border-top: 1px solid var(--line); font-weight: 600; margin-top: 0.35rem; padding-top: 0.7rem;}

        /* Order page */
        .order-photos {display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));}
            .order-photos a {aspect-ratio: 1; background: var(--offwhite); border-radius: 0.9rem; display: block; overflow: hidden; position: relative;}
            .order-photos img {height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); width: 100%;}
            .order-photos a:hover img {transform: scale(1.04);}
            .order-photos a::after {background: rgba(0,0,0,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M12 4v12m0 0l-5-5m5 5l5-5M5 20h14'/%3E%3C/svg%3E") center / 1.4rem no-repeat; border-radius: 50%; bottom: 0.5rem; content: ''; height: 2.2rem; opacity: 0; position: absolute; right: 0.5rem; transition: opacity 0.3s var(--ease); width: 2.2rem;}
            .order-photos a:hover::after {opacity: 1;}

        /* ---------- Admin ---------- */
        .admin-head {align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-bottom: 1.5rem;}

        .split {display: grid; gap: 2.5rem; grid-template-columns: 240px 1fr;}

        .cover-drop {
            align-items: center;
            aspect-ratio: 2 / 3;
            background: var(--offwhite) center / cover no-repeat;
            border: 2px dashed rgba(24,24,32,0.15);
            border-radius: 1.25rem;
            color: var(--muted);
            cursor: pointer;
            display: flex;
            font-size: 0.8rem;
            justify-content: center;
            line-height: 1.45;
            padding: 1rem;
            position: relative;
            text-align: center;
            transition: border-color 0.25s var(--ease);
            width: 100%;
        }

        .cover-drop:hover, .cover-drop.over {border-color: var(--accent);}
        .cover-drop.has-image {border-style: solid; border-color: transparent;}
        .cover-drop.has-image span {display: none;}
        .cover-drop input {display: none;}
        .cover-warning {color: var(--danger); font-size: 0.78rem; margin-top: 0.5rem;}

        .switch {align-items: center; cursor: pointer; display: inline-flex; gap: 0.75rem; font-size: 0.95rem;}
            .switch input {-webkit-appearance: none; appearance: none; background: rgba(24,24,32,0.15); border-radius: 1rem; cursor: pointer; flex: none; height: 1.6rem; position: relative; transition: background 0.25s var(--ease); width: 2.8rem;}
            .switch input::after {background: #FFF; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.2); content: ''; height: 1.2rem; left: 0.2rem; position: absolute; top: 0.2rem; transition: transform 0.25s var(--ease); width: 1.2rem;}
            .switch input:checked {background: var(--accent);}
            .switch input:checked::after {transform: translateX(1.2rem);}

        .repeater {display: flex; flex-direction: column; gap: 0.75rem;}
            .repeater-row {align-items: end; background: var(--offwhite); border-radius: 1.25rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); padding: 1rem;}
                .form .repeater-row input:not([type=checkbox]):not([type=radio]):not([type=file]), .form .repeater-row select {background-color: #FFF;}
                .repeater-row .remove {grid-column: 1 / -1; justify-self: end;}

        .skater-table input {background: var(--offwhite); border: 0; border-radius: 0.6rem; font-size: 13px; padding: 0.55rem 0.7rem; width: 100%;}
        .skater-table input:focus {box-shadow: inset 0 0 0 1px var(--accent); outline: none;}

        .dropzone {border: 2px dashed rgba(24,24,32,0.15); border-radius: 1.25rem; color: var(--muted); padding: 2rem; text-align: center; transition: border-color 0.25s var(--ease), background 0.25s var(--ease);}
        .dropzone.over {background: rgba(200,160,60,0.05); border-color: var(--accent);}
            .dropzone input[type=file] {display: none;}

        .progress {background: var(--offwhite); border-radius: 1rem; height: 0.4rem; margin-top: 1rem; overflow: hidden;}
            .progress > span {background: var(--accent); display: block; height: 100%; transition: width 0.2s linear; width: 0;}

        .upload-log {color: var(--muted); font-size: 0.8rem; margin-top: 0.5rem; max-height: 8rem; overflow-y: auto;}

        .danger-zone {border: 1px solid rgba(185,60,60,0.25); border-radius: 1.5rem; padding: 1.5rem;}

        /* ---------- Responsive ---------- */
        @media (max-width: 900px) {
            .shop-grid, .split {grid-template-columns: 1fr;}
            .split .cover-col {max-width: 240px;}
            #about-content {flex-direction: column;}
                #about-content .info, #about #portrait {width: 100%;}
            #galleries .gallery-caroussel a {height: 60vw;}
            footer .links {width: 100%;}
        }

        @media (max-width: 760px) {
            header {padding: 1rem;}
                header .content {justify-content: flex-start; overflow-x: auto; scrollbar-width: none;}
                    header nav {margin: 0 auto;}
                    header nav a {font-size: 0.95rem; padding: 0 0.55rem; white-space: nowrap;}
                    header nav a.nav-account {
                        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A03C' stroke-width='1.6'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E") center / 1.2rem no-repeat;
                        font-size: 0;
                        padding: 0;
                        width: 2.5rem;
                    }
                    header nav a.nav-account.active, header nav a.nav-account:hover {background-color: #FFF;}
            .notices {top: 4.75rem;}
            main {padding: 0.5rem;}
            .panel, .shop, .photos {border-radius: 1.75rem; padding: 1.5rem;}
            .panel.page-head {padding-top: 5.5rem;}
            .gallery-head {padding: 5.5rem 1.25rem 2rem; border-radius: 1.75rem;}
            .masonry, .masonry .col {gap: 0.6rem;}
                .tile, .tile.picked::after {border-radius: 0.75rem;}
            .lightbox img {max-width: calc(100vw - 1rem); max-height: calc(100dvh - 10rem);}
            .lb-prev, .lb-next {top: auto; bottom: 1.25rem;}
            .lb-bar {bottom: 5.5rem;}
            .buybar {padding-left: 1rem; bottom: 0.75rem;}
                .buybar .bb-progress {width: 100px;}
        }

        @media (max-width: 380px) {
            header nav a {font-size: 0.9rem; padding: 0 0.42rem;}
        }