:root {
    --daisy-yellow: #f5dc43;
    --daisy-white: #f7f3ec;
    --leaf: #0b2925;
    --leaf-2: #23a69a;
    --night: #0b2925;
    --night-2: #1d5d52;
    --petal: #f3a1bd;
    --ink: #17221d;
    --rose: #f0a6be;
    --paper: #fffdf7;
}
* { box-sizing: border-box; }
html.motion-disabled *,
html.motion-disabled *::before,
html.motion-disabled *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
html.motion-disabled .petal,
html.motion-disabled .landing-constellation {
    display: none !important;
}
body {
    min-height: 100vh;
    color: var(--ink);
    font-family: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
    background: linear-gradient(180deg, #f7f3ec 0%, #edf7ee 52%, #f8dbe6 100%);
    overflow-x: hidden;
}
.sky-bg::before,
.sky-bg::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}
.sky-bg::before {
    background-image:
        radial-gradient(circle, rgba(11,41,37,.18) 1px, transparent 1px),
        radial-gradient(circle, rgba(35,166,154,.16) 1px, transparent 1px);
    background-size: 48px 48px, 86px 86px;
    animation: twinkle 8s ease-in-out infinite alternate;
}
.sky-bg::after {
    background: linear-gradient(0deg, rgba(11,41,37,.12) 0%, transparent 48%);
    z-index: -1;
}
.app-header {
    backdrop-filter: blur(16px);
    background: rgba(11, 41, 37, .9);
    border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand-lockup {
    display: grid;
    justify-items: center;
    min-width: 0;
    color: var(--daisy-white);
}
.brand-title {
    color: var(--daisy-white);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.05rem, 4.8vw, 2rem);
    font-weight: 900;
    text-align: center;
    line-height: 1;
    text-shadow: 0 0 18px rgba(245,220,67,.26);
    letter-spacing: .3px;
}
.brand-subtitle {
    color: rgba(247,243,236,.86);
    font-size: clamp(.62rem, 2.3vw, .82rem);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    max-width: min(58vw, 430px);
}
.hamburger-btn {
    width: 44px; height: 44px; border: 0; border-radius: 16px;
    background: rgba(255,255,255,.16); display: grid; place-content: center; gap: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}
.hamburger-btn span { width: 22px; height: 2px; background: #fff; border-radius: 10px; display: block; }
.city-logo-wrap { width: 62px; display: flex; justify-content: flex-end; align-items: center; }
.city-logo {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    background: rgba(247,243,236,.92);
    border: 2px solid rgba(247,243,236,.88);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.26));
}
.city-logo-fallback {
    width: 42px; height: 42px; display: none; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--daisy-yellow); color: var(--leaf); font-weight: 900;
}
.app-footer {
    color: rgba(11,41,37,.82);
    font-weight: 800;
}
.footer-credit { color: var(--leaf); font-weight: 900; text-decoration: none; }
.footer-credit:hover { color: #0f6f60; text-decoration: underline; }
.sponsor-strip {
    margin: 0 0 14px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255,253,243,.9);
    border: 1px solid rgba(255,255,255,.42);
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.sponsor-strip-bottom { margin: 18px 0 0; }
.sponsor-strip-label {
    color: var(--leaf);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 2px 8px;
}
.sponsor-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(118px, 150px);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}
.sponsor-card {
    min-width: 0;
    min-height: 72px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(11,41,37,.1);
}
.sponsor-card:not(.sponsor-card-static):hover {
    color: var(--leaf);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(11,41,37,.12), inset 0 0 0 1px rgba(11,41,37,.18);
}
.sponsor-card img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
    background: #fffdf3;
}
.sponsor-card span {
    min-width: 0;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}
.daisy-menu { background: linear-gradient(180deg, #fffdf3 0%, #e6f4dc 100%); }
.menu-link {
    display: flex; gap: 10px; align-items: center; padding: 14px 16px; margin-bottom: 10px;
    border-radius: 18px; color: var(--leaf); background: rgba(255,255,255,.75);
    text-decoration: none; font-weight: 800; box-shadow: 0 10px 28px rgba(11,41,37,.08);
}
.menu-note { color: #567061; }
.hero-card, .soft-card, .book-card, .event-card, .film-card, .feedback-card {
    position: relative;
    border-radius: 30px;
    padding: 22px;
    background: rgba(255,253,247,.94);
    border: 1px solid rgba(11,41,37,.08);
    box-shadow: 0 24px 60px rgba(11,41,37,.16);
    overflow: hidden;
}
.hero-card { min-height: 280px; display: flex; align-items: end; background: linear-gradient(145deg, rgba(255,253,247,.96), rgba(232,247,234,.92)); }
.hero-card::after {
    content: "✿";
    position: absolute; right: -18px; bottom: -45px; font-size: 13rem;
    color: rgba(240,166,190,.28); transform: rotate(-18deg);
}
.hero-glow { position: absolute; inset: auto -20% -30% auto; width: 260px; height: 260px; border-radius: 999px; background: radial-gradient(circle, rgba(245,220,67,.38), transparent 65%); }
.hero-kicker { color: var(--leaf); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
h1, h2, h3, .fw-black { font-weight: 900; }
.hero-card h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.15rem, 11vw, 4.2rem); line-height: .95; color: var(--leaf); max-width: 740px; }
.btn { border-radius: 999px; font-weight: 900; border: 0; }
.btn-instagram { background: linear-gradient(135deg, var(--rose), #d34f86, var(--leaf-2)); color: #fff; }
.btn-coffee { background: linear-gradient(135deg, var(--daisy-yellow), #fff1a5); color: #3e2e00; }
.btn-primary { background: linear-gradient(135deg, var(--leaf), var(--leaf-2)); color: #fff; }
.btn-feedback { background: linear-gradient(135deg, var(--daisy-yellow), #fff7bd); color: var(--leaf); }
.section-title { display: inline-flex; gap: 8px; align-items: center; color: var(--leaf); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .83rem; margin-bottom: 10px; }
.content-area { font-size: 1.05rem; }
.content-area img, .movie-html img, .book-html img { max-width: 100%; height: auto; border-radius: 18px; }
.schedule-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.schedule-pill { background: #fff; border-radius: 18px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(11,41,37,.1); }
.schedule-date { color: var(--leaf); font-weight: 900; display: block; margin-bottom: 10px; }
.schedule-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 8px 0;
    border-top: 1px solid rgba(11,41,37,.08);
}
.schedule-item:first-of-type { border-top: 0; }
.schedule-item i { color: var(--leaf-2); line-height: 1.2; }
.schedule-item small {
    color: #657069;
    display: block;
    font-weight: 900;
    line-height: 1.1;
}
.schedule-item strong {
    display: block;
    color: var(--ink);
    line-height: 1.12;
    overflow-wrap: anywhere;
}
.schedule-pill.disabled { opacity: .55; }
.rating-box {
    border-radius: 24px; padding: 16px; background: linear-gradient(135deg, rgba(245,220,67,.2), rgba(35,166,154,.12), rgba(240,166,190,.14));
    border: 1px solid rgba(11,41,37,.12);
}
.rating-box { margin: 0; border: 0; }
.rating-box legend { float: none; margin-bottom: 8px; font-size: 1rem; font-weight: 900; color: var(--leaf); }
.rating-control {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}
.rating-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.rating-control label {
    cursor: pointer;
    color: rgba(11,41,37,.22);
    font-size: clamp(2.1rem, 12vw, 3.1rem);
    line-height: 1;
    transition: color .16s ease, transform .16s ease;
}
.rating-control label:hover,
.rating-control label:hover ~ label,
.rating-control input:checked ~ label {
    color: var(--daisy-yellow);
    text-shadow: 0 8px 18px rgba(245,220,67,.32);
}
.rating-control label:hover { transform: translateY(-2px); }
.feedback-unit {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(11,41,37,.1);
}
.feedback-unit:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}
.feedback-textarea { border-radius: 20px; }
.petal { position: fixed; z-index: -1; color: rgba(240,166,190,.45); animation: floatPetal 9s ease-in-out infinite alternate; }
.petal-1 { left: 8%; top: 18%; font-size: 2.7rem; }
.petal-2 { right: 12%; top: 42%; font-size: 1.9rem; animation-delay: 1.3s; }
.petal-3 { left: 64%; top: 74%; font-size: 2.3rem; animation-delay: 2.2s; }
.animate-rise { animation: rise .7s ease both; }
.animate-pop { animation: pop .35s ease both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.admin-body { background: #f7f3ec; color: #17221d; }
.admin-nav { background: rgba(255,253,243,.95); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.admin-hero, .admin-card { background: #fff; border-radius: 26px; padding: 22px; box-shadow: 0 18px 42px rgba(11,41,37,.08); }
.stat-card { background: linear-gradient(135deg, #fff, #fff8c9); border-radius: 22px; padding: 18px; box-shadow: 0 12px 28px rgba(11,41,37,.08); }
.stat-card span { display: block; font-size: 2rem; font-weight: 900; color: var(--leaf); }
.stat-card small { font-weight: 900; color: #607062; }
.code-area { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; min-height: 280px; }
.question-admin-box { background: #f9fbf4; border: 1px solid #e5ecd8; border-radius: 22px; padding: 16px; margin-bottom: 14px; }
.feedback-admin-list { display: grid; gap: 12px; }
.feedback-admin-item { background: #f9fbf4; border-radius: 18px; padding: 14px; }
.rating-stars-admin { color: var(--daisy-yellow); letter-spacing: .08em; }
.sponsor-admin-thumb {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 12px;
    background: #fffdf3;
    box-shadow: inset 0 0 0 1px rgba(11,41,37,.12);
}
@media (min-width: 768px) {
    .hero-card, .soft-card, .book-card, .event-card, .film-card, .feedback-card { padding: 34px; }
    .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sponsor-track {
        grid-auto-flow: initial;
        grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
        overflow: visible;
    }
}
@keyframes twinkle { from { opacity: .5; transform: translateY(0); } to { opacity: 1; transform: translateY(-8px); } }
@keyframes floatPetal { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-24px) rotate(16deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* Landing page */
.landing-hero {
    position: relative;
    min-height: auto;
    border-radius: 28px;
    padding: 14px;
    display: grid;
    gap: 16px;
    background: linear-gradient(155deg, rgba(255,253,247,.98), rgba(232,247,234,.94) 52%, rgba(247,216,228,.72));
    border: 1px solid rgba(11,41,37,.08);
    box-shadow: 0 30px 70px rgba(11,41,37,.16);
    overflow: hidden;
}
.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(35,166,154,.12), transparent 34%),
        linear-gradient(135deg, transparent 62%, rgba(245,220,67,.22));
    pointer-events: none;
    z-index: 0;
}
.landing-hero::after {
    content: none;
}
.landing-poster {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    background: rgba(255,253,247,.82);
    box-shadow: 0 18px 44px rgba(11,41,37,.18);
}
.landing-copy {
    position: relative;
    z-index: 3;
    min-width: 0;
    padding: 18px 4px 8px;
}
.landing-copy h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.45rem, 13vw, 4.2rem);
    line-height: .96;
    color: var(--leaf);
    text-shadow: 0 12px 34px rgba(245,220,67,.24);
    overflow-wrap: anywhere;
}
.landing-copy .hero-kicker { color: var(--leaf); }
.landing-copy .lead {
    color: #334239;
    max-width: 48rem;
    font-size: clamp(1rem, 4vw, 1.18rem);
}
.landing-constellation {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(11,41,37,.18) 1.4px, transparent 1.4px),
        radial-gradient(circle, rgba(35,166,154,.2) 1.6px, transparent 1.6px);
    background-size: 54px 54px, 97px 97px;
    opacity: .22;
    animation: twinkle 9s ease-in-out infinite alternate;
    z-index: 2;
}
.landing-info-card, .venue-card, .landing-feedback-card, .home-assets-card {
    position: relative;
    border-radius: 30px;
    padding: 22px;
    background: rgba(255,253,247,.95);
    border: 1px solid rgba(11,41,37,.08);
    box-shadow: 0 24px 60px rgba(11,41,37,.14);
    overflow: hidden;
}
.landing-info-card::after, .venue-card::after, .landing-feedback-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -50px;
    top: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,166,190,.26), transparent 68%);
    pointer-events: none;
}
.patronage-note {
    display: flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(245,220,67,.22);
    color: var(--leaf);
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(11,41,37,.1);
}
.patronage-note i { color: var(--leaf-2); }
.home-assets-grid {
    display: grid;
    gap: 14px;
}
.home-asset {
    margin: 0;
    display: grid;
    place-items: center;
}
.home-asset img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(11,41,37,.14);
}
.home-asset-banner img {
    width: 100%;
}
.schedule-pill.today {
    background: linear-gradient(135deg, #fff6bd, #ffffff);
    box-shadow: 0 16px 34px rgba(245,220,67,.24), inset 0 0 0 2px rgba(245,220,67,.62);
}
.schedule-pill em { display: block; margin-top: 6px; color: var(--leaf); font-weight: 900; font-style: normal; font-size: .8rem; }
.btn-location { background: linear-gradient(135deg, var(--leaf), var(--leaf-2)); color: #fff; }
.landing-bottom-cta {
    position: sticky;
    bottom: 14px;
    z-index: 10;
    display: grid;
    place-items: center;
    gap: 10px;
    margin: 18px auto 8px;
    max-width: 560px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(11,41,37,.82);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 48px rgba(11,41,37,.28);
}
.btn-enter-evening {
    width: min(100%, 360px);
    padding: 14px 24px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--daisy-yellow), #fff4a8);
    color: #3e2e00;
    animation: pulseGlow 1.8s ease-in-out infinite;
}
.not-running-message, .running-message {
    width: 100%;
    text-align: center;
    color: #fffdf3;
    font-weight: 900;
    font-size: .95rem;
}
.running-message { color: #fff6bd; }
.program-time {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(245,220,67,.22);
    color: var(--leaf);
    font-weight: 900;
}
.program-media {
    margin: 8px auto 16px;
    width: min(68vw, 260px);
    max-width: 100%;
}
.program-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(11,41,37,.14);
}
.test-mode-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 18px;
    background: #fff6bd;
    color: var(--leaf);
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(11,41,37,.12);
}
.test-mode-banner a {
    color: var(--leaf);
    text-decoration: underline;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .landing-hero {
        min-height: min(760px, calc(100vh - 128px));
        grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1.18fr);
        align-items: center;
        gap: clamp(24px, 4vw, 54px);
        padding: clamp(24px, 4vw, 44px);
    }
    .landing-poster {
        height: min(680px, calc(100vh - 210px));
        max-height: none;
        justify-self: start;
    }
    .landing-copy {
        align-self: center;
        max-width: 620px;
        padding: clamp(22px, 4vw, 44px);
        border-left: 5px solid rgba(245,220,67,.86);
        background: linear-gradient(135deg, rgba(255,253,247,.9), rgba(255,253,247,.62));
        border-radius: 0 26px 26px 0;
        box-shadow: 0 18px 44px rgba(11,41,37,.1);
    }
    .landing-copy h1 {
        font-size: clamp(3rem, 5vw, 5rem);
        line-height: 1;
    }
    .landing-copy .lead { font-size: clamp(1.05rem, 1.55vw, 1.32rem); }
    .landing-info-card, .venue-card, .landing-feedback-card, .home-assets-card { padding: 34px; }
    .home-assets-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
        align-items: center;
    }
    .home-asset img {
        max-height: min(70vh, 620px);
    }
    .program-media { width: min(28vw, 360px); }
}
@keyframes landingDaisy { from { transform: rotate(-10deg) scale(1); } to { transform: rotate(5deg) scale(1.05); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 rgba(245,220,67,0); transform: translateY(0); } 50% { box-shadow: 0 0 34px rgba(245,220,67,.46); transform: translateY(-2px); } }
