: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;
}

* { box-sizing: border-box; }
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; }
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: calc(100vh - 150px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: .05em; }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(46px, 7vw, 84px); line-height: 1.08; letter-spacing: -.05em; }
.hero h1 span { color: var(--brand); }
.hero-copy > p { max-width: 560px; margin: 24px 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; gap: 12px; }
.hero-card { padding: 22px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, var(--soft), #fff); box-shadow: 0 25px 70px rgba(20, 75, 55, .12); transform: rotate(-2deg); }
.mock-post { display: flex; gap: 14px; padding: 24px; border-radius: 22px; background: white; }
.mock-post p { font-size: 19px; }
.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-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; }
.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; gap: 8px; margin-top: 12px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
.composer-tool { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; flex: 0 0 auto; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-dark); background: #fff; cursor: pointer; font: inherit; font-size: 13px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.composer-tool:hover, .composer-tool.active { color: white; border-color: var(--brand); background: var(--brand); }
.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; min-height: 38px; padding: 7px 12px; border: 1px solid transparent; border-radius: 999px; color: var(--brand); background: transparent; cursor: pointer; font-weight: 700; }
.upload-label:hover { border-color: rgba(12, 143, 99, .25); 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-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 { 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: 24px; }
.profile-cover { overflow: hidden; height: 180px; margin: -24px -24px 0; border-radius: 20px 20px 0 0; background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.45), transparent 28%), linear-gradient(135deg, var(--brand), var(--soft)); }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-top { align-items: flex-start; justify-content: space-between; gap: 18px; }
.profile-main { display: flex; align-items: flex-start; gap: 18px; min-width: 0; flex: 1; }
.profile-actions { flex: 0 1 470px; flex-wrap: wrap; align-items: center; justify-content: flex-end; padding-top: 10px; }
.profile-actions form { margin: 0; }
.profile-actions a[href$="/moments/create"] { display: none !important; }
.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: 112px; height: 112px; margin-top: -56px; border: 5px solid var(--surface); box-shadow: 0 12px 28px rgba(21, 32, 28, .12); }
.profile-header h1 { margin-bottom: 0; }
.profile-identity { display: grid; min-width: 0; gap: 7px; padding-top: 12px; text-align: start; }
.profile-identity h1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 34px; line-height: 1.25; }
.profile-username { margin: 0; color: var(--muted); direction: ltr; unicode-bidi: plaintext; text-align: start; font-size: 18px; font-weight: 700; }
.profile-bio { max-width: 760px; margin: 8px 0 0; color: var(--text); font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 6px; 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-highlights { display: flex; gap: 24px; margin: 22px 0 4px; padding: 4px 2px 14px; overflow-x: auto; scrollbar-width: thin; }
.profile-highlight { display: grid; justify-items: center; gap: 9px; min-width: 98px; color: var(--text); text-align: center; }
.profile-highlight:hover { color: var(--brand); }
.profile-highlight-ring { display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; border: 4px solid #d7ddda; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--surface); color: #101816; font-size: 32px; 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: 110px; overflow: hidden; color: inherit; font-size: 15px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.profile-highlight.is-new .profile-highlight-ring { border-color: #dfe5e2; color: #101816; background: #fff; }
.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 { flex-wrap: wrap; color: var(--muted); }
.profile-stats strong { color: var(--text); }
.profile-stats a:hover { color: var(--brand); }
.profile-stat-strip { display: flex; gap: 8px; margin-top: 18px; }
.profile-stat-strip span, .profile-stat-strip a { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fcfdfc; color: var(--muted); font-weight: 800; }
.profile-stat-strip strong { font-size: 18px; }
.profile-tabs { display: flex; gap: 10px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.profile-tabs a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.profile-tabs a.active, .profile-tabs a:hover { color: white; background: 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; }
.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-close { display: none; }
.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-live-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.space-live-top-counts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.space-live-top-counts span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 13px; border-radius: 999px; background: rgba(14, 118, 82, .10); color: var(--brand-dark); font-weight: 900; white-space: nowrap; }
.space-live-top-counts strong { color: var(--brand); font-size: 22px; line-height: 1; }
.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; }
.space-recording-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); background: #fff; }
.space-recording-panel strong { display: block; color: var(--brand-dark); font-size: 18px; }
.space-recording-panel p { margin: 5px 0 0; }
.space-recording-badge { display: inline-flex; width: fit-content; margin-top: 10px; padding: 6px 12px; border-radius: 999px; color: #fff; background: var(--danger); font-weight: 900; }
.space-recording-badge.is-muted { color: var(--muted); background: #eef3f0; }
.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-live-comments { display: grid; gap: 12px; padding: 18px 28px; border-bottom: 1px solid var(--line); background: #fff; }
.space-live-comments-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.space-live-comments-head strong { display: block; color: var(--brand-dark); font-size: 18px; }
.space-live-comments-head small { display: block; margin-top: 3px; color: var(--muted); font-weight: 700; }
.space-live-comments-list { display: grid; max-height: 280px; gap: 10px; overflow-y: auto; padding: 4px; overscroll-behavior: contain; }
.space-live-comment { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfc; }
.space-live-comment .avatar { width: 38px; height: 38px; font-size: 15px; }
.space-live-comment strong { display: block; color: var(--brand-dark); font-size: 14px; }
.space-live-comment p { margin: 3px 0 0; color: var(--text); line-height: 1.7; overflow-wrap: anywhere; }
.space-live-comments-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 0; }
.space-live-comments-form input { min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #f4f8f6; font: inherit; font-weight: 800; }
.space-live-comments-form .button { height: 48px; min-width: 108px; }
.space-live-comments-login { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 16px; background: #f8fbfa; }
.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); }
.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); }
.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-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; }
.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 { color: white; background: var(--brand); }
.settings-anchor { scroll-margin-top: 220px; }
.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-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-section-card a::after { content: "‹"; color: var(--muted); font-size: 18px; line-height: 1; }
.admin-section-card a:hover { color: var(--brand); background: var(--soft); }
.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-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); }

@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; }
    .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%; }
    .spaces-hero-title { align-items: stretch; flex-direction: column; }
    .space-card, .space-request-row, .space-guest-card, .livekit-panel, .space-live-summary, .space-recording-panel { 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; }
    .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; }
    .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%; }
    .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; }
    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: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
        min-height: 104px;
        padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
        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: 42px;
        padding: 7px 14px;
        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: 8px;
        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: 76px;
        padding: 7px 12px;
        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 > .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 > .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: 116px 18px calc(96px + env(safe-area-inset-bottom)) 92px;
    }
    body.guest-mobile-feed-page .guest-mobile-feed .post-image,
    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-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)) .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; }
    .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 { 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-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 { 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-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-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; }
    .admin-settings-jump { position: static; margin-bottom: 12px; flex-wrap: nowrap; white-space: nowrap; }
    .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: 16px; }
    .profile-cover { height: 120px; margin: -16px -16px 0; border-radius: 16px 16px 0 0; }
    .profile-avatar { width: 84px; height: 84px; margin-top: -42px; border-width: 4px; }
    .profile-main { gap: 12px; }
    .profile-identity { padding-top: 8px; }
    .profile-header h1 { font-size: 30px; line-height: 1.25; }
    .profile-highlights { gap: 16px; margin-top: 18px; 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: 10px; font-size: 14px; }
    .profile-tabs { 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: 12px; place-items: end center; }
    .share-dialog-panel { max-height: calc(100vh - 24px); padding: 20px 16px; border-radius: 20px 20px 0 0; }
    .share-dialog-panel h2 { padding-inline: 34px; font-size: 25px; }
    .share-dialog-panel [data-share-help] { font-size: 14px; }
    .share-dialog-panel textarea { min-height: 132px; font-size: 16px; border-radius: 18px; }
    .share-link-card { align-items: center; gap: 10px; padding: 10px; border-radius: 16px; }
    .share-link-thumb { width: 72px; height: 72px; border-radius: 14px; font-size: 20px; }
    .share-link-card strong { font-size: 15px; }
    .share-link-card span:not(.share-link-thumb), .share-link-card small { font-size: 13px; }
    .share-dialog-actions { grid-template-columns: 1fr; }
    .composer { padding: 14px 10px; overflow: hidden; }
    .composer textarea { min-height: 86px; max-width: 100%; font-size: 16px; }
    .composer-tool-row { max-width: 100%; padding-inline: 1px; }
    .composer-footer { align-items: stretch; flex-direction: column; }
    .mobile-media-picker { display: inline-flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 58px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: #fbfbfb; cursor: pointer; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(21, 32, 28, .02); }
    .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: none; }
    .upload-label { justify-content: center; width: 100%; padding-inline: 8px; 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; }
    .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, .space-live-comments, .space-recording-panel { padding: 18px 14px; }
    .space-room-head h1 { font-size: 32px; }
    .space-controls { padding: 14px; }
    .space-live-comments-list { max-height: 34dvh; }
    .space-live-comments-form { grid-template-columns: 1fr; }
    .space-live-comments-form .button { width: 100%; }
    .space-live-comments-login { align-items: stretch; flex-direction: column; }
    .space-room { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .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;
}

@media (max-width: 760px) and (hover: none), (max-width: 760px) and (pointer: coarse) {
    body.space-room-page {
        background: #050505;
    }

    body.space-room-page .site-header,
    body.space-room-page .site-footer,
    body.space-room-page .site-announcement,
    body.space-room-page .location-consent {
        display: none;
    }

    body.space-room-page .container.main {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    body.space-room-page .content-column {
        width: 100%;
        max-width: none;
    }

    body.space-room-page .space-room {
        min-height: 100dvh;
        padding: 30px 0 calc(196px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 0;
        background: #050505;
        box-shadow: none;
        color: #fff;
    }

    body.space-room-page .space-room::before {
        display: none;
    }

    body.space-room-page .space-room-close {
        display: none;
    }

    body.space-room-page .space-room-head,
    body.space-room-page .space-live-summary,
    body.space-room-page .livekit-panel,
    body.space-room-page .space-recording-panel,
    body.space-room-page .space-live-comments,
    body.space-room-page .space-grid,
    body.space-room-page .space-requests {
        margin: 0;
        padding: 16px 18px;
        border: 0;
        background: transparent;
        color: #fff;
    }

    body.space-room-page .space-room-head {
        display: grid;
        gap: 14px;
        min-height: 170px;
        align-content: start;
    }

    body.space-room-page .space-room-head h1 {
        margin: 12px 0 0;
        color: #fff;
        font-size: 28px;
        text-align: center;
    }

    body.space-room-page .space-room-head > p,
    body.space-room-page .space-live-summary > div:first-child,
    body.space-room-page .space-recording-panel,
    body.space-room-page .space-grid h2 {
        display: none;
    }

    body.space-room-page .space-live-topline {
        display: grid;
        justify-items: center;
        gap: 14px;
    }

    body.space-room-page .status-pill {
        color: #fff;
        background: rgba(255,255,255,.12);
    }

    body.space-room-page .space-live-top-counts,
    body.space-room-page .space-live-summary-counts {
        justify-content: center;
        gap: 8px;
    }

    body.space-room-page .space-live-top-counts span,
    body.space-room-page .space-live-summary-counts span {
        min-height: 38px;
        color: #fff;
        background: #1d1d1d;
        box-shadow: none;
    }

    body.space-room-page .space-live-top-counts strong,
    body.space-room-page .space-live-summary-counts strong {
        color: #fff;
        font-size: 20px;
    }

    body.space-room-page .space-controls {
        position: fixed;
        inset-inline: 0;
        inset-block-end: 0;
        z-index: 22;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
        gap: 8px;
        padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
        border: 0;
        background: linear-gradient(180deg, rgba(5,5,5,0), rgba(5,5,5,.94) 18%, #050505);
    }

    body.space-room-page .space-controls .space-room-guest {
        display: none;
    }

    body.space-room-page .space-controls .button,
    body.space-room-page .space-controls form,
    body.space-room-page .space-controls button,
    body.space-room-page .space-controls a {
        width: 100%;
        min-width: 0;
    }

    body.space-room-page .space-controls .button {
        min-height: 44px;
        border-color: rgba(255,255,255,.14);
        color: #fff;
        background: #1b1b1b;
        font-size: 12px;
        line-height: 1.25;
    }

    body.space-room-page .space-controls .danger-button {
        background: #b42318;
        border-color: #b42318;
    }

    body.space-room-page .space-live-summary {
        display: none;
    }

    body.space-room-page .livekit-panel {
        margin: 0 18px 24px;
        border-radius: 22px;
        background: #141414;
    }

    body.space-room-page .livekit-panel strong,
    body.space-room-page .space-live-comments-head strong {
        color: #fff;
    }

    body.space-room-page .livekit-panel p,
    body.space-room-page .livekit-panel small,
    body.space-room-page .space-live-comments-head small,
    body.space-room-page .muted {
        color: rgba(255,255,255,.64);
    }

    body.space-room-page .livekit-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    body.space-room-page .space-grid {
        display: block;
        padding-top: 0;
    }

    body.space-room-page .space-people {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-bottom: 18px;
    }

    body.space-room-page .space-person {
        display: grid;
        justify-items: center;
        gap: 8px;
        padding: 0;
        border: 0;
        background: transparent;
        text-align: center;
    }

    body.space-room-page .space-person .avatar {
        width: 86px;
        height: 86px;
        border: 3px solid rgba(255,255,255,.16);
        background: #242424;
        font-size: 28px;
    }

    body.space-room-page .space-person strong {
        display: block;
        max-width: 110px;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.space-room-page .space-person small {
        max-width: 110px;
        color: rgba(255,255,255,.58);
        font-size: 12px;
    }

    body.space-room-page .space-live-comments {
        margin: 0 12px 112px;
        padding: 14px;
        border-radius: 24px;
        background: #fff;
        color: var(--text);
    }

    body.space-room-page .space-live-comments-head strong {
        color: var(--brand-dark);
    }

    body.space-room-page .space-live-comments-head small {
        color: var(--muted);
    }

    body.space-room-page .space-live-comments-list {
        max-height: 24dvh;
    }

    body.space-room-page .space-live-comment {
        border-radius: 18px;
        background: #fbfdfc;
    }

    body.space-room-page .space-live-comments-form {
        grid-template-columns: minmax(0, 1fr) 92px;
    }

    body.space-room-page .space-live-comments-form .button {
        width: 100%;
    }
}

@media (max-width: 420px) and (hover: none), (max-width: 420px) and (pointer: coarse) {
    body.space-room-page .space-live-top-counts span,
    body.space-room-page .space-live-summary-counts span {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 13px;
    }

    body.space-room-page .space-live-top-counts strong,
    body.space-room-page .space-live-summary-counts strong {
        font-size: 18px;
    }

    body.space-room-page .space-room-head h1 {
        font-size: 34px;
    }

    body.space-room-page .livekit-panel {
        padding: 14px;
    }
}

@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; }
}
