:root {
    --bg: #f5f7f6;
    --surface: #ffffff;
    --text: #15201c;
    --muted: #68756f;
    --line: #dfe6e2;
    --brand: #0c8f63;
    --brand-dark: #08724f;
    --soft: #e6f7f0;
    --danger: #b42318;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tayars-services-page .main {
    max-width: 1180px;
    padding-top: 28px;
}

.tayars-services-page {
    background:
        linear-gradient(180deg, rgba(9, 149, 106, 0.05), transparent 360px),
        var(--bg);
}

body.tayars-services-page .site-header {
    display: none;
}

.tayars-services-public {
    display: grid;
    gap: 22px;
}

.tayars-services-public-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: 28px;
    min-height: 250px;
    padding: 34px;
    border: 1px solid rgba(12, 143, 99, 0.16);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(9, 149, 106, 0.12), rgba(255, 255, 255, 0.96)),
        #fff;
    box-shadow: 0 22px 56px rgba(20, 32, 28, 0.08);
}

.tayars-services-public-hero::before {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    inset-block: 0;
    width: 9px;
    background: var(--brand);
}

.tayars-services-public-hero > * {
    position: relative;
}

.tayars-services-public-hero h1,
.tayars-services-public-section h2,
.tayars-services-public-request h2 {
    margin: 6px 0 0;
    color: var(--text);
}

.tayars-services-public-hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 5.2vw, 66px);
    line-height: 1.08;
}

.tayars-services-public-hero p,
.tayars-services-public-request p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.9;
}

.tayars-services-public-hero-copy {
    display: grid;
    justify-items: start;
}

.tayars-services-public-hero-copy p {
    max-width: 640px;
}

.tayars-services-public-hero-aside {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(12, 143, 99, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 44px rgba(20, 32, 28, 0.07);
}

.tayars-services-public-hero-aside > strong {
    color: var(--text);
    font-size: 1.18rem;
    font-weight: 900;
}

.tayars-services-public-hero-aside > span {
    color: var(--muted);
    line-height: 1.75;
}

.tayars-services-public-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.tayars-services-public-stats span {
    display: inline-grid;
    flex: 1 1 86px;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid rgba(12, 143, 99, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 26px rgba(20, 32, 28, 0.05);
}

.tayars-services-public-stats strong {
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1;
}

.tayars-services-public-stats small {
    margin-top: 5px;
    color: var(--muted);
    font-weight: 800;
}

.tayars-services-public-actions,
.tayars-services-public-card-body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tayars-services-public-actions {
    justify-content: flex-start;
    margin-top: 22px;
}

.tayars-services-public-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(20, 32, 28, 0.055);
    position: sticky;
    top: 16px;
    z-index: 8;
    backdrop-filter: blur(14px);
}

.tayars-services-public-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--brand-dark);
    background: var(--soft);
    font-weight: 900;
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.tayars-services-public-tabs a:hover {
    color: #fff;
    background: var(--brand);
    transform: translateY(-1px);
}

.tayars-services-public-section {
    display: grid;
    gap: 18px;
    scroll-margin-top: 90px;
}

.tayars-services-anchor {
    display: block;
    height: 1px;
    margin-top: -1px;
    scroll-margin-top: 90px;
}

.tayars-services-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tayars-services-public-card {
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 32, 28, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tayars-services-public-card:hover {
    transform: translateY(-2px);
    border-color: rgba(12, 143, 99, 0.24);
    box-shadow: 0 20px 46px rgba(20, 32, 28, 0.1);
}

.tayars-services-public-card.media-card {
    padding: 12px;
}

.tayars-services-public-media {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #08281e;
}

.tayars-services-public-media img,
.tayars-services-public-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tayars-services-public-card-body {
    flex-direction: column;
    align-items: flex-start;
}

.tayars-services-public-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.14rem;
    line-height: 1.4;
}

.tayars-services-public-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.tayars-services-public-card small {
    color: var(--brand);
    font-weight: 800;
}

.tayars-services-public-badge {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(9, 149, 106, 0.1);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
}

.tayars-services-public-request {
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
    padding: 28px;
    align-items: stretch;
    border: 1px solid rgba(12, 143, 99, 0.14);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(9, 149, 106, 0.08), rgba(255, 255, 255, 0.92)),
        #fff;
    box-shadow: 0 20px 52px rgba(20, 32, 28, 0.07);
}

.tayars-services-request-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 28px;
    border-radius: 22px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        #0b2a20;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tayars-services-request-copy .eyebrow,
.tayars-services-request-copy h2,
.tayars-services-request-copy p {
    color: #fff;
}

.tayars-services-request-copy p {
    color: rgba(255, 255, 255, 0.82);
}

.tayars-services-request-points {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.tayars-services-request-points li {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.tayars-services-request-points strong {
    color: #fff;
    font-weight: 900;
}

.tayars-services-request-points span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.tayars-services-public-request form,
.tayars-services-request-form {
    display: grid;
    gap: 16px;
}

.tayars-services-request-form {
    align-self: start;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(20, 32, 28, 0.06);
}

.tayars-services-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tayars-services-public-request label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 800;
}

.tayars-services-public-request label > span {
    padding-inline: 2px;
}

.tayars-services-public-request input,
.tayars-services-public-request select,
.tayars-services-public-request textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    font: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.tayars-services-public-request input,
.tayars-services-public-request select {
    min-height: 54px;
    padding: 0 16px;
}

.tayars-services-public-request textarea {
    min-height: 140px;
    padding: 14px;
    resize: vertical;
}

.tayars-services-public-request input:focus,
.tayars-services-public-request select:focus,
.tayars-services-public-request textarea:focus {
    border-color: rgba(12, 143, 99, 0.52);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(12, 143, 99, 0.1);
}

.tayars-services-request-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 4px;
}

.tayars-services-request-actions small {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .tayars-services-public-hero,
    .tayars-services-public-grid,
    .tayars-services-public-request,
    .tayars-services-request-grid {
        grid-template-columns: 1fr;
    }

    .tayars-services-public-hero {
        padding: 24px;
        min-height: auto;
    }

    .tayars-services-public-hero-aside {
        padding: 18px;
    }

    .tayars-services-public-actions {
        justify-content: stretch;
    }

    .tayars-services-public-actions .button,
    .tayars-services-public-request .button {
        width: 100%;
    }

    .tayars-services-request-copy,
    .tayars-services-request-form {
        padding: 18px;
    }

    .tayars-services-request-actions {
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .tayars-services-page .main {
        padding-top: 14px;
    }

    .tayars-services-public {
        gap: 18px;
    }

    .tayars-services-public-hero,
    .tayars-services-public-request {
        padding: 16px;
        border-radius: 22px;
    }

    .tayars-services-public-hero {
        gap: 16px;
    }

    .tayars-services-public-hero h1 {
        font-size: 36px;
    }

    .tayars-services-public-hero p,
    .tayars-services-public-hero-aside > span {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .tayars-services-public-actions {
        margin-top: 16px;
    }

    .tayars-services-public-hero-aside {
        border-radius: 20px;
    }

    .tayars-services-public-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        top: 10px;
        margin-inline: -4px;
        border-radius: 18px;
    }

    .tayars-services-public-tabs a {
        flex: 0 0 auto;
    }

    .tayars-services-public-stats span {
        flex: 1 1 88px;
        min-width: 0;
        padding: 11px 12px;
    }

    .tayars-services-public-card {
        border-radius: 20px;
        padding: 12px;
    }

    .tayars-services-public-media {
        border-radius: 16px;
    }

    .tayars-services-request-copy {
        min-height: auto;
    }

    .tayars-services-request-form {
        padding: 16px;
    }

    .tayars-services-request-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .tayars-services-request-actions .button {
        width: 100%;
    }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 110px; }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.6; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
video[data-protected-video] { -webkit-user-drag: none; user-select: none; }
.post-video-shell { position: relative; width: 100%; }
.post-video-shell .post-video { display: block; width: 100%; }
.post-video-sound-button,
.post-video-play-button {
    position: absolute;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.58);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
    font-weight: 900;
    cursor: pointer;
}
.post-video-sound-button { inset-inline-end: 12px; inset-block-start: 12px; padding: 8px 13px; }
.post-video-play-button { inset: 50% auto auto 50%; min-width: 132px; transform: translate(-50%, -50%); padding: 10px 16px; }
.post-video-shell:not(.is-paused) .post-video-play-button { display: none; }
.post-video-shell.is-muted .post-video-sound-button { background: rgba(180, 35, 24, .78); }
button, input, textarea, select { font: inherit; }
textarea, select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; resize: vertical; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.main { padding-block: 56px 40px; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(223, 230, 226, .8); background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
.nav { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: grid; width: auto; min-width: 42px; height: 42px; padding-inline: 10px; place-items: center; border-radius: 14px; color: white; background: var(--brand); font-size: 22px; font-weight: 800; line-height: 1; white-space: nowrap; }
.nav-links { display: flex; gap: 24px; font-weight: 600; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav-actions form { margin: 0; }
.nav-profile-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-weight: 900; }
.nav-profile-pill:hover { color: var(--brand); background: var(--soft); }
.nav-profile-avatar { display: grid; width: 30px; height: 30px; place-items: center; overflow: hidden; border-radius: 50%; color: white; background: var(--brand); font-size: 14px; font-weight: 900; }
.nav-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-more-menu { position: relative; z-index: 30; }
.nav-more-menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 15px; border: 1px solid var(--brand); border-radius: 999px; color: #fff; background: var(--brand); cursor: pointer; font-weight: 900; list-style: none; }
.nav-more-menu summary::-webkit-details-marker { display: none; }
.nav-more-menu[open] summary, .nav-more-menu summary:hover { background: var(--brand-dark); }
.nav-more-dropdown { position: absolute; inset-block-start: calc(100% + 12px); inset-inline-end: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(620px, calc(100vw - 24px)); max-height: min(72vh, 640px); overflow-y: auto; padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: 0 24px 70px rgba(21, 32, 28, .18); backdrop-filter: blur(14px); }
.nav-menu-card { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, var(--soft), #fff); }
.nav-menu-card strong, .nav-menu-card small { display: block; overflow-wrap: anywhere; }
.nav-more-dropdown section { display: grid; align-content: start; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fbfdfc; }
.nav-more-dropdown section:nth-of-type(2), .nav-more-dropdown section:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-more-dropdown section:last-child { grid-column: 1 / -1; }
.nav-more-dropdown section h2 { grid-column: 1 / -1; }
.nav-more-dropdown h2 { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.nav-more-dropdown a, .nav-more-dropdown button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 34px; padding: 7px 10px; border: 0; border-radius: 12px; color: var(--text); background: transparent; cursor: pointer; font: inherit; font-weight: 850; text-align: start; }
.nav-more-dropdown a:hover, .nav-more-dropdown button:hover { color: var(--brand); background: var(--soft); }
.site-footer { padding: 20px 0 34px; color: var(--muted); }
.footer-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.footer-links a:hover { color: var(--brand); }
.footer-language-form { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.footer-language-form label { color: var(--muted); font-weight: 800; }
.footer-language-form select { width: auto; min-width: 120px; min-height: 36px; padding: 6px 10px; border-radius: 999px; font-size: 14px; }
.badge { display: inline-grid; min-width: 20px; height: 20px; margin-inline-start: 4px; padding-inline: 5px; place-items: center; border-radius: 999px; color: white; background: var(--danger); font-size: 11px; font-weight: 800; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 20px; border: 1px solid var(--brand); border-radius: 999px; color: white; background: var(--brand); cursor: pointer; font-weight: 700; }
.button:hover { background: var(--brand-dark); }
.button-ghost { color: var(--text); border-color: var(--line); background: white; }
.button-ghost:hover { color: var(--brand); background: var(--soft); }
.button-large { min-height: 52px; padding-inline: 30px; }
.button-small { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.button-full { width: 100%; margin-top: 12px; }
.hero { min-height: min(760px, calc(100dvh - 120px)); display: grid; grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(34px, 5vw, 72px); padding-block: clamp(42px, 7vh, 86px); }
.eyebrow { display: block; margin-bottom: 8px; color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(42px, 5.7vw, 76px); line-height: 1.14; letter-spacing: 0; }
.hero h1 span { color: var(--brand); }
.hero-copy > p { max-width: 560px; margin: 18px 0 24px; color: var(--muted); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { justify-self: start; width: min(520px, 100%); padding: 22px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, var(--soft), #fff); box-shadow: 0 22px 58px rgba(20, 75, 55, .1); transform: rotate(-1.2deg); }
.mock-post { display: flex; gap: 14px; padding: 24px; border-radius: 20px; background: white; }
.mock-post p { font-size: 18px; line-height: 1.8; }
.mock-actions { display: flex; gap: 20px; color: var(--muted); font-size: 14px; }
.hero + .guest-mobile-feed { display: none; }
.guest-mobile-top, .guest-mobile-bottom { display: none; }
.guest-signup-modal[hidden] { display: none; }
.guest-signup-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.guest-signup-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(2px); }
.guest-signup-panel { position: relative; z-index: 1; width: min(430px, 100%); padding: 34px 26px 24px; border-radius: 22px; color: var(--text); background: rgba(255,255,255,.96); box-shadow: 0 26px 80px rgba(0,0,0,.32); text-align: center; }
.guest-signup-panel h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.2; }
.guest-signup-panel p { margin: 0 0 20px; color: var(--muted); line-height: 1.7; }
.guest-signup-close, .guest-signup-help { position: absolute; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 34px; line-height: 1; cursor: pointer; }
.guest-signup-close { inset-inline-end: 18px; inset-block-start: 18px; }
.guest-signup-help { inset-inline-start: 18px; inset-block-start: 18px; border: 1px solid var(--line); color: var(--muted); font-size: 22px; text-decoration: none; }
.guest-signup-google, .guest-signup-email { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; margin-top: 12px; border-radius: 0; font-weight: 900; text-decoration: none; }
.guest-signup-google { color: #fff; background: #ef2453; }
.guest-signup-google span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #4285f4; background: #fff; font-weight: 900; }
.guest-signup-email { border: 1px solid #d9e2dd; color: var(--text); background: rgba(255,255,255,.72); }
.guest-signup-email span { color: var(--muted); font-size: 24px; }
.guest-signup-more { display: inline-grid; width: 44px; height: 44px; margin-top: 12px; place-items: center; color: var(--text); font-size: 30px; text-decoration: none; }
.guest-signup-panel small { display: block; margin-top: 34px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.guest-signup-footer { margin-top: 18px !important; font-weight: 800; }
.guest-signup-footer a { color: #bc2231; }
.avatar { flex: 0 0 auto; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-weight: 800; }
.avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.muted { color: var(--muted); }
.auth-shell { min-height: calc(100vh - 160px); display: grid; place-items: center; }
.compact-auth { min-height: auto; margin-top: 25px; }
.auth-card { width: min(480px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 20px 60px rgba(21, 32, 28, .07); }
.auth-card h1 { margin: 0; font-size: 34px; }
.auth-card label { display: block; margin: 18px 0 6px; font-weight: 700; }
.auth-card input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #fcfdfc; }
.auth-card input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--soft); }
.native-file-input { position: absolute; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.file-picker { display: block; margin-top: 8px !important; padding: 14px; border: 1px dashed var(--brand); border-radius: 14px; color: var(--brand-dark); background: var(--soft); cursor: pointer; text-align: center; }
.file-picker.has-file { border-style: solid; background: #d9f4e9; }
.file-picker span { display: block; font-weight: 800; }
.file-picker small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; }
.media-delete-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.compact-media-tools { margin-top: 18px; }
.media-tool-actions { display: grid; gap: 10px; }
.media-tool-actions form { margin: 0; }
.media-tool-actions .button { width: 100%; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.input-prefix { display: flex; align-items: center; direction: ltr; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; }
.input-prefix span { padding-inline-start: 13px; color: var(--muted); }
.input-prefix input { border: 0; background: transparent; }
.form-footer { margin: 18px 0 0; text-align: center; color: var(--muted); }
.form-footer a { color: var(--brand); font-weight: 700; }
.social-auth-actions { display: grid; gap: 10px; margin: 18px 0; }
.social-auth-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-weight: 800; }
.social-auth-button:hover { border-color: rgba(12, 143, 99, .28); background: var(--soft); color: var(--brand-dark); }
.social-auth-button span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; font-weight: 900; line-height: 1; }
.social-auth-google span { color: #4285f4; background: #eef4ff; }
.social-auth-facebook span { color: white; background: #1877f2; font-family: Arial, sans-serif; font-size: 20px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 10px 0 2px; color: var(--muted); font-size: 13px; font-weight: 800; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.alert { max-width: 620px; margin: 0 auto 22px; padding: 12px 16px; border-radius: 12px; transition: opacity .2s; }
.alert-success { color: var(--brand-dark); background: var(--soft); }
.alert-error { color: var(--danger); background: #feeceb; }
.alert-hidden { opacity: 0; }
.inline-error { margin-top: 10px; padding: 10px 12px; border-radius: 12px; color: var(--danger); background: #feeceb; font-weight: 700; }
.site-announcement { margin: 0 auto 22px; padding: 14px 18px; border: 1px solid #b7e3ce; border-radius: 16px; color: var(--brand-dark); background: var(--soft); text-align: center; font-weight: 700; }
.location-consent { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(760px, 100%); margin: 0 auto 22px; padding: 16px 18px; scroll-margin-top: 110px; }
.location-consent[hidden] { display: none; }
.location-consent strong { display: block; font-size: 17px; }
.location-consent p { margin: 4px 0; color: var(--muted); font-size: 14px; }
.location-consent small { display: block; min-height: 20px; color: var(--brand-dark); font-weight: 700; }
.location-consent small[data-state="error"] { color: var(--danger); }
.location-consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.feed-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px; gap: 20px; align-items: start; scroll-margin-top: 110px; }
.panel { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.main > *, .panel, .section-heading, .admin-shell, .content-column, .auth-shell, .standalone { scroll-margin-top: 110px; }
.side-panel { padding: 20px; }
.timeline { min-height: 620px; overflow: clip; scroll-margin-top: 110px; }
.section-heading { padding: 20px; border-bottom: 1px solid var(--line); }
.section-heading h1 { margin: 0; }
.heading-with-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.heading-with-action form { margin: 0; }
.empty-state { padding: 70px 24px; text-align: center; }
.empty-state p { color: var(--muted); }
.empty-icon { display: grid; width: 64px; height: 64px; margin: auto; place-items: center; border-radius: 20px; color: white; background: var(--brand); font-weight: 800; }
.standalone { min-height: 65vh; display: grid; place-content: center; justify-items: center; }
.content-column { width: min(760px, 100%); margin-inline: auto; }
.post-mobile-bar { display: none; }
.moment-form { display: grid; gap: 14px; padding: 24px; }
.moment-form label { color: var(--text); font-weight: 800; }
.moment-form textarea { min-height: 130px; }
.static-page { width: min(760px, 100%); margin: 12px auto 0; padding: 34px; scroll-margin-top: 110px; }
.static-page h1 { margin-top: 0; font-size: 38px; }
.static-page h2 { margin: 28px 0 8px; color: var(--text); font-size: 22px; }
.static-page h2:first-of-type { margin-top: 26px; }
.static-page p { color: var(--muted); font-size: 17px; }
.child-safety-page { display: grid; gap: 16px; width: min(980px, 100%); margin: 12px auto 0; scroll-margin-top: 110px; }
.child-safety-hero { padding: 34px; }
.child-safety-hero h1 { margin: 0 0 12px; font-size: 40px; }
.child-safety-hero p { max-width: 820px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.child-safety-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.child-safety-card { padding: 24px; }
.child-safety-card h2 { margin: 0 0 10px; color: var(--text); font-size: 22px; }
.child-safety-card p, .child-safety-card li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.child-safety-card ul { margin: 0; padding-inline-start: 22px; }
.child-safety-card a { color: var(--brand); font-weight: 900; }
.child-safety-report { border-color: rgba(15, 148, 104, .24); background: #f7fffb; }
.child-safety-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.auth-policy-note { color: var(--muted); font-size: 14px; line-height: 1.7; text-align: center; }
.auth-policy-note a { color: var(--brand); font-weight: 800; }
.composer { padding: 20px; border-bottom: 1px solid var(--line); }
.composer textarea { display: block; min-height: 100px; border: 0; font-size: 18px; outline: none; }
.composer-tool-row { display: flex; justify-content: flex-end; gap: 14px; margin-top: 14px; padding-block: 6px; overflow-x: auto; scrollbar-width: thin; }
.composer-tool { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; color: #8aa0aa; background: transparent; cursor: pointer; font: inherit; font-size: 0; font-weight: 900; text-decoration: none; white-space: nowrap; }
.composer-tool:hover, .composer-tool.active { color: var(--brand); border-color: transparent; background: var(--soft); }
.composer-tool-icon { display: block; font-size: 26px; line-height: 1; font-weight: 900; }
.composer-tool-panels { display: grid; gap: 10px; margin-top: 10px; }
.composer-tool-panel { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfc; }
.composer-tool-panel[hidden] { display: none; }
.composer-tool-panel strong { color: var(--brand-dark); }
.composer-tool-panel input, .composer-tool-panel select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font: inherit; }
.composer-poll-options { display: grid; gap: 8px; }
.composer-inline-panel label { display: grid; gap: 7px; color: var(--muted); font-weight: 900; }
.reply-composer-heading { padding: 18px 20px 0; color: var(--brand); font-weight: 800; }
.composer-media-preview { display: grid; gap: 10px; margin-top: 12px; }
.composer-media-preview[hidden] { display: none; }
.composer-preview-stage { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f0f4f2; }
.composer-preview-stage img, .composer-preview-stage video { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #0f1f19; }
.composer-preview-stage img[hidden], .composer-preview-stage video[hidden] { display: none; }
.composer-preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.composer-media-name { min-width: 0; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; unicode-bidi: plaintext; }
.composer-helper { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--muted); font-size: 12px; }
.composer-error { visibility: hidden; color: var(--danger); }
.composer-error.visible { visibility: visible; }
.char-counter { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.char-counter.near-limit { color: #a45b00; font-weight: 800; }
.char-counter.over-limit { color: var(--danger); font-weight: 800; }
.composer-footer, .profile-top, .profile-actions, .post-meta, .post-actions, .profile-stats, .report-actions { display: flex; align-items: center; gap: 14px; }
.composer-footer { justify-content: space-between; }
.composer-media-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mobile-media-picker { display: none; }
.upload-label { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; color: #8aa0aa; background: transparent; cursor: pointer; font-size: 0; font-weight: 900; }
.upload-label:hover { color: var(--brand); border-color: transparent; background: var(--soft); }
.upload-label input, .mobile-media-picker input { display: none; }
.composer-record-button { appearance: none; font: inherit; }
.post-card { display: flex; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); background: var(--surface); scroll-margin-top: 110px; cursor: pointer; }
.post-card:hover { background: #fbfdfc; }
.thread-list { display: grid; }
.thread-node { position: relative; }
.thread-children { position: relative; margin-inline-start: 30px; padding-inline-start: 18px; border-inline-start: 2px solid var(--line); }
.thread-children::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: -2px; width: 2px; height: 20px; background: var(--brand); }
.thread-children .post-card { padding-block: 16px; }
.thread-level-4 .thread-children, .thread-level-5 .thread-children, .thread-level-6 .thread-children { margin-inline-start: 16px; padding-inline-start: 12px; }
.anchor-target { scroll-margin-top: 110px; }
.post-body { min-width: 0; flex: 1; }
.post-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; }
.post-author-link { display: grid; min-width: 0; gap: 1px; align-content: center; justify-items: start; text-align: start; }
.post-author-link strong { display: flex; min-width: 0; align-items: center; gap: 4px; font-size: 15px; font-weight: 900; line-height: 1.35; }
.post-username { display: block; justify-self: start; direction: ltr; font-size: 13px; font-weight: 700; text-align: start; unicode-bidi: isolate; }
.guest-mobile-post-time { display: none; }
.post-follow-form { margin: 0; }
.post-follow-button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 7px 18px; border: 1px solid #071610; border-radius: 999px; color: #fff; background: #071610; cursor: pointer; font-weight: 900; text-decoration: none; white-space: nowrap; }
.post-follow-button.is-following { border-color: var(--line); color: var(--text); background: #fff; }
.post-follow-button:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.post-follow-button.is-following:hover { color: var(--danger); background: #fff5f4; border-color: rgba(180, 35, 24, .32); }
.post-more-menu { justify-self: end; }
.post-more-button { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 18px; font-weight: 900; letter-spacing: 2px; line-height: 1; }
.post-more-button:hover { color: var(--brand); background: var(--soft); }
.post-more-dropdown { min-width: 270px; }
.post-meta { justify-content: space-between; flex-wrap: wrap; font-size: 14px; }
.post-content { margin: 10px 0; overflow-wrap: anywhere; font-size: 17px; }
.mention-link, .hashtag-link, .content-link { color: var(--brand); font-weight: 700; }
.post-poll { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfc; }
.post-poll > strong { color: var(--text); }
.post-poll-option-form { margin: 0; }
.post-poll-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 9px 12px; border: 1px solid rgba(61, 143, 96, .22); border-radius: 999px; background: #fff; color: var(--brand-dark); font-weight: 900; }
button.post-poll-option { width: 100%; cursor: pointer; font: inherit; text-align: start; }
button.post-poll-option:hover, .post-poll-option.is-selected { border-color: var(--brand); background: var(--soft); }
.post-poll-option small { color: var(--muted); font-weight: 800; white-space: nowrap; }
.post-image { width: 100%; max-height: 680px; border: 1px solid var(--line); border-radius: 16px; object-fit: contain; background: #f0f4f2; }
.quoted-post-card { display: block; margin: 12px 0 4px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: #fbfdfc; text-decoration: none; }
.quoted-post-card:hover { border-color: rgba(64, 145, 103, .45); background: var(--soft); }
.quoted-post-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--text); font-size: 14px; }
.quoted-post-meta small { color: var(--muted); }
.quoted-post-content { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.quoted-post-card img { display: block; width: 100%; max-height: 320px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; object-fit: contain; background: #f0f4f2; }
.quoted-post-missing { color: var(--muted); }
.quote-preview { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fbfdfc; }
.quote-preview-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.quote-preview img { width: 100%; max-height: 340px; border: 1px solid var(--line); border-radius: 14px; object-fit: contain; background: #f0f4f2; }
.post-actions { margin-top: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; gap: 8px; }
.post-actions form { margin: 0; }
.post-action { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 8px; border: 0; border-radius: 999px; color: inherit; background: transparent; cursor: pointer; font-weight: 700; }
.post-gift-box { position: relative; }
.post-gift-trigger { list-style: none; }
.post-gift-trigger::-webkit-details-marker { display: none; }
.post-gift-trigger::before { content: "🎁"; font-size: 15px; line-height: 1; }
.post-views-action { flex-direction: column; align-items: flex-start; gap: 4px; border-radius: 12px; }
.post-action-time { display: grid; gap: 1px; color: var(--muted); font-size: 12px; line-height: 1.25; white-space: nowrap; }
.post-action-time strong { color: var(--text); font-size: 12px; font-weight: 900; }
.post-action-time small { direction: ltr; font-size: 11px; font-weight: 700; unicode-bidi: isolate; }
.post-action-main { display: inline-flex; align-items: center; gap: 5px; }
a.post-action { text-decoration: none; }
.post-action:hover { color: var(--brand); background: var(--soft); }
.post-actions form.is-loading .post-action { opacity: .55; cursor: wait; }
.post-actions .active, .text-link { color: var(--brand); font-weight: 800; }
.post-actions .danger, .danger { color: var(--danger); }
.post-action.danger:hover { color: #fff; background: var(--danger); }
.post-action-menu { position: relative; }
.post-action-menu summary { list-style: none; }
.post-action-menu summary::-webkit-details-marker { display: none; }
.post-action-dropdown { position: absolute; z-index: 20; inset-block-start: 36px; inset-inline-end: 0; display: grid; min-width: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 45px rgba(21, 32, 28, .14); }
.post-action-menu:not([open]) .post-action-dropdown { display: none; }
.post-action-dropdown form { margin: 0; }
.menu-action { display: flex; width: 100%; align-items: center; gap: 9px; padding: 10px 12px; border: 0; border-radius: 12px; color: var(--text); background: transparent; cursor: pointer; text-align: start; font-weight: 800; }
.menu-action:hover, .menu-action.active { color: var(--brand); background: var(--soft); }
.menu-action.danger { color: var(--danger); }
.menu-action.danger:hover { color: #fff; background: var(--danger); }
.menu-action.is-disabled { opacity: .48; cursor: not-allowed; }
.menu-action.is-disabled:hover { color: var(--text); background: transparent; }
.menu-action small { margin-inline-start: auto; color: var(--muted); font-weight: 800; }
.action-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; }
.action-svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.menu-action .action-svg { width: 18px; height: 18px; }
.quote-icon { display: inline-grid; width: 18px; height: 18px; place-items: center; border: 2px solid currentColor; border-radius: 6px; font-size: 15px; font-weight: 900; line-height: 1; }
.quote-label { font-size: 12px; }
.post-action-count { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.promoted-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; color: #7a5200; background: #fff3cc; font-size: 12px; font-weight: 900; }
.promoted-pill::before { content: "◆"; font-size: 10px; }
.verify-badge { display: inline-grid; width: 18px; height: 18px; margin-inline: 3px; place-items: center; border-radius: 999px; color: white; font-size: 12px; font-weight: 900; line-height: 1; vertical-align: text-bottom; box-shadow: 0 0 0 2px var(--surface); }
.verify-blue { background: #1d9bf0; }
.verify-gold { background: #d69b22; }
.verify-gray { background: #7d8790; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.is-share-open { overflow: hidden; }
.share-dialog[hidden] { display: none; }
.share-dialog { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; }
.share-dialog-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 20, .38); backdrop-filter: blur(3px); }
.share-dialog-panel { position: relative; z-index: 1; display: grid; gap: 12px; width: min(640px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 24px 80px rgba(21, 32, 28, .22); }
.share-dialog-panel h2 { margin: 0; font-size: 30px; text-align: center; }
.share-dialog-panel p { margin: 0; }
.share-dialog-panel [data-share-help] { text-align: center; font-size: 16px; line-height: 1.8; }
.share-dialog-panel textarea[hidden] { display: none; }
.share-dialog-panel textarea { width: 100%; min-height: 138px; resize: vertical; padding: 16px; border: 1px solid #aab3af; border-radius: 22px; background: #fff; color: var(--text); font: inherit; font-size: 18px; line-height: 1.9; }
.share-link-card { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(21, 32, 28, .08); }
.share-link-thumb { display: grid; width: 96px; height: 96px; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 18px; color: white; background: var(--brand); font-size: 26px; font-weight: 900; }
.share-link-thumb img { width: 100%; height: 100%; object-fit: cover; }
.share-link-card strong { display: block; font-size: 18px; line-height: 1.5; }
.share-link-card span:not(.share-link-thumb) { display: block; color: var(--muted); line-height: 1.6; }
.share-link-card small { display: block; margin-top: 2px; color: #59635f; direction: ltr; font-weight: 800; text-align: start; }
.share-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-dialog-actions [data-share-native] { grid-column: 1 / -1; }
.share-dialog-actions .button { justify-content: center; width: 100%; }
.share-dialog-actions [data-share-native] { background: var(--brand); }
.share-dialog-actions [data-share-copy] { color: var(--text); }
.share-dialog-close { position: absolute; top: 14px; inset-inline-start: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer; font-size: 22px; line-height: 1; }
.share-dialog-close:hover { color: var(--danger); border-color: rgba(179, 44, 33, .28); background: #fff5f4; }
.share-dialog-status { min-height: 18px; color: var(--brand); font-weight: 800; }
.share-dialog-note { color: var(--muted); text-align: center; font-weight: 800; }
.share-dialog-note::before { content: ""; }
.suggestion, .user-row { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); }
.suggestion small, .user-row span { display: block; color: var(--muted); }
.profile-header { margin-bottom: 20px; padding: 0; overflow: hidden; }
.profile-cover { overflow: hidden; height: clamp(170px, 26vw, 260px); background: linear-gradient(135deg, #103f33, #18a077 62%, #eef8f4); }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-main { display: flex; align-items: flex-start; gap: 18px; min-width: 0; padding: 0 24px 20px; }
.profile-summary { display: grid; flex: 1; min-width: 0; gap: 14px; padding-top: 18px; }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.profile-actions form { margin: 0; }
.profile-actions .button { min-height: 42px; border-radius: 999px; }
.profile-owner-actions .button { flex: 0 1 auto; }
.profile-follow-button { min-width: 112px; background: #101816; color: white; }
.profile-follow-button:hover { background: #24302c; }
.profile-action-menu { flex: 0 0 auto; }
.profile-menu-button { width: 46px; min-width: 46px; justify-content: center; padding-inline: 0; font-size: 18px; letter-spacing: 1px; }
.profile-action-dropdown { min-width: 260px; text-align: start; }
.profile-action-dropdown .menu-action { gap: 12px; min-height: 46px; white-space: nowrap; }
.profile-action-dropdown .menu-action.danger { color: var(--danger); }
.profile-action-dropdown .menu-action.danger:hover { color: white; background: var(--danger); }
.profile-action-dropdown .menu-action.is-disabled { opacity: .58; cursor: not-allowed; }
.profile-action-dropdown .menu-action.is-disabled:hover { color: var(--text); background: transparent; }
.profile-owner-menu .profile-action-dropdown { min-width: 300px; }
.avatar-large { width: 88px; height: 88px; font-size: 30px; }
.profile-avatar { flex: 0 0 auto; width: 118px; height: 118px; margin-top: -59px; border: 5px solid var(--surface); box-shadow: 0 12px 28px rgba(21, 32, 28, .14); }
.profile-header h1 { margin-bottom: 0; }
.profile-identity { display: grid; min-width: 0; gap: 6px; text-align: start; }
.profile-identity h1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.profile-username { margin: 0; color: var(--muted); direction: ltr; unicode-bidi: plaintext; text-align: start; font-size: 16px; font-weight: 800; }
.profile-bio { max-width: 760px; margin: 8px 0 0; color: var(--text); font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); }
.profile-meta span, .profile-meta a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); font-weight: 700; }
.profile-meta strong { color: var(--text); font-size: 13px; }
.profile-meta a { color: #1087a2; direction: ltr; overflow-wrap: anywhere; }
.profile-meta a:hover { color: var(--brand); }
.profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.profile-stat-strip a, .profile-stat-strip > span { display: grid; gap: 2px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: #fbfdfc; }
.profile-stat-strip strong { font-size: 20px; line-height: 1; }
.profile-stat-strip span span, .profile-stat-strip a span { color: var(--muted); font-size: 13px; font-weight: 800; }
.profile-highlights { display: flex; gap: 18px; margin: 0 24px 6px; padding: 4px 2px 14px; overflow-x: auto; scrollbar-width: thin; }
.profile-highlight { display: grid; justify-items: center; gap: 8px; min-width: 82px; color: var(--text); text-align: center; }
.profile-highlight:hover { color: var(--brand); }
.profile-highlight-ring { display: grid; width: 70px; height: 70px; place-items: center; overflow: hidden; border: 3px solid #d7ddda; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--surface); color: #101816; font-size: 28px; font-weight: 900; }
.profile-highlight-ring img { width: 100%; height: 100%; object-fit: cover; }
.profile-highlight-icon { display: grid; width: 100%; height: 100%; place-items: center; color: white; background: linear-gradient(135deg, var(--brand), #101816); font-size: 24px; }
.profile-highlight strong { max-width: 86px; overflow: hidden; color: inherit; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.profile-highlight.is-new .profile-highlight-ring { border-color: #dfe5e2; color: #101816; background: #fff; }
.profile-tabs { position: sticky; top: 70px; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(max-content, 1fr)); gap: 0; padding: 0 24px; border-top: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); overflow-x: auto; }
.profile-tabs a { position: relative; display: grid; min-height: 54px; place-items: center; padding: 0 14px; color: var(--muted); font-weight: 900; white-space: nowrap; }
.profile-tabs a::after { content: ""; position: absolute; inset-inline: 22%; bottom: 0; height: 3px; border-radius: 999px 999px 0 0; background: transparent; transform: scaleX(.4); transition: transform .18s ease, background .18s ease; }
.profile-tabs a:hover, .profile-tabs a.active { color: var(--text); }
.profile-tabs a:hover::after, .profile-tabs a.active::after { background: var(--brand); transform: scaleX(1); }
.profile-content-stack { display: grid; gap: 16px; }
.profile-content-panel { display: block; scroll-margin-top: 140px; animation: profilePanelIn .22s ease both; }
.profile-content-panel[hidden] { display: none; }
@keyframes profilePanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .profile-content-panel { animation: none; }
    .profile-tabs a::after { transition: none; }
}
.moment-heading { align-items: center; }
.moment-view { display: grid; gap: 18px; padding: 22px; scroll-margin-top: 92px; }
.moment-progress { overflow: hidden; height: 5px; border-radius: 999px; background: var(--line); }
.moment-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.moment-view-head { display: flex; align-items: center; gap: 12px; }
.moment-view-head small { display: block; color: var(--muted); }
.moment-view-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.moment-view-badges span { padding: 5px 10px; border-radius: 999px; color: var(--brand-dark); background: var(--soft); font-size: 13px; font-weight: 800; }
.moment-view-body { position: relative; display: grid; min-height: 360px; place-items: center; overflow: hidden; border-radius: 22px; background: #fbfdfc; }
.moment-view-body.is-text { padding: 40px; color: white; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); text-align: center; font-size: 30px; font-weight: 900; }
.moment-view-body.is-image { padding: 14px; border: 1px solid var(--line); background: #0f1714; }
.moment-view-body img { display: block; max-width: 100%; max-height: 72vh; border-radius: 16px; object-fit: contain; }
.moment-view-body video { display: block; width: 100%; max-height: 72vh; border-radius: 16px; background: #000; }
.moment-view-body p { margin: 0; overflow-wrap: anywhere; }
.moment-view-body.is-image p { margin-top: 12px; color: white; text-align: center; font-size: 18px; }
.moment-archive-message { display: grid; justify-items: center; gap: 12px; max-width: 520px; padding: 34px 24px; color: white; text-align: center; }
.moment-archive-message strong { font-size: 28px; line-height: 1.4; }
.moment-archive-message span { color: rgba(255, 255, 255, .82); font-size: 17px; line-height: 1.9; }
.moment-archive-message .button { margin-top: 4px; background: white; color: var(--brand); }
.moment-watermark { position: absolute; right: 18px; bottom: 18px; z-index: 2; pointer-events: none; opacity: .72; mix-blend-mode: screen; }
.moment-watermark span { display: inline-flex; max-width: min(72vw, 420px); padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 999px; color: rgba(255, 255, 255, .92); background: rgba(0, 0, 0, .28); font-size: 16px; font-weight: 900; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.moment-tap-zones { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.moment-tap-zone { position: absolute; top: 0; bottom: 0; width: 28%; pointer-events: auto; }
.moment-tap-zone.is-previous { right: 0; }
.moment-tap-zone.is-next { left: 0; }
.moment-tap-zone:focus-visible { outline: 3px solid rgba(255, 255, 255, .8); outline-offset: -8px; }
.moment-view-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.moment-view-foot form { margin: 0; }
.profile-stats strong { color: var(--text); }
.profile-stats a:hover { color: var(--brand); }
.verification-nudge { display: grid; gap: 16px; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #f5f7f6; }
.verification-nudge-copy { display: flex; align-items: center; gap: 14px; }
.verification-nudge-copy strong { display: block; font-size: 20px; }
.verification-nudge-copy p { margin: 6px 0 0; color: var(--muted); }
.verification-nudge-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border-radius: 18px; background: var(--surface); }
.verification-nudge-icon .verify-badge { width: 30px; height: 30px; font-size: 18px; box-shadow: none; }
.verification-nudge-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.verification-nudge-actions .button { width: 100%; justify-content: center; }
.current-plan { display: grid; gap: 4px; margin-bottom: 18px; padding: 18px 20px; }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.promotions-grid { margin: 20px 0; }
.plan-card { display: grid; gap: 18px; padding: 22px; }
.plan-card h2 { margin: 10px 0 4px; }
.plan-badge-label, .plan-selected-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 10px; border-radius: 999px; color: var(--brand-dark); background: var(--soft); font-size: 13px; font-weight: 800; }
.plan-selected-badge { margin: 8px 0 14px; }
.plan-selected-badge span { color: var(--muted); font-weight: 700; }
.plan-price strong { color: var(--brand); font-size: 34px; }
.plan-price span, .plan-price small { display: block; color: var(--muted); }
.plan-limit-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-limit-strip span { padding: 7px 10px; border-radius: 999px; color: var(--brand-dark); background: var(--soft); font-size: 13px; font-weight: 800; }
.plan-features { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.plan-features li::before { content: "✓"; margin-inline-end: 6px; color: var(--brand); font-weight: 900; }
.checkout-limits { margin: 4px 0 14px; }
.checkout-features { margin-bottom: 18px; text-align: start; }
.billing-options { display: grid; gap: 10px; margin: 18px 0; }
.billing-options label, .payment-placeholder { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fcfdfc; }
.billing-options label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.payment-placeholder { margin-bottom: 18px; }
.subscription-cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding: 18px 20px; }
.subscription-cart-summary strong, .subscription-cart-summary span { display: block; }
.orders-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.order-stat { padding: 18px; }
.order-stat span { display: block; color: var(--muted); font-weight: 700; }
.order-stat strong { display: block; margin-top: 4px; color: var(--brand); font-size: 28px; line-height: 1.2; }
.order-pending-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 18px 20px; border-color: rgba(138, 90, 0, .22); background: #fffaf0; }
.order-pending-panel strong, .order-pending-panel span { display: block; }
.orders-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.orders-actions-inline { align-items: center; }
.orders-actions-inline form { margin: 0; }
.orders-actions-inline .button { white-space: nowrap; }
.orders-pay-action { white-space: nowrap; }
.order-id-link { color: var(--brand); font-weight: 900; }
.order-reference { display: inline-block; max-width: 180px; overflow-wrap: anywhere; text-align: start; }
.order-row-pending { background: #fffdf7; }
.order-status-completed { color: var(--brand-dark); background: var(--soft); }
.order-status-pending { color: #8a5a00; background: #fff4cf; }
.order-status-failed, .order-status-cancelled { color: var(--danger); background: #feeceb; }
.invoice-card { display: grid; gap: 22px; padding: 28px; }
.invoice-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.invoice-head h2 { margin: 6px 0; font-size: 30px; }
.invoice-number { display: block; color: var(--muted); direction: ltr; font-size: 14px; overflow-wrap: anywhere; }
.invoice-total-box { display: grid; justify-items: end; gap: 6px; min-width: 180px; }
.invoice-total-box strong { color: var(--brand); font-size: 30px; line-height: 1.1; }
.invoice-alert { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--muted); background: #fcfdfc; font-weight: 700; }
.invoice-alert-pending { border-color: #f1d38a; color: #805000; background: #fff8df; }
.invoice-alert-completed { border-color: #b7e3ce; color: var(--brand-dark); background: var(--soft); }
.invoice-alert-failed, .invoice-alert-cancelled { border-color: #f2c7c4; color: var(--danger); background: #fff2f1; }
.invoice-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.invoice-timeline > div { position: relative; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fcfdfc; }
.invoice-timeline span { display: block; width: 12px; height: 12px; border-radius: 999px; background: var(--line); }
.invoice-timeline strong { font-size: 15px; }
.invoice-timeline small { color: var(--muted); overflow-wrap: anywhere; }
.invoice-timeline .is-done { border-color: #b7e3ce; background: var(--soft); }
.invoice-timeline .is-done span { background: var(--brand); }
.invoice-timeline .is-current { border-color: #f1d38a; background: #fff8df; }
.invoice-timeline .is-current span { background: #b77800; }
.invoice-timeline .is-muted { opacity: .72; }
.invoice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.invoice-grid > div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fcfdfc; }
.invoice-grid span, .invoice-grid strong { display: block; overflow-wrap: anywhere; }
.invoice-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.invoice-actions form { margin: 0; }
.invoice-print-button { color: var(--brand-dark); }
.plan-card-actions { display: grid; gap: 8px; }
.plan-card-actions form { margin: 0; }
.subscription-cart-card { width: min(560px, 100%); }
.paypal-continue-card { text-align: center; }
.cart-empty { display: grid; gap: 10px; padding-top: 10px; }
.cart-empty strong { font-size: 22px; }
.cart-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 14px; }
.cart-plan-head h2 { margin: 10px 0 4px; font-size: 32px; }
.cart-plan-head form { margin: 0; }
.cart-back-link { display: inline-flex; margin-top: 14px; }
.wallet-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; padding: 22px; }
.wallet-summary div { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fcfdfc; }
.wallet-summary strong { color: var(--brand); font-size: 30px; line-height: 1; }
.wallet-summary small { color: var(--muted); }
.wallet-credit-form { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(120px, 1.3fr) auto; gap: 8px; align-items: center; min-width: 360px; }
.wallet-credit-form input { margin: 0; }
.referral-note { margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(65,145,102,.22); border-radius: 16px; color: var(--brand-dark); background: var(--soft); font-weight: 700; }
.referral-card { display: grid; gap: 18px; padding: 24px; }
.referral-card h2 { margin: 0; }
.copy-box { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; direction: ltr; }
.copy-box input { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fcfdfc; color: var(--muted); direction: ltr; }
.copy-box .is-copied { background: var(--brand-dark); }
.referral-guide { display: grid; gap: 12px; }
.referral-guide h2 { margin: 0; }
.referral-steps { margin: 0; padding-inline-start: 22px; color: var(--muted); }
.referral-steps li { margin: 7px 0; }
.wide-card { width: min(680px, 100%); }
.spaces-hero { display: grid; gap: 18px; margin-bottom: 18px; }
.spaces-search { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; width: min(560px, 100%); margin-inline: auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: #eef2f1; }
.spaces-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-weight: 800; }
.spaces-search button { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; color: var(--brand-dark); background: #fff; cursor: pointer; font-size: 25px; line-height: 1; }
.spaces-search button:hover { color: white; background: var(--brand); }
.spaces-hero-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.spaces-hero-title h1 { margin: 0; font-size: 42px; line-height: 1.2; }
.spaces-hero-title p, .spaces-section-title p { margin: 8px 0 0; }
.spaces-section-title { margin-bottom: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.spaces-section-title h2 { margin: 0; font-size: 26px; }
.spaces-list { display: grid; gap: 18px; }
.space-card { position: relative; display: flex; justify-content: space-between; gap: 18px; overflow: hidden; padding: 22px; border-radius: 24px; }
.space-card-live { color: white; background: linear-gradient(135deg, #1d4fff, #8f4df2); box-shadow: 0 18px 46px rgba(73, 79, 222, .22); }
.space-card h2 { margin: 14px 0 10px; font-size: 28px; line-height: 1.22; }
.space-card h2 a { color: inherit; }
.space-card p { margin: 0; line-height: 1.7; }
.space-card-live p, .space-card-live small, .space-card-live .space-stats span { color: rgba(255, 255, 255, .86); }
.space-card-main { min-width: 0; flex: 1; padding-inline-start: 20px; }
.space-card-menu { position: absolute; inset-block-start: 18px; inset-inline-start: 20px; color: currentColor; opacity: .72; font-size: 26px; line-height: 1; }
.space-card-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.space-card-live .status-pill { color: white; background: rgba(255, 255, 255, .18); }
.space-live-bars { color: rgba(255, 255, 255, .82); font-size: 15px; letter-spacing: 2px; }
.space-status-ended { color: #5f6965; background: #eef3f0; }
.space-status-cancelled { color: var(--danger); background: #fff0ee; }
.space-status-scheduled { color: #8a6b16; background: #fff6d8; }
.space-heading-actions, .space-card-actions, .space-guest-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.space-card-side { display: grid; min-width: 160px; gap: 14px; align-content: center; justify-items: start; }
.space-host-row { display: flex; align-items: center; gap: 10px; }
.space-host-row a { color: inherit; }
.space-host-row small { display: block; color: var(--muted); font-weight: 800; }
.space-host-row strong { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.space-host-avatar { width: 42px; height: 42px; flex: 0 0 auto; border: 2px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .22); }
.space-stats { display: grid; min-width: 140px; gap: 8px; align-content: center; color: var(--muted); }
.space-stats strong { color: var(--brand); font-size: 24px; }
.space-card-live .space-stats strong { color: white; }
.live-discovery { width: min(1120px, 100%); }
.live-discovery-heading { align-items: center; margin-bottom: 18px; }
.live-discovery-heading h1 { margin: 0; }
.live-discovery-stage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: stretch; }
.live-featured-preview { position: relative; display: block; min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #171d1a; color: #fff; box-shadow: 0 20px 60px rgba(16,24,20,.14); }
.live-featured-canvas { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(170px, 1.02fr) minmax(170px, 1.02fr) minmax(80px, 1fr); min-height: 420px; }
.live-featured-side { background: radial-gradient(circle at 50% 35%, rgba(22,163,111,.18), transparent 34%), linear-gradient(135deg, #1d1612, #28251e); }
.live-featured-camera { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; min-width: 0; overflow: hidden; border-inline: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle at 50% 36%, rgba(255,255,255,.18), transparent 31%), linear-gradient(155deg, #164f42 0%, #10241f 58%, #060908 100%); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); font-weight: 900; }
.live-featured-camera::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.42), transparent 62%); }
.live-featured-camera-alt { background: radial-gradient(circle at 50% 36%, rgba(255,255,255,.2), transparent 30%), linear-gradient(145deg, #1db487 0%, #14624e 48%, #0d1916 100%); }
.live-featured-camera > span:not(.live-motion-preview) { position: relative; z-index: 2; max-width: 82%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-motion-preview { position: relative; z-index: 1; display: block; width: min(86%, 360px); overflow: hidden; border-radius: 20px; background: #06110e; box-shadow: 0 22px 60px rgba(0,0,0,.28); aspect-ratio: 9 / 16; }
.live-motion-preview-large { width: min(92%, 300px); max-height: 330px; }
.live-motion-feed { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #07110f, #12372f 48%, #07120f); }
.live-motion-feed video { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; object-fit: cover; background: #050807; }
.live-motion-layer { position: absolute; inset: -20%; opacity: .76; filter: blur(8px); transform: translate3d(0,0,0); }
.live-motion-layer-one { background: radial-gradient(circle at 36% 26%, rgba(255,255,255,.28), transparent 19%), radial-gradient(circle at 60% 64%, rgba(24,188,137,.42), transparent 28%), linear-gradient(135deg, rgba(17,126,95,.52), rgba(7,15,13,.2)); animation: livePreviewDrift 7s ease-in-out infinite alternate; }
.live-motion-layer-two { background: linear-gradient(100deg, transparent 0 18%, rgba(255,255,255,.12) 22%, transparent 29% 100%); animation: livePreviewSweep 3.4s linear infinite; }
.live-motion-bars { position: relative; z-index: 2; display: flex; align-items: end; gap: 7px; height: 64px; padding: 10px 14px; border-radius: 999px; background: rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.live-motion-bars i { display: block; width: 8px; min-height: 18px; border-radius: 999px; background: rgba(255,255,255,.86); animation: livePreviewBars 1s ease-in-out infinite alternate; }
.live-motion-bars i:nth-child(2) { animation-delay: .14s; }
.live-motion-bars i:nth-child(3) { animation-delay: .28s; }
.live-motion-bars i:nth-child(4) { animation-delay: .42s; }
.live-motion-status { position: absolute; inset-inline: 12px; inset-block-end: 12px; z-index: 5; overflow: hidden; padding: 7px 10px; border-radius: 999px; color: rgba(255,255,255,.92); background: rgba(0,0,0,.42); font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(10px); }
.live-motion-preview.has-live-video .live-motion-layer, .live-motion-preview.has-live-video .live-motion-bars { display: none; }
.live-motion-preview.has-live-video .live-motion-status { background: rgba(255,43,101,.9); }
.live-card-live-preview { width: 100%; height: 100%; min-height: 180px; border-radius: 14px; aspect-ratio: auto; box-shadow: none; }
.live-card-live-preview .live-motion-status { inset-inline: 10px auto; inset-block: auto 10px; max-width: calc(100% - 20px); }
@keyframes livePreviewDrift {
    from { transform: translate3d(-5%, -2%, 0) scale(1); }
    to { transform: translate3d(6%, 4%, 0) scale(1.08); }
}
@keyframes livePreviewSweep {
    from { transform: translateX(-28%); }
    to { transform: translateX(28%); }
}
@keyframes livePreviewBars {
    from { height: 18px; opacity: .62; }
    to { height: 58px; opacity: 1; }
}
.live-featured-overlay { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,.42); backdrop-filter: blur(12px); font-weight: 900; }
.live-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 8px; color: #fff; background: #ff2b65; font-size: 13px; letter-spacing: .4px; }
.live-featured-caption { position: absolute; inset-inline: 18px; inset-block-end: 18px; display: grid; gap: 5px; max-width: min(520px, calc(100% - 36px)); padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.16)); backdrop-filter: blur(10px); }
.live-featured-caption strong { overflow: hidden; font-size: 22px; text-overflow: ellipsis; white-space: nowrap; }
.live-featured-caption small { overflow: hidden; color: rgba(255,255,255,.78); text-overflow: ellipsis; white-space: nowrap; }
.live-discovery-sidebar { display: grid; align-content: start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.live-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 4px 10px; }
.live-sidebar-head strong { font-size: 18px; }
.live-sidebar-head a { color: var(--brand); font-weight: 900; }
.live-sidebar-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 14px; color: var(--text); }
.live-sidebar-row:hover { background: #f7fbf9; }
.live-discovery-avatar { display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #101816); color: #fff; font-weight: 900; }
.live-discovery-avatar { width: 46px; height: 46px; border: 2px solid #ff2b65; }
.live-discovery-avatar img { width: 100%; height: 100%; object-fit: cover; }
.live-sidebar-row strong, .live-sidebar-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-sidebar-row small { color: var(--muted); }
.live-sidebar-row em { color: var(--muted); font-style: normal; font-weight: 900; }
.live-discovery-section { display: grid; gap: 14px; margin-top: 28px; }
.live-discovery-subhead { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.live-discovery-subhead h2 { margin: 0; font-size: 24px; }
.live-discovery-subhead span { color: var(--muted); font-weight: 900; }
.live-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.live-preview-card { display: grid; gap: 10px; min-width: 0; color: var(--text); }
.live-preview-art { position: relative; display: grid; min-height: 180px; place-items: center; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, #15392f, #0f1714 52%, #2a342f); }
.live-preview-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.18), transparent 28%), linear-gradient(to top, rgba(0,0,0,.28), transparent 62%); }
.live-preview-badge { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 1; display: inline-flex; align-items: center; overflow: hidden; border-radius: 9px; color: #fff; background: rgba(0,0,0,.52); font-weight: 900; }
.live-preview-badge b { padding: 5px 8px; }
.live-preview-badge em { padding: 5px 8px; background: #ff2b65; font-style: normal; }
.live-preview-copy { display: grid; gap: 2px; min-width: 0; padding-inline: 2px; }
.live-preview-copy strong, .live-preview-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-preview-copy small { color: var(--muted); font-weight: 800; }
.space-guest-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 18px 0; padding: 20px; background: linear-gradient(135deg, var(--soft), #fff); }
.space-guest-card strong { font-size: 18px; }
.space-guest-card p { margin: 6px 0 0; }
.space-room-guest { width: 100%; margin: 0; box-shadow: none; }
.space-room { overflow: hidden; }
.space-room-head { padding: 28px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--soft), #fff); }
.space-room-head h1 { margin: 10px 0; font-size: 42px; }
.space-controls { display: flex; gap: 10px; padding: 18px 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.space-controls form { margin: 0; }
.space-live-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); background: #fff; }
.space-live-summary-label { display: block; color: var(--muted); font-size: 13px; font-weight: 800; }
.space-live-summary strong { color: var(--brand-dark); }
.space-live-summary small { display: block; margin-top: 4px; color: var(--muted); font-weight: 700; }
.space-live-summary-counts { display: flex; gap: 10px; flex-wrap: wrap; }
.space-live-summary-counts span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--soft); color: var(--brand-dark); font-weight: 900; white-space: nowrap; }
.space-live-summary-counts strong { color: var(--brand); font-size: 20px; line-height: 1; }
.livekit-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); background: #fbfdfc; }
.livekit-panel strong { display: block; font-size: 18px; }
.livekit-panel p { margin: 5px 0; }
.livekit-status { display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px; color: var(--muted); background: #eef3f0; font-weight: 800; }
.livekit-status.is-connected { color: var(--brand-dark); background: var(--soft); }
.livekit-error { display: block; margin-top: 8px; color: var(--danger); font-weight: 800; }
.space-muted-note { display: block; width: fit-content; margin-top: 8px; padding: 5px 10px; border-radius: 999px; color: #8a6b16; background: #fff6d8; font-weight: 800; }
.livekit-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.livekit-panel audio[data-livekit-remote-audio] { display: none; }
.space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 28px; }
.space-people { display: grid; gap: 12px; }
.space-empty-inline { margin: 0; padding: 12px; }
.space-person { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fcfdfc; }
.space-person small { display: block; color: var(--muted); }
.space-requests { padding: 24px 28px; border-top: 1px solid var(--line); }
.space-request-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.join-agency-page { background: #050505; }
.join-agency-page .site-header { border-color: rgba(255,255,255,.08); background: rgba(5,5,5,.92); backdrop-filter: blur(16px); }
.join-agency-page .main { width: 100%; padding: 0; }
.join-agency-page .site-footer { border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.62); background: #050505; }
.join-agency-shell { min-height: calc(100dvh - 90px); padding: clamp(28px, 5vw, 72px) 16px; color: #fff; background: radial-gradient(circle at 76% 18%, rgba(218,165,32,.2), transparent 30%), radial-gradient(circle at 18% 72%, rgba(255,255,255,.08), transparent 28%), #050505; }
.join-agency-card { width: min(1120px, 100%); margin: 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.join-agency-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(24px, 5vw, 58px); align-items: center; min-height: 620px; padding: clamp(28px, 6vw, 70px); }
.join-agency-copy { display: grid; gap: 20px; min-width: 0; }
.join-agency-brand { display: inline-flex; align-items: center; gap: 14px; width: fit-content; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.07); }
.join-agency-logo { display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; border: 2px solid rgba(212,175,55,.72); border-radius: 50%; color: #111; background: linear-gradient(135deg, #fff7d1, #d4af37); font-weight: 950; }
.join-agency-logo img { width: 100%; height: 100%; object-fit: cover; }
.join-agency-brand small, .join-agency-brand strong { display: block; }
.join-agency-brand small { color: rgba(255,255,255,.62); font-weight: 800; }
.join-agency-brand strong { color: #fff; font-size: 18px; }
.join-agency-mark { display: inline-flex; width: fit-content; padding: 7px 11px; border-radius: 999px; color: #d4af37; background: rgba(212,175,55,.12); font-weight: 950; letter-spacing: .2px; }
.join-agency-copy h1, .join-agency-unavailable h1 { margin: 0; color: #fff; font-size: clamp(34px, 5vw, 64px); line-height: 1.12; }
.join-agency-copy p { max-width: 720px; margin: 0; color: rgba(255,255,255,.74); font-size: 20px; line-height: 1.85; }
.join-agency-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.join-agency-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 28px; border: 0; border-radius: 999px; color: #111; background: linear-gradient(135deg, #fff2b8, #d4af37 55%, #a47d16); box-shadow: 0 18px 42px rgba(212,175,55,.22); font-size: 17px; font-weight: 950; cursor: pointer; }
.join-agency-button:hover { transform: translateY(-1px); filter: brightness(1.03); }
.join-agency-button.is-disabled { color: rgba(255,255,255,.58); background: rgba(255,255,255,.12); box-shadow: none; cursor: not-allowed; }
.join-agency-closed { color: #f8d36c; font-weight: 900; }
.join-agency-panel { display: grid; gap: 18px; min-width: 0; }
.join-agency-live-card { position: relative; display: grid; gap: 12px; min-height: 340px; align-content: end; overflow: hidden; padding: 24px; border: 1px solid rgba(212,175,55,.24); border-radius: 24px; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.18), transparent 25%), linear-gradient(145deg, #151515, #080808); }
.join-agency-live-card::before { content: ""; position: absolute; inset: -18%; background: linear-gradient(110deg, transparent 0 28%, rgba(212,175,55,.18) 38%, transparent 48% 100%); animation: livePreviewSweep 4.2s linear infinite; }
.join-agency-live-card span, .join-agency-live-card strong, .join-agency-live-card small { position: relative; z-index: 1; }
.join-agency-live-card span { width: fit-content; padding: 6px 9px; border-radius: 8px; color: white; background: #ff2b65; font-weight: 950; }
.join-agency-live-card strong { color: white; font-size: 30px; line-height: 1.25; }
.join-agency-live-card small { color: rgba(255,255,255,.68); font-weight: 800; }
.join-agency-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.join-agency-benefits span { padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; color: #fff; background: rgba(255,255,255,.07); font-weight: 900; }
.join-agency-unavailable { display: grid; min-height: 460px; place-items: center; align-content: center; gap: 18px; padding: 40px; text-align: center; }
.join-redirect-card { display: grid; width: min(620px, 100%); gap: 18px; margin: 0 auto; padding: clamp(28px, 6vw, 54px); text-align: center; }
.join-redirect-card .join-agency-mark { margin: 0 auto; }
.join-redirect-card h1 { margin: 0; color: #fff; font-size: clamp(30px, 5vw, 48px); line-height: 1.18; }
.join-redirect-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.8; }
.join-agency-text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; color: rgba(255,255,255,.74); font-weight: 900; text-decoration: underline; text-underline-offset: 5px; }
.join-admin-logo-preview { display: flex; align-items: center; gap: 12px; margin: 8px 24px 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfc; }
.join-admin-logo-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 16px; }
.join-admin-logo-preview span { overflow: hidden; color: var(--muted); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.join-admin-stats { display: grid; gap: 6px; margin-bottom: 16px; padding: 22px 24px; background: linear-gradient(135deg, #111 0%, #2a2412 100%); color: #fff; }
.join-admin-stats span { color: rgba(255,255,255,.72); font-weight: 900; }
.join-admin-stats strong { color: #f5d56f; font-size: 42px; line-height: 1; }
.join-admin-stats small { color: rgba(255,255,255,.62); font-weight: 800; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
.media-item { position: relative; overflow: hidden; min-height: 190px; border-radius: 16px; background: #eef4f1; }
.media-item img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; transition: transform .2s; }
.media-item span { position: absolute; inset-inline: 0; bottom: 0; padding: 28px 12px 10px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: 13px; }
.media-item:hover img { transform: scale(1.04); }
.media-grid .empty-state { grid-column: 1 / -1; }
.search-form { display: flex; gap: 10px; margin-bottom: 20px; padding: 16px; }
.search-form input { min-width: 0; flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: 999px; }
.search-tabs { display: flex; gap: 8px; margin-bottom: 20px; padding: 10px; }
.search-tabs a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.search-tabs a.active { color: white; background: var(--brand); }
.space-filter-tabs { margin: 0 0 16px; }
.space-filter-tabs a { white-space: nowrap; }
.result-section { margin-bottom: 20px; }
.user-row, .empty-inline { padding: 16px 20px; }
.rich-user-row { display: flex; align-items: center; gap: 12px; }
.rich-user-row small { display: block; }
.admin-shell { width: min(1180px, 100%); margin: -28px auto 0; }
.admin-shell .section-heading { margin-bottom: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.admin-shell .section-heading h1 { font-size: 34px; line-height: 1.25; }
.admin-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding: 28px; }
.admin-hero h1 { margin: 0; font-size: 38px; line-height: 1.2; }
.admin-hero p { max-width: 680px; margin: 8px 0 0; }
.admin-dashboard-hero { background: linear-gradient(135deg, #ffffff 0%, #eef8f3 100%); }
.admin-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.admin-control-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; padding: 12px; }
.admin-control-strip a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border-radius: 14px; color: var(--brand-dark); background: #f7fbf9; font-weight: 900; text-align: center; }
.admin-control-strip a:hover { color: white; background: var(--brand); }
.admin-priority-strip a { align-items: flex-start; flex-direction: column; justify-content: center; text-align: start; }
.admin-priority-strip a small { color: var(--muted); font-size: 12px; font-weight: 900; }
.admin-priority-strip a strong { color: inherit; font-size: 15px; line-height: 1.35; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.admin-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: block; padding: 22px; text-align: start; transition: border-color .18s, box-shadow .18s, transform .18s; }
a.stat:hover { border-color: rgba(12, 143, 99, .32); box-shadow: 0 16px 36px rgba(21, 32, 28, .08); transform: translateY(-2px); }
.stat strong { display: block; color: var(--brand); font-size: 34px; line-height: 1.2; overflow-wrap: anywhere; }
.stat span { display: block; margin-top: 8px; color: var(--text); font-weight: 900; }
.admin-stat-card { position: relative; overflow: hidden; min-height: 160px; }
.admin-stat-card::after { content: ""; position: absolute; inset-block-start: 18px; inset-inline-end: 18px; width: 44px; height: 44px; border-radius: 14px; background: var(--soft); opacity: .9; }
.admin-stat-card small { color: var(--muted); font-weight: 900; }
.admin-stat-card em { display: block; margin-top: 10px; color: var(--muted); font-style: normal; font-weight: 800; line-height: 1.6; }
.admin-stat-card.needs-attention { border-color: rgba(185, 28, 28, .25); background: #fffafa; }
.admin-stat-card.needs-attention strong { color: var(--danger); }
.admin-tool { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 20px; }
.admin-tool strong { font-size: 20px; }
.admin-tool p { margin: 2px 0 0; }
.admin-nav { position: sticky; top: 86px; z-index: 8; display: flex; gap: 8px; margin-bottom: 18px; padding: 10px; flex-wrap: wrap; box-shadow: 0 12px 30px rgba(21, 32, 28, .05); }
.admin-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 12px; border: 1px solid transparent; border-radius: 999px; color: var(--brand-dark); background: #f4fbf8; font-weight: 800; }
.admin-nav a:hover, .admin-nav a.is-active { border-color: rgba(12, 143, 99, .22); background: var(--soft); }
.admin-nav-compact { justify-content: center; }
.admin-nav-compact a { min-width: 150px; justify-content: center; }
.chat-database-panel { display: grid; gap: 18px; margin-bottom: 18px; padding: 24px; }
.chat-database-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.chat-database-heading h2 { margin: 2px 0 0; }
.chat-database-eyebrow { color: var(--brand); font-size: 13px; font-weight: 900; }
.chat-database-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.chat-database-badge.is-ready { color: #166534; background: #dcfce7; }
.chat-database-badge.is-warning { color: #854d0e; background: #fef3c7; }
.chat-database-badge.is-error { color: #991b1b; background: #fee2e2; }
.chat-database-message { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.chat-database-message.is-error { border-color: #fecaca; color: #7f1d1d; background: #fff7f7; }
.chat-database-message strong { display: block; margin-bottom: 4px; }
.chat-database-message p, .chat-database-note { margin: 0; overflow-wrap: anywhere; }
.chat-database-message code { direction: ltr; unicode-bidi: embed; }
.chat-database-note { color: var(--muted); font-size: 14px; }
.admin-settings-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding: 26px; background: linear-gradient(135deg, #ffffff 0%, #f3fbf7 100%); }
.admin-settings-hero h1 { margin: 4px 0 6px; font-size: 38px; line-height: 1.2; }
.admin-settings-hero p { max-width: 680px; margin: 0; }
.admin-settings-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 260px; }
.admin-settings-status span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.admin-settings-status .is-ready { color: #166534; background: #dcfce7; }
.admin-settings-status .is-missing { color: #991b1b; background: #fee2e2; }
.admin-settings-status .is-neutral { color: #36534a; background: #eef5f1; }
.whatsapp-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.whatsapp-stat-card { display: grid; align-content: center; min-height: 118px; padding: 20px; text-align: center; box-shadow: 0 12px 28px rgba(21, 32, 28, .04); }
.whatsapp-stat-card strong { display: block; color: var(--brand); font-size: 38px; line-height: 1; direction: ltr; }
.whatsapp-stat-card span { display: block; margin-top: 10px; color: var(--muted); font-weight: 900; }
.whatsapp-stat-card.has-error strong { color: var(--danger); }
.whatsapp-test-result { margin-bottom: 18px; padding: 18px 22px; }
.whatsapp-test-result strong { display: block; margin-bottom: 8px; font-size: 20px; }
.whatsapp-test-result p { margin: 6px 0 0; line-height: 1.7; }
.whatsapp-test-result.is-success { border-color: rgba(12, 143, 99, .22); color: var(--brand-dark); background: #f2fbf7; }
.whatsapp-test-result.is-error { border-color: rgba(185, 28, 28, .22); color: #991b1b; background: #fff7f7; }
.whatsapp-delivery-note { margin-bottom: 18px; padding: 18px 22px; }
.whatsapp-delivery-note strong { display: block; margin-bottom: 8px; font-size: 19px; }
.whatsapp-delivery-note p { margin: 0; color: var(--muted); line-height: 1.8; }
.whatsapp-delivery-note.is-success { border-color: rgba(12, 143, 99, .22); background: #f2fbf7; }
.whatsapp-delivery-note.is-warning { border-color: rgba(217, 119, 6, .24); background: #fffaf0; }
.admin-settings-jump { position: sticky; top: 154px; z-index: 7; display: flex; gap: 8px; margin-bottom: 18px; padding: 10px; overflow-x: auto; box-shadow: 0 12px 30px rgba(21, 32, 28, .05); scrollbar-width: thin; }
.admin-settings-jump a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border-radius: 999px; color: var(--muted); background: #f8fbfa; font-weight: 900; text-decoration: none; white-space: nowrap; }
.admin-settings-jump a:hover, .admin-settings-jump a.is-active { color: white; background: var(--brand); }
.settings-anchor { scroll-margin-top: 220px; }
.settings-modules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.settings-module-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 22px; scroll-margin-top: 220px; }
.settings-module-card h2 { margin: 4px 0 6px; font-size: 24px; line-height: 1.25; }
.settings-module-card p { margin: 0; line-height: 1.8; }
.settings-module-meta { display: grid; gap: 4px; justify-items: end; color: var(--muted); font-weight: 900; }
.settings-module-meta span { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border-radius: 999px; color: var(--brand); background: #edf8f3; }
.settings-module-card .button { grid-column: 1 / -1; justify-content: center; }
.settings-module-edit-form { padding-bottom: 0; }
.settings-module-edit-form > h2:first-of-type { border-top: 0; }
.settings-module-nav { position: static; top: auto; }
.settings-file-upload-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); align-items: center; gap: 16px; margin: 18px 24px 8px; padding: 18px; border: 1px solid rgba(16, 137, 93, .22); border-radius: 18px; background: #f3fbf7; }
.settings-file-upload-copy strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 18px; }
.settings-file-upload-copy p { margin: 0; line-height: 1.8; }
.settings-file-upload-control { display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 14px; border: 1px dashed rgba(16, 137, 93, .46); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.settings-file-upload-control:hover { border-color: var(--brand); box-shadow: 0 12px 28px rgba(16, 137, 93, .10); transform: translateY(-1px); }
.settings-file-upload-badge { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 46px; border-radius: 14px; color: #fff; background: var(--brand); font-size: 14px; font-weight: 1000; letter-spacing: .04em; direction: ltr; }
.settings-file-upload-text { display: grid; gap: 3px; min-width: 0; }
.settings-file-upload-text strong { display: block; margin: 0; color: var(--text); font-size: 16px; }
.settings-file-upload-text small { display: block; color: var(--muted); font-size: 13px; font-weight: 900; overflow-wrap: anywhere; }
.settings-file-upload-native { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.settings-module-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.settings-module-form-actions .button { min-width: 140px; }
.admin-section-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.admin-section-card { display: grid; align-content: start; gap: 8px; padding: 20px; }
.admin-section-card h2 { margin: 0 0 8px; font-size: 20px; }
.admin-dashboard-section { position: relative; padding-top: 54px; }
.admin-dashboard-section p { margin: -4px 0 8px; line-height: 1.7; }
.admin-section-icon { position: absolute; inset-block-start: 18px; inset-inline-start: 20px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 28px; border-radius: 999px; color: var(--brand-dark); background: var(--soft); font-size: 12px; font-weight: 900; direction: ltr; }
.admin-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-section-card a { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 8px 10px; border-radius: 12px; color: var(--brand-dark); background: #f7fbf9; font-weight: 800; }
.admin-category-grid .admin-section-card a { align-items: flex-start; flex-direction: column; justify-content: center; min-height: 62px; gap: 3px; padding: 10px 12px; position: relative; }
.admin-category-grid .admin-section-card a span { display: block; font-size: 15px; font-weight: 950; }
.admin-category-grid .admin-section-card a small { display: block; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.45; }
.admin-section-card a::after { content: "‹"; color: var(--muted); font-size: 18px; line-height: 1; }
.admin-category-grid .admin-section-card a::after { position: absolute; inset-block-start: 18px; inset-inline-end: 12px; }
.admin-section-card a:hover { color: var(--brand); background: var(--soft); }
.tayars-services-admin { display: grid; gap: 18px; }
.tayars-services-admin .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; color: #fff; background: var(--brand); font-weight: 950; cursor: pointer; }
.tayars-services-admin .button-ghost { color: var(--brand-dark); background: #f7fbf9; border: 1px solid var(--line); }
.tayars-services-admin .button.danger, .tayars-services-admin .danger { color: #b91c1c; background: #fff1f2; border: 1px solid rgba(185, 28, 28, .14); }
.tayars-services-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tayars-services-stats { margin: 0; }
.tayars-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tayars-services-grid .admin-section-card { position: relative; padding-top: 54px; color: var(--text); }
.tayars-services-add-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tayars-services-add-grid .admin-section-card { min-height: 210px; }
.tayars-services-add-note { padding: 18px; background: #f3fbf7; }
.tayars-services-add-note p { margin: 6px 0 0; line-height: 1.8; }
.tayars-services-quick-add { display: grid; gap: 16px; padding: 20px; background: linear-gradient(135deg, #f1fbf7, #fff); }
.tayars-services-quick-add-head { display: grid; gap: 6px; }
.tayars-services-quick-add-head h2 { margin: 0; font-size: 24px; }
.tayars-services-quick-add-head p { margin: 0; line-height: 1.8; }
.tayars-services-quick-add-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tayars-services-quick-add-grid a { display: grid; gap: 6px; min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.78); color: var(--text); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tayars-services-quick-add-grid a:hover { transform: translateY(-2px); border-color: rgba(15, 148, 104, .32); box-shadow: 0 16px 30px rgba(10, 35, 28, .08); }
.tayars-services-quick-add-grid strong { color: var(--brand-dark); font-size: 18px; font-weight: 950; }
.tayars-services-quick-add-grid span { color: var(--muted); line-height: 1.6; }
.tayars-services-settings-note { padding: 16px; border-color: rgba(217, 119, 6, .22); background: #fffaf0; }
.tayars-services-settings-note p { margin: 5px 0 0; color: var(--muted); line-height: 1.8; }
.tayars-services-table-wrap { padding: 0; }
.tayars-services-table { width: 100%; border-collapse: collapse; }
.tayars-services-table th, .tayars-services-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: start; }
.tayars-services-table th { color: var(--muted); background: #f8fbfa; font-size: 14px; font-weight: 950; }
.tayars-services-table td strong, .tayars-services-table td small { display: block; }
.tayars-services-table td p { max-width: 480px; margin: 8px 0 0; line-height: 1.7; }
.tayars-services-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tayars-services-actions form { margin: 0; }
.tayars-service-media { display: grid; gap: 7px; min-width: 120px; }
.tayars-service-media img, .tayars-service-media .media-placeholder { width: 96px; aspect-ratio: 16 / 10; border-radius: 12px; object-fit: cover; background: #09261d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 950; }
.tayars-service-status { display: inline-flex; align-items: center; min-height: 30px; margin: 2px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 950; }
.tayars-service-status.is-live { color: #166534; background: #dcfce7; }
.tayars-service-status.is-hidden { color: #991b1b; background: #fee2e2; }
.tayars-service-status.is-featured { color: #8a5a00; background: #fff7d6; }
.tayars-services-form { display: grid; gap: 18px; padding: 22px; }
.tayars-services-form label { display: grid; gap: 8px; color: var(--text); font-weight: 950; }
.tayars-services-form input[type="text"], .tayars-services-form input[type="email"], .tayars-services-form input[type="url"], .tayars-services-form input[type="number"], .tayars-services-form input[type="password"], .tayars-services-form select, .tayars-services-form textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fcfdfc; color: var(--text); font: inherit; font-weight: 800; }
.tayars-services-form textarea { line-height: 1.8; resize: vertical; }
.tayars-services-form h2 { margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 22px; }
.tayars-services-form .form-grid { display: grid; gap: 14px; }
.tayars-services-form .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tayars-services-form .form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tayars-services-form .switch-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tayars-services-form .switch-row label { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #f8fbfa; }
.tayars-services-form .form-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.tayars-services-upload-box, .tayars-services-storage-note { padding: 18px; background: #f3fbf7; }
.tayars-services-upload-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 420px); gap: 16px; align-items: center; }
.tayars-services-upload-box p, .tayars-services-storage-note p { margin: 4px 0 0; line-height: 1.8; }
.tayars-services-storage-status { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tayars-services-storage-status strong { color: var(--brand-dark); font-size: 18px; font-weight: 950; }
.tayars-services-storage-status span, .tayars-services-storage-status small { color: var(--muted); font-weight: 850; line-height: 1.7; }
.tayars-services-storage-status.is-ready { border-color: rgba(15, 148, 104, .28); background: #f0fbf6; }
.tayars-services-storage-status.is-missing { border-color: rgba(201, 74, 74, .24); background: #fff7f5; }
.tayars-services-storage-status.is-missing strong { color: #a63d3d; }
.tayars-services-file-picker { align-content: center; min-height: 74px; padding: 14px; border: 1px dashed rgba(15, 148, 104, .35); border-radius: 16px; background: rgba(255,255,255,.72); cursor: pointer; }
.tayars-services-file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tayars-services-file-picker span { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 42px; padding: 9px 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 950; }
.tayars-services-file-picker small { display: block; color: var(--muted); font-weight: 850; overflow-wrap: anywhere; }
.tayars-services-current-media { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #f8fbfa; overflow-wrap: anywhere; }
.tayars-services-current-media a { direction: ltr; text-align: left; color: var(--brand); }
.tayars-services-current-media-empty { color: var(--muted); }
.tayars-services-request-message { min-width: 260px; max-width: 520px; }
.tayars-services-request-message strong { color: var(--text); line-height: 1.75; font-weight: 900; }
.tayars-services-request-message small { margin-top: 5px; color: var(--muted); line-height: 1.6; }
.tayars-services-latest { display: grid; gap: 16px; padding: 20px; background: linear-gradient(135deg, #f3fbf7, #fff); }
.tayars-services-latest-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tayars-services-latest-head h2 { margin: 4px 0 2px; font-size: 24px; }
.tayars-services-latest-list { display: grid; gap: 10px; }
.tayars-services-latest-row { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.82); color: var(--text); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tayars-services-latest-row:hover { transform: translateY(-1px); border-color: rgba(15, 148, 104, .3); box-shadow: 0 14px 28px rgba(10, 35, 28, .07); }
.tayars-services-latest-row strong, .tayars-services-latest-row small { display: block; }
.tayars-services-latest-row strong { font-weight: 950; }
.tayars-services-latest-row small { margin-top: 3px; color: var(--muted); font-weight: 800; }
.tayars-services-latest-row em { color: var(--text); font-style: normal; font-weight: 850; line-height: 1.7; }
.admin-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 16px; }
.admin-filter input, .admin-filter select { min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; }
.admin-filter input { flex: 1; }
.admin-filter select { width: auto; }
.security-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.security-detail-card { padding: 20px; }
.security-detail-card h2 { margin: 0 0 14px; font-size: 22px; }
.security-detail-card dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 14px; margin: 0; }
.security-detail-card dt { color: var(--muted); font-weight: 800; }
.security-detail-card dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.security-map-link { display: inline-flex; margin-inline-start: 8px; color: var(--brand); font-weight: 900; }
.security-user-agent { overflow-x: auto; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fcfdfc; direction: ltr; text-align: left; white-space: pre-wrap; }
.diagnostic-log { overflow-x: auto; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fcfdfc; direction: ltr; text-align: left; white-space: pre-wrap; }
.inline-admin-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.inline-admin-form select { min-width: 150px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; }
.page-settings-form { display: grid; gap: 18px; }
.security-privacy-admin { display: grid; gap: 16px; margin-bottom: 18px; padding: 22px; }
.security-privacy-admin h2 { margin: 0 0 6px; }
.security-notice-state { display: inline-flex; width: fit-content; padding: 8px 12px; border-radius: 999px; font-weight: 900; }
.security-notice-state.is-ready { color: #166534; background: #dcfce7; }
.security-notice-state.is-missing { color: #991b1b; background: #fee2e2; }
.security-notice-template summary { cursor: pointer; color: var(--brand); font-weight: 900; }
.security-notice-template textarea { margin-top: 10px; min-height: 150px; }
.page-settings-card { padding: 22px; }
.page-settings-card h2 { margin: 0; }
.page-settings-card label { display: block; margin: 16px 0 6px; font-weight: 800; }
.page-settings-card input, .page-settings-card textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; }
.page-settings-card textarea { min-height: 220px; }
.page-settings-card textarea[dir="ltr"] { min-height: 92px; direction: ltr; text-align: left; }
.page-settings-card #site_description, .page-settings-card #announcement_text { min-height: 110px; }
.page-settings-card #hero_title, .page-settings-card #hero_card_text { min-height: 95px; }
.admin-settings-form { display: grid; gap: 2px; padding: 0; overflow: hidden; }
.admin-settings-form > label, .admin-settings-form > input, .admin-settings-form > textarea, .admin-settings-form > select, .admin-settings-form > p, .admin-settings-form > .checkbox-row, .admin-settings-form > .security-notice-state, .admin-settings-form > button { margin-inline: 24px; }
.admin-settings-form > h2 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 24px 24px 8px; border-top: 1px solid var(--line); color: var(--text); font-size: 22px; background: linear-gradient(180deg, #fbfdfc 0%, #ffffff 100%); scroll-margin-top: 220px; }
.admin-settings-form > h2::before { content: ""; width: 9px; height: 28px; border-radius: 999px; background: var(--brand); }
.admin-settings-form > .soft-divider { display: none; }
.admin-settings-form > label { color: var(--text); }
.admin-settings-form > input:focus, .admin-settings-form > textarea:focus, .admin-settings-form > select:focus { outline: 3px solid rgba(61, 143, 96, .14); border-color: var(--brand); background: #fff; }
.admin-settings-form > textarea { resize: vertical; }
.admin-settings-form > p.muted { margin-top: -2px; padding-bottom: 4px; line-height: 1.8; }
.admin-settings-form > .checkbox-row { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfc; }
.admin-settings-form > .checkbox-row input { width: auto; }
.admin-settings-form > .button-full { margin-top: 24px; margin-bottom: 24px; }
.soft-divider { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.plan-admin-row { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; }
.plan-admin-row legend { padding: 0 10px; color: var(--brand); font-weight: 900; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.page-settings-card select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; }
.checkbox-row { display: flex !important; align-items: center; gap: 10px; }
.checkbox-row input { width: auto; }
.stat small { display: block; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; width: fit-content; min-height: 26px; padding: 3px 10px; border-radius: 999px; color: var(--brand-dark); background: var(--soft); font-size: 12px; font-weight: 800; white-space: nowrap; }
.admin-post-card { display: flex; justify-content: space-between; gap: 20px; padding: 20px; }
.admin-post-card > div:first-child { min-width: 0; flex: 1; }
.admin-post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-moment-preview { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-top: 10px; }
.admin-moment-preview img, .admin-moment-preview video { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 16px; object-fit: cover; background: #101816; }
.admin-moment-preview p { margin: 0; overflow-wrap: anywhere; }
.admin-chip-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-chip-row input[type="number"] { width: 78px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; }
.button-danger { border-color: var(--danger); color: #fff; background: var(--danger); }
.table-wrap { overflow-x: auto; margin-bottom: 18px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
thead th { position: sticky; top: 0; z-index: 1; color: var(--muted); background: #f8fbfa; font-size: 13px; font-weight: 900; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfdfc; }
td small { color: var(--muted); }
.report-list { display: grid; gap: 16px; }
.report-card { display: flex; justify-content: space-between; gap: 20px; padding: 20px; }
.report-actions { flex-wrap: wrap; }
.report-actions form { margin: 0; }
.danger-button { border-color: var(--danger); background: var(--danger); }
.pagination { display: flex; justify-content: center; gap: 10px; padding: 20px; }
.page-indicator { display: inline-flex; align-items: center; color: var(--muted); font-size: 13px; }
.reset-link-box { margin-top: 18px; padding: 12px; border-radius: 12px; background: var(--soft); overflow-wrap: anywhere; }
.reset-link-box a:not(.button) { display: block; color: var(--brand); font-size: 12px; direction: ltr; }
.reset-copy-box { margin-top: 10px; }
.reset-copy-box input { font-size: 13px; }
.reset-direct-link { margin-top: 10px; text-align: start; font-weight: 700; }
.reset-direct-link.button { margin-top: 12px; color: #fff; direction: rtl; text-align: center; font-size: 16px; }
.reset-code-preview { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 12px 14px; border: 1px dashed rgba(61, 143, 96, 0.35); border-radius: 14px; background: #fff; color: var(--muted); }
.reset-code-preview strong { color: var(--brand); direction: ltr; letter-spacing: 6px; font-size: 24px; }
.code-input { direction: ltr; text-align: center; letter-spacing: 6px; font-size: 22px; font-weight: 800; }
.notification-row, .conversation-row { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.conversation-link { display: flex; min-width: 0; flex: 1; align-items: center; gap: 14px; }
.conversation-row form { margin: 0; }
.text-danger-button { padding: 0; border: 0; color: var(--danger); background: transparent; cursor: pointer; font-weight: 700; }
.trend-row { display: flex; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.trend-row strong { color: var(--brand); font-size: 18px; }
.trend-row span { color: var(--muted); }
.notification-row.unread { background: var(--soft); }
.notification-tabs { margin: 14px 20px; }
.notification-row small, .conversation-copy small { display: block; color: var(--muted); }
.conversation-copy { min-width: 0; flex: 1; }
.conversation-copy p { margin: 2px 0 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.chat-shell { overflow: hidden; }
.messages-list { display: flex; min-height: 420px; max-height: 65vh; padding: 20px; flex-direction: column; gap: 12px; overflow-y: auto; }
.message-bubble { max-width: 78%; padding: 10px 14px; border-radius: 18px; background: var(--soft); }
.message-bubble.mine { align-self: flex-start; color: white; background: var(--brand); }
.message-bubble.theirs { align-self: flex-end; }
.message-bubble p { margin: 0; overflow-wrap: anywhere; }
.message-bubble small { opacity: .75; font-size: 10px; }
.message-bubble form { margin-top: 4px; }
.message-bubble button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font-size: 11px; opacity: .8; }
.message-form { display: flex; align-items: flex-end; gap: 10px; padding: 16px; border-top: 1px solid var(--line); }
.message-form textarea { min-height: 50px; max-height: 140px; }
.settings-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; border: 0; }
.settings-heading h1, .privacy-section h2, .privacy-section p { margin: 0; }
.privacy-section { margin-bottom: 20px; overflow: hidden; }
.privacy-control-panel { padding: 22px; }
.privacy-settings-form { display: grid; gap: 16px; }
.privacy-control-panel { display: grid; gap: 16px; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.privacy-field, .privacy-switch { display: grid; gap: 8px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfc; color: var(--text); font-weight: 900; }
.privacy-field-wide { grid-column: 1 / -1; }
.privacy-field select, .privacy-field textarea { width: 100%; }
.privacy-field textarea { resize: vertical; min-height: 108px; line-height: 1.8; }
.privacy-switch { grid-template-columns: minmax(0, 1fr) auto; align-items: center; cursor: pointer; }
.privacy-switch strong, .privacy-switch small { display: block; }
.privacy-switch small { margin-top: 3px; color: var(--muted); font-weight: 700; line-height: 1.5; }
.privacy-switch input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.privacy-switch i { position: relative; width: 50px; height: 28px; border-radius: 999px; background: #dfe7e3; transition: background .18s ease; }
.privacy-switch i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(16,24,20,.18); transition: transform .18s ease; }
.privacy-switch input:checked + i { background: var(--brand); }
.privacy-switch input:checked + i::after { transform: translateX(-22px); }
[dir="ltr"] .privacy-switch input:checked + i::after { transform: translateX(22px); }
.privacy-save-bar { position: sticky; bottom: 14px; z-index: 4; display: flex; justify-content: flex-end; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.privacy-save-bar .button { min-width: 190px; }
.privacy-user-row, .privacy-user-copy { display: flex; align-items: center; gap: 14px; }
.privacy-user-row { justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.social-user-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.social-user-row form { margin: 0; }
.privacy-user-row form { margin: 0; }
.privacy-user-copy { min-width: 0; }
.privacy-user-copy small { display: block; color: var(--muted); }
.privacy-device-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.privacy-device-row small, .privacy-device-row span { display: block; color: var(--muted); font-weight: 800; }
.privacy-device-meta { margin-inline-start: auto; text-align: end; }
.privacy-device-actions { display: flex; align-items: center; gap: 8px; }
.privacy-device-actions form { margin: 0; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; gap: 30px; }
    .hero-card { display: none; }
    .feed-shell { grid-template-columns: 1fr; }
    .side-panel { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .whatsapp-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-overview, .admin-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plans-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .subscription-cart-summary, .cart-plan-head { align-items: stretch; flex-direction: column; }
    .orders-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .order-pending-panel { align-items: stretch; flex-direction: column; }
    .order-pending-panel .button { width: 100%; }
    .orders-actions { display: grid; grid-template-columns: 1fr; }
    .orders-actions .button { width: 100%; }
    .invoice-card { padding: 20px; }
    .invoice-head { align-items: stretch; flex-direction: column; }
    .invoice-head h2 { font-size: 24px; }
    .invoice-total-box { justify-items: start; }
    .invoice-timeline { grid-template-columns: 1fr; }
    .invoice-grid { grid-template-columns: 1fr; }
    .invoice-actions { align-items: stretch; flex-direction: column; }
    .invoice-actions .button, .invoice-actions .text-link { width: 100%; text-align: center; }
    .cart-plan-head .button { width: 100%; }
    .wallet-summary { grid-template-columns: 1fr; }
    .wallet-credit-form { min-width: 0; grid-template-columns: 1fr; }
    .copy-box { grid-template-columns: 1fr; }
    .copy-box .button { width: 100%; }
    .privacy-grid { grid-template-columns: 1fr; }
    .privacy-save-bar { justify-content: stretch; }
    .privacy-save-bar .button { width: 100%; }
    .privacy-device-row { align-items: stretch; flex-direction: column; }
    .privacy-device-meta { margin-inline-start: 0; text-align: start; }
    .privacy-device-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .privacy-device-actions .button { width: 100%; }
    .spaces-hero-title { align-items: stretch; flex-direction: column; }
    .space-card, .space-request-row, .space-guest-card, .livekit-panel, .space-live-summary { align-items: stretch; flex-direction: column; }
    .space-card-main { padding-inline-start: 0; padding-top: 16px; }
    .space-card-menu { inset-block-start: 16px; inset-inline-start: 18px; }
    .space-card-side { justify-items: stretch; }
    .space-heading-actions .button, .space-card-actions .button, .space-guest-actions .button { width: 100%; }
    .space-grid { grid-template-columns: 1fr; }
    .live-discovery-stage { grid-template-columns: 1fr; }
    .live-featured-preview, .live-featured-canvas { min-height: 360px; }
    .live-featured-canvas { grid-template-columns: .45fr 1fr 1fr .45fr; }
    .live-discovery-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .live-sidebar-head { grid-column: 1 / -1; }
    .live-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .join-agency-hero { grid-template-columns: 1fr; min-height: auto; }
    .join-agency-panel { order: -1; }
    .join-agency-live-card { min-height: 280px; }
    .media-grid { grid-template-columns: repeat(2, 1fr); }
    .report-card { flex-direction: column; }
    .heading-with-action { align-items: stretch; flex-direction: column; }
    .admin-tool { align-items: stretch; flex-direction: column; }
    .admin-hero { align-items: stretch; flex-direction: column; padding: 22px; }
    .admin-hero-actions { justify-content: stretch; }
    .admin-hero-actions .button { flex: 1; }
    .admin-settings-hero { align-items: stretch; flex-direction: column; padding: 22px; }
    .admin-settings-status { justify-content: flex-start; min-width: 0; }
    .tayars-services-grid, .tayars-services-form .form-grid.three { grid-template-columns: 1fr; }
    .tayars-services-quick-add-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tayars-services-latest-row { grid-template-columns: 1fr; }
    .tayars-services-upload-box { grid-template-columns: 1fr; }
    .settings-modules-grid { grid-template-columns: 1fr; }
    .settings-module-card { grid-template-columns: 1fr; }
    .settings-module-meta { justify-items: start; }
    .admin-hero .button { width: 100%; }
    .admin-control-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-filter, .admin-post-card { align-items: stretch; flex-direction: column; }
    .admin-filter select { width: 100%; }
    .security-detail-grid { grid-template-columns: 1fr; }
    .security-detail-card dl { grid-template-columns: 1fr; }
    .settings-heading { align-items: stretch; flex-direction: column; }
    .social-user-row { align-items: stretch; flex-direction: column; }
    .location-consent { align-items: stretch; flex-direction: column; }
    .location-consent-actions { width: 100%; }
    .location-consent-actions .button { flex: 1; }
    .nav { gap: 12px; }
    .nav-actions { gap: 8px; }
    .nav-profile-pill > span:last-child { display: none; }
    .content-column { width: 100%; }
    .profile-cover { height: 170px; }
    .profile-top { align-items: flex-start; flex-direction: column; gap: 12px; }
    .profile-main { width: 100%; padding-inline: 18px; }
    .profile-actions { display: grid; flex: none; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 0; }
    .profile-actions .button, .profile-actions form, .profile-actions form .button { width: 100%; }
    .profile-actions .profile-action-menu { width: auto; }
    .profile-actions .profile-menu-button { width: 100%; }
    .post-actions { justify-content: space-between; gap: 4px; }
    .post-action { min-width: 34px; padding-inline: 6px; }
}

@media (max-width: 520px) {
    html { scroll-padding-top: 18px; }
    .container { width: min(100% - 14px, 1180px); }
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .whatsapp-stats-grid { grid-template-columns: 1fr; }
    .live-discovery-heading { align-items: stretch; flex-direction: column; }
    .live-featured-preview, .live-featured-canvas { min-height: 500px; }
    .live-featured-canvas { grid-template-columns: 1fr; }
    .live-featured-side { display: none; }
    .live-featured-camera { min-height: 250px; }
    .live-featured-caption { inset-inline: 12px; inset-block-end: 12px; max-width: calc(100% - 24px); }
    .live-featured-caption strong { font-size: 18px; }
    .live-discovery-sidebar { grid-template-columns: 1fr; }
    .live-card-grid { grid-template-columns: 1fr; }
    .live-preview-art { min-height: 220px; }
    .join-agency-shell { padding: 14px; }
    .join-agency-card { border-radius: 20px; }
    .join-agency-hero { gap: 22px; padding: 22px; }
    .join-agency-brand { align-items: flex-start; border-radius: 20px; }
    .join-agency-copy h1, .join-agency-unavailable h1 { font-size: 34px; }
    .join-agency-copy p { font-size: 17px; }
    .join-agency-actions, .join-agency-button { width: 100%; }
    .join-agency-benefits { grid-template-columns: 1fr; }
    .join-agency-live-card { min-height: 230px; }
    .join-admin-logo-preview { align-items: flex-start; flex-direction: column; margin-inline: 14px; }
    body.guest-mobile-feed-page {
        height: 100dvh;
        overflow: hidden;
        color: var(--text);
        background: var(--bg);
        overscroll-behavior-y: contain;
    }
    body.guest-mobile-feed-page .site-header, body.guest-mobile-feed-page .site-footer { display: none; }
    body.guest-mobile-feed-page .main { width: 100%; height: 100dvh; padding: 0; overflow: hidden; }
    body.guest-mobile-feed-page .site-announcement, body.guest-mobile-feed-page .alert { display: none; }
    body.guest-mobile-feed-page .hero { display: none; }
    body.guest-mobile-feed-page .hero + .guest-mobile-feed { display: block; }
    body.guest-mobile-feed-page .guest-mobile-feed {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        margin: 0;
        padding: 0;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background: var(--bg);
        scroll-snap-type: y mandatory;
        scrollbar-width: none;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
    body.guest-mobile-feed-page .guest-mobile-feed::-webkit-scrollbar { display: none; }
    body.guest-mobile-feed-page .guest-mobile-feed .guest-desktop-heading,
    body.guest-mobile-feed-page .guest-mobile-feed .pagination { display: none; }
    body.guest-mobile-feed-page .guest-mobile-top {
        position: fixed;
        inset-block-start: 0;
        inset-inline: 0;
        z-index: 70;
        display: none;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 8px;
        min-height: 94px;
        padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
        color: var(--text);
        background:
            linear-gradient(180deg, rgba(245,247,246,.96), rgba(245,247,246,.76) 70%, rgba(245,247,246,0));
        text-shadow: none;
        pointer-events: none;
    }
    body.guest-mobile-feed-page .guest-mobile-search {
        pointer-events: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 40px;
        padding: 6px 12px;
        border: 1px solid rgba(223, 230, 226, .9);
        border-radius: 999px;
        color: var(--text);
        background: rgba(255,255,255,.88);
        box-shadow: 0 14px 34px rgba(21, 32, 28, .08), inset 0 1px 0 rgba(255,255,255,.9);
        backdrop-filter: blur(12px) saturate(1.1);
        text-decoration: none;
    }
    body.guest-mobile-feed-page .guest-mobile-search span {
        font-size: 24px;
        line-height: 1;
    }
    body.guest-mobile-feed-page .guest-mobile-search strong {
        min-width: 0;
        overflow: hidden;
        color: var(--muted);
        font-size: 14px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body.guest-mobile-feed-page .guest-mobile-tabs {
        pointer-events: auto;
        display: flex;
        justify-content: center;
        gap: 7px;
        font-weight: 900;
    }
    body.guest-mobile-feed-page .guest-mobile-tabs a,
    body.guest-mobile-feed-page .guest-mobile-tabs button,
    body.guest-mobile-feed-page .guest-mobile-tabs strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 70px;
        padding: 7px 11px;
        border: 1px solid rgba(223, 230, 226, .9);
        border-radius: 999px;
        color: var(--muted);
        background: rgba(255,255,255,.9);
        font: inherit;
        cursor: pointer;
        text-align: center;
    }
    body.guest-mobile-feed-page .guest-mobile-tabs strong {
        color: #fff;
        background: var(--brand);
        border-color: var(--brand);
        box-shadow: 0 10px 26px rgba(12, 143, 99, .18);
        text-shadow: none;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card {
        position: relative;
        display: block;
        min-height: 100dvh;
        padding: 0;
        overflow: hidden;
        border: 0;
        color: #fff;
        background:
            radial-gradient(circle at 50% 32%, rgba(12, 143, 99, .18), transparent 40%),
            linear-gradient(160deg, #ffffff, var(--soft) 100%);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        touch-action: pan-y;
        cursor: default;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:hover {
        background:
            radial-gradient(circle at 50% 32%, rgba(12, 143, 99, .18), transparent 40%),
            linear-gradient(160deg, #ffffff, var(--soft) 100%);
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(245,247,246,.42) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.08) 55%, rgba(8, 20, 15, .78) 100%),
            linear-gradient(90deg, rgba(8,20,15,.22), transparent 26%, transparent 78%, rgba(8,20,15,.08));
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image))::after {
        background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.82) 54%, rgba(230,247,240,.96));
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) {
        background:
            radial-gradient(circle at 72% 22%, rgba(18, 151, 106, .11), transparent 34%),
            linear-gradient(180deg, #fff 0%, #f8fbfa 46%, #eaf8f1 100%);
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card > .avatar {
        position: absolute;
        left: 16px;
        right: auto;
        inset-block-end: 304px;
        z-index: 5;
        width: 60px;
        height: 60px;
        border: 2px solid #fff;
        box-shadow: 0 12px 30px rgba(21, 32, 28, .18);
        pointer-events: auto;
        touch-action: manipulation;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card > .avatar img { width: 100%; height: 100%; object-fit: cover; }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) > .avatar {
        inset-block-end: calc(176px + env(safe-area-inset-bottom));
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card > .avatar::after {
        content: "+";
        position: absolute;
        right: -5px;
        left: auto;
        inset-block-end: -5px;
        display: grid;
        width: 20px;
        height: 20px;
        place-items: center;
        border: 2px solid #fff;
        border-radius: 999px;
        color: #fff;
        background: var(--brand);
        font-size: 15px;
        font-weight: 900;
        line-height: 1;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-body {
        position: relative;
        z-index: 2;
        display: flex;
        min-height: 100dvh;
        flex-direction: column;
        justify-content: flex-end;
        padding: calc(34px + env(safe-area-inset-top)) 18px calc(96px + env(safe-area-inset-bottom)) 92px;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-body {
        justify-content: center;
        padding: calc(42px + env(safe-area-inset-top)) 18px calc(108px + env(safe-area-inset-bottom)) 88px;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-image,
    body.guest-mobile-feed-page .guest-mobile-feed .post-video-shell,
    body.guest-mobile-feed-page .guest-mobile-feed .post-video {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        margin: 0;
        border: 0;
        border-radius: 0;
        object-fit: cover;
        background: #000;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-video-shell .post-video {
        height: 100%;
        max-height: none;
        border: 0;
        border-radius: 0;
        object-fit: cover;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-header,
    body.guest-mobile-feed-page .guest-mobile-feed .post-content,
    body.guest-mobile-feed-page .guest-mobile-feed .post-actions {
        position: relative;
        z-index: 4;
        color: #fff;
        text-shadow: 0 2px 12px rgba(0,0,0,.65);
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-header {
        display: grid;
        justify-items: start;
        margin-block-end: 8px;
        text-align: right;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-author-link {
        color: #fff;
        justify-items: start;
        gap: 2px;
        direction: rtl;
        text-align: right;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-author-link strong {
        justify-content: flex-end;
        font-size: 16px;
        text-shadow: 0 2px 12px rgba(0,0,0,.72);
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-username {
        justify-self: start;
        color: rgba(255,255,255,.82);
        font-size: 13px;
        text-align: right;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .guest-mobile-post-time {
        display: block;
        justify-self: start;
        color: rgba(255,255,255,.78);
        direction: ltr;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.35;
        text-align: right;
        unicode-bidi: plaintext;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-follow-button,
    body.guest-mobile-feed-page .guest-mobile-feed .post-more-menu,
    body.guest-mobile-feed-page .guest-mobile-feed .post-meta,
    body.guest-mobile-feed-page .guest-mobile-feed .post-poll,
    body.guest-mobile-feed-page .guest-mobile-feed .quoted-post-card { display: none; }
    body.guest-mobile-feed-page .guest-mobile-feed .post-content {
        max-height: 7.4em;
        margin: 0;
        overflow: hidden;
        font-size: 17px;
        line-height: 1.75;
        text-align: start;
        overflow-wrap: anywhere;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-actions {
        position: absolute;
        left: 10px;
        right: auto;
        inset-block-end: calc(94px + env(safe-area-inset-bottom));
        z-index: 6;
        display: grid;
        gap: 13px;
        margin: 0;
        padding: 0;
        color: #fff;
        font-size: 12px;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-action {
        display: grid;
        min-width: 60px;
        min-height: 56px;
        justify-items: center;
        gap: 2px;
        padding: 0;
        color: #fff;
        border-radius: 0;
        background: transparent;
        text-align: center;
        text-shadow: 0 2px 10px rgba(0,0,0,.72);
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-action:hover { color: #fff; background: transparent; }
    body.guest-mobile-feed-page .guest-mobile-feed .post-action-time { display: none; }
    body.guest-mobile-feed-page .guest-mobile-feed .post-action-main {
        display: grid;
        justify-items: center;
        gap: 2px;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .action-svg {
        width: 35px;
        height: 35px;
        stroke-width: 2.25;
        filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-action-count {
        color: #fff;
        font-size: 12px;
        font-weight: 900;
        min-width: 28px;
        padding: 1px 6px;
        border-radius: 999px;
        background: rgba(0,0,0,.22);
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-header,
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-content,
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-actions,
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-author-link,
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-action,
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-action-count {
        color: var(--text);
        text-shadow: none;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-username,
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .guest-mobile-post-time {
        color: var(--muted);
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-header {
        margin-block-end: 14px;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-content {
        max-height: 12em;
        font-size: clamp(20px, 6vw, 28px);
        font-weight: 700;
        line-height: 1.65;
        text-align: right;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-actions {
        inset-block-end: calc(92px + env(safe-area-inset-bottom));
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .action-svg {
        filter: none;
    }
    body.guest-mobile-feed-page .guest-mobile-feed > .post-card:not(.post-card-has-video):not(:has(.post-image)) .post-action-count {
        background: rgba(12, 143, 99, .1);
    }
    body.guest-mobile-feed-page .guest-mobile-bottom {
        position: fixed;
        inset-inline: 0;
        inset-block-end: 0;
        z-index: 75;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        min-height: 72px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(223, 230, 226, .9);
        color: var(--muted);
        background:
            linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.94)),
            rgba(255,255,255,.88);
        box-shadow: 0 -16px 36px rgba(21, 32, 28, .1);
        backdrop-filter: blur(14px) saturate(1.15);
    }
    body.guest-mobile-feed-page .guest-mobile-bottom a {
        display: grid;
        justify-items: center;
        gap: 3px;
        color: inherit;
        font-weight: 800;
        text-align: center;
        transition: color .18s ease, transform .18s ease;
    }
    body.guest-mobile-feed-page .guest-mobile-bottom a:active { transform: translateY(1px) scale(.98); }
    body.guest-mobile-feed-page .guest-mobile-bottom span {
        display: grid;
        min-width: 34px;
        min-height: 30px;
        place-items: center;
        border-radius: 12px;
        font-size: 25px;
        line-height: 1;
    }
    body.guest-mobile-feed-page .guest-mobile-bottom small { font-size: 11px; letter-spacing: 0; }
    body.guest-mobile-feed-page .guest-mobile-bottom .active {
        color: var(--brand);
    }
    body.guest-mobile-feed-page .guest-mobile-bottom .active span {
        color: #fff;
        background: var(--brand);
        box-shadow: 0 8px 22px rgba(12, 143, 99, .2);
    }
    body.guest-mobile-feed-page .guest-mobile-create span {
        display: grid;
        width: 54px;
        height: 38px;
        place-items: center;
        border: 2px solid #fff;
        border-radius: 15px;
        color: #fff;
        background: var(--brand);
        box-shadow: 0 10px 28px rgba(12, 143, 99, .22), 0 0 0 1px rgba(12, 143, 99, .08);
        font-size: 28px;
        font-weight: 900;
    }
    body.guest-mobile-feed-page .guest-signup-panel {
        width: min(84vw, 390px);
        min-height: 58vh;
        padding: 42px 24px 24px;
        border-radius: 10px;
    }
    body.guest-mobile-feed-page .guest-signup-panel h2 { font-size: 27px; }
    .main > *, .panel, .section-heading, .admin-shell, .content-column, .auth-shell, .standalone { scroll-margin-top: 18px; }
    .brand { min-width: 40px; height: 40px; padding-inline: 9px; border-radius: 12px; font-size: 20px; }
    .nav-actions .button { padding-inline: 13px; }
    .hero { min-height: auto; padding-block: 26px; }
    .hero-copy { min-width: 0; }
    body.auth-mobile-clean-page {
        min-height: 100dvh;
        background:
            radial-gradient(circle at 50% 0%, rgba(12, 143, 99, .08), transparent 38%),
            #fff;
    }
    body.auth-mobile-clean-page .site-header,
    body.auth-mobile-clean-page .site-footer,
    body.auth-mobile-clean-page .site-announcement {
        display: none;
    }
    body.auth-mobile-clean-page .main {
        width: 100%;
        min-height: 100dvh;
        padding: calc(18px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
        background: transparent;
    }
    body.auth-mobile-clean-page .auth-shell {
        min-height: calc(100dvh - 42px);
        align-items: start;
        place-items: start center;
    }
    body.auth-mobile-clean-page .auth-card {
        width: min(100%, 430px);
        margin: 0 auto;
        padding: 28px 22px 24px;
        border: 1px solid rgba(223, 230, 226, .9);
        border-radius: 28px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 20px 54px rgba(21, 32, 28, .08);
    }
    body.auth-mobile-clean-page .auth-card h1 {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.2;
    }
    body.auth-mobile-clean-page .auth-card .muted { line-height: 1.8; }
    body.auth-mobile-clean-page .auth-card input,
    body.auth-mobile-clean-page .input-prefix {
        min-height: 56px;
        border-radius: 18px;
        background: #fff;
    }
    body.auth-mobile-clean-page .social-auth-button {
        min-height: 52px;
        border-radius: 999px;
    }
    body.auth-mobile-clean-page .button-full {
        min-height: 56px;
        border-radius: 999px;
        font-size: 18px;
    }
    .hero h1 { max-width: 100%; font-size: clamp(34px, 10.5vw, 46px); line-height: 1.18; letter-spacing: 0; overflow-wrap: anywhere; }
    .hero-copy > p { margin: 18px 0; font-size: 17px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .auth-card { padding: 24px 18px; }
    .site-header { position: static; }
    .nav { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: auto; padding-block: 8px; gap: 8px; }
    .nav-links { grid-column: 1 / -1; display: flex; width: 100%; min-width: 0; order: 3; gap: 6px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; font-size: 13px; white-space: nowrap; }
    .nav-links::-webkit-scrollbar, .nav-actions::-webkit-scrollbar { display: none; }
    .nav-links a { flex: 0 0 auto; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
    .nav-actions { grid-column: 1 / -1; width: 100%; min-width: 0; margin: 0; gap: 6px; justify-content: flex-start; overflow-x: auto; overflow-y: visible; white-space: nowrap; font-size: 14px; }
    .nav-actions > a, .nav-actions form { flex: 0 0 auto; }
    .nav-actions .button { min-height: 34px; padding: 6px 14px; }
    .nav-actions .button-ghost { min-width: 0; min-height: 34px; padding-inline: 12px; }
    .nav-profile-pill { min-height: 36px; padding: 3px; }
    .nav-profile-avatar { width: 30px; height: 30px; }
    .nav-more-menu summary { min-height: 36px; padding: 6px 12px; }
    .nav-more-dropdown { position: fixed; inset-block-start: 76px; inset-inline: 8px; grid-template-columns: 1fr; width: auto; max-width: calc(100vw - 16px); max-height: calc(100dvh - 92px); overflow-y: auto; }
    .nav-menu-card { grid-column: auto; display: grid; }
    .nav-more-dropdown section:nth-of-type(2), .nav-more-dropdown section:last-child { grid-template-columns: 1fr; }
    .nav-more-dropdown section:last-child { grid-column: auto; }
    .nav-more-dropdown section { padding: 8px; }
    .badge { min-width: 18px; height: 18px; padding-inline: 5px; font-size: 10px; vertical-align: middle; }
    .main { padding-block: 24px 20px; }
    body.post-view-body .site-header { display: none; }
    body.post-view-body .main { width: 100%; padding-block: 0 calc(92px + env(safe-area-inset-bottom)); }
    .post-show-page { width: 100%; border: 0; border-radius: 0; background: #fff; }
    .post-show-page > .post-show-title { display: none; }
    .post-mobile-bar { position: sticky; top: 0; z-index: 22; display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 12px 18px; border-bottom: 1px solid rgba(223, 230, 226, .65); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); font-size: 20px; font-weight: 900; }
    .post-mobile-back { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 999px; font-size: 32px; line-height: 1; }
    .post-mobile-back:hover { background: var(--soft); color: var(--brand); }
    .post-show-page > .post-card { gap: 10px; padding: 18px 16px 12px; border-bottom: 0; background: #fff; }
    .post-show-page > .post-card:hover { background: #fff; }
    .post-show-page > .post-card > .avatar { width: 52px; height: 52px; }
    .post-show-page > .post-card .post-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
    .post-show-page > .post-card .post-author-link strong { font-size: 16px; }
    .post-show-page > .post-card .post-username { font-size: 14px; }
    .post-show-page > .post-card .post-meta { justify-content: flex-start; gap: 2px 8px; font-size: 14px; }
    .post-show-page > .post-card .post-date, .post-show-page > .post-card .post-edited-label { font-size: 12px; }
    .post-show-page > .post-card .post-content { margin: 16px 0; font-size: 21px; line-height: 2; text-align: start; }
    .post-show-page > .post-card .post-image, .post-show-page > .post-card .post-video, .post-show-page > .post-card .post-video-shell { display: block; width: min(100%, 520px); max-height: 72vh; margin: 14px auto 0; border: 0; border-radius: 18px; background: #0f1f19; }
    .post-show-page > .post-card .post-video-shell .post-video { width: 100%; max-height: 72vh; margin: 0; border: 0; border-radius: 18px; }
    .post-show-page > .post-card .post-image { object-fit: contain; background: #f5f7f6; }
    .post-show-page > .post-card .post-actions { justify-content: space-around; margin-top: 16px; padding-top: 8px; border-top: 1px solid rgba(223, 230, 226, .72); }
    .post-show-page > .reply-composer-heading { display: none; }
    .post-show-page > .composer { position: fixed; inset-inline: 14px; inset-block-end: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: #f4f6f5; box-shadow: 0 14px 38px rgba(21, 32, 28, .14); }
    .post-show-page > .composer textarea { grid-column: 1; grid-row: 1; height: 42px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; font-size: 16px; resize: none; }
    .post-show-page > .composer .composer-helper, .post-show-page > .composer .composer-media-preview, .post-show-page > .composer .mobile-media-picker, .post-show-page > .composer .composer-media-actions { display: none; }
    .post-show-page > .composer .composer-footer { grid-column: 2; grid-row: 1; display: block; }
    .post-show-page > .composer .composer-footer .button { width: auto; min-height: 40px; padding: 8px 16px; }
    .post-show-page #replies { padding: 14px 16px; border-top: 1px solid var(--line); }
    body.post-view-video-body { color: #fff; background: #000; }
    body.post-view-video-body .main { padding-block: 0; }
    body.post-view-video-body .site-footer { display: none; }
    body.post-view-video-body .post-show-page { min-height: 100dvh; overflow: hidden; background: #000; }
    body.post-view-video-body .post-mobile-bar { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 55; min-height: 62px; border: 0; color: #fff; background: #000; box-shadow: none; }
    body.post-view-video-body .post-mobile-bar strong { display: none; }
    body.post-view-video-body .post-mobile-back { color: #fff; }
    body.post-view-video-body .post-show-page > .post-card-has-video { position: relative; display: block; min-height: 100dvh; padding: 0; overflow: hidden; border: 0; color: #fff; background: #000; cursor: default; }
    body.post-view-video-body .post-show-page > .post-card-has-video:hover { background: #000; }
    body.post-view-video-body .post-show-page > .post-card-has-video::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 28%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.82) 100%); }
    body.post-view-video-body .post-card-has-video > .avatar { position: absolute; inset-inline-end: 18px; inset-block-end: 242px; z-index: 4; width: 56px; height: 56px; border: 3px solid rgba(255,255,255,.86); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
    body.post-view-video-body .post-card-has-video > .post-body { position: relative; z-index: 2; display: flex; min-height: 100dvh; flex-direction: column; justify-content: flex-end; padding: 88px 18px calc(98px + env(safe-area-inset-bottom)); }
    body.post-view-video-body .post-card-has-video .post-video-shell,
    body.post-view-video-body .post-card-has-video .post-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-height: none; margin: 0; border: 0; border-radius: 0; object-fit: cover; background: #000; }
    body.post-view-video-body .post-card-has-video .post-video-shell .post-video { height: 100%; max-height: none; object-fit: cover; }
    body.post-view-video-body .post-card-has-video .post-video-sound-button { inset-inline-end: 18px; inset-block-start: 76px; z-index: 5; }
    body.post-view-video-body .post-card-has-video .post-video-play-button { z-index: 5; }
    body.post-view-video-body .post-card-has-video .post-header, body.post-view-video-body .post-card-has-video .post-meta, body.post-view-video-body .post-card-has-video .post-content, body.post-view-video-body .post-card-has-video .post-actions { position: relative; z-index: 3; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
    body.post-view-video-body .post-card-has-video .post-header { padding-inline-end: 72px; }
    body.post-view-video-body .post-card-has-video .post-author-link, body.post-view-video-body .post-card-has-video .post-more-button { color: #fff; }
    body.post-view-video-body .post-card-has-video .post-follow-button { border-color: rgba(255,255,255,.9); color: #071610; background: #fff; text-shadow: none; }
    body.post-view-video-body .post-card-has-video .post-meta { display: flex; padding-inline-end: 72px; gap: 4px 8px; }
    body.post-view-video-body .post-card-has-video .post-meta .muted, body.post-view-video-body .post-card-has-video .post-date, body.post-view-video-body .post-card-has-video .post-edited-label, body.post-view-video-body .post-card-has-video .post-username { color: rgba(255,255,255,.72); }
    body.post-view-video-body .post-card-has-video .verify-badge { box-shadow: 0 0 0 2px rgba(0,0,0,.18); }
    body.post-view-video-body .post-card-has-video .post-content { margin: 12px 0 18px; padding-inline-end: 8px; font-size: 19px; line-height: 2; }
    body.post-view-video-body .post-card-has-video .post-actions { justify-content: space-between; margin: 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; color: #fff; background: rgba(0,0,0,.36); box-shadow: 0 12px 34px rgba(0,0,0,.22); backdrop-filter: blur(12px); font-size: 12px; }
body.post-view-video-body .post-card-has-video .post-action { min-width: 34px; padding: 4px 6px; color: #fff; }
    body.post-view-video-body .post-card-has-video .post-gift-trigger::before { filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
    body.post-view-video-body .post-card-has-video .post-action:hover { color: #fff; background: rgba(255,255,255,.12); }
    body.post-view-video-body .post-card-has-video .post-views-action { align-items: center; }
    body.post-view-video-body .post-card-has-video .post-action-time { color: rgba(255,255,255,.78); text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
    body.post-view-video-body .post-card-has-video .post-action-time strong { color: #fff; }
    body.post-view-video-body .post-card-has-video .post-action-time small { color: rgba(255,255,255,.68); }
    body.post-view-video-body .post-card-has-video .action-svg { width: 24px; height: 24px; stroke-width: 2.35; }
    body.post-view-video-body .post-show-page > .composer, body.post-view-video-body .post-show-page > .reply-composer-heading, body.post-view-video-body .post-show-page #replies, body.post-view-video-body .post-show-page > .thread-list, body.post-view-video-body .post-show-page > .empty-state { display: none; }
    .location-consent { margin-bottom: 14px; padding: 14px; scroll-margin-top: 18px; }
    .location-consent-actions { display: grid; grid-template-columns: 1fr; }
    .admin-shell { margin-top: 0; }
    .admin-shell .section-heading { padding-block: 12px; }
    .admin-nav { position: static; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
    .admin-settings-hero { margin-bottom: 12px; padding: 18px; }
    .admin-settings-hero h1 { font-size: 30px; }
    .admin-settings-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-settings-status span { justify-content: center; min-width: 0; white-space: normal; text-align: center; }
    .tayars-services-form .form-grid.two, .tayars-services-form .form-grid.three, .tayars-services-upload-box { grid-template-columns: 1fr; }
    .tayars-services-hero-actions, .tayars-services-form .form-actions { align-items: stretch; flex-direction: column; }
    .tayars-services-hero-actions .button, .tayars-services-form .form-actions .button { width: 100%; }
    .tayars-services-quick-add { padding: 16px; }
    .tayars-services-quick-add-grid { grid-template-columns: 1fr; }
    .tayars-services-latest { padding: 16px; }
    .tayars-services-latest-head { align-items: stretch; flex-direction: column; }
    .tayars-services-latest-head .button { width: 100%; }
    .tayars-services-request-message { min-width: 220px; }
    .tayars-services-actions { align-items: stretch; flex-direction: column; }
    .tayars-services-actions .button, .tayars-services-actions form, .tayars-services-actions button { width: 100%; }
    .admin-settings-jump { position: static; margin-bottom: 12px; flex-wrap: nowrap; white-space: nowrap; }
    .settings-module-card { padding: 18px; }
    .settings-module-card h2 { font-size: 21px; }
    .settings-file-upload-box { grid-template-columns: 1fr; margin: 16px 14px 6px; padding: 14px; }
    .settings-module-form-actions { flex-direction: column-reverse; margin: 18px 14px; }
    .settings-module-form-actions .button { width: 100%; }
    .admin-settings-form > label, .admin-settings-form > input, .admin-settings-form > textarea, .admin-settings-form > select, .admin-settings-form > p, .admin-settings-form > .checkbox-row, .admin-settings-form > .security-notice-state, .admin-settings-form > button { margin-inline: 14px; }
    .admin-settings-form > h2 { padding-inline: 14px; scroll-margin-top: 18px; }
    .admin-overview, .admin-section-grid { grid-template-columns: 1fr; }
    .admin-control-strip { grid-template-columns: 1fr; }
    .admin-stat-card { min-height: 138px; }
    .admin-section-card { padding: 16px; }
    .admin-dashboard-section { padding-top: 50px; }
    .admin-hero h1, .admin-shell .section-heading h1 { font-size: 30px; }
    .feed-shell, .timeline, .composer, .post-card, .post-body { min-width: 0; max-width: 100%; }
    .feed-shell { gap: 12px; overflow: hidden; }
    .moment-form { padding: 18px 14px; }
    .panel { border-radius: 16px; }
    .profile-header { padding: 0; }
    .profile-cover { height: 132px; margin: 0; border-radius: 0; }
    .profile-avatar { width: 84px; height: 84px; margin-top: -42px; border-width: 4px; }
    .profile-main { gap: 12px; padding: 0 14px 16px; }
    .profile-summary { padding-top: 12px; }
    .profile-identity { padding-top: 0; }
    .profile-header h1 { font-size: 30px; line-height: 1.25; }
    .profile-highlights { gap: 14px; margin: 0 14px; padding-bottom: 10px; }
    .profile-highlight { min-width: 82px; }
    .profile-highlight-ring { width: 70px; height: 70px; font-size: 28px; }
    .profile-highlight strong { max-width: 90px; font-size: 13px; }
    .moment-view { padding: 16px 12px; }
    .moment-view-body { min-height: 260px; border-radius: 18px; }
    .moment-view-body.is-text { padding: 24px 16px; font-size: 23px; }
    .moment-view-body img { max-height: 58vh; }
    .moment-view-body video { max-height: 58vh; }
    .moment-view-foot { align-items: stretch; flex-direction: column; }
    .moment-view-foot .button { width: 100%; }
    .profile-actions { flex: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .profile-action-dropdown { inset-inline: 0 auto; min-width: min(280px, calc(100vw - 40px)); }
    .profile-stats { gap: 8px; font-size: 14px; }
    .profile-stat-strip a, .profile-stat-strip > span { padding: 9px 8px; }
    .profile-stat-strip strong { font-size: 18px; }
    .profile-tabs { top: 0; padding-inline: 0; overflow-x: auto; white-space: nowrap; }
    .verification-nudge { padding: 14px; border-radius: 16px; }
    .verification-nudge-copy { align-items: flex-start; }
    .verification-nudge-copy strong { font-size: 17px; }
    .verification-nudge-actions { grid-template-columns: 1fr; }
    .post-card { gap: 8px; padding: 14px 10px; }
    .post-card > .avatar { width: 42px; height: 42px; }
    .post-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; }
    .post-author-link strong { font-size: 14px; }
    .post-username { font-size: 12px; }
    .post-follow-button { min-height: 32px; padding: 6px 15px; font-size: 13px; }
    .post-more-button { width: 32px; height: 32px; }
    .post-more-dropdown { position: fixed; inset-inline: 12px; inset-block-end: calc(12px + env(safe-area-inset-bottom)); inset-block-start: auto; min-width: 0; max-height: min(72dvh, 520px); overflow-y: auto; padding: 10px; border-radius: 22px; }
    .thread-children { margin-inline-start: 10px; padding-inline-start: 8px; }
    .thread-level-4 .thread-children, .thread-level-5 .thread-children, .thread-level-6 .thread-children { margin-inline-start: 6px; padding-inline-start: 6px; }
    .post-meta { align-items: flex-start; justify-content: flex-start; gap: 2px 8px; font-size: 12px; }
    .post-meta .muted { font-size: 12px; }
    .post-meta > span.muted { order: 2; }
    .post-meta > span:last-child:not(:first-child) { order: 3; }
    .post-content { font-size: 15px; }
    .post-image { max-height: 520px; border-radius: 12px; }
    .quoted-post-card { padding: 12px; border-radius: 12px; }
.quoted-post-card img { max-height: 260px; }
.post-actions { margin-top: 10px; padding-top: 4px; font-size: 12px; }
.action-icon { font-size: 16px; }
.quote-icon { width: 17px; height: 17px; font-size: 14px; }
.quote-label { display: none; }
    .post-action-dropdown { inset-inline: auto 0; min-width: 170px; }
    .share-dialog {
        padding: 0;
        place-items: stretch;
    }
    .share-dialog-backdrop {
        background: rgba(10, 18, 15, .56);
    }
    .share-dialog-panel {
        width: 100%;
        max-height: 100dvh;
        min-height: 100dvh;
        gap: 10px;
        padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(14px + env(safe-area-inset-bottom, 0px));
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .share-dialog-panel h2 {
        padding-inline: 40px;
        font-size: 22px;
        line-height: 1.35;
    }
    .share-dialog-panel [data-share-help] {
        font-size: 14px;
        line-height: 1.65;
    }
    .share-dialog-panel textarea {
        min-height: 150px;
        max-height: 34dvh;
        padding: 14px;
        font-size: 16px;
        line-height: 1.7;
        border-radius: 18px;
    }
    .share-link-card {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 16px;
    }
    .share-link-thumb {
        width: 76px;
        height: 76px;
        border-radius: 14px;
        font-size: 20px;
    }
    .share-link-card strong {
        font-size: 15px;
        line-height: 1.35;
    }
    .share-link-card span:not(.share-link-thumb) {
        display: -webkit-box;
        max-height: 3.4em;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.7;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .share-link-card small {
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .share-dialog-actions {
        position: sticky;
        bottom: 0;
        z-index: 2;
        grid-template-columns: 1fr;
        margin-inline: -14px;
        margin-bottom: calc(-14px - env(safe-area-inset-bottom, 0px));
        padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(255,255,255,.82), #fff 24%);
    }
    .share-dialog-actions .button {
        min-height: 52px;
        border-radius: 999px;
        font-size: 17px;
    }
    .share-dialog-close {
        top: calc(12px + env(safe-area-inset-top, 0px));
        inset-inline-start: 12px;
        width: 38px;
        height: 38px;
    }
    .composer { padding: 14px 10px; overflow: hidden; }
    .composer textarea { min-height: 86px; max-width: 100%; font-size: 16px; }
    .composer-tool-row { max-width: 100%; justify-content: flex-end; gap: 10px; padding-inline: 1px; }
    .composer-footer { align-items: stretch; flex-direction: column; }
    .mobile-media-picker { display: none; }
    .mobile-media-picker:hover { border-color: rgba(12, 143, 99, .22); background: var(--soft); }
    .mobile-media-icon { display: grid; width: 28px; height: 28px; place-items: center; color: #101816; font-size: 22px; line-height: 1; }
    .mobile-media-picker strong { margin-inline-start: auto; color: #101816; font-size: 24px; line-height: 1; }
    .composer-media-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: nowrap; overflow-x: auto; }
    .upload-label { justify-content: center; width: 44px; padding: 0; text-align: center; }
    .composer-footer .button { width: 100%; }
    .composer-preview-actions { align-items: stretch; flex-direction: column; }
    .composer-preview-actions .button { width: 100%; }
    .composer-recorder { padding: 10px; place-items: end center; }
    .composer-recorder-panel { padding: 18px 14px; border-radius: 20px 20px 0 0; }
    .composer-recorder-actions { display: grid; grid-template-columns: 1fr; }
    .message-bubble { max-width: 88%; }
    .media-grid { grid-template-columns: 1fr; }
    .static-page { margin-top: 0; padding: 22px 16px; scroll-margin-top: 18px; }
    .static-page h1 { font-size: 30px; }
    .static-page h2 { margin-top: 22px; font-size: 19px; }
    .child-safety-page { margin-top: 0; scroll-margin-top: 18px; }
    .child-safety-hero, .child-safety-card { padding: 22px 16px; }
    .child-safety-hero h1 { font-size: 30px; }
    .child-safety-hero p { font-size: 16px; }
    .child-safety-grid { grid-template-columns: 1fr; }
    .child-safety-actions .button { width: 100%; }
    .footer-links { gap: 10px 12px; }
    .footer-language-form { width: 100%; justify-content: center; flex-wrap: wrap; }
    .footer-language-form select { flex: 1 1 150px; max-width: 220px; }
    .spaces-search { width: 100%; }
    .spaces-hero-title { padding: 18px 16px; border-radius: 18px; }
    .spaces-hero-title h1 { font-size: 34px; }
    .spaces-section-title { padding: 16px; }
    .space-card { gap: 14px; padding: 18px 16px; border-radius: 20px; }
    .space-card h2 { font-size: 24px; }
    .space-host-row strong { max-width: 100%; }
    .plans-grid { gap: 12px; }
    .plan-card { padding: 18px; }
    .orders-overview { grid-template-columns: 1fr; gap: 8px; }
    .order-stat { padding: 14px; }
    .order-pending-panel, .subscription-cart-summary { padding: 14px; }
    .orders-table, .orders-table thead, .orders-table tbody, .orders-table tr, .orders-table td { display: block; width: 100%; }
    .orders-table thead { display: none; }
    .orders-table tr { padding: 14px; border-bottom: 1px solid var(--line); }
    .orders-table tr:last-child { border-bottom: 0; }
    .orders-table td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; border: 0; text-align: start; }
    .orders-table td::before { content: attr(data-label); flex: 0 0 auto; color: var(--muted); font-weight: 800; }
    .orders-table td > * { min-width: 0; text-align: end; }
    .orders-table .orders-actions-inline { width: 100%; margin-top: 4px; }
    .order-reference { max-width: 170px; }
    .invoice-card { padding: 16px; }
    .invoice-head h2 { font-size: 22px; }
    .invoice-total-box strong { font-size: 26px; }
    .invoice-alert, .invoice-timeline > div, .invoice-grid > div { border-radius: 14px; }
    .space-room-head, .space-grid, .space-requests, .space-live-summary { padding: 18px 14px; }
    .space-room-head h1 { font-size: 32px; }
    .space-controls { padding: 14px; }
    .space-controls .button, .space-controls form, .livekit-actions, .livekit-actions .button { width: 100%; }
    .admin-nav, .search-tabs { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
}

.video-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 14px;
    background: #eef7f2;
    border: 1px solid var(--line);
}

.video-placeholder {
    display: grid;
    min-height: 260px;
    place-items: center;
    gap: 10px;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: #f8fbfa;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.video-placeholder small {
    display: block;
    max-width: 100%;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.video-view {
    display: grid;
    gap: 18px;
}

.video-player {
    display: block;
    width: min(100%, 520px);
    max-height: 74vh;
    margin-inline: auto;
    border-radius: 18px;
    background: #0f1f19;
    border: 1px solid var(--line);
}

.post-video {
    display: block;
    width: 100%;
    max-height: 560px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #0f1f19;
}

.post-video-placeholder {
    min-height: 180px;
}

.composer-recorder {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
}

.composer-recorder[hidden] {
    display: none;
}

.composer-recorder-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 32, 28, .45);
    backdrop-filter: blur(4px);
}

.composer-recorder-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    width: min(680px, 100%);
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 24px 80px rgba(21, 32, 28, .22);
}

.composer-recorder-panel h2 {
    margin: 0;
}

.composer-recorder-panel video {
    display: block;
    width: 100%;
    max-height: 62vh;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #0f1f19;
}

.composer-recorder-status {
    min-height: 22px;
    color: var(--muted);
    font-weight: 700;
}

.composer-recorder-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gift-box {
    position: relative;
    display: inline-block;
}

.gift-box > summary {
    list-style: none;
    cursor: pointer;
}

.gift-box > summary::-webkit-details-marker {
    display: none;
}

.gift-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(21, 32, 28, .42);
    backdrop-filter: blur(6px);
}

.gift-modal-card {
    width: min(560px, 100%);
    max-height: min(720px, 86vh);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 24px 80px rgba(21, 32, 28, .24);
}

.gift-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.gift-modal-head strong,
.gift-modal-head span {
    display: block;
}

.gift-modal-head span {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}

.gift-modal-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1.35rem;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
    gap: 12px;
    padding: 18px;
}

.gift-option button {
    display: grid;
    place-items: center;
    gap: 6px;
    width: 100%;
    min-height: 116px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(64, 148, 101, .08), rgba(255, 255, 255, .88));
    color: var(--text);
    cursor: pointer;
    font: inherit;
}

.gift-option button:hover {
    border-color: rgba(64, 148, 101, .38);
    box-shadow: 0 14px 32px rgba(21, 32, 28, .10);
}

.grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.live-room-feed {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(240px, .85fr) minmax(240px, .85fr);
    gap: 18px;
    align-items: start;
}

.live-stage {
    min-height: 360px;
}

.live-stage .empty-state {
    min-height: 220px;
    display: grid;
    place-content: center;
    text-align: center;
}

.live-video-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0f1714;
}

.live-video-panel.is-connected {
    border-color: rgba(12, 143, 99, .42);
    box-shadow: 0 18px 50px rgba(12, 143, 99, .12);
}

.live-video-toolbar {
    position: absolute;
    inset-inline: 16px;
    inset-block-start: 16px;
    z-index: 7;
    display: grid;
    grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 28px;
    color: white;
    background: rgba(0, 0, 0, .38);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
}

.live-video-toolbar .livekit-actions {
    display: flex;
    min-width: 0;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
}

.live-video-toolbar .livekit-actions::-webkit-scrollbar {
    display: none;
}

.live-video-toolbar .livekit-actions .button,
.live-video-toolbar .livekit-actions .live-quality-select {
    flex: 0 0 auto;
    white-space: nowrap;
}

.live-video-toolbar strong,
.live-video-toolbar small {
    display: block;
}

.live-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.live-video-count {
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .85);
}

.live-video-audio-status {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.live-video-audio-status.is-connected {
    color: var(--brand-dark);
    background: #dff8ed;
}

[data-live-video-enable-sound] {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}

.live-quality-select {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.12);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.live-quality-select option {
    color: #101816;
}

.live-video-stage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    min-height: 620px;
    padding: 12px;
    background: radial-gradient(circle at 50% 0, rgba(50, 159, 109, .24), transparent 36%), #0f1714;
}

.live-video-stage:fullscreen {
    min-height: 100vh;
    padding: 18px;
}

.live-video-stage.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.live-video-stage.is-single .live-video-tile {
    width: min(100%, 760px);
    margin: 0 auto;
}

.live-video-stage.is-landscape-mode {
    align-content: center;
}

.live-video-stage.is-landscape-mode .live-video-tile {
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.live-video-stage.is-landscape-mode .live-video-tile video {
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.live-video-empty {
    position: absolute;
    inset: 12px;
    display: grid;
    place-content: center;
    text-align: center;
    color: rgba(255, 255, 255, .88);
}

.live-entry-layer {
    overflow: hidden;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 24%, rgba(255,255,255,.12), transparent 34%), #07100d;
}

.live-entry-layer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--live-host-image);
    background-size: cover;
    background-position: center;
    filter: blur(24px) saturate(1.1);
    opacity: .22;
    transform: scale(1.12);
}

.live-entry-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.24) 38%, rgba(0,0,0,.72));
}

.live-entry-button {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    align-content: end;
    gap: 8px;
    width: min(420px, calc(100vw - 64px));
    min-height: min(72vh, 560px);
    padding: 26px 22px 34px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 28px;
    color: #fff;
    background: rgba(0,0,0,.16);
    box-shadow: 0 28px 80px rgba(0,0,0,.34);
    cursor: pointer;
    overflow: hidden;
}

.live-entry-photo,
.live-entry-shade {
    position: absolute;
    inset: 0;
}

.live-entry-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #101915;
}

.live-entry-photo-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.32);
    background: linear-gradient(135deg, #0c8f63, #0f1714);
    font-size: 9rem;
    font-weight: 900;
}

.live-entry-shade {
    background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.2) 38%, rgba(0,0,0,.72));
}

.live-entry-button strong {
    position: relative;
    z-index: 1;
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    line-height: 1.35;
    text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.live-entry-button small {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.82);
    font-weight: 800;
}

.live-entry-host,
.live-entry-live {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 13px;
    border-radius: 999px;
    font-weight: 900;
}

.live-entry-live {
    background: #f31174;
    color: #fff;
    letter-spacing: .04em;
}

.live-entry-host {
    background: rgba(255,255,255,.16);
    color: rgba(255,255,255,.92);
}

.live-entry-button.is-disabled {
    cursor: wait;
    opacity: .82;
}

.live-start-layer {
    position: absolute;
    inset: 12px;
    z-index: 8;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: right;
    background: radial-gradient(circle at 50% 20%, rgba(19, 151, 107, .28), transparent 38%), rgba(3, 10, 8, .72);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.live-start-layer[hidden] {
    display: none;
}

.live-start-card {
    width: min(440px, 100%);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    color: #fff;
    background: rgba(5, 18, 15, .86);
    box-shadow: 0 26px 90px rgba(0,0,0,.38);
    animation: liveStartPop .22s ease-out;
}

@keyframes liveStartPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.live-start-ready {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 5px 13px;
    border-radius: 999px;
    color: #dff8ed;
    background: rgba(20, 163, 117, .18);
    font-weight: 900;
}

.live-start-card h2 {
    margin: 12px 0 14px;
    color: #fff;
    font-size: 1.65rem;
}

.live-start-card input {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    color: #fff;
    background: rgba(255,255,255,.1);
    font: inherit;
    font-weight: 900;
}

.live-start-card input::placeholder {
    color: rgba(255,255,255,.62);
}

.live-start-button {
    width: 100%;
    margin-top: 14px;
    justify-content: center;
    background: #f31174;
    box-shadow: 0 16px 42px rgba(243, 17, 116, .28);
}

.live-start-card small {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.72);
    font-weight: 800;
    line-height: 1.7;
}

.live-video-empty[hidden] {
    display: none;
}

.live-video-empty h2 {
    margin: 0 0 8px;
    color: white;
}

.live-video-empty p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.live-video-tile {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 16px;
    background: #050807;
}

.live-video-tile video {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.live-video-screen-tile {
    border: 2px solid rgba(255,255,255,.2);
}

.live-interaction-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 86px 18px 18px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.42), transparent 24%, rgba(0,0,0,.68));
}

.live-interaction-overlay[hidden] {
    display: none;
}

.live-overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    pointer-events: auto;
}

.live-overlay-host {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
    border-radius: 999px;
    background: rgba(0,0,0,.34);
    backdrop-filter: blur(12px);
}

.live-overlay-close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
}

.live-overlay-host-avatar {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
}

.live-overlay-host-avatar img,
.live-overlay-host-avatar > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid rgba(255,255,255,.78);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #0c8f63, #111);
    object-fit: cover;
    font-weight: 900;
}

.live-overlay-host-avatar small {
    position: absolute;
    inset-inline: 50% auto;
    inset-block-end: -9px;
    min-width: 30px;
    padding: 2px 7px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.58);
    box-shadow: 0 8px 18px rgba(0,0,0,.28);
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    backdrop-filter: blur(10px);
}

.live-overlay-host-avatar small::before {
    content: "♥ ";
    color: #ff2b7c;
}

.live-overlay-host > div {
    min-width: 0;
}

.live-overlay-top strong,
.live-overlay-top small {
    display: block;
    text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

.live-overlay-top strong {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-overlay-actions {
    display: flex;
    max-width: min(68%, 760px);
    min-width: 0;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    scrollbar-width: none;
}

.live-overlay-actions::-webkit-scrollbar {
    display: none;
}

.live-overlay-actions button,
.live-overlay-actions span {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 34px;
    align-items: center;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.36);
    font-weight: 900;
    cursor: pointer;
}

.live-overlay-actions span {
    background: #f31174;
    cursor: default;
}

.live-overlay-actions .live-overlay-viewers {
    background: rgba(0,0,0,.36);
}

.live-overlay-actions [data-live-overlay-toggle-chat],
.live-overlay-actions [data-live-overlay-gift-toggle],
.live-overlay-actions [data-live-overlay-moderator-toggle] {
    display: none;
}

.live-overlay-actions .live-overlay-end-button {
    background: rgba(190, 28, 28, .78);
}

.live-end-confirm-layer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, .58);
    backdrop-filter: blur(14px);
}

.live-end-confirm-layer[hidden] {
    display: none;
}

.live-end-confirm-card {
    position: relative;
    display: grid;
    width: min(440px, 100%);
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(180deg, rgba(16, 28, 24, .96), rgba(6, 19, 15, .96));
    box-shadow: 0 28px 90px rgba(0,0,0,.42);
    text-align: center;
}

.live-end-confirm-close {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.12);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.live-end-confirm-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    justify-self: center;
    border-radius: 50%;
    color: #fff;
    background: #c51d1d;
    box-shadow: 0 18px 44px rgba(197, 29, 29, .34);
    font-size: 28px;
}

.live-end-confirm-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.55rem;
}

.live-end-confirm-card p {
    margin: 0;
    color: rgba(255,255,255,.76);
    line-height: 1.8;
}

.live-end-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.live-end-confirm-actions .button {
    width: 100%;
}

.live-overlay-chat {
    align-self: end;
    display: grid;
    align-content: end;
    gap: 8px;
    max-height: min(44vh, 320px);
    overflow: hidden;
    color: #fff;
    pointer-events: none;
}

.live-overlay-chat .live-chat-message {
    width: fit-content;
    max-width: min(88%, 520px);
    color: #fff;
    background: rgba(0,0,0,.36);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.live-overlay-chat .live-chat-message strong {
    color: #fff;
}

.live-overlay-gifts {
    display: flex;
    gap: 8px;
    min-height: 38px;
    overflow: hidden;
    pointer-events: none;
}

.live-interaction-overlay.is-chat-hidden .live-overlay-chat {
    opacity: 0;
    pointer-events: none;
}

.live-overlay-gifts .notification-row {
    width: fit-content;
    max-width: 260px;
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.36);
    backdrop-filter: blur(8px);
}

.live-notification-gift-icon {
    width: 24px;
    height: 24px;
    margin-inline-end: 6px;
    object-fit: contain;
    vertical-align: middle;
}

.live-gift-animation-layer {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: grid;
    place-items: center;
    padding: 24px;
    pointer-events: none;
}

.live-gift-animation-layer[hidden] {
    display: none;
}

.live-gift-animation-card {
    position: relative;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 24px rgba(0,0,0,.65);
    transform-style: preserve-3d;
    perspective: 900px;
    animation: liveGift3D 5.4s cubic-bezier(.17,.84,.28,1) both;
}

.live-gift-animation-layer.is-royal-lion .live-gift-animation-card {
    width: 100%;
    min-height: 100%;
    animation: liveRoyalLionEntrance 8s cubic-bezier(.16,.86,.22,1) both;
}

.live-gift-animation-layer.is-royal-lion .live-gift-animation-card::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 58%, rgba(255, 173, 27, .34), transparent 32%),
        radial-gradient(circle at 30% 72%, rgba(255, 65, 22, .28), transparent 22%),
        radial-gradient(circle at 68% 76%, rgba(255, 205, 71, .24), transparent 24%);
    opacity: 0;
    animation: liveRoyalLionFire 8s ease-in-out both;
}

.live-gift-animation-layer.is-royal-lion .live-gift-animation-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle, rgba(255, 219, 109, .9) 0 2px, transparent 3px) 8% 18% / 82px 82px,
        radial-gradient(circle, rgba(255, 158, 38, .78) 0 2px, transparent 3px) 74% 22% / 96px 96px,
        radial-gradient(circle, rgba(255, 241, 178, .82) 0 1px, transparent 3px) 46% 76% / 72px 72px;
    opacity: 0;
    animation: liveRoyalLionParticles 8s linear both;
}

.live-gift-lottie-stage,
.live-gift-animation-card video {
    width: min(92vw, 820px);
    max-height: 72vh;
    object-fit: contain;
    filter: drop-shadow(0 34px 70px rgba(0,0,0,.62));
}

.live-gift-animation-card video[hidden],
.live-gift-lottie-stage[hidden] {
    display: none;
}

.live-gift-crown {
    position: absolute;
    z-index: 3;
    inset-block-start: clamp(7%, 11vh, 15%);
    inset-inline-start: 50%;
    transform: translateX(-50%) rotate(-5deg);
    color: #ffd76a;
    text-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 26px rgba(255,210,84,.58);
    font-size: clamp(4rem, 14vw, 9rem);
    line-height: 1;
    animation: liveRoyalCrownFloat 8s ease-in-out both;
}

.live-gift-premium-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.live-gift-premium-effects span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffd76a;
    box-shadow: 0 0 22px rgba(255,215,106,.95);
    opacity: 0;
}

.live-gift-premium-effects span:nth-child(1) { inset: 18% auto auto 12%; animation: liveRoyalSpark 8s .2s ease-in-out both; }
.live-gift-premium-effects span:nth-child(2) { inset: 30% 12% auto auto; animation: liveRoyalSpark 8s .65s ease-in-out both; }
.live-gift-premium-effects span:nth-child(3) { inset: auto 18% 18% auto; animation: liveRoyalSpark 8s 1s ease-in-out both; }
.live-gift-premium-effects span:nth-child(4) { inset: auto auto 26% 16%; animation: liveRoyalSpark 8s 1.35s ease-in-out both; }
.live-gift-premium-effects span:nth-child(5) { inset: 54% auto auto 50%; animation: liveRoyalSpark 8s 1.7s ease-in-out both; }
.live-gift-premium-effects span:nth-child(6) { inset: 14% 42% auto auto; animation: liveRoyalSpark 8s 2.05s ease-in-out both; }
}

.live-gift-animation-card img {
    width: min(78vw, 560px);
    max-height: 58vh;
    object-fit: contain;
    filter: drop-shadow(0 28px 54px rgba(0,0,0,.56)) saturate(1.08) contrast(1.04);
    transform: translateZ(90px);
}

.live-gift-animation-card img[hidden] {
    display: none;
}

.live-gift-animation-card [data-live-gift-animation-symbol] {
    display: grid;
    width: min(48vw, 280px);
    height: min(48vw, 280px);
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.38), rgba(243,17,116,.82));
    box-shadow: 0 28px 80px rgba(243,17,116,.34);
    font-size: clamp(5rem, 20vw, 12rem);
    line-height: 1;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,.45));
    transform: translateZ(70px);
}

.live-gift-animation-card [data-live-gift-animation-symbol][hidden] {
    display: none;
}

.live-gift-animation-card strong {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(0,0,0,.38);
    backdrop-filter: blur(10px);
    font-size: clamp(1.15rem, 3.5vw, 2rem);
    font-weight: 1000;
}

.live-gift-animation-layer.is-lion [data-live-gift-animation-symbol] {
    background: radial-gradient(circle at 35% 22%, rgba(255,255,255,.52), rgba(255,189,64,.88) 42%, rgba(126,53,8,.92));
    box-shadow: 0 32px 90px rgba(255,178,44,.45), inset 0 -18px 48px rgba(0,0,0,.18);
}

.live-gift-animation-layer.is-lion .live-gift-animation-card img {
    animation: liveGiftImageBreath 1.15s ease-in-out infinite alternate;
}

.live-gift-animation-layer.is-royal-lion .live-gift-animation-card img {
    width: min(94vw, 820px);
    max-height: 68vh;
    animation: liveRoyalLionImage 8s cubic-bezier(.16,.86,.22,1) both;
    filter: drop-shadow(0 38px 76px rgba(0,0,0,.64)) saturate(1.22) contrast(1.08);
}

.live-video-panel.is-gift-roaring {
    animation: liveGiftCameraShake .9s linear both;
}

.live-gift-animation-layer.is-falcon .live-gift-animation-card {
    animation-name: liveGiftFalcon;
}

.live-gift-animation-layer.is-falcon [data-live-gift-animation-symbol] {
    background: radial-gradient(circle at 36% 22%, rgba(255,255,255,.58), rgba(61,181,255,.82) 42%, rgba(16,43,92,.94));
    box-shadow: 0 34px 94px rgba(61,181,255,.34), inset 0 -18px 48px rgba(0,0,0,.2);
}

.live-gift-animation-layer.is-falcon .live-gift-animation-card img {
    animation: liveGiftWingHover .52s ease-in-out infinite alternate;
}

.live-gift-animation-layer.is-wolf .live-gift-animation-card {
    animation-name: liveGiftWolf;
}

.live-gift-animation-layer.is-wolf [data-live-gift-animation-symbol] {
    background: radial-gradient(circle at 36% 22%, rgba(255,255,255,.52), rgba(164,180,202,.9) 42%, rgba(37,49,68,.96));
    box-shadow: 0 34px 94px rgba(190,205,226,.28), inset 0 -18px 48px rgba(0,0,0,.24);
}

.live-gift-animation-layer.is-wolf .live-gift-animation-card img {
    animation: liveGiftHowlLift .9s ease-in-out infinite alternate;
}

@keyframes liveLionGift {
    0% { opacity: 0; transform: scale(.46) translateY(32px) rotate(-5deg); }
    14% { opacity: 1; transform: scale(1.08) translateY(0) rotate(2deg); }
    28% { transform: scale(.98) rotate(-1deg); }
    58% { opacity: 1; transform: scale(1.02) rotate(1deg); }
    100% { opacity: 0; transform: scale(1.28) translateY(-40px); }
}

@keyframes liveGift3D {
    0% { opacity: 0; transform: translateY(36px) scale(.34) rotateX(30deg) rotateY(-28deg); }
    14% { opacity: 1; transform: translateY(0) scale(1.08) rotateX(0deg) rotateY(12deg); }
    30% { transform: scale(.98) rotateY(-10deg); }
    54% { opacity: 1; transform: scale(1.06) rotateY(8deg) translateZ(18px); }
    78% { opacity: 1; transform: scale(1.02) rotateY(-4deg); }
    100% { opacity: 0; transform: translateY(-54px) scale(1.34) rotateX(-12deg) rotateY(20deg); }
}

@keyframes liveRoyalLionEntrance {
    0% { opacity: 0; transform: translateX(-72vw) translateY(8vh) scale(.62) rotateY(-26deg); }
    16% { opacity: 1; transform: translateX(-8vw) translateY(0) scale(1.02) rotateY(10deg); }
    28% { transform: translateX(0) translateY(0) scale(1.08) rotateY(-6deg); }
    38% { transform: translateX(0) translateY(-1vh) scale(1.16) rotateY(0); }
    54% { opacity: 1; transform: translateX(0) translateY(0) scale(1.08) rotateY(5deg); }
    76% { opacity: 1; transform: translateX(3vw) translateY(-1vh) scale(1.02) rotateY(-5deg); }
    100% { opacity: 0; transform: translateX(64vw) translateY(-5vh) scale(.86) rotateY(24deg); }
}

@keyframes liveRoyalLionImage {
    0%, 15% { transform: translateZ(90px) scale(.98); }
    29% { transform: translateZ(110px) scale(1.03) rotate(-1deg); }
    38% { transform: translateZ(150px) scale(1.16) rotate(1deg); }
    48% { transform: translateZ(105px) scale(1.04); }
    76% { transform: translateZ(95px) scale(1); }
    100% { transform: translateZ(80px) scale(.94); }
}

@keyframes liveRoyalLionFire {
    0%, 16% { opacity: 0; transform: scale(.72); }
    30% { opacity: .8; transform: scale(1); }
    42% { opacity: 1; transform: scale(1.18); }
    72% { opacity: .55; transform: scale(1.02); }
    100% { opacity: 0; transform: scale(1.32); }
}

@keyframes liveRoyalLionParticles {
    0%, 14% { opacity: 0; transform: translateY(28px) scale(.8); }
    28% { opacity: .95; transform: translateY(0) scale(1); }
    54% { opacity: .9; transform: translateY(-28px) scale(1.06); }
    100% { opacity: 0; transform: translateY(-92px) scale(1.22); }
}

@keyframes liveRoyalSpark {
    0%, 12% { opacity: 0; transform: translateY(34px) scale(.5); }
    28% { opacity: 1; transform: translateY(0) scale(1.05); }
    58% { opacity: .82; transform: translateY(-42px) scale(.82); }
    100% { opacity: 0; transform: translateY(-116px) scale(.2); }
}

@keyframes liveRoyalCrownFloat {
    0%, 13% { opacity: 0; transform: translateX(-50%) translateY(28px) scale(.62) rotate(-13deg); }
    24% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.08) rotate(-5deg); }
    42% { transform: translateX(-50%) translateY(-12px) scale(1.18) rotate(4deg); }
    72% { opacity: 1; transform: translateX(-50%) translateY(-4px) scale(1.02) rotate(-3deg); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-44px) scale(.82) rotate(8deg); }
}

@keyframes liveGiftCameraShake {
    0%, 100% { transform: translate3d(0,0,0); }
    10% { transform: translate3d(-7px, 4px, 0) rotate(-.35deg); }
    20% { transform: translate3d(8px, -5px, 0) rotate(.38deg); }
    30% { transform: translate3d(-9px, 3px, 0) rotate(-.42deg); }
    40% { transform: translate3d(7px, 5px, 0) rotate(.35deg); }
    50% { transform: translate3d(-6px, -4px, 0) rotate(-.28deg); }
    60% { transform: translate3d(5px, 3px, 0) rotate(.24deg); }
    75% { transform: translate3d(-3px, 2px, 0) rotate(-.16deg); }
}

@keyframes liveGiftFalcon {
    0% { opacity: 0; transform: translate(-34vw, 18px) scale(.38) rotate(-18deg); }
    16% { opacity: 1; transform: translate(-5vw, 0) scale(1.05) rotate(8deg); }
    42% { transform: translate(6vw, -18px) scale(1.12) rotate(-7deg); }
    70% { opacity: 1; transform: translate(0, 0) scale(1) rotate(3deg); }
    100% { opacity: 0; transform: translate(26vw, -52px) scale(1.24) rotate(17deg); }
}

@keyframes liveGiftWolf {
    0% { opacity: 0; transform: scale(.42) translateY(28px); }
    16% { opacity: 1; transform: scale(1.02) translateY(0); }
    28% { transform: scale(1.14) rotate(-2deg); }
    40% { transform: scale(.98) rotate(2deg); }
    62% { opacity: 1; transform: scale(1.08); }
    100% { opacity: 0; transform: scale(1.3) translateY(-44px); }
}

@keyframes liveGiftImageBreath {
    from { transform: translateZ(90px) scale(.98) rotate(-1deg); }
    to { transform: translateZ(90px) scale(1.04) rotate(1deg); }
}

@keyframes liveGiftWingHover {
    from { transform: translateZ(90px) translateY(4px) rotate(-2deg); }
    to { transform: translateZ(90px) translateY(-8px) rotate(3deg); }
}

@keyframes liveGiftHowlLift {
    from { transform: translateZ(90px) translateY(6px) scale(.99); }
    to { transform: translateZ(90px) translateY(-10px) scale(1.04); }
}

.live-overlay-compose {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
    pointer-events: auto;
    padding: 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(16px);
}

.live-overlay-compose input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 54px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.34);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
    direction: rtl;
    text-align: right;
    font-size: 1.05rem;
}

.live-overlay-compose input::placeholder {
    color: rgba(255,255,255,.78);
}

.live-overlay-compose button,
.live-overlay-action-button,
.live-overlay-gift-jump,
.live-overlay-icon-button {
    display: inline-flex;
    flex: 0 0 auto;
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0,0,0,.38);
    box-shadow: 0 12px 30px rgba(0,0,0,.26);
    backdrop-filter: blur(14px);
    font-weight: 900;
    cursor: pointer;
    font-size: 1.55rem;
}

.live-overlay-gift-jump {
    background: linear-gradient(135deg, #ff1b7c, #f31174);
    font-size: 1.55rem;
}

.live-overlay-action-button {
    background: rgba(0,0,0,.38);
    font-size: 1.55rem;
}

.live-overlay-gift-sound-toggle.is-muted {
    background: rgba(120,120,120,.42);
}

.live-overlay-share-button {
    position: relative;
    display: grid;
    place-items: center;
    gap: 0;
}

.live-overlay-share-button span {
    display: block;
    transform: rotate(180deg);
    font-size: 1.55rem;
    line-height: 1;
}

.live-overlay-share-button small {
    position: absolute;
    inset-inline: 50% auto;
    inset-block-end: 6px;
    min-width: 20px;
    padding: 0 4px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.34);
    transform: translateX(-50%);
    font-size: .72rem;
    font-weight: 1000;
    line-height: 1.25;
}

.live-overlay-share-button.is-done {
    background: rgba(12, 143, 99, .72);
}

.live-overlay-icon-button {
    background: rgba(0,0,0,.38);
    color: #fff;
    font-size: 1.55rem;
}

.live-overlay-send-button {
    display: none !important;
}

.live-overlay-guest-jump,
.live-overlay-moderator-jump {
    position: relative;
    background: radial-gradient(circle at 30% 25%, #22e4d4, #f31174 56%, rgba(0,0,0,.38));
}

.live-overlay-moderator-jump span {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
}

.live-overlay-moderator-jump small {
    position: absolute;
    inset-inline-end: 4px;
    inset-block-start: 4px;
    min-width: 18px;
    padding: 1px 5px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.45);
    font-size: .68rem;
    font-weight: 1000;
    line-height: 1.25;
}

.live-overlay-rose-jump {
    background: radial-gradient(circle at 30% 25%, #ff88ba, #f31174 58%, rgba(0,0,0,.38));
}

.live-overlay-gift-sheet,
.live-overlay-guest-sheet {
    position: absolute;
    inset-inline: 18px;
    inset-block-end: 78px;
    z-index: 6;
    display: grid;
    gap: 10px;
    max-height: min(48vh, 360px);
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    color: #fff;
    background: rgba(8, 17, 14, .84);
    box-shadow: 0 22px 70px rgba(0,0,0,.38);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.live-overlay-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-overlay-sheet-head button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.14);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.live-overlay-gift-sheet[hidden],
.live-overlay-guest-sheet[hidden] {
    display: none;
}

.live-overlay-gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.live-overlay-gift-card button {
    min-height: 96px;
    border-color: rgba(255,255,255,.2);
    color: #fff;
    background: rgba(255,255,255,.12);
}

.live-overlay-gift-card small {
    color: rgba(255,255,255,.78);
}

.live-overlay-guest-sheet p {
    margin: 0;
    color: rgba(255,255,255,.82);
    line-height: 1.8;
}

.live-overlay-guest-form {
    margin-top: 10px;
}

.live-overlay-guest-form button {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #0c8f63;
    font-weight: 900;
    cursor: pointer;
}

.live-overlay-request-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    transition: opacity .18s ease, transform .18s ease;
}

.live-overlay-request-row.is-reviewed,
.live-guest-request-row.is-reviewed {
    opacity: 0;
    transform: translateY(-6px);
}

.live-overlay-request-row small {
    display: block;
    color: rgba(255,255,255,.68);
}

.live-overlay-request-row > div:last-child {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.live-overlay-request-row form {
    margin: 0;
}

.live-overlay-request-row button {
    min-height: 36px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #0c8f63;
    font-weight: 900;
    cursor: pointer;
}

.live-overlay-request-row form:last-child button {
    background: rgba(255,255,255,.16);
}

.live-overlay-request-row button.is-danger {
    background: var(--danger);
}

.live-tap-heart {
    position: absolute;
    z-index: 7;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    pointer-events: none;
    color: #ff2b7c;
    text-shadow: 0 8px 18px rgba(0,0,0,.35);
    animation: liveTapHeart .86s ease-out both;
    font-size: 38px;
    line-height: 1;
}

@keyframes liveTapHeart {
    0% { opacity: 0; transform: scale(.5) translateY(12px) rotate(-8deg); }
    22% { opacity: 1; transform: scale(1.08) translateY(0) rotate(5deg); }
    100% { opacity: 0; transform: scale(1.32) translateY(-70px) rotate(-2deg); }
}

body.live-watch-active .live-video-panel {
    scroll-margin-top: 84px;
}

body.live-watch-active .live-video-toolbar {
    grid-template-columns: minmax(0, 1fr);
    background: rgba(0, 0, 0, .34);
}

body.live-watch-active .live-video-toolbar > div:first-child {
    display: none;
}

body.live-watch-active .live-video-toolbar .button,
body.live-watch-active .live-video-toolbar .live-quality-select {
    min-height: 36px;
    padding: 6px 11px;
    font-size: .86rem;
}

.live-video-label {
    position: absolute;
    inset-inline-start: 14px;
    bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: white;
    font-size: .86rem;
    font-weight: 800;
}

.live-video-off-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    color: rgba(255, 255, 255, .9);
    background: rgba(0, 0, 0, .62);
    font-size: 1.25rem;
    font-weight: 900;
}

.live-video-off-label[hidden] {
    display: none;
}

.live-guest-panel {
    display: grid;
    gap: 12px;
}

.live-guest-panel h2 {
    margin: 0;
}

.live-guest-request-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.live-guest-request-row small {
    display: block;
    color: var(--muted);
}

.live-chat-panel {
    display: grid;
    gap: 12px;
}

.live-chat-list {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 240px;
    max-height: 360px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fbfa;
}

.live-chat-message {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(21, 32, 28, .06);
}

.live-chat-message strong {
    color: var(--brand-dark);
    font-size: .9rem;
}

.live-chat-message span {
    overflow-wrap: anywhere;
}

.live-chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.live-chat-form input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.live-chat-status {
    grid-column: 1 / -1;
    min-height: 20px;
}

.gift-card {
    margin: 0;
}

.gift-card button {
    display: grid;
    place-items: center;
    gap: 6px;
    width: 100%;
    min-height: 116px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(64, 148, 101, .08), rgba(255, 255, 255, .88));
    color: var(--text);
    cursor: pointer;
    font: inherit;
}

.gift-card button:hover {
    border-color: rgba(64, 148, 101, .38);
    box-shadow: 0 14px 32px rgba(21, 32, 28, .10);
}

.gift-option-symbol {
    font-size: 2rem;
    line-height: 1;
}

.gift-option-icon,
.gift-admin-icon {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 12px;
}

.gift-admin-symbol.gift-admin-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    object-fit: contain;
    padding: 4px;
}

.gift-option small {
    color: var(--muted);
    font-weight: 800;
}

.gift-admin-form,
.gift-edit-form,
.points-adjust-form {
    display: grid;
    gap: 12px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-form-grid label,
.admin-filter label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 800;
}

.gift-edit-form {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    align-items: end;
}

.gift-edit-form .checkbox-row {
    align-self: center;
}

.gift-admin-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gift-admin-symbol {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(64, 148, 101, .10);
    font-size: 1.45rem;
}

.gift-admin-meta {
    display: grid;
    gap: 4px;
    min-width: 180px;
}

.gift-admin-meta small {
    color: var(--muted);
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
    overflow-wrap: anywhere;
}

.gift-admin-upload-note {
    color: var(--muted);
    font-size: .86rem;
}

.gift-edit-form input[type="file"] {
    min-width: 180px;
}

.gift-admin-type {
    display: inline-flex;
    width: max-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(9, 145, 103, .10);
    color: var(--brand);
    font-weight: 900;
}

.points-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.points-adjust-form {
    grid-template-columns: 110px minmax(140px, 1fr) auto;
    align-items: center;
}

@media (max-width: 720px) {
    body.live-room-page,
    body:has(.live-video-panel) {
        background: #020705;
    }

    body.live-room-page .site-header,
    body.live-room-page .site-footer,
    body.live-room-page .site-announcement,
    body:has(.live-video-panel) .site-header,
    body:has(.live-video-panel) .site-footer,
    body:has(.live-video-panel) .site-announcement {
        display: none;
    }

    body.live-room-page .location-consent,
    body:has(.live-video-panel) .location-consent {
        position: fixed;
        inset: auto 12px calc(env(safe-area-inset-bottom, 0px) + 88px);
        z-index: 1200;
        width: auto;
        margin: 0;
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(5, 17, 13, 0.92);
        color: #fff;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    }

    body.live-room-page .location-consent p,
    body:has(.live-video-panel) .location-consent p {
        color: rgba(255, 255, 255, 0.78);
    }

    body.live-room-page .location-consent small,
    body:has(.live-video-panel) .location-consent small {
        color: #9df4cf;
    }

    body.live-room-page .main,
    body:has(.live-video-panel) .main {
        width: 100%;
        max-width: none;
        min-height: 100dvh;
        padding: 0;
    }

    body.live-room-page .content-column,
    body:has(.live-video-panel) .content-column {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .gift-edit-form,
    .points-adjust-form {
        grid-template-columns: 1fr;
    }

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

    .grid-two {
        grid-template-columns: 1fr;
    }

    .live-room-feed {
        grid-template-columns: 1fr;
    }

    body:has(.live-video-panel) .live-room-feed,
    body:has(.live-video-panel) .live-stage > .live-guest-panel {
        display: none;
    }

    .live-stage {
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .live-stage > .section-heading {
        display: none;
    }

    .live-video-panel {
        margin: 0;
        width: 100%;
        min-height: calc(100dvh - env(safe-area-inset-bottom));
        border-radius: 0;
        border-inline: 0;
        border-block: 0;
        background: #020705;
        overflow: hidden;
    }

    .live-video-toolbar {
        position: absolute;
        inset-inline: 10px;
        inset-block-start: calc(8px + env(safe-area-inset-top));
        z-index: 7;
        display: flex;
        align-items: center;
        width: auto;
        max-width: calc(100vw - 20px);
        min-width: 0;
        padding: 6px;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 999px;
        background: rgba(0,0,0,.28);
        box-shadow: 0 16px 34px rgba(0,0,0,.24);
        backdrop-filter: blur(14px);
        overflow: hidden;
        pointer-events: auto;
    }

    .live-video-toolbar .livekit-actions {
        display: flex;
        width: 100%;
        min-width: 0;
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-inline: 1px;
        pointer-events: auto;
        scroll-padding-inline: 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .live-video-toolbar .livekit-actions::-webkit-scrollbar {
        display: none;
    }

    .live-video-toolbar .livekit-actions .button {
        width: auto;
        flex: 0 0 auto;
        min-height: 38px;
        padding: 7px 12px;
        border-radius: 999px;
        white-space: nowrap;
        font-size: .82rem;
    }

    .live-video-toolbar > div:first-child {
        display: none;
    }

    .live-video-toolbar .live-quality-select {
        flex: 0 0 auto;
        min-height: 38px;
        max-width: 88px;
        padding: 7px 10px;
        border-radius: 999px;
        font-size: .82rem;
    }

    .live-video-stage {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(0, 1fr);
        min-height: calc(100dvh - env(safe-area-inset-bottom));
        height: calc(100dvh - env(safe-area-inset-bottom));
        padding: 0;
        gap: 0;
        border-radius: 0;
        background: #020705;
    }

    .live-video-stage.has-many {
        grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
        align-content: stretch;
    }

    .live-video-tile,
    .live-video-tile video {
        min-height: calc(100dvh - env(safe-area-inset-bottom));
        border-radius: 0;
    }

    .live-video-stage.has-many .live-video-tile,
    .live-video-stage.has-many .live-video-tile video {
        min-height: 0;
        height: 100%;
    }

    .live-video-tile video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .live-interaction-overlay {
        grid-template-rows: auto minmax(0, 1fr) auto;
        padding: calc(60px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom));
        gap: 7px;
        background: linear-gradient(180deg, rgba(0,0,0,.48), rgba(0,0,0,.04) 36%, rgba(0,0,0,.82));
    }

    .live-overlay-top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
    }

    .live-overlay-host {
        justify-self: end;
        align-self: flex-end;
        max-width: calc(100vw - 18px);
        margin-inline-start: auto;
        padding-inline-end: 9px;
        background: rgba(0,0,0,.42);
        overflow: hidden;
    }

    .live-overlay-close {
        width: 28px;
        height: 28px;
        font-size: 25px;
    }

    .live-overlay-host-avatar img,
    .live-overlay-host-avatar > span {
        width: 36px;
        height: 36px;
    }

    .live-overlay-host-avatar small {
        min-width: 28px;
        inset-block-end: -8px;
        padding: 1px 6px;
        font-size: 10px;
    }

    .live-overlay-top strong {
        max-width: 112px;
        font-size: .9rem;
    }

    .live-overlay-chat {
        align-self: end;
        max-height: 30vh;
        overflow-y: auto;
        padding-block-end: 4px;
    }

    .live-overlay-chat .live-chat-message {
        max-width: 86%;
        padding: 7px 10px;
        border-radius: 16px;
        background: rgba(0,0,0,.22);
        font-size: .9rem;
    }

    .live-overlay-compose {
        position: relative;
        z-index: 5;
        width: 100%;
        max-width: 100%;
        gap: 7px;
        padding: 6px;
        border-radius: 999px;
        background: rgba(0,0,0,.26);
        box-shadow: 0 12px 34px rgba(0,0,0,.24);
        backdrop-filter: blur(18px);
    }

    .live-overlay-send-button {
        display: none;
    }

    .live-overlay-compose button,
    .live-overlay-action-button,
    .live-overlay-gift-jump,
    .live-overlay-icon-button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        font-size: 1.18rem;
    }

    .live-overlay-compose input {
        min-height: 44px;
        padding-inline: 12px;
        font-size: .98rem;
    }

    .live-overlay-actions {
        width: 100%;
        max-width: 100%;
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-inline: 0;
        padding-block: 2px;
        scroll-padding-inline: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .live-overlay-actions button,
    .live-overlay-actions span {
        flex: 0 0 auto;
        min-height: 31px;
        padding: 5px 10px;
        font-size: .8rem;
        background: rgba(0,0,0,.44);
        backdrop-filter: blur(12px);
    }

    .live-overlay-actions span {
        background: #f31174;
    }

    .live-overlay-actions .live-overlay-end-button {
        background: rgba(190, 28, 28, .86);
    }

    .live-overlay-gift-sheet,
    .live-overlay-guest-sheet {
        inset-inline: 8px;
        inset-block-end: calc(64px + env(safe-area-inset-bottom));
        max-height: min(42vh, 360px);
        padding: 11px;
        border-radius: 22px 22px 16px 16px;
        background: rgba(4,12,9,.9);
        backdrop-filter: blur(18px);
    }

    .live-overlay-moderator-sheet {
        max-height: 32vh;
    }

    .live-overlay-sheet-head strong {
        font-size: 1rem;
    }

    .live-overlay-guest-sheet p {
        line-height: 1.55;
        font-size: .94rem;
    }

    .live-overlay-request-row {
        gap: 8px;
        padding: 8px 0;
    }

    .live-overlay-request-row button {
        min-height: 32px;
        padding: 5px 10px;
        font-size: .82rem;
    }

    .live-overlay-gift-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .live-overlay-gift-card button {
        min-height: 92px;
        padding: 8px 4px;
        border-radius: 16px;
    }

    .live-overlay-gift-card strong,
    .live-overlay-gift-card small {
        font-size: .78rem;
    }

    .live-gift-animation-layer {
        padding: 12px;
    }

    .live-gift-animation-layer.is-royal-lion .live-gift-animation-card img,
    .live-gift-lottie-stage,
    .live-gift-animation-card video {
        width: 118vw;
        max-width: 118vw;
        max-height: 64vh;
    }

    .live-gift-crown {
        inset-block-start: 8vh;
        font-size: clamp(3.6rem, 18vw, 6.5rem);
    }

    .live-end-confirm-layer {
        padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
        background: rgba(0, 0, 0, .62);
        backdrop-filter: blur(18px);
    }

    .live-end-confirm-card {
        width: min(100%, 360px);
        gap: 18px;
        padding: 30px 24px 24px;
        border-radius: 28px;
        background: linear-gradient(180deg, rgba(9, 28, 22, .95), rgba(3, 15, 12, .96));
        box-shadow: 0 34px 100px rgba(0,0,0,.56);
    }

    .live-end-confirm-close {
        inset-block-start: 14px;
        inset-inline-start: 14px;
        width: 42px;
        height: 42px;
        background: rgba(255,255,255,.12);
        font-size: 30px;
    }

    .live-end-confirm-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .live-end-confirm-card h2 {
        font-size: 1.65rem;
    }

    .live-end-confirm-card p {
        font-size: 1rem;
        line-height: 1.9;
    }

    .live-end-confirm-actions {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .live-end-confirm-actions .button {
        min-height: 64px;
        border-radius: 999px;
        font-size: 1.08rem;
    }

    .live-video-empty {
        padding: 20px;
    }

    .live-entry-button {
        width: min(100%, 380px);
        min-height: min(76dvh, 620px);
        border-radius: 24px;
    }

    .live-video-empty h2 {
        font-size: 1.35rem;
    }

    .live-chat-list {
        max-height: 300px;
    }

    .live-chat-form {
        grid-template-columns: 1fr;
    }
}

@media print {
    .site-header, .site-footer, .section-heading, .invoice-actions { display: none !important; }
    body { background: white; }
    .main { padding: 0; }
    .content-column { width: 100%; }
    .invoice-card { border: 0; box-shadow: none; }
}

.seo-dashboard .admin-hero-actions,
.seo-report-actions,
.seo-indexing-tool,
.seo-indexing-tool form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.seo-indexing-tool {
    justify-content: space-between;
}

.seo-indexing-tool form {
    flex: 1 1 420px;
    justify-content: flex-end;
}

.seo-indexing-tool input {
    flex: 1 1 260px;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0 18px;
    background: var(--surface);
    color: var(--text);
}

.seo-score-grid .stat strong {
    color: var(--brand);
}

.seo-score-card strong {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.seo-bars {
    display: grid;
    gap: 14px;
}

.seo-bar-row {
    display: grid;
    grid-template-columns: minmax(90px, 150px) 1fr auto;
    gap: 12px;
    align-items: center;
}

.seo-bar-row > div {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 143, 103, .12);
}

.seo-bar-row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), #ef0f78);
}

.seo-score-pill {
    display: inline-flex;
    min-width: 70px;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 10px;
    color: white;
    background: var(--brand);
    font-weight: 800;
}

.seo-alert-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.seo-alert-item:last-child {
    border-bottom: 0;
}

.seo-alert-item p {
    margin: 6px 0;
    color: var(--muted);
}

@media (max-width: 720px) {
    .seo-indexing-tool,
    .seo-indexing-tool form,
    .seo-dashboard .admin-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .seo-indexing-tool form,
    .seo-indexing-tool input,
    .seo-indexing-tool .button {
        width: 100%;
    }

    .seo-bar-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile live room polish: keeps the live experience inside the phone viewport. */
@media (max-width: 720px) {
    html:has(body.live-room-page),
    body.live-room-page {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        background: #020705;
    }

    body.live-room-page {
        overscroll-behavior-y: contain;
    }

    body.live-room-page .main,
    body.live-room-page .container,
    body.live-room-page .content-column {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    body.live-room-page .live-stage,
    body.live-room-page .live-video-panel,
    body.live-room-page .live-video-stage {
        width: 100%;
        max-width: 100vw;
        min-width: 0;
        border-radius: 0;
    }

    body.live-room-page .live-video-panel {
        min-height: 100svh;
        min-height: 100dvh;
        border: 0;
        box-shadow: none;
    }

    body.live-room-page .live-video-stage {
        height: 100svh;
        height: 100dvh;
        min-height: 100svh;
        min-height: 100dvh;
        overflow: hidden;
        isolation: isolate;
    }

    body.live-room-page .live-video-tile,
    body.live-room-page .live-video-tile video {
        width: 100%;
        min-width: 0;
        min-height: 100%;
        height: 100%;
    }

    body.live-room-page .live-video-tile video {
        object-fit: cover;
        object-position: center top;
    }

    body.live-room-page .live-video-stage.has-many {
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    body.live-room-page .live-video-stage.has-many .live-video-tile,
    body.live-room-page .live-video-stage.has-many .live-video-tile video {
        min-height: 0;
    }

    body.live-room-page .live-video-toolbar {
        inset-inline: 8px;
        inset-block-start: calc(8px + env(safe-area-inset-top));
        max-width: calc(100vw - 16px);
        padding: 6px;
        border-radius: 26px;
        background: rgba(28, 30, 29, .54);
        overflow-x: auto;
        overflow-y: hidden;
    }

    body.live-room-page .live-video-toolbar .livekit-actions {
        gap: 6px;
        min-width: max-content;
        width: max-content;
        max-width: none;
    }

    body.live-room-page .live-video-toolbar .button,
    body.live-room-page .live-video-toolbar .live-quality-select {
        min-height: 38px;
        padding: 7px 12px;
        font-size: .82rem;
        line-height: 1.1;
    }

    body.live-room-page .live-interaction-overlay {
        grid-template-rows: auto minmax(0, 1fr) auto auto;
        padding: calc(58px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom));
        gap: 7px;
    }

    body.live-room-page .live-overlay-top {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body.live-room-page .live-overlay-actions {
        order: 1;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        padding-bottom: 2px;
    }

    body.live-room-page .live-overlay-host {
        order: 2;
        justify-self: end;
        max-width: min(72vw, 260px);
    }

    body.live-room-page .live-overlay-actions button,
    body.live-room-page .live-overlay-actions span {
        min-height: 32px;
        padding: 5px 10px;
        font-size: .78rem;
        background: rgba(0, 0, 0, .42);
    }

    body.live-room-page .live-overlay-actions span {
        background: #f31174;
    }

    body.live-room-page .live-overlay-chat {
        max-height: min(27svh, 210px);
        max-height: min(27dvh, 210px);
        padding-inline: 2px;
        mask-image: linear-gradient(180deg, transparent, #000 16%, #000);
    }

    body.live-room-page .live-overlay-chat .empty-inline {
        color: rgba(255,255,255,.38);
        text-align: center;
    }

    body.live-room-page .live-overlay-compose {
        align-self: end;
        width: 100%;
        max-width: 100%;
        gap: 7px;
        padding: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.36));
        box-shadow: 0 -10px 36px rgba(0,0,0,.32);
    }

    body.live-room-page .live-overlay-compose::-webkit-scrollbar {
        display: none;
    }

    body.live-room-page .live-overlay-compose input {
        flex: 1 1 128px;
        min-width: 96px;
        min-height: 44px;
        padding: 9px 14px;
        background: rgba(0,0,0,.44);
    }

    body.live-room-page .live-overlay-compose button,
    body.live-room-page .live-overlay-action-button,
    body.live-room-page .live-overlay-gift-jump,
    body.live-room-page .live-overlay-icon-button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        font-size: 1.15rem;
    }

    body.live-room-page .live-overlay-gift-sound-toggle {
        display: none;
    }

    body.live-room-page .live-overlay-share-button span {
        font-size: 1.35rem;
    }

    body.live-room-page .live-overlay-gift-sheet,
    body.live-room-page .live-overlay-guest-sheet {
        inset-inline: 8px;
        inset-block-end: calc(64px + env(safe-area-inset-bottom));
        max-height: min(44svh, 360px);
        max-height: min(44dvh, 360px);
        border-radius: 24px;
        background: rgba(5, 17, 13, .92);
    }

    body.live-room-page .live-overlay-moderator-sheet {
        max-height: min(36svh, 320px);
        max-height: min(36dvh, 320px);
    }

    body.live-room-page .live-overlay-request-row {
        align-items: stretch;
    }

    body.live-room-page .live-overlay-request-row > div:last-child {
        align-items: center;
    }

    body.live-room-page .live-entry-button {
        width: calc(100vw - 28px);
        min-height: min(78svh, 640px);
        min-height: min(78dvh, 640px);
        padding: 22px 16px 28px;
    }

    body.live-room-page .live-entry-button strong {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
    }

    body.live-room-page .live-entry-button small {
        font-size: .88rem;
    }

    body.live-room-page .live-start-layer {
        inset: 0;
        align-items: end;
        padding: calc(72px + env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom));
        border-radius: 0;
    }

    body.live-room-page .live-start-card {
        width: 100%;
        padding: 18px;
        border-radius: 24px;
    }

    body.live-room-page .live-start-card h2 {
        font-size: 1.35rem;
    }
}

/* Mobile live viewport fix: keep video and controls inside one overlayed stage. */
@media (max-width: 720px) {
    body.live-room-page .live-video-panel {
        height: 100svh;
        height: 100dvh;
        max-height: 100svh;
        max-height: 100dvh;
        overflow: hidden;
    }

    body.live-room-page .live-video-stage {
        grid-template-columns: 1fr !important;
        grid-auto-flow: row;
        grid-auto-rows: minmax(0, 1fr);
        align-content: stretch;
        align-items: stretch;
        justify-items: stretch;
        overflow: hidden;
    }

    body.live-room-page .live-video-stage.is-single .live-video-tile {
        width: 100%;
        max-width: none;
        min-height: 100%;
        height: 100%;
        margin: 0;
        aspect-ratio: auto;
    }

    body.live-room-page .live-video-stage.is-landscape-mode .live-video-tile,
    body.live-room-page .live-video-stage.is-landscape-mode .live-video-tile video {
        aspect-ratio: auto;
    }

    body.live-room-page .live-video-stage.has-many {
        grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
    }

    body.live-room-page .live-video-stage.has-many .live-video-tile {
        min-height: 0;
        height: 100%;
    }

    body.live-room-page .live-video-tile {
        display: block;
        min-width: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        background: #020705;
    }

    body.live-room-page .live-video-tile video {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: cover;
        object-position: center center;
        background: #020705;
    }

    body.live-room-page .live-interaction-overlay {
        position: absolute;
        inset: 0;
        z-index: 10;
        pointer-events: none;
    }

    body.live-room-page .live-interaction-overlay button,
    body.live-room-page .live-interaction-overlay input,
    body.live-room-page .live-interaction-overlay textarea,
    body.live-room-page .live-interaction-overlay a {
        pointer-events: auto;
    }

    body.live-room-page .live-overlay-compose {
        position: relative;
        z-index: 14;
    }
}
