:root {
    --bg: #170909;
    --bg-soft: #281111;
    --panel: rgba(255, 244, 236, 0.08);
    --panel-strong: rgba(255, 244, 236, 0.13);
    --line: rgba(255, 244, 236, 0.16);
    --text: #fff5ef;
    --muted: #d9b7ad;
    --accent: #ff6a3d;
    --accent-2: #ffb36b;
    --success: #72e1b0;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #120505;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 106, 61, 0.24), transparent 34%),
        radial-gradient(circle at 85% 12%, rgba(255, 179, 107, 0.16), transparent 24%),
        linear-gradient(180deg, #120505 0%, #1b0808 44%, #110707 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 92%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background:
        radial-gradient(circle at 82% 18%, rgba(194, 67, 45, 0.14), transparent 28%),
        radial-gradient(circle at 94% 10%, rgba(182, 96, 56, 0.08), transparent 20%),
        linear-gradient(90deg, rgba(8, 3, 4, 0.96) 0%, rgba(18, 5, 5, 0.96) 34%, rgba(34, 10, 10, 0.95) 72%, rgba(56, 14, 14, 0.93) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .container,
.footer-grid {
    display: grid;
    gap: 24px;
}

.site-header .container {
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.site-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.site-header-actions--preview {
    justify-content: flex-end;
}

.site-preview-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 241, 232, 0.82);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-preview-back {
    white-space: nowrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--accent), #a21212);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-logo {
    display: block;
    width: auto;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-wordmark {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    font-family: "DM Sans", sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    background: linear-gradient(180deg, #ff7c63 0%, #e13d2a 55%, #a81313 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 28px rgba(184, 30, 30, 0.18);
}

.admin-brand-logo {
    display: block;
    width: auto;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.admin-brand-text {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 0;
    line-height: 0;
    flex: 0 0 auto;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    display: block;
}

.drawer {
    position: fixed;
    inset: 0;
    z-index: 30;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(5, 2, 2, 0.52);
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, calc(100% - 28px));
    height: 100%;
    padding: 22px 20px 28px;
    background: linear-gradient(180deg, #2a0d0d 0%, #130606 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.34);
}

.drawer-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.drawer-nav a {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #f6dfd5;
}

body.drawer-open {
    overflow: hidden;
}

.button,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #220808;
    box-shadow: 0 16px 40px rgba(255, 106, 61, 0.28);
}

.button:hover,
.button-ghost:hover {
    transform: translateY(-2px);
}

.button.is-disabled,
.button[aria-disabled="true"] {
    opacity: 0.42;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    filter: saturate(0.7);
}

.button.is-disabled:hover,
.button[aria-disabled="true"]:hover {
    transform: none;
}

html.is-processing-locked,
body.is-processing-locked {
    overflow: hidden;
}

.model-processing-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(7, 4, 5, 0.78);
    backdrop-filter: blur(8px);
}

.model-processing-overlay__card {
    min-width: min(100%, 320px);
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    padding: 1.1rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 126, 84, 0.24);
    background:
        radial-gradient(circle at top, rgba(255, 126, 84, 0.12), transparent 55%),
        rgba(18, 8, 10, 0.96);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
    text-align: center;
    color: #fff5ef;
}

.model-processing-overlay__card strong {
    font-size: 1rem;
    font-weight: 700;
}

.model-processing-overlay__card span:last-child {
    color: rgba(255, 239, 231, 0.78);
    font-size: 0.92rem;
    line-height: 1.4;
}

.button-ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.catalog-entry {
    padding: 32px 0 28px;
}

.catalog-entry--preview {
    padding: 18px 0 0;
}

.catalog-entry--preview > .container {
    width: 100%;
    max-width: none;
}

.catalog-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.catalog-header h1 {
    margin-top: 18px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.catalog-header h1 span {
    display: block;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent-2);
}

.catalog-preview-copy {
    margin-top: 10px;
    max-width: 640px;
    color: rgba(255, 236, 230, 0.7);
    line-height: 1.6;
}

.desktop-entry {
    margin-top: 18px;
    display: grid;
}

.mobile-entry {
    display: none;
    margin-top: 12px;
}

.kicker,
.card-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 0.9rem;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 6px rgba(114, 225, 176, 0.12);
}

h1,
h2,
h3,
p {
    margin: 0;
}

.hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.hero-copy h1 span {
    display: block;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent-2);
}

.hero-copy p {
    max-width: 660px;
    margin-top: 22px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--muted);
}

.section-actions,
.card-actions,
.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-link {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.92rem;
}

.mobile-stage {
    position: relative;
    min-height: 740px;
    display: grid;
    place-items: center;
}

.glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.3), transparent 68%);
    filter: blur(18px);
    animation: pulse 6s infinite ease-in-out;
}

.phone-shell {
    position: relative;
    width: min(370px, 100%);
    border-radius: 42px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.phone-screen {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2)),
        linear-gradient(180deg, #4a1717 0%, #1c0808 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog-entry--preview .desktop-entry,
.catalog-entry--preview .desktop-gallery {
    display: none !important;
}

.catalog-entry--preview .mobile-stage {
    min-height: calc(100dvh - 92px);
    display: grid;
    place-items: center;
}

.catalog-entry--preview .phone-shell,
.catalog-entry--preview .mobile-profile-shell {
    width: 365px;
    max-width: 365px;
    padding: 0 12px;
    border-radius: 42px;
    background: transparent;
    box-shadow: none;
    margin: 0 auto;
}

.catalog-entry--preview .phone-screen,
.catalog-entry--preview .mobile-profile-screen {
    min-height: 667px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #110505;
    box-shadow: var(--shadow);
}

.catalog-entry--preview .mobile-entry {
    display: grid !important;
    margin-top: 0;
}

.orientation-lock {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 3, 3, 0.92);
    backdrop-filter: blur(12px);
    pointer-events: auto;
}

.orientation-lock[hidden] {
    display: none !important;
}

.orientation-lock-card {
    width: min(100%, 340px);
    padding: 28px 22px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(39, 11, 11, 0.96), rgba(20, 6, 6, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    text-align: center;
}

.orientation-lock-card h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #fff2eb;
}

.orientation-lock-card p {
    margin: 0;
    color: #d6b4a8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.orientation-lock-icon {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
}

.orientation-lock-icon span:first-child,
.orientation-lock-icon span:last-child {
    position: absolute;
    border: 2px solid rgba(255, 196, 153, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.orientation-lock-icon span:first-child {
    inset: 12px 26px;
}

.orientation-lock-icon span:last-child {
    width: 34px;
    height: 56px;
    top: 14px;
    left: 36px;
    transform: rotate(90deg);
    opacity: 0.6;
}

body.orientation-locked {
    overflow: hidden;
}

.swipe-app {
    touch-action: auto;
    user-select: none;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 128px;
    height: 28px;
    border-radius: 999px;
    background: rgba(8, 2, 2, 0.92);
    z-index: 4;
}

.phone-topbar,
.story-row,
.profile-tags {
    display: flex;
}

.phone-topbar {
    position: absolute;
    top: 56px;
    left: 20px;
    right: 20px;
    z-index: 4;
    align-items: center;
    justify-content: space-between;
}

.mini-pill,
.story-bubble,
.tag,
.badge-soft {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 5, 5, 0.4);
    backdrop-filter: blur(14px);
}

.mini-pill {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    color: #ffe0d2;
}

.swipe-stack {
    position: absolute;
    inset: 112px 18px 18px;
}

.swipe-card {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform-origin: bottom center;
    will-change: transform, opacity;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: #2a1212;
    pointer-events: none;
    display: none;
}

.swipe-card-scroll {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: linear-gradient(180deg, #180808 0%, #110505 100%);
}

.swipe-card-scroll::-webkit-scrollbar {
    display: none;
}

.swipe-card-hero {
    position: relative;
    min-height: 100%;
    flex: 0 0 100%;
    touch-action: pan-y;
}

.swipe-card-promo-ribbon {
    position: absolute;
    top: 24px;
    right: -38px;
    z-index: 3;
    width: 190px;
    display: flex;
    justify-content: center;
    padding: 9px 0;
    box-sizing: border-box;
    transform: rotate(45deg);
    transform-origin: center;
    background:
        linear-gradient(180deg, rgba(255, 235, 188, 0.28), rgba(255, 235, 188, 0) 42%),
        linear-gradient(90deg, #7a120f 0%, #b11f1a 52%, #6c0d0a 100%);
    border-top: 1px solid rgba(255, 233, 198, 0.42);
    border-bottom: 1px solid rgba(63, 4, 4, 0.44);
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 241, 221, 0.34);
    pointer-events: none;
}

.swipe-card-promo-ribbon span {
    display: block;
    width: 100%;
    color: #fff6f0;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
}

.swipe-card-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(17, 5, 5, 0.32);
    backdrop-filter: blur(14px);
    color: #ffe6da;
    font-size: 0.82rem;
}

.swipe-card-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    margin-bottom: 10px;
}

.swipe-card-category-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.swipe-card-category-badge--gold,
.admin-category-chip-preview--gold {
    color: #241300;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 252, 220, 0.92), transparent 24%),
        linear-gradient(180deg, #f7df84 0%, #d6af3c 38%, #a67712 68%, #6f4b06 100%);
    border: 1px solid rgba(255, 232, 159, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 245, 0.72),
        inset 0 -6px 12px rgba(102, 70, 8, 0.22),
        0 10px 24px rgba(92, 63, 10, 0.22);
}

.swipe-card-category-badge--silver,
.admin-category-chip-preview--silver {
    color: #1e2329;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.88), transparent 24%),
        linear-gradient(180deg, #f4f6f9 0%, #cfd6de 40%, #9ca5af 72%, #6c7580 100%);
    border: 1px solid rgba(245, 248, 252, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        inset 0 -6px 12px rgba(56, 63, 72, 0.18),
        0 10px 24px rgba(48, 56, 67, 0.2);
}

.swipe-card-category-badge--bronze,
.admin-category-chip-preview--bronze {
    color: #261207;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 237, 218, 0.86), transparent 24%),
        linear-gradient(180deg, #e6a46d 0%, #c77b3a 40%, #975522 72%, #633011 100%);
    border: 1px solid rgba(243, 188, 145, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 246, 236, 0.6),
        inset 0 -6px 12px rgba(83, 39, 12, 0.22),
        0 10px 24px rgba(93, 46, 18, 0.24);
}

.swipe-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 0;
    letter-spacing: 0.02em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.swipe-card-price-normal {
    color: rgba(255, 232, 225, 0.68);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.swipe-card-price-offer {
    color: #fff5ef;
    font-size: 1rem;
    font-weight: 800;
}

.swipe-card-dispositions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.swipe-card-disposition-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(12, 6, 6, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 244, 238, 0.94);
    font-size: 0.78rem;
    line-height: 1.2;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.swipe-card-disposition-pill::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffb36b;
    box-shadow: 0 0 0 3px rgba(255, 179, 107, 0.12);
}

.mobile-profile {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: linear-gradient(180deg, #180808 0%, #110505 100%);
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 0;
}

.mobile-profile::-webkit-scrollbar {
    display: none;
}

.mobile-profile.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
    transform: translateX(0);
}

.mobile-profile.is-buffer-prev,
.mobile-profile.is-buffer-next {
    opacity: 0;
    transform: translateX(0);
    z-index: 1;
    pointer-events: none;
}

.mobile-profiles.dragging-prev .mobile-profile.is-buffer-prev {
    opacity: 1;
    z-index: 2;
}

.mobile-profiles.dragging-next .mobile-profile.is-buffer-next {
    opacity: 1;
    z-index: 2;
}

.mobile-profiles.is-guiding-next .mobile-profile.is-buffer-next {
    opacity: 1;
    z-index: 2;
}

.mobile-profile.is-hidden {
    transform: translateX(0);
    z-index: 0;
}

.mobile-profile.drag-prev .mobile-swipe-badge-prev,
.mobile-profile.drag-next .mobile-swipe-badge-next {
    opacity: 1;
}

.mobile-profile.is-swiping {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28);
}

.mobile-profile.is-guiding-swipe {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.32);
    will-change: transform;
    animation: mobileSwipeCoachCard 2.92s cubic-bezier(0.2, 0.78, 0.24, 1) 1 both;
}

.mobile-profile.is-guiding-swipe .mobile-swipe-badge-next {
    animation: mobileSwipeCoachBadge 2.92s ease-in-out 1 both;
}

.mobile-profile-hero {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
}

.mobile-story-trigger {
    position: absolute;
    top: 22px;
    left: 18px;
    z-index: 5;
    display: inline-flex;
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-story-trigger-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffcf7d 0%, #ff5b7e 48%, #ff9248 100%);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.mobile-story-trigger.is-viewed .mobile-story-trigger-ring {
    background: rgba(255, 255, 255, 0.32);
}

.mobile-story-trigger-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(17, 6, 7, 0.95);
}

.mobile-story-viewer {
    position: absolute;
    inset: 0;
    z-index: 18;
    background: rgba(7, 2, 3, 0.96);
    display: block;
    overflow: hidden;
}

.mobile-story-viewer-global {
    position: fixed;
    z-index: 140;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.mobile-story-viewer.is-closing {
    animation: storyViewerOverlayFadeOut 0.24s ease forwards;
}

.mobile-story-viewer[hidden] {
    display: none;
}

.mobile-gallery-sheet[hidden] {
    display: none;
}

.mobile-gallery-sheet {
    position: fixed;
    inset: 0;
    z-index: 135;
    display: block;
}

.mobile-gallery-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 2, 3, 0.54);
    backdrop-filter: blur(4px);
}

.mobile-gallery-sheet-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 0 0 18px;
    border-radius: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 106, 61, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(27, 10, 11, 0.98) 0%, rgba(14, 4, 5, 0.99) 100%);
    box-shadow: none;
    transition: transform 0.22s ease;
    will-change: transform;
    transform: translateY(0);
    animation: mobileGallerySheetEnter 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-gallery-sheet.is-closing .mobile-gallery-sheet-panel {
    animation: mobileGallerySheetExit 0.24s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

.mobile-gallery-sheet.is-closing .mobile-gallery-sheet-backdrop {
    animation: mobileGalleryBackdropExit 0.24s ease forwards;
}

.mobile-gallery-sheet-handle-wrap {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.mobile-gallery-sheet-handle {
    width: 72px;
    padding: 10px 0;
    border: 0;
    background: transparent;
}

.mobile-gallery-sheet-handle span {
    display: block;
    width: 100%;
    height: 5px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(255, 240, 233, 0.34);
}

.mobile-gallery-sheet-head {
    position: absolute;
    top: 24px;
    left: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    pointer-events: none;
}

.mobile-gallery-sheet-head strong {
    display: block;
    color: #fff5ef;
    font-size: 1rem;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.mobile-gallery-sheet-head p {
    margin: 4px 0 0;
    color: rgba(255, 240, 233, 0.82);
    font-size: 0.85rem;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.mobile-gallery-sheet-scroller {
    flex: 1 1 auto;
    overflow: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    position: relative;
    touch-action: pan-y;
}

.mobile-gallery-sheet-scroller.is-zoomed {
    touch-action: none;
}

.mobile-gallery-sheet-track {
    display: flex;
    width: 300%;
    height: 100%;
    min-width: 300%;
    will-change: transform;
}

.mobile-gallery-sheet-scroller::-webkit-scrollbar {
    height: 6px;
}

.mobile-gallery-sheet-scroller::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.mobile-gallery-sheet-item {
    margin: 0;
    min-width: 33.333333%;
    width: 33.333333%;
    flex: 0 0 33.333333%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-gallery-sheet-image {
    display: block;
    width: 100%;
    max-height: calc(100dvh - 18px);
    min-height: calc(100dvh - 18px);
    object-fit: contain;
    background: #120606;
    transform-origin: center center;
    transition: transform 0.18s ease;
    will-change: transform;
}

.mobile-gallery-sheet-image.is-zoom-active {
    transition: none;
}

.mobile-gallery-sheet-image.is-zoom-resetting {
    transition: transform 0.32s cubic-bezier(0.18, 0.88, 0.28, 1);
}

.mobile-gallery-sheet-scroller.is-zoomed .mobile-gallery-sheet-image.is-zoom-active {
    touch-action: none;
}

.mobile-story-viewer-top,
.mobile-story-viewer-bottom {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 18px 16px 0;
}

.mobile-story-viewer-top {
    top: 0;
}

.mobile-story-viewer-bottom {
    bottom: 0;
    padding: 0 16px 18px;
}

.mobile-story-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 6px;
    padding-right: 48px;
}

.mobile-story-time {
    margin-top: 10px;
    padding-right: 48px;
    color: rgba(255, 244, 237, 0.78);
    font-size: 0.8rem;
    line-height: 1.2;
}

.mobile-story-progress-segment {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.mobile-story-progress-fill {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    transform: scaleX(0);
    transform-origin: left center;
}

.mobile-story-progress-segment.is-complete .mobile-story-progress-fill {
    transform: scaleX(1);
}

.mobile-story-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(9, 2, 3, 0.44);
    color: #fff4ee;
    font-size: 1.7rem;
    line-height: 1;
}

.mobile-story-audio {
    position: absolute;
    top: 56px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(9, 2, 3, 0.44);
    color: #fff4ee;
    font-size: 1rem;
    display: grid;
    place-items: center;
}

.mobile-story-audio[hidden] {
    display: none;
}

.mobile-story-viewer-media {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    perspective: 1800px;
}

.mobile-story-viewer-media.is-story-model-fade-out {
    animation: storyViewerMediaFadeOut 0.2s ease forwards;
}

.mobile-story-viewer-media.is-story-model-fade-in {
    animation: storyViewerMediaFadeIn 0.24s ease forwards;
}

.mobile-story-cube-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: #050102;
    display: block;
}

.mobile-story-cube-layer[hidden] {
    display: none;
}

.mobile-story-cube-stage {
    position: absolute;
    inset: 0;
    perspective: 1800px;
    perspective-origin: center center;
    overflow: visible;
}

.mobile-story-cube {
    position: absolute;
    inset: 0;
    transform: none;
}

.mobile-story-cube-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #050102;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
    opacity: 0;
}

.mobile-story-cube-face::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0));
    opacity: 0;
}

.mobile-story-cube-face-current {
    z-index: 2;
    opacity: 1;
}

.mobile-story-cube-face-next {
    z-index: 1;
    transform: scale(1.018);
}

.mobile-story-cube-layer.is-switch-next .mobile-story-cube-face-current::after,
.mobile-story-cube-layer.is-switch-prev .mobile-story-cube-face-current::after,
.mobile-story-cube-layer.is-switch-next .mobile-story-cube-face-next::after,
.mobile-story-cube-layer.is-switch-prev .mobile-story-cube-face-next::after {
    opacity: 0;
}

.mobile-story-cube-layer.is-switch-next .mobile-story-cube-face-current {
    animation: storyViewerFadeOut 0.46s cubic-bezier(0.33, 0, 0.2, 1) forwards;
}

.mobile-story-cube-layer.is-switch-prev .mobile-story-cube-face-current {
    animation: storyViewerFadeOut 0.46s cubic-bezier(0.33, 0, 0.2, 1) forwards;
}

.mobile-story-cube-layer.is-switch-next .mobile-story-cube-face-next {
    animation: storyViewerFadeIn 0.46s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-story-cube-layer.is-switch-prev .mobile-story-cube-face-next {
    animation: storyViewerFadeIn 0.46s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-story-viewer.is-media-cube-switching [data-mobile-story-media] > :not(.mobile-story-cube-layer) {
    visibility: hidden;
}

.mobile-story-viewer-image,
.mobile-story-viewer-video,
.mobile-story-cube-face img,
.mobile-story-cube-face video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050102;
}

.mobile-story-viewer-meta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(14, 4, 5, 0.6);
    backdrop-filter: blur(12px);
}

.mobile-story-viewer-meta-bottom {
    width: 100%;
}

.mobile-story-viewer-meta-bottom > div:nth-child(2) {
    min-width: 0;
    flex: 1 1 auto;
}

.mobile-story-viewer-avatar-wrap {
    flex: 0 0 auto;
}

.mobile-story-viewer-avatar {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-story-viewer-meta strong {
    display: block;
    color: #fff4ed;
    font-size: 0.98rem;
}

.mobile-story-viewer-meta p {
    margin: 4px 0 0;
    color: rgba(255, 240, 233, 0.8);
    font-size: 0.88rem;
    line-height: 1.4;
}

.mobile-story-open-model {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: #fff6f1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.mobile-story-open-model:hover,
.mobile-story-open-model:active {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.mobile-story-open-model i {
    font-size: 1rem;
    line-height: 1;
}

.mobile-story-nav {
    position: absolute;
    top: 0;
    bottom: 118px;
    width: 34%;
    border: 0;
    background: transparent;
    z-index: 4;
}

.mobile-story-nav-prev {
    left: 0;
}

.mobile-story-nav-next {
    right: 0;
}

@keyframes storyViewerFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.988);
    }
}

@keyframes storyViewerFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.018);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes storyViewerMediaFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes storyViewerMediaFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes storyViewerOverlayFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes mobileGallerySheetEnter {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes mobileGallerySheetExit {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes mobileGalleryBackdropExit {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.mobile-profile-image {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    display: block;
}

.mobile-profile-image-button,
.mobile-gallery-image-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}

.mobile-profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.82) 100%);
}

.mobile-swipe-badge {
    position: absolute;
    top: 22px;
    z-index: 3;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid currentColor;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0;
}

.mobile-swipe-badge-prev {
    left: 20px;
    color: #72e1b0;
    transform: rotate(-10deg);
}

.mobile-swipe-badge-next {
    right: 20px;
    color: #ff8d8d;
    transform: rotate(10deg);
}

.mobile-profile-details {
    padding: 24px 20px 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 106, 61, 0.16), transparent 28%),
        linear-gradient(180deg, #140707 0%, #120505 100%);
    min-height: calc(100dvh - 74px);
}

.mobile-swipe-hint {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    z-index: 9;
    width: min(290px, calc(100% - 40px));
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(18, 5, 5, 0.58);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    color: #fff3ec;
    text-align: center;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.mobile-swipe-hint[hidden] {
    display: none;
}

.mobile-swipe-hint.is-hiding {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px));
}

.mobile-swipe-hint p {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

@keyframes mobileSwipeCoachCard {
    0%,
    8%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    16% {
        transform: translate(-10px, 3px) rotate(-0.65deg);
    }

    24% {
        transform: translate(-28px, 7px) rotate(-2.15deg);
    }

    31% {
        transform: translate(-48px, 12px) rotate(-4deg);
    }

    39% {
        transform: translate(-20px, 5px) rotate(-1.45deg);
    }

    48% {
        transform: translate(0, 0) rotate(0deg);
    }

    58% {
        transform: translate(-8px, 2px) rotate(-0.5deg);
    }

    66% {
        transform: translate(-22px, 6px) rotate(-1.8deg);
    }

    73% {
        transform: translate(-38px, 10px) rotate(-3.15deg);
    }

    82% {
        transform: translate(-14px, 3px) rotate(-1deg);
    }

    91% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes mobileSwipeCoachBadge {
    0%,
    100% {
        opacity: 0;
    }

    18%,
    34%,
    60%,
    76% {
        opacity: 1;
    }

    14%,
    56%,
    82% {
        opacity: 0.08;
    }
}

.mobile-profile-actions {
    position: sticky;
    right: 14px;
    bottom: 26px;
    z-index: 8;
    display: grid;
    justify-items: end;
    gap: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: 14px;
    margin-top: -166px;
    padding-bottom: 14px;
}

.mobile-profile-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.mobile-profile-action {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(18, 7, 7, 0.88);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    color: #fff2eb;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.mobile-profile-action i {
    font-size: 1.4rem;
    line-height: 1;
}

.mobile-profile-action--whatsapp {
    background: linear-gradient(180deg, rgba(52, 201, 98, 0.96), rgba(14, 135, 63, 0.96));
    color: #f6fff9;
}

.mobile-profile-action--whatsapp:hover,
.mobile-profile-action--whatsapp:active {
    transform: translateY(-1px) scale(0.98);
    color: #f6fff9;
}

.mobile-fab-wrap {
    position: relative;
    z-index: 8;
    display: inline-flex;
}

.mobile-fab-wrap--page {
    position: fixed;
    right: 14px;
    bottom: 26px;
    z-index: 54;
}

.mobile-fab-wrap.is-open {
    z-index: 54;
}

.mobile-profile-actions.is-menu-open .mobile-profile-favorite,
.mobile-profile-actions.is-menu-open .mobile-profile-action--whatsapp {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    pointer-events: none;
}

.mobile-profile-favorite i {
    font-size: 1.4rem;
    line-height: 1;
}

.mobile-profile-favorite.is-favorite {
    background: linear-gradient(180deg, rgba(255, 194, 71, 0.96), rgba(232, 150, 18, 0.96));
    color: #3b1600;
}

.mobile-profile-favorite:disabled {
    opacity: 0.72;
    cursor: wait;
}

.mobile-profile-favorite:active,
.mobile-profile-favorite:hover {
    transform: translateY(-1px) scale(0.98);
}

.mobile-fab-menu {
    position: fixed;
    inset: 0;
    z-index: 48;
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
    pointer-events: none;
}

.mobile-fab-menu--global {
    z-index: 52;
}

.mobile-fab-menu[hidden] {
    display: none;
}

.mobile-fab-menu-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: linear-gradient(180deg, rgba(10, 3, 4, 0.92) 0%, rgba(10, 3, 4, 0.72) 34%, rgba(10, 3, 4, 0.3) 100%);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.12s ease;
    padding: 0;
    cursor: pointer;
}

.mobile-fab-menu-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    gap: 0;
    padding: 18px 0 0;
    transform: translateY(-54px);
    opacity: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease;
}

.mobile-fab-menu-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0 24px 20px;
}

.mobile-fab-menu-logo {
    width: auto;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.mobile-fab-menu-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 34px;
    font-family: "DM Sans", sans-serif;
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    background: linear-gradient(180deg, #ff7c63 0%, #e13d2a 55%, #a81313 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 12px 26px rgba(184, 30, 30, 0.2);
}

.mobile-fab-wrap.is-open .mobile-fab-menu {
    pointer-events: auto;
}

.mobile-fab-menu.is-open {
    pointer-events: auto;
}

.mobile-fab-wrap.is-open .mobile-fab-menu-backdrop,
.mobile-fab-menu.is-open .mobile-fab-menu-backdrop {
    opacity: 1;
}

.mobile-fab-wrap.is-open .mobile-fab-menu-panel {
    transform: translateY(0);
    opacity: 1;
}

.mobile-fab-menu.is-open .mobile-fab-menu-panel {
    transform: translateY(0);
    opacity: 1;
}

.mobile-fab-link {
    display: block;
    width: 100%;
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 6, 6, 0.7);
    color: #fff1e8;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: left;
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mobile-fab-link:hover {
    background: rgba(42, 11, 11, 0.92);
}

.mobile-fab-button {
    width: 60px;
    height: 60px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 60;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 235, 229, 0.22), transparent 34%),
        linear-gradient(180deg, #a91d28 0%, #86111d 52%, #5b0710 100%);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.34),
        0 10px 22px rgba(103, 10, 20, 0.3),
        0 0 0 1px rgba(255, 226, 218, 0.1);
    cursor: pointer;
    padding: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mobile-fab-button--overlay {
    position: fixed;
    right: 14px;
    bottom: 26px;
    z-index: 64;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.94);
    transition: opacity 0.16s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.mobile-fab-menu--global.is-open .mobile-fab-button--overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.16s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.mobile-fab-button span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: #fff7f2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.mobile-fab-button:hover,
.mobile-fab-button:active {
    transform: translateY(-2px) scale(1.02);
    filter: saturate(1.08) brightness(1.03);
}

.mobile-fab-wrap.is-open .mobile-fab-button {
    transform: scale(0.96);
    z-index: 60;
}

.mobile-filters-placeholder {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    overflow-x: auto;
    scrollbar-width: none;
}

.mobile-filters-placeholder::-webkit-scrollbar {
    display: none;
}

.mobile-filter-chip {
    flex: 0 0 auto;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f8e4da;
    font-weight: 600;
}

.models-page {
    padding: 104px 0 40px;
}

.models-empty-state {
    margin-top: 26px;
    padding: 28px 22px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.models-empty-state h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.models-empty-state p {
    margin: 0 0 18px;
    color: rgba(248, 228, 218, 0.78);
}

.models-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.models-heading h1 {
    margin-top: 14px;
    font-size: clamp(2.1rem, 6vw, 4rem);
    line-height: 0.96;
}

.models-heading p {
    max-width: 720px;
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.models-stories-strip {
    display: flex;
    gap: 14px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.models-stories-strip::-webkit-scrollbar {
    display: none;
}

.models-story-link {
    flex: 0 0 auto;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff2ea;
    text-decoration: none;
    cursor: pointer;
}

.models-story-trigger {
    position: relative;
    top: auto;
    left: auto;
    z-index: auto;
}

.models-story-ring {
    width: 76px;
    height: 76px;
}

.models-story-name {
    max-width: 84px;
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: center;
    color: rgba(255, 242, 234, 0.86);
}

.filters-shell {
    margin-top: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.models-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.model-card-listing .model-card-image-wrap {
    min-height: auto;
    aspect-ratio: 1 / 1;
    position: relative;
}

.model-card-listing .model-card-image {
    height: 100%;
}

.model-card-listing .swipe-card-promo-ribbon {
    top: 18px;
    right: -58px;
    width: 156px;
    padding: 7px 0;
    box-sizing: border-box;
}

.model-card-listing .swipe-card-promo-ribbon span {
    display: block;
    width: 100%;
    font-size: 0.44rem;
    letter-spacing: 0.02em;
    text-align: center;
}

.model-card-overlay-meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: grid;
    gap: 4px;
    pointer-events: none;
}

.model-card-overlay-title {
    color: #fff7f1;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.model-card-listing .card-actions .button.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.model-card-listing .card-actions .button,
.model-card-listing .card-actions .button-ghost {
    position: relative;
    z-index: 3;
}

.model-card-favorite-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(26, 8, 8, 0.72);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
    color: #ffc24b;
}

.model-card-favorite-badge i {
    font-size: 1.05rem;
    line-height: 1;
}

.model-card-listing .model-card-body {
    display: grid;
    gap: 12px;
}

.model-card-listing-pricing {
    display: grid;
    gap: 6px;
}

.model-card-price-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.92rem;
}

.model-card-price-value {
    color: #fff7f1;
    font-weight: 800;
}

.model-card-price-line.has-offer .model-card-price-value.is-strikethrough {
    color: rgba(255, 244, 237, 0.52);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.model-card-price-value.is-offer {
    color: #ffd27c;
}

.model-card-listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.model-card-listing-actions {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
    width: 100%;
}

.model-card-icon-button {
    width: 100%;
    min-height: 46px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.15rem;
    justify-self: stretch;
}

.model-card-icon-button i {
    line-height: 1;
}

.model-card-listing-actions .button.model-card-icon-button {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.model-card-listing-actions .button.model-card-icon-button:hover {
    background: #20bd5b;
    border-color: #20bd5b;
}

.model-card-listing-actions .button-ghost.model-card-icon-button {
    color: #fff4ed;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.admin-note-box {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 244, 237, 0.86);
    font-size: 0.92rem;
}

.swipe-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swipe-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.82) 100%);
    z-index: 1;
}

.swipe-card.is-top {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    pointer-events: auto;
}

.swipe-card.is-next {
    display: none;
    opacity: 0;
    transform: translateY(0) scale(1);
}

.swipe-card.is-third {
    display: none;
    opacity: 0;
    transform: translateY(0) scale(1);
}

.swipe-card.is-hidden {
    display: none;
    opacity: 0;
    transform: translateY(0) scale(1);
    pointer-events: none;
}

.swipe-card.is-dragging {
    transition: none;
}

.swipe-badge {
    position: absolute;
    top: 24px;
    z-index: 3;
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.88rem;
    border: 2px solid currentColor;
    opacity: 0;
}

.swipe-badge-like {
    left: 20px;
    color: #72e1b0;
    transform: rotate(-10deg);
}

.swipe-badge-nope {
    right: 20px;
    color: #ff8d8d;
    transform: rotate(10deg);
}

.swipe-card.drag-like .swipe-badge-like {
    opacity: 1;
}

.swipe-card.drag-nope .swipe-badge-nope {
    opacity: 1;
}

.card-content {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
}

.swipe-card-details {
    padding: 24px 20px 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 106, 61, 0.16), transparent 28%),
        linear-gradient(180deg, #140707 0%, #120505 100%);
}

.mobile-gallery {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.mobile-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-gallery-item img,
.mobile-gallery-item video,
.mobile-gallery-video {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    background-color: #120606;
}

.mobile-gallery-image-button img {
    width: 100%;
    display: block;
}

.media-thumb-button {
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    overflow: hidden;
    background: #120606;
    display: block;
    cursor: pointer;
}

.media-thumb-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #120606;
}

.media-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(10, 4, 4, 0.52);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.media-thumb-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 21px solid rgba(255, 245, 239, 0.92);
}

.media-thumb-button.is-playing .media-thumb-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
}

.mobile-gallery-video-button {
    border-radius: 22px;
}

body.mobile-gallery-open {
    overflow: hidden;
}

.mobile-services-block {
    margin-top: 18px;
}

.mobile-services-card {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.mobile-services-block--stacked {
    margin-top: 0;
}

.mobile-services-block--stacked + .mobile-services-block--stacked {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-about-block {
    margin-top: 18px;
}

.mobile-about-title {
    margin: 0 0 10px;
    color: #fff5ef;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mobile-services-title {
    margin: 0 0 10px;
    color: #fff5ef;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mobile-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 244, 238, 0.92);
    font-size: 0.82rem;
    line-height: 1.2;
}

.mobile-service-pill::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffb36b;
    box-shadow: 0 0 0 3px rgba(255, 179, 107, 0.12);
}

.mobile-measurements-list {
    display: grid;
    gap: 10px;
}

.mobile-measurements-list--stacked {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-measurement-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-measurement-label {
    color: rgba(255, 244, 238, 0.72);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.mobile-measurement-value {
    color: #fff7f2;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: right;
}

.swipe-card-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.swipe-scroll-hint {
    color: var(--muted);
    font-size: 0.8rem;
}

.swipe-card-description {
    margin-top: 0;
    color: #f0d7cf;
    line-height: 1.7;
}

.swipe-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.detail-pill {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-pill span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.detail-pill strong {
    display: block;
    margin-top: 6px;
    color: #fff6f2;
    font-size: 0.96rem;
}

.swipe-empty-state {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    display: grid;
    place-items: center;
    padding: 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: #ffe9e1;
}

.swipe-empty-state strong {
    display: block;
    font-size: 1.5rem;
}

.swipe-empty-state span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
}

.story-row {
    gap: 8px;
    margin-bottom: 16px;
}

.story-bubble {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
}

.card-content h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
}

.swipe-card-verified-badge {
    display: inline-flex;
    width: 49px;
    height: 49px;
    align-items: center;
    justify-content: center;
    flex: 0 0 49px;
    transform: translateY(-5px);
    filter: drop-shadow(0 6px 12px rgba(6, 85, 160, 0.24));
}

.swipe-card-verified-badge svg {
    width: 100%;
    height: 100%;
    display: block;
}

.swipe-card-verified-check {
    fill: #ffffff;
    transform: scale(0.88);
    transform-origin: center;
    transform-box: fill-box;
}

.card-content p {
    color: #f7ddd5;
    line-height: 1.55;
    max-width: 92%;
}

.profile-tags {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    color: #fff0e7;
}

.sheet-actions {
    display: flex;
    gap: 10px;
}

.sheet-actions {
    margin-top: 22px;
}

.sheet-actions .button,
.sheet-actions .button-ghost {
    flex: 1;
    justify-content: center;
}

.sheet-actions .button.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.section {
    padding: 34px 0;
}

.desktop-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.model-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
}

.model-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.model-card-image-wrap {
    min-height: 320px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
    overflow: hidden;
}

.model-card-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.model-card-body {
    position: relative;
    z-index: 2;
    padding: 22px;
}

.model-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.model-card h3 {
    font-size: 1.35rem;
}

.model-card p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.65;
}

.model-city {
    display: inline-block;
    margin-top: 6px;
    color: var(--accent-2);
    font-size: 0.95rem;
}

.model-tags,
.card-actions {
    margin-top: 18px;
}

.site-footer {
    padding: 0 0 40px;
}

.footer-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy p,
.footer-links {
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    color: #f9ddd2;
    font-size: 0.84rem;
}

.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 106, 61, 0.22), transparent 32%),
        linear-gradient(180deg, #120505 0%, #150808 100%);
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-login-shell {
    width: min(100%, 520px);
}

.admin-login-card {
    padding: 34px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
}

.admin-login-card h1 {
    margin-top: 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.admin-login-card p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.72;
}

.admin-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.admin-alert {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 145, 145, 0.25);
    background: rgba(255, 105, 105, 0.08);
    color: #ffd8d8;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    color: #ffe5da;
    font-size: 0.95rem;
}

.field input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
}

.admin-input.form-control {
    min-height: 52px;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    box-shadow: none;
}

.admin-input.form-control:focus {
    border-color: rgba(255, 179, 107, 0.55);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 61, 0.12);
}

.field input::placeholder {
    color: #c79d92;
}

.admin-submit {
    width: 100%;
    margin-top: 8px;
}

.admin-topnav {
    background: #2b0d0d;
}

.admin-topnav-right {
    min-height: 48px;
}

.admin-topnav-user {
    color: #f6ddd4;
    font-size: 0.92rem;
}

.admin-sidebar {
    min-height: calc(100vh - 48px);
    background: #160909;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-sticky {
    height: calc(100vh - 48px);
    overflow-y: auto;
}

.admin-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-box strong {
    display: block;
    color: #fff3ec;
}

.admin-user-box span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--accent), var(--accent-2));
    color: #2b0d0d;
    font-weight: 800;
}

.admin-menu .nav-link {
    color: #ebc7bc;
    border-radius: 10px;
    margin: 2px 12px;
    padding: 0.65rem 0.9rem;
}

.admin-menu .nav-link:hover,
.admin-menu .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-main-content {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.admin-page-head .h2 {
    color: #fff4ee;
}

.admin-page-subtitle {
    color: var(--muted);
}

.admin-summary-card,
.admin-card-panel {
    background: rgba(255, 255, 255, 0.04);
    color: #fff4ee;
}

.admin-summary-card .card-body {
    border-top: 4px solid var(--accent);
}

.admin-card-panel .card-header,
.admin-card-panel .card-body {
    color: #fff4ee;
}

.admin-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
    color: #fff4ee;
}

.admin-list-group .list-group-item {
    background: rgba(255, 255, 255, 0.03);
    color: #fff1ea;
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-list-group .list-group-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-activity-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--muted);
}

.admin-activity-list li + li {
    margin-top: 0.75rem;
}

.admin-modal {
    background: #1b0d0d;
    color: #fff5ef;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-modal .modal-dialog,
.modal-dialog.modal-xl.modal-dialog-scrollable {
    max-height: calc(100vh - 2rem);
}

.admin-modal .modal-content {
    max-height: calc(100vh - 2rem);
}

.admin-modal .modal-body {
    overflow-y: auto;
}

.admin-modal .modal-header,
.admin-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-modal .form-label,
.admin-modal .form-check-label {
    color: #ffe6dd;
}

.admin-modal .form-text {
    color: #caa59b !important;
}

.admin-inline-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.admin-gallery-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.admin-gallery-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background-color: #2a1212;
}

.upload-cropper {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.upload-cropper-head {
    display: grid;
    gap: 4px;
}

.upload-cropper-frame-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.upload-cropper-frame {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    border: 2px solid rgba(255, 179, 107, 0.5);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        #120606;
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.08);
    cursor: grab;
    touch-action: none;
}

.upload-cropper-frame.is-dragging {
    cursor: grabbing;
}

.upload-cropper-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    pointer-events: none;
}

.upload-cropper-image {
    position: absolute;
    top: 0;
    left: 0;
    user-select: none;
    -webkit-user-drag: none;
    max-width: none;
    max-height: none;
    will-change: transform, width, height;
}

.upload-watermark-preview {
    --watermark-offset-x: 0px;
    --watermark-offset-y: 0px;
    position: absolute;
    inset: -18% -40%;
    display: grid;
    align-content: start;
    gap: 32px;
    transform: translate(var(--watermark-offset-x), var(--watermark-offset-y)) rotate(-35deg);
    pointer-events: none;
    opacity: 0.34;
}

.upload-watermark-line {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.upload-watermark-controls {
    padding-top: 6px;
}

.upload-video-editor {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.upload-video-preview-wrap {
    border-radius: 24px;
    overflow: hidden;
    background: #120606;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-diagnostic-output {
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    background: rgba(7, 2, 2, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffe9dd;
    font-size: 0.84rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.admin-diagnostic-textarea {
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.84rem;
    line-height: 1.5;
    white-space: pre;
    resize: vertical;
}

.upload-video-preview {
    width: 100%;
    max-height: 420px;
    display: block;
    background: #120606;
}

.upload-video-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-gallery-meta {
    padding: 14px;
}

.admin-model-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-model-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    background: #2a1212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.admin-model-thumb-trigger {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 12px;
    line-height: 0;
    flex: 0 0 auto;
}

.admin-model-thumb-trigger:focus-visible {
    outline: 2px solid rgba(255, 196, 123, 0.95);
    outline-offset: 3px;
}

.admin-model-thumb-placeholder {
    display: grid;
    place-items: center;
    color: #d0b2a7;
    font-size: 0.68rem;
    text-align: center;
    padding: 6px;
}

.admin-preview-shell {
    display: flex;
    justify-content: center;
    padding-bottom: 12px;
}

.admin-preview-profile {
    width: min(100%, 420px);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #130809 0%, #1d0d10 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.admin-preview-hero {
    position: relative;
    min-height: 68vh;
    background: #180b0d;
}

.admin-preview-hero-image {
    display: block;
    width: 100%;
    height: 68vh;
    object-fit: cover;
}

.admin-preview-hero-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 239, 232, 0.8);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.admin-preview-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 4, 5, 0.12) 0%, rgba(8, 4, 5, 0.3) 38%, rgba(8, 4, 5, 0.9) 100%);
}

.admin-preview-hero-copy {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 1;
    display: grid;
    gap: 8px;
}

.admin-preview-kicker,
.admin-preview-section-title,
.admin-preview-meta-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 194, 150, 0.88);
}

.admin-preview-hero-copy h3 {
    margin: 0;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    line-height: 1;
    color: #fff1e9;
}

.admin-preview-hero-copy p,
.admin-preview-description p {
    margin: 0;
    color: rgba(255, 239, 232, 0.84);
    line-height: 1.6;
}

.admin-preview-details {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.admin-preview-gallery {
    display: grid;
    gap: 12px;
}

.admin-preview-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.admin-preview-gallery-item img,
.admin-preview-gallery-video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.admin-preview-meta {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.admin-preview-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 239, 232, 0.94);
}

.admin-preview-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
}

.admin-modal .admin-input,
.admin-modal .admin-input.form-control,
.admin-modal .admin-input.form-select,
.admin-modal textarea.admin-input {
    background: #ffffff;
    color: #111111;
    border-color: #d9d9d9;
}

.admin-modal .admin-input:focus,
.admin-modal .admin-input.form-control:focus,
.admin-modal .admin-input.form-select:focus,
.admin-modal textarea.admin-input:focus {
    background: #ffffff;
    color: #111111;
    border-color: #ffb36b;
    box-shadow: 0 0 0 0.2rem rgba(255, 179, 107, 0.18);
}

.admin-modal .admin-input::placeholder {
    color: #6b7280;
}

.admin-calendar-toolbar {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-pause-calendar {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-pause-calendar-weekdays,
.admin-pause-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.admin-pause-calendar-weekdays {
    margin-bottom: 10px;
}

.admin-pause-calendar-weekdays span {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d4b1a4;
}

.admin-pause-calendar-empty,
.admin-pause-calendar-day {
    min-height: 42px;
    border-radius: 12px;
}

.admin-pause-calendar-day {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff4ee;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-pause-calendar-day:hover:not(:disabled) {
    background: rgba(255, 179, 107, 0.16);
    border-color: rgba(255, 179, 107, 0.55);
    transform: translateY(-1px);
}

.admin-pause-calendar-day.is-selected {
    background: rgba(255, 179, 107, 0.88);
    border-color: rgba(255, 179, 107, 0.95);
    color: #180c07;
}

.admin-pause-calendar-day.is-existing {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.45);
    color: #c8f7d6;
    opacity: 1;
}

.admin-pause-calendar-day:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

@keyframes floatCard {
    0%,
    100% {
        transform: rotate(-2deg) translateY(-2px);
    }
    50% {
        transform: rotate(1.5deg) translateY(-14px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .desktop-gallery,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .mobile-stage {
        min-height: auto;
        padding-top: 0;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .catalog-header {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 820px) {
    body {
        background: #120505;
    }

    .site-header .container {
        grid-template-columns: auto auto;
        justify-items: stretch;
        min-height: 74px;
        padding: 12px 0;
        gap: 14px;
    }

    .site-header {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 50;
    }

    .site-header .brand {
        font-size: 0.92rem;
        letter-spacing: 0.05em;
    }

    .site-header-actions--preview {
        gap: 8px;
    }

    .site-preview-chip {
        display: none;
    }

    .catalog-entry {
        padding: 74px 0 0;
    }

    .catalog-entry--preview {
        padding-top: 74px;
    }

    .catalog-entry--preview > .container {
        width: 100%;
    }

    .catalog-entry--preview .mobile-stage {
        min-height: calc(100dvh - 74px);
        display: block;
    }

    .catalog-entry--preview .phone-shell,
    .catalog-entry--preview .mobile-profile-shell {
        width: 100%;
        max-width: none;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .catalog-entry--preview .phone-screen,
    .catalog-entry--preview .mobile-profile-screen {
        min-height: calc(100dvh - 74px);
        border-radius: 0;
        border: 0;
    }

    .catalog-entry--preview .mobile-profile-hero {
        min-height: calc(100dvh - 74px);
    }

    .catalog-header,
    .site-footer,
    .glow {
        display: none;
    }

    .models-page {
        padding-top: 94px;
    }

    .models-heading {
        align-items: start;
        flex-direction: column;
    }

    .models-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .container {
        width: 100%;
    }

    .mobile-stage {
        min-height: calc(100dvh - 74px);
        display: block;
    }

    .phone-shell {
        width: 100%;
        max-width: none;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .phone-screen {
        min-height: calc(100dvh - 74px);
        border-radius: 0;
        border: 0;
        background: #110505;
    }

    .desktop-entry,
    .desktop-gallery {
        display: none !important;
    }

    .mobile-entry {
        display: grid !important;
        margin-top: 0;
    }

    .phone-notch {
        display: none;
    }

    .mobile-profile-shell {
        width: 100%;
        max-width: none;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .mobile-profile-screen {
        min-height: calc(100dvh - 74px);
        border-radius: 0;
        border: 0;
    }

    .mobile-profile {
        height: calc(100dvh - 74px);
    }

    .mobile-profile-hero {
        min-height: calc(100dvh - 74px);
    }

    .mobile-profile-image {
        height: calc(100dvh - 74px);
    }
}

@media (max-width: 560px) {
    .site-header .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .card-content h3 {
        font-size: 1.75rem;
    }

    .swipe-detail-grid,
    .sheet-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .models-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .model-card-listing .model-card-image {
        height: 100%;
    }

    .model-card-listing .model-card-body {
        padding: 14px;
    }

    .mobile-profile-details {
        padding: 20px 16px 28px;
    }
}

.admin-story-library,
.admin-story-upload-preview {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-story-library-list {
    display: grid;
    gap: 14px;
}

.admin-story-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-story-card-media {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 14px;
    background: #120808;
}

.admin-story-library-image,
.admin-story-library-video,
.admin-story-upload-image,
.admin-story-upload-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #120808;
}

.admin-story-library-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff2eb;
    font-size: 1.8rem;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.admin-story-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}

.admin-story-card-text {
    color: #fff5ef;
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
    word-break: break-word;
}

.admin-story-card-meta {
    display: grid;
    gap: 4px;
    color: rgba(255, 244, 238, 0.68);
    font-size: 0.78rem;
}

.admin-story-empty {
    padding: 18px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.14);
    color: rgba(255, 244, 238, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

.admin-story-upload-preview {
    min-height: 220px;
    display: grid;
    place-items: center;
}

.admin-story-upload-image,
.admin-story-upload-video {
    max-height: 420px;
    border-radius: 16px;
}

.admin-service-picker-column {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100%;
}

.admin-service-picker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff5ef;
    cursor: pointer;
}

.admin-service-picker-item .form-check-input {
    margin: 0;
    flex-shrink: 0;
}

.admin-service-picker-item span {
    line-height: 1.35;
}

.admin-schedule-list {
    display: grid;
    gap: 12px;
}

.admin-schedule-row {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-schedule-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.admin-schedule-time-grid.is-disabled {
    opacity: 0.45;
}

.admin-schedule-fullday-check {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-schedule-empty {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.admin-category-chip-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    min-height: 34px;
    border: 1px solid transparent;
}

.model-verification-status-card {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.model-verification-status-card--final {
    margin-top: 1rem;
    margin-bottom: 0;
}

.model-verification-status-card strong {
    display: block;
    margin-bottom: 0.25rem;
}

.model-verification-status-note {
    margin-top: 0.75rem;
    color: rgba(255, 245, 239, 0.8);
}

.model-verification-recorder {
    display: grid;
    gap: 1rem;
}

.model-verification-recorder__preview {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(31, 20, 18, 0.96), rgba(14, 9, 8, 0.98));
}

.model-verification-recorder__preview.is-activatable {
    cursor: pointer;
}

.model-verification-recorder__preview.is-activatable::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.model-verification-recorder__video {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    background: #090605;
}

.model-verification-recorder__empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.5rem;
    text-align: center;
    color: rgba(255, 245, 239, 0.8);
}

.model-verification-recorder__empty i {
    font-size: 2rem;
    color: #ffb347;
}

.model-verification-recorder__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(167, 21, 21, 0.92);
    color: #fff7f7;
    font-size: 0.82rem;
    font-weight: 700;
}

.model-verification-recorder__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
    animation: modelVerificationPulse 1.2s ease-out infinite;
}

.model-verification-recorder__meta {
    display: grid;
    gap: 0.4rem;
}

.model-verification-recorder__message {
    color: #fff5ef;
    font-size: 0.96rem;
}

.model-verification-recorder__message.is-error {
    color: #ff9b9b;
}

.model-verification-recorder__hint {
    color: rgba(255, 245, 239, 0.65);
    font-size: 0.84rem;
}

.model-verification-recorder__controls {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 2;
}

.model-verification-recorder__control {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 8, 8, 0.76);
    color: #fff5ef;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease, background 180ms ease;
}

.model-verification-recorder__control i {
    font-size: 1.2rem;
}

.model-verification-recorder__control:hover:not(:disabled) {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.28);
}

.model-verification-recorder__control:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.model-verification-recorder__control--record {
    background: rgba(135, 15, 15, 0.9);
    border-color: rgba(255, 120, 120, 0.34);
}

.model-verification-recorder__record-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff3a3a;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.model-verification-recorder__control--stop {
    background: rgba(38, 24, 24, 0.9);
}

.model-verification-recorder__control--reset {
    background: rgba(24, 20, 20, 0.88);
}

@keyframes modelVerificationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@media (max-width: 767.98px) {
    .admin-story-card {
        grid-template-columns: 1fr;
    }

    .admin-story-card-media {
        max-width: 220px;
    }
}

.model-portal-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(131, 18, 18, 0.28), transparent 32%),
        linear-gradient(135deg, #080506 0%, #14090a 48%, #211012 100%);
    color: #fff5ef;
}

html.is-modal-scroll-locked,
.model-portal-body.is-modal-scroll-locked {
    overflow: hidden;
    overscroll-behavior: none;
}

.model-auth-page,
.model-dashboard-page {
    min-height: 100vh;
}

.model-auth-shell {
    min-height: 100vh;
    padding: 2rem 1rem;
    display: grid;
    place-items: center;
}

.model-auth-shell--wide {
    align-items: start;
}

.model-auth-card {
    width: min(100%, 540px);
    padding: 2rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(22, 12, 13, 0.9);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.model-auth-card--wide {
    width: min(100%, 1040px);
}

.model-auth-brand,
.model-dashboard-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: #fff5ef;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.model-auth-brand img,
.model-dashboard-brand img {
    height: 44px;
    width: auto;
}

.model-auth-card h1,
.model-dashboard-hero-card h1 {
    margin: 0.75rem 0 0.85rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.model-auth-card p,
.model-dashboard-hero-card p,
.model-panel-card-head p,
.model-panel-empty {
    color: rgba(255, 245, 239, 0.76);
}

.model-auth-form,
.model-panel-form {
    display: grid;
    gap: 1rem;
}

.model-portal-modal .admin-input,
.model-portal-modal .admin-input.form-control,
.model-portal-modal .admin-input.form-select,
.model-portal-modal textarea.admin-input {
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(20, 10, 11, 0.94);
    color: #fff5ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.model-portal-modal textarea.admin-input {
    min-height: 160px;
}

.model-portal-modal .admin-input::placeholder,
.model-portal-modal textarea.admin-input::placeholder {
    color: rgba(255, 245, 239, 0.5);
}

.model-portal-modal .admin-input:focus,
.model-portal-modal .admin-input.form-control:focus,
.model-portal-modal .admin-input.form-select:focus,
.model-portal-modal textarea.admin-input:focus {
    border-color: rgba(255, 126, 84, 0.58);
    background:
        linear-gradient(135deg, rgba(255, 136, 97, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(24, 11, 12, 0.98);
    color: #fff5ef;
    box-shadow:
        0 0 0 0.22rem rgba(255, 108, 66, 0.16),
        0 14px 28px rgba(0, 0, 0, 0.14);
}

.model-portal-modal .admin-input.form-select,
.model-portal-modal select.admin-input {
    padding-right: 3rem;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffb089' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3.5 6.5 8 11l4.5-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, right 1rem center;
    background-size: auto, 14px 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.model-portal-modal .input-group-text {
    min-height: 52px;
    border-radius: 18px 0 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(20, 10, 11, 0.94);
    color: #ffe5db;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.model-portal-modal .input-group > .admin-input.form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.model-portal-modal .field > span {
    color: #ffe5db;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.model-signup-form {
    margin-top: 1.5rem;
}

.model-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.model-form-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-autocomplete {
    position: relative;
}

.model-autocomplete-list {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    gap: 0.35rem;
    padding: 0.45rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(20, 10, 11, 0.98);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    max-height: 16rem;
    overflow-y: auto;
}

.model-autocomplete-option {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 0.78rem 0.9rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    color: #fff5ef;
    font-weight: 600;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.model-autocomplete-option:hover,
.model-autocomplete-option:focus-visible {
    background: rgba(255, 126, 84, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.model-auth-footer {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    color: rgba(255, 245, 239, 0.72);
}

.model-auth-footer a {
    color: #ff875f;
    font-weight: 700;
    text-decoration: none;
}

.model-dashboard-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(90deg, rgba(9, 6, 6, 0.95), rgba(46, 12, 13, 0.85));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.model-dashboard-header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.model-dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.model-dashboard-mobile-menu {
    display: none;
}

.model-dashboard-menu-toggle {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(18, 10, 11, 0.92);
    color: #fff5ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.model-dashboard-menu-toggle:hover,
.model-dashboard-menu-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 129, 82, 0.35);
    background:
        linear-gradient(135deg, rgba(255, 129, 82, 0.1), rgba(255, 255, 255, 0.03)),
        rgba(20, 10, 11, 0.98);
    outline: none;
}

.model-dashboard-menu-toggle i {
    font-size: 1.45rem;
    line-height: 1;
}

.model-dashboard-mobile-dropdown {
    min-width: 220px;
    padding: 0.45rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 11, 12, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.model-dashboard-mobile-dropdown .dropdown-item {
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
    color: #fff5ef;
    font-weight: 700;
}

.model-dashboard-mobile-dropdown .dropdown-item:hover,
.model-dashboard-mobile-dropdown .dropdown-item:focus {
    background: rgba(255, 129, 82, 0.12);
    color: #fff5ef;
}

.model-dashboard-back {
    text-decoration: none;
}

.model-dashboard-logout {
    min-width: 98px;
}

.model-dashboard-hero {
    padding: 1.5rem 0 0.5rem;
}

.model-dashboard-hero-card,
.model-panel-card {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(19, 11, 12, 0.9);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.22);
}

.model-dashboard-hero-card {
    padding: 1.75rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
}

.model-dashboard-statuses {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-end;
}

.model-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.model-status-pill--pendiente {
    background: rgba(255, 196, 88, 0.18);
    color: #ffd57a;
}

.model-status-pill--aprobado {
    background: rgba(45, 201, 115, 0.18);
    color: #8dffb8;
}

.model-status-pill--rechazado {
    background: rgba(255, 99, 99, 0.18);
    color: #ffb0b0;
}

.model-status-pill--soft {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 245, 239, 0.84);
}

.model-status-pill--soft.is-live {
    background: rgba(33, 150, 83, 0.18);
    color: #9ff3b6;
}

.model-dashboard-content {
    padding: 1rem 0 2.5rem;
}

.model-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 1rem;
}

.model-panel-card {
    padding: 1.4rem;
}

.model-panel-card--full {
    grid-column: 1 / -1;
}

.model-panel-stack {
    display: grid;
    gap: 1rem;
}

.model-panel-card-head {
    margin-bottom: 1rem;
}

.model-panel-card-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.model-settings-list {
    display: grid;
    gap: 0.85rem;
}

.model-settings-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(11, 7, 8, 0.75);
    color: #fff5ef;
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.model-settings-item:hover,
.model-settings-item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 132, 95, 0.35);
    background:
        linear-gradient(135deg, rgba(255, 130, 92, 0.09), rgba(255, 255, 255, 0.03)),
        rgba(15, 9, 10, 0.9);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    outline: none;
}

.model-settings-item-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.model-settings-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 108px;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.model-settings-status-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.08);
}

.model-settings-status--ok {
    color: #9ef2b5;
    background: rgba(33, 150, 83, 0.14);
    border-color: rgba(76, 235, 139, 0.22);
}

.model-settings-status--pending {
    color: #ff9f9f;
    background: rgba(183, 52, 52, 0.16);
    border-color: rgba(255, 112, 112, 0.24);
}

.model-settings-status--review {
    color: #ffd76f;
    background: rgba(182, 131, 18, 0.18);
    border-color: rgba(255, 210, 90, 0.28);
}

.model-settings-status--plan {
    color: #ffe3bf;
    background: rgba(255, 140, 56, 0.16);
    border-color: rgba(255, 179, 107, 0.28);
}

.model-settings-status-text {
    line-height: 1;
}

.model-portal-modal {
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 2rem);
}

.modal-dialog.modal-dialog-scrollable .model-portal-modal {
    height: 100%;
}

.model-portal-modal > form {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

.model-portal-modal .modal-header,
.model-portal-modal .modal-footer {
    flex-shrink: 0;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

.model-portal-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

.model-placeholder-card {
    padding: 1.1rem 1.15rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 0.45rem;
}

.model-placeholder-card strong {
    font-size: 1rem;
}

.model-plan-selector {
    display: grid;
    gap: 0.9rem;
}

.model-plan-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01)),
        rgba(10, 4, 6, 0.92);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease, filter 180ms ease;
}

.model-plan-option:hover {
    border-color: rgba(255, 126, 84, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
        rgba(18, 8, 10, 0.96);
    transform: translateY(-1px);
}

.model-plan-option:not(.is-selected) {
    opacity: 1;
    filter: saturate(0.72) brightness(0.82);
}

.model-plan-option.is-selected {
    opacity: 1;
    border-color: rgba(255, 126, 84, 0.78);
    background:
        radial-gradient(circle at top right, rgba(255, 129, 82, 0.24), transparent 44%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
        rgba(28, 12, 13, 0.98);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
    transform: translateY(-1px);
    filter: none;
}

.model-plan-option.is-selected .model-plan-option-title {
    color: #fff8f2;
}

.model-plan-option.is-selected .model-plan-option-meta {
    color: rgba(255, 244, 236, 0.88);
}

.model-plan-option.is-current:not(.is-selected) {
    border-color: rgba(255, 255, 255, 0.18);
}

.model-plan-option-main {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.model-plan-option-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.model-plan-option-title {
    display: block;
    font-size: 1rem;
    color: #fff1ea;
}

.model-plan-option-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    color: rgba(255, 239, 231, 0.72);
    font-size: 0.9rem;
}

.model-plan-option-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.45rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 126, 84, 0.18);
    border: 1px solid rgba(255, 126, 84, 0.34);
    color: #ffd8c9;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.model-plan-option-badge--selected {
    background: rgba(255, 126, 84, 0.92);
    border-color: rgba(255, 126, 84, 0.96);
    color: #2a0e07;
}

.model-plan-option-radio-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.model-plan-option-radio {
    width: 1.3rem;
    height: 1.3rem;
    margin: 0;
    accent-color: #ff7e54;
    cursor: pointer;
}

.model-plan-option.is-selected .model-plan-option-radio-wrap {
    border-color: rgba(255, 126, 84, 0.72);
    background: rgba(255, 126, 84, 0.16);
    box-shadow: 0 0 0 4px rgba(255, 126, 84, 0.08);
}

.field--file-upload {
    gap: 0.5rem;
}

.model-upload-widget {
    display: grid;
    gap: 0.75rem;
}

.model-upload-dropzone {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 129, 82, 0.14), transparent 40%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(14, 8, 9, 0.92);
    cursor: pointer;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.model-upload-dropzone:hover,
.model-upload-dropzone:focus-visible,
.model-upload-dropzone.is-dragover {
    border-color: rgba(255, 129, 82, 0.45);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
    outline: none;
}

.model-upload-copy {
    display: grid;
    gap: 0.2rem;
}

.model-upload-copy strong {
    font-size: 0.98rem;
    color: #fff5ef;
}

.model-upload-copy span {
    font-size: 0.86rem;
    color: rgba(255, 245, 239, 0.68);
}

.model-upload-preview {
    min-height: 168px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-upload-preview.is-empty {
    background: rgba(255, 255, 255, 0.03);
}

.model-upload-preview-empty {
    display: grid;
    gap: 0.45rem;
    place-items: center;
    text-align: center;
    color: rgba(255, 245, 239, 0.7);
    padding: 1rem;
}

.model-upload-preview-empty i {
    font-size: 1.9rem;
    color: rgba(255, 129, 82, 0.82);
}

.model-upload-preview-empty span {
    font-size: 0.84rem;
}

.model-upload-preview-media {
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: contain;
    display: block;
    background: rgba(10, 6, 7, 0.96);
}

.model-upload-preview-media,
.model-media-preview img,
.model-media-preview video,
.mobile-profile-image,
.mobile-gallery-item img,
.mobile-gallery-item video,
.model-card-image,
.mobile-story-trigger-image,
.mobile-story-viewer-image,
.mobile-story-viewer-video {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.model-upload-preview-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    background: rgba(8, 5, 6, 0.72);
    font-size: 0.82rem;
    color: rgba(255, 245, 239, 0.82);
}

.model-upload-preview-meta strong {
    font-size: 0.9rem;
    color: #fff5ef;
}

.model-upload-preview-shell {
    width: 100%;
    display: grid;
}

.model-upload-preview-stage {
    position: relative;
    min-height: 168px;
    overflow: hidden;
    background: rgba(10, 6, 7, 0.96);
}

[data-story-upload-widget] .model-upload-preview {
    overflow: visible;
}

[data-story-upload-widget] .model-upload-preview-shell {
    overflow: visible;
}

[data-story-upload-widget] .model-upload-preview-stage {
    overflow: visible;
    border-radius: 18px;
}

.model-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

[data-story-upload-widget] .model-upload-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.model-story-editor-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.field-help {
    display: block;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(255, 245, 239, 0.62);
}

.model-upload-inline-alert {
    margin: 0.45rem 0 0;
    font-size: 0.84rem;
    line-height: 1.35;
    color: #ffb8a4;
    font-weight: 700;
}

.model-story-editor-panel {
    display: grid;
    gap: 0.85rem;
}

.model-story-editor-intro {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 245, 239, 0.76);
    font-size: 0.88rem;
    line-height: 1.45;
}

.model-story-editor-intro strong {
    color: #fff5ef;
    font-size: 0.95rem;
}

.model-story-editor-controls {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: end;
}

.model-story-editor-range {
    accent-color: #ffb36b;
}

.model-story-editor-color {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0.35rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.model-story-editor-color::-webkit-color-swatch-wrapper {
    padding: 0;
}

.model-story-editor-color::-webkit-color-swatch,
.model-story-editor-color::-moz-color-swatch {
    border: 0;
    border-radius: 12px;
}

.model-character-counter {
    justify-self: end;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 245, 239, 0.68);
}

.story-overlay-layer {
    position: absolute;
    z-index: 3;
    max-width: 86%;
    transform: translate(-50%, -50%);
    --story-overlay-scale: 1;
    --story-overlay-glow-color: #1a0d0d;
    --story-overlay-glow-size: 0.5px;
    color: #fff;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: pre-wrap;
    word-break: break-word;
    text-shadow:
        0 0 calc(var(--story-overlay-glow-size) * 1.5) var(--story-overlay-glow-color),
        0 0 calc(var(--story-overlay-glow-size) * 3.2) var(--story-overlay-glow-color),
        0 0 calc(var(--story-overlay-glow-size) * 5.4) var(--story-overlay-glow-color),
        0 2px 12px rgba(0, 0, 0, 0.72),
        0 0 2px rgba(0, 0, 0, 0.9);
}

.story-overlay-layer--sm {
    font-size: calc(1rem * var(--story-overlay-scale));
}

.story-overlay-layer--md {
    font-size: calc(1.28rem * var(--story-overlay-scale));
}

.story-overlay-layer--lg {
    font-size: calc(1.65rem * var(--story-overlay-scale));
}

.story-overlay-layer--left {
    text-align: left;
}

.story-overlay-layer--center {
    text-align: center;
}

.story-overlay-layer--right {
    text-align: right;
}

.story-overlay-layer--editor {
    min-width: 28%;
    padding: 0.65rem 0.8rem;
    border-radius: 22px;
    border: 2px dashed rgba(255, 255, 255, 0.52);
    background: linear-gradient(180deg, rgba(10, 6, 7, 0.18), rgba(10, 6, 7, 0.08));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    touch-action: none;
}

.story-overlay-layer--editor.is-active {
    border-color: rgba(255, 179, 107, 0.88);
    box-shadow:
        0 0 0 3px rgba(255, 179, 107, 0.16),
        0 14px 30px rgba(0, 0, 0, 0.28);
}

.story-overlay-layer--editor.is-empty {
    background: linear-gradient(180deg, rgba(10, 6, 7, 0.2), rgba(10, 6, 7, 0.1));
}

.story-overlay-editor__content {
    min-height: 3rem;
    outline: none;
    white-space: pre-wrap;
    word-break: break-word;
    cursor: text;
    text-align: inherit;
}

.story-overlay-editor__content:empty::before {
    content: attr(data-placeholder);
    color: rgba(255, 245, 239, 0.55);
}

.story-overlay-layer--thumb {
    max-width: 82%;
    padding: 0 0.15rem;
    pointer-events: none;
}

.story-overlay-layer.is-hidden {
    display: none;
}

.model-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.model-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.model-checkbox-item input {
    margin-top: 0;
}

.model-schedule-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.model-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.model-schedule-list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.model-schedule-row {
    display: grid;
    grid-template-columns: 1.1fr 140px minmax(0, 2fr) auto;
    gap: 0.9rem;
    align-items: end;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.model-schedule-fulltime-toggle {
    display: flex;
    align-items: center;
    min-height: 52px;
}

.model-schedule-fulltime-toggle .form-check {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.model-schedule-fulltime-toggle .form-check-input {
    margin-top: 0;
}

.model-schedule-fulltime-toggle .form-check-label {
    flex: 1 1 auto;
    color: #fff5ef;
    font-weight: 700;
}

.model-schedule-time-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.model-schedule-time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.model-schedule-actions {
    margin-bottom: 1rem;
}

.model-remove-row {
    white-space: nowrap;
}

.model-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.model-media-card,
.model-story-item {
    padding: 0.85rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.model-media-card.is-order-moving {
    pointer-events: none;
}

.model-media-preview {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.model-media-preview-badge {
    position: absolute;
    top: 0.6rem;
    z-index: 2;
}

.model-media-preview-badge--right {
    right: 0.6rem;
}

.model-media-preview-badge--left {
    left: 0.6rem;
}

.model-media-order-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.model-media-order-button {
    width: 2.45rem;
    height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 244, 236, 0.9);
    color: #2b100e;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.model-media-order-button i {
    font-size: 1rem;
    line-height: 1;
}

.model-media-order-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #fff5ef;
}

.model-media-order-button:disabled,
.model-media-order-button.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.model-media-preview img,
.model-media-preview video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.model-media-preview [data-portfolio-video-preview] {
    cursor: pointer;
}

.model-story-thumb [data-story-modal-video-preview] {
    cursor: pointer;
}

.model-story-thumb img,
.model-story-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.model-media-footer {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
}

.model-media-footer-main {
    display: grid;
    gap: 0.65rem;
    min-width: 0;
}

.model-media-meta,
.model-media-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.model-media-actions--compact {
    align-items: center;
}

.model-media-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 129, 82, 0.18);
    color: #ffc2ac;
}

.model-media-pill--primary {
    background: #ff7c63;
    color: #2b100e;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.model-media-pill--order {
    background: rgba(255, 244, 236, 0.9);
    color: #2b100e;
}

.model-media-pill--soft {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 245, 239, 0.84);
}

.model-inline-feedback {
    margin-top: 0.85rem;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.model-inline-feedback--error {
    background: rgba(255, 104, 104, 0.12);
    border: 1px solid rgba(255, 104, 104, 0.22);
    color: #ffb8b8;
}

.model-story-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.model-story-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
}

.model-story-thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.model-story-copy {
    display: grid;
    gap: 0.35rem;
}

.model-story-copy strong {
    font-size: 0.98rem;
}

.model-story-copy span {
    color: rgba(255, 245, 239, 0.72);
    font-size: 0.84rem;
}

.mobile-story-overlay {
    z-index: 4;
    max-width: min(78vw, 320px);
    pointer-events: none;
}

.model-panel-empty {
    margin: 0.5rem 0 0;
}

@media (max-width: 991.98px) {
    .model-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .model-panel-stack {
        grid-template-columns: 1fr 1fr;
    }

    .model-media-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .model-auth-card,
    .model-auth-card--wide,
    .model-dashboard-hero-card,
    .model-panel-card {
        border-radius: 24px;
    }

    .model-auth-card {
        padding: 1.4rem;
    }

    .model-form-grid,
    .model-form-grid--compact,
    .model-checkbox-grid,
    .model-panel-stack,
    .model-schedule-row,
    .model-schedule-time-group,
    .model-media-grid,
    .model-story-item {
        grid-template-columns: 1fr;
    }

    .model-story-editor-controls {
        grid-template-columns: 1fr;
    }

    .model-story-editor-toolbar,
    [data-story-upload-widget] .model-upload-actions {
        grid-template-columns: 1fr;
    }

    .model-verification-recorder__controls {
        gap: 0.65rem;
    }

    .model-verification-recorder__control {
        width: 52px;
        height: 52px;
    }

    .model-settings-item {
        padding: 0.9rem 0.95rem;
        align-items: flex-start;
    }

    .model-settings-item-label {
        font-size: 0.96rem;
    }

    .model-settings-status {
        min-width: auto;
        padding-inline: 0.7rem;
        font-size: 0.76rem;
    }

    .model-portal-modal .modal-header,
    .model-portal-modal .modal-footer,
    .model-portal-modal .modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .model-dashboard-header-inner,
    .model-dashboard-hero-card,
    .model-dashboard-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .model-dashboard-header-inner {
        min-height: 72px;
        flex-direction: row;
        align-items: center;
    }

    .model-dashboard-header-actions--desktop {
        display: none;
    }

    .model-dashboard-mobile-menu {
        display: block;
    }

    .model-dashboard-statuses {
        align-items: flex-start;
    }
}
