:root {
    color-scheme: dark;
    --ink: #edf6ff;
    --muted: #9fb2c7;
    --line: rgba(123, 178, 212, .22);
    --paper: rgba(16, 28, 43, .88);
    --paper-strong: rgba(10, 20, 33, .94);
    --wash: #07111e;
    --brand: #56b6d6;
    --brand-strong: #1f6f9a;
    --accent: #83e3ff;
    --success: #35d0a7;
    --danger: #ff8b8b;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 76px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 12%, rgba(42, 116, 168, .32), transparent 26rem),
        radial-gradient(circle at 78% 22%, rgba(61, 148, 190, .18), transparent 22rem),
        linear-gradient(135deg, #050b13 0%, #0a1726 48%, #101722 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

@keyframes ageGateDnaPulse {
    0% {
        opacity: .5;
        background-position: center -80px;
        filter: drop-shadow(0 0 10px rgba(131, 227, 255, .22));
    }
    100% {
        opacity: .5;
        background-position: center 680px;
        filter: drop-shadow(0 0 10px rgba(131, 227, 255, .22));
    }
}

body::before {
    opacity: .38;
    background-image:
        url("data:image/svg+xml,%3Csvg width='260' height='760' viewBox='0 0 260 760' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2373cdf4' stroke-opacity='.42' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M78 0 C182 95 182 190 78 285 C-26 380 -26 475 78 570 C182 665 182 760 78 855'/%3E%3Cpath d='M182 0 C78 95 78 190 182 285 C286 380 286 475 182 570 C78 665 78 760 182 855'/%3E%3C/g%3E%3Cg stroke='%2373cdf4' stroke-opacity='.25' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M91 52 L169 52'/%3E%3Cpath d='M116 96 L144 96'/%3E%3Cpath d='M138 140 L122 140'/%3E%3Cpath d='M165 184 L95 184'/%3E%3Cpath d='M171 228 L89 228'/%3E%3Cpath d='M146 272 L114 272'/%3E%3Cpath d='M121 316 L139 316'/%3E%3Cpath d='M94 360 L166 360'/%3E%3Cpath d='M88 404 L172 404'/%3E%3Cpath d='M114 448 L146 448'/%3E%3Cpath d='M140 492 L120 492'/%3E%3Cpath d='M166 536 L94 536'/%3E%3Cpath d='M170 580 L90 580'/%3E%3Cpath d='M145 624 L115 624'/%3E%3Cpath d='M119 668 L141 668'/%3E%3Cpath d='M93 712 L167 712'/%3E%3C/g%3E%3Cg fill='%2383e3ff' fill-opacity='.22'%3E%3Ccircle cx='91' cy='52' r='5'/%3E%3Ccircle cx='169' cy='52' r='5'/%3E%3Ccircle cx='165' cy='184' r='5'/%3E%3Ccircle cx='95' cy='184' r='5'/%3E%3Ccircle cx='88' cy='404' r='5'/%3E%3Ccircle cx='172' cy='404' r='5'/%3E%3Ccircle cx='166' cy='536' r='5'/%3E%3Ccircle cx='94' cy='536' r='5'/%3E%3Ccircle cx='93' cy='712' r='5'/%3E%3Ccircle cx='167' cy='712' r='5'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='260' height='760' viewBox='0 0 260 760' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%233a85c1' stroke-opacity='.34' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M78 0 C182 95 182 190 78 285 C-26 380 -26 475 78 570 C182 665 182 760 78 855'/%3E%3Cpath d='M182 0 C78 95 78 190 182 285 C286 380 286 475 182 570 C78 665 78 760 182 855'/%3E%3C/g%3E%3Cg stroke='%233a85c1' stroke-opacity='.22' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M91 52 L169 52'/%3E%3Cpath d='M116 96 L144 96'/%3E%3Cpath d='M138 140 L122 140'/%3E%3Cpath d='M165 184 L95 184'/%3E%3Cpath d='M171 228 L89 228'/%3E%3Cpath d='M146 272 L114 272'/%3E%3Cpath d='M121 316 L139 316'/%3E%3Cpath d='M94 360 L166 360'/%3E%3Cpath d='M88 404 L172 404'/%3E%3Cpath d='M114 448 L146 448'/%3E%3Cpath d='M140 492 L120 492'/%3E%3Cpath d='M166 536 L94 536'/%3E%3Cpath d='M170 580 L90 580'/%3E%3Cpath d='M145 624 L115 624'/%3E%3Cpath d='M119 668 L141 668'/%3E%3Cpath d='M93 712 L167 712'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 180px 760px, 180px 760px;
    background-position: 0 -80px, 90px 300px;
    background-repeat: repeat;
    mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}

body::after {
    opacity: .16;
    background-image: radial-gradient(circle at 50% 50%, rgba(131, 227, 255, .35) 0 2px, transparent 3px);
    background-size: 96px 96px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #b7efff; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
}

button {
    border: 1px solid rgba(131, 227, 255, .42);
    background: linear-gradient(180deg, #2580ad, #185f8d);
    color: white;
    padding: .72rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 93, 139, .24);
}

button:hover { filter: brightness(1.08); }
.button-secondary {
    background: rgba(8, 18, 31, .92);
    border-color: rgba(159, 178, 199, .42);
    box-shadow: none;
    color: var(--muted);
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(131, 227, 255, .42);
    background: linear-gradient(180deg, #2580ad, #185f8d);
    color: white;
    padding: .72rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 93, 139, .24);
}

.button-link:hover { color: white; filter: brightness(1.08); }

.button-link-secondary {
    background: rgba(8, 18, 31, .92);
    border-color: rgba(159, 178, 199, .42);
    box-shadow: none;
    color: var(--muted);
}

.button-danger,
button.button-danger {
    border-color: rgba(255, 139, 139, .45);
    background: linear-gradient(180deg, #9d3348, #741d32);
    box-shadow: 0 10px 24px rgba(116, 29, 50, .22);
}

button:disabled,
.button-danger:disabled {
    cursor: not-allowed;
    opacity: .5;
    filter: grayscale(.25);
}

input, textarea, select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .72rem;
    color: var(--ink);
    background: rgba(5, 14, 25, .9);
}

label { display: grid; gap: .35rem; color: var(--muted); font-weight: 700; }
main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 1.25rem; flex: 1 0 auto; }

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    margin-top: 0;
    flex-shrink: 0;
    border-top: 1px solid var(--line);
    background: rgba(5, 13, 24, .82);
    backdrop-filter: blur(14px);
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: .85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-footer__brand {
    display: inline-flex;
    align-items: flex-start;
    gap: .72rem;
    color: var(--muted);
    font-family: "centrifuge", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.site-footer__brand-text {
    display: grid;
    gap: .12rem;
}

.site-footer__brand img {
    width: 36px;
    height: 36px;
    margin-top: -.42rem;
    object-fit: contain;
    border-radius: 50%;
    padding: .25rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .86) 0 42%, rgba(255, 255, 255, .46) 70%, rgba(255, 255, 255, .12) 100%);
}

.site-footer__brand-name {
    line-height: 1.2;
}

.site-footer__copyright {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    align-self: center;
    text-align: center;
    flex: 1;
}

.site-tagline {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 400;
}

.site-footer__tagline {
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: .82rem;
    line-height: 1.2;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    align-self: flex-start;
    align-items: start;
    gap: 1.5rem;
}

.site-footer__links div {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: .28rem;
}

.site-footer__links h2 {
    margin: 0 0 .15rem;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--muted);
}

.site-footer__links a {
    color: var(--muted);
    font-weight: 400;
}

.site-footer__links a:hover {
    color: var(--accent);
}

.social-bar {
    position: fixed;
    right: 1rem;
    bottom: 5.25rem;
    z-index: 30;
    display: grid;
    gap: .45rem;
    padding: .45rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 13, 24, .9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
}

.social-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(131, 227, 255, .28);
    border-radius: 6px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
    background: rgba(8, 18, 31, .86);
}

.social-bar svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-bar span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.social-bar a:hover {
    color: var(--accent);
    border-color: rgba(131, 227, 255, .48);
    background: rgba(131, 227, 255, .1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--line);
}

th, td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.25rem;
    background: rgba(5, 13, 24, .9);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    font-family: "centrifuge", Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    padding: .25rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .98) 0 38%, rgba(255, 255, 255, .64) 62%, rgba(255, 255, 255, .18) 82%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 24px rgba(86, 182, 214, .22);
}

.brand-word-basic {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.underdog-header-banner {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    min-width: min(34rem, 42vw);
    overflow: hidden;
    padding: .45rem 1.35rem .42rem;
    border: 1px solid rgba(240, 216, 166, .46);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(74, 31, 36, .92), rgba(154, 60, 43, .9) 36%, rgba(217, 145, 50, .9) 72%, rgba(240, 216, 166, .92)),
        rgba(8, 18, 30, .92);
    color: #fff0c6;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -50%) skewX(-8deg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28), 0 0 22px rgba(217, 145, 50, .18);
}

.underdog-header-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 240, 198, .2) 17px 20px, transparent 21px 38px);
    opacity: .55;
    pointer-events: none;
}

.underdog-header-banner span,
.underdog-header-banner strong {
    position: relative;
    transform: skewX(8deg);
}

.underdog-header-banner span {
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.underdog-header-banner strong {
    font-size: clamp(.72rem, 1vw, .92rem);
    line-height: 1.1;
    letter-spacing: .05em;
}

.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; }
.site-nav span { color: var(--muted); }

@media (max-width: 1160px) {
    .underdog-header-banner {
        display: none;
    }
}
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.nav-toggle-button {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(131, 227, 255, .32);
    border-radius: 6px;
    background: rgba(5, 14, 25, .86);
    cursor: pointer;
}
.nav-toggle-button span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}
.topbar-avatar {
    display: inline-flex;
    align-items: center;
}

.topbar-avatar img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(5, 14, 25, .9);
    box-shadow: 0 0 16px rgba(86, 182, 214, .18);
}

.app-install-prompt {
    display: none;
}

.app-install-prompt[hidden] {
    display: none !important;
}

.app-install-prompt button {
    width: 100%;
    min-height: 3rem;
    border-radius: 0;
    border-right: 0;
    border-left: 0;
    background:
        linear-gradient(90deg, rgba(78, 255, 159, .98), rgba(115, 205, 244, .98), rgba(31, 111, 154, .98)),
        var(--brand);
    color: #02111c;
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(78, 255, 159, .16);
}

.app-install-prompt p {
    margin: 0;
    padding: .7rem 1rem;
    color: var(--muted);
    text-align: center;
    background: rgba(5, 13, 24, .96);
    border-bottom: 1px solid var(--line);
}
.admin-menu {
    position: relative;
}

.admin-menu summary {
    color: var(--accent);
    cursor: pointer;
    list-style: none;
}

.admin-menu summary::-webkit-details-marker {
    display: none;
}

.admin-menu summary::after {
    content: "▾";
    display: inline-block;
    margin-left: .35rem;
    font-size: .78em;
}

.admin-menu[open] summary::after {
    transform: rotate(180deg);
}

.admin-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + .65rem);
    z-index: 20;
    display: grid;
    min-width: 170px;
    padding: .45rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 13, 24, .98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}

@media (hover: hover) and (pointer: fine) {
    .admin-menu:not([open]) > .admin-menu__panel {
        display: grid;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-.25rem);
        pointer-events: none;
        transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    }

    .admin-menu:hover > .admin-menu__panel,
    .admin-menu:focus-within > .admin-menu__panel,
    .admin-menu[open] > .admin-menu__panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .admin-menu:hover summary::after,
    .admin-menu:focus-within summary::after {
        transform: rotate(180deg);
    }
}

.admin-menu__panel a {
    padding: .65rem .75rem;
    border-radius: 6px;
    color: var(--ink);
}

.admin-menu__panel a:hover {
    background: rgba(131, 227, 255, .1);
    color: var(--accent);
}
.inline { display: inline; }
.inline button { background: transparent; border: 0; box-shadow: none; color: var(--accent); padding: 0; }

.hero {
    display: grid;
    gap: .85rem;
    padding: 2rem 0 1.5rem;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    color: var(--ink);
    text-shadow: 0 0 38px rgba(86, 182, 214, .24);
}

.filters { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; max-width: 620px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

.product-card {
    background: linear-gradient(180deg, rgba(18, 35, 53, .9), rgba(9, 19, 32, .92));
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-rows: auto minmax(2.7rem, auto) 3.6rem auto;
    gap: .75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.product-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, .96) 0 32%, rgba(255, 255, 255, .52) 55%, rgba(255, 255, 255, 0) 74%),
        radial-gradient(circle at center, rgba(36, 102, 149, .24), rgba(4, 12, 22, .96));
    border: 1px solid rgba(131, 227, 255, .16);
}

.product-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    opacity: 0;
    transition: opacity .28s ease;
    z-index: 1;
}

.product-card__media img.is-active {
    opacity: 1;
}

.product-sale-badge {
    position: absolute;
    z-index: 5;
    top: .72rem;
    left: .62rem;
    max-width: calc(100% - 1.4rem);
    padding: .48rem .72rem .42rem;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(78, 255, 159, .98), rgba(115, 205, 244, .98) 54%, rgba(8, 28, 47, .98)),
        #4eff9f;
    color: #02111c;
    font-size: clamp(.78rem, 2.4vw, .98rem);
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .04em;
    transform: rotate(-5deg);
    isolation: isolate;
    box-shadow:
        0 0 0 2px rgba(5, 9, 13, .78),
        0 0 16px rgba(78, 255, 159, .62),
        0 0 32px rgba(115, 205, 244, .32);
    animation: saleBadgeFlash 1.45s ease-in-out infinite;
    will-change: filter, box-shadow;
}

.product-sale-badge::after {
    content: "";
    position: absolute;
    inset: -.72rem -.86rem;
    z-index: -1;
    pointer-events: none;
    border-radius: 12px;
    opacity: .88;
    background-image: url("data:image/svg+xml,%3Csvg width='180' height='54' viewBox='0 0 180 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M0 27 C20 5 40 5 60 27 S100 49 120 27 160 5 180 27' stroke='%234eff9f' stroke-width='3.2' stroke-opacity='.92'/%3E%3Cpath d='M0 27 C20 49 40 49 60 27 S100 5 120 27 160 49 180 27' stroke='%2373cdf4' stroke-width='3.2' stroke-opacity='.78'/%3E%3Cg stroke='%23ffffff' stroke-opacity='.52' stroke-width='1.6'%3E%3Cpath d='M16 18 L16 36'/%3E%3Cpath d='M31 12 L31 42'/%3E%3Cpath d='M46 16 L46 38'/%3E%3Cpath d='M74 36 L74 18'/%3E%3Cpath d='M89 43 L89 11'/%3E%3Cpath d='M104 38 L104 16'/%3E%3Cpath d='M134 18 L134 36'/%3E%3Cpath d='M149 12 L149 42'/%3E%3Cpath d='M164 16 L164 38'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 180px 54px;
    background-repeat: repeat-x;
    background-position: 0 center;
    filter: drop-shadow(0 0 8px rgba(78, 255, 159, .62)) drop-shadow(0 0 14px rgba(115, 205, 244, .36));
    animation: saleBadgeDnaOrbit 3.4s linear infinite;
}

.product-card__media img.logo-frame-image {
    transform: translateY(-1.25rem);
}
.product-card__media.has-one-line-title img.logo-frame-image {
    transform: translateY(-.65rem);
}

.product-card .logo-image-frame {
    border-radius: 6px;
}

.product-card .logo-image-frame img {
    background: transparent;
    border-color: transparent;
}

.product-card__image-title {
    position: absolute;
    z-index: 2;
    left: .6rem;
    right: .6rem;
    bottom: .6rem;
    height: 3.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #05090d;
    font-family: "centrifuge", Arial, Helvetica, sans-serif;
    font-size: clamp(1.14rem, 2.35vw, 1.68rem);
    font-weight: 900;
    font-synthesis: weight;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    -webkit-text-stroke: .7px rgba(78, 255, 159, .42);
    text-shadow:
        .45px 0 0 #05090d,
        -.45px 0 0 #05090d,
        0 .45px 0 #05090d,
        0 0 5px rgba(78, 255, 159, .34),
        0 0 12px rgba(78, 255, 159, .2),
        0 2px 4px rgba(0, 0, 0, .78);
}
.product-card__image-title[hidden] {
    display: none;
}
.product-detail .product-card__image-title {
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    height: 5.2rem;
}
.product-detail .product-sale-badge {
    top: 1rem;
    left: 1rem;
    font-size: clamp(1rem, 2.6vw, 1.35rem);
}

@keyframes saleBadgeFlash {
    0%, 100% {
        filter: saturate(1.1) brightness(1);
        transform: rotate(-5deg);
    }
    45% {
        filter: saturate(1.55) brightness(1.18);
        transform: rotate(-5deg);
        box-shadow:
            0 0 0 2px rgba(5, 9, 13, .78),
            0 0 18px rgba(255, 255, 255, .55),
            0 0 32px rgba(78, 255, 159, .7),
            0 0 52px rgba(115, 205, 244, .45);
    }
    62% {
        filter: saturate(1.28) brightness(1.04);
        transform: rotate(-5deg);
    }
}

@keyframes saleBadgeDnaOrbit {
    0% {
        background-position: 0 center;
        opacity: .72;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: 180px center;
        opacity: .72;
    }
}

.product-card h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
}
.product-detail h1 {
    font-weight: 900;
}
.product-card p, .product-card__description { color: var(--muted); margin: 0; }
.product-card__description {
    min-height: 3.6rem;
    max-height: 3.6rem;
    overflow: hidden;
}
.product-card__description p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__actions {
    display: grid;
    gap: .65rem;
    align-self: end;
}
.product-card__actions .button-link,
.product-card__actions button {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.price { font-weight: 800; color: var(--success); }
.muted-small {
    color: var(--muted);
    font-size: .88rem;
}
.members-price {
    color: var(--accent);
    font-weight: 800;
}
.row { display: flex; gap: .65rem; align-items: center; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 2rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.product-extra {
    grid-column: 1 / -1;
    margin-top: -.75rem;
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(9, 19, 32, .62);
}
.product-extra h2 {
    margin: 0 0 .5rem;
    font-size: 1.1rem;
}
.product-extra p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}
.product-default-additional {
    font-weight: 600;
}
.product-default-additional + .markdown-content {
    margin-top: .85rem;
}
.product-sale-section {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}
.product-sale-section .section-heading {
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--line);
}
.product-sale-section h2 {
    margin: 0;
}
.product-sale-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 260px);
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .15rem .1rem .85rem;
    scroll-snap-type: x proximity;
}
.product-sale-scroll .product-card {
    scroll-snap-align: start;
}

.underdog-page {
    display: grid;
    gap: 2rem;
    padding: 1.5rem 0 3rem;
}
.underdog-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    min-height: min(760px, calc(100vh - 130px));
    overflow: hidden;
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid rgba(218, 154, 77, .34);
    border-radius: 8px;
    background:
        linear-gradient(115deg, rgba(116, 52, 33, .78), rgba(168, 103, 42, .42) 34%, rgba(12, 23, 34, .72) 70%),
        radial-gradient(circle at 70% 48%, rgba(230, 178, 84, .3), transparent 24rem),
        rgba(8, 18, 30, .82);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .46);
}
.underdog-hero::before,
.underdog-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.underdog-hero::before {
    inset: 0;
    opacity: .22;
    background:
        repeating-linear-gradient(115deg, transparent 0 34px, rgba(255, 238, 187, .34) 35px 42px, transparent 43px 74px),
        radial-gradient(circle at 20% 80%, rgba(245, 214, 140, .5), transparent 18rem);
    mix-blend-mode: screen;
}
.underdog-hero::after {
    display: none;
}
.underdog-copy {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 1.1rem;
}
.underdog-copy h1 {
    max-width: 9ch;
    margin: 0;
    color: #fff0c6;
    font-family: "centrifuge", Arial, Helvetica, sans-serif;
    font-size: clamp(3.4rem, 10vw, 7.8rem);
    line-height: .82;
    text-transform: uppercase;
    text-shadow:
        0 4px 0 rgba(115, 45, 31, .95),
        0 0 28px rgba(240, 178, 72, .28);
}
.underdog-lede {
    max-width: 58ch;
    margin: 0;
    color: #f7dfb3;
    font-size: clamp(1.02rem, 2vw, 1.24rem);
    line-height: 1.7;
}
.underdog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}
.underdog-primary {
    border-color: rgba(255, 238, 187, .55);
    background: linear-gradient(180deg, #c65a2b, #87351f);
    box-shadow: 0 14px 30px rgba(99, 42, 25, .34);
}
.underdog-photo-fan {
    position: relative;
    z-index: 3;
    min-height: clamp(420px, 58vw, 650px);
}
.underdog-slide {
    position: absolute;
    width: clamp(140px, 24vw, 235px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: .42rem solid #f0d8a6;
    border-radius: 6px;
    background: #130d09;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .48);
    transition: left .75s ease, right .75s ease, top .75s ease, bottom .75s ease, width .75s ease, transform .75s ease, box-shadow .75s ease, border-width .75s ease, opacity .75s ease;
}
.underdog-main-photo {
    z-index: 5;
    left: 50%;
    right: auto;
    top: 52%;
    bottom: auto;
    width: clamp(245px, 42vw, 455px) !important;
    transform: translate(-50%, -50%) rotate(1.5deg);
    border-width: .6rem !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .58), 0 0 0 1px rgba(255, 255, 255, .14) !important;
}
.underdog-fan--one { z-index: 2; left: -3%; right: auto; top: 6%; bottom: auto; transform: rotate(-20deg); }
.underdog-fan--two { z-index: 2; left: auto; right: -2%; top: 1%; bottom: auto; transform: rotate(16deg); }
.underdog-fan--three { z-index: 2; left: 1%; right: auto; top: auto; bottom: 1%; transform: rotate(15deg); }
.underdog-fan--four { z-index: 2; left: auto; right: -4%; top: auto; bottom: 4%; transform: rotate(-15deg); }
.underdog-fan--five { z-index: 1; left: 30%; right: auto; top: -4%; bottom: auto; transform: rotate(-4deg); }
.underdog-vertical-bike { object-position: center top; }
.underdog-stripe {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .5fr);
    gap: 1.25rem;
    transform: skewX(-16deg);
}
.underdog-stripe span {
    height: .62rem;
    border-radius: 999px;
}
.underdog-stripe span:nth-child(1) { background: #f0d8a6; }
.underdog-stripe span:nth-child(2) { background: #d99132; }
.underdog-mission {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .5fr);
    gap: 1.25rem;
    align-items: stretch;
}
.underdog-mission > div,
.underdog-mission aside {
    padding: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid rgba(218, 154, 77, .28);
    border-radius: 8px;
    background: rgba(15, 25, 35, .78);
}
.underdog-mission h2,
.underdog-mission p {
    margin: 0;
}
.underdog-mission h2 {
    color: #f0d8a6;
    font-size: clamp(1.75rem, 4vw, 3.2rem);
}
.underdog-mission p {
    margin-top: .75rem;
    color: #d8c4a4;
    line-height: 1.7;
}
.underdog-mission aside {
    display: grid;
    align-content: center;
    gap: .75rem;
    background:
        linear-gradient(145deg, rgba(128, 52, 34, .56), rgba(26, 42, 53, .76)),
        rgba(15, 25, 35, .78);
}
.underdog-mission aside strong {
    color: #fff0c6;
    font-size: 1.15rem;
}
.underdog-mission aside span {
    color: #f0a64a;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.markdown-content {
    color: var(--muted);
    line-height: 1.65;
}
.markdown-content > *:first-child { margin-top: 0; }
.markdown-content > *:last-child { margin-bottom: 0; }
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    color: var(--ink);
    margin: 1rem 0 .45rem;
}
.markdown-content p,
.markdown-content ul,
.markdown-content ol {
    margin: 0 0 .85rem;
}
.markdown-content ul,
.markdown-content ol {
    padding-left: 1.35rem;
}
.markdown-content table {
    width: 100%;
    margin: 0 0 .85rem;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.markdown-content th,
.markdown-content td {
    padding: .65rem .75rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.markdown-content th {
    color: var(--ink);
    background: rgba(131, 227, 255, .1);
}
.markdown-content tr:last-child td {
    border-bottom: 0;
}
.markdown-content code,
.product-card__description code {
    padding: .12rem .3rem;
    border-radius: 4px;
    background: rgba(131, 227, 255, .12);
    color: var(--accent);
}
.markdown-content a,
.product-card__description a {
    color: var(--accent);
}

.gallery img, .thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, .96) 0 32%, rgba(255, 255, 255, .52) 55%, rgba(255, 255, 255, 0) 74%),
        radial-gradient(circle at center, rgba(33, 89, 135, .28), rgba(5, 13, 24, .96));
}
.gallery-logo-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
}
.product-detail .gallery-logo-frame {
    width: 75%;
    justify-self: center;
}
.gallery-logo-frame img {
    background: transparent;
    border: 0;
}
.product-image-variant-badge {
    position: absolute;
    z-index: 3;
    top: 1.85rem;
    right: 1.15rem;
    padding: .84rem 1.3rem;
    border: 1px solid rgba(78, 255, 159, .34);
    border-radius: 999px;
    background: rgba(5, 9, 13, .82);
    color: #4eff9f;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .02em;
    box-shadow: 0 0 18px rgba(78, 255, 159, .16);
    text-transform: uppercase;
}

.checkout-box, .auth-form, .admin-form {
    min-width: 0;
    max-width: 100%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.auth-form { max-width: 430px; margin: 2rem auto; }
.flash { padding: .85rem 1rem; border-radius: 6px; margin-bottom: 1rem; background: rgba(20, 89, 86, .7); border: 1px solid rgba(87, 219, 204, .32); }
.flash.error { background: rgba(94, 28, 40, .8); border-color: rgba(255, 139, 139, .38); color: #ffd8d8; }
.form-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.form-error { color: #ffd8d8; margin: 0; }
.admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 1.25rem;
    align-items: start;
}
.admin-layout > *,
.admin-form > *,
.admin-form label,
.admin-form fieldset {
    min-width: 0;
    max-width: 100%;
}
.admin-form p,
.checkout-box p {
    overflow-wrap: anywhere;
}
.admin-target-picker {
    max-width: 520px;
    margin-top: .75rem;
}
.admin-help {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(9, 19, 32, .72);
}
.admin-help h2 {
    margin: 0 0 .45rem;
    font-size: 1rem;
}
.admin-help p {
    margin: 0 0 .85rem;
    color: var(--muted);
}
.analytics-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.analytics-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto) minmax(180px, auto);
    gap: 1rem;
    align-items: end;
}
.analytics-control-card {
    display: grid;
    gap: .75rem;
    min-width: 0;
}
.analytics-metrics .checkout-box {
    margin-top: 0;
}
.analytics-metrics h2 {
    margin: 0;
    font-size: 2rem;
}
.checkout-box {
    overflow-x: auto;
}
.admin-help dl {
    display: grid;
    gap: .55rem;
    margin: 0;
}
.admin-help dt {
    color: var(--ink);
    font-weight: 800;
}
.admin-help dd {
    margin: -.45rem 0 .15rem;
    color: var(--muted);
}
.admin-help code {
    display: inline-block;
    max-width: 100%;
    padding: .22rem .36rem;
    border-radius: 4px;
    background: rgba(131, 227, 255, .1);
    color: var(--accent);
    overflow-wrap: anywhere;
}
.section-heading {
    margin-bottom: 1rem;
}
.section-heading h1,
.section-heading p {
    margin: 0;
}
.section-heading p {
    color: var(--muted);
    margin-top: .35rem;
}

.admin-protocols-heading .button-link {
    margin-top: .85rem;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.section-title-row h2 {
    margin: 0;
}
.calculator-page {
    display: grid;
    gap: 1rem;
}
.calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 1.25rem;
    align-items: start;
}
.calculator-form,
.calculator-results {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.calculator-form fieldset {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.syringe-panel {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 14, 25, .38);
}
.calculator-form legend,
.calculator-results h2 {
    color: var(--ink);
    font-weight: 900;
}
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: .6rem;
}
.option-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.option-grid label {
    display: block;
}
.option-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.option-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: .55rem .65rem;
    border: 1px solid rgba(131, 227, 255, .22);
    border-radius: 6px;
    background: rgba(5, 14, 25, .82);
    color: var(--ink);
    cursor: pointer;
}
.option-grid input:checked + span {
    border-color: rgba(131, 227, 255, .72);
    background: linear-gradient(180deg, #2580ad, #185f8d);
    box-shadow: 0 10px 24px rgba(15, 93, 139, .22);
}
.calculator-results h2 {
    margin: 0;
}
.calculator-results dl {
    display: grid;
    gap: .75rem;
    margin: 0;
}
.calculator-results dl div {
    display: grid;
    gap: .2rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
}
.calculator-results dt {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
}
.calculator-results dd {
    margin: 0;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 900;
}
.syringe-visual {
    display: grid;
    gap: .7rem;
    width: 100%;
    margin-top: .35rem;
}
.syringe-visual__label {
    justify-self: start;
    padding: .25rem .5rem;
    border: 1px solid rgba(131, 227, 255, .28);
    border-radius: 999px;
    background: rgba(5, 14, 25, .72);
    color: var(--accent);
    font-size: .82rem;
    font-weight: 900;
}
.syringe-visual__body {
    position: relative;
    height: 4.3rem;
    margin-bottom: 2.65rem;
    overflow: visible;
    border: 2px solid rgba(131, 227, 255, .42);
    border-radius: 12px 4px 4px 12px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)),
        rgba(5, 14, 25, .88);
}
.syringe-visual__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(53, 208, 167, .92), rgba(131, 227, 255, .82)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .16) 0 8px, transparent 8px 16px);
    transition: width .2s ease;
    z-index: 1;
}
.syringe-visual__ticks {
    position: absolute;
    inset: .55rem 0;
    z-index: 4;
}
.syringe-visual__ticks span {
    position: absolute;
    left: var(--pos);
    bottom: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 1.25rem;
    background: rgba(237, 246, 255, .62);
}
.syringe-visual__ticks span.is-major {
    height: 2.35rem;
    width: 3px;
}
.syringe-visual__ticks span.is-medium {
    height: 1.75rem;
    width: 2px;
}
.syringe-visual__numbers {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .72rem);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}
.syringe-visual__numbers span {
    position: absolute;
    left: var(--pos);
    transform: translateX(-50%);
}
.syringe-visual p {
    margin: 0;
    color: var(--muted);
}
.user-admin-list {
    display: grid;
    gap: 1rem;
}
.user-admin-card {
    position: relative;
    display: grid;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.user-admin-card form {
    display: grid;
    gap: .85rem;
}
.user-admin-card__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .75rem;
    cursor: pointer;
    list-style: none;
}
.user-admin-card__summary::marker {
    content: "";
}
.user-admin-card__summary::-webkit-details-marker {
    display: none;
}
.user-admin-card__summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(123, 213, 255, .34);
    border-radius: 999px;
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    background: rgba(123, 213, 255, .08);
}
.user-admin-card[open] .user-admin-card__summary {
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--line);
}
.user-admin-card[open] .user-admin-card__summary::after {
    content: "-";
}
.user-admin-card__identity,
.user-admin-card__types {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.user-admin-card__identity {
    min-width: 0;
}
.user-admin-card__identity > div {
    min-width: 0;
}
.user-admin-card__header,
.user-admin-actions,
.user-admin-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}
.user-admin-actions__primary,
.user-admin-actions__links {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.user-admin-card__header h2,
.user-admin-card__header p {
    margin: 0;
}
.user-admin-card__header p,
.user-admin-meta {
    color: var(--muted);
}
.user-admin-card__summary h2,
.user-admin-card__summary p {
    margin: 0;
}
.user-admin-card__summary p {
    color: var(--muted);
}
.user-admin-avatar {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(5, 14, 25, .9);
}
.user-admin-avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 900;
}
.user-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}
.user-profile-details {
    display: grid;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 14, 25, .38);
}
.user-profile-details summary {
    color: var(--accent);
    cursor: pointer;
    font-weight: 800;
}
.user-profile-details[open] summary {
    margin-bottom: .75rem;
}
.user-orders-box {
    display: grid;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid rgba(131, 227, 255, .18);
    border-radius: 8px;
    background: rgba(9, 19, 32, .52);
}
.user-orders-box__header,
.user-order-card__head,
.user-order-items li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.user-orders-box__header h3,
.user-order-card__head h3,
.user-order-card__head p,
.user-order-card p {
    margin: 0;
}
.user-orders-box__header span,
.user-order-card__head p {
    color: var(--muted);
    font-size: .88rem;
}
.user-order-card {
    display: grid;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid rgba(123, 213, 255, .16);
    border-radius: 8px;
    background: rgba(5, 14, 25, .58);
}
.user-order-card__totals {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .55rem;
    flex-wrap: wrap;
    text-align: right;
}
.user-order-items {
    display: grid;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.user-order-items li {
    align-items: baseline;
    color: var(--muted);
}
.user-order-items span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.user-order-items strong {
    color: var(--ink);
    white-space: nowrap;
}
.user-order-history {
    display: grid;
    gap: .65rem;
}
.user-order-history summary {
    width: fit-content;
    color: var(--accent);
    cursor: pointer;
    font-weight: 800;
}
.user-order-history[open] summary {
    margin-bottom: .65rem;
}
.user-order-history__list {
    display: grid;
    gap: .75rem;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .3rem .65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    text-transform: capitalize;
}
.status-pill--active {
    color: var(--success);
    border-color: rgba(53, 208, 167, .34);
    background: rgba(53, 208, 167, .08);
}
.status-pill--blocked {
    color: var(--danger);
    border-color: rgba(255, 139, 139, .38);
    background: rgba(255, 139, 139, .08);
}
.inline-delete {
    margin-top: -.35rem;
}
.user-admin-card > .inline-delete {
    margin-top: 0;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
}
.user-admin-delete-form {
    display: none;
}
.protocol-grid,
.protocol-item-list,
.request-list,
.stacked-form {
    display: grid;
    gap: 1rem;
}
.protocol-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.protocol-footer {
    display: grid;
    gap: .45rem;
    justify-items: start;
    margin-top: 1.25rem;
}
.protocol-card,
.protocol-item,
.request-card {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.protocol-card {
    grid-template-columns: 176px minmax(0, 1fr);
    align-items: start;
}
.protocol-card > *:not(.protocol-card__logo) {
    grid-column: 2;
}
.protocol-card__logo {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 155px;
    height: 155px;
    object-fit: contain;
    padding: .8rem;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .96) 0 34%, rgba(255, 255, 255, .5) 58%, rgba(255, 255, 255, 0) 76%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 24px rgba(86, 182, 214, .2);
}
.protocol-card h2,
.protocol-card p,
.protocol-item h3,
.protocol-item p,
.request-card h3,
.request-card p {
    margin: 0;
}
.protocol-detail {
    display: grid;
    gap: 1.25rem;
}
.protocol-product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .85rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(123, 178, 212, .14);
}
.protocol-product-row:last-child {
    border-bottom: 0;
}
.protocol-product-row label:last-child {
    grid-column: 1 / -1;
}
.protocol-form {
    margin-top: 0;
}
.calendar-layout {
    margin-bottom: 1.25rem;
}
.calendar-itinerary {
    margin: 0;
}
.personal-calendar {
    position: relative;
    display: grid;
    gap: .75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.personal-calendar[hidden] {
    display: none;
}
.personal-calendar__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .15rem;
}
.personal-calendar__clear {
    margin: 0;
}
.personal-calendar__clear-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.personal-calendar__clear button {
    padding: .5rem .7rem;
    font-size: .82rem;
}
.personal-calendar__header span {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
.personal-calendar__header h2 {
    margin: 0;
    font-size: 1.65rem;
}
.calendar-nav {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.calendar-nav .button-link {
    padding: .48rem .7rem;
    font-size: .86rem;
}
.personal-calendar__weekdays,
.personal-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
.personal-calendar__weekdays {
    gap: .35rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
.personal-calendar__weekdays span {
    padding: 0 .35rem;
}
.personal-calendar__grid {
    gap: .35rem;
}
.personal-calendar__day {
    min-height: 112px;
    padding: .45rem;
    border: 1px solid rgba(123, 178, 212, .16);
    border-radius: 8px;
    background: rgba(5, 14, 25, .42);
    overflow: hidden;
}
.personal-calendar__day.is-muted {
    opacity: .42;
}
.personal-calendar__day.has-dose {
    border-color: rgba(131, 227, 255, .36);
    background: rgba(17, 45, 69, .62);
}
.personal-calendar__number {
    margin-bottom: .35rem;
    color: var(--muted);
    font-weight: 900;
}
.personal-calendar__dose {
    display: grid;
    gap: .1rem;
    width: 100%;
    padding: .35rem;
    border: 1px solid rgba(131, 227, 255, .22);
    border-radius: 6px;
    background: rgba(5, 14, 25, .72);
    box-shadow: none;
    color: var(--ink);
    cursor: pointer;
    font-size: .78rem;
    text-align: left;
}
.personal-calendar__dose-row {
    position: relative;
    min-width: 0;
}
.personal-calendar__dose-row.is-complete .personal-calendar__dose,
.calendar-entry-dose-item.is-complete {
    border-color: rgba(109, 214, 160, .38);
    background: rgba(24, 77, 66, .28);
}
.personal-calendar__dose-row.is-complete .personal-calendar__dose strong,
.personal-calendar__dose-row.is-complete .personal-calendar__dose span {
    color: rgba(236, 247, 255, .72);
}
.calendar-done-form {
    margin: 0;
}
.calendar-done-check {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    min-height: 2rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}
.calendar-done-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}
.personal-calendar__dose:hover,
.personal-calendar__dose:focus-visible,
.personal-calendar__dose.is-selected {
    border-color: rgba(131, 227, 255, .7);
    background: rgba(29, 126, 170, .34);
    outline: none;
}
.personal-calendar__doses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(66px, 1fr));
    gap: .25rem;
}
.personal-calendar__dose strong,
.personal-calendar__dose span {
    overflow-wrap: anywhere;
}
.personal-calendar-detail,
.personal-calendar-popover {
    display: grid;
    gap: .75rem;
    min-width: 0;
    padding: .9rem;
    border: 1px solid rgba(131, 227, 255, .28);
    border-radius: 8px;
    background: rgba(5, 14, 25, .98);
}
.personal-calendar-popover {
    position: absolute;
    z-index: 20;
    width: max-content;
    min-width: min(280px, calc(100% - 1rem));
    max-width: min(620px, calc(100% - 1rem));
    border-color: rgba(131, 227, 255, .42);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .58);
}
.personal-calendar-detail[hidden],
.personal-calendar-popover[hidden] {
    display: none;
}
.personal-calendar-detail__header {
    display: grid;
    gap: .15rem;
    min-width: 0;
}
.personal-calendar-detail__header span {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
.personal-calendar-detail__header h3 {
    margin: 0;
    overflow-wrap: anywhere;
}
.personal-calendar-detail dl,
.personal-calendar-popover dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin: 0;
}
.personal-calendar-detail dt,
.personal-calendar-popover dt {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}
.personal-calendar-detail dd,
.personal-calendar-popover dd {
    margin: .15rem 0 0;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.personal-calendar-detail__notes {
    display: grid;
    gap: .25rem;
    color: var(--muted);
}
.personal-calendar-detail__notes[hidden] {
    display: none;
}
.personal-calendar-detail__notes strong {
    color: var(--ink);
}
.personal-calendar-detail__notes p {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.personal-calendar-detail__notes a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.mini-syringe {
    min-width: min(420px, 100%);
}
.mini-syringe[hidden] {
    display: none;
}
.mini-syringe .syringe-visual {
    gap: .35rem;
}
.mini-syringe .syringe-visual__label {
    font-size: .72rem;
}
.mini-syringe .syringe-visual__body {
    height: 3.15rem;
}
.mini-syringe .syringe-visual__numbers {
    font-size: .62rem;
}
.mini-syringe .syringe-visual p {
    font-size: .78rem;
}
.personal-calendar-detail__actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
}
.personal-calendar-detail__actions form {
    margin: 0;
}
.personal-calendar-detail__actions .calendar-done-form {
    margin-left: auto;
    order: 10;
}
.personal-calendar-detail__actions .button-link,
.personal-calendar-detail__actions button {
    padding: .48rem .7rem;
    font-size: .82rem;
}
.calendar-scheduler,
.calendar-scheduler__rows {
    display: grid;
    gap: .85rem;
}
.calendar-scheduler__row {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(123, 178, 212, .18);
    border-radius: 8px;
    background: rgba(5, 14, 25, .36);
}
.calendar-scheduler__row legend {
    padding: 0 .45rem;
    color: var(--accent);
    font-weight: 900;
}
.calendar-scheduler__remove {
    justify-self: start;
}
.calendar-schedule-box {
    display: grid;
    grid-template-columns: minmax(150px, 1.35fr) repeat(3, minmax(74px, .55fr));
    gap: .55rem;
    padding: .85rem;
    border: 1px solid rgba(131, 227, 255, .18);
    border-radius: 8px;
    background: rgba(10, 20, 33, .58);
}
.calendar-schedule-box label {
    min-width: 0;
}
.calendar-nicotine-controls {
    display: grid;
    gap: .55rem;
    padding: .85rem;
    border: 1px solid rgba(131, 227, 255, .18);
    border-radius: 8px;
    background: rgba(10, 20, 33, .58);
}
.calendar-schedule-preview {
    margin: -.25rem 0 0;
    color: var(--accent);
    font-size: .9rem;
    font-weight: 800;
}
.calendar-dose-calculator {
    display: grid;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid rgba(131, 227, 255, .18);
    border-radius: 8px;
    background: rgba(10, 20, 33, .58);
}
.calendar-nicotine-controls[hidden],
.calendar-dose-calculator[hidden],
.calendar-calculator-controls[hidden] {
    display: none;
}
.calendar-dose-calculator h3 {
    margin: 0;
    font-size: 1rem;
}
.calendar-calculator-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}
.unit-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(5, 14, 25, .9);
}
.unit-input input {
    border: 0;
    background: transparent;
}
.unit-input > span {
    padding: 0 .72rem 0 .35rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
}
.calendar-syringe-visual {
    margin-top: 0;
}
.calendar-mini-list,
.calendar-list {
    display: grid;
    gap: .85rem;
}
.calendar-mini-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.calendar-mini-list li {
    display: grid;
    gap: .25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(123, 178, 212, .14);
}
.calendar-mini-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.calendar-entry {
    display: grid;
    grid-template-columns: 74px minmax(0, .75fr) minmax(260px, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.calendar-entry-group {
    display: grid;
    gap: .75rem;
}
.calendar-entry--day {
    grid-template-columns: 74px minmax(0, 1fr);
}
.calendar-entry-day-doses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: .85rem;
}
.calendar-entry-dose-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    align-items: start;
    position: relative;
    padding: .85rem .85rem 4.1rem;
    border: 1px solid rgba(123, 178, 212, .16);
    border-radius: 8px;
    background: rgba(5, 14, 25, .34);
}
.calendar-entry-dose-item > .calendar-done-form {
    position: absolute;
    right: .85rem;
    bottom: .7rem;
}
.calendar-entry-dose-item > .inline-delete {
    position: absolute;
    left: .85rem;
    bottom: .7rem;
    margin-top: 0;
}
.calendar-entry-dose-info {
    display: grid;
    gap: .35rem;
    font-size: clamp(.72rem, 1.05vw, .95rem);
    line-height: 1.25;
}
.calendar-entry-dose-info h3,
.calendar-entry-dose-info p {
    margin: 0;
    overflow-wrap: anywhere;
    min-width: 0;
}
.calendar-entry-dose-info h3 {
    font-size: clamp(.86rem, 1.18vw, 1.08rem);
}
.calendar-entry-dose-meta {
    display: flex;
    align-items: baseline;
    gap: .45rem .9rem;
    flex-wrap: wrap;
}
.calendar-entry-dose-item:last-child {
    border-bottom: 1px solid rgba(123, 178, 212, .16);
}
.calendar-entry h3,
.calendar-entry p {
    margin: 0 0 .45rem;
}
.calendar-entry__date {
    display: grid;
    place-items: center;
    min-height: 74px;
    border: 1px solid rgba(131, 227, 255, .28);
    border-radius: 8px;
    background: rgba(5, 14, 25, .82);
    color: var(--ink);
    padding: .45rem;
    box-shadow: none;
}
.calendar-entry__date:hover {
    color: var(--ink);
    border-color: rgba(131, 227, 255, .58);
    background: rgba(17, 45, 69, .88);
    filter: none;
}
.calendar-entry__date[aria-expanded="true"] {
    border-color: rgba(131, 227, 255, .72);
    background: rgba(17, 45, 69, .94);
}
.calendar-entry-syringe {
    min-width: 0;
}
.calendar-entry-syringe .syringe-visual {
    gap: .45rem;
}
.calendar-entry-syringe .syringe-visual__body {
    height: 4.3rem;
    margin-bottom: 2.65rem;
}
.calendar-entry-syringe .syringe-visual p {
    font-size: .86rem;
}
.calendar-entry-syringe-summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}
.calendar-entry-syringe-summary p {
    margin: 0;
}
.calendar-entry-vial-estimate {
    margin-left: auto;
    text-align: right;
}
.calendar-entry-vial-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-left: auto;
}
.calendar-entry-vial-action form {
    margin: 0;
}
.calendar-estimate-cart-button {
    padding: .34rem .55rem;
    border-radius: 6px;
    font-size: .72rem;
    line-height: 1;
}
.calendar-entry__date span {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
.calendar-entry__date strong {
    font-size: 1.8rem;
    line-height: 1;
}
.check { display: flex; flex-direction: row; align-items: center; gap: .5rem; }
.check input { width: auto; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.thumb { display: grid; gap: .5rem; }

.variant-editor {
    display: grid;
    gap: .8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.variant-editor legend {
    padding: 0 .45rem;
    color: var(--accent);
    font-weight: 800;
}

.variant-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr) auto;
    min-width: 0;
    gap: .65rem;
    align-items: end;
    padding-bottom: .8rem;
    border-bottom: 1px solid rgba(123, 178, 212, .14);
}
.variant-row > * {
    min-width: 0;
}

.variant-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.account-gate {
    position: fixed;
    inset: 0;
    z-index: 90;
    isolation: isolate;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(2, 7, 13, .82);
    backdrop-filter: blur(14px);
}

.account-gate[hidden] { display: none; }

.account-gate::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: 260px;
    z-index: 0;
    pointer-events: none;
    transform: translateX(-50%);
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg width='260' height='760' viewBox='0 0 260 760' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2373cdf4' stroke-opacity='.42' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M78 0 C182 95 182 190 78 285 C-26 380 -26 475 78 570 C182 665 182 760 78 855'/%3E%3Cpath d='M182 0 C78 95 78 190 182 285 C286 380 286 475 182 570 C78 665 78 760 182 855'/%3E%3C/g%3E%3Cg stroke='%2373cdf4' stroke-opacity='.26' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M91 52 L169 52'/%3E%3Cpath d='M116 96 L144 96'/%3E%3Cpath d='M138 140 L122 140'/%3E%3Cpath d='M165 184 L95 184'/%3E%3Cpath d='M171 228 L89 228'/%3E%3Cpath d='M146 272 L114 272'/%3E%3Cpath d='M121 316 L139 316'/%3E%3Cpath d='M94 360 L166 360'/%3E%3Cpath d='M88 404 L172 404'/%3E%3Cpath d='M114 448 L146 448'/%3E%3Cpath d='M140 492 L120 492'/%3E%3Cpath d='M166 536 L94 536'/%3E%3Cpath d='M170 580 L90 580'/%3E%3Cpath d='M145 624 L115 624'/%3E%3Cpath d='M119 668 L141 668'/%3E%3Cpath d='M93 712 L167 712'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 260px 760px;
    background-position: center -80px;
    background-repeat: repeat-y;
    animation: ageGateDnaTwist 6.25s ease-in-out infinite, ageGateDnaPulse 10.4s linear infinite;
}

.account-gate::after {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: 260px;
    z-index: 0;
    pointer-events: none;
    opacity: .28;
    background-image: url("data:image/svg+xml,%3Csvg width='260' height='760' viewBox='0 0 260 760' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%234eff9f' stroke-opacity='.5' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M78 0 C182 95 182 190 78 285 C-26 380 -26 475 78 570 C182 665 182 760 78 855'/%3E%3Cpath d='M182 0 C78 95 78 190 182 285 C286 380 286 475 182 570 C78 665 78 760 182 855'/%3E%3C/g%3E%3Cg stroke='%234eff9f' stroke-opacity='.28' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M91 52 L169 52'/%3E%3Cpath d='M116 96 L144 96'/%3E%3Cpath d='M138 140 L122 140'/%3E%3Cpath d='M165 184 L95 184'/%3E%3Cpath d='M171 228 L89 228'/%3E%3Cpath d='M146 272 L114 272'/%3E%3Cpath d='M121 316 L139 316'/%3E%3Cpath d='M94 360 L166 360'/%3E%3Cpath d='M88 404 L172 404'/%3E%3Cpath d='M114 448 L146 448'/%3E%3Cpath d='M140 492 L120 492'/%3E%3Cpath d='M166 536 L94 536'/%3E%3Cpath d='M170 580 L90 580'/%3E%3Cpath d='M145 624 L115 624'/%3E%3Cpath d='M119 668 L141 668'/%3E%3Cpath d='M93 712 L167 712'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 260px 760px;
    background-position: center -460px;
    background-repeat: repeat-y;
    filter: drop-shadow(0 0 14px rgba(78, 255, 159, .28));
    animation: ageGateDnaTwistGreen 6.25s ease-in-out infinite, ageGateDnaPulseGreen 10.4s linear infinite;
}

.account-gate__panel {
    position: relative;
    z-index: 2;
    isolation: isolate;
    width: min(480px, 100%);
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(131, 227, 255, .28);
    border-radius: 8px;
    background: linear-gradient(180deg, #112234, #060f1b);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .52), 0 0 60px rgba(86, 182, 214, .12);
}

.account-gate__panel img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 50%;
    padding: .45rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .98) 0 36%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0) 78%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 28px rgba(86, 182, 214, .24);
}

.account-gate__panel h2 {
    margin: 0;
    font-size: clamp(1.55rem, 5vw, 2.2rem);
}

.account-gate__panel p {
    margin: 0;
    color: var(--muted);
}

.account-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    width: 100%;
}

.account-gate__close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 50%;
    background: rgba(8, 18, 31, .8);
    border-color: rgba(159, 178, 199, .32);
    box-shadow: none;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    isolation: isolate;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(2, 7, 13, .82);
    backdrop-filter: blur(14px);
}

.age-gate::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: 260px;
    z-index: 0;
    pointer-events: none;
    transform: translateX(-50%);
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg width='260' height='760' viewBox='0 0 260 760' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2373cdf4' stroke-opacity='.42' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M78 0 C182 95 182 190 78 285 C-26 380 -26 475 78 570 C182 665 182 760 78 855'/%3E%3Cpath d='M182 0 C78 95 78 190 182 285 C286 380 286 475 182 570 C78 665 78 760 182 855'/%3E%3C/g%3E%3Cg stroke='%2373cdf4' stroke-opacity='.26' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M91 52 L169 52'/%3E%3Cpath d='M116 96 L144 96'/%3E%3Cpath d='M138 140 L122 140'/%3E%3Cpath d='M165 184 L95 184'/%3E%3Cpath d='M171 228 L89 228'/%3E%3Cpath d='M146 272 L114 272'/%3E%3Cpath d='M121 316 L139 316'/%3E%3Cpath d='M94 360 L166 360'/%3E%3Cpath d='M88 404 L172 404'/%3E%3Cpath d='M114 448 L146 448'/%3E%3Cpath d='M140 492 L120 492'/%3E%3Cpath d='M166 536 L94 536'/%3E%3Cpath d='M170 580 L90 580'/%3E%3Cpath d='M145 624 L115 624'/%3E%3Cpath d='M119 668 L141 668'/%3E%3Cpath d='M93 712 L167 712'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 260px 760px;
    background-position: center -80px;
    background-repeat: repeat-y;
    animation: ageGateDnaTwist 6.25s ease-in-out infinite, ageGateDnaPulse 10.4s linear infinite;
}

.age-gate::after {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: 260px;
    z-index: 0;
    pointer-events: none;
    opacity: .28;
    background-image: url("data:image/svg+xml,%3Csvg width='260' height='760' viewBox='0 0 260 760' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%234eff9f' stroke-opacity='.5' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M78 0 C182 95 182 190 78 285 C-26 380 -26 475 78 570 C182 665 182 760 78 855'/%3E%3Cpath d='M182 0 C78 95 78 190 182 285 C286 380 286 475 182 570 C78 665 78 760 182 855'/%3E%3C/g%3E%3Cg stroke='%234eff9f' stroke-opacity='.28' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M91 52 L169 52'/%3E%3Cpath d='M116 96 L144 96'/%3E%3Cpath d='M138 140 L122 140'/%3E%3Cpath d='M165 184 L95 184'/%3E%3Cpath d='M171 228 L89 228'/%3E%3Cpath d='M146 272 L114 272'/%3E%3Cpath d='M121 316 L139 316'/%3E%3Cpath d='M94 360 L166 360'/%3E%3Cpath d='M88 404 L172 404'/%3E%3Cpath d='M114 448 L146 448'/%3E%3Cpath d='M140 492 L120 492'/%3E%3Cpath d='M166 536 L94 536'/%3E%3Cpath d='M170 580 L90 580'/%3E%3Cpath d='M145 624 L115 624'/%3E%3Cpath d='M119 668 L141 668'/%3E%3Cpath d='M93 712 L167 712'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 260px 760px;
    background-position: center -460px;
    background-repeat: repeat-y;
    transform-origin: center;
    filter: drop-shadow(0 0 14px rgba(78, 255, 159, .28));
    animation: ageGateDnaTwistGreen 6.25s ease-in-out infinite, ageGateDnaPulseGreen 10.4s linear infinite;
}

@keyframes ageGateDnaTwist {
    0%, 100% {
        transform: translateX(-50%) scaleX(1);
        opacity: .5;
    }
    25% {
        transform: translateX(-50%) scaleX(.22);
        opacity: .18;
    }
    50% {
        transform: translateX(-50%) scaleX(-1);
        opacity: .5;
    }
    75% {
        transform: translateX(-50%) scaleX(-.22);
        opacity: .18;
    }
}

@keyframes ageGateDnaTwistBack {
    0%, 100% {
        transform: translateX(-50%) scaleX(-.22);
        opacity: .14;
    }
    25% {
        transform: translateX(-50%) scaleX(1);
        opacity: .42;
    }
    50% {
        transform: translateX(-50%) scaleX(.22);
        opacity: .14;
    }
    75% {
        transform: translateX(-50%) scaleX(-1);
        opacity: .42;
    }
}

@keyframes ageGateDnaPulseBack {
    0% { background-position: center -460px; }
    100% { background-position: center 300px; }
}

@keyframes ageGateDnaTwistGreen {
    0%, 100% {
        transform: translateX(-50%) scaleX(.08);
        opacity: .12;
    }
    25% {
        transform: translateX(-50%) scaleX(-1);
        opacity: .28;
    }
    50% {
        transform: translateX(-50%) scaleX(-.08);
        opacity: .12;
    }
    75% {
        transform: translateX(-50%) scaleX(1);
        opacity: .28;
    }
}

@keyframes ageGateDnaPulseGreen {
    0% { background-position: center -460px; }
    100% { background-position: center 300px; }
}

.age-gate__panel {
    position: relative;
    z-index: 2;
    isolation: isolate;
    width: min(480px, 100%);
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(131, 227, 255, .28);
    border-radius: 8px;
    background: linear-gradient(180deg, #112234, #060f1b);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .52), 0 0 60px rgba(86, 182, 214, .12);
}

.age-gate__panel img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 50%;
    padding: .45rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .98) 0 36%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0) 78%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 28px rgba(86, 182, 214, .24);
}

.age-gate__panel h2 {
    margin: 0;
    font-size: clamp(1.7rem, 6vw, 2.45rem);
}

.age-gate__panel p {
    margin: 0;
    color: var(--muted);
}

.age-gate__panel a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eyebrow {
    color: var(--accent) !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.age-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    width: 100%;
}
.age-gate__actions--turnstile {
    grid-template-columns: 1fr;
}

.age-gate__actions form,
.age-gate__actions button {
    width: 100%;
}
.age-gate__actions form {
    display: grid;
    gap: .75rem;
}
.age-gate__actions .cf-turnstile {
    justify-self: center;
}

.legal-page {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.legal-page h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.legal-page h2 {
    margin: 1.25rem 0 0;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-panel {
    display: grid;
    gap: .85rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(18, 35, 53, .9), rgba(9, 19, 32, .94));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
}

.legal-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.mission-thanks {
    margin-top: 1.7rem !important;
}

.mission-signature {
    margin-top: -.85rem !important;
    color: var(--ink) !important;
    font-weight: 700;
}

@media (max-width: 760px) {
    body { padding-bottom: 128px; }
    .site-footer { display: none; }
    .app-install-prompt:not([hidden]) {
        display: block;
        position: relative;
        z-index: 8;
    }
    .underdog-header-banner {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 4.75rem;
        z-index: 31;
        display: grid;
        min-width: 0;
        width: min(15rem, calc(100vw - 2rem));
        padding: .55rem 1rem .5rem;
        transform: translateX(-50%) skewX(-8deg);
    }
    .underdog-header-banner strong {
        display: none;
    }
    .underdog-header-banner span {
        font-size: 0;
        line-height: 1;
    }
    .underdog-header-banner span::after {
        content: "UNDERDOGS";
        font-size: .86rem;
        letter-spacing: .24em;
    }
    .social-bar {
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: center;
        gap: .65rem;
        padding: .7rem 1rem;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 0;
    }
    .social-bar a {
        width: 2.5rem;
        height: 2.5rem;
    }
    .topbar { align-items: center; }
    .brand { min-width: 0; }
    .brand span { overflow-wrap: anywhere; }
    .site-footer__inner { display: grid; gap: 1.25rem; }
    .site-footer__links { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .nav-toggle-button { display: inline-grid; margin-left: auto; }
    .site-nav {
        position: absolute;
        top: calc(100% + .5rem);
        right: 1rem;
        z-index: 30;
        display: none;
        min-width: min(270px, calc(100vw - 2rem));
        padding: .75rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(5, 13, 24, .98);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
    }
    .nav-toggle:checked ~ .site-nav { display: grid; gap: .75rem; }
    .site-nav a,
    .site-nav .inline button,
    .admin-menu summary {
        width: 100%;
        text-align: left;
    }
    .admin-menu { width: 100%; }
    .admin-menu__panel {
        position: static;
        margin-top: .5rem;
        min-width: 0;
        box-shadow: none;
    }
    .filters, .product-detail, .admin-layout, .variant-row, .user-admin-grid, .protocol-product-row, .calculator-shell, .analytics-controls { grid-template-columns: 1fr; }
    .product-card h2 {
        font-size: 1.58rem;
        line-height: 1.08;
    }
    .product-card .price,
    .product-card .members-price {
        font-size: 1.5rem;
        line-height: 1.12;
    }
    .product-sale-badge {
        padding: .62rem .94rem .55rem;
        font-size: clamp(1.01rem, 3.12vw, 1.27rem);
    }
    .product-detail .product-sale-badge {
        font-size: clamp(1.3rem, 3.38vw, 1.75rem);
    }
    .product-card__image-title {
        height: 4.6rem;
        font-size: clamp(1.85rem, 8vw, 2.55rem);
        line-height: .98;
    }
    .product-detail .product-card__image-title {
        height: 5.9rem;
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: .98;
    }
    .underdog-hero,
    .underdog-mission {
        grid-template-columns: 1fr;
    }
    .underdog-hero {
        min-height: 0;
    }
    .underdog-copy h1 {
        max-width: 10ch;
    }
    .underdog-photo-fan {
        min-height: 410px;
    }
    .underdog-photo-fan img {
        width: clamp(112px, 34vw, 160px);
        border-width: .28rem;
    }
    .underdog-main-photo {
        width: min(76vw, 300px) !important;
        top: 54%;
    }
    .protocol-product-row label:last-child { grid-column: auto; }
    .brand { font-size: 1rem; }
    .brand img { width: 42px; height: 42px; }
    .age-gate__actions { grid-template-columns: 1fr; }
    .account-gate__actions { grid-template-columns: 1fr; }
    .syringe-visual__body { height: 4rem; }
    .syringe-visual__ticks span::after { font-size: .58rem; }
    .protocol-card { grid-template-columns: 116px minmax(0, 1fr); }
    .protocol-card__logo { width: 103px; height: 103px; padding: .58rem; }
    .personal-calendar__weekdays { display: none; }
    .personal-calendar__grid { grid-template-columns: 1fr; }
    .personal-calendar__day { min-height: auto; }
    .personal-calendar__day.is-muted { display: none; }
    .personal-calendar-detail dl,
    .personal-calendar-popover dl { grid-template-columns: 1fr; }
    .calendar-schedule-box { grid-template-columns: 1fr; }
    .calendar-calculator-controls { grid-template-columns: 1fr; }
    .calendar-entry { grid-template-columns: 62px minmax(0, 1fr); }
    .calendar-entry--day { grid-template-columns: 62px minmax(0, 1fr); }
    .calendar-entry-day-doses { grid-column: 2; grid-template-columns: 1fr; }
    .calendar-entry-day-doses { grid-template-columns: 1fr; }
    .calendar-entry-syringe,
    .calendar-entry form { grid-column: 1 / -1; }
    .calendar-entry__date { min-height: 62px; }
}
