/* ==========================================================================
   PRLinkUp — How it works page
   Hero paths · Journey spine · Campaign stages · Formats
   ========================================================================== */

/* ---------- Shared heads ---------- */
.hwsec-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 4rem;
    margin-top: clamp(1.25rem, 3vh, 2rem);
}

.hwsec-title {
    max-width: 16ch;
    font-size: clamp(2.2rem, 1rem + 3.6vw, 4.4rem);
    font-weight: var(--fw-black);
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--ink-950);
}

.hwsec-title--light {
    color: var(--white);
}

.hwsec-lead {
    max-width: 380px;
    padding-bottom: 0.4em;
    font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem);
    line-height: 1.6;
    color: var(--ink-600);
}

.hwsec-lead--light {
    color: rgba(255, 255, 255, 0.72);
}

.hwhero__title em,
.hwhero__title em .split-word,
.hwsec-title em,
.hwsec-title em .split-word {
    font-style: italic;
    background-image: linear-gradient(100deg, #5B3FF0 0%, #7A5DFF 35%, #B06AF8 70%, #E879F9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hwsec-title--light em,
.hwsec-title--light em .split-word {
    background-image: linear-gradient(100deg, #C4B5FF 0%, #E9D5FF 50%, #F5B5FC 100%);
}

.hwhero__title em .split-word,
.hwsec-title em .split-word {
    padding-right: 0.06em;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hwhero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 2rem + 3vw, 5rem);
    background: #F7F5FF;
}

.hwhero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hwhero__glow {
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(110px);
}

.hwhero__glow--a {
    top: -30%;
    left: -10%;
    width: 50vw;
    background: #B4A3FF;
    opacity: 0.5;
    animation: drift-2 30s var(--ease-soft) infinite;
}

.hwhero__glow--b {
    top: -20%;
    right: -10%;
    width: 45vw;
    background: #F5B5FC;
    opacity: 0.5;
    animation: drift-1 28s var(--ease-soft) infinite;
}

.hwhero .grain {
    opacity: 0.06;
}

.hwhero__head {
    display: grid;
    justify-items: center;
    text-align: center;
}

.hwhero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 0 0 1px rgba(122, 93, 255, 0.14);
    color: var(--violet-650);
    font-size: 13px;
    font-weight: var(--fw-semi);
}

.hwhero__title {
    margin-top: clamp(1.25rem, 3vh, 1.75rem);
    font-size: clamp(2.8rem, 1rem + 5.4vw, 6.4rem);
    font-weight: var(--fw-black);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--ink-950);
}

.hwhero__lead {
    max-width: 52ch;
    margin-top: 20px;
    font-size: clamp(1rem, 0.92rem + 0.3vw, 1.15rem);
    line-height: 1.65;
    color: var(--ink-600);
}

.hwhero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    margin-top: 30px;
}

/* ---------- Paths ---------- */
.paths {
    position: relative;
    max-width: 1100px;
    margin: clamp(1.5rem, 4vh, 3rem) auto 0;
    aspect-ratio: 1000 / 400;
    container-type: inline-size;
}

.paths__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.paths__base {
    fill: none;
    stroke: rgba(122, 93, 255, 0.14);
    stroke-width: 18;
    stroke-linecap: round;
}

.paths__line {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 10 14;
    animation: path-flow 1.4s linear infinite;
}

.paths__line--creator {
    animation-direction: reverse;
}

@keyframes path-flow {
    to { stroke-dashoffset: -24; }
}

/* Path ends and the meeting node (positions in viewBox %) */
.paths__end {
    position: absolute;
    top: 90%;
    display: grid;
    justify-items: center;
    gap: 2px;
    translate: -50% -50%;
    text-align: center;
}

.paths__end--brand   { left: 4%; }
.paths__end--creator { left: 96%; }

.paths__end i {
    display: grid;
    place-items: center;
    width: clamp(46px, 7cqi, 68px);
    aspect-ratio: 1;
    margin-bottom: 6px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--grad-hero);
    color: var(--white);
    font-size: clamp(20px, 3cqi, 30px);
    font-style: normal;
    box-shadow: var(--shadow-md);
}

.paths__end--creator i {
    background: var(--grad-orchid);
}

.paths__end b {
    font-size: clamp(14px, 2cqi, 19px);
    font-weight: var(--fw-bold);
}

.paths__end small {
    font-size: clamp(11px, 1.4cqi, 13px);
    color: var(--ink-600);
    white-space: nowrap;
}

.paths__node {
    position: absolute;
    top: 37.5%;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 4px;
    width: clamp(150px, 22cqi, 230px);
    padding: clamp(14px, 2cqi, 22px);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 30px 60px -24px rgba(74, 47, 217, 0.5), inset 0 0 0 1px rgba(122, 93, 255, 0.12);
    translate: -50% -50%;
    text-align: center;
}

.paths__pulse {
    position: absolute;
    inset: 0;
    border: 2px solid var(--violet-400);
    border-radius: inherit;
    animation: node-pulse 2.6s var(--ease-out) infinite;
    pointer-events: none;
}

@keyframes node-pulse {
    from { opacity: 0.7; scale: 1; }
    to   { opacity: 0; scale: 1.18; }
}

.paths__mark {
    display: grid;
    place-items: center;
    width: clamp(40px, 6cqi, 56px);
    aspect-ratio: 1;
    margin-bottom: 4px;
    border-radius: 30%;
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: var(--glow-violet);
}

.paths__mark svg {
    width: 52%;
    height: 52%;
}

.paths__node b {
    font-size: clamp(16px, 2.4cqi, 22px);
    font-weight: var(--fw-black);
    letter-spacing: -0.03em;
}

.paths__node small {
    font-size: clamp(10.5px, 1.3cqi, 12.5px);
    color: var(--ink-600);
}

.paths__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: var(--r-pill);
    background: var(--ink-950);
    color: var(--white);
    font-size: clamp(11px, 1.4cqi, 13px);
    font-weight: var(--fw-semi);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.paths__chip i {
    color: #F0ABFC;
}

.paths__chip--a { top: 54%; left: 21%; }
.paths__chip--b { top: 54%; right: 21%; animation-delay: -2s; }
.paths__chip--c { top: 76%; left: 50%; translate: -50% 0; background: var(--grad-primary); animation-delay: -4s; }

@media (max-width: 600px) {
    .paths {
        aspect-ratio: 1000 / 520;
    }

    .paths__end small,
    .paths__node small,
    .paths__chip--a,
    .paths__chip--b {
        display: none;
    }

    .paths__node {
        border-radius: 20px;
    }

    /* Keep the end circles inside the screen */
    .paths__end--brand   { left: 10%; }
    .paths__end--creator { left: 90%; }
}

/* ==========================================================================
   Journey spine
   ========================================================================== */
.journey2 {
    padding-block: clamp(5rem, 4rem + 5vw, 8rem);
    background: var(--white);
}

.jswitch {
    display: inline-flex;
    padding: 5px;
    border-radius: var(--r-pill);
    background: var(--gray-100);
}

.jswitch button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--r-pill);
    color: var(--ink-600);
    font-size: 14px;
    font-weight: var(--fw-semi);
    transition: background-color 0.3s, color 0.3s;
}

.jswitch button[aria-pressed="true"] {
    background: var(--ink-950);
    color: var(--white);
}

.jlanes {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    margin-top: clamp(2.5rem, 6vh, 3.5rem);
}

.jlanes__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: end;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--violet-100);
    color: var(--violet-650);
    font-size: 12.5px;
    font-weight: var(--fw-semi);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jlanes__label--creator {
    grid-column: 3;
    justify-self: start;
    background: #FCE7FF;
    color: #A21CAF;
}

.jtrack {
    position: relative;
    margin-top: 20px;
}

.jtrack__spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    border-radius: 3px;
    background: var(--gray-100);
    translate: -50% 0;
}

.jtrack__spine span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(#7A5DFF, #B06AF8, #E879F9);
    transform: scaleY(0);
    transform-origin: top;
}

.jtrack__list {
    display: grid;
    gap: clamp(1rem, 3vh, 1.75rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.jrow {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
}

.jstep {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon who"
        "icon title"
        "text text"
        "chip chip";
    column-gap: 14px;
    padding: 20px 22px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    opacity: 0.45;
    translate: 0 10px;
    transition: opacity 0.6s var(--ease-soft), translate 0.8s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}

.jstep--brand   { grid-column: 1; }
.jstep--creator { grid-column: 3; }

.jrow.is-lit .jstep {
    opacity: 1;
    translate: 0 0;
}

.jrow.is-lit .jstep--brand {
    border-color: var(--violet-200);
    box-shadow: var(--shadow-md), 0 18px 40px -22px rgba(74, 47, 217, 0.4);
}

.jrow.is-lit .jstep--creator {
    border-color: #F5D0FE;
    box-shadow: var(--shadow-md), 0 18px 40px -22px rgba(192, 38, 211, 0.35);
}

/* Connector from card to the spine node */
.jstep::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    transition: background-color 0.5s;
}

.jstep--brand::after   { left: 100%; }
.jstep--creator::after { right: 100%; }

.jrow.is-lit .jstep--brand::after   { background: var(--violet-300); }
.jrow.is-lit .jstep--creator::after { background: #F0ABFC; }

.jstep__who {
    grid-area: who;
    font-size: 11px;
    font-weight: var(--fw-semi);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-400);
}

.jstep__icon {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: var(--grad-hero);
    color: var(--white);
    font-size: 22px;
}

.jstep--creator .jstep__icon {
    background: var(--grad-orchid);
}

.jstep__title {
    grid-area: title;
    font-size: 18px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

.jstep__text {
    grid-area: text;
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-600);
}

.jstep__chip {
    grid-area: chip;
    justify-self: start;
    margin-top: 14px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: var(--violet-100);
    color: var(--violet-650);
    font-size: 12.5px;
    font-weight: var(--fw-semi);
}

.jstep--creator .jstep__chip {
    background: #FCE7FF;
    color: #A21CAF;
}

.jnode {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
}

.jnode__dot {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--ink-400);
    font-size: 13px;
    font-weight: var(--fw-bold);
    box-shadow: 0 0 0 1px var(--color-border);
    transition: background 0.5s, color 0.5s, box-shadow 0.5s, scale 0.6s var(--ease-out);
}

.jnode__phase {
    padding: 3px 9px;
    border-radius: var(--r-pill);
    background: var(--white);
    font-size: 11.5px;
    font-weight: var(--fw-semi);
    color: var(--ink-600);
    text-align: center;
}

.jrow.is-lit .jnode__dot {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(122, 93, 255, 0.15);
    scale: 1.08;
}

.jrow.is-lit .jnode__phase {
    color: var(--violet-650);
}

/* The match row stands out */
.jrow--match .jnode__dot {
    width: 56px;
    height: 56px;
    font-size: 22px;
}

.jrow--match.is-lit .jnode__dot {
    background: linear-gradient(135deg, #7A5DFF, #E879F9);
    box-shadow: 0 0 0 8px rgba(232, 121, 249, 0.18), 0 12px 30px -8px rgba(232, 121, 249, 0.7);
}

.jrow--match .jnode__phase {
    background: var(--ink-950);
    color: var(--white) !important;
}

/* Focus one side */
.journey2[data-view="brand"] .jstep--creator,
.journey2[data-view="creator"] .jstep--brand {
    opacity: 0.12 !important;
    filter: grayscale(1);
}

@media (max-width: 900px) {
    .jlanes {
        display: none;
    }

    .jtrack__spine {
        left: 22px;
    }

    .jrow {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 10px;
        align-items: start;
    }

    .jnode {
        grid-column: 1;
        grid-row: 1 / span 2;
        justify-items: start;
    }

    .jnode__phase {
        display: none;
    }

    .jrow--match .jnode__dot {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .jstep--brand,
    .jstep--creator {
        grid-column: 2;
    }

    .jstep::after {
        display: none;
    }

    .journey2[data-view="brand"] .jstep--creator,
    .journey2[data-view="creator"] .jstep--brand {
        display: none;
    }
}

@media (max-width: 480px) {
    .jswitch button {
        padding: 0 12px;
        font-size: 13px;
    }

    .jstep {
        padding: 16px;
    }
}

/* ==========================================================================
   Campaign stages (dark)
   ========================================================================== */
.life {
    position: relative;
    isolation: isolate;
    padding-block: clamp(5rem, 4rem + 5vw, 8rem);
    overflow: hidden;
    background: #0E0B26;
    color: var(--white);
}

.life__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.life__glow {
    position: absolute;
    top: -30%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: #4A2FD9;
    filter: blur(140px);
    opacity: 0.4;
}

.life .grain {
    opacity: 0.07;
}

.stagebar {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: clamp(2.5rem, 6vh, 3.5rem);
}

/* Track behind the dots */
.stagebar::before,
.stagebar__fill {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
}

.stagebar__fill {
    background: linear-gradient(90deg, #7A5DFF, #E879F9, #34E89E);
    transform: scaleX(var(--p, 0));
    transform-origin: left center;
    transition: transform 0.7s var(--ease-out);
}

.stagebtn {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 0 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: var(--fw-semi);
    transition: color 0.4s;
}

.stagebtn__dot {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1E1752;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16);
    font-size: 22px;
    transition: background 0.5s, box-shadow 0.5s, scale 0.5s var(--ease-out);
}

.stagebtn:hover {
    color: var(--white);
}

.stagebtn.is-past .stagebtn__dot {
    background: #3A22B8;
}

.stagebtn.is-past {
    color: rgba(255, 255, 255, 0.8);
}

.stagebtn[aria-selected="true"] {
    color: var(--white);
}

.stagebtn[aria-selected="true"] .stagebtn__dot {
    background: var(--grad-primary);
    box-shadow: 0 0 0 7px rgba(122, 93, 255, 0.25), 0 14px 30px -8px rgba(122, 93, 255, 0.8);
    scale: 1.1;
}

.stagepanels {
    margin-top: clamp(2rem, 5vh, 3rem);
}

.stagepanel {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.stagepanel:not([hidden]) {
    animation: stage-in-soft 0.6s var(--ease-out);
}

@keyframes stage-in-soft {
    from { opacity: 0; translate: 0 14px; }
}

.stagepanel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.stagepanel__num {
    font-size: 14px;
    font-weight: var(--fw-semi);
    color: var(--lavender);
}

.stagepanel__head b {
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
    font-weight: var(--fw-black);
    letter-spacing: -0.04em;
}

.money {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    font-size: 13.5px;
    font-weight: var(--fw-semi);
}

.money--base { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.money--held { background: rgba(196, 181, 255, 0.16); color: #D9D0FF; }
.money--out  { background: rgba(232, 121, 249, 0.18); color: #F5B5FC; }
.money--done { background: rgba(0, 210, 106, 0.16); color: #5BF0A6; }

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

.who {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.who > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: var(--fw-semi);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lavender);
}

.who--creator > span { color: #F5B5FC; }
.who--team > span    { color: #A5CBFF; }

.who > span svg {
    width: 14px;
    height: 14px;
}

.who p {
    margin-top: 10px;
    font-size: 15.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.stagenav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.stagenav__btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s;
}

.stagenav__btn:hover {
    background: var(--white);
    color: var(--ink-950);
}

.stagenav__count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
}

.stagenav__count b {
    color: var(--white);
}

@media (max-width: 900px) {
    .stagebar {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .stagebar::-webkit-scrollbar {
        display: none;
    }

    .stagebar::before,
    .stagebar__fill {
        display: none;
    }

    .stagebtn {
        flex: 0 0 84px;
        font-size: 12.5px;
    }

    .stagebtn__dot {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .stagepanel__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .money {
        margin-left: 0;
    }
}

/* ==========================================================================
   Formats
   ========================================================================== */
.formats {
    padding-block: clamp(5rem, 4rem + 5vw, 8rem);
    background: #F7F5FF;
}

.fgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: clamp(2.5rem, 6vh, 3.5rem) 0 0;
    padding: 0;
    list-style: none;
}

.fmt {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "frame frame"
        "num label"
        "text text";
    align-items: center;
    column-gap: 10px;
    padding: 16px 16px 22px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: translate 0.5s var(--ease-out), box-shadow 0.4s;
}

.fmt:hover {
    translate: 0 -5px;
    box-shadow: var(--shadow-md), 0 24px 50px -24px rgba(122, 93, 255, 0.5);
}

.fmt__frame {
    grid-area: frame;
    position: relative;
    display: grid;
    place-items: center;
    height: 250px;
    margin-bottom: 18px;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(rgba(122, 93, 255, 0.12) 1px, transparent 1.3px) 0 0 / 16px 16px,
        var(--gray-50);
}

.fmt__num {
    grid-area: num;
    font-size: 12px;
    font-weight: var(--fw-semi);
    color: var(--violet-400);
}

.fmt__label {
    grid-area: label;
    font-size: 22px;
    font-weight: var(--fw-black);
    letter-spacing: -0.03em;
}

.fmt__text {
    grid-area: text;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-600);
}

/* Post: square + action row */
.fmt__post {
    width: 150px;
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--grad-orchid);
    box-shadow: var(--shadow-md);
}

.fmt__actions {
    position: absolute;
    bottom: 26px;
    display: flex;
    gap: 12px;
    font-size: 18px;
    color: var(--ink-900);
}

.fmt__actions i:first-child {
    color: #E0399A;
}

.fmt--post .fmt__frame {
    align-content: center;
    padding-bottom: 30px;
}

/* Reel: 9:16 with side actions */
.fmt__reel {
    position: relative;
    display: grid;
    place-items: center;
    height: 210px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    background: var(--grad-hero);
    color: var(--white);
    font-size: 30px;
    box-shadow: var(--shadow-md);
}

.fmt__side {
    position: absolute;
    right: 8px;
    bottom: 12px;
    display: grid;
    gap: 8px;
    font-size: 15px;
}

/* Carousel: stacked slides + dots */
.fmt__car {
    position: relative;
    width: 140px;
    aspect-ratio: 1;
    margin-bottom: 18px;
}

.fmt__car i {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.fmt__car i:nth-child(1) { background: var(--grad-ocean); rotate: 8deg; translate: 22px 0; }
.fmt__car i:nth-child(2) { background: var(--grad-twilight); rotate: 4deg; translate: 11px 0; }
.fmt__car i:nth-child(3) { background: var(--grad-primary); }

.fmt--carousel:hover .fmt__car i:nth-child(1) { translate: 44px 0; }
.fmt--carousel:hover .fmt__car i:nth-child(2) { translate: 22px 0; }

.fmt__car i {
    transition: translate 0.6s var(--ease-out);
}

.fmt__dots {
    position: absolute;
    bottom: 24px;
    display: flex;
    gap: 5px;
}

.fmt__dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-200);
}

.fmt__dots i.is-on {
    background: var(--violet-500);
}

/* Story: full-height with progress bars */
.fmt__story {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 220px;
    aspect-ratio: 9 / 16;
    padding: 10px 8px;
    border-radius: 16px;
    background: linear-gradient(160deg, #F0ABFC, #7A5DFF);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.fmt__bars {
    display: flex;
    gap: 3px;
}

.fmt__bars i {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.fmt__bars i.is-on {
    background: var(--white);
}

.fmt__swipe {
    display: grid;
    justify-items: center;
    font-size: 11px;
    font-weight: var(--fw-semi);
}

@media (max-width: 1023px) {
    .fgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .fgrid {
        grid-template-columns: minmax(0, 1fr);
    }
}
