:root {
    color-scheme: light;
    --bg: var(--label-bg, #f4f5f7);
    --surface: var(--label-surface, #fff);
    --text: var(--label-text, #1c1c1c);
    --muted: var(--label-muted, #5c6570);
    --accent: var(--label-accent, #c8102e);
    --border: var(--label-border, #e2e5ea);
    --radius: var(--label-radius, 10px);
    --font: var(--label-font, system-ui, sans-serif);
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: var(--label-dark-bg, #121417);
    --surface: var(--label-dark-surface, #1c2128);
    --text: var(--label-dark-text, #f2f4f7);
    --muted: var(--label-dark-muted, #b7c0cc);
    --accent: var(--label-dark-accent, #ff5a6a);
    --border: var(--label-dark-border, #2d333b);
}

@media (prefers-color-scheme: dark) {
    [data-theme="system"] {
        color-scheme: dark;
        --bg: var(--label-dark-bg, #121417);
        --surface: var(--label-dark-surface, #1c2128);
        --text: var(--label-dark-text, #f2f4f7);
        --muted: var(--label-dark-muted, #b7c0cc);
        --accent: var(--label-dark-accent, #ff5a6a);
        --border: var(--label-dark-border, #2d333b);
    }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.45;
}
img { max-width: 100%; }
a { color: var(--accent); }
.skip {
    position: absolute;
    left: 8px;
    top: -40px;
    background: var(--surface);
    padding: 8px;
}
.skip:focus { top: 8px; }

.wrap { width: min(1120px, calc(100% - 24px)); margin: 0 auto; }
.redirect-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); color: var(--text); }
.redirect-page main { width: min(520px, 100%); display: grid; justify-items: center; gap: 16px; text-align: center; }
.redirect-page .wordmark { margin: 0; }
.redirect-page .wordmark-logo { height: 52px; max-width: 240px; }
.redirect-page .panel { width: 100%; }
.redirect-page .panel h1 { margin: 0 0 8px; letter-spacing: -0.03em; }
.redirect-page .panel p { margin: 8px 0 0; }
.redirect-note { margin: 0; color: var(--muted); font-size: 0.85rem; }
.site-header { padding: 0 0 8px; }
.header-grid { display: grid; gap: 12px; }
.logo { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.logo img { height: 40px; width: auto; }
.search { display: flex; gap: 8px; }
.search input:not([type="checkbox"]), .field input:not([type="checkbox"]), .field textarea, .field select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}
.banner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}
.toolbar, .socials, .footer-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.button, button, .toolbar a {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}
.button-accent, .cta {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    display: inline-block;
    border-radius: 999px;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 700;
}
.cta { margin: 16px 0; }
.deal-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.deal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    min-width: 0;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    text-decoration: none;
}
.deal-card[data-urgency="calm"] { --urgency-color: #1f9d55; }
.deal-card[data-urgency="draining"] { --urgency-color: #e08a00; }
.deal-card[data-urgency="urgent"] { --urgency-color: #e11d48; }
.deal-card[data-urgency="gone"] { --urgency-color: transparent; }
.urgency-rail {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: color-mix(in srgb, var(--text) 10%, transparent);
    pointer-events: none;
}
.urgency-rail::after {
    content: "";
    display: block;
    height: 100%;
    width: calc(var(--urgency, 0) * 100%);
    background: var(--urgency-color);
    box-shadow: 0 0 16px color-mix(in srgb, var(--urgency-color) 75%, transparent);
}
.deal-card[data-urgency="urgent"] .urgency-rail::after {
    animation: urgency-blink 1.05s ease-in-out infinite;
}
@keyframes urgency-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.18; }
}
@media (prefers-reduced-motion: reduce) {
    .deal-card[data-urgency="urgent"] .urgency-rail::after { animation: none; }
}
.urgency-note {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.deal-card:hover { border-color: var(--accent); box-shadow: 0 10px 28px rgb(20 24 32 / 10%); }
.deal-card:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
.shop-line { display: flex; align-items: center; gap: 8px; min-height: 28px; font-weight: 700; }
.shop-line img { width: 100px; height: 20px; object-fit: contain; }
.deal-image { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; }
.deal-card a { color: inherit; text-decoration: none; }
.deal-card h2 { margin: 0; }
.deal-place { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; color: var(--muted); font-size: 0.9rem; }
.deal-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.brand-link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-weight: 650; }
.brand-link img { width: 72px; height: 20px; object-fit: contain; background: #fff; border-radius: 4px; }
.admin .brand-logo-preview { width: 200px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.category-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 0;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
}
.deal-card a.category-label { color: var(--accent); }
.category-label svg,
.category-filter svg { width: 14px; height: 14px; flex: none; }
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: -8px 0 28px;
}
.category-filter > span { color: var(--muted); }
.record-mark svg { width: 20px; height: 20px; }
.letter-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 18px; }
.letter-nav a { color: var(--muted); font-weight: 700; text-decoration: none; }
.letter-nav a.is-active { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.search.brand-tools { flex-wrap: wrap; align-items: center; margin: 12px 0 4px; }
.search.brand-tools input,
.search.brand-tools select { width: auto; }
.search.brand-tools input[name="q"] { flex: 1 1 240px; min-width: 180px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0 8px; }
.pager a,
.pager .is-active,
.pager .pager-edge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
}
.pager a.is-active,
.pager .is-active { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.pager .is-disabled { color: var(--muted); }
.pager .pager-gap { color: var(--muted); }
.admin .pager a,
.admin .pager .is-active,
.admin .pager .pager-edge { border-color: #d7dde5; background: #fff; color: #1c2430; }
.admin .pager a.is-active,
.admin .pager .is-active { border-color: #c8102e; color: #c8102e; }
.admin .pager .is-disabled { color: #5c6570; }
.admin .pager .pager-gap { color: #5c6570; background: transparent; border-color: transparent; min-width: 0; padding: 0; }
.letter-head { margin: 28px 0 12px; font-size: 1.2rem; }
.deal-title {
    margin: 0;
    min-height: 3.6em;
    line-height: 1.2em;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.price-row { display: flex; gap: 8px; align-items: baseline; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.compare { color: var(--muted); text-decoration: line-through; }
.shipping, .deal-time, .muted { color: var(--muted); margin: 0; }
.deal-time { display: flex; gap: 6px; align-items: center; }
.clock { width: 16px; height: 16px; flex: none; }
.site-footer { padding: 24px 0 40px; }
.shops { display: grid; gap: 8px; }
.shop-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    color: var(--text);
    text-decoration: none;
}
.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
.field { display: grid; gap: 4px; margin-bottom: 12px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.admin-nav a { color: var(--text); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.mail-sheet td { border: 0; border-bottom: 0; padding: 0; vertical-align: top; }
.mail-sheet .mail-pair { width: 50%; padding: 18px 16px 24px; border-bottom: 1px solid #eceff3; }
.mail-sheet .mail-pair.is-split { border-right: 1px solid #eceff3; }
.mail-sheet tr:last-child .mail-pair { border-bottom: 0; }
.mail-sheet .mail-price-old { width: 50%; text-align: left; text-decoration: line-through; font-size: 14px; }
.mail-sheet .mail-price-new { width: 50%; text-align: right; font-size: 22px; font-weight: 800; }
.mail-sheet .mail-logo-cell,
.mail-sheet .mail-photo-cell { padding: 0 0 8px; text-align: center; }
.mail-sheet .mail-copy { padding: 14px 0 0; }
.mail-sheet .mail-logo,
.mail-sheet .mail-photo { display: block; width: 100%; max-width: 100%; margin: 0 auto; border: 0; object-fit: contain; object-position: center; }
.mail-sheet .mail-logo { height: 48px; }
.mail-sheet .mail-photo { height: 180px; }
.error { color: #9f1239; }

@media (min-width: 640px) {
    .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 800px) {
    .header-grid { display: grid; grid-template-columns: auto minmax(180px, 420px) auto; align-items: center; }
}

.topbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-row, .nav-row { display: flex; gap: 12px; align-items: center; }
.topbar-row { padding: 14px 0; flex-wrap: wrap; }
.wordmark { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.wordmark-logo { display: block; height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.wordmark-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; }
.mark-b { color: var(--accent); }
.mark, .mini-mark {
    display: inline-grid;
    place-items: center;
    flex: none;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
}
.mark { width: 44px; height: 44px; border-radius: 14px; font-size: 1.25rem; }
.mini-mark { width: 36px; height: 36px; border-radius: 10px; }
.header-socials { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.header-socials a, .chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    color: var(--text);
    text-decoration: none;
    background: var(--surface);
    font-size: 0.85rem;
}
.main-nav { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border-bottom: 1px solid var(--border); }
.nav-row { overflow-x: auto; gap: 0; }
.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 14px;
    white-space: nowrap;
}
.main-nav a.is-active { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.banner { margin-top: 12px; }
.section-head h1 { margin: 8px 0 4px; }
.section-head p { margin: 0 0 8px; }
.toolbar a.is-active { border-color: var(--accent); color: var(--accent); }
.deal-card { box-shadow: 0 8px 24px rgb(20 24 32 / 6%); }
.deal-go {
    margin-top: auto;
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 0.92rem;
}
.coupon {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    border: 1px dashed var(--accent);
    border-radius: 8px;
    padding: 6px 8px;
    width: fit-content;
}
.coupon span { color: var(--muted); font-size: 0.8rem; }
.stock { margin: 0; font-size: 0.82rem; font-weight: 700; line-height: 1.2; color: #1f7a32; }
.stock.is-out { color: #9f1239; }
.stock.is-limited { color: #9a5b00; }
.shop-hero { display: flex; gap: 16px; align-items: center; }
.shop-logo { width: 120px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; }
.specs { display: grid; gap: 10px; margin: 12px 0 0; }
.specs div { display: grid; gap: 4px; }
.specs dt { color: var(--muted); font-size: 0.85rem; }
.specs dd { margin: 0; }
.shops[data-view="list"] { grid-template-columns: 1fr; }
.shop-card { display: flex; flex-direction: column; gap: 6px; min-height: 120px; }

.admin { background: #e7ebf0; color: #1c2430; min-height: 100vh; }
.admin-bar { background: #161b22; color: #fff; position: sticky; top: 0; z-index: 2; }
.admin-bar-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 12px 0; }
.admin-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.admin-bar .mark { border-radius: 0; }
.admin-bar .admin-nav { display: flex; flex: 1; flex-wrap: wrap; gap: 4px; align-items: center; margin: 0; }
.account-menu { position: relative; margin-left: auto; }
.account-menu summary {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    color: #fff;
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
}
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover { background: rgb(255 255 255 / 8%); }
.account-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 5;
    min-width: 230px;
    display: grid;
    gap: 2px;
    padding: 8px;
    background: #fff;
    color: #1c2430;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgb(22 27 34 / 18%);
    max-height: calc(100vh - 84px);
    overflow: auto;
}
.account-menu-panel a,
.account-menu-panel button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    color: #1c2430;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}
.account-menu-panel a:hover,
.account-menu-panel button:hover,
.account-menu-panel a.is-active { background: #f4f5f7; }
.account-menu-panel a.is-active { font-weight: 700; }
.account-menu-panel p {
    margin: 8px 10px 2px;
    padding-top: 8px;
    border-top: 1px solid #e2e5ea;
    color: #5c6570;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.account-menu-panel form { margin: 0; }
.avatar {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #2d333b;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    object-fit: cover;
    flex: none;
}
.account-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.account-head .avatar { width: 64px; height: 64px; font-size: 1.4rem; }
.admin-bar .admin-nav a, .admin-bar .admin-nav button, .admin-bar .admin-nav summary {
    color: #d7dde5;
    background: transparent;
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.admin-bar .admin-nav a:hover, .admin-bar .admin-nav button:hover, .admin-bar .admin-nav summary:hover { background: rgb(255 255 255 / 8%); color: #fff; }
.admin-bar .admin-nav > a.is-active,
.admin-bar .admin-nav-menu.is-active > button {
    color: #fff;
    border-radius: 0;
    box-shadow: inset 0 -2px 0 #fff;
}
.admin-nav-menu { position: relative; }
.admin-nav-menu > button { display: flex; align-items: center; gap: 6px; }
.admin-nav-menu > button::after {
    content: "";
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}
.admin-nav-menu:hover > button::after,
.admin-nav-menu:focus-within > button::after,
.admin-nav-menu.is-open > button::after { transform: rotate(180deg); }
.admin-nav-menu:hover > button,
.admin-nav-menu.is-open > button { background: rgb(255 255 255 / 8%); color: #fff; }
.admin-nav-panel {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 6;
    min-width: 220px;
    padding-top: 8px;
}
.admin-nav-menu:hover > .admin-nav-panel,
.admin-nav-menu:focus-within > .admin-nav-panel,
.admin-nav-menu.is-open > .admin-nav-panel { display: block; }
.admin-nav:has(.admin-nav-menu:hover) .admin-nav-menu:not(:hover) > .admin-nav-panel { display: none; }
.admin-nav-card {
    display: grid;
    gap: 2px;
    padding: 8px;
    background: #fff;
    color: #1c2430;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgb(22 27 34 / 18%);
}
.admin-bar .admin-nav .admin-nav-panel a { color: #1c2430; }
.admin-bar .admin-nav .admin-nav-panel a:hover,
.admin-bar .admin-nav .admin-nav-panel a.is-active {
    background: #f4f5f7;
    color: #1c2430;
    box-shadow: none;
    font-weight: 700;
}
@media (max-width: 720px) {
    .admin-brand { order: 1; }
    .account-menu { order: 2; }
    .admin-bar .admin-nav { order: 3; flex: 1 0 100%; }
    .admin-nav-panel { position: static; min-width: 0; padding-top: 0; }
    .admin-nav-card { margin-bottom: 4px; background: #222831; box-shadow: none; }
    .admin-bar .admin-nav .admin-nav-panel a { color: #d7dde5; }
    .admin-bar .admin-nav .admin-nav-panel a:hover,
    .admin-bar .admin-nav .admin-nav-panel a.is-active {
        background: rgb(255 255 255 / 8%);
        color: #fff;
    }
}
.admin-main { padding: 28px 0 48px; }
.admin-main h1 { margin: 0 0 16px; }
.admin .panel { box-shadow: 0 8px 24px rgb(22 27 34 / 6%); }
.admin .deal-grid .panel strong { display: block; font-size: 1.75rem; line-height: 1.1; }
.admin-auth {
    min-height: 100vh;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: 32px 16px;
    background:
        radial-gradient(900px 420px at 50% -10%, rgb(200 16 46 / 18%), transparent 60%),
        #e7ebf0;
}
.admin-card {
    width: min(420px, 100%);
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgb(22 27 34 / 12%);
    padding: 28px;
}
.admin-card h1 { margin: 0 0 16px; }
.admin-card .button-accent { width: 100%; border: 0; cursor: pointer; }
.admin-card .qr { display: grid; justify-content: center; margin: 4px 0 16px; }
.admin-card .qr svg { width: 220px; height: 220px; background: #fff; border-radius: 12px; }
.admin-card code { display: block; margin-top: 6px; word-break: break-all; font-size: 0.85rem; }
@media (min-width: 960px) {
    .deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .deal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.storefront { line-height: 1.55; }
.storefront .wrap { width: min(1720px, calc(100% - 64px)); }
.storefront .topbar-row { padding: 22px 0; }
.storefront .search button {
    border: 0;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    padding: 10px 16px;
}
.storefront .header-socials { gap: 2px; align-items: center; }
.storefront .header-socials a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 0;
    color: var(--muted);
}
.storefront .header-socials a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.storefront .header-socials svg { width: 18px; height: 18px; display: block; }
.storefront .header-socials .yt-play { fill: var(--bg); }
.storefront .main-nav { background: transparent; }
.storefront .main-nav a {
    font-weight: 600;
    padding: 16px 20px 14px;
    color: var(--muted);
}
.storefront .main-nav a.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }
.storefront .banner {
    margin-top: 0;
    border: 0;
    background: transparent;
    padding: 22px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}
.storefront #inhoud { padding-top: 36px; }
.storefront .section-head { margin-bottom: 6px; }
.storefront .section-head h1 {
    margin: 0 0 4px;
    font-size: 2.2rem;
    font-weight: 650;
    letter-spacing: -0.04em;
}
.storefront .section-head p { margin: 0 0 6px; color: var(--muted); font-size: 1.05rem; }
.storefront .listing-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 14px;
}
.storefront .listing-head .section-head { flex: 1 1 240px; margin: 0; }
.storefront .listing-head .section-head h1,
.storefront .listing-head .section-head p { margin: 0; }
.storefront .listing-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}
.storefront .listing-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 18px;
    width: auto;
    margin-left: auto;
}
.storefront .listing-tools .category-filter {
    gap: 6px;
    margin: 0;
    justify-content: flex-end;
}
.storefront .sort-field { display: inline-flex; margin: 0; }
.storefront .sort-field select {
    appearance: none;
    width: auto;
    height: 34px;
    margin: 0;
    padding: 0 34px 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background-color: var(--surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235c6570' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6.2 8 10.2l4.5-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
}
.storefront .sort-field select:hover { border-color: color-mix(in srgb, var(--text) 28%, var(--border)); }
.storefront .sort-field select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[data-theme="dark"] .storefront .sort-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7c0cc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6.2 8 10.2l4.5-4'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
    [data-theme="system"] .storefront .sort-field select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7c0cc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6.2 8 10.2l4.5-4'/%3E%3C/svg%3E");
    }
}
.storefront .tool-label {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--text) 8%, var(--surface));
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}
.storefront .toolbar {
    gap: 22px;
    margin: 22px 0 32px;
    color: var(--muted);
}
.storefront .toolbar a,
.storefront .toolbar button,
.storefront .socials button {
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 2px 0;
    color: var(--muted);
}
.storefront .toolbar a.is-active {
    color: var(--text);
    border: 0;
    box-shadow: inset 0 -2px 0 var(--text);
}
.storefront .deal-grid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.storefront .deal-card {
    gap: 8px;
    padding: 12px 14px 10px;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: visible;
    box-shadow: none;
    background: var(--surface);
}
.storefront .deal-card:has(.share-menu[open]) { position: relative; z-index: 4; }
.storefront .deal-card:hover {
    transform: none;
    border-color: color-mix(in srgb, var(--text) 22%, var(--border));
    box-shadow: 0 1px 4px rgb(22 27 34 / 8%);
}
.storefront .urgency-rail { display: none; }
.storefront .deal-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 2px 8px;
    background: var(--surface);
    border-radius: 12px;
}
.storefront .deal-shop img { display: block; width: auto; max-width: 100%; height: 44px; object-fit: contain; }
.storefront .deal-shop span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}
.storefront .deal-media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}
.storefront .deal-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: #fff;
    transform: none;
}
.storefront .shop-badge { display: none; }
.storefront .ship-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-width: calc(100% - 16px);
    border-radius: 6px;
    padding: 4px 5px;
    background: #3a9b45;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}
.storefront .deal-card.is-expired .deal-image {
    object-fit: contain;
    object-position: center;
    transform: none;
}
.storefront .deal-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    padding: 8px 8px 0;
    line-height: 1.3;
}
.storefront .deal-card .shop-line,
.storefront .deal-card .category-label,
.storefront .deal-card .brand-link,
.storefront .deal-card .deal-place,
.storefront .deal-card .deal-summary { display: none; }
.storefront .shop-line { min-height: 0; font-weight: 500; color: var(--muted); }
.storefront .brand-link { color: var(--accent); }
.storefront .category-filter a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
}
.storefront .category-filter a.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.storefront .shop-line img {
    width: auto;
    max-width: 120px;
    height: 18px;
    object-fit: contain;
}
.storefront .deal-card .deal-body h2 { margin: 8px 0; }
.storefront[data-card="compact"] .deal-body h2,
.storefront[data-card="poster"] .deal-body h2 { margin: 0; }
.storefront .deal-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.35em;
    min-height: 2.7em;
    text-transform: uppercase;
    -webkit-line-clamp: 2;
}
.storefront .deal-card:not(.ad-card) .price-row {
    display: grid;
    grid-template-columns: auto minmax(min-content, 1fr) auto;
    align-items: center;
    gap: 4px;
    margin: 12px -6px 0;
}
.storefront .deal-card:not(.ad-card) .price-row .share-menu { order: 0; grid-column: 1; margin: 0; justify-self: start; }
.storefront .deal-card:not(.ad-card) .price-row .card-tools {
    display: flex;
    align-items: center;
    gap: 4px;
    grid-column: 1;
    justify-self: start;
}
.storefront .deal-card:not(.ad-card) .price-row .card-tools .share-menu { margin: 0; }
.storefront .deal-info {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5c6670;
    text-decoration: none;
}
.storefront .deal-info svg { width: 16px; height: 16px; display: block; }
.storefront .money-cents {
    font-size: 0.58em;
    font-weight: 750;
    line-height: 1;
    vertical-align: top;
}
.storefront .deal-card:not(.ad-card) { container-type: inline-size; container-name: dealcard; }
.storefront .deal-card:not(.ad-card) .price-row .compare { grid-column: 2; justify-self: center; font-size: 0.86rem; white-space: nowrap; text-align: center; }
.storefront .deal-card:not(.ad-card) .price-row .price { grid-column: 3; justify-self: end; font-size: 1.18rem; line-height: 1; white-space: nowrap; }
.storefront .price-note { position: relative; display: inline; }
.storefront .price-note-mark {
    display: inline;
    margin: 0 0 0 1px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.72em;
    font-weight: 800;
    line-height: 0;
    vertical-align: super;
    cursor: help;
    border-radius: 0;
}
.storefront .price-note-tip {
    display: none;
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: calc(100% + 8px);
    width: min(240px, 68vw);
    max-height: 180px;
    overflow: auto;
    padding: 8px 10px;
    border-radius: 10px;
    background: #1c2430;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    white-space: normal;
    box-shadow: 0 10px 28px rgb(16 18 22 / 28%);
}
.storefront .price-note-tip span { display: block; }
.storefront .price-note-tip strong { font-weight: 750; }
.storefront .price-note:hover .price-note-tip,
.storefront .price-note:focus-within .price-note-tip,
.storefront .price-note.is-open .price-note-tip { display: grid; gap: 6px; }
.storefront .deal-card:has(.price-note.is-open),
.storefront .deal-facts:has(.price-note.is-open) { position: relative; z-index: 4; }
.storefront .deal-card:not(.ad-card) .price-row .share-pop { top: auto; right: auto; bottom: calc(100% + 4px); left: 0; }
@container dealcard (max-width: 190px) {
    .storefront .deal-card:not(.ad-card) .price-row {
        grid-template-columns: auto minmax(0, 1fr);
        row-gap: 4px;
    }
    .storefront .deal-card:not(.ad-card) .price-row .compare { grid-column: 1 / -1; grid-row: 1; }
    .storefront .deal-card:not(.ad-card) .price-row .card-tools,
    .storefront .deal-card:not(.ad-card) .price-row .share-menu { grid-column: 1; grid-row: 2; }
    .storefront .deal-card:not(.ad-card) .price-row .price { grid-column: 2; grid-row: 2; }
}
.storefront .deal-card.is-expired .deal-title { color: var(--muted); }
.storefront .deal-card.is-expired .card-discount {
    margin: 12px 0 0;
    color: color-mix(in srgb, var(--muted) 62%, var(--bg));
    font-size: 0.9rem;
    font-weight: 650;
    text-align: center;
}
.storefront .deal-card.is-expired .deal-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    box-sizing: border-box;
    border: 3px solid var(--expired-border, #e10600);
    border-radius: inherit;
    background: rgb(255 255 255 / var(--expired-veil, 50%));
    pointer-events: none;
}
.storefront .deal-card.is-expired .deal-media::after {
    content: var(--expired-label, "VERLOPEN");
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    padding: 8px 6px;
    background: var(--expired-bar, #e10600);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.1;
    text-align: center;
    pointer-events: none;
}
.storefront .deal-card.is-expired .deal-time { line-height: 1.35; }
.storefront .deal-card.is-expired .deal-time span { white-space: normal; }
.storefront .deal-clock { display: inline-grid; width: 14px; height: 14px; flex: none; color: var(--muted); }
.storefront .deal-clock svg { width: 14px; height: 14px; display: block; }
.storefront[data-card="compact"] .deal-card { padding: 8px; gap: 6px; }
.storefront[data-card="compact"] .deal-shop { padding: 0 4px; }
.storefront[data-card="compact"] .deal-shop img { height: 28px; }
.storefront[data-card="compact"] .deal-media { aspect-ratio: 5 / 4; border-radius: 12px; }
.storefront[data-card="compact"] .deal-body { flex-direction: row; align-items: flex-end; gap: 8px; padding: 0 2px; }
.storefront[data-card="compact"] .deal-body h2 { flex: 1 1 auto; min-width: 0; }
.storefront[data-card="compact"] .deal-title { min-height: 2.2em; font-size: 0.68rem; }
.storefront[data-card="compact"] .price-row { margin-top: 0; flex: none; }
.storefront[data-card="poster"] .deal-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 0 12px;
    gap: 0;
}
.storefront[data-card="poster"] .deal-media {
    grid-area: 1 / 1;
    margin: 12px 14px 0;
    border-radius: 18px;
}
.storefront[data-card="poster"] .deal-shop {
    grid-area: 1 / 1;
    align-self: start;
    justify-self: center;
    z-index: 2;
    width: auto;
    margin: 20px 28px 0;
    padding: 4px 10px;
    border-radius: 10px;
    background: var(--surface);
}
.storefront[data-card="poster"] .deal-time {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: stretch;
    z-index: 2;
    width: auto;
    margin: 0 22px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.storefront[data-card="poster"] .deal-body { padding: 12px 16px 0; }
.storefront[data-card="poster"] .price-row { margin-top: 14px; }
.storefront[data-card="poster"] .deal-title { font-size: 0.8rem; }
.storefront .price { font-size: 1.15rem; font-weight: 800; letter-spacing: 0; line-height: 1.1; }
.storefront .compare { font-size: 0.72rem; }
.storefront .coupon,
.storefront .shipping,
.storefront .stock { margin: 0; font-size: 0.68rem; line-height: 1.2; }
.storefront .deal-actions { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.storefront .deal-share { display: flex; gap: 4px; margin-left: auto; }
.storefront .deal-share a {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--text) 8%, var(--surface));
    color: var(--text);
}
.storefront .deal-share svg { width: 13px; height: 13px; display: block; }
.storefront .deal-time {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    width: auto;
    padding: 5px 8px 5px 8px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--text) 7%, var(--surface));
    color: var(--text);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0;
}
.storefront .deal-card .deal-time { max-width: 100%; box-sizing: border-box; }
.storefront .deal-card .deal-time[data-ends-at] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100%;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
}
.storefront .deal-card .deal-time[data-ends-at] .deal-time-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.storefront .deal-time-text { min-width: 0; line-height: 1.2; }
.storefront .time-bar { display: flex; gap: 2px; margin-left: 0; height: 5px; align-items: center; flex: none; }
.storefront .time-bar i { width: 5px; height: 5px; border-radius: 1px; }
.storefront .time-bar i:nth-child(1) { background: #22c55e; }
.storefront .time-bar i:nth-child(2) { background: #eab308; }
.storefront .time-bar i:nth-child(3) { background: #f97316; }
.storefront .time-bar i:nth-child(4) { background: #ef4444; }
.storefront .time-bar[data-parts="3"] i:nth-child(1),
.storefront .time-bar[data-parts="2"] i:nth-child(-n+2),
.storefront .time-bar[data-parts="1"] i:nth-child(-n+3) { display: none; }
.storefront .time-bar[data-parts="1"] i { animation: time-blink 1s step-end infinite; }
@keyframes time-blink { 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) {
    .storefront .time-bar[data-parts="1"] i { animation: none; }
}
.storefront .share-menu { position: relative; order: 3; margin-left: auto; flex: none; }
.storefront .deal-time[data-ends-at] .share-menu { margin-left: 8px; }
.storefront .share-menu summary {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    list-style: none;
    cursor: pointer;
    border-radius: 4px;
    color: #5c6670;
}
.storefront .share-menu summary::-webkit-details-marker { display: none; }
.storefront .share-menu summary::marker { content: ""; }
.storefront .share-menu summary svg { width: 13px; height: 13px; display: block; }
.storefront .share-menu[open] summary { background: color-mix(in srgb, var(--text) 10%, transparent); }
.storefront .share-pop {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 5;
    display: grid;
    min-width: 148px;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgb(22 27 34 / 14%);
}
.storefront .share-pop a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
}
.storefront .share-pop a:hover { background: color-mix(in srgb, var(--text) 6%, var(--surface)); }
.storefront .share-pop svg { width: 14px; height: 14px; display: block; }
.storefront .deal-card .deal-time[data-ends-at]::after { content: none; }
.storefront .deal-time[data-ends-at]::after {
    content: "";
    order: 2;
    width: 34px;
    height: 8px;
    margin-left: auto;
    flex: none;
    background-image: radial-gradient(circle, var(--urgency-color, #c5cad3) 1.6px, transparent 1.8px);
    background-size: 6px 8px;
    background-repeat: repeat-x;
}
.storefront .clock { width: 14px; height: 14px; }
.storefront .deal-go {
    margin-top: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 700;
}
.storefront .deal-go::after { content: " →"; }
.storefront .cta {
    border-radius: 14px;
    padding: 16px 22px;
    margin: 40px 0 8px;
    font-weight: 650;
}
.storefront .site-footer { padding: 56px 0 64px; }
.storefront .footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 18px;
}
.storefront .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}
.storefront .footer-brand .wordmark-logo { height: 36px; }
.storefront .footer-top .socials {
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}
.storefront .footer-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}
.storefront .footer-bar .footer-links,
.storefront .footer-meta,
.storefront .footer-legal {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
}
.storefront .footer-bar .footer-links { gap: 12px; }
.storefront .footer-meta { gap: 16px; }
.storefront .footer-legal { gap: 8px; }
.storefront .footer-meta { margin-left: auto; }
.storefront .footer-copy,
.storefront .footer-legal,
.storefront .footer-links a,
.storefront .footer-legal a,
.storefront .footer-legal span {
    margin: 0;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}
@media (max-width: 860px) {
    .storefront .footer-bar { flex-wrap: wrap; row-gap: 10px; }
    .storefront .footer-bar .footer-links,
    .storefront .footer-meta,
    .storefront .footer-legal { flex-wrap: wrap; max-width: 100%; }
    .storefront .footer-meta { margin-left: 0; }
}
.storefront .footer-disclosure {
    margin: 32px 0 0;
    max-width: 46rem;
    color: var(--muted);
}
.cookie-notice {
    position: fixed;
    z-index: 40;
    right: 16px;
    bottom: 16px;
    display: grid;
    gap: 18px;
    width: min(24rem, calc(100% - 32px));
    margin: 0;
    padding: 28px 28px 22px;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 18px 40px rgb(22 27 34 / 22%);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; line-height: 1.45; }
.cookie-notice a { color: #fff; }
.cookie-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.cookie-actions button {
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 650;
    padding: 8px 12px;
    cursor: pointer;
}
.cookie-actions .cookie-accept {
    background: #fff;
    color: #1c1c1c;
}
.storefront .socials { gap: 14px 22px; }
.storefront .socials a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
}
.storefront .socials a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.storefront .socials svg { width: 18px; height: 18px; display: block; }
.storefront .socials .yt-play { fill: var(--bg); }
.storefront button.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    color: var(--text);
    background: var(--surface);
}
.storefront button.theme-toggle svg { width: 20px; height: 20px; }
.storefront button.theme-toggle [hidden] { display: none; }
.storefront .shop-card {
    gap: 10px;
    min-height: 168px;
    padding: 22px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgb(22 27 34 / 8%);
}
.storefront .shop-logo { width: auto; max-width: 200px; height: 48px; }
.storefront .catalog-search {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 18px 0 12px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.storefront .catalog-search input[name="q"] {
    flex: 1 1 220px;
    width: auto;
    min-width: 160px;
    border: 0;
    background: transparent;
}
.storefront .catalog-search select {
    appearance: none;
    width: auto;
    min-width: 148px;
    height: 45px;
    margin: 0;
    padding: 0 36px 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background-color: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235c6570' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6.2 8 10.2l4.5-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    color: var(--text);
    font: inherit;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
}
.storefront .catalog-search select:hover {
    border-color: color-mix(in srgb, var(--text) 28%, var(--border));
}
[data-theme="dark"] .storefront .catalog-search select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7c0cc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6.2 8 10.2l4.5-4'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
    [data-theme="system"] .storefront .catalog-search select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7c0cc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6.2 8 10.2l4.5-4'/%3E%3C/svg%3E");
    }
}
.storefront .catalog-search .button { border-radius: 10px; }
.storefront .catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.storefront .segment {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.storefront .segment a,
.storefront .segment button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--muted);
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}
.storefront .segment a.is-active,
.storefront .segment button.is-active {
    background: var(--text);
    color: var(--bg);
}
.storefront .letter-nav { gap: 6px; margin: 4px 0 18px; }
.storefront .letter-nav a {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    text-decoration: none;
}
.storefront .catalog-sections a { width: auto; height: auto; min-height: 34px; padding: 6px 10px; white-space: nowrap; }
.storefront .letter-nav a.is-active {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
    text-decoration: none;
}
.storefront .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.storefront .catalog-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 8px 24px rgb(22 27 34 / 5%);
}
.storefront .catalog-card:hover {
    border-color: color-mix(in srgb, var(--text) 22%, var(--border));
    box-shadow: 0 12px 28px rgb(22 27 34 / 8%);
}
.storefront .catalog-logo {
    display: grid;
    place-items: center;
    height: 84px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}
.storefront .catalog-logo img { display: block; width: auto; max-width: 100%; height: 44px; object-fit: contain; }
.storefront .catalog-copy { display: grid; gap: 2px; min-width: 0; }
.storefront .catalog-copy strong { font-size: 0.98rem; line-height: 1.3; }
.storefront .catalog-copy .muted {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.82rem;
    line-height: 1.35;
}
.storefront .catalog-tip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: 1px;
}
.storefront .shops[data-view="list"] { grid-template-columns: 1fr; }
.storefront .shops[data-view="list"] .catalog-card { flex-direction: row; align-items: center; }
.storefront .shops[data-view="list"] .catalog-logo { width: 132px; height: 64px; flex: none; }
.storefront .shops[hidden] { display: none; }
.storefront .shop-directory { display: grid; gap: 14px; }
.storefront .shop-directory[hidden] { display: none; }
.storefront .shop-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 10px 12px 10px 14px;
    border-radius: 10px;
    background: color-mix(in srgb, #22a34a 16%, var(--surface));
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.45;
}
.storefront .shop-note button {
    flex: none;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1;
}
.storefront .shop-alpha {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}
.storefront .shop-alpha h2 {
    margin: 0;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--text) 4%, var(--surface));
    font-size: 1rem;
}
.storefront .shop-alpha ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px 16px;
    list-style: none;
    margin: 0;
    padding: 14px 16px 16px;
}
.storefront .shop-alpha li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.storefront .shop-alpha li > a:first-child {
    min-width: 0;
    color: var(--text);
    font-size: 0.92rem;
    text-decoration: none;
}
.storefront .shop-alpha li > a:first-child:hover { color: var(--accent); }
.storefront .shop-go {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
}
.storefront .shop-go svg { width: 16px; height: 16px; }
.storefront .shop-go:hover { color: var(--accent); }
.storefront .shop-code {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #22a34a;
}
.storefront .shop-hero { align-items: flex-start; padding: 22px; border-radius: 20px; }
.storefront .shop-hero h1 { margin: 0 0 4px; }
.storefront .shop-layout { display: grid; gap: 16px; margin-top: 16px; }
.storefront .shop-copy { display: grid; gap: 16px; }
.storefront .shop-layout .panel { border-radius: 20px; }
.storefront .shop-layout h3 { margin: 18px 0 8px; font-size: 1rem; }
.storefront .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.storefront .shop-shot { display: block; width: 100%; height: auto; border-radius: 12px; background: #fff; }
.storefront .rating-list { display: grid; gap: 10px; margin-top: 8px; }
.storefront .rating-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.storefront .stars { color: var(--accent); letter-spacing: 0.08em; }
.storefront .shop-socials { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.storefront .shop-socials a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 650; }
.storefront .shop-socials svg { width: 18px; height: 18px; }
@media (min-width: 640px) {
    .storefront .specs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .storefront .shop-layout.has-shot { grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.7fr); align-items: start; }
}
@media (min-width: 960px) {
    .storefront .deal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .storefront .deal-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
    .storefront .deal-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.admin .page-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin .crumb { margin: 0 0 4px; color: #5c6570; }
.admin .crumb a { color: inherit; }
.deal-editor { display: grid; gap: 20px; align-items: start; }
.deal-preview img,
.deal-preview-empty {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    background: #f4f1ec;
}
.deal-preview-empty {
    display: grid;
    place-items: center;
    font-size: 3rem;
    font-weight: 700;
    color: #8b95a1;
}
.deal-preview-category {
    display: inline-flex;
    margin: 14px 0 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f4f6f8;
    font-size: 0.82rem;
    font-weight: 700;
}
.deal-preview-price { margin: 12px 0 4px; font-size: 1.45rem; font-weight: 750; letter-spacing: -0.03em; }
.deal-preview-price span { margin-right: 8px; color: #8b95a1; font-size: 1rem; font-weight: 600; text-decoration: line-through; }
.override + .override { margin-top: 8px; padding-top: 18px; border-top: 1px solid #e2e5ea; }
.override-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.override-head h2 { margin: 0; }
.override-head button,
.override .split button {
    border: 0;
    background: transparent;
    color: #5c6570;
    padding: 0;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.source-line { margin: 8px 0 12px; color: #5c6570; }
@media (min-width: 960px) {
    .deal-editor { grid-template-columns: 300px minmax(0, 1fr); }
    .deal-preview { position: sticky; top: 84px; }
}
.admin .panel > h2:first-child,
.admin section > h2 { margin: 22px 0 10px; font-size: 1.05rem; }
.admin .panel > h2:first-child { margin-top: 0; }
.site-hero { display: grid; gap: 18px; align-items: center; }
.site-mark { display: flex; flex-wrap: wrap; gap: 10px; }
.site-logo {
    display: block;
    height: 72px;
    width: min(280px, 100%);
    object-fit: contain;
    padding: 12px 16px;
    border-radius: 16px;
    background: repeating-conic-gradient(#e7ebf0 0% 25%, #fff 0% 50%) 50% / 16px 16px;
}
.site-logo.is-dark { background: #161b22; }
.site-letter {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}
.site-identity .pills { justify-content: flex-start; margin: 0 0 8px; }
.site-hosts,
.site-icons { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.site-hosts li { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: #f4f6f8; }
.site-hosts small { color: #5c6570; }
.site-icons li { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.site-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; color: #fff; }
.site-icon svg { width: 18px; height: 18px; display: block; }
.site-icon .yt-play { fill: #fff; }
.site-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.site-stat strong { display: block; font-size: 1.8rem; letter-spacing: -0.04em; line-height: 1.1; }
.site-stat p { margin: 4px 0 0; color: #5c6570; }
.site-layout { display: grid; gap: 16px; align-items: start; }
.page-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.page-card {
    display: grid;
    gap: 6px;
    align-content: start;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e2e5ea;
    border-radius: 14px;
    background: #f8f9fb;
}
.page-card strong { overflow-wrap: anywhere; }
.page-card code { color: #5c6570; font-size: 0.82rem; overflow-wrap: anywhere; }
.admin .pill.is-empty { background: #fff4df; color: #8a5a00; }
.theme-studio { display: grid; gap: 14px; }
.theme-stage {
    --bg: var(--p-bg);
    --surface: var(--p-surface);
    --text: var(--p-text);
    --muted: var(--p-muted);
    --accent: var(--p-accent);
    --line: var(--p-border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--p-font, system-ui, sans-serif);
    border-radius: 18px;
    padding: 16px;
}
.theme-stage[data-mode="dark"] {
    --bg: var(--p-dark-bg);
    --surface: var(--p-dark-surface);
    --text: var(--p-dark-text);
    --muted: var(--p-dark-muted);
    --accent: var(--p-dark-accent);
    --line: var(--p-dark-border);
}
.theme-bar,
.theme-card { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--p-radius, 10px); }
.theme-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px 14px; }
.theme-bar img { height: 28px; width: auto; max-width: 160px; object-fit: contain; }
.theme-bar span { color: var(--muted); font-weight: 650; font-size: 0.9rem; }
.theme-card { max-width: 240px; overflow: hidden; }
.theme-photo {
    height: 110px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 72%, white), transparent 72%), var(--bg);
}
.theme-card-body { display: grid; gap: 6px; padding: 12px; }
.theme-card-body p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.theme-price { color: var(--text); font-weight: 750; }
.theme-price s { margin-right: 6px; color: var(--muted); font-weight: 600; }
.theme-cta { justify-self: start; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 750; }
.theme-mode { display: flex; gap: 8px; }
.theme-mode button[aria-pressed="true"] { background: #161b22; color: #fff; border-color: #161b22; }
.theme-palettes { display: grid; gap: 14px; }
.theme-palettes fieldset { margin: 0; padding: 12px; border: 1px solid #e2e5ea; border-radius: 16px; }
.theme-palettes legend { padding: 0 6px; font-weight: 750; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; }
.swatch { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 650; }
.swatch input[type="color"] {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}
.swatch small { display: block; color: #5c6570; font-weight: 600; font-family: ui-monospace, SFMono-Regular, monospace; }
@media (min-width: 800px) {
    .site-hero { grid-template-columns: auto minmax(0, 1fr); }
    .site-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .site-layout { grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); }
    .site-colors { order: -1; position: sticky; top: 84px; }
}
.admin .page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin .page-head .page-actions { margin-top: 0; }
.admin .page-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    line-height: 1;
}
.admin .page-head h1 { margin: 0; }
.admin .filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 8px; }
.admin .filters .field { margin: 0; flex: 1 1 180px; }
.admin .filters .field-segment { flex: 0 0 auto; }
.admin .filters .button { margin-bottom: 0; }
.admin .segment {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: #f3f5f8;
    border: 1px solid #d7dde5;
    border-radius: 999px;
}
.admin .segment a {
    border-radius: 999px;
    padding: 7px 14px;
    color: #5c6570;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
}
.admin .segment a.is-active { background: #1c2430; color: #fff; }
.admin .records { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.admin .record {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgb(22 27 34 / 6%);
    color: inherit;
    text-decoration: none;
}
.admin .record-body { min-width: 0; }
.admin .record strong { display: block; font-size: 1.05rem; }
.admin .record .muted { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin .record-logo { width: 72px; height: 36px; object-fit: contain; background: #fff; }
.admin .record-shot { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; background: #f4f1ec; }
.admin .record-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #c8102e;
    color: #fff;
    font-weight: 800;
}
.admin .record-mark svg { width: 22px; height: 22px; }
.icon-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}
.icon-picker legend { margin: 0 0 8px; font-weight: 650; }
.icon-choice {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px 6px 8px;
    border: 1px solid #e2e5ea;
    border-radius: 14px;
    background: #fff;
    color: #1c2430;
    font-size: 0.78rem;
    font-weight: 650;
    text-align: center;
    cursor: pointer;
}
.icon-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.icon-choice-face {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #e7eef6;
    color: #16324f;
}
.icon-choice-face svg { width: 22px; height: 22px; }
.icon-choice:has(input:checked) { border-color: #c8102e; background: #fff6f7; }
.icon-choice:has(input:checked) .icon-choice-face { background: #c8102e; color: #fff; }
.icon-choice:has(input:focus-visible) { outline: 2px solid #1c2430; outline-offset: 2px; }
.log-list { display: grid; gap: 10px; }
.log-entry header { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.log-entry time { color: #5c6570; font-size: 0.85rem; }
.log-entry header strong { font-size: 1rem; }
.log-entry details { margin-top: 8px; }
.log-entry summary { cursor: pointer; font-weight: 650; }
.admin .tree-node { display: grid; gap: 8px; }
.admin .record.tree-card {
    position: relative;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 4px;
}
.admin .tree-open {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.admin .tree-record .tree-open,
.admin .tree-leaf .tree-open { grid-template-columns: minmax(0, 1fr) auto; }
.admin .tree-caret {
    display: grid;
    place-items: center;
    width: 22px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8b939e;
    box-shadow: none;
    cursor: pointer;
}
.admin .tree-caret:hover { color: #1c2430; background: #f4f1ec; }
.admin .tree-caret::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}
.admin .tree-caret[aria-expanded="true"]::before { transform: rotate(45deg) translate(-1px, -1px); }
.admin .tree-actions {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 12px;
    display: flex;
    gap: 2px;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    background: #1c2430;
    box-shadow: 0 8px 20px rgb(22 27 34 / 18%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
}
.admin .tree-card:hover > .tree-actions,
.admin .tree-card:focus-within > .tree-actions,
.admin .tree-leaf:hover > .tree-actions,
.admin .tree-leaf:focus-within > .tree-actions {
    opacity: 1;
    pointer-events: auto;
}
.admin .tree-plus {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    box-shadow: none;
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.admin .tree-plus:hover { background: rgb(255 255 255 / 14%); }
.admin .split-menu { position: relative; display: inline-flex; align-items: stretch; }
.admin .split-menu > .button-accent {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px 0 0 999px;
    line-height: 1;
}
.admin .split-menu > details { display: flex; margin: 0; }
.admin .split-menu summary {
    display: grid;
    place-items: center;
    width: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 999px 999px 0;
    list-style: none;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    box-shadow: inset 1px 0 0 rgb(255 255 255 / 35%);
}
.admin .split-menu > .button-accent:hover,
.admin .split-menu summary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.admin .split-menu summary::-webkit-details-marker { display: none; }
.admin .split-menu summary::marker { content: none; }
.admin .split-menu summary::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.admin .split-menu details[open] > summary::before {
    margin-top: 4px;
    transform: rotate(225deg);
}
.admin .split-menu-panel {
    position: absolute;
    z-index: 5;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    padding: 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgb(22 27 34 / 16%);
}
.admin .split-menu-panel a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    color: #1c2430;
    font-weight: 650;
    text-decoration: none;
}
.admin .split-menu-panel a:hover { background: #f4f5f7; }
.admin .danger-action { margin-top: 18px; }
.admin .danger-action button {
    background: transparent;
    color: #8a1f2b;
    border-color: #f0d0d4;
}
.admin .tree-children {
    list-style: none;
    margin: 0 0 4px 18px;
    padding: 0 0 4px 14px;
    border-left: 2px solid #e2e5ea;
    display: grid;
    gap: 8px;
}
.admin .tree-children[hidden] { display: none; }
.admin .tree-leaf {
    position: relative;
    display: grid;
    align-items: center;
    padding: 10px 12px 10px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgb(22 27 34 / 6%);
}
.admin .tree-leaf strong,
.admin .tree-leaf .muted { display: block; }
.admin .tree-leaf .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin .tree-empty { margin: 0; color: #5c6570; font-size: 0.9rem; }
@media (hover: none) {
    .admin .tree-actions { opacity: 1; pointer-events: auto; }
}
@media (max-width: 700px) {
    .admin .tree-open { grid-template-columns: 56px minmax(0, 1fr); }
    .admin .tree-open .pills { grid-column: 2; justify-content: flex-start; }
    .admin .tree-record .tree-open,
    .admin .tree-leaf .tree-open { grid-template-columns: minmax(0, 1fr); }
    .admin .tree-record .tree-open .pills,
    .admin .tree-leaf .tree-open .pills { grid-column: 1; }
}
.admin .page-actions { margin-top: 16px; }
.admin .pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.admin .pill { border-radius: 999px; padding: 4px 10px; background: #e7ebf0; color: #1c2430; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.admin .pill.is-live { background: #e5f6ea; color: #0b6e4f; }
.admin .pill.is-archived { background: #f3e8e8; color: #8a1f2b; }
.admin .empty { text-align: center; }
@media (max-width: 700px) {
    .admin .record { grid-template-columns: 56px minmax(0, 1fr); }
    .admin .record-logo { width: 56px; }
    .admin .pills { grid-column: 2; justify-content: flex-start; }
}
.admin .task-board { margin: 0 0 16px; }
.admin .task-board h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.admin .task-board h2 span {
    display: inline-grid;
    place-items: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 6px;
    border-radius: 999px;
    background: #c8102e;
    color: #fff;
    font-size: 0.85rem;
}
.admin .records[data-deal-list] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.admin .records[data-deal-list] > li { min-width: 0; }
.admin .records[data-deal-list] > li > .record.task-row { height: 100%; }
.admin .record.task-row {
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: stretch;
    cursor: pointer;
}
.admin .record.task-row.is-done { background: rgb(46 160 90 / 16%); }
.admin .task-media { display: flex; flex-direction: column; gap: 8px; width: 100px; }
.admin .task-media .task-action { margin-top: auto; }
.admin .task-channel {
    display: grid;
    place-items: center;
    width: 100px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1c2430;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}
.admin .task-channel img {
    display: block;
    width: 100px;
    height: auto;
    object-fit: contain;
}
.admin .task-shot,
.admin .task-shot-empty {
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    background: #f4f1ec;
    color: #8b95a1;
    font-size: 1.6rem;
    font-weight: 700;
}
.admin .task-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100px;
    height: 2.2rem;
    margin: 0;
    padding: 0 4px;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}
.admin .task-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.admin .task-origin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin .task-state {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.4;
}
.admin .task-state.is-live { background: rgb(46 160 90 / 16%); color: #146c36; }
.admin .task-state.is-expired { background: rgb(180 35 24 / 12%); color: #9f1239; }
.admin .task-main strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: calc(1.05rem * 1.3 * 2);
    line-height: 1.3;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.admin .task-prices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}
.admin .task-prices > span {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-weight: 650;
}
.admin .task-prices small {
    color: #8b95a1;
    font-size: 0.72rem;
    font-weight: 650;
}
.admin .task-foot {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}
.admin .task-created {
    min-width: 0;
    overflow: hidden;
    color: #8b95a1;
    font-size: 0.85rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin .task-foot form { margin: 0; }
.admin .task-foot .button { flex: none; }
.admin dialog.deal-dialog {
    position: fixed;
    inset: 0;
    width: min(1120px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 16px 18px;
    border: 0;
    border-radius: 16px;
    color: #1c2430;
    box-shadow: 0 24px 60px rgb(16 18 22 / 28%);
    overflow: auto;
}
.admin dialog.deal-dialog::backdrop { background: rgb(16 18 22 / 58%); }
.admin .deal-dialog form {
    display: grid;
    gap: 14px;
}
.admin .deal-dialog .muted, .admin .deal-dialog .error { margin: 0; }
.admin .deal-dialog-split {
    display: grid;
    gap: 20px;
    align-items: start;
}
.admin .deal-dialog-source,
.admin .deal-dialog-fields { display: grid; gap: 10px; min-width: 0; }
.admin .deal-dialog-shot,
.admin .deal-dialog-source-empty {
    display: block;
    width: 280px;
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    background: #f4f1ec;
}
.admin .deal-dialog-source-empty {
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #8b95a1;
}
.admin .deal-dialog-shot[hidden],
.admin .deal-dialog-source-empty[hidden] { display: none; }
.admin .deal-dialog-facts { display: grid; gap: 6px; margin: 0; }
.admin .deal-dialog-facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 8px; align-items: start; }
.admin .deal-dialog-facts dt { margin: 0; color: #5c6570; font-weight: 650; }
.admin .deal-dialog-facts dd { margin: 0; }
.admin .deal-dialog .field { margin: 0; }
.admin .deal-dialog-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.admin .deal-dialog-head, .admin .deal-dialog-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.admin .deal-dialog-head strong { min-width: 0; }
.admin .deal-dialog-actions { justify-content: flex-end; }
.admin .deal-dialog-actions .button-accent { border: 0; cursor: pointer; }
.admin dialog.channel-menu {
    position: fixed;
    inset: 0;
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 16px 18px;
    border: 0;
    border-radius: 16px;
    color: #1c2430;
    box-shadow: 0 24px 60px rgb(16 18 22 / 28%);
    overflow: auto;
}
.admin dialog.channel-menu::backdrop { background: rgb(16 18 22 / 58%); }
.admin .channel-menu-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.admin .channel-menu-head strong,
.admin .channel-menu-head .muted { display: block; }
.admin .channel-menu-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin .channel-menu-actions form { display: grid; margin: 0; }
.admin .channel-menu-tile {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    width: 100%;
    min-height: 88px;
    margin: 0;
    padding: 12px 10px;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: #fff;
    color: #1c2430;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.admin .channel-menu-tile:hover,
.admin .channel-menu-tile:focus-visible { border-color: #c8102e; background: #fff6f7; }
.admin .channel-menu-tile svg { width: 26px; height: 26px; color: #c8102e; }
.admin .channel-menu-tile span { overflow-wrap: anywhere; }
.admin .channel-menu-actions .muted { grid-column: 1 / -1; margin: 0; }
.admin dialog.channel-menu [data-channel-menu-status] { white-space: pre-wrap; }
.admin .channel-menu-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    border-radius: 16px;
    background: rgb(255 255 255 / 88%);
    color: #1c2430;
    font-weight: 650;
}
.admin .channel-menu-loader[hidden] { display: none; }
.admin dialog.channel-menu.is-loading .channel-menu-actions { pointer-events: none; }
.admin .channel-menu-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e2e5ea;
    border-top-color: #c8102e;
    border-radius: 50%;
    animation: channel-menu-spin 0.7s linear infinite;
}
@keyframes channel-menu-spin { to { transform: rotate(360deg); } }
body:has(dialog[open]) { overflow: hidden; }
.admin dialog.channel-menu.has-results { width: min(1120px, calc(100% - 24px)); }
.admin .channel-menu-results { display: grid; gap: 12px; margin-bottom: 14px; width: 100%; }
.admin .channel-menu-results[hidden] { display: none; }
.admin .channel-menu-run {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: #f8faf8;
}
.admin .channel-menu-run.is-failed { background: rgb(180 35 24 / 8%); border-color: rgb(180 35 24 / 30%); }
.admin .channel-menu-run .muted { margin: 0; }
.admin .channel-menu-run-source { margin: 0; overflow-wrap: anywhere; }
.admin .import-run-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.admin .import-runs { margin: 0; }
.admin .import-runs h2:first-child { margin-top: 0; }
.admin .import-runs .input-table { margin: 0; }
.admin .channel-menu-run-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.admin .channel-menu-run-outcome { font-size: 0.82rem; font-weight: 700; color: #146c36; }
.admin .channel-menu-run.is-failed .channel-menu-run-outcome { color: #9f1239; }
.admin .channel-menu-values { display: grid; gap: 4px; margin: 0; }
.admin .channel-menu-values { width: 100%; }
.admin .channel-menu-values > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 12px; padding: 4px 8px; border-bottom: 1px solid #e8ebef; }
.admin .channel-menu-values > div:last-child { border-bottom: 0; }
.admin .channel-menu-values > div.is-changed { background: rgb(255 214 102 / 30%); border-radius: 6px; }
.admin .channel-menu-values dt { margin: 0; color: #5c6570; font-weight: 650; }
.admin .channel-menu-values dd { margin: 0; overflow-wrap: anywhere; }
.admin .channel-menu-values dd.is-empty { color: #8b95a1; font-style: italic; }
@media (min-width: 800px) {
    .admin .deal-dialog-split { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .admin .channel-menu-values > div { grid-template-columns: 1fr; gap: 2px; }
    .admin .records[data-deal-list] { grid-template-columns: 1fr; }
    .admin .deal-dialog-prices { grid-template-columns: 1fr; }
    .admin .deal-dialog-facts > div { grid-template-columns: 1fr; gap: 2px; }
    .admin .deal-dialog-head, .admin .deal-dialog-actions { align-items: stretch; flex-wrap: wrap; }
}
.admin .hint { color: #5c6775; margin: 0 0 12px; }
.admin .field .hint { margin: 0; font-size: 0.92rem; font-weight: 400; line-height: 1.45; }
.admin .field code { font-size: 0.88em; }
.admin pre.example {
    margin: 0;
    padding: 10px 12px;
    overflow: auto;
    border-radius: 8px;
    background: #f4f6f8;
    color: #1c2430;
    font-size: 0.8rem;
    line-height: 1.45;
    white-space: pre-wrap;
}
.admin .panel h2 { margin: 22px 0 10px; font-size: 1.05rem; }
.admin .mapper { display: grid; gap: 12px; margin: 4px 0 8px; }
.admin .mapper[hidden] { display: none; }
.admin .mapper-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.admin .mapper-bar p, .admin .mapper-item { margin: 0; color: #5c6570; }
.admin .mapper-board { display: grid; gap: 16px; }
.admin .mapper-fields, .admin .mapper-targets { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; max-height: 770px; overflow: auto; }
.admin .mapper-field, .admin .mapper-slot {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
}
.admin .mapper-field { border: 1px solid #e2e5ea; cursor: grab; }
.admin .mapper-field.is-used { opacity: 0.45; }
.admin .mapper-field.is-picked { border-color: #c8102e; }
.admin .mapper-field small, .admin .mapper-slot span { color: #5c6570; overflow-wrap: anywhere; }
.admin .mapper-slot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border: 1px dashed #c5cad3;
    background: #f7f8fa;
}
.admin .mapper-slot strong { flex: none; width: 9rem; }
.admin .mapper-slot span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin .mapper-slot.is-over, .admin .mapper-slot.is-filled { border-style: solid; border-color: #c8102e; background: #fff; }
.admin .mapper-slot.is-filled span { color: #1c1c1c; font-weight: 650; }
.admin .mapper-clear {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    margin: 0 0 0 auto;
    padding: 0;
}
.admin .mapper-clear[hidden] { display: none; }
.admin .mapper-clear svg { width: 14px; height: 14px; pointer-events: none; }
.admin .mapper-json textarea { margin-top: 8px; }
.admin .field textarea.code-input {
    min-height: 220px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88rem;
    line-height: 1.45;
    white-space: pre-wrap;
    tab-size: 2;
}
@media (min-width: 900px) {
    .admin .mapper-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.admin .channel-switch { display: none; margin: 8px 0 16px; padding: 12px; border: 1px solid #e2e5ea; border-radius: 12px; background: #f7f8fa; }
.admin form:has(select[name="type"] option[value="daily"]:checked) .channel-switch,
.admin .channel-switch.is-shown { display: grid; gap: 12px; }
.admin .channel-switch legend { padding: 0 4px; font-weight: 750; }
.admin .switch-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.admin .switch-presets button.is-selected { border-color: #c8102e; background: #fff6f7; }
.admin .schedule { display: grid; gap: 12px; margin: 8px 0 16px; }
.admin .schedule-summary { margin: 0; font-weight: 650; }
.admin .schedule-day {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 3px;
    align-items: end;
    height: 72px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.admin .schedule-day li { display: grid; gap: 4px; align-items: end; min-width: 0; }
.admin .schedule-day i { display: block; height: 8px; border-radius: 4px 4px 0 0; background: #d5dbe3; }
.admin .schedule-day .is-quiet i { height: 22px; background: #1c2430; }
.admin .schedule-day .is-busy i { height: 36px; background: #c8102e; }
.admin .schedule-day .is-hot i { height: 48px; background: #c8102e; }
.admin .schedule-day small { display: none; color: #5c6570; font-size: 0.62rem; text-align: center; }
.admin .schedule-day li:nth-child(6n + 1) small { display: block; }
.admin .schedule-rule {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: #f7f8fa;
}
.admin .schedule-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.admin .schedule-fields .field { flex: 1 1 160px; max-width: 240px; margin: 0; }
.admin .schedule-rule > .schedule-fields > [data-kind] { display: contents; }
.admin .schedule-rule > .schedule-fields > button { margin-bottom: 2px; }
.admin .schedule-rule:has(option[value="window"]:checked) [data-kind="hours"],
.admin .schedule-rule:has(option[value="hours"]:checked) [data-kind="window"] { display: none; }
.admin .schedule-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) {
    .admin .schedule-day small { display: block; }
}
.admin .split { display: grid; gap: 0 16px; }
.admin .checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; }
.admin .checks label { display: inline-flex; align-items: center; gap: 6px; }
.admin label.check {
    display: grid;
    grid-template-columns: 1.05rem minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    margin: 0 0 14px;
    font-weight: 700;
}
.admin label.check input[type="checkbox"],
.admin label.check input[type="radio"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.2rem 0 0;
    accent-color: #1c2430;
}
.admin label.check .hint { display: block; margin-top: 2px; font-weight: 400; }
.admin .logo-preview {
    display: block;
    height: 56px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    background: repeating-conic-gradient(#e7ebf0 0% 25%, #fff 0% 50%) 50% / 16px 16px;
    border-radius: 8px;
}
.admin .logo-preview[hidden] { display: none; }
.admin .header-photo-preview {
    display: block;
    width: min(100%, 520px);
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    background: #1b2430;
}
.admin .logo-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgb(22 27 34 / 55%);
}
.admin .logo-modal[hidden] { display: none; }
.admin .logo-dialog {
    width: min(560px, 100%);
    background: #fff;
    color: #1c2430;
    border-radius: 16px;
    padding: 20px;
}
.admin .logo-dialog h2 { margin: 0 0 8px; }
.admin .logo-frame {
    overflow: hidden;
    border-radius: 12px;
    background: repeating-conic-gradient(#e7ebf0 0% 25%, #fff 0% 50%) 50% / 16px 16px;
}
.admin .logo-frame canvas { display: block; width: 100%; height: auto; cursor: grab; touch-action: none; }
.admin .logo-zoom { display: grid; gap: 6px; margin: 12px 0; font-weight: 700; }
.admin .logo-zoom input { width: 100%; }
.admin .logo-actions { display: flex; justify-content: flex-end; gap: 8px; }
.admin .ratings { display: grid; gap: 0 16px; }
.admin .error { margin: 0 0 16px; }
@media (min-width: 860px) {
    .admin .split, .admin .ratings { grid-template-columns: 1fr 1fr; }
}
.admin .sections { border: 1px solid #e2e5ea; border-radius: 14px; padding: 12px 14px 0; margin: 0 0 16px; }
.admin .sections legend { padding: 0 6px; font-weight: 750; }
.admin .subscriber-table { width: 100%; border-collapse: collapse; }
.admin .subscriber-table th, .admin .subscriber-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e2e5ea; vertical-align: middle; }
.admin .subscriber-table form { margin: 0; }
.storefront .topbar-row { display: flex; flex-wrap: nowrap; gap: 16px 20px; align-items: center; }
.storefront .header-socials { margin-left: 0; flex: none; }
.storefront .header-search {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 180px;
    min-width: 0;
    max-width: 440px;
    margin-left: auto;
    margin-right: 40px;
    padding: 4px 4px 4px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
}
.storefront .header-search input {
    flex: 1;
    min-width: 0;
    width: auto;
    border: 0;
    border-radius: 0;
    padding: 8px 0;
    background: transparent;
    color: var(--text);
    font: inherit;
}
.storefront .header-search input:focus { outline: none; }
.storefront .header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.storefront .header-search button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
}
.storefront .header-search svg { width: 18px; height: 18px; }
.storefront .header-signup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    flex: none;
    margin: 0 0 0 auto;
    padding: 8px 14px 8px 8px;
    border: 0;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    color: var(--text);
    text-align: left;
    font-weight: 650;
    box-shadow: none;
}
.storefront .topbar-row:has(.header-search) .header-signup { margin-left: 0; }
.storefront .header-signup-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
}
.storefront .header-signup-mark svg { width: 18px; height: 18px; }
.storefront .header-signup-copy { display: grid; min-width: 0; }
.storefront .header-signup strong, .storefront .header-signup small { display: block; }
.storefront .header-signup strong { font-size: 0.92rem; line-height: 1.15; }
.storefront .header-signup small { color: var(--muted); font-weight: 500; font-size: 0.78rem; line-height: 1.2; white-space: nowrap; }
.storefront .header-signup-go {
    flex: none;
    padding: 0;
    background: transparent;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 750;
}
.storefront .header-signup:hover { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.storefront .header-signup:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.storefront .site-header.is-banner .banner-row {
    flex-wrap: nowrap;
    gap: 8px 18px;
    padding: 0;
}
.storefront .site-header.is-banner .wordmark { flex: none; padding: 12px 0; }
.storefront .banner-toggle {
    display: none;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
}
.storefront .banner-toggle svg { width: 22px; height: 22px; }
.storefront .banner-toggle-close { display: none; }
.storefront .site-header.is-banner.is-menu-open .banner-toggle-open { display: none; }
.storefront .site-header.is-banner.is-menu-open .banner-toggle-close { display: block; }
.storefront .banner-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.storefront .banner-nav {
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow-x: auto;
    gap: 0;
}
.storefront .banner-nav a {
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 22px 14px;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.storefront .banner-nav a.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }
.storefront .banner-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex: none;
}
.storefront .site-header.is-banner .header-search {
    flex: 0 1 240px;
    max-width: 240px;
    margin-left: 0;
    margin-right: 0;
}
.storefront .header-stage {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(300px, 36vw, 460px);
    background: #1b2430;
    overflow: hidden;
}
.storefront .header-stage.is-empty {
    background: linear-gradient(105deg, color-mix(in srgb, var(--accent) 82%, #111) 0%, color-mix(in srgb, var(--accent) 35%, #1b2430) 100%);
}
.storefront .header-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.storefront .header-stage .wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: inherit;
    padding: 36px 0;
}
.storefront .header-card {
    display: grid;
    gap: 10px;
    width: min(440px, 100%);
    margin: 0;
    padding: 28px 28px 22px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #1c2430;
    text-align: left;
    box-shadow: 0 16px 40px rgb(16 24 40 / 22%);
    cursor: pointer;
}
.storefront .header-card strong {
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.storefront .header-card-arrow { margin-right: 8px; color: var(--accent); }
.storefront .header-card-copy {
    color: #5c6778;
    font-size: 0.98rem;
    line-height: 1.4;
}
.storefront .header-card-go {
    margin-top: 6px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.storefront .header-card:hover .header-card-go { text-decoration: underline; }
.storefront .header-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.storefront .signup-bar-go {
    flex: none;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    font-weight: 750;
}
.storefront .signup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 36px 0 8px;
    padding: 18px 18px 18px 22px;
    border: 0;
    border-radius: 18px;
    background: var(--text);
    color: var(--bg);
    text-align: left;
}
.storefront .signup-bar strong { display: block; font-size: 1.15rem; }
.storefront .signup-bar-go { background: var(--accent); }
.home-hero { display: grid; gap: 16px; margin: 0 0 28px; }
.home-spotlight { margin: 36px 0 0; }
.home-spotlight-grid { display: grid; gap: 12px; }
.spotlight-card {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 16px 16px 8px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}
.spotlight-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.spotlight-head h2 { margin: 0; font-size: 1.15rem; letter-spacing: -0.03em; }
.spotlight-head a { color: var(--accent); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.spotlight-card ol { list-style: none; margin: 8px 0 0; padding: 0; }
.spotlight-card li .spotlight-hit {
    display: grid;
    grid-template-columns: 28px 52px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--border);
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.spotlight-card li .spotlight-hit.has-action { grid-template-columns: 28px 52px minmax(0, 1fr) auto; }
.spotlight-card li .spotlight-hit:hover strong { color: var(--accent); }
.spotlight-thumb {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    min-width: 0;
    max-width: 52px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
}
.spotlight-thumb img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.spotlight-thumb.is-cover { padding: 0; }
.spotlight-thumb.is-cover img { object-fit: cover; }
.spotlight-thumb svg { width: 26px; height: 26px; }
.spotlight-offer {
    display: block;
    margin-bottom: 2px;
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}
.spotlight-action { color: var(--accent); font-size: 0.78rem; font-weight: 800; white-space: nowrap; }
@media (max-width: 520px) {
    .spotlight-card li .spotlight-hit.has-action { grid-template-columns: 28px 52px minmax(0, 1fr); }
    .spotlight-action { grid-column: 3; }
}
.spotlight-rank {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}
.spotlight-card strong { display: block; font-weight: 700; line-height: 1.3; }
.spotlight-card .muted { display: block; margin-top: 2px; font-size: 0.82rem; }
.spotlight-empty { margin: 8px 0 12px; color: var(--muted); }
@media (min-width: 800px) {
    .home-spotlight-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.hero-banner, .hero-carousel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
}
.hero-carousel { display: grid; grid-template-rows: minmax(230px, 1fr) auto; }
.hero-banner {
    gap: 12px;
    padding: 28px;
    background:
        radial-gradient(520px 240px at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
        var(--surface);
}
.hero-kicker { margin: 0; color: var(--accent); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-banner h2, .hero-slide h3, .signup-dialog h2 { margin: 0; letter-spacing: -0.04em; }
.hero-banner h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
.hero-banner p { margin: 0; max-width: 38rem; }
.hero-shops { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.hero-shops li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-weight: 700;
}
.hero-shops li.is-logo { padding: 8px 14px; }
.hero-shops a { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.hero-shops a:hover { color: var(--accent); }
.hero-shops img { display: block; height: 26px; width: auto; max-width: 132px; object-fit: contain; }
.hero-banner .hero-foot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: auto 0 0;
    padding: 8px 14px 8px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
}
.hero-banner .hero-foot::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 999px;
    background: var(--accent);
}
.hero-slide { display: grid; grid-area: 1 / 1; align-content: start; gap: 10px; min-height: 230px; padding: 28px; visibility: hidden; }
.hero-slide.is-active { visibility: visible; }
.hero-slide h3 { font-size: 1.7rem; }
.hero-slide p { margin: 0; color: var(--muted); }
.hero-art { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.hero-art svg { width: 48px; height: 48px; }
.hero-chips { display: flex; gap: 8px; }
.hero-chips span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 800; }
.hero-bar { display: flex; grid-area: 2 / 1; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--accent); color: #fff; }
.hero-bar button { width: 42px; height: 42px; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; }
.hero-bar strong { letter-spacing: 0.08em; text-transform: uppercase; }
.signup-dialog {
    width: min(420px, calc(100% - 32px));
    height: fit-content;
    max-height: calc(100dvh - 32px);
    margin: auto;
    position: relative;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 24px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 80px rgb(16 18 22 / 28%);
}
.signup-dialog::backdrop { background: rgb(16 18 22 / 58%); }
.signup-dialog[open] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}
.signup-hero {
    position: relative;
    flex: none;
    height: 148px;
    overflow: hidden;
    background:
        radial-gradient(120px 80px at 18% 80%, rgb(255 255 255 / 18%), transparent 70%),
        var(--accent);
    color: #fff;
}
.signup-hero svg { display: block; width: 100%; height: 100%; }
.signup-hero p {
    position: absolute;
    left: 18px;
    bottom: 14px;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.signup-dialog form,
.signup-done {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 18px 18px 16px;
}
.signup-dialog p { margin: 0; }
.signup-dialog h2 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.signup-dialog form > p,
.signup-done p { color: var(--muted); line-height: 1.4; }
.signup-dialog .field { display: grid; gap: 6px; margin: 0; }
.signup-dialog .field input {
    border-radius: 12px;
    padding: 12px 14px;
}
.signup-dialog .check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
}
.signup-dialog .check input { width: 18px; height: 18px; margin: 2px 0 0; }
.signup-dialog .button-accent {
    flex: none;
    align-self: stretch;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 12px 16px;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}
.signup-x {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #1c2430;
    line-height: 0;
}
.signup-x svg { display: block; width: 16px; height: 16px; }
.signup-error { color: #9f1239; }
.signup-done[hidden], .signup-dialog form[hidden], .signup-error[hidden] { display: none; }
@media (min-width: 900px) {
    .home-hero { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr); align-items: stretch; }
}
@media (max-width: 860px) {
    .storefront .topbar-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "logo socials" "search search" "signup signup";
        gap: 8px 12px;
        align-items: center;
        padding: 8px 0 10px;
    }
    .storefront .wordmark { grid-area: logo; justify-self: start; min-width: 0; max-width: 100%; }
    .storefront .wordmark-logo { height: 32px; max-width: 100%; }
    .storefront .header-socials { grid-area: socials; margin: 0; justify-content: flex-end; flex-wrap: nowrap; }
    .storefront .header-socials a { width: 32px; height: 32px; }
    .storefront .topbar-row:not(:has(.header-search)) { grid-template-areas: "logo socials" "signup signup"; }
    .storefront .header-search { grid-area: search; max-width: none; margin: 0; }
    .storefront .header-signup {
        grid-area: signup;
        width: 100%;
        margin: 0;
        padding: 6px 12px 6px 6px;
        gap: 10px;
    }
    .storefront .header-signup small { display: none; }
    .storefront .header-signup-go { margin-left: auto; }
    .storefront .signup-bar { align-items: stretch; flex-direction: column; }
    .storefront .site-header.is-banner .banner-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 12px;
        padding: 8px 0 0;
    }
    .storefront .site-header.is-banner .banner-tools { display: contents; }
    .storefront .site-header.is-banner .wordmark { order: 1; padding: 4px 0; }
    .storefront .site-header.is-banner .header-socials { order: 2; margin-left: auto; }
    .storefront .site-header.is-banner .banner-toggle { display: grid; order: 3; }
    .storefront .site-header.is-banner .banner-row:not(:has(.header-socials)) .banner-toggle { margin-left: auto; }
    .storefront .site-header.is-banner .banner-toggle:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
    .storefront .site-header.is-banner .banner-row { position: relative; }
    .storefront .site-header.is-banner .banner-nav {
        display: none;
        position: absolute;
        z-index: 6;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        overflow: visible;
        padding: 6px 0;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: var(--surface);
        box-shadow: 0 16px 32px rgb(16 24 40 / 16%);
    }
    .storefront .site-header.is-banner.is-menu-open .banner-nav { display: flex; }
    .storefront .site-header.is-banner .banner-nav a {
        padding: 14px 16px;
        box-shadow: none;
    }
    .storefront .site-header.is-banner .banner-nav a.is-active { color: var(--accent); box-shadow: none; }
    .storefront .site-header.is-banner .header-search {
        order: 4;
        flex: 1 1 100%;
        max-width: none;
        margin: 0 0 10px;
    }
    .storefront .header-stage { min-height: 240px; }
    .storefront .header-stage .wrap { align-items: flex-end; padding: 20px 0; }
    .storefront .header-card { gap: 6px; padding: 16px 16px 14px; }
    .storefront .header-card strong { font-size: 1.2rem; }
}
.crumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 16px; color: var(--muted); }
.crumb a { color: inherit; }
.storefront .deal-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin: 0 0 22px;
}
.storefront .deal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}
.storefront .deal-back:hover { background: var(--accent); color: #fff; }
.storefront .deal-nav .crumb { display: block; flex: 1 1 220px; margin: 0; min-width: 0; }
.storefront .crumb ol {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px 0;
    max-width: 100%;
    margin: 0;
    padding: 8px 14px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.storefront .crumb li {
    display: inline-flex;
    align-items: center;
    flex: none;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 650;
}
.storefront .crumb li:last-child { flex: 1 1 auto; min-width: 0; }
.storefront .crumb li + li::before {
    content: "";
    width: 5px;
    height: 5px;
    margin: 0 10px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    flex: none;
}
.storefront .crumb a { color: var(--text); text-decoration: none; }
.storefront .crumb a:hover { color: var(--accent); }
.storefront .crumb [aria-current="page"] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.expired-strip { margin-top: 36px; }
.expired-strip h2 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -0.03em; }
.storefront .expired-more {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
}
.storefront .expired-more .button {
    background: var(--accent);
    border-color: transparent;
    color: #fff;
    font-weight: 750;
}
.deal-page { display: grid; gap: 24px; align-items: start; }
.deal-page-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    background: #f4f1ec;
}
.deal-facts { display: grid; gap: 10px; }
.deal-facts h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.1; }
.deal-facts p { margin: 0; }
.deal-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--accent); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.deal-status .stock { letter-spacing: 0; text-transform: none; }
.deal-copy { max-width: 42rem; }
.deal-facts .price-row { justify-content: flex-start; gap: 10px; margin: 4px 0 0; }
.deal-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
}
.share-row svg { width: 16px; height: 16px; display: block; }
.share-row a:hover { background: color-mix(in srgb, var(--text) 6%, var(--surface)); }
.deal-facts .price { font-size: 1.7rem; }
.deal-facts .compare { font-size: 1rem; }
.deal-visual { display: grid; gap: 12px; align-content: start; justify-items: stretch; }
.deal-page.is-expired .deal-visual { width: min(100%, 240px); }
.deal-page.is-expired .deal-page-image { width: 100%; border-radius: 18px; background: #fff; }
.deal-shop-visit { display: block; text-align: center; }
.deal-page.is-expired .deal-discount { margin: 4px 0 0; color: var(--accent); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.expired-lead { margin: 0; color: var(--text); font-size: 1.05rem; font-weight: 700; }
.expired-follow { display: grid; gap: 28px; margin-top: 36px; }
.expired-follow > div > h2,
.expired-shop h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.03em; }
.expired-follow .expired-discounts > h2 { margin-bottom: 18px; }
.expired-shop {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 18px;
    align-items: start;
    padding: 22px;
    border-radius: 22px;
    background: var(--surface);
}
.expired-shop .shop-logo { grid-row: 1 / span 2; width: auto; max-width: 140px; height: 44px; }
.expired-shop .mark { grid-row: 1 / span 2; }
.expired-shop h2 a { color: inherit; text-decoration: none; }
.expired-shop p { margin: 8px 0 0; }
.expired-kicker {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.expired-shop .expired-kicker:first-child { margin-top: 0; }
.expired-meta, .expired-note { color: var(--muted); }
.expired-note { margin: 4px 0 14px; }
.expired-shop .chip-row { margin-top: 8px; }
@media (min-width: 640px) {
    .deal-page.is-expired { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 900px) {
    .deal-page { grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); }
}
.doc { display: grid; gap: 16px; max-width: 760px; }
.doc.is-info, .doc.is-custom { max-width: 960px; }
.builder-shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.builder-shop { display: flex; gap: 8px; align-items: center; min-width: 0; padding: 10px 12px; border: 1px solid var(--line, #e2e5ea); border-radius: 12px; color: inherit; text-decoration: none; background: var(--surface, #fff); }
.doc.is-builder .builder-shop img { display: block; width: auto; max-width: 96px; height: 28px; object-fit: contain; border-radius: 0; }
.builder-links { display: grid; gap: 6px; margin: 0; padding-left: 1.15rem; }
.builder-signup { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line, #e2e5ea); border-radius: 16px; }
.doc.is-builder .deal-grid { margin-top: 4px; }
.doc.is-builder > h2, .doc.is-builder > h3 { margin: 0; }
.doc.is-builder > h2 { font-size: 1.25rem; letter-spacing: -0.03em; }
.doc.is-builder > h3 { font-size: 1.05rem; }
.doc-body img, .doc.is-custom img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.doc-body iframe, .doc.is-custom iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #111; }
.doc-body figure, .doc.is-custom figure { margin: 0; }
.doc-body figcaption, .doc.is-custom figcaption { margin-top: 8px; color: var(--muted, #5c6570); font-size: 0.92rem; }
.doc-body hr, .doc.is-custom hr { width: 100%; border: 0; border-top: 1px solid var(--line, #e2e5ea); }
.info-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.info-shots figure { display: grid; gap: 6px; margin: 0; }
.info-shots img, .info-graphic { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.info-shots figcaption { color: var(--muted); font-size: 0.84rem; }
.info-graphic { display: block; width: min(100%, 720px); border-radius: 16px; }
.info-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #111; }
.info-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.info-episodes h3 { margin: 0; font-size: 1rem; }
.doc.is-wide { max-width: none; }
.doc-intro { display: grid; gap: 8px; }
.doc-intro h1, .doc-body h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; }
.doc-lead { margin: 0; max-width: 42rem; color: var(--muted); font-size: 1.12rem; }
.doc-stack, .doc-body { display: grid; gap: 16px; }
.doc-section, .doc-card, .doc-note {
    display: grid;
    gap: 10px;
    padding: 22px 24px;
    border-radius: 20px;
    background: var(--surface);
}
.doc-section h2, .doc-card h2, .doc-body h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.03em; }
.doc-section p, .doc-card p, .doc-note p, .doc-body p { margin: 0; }
.doc-section ul, .doc-body ul, .doc-body ol { display: grid; gap: 6px; margin: 0; padding-left: 1.15rem; }
.doc-note { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.doc-split { display: grid; gap: 16px; align-items: start; }
.doc-card h2 { font-size: 1.05rem; }
.doc-table { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.doc th, .doc td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.doc th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
    .doc-split { grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr); }
    .doc-card { position: sticky; top: 16px; }
}
.admin .site-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid #e2e5ea; }
.admin .html-source { min-height: 24rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88rem; line-height: 1.45; }
.admin .page-reset { margin-top: 10px; }
.admin .builder-example { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.admin .builder-example .field { margin: 0; min-width: min(280px, 100%); }
.admin .builder-example-notes { margin: 8px 0 16px; padding-left: 1.1rem; color: #5c6775; }
.admin .builder-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.admin .builder-tools > span { font-weight: 700; }
.admin .builder-tools.is-live { margin-bottom: 16px; }
.admin .builder-block { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px; border: 1px solid #e2e5ea; border-radius: 14px; background: #f8f9fb; }
.admin .builder-block.is-live { background: #f3f8fb; border-color: #c5dced; }
.admin .builder-block-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.admin .builder-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin .builder-block .field { margin: 0; }
.admin .builder-block textarea { min-height: 7rem; }
.admin .page-card a { font-weight: 700; }
.admin .site-tabs a { margin: 0 0 -1px; padding: 10px 14px; border-bottom: 2px solid transparent; color: #5c6570; font-weight: 700; text-decoration: none; }
.admin .site-tabs a.is-active,
.admin .site-tabs button.is-active { color: #17202a; border-bottom-color: #1984BD; }
.admin .site-tabs button {
    margin: 0 0 -1px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #5c6570;
    font-weight: 700;
    cursor: pointer;
}
.admin .link-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 0 0 14px; }
.admin .link-tools .field { margin: 0; min-width: min(240px, 100%); }
.admin .link-copy { display: grid; gap: 8px; margin-bottom: 16px; }
.admin .link-copy .field { margin: 0; max-width: 360px; }
.admin .link-shop { display: grid; gap: 8px; margin-bottom: 10px; }
.admin .link-shop-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.admin .link-shop-head .check { margin: 0; }
.admin .link-channel { display: grid; grid-template-columns: auto minmax(140px, 1fr) auto minmax(180px, 1.2fr); gap: 8px; align-items: center; }
.admin .link-channel .check { margin: 0; }
.admin .link-channel input { width: 100%; }
@media (max-width: 720px) {
    .admin .link-channel { grid-template-columns: 1fr; }
}
.admin .mail-stages { display: grid; gap: 28px; }
.admin .mail-stage { display: grid; gap: 8px; }
.admin .mail-stage > p { margin: 0; color: #5c6570; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.admin .mail-preview { overflow: hidden; border-radius: 18px; }
.admin .mail-stage.is-phone { width: min(100%, 400px); }
.admin .mail-stage.is-phone .mail-preview { padding: 12px; border: 1px solid #e2e5ea; border-radius: 28px; background: #e7eaee; }
.admin .card-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 16px; }
.admin .card-choice {
    display: grid;
    gap: 8px;
    align-content: start;
    margin: 0;
    padding: 12px;
    border: 1px solid #e2e5ea;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
}
.admin .card-choice:has(input:checked) { border-color: #1984BD; box-shadow: 0 0 0 1px #1984BD; }
.admin .card-choice input { margin: 0; }
.admin .card-choice strong { font-size: 0.95rem; }
.admin .card-choice small { color: #5c6570; line-height: 1.35; }
.admin .card-mock {
    display: grid;
    gap: 6px;
    min-height: 148px;
    padding: 8px;
    border-radius: 12px;
    background: #f4f5f7;
}
.admin .card-mock i { display: block; border-radius: 6px; background: #fff; }
.admin .mock-time { height: 14px; width: 70%; }
.admin .mock-shop { height: 12px; width: 42%; justify-self: center; }
.admin .mock-photo { height: 72px; background: #d7dde5; }
.admin .mock-line { display: flex; justify-content: flex-end; }
.admin .mock-title { height: 10px; width: 80%; background: #1c2430; }
.admin .mock-price { height: 10px; width: 36px; background: #1984BD; }
.admin .card-mock-compact { gap: 4px; padding: 6px; }
.admin .card-mock-compact .mock-photo { height: 52px; }
.admin .card-mock-compact .mock-line { justify-content: space-between; align-items: center; }
.admin .card-mock-compact .mock-title { width: 58%; }
.admin .card-mock-poster { position: relative; padding: 8px 8px 6px; }
.admin .card-mock-poster .mock-photo { height: 96px; }
.admin .card-mock-poster .mock-shop,
.admin .card-mock-poster .mock-time { position: absolute; left: 16px; right: 16px; z-index: 1; }
.admin .card-mock-poster .mock-shop { top: 16px; width: 36%; }
.admin .card-mock-poster .mock-time { top: auto; bottom: 42px; width: auto; }
@media (max-width: 800px) {
    .admin .card-choices { grid-template-columns: 1fr; }
}
.storefront .discount-search { margin-bottom: 28px; }
.storefront .archive-search { margin-bottom: 32px; }
.storefront .search-group { margin: 8px 0 28px; }
.storefront .search-group h2 { margin: 0 0 12px; font-size: 1.25rem; letter-spacing: -0.03em; }
.storefront .discount-list { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.storefront .discount-row {
    display: grid;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgb(22 27 34 / 5%);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.storefront .discount-row:hover {
    border-color: color-mix(in srgb, var(--text) 22%, var(--border));
    box-shadow: 0 10px 28px rgb(22 27 34 / 10%);
}
.storefront .discount-shop {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}
.storefront .discount-logo {
    display: grid;
    place-items: center;
    width: 72px;
    height: 48px;
    flex: none;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: #1c1c1c;
    font-weight: 800;
}
.storefront .discount-logo img { display: block; width: auto; max-width: 100%; height: 28px; object-fit: contain; }
.storefront .discount-copy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.storefront .discount-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex: 1 1 auto;
    min-width: 0;
}
.storefront .discount-offer {
    flex: none;
    margin: 0;
    color: var(--accent);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.storefront .discount-dialog .discount-offer { font-size: 2rem; text-align: center; }
.storefront .discount-title { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 650; line-height: 1.35; }
.storefront .discount-time { flex: none; width: fit-content; max-width: 100%; margin: 0; }
.storefront .discount-time[data-ends-at]::after { content: none; }
.storefront .discount-action { justify-self: stretch; text-align: center; white-space: nowrap; }
.storefront .discount-dialog {
    position: relative;
    width: min(440px, calc(100% - 28px));
    max-height: calc(100% - 28px);
    margin: auto;
    padding: 28px 24px 22px;
    border: 0;
    border-radius: 24px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 80px rgb(16 18 22 / 28%);
}
.storefront .discount-dialog::backdrop { background: rgb(16 18 22 / 58%); }
.storefront .discount-dialog[open] { display: grid; gap: 14px; }
.storefront .discount-dialog h2 { margin: 0; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; }
.storefront .discount-code {
    margin: 0;
    padding: 14px 16px;
    border: 1px dashed var(--accent);
    border-radius: 14px;
    background: var(--bg);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    user-select: all;
}
.storefront .discount-dialog-actions { display: grid; gap: 8px; }
.storefront .discount-dialog-actions button,
.storefront .discount-dialog-actions .button-accent { width: 100%; text-align: center; }
.storefront .discount-dialog-actions .is-copied { background: #1f7a32; border-color: transparent; color: #fff; }
.storefront .discount-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
}
@media (max-width: 640px) {
    .signup-dialog,
    .storefront .discount-dialog {
        top: 8px;
        right: 0;
        bottom: auto;
        left: 0;
        width: calc(100% - 16px);
        height: fit-content;
        max-height: calc(100dvh - 16px);
        margin: 0 auto;
        overflow: auto;
        border-radius: 18px;
    }
    .signup-dialog { padding: 0; }
    .signup-hero { height: 112px; }
    .signup-dialog form,
    .signup-done { gap: 10px; padding: 14px 14px 14px; }
    .signup-dialog h2 { font-size: 1.2rem; }
    .signup-dialog .field input { padding: 10px 12px; font-size: 16px; }
    .signup-dialog .check { font-size: 0.82rem; }
    .signup-dialog .button-accent { height: auto; padding: 12px 14px; }
    .signup-x { top: 8px; right: 8px; width: 32px; height: 32px; }
    .storefront .discount-dialog { padding: 14px 14px 12px; }
    .storefront .discount-dialog[open] { gap: 8px; }
    .storefront .discount-dialog h2 { font-size: 1.15rem; }
    .storefront .discount-dialog .discount-offer { font-size: 1.45rem; }
    .storefront .discount-code { padding: 10px 12px; font-size: 1.05rem; }
    .storefront .discount-x { top: 8px; right: 8px; width: 32px; height: 32px; }
}
@media (min-width: 520px) {
    .storefront .discount-dialog-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
    .storefront .discount-row { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto; }
    .storefront .discount-action { justify-self: end; }
}
.admin .kind-deal, .admin .kind-ad, .admin .kind-code {
    display: grid;
    gap: 12px;
    margin: 8px 0 16px;
    padding: 12px;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: #f7f8fa;
}
.admin .kind-deal legend, .admin .kind-ad legend, .admin .kind-code legend { padding: 0 4px; font-weight: 700; }
.admin form:has(select[name="kind"] option[value="deal"]:checked) .kind-ad { display: none; }
.admin form:has(select[name="kind"] option[value="ad"]:checked) .kind-deal { display: none; }
.admin form:has(select[name="kind"] option[value="link"]:checked) .kind-code { display: none; }
.storefront .ad-card { min-height: 0; }
.storefront .ad-kicker {
    margin: 8px 10px 0;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.storefront .ad-slot { display: block; min-height: 160px; margin: 6px 10px 10px; }
.admin .input-table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.admin .input-table th, .admin .input-table td { text-align: left; padding: 8px; border-bottom: 1px solid #e2e5ea; vertical-align: middle; }
.admin .input-table th { font-size: 13px; color: #5c6570; white-space: nowrap; }
.admin .input-table input:not([type="checkbox"]) {
    width: 100%;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}
.admin .input-table input[type="text"] { min-width: 180px; }
.admin .input-table input.publication-order { width: 84px; }
.admin .input-table .check { margin: 0; }

.admin dialog.deeplink-dialog {
    width: min(860px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 16px 18px;
    border: 0;
    border-radius: 16px;
    color: #1c2430;
    box-shadow: 0 24px 60px rgb(16 18 22 / 28%);
    overflow: auto;
}
.admin dialog.deeplink-dialog::backdrop { background: rgb(16 18 22 / 58%); }
.admin .deeplink-box { display: grid; gap: 14px; }
.admin .deeplink-box form { display: grid; gap: 10px; justify-items: start; }
.admin .deeplink-box .field { width: 100%; margin: 0; }
.admin .deeplink-box .muted, .admin .deeplink-box .error { margin: 0; }
.admin .deeplink-head, .admin .deeplink-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin .deeplink-box .input-table { margin: 0; }
.admin .deeplink-url { overflow-wrap: anywhere; }

.admin .channel-list { background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgb(22 27 34 / 6%); overflow: hidden; }
.admin .channel-list ul { list-style: none; margin: 0; padding: 0; }
.admin .channel-list-head,
.admin .channel-row {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.2fr) 72px auto;
    gap: 16px;
    align-items: center;
    padding: 14px 20px;
}
.admin .channel-list-head { background: #f7f8fa; border-bottom: 1px solid #e2e5ea; color: #5c6570; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.admin .channel-row + .channel-row { border-top: 1px solid #eef0f3; }
.admin .channel-row:hover { background: #fafbfc; }
.admin .channel-name { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; }
.admin .channel-name > span:last-child { min-width: 0; }
.admin .channel-name strong { display: block; font-size: 1rem; }
.admin .channel-name .muted { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin .channel-name:hover strong { text-decoration: underline; }
.admin .channel-logo { flex: none; width: 64px; height: 32px; object-fit: contain; }
.admin .channel-mark {
    display: grid;
    flex: none;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: #eef2f6;
    color: #1c2430;
    font-weight: 800;
}
.admin .channel-actions { text-align: right; }
@media (max-width: 760px) {
    .admin .channel-list-head { display: none; }
    .admin .channel-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
    .admin .channel-name { grid-column: 1 / -1; }
    .admin .channel-cell[data-label]::before { content: attr(data-label) ": "; color: #5c6570; font-size: 0.8rem; }
    .admin .channel-actions { grid-column: 1 / -1; text-align: left; }
}
