/* Blips on the phone: the full-screen viewer (#mobile-blips-viewer, drawn
 * by static/js/inline/mobile-blips.js) and the blip composer (the shared
 * composer #new-custom-modal in .story-mode).
 *
 * The look is the Community pages' (mobile-community-home.css): open space,
 * no boxes, Archivo for words (condensed 900 for display), JetBrains Mono
 * for eyebrows, round icon buttons.
 *
 * Colour follows the app's look exactly:
 *   Light  white page, near-black ink
 *   Dark   black page, near-white ink
 *   Page colour (html[data-page-color], mobile-page-colors.js --pc-*)
 *          the owner's page and ink
 *   Glass  (html[data-appearance="glass"], mobile-glass.css --gl-*)
 *          frosted glass over the app
 * The film itself is never tinted. A tall picture or video fills the
 * screen and its chrome is white on a soft scrim in every look; a wide one
 * sits on the page and the chrome takes the page's ink.
 *
 * Every selector carries the viewer id twice (or the composer id and
 * .story-mode) plus !important where the page's blanket sweeps reach:
 * [data-theme=light] * * * (black on every leaf), the button sweeps
 * (square fills, shadows, backdrop-filter), and the modal colour fixer's
 * inline colours (colours here also set -webkit-text-fill-color, which
 * inline `color` cannot beat). Token names avoid page-colour roles where
 * a colour sits on a photograph (mobile-page-colors.js customRole).
 */

/* ------------------------------------------------------------------ tokens */
html body #mobile-blips-viewer#mobile-blips-viewer,
html body #new-custom-modal#new-custom-modal.story-mode {
    --bv-page: #ffffff;
    --bv-ink: #0b0b0c;
    --bv-dim: color-mix(in srgb, var(--bv-ink) 60%, var(--bv-page));
    --bv-faint: color-mix(in srgb, var(--bv-ink) 40%, var(--bv-page));
    --bv-line: color-mix(in srgb, var(--bv-ink) 12%, var(--bv-page));
    --bv-wash: color-mix(in srgb, var(--bv-ink) 6%, transparent);
    --bv-accent: var(--primary-color, #0b0b0c);
    --bv-on-accent: #ffffff;
    --bv-danger: #d92d20;
    --bv-menu: #ffffff;
    --bv-menu-shadow: 0 18px 44px rgba(10, 10, 14, 0.22), 0 0 0 1px rgba(10, 10, 14, 0.06);
    /* On a photograph: white, whatever the page. */
    --bv-on-photo: #ffffff;
    --bv-on-photo-dim: rgba(255, 255, 255, 0.78);
    --bv-on-photo-track: rgba(255, 255, 255, 0.34);
    --bv-disc-on-photo: rgba(0, 0, 0, 0.26);
    --bv-top: var(--blips-top-inset, env(safe-area-inset-top, 0px));
    --bv-sans: "Archivo", var(--font-family, -apple-system), system-ui, sans-serif;
    --bv-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="dark"] body #mobile-blips-viewer#mobile-blips-viewer,
html[data-theme="dark"] body #new-custom-modal#new-custom-modal.story-mode {
    --bv-page: #000000;
    --bv-ink: #f4f4f2;
    --bv-danger: #ff6b5e;
    --bv-menu: #161618;
    --bv-menu-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-page-color] body #mobile-blips-viewer#mobile-blips-viewer,
html[data-page-color] body #new-custom-modal#new-custom-modal.story-mode {
    --bv-page: var(--pc-page);
    --bv-ink: var(--pc-ink);
    --bv-dim: var(--pc-dim);
    --bv-faint: var(--pc-faint);
    --bv-line: var(--pc-line);
    --bv-wash: color-mix(in srgb, var(--pc-ink) 7%, transparent);
    --bv-accent: var(--pc-btn);
    --bv-on-accent: var(--pc-on-btn);
    --bv-danger: var(--pc-bad);
    --bv-menu: var(--pc-card, var(--pc-page));
}

html[data-appearance="glass"] body #mobile-blips-viewer#mobile-blips-viewer,
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal.story-mode {
    --bv-page: transparent;
    --bv-ink: #ffffff;
    --bv-dim: rgba(255, 255, 255, 0.72);
    --bv-faint: rgba(255, 255, 255, 0.52);
    --bv-line: rgba(255, 255, 255, 0.24);
    --bv-wash: var(--gl-fill, rgba(255, 255, 255, 0.14));
    --bv-accent: var(--gl-cta, rgba(255, 255, 255, 0.92));
    --bv-on-accent: var(--gl-cta-ink, #0b0b0c);
    --bv-danger: #ff8a80;
    --bv-menu: var(--gl-sheet, rgba(28, 28, 32, 0.42));
    --bv-menu-shadow: var(--gl-shadow, 0 10px 30px rgba(0, 0, 0, 0.22)), 0 0 0 1px var(--gl-rim, rgba(255, 255, 255, 0.32));
}

/* ================================================================ viewer */
html body #mobile-blips-viewer#mobile-blips-viewer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 130001;
    overflow: hidden !important;
    padding: 0 !important;
    background: var(--bv-page) !important;
    font-family: var(--bv-sans) !important;
    touch-action: none;
    overscroll-behavior: contain;
    /* What the chrome is drawn in; set per mode below. */
    --bv-c: var(--bv-ink);
    --bv-c-dim: var(--bv-dim);
    --bv-c-track: var(--bv-line);
    --bv-disc: var(--bv-wash);
}
html[data-appearance="glass"] body #mobile-blips-viewer#mobile-blips-viewer {
    background: rgba(11, 11, 12, 0.34) !important;
    -webkit-backdrop-filter: blur(30px) saturate(160%) !important;
    backdrop-filter: blur(30px) saturate(160%) !important;
}
/* A tall film fills the screen: white chrome on the scrim, in every look. */
html body #mobile-blips-viewer#mobile-blips-viewer.is-fill {
    background: #000 !important;
    --bv-c: var(--bv-on-photo);
    --bv-c-dim: var(--bv-on-photo-dim);
    --bv-c-track: var(--bv-on-photo-track);
    --bv-disc: var(--bv-disc-on-photo);
}
html body #mobile-blips-viewer#mobile-blips-viewer.is-dragging {
    border-radius: 28px;
}

/* Everything inside takes the chrome colour and the Community type unless
   a rule below says otherwise. Beats the theme's leaf sweep and the old
   white-text overrides. */
html body #mobile-blips-viewer#mobile-blips-viewer,
html body #mobile-blips-viewer#mobile-blips-viewer * {
    color: var(--bv-c) !important;
    -webkit-text-fill-color: var(--bv-c) !important;
    text-shadow: none !important;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer svg,
html body #mobile-blips-viewer#mobile-blips-viewer svg * {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer svg [stroke] { stroke: currentColor !important; }
html body #mobile-blips-viewer#mobile-blips-viewer svg *:not([stroke]) { stroke: none !important; }
html body #mobile-blips-viewer#mobile-blips-viewer svg [fill="currentColor"] { fill: currentColor !important; }
html body #mobile-blips-viewer#mobile-blips-viewer svg [fill="none"] { fill: none !important; }
/* One face throughout; the mono eyebrows name themselves below. */
html body #mobile-blips-viewer#mobile-blips-viewer * { font-family: inherit !important; }
html body #mobile-blips-viewer#mobile-blips-viewer button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* ------------------------------------------------------------------ stage */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-stage {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer.is-fill .blipv-media {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    background: #000;
}
/* A wide film is set on the page between the top row and the foot. */
html body #mobile-blips-viewer#mobile-blips-viewer.is-fit .blipv-stage {
    padding: calc(var(--bv-top) + 84px) 16px calc(env(safe-area-inset-bottom, 0px) + 140px);
}
html body #mobile-blips-viewer#mobile-blips-viewer.is-fit .blipv-media {
    position: static;
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 22px !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-embed {
    border: 0 !important;
    border-radius: 18px;
    background: #000 !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-embed--wide { width: 100%; max-width: 480px; aspect-ratio: 16 / 9; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-embed--tall { width: 100%; max-width: 340px; height: min(600px, 100%); }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-audio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-audio svg { width: 72px; height: 72px; opacity: .85; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-audio audio { width: min(300px, 80vw); }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-text {
    max-width: 520px;
    padding: 0 12px;
    font-family: var(--bv-sans) !important;
    font-size: 40px;
    line-height: .95;
    font-weight: 900;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75;
    text-transform: uppercase;
    text-align: left;
    overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ scrims */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-scrim {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    display: none;
    pointer-events: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer.is-fill .blipv-scrim { display: block; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-scrim--top {
    top: 0;
    height: calc(var(--bv-top) + 150px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0) 100%) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-scrim--foot {
    bottom: 0;
    height: calc(env(safe-area-inset-bottom, 0px) + 300px);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0) 100%) !important;
}

/* ---------------------------------------------------------------- loading */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-loading.is-loading { display: flex !important; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2.5px solid var(--bv-c-track);
    border-top-color: var(--bv-c);
    animation: blipvSpin 800ms linear infinite;
}
@keyframes blipvSpin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------- tap zones */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-tap {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    background: transparent !important;
    cursor: pointer;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-tap--prev { left: 0; width: 30%; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-tap--next { right: 0; width: 70%; }

/* ------------------------------------------------------------ round icons */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-icon {
    flex: 0 0 auto;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--bv-disc) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    outline: none;
    font-size: 0 !important;
    line-height: 0 !important;
    transition: transform 140ms ease, background-color 140ms ease;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-icon[hidden],
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-icon[style*="display: none"],
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-icon[style*="display:none"],
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu-wrap[style*="display: none"],
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu-wrap[style*="display:none"] { display: none !important; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-icon:active { transform: scale(0.9); }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-icon:focus-visible {
    box-shadow: 0 0 0 2px var(--bv-c) !important;
}
html[data-appearance="glass"] body #mobile-blips-viewer#mobile-blips-viewer:not(.is-fill) .blipv-icon {
    background: var(--gl-fill, rgba(255, 255, 255, 0.14)) !important;
    box-shadow: var(--gl-hi, inset 0 1px 0 rgba(255, 255, 255, 0.35)), inset 0 0 0 1px var(--gl-rim, rgba(255, 255, 255, 0.32)) !important;
    -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
    backdrop-filter: blur(16px) saturate(160%) !important;
}

/* Desktop arrows; a phone turns pages by tapping the film. */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px !important;
    height: 48px !important;
    transform: translateY(-50%);
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-arrow:active { transform: translateY(-50%) scale(0.92); }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-arrow--prev { left: 16px; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-arrow--next { right: 16px; }
@media (hover: none), (pointer: coarse) {
    html body #mobile-blips-viewer#mobile-blips-viewer .blipv-arrow { display: none !important; }
}

/* --------------------------------------------------------------- progress */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-progress {
    position: absolute;
    top: calc(var(--bv-top) + 10px);
    left: 16px;
    right: 16px;
    z-index: 5;
    display: flex;
    gap: 4px;
    height: 3px;
    pointer-events: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-progress__track {
    flex: 1 1 0;
    height: 3px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--bv-c-track) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-progress .mobile-blips-progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--bv-c) !important;
}

/* -------------------------------------------------------------- top row */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-top {
    position: absolute;
    top: calc(var(--bv-top) + 24px);
    left: 16px;
    right: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-top > * { pointer-events: auto; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-top > .blipv-who { pointer-events: none; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__face {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--bv-disc) !important;
    box-shadow: 0 0 0 2px var(--bv-c) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__initial {
    font-size: 16px;
    font-weight: 900;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__words {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: var(--bv-sans) !important;
    font-size: 17px;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__age {
    display: block;
    font-family: var(--bv-mono) !important;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bv-c-dim) !important;
    -webkit-text-fill-color: var(--bv-c-dim) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer.is-fill .blipv-who__name,
html body #mobile-blips-viewer#mobile-blips-viewer.is-fill .blipv-who__age,
html body #mobile-blips-viewer#mobile-blips-viewer.is-fill .blipv-caption {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35) !important;
}

/* The + only shows beside a live blip; the invitation has its own button. */
html body #mobile-blips-viewer#mobile-blips-viewer.is-empty #mobile-blips-drop-btn { display: none !important; }

/* ------------------------------------------------------------------ menu */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu-wrap { position: relative; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu {
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 8;
    min-width: 196px;
    padding: 6px;
    border: 0 !important;
    border-radius: 20px;
    background: var(--bv-menu) !important;
    box-shadow: var(--bv-menu-shadow) !important;
    /* The menu is a page surface, not the film: page ink even over a photo. */
    --bv-c: var(--bv-ink);
}
html[data-appearance="glass"] body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu {
    -webkit-backdrop-filter: var(--gl-blur, blur(22px) saturate(170%)) !important;
    backdrop-filter: var(--gl-blur, blur(22px) saturate(170%)) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu__item {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-family: var(--bv-sans) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    text-align: left;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu__item:active { background: var(--bv-wash) !important; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu__item svg { width: 20px; height: 20px; flex: 0 0 auto; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu__item--danger,
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-menu__item--danger * {
    color: var(--bv-danger) !important;
    -webkit-text-fill-color: var(--bv-danger) !important;
}

/* ------------------------------------------------------------------ foot */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px calc(env(safe-area-inset-bottom, 0px) + 14px) 16px;
    pointer-events: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-caption-wrap {
    position: static !important;
    padding: 0 4px 0 0;
    pointer-events: none;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-caption {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin: 0;
    padding: 0 !important;
    max-width: 34ch;
    border: 0 !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-family: var(--bv-sans) !important;
    font-size: 20px !important;
    line-height: 1.22 !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em;
    text-align: left;
    white-space: normal;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-media-ctl {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2px;
    pointer-events: auto;
    background: none !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-act {
    height: 44px !important;
    min-width: 44px;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0 !important;
    border-radius: 999px !important;
    background: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: transform 140ms ease;
}
html body #mobile-blips-viewer#mobile-blips-viewer.is-fill .blipv-act {
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-act:active { transform: scale(0.9); }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-act svg { width: 23px; height: 23px; display: block; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-act__count {
    font-family: var(--bv-mono) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-act__count:empty { display: none; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-act.is-on,
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-act.is-on * {
    color: #ff4a15 !important;
    -webkit-text-fill-color: #ff4a15 !important;
}

/* ------------------------------------------------------------ invitation */
/* The owner with nothing live: the page itself, big words, one button. */
html body #mobile-blips-viewer#mobile-blips-viewer.is-empty .blipv-stage {
    align-items: flex-end;
    justify-content: flex-start;
    padding: calc(var(--bv-top) + 96px) 20px calc(env(safe-area-inset-bottom, 0px) + 40px);
}
html body #mobile-blips-viewer#mobile-blips-viewer.is-empty .blipv-foot,
html body #mobile-blips-viewer#mobile-blips-viewer.is-empty .blipv-progress,
html body #mobile-blips-viewer#mobile-blips-viewer.is-empty .blipv-tap { display: none !important; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-empty {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-eyebrow {
    margin: 0 0 14px;
    font-family: var(--bv-mono) !important;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-eyebrow span,
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-eyebrow * {
    color: var(--bv-faint) !important;
    -webkit-text-fill-color: var(--bv-faint) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-empty__title {
    margin: 0;
    font-family: var(--bv-sans) !important;
    font-size: 72px;
    line-height: .86;
    font-weight: 900;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-empty__copy {
    max-width: 30ch;
    margin: 16px 0 0;
    font-family: var(--bv-sans) !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em;
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
    text-wrap: pretty;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-cta,
html body #new-custom-modal#new-custom-modal.story-mode #submit-new-byte-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: 56px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bv-accent) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-family: var(--bv-sans) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    transition: transform 140ms ease, background-color 160ms ease, opacity 160ms ease !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-cta { margin-top: 28px; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-cta,
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-cta * {
    color: var(--bv-on-accent) !important;
    -webkit-text-fill-color: var(--bv-on-accent) !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-cta svg { width: 20px; height: 20px; }
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-cta:active,
html body #new-custom-modal#new-custom-modal.story-mode #submit-new-byte-btn:active { transform: scale(0.97); }

/* The header's Blips button: the app colour when fresh blips exist. */
html body #mobile-header-blips-wrap.has-blips {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) inset, 0 0 0 2px rgba(var(--primary-rgb), 0.22);
}
html body #mobile-header-blips-wrap:active { transform: scale(0.96); }

/* ============================================================== composer */
/* The shared composer in .story-mode: the same form and ids, drawn as a
   Community page. Regular posts keep create.css. */
html body #new-custom-modal#new-custom-modal.story-mode {
    background: var(--bv-page) !important;
    font-family: var(--bv-sans) !important;
}
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal.story-mode {
    background: var(--gl-sheet, rgba(28, 28, 32, 0.42)) !important;
    -webkit-backdrop-filter: blur(30px) saturate(160%) !important;
    backdrop-filter: blur(30px) saturate(160%) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode *:not(i):not(svg):not(path) {
    font-family: var(--bv-sans) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode :is(#bytes-composer-head, #bytes-modal-scroll, #modal-content-wrapper, #modal-content-upload, #bytes-upload-form-content, .bytes-composer-foot) {
    background: transparent !important;
    box-shadow: none !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-head *,
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer * {
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
}

/* Head: Cancel on the left, the round settings mark on the right; the
   title moves into the page as the headline below. */
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head {
    border: 0 !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head .bytes-composer-title {
    visibility: hidden;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-cancel {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-settings {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--bv-wash) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-settings i {
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
    font-size: 16px !important;
}

/* A video that cannot play here says so and moves on. */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-unplayable {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-family: var(--bv-mono) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
}

/* Full-screen blip surfaces: nothing floats over them. */
html body:has(#new-custom-modal.story-mode[style*="display: block"]) #pwa-install-banner,
html body:has(#mobile-blips-viewer[style*="display: block"]) #pwa-install-banner {
    display: none !important;
}

/* ============================================================ blip rails */
/* The Community home's rail (#community-blips-rail, mobile-blips.js
   renderCommunityBlipsRail): blips from every room the viewer can open, as
   circles with who posted each and the room it is in. It leads the home
   page; mobile-community-home.css hides the old rail there, so this brings
   it back only once it has been redrawn as circles (.blipr-rail). */
html body.community-active.community-layers-home-on:not(.community-room-mode):not(.community-explore-open) #community-main-area#community-main-area #community-blips-rail#community-blips-rail.blipr-rail:not([hidden]) {
    display: flex !important;
}
html body #community-blips-rail#community-blips-rail.blipr-rail {
    --br-ink: #0b0b0c;
    --br-page: #ffffff;
    --br-dim: color-mix(in srgb, var(--br-ink) 55%, var(--br-page));
    --br-rim: color-mix(in srgb, var(--br-ink) 16%, var(--br-page));
    --br-accent: var(--primary-color, #0b0b0c);
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 16px 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    scrollbar-width: none;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    font-family: "Archivo", var(--font-family, system-ui), sans-serif !important;
}
html[data-theme="dark"] body #community-blips-rail#community-blips-rail.blipr-rail {
    --br-ink: #f4f4f2;
    --br-page: #000000;
}
html[data-page-color] body #community-blips-rail#community-blips-rail.blipr-rail {
    --br-ink: var(--pc-ink);
    --br-page: var(--pc-page);
    --br-dim: var(--pc-dim);
    --br-rim: var(--pc-line);
    --br-accent: var(--pc-hl, var(--primary-color));
}
html[data-appearance="glass"] body #community-blips-rail#community-blips-rail.blipr-rail {
    --br-ink: #ffffff;
    --br-page: transparent;
    --br-dim: rgba(255, 255, 255, 0.72);
    --br-rim: rgba(255, 255, 255, 0.34);
}
html body #community-blips-rail#community-blips-rail.blipr-rail::-webkit-scrollbar { display: none; }
html body #community-blips-rail#community-blips-rail .blipr,
html body #mobile-community-room#mobile-community-room.room-immersive:not(#rm-a):not(#rm-b) .crs-blips__row .crs-blip {
    flex: 0 0 auto !important;
    width: 84px !important;
    min-width: 84px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
html body #community-blips-rail#community-blips-rail .blipr__ring {
    position: relative;
    width: 80px;
    height: 80px;
    padding: 3px;
    display: block;
    border-radius: 50%;
    background: var(--br-accent) !important;
}
html body #community-blips-rail#community-blips-rail .blipr__face {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--br-page) !important;
    box-shadow: 0 0 0 2.5px var(--br-page) !important;
}
html[data-appearance="glass"] body #community-blips-rail#community-blips-rail .blipr__face {
    background: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 0 0 2.5px rgba(11, 11, 12, 0.6) !important;
}
html body #community-blips-rail#community-blips-rail .blipr__face img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
html body #community-blips-rail#community-blips-rail .blipr.is-video .blipr__ring::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--br-ink) no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E");
    box-shadow: 0 0 0 2.5px var(--br-page);
}
html body #community-blips-rail#community-blips-rail .blipr--add .blipr__ring {
    background: transparent !important;
    box-shadow: inset 0 0 0 2px var(--br-rim) !important;
}
html body #community-blips-rail#community-blips-rail .blipr--add .blipr__face {
    background: transparent !important;
    box-shadow: none !important;
}
html body #community-blips-rail#community-blips-rail .blipr--add svg { width: 28px; height: 28px; }
html body #community-blips-rail#community-blips-rail .blipr--add svg * { stroke: var(--br-ink) !important; }
html body #community-blips-rail#community-blips-rail .blipr__initial {
    font-size: 28px;
    font-weight: 900;
}
html body #community-blips-rail#community-blips-rail .blipr *,
html body #community-blips-rail#community-blips-rail .blipr__initial {
    color: var(--br-ink) !important;
    -webkit-text-fill-color: var(--br-ink) !important;
    text-shadow: none !important;
}
html body #community-blips-rail#community-blips-rail .blipr__name,
html body #community-blips-rail#community-blips-rail .blipr__room {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
}
html body #community-blips-rail#community-blips-rail .blipr__name {
    font-family: "Archivo", var(--font-family, system-ui), sans-serif !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}
html body #community-blips-rail#community-blips-rail .blipr__room {
    margin-top: -3px;
    font-family: "JetBrains Mono", ui-monospace, monospace !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--br-dim) !important;
    -webkit-text-fill-color: var(--br-dim) !important;
}

/* Seen: every blip in a person's circle has been watched in this browser;
   the ring drops to the rim colour. Any unseen blip keeps it bright. */
html body #community-blips-rail#community-blips-rail .blipr.is-seen .blipr__ring {
    background: var(--br-rim) !important;
}
html body #mobile-community-room#mobile-community-room:not(#rm-a):not(#rm-b) .crs-blips__row .crs-blip.is-seen .crs-blip__ring {
    background: var(--room-rim, rgba(128, 128, 128, 0.4)) !important;
}

/* The room's own strip (room.js): a bit larger circles, names that read. */
html body #mobile-community-room#mobile-community-room.room-immersive:not(#rm-a):not(#rm-b) .crs-blips__row {
    gap: 12px !important;
}
html body #mobile-community-room#mobile-community-room.room-immersive:not(#rm-a):not(#rm-b) .crs-blips__row .crs-blip__ring {
    width: 78px !important;
    height: 78px !important;
}
html body #mobile-community-room#mobile-community-room.room-immersive:not(#rm-a):not(#rm-b) .crs-blips__row .crs-blip__name {
    width: 100% !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
}
html body #mobile-community-room#mobile-community-room.room-immersive:not(#rm-a):not(#rm-b) .crs-blips__row .crs-blip--add .crs-blip__face {
    font-size: 30px !important;
}

/* Viewer: the room a blip is in, ahead of its age. */
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__room {
    font-family: inherit !important;
}
html body #mobile-blips-viewer#mobile-blips-viewer .blipv-who__age {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ================================================= composer, simple card */
/* A new blip is four things, top to bottom, in .story-mode only (same form,
   same ids, same submitNewByte):
     1. the picked photo or video, big, with nothing floating over it; empty,
        the whole frame is the picker. "Change" lives in the head;
     2. "Say something…", a real field right under the media;
     3. "Post to": room chips (mobile-blips.js paintBlipRoomPicker);
     4. "Post blip", and a quiet "Visible 24h" under it.
   The head is a round close on the left, "New Blip", and "Change" once
   something is picked. Everything else in the form is hidden. */
html body #new-custom-modal#new-custom-modal.story-mode {
    --blipc-stage-h: clamp(240px, calc(100dvh - 440px), 560px);
    --blipc-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}
html body #new-custom-modal#new-custom-modal.story-mode #modal-content-wrapper { padding: 4px 16px 0 !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content > :not(.bytes-composer-card--media):not(.bytes-composer-card--caption):not(#new-byte-upload-error):not(#blip-composer-hero):not(.bytes-composer-foot) {
    display: none !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content > .bytes-composer-card--media { order: 1; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content > .bytes-composer-card--caption { order: 2; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content > #new-byte-upload-error { order: 3; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content > #blip-composer-hero { order: 4; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content > .bytes-composer-foot { order: 5; }

/* ------------------------------------------------------------------ head */
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 10px !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #bytes-composer-settings { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head .bytes-composer-title {
    visibility: visible !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #bytes-composer-heading {
    font-size: 18px !important;
    font-weight: 850 !important;
    letter-spacing: -0.01em !important;
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #bytes-composer-state { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #bytes-composer-cancel#bytes-composer-cancel {
    position: relative !important;
    order: -1;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--bv-wash) !important;
    box-shadow: none !important;
    font-size: 0 !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    overflow: hidden;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #bytes-composer-cancel#bytes-composer-cancel::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    background: var(--bv-ink);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* "Change": a pill in the head, only once something is picked. */
html body #new-custom-modal .blipc-change { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode:has(.bytes-media-tile:not(.bytes-media-tile-add)) #bytes-composer-head #blip-composer-change {
    display: inline-flex !important;
    flex: none !important;
    align-items: center !important;
    gap: 7px !important;
    height: 40px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 16px 0 13px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bv-wash) !important;
    box-shadow: inset 0 0 0 1.5px var(--bv-line) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #blip-composer-change span {
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #blip-composer-change svg { width: 18px; height: 18px; display: block; flex: none; color: var(--bv-ink) !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #blip-composer-change svg [stroke] { stroke: var(--bv-ink) !important; fill: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #blip-composer-change svg circle { fill: var(--bv-ink) !important; stroke: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-composer-head #blip-composer-change:active { transform: scale(0.96); }

/* ------------------------------------------------------------ 1. the media */
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card.bytes-composer-card--media {
    position: relative !important;
    isolation: isolate;
    height: var(--blipc-stage-h) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: var(--bv-wash) !important;
    box-shadow: inset 0 0 0 2px var(--bv-line) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    border: 2px dashed var(--bv-line);
    pointer-events: none;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media:has(.bytes-media-tile:not(.bytes-media-tile-add)) {
    background: #0b0b0c !important;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media:has(.bytes-media-tile:not(.bytes-media-tile-add))::before,
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media::after { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-section-media {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-section-media #bytes-media-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* Empty: the whole frame is the picker. */
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-control {
    position: absolute !important;
    inset: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media:has(.bytes-media-tile:not(.bytes-media-tile-add)) .bytes-file-upload-control { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-icon {
    position: relative;
    width: 88px !important;
    height: 88px !important;
    display: block !important;
    border-radius: 50% !important;
    background: var(--bv-accent) !important;
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--bv-accent) 18%, transparent) !important;
    animation: blipc-breathe 2.6s ease-in-out infinite;
    transition: transform 0.2s var(--blipc-pop);
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-control:active .bytes-file-upload-icon { transform: scale(0.92); }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-icon i { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 38px;
    height: 38px;
    background: var(--bv-on-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes blipc-breathe {
    0%, 100% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--bv-accent) 18%, transparent); }
    50% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--bv-accent) 8%, transparent); }
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-copy { display: block !important; text-align: center; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-copy > span { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-copy::before {
    content: "Add a photo or video";
    display: block;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.01em;
    color: var(--bv-ink);
    -webkit-text-fill-color: var(--bv-ink);
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-copy::after {
    content: "Tap anywhere here";
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bv-dim);
    -webkit-text-fill-color: var(--bv-dim);
}
/* Picked: the one photo or video fills the frame, whole. No add tile, no
   remove, no badge over it; "Change" in the head swaps it. */
html body #new-custom-modal#new-custom-modal.story-mode #bytes-media-preview#bytes-media-preview {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-media-tiles {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-media-tile { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-media-tile:not(.bytes-media-tile-add):first-child {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0b0b0c !important;
    box-shadow: none !important;
    animation: blipc-film 0.4s ease;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-media-tile > img,
html body #new-custom-modal#new-custom-modal.story-mode .bytes-media-tile > video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    display: block !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-media-tile :is(.bytes-media-tile-remove, .bytes-media-tile-badge) { display: none !important; }
@keyframes blipc-film { from { opacity: 0; transform: scale(1.03); } }
@keyframes blipc-pop { 0% { transform: scale(0.85); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* A refusal (too big, wrong type) shows as a pill on the frame; the "files
   ready" note does not. The storage offer only after a refusal. */
html body #new-custom-modal#new-custom-modal.story-mode #bytes-media-validation-msg {
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    z-index: 4;
    margin: 0 !important;
    padding: 10px 14px !important;
    border-radius: 16px !important;
    background: rgba(217, 45, 32, 0.92) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-media-validation-msg[style*="0, 255, 0"] { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-storage-offer { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #bytes-media-validation-msg[style*="255, 0, 0"][style*="block"] ~ .bytes-storage-offer:not([hidden]) {
    display: flex !important;
    position: absolute !important;
    left: 14px;
    right: 14px;
    top: 14px;
    z-index: 4;
    padding: 10px 14px !important;
    border-radius: 16px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-media-validation-msg[style*="255, 0, 0"][style*="block"] ~ .bytes-storage-offer * { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* ------------------------------------------------------ 2. say something */
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card.bytes-composer-card--caption {
    position: relative !important;
    height: auto !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    border: 0 !important;
    border-radius: 18px !important;
    background: var(--bv-wash) !important;
    box-shadow: inset 0 0 0 1.5px var(--bv-line) !important;
    transition: box-shadow 0.15s ease;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-card.bytes-composer-card--caption:focus-within {
    box-shadow: inset 0 0 0 2px var(--bv-accent) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content #bytes-description#bytes-description,
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content #bytes-description#bytes-description:focus {
    flex: 1;
    min-width: 0;
    height: auto !important;
    min-height: 52px !important;
    max-height: 120px !important;
    margin: 0 !important;
    padding: 15px 16px !important;
    border: 0 !important;
    border-radius: 18px !important;
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: -0.005em !important;
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
    caret-color: var(--bv-accent) !important;
    text-shadow: none !important;
    resize: none !important;
    overflow-y: auto;
    field-sizing: content;
    -webkit-user-select: text;
    user-select: text;
}
html body #new-custom-modal#new-custom-modal.story-mode #bytes-upload-form-content #bytes-description#bytes-description::placeholder {
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
    opacity: 1;
}
html body #new-custom-modal .blipc-count { display: none; }
html body #new-custom-modal#new-custom-modal.story-mode .blipc-count:not([hidden]) {
    display: block;
    flex: none;
    padding-right: 16px;
    font-family: var(--bv-mono) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .blipc-count.is-out { color: var(--bv-danger) !important; -webkit-text-fill-color: var(--bv-danger) !important; }
html body #new-custom-modal#new-custom-modal.story-mode #new-byte-upload-error {
    margin: 12px 0 0 !important;
    padding: 10px 14px !important;
    border-radius: 16px !important;
    background: color-mix(in srgb, var(--bv-danger) 14%, transparent) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center;
    color: var(--bv-danger) !important;
    -webkit-text-fill-color: var(--bv-danger) !important;
}

/* ------------------------------------------------------------ 3. post to */
html body #new-custom-modal #blip-composer-hero { display: none; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero {
    display: block;
    margin: 18px -16px 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-label {
    margin: 0 16px 8px !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
    letter-spacing: 0.01em !important;
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .blipc-room { margin: 0 !important; }
html body #new-custom-modal#new-custom-modal.story-mode .blipc-rooms {
    display: flex;
    gap: 8px;
    padding: 2px 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 16px;
}
html body #new-custom-modal#new-custom-modal.story-mode .blipc-rooms::-webkit-scrollbar { display: none; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip {
    position: relative !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 16px 0 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bv-wash) !important;
    box-shadow: inset 0 0 0 1.5px var(--bv-line) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip:active { transform: scale(0.96); }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on {
    padding-right: 12px !important;
    background: var(--bv-accent) !important;
    box-shadow: none !important;
    animation: blipc-pop 0.3s var(--blipc-pop);
}
html body #new-custom-modal#new-custom-modal.story-mode .blipc-rooms.is-pinned .blipc-chip { pointer-events: none; animation: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-face {
    position: relative;
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--bv-line) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on .blipc-face { box-shadow: 0 0 0 2px var(--bv-on-accent) !important; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-face img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-face__initial {
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-face:not(.is-empty) .blipc-face__initial { display: none; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip__name {
    white-space: nowrap !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    color: var(--bv-ink) !important;
    -webkit-text-fill-color: var(--bv-ink) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on .blipc-chip__name {
    color: var(--bv-on-accent) !important;
    -webkit-text-fill-color: var(--bv-on-accent) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero :is(.blipc-chip__lock, .blipc-chip__tick) {
    flex: none;
    display: grid;
    place-items: center;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip__lock svg { width: 13px; height: 13px; display: block; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip__lock svg rect { fill: var(--bv-dim) !important; stroke: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip__lock svg path { stroke: var(--bv-dim) !important; fill: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on .blipc-chip__lock svg rect { fill: var(--bv-on-accent) !important; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on .blipc-chip__lock svg path { stroke: var(--bv-on-accent) !important; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip__tick { display: none; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on .blipc-chip__tick {
    display: grid;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bv-on-accent) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip__tick svg { width: 13px; height: 13px; display: block; }
html body #new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip__tick svg path { stroke: var(--bv-accent) !important; fill: none !important; }

/* ---------------------------------------------------------- 4. post blip */
html body #new-custom-modal .blipc-note { display: none; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 20px 0 calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    border: 0 !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #bytes-post-note,
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot .blipc-timer { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn {
    position: relative !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bv-accent) !important;
    opacity: 1;
    box-shadow: 0 12px 26px -16px color-mix(in srgb, var(--bv-accent) 85%, transparent) !important;
    color: var(--bv-on-accent) !important;
    -webkit-text-fill-color: var(--bv-on-accent) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn * {
    color: var(--bv-on-accent) !important;
    -webkit-text-fill-color: var(--bv-on-accent) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode:not(:has(.bytes-media-tile:not(.bytes-media-tile-add))) .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn {
    opacity: 0.38 !important;
    pointer-events: none !important;
    box-shadow: none !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn:not(:disabled) { font-size: 0 !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn:not(:disabled) > * { display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn:not(:disabled)::before {
    content: "Post blip";
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.01em;
    color: var(--bv-on-accent);
    -webkit-text-fill-color: var(--bv-on-accent);
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn::after { content: none !important; display: none !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn:disabled {
    font-size: 14px !important;
    font-weight: 800 !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #blip-composer-note {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--bv-dim) !important;
    -webkit-text-fill-color: var(--bv-dim) !important;
}
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #blip-composer-note span { color: var(--bv-dim) !important; -webkit-text-fill-color: var(--bv-dim) !important; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #blip-composer-note svg { width: 14px; height: 14px; display: block; flex: none; }
html body #new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #blip-composer-note svg * { stroke: var(--bv-dim) !important; fill: none !important; }

/* Glass: mobile-glass-surfaces.css sweeps every div, span and button in
   #new-custom-modal with a six-id chain (clear fills, white ink, a frosted
   button fill). Seven ids keep the picked chip, Post blip, the frame and the
   field reading as themselves. */
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media:has(.bytes-media-tile:not(.bytes-media-tile-add)),
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-media-tile:not(.bytes-media-tile-add):first-child { background: #0b0b0c !important; background-color: #0b0b0c !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-composer-card--media .bytes-file-upload-icon { background: var(--bv-accent) !important; background-color: var(--bv-accent) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-composer-card.bytes-composer-card--caption { background: var(--bv-wash) !important; background-color: var(--bv-wash) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip { background: var(--bv-wash) !important; box-shadow: inset 0 0 0 1.5px var(--bv-line) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on { background: var(--bv-accent) !important; background-color: var(--bv-accent) !important; box-shadow: none !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on .blipc-chip__name { color: var(--bv-on-accent) !important; -webkit-text-fill-color: var(--bv-on-accent) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-chip.is-on .blipc-chip__tick { background: var(--bv-on-accent) !important; background-color: var(--bv-on-accent) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-face { background: var(--bv-line) !important; background-color: var(--bv-line) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn { background: var(--bv-accent) !important; background-color: var(--bv-accent) !important; color: var(--bv-on-accent) !important; -webkit-text-fill-color: var(--bv-on-accent) !important; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.5) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #submit-new-byte-btn#submit-new-byte-btn * { color: var(--bv-on-accent) !important; -webkit-text-fill-color: var(--bv-on-accent) !important; }
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode #blip-composer-hero .blipc-label,
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #blip-composer-note,
html[data-appearance="glass"] body #new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal#new-custom-modal.story-mode .bytes-composer-foot #blip-composer-note span { color: var(--bv-dim) !important; -webkit-text-fill-color: var(--bv-dim) !important; }

@media (prefers-reduced-motion: reduce) {
    html body #new-custom-modal#new-custom-modal.story-mode *, html body #new-custom-modal#new-custom-modal.story-mode *::before, html body #new-custom-modal#new-custom-modal.story-mode *::after { animation: none !important; }
}
