.story-cast-page {
    --story-rose: #ff2a7a;
    --story-hot: #ff5e36;
    --story-pink: #ffb2d4;
    --story-violet: #de9cff;
    --story-gold: #ffb02e;
    --story-ink: #0b040f;
    --story-muted: #a08c9f;
    --story-card-bg: rgba(20, 8, 19, 0.72);
    --story-card-border: rgba(255, 112, 164, 0.42);
    --story-card-copy: rgba(255, 239, 247, 0.7);
    --story-card-muted: rgba(255, 239, 247, 0.5);
    --story-card-shadow:
        0 24px 70px rgba(0, 0, 0, 0.48),
        inset 0 0 34px rgba(255, 101, 166, 0.05);
    --story-serif: "Playfair Display", "Didot", Georgia, "Times New Roman", serif;
    --story-sans: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --story-button: Montserrat, "Plus Jakarta Sans", Inter, sans-serif;
    --story-cast-product-header-height: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--story-ink);
    color: #fff;
    font-family: var(--story-sans);
    isolation: isolate;
}
.story-cast-page--product {
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
}
.story-cast-page--product .story-cast-shell {
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
}
.story-cast-page button {
    font-family: inherit;
}
@media (max-width: 767px), (pointer: coarse) and (max-width: 900px) {
.story-cast-page {
        display: none;
    }
.story-cast-page--product {
        display: block;
    }
}
.story-cast-scene {
    position: fixed;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.004);
    animation: story-cast-scene-breathe 12s ease-in-out infinite alternate;
    filter: saturate(1.08) contrast(1.02);
    pointer-events: none;
}
.story-cast-vignette {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 50%, rgba(0, 0, 0, 0.68) 71%, rgba(0, 0, 0, 0.48)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 55%, rgba(0, 0, 0, 0.36)),
        radial-gradient(circle at 80% 30%, rgba(253, 45, 101, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 44% 18%, rgba(255, 92, 143, 0.13), transparent 28%);
}
.story-cast-shell {
    display: flex;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    padding: 24px clamp(72px, 5.6vw, 108px) 36px 52px;
}
.story-casting-product-header {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 178, 212, 0.14);
}
.story-casting-product-header-copy {
    display: grid;
    max-width: 760px;
    gap: 9px;
}
.story-casting-product-brand {
    display: inline-grid;
    width: fit-content;
    gap: 4px;
    color: #fff4f7;
    font-family: var(--story-serif);
    font-size: clamp(22px, 1.7vw, 30px);
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 0 18px rgba(255, 160, 196, 0.34);
}
.story-casting-product-brand span {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
}
.story-casting-product-brand small {
    color: rgba(255, 247, 250, 0.58);
    font-family: var(--story-sans);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1;
    text-transform: uppercase;
}
.story-casting-product-brand svg {
    width: 13px;
    height: 13px;
    margin-top: 1px;
    color: var(--story-rose);
    filter: drop-shadow(0 0 8px var(--story-rose));
}
.story-casting-product-header-copy h1 {
    margin: 0;
    color: #fff7fb;
    font-family: var(--story-serif);
    font-size: clamp(44px, 4.8vw, 72px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.98;
}
.story-casting-product-header-copy p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 240, 247, 0.68);
    font-size: 14px;
    line-height: 1.45;
}
.story-casting-product-header-controls {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.story-casting-product-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 178, 212, 0.16);
    border-radius: 999px;
    background: rgba(10, 5, 13, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.story-casting-product-tabs a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 247, 250, 0.72);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.story-casting-product-tabs a.is-active {
    border-color: rgba(255, 142, 190, 0.46);
    background: rgba(255, 112, 164, 0.12);
    color: #fff7fb;
}
.story-casting-product-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.story-cast-header {
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}
.story-cast-header--workspace {
    grid-template-columns: minmax(0, 1fr) auto;
}
.story-cast-brand-row {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}
.story-cast-route-back {
    display: inline-flex;
    min-height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid rgba(255, 178, 212, 0.3);
    border-radius: 999px;
    background: rgba(10, 5, 13, 0.42);
    color: rgba(255, 243, 248, 0.92);
    font: 800 12px / 1 var(--story-sans);
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.story-cast-route-back svg {
    width: 17px;
    height: 17px;
}
.story-cast-logo {
    display: inline-grid;
    width: fit-content;
    gap: 7px;
    color: #fff4f7;
    font-family: var(--story-serif);
    font-size: 41px;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 0 18px rgba(255, 160, 196, 0.45);
}
.story-cast-logo span {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
}
.story-cast-logo small {
    color: rgba(255, 247, 250, 0.72);
    font-family: var(--story-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}
.story-cast-logo svg {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    color: var(--story-rose);
    filter: drop-shadow(0 0 8px var(--story-rose));
}
.story-cast-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}
.story-cast-credit-balance {
    appearance: none;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(255, 118, 169, 0.34);
    border-radius: 999px;
    background: rgba(17, 7, 20, 0.46);
    box-shadow: inset 0 0 14px rgba(255, 76, 151, 0.08);
    color: #fff6fb;
    cursor: pointer;
    font: inherit;
    white-space: nowrap;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.story-cast-credit-balance:hover,
.story-cast-credit-balance:focus-visible {
    border-color: rgba(255, 178, 212, 0.76);
    box-shadow:
        inset 0 0 14px rgba(255, 76, 151, 0.13),
        0 0 18px rgba(255, 80, 151, 0.22);
    transform: translateY(-1px);
    outline: none;
}
.story-cast-credit-balance-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
}
.story-cast-credit-balance strong {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.story-cast-credit-balance span {
    color: rgba(255, 247, 250, 0.66);
    font-size: 12px;
    font-weight: 600;
}
.story-cast-sign-in,
.story-cast-assets-action,
.story-cast-sample {
    appearance: none;
    border: 0;
    color: inherit;
    font: inherit;
}
.story-cast-sign-in {
    padding: 10px 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}
.story-cast-assets-action {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 118, 169, 0.34);
    border-radius: 999px;
    background: rgba(17, 7, 20, 0.46);
    box-shadow: inset 0 0 14px rgba(255, 76, 151, 0.08);
    color: rgba(255, 247, 250, 0.9);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.story-cast-assets-action:hover,
.story-cast-assets-action.is-active {
    border-color: rgba(255, 178, 212, 0.76);
    color: #fff;
    box-shadow:
        inset 0 0 14px rgba(255, 76, 151, 0.13),
        0 0 18px rgba(255, 80, 151, 0.22);
}
.story-cast-paywall-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    align-items: start;
    justify-items: center;
    overflow-y: auto;
    padding: clamp(16px, 3vh, 28px);
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overscroll-behavior: contain;
}
.story-cast-paywall {
    position: relative;
    width: min(940px, calc(100vw - 32px));
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
    box-sizing: border-box;
    margin-block: auto;
    overflow-y: auto;
    padding: 52px 56px 44px;
    border: 1px solid var(--story-card-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 92, 150, 0.16), transparent 45%),
        linear-gradient(135deg, rgba(255, 74, 143, 0.05), transparent 46%),
        rgba(17, 8, 17, 0.94);
    box-shadow:
        var(--story-card-shadow),
        0 30px 90px rgba(0, 0, 0, 0.64);
    scrollbar-gutter: stable;
    text-align: center;
}
.story-cast-paywall-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 150, 188, 0.34);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #fff4fa;
    cursor: pointer;
}
.story-cast-paywall-close svg {
    width: 20px;
    height: 20px;
}
.story-cast-paywall h2 {
    margin: 0;
    color: #fff4fa;
    font-family: var(--story-serif);
    font-size: clamp(54px, 5vw, 74px);
    font-weight: 500;
    line-height: 1;
}
.story-cast-paywall > p {
    margin: 14px 0 34px;
    color: var(--story-card-copy);
    font-size: 18px;
}
.story-cast-paywall-secondary-action {
    display: inline-grid;
    width: max-content;
    max-width: min(100%, 360px);
    box-sizing: border-box;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: -14px auto 26px;
    padding: 10px 16px 11px 14px;
    border: 1px solid rgba(255, 142, 190, 0.42);
    border-radius: 999px;
    background: rgba(31, 11, 25, 0.72);
    box-shadow: 0 0 24px rgba(255, 93, 146, 0.2);
    color: #ffd6e8;
    font-family: var(--story-sans);
    text-align: left;
    cursor: pointer;
}
.story-cast-paywall-secondary-action svg {
    width: 24px;
    height: 24px;
    color: #ff9fc9;
}
.story-cast-paywall-secondary-action span {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.story-cast-paywall-secondary-action strong,
.story-cast-paywall-secondary-action small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.story-cast-paywall-secondary-action strong {
    color: #fff7fb;
    font-size: 14px;
    font-weight: 800;
}
.story-cast-paywall-secondary-action small {
    color: rgba(255, 218, 234, 0.78);
    font-size: 12px;
    font-weight: 650;
}
.story-cast-balance-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin: -8px auto 32px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 112, 164, 0.34);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 50%, rgba(222, 156, 255, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 117, 166, 0.08), transparent 44%),
        rgba(13, 7, 16, 0.7);
    box-shadow:
        inset 0 0 24px rgba(255, 83, 154, 0.06),
        0 16px 40px rgba(0, 0, 0, 0.22);
    text-align: left;
}
.story-cast-balance-coin {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 178, 212, 0.34);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 22px rgba(255, 80, 151, 0.2);
}
.story-cast-balance-coin-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.story-cast-balance-panel span,
.story-cast-balance-panel small,
.story-cast-balance-panel strong {
    display: inline-block;
}
.story-cast-balance-panel span {
    width: 100%;
    color: rgba(255, 247, 250, 0.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.story-cast-balance-panel strong {
    margin-top: 4px;
    color: #fff4fa;
    font-family: var(--story-serif);
    font-size: 44px;
    font-weight: 500;
    line-height: 0.95;
}
.story-cast-balance-panel small {
    margin-left: 8px;
    color: var(--story-pink);
    font-size: 13px;
    font-weight: 600;
}
.story-cast-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: stretch;
    gap: 20px;
}
.story-cast-plan-state {
    display: grid;
    min-height: 220px;
    grid-column: 1 / -1;
    place-items: center;
    gap: 16px;
    padding: 26px;
    border: 1px solid rgba(255, 112, 164, 0.28);
    border-radius: 22px;
    background: rgba(15, 9, 17, 0.72);
    color: rgba(255, 247, 250, 0.72);
    font-size: 15px;
}
.story-cast-plan-state p {
    margin: 0;
}
.story-cast-plan-state button {
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid rgba(255, 112, 164, 0.58);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff7fb;
    cursor: pointer;
}
.story-cast-plan-card {
    position: relative;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 34px 28px 26px;
    border: 1px solid var(--story-card-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 92, 150, 0.12), transparent 46%),
        linear-gradient(135deg, rgba(255, 117, 166, 0.06), transparent 42%),
        var(--story-card-bg);
    box-shadow: var(--story-card-shadow);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.story-cast-plan-card.is-selected {
    border-color: var(--story-pink);
    box-shadow:
        0 0 24px rgba(255, 83, 154, 0.28),
        inset 0 0 18px rgba(255, 83, 154, 0.06);
}
.story-cast-plan-card.is-featured {
    min-height: 380px;
    padding: 38px 30px 28px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 98, 168, 0.22), transparent 46%),
        linear-gradient(135deg, rgba(255, 117, 166, 0.1), transparent 42%),
        rgba(19, 8, 20, 0.9);
}
.story-cast-plan-card.is-selected {
    border-color: var(--story-pink);
    box-shadow:
        0 0 24px rgba(255, 83, 154, 0.28),
        inset 0 0 18px rgba(255, 83, 154, 0.06);
    transform: translateY(-8px);
}
.story-cast-plan-card.is-featured.is-selected {
    box-shadow:
        0 0 36px rgba(255, 83, 154, 0.34),
        0 22px 60px rgba(255, 45, 122, 0.16),
        inset 0 0 28px rgba(255, 83, 154, 0.1);
}
.story-cast-plan-card.is-featured:not(.is-selected) {
    border-color: rgba(255, 112, 164, 0.42);
    box-shadow: var(--story-card-shadow);
}
.story-cast-plan-badge {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 178, 212, 0.48);
    background: rgba(31, 12, 29, 0.9);
    box-shadow: 0 0 18px rgba(255, 78, 149, 0.55);
    color: var(--story-pink);
    font-size: 14px;
}
.story-cast-plan-card h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--story-serif);
    color: #fff4fa;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.1;
}
.story-cast-plan-card h3 svg {
    width: 16px;
    height: 16px;
    color: var(--story-pink);
}
.story-cast-plan-price {
    display: grid;
    gap: 4px;
}
.story-cast-plan-price span {
    color: rgba(255, 247, 250, 0.44);
    font-size: 15px;
    text-decoration: line-through;
}
.story-cast-plan-card strong {
    color: #ffd2e6;
    font-family: var(--story-serif);
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
}
.story-cast-plan-card p {
    margin: 0;
    color: var(--story-card-copy);
    font-size: 15px;
    line-height: 1.45;
}
.story-cast-plan-card ul {
    display: grid;
    gap: 13px;
    width: 100%;
    margin: 8px 0 8px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 127, 179, 0.18);
    list-style: none;
}
.story-cast-plan-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--story-card-copy);
    font-size: 14px;
    line-height: 1.35;
}
.story-cast-plan-card li svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    padding: 2px;
    border: 1px solid rgba(255, 126, 181, 0.56);
    border-radius: 50%;
    color: var(--story-pink);
}
.story-cast-plan-button {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: auto;
    padding: 16px 22px;
    border: 1px solid rgba(255, 112, 164, 0.58);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff7fb;
    cursor: pointer;
    font-weight: 500;
}
.story-cast-plan-card.is-selected .story-cast-plan-button {
    border-color: transparent;
    background: linear-gradient(90deg, var(--story-hot), var(--story-rose), #b11172);
    box-shadow: 0 0 24px rgba(255, 80, 151, 0.44);
    min-height: 58px;
    font-size: 16px;
}
.story-cast-button-spinner {
    animation: story-cast-progress-spin 1s linear infinite;
}
.story-cast-wish-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 142, 190, 0.3);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 118, 169, 0.13), rgba(255, 255, 255, 0.04)),
        rgba(12, 5, 15, 0.78);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.story-cast-wish-entry-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}
.story-cast-wish-entry-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    color: var(--story-pink);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.story-cast-wish-entry-kicker svg {
    width: 14px;
    height: 14px;
}
.story-cast-wish-entry h3 {
    margin: 0;
    color: #fff7fb;
    font-family: var(--story-serif);
    font-size: clamp(26px, 2.5vw, 38px);
    font-weight: 500;
    line-height: 1;
}
.story-cast-wish-entry p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 240, 247, 0.68);
    font-size: 14px;
    line-height: 1.45;
}
.story-cast-wish-entry-button {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid rgba(255, 142, 190, 0.48);
    border-radius: 999px;
    background: rgba(255, 42, 122, 0.18);
    color: #fff6fb;
    cursor: pointer;
    font: 850 13px / 1 var(--story-sans);
    white-space: nowrap;
}
.story-cast-wish-entry-button svg {
    width: 16px;
    height: 16px;
    color: var(--story-pink);
}
.story-cast-wish-backdrop {
    position: fixed;
    z-index: 96;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    overscroll-behavior: contain;
    padding: clamp(16px, 3vw, 32px);
    background: rgba(3, 1, 5, 0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.story-cast-wish-dialog {
    position: relative;
    display: grid;
    width: min(620px, calc(100vw - 32px));
    max-height: calc(100dvh - 36px);
    gap: 22px;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 28px;
    border: 1px solid rgba(255, 142, 190, 0.38);
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(255, 72, 145, 0.18), transparent 34%),
        rgba(16, 5, 18, 0.97);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.66);
}
.story-cast-wish-close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: inline-flex;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 142, 190, 0.3);
    border-radius: 999px;
    background: rgba(10, 4, 13, 0.76);
    color: rgba(255, 247, 250, 0.86);
    cursor: pointer;
}
.story-cast-wish-close svg {
    width: 19px;
    height: 19px;
    pointer-events: none;
}
.story-cast-wish-heading {
    display: grid;
    gap: 10px;
    padding-right: 42px;
}
.story-cast-wish-heading > span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    color: var(--story-pink);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.story-cast-wish-heading svg {
    width: 15px;
    height: 15px;
}
.story-cast-wish-heading h2,
.story-cast-wish-success h2 {
    margin: 0;
    color: #fff7fb;
    font-family: var(--story-serif);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    line-height: 0.98;
}
.story-cast-wish-heading p,
.story-cast-wish-success p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 240, 247, 0.68);
    font-size: 14px;
    line-height: 1.5;
}
.story-cast-wish-form {
    display: grid;
    gap: 18px;
}
.story-cast-wish-field {
    display: grid;
    gap: 10px;
}
.story-cast-wish-field > span {
    color: rgba(255, 247, 250, 0.88);
    font-size: 13px;
    font-weight: 800;
}
.story-cast-wish-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px;
}
.story-cast-wish-chip-grid button,
.story-cast-wish-segmented button {
    min-width: 0;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 142, 190, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 240, 247, 0.72);
    cursor: pointer;
    font: 800 12px / 1.1 var(--story-sans);
    overflow-wrap: anywhere;
}
.story-cast-wish-chip-grid button.is-selected,
.story-cast-wish-segmented button.is-selected {
    border-color: rgba(255, 178, 212, 0.64);
    background: rgba(255, 42, 122, 0.2);
    color: #fff7fb;
}
.story-cast-wish-field input,
.story-cast-wish-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 142, 190, 0.24);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff7fb;
    font: 500 14px / 1.45 var(--story-sans);
    outline: none;
}
.story-cast-wish-field input {
    min-height: 42px;
    padding: 0 13px;
}
.story-cast-wish-field textarea {
    min-height: 112px;
    padding: 12px 13px;
    resize: vertical;
}
.story-cast-wish-field input::placeholder,
.story-cast-wish-field textarea::placeholder {
    color: rgba(255, 240, 247, 0.42);
}
.story-cast-wish-field input:focus,
.story-cast-wish-field textarea:focus {
    border-color: rgba(255, 178, 212, 0.64);
    box-shadow: 0 0 0 3px rgba(255, 118, 169, 0.12);
}
.story-cast-wish-segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.story-cast-wish-submit {
    display: inline-flex;
    min-height: 48px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid rgba(255, 178, 212, 0.58);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 42, 122, 0.88), rgba(255, 112, 174, 0.72));
    color: #fff7fb;
    cursor: pointer;
    font: 850 14px / 1 var(--story-sans);
}
.story-cast-wish-submit:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}
.story-cast-wish-submit svg {
    width: 17px;
    height: 17px;
}
.story-cast-wish-success {
    display: grid;
    min-height: 280px;
    align-content: center;
    justify-items: start;
    gap: 16px;
}
.story-cast-wish-success > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 178, 212, 0.44);
    border-radius: 999px;
    background: rgba(255, 42, 122, 0.16);
    color: #ffd7e8;
}
.story-cast-wish-success > span svg {
    width: 22px;
    height: 22px;
}
.story-cast-page--product .story-cast-wish-backdrop{
    align-items: start;
    overflow-y: auto;
    padding-top: calc(var(--story-cast-product-header-height) + clamp(16px, 2vw, 24px));
}
.story-cast-page--product .story-cast-wish-dialog{
    max-height: calc(100dvh - var(--story-cast-product-header-height) - clamp(32px, 5vw, 56px));
    overflow-y: auto;
    overscroll-behavior: contain;
}
.story-cast-story-card {
    display: grid;
    box-sizing: border-box;
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    justify-self: stretch;
    overflow: hidden;
    min-height: 230px;
    border: 1px solid rgba(255, 118, 169, 0.22);
    border-radius: 8px;
    background: rgba(10, 4, 13, 0.78);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.story-cast-story-card:hover,
.story-cast-story-card:focus-within,
.story-cast-story-card.is-expanded {
    border-color: rgba(255, 178, 212, 0.58);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
}
.story-cast-story-card.is-expanded {
    grid-row: span 2;
    grid-template-rows: 216px minmax(0, 1fr);
    min-height: 476px;
}
.story-cast-story-card-cover {
    position: relative;
    display: grid;
    isolation: isolate;
    min-height: 0;
    align-content: end;
    gap: 6px;
    overflow: hidden;
    width: 100%;
    padding: 14px;
    border: 0;
    background: #08040b;
    color: #fff6fb;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.story-cast-story-card-cover img,
.story-cast-story-card-cover video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}
.story-cast-story-card:hover .story-cast-story-card-cover img,
.story-cast-story-card:hover .story-cast-story-card-cover video,
.story-cast-story-card.is-expanded .story-cast-story-card-cover img,
.story-cast-story-card.is-expanded .story-cast-story-card-cover video {
    transform: scale(1.025);
}
.story-cast-story-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(8, 3, 10, 0.22) 38%, rgba(8, 3, 10, 0.92)),
        radial-gradient(circle at 20% 18%, rgba(255, 92, 150, 0.18), transparent 34%);
    pointer-events: none;
}
.story-cast-story-card-badge,
.story-cast-story-card-status,
.story-cast-story-card-cover strong,
.story-cast-story-card-cover small {
    position: relative;
    z-index: 2;
}
.story-cast-story-card-badge,
.story-cast-story-card-status {
    width: fit-content;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.story-cast-story-card-badge {
    padding: 4px 7px;
    background: rgba(0, 0, 0, 0.48);
    color: rgba(255, 240, 247, 0.78);
}
.story-cast-story-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 178, 212, 0.26);
    background: rgba(14, 5, 16, 0.58);
    color: #ffd4e6;
}
.story-cast-story-card-cover strong {
    overflow: hidden;
    font-family: var(--story-serif);
    font-size: clamp(29px, 2.8vw, 40px);
    font-weight: 500;
    line-height: 0.98;
    text-overflow: ellipsis;
}
.story-cast-story-card-cover small {
    color: var(--story-pink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.story-cast-story-card.is-unavailable {
    opacity: 0.72;
}
.story-cast-story-card-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 14px;
    min-height: 0;
    padding: 14px;
    border-top: 1px solid rgba(255, 247, 250, 0.1);
    background: rgba(17, 6, 20, 0.86);
}
.story-cast-story-card-preview {
    position: relative;
    display: grid;
    overflow: hidden;
    align-self: start;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 118, 169, 0.18);
    border-radius: 6px;
    background: #050307;
    place-items: center;
}
.story-cast-story-card-preview video,
.story-cast-story-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-cast-story-card-preview svg {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 11px;
    border-radius: 50%;
    background: rgba(245, 45, 130, 0.9);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 80, 151, 0.42);
}
.story-cast-story-card-copy {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
}
.story-cast-story-card-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: rgba(255, 240, 247, 0.72);
    font-size: 13px;
    line-height: 1.45;
}
.story-cast-story-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.story-cast-story-card-tags span {
    padding: 4px 7px;
    border: 1px solid rgba(255, 118, 169, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 240, 247, 0.72);
    font-size: 10px;
    font-weight: 800;
}
.story-cast-story-card-episodes {
    display: grid;
    gap: 8px;
}
.story-cast-story-card-episodes > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 247, 250, 0.08);
}
.story-cast-story-card-episodes span {
    color: rgba(255, 178, 212, 0.8);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.story-cast-story-card-episodes strong,
.story-cast-story-card-episodes small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.story-cast-story-card-episodes strong {
    color: #fff7fb;
    font-size: 13px;
}
.story-cast-story-card-episodes small {
    color: rgba(255, 240, 247, 0.56);
    font-size: 12px;
}
.story-cast-story-card-footer {
    display: flex;
    grid-column: auto;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 0;
}
.story-cast-story-card-primary,
.story-cast-story-card-secondary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 999px;
    color: #fff6fb;
    cursor: pointer;
    font: 800 13px / 1 var(--story-sans);
    text-decoration: none;
}
.story-cast-story-card-primary {
    border: 0;
    background: linear-gradient(135deg, #ff5b46, #ed2f87);
    box-shadow: 0 14px 30px rgba(237, 47, 135, 0.26);
}
.story-cast-story-card-secondary {
    border: 1px solid rgba(255, 118, 169, 0.24);
    background: rgba(255, 255, 255, 0.04);
}
.story-cast-story-card-primary:disabled,
.story-cast-story-card-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}
.story-cast-story-card-primary svg,
.story-cast-story-card-secondary svg {
    width: 17px;
    height: 17px;
}
.story-cast-story-card-primary > span {
    display: grid;
    gap: 3px;
    line-height: 1.05;
}
.story-cast-story-card-primary small {
    color: rgba(255, 246, 251, 0.78);
    font-size: 10px;
    font-weight: 800;
}
.story-cast-title-glow {
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 42, 122, 0.6))
        drop-shadow(0 0 25px rgba(255, 42, 122, 0.35));
}
.story-cast-story-word {
    display: inline-flex;
    align-items: flex-start;
    white-space: nowrap;
}
.story-cast-gradient-text {
    display: inline-block;
    background: linear-gradient(180deg, #ff78c0 0%, #ff5eb3 45%, #d81b75 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--story-serif);
    font-weight: 700;
    -webkit-text-fill-color: transparent;
}
.story-cast-glowing-star {
    width: 38px;
    height: 38px;
    margin-left: 7px;
    color: var(--story-rose);
    filter: drop-shadow(0 0 5px rgba(255, 42, 122, 0.8))
        drop-shadow(0 0 13px rgba(255, 42, 122, 0.48));
    vertical-align: 0.42em;
}
.story-cast-sample {
    display: inline-flex;
    width: max-content;
    min-height: 34px;
    align-items: center;
    align-self: center;
    justify-self: center;
    gap: 10px;
    margin: 16px 0 0;
    border: 0;
    border-bottom: 1px dotted rgba(255, 142, 190, 0.7);
    background: transparent;
    color: #ff9fc9;
    font-family: var(--story-serif);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-bottom-color 0.2s ease;
}
.story-cast-sample svg {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: currentColor;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}
.story-cast-sample:hover {
    color: #ffd7e8;
    border-bottom-color: rgba(255, 215, 232, 0.9);
}
.story-cast-sample:hover svg {
    color: currentColor;
    border-color: transparent;
}
.story-cast-sample,
.story-cast-sign-in {
    cursor: pointer;
}
@keyframes story-cast-scene-breathe {
    from {
        transform: scale(1.004) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.018) translate3d(-0.16%, -0.12%, 0);
    }
}
@media (max-width: 1400px) {
.story-cast-shell {
        padding: 24px 40px 24px 24px;
    }
.story-cast-header {
        grid-template-columns: 1fr auto;
    }
}
@media (max-height: 820px) and (min-width: 981px) {
.story-cast-paywall-backdrop {
        padding: 16px 24px;
    }
.story-cast-paywall {
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        padding: 34px 46px 30px;
    }
.story-cast-paywall h2 {
        font-size: clamp(46px, 4.6vw, 62px);
    }
.story-cast-paywall > p {
        margin: 10px 0 22px;
        font-size: 16px;
    }
.story-cast-plan-grid {
        gap: 16px;
    }
.story-cast-plan-card,
    .story-cast-plan-card.is-featured {
        min-height: 318px;
        gap: 10px;
        padding: 28px 24px 22px;
    }
.story-cast-plan-card.is-selected {
        transform: translateY(-4px);
    }
.story-cast-plan-card h3 {
        font-size: 28px;
    }
.story-cast-plan-card strong {
        font-size: 46px;
    }
.story-cast-plan-card p {
        font-size: 14px;
        line-height: 1.35;
    }
.story-cast-plan-card ul {
        gap: 9px;
        margin: 4px 0;
        padding-top: 14px;
    }
.story-cast-plan-card li {
        font-size: 13px;
    }
.story-cast-plan-button {
        padding: 12px 18px;
    }
.story-cast-plan-card.is-selected .story-cast-plan-button {
        min-height: 52px;
    }
}
@media (max-width: 980px) {
.story-cast-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }
.story-cast-shell {
        height: auto;
        min-height: 100vh;
        padding: 19px 16px 30px;
    }
.story-cast-header {
        display: flex;
        justify-content: space-between;
    }
.story-casting-product-header {
        align-items: stretch;
        grid-template-columns: 1fr;
        gap: 16px;
    }
.story-casting-product-header-controls {
        align-items: flex-start;
    }
.story-casting-product-actions {
        justify-content: flex-start;
    }
.story-cast-logo {
        font-size: 31px;
    }
.story-cast-sign-in {
        display: none;
    }
.story-cast-actions {
        gap: 10px;
    }
.story-cast-credit-balance {
        min-height: 34px;
        padding: 0 10px;
    }
.story-cast-assets-action {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
.story-cast-credit-balance span {
        display: none;
    }
.story-cast-paywall-backdrop {
        align-items: start;
        overflow-y: auto;
        padding: 18px 12px;
    }
.story-cast-paywall {
        max-height: calc(100vh - 36px);
        max-height: calc(100dvh - 36px);
        padding: 42px 18px 24px;
    }
.story-cast-paywall h2 {
        font-size: clamp(42px, 13vw, 56px);
    }
.story-cast-balance-panel {
        gap: 14px;
        margin-bottom: 24px;
        padding: 16px;
    }
.story-cast-plan-grid {
        grid-template-columns: 1fr;
    }
.story-cast-plan-card,
    .story-cast-plan-card.is-featured {
        min-height: auto;
        padding: 30px 24px 24px;
        transform: none;
    }
.story-cast-wish-entry {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }
.story-cast-wish-entry h3 {
        font-family: var(--story-sans);
        font-size: 30px;
        font-weight: 700;
        line-height: 1.02;
    }
.story-cast-wish-entry-button {
        width: 100%;
    }
.story-cast-wish-backdrop {
        align-items: end;
        min-height: 100svh;
        max-height: 100svh;
        box-sizing: border-box;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: calc(env(safe-area-inset-top) + 14px) 14px
            calc(env(safe-area-inset-bottom) + 14px);
    }
.story-cast-wish-dialog {
        width: 100%;
        max-height: calc(
            100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px
        );
        gap: 18px;
        padding: 24px 16px 16px;
    }
.story-cast-wish-heading {
        padding-right: 40px;
    }
.story-cast-wish-heading h2,
    .story-cast-wish-success h2 {
        font-family: var(--story-sans);
        font-size: 36px;
        font-weight: 700;
        line-height: 1.02;
    }
.story-cast-wish-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.story-cast-wish-segmented {
        grid-template-columns: 1fr;
    }
.story-cast-wish-submit {
        width: 100%;
    }
.story-cast-story-card,
    .story-cast-story-card.is-expanded {
        grid-row: auto;
        grid-template-rows: auto;
        min-height: 0;
    }
.story-cast-story-card-cover {
        min-height: 210px;
    }
.story-cast-story-card-details {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
.story-cast-story-card-preview {
        width: 100%;
    }
.story-cast-story-card-footer {
        align-items: stretch;
        flex-direction: column;
    }
.story-cast-story-card-primary,
    .story-cast-story-card-secondary {
        width: 100%;
    }
.story-cast-story-card-back {
        position: absolute;
        top: 14px;
        left: 14px;
        z-index: 5;
        display: inline-grid;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(255, 178, 212, 0.28);
        border-radius: 50%;
        background: rgba(14, 5, 16, 0.72);
        color: #ffd4e6;
        cursor: pointer;
        place-items: center;
    }
.story-cast-story-card-back svg {
        width: 17px;
        height: 17px;
    }
}
.story-cast-wish-entry--template-list {
    width: min(760px, 100%);
}
.story-cast-shell--templates {
    min-height: 100vh;
    padding-right: clamp(48px, 6vw, 112px);
}
.story-cast-page--templates {
    background: linear-gradient(135deg, #130812 0%, #1b0d17 48%, #09050a 100%);
}
.story-cast-page--templates .story-cast-scene {
    opacity: 0.72;
    filter: saturate(1.04) contrast(1.02);
}
.story-cast-page--templates .story-cast-vignette {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.32)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.36));
}
.story-cast-template-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(18px, 1.6vw, 26px);
    width: 100%;
    margin-top: clamp(12px, 2vh, 26px);
}
.story-cast-template-list-heading {
    display: grid;
    max-width: 760px;
    gap: 8px;
}
.story-cast-template-list-heading span {
    color: var(--story-pink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.story-cast-template-list-heading h1 {
    margin: 0;
    font-family: var(--story-serif);
    font-size: clamp(42px, 4.7vw, 68px);
    font-weight: 800;
    line-height: 0.98;
}
.story-cast-template-list-heading p {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 240, 247, 0.76);
    font-size: 15px;
    line-height: 1.45;
}
.story-cast-template-list-state {
    display: grid;
    width: min(440px, 100%);
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 118, 169, 0.28);
    border-radius: 8px;
    background: rgba(12, 5, 16, 0.68);
    color: rgba(255, 244, 249, 0.78);
}
.story-cast-template-list-state p {
    margin: 0;
}
.story-cast-template-list-state button {
    width: fit-content;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(255, 118, 169, 0.36);
    border-radius: 999px;
    background: rgba(255, 42, 122, 0.15);
    color: #fff6fb;
    cursor: pointer;
}
.story-cast-template-grid {
    --story-cast-template-grid-gap: clamp(16px, 1.6vw, 24px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: var(--story-cast-template-grid-gap);
    align-items: stretch;
}
.story-cast-template-story-card {
    position: relative;
    box-sizing: border-box;
    aspect-ratio: 4 / 3;
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    justify-self: stretch;
    min-height: 0;
    color: #fff6fb;
}
.story-cast-template-story-card:hover {
    transform: translateY(-2px);
}
.story-cast-template-story-card.is-expanded {
    grid-row: auto;
    grid-template-rows: minmax(0, 1fr);
}
.story-cast-template-story-card .story-cast-story-card-cover {
    height: 100%;
    aspect-ratio: auto;
    min-height: 0;
}
.story-cast-template-story-card .story-cast-story-card-cover img,
.story-cast-template-story-card .story-cast-story-card-cover video {
    filter: brightness(1.04) saturate(1.06);
}
.story-cast-template-story-card .story-cast-story-card-cover video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-cast-template-story-card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.story-cast-template-story-card .story-cast-story-card-cover::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(8, 3, 10, 0.18) 36%, rgba(8, 3, 10, 0.9)),
        radial-gradient(circle at 20% 18%, rgba(255, 92, 150, 0.12), transparent 34%);
}
.story-cast-template-story-card-logline,
.story-cast-template-story-card-cover-tags {
    position: relative;
    z-index: 2;
}
.story-cast-template-story-card-logline {
    display: -webkit-box;
    overflow: hidden;
    max-width: min(430px, 92%);
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: rgba(255, 240, 247, 0.76);
    font-size: clamp(12px, 0.9vw, 14px);
    line-height: 1.38;
}
.story-cast-template-story-card-cover-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.story-cast-template-story-card-cover-tags i {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(255, 118, 169, 0.22);
    border-radius: 999px;
    background: rgba(8, 3, 10, 0.46);
    color: rgba(255, 240, 247, 0.76);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}
.story-cast-template-story-card.is-expanded .story-cast-story-card-badge,
.story-cast-template-story-card.is-expanded .story-cast-story-card-cover strong,
.story-cast-template-story-card.is-expanded .story-cast-template-story-card-logline,
.story-cast-template-story-card.is-expanded .story-cast-template-story-card-cover-tags,
.story-cast-template-story-card.is-expanded .story-cast-story-card-cover small {
    opacity: 0;
    pointer-events: none;
}
.story-cast-template-story-card-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 101, 166, 0.18), transparent 38%),
        #08040b;
    place-items: center;
}
.story-cast-template-story-card-placeholder svg {
    width: 56px;
    height: 56px;
    color: rgba(255, 244, 249, 0.62);
}
.story-cast-template-grid--web {
    grid-auto-rows: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.story-cast-template-grid--web .story-cast-template-story-card {
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
}
.story-cast-template-grid--web .story-cast-template-story-card.is-expanded {
    grid-row: auto;
    grid-template-rows: minmax(0, 1fr);
}
.story-cast-template-grid--web .story-cast-template-story-card .story-cast-story-card-cover {
    min-height: 0;
}
.story-cast-template-story-card-details {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    align-content: end;
    gap: 10px;
    padding: 20px;
    border-top: 0;
    background: transparent;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
    backdrop-filter: none;
}
.story-cast-story-card-footer.story-cast-template-story-card-footer {
    grid-column: auto;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}
.story-cast-template-story-card-primary {
    width: fit-content;
    min-height: 52px;
    margin-inline: auto;
    padding: 0 22px;
    font-size: 14px;
}
.story-cast-template-story-card-sound-toggle {
    display: inline-flex;
    width: fit-content;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(8, 4, 11, 0.68);
    color: #fff6fa;
    cursor: pointer;
    font: 800 12px / 1 var(--story-sans);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(255, 105, 172, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.story-cast-template-story-card-sound-toggle--prompt {
    min-height: 42px;
    padding: 0 16px;
    background: rgba(8, 4, 11, 0.82);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.36),
        0 0 24px rgba(255, 105, 172, 0.26);
}
.story-cast-template-story-card-sound-toggle svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #ff9fc9;
}
.story-cast-template-story-card-sound-toggle span {
    white-space: nowrap;
}
.story-cast-template-story-card-close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    display: inline-grid;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 178, 212, 0.28);
    border-radius: 50%;
    background: rgba(14, 5, 16, 0.72);
    color: #ffd4e6;
    cursor: pointer;
    place-items: center;
}
.story-cast-template-story-card-close svg {
    width: 17px;
    height: 17px;
}
.story-cast-template-card {
    position: relative;
    display: grid;
    min-height: clamp(300px, 43vh, 360px);
    align-content: end;
    gap: 10px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 118, 169, 0.3);
    border-radius: 8px;
    background: rgba(12, 5, 16, 0.76);
    color: #fff6fb;
    text-decoration: none;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}
.story-cast-template-card:hover,
.story-cast-template-card:focus-visible {
    border-color: rgba(255, 178, 212, 0.78);
    transform: translateY(-2px);
    outline: none;
}
.story-cast-template-card img,
.story-cast-template-card-placeholder {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-cast-template-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 16%, rgba(8, 3, 10, 0.22) 42%, rgba(8, 3, 10, 0.92));
}
.story-cast-template-card-placeholder {
    display: grid;
    place-items: center;
    background: rgba(255, 42, 122, 0.14);
}
.story-cast-template-card-placeholder svg {
    width: 56px;
    height: 56px;
    color: rgba(255, 244, 249, 0.62);
}
.story-cast-template-card > span {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.44);
    color: rgba(255, 240, 247, 0.82);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.story-cast-template-card h2 {
    margin: 0;
    font-family: var(--story-serif);
    font-size: clamp(26px, 2.2vw, 32px);
    line-height: 1.02;
}
.story-cast-template-card p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 46px;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: rgba(255, 240, 247, 0.75);
    font-size: 13px;
    line-height: 1.55;
}
.story-cast-template-card strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--story-pink);
    font-size: 13px;
    text-transform: uppercase;
}
.story-cast-template-card strong svg {
    width: 16px;
    height: 16px;
}
@media (max-width: 1180px) and (min-width: 981px) {
.story-cast-template-grid--web {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 980px) {
.story-cast-template-grid--web {
        grid-auto-rows: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.story-cast-template-grid--web .story-cast-template-story-card,
    .story-cast-template-grid--web .story-cast-template-story-card.is-expanded {
        grid-row: auto;
        min-height: 0;
    }
.story-cast-template-grid--web .story-cast-template-story-card.is-expanded {
        grid-template-rows: minmax(0, 1fr);
    }
.story-cast-template-story-card .story-cast-template-story-card-details {
        grid-template-rows: auto;
    }
.story-cast-template-story-card-primary {
        width: 100%;
    }
}
/* Story Cast acquisition template list polish. */
.story-cast-story-card-cover .story-cast-featured-end-card {
    opacity: 0;
    pointer-events: none;
    transform: scale(1);
}
.story-cast-story-card-cover.is-showing-featured-end-card video {
    opacity: 0;
}
.story-cast-story-card-cover.is-showing-featured-end-card .story-cast-featured-end-card {
    opacity: 1;
    animation: story-cast-featured-end-card-zoom 3s linear both;
}
@keyframes story-cast-featured-end-card-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}
.story-cast-page--templates.story-cast-page--acquisition .story-cast-scene {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: clamp(440px, 46vw, 640px);
    min-height: 0;
    opacity: 0.3;
    object-position: center 34%;
    transform: scale(1.01);
    animation: none;
    filter: saturate(0.76) contrast(0.94) brightness(0.72);
}
.story-cast-page--templates.story-cast-page--acquisition .story-cast-vignette {
    position: absolute;
    inset: 0 0 auto;
    height: clamp(440px, 46vw, 640px);
    background:
        linear-gradient(
            to top,
            rgba(7, 3, 10, 0.88) 0%,
            rgba(7, 3, 10, 0.66) 24%,
            rgba(7, 3, 10, 0.16) 68%,
            rgba(7, 3, 10, 0.4) 100%
        ),
        linear-gradient(90deg, rgba(7, 3, 10, 0.42), rgba(7, 3, 10, 0.08) 58%, rgba(7, 3, 10, 0.3));
}
.story-cast-template-list--acquisition .story-cast-acquisition-intro {
    display: grid;
    width: 100%;
    min-height: clamp(250px, 27vw, 350px);
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.78fr);
    align-items: end;
    gap: clamp(36px, 6vw, 92px);
    padding: clamp(30px, 4.2vw, 64px) 0 clamp(10px, 1.4vw, 20px);
}
.story-cast-acquisition-intro-copy {
    display: grid;
    max-width: 680px;
    gap: 12px;
    animation: story-cast-acquisition-intro-arrive 0.52s ease-out both;
}
.story-cast-acquisition-intro-eyebrow {
    color: #ff8fbd;
    font: 800 11px / 1 var(--story-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.story-cast-acquisition-intro-copy h1 {
    max-width: 680px;
    margin: 0;
    color: #fff8fb;
    font-family: var(--story-serif);
    font-size: clamp(54px, 5.4vw, 82px);
    font-weight: 500;
    line-height: 0.91;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow:
        0 10px 34px rgba(0, 0, 0, 0.48),
        0 0 24px rgba(255, 179, 211, 0.14);
}
.story-cast-acquisition-intro-copy h1 span {
    display: block;
}
.story-cast-acquisition-intro-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 239, 246, 0.86);
    font: 650 clamp(15px, 1.25vw, 18px) / 1.45 var(--story-sans);
    text-wrap: balance;
}
.story-cast-acquisition-intro-diagram {
    display: grid;
    width: min(440px, 100%);
    box-sizing: border-box;
    justify-self: end;
    gap: 14px;
    padding: 18px 20px 15px;
    border: 1px solid rgba(255, 178, 212, 0.4);
    border-radius: 24px;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 91, 151, 0.16), transparent 32%),
        rgba(18, 7, 17, 0.62);
    box-shadow:
        0 18px 54px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: story-cast-acquisition-intro-arrive 0.56s 0.08s ease-out both;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.story-cast-acquisition-intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 222, 235, 0.82);
    font: 800 10px / 1 var(--story-sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.story-cast-acquisition-intro-kicker svg {
    width: 15px;
    height: 15px;
    color: #ff76ac;
    filter: drop-shadow(0 0 8px rgba(255, 74, 141, 0.55));
}
.story-cast-acquisition-intro-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}
.story-cast-acquisition-intro-person {
    position: relative;
    display: grid;
    min-width: 0;
    justify-items: center;
    gap: 8px;
}
.story-cast-acquisition-intro-person img,
.story-cast-acquisition-intro-placeholder {
    display: grid;
    width: clamp(78px, 7vw, 96px);
    aspect-ratio: 1;
    box-sizing: border-box;
    place-items: center;
    border: 1px solid rgba(255, 217, 232, 0.38);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    object-fit: cover;
}
.story-cast-acquisition-intro-placeholder svg {
    width: 28px;
    height: 28px;
    color: rgba(255, 220, 235, 0.72);
}
.story-cast-acquisition-intro-person--cast img,
.story-cast-acquisition-intro-person--cast .story-cast-acquisition-intro-placeholder {
    border-color: rgba(255, 137, 187, 0.84);
    box-shadow:
        0 0 0 3px rgba(255, 60, 137, 0.09),
        0 0 26px rgba(255, 75, 144, 0.28);
}
.story-cast-acquisition-intro-person strong {
    color: #fff6fa;
    font: 750 13px / 1 var(--story-sans);
    white-space: nowrap;
}
.story-cast-acquisition-intro-spark {
    position: absolute;
    top: -7px;
    right: calc(50% - 55px);
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid rgba(255, 220, 235, 0.7);
    border-radius: 50%;
    background: #f83e86;
    box-shadow: 0 0 16px rgba(255, 66, 142, 0.58);
    color: #fff;
}
.story-cast-acquisition-intro-spark svg {
    width: 13px;
    height: 13px;
}
.story-cast-acquisition-intro-arrow {
    display: grid;
    justify-items: center;
    gap: 5px;
    color: rgba(255, 231, 240, 0.9);
}
.story-cast-acquisition-intro-arrow small {
    font: 800 8px / 1 var(--story-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.story-cast-acquisition-intro-arrow svg {
    width: 30px;
    height: 30px;
    animation: story-cast-acquisition-arrow-pulse 1.6s ease-in-out infinite;
}
.story-cast-acquisition-intro-outcome {
    padding-top: 11px;
    border-top: 1px solid rgba(255, 217, 232, 0.13);
    color: rgba(255, 226, 239, 0.66);
    font: 700 10px / 1.2 var(--story-sans);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
@keyframes story-cast-acquisition-intro-arrive {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes story-cast-acquisition-arrow-pulse {
    0%,
    100% {
        opacity: 0.66;
        transform: translateX(-2px);
    }

    50% {
        opacity: 1;
        transform: translateX(3px);
    }
}
.story-cast-template-skeleton {
    display: grid;
    gap: 18px;
}
.story-cast-template-skeleton-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.story-cast-template-skeleton-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 118, 169, 0.16);
    border-radius: 8px;
    background: rgba(22, 9, 24, 0.82);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}
.story-cast-template-list--acquisition .story-cast-template-skeleton-card {
    aspect-ratio: 9 / 16;
    border-radius: 20px;
}
.story-cast-template-list--mobile .story-cast-template-skeleton-card {
    aspect-ratio: 3 / 4;
}
.story-cast-template-list--mobile.story-cast-template-list--acquisition
    .story-cast-template-skeleton-card {
    aspect-ratio: 9 / 16;
    border-radius: 20px;
}
@media (max-width: 767px), (pointer: coarse) and (max-width: 900px) {
    .story-cast-template-skeleton .story-cast-template-grid--web {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .story-cast-template-skeleton-card {
        aspect-ratio: 3 / 4;
    }
    .story-cast-template-list--acquisition .story-cast-template-skeleton-card {
        aspect-ratio: 9 / 16;
        border-radius: 20px;
    }
}
.story-cast-template-skeleton-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%, rgba(7, 3, 9, 0.9)),
        radial-gradient(circle at 42% 24%, rgba(255, 116, 172, 0.13), transparent 34%);
}
.story-cast-template-skeleton-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        102deg,
        transparent 18%,
        rgba(255, 231, 242, 0.04) 36%,
        rgba(255, 231, 242, 0.17) 50%,
        rgba(255, 231, 242, 0.04) 64%,
        transparent 82%
    );
    transform: translateX(-120%);
    animation: story-cast-template-skeleton-shimmer 1.65s ease-in-out infinite;
}
.story-cast-template-skeleton-card:nth-child(2)::after {
    animation-delay: 0.12s;
}
.story-cast-template-skeleton-card:nth-child(3)::after {
    animation-delay: 0.24s;
}
.story-cast-template-skeleton-card:nth-child(4)::after {
    animation-delay: 0.36s;
}
.story-cast-template-skeleton-copy {
    position: absolute;
    right: 16px;
    bottom: 18px;
    left: 16px;
    z-index: 1;
    display: grid;
    gap: 9px;
}
.story-cast-template-skeleton-line {
    display: block;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 239, 247, 0.11);
}
.story-cast-template-skeleton-line--title {
    width: 86%;
    height: 24px;
    background: rgba(255, 239, 247, 0.18);
}
.story-cast-template-skeleton-line--title-short {
    width: 62%;
    height: 24px;
    margin-bottom: 3px;
    background: rgba(255, 239, 247, 0.18);
}
.story-cast-template-skeleton-line--body {
    width: 94%;
}
.story-cast-template-skeleton-line--body-short {
    width: 72%;
}
@keyframes story-cast-template-skeleton-shimmer {
    0% {
        transform: translateX(-120%);
    }

    65%,
    100% {
        transform: translateX(120%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .story-cast-template-skeleton-card::after {
        animation: none;
        opacity: 0.18;
        transform: none;
    }
}
.story-cast-template-sections {
    display: grid;
    gap: clamp(34px, 5vw, 64px);
}
.story-cast-template-section {
    display: grid;
    gap: 18px;
}
.story-cast-template-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}
.story-cast-template-section-heading > div {
    display: grid;
    gap: 5px;
}
.story-cast-template-section-heading span {
    color: #fff6fb;
    font: 500 clamp(20px, 2vw, 28px) / 1.1 var(--story-sans);
}
.story-cast-template-section-heading p {
    margin: 0;
    color: rgba(255, 240, 247, 0.64);
    font-size: 13px;
}
.story-cast-template-section-heading button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 142, 190, 0.34);
    border-radius: 999px;
    background: rgba(255, 42, 122, 0.14);
    color: #fff6fb;
    cursor: pointer;
    font: 500 12px / 1 var(--story-sans);
}
.story-cast-template-list--acquisition .story-cast-template-story-card {
    aspect-ratio: 9 / 16;
    border-radius: 20px;
}
.story-cast-template-list--acquisition .story-cast-template-grid--web {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.story-cast-template-list--acquisition .story-cast-template-story-card-title,
.story-cast-template-list--acquisition .story-cast-template-lock-title {
    font-family: var(--story-sans);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-transform: uppercase;
}
.story-cast-template-story-card-drama-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 14;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(255, 203, 226, 0.42);
    border-radius: 999px;
    background: rgba(16, 5, 20, 0.68);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #ffe7f2;
    font: 800 10px / 1 var(--story-sans);
    letter-spacing: 0.08em;
    pointer-events: none;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.story-cast-template-story-card.is-locked {
    isolation: isolate;
}
.story-cast-template-story-card.is-locked .story-cast-template-story-card-cover {
    cursor: default;
}
.story-cast-template-story-card.is-locked .story-cast-template-story-card-cover img,
.story-cast-template-story-card.is-locked .story-cast-template-story-card-cover video {
    filter: blur(7px) saturate(0.72) brightness(0.62);
    transform: scale(1.06);
}
.story-cast-template-lock {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(7, 3, 9, 0.44) 0%,
        rgba(7, 3, 9, 0.2) 42%,
        rgba(7, 3, 9, 0.7) 72%,
        rgba(7, 3, 9, 0.96) 100%
    );
    color: #fff6fb;
    cursor: pointer;
    text-align: center;
}
.story-cast-template-lock-info {
    display: grid;
    width: 100%;
    justify-items: center;
    gap: 12px;
}
.story-cast-template-lock-title {
    display: -webkit-box;
    overflow: hidden;
    max-width: 92%;
    color: #fff6fb;
    font: 500 clamp(28px, 2.7vw, 40px) / 1 var(--story-serif);
    text-wrap: balance;
    transform-origin: center;
    transition: transform 0.24s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.story-cast-template-lock-detail {
    display: grid;
    width: min(100%, 430px);
    min-height: 82px;
    place-items: center;
}
.story-cast-template-lock-description {
    display: -webkit-box;
    overflow: hidden;
    max-width: 92%;
    grid-area: 1 / 1;
    color: rgba(255, 240, 247, 0.86);
    font: 600 clamp(13px, 1vw, 16px) / 1.45 var(--story-sans);
    opacity: 0;
    text-wrap: balance;
    transform: translateY(8px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.story-cast-template-lock-action {
    position: absolute;
    bottom: 22px;
    left: 50%;
    display: flex;
    width: fit-content;
    min-height: 48px;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid rgba(255, 207, 228, 0.52);
    border-radius: 999px;
    background: rgba(255, 42, 122, 0.88);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.38),
        0 0 26px rgba(255, 72, 142, 0.28);
    opacity: 0;
    transform: translate(-50%, 8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}
.story-cast-template-lock-action svg {
    width: 18px;
    height: 18px;
    color: #fff6fb;
}
.story-cast-template-lock-action strong {
    font: 800 14px / 1 var(--story-sans);
}
.story-cast-template-story-card.is-locked:hover .story-cast-template-lock-action,
.story-cast-template-story-card.is-locked:focus-within .story-cast-template-lock-action {
    opacity: 1;
    transform: translate(-50%, 0);
}
.story-cast-template-story-card.is-locked:hover .story-cast-template-lock-action {
    background: rgba(255, 42, 122, 0.98);
}
.story-cast-template-lock-tags {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    grid-area: 1 / 1;
    justify-content: center;
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.18s ease,
        transform 0.22s ease;
}
.story-cast-template-lock-tags i {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 142, 190, 0.42);
    border-radius: 999px;
    background: rgba(12, 4, 15, 0.74);
    color: #fff0f7;
    font-size: clamp(13px, 1vw, 16px);
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.story-cast-template-lock-intensity {
    display: grid;
    width: min(82%, 280px);
    gap: 7px;
}
.story-cast-template-lock-intensity-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 240, 247, 0.78);
    font: 700 11px / 1 var(--story-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.story-cast-template-lock-intensity-label i {
    color: #ffc1d9;
    font-style: normal;
    letter-spacing: 0.04em;
}
.story-cast-template-lock-intensity-track {
    position: relative;
    display: block;
    overflow: hidden;
    height: 7px;
    border: 1px solid rgba(255, 208, 229, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.42);
}
.story-cast-template-lock-intensity-track > span {
    display: block;
    width: var(--story-cast-template-intensity);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff377f 0%, #ff6b61 54%, #ffd166 100%);
    box-shadow:
        0 0 12px rgba(255, 64, 130, 0.76),
        0 0 20px rgba(255, 209, 102, 0.32);
}
.story-cast-template-story-card.is-locked:hover .story-cast-template-lock-title,
.story-cast-template-story-card.is-locked:focus-within .story-cast-template-lock-title {
    transform: scale(0.78);
}
.story-cast-template-story-card.is-locked:hover .story-cast-template-lock-tags,
.story-cast-template-story-card.is-locked:focus-within .story-cast-template-lock-tags {
    opacity: 0;
    transform: translateY(-7px);
}
.story-cast-template-story-card.is-locked:hover .story-cast-template-lock-description,
.story-cast-template-story-card.is-locked:focus-within .story-cast-template-lock-description {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
.story-cast-template-lock-title,
    .story-cast-template-lock-tags,
    .story-cast-template-lock-description,
    .story-cast-template-lock-action {
        transition: none;
    }
}
html:has(.story-cast-mobile-page),
body:has(.story-cast-mobile-page) {
    min-height: 100%;
    overscroll-behavior: none;
    background: #07040a;
}

.story-cast-mobile-page {
    --story-rose: #ff2a7a;
    --story-hot: #ff5e36;
    --story-pink: #ffb2d4;
    --story-violet: #de9cff;
    --story-gold: #ffb02e;
    --story-ink: #0b040f;
    --story-muted: #a08c9f;
    --story-card-bg: rgba(20, 8, 19, 0.72);
    --story-card-border: rgba(255, 112, 164, 0.42);
    --story-card-copy: rgba(255, 239, 247, 0.7);
    --story-card-muted: rgba(255, 239, 247, 0.5);
    --story-card-shadow:
        0 24px 70px rgba(0, 0, 0, 0.48),
        inset 0 0 34px rgba(255, 101, 166, 0.05);
    --story-cast-mobile-player-top: calc(max(18px, env(safe-area-inset-top)) + 108px);
    --story-cast-mobile-player-bottom: calc(102px + env(safe-area-inset-bottom));
    --story-serif: "Playfair Display", "Didot", Georgia, "Times New Roman", serif;
    --story-sans: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --story-button: Montserrat, "Plus Jakarta Sans", Inter, sans-serif;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    background: #07040a;
    color: #fff6fa;
    font-family: var(--story-sans);
}

.story-cast-mobile-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(4, 2, 6, 0.2) 0%, rgba(4, 2, 6, 0.18) 42%, #07040a 100%),
        radial-gradient(circle at 55% 74%, rgba(255, 86, 153, 0.2), transparent 35%);
    pointer-events: none;
}

.story-cast-mobile-media {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #09050a;
}

.story-cast-mobile-media img,
.story-cast-mobile-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.story-cast-mobile-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: max(14px, env(safe-area-inset-top)) 18px 10px;
}

.story-cast-mobile-topbar--with-home {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.story-cast-mobile-app-home {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 206, 225, 0.28);
    border-radius: 999px;
    background: rgba(10, 5, 13, 0.34);
    color: #fff3f8;
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.story-cast-mobile-app-home svg {
    width: 20px;
    height: 20px;
}

.story-casting-mobile-product-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: max(14px, env(safe-area-inset-top)) 18px 10px;
    border-bottom: 1px solid rgba(255, 178, 212, 0.16);
    background:
        linear-gradient(180deg, rgba(7, 4, 10, 0.98) 0%, rgba(7, 4, 10, 0.94) 100%),
        radial-gradient(circle at 14% 0%, rgba(255, 66, 142, 0.14), transparent 42%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.story-casting-mobile-product-back,
.story-casting-mobile-product-action {
    display: inline-grid;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 206, 225, 0.28);
    border-radius: 999px;
    background: rgba(10, 5, 13, 0.34);
    color: #fff3f8;
    text-decoration: none;
}

.story-casting-mobile-product-back {
    width: 40px;
}

.story-casting-mobile-product-back svg {
    width: 20px;
    height: 20px;
}

.story-casting-mobile-product-title {
    display: grid;
    min-width: 0;
    justify-self: start;
    gap: 4px;
    color: #fff7fb;
    text-decoration: none;
}

.story-casting-mobile-product-brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.story-casting-mobile-product-brand strong {
    overflow: hidden;
    font-family: var(--story-serif);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 0 18px rgba(255, 193, 220, 0.42);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-casting-mobile-product-brand svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--story-rose);
    filter: drop-shadow(0 0 8px var(--story-rose));
}

.story-casting-mobile-product-title small {
    overflow: hidden;
    color: rgba(255, 247, 250, 0.62);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.story-casting-mobile-product-action {
    min-width: 64px;
    padding: 0 14px;
    font: 800 12px / 1 var(--story-sans);
    cursor: pointer;
}

.story-casting-mobile-product-action:disabled {
    cursor: progress;
    opacity: 0.62;
}

.story-cast-mobile-landing-logo {
    position: fixed;
    top: max(24px, env(safe-area-inset-top));
    left: 18px;
    z-index: 8;
    display: inline-grid;
    width: fit-content;
    gap: 5px;
    color: #fff4f7;
    font-family: var(--story-serif);
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 0 18px rgba(255, 160, 196, 0.45);
}

.story-cast-mobile-landing-logo span {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
}

.story-cast-mobile-landing-logo small {
    color: rgba(255, 247, 250, 0.72);
    font-family: var(--story-sans);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}

.story-cast-mobile-landing-logo svg {
    width: 13px;
    height: 13px;
    margin-top: 1px;
    color: var(--story-rose);
    filter: drop-shadow(0 0 8px var(--story-rose));
}

.story-cast-mobile-topbar .story-cast-mobile-landing-logo {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    justify-self: start;
}

.story-cast-mobile-top-actions button,
.story-cast-mobile-top-actions a {
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 206, 225, 0.3);
    border-radius: 999px;
    background: rgba(10, 5, 13, 0.32);
    color: #fff3f8;
    text-decoration: none;
    backdrop-filter: blur(12px);
}

.story-cast-mobile-top-actions {
    display: flex;
    min-width: 0;
    max-width: calc(100vw - 150px);
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.story-cast-mobile-top-actions button,
.story-cast-mobile-top-actions a {
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
}

.story-cast-mobile-top-actions .story-cast-mobile-credits-button {
    display: inline-flex;
    min-width: auto;
    min-height: 40px;
    gap: 6px;
    padding: 0 12px;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    color: #8a7bff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.story-cast-mobile-top-actions .story-cast-mobile-credits-button strong {
    overflow: hidden;
    max-width: 72px;
    text-overflow: ellipsis;
}

.story-cast-mobile-top-actions .story-cast-mobile-assets-button {
    display: inline-grid;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
}

.story-cast-mobile-top-actions .story-cast-mobile-assets-button svg {
    width: 19px;
    height: 19px;
}

.story-cast-mobile-coin {
    width: 14px;
    height: 14px;
    margin-right: 0;
    border-radius: 999px;
}

.story-cast-mobile-page--acquisition .story-cast-mobile-media {
    position: absolute;
    inset: 0 0 auto;
    height: min(68svh, 540px);
    overflow: hidden;
    background: transparent;
}

.story-cast-mobile-page--acquisition .story-cast-mobile-media img,
.story-cast-mobile-page--acquisition .story-cast-mobile-media video {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    object-position: center 28%;
    filter: saturate(0.72) contrast(0.92) brightness(0.68);
}

.story-cast-mobile-page--acquisition .story-cast-mobile-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to top,
            rgba(7, 3, 10, 0.92) 0%,
            rgba(7, 3, 10, 0.68) 28%,
            rgba(7, 3, 10, 0.14) 72%,
            rgba(7, 3, 10, 0.36) 100%
        ),
        linear-gradient(90deg, rgba(7, 3, 10, 0.28), transparent 70%);
    pointer-events: none;
}

.story-cast-mobile-page--acquisition .story-cast-mobile-topbar {
    background:
        linear-gradient(180deg, rgba(7, 4, 10, 0.86) 0%, rgba(7, 4, 10, 0.7) 100%),
        radial-gradient(circle at 14% 0%, rgba(255, 66, 142, 0.14), transparent 42%);
}

@media (display-mode: standalone) {
    .story-cast-mobile-page {
        min-height: 100vh;
    }
}

.story-casting-template-list-viewport-fallback-mobile {
    display: none;
}

.story-casting-template-list-viewport-fallback-desktop {
    display: contents;
}

@media (max-width: 767px), (pointer: coarse) and (max-width: 900px) {
.story-casting-template-list-viewport-fallback-desktop {
        display: none;
    }
.story-casting-template-list-viewport-fallback-mobile {
        display: block;
    }
}

.story-cast-mobile-page--templates {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, #150914 0%, #10070f 58%, #07040a 100%);
}

.story-cast-mobile-page--templates::after {
    background:
        linear-gradient(180deg, rgba(7, 4, 10, 0.16) 0%, rgba(7, 4, 10, 0.14) 42%, rgba(7, 4, 10, 0.62) 100%),
        radial-gradient(circle at 50% 24%, rgba(255, 86, 153, 0.14), transparent 36%);
}

.story-cast-template-list--mobile {
    z-index: 3;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: calc(104px + env(safe-area-inset-top)) 18px 32px;
}

.story-cast-mobile-page--templates .story-cast-mobile-topbar {
    z-index: 12;
    border-bottom: 1px solid rgba(255, 178, 212, 0.16);
    background:
        linear-gradient(180deg, rgba(7, 4, 10, 0.98) 0%, rgba(7, 4, 10, 0.94) 100%),
        radial-gradient(circle at 14% 0%, rgba(255, 66, 142, 0.14), transparent 42%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

.story-cast-template-list--mobile .story-cast-template-list-heading {
    gap: 10px;
    min-width: 0;
    max-width: 100%;
}

.story-cast-template-list--mobile .story-cast-template-list-heading h1 {
    font-family: var(--story-sans);
    font-size: 42px;
    line-height: 0.98;
}

.story-cast-template-list--mobile .story-cast-template-list-heading p {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.story-cast-template-list--mobile .story-cast-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.story-cast-template-list--mobile .story-cast-template-story-card {
    aspect-ratio: 3 / 4;
    grid-template-rows: minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
}

.story-cast-template-list--mobile .story-cast-template-story-card .story-cast-story-card-cover {
    box-sizing: border-box;
    min-width: 0;
}

.story-cast-template-list--mobile .story-cast-template-story-card.is-expanded {
    aspect-ratio: 3 / 4;
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-cover {
    min-height: 0;
    padding: 10px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-cover
    strong {
    font-family: var(--story-sans);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.04;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card:not(.is-expanded)
    .story-cast-story-card-cover
    strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-badge {
    padding: 3px 6px;
    font-size: 8px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-status {
    top: 8px;
    right: 8px;
    padding: 4px 6px;
    font-size: 8px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-cover
    small {
    font-size: 10px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card:not(.is-expanded)
    .story-cast-template-story-card-logline,
.story-cast-template-list--mobile
    .story-cast-template-story-card:not(.is-expanded)
    .story-cast-template-story-card-cover-tags {
    display: none;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card.is-expanded
    .story-cast-story-card-cover {
    padding: 14px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card.is-expanded
    .story-cast-story-card-cover
    strong {
    font-size: 28px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-template-story-card-details {
    gap: 12px;
    padding: 16px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-template-story-card-footer {
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-template-story-card-primary {
    width: min(100%, 260px);
}

/* Story Cast acquisition mobile template list polish. */

.story-cast-mobile-page--templates.story-cast-mobile-page--acquisition::after {
    background:
        linear-gradient(180deg, rgba(7, 4, 10, 0.12) 0%, rgba(7, 4, 10, 0.1) 42%, rgba(7, 4, 10, 0.58) 100%),
        radial-gradient(circle at 50% 24%, rgba(255, 86, 153, 0.14), transparent 36%);
}

.story-cast-template-list--mobile {
    z-index: 3;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: calc(104px + env(safe-area-inset-top)) 18px 32px;
}

.story-cast-mobile-page--templates .story-cast-mobile-topbar {
    z-index: 12;
    border-bottom: 1px solid rgba(255, 178, 212, 0.16);
    background:
        linear-gradient(180deg, rgba(7, 4, 10, 0.98) 0%, rgba(7, 4, 10, 0.94) 100%),
        radial-gradient(circle at 14% 0%, rgba(255, 66, 142, 0.14), transparent 42%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

.story-cast-template-list--mobile .story-cast-template-list-heading {
    gap: 10px;
    min-width: 0;
    max-width: 100%;
}

.story-cast-template-list--mobile .story-cast-template-list-heading h1 {
    font-family: var(--story-sans);
    font-size: 42px;
    line-height: 0.98;
}

.story-cast-template-list--mobile .story-cast-template-list-heading p {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.story-cast-template-list--mobile.story-cast-template-list--acquisition
    .story-cast-acquisition-intro {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    padding: 2px 0 0;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-copy {
    gap: 5px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-eyebrow {
    font-size: 8px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-copy h1 {
    max-width: 310px;
    font-size: clamp(36px, 10.5vw, 42px);
    line-height: 0.9;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-copy p {
    max-width: 330px;
    font-size: 12px;
    line-height: 1.34;
    text-wrap: pretty;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-diagram {
    width: 100%;
    justify-self: stretch;
    gap: 8px;
    padding: 10px 12px 9px;
    border-radius: 16px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-kicker {
    gap: 5px;
    font-size: 8px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-kicker svg {
    width: 12px;
    height: 12px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-flow {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 2px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-person {
    gap: 5px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-person img,
.story-cast-template-list--mobile .story-cast-acquisition-intro-placeholder {
    width: clamp(52px, 16vw, 62px);
    border-radius: 14px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-person strong {
    font-size: 10px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-arrow small {
    font-size: 6px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-arrow svg {
    width: 20px;
    height: 20px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-spark {
    top: -5px;
    right: calc(50% - 37px);
    width: 18px;
    height: 18px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-spark svg {
    width: 9px;
    height: 9px;
}

.story-cast-template-list--mobile .story-cast-acquisition-intro-outcome {
    padding-top: 7px;
    font-size: 7px;
}

.story-cast-template-list--mobile .story-cast-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.story-cast-template-list--mobile .story-cast-template-skeleton {
    gap: 14px;
}

.story-cast-template-list--mobile .story-cast-template-skeleton-copy {
    right: 10px;
    bottom: 12px;
    left: 10px;
    gap: 6px;
}

.story-cast-template-list--mobile .story-cast-template-skeleton-line--title,
.story-cast-template-list--mobile .story-cast-template-skeleton-line--title-short {
    height: 16px;
}

.story-cast-template-list--mobile .story-cast-template-skeleton-line--body,
.story-cast-template-list--mobile .story-cast-template-skeleton-line--body-short {
    height: 8px;
}

.story-cast-template-list--mobile .story-cast-template-skeleton-card {
    aspect-ratio: 3 / 4;
}

.story-cast-template-list--mobile.story-cast-template-list--acquisition
    .story-cast-template-skeleton-card {
    aspect-ratio: 9 / 16;
    border-radius: 20px;
}

.story-cast-template-list--mobile .story-cast-template-sections {
    gap: 32px;
}

.story-cast-template-list--mobile .story-cast-template-section {
    min-width: 0;
    gap: 10px;
}

.story-cast-template-list--mobile .story-cast-template-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.story-cast-template-list--mobile .story-cast-template-section-heading span {
    font-size: 18px;
}

.story-cast-template-list--mobile .story-cast-template-section-heading button {
    width: 100%;
}

.story-cast-template-list--mobile .story-cast-template-story-card {
    aspect-ratio: 3 / 4;
    grid-template-rows: minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
}

.story-cast-template-list--mobile .story-cast-template-story-card .story-cast-story-card-cover {
    box-sizing: border-box;
    min-width: 0;
}

.story-cast-template-list--mobile .story-cast-template-story-card.is-expanded {
    aspect-ratio: 3 / 4;
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
}

.story-cast-template-list--mobile.story-cast-template-list--acquisition
    .story-cast-template-story-card,
.story-cast-template-list--mobile.story-cast-template-list--acquisition
    .story-cast-template-story-card.is-expanded {
    aspect-ratio: 9 / 16;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-cover {
    min-height: 0;
    padding: 10px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-cover
    strong {
    font-family: var(--story-sans);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.04;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card:not(.is-expanded)
    .story-cast-story-card-cover
    strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-badge {
    padding: 3px 6px;
    font-size: 8px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card
    .story-cast-story-card-status {
    top: 8px;
    right: 8px;
    padding: 4px 6px;
    font-size: 8px;
}

.story-cast-template-list--mobile .story-cast-template-lock {
    padding: 12px;
}

.story-cast-template-list--mobile .story-cast-template-story-card-drama-tag {
    display: none;
    top: 8px;
    right: 8px;
    min-height: 24px;
    max-width: calc(100% - 16px);
    padding: 0 8px;
    overflow: hidden;
    font-size: 8px;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-cast-template-list--mobile .story-cast-template-lock-info {
    gap: 8px;
}

.story-cast-template-list--mobile .story-cast-template-lock-title {
    max-width: 96%;
    font-size: 24px;
}

.story-cast-template-list--mobile .story-cast-template-lock-detail {
    display: flex;
    width: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: center;
}

.story-cast-template-list--mobile .story-cast-template-lock-description {
    display: none;
}

.story-cast-template-list--mobile .story-cast-template-lock-intensity {
    width: min(92%, 240px);
    gap: 5px;
}

.story-cast-template-list--mobile .story-cast-template-lock-intensity-label {
    font-size: 9px;
}

.story-cast-template-list--mobile .story-cast-template-lock-intensity-track {
    height: 5px;
}

.story-cast-template-list--mobile .story-cast-template-lock-action {
    bottom: 12px;
    min-width: 92px;
    min-height: 40px;
    gap: 7px;
    padding: 0 13px;
    opacity: 1;
    transform: translateX(-50%);
    white-space: nowrap;
}

.story-cast-template-list--mobile .story-cast-template-lock-action svg {
    width: 16px;
    height: 16px;
}

.story-cast-template-list--mobile .story-cast-template-lock-action strong {
    font-size: 12px;
    white-space: nowrap;
}

.story-cast-template-list--mobile .story-cast-template-lock-tags {
    display: none;
    gap: 6px;
}

.story-cast-template-list--mobile .story-cast-template-lock-tags i {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card.is-locked:hover
    .story-cast-template-lock-title,
.story-cast-template-list--mobile
    .story-cast-template-story-card.is-locked:focus-within
    .story-cast-template-lock-title {
    transform: none;
}

.story-cast-template-list--mobile
    .story-cast-template-story-card.is-locked:hover
    .story-cast-template-lock-tags,
.story-cast-template-list--mobile
    .story-cast-template-story-card.is-locked:focus-within
    .story-cast-template-lock-tags {
}
