﻿:root {
    --leaf-900: #392236;
    --leaf-700: #8a4f78;
    --leaf-500: #d96fa4;
    --leaf-300: #ffc4dc;
    --moss: #87b98c;
    --sun: #ffd56f;
    --sun-soft: #fff2b8;
    --mint: #ddf7e4;
    --sky: #dff5ff;
    --cream: #fff7fb;
    --paper: rgba(255, 248, 252, 0.84);
    --paper-solid: #fffafd;
    --ink: #3a2637;
    --muted: #8b6b82;
    --line: rgba(217, 111, 164, 0.2);
    --line-strong: rgba(217, 111, 164, 0.36);
    --shadow-soft: 0 22px 70px rgba(129, 72, 111, 0.15);
    --shadow-card: 0 18px 44px rgba(129, 72, 111, 0.13);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 15px;
    --display: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
    --body: "Trebuchet MS", "Aptos", "Segoe UI", sans-serif;
    --mono: "Cascadia Code", "JetBrains Mono", "Courier New", monospace;
}

@property --stage-rotate {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@property --meter-level {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 20%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--body);
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 8%, rgba(255, 196, 220, 0.72), transparent 25rem),
        radial-gradient(circle at 88% 12%, rgba(221, 247, 228, 0.74), transparent 24rem),
        radial-gradient(circle at 74% 88%, rgba(255, 213, 111, 0.28), transparent 20rem),
        linear-gradient(135deg, rgba(255, 247, 251, 0.98), rgba(255, 235, 246, 0.78) 48%, rgba(223, 245, 255, 0.56)),
        var(--cream);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: -2;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(217, 111, 164, 0.18), transparent 18rem),
        radial-gradient(ellipse at 78% 72%, rgba(255, 213, 111, 0.16), transparent 20rem);
}

body::after {
    z-index: -1;
    opacity: 0.42;
    background-image:
        linear-gradient(115deg, transparent 0 42%, rgba(217, 111, 164, 0.07) 42% 43%, transparent 43% 100%),
        radial-gradient(circle at 8% 15%, rgba(217, 111, 164, 0.12) 0 0.32rem, transparent 0.36rem),
        radial-gradient(circle at 74% 18%, rgba(247, 214, 111, 0.2) 0 0.4rem, transparent 0.46rem),
        radial-gradient(circle at 43% 88%, rgba(108, 166, 109, 0.13) 0 0.28rem, transparent 0.34rem);
    background-size: 28rem 28rem, 12rem 12rem, 16rem 16rem, 14rem 14rem;
}

body.mood-spark {
    --leaf-900: #1d4930;
    --leaf-700: #35764a;
    --leaf-500: #65b56e;
    --leaf-300: #d9f8dd;
    --moss: #74bf84;
    --sun: #c8f3cf;
    --sun-soft: #ecfff0;
    --mint: #e8fff0;
    --sky: #e5fff8;
    --cream: #f7fff8;
    --paper: rgba(248, 255, 249, 0.84);
    --paper-solid: #fbfffb;
    --ink: #223d2d;
    --muted: #638170;
    --line: rgba(101, 181, 110, 0.18);
    --line-strong: rgba(101, 181, 110, 0.32);
    --shadow-soft: 0 22px 70px rgba(69, 132, 85, 0.14);
    --shadow-card: 0 18px 44px rgba(69, 132, 85, 0.12);
    filter: saturate(104%) contrast(1.01);
    background:
        radial-gradient(circle at 16% 10%, rgba(195, 255, 205, 0.78), transparent 22rem),
        radial-gradient(circle at 82% 12%, rgba(168, 236, 192, 0.64), transparent 22rem),
        radial-gradient(circle at 62% 88%, rgba(118, 208, 154, 0.28), transparent 22rem),
        linear-gradient(135deg, rgba(247, 255, 249, 0.98), rgba(231, 255, 243, 0.84) 46%, rgba(211, 255, 227, 0.7)),
        var(--cream);
}

body.mood-spark::before {
    background:
        radial-gradient(ellipse at 16% 22%, rgba(115, 199, 132, 0.18), transparent 18rem),
        radial-gradient(ellipse at 78% 72%, rgba(201, 243, 207, 0.22), transparent 20rem);
}

body.mood-spark::after {
    opacity: 0.38;
    background-image:
        linear-gradient(115deg, transparent 0 42%, rgba(101, 181, 110, 0.08) 42% 43%, transparent 43% 100%),
        radial-gradient(circle at 8% 15%, rgba(101, 181, 110, 0.14) 0 0.32rem, transparent 0.36rem),
        radial-gradient(circle at 74% 18%, rgba(200, 243, 207, 0.28) 0 0.4rem, transparent 0.46rem),
        radial-gradient(circle at 43% 88%, rgba(71, 159, 96, 0.13) 0 0.28rem, transparent 0.34rem);
    background-size: 28rem 28rem, 12rem 12rem, 16rem 16rem, 14rem 14rem;
}

body.mood-spark .topbar,
body.mood-spark .section-nav,
body.mood-spark .post-card,
body.mood-spark .toy-card,
body.mood-spark .moodboard,
body.mood-spark .about-panel,
body.mood-spark .mini-panel,
body.mood-spark .site-footer,
body.mood-spark .reading-lanes article,
body.mood-spark .studio-map,
body.mood-spark .post-console,
body.mood-spark .hero-stats div,
body.mood-spark .signal-board {
    border-color: rgba(101, 181, 110, 0.2);
}

body.mood-spark .scroll-progress {
    background: linear-gradient(90deg, #57b86b, #c8f3cf, #79dca1);
    box-shadow: 0 0 18px rgba(87, 184, 107, 0.38);
}

body.mood-spark .mood-console {
    border-color: rgba(101, 181, 110, 0.5);
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.82), transparent 10rem),
        radial-gradient(circle at 88% 18%, rgba(186, 255, 208, 0.62), transparent 12rem),
        linear-gradient(145deg, rgba(209, 255, 219, 0.78), rgba(255, 255, 255, 0.76));
    box-shadow: 0 34px 90px rgba(95, 164, 114, 0.22);
}

body.mood-spark .mood-dials {
    background:
        linear-gradient(90deg, rgba(101, 181, 110, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(101, 181, 110, 0.12) 1px, transparent 1px),
        #2d5734;
    background-size: 18px 18px;
}

body.mood-spark .mood-dials span {
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, #f7fff8 0%, #c8f6cf 28%, #88dc9b 64%, #4ab36f 100%);
    box-shadow: 0 0 28px rgba(101, 181, 110, 0.58);
}

body.mood-spark .mood-console h3 {
    color: #2f6d45;
}

body.mood-spark .mood-console button {
    background: linear-gradient(135deg, #67c47c, #d7ffd8);
    color: #214f31;
    box-shadow: 0 16px 34px rgba(84, 165, 103, 0.28);
}

body.mood-spark .filter-chip.is-active,
body.mood-spark .filter-chip:hover,
body.mood-spark .button-link:not(.subtle) {
    background: linear-gradient(135deg, #67c47c, #d7ffd8);
    color: #214f31;
}

body.mood-spark .brand-mark,
body.mood-spark .hero h1::after,
body.mood-spark .reading-lanes article::after,
body.mood-spark .studio-map-grid article::after,
body.mood-spark .admin-insights article::after {
    background: linear-gradient(90deg, #4fae63, #c8f3cf, #73d99b);
    box-shadow: 0 0 24px rgba(87, 184, 107, 0.24);
}

body.mood-spark .brand-mark {
    border-color: rgba(53, 118, 74, 0.22);
    background:
        linear-gradient(180deg, rgba(251, 255, 251, 0.96), rgba(235, 255, 241, 0.9)),
        #fbfffb;
    box-shadow: 0 8px 18px rgba(69, 132, 85, 0.1);
}

body.mood-spark .brand-mark::before {
    background: linear-gradient(180deg, #7fcf8d, #d9f8dd);
}

body.mood-spark .brand-mark::after {
    background: rgba(218, 248, 223, 0.82);
}

body.mood-spark .topbar,
body.mood-spark .section-nav,
body.mood-spark .floating-dock {
    background: rgba(248, 255, 249, 0.78);
    box-shadow: 0 14px 40px rgba(69, 132, 85, 0.13);
}

body.mood-spark .hero-media {
    --hero-wash: linear-gradient(90deg, rgba(248, 255, 249, 0.98) 0%, rgba(248, 255, 249, 0.82) 42%, rgba(248, 255, 249, 0.28) 74%);
    --hero-tint: linear-gradient(180deg, rgba(198, 244, 204, 0.22), rgba(255, 255, 255, 0.08));
}

body.mood-spark .hero-beam {
    background:
        linear-gradient(112deg, transparent 0 22%, rgba(255, 255, 255, 0.5) 24%, transparent 31% 100%),
        radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, 0.72), rgba(111, 210, 126, 0.22) 10rem, transparent 19rem),
        conic-gradient(from var(--stage-rotate) at 78% 28%, rgba(87, 184, 107, 0.38), rgba(200, 243, 207, 0.2), rgba(135, 228, 180, 0.18), rgba(87, 184, 107, 0.38));
}

body.mood-spark .hero-scene::before {
    background: radial-gradient(circle, rgba(198, 244, 204, 0.44), rgba(238, 255, 220, 0.16) 50%, transparent 74%);
}

body.mood-spark .hero-noise {
    background-image:
        radial-gradient(ellipse at 20% 18%, rgba(101, 181, 110, 0.14) 0 0.12rem, transparent 0.14rem),
        radial-gradient(ellipse at 74% 28%, rgba(200, 243, 207, 0.16) 0 0.1rem, transparent 0.13rem),
        linear-gradient(118deg, transparent 0 46%, rgba(101, 181, 110, 0.06) 46% 47%, transparent 47% 100%);
}

body.mood-spark .scene-stickers span {
    background: rgba(35, 79, 48, 0.76);
    box-shadow: 0 16px 38px rgba(35, 79, 48, 0.2);
}

body.mood-spark .scene-stickers span:nth-child(2),
body.mood-spark .season-list a:hover,
body.mood-spark .mood-grid a:hover,
body.mood-spark .floating-dock a:hover,
body.mood-spark .floating-dock button:hover {
    background: #65b56e;
    color: #fbfffb;
}

body.mood-spark .scene-stickers span:nth-child(3) {
    background: rgba(200, 243, 207, 0.9);
    color: #214f31;
}

body.mood-spark .featured-stack::before {
    background:
        radial-gradient(circle at 50% 38%, rgba(101, 181, 110, 0.28), transparent 54%),
        radial-gradient(circle at 72% 64%, rgba(200, 243, 207, 0.34), transparent 58%);
}

body.mood-spark .feature-card-story {
    background:
        linear-gradient(145deg, rgba(251, 255, 251, 0.96), rgba(232, 255, 240, 0.9) 58%, rgba(237, 255, 221, 0.82)),
        rgba(251, 255, 251, 0.9);
}

body.mood-spark .feature-card-story::before {
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.96), transparent 19%),
        radial-gradient(circle at 84% 18%, rgba(200, 243, 207, 0.38), transparent 24%),
        linear-gradient(135deg, rgba(101, 181, 110, 0.32), rgba(200, 243, 207, 0.34), transparent);
}

body.mood-spark .post-console,
body.mood-spark .reading-lanes article,
body.mood-spark .studio-map,
body.mood-spark .toy-lab,
body.mood-spark .moodboard,
body.mood-spark .about-panel,
body.mood-spark .mini-panel,
body.mood-spark .site-footer {
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.78), transparent 13rem),
        linear-gradient(135deg, rgba(248, 255, 249, 0.88), rgba(230, 255, 238, 0.68) 58%, rgba(226, 255, 245, 0.58));
    box-shadow: 0 24px 70px rgba(69, 132, 85, 0.13);
}

body.mood-spark .zine-wall,
body.mood-spark .signal-board {
    background:
        radial-gradient(circle at 78% 10%, rgba(214, 255, 220, 0.24), transparent 16rem),
        linear-gradient(135deg, rgba(25, 72, 42, 0.94), rgba(56, 132, 75, 0.86) 48%, rgba(166, 232, 177, 0.38)),
        rgba(248, 255, 249, 0.82);
    color: #fbfffb;
    box-shadow: 0 32px 86px rgba(38, 101, 55, 0.24);
}

body.mood-spark .zine-copy .eyebrow,
body.mood-spark .signal-board .eyebrow,
body.mood-spark .zine-copy p,
body.mood-spark .signal-grid p {
    color: rgba(244, 255, 246, 0.84);
}

body.mood-spark .zine-copy h2,
body.mood-spark .signal-head h2,
body.mood-spark .signal-number {
    color: #fbfffb;
    text-shadow: 0 14px 34px rgba(10, 54, 26, 0.34);
}

body.mood-spark .zine-meter {
    background: rgba(24, 75, 42, 0.72);
}

body.mood-spark .zine-meter span,
body.mood-spark .mood-dials span {
    background: linear-gradient(180deg, #fbfffb 0%, #d4ffd8 32%, #86df99 68%, #3ea95c 100%);
    box-shadow: 0 0 24px rgba(103, 196, 124, 0.48);
}

body.mood-spark .signal-grid article {
    border-color: rgba(239, 255, 242, 0.3);
    background: rgba(248, 255, 249, 0.13);
}

body.mood-spark .toy-lab::before {
    background-image:
        linear-gradient(90deg, rgba(101, 181, 110, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(101, 181, 110, 0.12) 1px, transparent 1px);
}

body.mood-spark .toy-lab::after,
body.mood-spark .post-console::after,
body.mood-spark .moodboard::after {
    color: rgba(53, 118, 74, 0.13);
}

body.mood-spark .toy-card,
body.mood-spark .button-link.subtle,
body.mood-spark .filter-chip,
body.mood-spark .mood-grid a,
body.mood-spark .portal-list a {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(232, 255, 240, 0.48)),
        rgba(248, 255, 249, 0.64);
    box-shadow: 0 16px 36px rgba(69, 132, 85, 0.1);
}

body.mood-spark .toy-card::before,
body.mood-spark .moodboard::before,
body.mood-spark .about-panel::before {
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.74), transparent 22%),
        linear-gradient(135deg, rgba(101, 181, 110, 0.28), rgba(200, 243, 207, 0.24));
}

body.mood-spark .portal-list a:hover {
    background: linear-gradient(135deg, #65b56e, #d7ffd8);
    color: #214f31;
}

body.mood-bloom {
    --leaf-500: #e978af;
    --sun: #ffd56f;
    filter: saturate(104%);
}

body.mood-bloom .mood-console {
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 213, 111, 0.42), transparent 10rem),
        radial-gradient(circle at 16% 22%, rgba(255, 196, 220, 0.48), transparent 12rem),
        linear-gradient(145deg, rgba(255, 143, 199, 0.22), rgba(255, 255, 255, 0.68));
}

body.mood-ocean {
    --leaf-900: #17364c;
    --leaf-700: #357c9a;
    --leaf-500: #6fc6e5;
    --leaf-300: #c8f2ff;
    --sun: #bcefff;
    --sun-soft: #eafaff;
    --mint: #e8fbff;
    --sky: #dff8ff;
    --paper: rgba(244, 253, 255, 0.78);
    --paper-solid: #f7fdff;
    --ink: #17364c;
    --muted: #6b8ca1;
    --line: rgba(111, 198, 229, 0.22);
    --line-strong: rgba(111, 198, 229, 0.42);
    color: #17364c;
    background:
        radial-gradient(circle at 18% 10%, rgba(189, 244, 255, 0.68), transparent 25rem),
        radial-gradient(circle at 80% 12%, rgba(147, 218, 255, 0.42), transparent 24rem),
        radial-gradient(circle at 58% 92%, rgba(255, 255, 255, 0.6), transparent 18rem),
        linear-gradient(135deg, #fbfeff, #e7f7ff 46%, #d7efff);
}

body.mood-ocean .hero-media {
    --hero-wash: linear-gradient(90deg, rgba(250, 253, 255, 0.92) 0%, rgba(235, 247, 255, 0.58) 42%, rgba(235, 247, 255, 0.1) 76%);
    --hero-tint: linear-gradient(180deg, rgba(189, 244, 255, 0.15), rgba(255, 255, 255, 0.05));
    background:
        linear-gradient(145deg, rgba(248, 253, 255, 0.98), rgba(221, 244, 255, 0.76)),
        rgba(247, 253, 255, 0.92);
    box-shadow: 0 28px 68px rgba(78, 161, 197, 0.2);
}

body.mood-ocean .hero-media-image-pink {
    object-position: center center;
}

body.mood-ocean .hero-media-image-ocean {
    object-position: center center;
    opacity: 1;
}

body.mood-ocean .hero-media-image-pink {
    opacity: 0;
}

body.mood-ocean .scroll-progress {
    background: linear-gradient(90deg, #77d2f1, #c7f5ff, #ffffff);
    box-shadow: 0 0 18px rgba(111, 198, 229, 0.5);
}

body.mood-ocean .topbar,
body.mood-ocean .post-card,
body.mood-ocean .toy-card,
body.mood-ocean .moodboard,
body.mood-ocean .about-panel,
body.mood-ocean .mini-panel,
body.mood-ocean .site-footer,
body.mood-ocean .post-console,
body.mood-ocean .reading-lanes article,
body.mood-ocean .studio-map,
body.mood-ocean .signal-board,
body.mood-ocean .zine-wall {
    border-color: rgba(111, 198, 229, 0.32);
    background-color: rgba(247, 253, 255, 0.84);
    color: #17364c;
    box-shadow: 0 18px 44px rgba(78, 161, 197, 0.12);
}

body.mood-ocean .post-card p,
body.mood-ocean .mini-panel p,
body.mood-ocean .moodboard p,
body.mood-ocean .about-panel p,
body.mood-ocean .toy-card p,
body.mood-ocean .reading-lanes p,
body.mood-ocean .studio-map p,
body.mood-ocean .studio-map span {
    color: #5e8196;
}

body.mood-ocean .mood-console {
    border-color: rgba(111, 198, 229, 0.5);
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.94), transparent 10rem),
        radial-gradient(circle at 88% 18%, rgba(160, 230, 255, 0.48), transparent 12rem),
        linear-gradient(145deg, rgba(222, 249, 255, 0.96), rgba(255, 255, 255, 0.86));
}

body.mood-ocean .mood-dials {
    background:
        linear-gradient(90deg, rgba(111, 198, 229, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(111, 198, 229, 0.12) 1px, transparent 1px),
        #235a78;
    background-size: 18px 18px;
}

body.mood-ocean .mood-dials span {
    background: linear-gradient(180deg, #f9feff 0%, #bdefff 30%, #68c8ef 68%, #2f9dd0 100%);
    box-shadow: 0 0 28px rgba(111, 198, 229, 0.58);
}

body.mood-ocean .filter-chip.is-active,
body.mood-ocean .filter-chip:hover,
body.mood-ocean .button-link:not(.subtle),
body.mood-ocean .mood-console button {
    background: linear-gradient(135deg, #6fc6e5, #e9fbff);
    color: #17364c;
}

body.mood-ocean .button-link.subtle,
body.mood-ocean .season-list a,
body.mood-ocean .portal-list a,
body.mood-ocean .floating-dock a,
body.mood-ocean .floating-dock button {
    border-color: rgba(111, 198, 229, 0.34);
    background: rgba(247, 253, 255, 0.9);
    color: #24657f;
}

body.mood-ocean .floating-dock a:hover,
body.mood-ocean .floating-dock button:hover {
    background: #6fc6e5;
    color: #f8fdff;
}

body.mood-ocean .post-card::before {
    background:
        linear-gradient(180deg, rgba(248, 253, 255, 0.04), rgba(248, 253, 255, 0.16) 66%),
        url("../images/blue-image-08.png") center / cover;
}

body.mood-ocean .sound-ribbon {
    border-color: rgba(111, 198, 229, 0.28);
    background: rgba(244, 253, 255, 0.72);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: rgba(247, 214, 111, 0.55);
    color: var(--leaf-900);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #ff8fc7, var(--sun), #9be4ff);
    box-shadow: 0 0 18px rgba(255, 143, 199, 0.45);
}

.page-shell {
    min-height: 100vh;
}

.hero,
.content-frame,
.article-layout,
.admin-layout,
.editor-layout {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: 88vh;
    padding: 18px 0 30px;
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 999px;
    background: rgba(255, 253, 246, 0.68);
    box-shadow: 0 12px 38px rgba(129, 72, 111, 0.12);
    backdrop-filter: blur(20px) saturate(130%);
}

.section-nav {
    position: sticky;
    top: 84px;
    z-index: 19;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: -12px auto 16px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    background: rgba(255, 253, 246, 0.66);
    box-shadow: 0 12px 34px rgba(129, 72, 111, 0.11);
    backdrop-filter: blur(18px) saturate(126%);
}

.section-nav a {
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--leaf-700);
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.section-nav a:hover {
    background: rgba(255, 255, 255, 0.76);
    color: var(--leaf-900);
    transform: translateY(-2px);
}

.brand,
.topbar-links,
.admin-actions,
.hero-stats,
.meta-row,
.editor-actions,
.season-list {
    display: flex;
    gap: 14px;
    align-items: center;
}

.brand {
    min-width: 0;
    color: var(--leaf-900);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 900;
}

.brand-mark {
    position: relative;
    display: inline-grid;
    width: 38px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(138, 79, 120, 0.22);
    border-radius: 10px 14px 9px 13px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(255, 239, 247, 0.9)),
        #fffafd;
    color: var(--leaf-900);
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(129, 72, 111, 0.1);
    transform: rotate(-2deg);
}

.brand-avatar {
    display: block;
    width: 38px;
    height: 42px;
    object-fit: cover;
    border: 1px solid rgba(138, 79, 120, 0.22);
    border-radius: 10px 14px 9px 13px;
    box-shadow: 0 8px 18px rgba(129, 72, 111, 0.1);
    transform: rotate(-2deg);
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #f49ac5, #ffd78a);
    opacity: 0.92;
}

.brand-mark::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(138, 79, 120, 0.16);
    border-left: 1px solid rgba(138, 79, 120, 0.16);
    border-radius: 8px 0 0 0;
    background: rgba(255, 214, 232, 0.82);
}

.topbar-links a,
.back-link,
.text-link {
    position: relative;
    color: var(--leaf-700);
    font-weight: 900;
}

.topbar-links a::after,
.back-link::after,
.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--leaf-500), var(--sun));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.topbar-links a:hover::after,
.back-link:hover::after,
.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.logout-form {
    display: inline-flex;
    margin: 0;
}

.logout-form input[type="hidden"] {
    display: none;
}

.topbar-links .logout-link {
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 143, 199, 0.24);
    border-radius: 999px;
    background: rgba(255, 248, 252, 0.64);
    color: var(--leaf-700);
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: none;
}

.topbar-links .logout-link::before,
.topbar-links .logout-link::after {
    display: none;
}

.topbar-links .logout-link:hover {
    transform: translateY(-1px);
    border-radius: 999px;
    background: rgba(255, 143, 199, 0.16);
    color: var(--leaf-900);
    box-shadow: none;
}

.theme-toggle {
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 143, 199, 0.26);
    border-radius: 999px;
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.92) 0 3px, transparent 4px),
        linear-gradient(135deg, rgba(255, 224, 240, 0.86), rgba(255, 249, 253, 0.74));
    color: var(--leaf-700);
    box-shadow: 0 10px 24px rgba(129, 72, 111, 0.1);
    font-size: 0.92rem;
}

.theme-toggle::before,
.theme-toggle::after {
    display: none;
}

.theme-toggle-dot {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff79bd 0 50%, #8ee7ff 50% 100%);
    box-shadow: 0 6px 14px rgba(129, 72, 111, 0.16);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(255, 143, 199, 0.18), rgba(255, 255, 255, 0.8));
    box-shadow: 0 14px 28px rgba(129, 72, 111, 0.12);
}

.hero-scene {
    position: relative;
    min-height: calc(88vh - 116px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    --spot-x: 50%;
    --spot-y: 35%;
}

.hero-media,
.hero-noise,
.hero-beam {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -4;
    --hero-wash: linear-gradient(90deg, rgba(255, 247, 251, 0.98) 0%, rgba(255, 247, 251, 0.8) 42%, rgba(255, 247, 251, 0.28) 74%);
    --hero-tint: linear-gradient(180deg, rgba(255, 196, 220, 0.2), rgba(255, 255, 255, 0.08));
    overflow: hidden;
    transform: translateY(calc(var(--parallax, 0) * 16px));
    transition: transform 140ms linear;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--hero-wash), var(--hero-tint);
    pointer-events: none;
    transition: background 180ms ease;
}

.hero-media-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-media-image-pink {
    opacity: 1;
}

.hero-media-image-ocean {
    opacity: 0;
}

body.mood-ocean .hero-media-image-ocean {
    opacity: 1;
}

body.mood-ocean .hero-media-image-pink {
    opacity: 0;
}

.hero-beam {
    z-index: -2;
    opacity: 0.84;
    background:
        linear-gradient(112deg, transparent 0 22%, rgba(255, 255, 255, 0.5) 24%, transparent 31% 100%),
        radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, 0.7), rgba(255, 143, 199, 0.22) 10rem, transparent 19rem),
        conic-gradient(from var(--stage-rotate) at 78% 28%, rgba(255, 143, 199, 0.42), rgba(255, 213, 111, 0.16), rgba(107, 217, 255, 0.16), rgba(255, 143, 199, 0.42));
    mix-blend-mode: screen;
    mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.62), transparent 88%);
    animation: stageRotate 14s linear infinite;
}

.hero-scene::before {
    content: "";
    position: absolute;
    inset: -18% -14% auto auto;
    z-index: -3;
    width: 42%;
    height: 56%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 196, 220, 0.34), rgba(255, 213, 111, 0.12) 50%, transparent 74%);
    filter: blur(18px);
}

.hero-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.34;
    background:
        radial-gradient(ellipse at 82% 22%, rgba(255, 196, 220, 0.36), transparent 18rem),
        radial-gradient(ellipse at 64% 80%, rgba(221, 247, 228, 0.34), transparent 20rem);
    mix-blend-mode: soft-light;
}

.hero-noise {
    z-index: -1;
    opacity: 0.54;
    background-image:
        radial-gradient(ellipse at 20% 18%, rgba(217, 111, 164, 0.14) 0 0.12rem, transparent 0.14rem),
        radial-gradient(ellipse at 74% 28%, rgba(255, 213, 111, 0.12) 0 0.1rem, transparent 0.13rem),
        linear-gradient(118deg, transparent 0 46%, rgba(217, 111, 164, 0.06) 46% 47%, transparent 47% 100%);
    background-size: 13rem 13rem, 11rem 11rem, 18rem 18rem;
    mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.38), transparent 84%);
}

.scene-stickers {
    position: absolute;
    top: 92px;
    right: 24px;
    z-index: 4;
    display: grid;
    gap: 12px;
    pointer-events: none;
}

.scene-stickers span {
    width: fit-content;
    padding: 9px 13px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: rgba(58, 34, 54, 0.72);
    color: #fff7fb;
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 16px 38px rgba(58, 34, 54, 0.22);
    transform: rotate(-5deg);
}

.scene-stickers span:nth-child(2) {
    margin-left: 36px;
    background: rgba(255, 121, 189, 0.78);
    transform: rotate(4deg);
}

.scene-stickers span:nth-child(3) {
    margin-left: 12px;
    background: rgba(255, 213, 111, 0.86);
    color: var(--leaf-900);
    transform: rotate(-2deg);
}

.hero-copy {
    width: min(760px, 100%);
    padding: clamp(42px, 7vw, 86px);
}

.hero-copy.reveal,
.featured-stack.reveal {
    opacity: 1;
    transform: none;
    animation: heroLift 760ms ease both;
}

.featured-stack.reveal {
    animation-delay: 160ms;
}

.hero h1 {
    max-width: 850px;
    margin: 14px 0 18px;
    color: var(--leaf-900);
    font-family: var(--display);
    font-size: clamp(3.4rem, 11vw, 8rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-wrap: balance;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.82);
}

.hero h1::after {
    content: "";
    display: block;
    width: min(8.5rem, 42%);
    height: 0.55rem;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff4dac, #ffd56f, #68d8ff);
    box-shadow: 0 0 28px rgba(255, 77, 172, 0.34);
}

.hero-subtitle {
    max-width: 650px;
    color: #52644f;
    font-size: clamp(1.08rem, 2.2vw, 1.42rem);
    line-height: 1.72;
}

.eyebrow,
.card-label,
.meta-row,
.row-subtitle,
small {
    color: var(--muted);
}

.eyebrow,
.card-label {
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-stats {
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-stats div {
    display: grid;
    min-width: 134px;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 18px;
    background: rgba(255, 253, 246, 0.62);
    box-shadow: 0 14px 32px rgba(72, 102, 62, 0.1);
    backdrop-filter: blur(14px);
}

.hero-stats strong {
    color: var(--leaf-700);
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.92rem;
}

.featured-stack {
    position: absolute;
    right: clamp(18px, 4vw, 56px);
    bottom: clamp(18px, 4vw, 56px);
    z-index: 3;
    width: min(470px, calc(100% - 36px));
    height: clamp(360px, 40vw, 500px);
    perspective: 1200px;
    --stack-slide: 1800ms;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.featured-stack::before {
    content: "";
    position: absolute;
    inset: 14% 4% -9%;
    z-index: 0;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 143, 199, 0.3), transparent 54%),
        radial-gradient(circle at 72% 64%, rgba(255, 213, 111, 0.28), transparent 58%);
    filter: blur(28px);
    transform: rotate(-4deg);
}

.feature-card {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 16px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px 42px 32px 46px;
    box-shadow:
        0 26px 58px rgba(129, 72, 111, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transform: translate3d(66px, 39px, -18px) rotateZ(8deg) scale(0.87);
    transform-style: preserve-3d;
    transition:
        transform var(--stack-slide) cubic-bezier(0.18, 0.86, 0.2, 1),
        opacity 420ms ease;
    will-change: transform, opacity;
    cursor: grab;
}

.feature-card::selection,
.post-card::selection {
    background: transparent;
}

.feature-card.is-active {
    z-index: 8;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 56px) rotateZ(-0.35deg) rotateY(0deg) scale(1);
}

.feature-card.is-next {
    z-index: 7;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(28px, 16px, 20px) rotateZ(3.2deg) scale(0.955);
}

.feature-card.is-back {
    z-index: 6;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(48px, 28px, 0) rotateZ(6deg) scale(0.91);
}

.feature-card.is-deck {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(66px, 39px, -18px) rotateZ(8deg) scale(0.87);
}

.feature-card.is-leaving {
    z-index: 9;
    opacity: 1;
    pointer-events: none;
    transform: translate3d(118%, -18px, 92px) rotateZ(9deg) rotateY(8deg) scale(1.02);
}

.feature-card.is-leaving-back {
    z-index: 9;
    opacity: 1;
    pointer-events: none;
    transform: translate3d(-118%, -18px, 92px) rotateZ(-9deg) rotateY(-8deg) scale(1.02);
}

.feature-card.is-dragging {
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
    cursor: grabbing;
    transition: none;
    transform:
        translate3d(var(--drag-x, 0px), var(--drag-y, 0px), 92px)
        rotateZ(var(--drag-rotate, 0deg))
        rotateY(var(--drag-yaw, 0deg))
        scale(1.025);
}

.featured-stack:active,
.featured-stack.is-dragging {
    cursor: grabbing;
}

.featured-stack.is-manual-motion .feature-card {
    transition-duration: 680ms, 220ms;
    transition-timing-function: cubic-bezier(0.22, 0.92, 0.24, 1), ease;
}

.feature-card.is-resetting {
    transition: none;
}


.featured-stack.is-single,
.featured-stack.is-single:active,
.featured-stack.is-single .feature-card {
    cursor: default;
}

.featured-stack.is-single .feature-card {
    transition-duration: 520ms, 220ms;
}

.featured-stack.is-single .feature-card-story {
    pointer-events: auto;
}
.featured-stack:not(.is-ready) .feature-card-story {
    z-index: 8;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 56px) rotateZ(-0.35deg) scale(1);
}

.featured-stack:not(.is-ready) .feature-card-image-one {
    z-index: 7;
    opacity: 1;
    transform: translate3d(28px, 16px, 20px) rotateZ(3.2deg) scale(0.955);
}

.featured-stack:not(.is-ready) .feature-card-image-two {
    z-index: 6;
    opacity: 1;
    transform: translate3d(48px, 28px, 0) rotateZ(6deg) scale(0.91);
}

.featured-stack:not(.is-ready) .feature-card-image-three {
    z-index: 5;
    opacity: 1;
    transform: translate3d(66px, 39px, -18px) rotateZ(8deg) scale(0.87);
}

.feature-card-story {
    align-content: end;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(145deg, rgba(255, 250, 253, 0.96), rgba(255, 235, 246, 0.9) 58%, rgba(255, 244, 196, 0.82)),
        rgba(255, 253, 246, 0.9);
    backdrop-filter: blur(20px) saturate(125%);
}

.feature-card-story::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.96), transparent 19%),
        radial-gradient(circle at 84% 18%, rgba(255, 213, 111, 0.3), transparent 24%),
        linear-gradient(135deg, rgba(255, 196, 220, 0.52), rgba(255, 213, 111, 0.28), transparent);
}

.feature-card-story::after {
    content: "";
    position: absolute;
    inset: 17px;
    z-index: -1;
    border: 1px dashed rgba(138, 79, 120, 0.18);
    border-radius: 22px 34px 24px 38px;
}

.stack-sticker {
    position: absolute;
    top: 18px;
    right: 22px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: #ff8fc7;
    color: #fffafd;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 24px rgba(217, 111, 164, 0.24);
    transform: rotate(5deg);
}

.feature-card-image {
    place-items: stretch;
    padding: 10px;
    background:
        linear-gradient(135deg, rgba(255, 248, 252, 0.86), rgba(255, 244, 250, 0.66)),
        #fffafd;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    border-radius: 23px 35px 25px 39px;
    filter: saturate(1.03) brightness(1.02);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.feature-card-image-one img {
    object-position: 50% 64%;
}

.feature-card-image-two img {
    object-position: 42% 46%;
}

.theme-ocean-only,
body.mood-ocean .theme-pink-only {
    display: none;
}

.theme-pink-only {
    display: grid;
}

.feature-card-image-pink-one img {
    object-position: 50% 54%;
}

.feature-card-image-pink-two img {
    object-position: 50% 58%;
}

.feature-card-image-pink-three img {
    object-position: 50% 43%;
}

.feature-card-image-pink-four img {
    object-position: 50% 50%;
}

.feature-card-image-pink-five img {
    object-position: 50% 46%;
}

.feature-card-image-pink-six img {
    object-position: 50% 42%;
}

.feature-card-image-pink-eight img {
    object-position: 52% 42%;
}

.feature-card-image-pink-nine img {
    object-position: 50% 34%;
}

.feature-card-image-pink-ten img {
    object-position: 50% 45%;
}

.feature-card-image-pink-eleven img {
    object-position: 50% 38%;
}

.feature-card-image-pink-twelve img {
    object-position: 50% 38%;
}

.feature-card-image-pink-thirteen img {
    object-position: 54% 36%;
}

.feature-card-image-pink-fourteen img {
    object-position: 50% 35%;
}

.feature-card-image-pink-fifteen img {
    object-position: 50% 35%;
}

.feature-card-image-pink-sixteen img {
    object-position: 50% 46%;
}

.feature-card-image-pink-seventeen img {
    object-position: 50% 40%;
}

.feature-card-image-pink-eighteen img {
    object-position: 50% 42%;
}

.feature-card-image-pink-nineteen img {
    object-position: 50% 43%;
}

.feature-card-image::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 23px 35px 25px 39px;
    background:
        linear-gradient(180deg, transparent 52%, rgba(58, 38, 55, 0.18)),
        radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.34), transparent 22%);
    pointer-events: none;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--leaf-900);
    font-family: var(--display);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.feature-card h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.feature-card p,
.post-card p,
.article-excerpt,
.login-note {
    line-height: 1.72;
}

.button-link,
button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 50px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 18px 34px 18px 34px;
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
        linear-gradient(135deg, #ff79bd 0%, #f060a9 48%, #a95791 100%);
    color: #fffafd;
    padding: 13px 24px 13px 28px;
    font-weight: 900;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 -3px 0 rgba(82, 35, 70, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 14px 30px rgba(217, 111, 164, 0.24);
    cursor: pointer;
    transition: transform 420ms cubic-bezier(0.2, 1.35, 0.32, 1), box-shadow 320ms ease, filter 320ms ease, border-radius 420ms ease;
}

.button-link::before,
button::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -55%;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.46), transparent);
    transform: skewX(-16deg);
    transition: transform 620ms ease;
}

.button-link::after,
button::after {
    content: "";
    width: 12px;
    height: 12px;
    margin-left: 4px;
    border-radius: 4px 8px 4px 8px;
    background: #fff7fb;
    box-shadow:
        5px -5px 0 -3px #ffd56f,
        9px 3px 0 -4px rgba(255, 255, 255, 0.75);
    transform: rotate(45deg) scale(0.86);
    transition: transform 420ms cubic-bezier(0.2, 1.35, 0.32, 1);
}

.button-link:hover,
button:hover {
    transform: translateY(-4px);
    filter: saturate(112%) brightness(1.03);
    border-radius: 34px 18px 34px 18px;
    box-shadow:
        inset 0 -3px 0 rgba(82, 35, 70, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 20px 42px rgba(217, 111, 164, 0.32);
}

.button-link:hover::before,
button:hover::before {
    transform: translateX(360%) skewX(-16deg);
}

.button-link:hover::after,
button:hover::after {
    transform: rotate(135deg) scale(1);
}

.button-link.subtle {
    background: rgba(255, 248, 252, 0.72);
    color: var(--leaf-700);
    box-shadow: 0 10px 28px rgba(129, 72, 111, 0.1);
}

.button-link.subtle.danger {
    color: #b45b44;
}

.content-frame {
    padding: 52px 0 70px;
}

.sound-ribbon {
    width: min(1380px, calc(100% - 32px));
    margin: 14px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 999px;
    background: rgba(58, 34, 54, 0.9);
    color: #fff7fb;
    box-shadow: 0 20px 54px rgba(129, 72, 111, 0.18);
}

.sound-ribbon-track {
    display: flex;
    width: max-content;
    gap: 24px;
    padding: 12px 20px;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: ribbonRun 24s linear infinite;
}

.sound-ribbon-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.sound-ribbon-track span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd56f;
    box-shadow: 0 0 18px rgba(255, 213, 111, 0.82);
}

.zine-wall,
.signal-board {
    position: relative;
    display: grid;
    gap: 26px;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(58, 34, 54, 0.9), rgba(151, 59, 121, 0.76) 42%, rgba(255, 213, 111, 0.24)),
        rgba(255, 248, 252, 0.8);
    color: #fffafd;
    box-shadow: 0 34px 90px rgba(129, 72, 111, 0.22);
}

.zine-wall {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
    min-height: 420px;
    padding: clamp(24px, 5vw, 54px);
}

.zine-wall::before,
.signal-board::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(120deg, #000, transparent 76%);
}

.zine-copy {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 14px;
}

.zine-copy .eyebrow,
.signal-board .eyebrow {
    color: rgba(255, 247, 251, 0.76);
}

.zine-copy h2,
.signal-head h2 {
    color: #fffafd;
    font-size: clamp(2.35rem, 4.9rem, 4.9rem);
    letter-spacing: 0;
    text-shadow: 0 16px 44px rgba(42, 20, 38, 0.3);
}

.zine-copy p {
    max-width: 560px;
    color: rgba(255, 250, 253, 0.82);
    font-size: 1.12rem;
    line-height: 1.7;
}

.zine-collage {
    position: relative;
    min-height: 360px;
    z-index: 2;
}

.zine-photo {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 8px solid rgba(255, 250, 253, 0.9);
    border-radius: 16px;
    background: #fffafd;
    box-shadow: 0 24px 70px rgba(42, 20, 38, 0.32);
    transform: rotate(var(--tilt, 0deg)) translate3d(var(--float-x, 0), var(--float-y, 0), 0);
    transition: transform 460ms cubic-bezier(0.2, 0.9, 0.22, 1);
}

.zine-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zine-photo-large {
    inset: 8% 22% 6% 4%;
    --tilt: -4deg;
}

.zine-photo-small {
    inset: 0 4% auto auto;
    width: 42%;
    height: 42%;
    --tilt: 7deg;
}

.zine-photo-tall {
    inset: auto 0 0 auto;
    width: 36%;
    height: 58%;
    --tilt: 3deg;
}

.zine-collage:hover .zine-photo-large {
    --float-x: -10px;
    --float-y: 8px;
}

.zine-collage:hover .zine-photo-small {
    --float-x: 12px;
    --float-y: -8px;
}

.zine-collage:hover .zine-photo-tall {
    --float-x: 10px;
    --float-y: 10px;
}

.zine-meter {
    position: absolute;
    left: 0;
    bottom: 14px;
    z-index: 5;
    display: flex;
    align-items: end;
    gap: 8px;
    height: 92px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(58, 34, 54, 0.68);
    backdrop-filter: blur(16px);
}

.zine-meter span {
    width: 14px;
    height: var(--level);
    min-height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff7fb, #ffd56f 42%, #ff4dac);
    box-shadow: 0 0 20px rgba(255, 77, 172, 0.42);
    animation: meterBounce 1200ms ease-in-out infinite alternate;
}

.zine-meter span:nth-child(2n) {
    animation-delay: 180ms;
}

.zine-meter span:nth-child(3n) {
    animation-delay: 320ms;
}

.section-heading {
    display: grid;
    grid-template-columns: 0.54fr 1fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}

.section-heading h2 {
    max-width: 790px;
    font-size: clamp(2.2rem, 5.8vw, 4.8rem);
    text-wrap: balance;
}

.post-console {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(240px, 1fr);
    gap: 16px;
    align-items: end;
    margin: 0 0 22px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 28px 34px 24px 32px;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.82), transparent 12rem),
        linear-gradient(135deg, rgba(255, 248, 252, 0.88), rgba(223, 245, 255, 0.54));
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px) saturate(124%);
}

.post-console::after {
    content: "find / filter / read";
    position: absolute;
    right: 18px;
    top: 12px;
    color: rgba(138, 79, 120, 0.14);
    font-family: var(--display);
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    pointer-events: none;
}

.console-copy,
.search-box,
.chip-row,
.console-actions,
.console-status {
    position: relative;
    z-index: 1;
}

.console-copy h3 {
    margin-top: 8px;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.search-box span {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.search-box input {
    min-height: 54px;
    border-radius: 18px 26px 18px 26px;
}

.chip-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-row:not(.is-expanded) .is-overflow-chip {
    display: none;
}

.chip-more-toggle {
    border-style: dashed;
}

.chip-more-toggle[aria-expanded="true"] {
    border-style: solid;
}

.filter-chip {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 248, 252, 0.72);
    color: var(--leaf-700);
    box-shadow: 0 8px 18px rgba(129, 72, 111, 0.08);
}

.filter-chip::before,
.filter-chip::after {
    display: none;
}

.filter-chip.is-active,
.filter-chip:hover {
    background: linear-gradient(135deg, #ff8fc7, #ffd56f);
    color: #fffafd;
    transform: translateY(-2px);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.post-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #8a4f78;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(129, 72, 111, 0.08);
}

.post-tags.compact {
    max-width: 220px;
}

.console-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.console-actions .button-link {
    min-height: 42px;
    padding: 9px 16px;
}

.console-status {
    margin: 0;
    color: var(--muted);
    font-weight: 900;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.post-grid + .zine-wall,
.empty-state + .zine-wall {
    margin-top: 28px;
}

.latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(18px, 3vw, 28px);
    align-items: start;
    margin-top: 28px;
    overflow-anchor: none;
}

.latest-main {
    min-width: 0;
}

.latest-layout .post-grid,
.latest-layout .empty-state {
    margin-top: 0;
}

.home-side-rail {
    display: block;
    min-width: 0;
    position: sticky;
    top: 96px;
}

.sunlit-home .home-side-rail {
    align-self: start;
    justify-self: stretch;
}

.sunlit-home .post-pager {
    width: 100%;
    display: grid;
    visibility: visible;
    opacity: 1;
}
.site-side-panel {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 246, 251, 0.56)),
        rgba(255, 252, 247, 0.66);
}

.site-side-panel h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.22rem, 1.8vw, 1.55rem);
    line-height: 1.2;
}

.site-side-panel p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.side-meta {
    display: grid;
    gap: 8px;
}

.side-meta span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(138, 79, 120, 0.12);
    color: var(--leaf-700);
    font-size: 0.92rem;
    font-weight: 900;
}

.side-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.side-stats span {
    display: grid;
    gap: 4px;
    min-height: 76px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 900;
}

.side-stats strong {
    color: #a84b84;
    font-family: var(--display);
    font-size: 2rem;
    line-height: 0.9;
}

.post-pager {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 213, 111, 0.18), transparent 8rem),
        rgba(255, 255, 255, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 28px rgba(129, 72, 111, 0.08);
}

.post-pager > strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.28rem;
    line-height: 1;
}

.pager-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    max-height: 172px;
    padding-right: 2px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 75, 132, 0.38) transparent;
}

.pager-buttons button,
.pager-actions button {
    min-width: 0;
    border: 1px solid rgba(168, 75, 132, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.64);
    color: #8a4f78;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(129, 72, 111, 0.07);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.pager-buttons button {
    aspect-ratio: 1;
    padding: 0;
}

.pager-buttons button:hover,
.pager-actions button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #fff7fb;
    box-shadow: 0 12px 24px rgba(168, 75, 132, 0.12);
}

.pager-buttons button.is-active {
    border-color: rgba(255, 143, 199, 0.58);
    background: linear-gradient(135deg, #ff8fc7, #ffd56f);
    color: #fffafd;
    box-shadow: 0 12px 26px rgba(255, 143, 199, 0.22);
}

.pager-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pager-actions button {
    min-height: 40px;
    padding: 9px 10px;
}

.pager-actions button:disabled {
    cursor: default;
    opacity: 0.45;
    box-shadow: none;
}

.side-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.side-actions a,
.side-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.62);
    color: #8a4f78;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(129, 72, 111, 0.09);
}

.side-actions a:hover,
.side-actions button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff8fc7, #ffd56f);
    color: #fffafd;
}

.reading-lanes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.reading-lanes article,
.studio-map-grid article,
.admin-insights article {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px 28px 20px 26px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 213, 111, 0.22), transparent 10rem),
        rgba(255, 248, 252, 0.68);
    box-shadow: 0 16px 36px rgba(129, 72, 111, 0.1);
    backdrop-filter: blur(18px) saturate(124%);
}

.reading-lanes article::after,
.studio-map-grid article::after,
.admin-insights article::after {
    content: "";
    position: absolute;
    inset: auto 16px 14px 16px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8fc7, #ffd56f, #9be4ff);
    opacity: 0.68;
}

.reading-lanes span {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 143, 199, 0.14);
    color: var(--leaf-700);
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 900;
}

.reading-lanes h3,
.studio-map-grid strong,
.admin-insights h3 {
    margin: 0;
    color: var(--leaf-900);
    letter-spacing: 0;
}

.reading-lanes p,
.studio-map-grid span,
.admin-insights p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.post-card.is-hidden {
    display: none;
}

.post-card {
    position: relative;
    display: grid;
    min-height: 360px;
    gap: 16px;
    align-content: end;
    overflow: hidden;
    padding: 24px;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 26px 34px 24px 32px;
    background:
        linear-gradient(180deg, rgba(255, 248, 252, 0.12), rgba(255, 248, 252, 0.88) 58%),
        rgba(255, 248, 252, 0.72);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, border-radius 260ms ease;
    transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}

.post-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(180deg, rgba(255, 248, 252, 0.03), rgba(255, 248, 252, 0.76) 62%),
        var(--post-card-image, url("../images/pink-image-02.png"));
    background-position: 0 0, var(--post-card-position, center);
    background-repeat: no-repeat;
    background-size: auto, cover;
    opacity: 0.62;
    transform: none;
    transition: transform 360ms ease, opacity 360ms ease;
}

.post-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px 18px;
    z-index: -1;
    height: 54%;
    border-radius: 24px;
    background: rgba(255, 248, 252, 0.58);
    filter: blur(6px);
}

.post-card:nth-child(16n + 1) { --post-card-image: url("../images/pink-image-02.png"); --post-card-position: center; }
.post-card:nth-child(16n + 2) { --post-card-image: url("../images/pink-image-03.png"); --post-card-position: center; }
.post-card:nth-child(16n + 3) { --post-card-image: url("../images/pink-image-04.png"); --post-card-position: center; }
.post-card:nth-child(16n + 4) { --post-card-image: url("../images/pink-image-05.png"); --post-card-position: center; }
.post-card:nth-child(16n + 5) { --post-card-image: url("../images/pink-image-06.png"); --post-card-position: center 28%; }
.post-card:nth-child(16n + 6) { --post-card-image: url("../images/pink-image-07.png"); --post-card-position: center; }
.post-card:nth-child(16n + 7) { --post-card-image: url("../images/pink-image-08.png"); --post-card-position: center; }
.post-card:nth-child(16n + 8) { --post-card-image: url("../images/pink-image-09.png"); --post-card-position: center; }
.post-card:nth-child(16n + 9) { --post-card-image: url("../images/pink-image-10.png"); --post-card-position: center; }
.post-card:nth-child(16n + 10) { --post-card-image: url("../images/pink-image-13.png"); --post-card-position: center; }
.post-card:nth-child(16n + 11) { --post-card-image: url("../images/pink-image-14.png"); --post-card-position: center; }
.post-card:nth-child(16n + 12) { --post-card-image: url("../images/pink-image-15.png"); --post-card-position: center; }
.post-card:nth-child(16n + 13) { --post-card-image: url("../images/0379ffd12b26d828757a63b249ecb0c984e1e5f7.gif"); --post-card-position: center; }
.post-card:nth-child(16n + 14) { --post-card-image: url("../images/1776825765414.png"); --post-card-position: center; }
.post-card:nth-child(16n + 15) { --post-card-image: url("../images/20230308114954_099a5.jpg"); --post-card-position: center; }
.post-card:nth-child(16n) { --post-card-image: url("../images/20230308114954_a2ab3.jpg"); --post-card-position: center; }

.post-card:hover {
    transform: perspective(900px) translateY(-8px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) rotate(-0.6deg);
    border-color: rgba(255, 143, 199, 0.78);
    border-radius: 34px 24px 32px 24px;
    box-shadow: 0 28px 64px rgba(129, 72, 111, 0.18);
}

.signal-board {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: stretch;
    padding: clamp(24px, 4vw, 42px);
}

.signal-head,
.signal-grid {
    position: relative;
    z-index: 2;
}

.signal-head {
    display: grid;
    align-content: center;
    gap: 12px;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.signal-grid article {
    display: grid;
    gap: 12px;
    min-height: 178px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    background: rgba(255, 250, 253, 0.14);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.signal-number {
    color: #fff7fb;
    font-family: var(--display);
    font-size: clamp(3.2rem, 5.2rem, 5.2rem);
    font-weight: 900;
    line-height: 0.86;
    text-shadow: 0 14px 36px rgba(42, 20, 38, 0.28);
}

.signal-grid p {
    margin: 0;
    color: rgba(255, 250, 253, 0.82);
    line-height: 1.6;
}

.post-card:hover::before {
    opacity: 0.92;
    transform: scale(1.1);
}

.toy-lab {
    position: relative;
    display: grid;
    gap: 22px;
    margin: 28px 0;
    padding: clamp(24px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.74), transparent 12rem),
        radial-gradient(circle at 86% 8%, rgba(255, 213, 111, 0.32), transparent 18rem),
        linear-gradient(135deg, rgba(255, 236, 247, 0.88), rgba(223, 245, 255, 0.66) 58%, rgba(255, 248, 209, 0.64));
    box-shadow: 0 34px 90px rgba(129, 72, 111, 0.2);
}

.studio-map {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
    margin: 28px 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 32px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.74), transparent 14rem),
        linear-gradient(135deg, rgba(255, 248, 252, 0.88), rgba(221, 247, 228, 0.58) 62%, rgba(223, 245, 255, 0.54));
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px) saturate(126%);
}

.studio-map-copy {
    display: grid;
    align-content: center;
    gap: 12px;
}

.studio-map-copy h2 {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    text-wrap: balance;
}

.studio-map-copy p {
    margin: 0;
    color: #6d5570;
    font-size: 1.06rem;
    line-height: 1.72;
}

.studio-map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.studio-map-grid article {
    min-height: 150px;
}

.studio-map-grid strong {
    font-size: 1.18rem;
}

.toy-lab::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background-image:
        linear-gradient(90deg, rgba(217, 111, 164, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(217, 111, 164, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(circle at 50% 35%, #000, transparent 72%);
}

.toy-lab::after {
    content: "clickable tools";
    position: absolute;
    right: -16px;
    bottom: -18px;
    color: rgba(138, 79, 120, 0.13);
    font-family: var(--display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    pointer-events: none;
}

.toy-lab-head,
.toy-grid,
.toast-pop {
    position: relative;
    z-index: 2;
}

.toy-lab-head {
    max-width: 780px;
}

.toy-lab-head h2 {
    margin: 8px 0 12px;
    font-size: clamp(2.2rem, 5.2vw, 4.6rem);
}

.toy-lab-head p {
    color: #6d5570;
    font-size: 1.08rem;
    line-height: 1.72;
}

.toy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 16px;
}

.toy-grid.is-focused {
    grid-template-columns: minmax(360px, 1.18fr) minmax(280px, 0.82fr);
    align-items: stretch;
}

.toy-grid.is-focused .mood-console {
    grid-row: span 2;
}

.toy-card {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: 260px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 28px 36px 26px 32px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 252, 0.36)),
        rgba(255, 248, 252, 0.62);
    box-shadow: 0 24px 60px rgba(129, 72, 111, 0.14);
    backdrop-filter: blur(20px) saturate(128%);
    transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
    transition: transform 260ms ease, box-shadow 260ms ease, border-radius 260ms ease;
}

.toy-card::before {
    content: "";
    position: absolute;
    inset: -42% auto auto -24%;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 143, 199, 0.35), transparent 68%);
    pointer-events: none;
}

.toy-card:hover {
    transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
    border-radius: 36px 26px 34px 24px;
    box-shadow: 0 32px 76px rgba(129, 72, 111, 0.2);
}

.toy-card h3 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.toy-card p {
    margin: 0;
    color: #6d5570;
    line-height: 1.68;
}

.mood-console {
    min-height: 420px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 213, 111, 0.42), transparent 10rem),
        linear-gradient(145deg, rgba(255, 143, 199, 0.22), rgba(255, 255, 255, 0.68));
}

.mood-dials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    min-height: 146px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(58, 34, 54, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.mood-dials span {
    height: var(--level);
    min-height: 24px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, #fff7fb, #ffd56f 36%, #ff4dac);
    box-shadow: 0 0 24px rgba(255, 77, 172, 0.5);
    animation: meterBounce 980ms ease-in-out infinite alternate;
}

.mood-dials span:nth-child(2) {
    animation-delay: 140ms;
}

.mood-dials span:nth-child(3) {
    animation-delay: 260ms;
}

.mood-dials span:nth-child(4) {
    animation-delay: 380ms;
}

.idea-machine {
    background:
        radial-gradient(circle at 90% 84%, rgba(155, 228, 255, 0.42), transparent 12rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(221, 247, 228, 0.44));
}

.idea-machine,
.quick-links {
    min-height: 198px;
}

.portal-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.portal-list a {
    display: grid;
    min-height: 72px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 143, 199, 0.18));
    color: var(--leaf-700);
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(129, 72, 111, 0.1);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.portal-list a:hover {
    transform: translateY(-4px) rotate(-1deg);
    background: linear-gradient(135deg, #ff8fc7, #ffd56f);
    color: #fffafd;
}

.toast-pop {
    width: fit-content;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(58, 34, 54, 0.9);
    color: #fffafd;
    font-weight: 900;
    box-shadow: 0 18px 44px rgba(129, 72, 111, 0.22);
    opacity: 0.72;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

.toast-pop.is-showing {
    opacity: 1;
    transform: translateY(-4px);
}

.floating-dock {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 24px;
    background: rgba(255, 248, 252, 0.74);
    box-shadow: 0 22px 58px rgba(129, 72, 111, 0.2);
    backdrop-filter: blur(18px) saturate(130%);
}

.floating-dock a,
.floating-dock button {
    display: grid;
    min-width: 54px;
    min-height: 42px;
    place-items: center;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--leaf-700);
    padding: 8px 10px;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: none;
}

.floating-dock button::before,
.floating-dock button::after {
    display: none;
}

.floating-dock a:hover,
.floating-dock button:hover {
    background: #ff8fc7;
    color: #fffafd;
    transform: translateY(-2px);
}

.post-index {
    position: absolute;
    top: 18px;
    right: 18px;
    color: rgba(138, 79, 120, 0.46);
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 900;
}

.post-card h3 {
    font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.post-card p,
.feature-card p {
    color: #6d5570;
}

.article-shell {
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 243, 189, 0.88), transparent 24rem),
        linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(229, 244, 224, 0.58)),
        var(--cream);
}

.article-layout {
    max-width: 930px;
    padding: 34px 0 88px;
}

.article-card,
.login-card,
.table-card,
.editor-card {
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 246, 0.78);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px) saturate(126%);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 243, 189, 0.9), transparent 24rem),
        radial-gradient(circle at 82% 72%, rgba(184, 220, 177, 0.56), transparent 26rem),
        var(--cream);
}

.login-card {
    position: relative;
    display: grid;
    width: min(540px, 100%);
    gap: 18px;
    padding: 34px;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: -1;
    border: 1px solid rgba(61, 111, 73, 0.12);
    border-radius: 18px;
}

.stack-form,
.editor-card,
.form-grid {
    display: grid;
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--leaf-900);
    font-weight: 900;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.68);
    color: var(--ink);
    padding: 14px 16px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
    resize: vertical;
}

select {
    appearance: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(108, 166, 109, 0.7);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 4px rgba(184, 220, 177, 0.28);
}

.flash {
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin: 16px 0;
}

.flash.success {
    background: rgba(217, 244, 223, 0.75);
    color: var(--leaf-700);
}

.flash.error {
    background: rgba(255, 229, 213, 0.78);
    color: #a44734;
}

.admin-shell {
    min-height: 100vh;
    padding-top: 28px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 243, 189, 0.78), transparent 22rem),
        linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(229, 244, 224, 0.78)),
        var(--cream);
}

.admin-layout,
.editor-layout {
    display: grid;
    gap: 24px;
    padding-bottom: 56px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.admin-header h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.admin-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.table-card {
    overflow: hidden;
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px 0;
}

.table-toolbar-copy p {
    margin: 0;
}

.table-toolbar-copy .eyebrow {
    margin-bottom: 4px;
}

.table-toolbar-copy p:last-child {
    color: var(--muted);
    font-size: 0.92rem;
}

.table-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.select-col {
    width: 46px;
    text-align: center;
}

.post-select-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--leaf-500);
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 18px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

tbody tr {
    transition: background 180ms ease;
}

tbody tr:hover {
    background: rgba(217, 244, 223, 0.32);
}

.status-pill {
    display: inline-grid;
    place-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(138, 79, 120, 0.16);
    border-radius: 999px;
    background: rgba(255, 243, 189, 0.6);
    color: #8a5e27;
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill.is-published {
    background: rgba(221, 247, 228, 0.72);
    color: #3f774b;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.inline-delete-form {
    display: inline-flex;
    margin: 0;
}

.inline-delete-form .text-link {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.danger-link {
    color: #c94d68;
}

.row-subtitle {
    display: block;
    max-width: 430px;
    margin-top: 6px;
    line-height: 1.55;
}

.editor-card {
    padding: 28px;
}

.editor-formatbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0;
}

.editor-formatbar button {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 248, 252, 0.72);
    color: var(--leaf-700);
    font-size: 0.82rem;
}

.editor-formatbar button::before,
.editor-formatbar button::after {
    display: none;
}

.editor-tag-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.editor-tag-presets button {
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: #8a4f78;
    font-size: 0.82rem;
    font-weight: 900;
}

.editor-tag-presets button::before,
.editor-tag-presets button::after {
    display: none;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox-row {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.checkbox-row input {
    width: auto;
}

.season-list,
.mood-grid {
    flex-wrap: wrap;
    margin-top: 24px;
}

.season-list a,
.mood-grid a {
    position: relative;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 248, 252, 0.68);
    color: var(--leaf-700);
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(129, 72, 111, 0.08);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.season-list a:hover,
.mood-grid a:hover {
    transform: translateY(-3px) rotate(-1deg);
    background: #ff8fc7;
    color: #fffafd;
}

.moodboard,
.about-panel {
    position: relative;
    display: grid;
    gap: 24px;
    margin-top: 26px;
    padding: clamp(24px, 4vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 248, 252, 0.86), rgba(255, 236, 247, 0.72)),
        rgba(255, 248, 252, 0.78);
    box-shadow: var(--shadow-card);
}

.moodboard {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    align-items: center;
}

.moodboard::before,
.about-panel::before {
    content: "";
    position: absolute;
    inset: auto -7rem -8rem auto;
    width: 19rem;
    height: 19rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.74), transparent 22%),
        linear-gradient(135deg, rgba(255, 143, 199, 0.34), rgba(255, 213, 111, 0.18));
    filter: blur(4px);
}

.moodboard::after {
    content: "guitar / code / diary";
    position: absolute;
    right: 24px;
    top: 20px;
    color: rgba(138, 79, 120, 0.16);
    font-family: var(--display);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.moodboard h2,
.about-panel h2 {
    max-width: 840px;
    margin: 8px 0 12px;
    font-size: clamp(2rem, 5vw, 4rem);
}

.moodboard p,
.about-panel p {
    max-width: 660px;
    color: #6d5570;
    font-size: 1.06rem;
    line-height: 1.72;
}

.about-panel {
    grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.58fr);
    align-items: center;
}

.about-copy,
.about-dashboard {
    position: relative;
    z-index: 1;
}

.about-copy h2 {
    max-width: 760px;
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    line-height: 1.08;
}

.about-dashboard {
    display: grid;
    gap: 12px;
}

.about-route,
.about-stats article,
.about-actions a,
.about-actions button {
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 14px 34px rgba(129, 72, 111, 0.1);
    backdrop-filter: blur(14px) saturate(124%);
}

.about-route {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
}

.about-route strong {
    display: block;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.34rem;
    line-height: 1.18;
}

.about-route span {
    color: var(--muted);
    font-weight: 900;
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.about-stats article {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
}

.about-stats strong {
    color: var(--leaf-700);
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
}

.about-stats span {
    color: var(--muted);
    font-weight: 900;
}

.about-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.about-actions a,
.about-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 16px;
    color: #8a4f78;
    font-weight: 900;
}

.about-actions a:hover,
.about-actions button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff8fc7, #ffd56f);
    color: #fffafd;
}

.mood-grid {
    display: flex;
    position: relative;
    z-index: 1;
    justify-content: flex-end;
}

.button-link.pastel {
    background:
        linear-gradient(135deg, #fffafd, #ffe0ef 48%, #ffd56f);
    color: var(--leaf-900);
}

.text-link {
    width: fit-content;
    padding: 7px 0;
}

.hero-actions,
.footer-links,
.login-badges,
.studio-stats,
.editorial-strip,
.editor-grid {
    display: flex;
    gap: 16px;
}

.hero-actions {
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-note-card,
.mini-panel,
.article-sidecard,
.stat-tile,
.empty-state,
.note-panel,
.site-footer {
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 252, 247, 0.74);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px) saturate(126%);
}

.hero-note-card {
    width: min(360px, 100%);
    margin-top: 26px;
    padding: 18px 20px 20px;
    border-radius: 24px 30px 22px 28px;
}

.hero-note-card h3,
.mini-panel h3,
.article-sidecard h3,
.note-panel h3,
.empty-state h3 {
    margin: 8px 0 10px;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.editorial-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.mini-panel {
    display: grid;
    gap: 10px;
    padding: 24px;
    border-radius: 26px 32px 24px 30px;
}

.mini-panel p,
.hero-note-card p,
.article-sidecard p,
.stat-tile span,
.empty-state p,
.note-panel p {
    color: #6d5570;
    line-height: 1.7;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) auto minmax(260px, 0.9fr);
    gap: 18px;
    align-items: center;
    margin-top: 26px;
    padding: 18px clamp(18px, 3vw, 28px);
    border-radius: 24px;
}

.site-footer h2 {
    max-width: 520px;
    margin-top: 4px;
    font-size: clamp(1.18rem, 2vw, 1.72rem);
    line-height: 1.16;
}

.compact-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 12px 32px rgba(129, 72, 111, 0.08);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 900;
}

.compact-footer span:first-child {
    color: var(--ink);
}

.footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
}

.footer-brand .brand-mark {
    width: 48px;
    height: 48px;
}

.footer-mini-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-mini-stats span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.footer-mini-stats strong {
    color: var(--leaf-700);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.footer-links a,
.footer-links button {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--leaf-700);
    font-size: 0.9rem;
    font-weight: 900;
}

.article-topbar {
    margin-top: 18px;
    margin-bottom: 26px;
}

.article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.72fr);
    gap: 22px;
    align-items: start;
}

.article-hero-copy {
    display: grid;
    gap: 12px;
}

.article-sidecard {
    padding: 24px;
    border-radius: 26px 34px 24px 34px;
}

.article-stats {
    margin-top: 10px;
}

.article-body-wrap {
    padding: 0 clamp(24px, 6vw, 56px) 56px;
}

.article-body-wrap .meta-row {
    margin: 32px 0 18px;
}

.article-tags {
    margin-top: 10px;
}

.editor-preview-tags {
    margin: 10px 0 4px;
}

.article-end {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding: 24px clamp(20px, 3.5vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 248, 252, 0.82), rgba(255, 243, 189, 0.42));
    box-shadow: var(--shadow-card);
}

.article-end h2 {
    max-width: 700px;
    margin-top: 0;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.18;
}

.continue-reading {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    scroll-margin-top: 112px;
    padding: 24px clamp(20px, 3.5vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.86), transparent 14rem),
        linear-gradient(135deg, rgba(255, 248, 252, 0.82), rgba(223, 245, 255, 0.42));
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px) saturate(126%);
}

.continue-head {
    display: grid;
    gap: 8px;
}

.continue-head h2 {
    max-width: 760px;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.continue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.continue-card {
    position: relative;
    display: grid;
    gap: 8px;
    min-height: 190px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 242, 249, 0.62)),
        rgba(255, 248, 252, 0.74);
    box-shadow: 0 14px 34px rgba(129, 72, 111, 0.1);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.continue-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #ff8fc7, #ffd56f, #9be4ff);
    opacity: 0.74;
}

.continue-card > * {
    position: relative;
    z-index: 1;
}

.continue-card h3 {
    max-width: calc(100% - 30px);
    font-size: clamp(1.02rem, 1.75vw, 1.32rem);
    line-height: 1.28;
    letter-spacing: 0;
}

.continue-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.continue-card:hover {
    border-color: rgba(255, 143, 199, 0.48);
    box-shadow: 0 20px 46px rgba(129, 72, 111, 0.14);
    transform: translateY(-4px);
}

.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.82fr);
    gap: 22px;
    width: min(1100px, 100%);
    align-items: stretch;
}

.login-story {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: clamp(28px, 4vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 213, 111, 0.28), transparent 22rem),
        linear-gradient(135deg, rgba(255, 248, 252, 0.84), rgba(223, 245, 255, 0.42));
    box-shadow: var(--shadow-soft);
}

.login-story h1,
.login-card h2 {
    font-size: clamp(2.2rem, 5.6vw, 4.4rem);
}

.login-card h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.login-badges {
    display: flex;
    flex-wrap: wrap;
}

.login-badges span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--leaf-700);
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 900;
}

.studio-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-tile {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 24px 30px 22px 28px;
}

.stat-tile strong {
    color: var(--leaf-700);
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 0.94;
}

.empty-state {
    display: grid;
    gap: 12px;
    padding: 28px;
    border-radius: 28px 34px 26px 30px;
}

.editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
    align-items: start;
}

.editor-intro {
    display: grid;
    gap: 10px;
    margin-bottom: 8px;
}

.editor-intro h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

.editor-sidebar {
    display: grid;
    gap: 18px;
}

.note-panel {
    display: grid;
    gap: 10px;
    padding: 22px;
    border-radius: 24px 30px 22px 28px;
}

.note-list {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    margin: 0;
    color: #6d5570;
    line-height: 1.7;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.has-gsap .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

@keyframes heroLift {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headlineCharRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.88em, 0) rotateX(32deg) scaleX(0.92) scaleY(1.08);
        filter: blur(10px);
    }

    42% {
        opacity: 1;
        transform: translate3d(0, -0.22em, 0) rotateX(-8deg) scaleX(1.04) scaleY(0.94);
        filter: blur(0);
    }

    62% {
        opacity: 1;
        transform: translate3d(0, 0.08em, 0) rotateX(4deg) scaleX(0.98) scaleY(1.025);
        filter: blur(0);
    }

    78% {
        opacity: 1;
        transform: translate3d(0, -0.045em, 0) rotateX(-2deg) scaleX(1.01) scaleY(0.99);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes sunlightDrift {
    from {
        transform: translate3d(-12px, -8px, 0) scale(0.98);
    }

    to {
        transform: translate3d(18px, 12px, 0) scale(1.05);
    }
}

@keyframes stageRotate {
    to {
        --stage-rotate: 360deg;
    }
}

@keyframes ribbonRun {
    to {
        transform: translateX(-50%);
    }
}

@keyframes meterBounce {
    from {
        transform: scaleY(0.72);
        filter: saturate(0.9);
    }

    to {
        transform: scaleY(1);
        filter: saturate(1.2);
    }
}

@supports (animation-timeline: view()) {
    .zine-wall,
    .signal-board,
    .moodboard,
    .about-panel {
        animation: sectionGlow both ease;
        animation-timeline: view();
        animation-range: entry 8% cover 32%;
    }
}

@keyframes sectionGlow {
    from {
        filter: saturate(0.82) brightness(0.96);
        transform: translateY(18px);
    }

    to {
        filter: saturate(1.08) brightness(1);
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }

    .featured-stack .feature-card {
        transition-property: transform, opacity !important;
        transition-duration: var(--stack-slide), 420ms !important;
        transition-timing-function: cubic-bezier(0.18, 0.86, 0.2, 1), ease !important;
        transition-delay: 0s, 0s !important;
    }

    .featured-stack .feature-card.is-resetting {
        transition: none !important;
    }

    .sound-ribbon-track,
    .hero-beam,
    .zine-meter span,
    .mood-dials span {
        animation: none !important;
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
    }

    .section-nav {
        position: relative;
        top: auto;
        justify-content: flex-start;
        width: 100%;
        margin: -8px 0 14px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .section-nav::-webkit-scrollbar {
        display: none;
    }

    .hero-scene {
        min-height: 0;
        display: grid;
        gap: 24px;
        padding-bottom: 24px;
    }

    .featured-stack {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(620px, calc(100% - 36px));
        height: clamp(390px, 68vw, 560px);
        margin: 0 auto;
    }

    .section-heading,
    .post-console,
    .post-grid,
    .latest-layout,
    .toy-grid,
    .zine-wall,
    .signal-board,
    .signal-grid,
    .form-grid,
    .editorial-strip,
    .studio-stats,
    .editor-grid,
    .login-layout,
    .article-hero,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .admin-header,
    .admin-actions,
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-card {
        overflow-x: auto;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .scene-stickers {
        position: relative;
        top: auto;
        right: auto;
        grid-template-columns: repeat(3, max-content);
        margin: 0 24px;
    }
}

@media (max-width: 640px) {
    .hero,
    .content-frame,
    .article-layout,
    .admin-layout,
    .editor-layout {
        width: min(100% - 24px, 1380px);
    }

    .topbar {
        align-items: flex-start;
        border-radius: 22px;
    }

    .topbar,
    .topbar-links {
        flex-wrap: wrap;
    }

    .hero-copy {
        padding: 34px 24px;
    }

    .hero h1 {
        font-size: clamp(3rem, 20vw, 5rem);
    }

    .hero-scene {
        gap: 18px;
    }

    .scene-stickers {
        grid-template-columns: 1fr;
    }

    .sound-ribbon {
        width: min(100% - 24px, 1380px);
    }

    .section-nav {
        padding: 7px;
        border-radius: 18px;
    }

    .section-nav a {
        min-height: 32px;
        padding: 7px 11px;
        font-size: 0.8rem;
    }

    .post-console {
        padding: 18px;
    }

    .console-actions {
        align-items: stretch;
    }

    .console-actions .button-link {
        width: 100%;
    }

    .floating-dock {
        right: 10px;
        bottom: 10px;
        grid-template-columns: repeat(4, 1fr);
        width: calc(100% - 20px);
        border-radius: 20px;
    }

    .floating-dock a,
    .floating-dock button {
        min-width: 0;
        min-height: 38px;
        font-size: 0.78rem;
    }

    .zine-wall,
    .signal-board {
        padding: 22px;
    }

    .zine-copy h2,
    .signal-head h2 {
        font-size: 2.3rem;
    }

    .zine-collage {
        min-height: 300px;
    }

    .zine-photo {
        border-width: 5px;
    }

    .post-card {
        min-height: 310px;
    }

    .article-card > :not(.article-visual),
    .article-card h1 {
        margin-left: 22px;
        margin-right: 22px;
    }

    .article-body-wrap {
        padding-left: 22px;
        padding-right: 22px;
    }

    .login-story,
    .login-card,
    .toy-lab,
    .toy-card,
    .site-footer,
    .stat-tile,
    .mini-panel,
    .empty-state,
    .note-panel {
        padding: 22px;
    }

    .portal-list {
        grid-template-columns: 1fr;
    }

    .pixel-grid {
        max-width: none;
    }
}

.article-magazine {
    display: grid;
    grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.article-index-card {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 24px 30px 22px 28px;
    background:
        linear-gradient(135deg, rgba(255, 248, 252, 0.86), rgba(223, 245, 255, 0.42)),
        rgba(255, 252, 247, 0.76);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px) saturate(126%);
    transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}

.article-index-card ol {
    display: grid;
    gap: 10px;
    padding-left: 20px;
    margin: 0;
    color: var(--leaf-700);
    font-weight: 900;
    line-height: 1.55;
}

.article-index-card a {
    color: inherit;
}

.reader-tips {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
}

.reader-tips li {
    list-style: none;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 248, 252, 0.52);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.article-read-panel .season-list {
    display: flex;
    gap: 10px;
}

.article-read-panel button {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.84rem;
}

.article-read-panel button::before,
.article-read-panel button::after {
    display: none;
}

.article-meter {
    overflow: hidden;
    height: 10px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(138, 79, 120, 0.12);
}

.article-meter span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff8fc7, #ffd56f, #8ee7ff);
    transition: width 120ms linear;
}

.article-body p {
    position: relative;
    scroll-margin-top: 110px;
}

.article-body p::after {
    content: attr(data-paragraph-index);
    position: absolute;
    left: -2.8rem;
    top: 0.36rem;
    color: rgba(138, 79, 120, 0.26);
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 900;
}

.article-toast,
.editor-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
}

.reader-ocean {
    --leaf-900: #17364c;
    --leaf-700: #357c9a;
    --leaf-500: #6fc6e5;
    --leaf-300: #c8f2ff;
    --sun: #bcefff;
    --sun-soft: #eafaff;
    --paper: rgba(244, 253, 255, 0.82);
    --paper-solid: #f7fdff;
    --ink: #17364c;
    --muted: #6b8ca1;
    --line: rgba(111, 198, 229, 0.22);
    color: #17364c;
    background:
        radial-gradient(circle at 14% 0%, rgba(199, 246, 255, 0.86), transparent 24rem),
        radial-gradient(circle at 86% 12%, rgba(130, 211, 255, 0.46), transparent 25rem),
        linear-gradient(180deg, #f8fdff, #dff8ff 54%, #c8efff);
}

.reader-ocean .topbar,
.reader-ocean .article-card,
.reader-ocean .article-sidecard,
.reader-ocean .article-index-card,
.reader-ocean .article-end {
    border-color: rgba(111, 198, 229, 0.32);
    background-color: rgba(244, 253, 255, 0.72);
    color: #17364c;
    box-shadow: 0 24px 70px rgba(78, 161, 197, 0.16);
}

.reader-ocean h1,
.reader-ocean h2,
.reader-ocean h3,
.reader-ocean .brand {
    color: #17364c;
}

.reader-ocean .article-body,
.reader-ocean .article-excerpt,
.reader-ocean .article-sidecard p,
.reader-ocean .article-end h2 {
    color: #5e8196;
}

.editor-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.editor-quick-stats article {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px 24px 16px 22px;
    background: rgba(255, 248, 252, 0.64);
    box-shadow: 0 12px 26px rgba(129, 72, 111, 0.08);
}

.editor-quick-stats strong {
    color: var(--leaf-700);
    font-family: var(--display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1;
}

.editor-quick-stats span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 900;
}

.editor-command-panel {
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 213, 111, 0.28), transparent 12rem),
        rgba(255, 252, 247, 0.76);
}

.editor-quality-panel {
    background:
        radial-gradient(circle at 10% 0%, rgba(223, 245, 255, 0.56), transparent 12rem),
        rgba(255, 252, 247, 0.76);
}

.editor-quality-panel h3 {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.editor-quality-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.editor-tool-buttons {
    display: grid;
    gap: 10px;
}

.editor-tool-buttons button {
    width: 100%;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 16px 24px 16px 24px;
    font-size: 0.9rem;
}

.editor-tool-buttons button::before,
.editor-tool-buttons button::after {
    display: none;
}

.editor-check-panel .note-list li {
    padding: 8px 10px;
    border-radius: 12px;
    list-style-position: inside;
}

.editor-check-panel .note-list li.is-ok {
    background: rgba(221, 247, 228, 0.62);
    color: #3f774b;
}

.editor-check-panel .note-list li.is-warn {
    background: rgba(255, 243, 189, 0.62);
    color: #8a5e27;
}

.editor-preview-panel {
    position: sticky;
    top: 96px;
    overflow: hidden;
}

.preview-excerpt {
    margin: 0;
}

.editor-preview-body {
    display: grid;
    gap: 12px;
    max-height: 420px;
    overflow: auto;
    padding: 16px;
    border: 1px dashed rgba(138, 79, 120, 0.22);
    border-radius: 18px;
    background: rgba(255, 248, 252, 0.58);
    color: #465a43;
    line-height: 1.75;
}

.editor-preview-body h3,
.editor-preview-body h4 {
    margin: 0;
    color: var(--leaf-700);
    letter-spacing: 0;
}

.editor-preview-body h3 {
    font-size: 1.5rem;
}

.editor-preview-body h4 {
    font-size: 1.22rem;
}

.editor-preview-body p,
.editor-preview-body ul {
    margin: 0;
}

.editor-preview-body ul {
    display: grid;
    gap: 6px;
    padding-left: 18px;
}

@media (max-width: 980px) {
    .reading-lanes,
    .studio-map,
    .studio-map-grid,
    .admin-insights {
        grid-template-columns: 1fr;
    }

    .article-magazine {
        grid-template-columns: 1fr;
    }

    .article-index-card,
    .editor-preview-panel {
        position: relative;
        top: auto;
    }

    .editor-quick-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .article-body p::after {
        position: static;
        display: block;
        margin-bottom: 6px;
    }

    .article-toast,
    .editor-toast {
        right: 10px;
        bottom: 74px;
        max-width: calc(100% - 20px);
    }

    .editor-quick-stats {
        grid-template-columns: 1fr;
    }

    .editor-actions .button-link,
    .editor-actions button {
        width: 100%;
    }
}


/* motion-suite-35: quieter homepage rhythm */
.sunlit-home .hero {
    min-height: 82vh;
    padding-bottom: 24px;
}

.sunlit-home .hero-scene {
    min-height: calc(82vh - 112px);
}

.sunlit-home .featured-stack.is-single {
    width: min(430px, calc(100% - 36px));
    height: clamp(320px, 32vw, 420px);
}

.sunlit-home .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.sunlit-home .post-card {
    min-height: 218px;
    align-content: start;
    padding: 22px;
    border-radius: 22px 28px 20px 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 242, 249, 0.72)),
        rgba(255, 248, 252, 0.82);
    box-shadow: 0 16px 38px rgba(129, 72, 111, 0.11);
}

.sunlit-home .post-card::before {
    inset: 0 auto 0 0;
    z-index: 0;
    width: 7px;
    background: linear-gradient(180deg, #ff8fc7, #ffd56f, #9be4ff);
    opacity: 0.86;
    transform: none;
}

.sunlit-home .post-card::after {
    display: none;
}

.sunlit-home .post-card > * {
    position: relative;
    z-index: 1;
}

.sunlit-home .post-card h3 {
    max-width: 92%;
    font-size: clamp(1.34rem, 2.1vw, 2.02rem);
    line-height: 1.08;
}

.sunlit-home .post-card p {
    max-width: 92%;
    color: #70596d;
}

.sunlit-home .post-card:hover {
    border-color: rgba(255, 143, 199, 0.5);
    border-radius: 26px;
    box-shadow: 0 20px 46px rgba(129, 72, 111, 0.14);
    transform: translateY(-4px);
}

.sunlit-home .post-card:hover::before {
    opacity: 1;
    transform: none;
}

.sunlit-home .floating-dock {
    grid-template-columns: repeat(4, auto);
    right: 18px;
    bottom: 18px;
    border-radius: 999px;
    padding: 8px;
}

.sunlit-home .floating-dock a,
.sunlit-home .floating-dock button {
    min-width: 48px;
    min-height: 36px;
    border-radius: 999px;
}

@media (max-width: 980px) {
    .sunlit-home .hero-scene {
        min-height: 0;
    }

    .sunlit-home .post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sunlit-home .hero {
        padding-top: 12px;
    }

    .sunlit-home .featured-stack.is-single {
        height: 340px;
    }
.sunlit-home .post-card {
        min-height: 0;
    }
}
/* motion-suite-36: cleaner mobile reading */
@media (max-width: 640px) {
    .sunlit-home .floating-dock {
        display: none;
    }

    .sunlit-home .hero-scene {
        padding-bottom: 18px;
    }

    .sunlit-home .content-frame {
        padding-bottom: 44px;
    }
}

/* motion-suite-37: content-first polish */
.sunlit-home .hero,
.sunlit-home .content-frame {
    width: min(1440px, calc(100% - 32px));
}

.sunlit-home .hero {
    min-height: 76vh;
}

.sunlit-home .hero-scene {
    min-height: calc(76vh - 112px);
}

.sunlit-home .hero-copy {
    width: min(700px, 100%);
    padding: clamp(38px, 6vw, 76px);
}

.sunlit-home .hero h1 {
    font-size: clamp(3.3rem, 9.6vw, 7.1rem);
    letter-spacing: 0;
}

.sunlit-home .hero-subtitle {
    max-width: 590px;
    color: #5c4a5b;
}

.sunlit-home .scene-stickers {
    top: 74px;
}

.sunlit-home .featured-stack.is-single {
    width: min(410px, calc(100% - 36px));
    height: clamp(300px, 29vw, 390px);
}

.sunlit-home .feature-card-story {
    padding: 28px;
}

.sunlit-home .feature-card h2 {
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    letter-spacing: 0;
}

.sunlit-home .sound-ribbon {
    margin-top: 10px;
}

.sunlit-home .content-frame {
    padding-top: 34px;
}

.sunlit-home .section-heading {
    grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
    margin-bottom: 16px;
}

.sunlit-home .section-heading h2 {
    max-width: 780px;
    font-size: clamp(2rem, 3.45vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.sunlit-home .section-heading h2[data-headline-motion] {
    perspective: 900px;
}

.sunlit-home .section-heading h2 .headline-char {
    display: inline-block;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    transform-origin: 50% 100%;
    filter: blur(0);
    will-change: transform, opacity, filter;
}

.sunlit-home .section-heading.is-replaying h2 .headline-char {
    animation: headlineCharRise 1180ms cubic-bezier(0.18, 0.86, 0.16, 1.02) both;
    animation-delay: calc(var(--char-index, 0) * 58ms);
}

@media (prefers-reduced-motion: reduce) {
    .sunlit-home .section-heading.is-replaying h2 .headline-char {
        animation-name: headlineCharRise !important;
        animation-duration: 1180ms !important;
        animation-timing-function: cubic-bezier(0.18, 0.86, 0.16, 1.02) !important;
        animation-fill-mode: both !important;
        animation-delay: calc(var(--char-index, 0) * 58ms) !important;
    }
}

.sunlit-home .post-console {
    grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 24px;
}

.sunlit-home .post-console::after {
    content: "read";
    top: -10px;
    right: 18px;
    opacity: 0.68;
    color: rgba(138, 79, 120, 0.1);
}

.sunlit-home .console-copy h3 {
    margin: 4px 0 0;
    max-width: 520px;
    font-size: clamp(1.15rem, 1.62vw, 1.56rem);
    line-height: 1.18;
}

.sunlit-home .search-box input {
    min-height: 48px;
    border-radius: 16px;
}

.sunlit-home .chip-row {
    grid-column: 1 / -1;
}

.sunlit-home .console-actions {
    justify-content: flex-end;
}

.sunlit-home .console-status {
    grid-column: 1 / -1;
}

.sunlit-home .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.sunlit-home .post-card {
    min-height: 178px;
    align-content: center;
    gap: 10px;
    padding: 20px 22px 20px 158px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 242, 249, 0.76)),
        rgba(255, 248, 252, 0.84);
}

.sunlit-home .post-card::before {
    inset: 16px auto 16px 18px;
    z-index: 0;
    width: 112px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.92) 0 12px, transparent 13px),
        radial-gradient(circle at 72% 70%, rgba(255, 213, 111, 0.42) 0 18px, transparent 19px),
        linear-gradient(135deg, rgba(255, 143, 199, 0.5), rgba(255, 248, 252, 0.82));
    opacity: 0.96;
    transform: none;
    box-shadow: 0 12px 26px rgba(129, 72, 111, 0.16);
}

.sunlit-home .post-card:nth-child(2n)::before {
    background:
        radial-gradient(circle at 70% 26%, rgba(255, 255, 255, 0.88) 0 10px, transparent 11px),
        radial-gradient(circle at 32% 72%, rgba(104, 216, 255, 0.34) 0 20px, transparent 21px),
        linear-gradient(135deg, rgba(255, 193, 222, 0.62), rgba(255, 251, 244, 0.82));
}

.sunlit-home .post-card:nth-child(3n)::before {
    background:
        radial-gradient(circle at 28% 68%, rgba(255, 255, 255, 0.9) 0 12px, transparent 13px),
        radial-gradient(circle at 74% 28%, rgba(255, 143, 199, 0.38) 0 19px, transparent 20px),
        linear-gradient(135deg, rgba(255, 236, 247, 0.9), rgba(215, 245, 255, 0.7));
}

.sunlit-home .post-card:nth-child(4n)::before {
    background:
        radial-gradient(circle at 65% 34%, rgba(255, 255, 255, 0.88) 0 11px, transparent 12px),
        radial-gradient(circle at 30% 72%, rgba(255, 213, 111, 0.38) 0 18px, transparent 19px),
        linear-gradient(135deg, rgba(255, 218, 237, 0.82), rgba(248, 253, 255, 0.72));
}

.sunlit-home .post-card:nth-child(5n)::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9) 0 10px, transparent 11px),
        radial-gradient(circle at 76% 74%, rgba(255, 143, 199, 0.34) 0 20px, transparent 21px),
        linear-gradient(135deg, rgba(255, 248, 252, 0.84), rgba(255, 226, 240, 0.76));
}

.sunlit-home .post-card:nth-child(6n)::before {
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.9) 0 12px, transparent 13px),
        radial-gradient(circle at 34% 72%, rgba(104, 216, 255, 0.28) 0 18px, transparent 19px),
        linear-gradient(135deg, rgba(255, 226, 240, 0.78), rgba(255, 249, 224, 0.76));
}

.sunlit-home .post-index {
    top: 14px;
    right: 16px;
    font-size: 0.78rem;
}

.sunlit-home .post-card h3 {
    max-width: calc(100% - 34px);
    font-size: clamp(1.25rem, 1.8vw, 1.68rem);
    line-height: 1.2;
}

.sunlit-home .post-card p {
    max-width: 100%;
    margin: 0;
    line-height: 1.62;
}

.sunlit-home .post-tags span {
    background: rgba(255, 255, 255, 0.62);
}

.sunlit-home .post-card .text-link {
    width: fit-content;
    margin-top: 2px;
}

.sunlit-home .post-card:hover {
    border-radius: 22px;
    transform: translateY(-3px);
}

.sunlit-home .post-card:hover::before {
    transform: translateY(-2px);
}

.sunlit-home .zine-wall {
    grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1fr);
    min-height: 350px;
    padding: clamp(24px, 4vw, 42px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
}

.sunlit-home .zine-wall::before {
    display: none;
}

.sunlit-home .zine-copy .eyebrow {
    color: var(--muted);
}

.sunlit-home .zine-copy h2 {
    color: var(--ink);
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    letter-spacing: 0;
    text-shadow: none;
}

.sunlit-home .zine-copy p {
    color: var(--muted);
    font-size: 1rem;
}

.sunlit-home .zine-collage {
    min-height: 310px;
}

.owner-card img,
.profile-avatar-placeholder {
    width: 104px;
    height: 104px;
    border: 8px solid rgba(255, 255, 255, 0.86);
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 18px 42px rgba(129, 72, 111, 0.18);
}

.profile-avatar-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.82), transparent 34%),
        linear-gradient(135deg, rgba(255, 143, 199, 0.8), rgba(255, 213, 111, 0.68));
}

.profile-avatar-placeholder span {
    color: #fffafd;
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
}

.profile-avatar-placeholder[hidden] {
    display: none;
}

.sunlit-home .about-panel,
.sunlit-home .site-footer {
    border-radius: 26px;
}

.sunlit-home .site-footer {
    margin-top: 16px;
    margin-bottom: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 242, 249, 0.6)),
        rgba(255, 248, 252, 0.7);
}

.profile-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 213, 235, 0.72), transparent 24rem),
        radial-gradient(circle at 84% 16%, rgba(255, 243, 189, 0.5), transparent 26rem),
        linear-gradient(135deg, rgba(255, 250, 253, 0.94), rgba(245, 252, 255, 0.7));
}

.profile-layout {
    display: grid;
    gap: 20px;
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.profile-topbar {
    margin: 0;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.4fr);
    gap: 18px;
    align-items: stretch;
}

.profile-copy,
.owner-card,
.recent-posts-panel,
.profile-panels article {
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 22px 60px rgba(129, 72, 111, 0.12);
    backdrop-filter: blur(18px) saturate(124%);
}

.profile-copy {
    display: grid;
    align-content: center;
    gap: 14px;
    min-height: 360px;
    padding: clamp(28px, 4vw, 46px);
    border-radius: 28px;
}

.profile-copy h1 {
    font-size: clamp(3rem, 6.4vw, 5.1rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.profile-copy p {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.14rem);
    line-height: 1.7;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 4px;
}

.profile-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    color: var(--leaf-700);
    font-weight: 900;
}

.owner-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 22px;
    border-radius: 26px;
}

.account-card.auth-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 240, 248, 0.58)),
        rgba(255, 252, 247, 0.68);
}

.owner-card h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    line-height: 1.02;
}

.owner-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.owner-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(138, 79, 120, 0.12);
}

.owner-card dt {
    color: var(--muted);
    font-weight: 900;
}

.owner-card dd {
    margin: 0;
    color: var(--ink);
    font-weight: 900;
}

.account-card-note {
    margin: 2px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(138, 79, 120, 0.12);
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.6;
}

.profile-content {
    display: grid;
    gap: 16px;
}

.profile-section-head {
    display: grid;
    gap: 6px;
}

.profile-section-head h2 {
    max-width: 780px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.08;
}

.profile-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

.recent-posts-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
}

.panel-title-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}

.panel-title-row h3 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.16;
}

.profile-post-list {
    display: grid;
    gap: 10px;
}

.profile-post-list a {
    display: grid;
    grid-template-columns: minmax(78px, 0.18fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: 0 12px 28px rgba(129, 72, 111, 0.08);
}

.profile-post-list a:hover {
    transform: translateY(-2px);
    background: rgba(255, 248, 252, 0.82);
}

.profile-post-list span,
.profile-post-list small {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.profile-post-list strong {
    min-width: 0;
    color: var(--ink);
    font-size: 1.05rem;
}

.profile-empty-note {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.52);
    color: var(--muted);
    font-weight: 900;
}

.profile-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.profile-panels article {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 22px;
}

.profile-panels article.is-active {
    border-color: rgba(255, 143, 199, 0.36);
    background:
        linear-gradient(135deg, rgba(255, 248, 252, 0.88), rgba(255, 225, 240, 0.62)),
        rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 44px rgba(203, 91, 151, 0.14);
}

.profile-panels h3 {
    font-size: clamp(1.18rem, 1.8vw, 1.55rem);
    line-height: 1.2;
}

.profile-panels p {
    color: var(--muted);
    line-height: 1.7;
}

.article-layout {
    max-width: 1180px;
}

.article-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.article-hero-copy h1 {
    max-width: 820px;
    font-size: clamp(2.7rem, 6vw, 5.6rem);
    letter-spacing: 0;
}

.article-excerpt {
    max-width: 760px;
}

.article-read-panel {
    position: sticky;
    top: 96px;
}

.article-read-panel .season-list {
    flex-wrap: wrap;
}

.article-read-panel button {
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 248, 252, 0.72);
    color: var(--leaf-700);
    font-weight: 900;
    cursor: pointer;
}

.article-read-panel button:hover {
    background: linear-gradient(135deg, #ff8fc7, #ffd56f);
    color: #fffafd;
    transform: translateY(-2px);
}

.article-magazine {
    grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
}

.article-index-card {
    border-radius: 20px;
}

.article-index-card ol {
    gap: 8px;
    padding-left: 18px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.article-index-card a:hover {
    color: var(--leaf-900);
}

.article-card {
    border-radius: 26px;
}

.article-card-with-inline-image .article-body-wrap {
    padding: 0 clamp(28px, 5vw, 64px) 54px;
}

.article-inline-figure {
    position: relative;
    margin: 28px auto 34px;
    width: min(100%, 760px);
    margin-inline: auto;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(217, 111, 164, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 248, 252, 0.88), rgba(255, 238, 246, 0.54)),
        rgba(255, 248, 252, 0.88);
    box-shadow:
        0 20px 44px rgba(129, 72, 111, 0.1),
        0 2px 0 rgba(255, 255, 255, 0.72) inset;
}

.article-inline-figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.article-inline-figure .article-inline-image {
    display: block;
}

body.mood-ocean .article-inline-figure {
    border-color: rgba(111, 198, 229, 0.18);
    background:
        linear-gradient(135deg, rgba(247, 253, 255, 0.92), rgba(218, 247, 255, 0.54)),
        rgba(247, 253, 255, 0.9);
    box-shadow:
        0 20px 44px rgba(78, 161, 197, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

body.mood-ocean .article-inline-figure img {
    display: block;
    object-position: center center;
}

body.mood-ocean .article-inline-figure {
    width: min(100%, 760px);
}

.article-body-wrap {
    padding: 0 clamp(28px, 5vw, 64px) 54px;
}

@media (max-width: 760px) {
    .article-inline-figure,
    body.mood-ocean .article-inline-figure {
        width: min(100%, 620px);
        border-radius: 18px;
    }
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1.08rem, 1.65vw, 1.24rem);
    line-height: 1.92;
}

@media (max-width: 980px) {
    .sunlit-home .hero,
    .sunlit-home .content-frame {
        width: min(100% - 28px, 1440px);
    }

    .sunlit-home .hero-scene {
        min-height: 0;
    }

    .sunlit-home .post-console,
    .sunlit-home .section-heading,
    .sunlit-home .zine-wall,
    .article-hero,
    .article-magazine {
        grid-template-columns: 1fr;
    }

    .continue-grid {
        grid-template-columns: 1fr;
    }

    .continue-head h2 {
        font-size: clamp(1.72rem, 9vw, 2.55rem);
    }

    .sunlit-home .console-actions {
        justify-content: flex-start;
    }

    .article-read-panel,
    .article-index-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 640px) {
    .sunlit-home .hero,
    .sunlit-home .content-frame,
    .article-layout {
        width: min(100% - 22px, 1440px);
    }

    .sunlit-home .topbar-links {
        gap: 10px;
    }

    .sunlit-home .hero-copy {
        padding: 30px 22px;
    }

    .sunlit-home .hero h1 {
        max-width: 100%;
        font-size: clamp(2.45rem, 13.5vw, 3.5rem);
        line-height: 1;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    .sunlit-home .section-heading h2 {
        font-size: clamp(1.75rem, 9vw, 2.45rem);
        line-height: 1.12;
    }

    .sunlit-home .console-copy h3 {
        font-size: clamp(1.12rem, 6.2vw, 1.45rem);
        line-height: 1.22;
    }

    .sunlit-home .featured-stack.is-single {
        width: min(100% - 24px, 420px);
        height: 320px;
    }
.sunlit-home .post-card {
        padding: 154px 18px 18px;
    }

    .sunlit-home .post-grid {
        grid-template-columns: 1fr;
    }

    .sunlit-home .post-card::before {
        inset: 16px 18px auto 18px;
        width: auto;
        height: 118px;
    }

    .sunlit-home .post-card h3 {
        max-width: 100%;
    }

    .sunlit-home .zine-wall {
        min-height: 0;
    }

    .sunlit-home .zine-collage {
        min-height: 260px;
    }

    .sunlit-home .zine-copy h2 {
        font-size: clamp(1.85rem, 9.2vw, 2.75rem);
        line-height: 1.12;
    }

    .article-hero-copy h1 {
        font-size: clamp(2.35rem, 13vw, 4.2rem);
    }

    .article-body {
        max-width: none;
    }
}

/* motion-suite-39: remove ticker, sharpen product-like rhythm */
.sunlit-home .hero {
    min-height: auto;
    padding-bottom: 18px;
}

.sunlit-home .hero-scene {
    min-height: clamp(560px, 72vh, 720px);
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 86px rgba(129, 72, 111, 0.14);
}

.sunlit-home .topbar {
    margin-bottom: 18px;
    padding: 10px 12px;
    background: rgba(255, 250, 253, 0.78);
    box-shadow: 0 12px 34px rgba(129, 72, 111, 0.1);
}

.sunlit-home .topbar-links {
    gap: 8px;
}

.sunlit-home .topbar-links a {
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 999px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.sunlit-home .topbar-links a:hover {
    background: rgba(255, 143, 199, 0.14);
    color: var(--leaf-900);
    transform: translateY(-1px);
}

.sunlit-home .hero-actions {
    margin-top: 24px;
}

.sunlit-home .featured-stack.is-single {
    right: clamp(18px, 3.2vw, 46px);
    bottom: clamp(18px, 3.2vw, 46px);
}

.sunlit-home .content-frame {
    padding-top: clamp(96px, 14vh, 150px);
}

.sunlit-home .section-heading {
    padding-top: 4px;
    margin-bottom: 28px;
}

.sunlit-home .post-console {
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.86), transparent 13rem),
        linear-gradient(135deg, rgba(255, 250, 253, 0.9), rgba(245, 252, 255, 0.64));
}

.sunlit-home .post-console::after {
    display: none;
}

.sunlit-home .filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.sunlit-home .zine-wall {
    margin-top: 24px;
}

.sunlit-home .site-footer {
    margin-top: 22px;
}

@media (max-width: 980px) {
    .sunlit-home .hero-scene {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .sunlit-home .topbar {
        gap: 10px;
        padding: 10px;
    }

    .sunlit-home .brand-mark {
        width: 34px;
        height: 34px;
    }

    .sunlit-home .topbar-links a {
        min-height: 30px;
        padding: 6px 8px;
        font-size: 0.84rem;
    }

    .sunlit-home .content-frame {
        padding-top: 20px;
    }
}

/* motion-suite-43: restore featured swipe deck */
.sunlit-home .featured-stack:not(.is-single) {
    width: min(470px, calc(100% - 36px));
    height: clamp(360px, 40vw, 500px);
    cursor: grab;
}

.sunlit-home .featured-stack:not(.is-single) .feature-card {
    cursor: grab;
}

.sunlit-home .featured-stack:not(.is-single).is-dragging,
.sunlit-home .featured-stack:not(.is-single) .feature-card.is-dragging {
    cursor: grabbing;
}

.sunlit-home .featured-stack:not(.is-single) .feature-card-story {
    padding: 28px;
}

.sunlit-home .featured-stack:not(.is-single) .feature-card h2 {
    font-size: clamp(1.75rem, 3.2vw, 3rem);
}

@media (max-width: 980px) {
    .sunlit-home .featured-stack:not(.is-single) {
        width: min(620px, calc(100% - 36px));
        height: clamp(390px, 68vw, 560px);
    }
}

@media (max-width: 640px) {
    .sunlit-home .featured-stack:not(.is-single) {
        width: min(100% - 24px, 420px);
        height: 360px;
    }

    .sunlit-home .featured-stack:not(.is-single) .feature-card-story {
        padding: 24px;
    }

    .sunlit-home .featured-stack:not(.is-single) .feature-card h2 {
        font-size: clamp(1.78rem, 9.2vw, 2.75rem);
    }
}

/* motion-suite-87: restore hero rhythm and reveal the visual deck on scroll */
.sunlit-home .hero {
    min-height: auto;
    padding-bottom: 18px;
}

.sunlit-home .hero-scene {
    min-height: clamp(560px, 72vh, 720px);
}

.sunlit-home .featured-stack:not(.is-single) {
    bottom: clamp(18px, 3.2vw, 46px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: none;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
    transition:
        opacity 320ms ease,
        filter 320ms ease,
        transform 520ms cubic-bezier(0.18, 0.86, 0.2, 1),
        visibility 0s linear 0s;
}

.sunlit-home .featured-stack.reveal {
    animation: none;
}

.sunlit-home .featured-stack:not(.is-single).is-scroll-revealed {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
    transition-delay: 0s;
}

.has-gsap .sunlit-home .featured-stack:not(.is-single) {
    will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
    .sunlit-home .featured-stack:not(.is-single).is-scroll-revealed {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 980px) {
    .sunlit-home .hero {
        min-height: auto;
        padding-bottom: 28px;
    }

    .sunlit-home .hero-scene {
        min-height: 0;
    }

    .sunlit-home .featured-stack:not(.is-single) {
        bottom: auto;
        margin-top: clamp(28px, 6vw, 56px);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        filter: none;
        transform: none;
        transition: none;
    }
}

@media (max-width: 980px) {
    .profile-hero,
    .profile-board,
    .profile-panels,
    .latest-layout,
    .about-panel,
    .site-footer {
        grid-template-columns: 1fr;
    }
    .footer-links,
    .footer-mini-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .profile-layout {
        width: min(100% - 22px, 1180px);
    }

    .profile-copy,
    .owner-card,
    .profile-panels article,
    .site-side-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .side-actions,
    .side-stats {
        grid-template-columns: 1fr;
    }

    .owner-card dl div {
        display: grid;
        gap: 4px;
    }

    .profile-copy {
        min-height: 0;
    }

    .profile-post-list a {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .about-actions,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-route {
        grid-template-columns: 1fr;
    }
}

/* motion-suite-92: keep floating controls in the active ocean theme */
body.mood-ocean .floating-dock {
    border-color: rgba(111, 198, 229, 0.46);
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 3.8rem),
        rgba(239, 251, 255, 0.82);
    box-shadow: 0 22px 58px rgba(78, 161, 197, 0.18);
}

body.mood-ocean .floating-dock a,
body.mood-ocean .floating-dock button {
    border: 1px solid rgba(111, 198, 229, 0.28);
    background: linear-gradient(135deg, #75d3f0 0%, #d8f8ff 100%);
    color: #17364c;
    box-shadow:
        inset 0 -2px 0 rgba(23, 54, 76, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 12px 26px rgba(78, 161, 197, 0.2);
}

body.mood-ocean .floating-dock a:hover,
body.mood-ocean .floating-dock button:hover {
    background: linear-gradient(135deg, #36a9d6 0%, #a7ecff 100%);
    color: #f8fdff;
    box-shadow:
        inset 0 -2px 0 rgba(23, 54, 76, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.56),
        0 16px 34px rgba(47, 157, 208, 0.28);
}

/* motion-suite-93: theme switch controls image sets as well as colors */
body.mood-ocean .theme-toggle {
    border-color: rgba(111, 198, 229, 0.38);
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.92) 0 3px, transparent 4px),
        linear-gradient(135deg, rgba(203, 243, 255, 0.9), rgba(247, 253, 255, 0.78));
    color: #24657f;
    box-shadow: 0 12px 26px rgba(78, 161, 197, 0.14);
}

body.mood-ocean .theme-toggle-dot {
    background: linear-gradient(135deg, #50bfe8 0 58%, #ffffff 58% 100%);
}

.theme-toggle.is-ocean {
    border-color: rgba(111, 198, 229, 0.38);
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.92) 0 3px, transparent 4px),
        linear-gradient(135deg, rgba(203, 243, 255, 0.9), rgba(247, 253, 255, 0.78));
    color: #24657f;
}

.theme-toggle.is-ocean .theme-toggle-dot {
    background: linear-gradient(135deg, #50bfe8 0 58%, #ffffff 58% 100%);
}

body.mood-ocean.sunlit-home .post-card::before {
    background-image:
        linear-gradient(180deg, rgba(248, 253, 255, 0.04), rgba(248, 253, 255, 0.24)),
        var(--post-card-image, url("../images/1b6169d57600cf6c15bd3bafaac9a3c5a8fecd651206011-ZkhUvs.png"));
    background-position: 0 0, var(--post-card-position, center);
    background-repeat: no-repeat;
    background-size: auto, cover;
}

body.mood-ocean.sunlit-home .post-card:nth-child(16n + 1) { --post-card-image: url("../images/1b6169d57600cf6c15bd3bafaac9a3c5a8fecd651206011-ZkhUvs.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 2) { --post-card-image: url("../images/4DC60BC07F9BBCDC149D9914499CAEBD.jpg"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 3) { --post-card-image: url("../images/blue-image-02.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 4) { --post-card-image: url("../images/blue-image-03.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 5) { --post-card-image: url("../images/blue-image-04.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 6) { --post-card-image: url("../images/blue-image-05.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 7) { --post-card-image: url("../images/blue-image-06.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 8) { --post-card-image: url("../images/blue-image-07.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 9) { --post-card-image: url("../images/blue-image-08.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 10) { --post-card-image: url("../images/blue-image-09.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 11) { --post-card-image: url("../images/blue-image-10.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 12) { --post-card-image: url("../images/blue-image-14.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 13) { --post-card-image: url("../images/WXSqWqoMiQloAJ0.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 14) { --post-card-image: url("../images/blue-image-16.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n + 15) { --post-card-image: url("../images/d3SyQz1PSqaybyy.png"); --post-card-position: center; }
body.mood-ocean.sunlit-home .post-card:nth-child(16n) { --post-card-image: url("../images/1742482531462.png"); --post-card-position: center; }



body.mood-ocean .feature-card-image-one img {
    object-position: 50% 52%;
}

body.mood-ocean .feature-card-image-two img {
    object-position: 72% 49%;
}

body.mood-ocean .feature-card-image-three img {
    object-position: 60% 50%;
    transform: none;
}

body.mood-ocean .theme-ocean-only {
    display: grid;
}

body.mood-ocean .feature-card-image-four img {
    object-position: 52% 44%;
}

body.mood-ocean .feature-card-image-five img {
    object-position: 50% 46%;
}

body.mood-ocean .feature-card-image-six img {
    object-position: 50% 48%;
}

body.mood-ocean .feature-card-image-blue-fifteen img {
    object-position: 50% 50%;
}

body.mood-ocean .feature-card-image-blue-new img {
    object-position: 50% 44%;
}

body.mood-ocean .feature-card-image-miku-tall img {
    object-position: 50% 68%;
}

body.mood-ocean .post-pager {
    border-color: rgba(111, 198, 229, 0.28);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.94), transparent 8rem),
        linear-gradient(145deg, rgba(247, 253, 255, 0.92), rgba(224, 248, 255, 0.58));
    box-shadow: 0 18px 44px rgba(78, 161, 197, 0.12);
}

body.mood-ocean .post-pager > strong,
body.mood-ocean .post-pager .eyebrow {
    color: #17364c;
}

body.mood-ocean .pager-buttons {
    scrollbar-color: rgba(111, 198, 229, 0.5) rgba(247, 253, 255, 0.62);
}

body.mood-ocean .pager-buttons button,
body.mood-ocean .pager-actions button,
body.mood-ocean .side-actions a,
body.mood-ocean .side-actions button {
    border-color: rgba(111, 198, 229, 0.24);
    background: rgba(247, 253, 255, 0.72);
    color: #357c9a;
    box-shadow: 0 10px 24px rgba(78, 161, 197, 0.1);
}

body.mood-ocean .pager-buttons button:hover,
body.mood-ocean .pager-actions button:hover:not(:disabled),
body.mood-ocean .side-actions a:hover,
body.mood-ocean .side-actions button:hover {
    background: linear-gradient(135deg, #75d3f0 0%, #d8f8ff 100%);
    color: #17364c;
    box-shadow: 0 14px 30px rgba(47, 157, 208, 0.18);
}

body.mood-ocean .pager-buttons button.is-active {
    border-color: rgba(111, 198, 229, 0.58);
    background: linear-gradient(135deg, #5fc4e8 0%, #bdefff 56%, #f8fdff 100%);
    color: #17364c;
    box-shadow: 0 12px 26px rgba(78, 161, 197, 0.22);
}

body.mood-ocean .feature-card-story {
    border-color: rgba(165, 231, 255, 0.82);
    background:
        linear-gradient(145deg, rgba(244, 253, 255, 0.99), rgba(217, 246, 255, 0.94) 58%, rgba(189, 238, 255, 0.9)),
        rgba(247, 253, 255, 0.96);
    box-shadow:
        0 20px 44px rgba(78, 161, 197, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.mood-ocean .feature-card-story::before {
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.98), transparent 19%),
        radial-gradient(circle at 84% 18%, rgba(174, 236, 255, 0.4), transparent 24%),
        linear-gradient(135deg, rgba(129, 213, 242, 0.5), rgba(221, 249, 255, 0.34), transparent);
}

body.mood-ocean .feature-card-story::after {
    border-color: rgba(53, 124, 154, 0.18);
}

body.mood-ocean .stack-sticker {
    background: #69c8ec;
    color: #f8fdff;
    box-shadow: 0 12px 24px rgba(78, 161, 197, 0.24);
}

body.mood-ocean .feature-card-story .button-link {
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
        linear-gradient(135deg, #74d1ee 0%, #bcefff 100%);
    color: #17364c;
    box-shadow:
        inset 0 -3px 0 rgba(23, 54, 76, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 14px 30px rgba(78, 161, 197, 0.24);
}

/* motion-suite-104: carry ocean theme through article, profile and admin surfaces */
body.mood-ocean .article-card,
body.mood-ocean .article-sidecard,
body.mood-ocean .article-index-card,
body.mood-ocean .article-end,
body.mood-ocean .continue-reading,
body.mood-ocean .continue-card,
body.mood-ocean .login-card,
body.mood-ocean .profile-copy,
body.mood-ocean .owner-card,
body.mood-ocean .recent-posts-panel,
body.mood-ocean .profile-panels article,
body.mood-ocean .table-card,
body.mood-ocean .editor-card,
body.mood-ocean .stat-tile,
body.mood-ocean .note-panel,
body.mood-ocean .admin-insights article,
body.mood-ocean .editor-quick-stats article,
.reader-ocean .continue-reading,
.reader-ocean .continue-card {
    border-color: rgba(111, 198, 229, 0.32);
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.86), transparent 12rem),
        linear-gradient(145deg, rgba(248, 253, 255, 0.84), rgba(218, 247, 255, 0.48));
    box-shadow: 0 22px 58px rgba(78, 161, 197, 0.14);
}

body.mood-ocean .article-end,
body.mood-ocean .continue-reading,
.reader-ocean .article-end,
.reader-ocean .continue-reading {
    background:
        radial-gradient(circle at 92% 4%, rgba(190, 239, 255, 0.34), transparent 13rem),
        linear-gradient(135deg, rgba(248, 253, 255, 0.94), rgba(222, 248, 255, 0.72));
}

body.mood-ocean .article-end .button-link {
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
        linear-gradient(135deg, #74d1ee 0%, #c8f4ff 100%);
    color: #17364c;
    box-shadow:
        inset 0 -3px 0 rgba(23, 54, 76, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 14px 30px rgba(78, 161, 197, 0.2);
}

body.mood-ocean .article-end .button-link.subtle {
    background: rgba(247, 253, 255, 0.88);
    color: #357c9a;
    box-shadow: 0 12px 26px rgba(78, 161, 197, 0.12);
}

body.mood-ocean .article-end .button-link::after {
    background: #f8fdff;
    box-shadow:
        5px -5px 0 -3px #bdefff,
        9px 3px 0 -4px rgba(255, 255, 255, 0.8);
}

body.mood-ocean .article-end .button-link:hover {
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px),
        linear-gradient(135deg, #39acd8 0%, #a9edff 100%);
    color: #f8fdff;
    box-shadow:
        inset 0 -3px 0 rgba(23, 54, 76, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 18px 36px rgba(47, 157, 208, 0.24);
}

body.mood-ocean.reader-ocean .article-read-panel button,
body.mood-ocean .reader-ocean .article-read-panel button,
body.mood-ocean.reader-ocean .article-end .button-link,
body.mood-ocean.reader-ocean .article-end .button-link.subtle,
body.mood-ocean .reader-ocean .article-end .button-link,
body.mood-ocean .reader-ocean .article-end .button-link.subtle {
    border-color: rgba(111, 198, 229, 0.34);
    background:
        radial-gradient(circle at 16px 50%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
        linear-gradient(135deg, #72d0ee 0%, #c8f4ff 100%);
    color: #17364c;
    box-shadow:
        inset 0 -3px 0 rgba(23, 54, 76, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        0 14px 30px rgba(78, 161, 197, 0.2);
}

body.mood-ocean.reader-ocean .article-read-panel button:hover,
body.mood-ocean .reader-ocean .article-read-panel button:hover,
body.mood-ocean.reader-ocean .article-end .button-link:hover,
body.mood-ocean .reader-ocean .article-end .button-link:hover {
    background:
        radial-gradient(circle at 16px 50%, rgba(255, 255, 255, 0.88) 0 4px, transparent 5px),
        linear-gradient(135deg, #39acd8 0%, #a9edff 100%);
    color: #f8fdff;
}

body.mood-ocean .continue-card,
.reader-ocean .continue-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 250, 255, 0.8)),
        rgba(247, 253, 255, 0.9);
}

body.mood-ocean .continue-card::before,
.reader-ocean .continue-card::before {
    background: linear-gradient(180deg, #69c8ec, #bdefff, #f8fdff);
    opacity: 0.9;
}

body.mood-ocean .continue-card:hover,
.reader-ocean .continue-card:hover {
    border-color: rgba(111, 198, 229, 0.56);
    box-shadow: 0 22px 48px rgba(47, 157, 208, 0.18);
}

body.mood-ocean.profile-shell {
    background:
        radial-gradient(circle at 14% 8%, rgba(189, 239, 255, 0.5), transparent 24rem),
        radial-gradient(circle at 84% 16%, rgba(216, 248, 255, 0.36), transparent 26rem),
        linear-gradient(135deg, rgba(248, 253, 255, 0.98), rgba(229, 248, 255, 0.84));
}

body.mood-ocean .profile-avatar-placeholder {
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.82), transparent 34%),
        linear-gradient(135deg, rgba(105, 200, 236, 0.86), rgba(210, 247, 255, 0.72));
    box-shadow: 0 18px 42px rgba(78, 161, 197, 0.2);
}

body.mood-ocean .profile-badges span,
body.mood-ocean .profile-post-list a,
body.mood-ocean .profile-empty-note {
    border-color: rgba(111, 198, 229, 0.28);
    background: rgba(247, 253, 255, 0.74);
    color: #357c9a;
    box-shadow: 0 12px 28px rgba(78, 161, 197, 0.1);
}

body.mood-ocean .profile-post-list a:hover {
    background: rgba(232, 249, 255, 0.86);
    box-shadow: 0 16px 32px rgba(47, 157, 208, 0.14);
}

body.mood-ocean .profile-panels article.is-active {
    border-color: rgba(111, 198, 229, 0.56);
    background:
        radial-gradient(circle at 88% 0%, rgba(189, 239, 255, 0.5), transparent 12rem),
        linear-gradient(135deg, rgba(248, 253, 255, 0.9), rgba(222, 248, 255, 0.64));
    box-shadow: 0 18px 44px rgba(47, 157, 208, 0.16);
}

body.mood-ocean .continue-card p,
body.mood-ocean .note-panel p,
body.mood-ocean .stat-tile span,
body.mood-ocean .editor-quick-stats span,
body.mood-ocean .login-note,
body.mood-ocean .row-subtitle,
body.mood-ocean .profile-copy p,
body.mood-ocean .profile-panels p,
body.mood-ocean .owner-card dt,
.reader-ocean .continue-card p {
    color: #5e8196;
}

body.mood-ocean .continue-card .text-link,
body.mood-ocean .text-link,
.reader-ocean .continue-card .text-link {
    color: #2588ad;
}

body.mood-ocean .stat-tile strong,
body.mood-ocean .editor-quick-stats strong {
    color: #2f8eb1;
}

body.mood-ocean .admin-insights article::after,
body.mood-ocean .reading-lanes article::after,
body.mood-ocean .studio-map-grid article::after {
    background: linear-gradient(90deg, #7bd5f1, #e1fbff);
}

body.mood-ocean .editor-command-panel,
body.mood-ocean .editor-quality-panel,
body.mood-ocean .editor-check-panel,
body.mood-ocean .editor-preview-panel {
    background:
        radial-gradient(circle at 92% 0%, rgba(189, 239, 255, 0.56), transparent 12rem),
        rgba(247, 253, 255, 0.78);
}

body.mood-ocean .editor-tag-presets button,
body.mood-ocean .editor-formatbar button,
body.mood-ocean .editor-tool-buttons button,
body.mood-ocean .editor-actions > button,
body.mood-ocean .article-read-panel button,
body.mood-ocean .stack-form button[type="submit"] {
    border-color: rgba(111, 198, 229, 0.34);
    background:
        radial-gradient(circle at 16px 50%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
        linear-gradient(135deg, #72d0ee 0%, #c8f4ff 100%);
    color: #17364c;
    box-shadow:
        inset 0 -3px 0 rgba(23, 54, 76, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        0 14px 30px rgba(78, 161, 197, 0.2);
}

body.mood-ocean .editor-tag-presets button:hover,
body.mood-ocean .editor-formatbar button:hover,
body.mood-ocean .editor-tool-buttons button:hover,
body.mood-ocean .editor-actions > button:hover,
body.mood-ocean .article-read-panel button:hover,
body.mood-ocean .stack-form button[type="submit"]:hover {
    background:
        radial-gradient(circle at 16px 50%, rgba(255, 255, 255, 0.88) 0 4px, transparent 5px),
        linear-gradient(135deg, #39acd8 0%, #a9edff 100%);
    color: #f8fdff;
    box-shadow:
        inset 0 -3px 0 rgba(23, 54, 76, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 18px 36px rgba(47, 157, 208, 0.24);
}

body.mood-ocean .editor-actions .button-link.subtle {
    border-color: rgba(111, 198, 229, 0.34);
    background: rgba(247, 253, 255, 0.78);
    color: #357c9a;
    box-shadow: 0 12px 26px rgba(78, 161, 197, 0.12);
}

body.mood-ocean input,
body.mood-ocean textarea,
body.mood-ocean select {
    border-color: rgba(111, 198, 229, 0.3);
    background:
        linear-gradient(135deg, rgba(248, 253, 255, 0.9), rgba(230, 249, 255, 0.72));
    color: #17364c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.mood-ocean input:focus,
body.mood-ocean textarea:focus,
body.mood-ocean select:focus {
    border-color: rgba(75, 185, 224, 0.72);
    box-shadow:
        0 0 0 4px rgba(111, 198, 229, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

body.mood-ocean .checkbox-row input {
    accent-color: #69c8ec;
}

body.mood-ocean .post-tags span,
body.mood-ocean .status-pill,
body.mood-ocean .filter-chip {
    border-color: rgba(111, 198, 229, 0.26);
    background: rgba(247, 253, 255, 0.78);
    color: #357c9a;
}

body.mood-ocean .status-pill.is-published {
    background: linear-gradient(135deg, #74d1ee, #d8f8ff);
    color: #17364c;
}

@media (max-width: 760px) {
    .sunlit-home .post-console {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .sunlit-home .post-console::after {
        display: none;
    }

    .sunlit-home .search-box,
    .sunlit-home .console-actions .button-link,
    .sunlit-home .filter-chip {
        width: 100%;
    }

    .sunlit-home .chip-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .sunlit-home .filter-chip {
        min-height: 40px;
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .sunlit-home .hero-media,
    .sunlit-home .post-console,
.sunlit-home .post-card {
        backdrop-filter: none;
    }

    .sunlit-home .hero-media {
        transform: none;
        transition: none;
    }

    .sunlit-home .hero-scene::after,
    .sunlit-home .featured-stack::before {
        display: none;
    }

    .sunlit-home .featured-stack:not(.is-single) {
        height: min(360px, 92vw);
        margin-top: 20px;
    }

    .sunlit-home .content-frame {
        padding-top: 18px;
    }

    .sunlit-home .hero-copy {
        overflow: hidden;
    }
}

.sunlit-home .post-card::before,
.sunlit-home .post-card:nth-child(2n)::before,
.sunlit-home .post-card:nth-child(3n)::before,
.sunlit-home .post-card:nth-child(4n)::before,
.sunlit-home .post-card:nth-child(5n)::before,
.sunlit-home .post-card:nth-child(6n)::before,
body.mood-ocean.sunlit-home .post-card::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 1)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 2)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 3)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 4)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 5)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 6)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 7)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 8)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 9)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 10)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 11)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 12)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 13)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 14)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 15)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n)::before {
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.92) 0 12px, transparent 13px),
        radial-gradient(circle at 72% 70%, rgba(255, 213, 111, 0.38) 0 18px, transparent 19px),
        linear-gradient(135deg, rgba(255, 143, 199, 0.5), rgba(255, 248, 252, 0.82));
}

body.mood-ocean.sunlit-home .post-card::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 1)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 2)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 3)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 4)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 5)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 6)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 7)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 8)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 9)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 10)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 11)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 12)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 13)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 14)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n + 15)::before,
body.mood-ocean.sunlit-home .post-card:nth-of-type(16n)::before {
    background:
        radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.92) 0 12px, transparent 13px),
        radial-gradient(circle at 30% 72%, rgba(111, 198, 229, 0.32) 0 18px, transparent 19px),
        linear-gradient(135deg, rgba(207, 242, 255, 0.72), rgba(247, 253, 255, 0.86));
}

@media (max-width: 760px) {
    .sunlit-home .hero h1 {
        max-width: min(100%, 11ch);
        font-size: clamp(2.75rem, 12vw, 3.15rem);
        line-height: 0.98;
        letter-spacing: 0;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* motion-suite-128: native fallback first, upgraded 3D deck after JS succeeds */
.sunlit-home .featured-stack:not(.deck-enhanced):not(.is-single) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 82%);
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    height: clamp(320px, 40vw, 500px);
    padding: 10px 10px 18px;
    perspective: none;
    touch-action: pan-x pan-y;
    cursor: default;
}

.sunlit-home .featured-stack:not(.deck-enhanced):not(.is-single) .feature-card {
    position: relative;
    inset: auto;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
    scroll-snap-align: center;
    transition: none;
}

.sunlit-home .featured-stack:not(.deck-enhanced):not(.is-single) .feature-card:not(.theme-pink-only):not(.theme-ocean-only),
.sunlit-home .featured-stack:not(.deck-enhanced):not(.is-single) .theme-pink-only {
    display: grid;
}

.sunlit-home .featured-stack:not(.deck-enhanced):not(.is-single) .theme-ocean-only,
body.mood-ocean .sunlit-home .featured-stack:not(.deck-enhanced):not(.is-single) .theme-pink-only {
    display: none;
}

body.mood-ocean .sunlit-home .featured-stack:not(.deck-enhanced):not(.is-single) .theme-ocean-only {
    display: grid;
}

.sunlit-home .featured-stack.deck-enhanced:not(.is-single) {
    display: block;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    touch-action: pan-y;
    cursor: grab;
}

.sunlit-home .featured-stack.deck-enhanced:not(.is-single) .feature-card {
    position: absolute;
    inset: 0;
}

/* motion-suite-128: make homepage note cards text-first, no image placeholders */
.sunlit-home .post-card {
    min-height: 0;
    align-content: start;
    gap: 10px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 249, 0.86)),
        rgba(255, 248, 252, 0.9);
}

.sunlit-home .post-card::before,
.sunlit-home .post-card::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.sunlit-home .post-card .meta-row,
.sunlit-home .post-card .post-tags {
    margin-bottom: 0;
}

.sunlit-home .post-card h3,
.sunlit-home .post-card p {
    max-width: 100%;
}

.sunlit-home .post-card h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.sunlit-home .post-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.sunlit-home .post-card:hover {
    transform: translateY(-4px);
}

.sunlit-home .post-pager {
    margin-top: 0;
}

@media (max-width: 980px) {
    .latest-layout {
        grid-template-columns: 1fr;
    }

    .home-side-rail {
        position: static;
    }
}





