.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--button-height);
    padding: 0 var(--space-8);
    border: 1px solid var(--color-control-border);
    border-radius: var(--button-radius);
    background: var(--primitive-white);
    color: var(--primitive-black);
    font-size: var(--primitive-font-base);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.button--primary { background: var(--primitive-white); color: var(--primitive-black); }
.button--orange,
.button--orange-pill {
    min-height: var(--button-pill-height);
    border-color: var(--color-primary);
    border-radius: var(--button-pill-radius);
    background: var(--color-primary);
    color: var(--color-primary-foreground);
}
.button--dark { border-color: var(--primitive-black); background: var(--primitive-black); color: var(--primitive-white); }
.button--danger { border-color: var(--color-danger); background: var(--color-danger); color: var(--primitive-white); }
.button:disabled, .button[aria-disabled='true'] { color: var(--primitive-disabled); border-color: var(--primitive-disabled); cursor: not-allowed; }
.button:not(:disabled):not([aria-disabled='true']):active { transform: translateY(1px); }

.form-stack { display: grid; gap: var(--space-4); }
.field { display: grid; gap: var(--space-1); }
.field label, .field legend {
    color: var(--primitive-ink);
    font-size: var(--primitive-font-base);
    font-weight: 700;
}
.field input, .field select, .field textarea {
    width: 100%;
    min-height: var(--input-height);
    padding: var(--space-2) 0;
    border: 0;
    border-bottom: var(--input-border);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--primitive-ink);
    font-size: var(--primitive-font-base);
    font-weight: 500;
}
.field input[readonly], .field input:disabled, .field select:disabled { color: var(--color-muted); cursor: not-allowed; }
.field select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 8rem; resize: vertical; }
.field small, .form-status { color: var(--color-muted); font-size: var(--primitive-font-average); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.checkbox { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--primitive-font-average); }
.checkbox input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--primitive-black); }
.input-action { position: relative; display: block; }
.input-action input { padding-right: 3rem; }
.input-action button {
    position: absolute;
    right: 0;
    bottom: 1px;
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primitive-black);
    font-size: var(--primitive-font-mini);
}

.panel {
    padding: var(--space-4) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.error-summary {
    margin-block: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-left: 4px solid var(--color-danger);
    background: rgb(185 11 39 / 8%);
    color: var(--color-danger);
}
.error-summary ul { margin-block: 0; padding-left: var(--space-4); }
.flash-stack {
    position: fixed;
    z-index: 50;
    bottom: calc(var(--space-4) + max(env(safe-area-inset-bottom), var(--presentation-mobile-dock-space, 0px)));
    left: 50%;
    display: grid;
    justify-items: center;
    gap: var(--space-1);
    width: max-content;
    max-width: min(26rem, calc(100% - (2 * var(--space-4))));
    transform: translateX(-50%);
    pointer-events: none;
}
.flash-stack--active { animation: flash-toast 3s ease both; }
.flash {
    position: relative;
    width: fit-content;
    max-width: 100%;
    padding: var(--space-2) var(--space-3) var(--space-2) 30px;
    border: 1px solid rgb(3 33 25 / 11%);
    border-radius: var(--radius-md);
    background: rgb(255 255 255 / 96%);
    color: var(--primitive-deep);
    box-shadow: 0 4px 18px rgb(3 33 25 / 10%);
}
.flash::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primitive-deep);
    content: '';
    transform: translateY(-50%);
}
.flash__message {
    margin: 0;
    color: var(--primitive-deep);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.flash--error { border-color: rgb(185 11 39 / 15%); }
.flash--error::before { background: var(--color-danger); }
.flash--success { border-color: rgb(8 122 63 / 15%); }
.flash--success::before { background: var(--color-success-strong); }
.flash--info::before { background: var(--primitive-deep); }

@keyframes flash-toast {
    0%, 100% { opacity: 0; transform: translate(-50%, 6px); }
    6%, 92% { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .flash-stack--active { animation: none; }
}

.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: var(--space-4); }
.pack-card { overflow: hidden; border: 0; border-radius: 0; background: transparent; }
.pack-card__preview { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); background: var(--color-inverse); }
.pack-card__preview img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.pack-card__body { padding: var(--space-3) 0 var(--space-4); }
.pack-card__body h3 { margin: 0 0 var(--space-2); font-size: var(--primitive-font-plus); }
.pack-card__price { font-size: var(--primitive-font-big); font-weight: 700; }
.stats-inline { display: flex; gap: var(--space-4); margin: var(--space-4) 0; }
.stats-inline div { display: grid; }
.stats-inline dt { color: var(--color-muted); font-size: var(--primitive-font-mini); text-transform: uppercase; }
.stats-inline dd { margin: 0; font-weight: 700; }

.media-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--space-4); }
.media-card { position: relative; overflow: hidden; aspect-ratio: 3 / 4; margin: 0; border: 1px solid var(--primitive-white); border-radius: var(--radius-sm); background: var(--color-inverse); box-shadow: var(--shadow); }
.media-card img, .media-card video { width: 100%; height: 100%; object-fit: cover; }
.media-card__open { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.media-card > .moderation,
.creator-existing-media-card > .moderation {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    max-width: none;
    max-height: min(50%, 112px);
    align-items: center;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: var(--space-2) var(--space-3);
    border: 0;
    border-radius: 0;
    background: rgb(3 33 25 / 92%);
    color: var(--primitive-white);
    font-size: var(--primitive-font-base);
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}
.media-card > .moderation--3,
.creator-existing-media-card > .moderation--3 { background: var(--color-success); }
.media-card > .moderation--4,
.media-card > .moderation--5,
.creator-existing-media-card > .moderation--4,
.creator-existing-media-card > .moderation--5 { background: var(--color-danger); }
.media-gallery--creator .media-card__video-meta { top: var(--space-2); bottom: auto; }
.media-card__video-meta { position: absolute; right: var(--space-2); bottom: var(--space-2); display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px var(--space-2); border-radius: var(--radius-pill); background: rgb(0 0 0 / 75%); color: var(--primitive-white); font-size: var(--primitive-font-mini); }
.media-gallery--locked .media-card > img { transform: none; }
.media-viewer { inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--color-background); color: var(--primitive-black); }
.media-viewer[open] { display: block; }
.media-viewer::backdrop { background: var(--color-background); }
.media-viewer__screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; gap: 0; width: min(100%, var(--content-max)); height: 100%; margin-inline: auto; padding: max(var(--space-6), env(safe-area-inset-top)) 0 max(var(--space-6), env(safe-area-inset-bottom)); }
.media-viewer__screen > .shared-media-header { grid-row: 1; padding-inline: var(--space-4); }
.media-viewer__content { display: grid; grid-row: 2; place-items: center; min-width: 0; min-height: 0; margin-inline: var(--space-4); overflow: auto; border: 1px solid var(--primitive-white); border-radius: var(--radius-sm); background: transparent; }
.media-viewer__content img, .media-viewer__content video { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.media-viewer__content img { cursor: zoom-in; user-select: none; }
.media-viewer__content.is-zoomed { place-items: start; }
.media-viewer__content.is-zoomed img { max-width: none; max-height: none; cursor: zoom-out; }
.media-viewer__content.is-report { place-items: stretch; border-color: transparent; }
.media-viewer__back, .media-viewer__report { justify-self: center; min-height: 44px; padding: var(--space-3) var(--space-4); border: 0; background: transparent; color: var(--primitive-black); font: inherit; cursor: pointer; }
.media-viewer__back { grid-row: 3; margin-top: var(--space-2); text-decoration: underline; }
.media-viewer__report { grid-row: 5; font-size: var(--primitive-font-average); }
.media-viewer__separator { grid-row: 4; justify-self: center; width: 80px; height: 1px; background: var(--color-separator); }
.media-report { align-self: center; width: min(100%, 36rem); padding: var(--space-4); }
.media-report h3 { margin-top: 0; text-align: center; }
.media-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--primitive-white); font-size: var(--primitive-font-big); font-weight: 700; }

.empty-state { padding: var(--space-6); text-align: center; color: var(--color-muted); }
.state-card { display: grid; justify-items: center; gap: var(--space-4); max-width: 640px; margin-inline: auto; text-align: center; }
.state-card > * { margin-block: 0; }
.state-card__icon { display: grid; place-items: center; width: 72px; height: 72px; border: 4px solid var(--primitive-white); border-radius: 50%; background: transparent; color: var(--primitive-black); font-size: var(--primitive-font-big); font-weight: 700; box-shadow: var(--shadow); }
.empty-pack-state {
    display: grid;
    min-width: 0;
    justify-items: center;
    gap: var(--space-3);
    color: var(--primitive-deep);
    text-align: center;
}
.empty-pack-state__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
}
.empty-pack-state__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1;
}
.empty-pack-state__icon svg > * { vector-effect: non-scaling-stroke; }
.empty-pack-state__copy { display: grid; min-width: 0; gap: var(--space-1); justify-items: center; }
.empty-pack-state__title { margin: 0; font-size: var(--primitive-font-plus-plus); line-height: 1.2; }
.empty-pack-state__message { max-width: 38rem; line-height: 1.45; }
.empty-pack-state__action { width: min(100%, 360px); margin-top: var(--space-1); }
.empty-pack-state--thumbnail { gap: 3px; padding: var(--space-1); }
.empty-pack-state--thumbnail .empty-pack-state__icon { width: 22px; height: 22px; }
.empty-pack-state--thumbnail .empty-pack-state__title { font-size: var(--primitive-font-mini); line-height: 1.05; text-transform: uppercase; }
.empty-pack-state--overview { gap: var(--space-2); padding: var(--space-3) var(--space-2); }
.empty-pack-state--overview .empty-pack-state__icon { width: 32px; height: 32px; }
.empty-pack-state--overview .empty-pack-state__title { font-size: var(--primitive-font-base); }
.empty-pack-state--overview .empty-pack-state__message { font-size: var(--primitive-font-average); line-height: 1.25; }
.empty-pack-state--dialog { gap: var(--space-4); }
.empty-pack-state--dialog .empty-pack-state__message { font-size: var(--primitive-font-base); }
.empty-pack-state--page { gap: var(--space-4); padding-inline: var(--space-4); }
.empty-pack-state--page .empty-pack-state__title { font-weight: 400; text-transform: uppercase; }
.empty-pack-state--page .empty-pack-state__message { font-size: var(--primitive-font-base); }
.eyebrow { margin: 0 0 var(--space-2); color: var(--color-muted); font-size: var(--primitive-font-average); font-weight: 500; text-transform: uppercase; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.section-heading h2 { margin: 0; font-size: var(--primitive-font-plus-plus); font-weight: 400; text-transform: uppercase; }
.avatar { width: 180px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--color-inverse); }
.avatar--small { width: 72px; }
.avatar--empty { display: grid; place-items: center; color: var(--primitive-white); font-size: var(--primitive-font-very-big); font-weight: 700; }
.profile-photo { display: grid; justify-items: start; gap: var(--space-4); }
.break-word { overflow-wrap: anywhere; }
.danger-link { color: var(--color-danger); }
.panel--danger { padding-top: var(--space-6); border-top: 1px solid var(--color-danger); }
.panel details summary { cursor: pointer; font-weight: 700; }
.panel details > form { margin-top: var(--space-4); }
.inline-delete { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-2); border-bottom: 1px solid var(--color-separator); }
.upload-box { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-separator); }
.upload-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: var(--space-2); }
.upload-preview img, .upload-preview video { width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); object-fit: cover; background: var(--color-inverse); }

.summary-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.summary-cards > * { padding: var(--space-4); border: 1px solid var(--color-separator); border-radius: var(--radius-sm); }
.summary-cards strong { font-size: var(--primitive-font-big); }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--color-separator); border-bottom: 1px solid var(--primitive-white); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-separator); text-align: left; white-space: nowrap; }
thead th { color: var(--color-muted); font-size: var(--primitive-font-average); font-weight: 500; text-transform: uppercase; }
tbody tr:last-child > * { border-bottom: 0; }
.offer-facts { display: flex; flex-wrap: wrap; gap: var(--space-3); padding: 0; list-style: none; }
.offer-facts li { padding: var(--space-2) var(--space-3); border: 1px solid var(--color-separator); border-radius: var(--radius-pill); }
.checkout-price { margin-block: var(--space-2) var(--space-6); font-size: var(--primitive-font-very-big); font-weight: 700; }
.price-breakdown { display: grid; gap: var(--space-2); }
.price-breakdown div { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-2); border-bottom: 1px solid var(--color-separator); }

.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.action-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.action-row form { margin: 0; }

/* Published pack editor: align the share, settings and statistics blocks with the mobile reference. */
.creator-page--pack-edit .creator-share { padding-bottom: var(--space-4); }

.creator-page--pack-edit .creator-pack-overview__price {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primitive-black);
    font-family: var(--creator-number-font);
    font-size: var(--primitive-font-plus-plus);
    font-weight: 700;
    text-align: center;
}

.creator-page--pack-edit .creator-share__link {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    min-height: 53px;
    gap: var(--space-2);
    border-bottom: 1px solid var(--primitive-black);
}

.creator-page--pack-edit .creator-share__link-icon {
    width: 24px;
    height: 24px;
}

.creator-page--pack-edit .creator-share__url {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.creator-page--pack-edit .creator-share__link button {
    min-height: 44px;
    padding: 0;
    line-height: 1;
    white-space: nowrap;
}

.creator-page--pack-edit .creator-share__button {
    min-height: 50px;
    margin-top: var(--space-2);
}

.creator-page--pack-edit .creator-share__logos {
    width: 243px;
    max-width: 100%;
    height: 20px;
    margin-top: var(--space-4);
}

.creator-page--pack-edit .creator-settings-form > h2,
.creator-page--pack-edit .creator-pack-details[aria-labelledby='statistics-title'] > h2 {
    font-weight: 700;
}

.creator-page--pack-edit .creator-settings-form,
.creator-page--pack-edit .creator-pack-details[aria-labelledby='statistics-title'] {
    padding-bottom: 0;
}

.creator-page--pack-edit .creator-setting-row {
    min-height: 56px;
}

.creator-page--pack-edit .creator-setting-row--sheet .bottom-sheet__trigger-label {
    font-weight: 500;
}

.creator-page--pack-edit .creator-setting-row--sheet .bottom-sheet__trigger-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 24px;
    padding: 1px var(--space-3);
    overflow: hidden;
    border: 1px solid var(--primitive-black);
    border-radius: var(--radius-sm);
    background: var(--primitive-white);
    font-family: var(--font-body);
    font-size: var(--primitive-font-base);
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.creator-page--pack-edit .creator-pack-details[aria-labelledby='statistics-title'] dl > div {
    min-height: 56px;
    align-items: center;
}

.creator-page--pack-edit .creator-pack-details[aria-labelledby='statistics-title'] dt {
    font-weight: 500;
}

.creator-page--pack-edit .creator-pack-details[aria-labelledby='statistics-title'] dd {
    font-family: var(--font-body);
    font-size: var(--primitive-font-base);
    font-weight: 400;
}

.creator-page--pack-edit .creator-pack-payment dl > div:not(.creator-pack-payment__total) dt,
.creator-page--pack-edit .creator-pack-payment dl > div:not(.creator-pack-payment__total) dd {
    font-weight: 400;
}

.creator-page--profile .creator-legal-info__icon {
    display: block;
    width: 20px;
    height: 24px;
}

.creator-pack-feed.is-enhanced .creator-pack-feed__sentinel .pagination {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.creator-pack-feed.is-enhanced .creator-pack-feed__sentinel .pagination:focus-within {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
}

@media (min-width: 1081px) {
    .creator-page .creator-shell > .creator-rail:not(.creator-rail--actions) {
        padding-top: var(--space-4);
    }
}

.creator-page--create .creator-composer__title {
    margin-bottom: var(--space-4);
}

.creator-page--create .creator-media-picker__status:empty {
    display: none;
}

/* Bottom sheets mirror Flutter's single WidBs primitive. */
:root {
    --bottom-sheet-max-width: 100%;
    --bottom-sheet-background: var(--color-background);
    --bottom-sheet-overlay: rgb(0 0 0 / 53.33%);
    --bottom-sheet-radius: var(--radius-pill);
    --bottom-sheet-handle: var(--primitive-white);
    --bottom-sheet-handle-width: 80px;
    --bottom-sheet-handle-height: 4px;
}

@media (min-width: 1081px) {
    :root { --bottom-sheet-max-width: var(--content-column-max); }
}

html.bottom-sheet-open { scroll-behavior: auto; overscroll-behavior: none; }

.bottom-sheet > summary { list-style: none; cursor: pointer; }
.bottom-sheet > summary::-webkit-details-marker { display: none; }
.bottom-sheet:not([open]) > .bottom-sheet__layer { display: none; }

.bottom-sheet__layer {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    align-items: end;
    isolation: isolate;
}

.bottom-sheet__backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: var(--bottom-sheet-overlay);
    cursor: default;
}

.bottom-sheet__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    width: min(100%, var(--bottom-sheet-max-width));
    max-height: calc(100dvh - max(env(safe-area-inset-top), var(--space-4)));
    min-height: 0;
    margin-inline: auto;
    overflow: hidden;
    border-radius: var(--bottom-sheet-radius) var(--bottom-sheet-radius) 0 0;
    outline: 0;
    background: var(--bottom-sheet-background);
    color: var(--color-text);
    transition: transform 160ms ease-out;
    animation: bottom-sheet-enter 180ms ease-out;
}

.bottom-sheet__handle {
    display: grid;
    place-items: start center;
    width: 100%;
    min-height: 40px;
    padding: var(--space-3) 0 var(--space-2);
    border: 0;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    touch-action: none;
    user-select: none;
}

.bottom-sheet__handle span {
    width: var(--bottom-sheet-handle-width);
    height: var(--bottom-sheet-handle-height);
    border-radius: var(--radius-pill);
    background: var(--bottom-sheet-handle);
}

.bottom-sheet__title {
    margin: 0;
    padding: 0 var(--space-4) var(--space-4);
    color: var(--primitive-black);
    font-size: var(--primitive-font-plus-plus);
    font-weight: 400;
    text-align: center;
}

.bottom-sheet__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 var(--space-4) max(var(--space-6), env(safe-area-inset-bottom));
    scrollbar-gutter: stable;
}

.bottom-sheet__panel :focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: -2px;
    box-shadow: none;
}

/* Compact numeric creator settings: buyers and per-media view limits. */
.bottom-sheet--numeric-setting .bottom-sheet__title { padding-bottom: 0; text-transform: uppercase; }
.bottom-sheet--numeric-setting .bottom-sheet__body { padding-inline: var(--space-3); }
.creator-setting-sheet.creator-numeric-setting-sheet { justify-items: center; gap: 0; }
.creator-numeric-setting-sheet > .creator-numeric-setting-sheet__help {
    margin: var(--space-1) 0 0;
    color: var(--primitive-black);
    font-size: var(--primitive-font-base);
    font-weight: 700;
    text-align: center;
}
.creator-numeric-setting-sheet__control { width: 64px; margin-top: var(--space-8); }
.bottom-sheet--numeric-setting .creator-numeric-setting-sheet .creator-numeric-setting-sheet__control input[type="number"] {
    width: 100%;
    min-height: 0;
    padding: 0 0 var(--space-2);
    border: 0;
    border-bottom: 3px solid var(--primitive-black);
    border-radius: 0;
    appearance: textfield;
    background: transparent;
    color: var(--primitive-black);
    font-family: var(--font-amount);
    font-size: var(--primitive-font-very-big);
    font-weight: 400;
    line-height: 1;
    text-align: center;
}
.bottom-sheet--numeric-setting .creator-numeric-setting-sheet .creator-numeric-setting-sheet__control input[type="number"]::-webkit-inner-spin-button,
.bottom-sheet--numeric-setting .creator-numeric-setting-sheet .creator-numeric-setting-sheet__control input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}
.bottom-sheet--numeric-setting .creator-numeric-setting-sheet .creator-numeric-setting-sheet__control input[type="number"]:focus-visible {
    outline: none;
    box-shadow: none;
}
.creator-numeric-setting-sheet > .button { margin-top: var(--space-8); }

.bottom-sheet-confirmation { display: grid; gap: var(--space-4); }
.bottom-sheet-confirmation__description { margin: 0; text-align: center; }
.bottom-sheet-confirmation .button { width: 100%; }

.bottom-sheet-checkout__trigger { width: 100%; }
.bottom-sheet-checkout__order { display: flex; gap: var(--space-4); min-height: 110px; margin-top: var(--space-4); }
.bottom-sheet-checkout__preview {
    flex: 0 0 80px;
    width: 80px;
    height: 110px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--color-inverse);
    box-shadow: var(--shadow);
}
.bottom-sheet-checkout__preview img { width: 100%; height: 100%; object-fit: cover; }
.bottom-sheet-checkout__preview .media-placeholder { font-size: var(--primitive-font-base); }
.bottom-sheet-checkout__summary { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.bottom-sheet-checkout__summary p { margin: 0; }
.bottom-sheet-checkout__eyebrow { color: var(--color-muted); font-size: var(--primitive-font-average); font-weight: 700; text-transform: uppercase; }
.bottom-sheet-checkout__count { margin-top: var(--space-1) !important; }
.bottom-sheet-checkout__price { margin-top: auto; font-size: var(--primitive-font-base); }
.bottom-sheet-checkout__form { margin-top: var(--space-6); }
.bottom-sheet-checkout__prompt { margin: 0; font-weight: 700; }
.bottom-sheet-checkout__form .field { gap: 0; }
.bottom-sheet-checkout__form .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.bottom-sheet-checkout__form .field input {
    min-height: var(--input-height);
    padding: 0 var(--space-3);
    border: 1px solid var(--primitive-disabled);
    border-radius: var(--radius-sm);
    background: transparent;
}
.bottom-sheet--checkout .bottom-sheet-checkout__form .field input:focus-visible {
    outline: none;
    box-shadow: none;
}
.bottom-sheet-checkout__terms { align-items: center; }
.bottom-sheet-checkout__terms span { min-width: 0; }
.bottom-sheet-checkout__form > .button { width: 100%; }
.bottom-sheet-checkout__protection { display: grid; justify-items: center; gap: var(--space-4); }
.bottom-sheet-checkout__protection::before { content: ''; width: 60px; height: 1px; background: var(--color-separator); }
.bottom-sheet-checkout__protection p { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin: 0; color: var(--color-muted); text-align: center; }
.bottom-sheet-checkout__protection img { flex: 0 0 auto; }

.bottom-sheet-review__trigger { width: 100%; }
.bottom-sheet-review__prices { display: grid; gap: 0; margin: var(--space-4) 0 var(--space-6); }
.bottom-sheet-review__prices > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: var(--space-2); }
.bottom-sheet-review__prices dt { min-width: 0; }
.bottom-sheet-review__prices dd { flex: 0 0 auto; margin: 0; font-weight: 700; }
.bottom-sheet-review__prices .bottom-sheet-review__total { margin-top: var(--space-2); padding-block: var(--space-3); border-block: 1px solid var(--color-separator); font-weight: 700; text-transform: uppercase; }
.bottom-sheet-review__form .button { width: 100%; }
.bottom-sheet-checkout-age { display: grid; justify-items: center; gap: var(--space-4); text-align: center; }
.bottom-sheet-checkout-age > strong { color: var(--color-danger); }
.bottom-sheet-checkout-age > p { margin: 0; font-weight: 700; }
.bottom-sheet-checkout-age form, .bottom-sheet-checkout-age .button, .bottom-sheet-checkout-age__trigger { width: 100%; }

@keyframes bottom-sheet-enter {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .bottom-sheet__panel { animation: none; }
}

@media (max-height: 36rem) {
    .media-viewer__screen { padding-block: max(var(--space-2), env(safe-area-inset-top)) max(var(--space-2), env(safe-area-inset-bottom)); }
    .media-viewer__back { margin-top: 0; padding-block: var(--space-2); }
    .media-viewer__report { padding-block: var(--space-2); }
}

@media (max-width: 38rem) {
    .field-row, .summary-cards { grid-template-columns: 1fr; }
    .button { padding-inline: var(--space-4); }
}
