:root {
  color-scheme: light;
  --ink: #181a16;
  --muted: #85877f;
  --line: #e8e9e2;
  --paper: #f7f7f2;
  --white: #fff;
  --lime: #d9f36c;
  --coral: #fa755c;
  --blue: #5b78e8;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 14px; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font: 700 23px var(--font-display); text-decoration: none; letter-spacing: 0; }
.brand-mark { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px 9px 9px 3px; background: var(--lime); font-size: 17px; }
.brand-dot { margin-left: -7px; color: var(--coral); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; border: 0; border-radius: 7px; padding: 0 18px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #33362f; }
.button-lime { background: var(--lime); }
.button-lime:hover { background: #cce75a; }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.25px; }

.login-screen { display: grid; min-height: 100vh; grid-template-columns: minmax(390px, 1.04fr) minmax(470px, .96fr); }
.login-art { position: relative; display: flex; min-height: 680px; overflow: hidden; align-items: center; justify-content: center; background: var(--lime); }
.login-art::before { position: absolute; top: -17%; left: -11%; width: 72%; aspect-ratio: 1; border: 1px solid rgb(24 26 22 / 13%); border-radius: 50%; content: ''; }
.login-art::after { position: absolute; right: -28%; bottom: -48%; width: 85%; aspect-ratio: 1; border: 1px solid rgb(24 26 22 / 12%); border-radius: 50%; content: ''; }
.art-copy { position: relative; z-index: 1; width: min(490px, 72%); margin-top: -30px; }
.art-copy span { display: inline-block; margin-bottom: 17px; padding: 7px 11px; border: 1px solid rgb(24 26 22 / 35%); border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.art-copy strong { display: block; font: 700 clamp(72px, 9vw, 126px)/.82 var(--font-display); letter-spacing: -7px; }
.art-copy i { display: inline-block; margin-top: 27px; font-size: 15px; font-style: normal; }
.art-sun { position: absolute; top: 12%; right: 14%; width: 94px; height: 94px; border: 1px solid var(--ink); border-radius: 50%; box-shadow: 12px 12px 0 -2px var(--coral); }
.art-note { position: absolute; z-index: 2; display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font: 36px var(--font-display); }
.note-one { top: 22%; left: 12%; transform: rotate(-12deg); }
.note-two { right: 15%; bottom: 19%; width: 52px; height: 52px; background: var(--coral); font-size: 27px; }
.art-ribbon { position: absolute; right: -10%; bottom: 8%; width: 120%; padding: 12px; transform: rotate(-7deg); background: var(--ink); color: var(--lime); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-align: center; white-space: nowrap; }
.art-ribbon b { padding: 0 17px; color: var(--coral); }
.login-panel { display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; padding: 34px clamp(36px, 7vw, 110px) 27px; background: #fff; }
.login-content { width: min(100%, 380px); margin: 42px auto; }
.login-content h1 { margin: 14px 0 12px; font: 700 clamp(39px, 5vw, 54px)/1.02 var(--font-display); letter-spacing: -2px; }
.login-intro { max-width: 340px; margin: 0 0 30px; color: #75776f; line-height: 1.65; }
.login-form { display: flex; flex-direction: column; }
.login-form label, .caption-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; }
.login-form input { height: 48px; margin-bottom: 17px; border: 1px solid #e4e5de; border-radius: 5px; outline: 0; padding: 0 13px; background: #fcfcfa; }
.login-form input:focus, textarea:focus { border-color: #85877f; }
.login-form input::placeholder, textarea::placeholder { color: #a7a8a1; }
.login-submit { min-height: 49px; margin-top: 5px; }
.login-submit span, .dialog-actions .button span { font-size: 17px; }
.demo-hint { margin-top: 18px; color: var(--muted); font-size: 12px; }
.demo-hint b { color: var(--ink); }
.login-foot { color: #9a9c94; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.form-error { min-height: 17px; margin: -5px 0 7px; color: #bd3d2d; font-size: 12px; }

.app-shell { min-height: 100vh; }
.topbar { position: sticky; z-index: 5; top: 0; display: flex; height: 72px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 34px; background: rgb(255 255 255 / 94%); backdrop-filter: blur(16px); }
.search-box { display: flex; width: min(360px, 34vw); height: 39px; align-items: center; gap: 8px; border: 1px solid #ecece6; border-radius: 5px; padding: 0 10px; background: #f9f9f6; }
.search-box > span { color: #777970; font: 26px var(--font-body); line-height: 1; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; }
.search-box kbd { flex: 0 0 auto; border: 1px solid #e5e5de; border-radius: 3px; padding: 2px 5px; color: #8d8e87; font-size: 9px; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.top-actions .button { min-height: 39px; font-size: 12px; }
.top-actions .button span { font-size: 18px; }
.avatar { display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--coral); color: var(--ink); font-weight: 700; box-shadow: 0 0 0 1px var(--line); }
.workspace { display: grid; max-width: 1600px; min-height: calc(100vh - 72px); grid-template-columns: 220px minmax(450px, 1fr) 280px; margin: auto; }
.sidebar { position: sticky; top: 72px; display: flex; height: calc(100vh - 72px); flex-direction: column; border-right: 1px solid var(--line); padding: 30px 17px 21px; }
.sidebar-label { margin: 0 0 12px 10px; color: #9a9b94; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.nav-item { display: flex; width: 100%; height: 43px; align-items: center; gap: 12px; border: 0; border-radius: 5px; padding: 0 11px; background: transparent; color: #6e7069; text-align: left; font-size: 13px; }
.nav-item span { width: 17px; color: #878980; font-size: 16px; text-align: center; }
.nav-item.active { background: var(--lime); color: var(--ink); font-weight: 700; }
.nav-item.active span { color: var(--ink); }
.sidebar-divider { height: 1px; margin: 23px 4px 21px; background: var(--line); }
.user-mini { display: flex; align-items: center; gap: 10px; padding: 7px 5px; }
.avatar-small { width: 31px; height: 31px; background: var(--blue); color: white; font-size: 12px; }
.user-mini b, .user-mini small { display: block; }
.user-mini b { font-size: 12px; }
.user-mini small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.online-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #66bc7a; }
.logout-button { display: flex; align-items: center; gap: 10px; margin-top: 10px; border: 0; padding: 9px 7px; background: transparent; color: #777970; text-align: left; font-size: 12px; }
.sidebar-note { position: relative; overflow: hidden; margin-top: auto; border-radius: 6px; padding: 17px 14px; background: #f0eee8; }
.note-spark { display: block; margin-bottom: 10px; color: var(--coral); font-size: 18px; }
.sidebar-note b { display: block; font: 600 14px/1.35 var(--font-display); }
.sidebar-note small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.sidebar-version { margin: 16px 4px 0; color: #aaa; font-size: 8px; letter-spacing: 1px; }

.main-content { min-width: 0; padding: 28px clamp(22px, 4vw, 58px) 60px; }
.feed-heading { display: flex; max-width: 760px; align-items: end; justify-content: space-between; margin: 0 auto 21px; }
.feed-heading h1 { margin: 7px 0 0; font: 700 27px var(--font-display); letter-spacing: -1px; }
.feed-heading h1 span { color: var(--coral); font-size: 20px; }
.feed-count { color: #999b93; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.video-feed { display: flex; max-width: 760px; flex-direction: column; gap: 16px; margin: auto; }
.video-card { display: grid; min-height: 440px; grid-template-columns: minmax(240px, 330px) minmax(140px, 1fr); overflow: hidden; border: 1px solid #e9e9e3; border-radius: 7px; background: white; animation: arrive .4s ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.video-stage { position: relative; min-height: 440px; overflow: hidden; background: #20221d; }
.video-stage video { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.video-stamp { position: absolute; top: 13px; left: 13px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 3px; padding: 5px 7px; background: rgb(24 26 22 / 28%); color: white; font-size: 8px; font-weight: 700; letter-spacing: 1px; pointer-events: none; }
.video-info { display: flex; flex-direction: column; padding: 19px 17px 15px; }
.creator-row { display: flex; align-items: center; gap: 9px; }
.creator-avatar { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--lime); font-weight: 700; }
.creator-name { min-width: 0; }
.creator-name b, .creator-name span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-name b { font-size: 11px; }
.creator-name span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.video-caption { margin: 19px 0 15px; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.video-audio { display: flex; align-items: center; gap: 7px; color: #7d7f77; font-size: 10px; }
.audio-disc { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--coral); }
.video-spacer { flex: 1; }
.video-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-top: 1px solid #efefe9; padding-top: 14px; }
.like-button { display: flex; align-items: center; gap: 7px; border: 0; padding: 0; background: transparent; font-size: 11px; }
.like-button span { color: var(--coral); font-size: 19px; transition: transform .15s; }
.like-button:hover span { transform: scale(1.2); }
.like-button.liked span { color: #ed4c47; }
.video-date { color: #a2a39c; font-size: 9px; }
.empty-state { border: 1px dashed #d7d8d0; border-radius: 6px; padding: 65px 24px; background: rgb(255 255 255 / 48%); text-align: center; }
.empty-mark { display: grid; width: 54px; height: 54px; place-items: center; margin: 0 auto 15px; border-radius: 16px 16px 16px 5px; background: var(--lime); font: 34px var(--font-display); }
.empty-state h2 { margin: 0 0 7px; font: 600 21px var(--font-display); }
.empty-state p { margin: 0 auto 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.empty-state .button { min-height: 39px; font-size: 12px; }

.right-rail { position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; border-left: 1px solid var(--line); padding: 30px 21px 20px; }
.rail-topline { display: flex; justify-content: space-between; color: #92948c; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.rail-live { display: flex; align-items: center; gap: 5px; color: #63665d; font-size: 8px; }
.rail-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.rail-feature { position: relative; overflow: hidden; min-height: 221px; margin-top: 15px; border-radius: 6px; padding: 17px; background: var(--coral); }
.rail-feature .eyebrow { color: rgb(24 26 22 / 62%); }
.rail-feature h2 { position: relative; z-index: 1; margin: 12px 0 6px; font: 700 31px/.92 var(--font-display); letter-spacing: -1px; }
.rail-feature > p:not(.eyebrow) { max-width: 150px; margin: 0; font-size: 10px; line-height: 1.5; }
.feature-shape { position: absolute; top: 6px; right: 13px; color: rgb(255 255 255 / 29%); font: 130px/.9 var(--font-display); transform: rotate(13deg); }
.sound-button { position: absolute; right: 15px; bottom: 15px; display: grid; width: 35px; height: 35px; place-items: center; border: 0; border-radius: 50%; background: var(--lime); font-size: 11px; }
.sound-waves { position: absolute; bottom: 23px; left: 17px; color: rgb(24 26 22 / 65%); font-size: 13px; letter-spacing: 1px; }
.rail-stats { margin-top: 26px; }
.rail-stats > .eyebrow { margin-bottom: 14px; }
.rail-stats > div:not(.stat-message) { display: flex; align-items: center; gap: 11px; margin: 0 0 11px; }
.rail-stats strong { min-width: 41px; font: 600 25px var(--font-display); }
.rail-stats span { color: #85877f; font-size: 10px; line-height: 1.35; }
.stat-message { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; color: #73756e; font-size: 10px; line-height: 1.6; }
.text-link { display: block; border: 0; padding: 5px 0 0; background: transparent; color: var(--ink); font-size: 10px; font-weight: 700; }
.rail-footer { margin-top: 35px; color: #8c8e86; font-size: 10px; line-height: 1.7; }
.rail-footer span { color: #a9aaa4; font-size: 8px; letter-spacing: .5px; }

.upload-dialog { width: min(550px, calc(100% - 30px)); border: 1px solid #e9e9e3; border-radius: 8px; padding: 0; box-shadow: 0 24px 80px rgb(24 26 22 / 20%); }
.upload-dialog::backdrop { background: rgb(24 26 22 / 44%); backdrop-filter: blur(3px); }
.upload-form { padding: 25px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.dialog-heading h2 { margin: 7px 0 0; font: 600 22px var(--font-display); }
.icon-button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f2f2ed; font-size: 20px; }
.dropzone { display: flex; min-height: 175px; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #c7c9bf; border-radius: 5px; background: #fafaf7; cursor: pointer; text-align: center; }
.upload-symbol { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 10px; border-radius: 12px 12px 12px 3px; background: var(--lime); font-size: 24px; }
.dropzone b { font-size: 13px; }
.dropzone small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.dropzone input { width: 1px; height: 1px; opacity: 0; position: absolute; }
.caption-label { display: flex; justify-content: space-between; margin: 18px 0 7px; }
.caption-label span { color: #9a9b94; font-size: 10px; font-weight: 400; }
.upload-form textarea { display: block; width: 100%; min-height: 75px; resize: vertical; border: 1px solid #e4e5de; border-radius: 5px; outline: 0; padding: 10px; background: #fcfcfa; font-size: 12px; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; }
.dialog-actions > span { color: var(--muted); font-size: 10px; }
.dialog-actions .button { min-height: 40px; font-size: 11px; }
.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; transform: translateY(12px); border-radius: 5px; padding: 12px 16px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .2s ease; font-size: 12px; }
.toast.show { transform: translateY(0); opacity: 1; }
.mobile-nav { display: none; }

@media (max-width: 1120px) {
  .workspace { grid-template-columns: 190px minmax(400px, 1fr); }
  .right-rail { display: none; }
  .main-content { padding-right: 35px; padding-left: 35px; }
}
@media (max-width: 720px) {
  .login-screen { min-height: 100svh; grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-panel { min-height: 100svh; padding: 24px 25px 18px; }
  .login-content { margin: auto; padding: 40px 0; }
  .topbar { height: 60px; padding: 0 16px; }
  .topbar .brand { font-size: 20px; }
  .topbar .brand-mark { width: 26px; height: 26px; }
  .search-box { width: min(37vw, 190px); height: 35px; }
  .search-box kbd { display: none; }
  .top-actions { gap: 10px; }
  .top-actions .button { width: 37px; min-height: 37px; overflow: hidden; gap: 0; padding: 0; color: transparent; font-size: 0; }
  .top-actions .button span { color: var(--ink); font-size: 22px; }
  .top-actions .avatar { width: 32px; height: 32px; }
  .workspace { display: block; min-height: calc(100svh - 60px); }
  .sidebar { display: none; }
  .main-content { padding: 23px 14px 90px; }
  .feed-heading { margin-bottom: 15px; }
  .feed-heading h1 { font-size: 24px; }
  .video-feed { gap: 13px; }
  .video-card { grid-template-columns: minmax(0, 1fr); }
  .video-stage { min-height: 0; aspect-ratio: 4 / 5; }
  .video-stage video { min-height: 0; }
  .video-info { min-height: 142px; padding: 13px 14px; }
  .video-caption { margin: 11px 0; }
  .video-audio { display: none; }
  .video-spacer { display: none; }
  .video-actions { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 9px; }
  .mobile-nav { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; display: flex; height: 61px; align-items: center; justify-content: space-around; border-top: 1px solid var(--line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(14px); }
  .mobile-nav button { display: flex; min-width: 58px; flex-direction: column; align-items: center; gap: 3px; border: 0; background: transparent; color: #85877f; font-size: 9px; }
  .mobile-nav button span { font-size: 17px; }
  .mobile-nav button.active { color: var(--ink); font-weight: 700; }
  .mobile-nav .mobile-upload { min-width: 43px; width: 43px; height: 39px; justify-content: center; border-radius: 6px; background: var(--lime); color: var(--ink); }
  .mobile-nav .mobile-upload span { font-size: 25px; }
  .dialog-actions { align-items: flex-end; }
  .dialog-actions > span { max-width: 150px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

:root {
  color-scheme: dark;
  --ink: #eef1e8;
  --muted: #9aa7a3;
  --line: #2c393a;
  --paper: #111719;
  --white: #f6f5ee;
  --lime: #d9fa63;
  --coral: #ff806b;
  --blue: #8da4ff;
}

body { background: var(--paper); color: var(--ink); }
.login-panel { background: #171f21; }
.login-intro, .login-form label, .profile-label, .caption-label { color: #c0c9c2; }
.login-form input, .profile-input, .upload-form textarea { border-color: #354345; background: #111719; color: var(--ink); }
.login-form input::placeholder, textarea::placeholder { color: #71807b; }
.login-form input:focus, textarea:focus, .profile-input:focus { border-color: var(--lime); }
.demo-hint, .login-foot { color: #9aa7a3; }
.button-dark, .button-primary { color: #18201a; background: var(--lime); }
.button-dark:hover, .button-primary:hover { background: #c8e94c; }
.button-lime { color: #17201b; }
.topbar { border-color: var(--line); background: rgb(20 28 30 / 94%); }
.search-box { border-color: #354345; background: #1a2325; }
.search-box input { color: var(--ink); }
.search-box kbd { border-color: #3a4849; color: #9aa7a3; }
.workspace { background: var(--paper); }
.sidebar, .right-rail { border-color: var(--line); background: #141c1e; }
.sidebar-label, .feed-count, .video-date { color: #82908b; }
.nav-item { color: #b1bcb6; }
.nav-item span { color: #91a09a; }
.nav-item.active { color: #16201a; background: var(--lime); }
.nav-item.active span { color: #16201a; }
.sidebar-divider, .video-actions { border-color: var(--line); }
.user-mini { border: 0; border-radius: 5px; background: transparent; color: var(--ink); text-align: left; }
.user-mini:hover { background: #202a2c; }
.user-mini-copy { min-width: 0; flex: 1; }
.user-mini b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-mini small { color: #93a19b; }
.sidebar-note { background: #202a2c; }
.sidebar-note small, .sidebar-version { color: #8f9d97; }
.main-content { background: radial-gradient(ellipse at 52% 0, rgb(44 64 60 / 18%), transparent 44%), var(--paper); }
.feed-heading h1 { color: var(--ink); }
.video-card { border-color: #2b383a; background: #192123; }
.video-stage { background: #090d0e; }
.creator-avatar { color: #142019; }
.creator-name span, .video-audio, .rail-live { color: #99a7a1; }
.audio-disc { border-color: #3a4748; }
.like-button { color: #e9eee7; }
.empty-state { border-color: #394749; background: #182123; }
.empty-state p, .rail-footer, .stat-message { color: #a2aea8; }
.rail-topline, .rail-stats span { color: #9aa7a3; }
.rail-feature { background: #fb8067; color: #17201d; }
.rail-feature .eyebrow { color: rgb(24 26 22 / 68%); }
.rail-stats strong { color: var(--ink); }
.stat-message { border-color: var(--line); }
.text-link { color: var(--lime); }
.rail-footer span { color: #788580; }
.upload-dialog, .profile-dialog { border-color: #354345; background: #172022; color: var(--ink); }
.upload-dialog::backdrop, .profile-dialog::backdrop { background: rgb(5 9 10 / 72%); }
.icon-button { background: #263133; color: var(--ink); }
.dropzone { border-color: #52615d; background: #1c2729; }
.dropzone small, .caption-label span, .dialog-actions > span { color: #9aa7a3; }
.toast { background: var(--lime); color: #152019; font-weight: 700; }
.avatar { overflow: hidden; }
.avatar img, .profile-preview img, .person-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar-small { flex: 0 0 auto; }
.profile-open { cursor: pointer; }
.people-shelf { margin: 3px auto 24px; }
.people-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.people-heading h2 { margin: 5px 0 0; font: 600 17px var(--font-display); }
.people-mark { color: var(--coral); font-size: 18px; }
.people-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.person-card { min-width: 0; border: 1px solid #2c393a; border-radius: 5px; padding: 11px; background: #192224; }
.person-tone-1 { background: #1b2528; }
.person-tone-2 { background: #202326; }
.person-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.person-avatar { display: grid; width: 34px; height: 34px; overflow: hidden; place-items: center; border-radius: 50%; background: var(--lime); color: #172019; font: 700 12px var(--font-display); }
.person-tone-1 .person-avatar { background: var(--coral); }
.person-tone-2 .person-avatar { background: var(--blue); color: #111719; }
.person-index { color: #788780; font: 10px var(--font-display); }
.person-name { overflow: hidden; font: 600 12px var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.person-handle { margin-top: 2px; color: #95a39d; font-size: 10px; }
.person-bio { min-height: 30px; margin: 9px 0; color: #b4c0b9; font-size: 10px; line-height: 1.45; }
.person-footer { display: flex; align-items: center; justify-content: space-between; gap: 5px; border-top: 1px solid #303d3f; padding-top: 8px; }
.person-footer > span { color: #8e9c96; font-size: 9px; white-space: nowrap; }
.follow-button { display: inline-flex; min-height: 27px; align-items: center; gap: 6px; border: 1px solid var(--lime); border-radius: 3px; padding: 0 8px; background: var(--lime); color: #172019; font-size: 10px; font-weight: 700; }
.follow-button span { font-size: 14px; line-height: 1; }
.follow-button.is-following { border-color: #52615d; background: transparent; color: #d5ddd5; }
.follow-button:disabled { opacity: .65; }
.people-error { grid-column: 1 / -1; color: #ff9d89; font-size: 11px; }
.button-outline { min-height: 34px; border: 1px solid #53615d; padding: 0 11px; background: #202a2c; color: var(--ink); font-size: 11px; }
.button-outline:hover { border-color: var(--lime); }
.profile-form { padding: 24px; }
.profile-dialog { width: min(540px, calc(100% - 30px)); border-radius: 7px; padding: 0; box-shadow: 0 25px 90px rgb(0 0 0 / 48%); }
.profile-photo-row { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.profile-preview { display: grid; width: 66px; height: 66px; flex: 0 0 auto; overflow: hidden; place-items: center; border-radius: 50%; background: var(--lime); color: #18201a; font: 700 24px var(--font-display); }
.profile-photo-row small { display: block; margin-top: 7px; color: #9aa7a3; font-size: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.profile-label { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 7px; font-size: 11px; font-weight: 700; }
.profile-label span { color: #86938e; font-weight: 400; }
.profile-input { display: block; width: 100%; min-height: 42px; border: 1px solid #354345; border-radius: 4px; outline: 0; padding: 10px 11px; font-size: 12px; }
.profile-bio { min-height: 78px; resize: vertical; }
.username-input { position: relative; }
.username-input > span { position: absolute; top: 12px; left: 11px; color: #91a09a; }
.username-input .profile-input { padding-left: 26px; }
.profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.profile-actions > span { color: #9aa7a3; font-size: 10px; }
.profile-actions .button { min-height: 40px; padding: 0 13px; font-size: 11px; }
.login-art { color: #131b17; }
.mobile-nav { border-color: var(--line); background: rgb(20 28 30 / 96%); }
.mobile-nav button { color: #9ba8a2; }
.mobile-nav button.active { color: var(--lime); }
.mobile-nav .mobile-upload { background: var(--lime); color: #152019; }

@media (max-width: 820px) {
  .people-list { grid-template-columns: repeat(3, minmax(175px, 1fr)); overflow-x: auto; padding-bottom: 5px; }
}
@media (max-width: 720px) {
  .people-shelf { margin-top: 2px; }
  .people-list { display: flex; gap: 9px; overflow-x: auto; }
  .person-card { flex: 0 0 min(73vw, 250px); }
  .profile-form { padding: 20px; }
  .profile-actions { align-items: flex-end; }
  .profile-actions > span { max-width: 110px; line-height: 1.4; }
  .profile-actions .button { max-width: 190px; white-space: normal; }
}

.register-field[hidden] { display: none; }
.auth-mode-toggle { display: block; margin-top: 15px; border: 0; padding: 0; background: transparent; color: var(--lime); font-size: 12px; font-weight: 700; }
.auth-mode-toggle:hover { color: #efffae; }
.upload-nav { color: var(--ink); }
.group-nav { margin-top: 5px; }
.feed-view { max-width: 820px; margin: 0 auto; }
.profile-page { max-width: 1050px; margin: 0 auto; }
.profile-cover { position: relative; height: 165px; overflow: hidden; border: 1px solid #344344; border-radius: 5px; background-color: #1a292b; background-image: linear-gradient(90deg, transparent 49.8%, rgb(217 250 99 / 10%) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgb(217 250 99 / 10%) 50%, transparent 50.2%); background-size: 38px 38px; }
.profile-cover::after { position: absolute; inset: 0; background: linear-gradient(105deg, rgb(17 23 25 / 12%), transparent 55%, rgb(217 250 99 / 9%)); content: ''; }
.cover-orbit { position: absolute; z-index: 1; width: 230px; aspect-ratio: 1; border: 1px solid rgb(217 250 99 / 28%); border-radius: 50%; }
.orbit-a { top: -136px; right: 17%; }
.orbit-b { top: -93px; right: 20%; width: 145px; border-color: rgb(255 128 107 / 46%); }
.cover-word { position: absolute; z-index: 2; right: 20px; bottom: 15px; color: #93a39b; font: 10px var(--font-display); letter-spacing: 1.5px; }
.cover-spark { position: absolute; z-index: 2; top: 23px; right: 29%; color: var(--lime); font-size: 28px; }
.profile-header { position: relative; display: flex; align-items: flex-start; gap: 20px; padding: 0 18px; }
.profile-avatar-large { display: grid; width: 116px; height: 116px; flex: 0 0 auto; overflow: hidden; place-items: center; margin-top: -39px; border: 5px solid var(--paper); border-radius: 50%; background: var(--lime); color: #172019; font: 700 40px var(--font-display); }
.profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.profile-identity { min-width: 0; flex: 1; padding-top: 14px; }
.profile-identity .eyebrow { color: var(--lime); font-size: 9px; }
.profile-identity h1 { overflow: hidden; margin: 5px 0 2px; font: 700 24px var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.profile-page-handle { margin: 0; color: #9ca9a3; font-size: 12px; }
.profile-page-bio { max-width: 520px; margin: 11px 0 0; color: #d0d8d1; font-size: 12px; line-height: 1.55; }
.profile-header-actions { display: flex; align-items: center; gap: 8px; padding-top: 18px; }
.profile-header-actions .button-outline { min-height: 36px; white-space: nowrap; }
.profile-header-actions .icon-button { flex: 0 0 auto; }
.profile-stats { display: flex; gap: 0; margin: 15px 18px 16px 154px; }
.profile-stats > div { display: flex; min-width: 90px; align-items: baseline; gap: 6px; border-right: 1px solid #354244; padding: 0 16px; }
.profile-stats > div:first-child { padding-left: 0; }
.profile-stats > div:last-child { border-right: 0; }
.profile-stats strong { font: 700 16px var(--font-display); }
.profile-stats span { color: #9aa7a3; font-size: 10px; }
.profile-toolbar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #2b383a; border-bottom: 1px solid #2b383a; }
.profile-tabs { display: flex; min-width: 0; align-self: stretch; gap: 8px; overflow-x: auto; }
.profile-tab { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; border: 0; padding: 0 14px; background: transparent; color: #9daaa4; font-size: 11px; }
.profile-tab.active { color: var(--ink); font-weight: 700; }
.profile-tab.active::after { position: absolute; right: 11px; bottom: -1px; left: 11px; height: 2px; background: var(--lime); content: ''; }
.profile-sort { display: flex; flex: 0 0 auto; border: 1px solid #354345; border-radius: 4px; padding: 3px; background: #192224; }
.profile-sort button { min-height: 26px; border: 0; border-radius: 3px; padding: 0 9px; background: transparent; color: #97a49e; font-size: 9px; }
.profile-sort button.active { background: #344244; color: var(--ink); }
.profile-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; padding-top: 12px; }
.profile-video-tile { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid #2b383a; border-radius: 4px; background: #080d0e; }
.profile-video-tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-tile-overlay { position: absolute; inset: auto 0 0; display: flex; min-height: 56px; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px 9px 8px; background: linear-gradient(transparent, rgb(5 9 10 / 83%)); color: #fff; pointer-events: none; }
.profile-tile-overlay span { font-size: 10px; font-weight: 700; }
.profile-tile-overlay small { overflow: hidden; color: #dce3dd; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.profile-empty { grid-column: 1 / -1; display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; padding: 35px 16px; text-align: center; }
.profile-empty-mark { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; background: #242d2f; color: var(--lime); font-size: 27px; }
.profile-empty h2 { margin: 18px 0 4px; font: 600 18px var(--font-display); }
.profile-empty p { margin: 0 0 15px; color: #9aa7a3; font-size: 11px; }
.profile-empty .button { min-height: 36px; font-size: 10px; }

.group-dialog { width: min(590px, calc(100% - 30px)); max-height: min(88vh, 780px); overflow-y: auto; border: 1px solid #354345; border-radius: 7px; padding: 0; background: #172022; color: var(--ink); box-shadow: 0 25px 90px rgb(0 0 0 / 48%); }
.group-dialog::backdrop { background: rgb(5 9 10 / 72%); backdrop-filter: blur(3px); }
.group-form { padding: 24px; }
.group-dialog .dialog-heading h2 { font: 600 23px var(--font-display); }
.group-switch-section, .group-create-section, .group-manage-section { margin-top: 16px; border: 1px solid #303d3f; border-radius: 5px; padding: 14px; background: #1c2729; }
.group-label { display: block; margin: 0 0 8px; color: #9ba9a2; font-size: 10px; font-weight: 700; }
.group-switch-row { display: flex; gap: 8px; }
.group-switch-row select, .group-manage-heading select, .group-create-form input, .invite-form input { min-width: 0; min-height: 38px; border: 1px solid #394849; border-radius: 4px; padding: 0 10px; outline: 0; background: #111719; color: var(--ink); font-size: 11px; }
.group-switch-row select { flex: 1; }
.group-switch-row .button { min-height: 38px; font-size: 10px; }
.group-create-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; }
.group-create-form input { width: 100%; }
.group-create-form > .button { min-height: 38px; padding: 0 11px; font-size: 10px; white-space: nowrap; }
.group-handle-input { position: relative; }
.group-handle-input > span, .invite-form > div > span { position: absolute; z-index: 1; top: 11px; left: 9px; color: #9ba9a2; font-size: 11px; }
.group-handle-input input { padding-left: 23px; }
.group-inbox:empty { display: none; }
.group-inbox:not(:empty) { margin: 0 0 14px; border: 1px solid rgb(217 250 99 / 30%); border-radius: 5px; padding: 13px; background: rgb(217 250 99 / 5%); }
.invitation-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.invitation-card b, .invitation-card small { display: block; }
.invitation-card b { font-size: 11px; }
.invitation-card small { margin-top: 3px; color: #9aa7a3; font-size: 9px; }
.invitation-card > div:last-child { display: flex; gap: 6px; }
.invite-action { min-height: 29px; border: 1px solid #53615d; border-radius: 3px; padding: 0 8px; background: transparent; color: var(--ink); font-size: 9px; }
.invite-action.accept { border-color: var(--lime); background: var(--lime); color: #172019; font-weight: 700; }
.group-manage-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.group-manage-heading .group-label { margin-bottom: 4px; }
.group-manage-heading select { min-width: 170px; }
.group-manage-heading > span { color: #9aa7a3; font-size: 9px; white-space: nowrap; }
.invite-form { margin-top: 14px; }
.invite-form > div { position: relative; display: flex; gap: 7px; }
.invite-form input { flex: 1; width: 100%; padding-left: 24px; }
.invite-form .button { min-height: 38px; padding: 0 12px; font-size: 10px; }
.group-roster, .group-pending { margin-top: 15px; }
.group-person { display: flex; min-height: 47px; align-items: center; gap: 9px; border-top: 1px solid #303d3f; }
.group-person-avatar { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #334142; color: var(--lime); font: 600 11px var(--font-display); }
.group-person > span:nth-child(2) { min-width: 0; flex: 1; }
.group-person b, .group-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-person b { font-size: 10px; }
.group-person small { margin-top: 3px; color: #95a29d; font-size: 9px; }
.remove-access { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border: 1px solid #3a4849; border-radius: 50%; background: transparent; color: #ff8c78; font-size: 17px; }
.remove-access:hover { border-color: #ff8c78; background: rgb(255 128 107 / 10%); }
.group-footnote { margin: 13px 1px 0; color: #899791; font-size: 9px; line-height: 1.5; }

@media (max-width: 1120px) {
  .profile-page { max-width: 850px; }
  .profile-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .profile-page { padding: 0 1px; }
  .profile-cover { height: 118px; }
  .profile-header { flex-wrap: wrap; gap: 11px; padding: 0 10px; }
  .profile-avatar-large { width: 86px; height: 86px; margin-top: -31px; border-width: 4px; font-size: 29px; }
  .profile-identity { flex-basis: calc(100% - 100px); padding-top: 9px; }
  .profile-identity h1 { font-size: 20px; }
  .profile-identity .eyebrow { font-size: 8px; }
  .profile-page-bio { margin-top: 8px; font-size: 11px; }
  .profile-header-actions { width: 100%; padding-top: 2px; }
  .profile-header-actions .button-outline { flex: 1; }
  .profile-stats { justify-content: space-between; margin: 15px 10px; }
  .profile-stats > div { min-width: 0; flex: 1; flex-direction: column; gap: 2px; padding: 0 8px; }
  .profile-stats > div:first-child { padding-left: 0; }
  .profile-stats strong { font-size: 14px; }
  .profile-stats span { font-size: 9px; }
  .profile-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; padding: 0 0 8px; }
  .profile-tabs { width: 100%; min-height: 43px; }
  .profile-tab { padding: 0 10px; font-size: 10px; }
  .profile-sort { align-self: flex-end; }
  .profile-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 8px; }
  .profile-empty { min-height: 245px; }
  .group-form { padding: 19px; }
  .group-create-form { grid-template-columns: 1fr 1fr; }
  .group-create-form > .button { grid-column: 1 / -1; }
  .group-manage-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .group-manage-heading select { width: 100%; }
}

.account-switch-button { display: flex; min-width: 0; height: 42px; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 5px; padding: 2px 8px 2px 3px; background: transparent; color: var(--ink); }
.account-switch-button:hover { border-color: #354345; background: #1a2325; }
.account-switch-button .avatar { flex: 0 0 auto; }
.account-switch-button b { max-width: 145px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-chevron { color: #9ba9a2; font-size: 15px; }
@media (max-width: 720px) {
  .topbar { gap: 7px; }
  .search-box { width: min(29vw, 160px); }
  .top-actions { gap: 5px; }
  .account-switch-button { width: 38px; height: 38px; justify-content: center; padding: 0; }
  .account-switch-button b, .account-chevron { display: none; }
}

.topbar { isolation: isolate; }
.account-menu { position: absolute; z-index: 8; top: calc(100% + 8px); right: 16px; width: min(280px, calc(100vw - 24px)); border: 1px solid #465254; border-radius: 7px; padding: 6px; background: #242c2e; box-shadow: 0 14px 38px rgb(0 0 0 / 42%); }
.account-menu[hidden] { display: none; }
.account-menu-item { display: flex; width: 100%; min-height: 48px; align-items: center; gap: 11px; border: 0; border-radius: 4px; padding: 7px 10px; background: transparent; color: var(--ink); text-align: left; }
.account-menu-item:hover, .account-menu-item:focus-visible { outline: 0; background: #303a3c; }
.account-menu-item > span:last-child { min-width: 0; }
.account-menu-item b, .account-menu-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-item b { font-size: 12px; font-weight: 600; }
.account-menu-item small { margin-top: 3px; color: #a3b0aa; font-size: 9px; }
.menu-icon { display: grid; width: 20px; flex: 0 0 auto; place-items: center; color: #d0d9d1; font-size: 16px; }
.account-menu-divider { height: 1px; margin: 5px 4px; background: #3a4648; }
.account-menu .menu-logout { color: #ff9a85; }
.account-menu .menu-logout .menu-icon { color: #ff9a85; }
@media (max-width: 720px) {
  .account-menu { top: calc(100% + 5px); right: 8px; width: min(280px, calc(100vw - 16px)); }
}

.settings-view { width: min(1120px, 100%); margin: 0 auto; }
.settings-page-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #2c393a; padding: 0 0 20px; }
.settings-page-header h1 { margin: 5px 0 4px; font: 700 27px var(--font-display); }
.settings-page-header > div > p:last-child { margin: 0; color: #9aa7a3; font-size: 11px; }
.settings-page-header .button { min-height: 36px; font-size: 10px; }
.settings-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 28px; padding-top: 17px; }
.settings-nav { display: flex; align-self: start; flex-direction: column; gap: 3px; border-right: 1px solid #2c393a; padding: 7px 15px 15px 0; }
.settings-nav .sidebar-label { margin: 0 0 8px 9px; }
.settings-nav-item { display: flex; min-height: 39px; align-items: center; gap: 9px; border: 0; border-radius: 4px; padding: 0 9px; background: transparent; color: #acb8b2; text-align: left; font-size: 11px; }
.settings-nav-item span { width: 17px; color: #9aa7a3; text-align: center; }
.settings-nav-item:hover { background: #1c2729; color: var(--ink); }
.settings-nav-item.active { background: #d9fa63; color: #172019; font-weight: 700; }
.settings-nav-item.active span { color: #172019; }
.settings-nav-divider { height: 1px; margin: 11px 5px; background: #2c393a; }
.settings-content { min-width: 0; }
.settings-panel { min-width: 0; padding: 5px 0 24px; }
.settings-panel[hidden] { display: none; }
.settings-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.settings-panel-heading .eyebrow { color: var(--lime); }
.settings-panel-heading h2 { margin: 6px 0 5px; font: 600 21px var(--font-display); }
.settings-panel-heading p:last-child { margin: 0; color: #9aa7a3; font-size: 11px; line-height: 1.55; }
.settings-form { max-width: 760px; }
.settings-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; }
.settings-fields label, .settings-full-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #c0c9c2; font-size: 10px; font-weight: 700; }
.settings-fields .profile-input, .settings-full-field .profile-input { width: 100%; min-height: 40px; font-weight: 400; }
.settings-full-field { grid-column: 1 / -1; }
.settings-fields .username-input { width: 100%; }
.settings-fields .username-input .profile-input { min-height: 40px; }
.settings-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; border-top: 1px solid #2c393a; padding-top: 13px; }
.settings-form-actions > span { color: #94a19b; font-size: 10px; line-height: 1.45; }
.settings-form-actions .button { min-height: 36px; flex: 0 0 auto; padding: 0 13px; font-size: 10px; }
.settings-form .form-error { margin-top: 10px; }
.verification-status-card { display: flex; max-width: 700px; align-items: center; gap: 12px; margin-bottom: 16px; border: 1px solid #344244; border-radius: 5px; padding: 14px; background: #192325; }
.verification-mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #3a4849; border-radius: 50%; color: #a9b5ae; font-size: 15px; }
.verification-mark.is-verified { border: 0; background: transparent; }
.verification-mark.is-verified img { display: block; width: 34px; height: 34px; object-fit: contain; }
.verification-status-card b { font-size: 12px; }
.verification-status-card p { margin: 4px 0 0; color: #9aa7a3; font-size: 10px; }
.verified-badge { display: inline-block; width: 19px; height: 19px; flex: 0 0 auto; vertical-align: -4px; object-fit: contain; }
.admin-badge { display: inline-block; width: 21px; height: 21px; flex: 0 0 auto; vertical-align: -5px; object-fit: contain; }
.settings-empty > .verified-badge { width: 48px; height: 48px; }
.profile-name-line { display: flex; align-items: center; gap: 7px; }
.group-settings-content { max-width: 850px; }
.group-settings-content .group-switch-section, .group-settings-content .group-create-section, .group-settings-content .group-manage-section { margin-top: 13px; }
.support-form { border-bottom: 1px solid #2c393a; padding-bottom: 20px; }
.support-ticket-list { display: flex; flex-direction: column; gap: 10px; }
.settings-list-heading { display: flex; align-items: center; justify-content: space-between; margin: 19px 0 10px; }
.settings-list-heading h3 { margin: 0; font: 600 14px var(--font-display); }
.settings-list-heading > span { color: #9aa7a3; font-size: 9px; }
.support-ticket, .admin-ticket, .verification-request { border: 1px solid #303d3f; border-radius: 5px; padding: 13px; background: #182123; }
.ticket-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ticket-heading h3 { margin: 0; font: 600 12px var(--font-display); }
.ticket-heading small, .ticket-status { display: inline-block; margin-top: 4px; color: #93a19b; font-size: 9px; }
.ticket-status { border: 1px solid #354345; border-radius: 10px; padding: 3px 7px; white-space: nowrap; }
.ticket-status.answered { border-color: rgb(50 139 250 / 40%); color: #82bcff; }
.ticket-message { margin: 12px 0; color: #c2ccc5; font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.ticket-replies { display: flex; flex-direction: column; gap: 7px; margin: 12px 0; }
.ticket-reply { border-left: 2px solid #52615d; padding: 7px 9px; background: #1e292b; }
.ticket-reply.from-admin { border-left-color: #328bfa; }
.ticket-reply b { font-size: 9px; }
.ticket-reply p { margin: 4px 0; color: #c2ccc5; font-size: 10px; line-height: 1.5; white-space: pre-wrap; }
.ticket-reply small { color: #84918b; font-size: 8px; }
.ticket-reply-form { display: flex; align-items: flex-end; gap: 8px; margin-top: 11px; }
.ticket-reply-form textarea { min-height: 38px; max-height: 120px; flex: 1; resize: vertical; border: 1px solid #354345; border-radius: 4px; padding: 8px; background: #111719; color: var(--ink); font: 10px var(--font-body); }
.ticket-reply-form .button { min-height: 34px; flex: 0 0 auto; padding: 0 10px; font-size: 9px; }
.settings-empty { display: grid; min-height: 190px; align-content: center; justify-items: center; color: #9aa7a3; text-align: center; }
.settings-empty h3 { margin: 10px 0 4px; color: var(--ink); font: 600 14px var(--font-display); }
.settings-empty p { margin: 0; font-size: 10px; }
.admin-tabs { display: flex; gap: 4px; margin: 0 0 12px; border-bottom: 1px solid #2c393a; }
.admin-tabs button { min-height: 36px; border: 0; border-bottom: 2px solid transparent; padding: 0 12px; background: transparent; color: #9aa7a3; font-size: 10px; }
.admin-tabs button.active { border-bottom-color: var(--lime); color: var(--ink); font-weight: 700; }
.admin-tab-count { display: inline-flex; min-width: 17px; height: 17px; align-items: center; justify-content: center; margin-left: 4px; border-radius: 999px; padding: 0 5px; background: var(--lime); color: #152019; font-size: 10px; font-weight: 800; }
.admin-content { display: flex; flex-direction: column; gap: 8px; }
.verification-request { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.verification-request-info { display: flex; min-width: 0; gap: 10px; }
.verification-request-info h3 { margin: 0; font: 600 12px var(--font-display); }
.verification-request-info h3 span { color: #9aa7a3; font: 10px var(--font-body); }
.verification-request-info p, .verification-request-info small { color: #9aa7a3; font-size: 9px; }
.verification-request-info blockquote { margin: 9px 0; border-left: 2px solid #465456; padding-left: 8px; color: #c2ccc5; font-size: 10px; white-space: pre-wrap; }
.admin-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #303b3d; color: var(--lime); font: 700 12px var(--font-display); }
.admin-actions { display: flex; flex: 0 0 auto; gap: 6px; }
.admin-actions .button { min-height: 32px; padding: 0 9px; font-size: 9px; }
.admin-account-list { display: flex; flex-direction: column; }
.admin-account-row { display: flex; min-height: 57px; align-items: center; gap: 10px; border-bottom: 1px solid #2c393a; }
.admin-account-info { min-width: 0; flex: 1; }
.admin-account-info b, .admin-account-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-account-info b { font-size: 10px; }
.admin-account-info small { margin-top: 4px; color: #9aa7a3; font-size: 9px; }
.admin-account-state { color: #a8b4ae; font-size: 9px; white-space: nowrap; }
.admin-account-state.banned { color: #ff9986; }
.admin-account-row .button { min-height: 30px; padding: 0 9px; font-size: 9px; }

@media (max-width: 720px) {
  .settings-view { padding: 0 1px; }
  .settings-page-header { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 14px; }
  .settings-page-header h1 { font-size: 23px; }
  .settings-layout { display: block; padding-top: 10px; }
  .settings-nav { flex-direction: row; overflow-x: auto; gap: 4px; border-right: 0; border-bottom: 1px solid #2c393a; padding: 0 0 8px; }
  .settings-nav > .sidebar-label, .settings-nav-divider { display: none; }
  .settings-nav-item { min-height: 34px; flex: 0 0 auto; gap: 5px; padding: 0 8px; font-size: 9px; white-space: nowrap; }
  .settings-nav-item span { width: auto; }
  .settings-content { padding-top: 14px; }
  .settings-panel-heading { margin-bottom: 14px; }
  .settings-panel-heading h2 { font-size: 18px; }
  .settings-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .settings-form-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .settings-form-actions .button { width: 100%; }
  .group-create-form { grid-template-columns: minmax(0, 1fr); }
  .group-create-form > .button { grid-column: auto; }
  .group-manage-heading { align-items: flex-start; flex-direction: column; }
  .group-manage-heading select { width: 100%; }
  .ticket-reply-form { align-items: stretch; flex-direction: column; }
  .ticket-reply-form .button { width: 100%; }
  .verification-request { align-items: stretch; flex-direction: column; }
  .admin-actions { width: 100%; }
  .admin-actions .button { flex: 1; }
  .admin-account-row { flex-wrap: wrap; padding: 8px 0; }
  .admin-account-state { margin-left: 44px; }
  .admin-account-row .button { margin-left: auto; }
}

/* Video löschen: nur bei eigenen Clips im Frontend sichtbar. Die API prüft den Besitzer zusätzlich serverseitig. */
.delete-video-button {
  border: 1px solid rgb(255 128 107 / 48%);
  border-radius: 4px;
  padding: 7px 10px;
  background: rgb(255 128 107 / 9%);
  color: #ff9b8c;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.delete-video-button:hover { background: rgb(255 128 107 / 18%); }
.delete-video-button:disabled, .profile-video-delete:disabled { opacity: .55; cursor: wait; }
.profile-video-delete {
  position: absolute;
  z-index: 3;
  top: 7px;
  right: 7px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgb(255 128 107 / 65%);
  border-radius: 50%;
  background: rgb(20 28 30 / 92%);
  color: #ff9b8c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.profile-video-delete:hover { background: #432725; }
.profile-video-delete { pointer-events: auto; }


/* Live account-search results */
.search-container { position: relative; z-index: 20; }
.account-search-results { position: absolute; z-index: 40; top: calc(100% + 7px); left: 0; width: min(420px, 82vw); max-height: min(65vh, 480px); overflow-y: auto; border: 1px solid #e3e6db; border-radius: 8px; padding: 7px; background: #fff; box-shadow: 0 18px 48px rgb(20 25 20 / 17%); }
.account-search-heading { padding: 9px 10px 7px; color: #85877f; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.account-search-empty { margin: 0; padding: 13px 10px; color: #777970; font-size: 12px; line-height: 1.5; }
.account-search-result { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; }
.account-search-result:hover { background: #f6f7f1; }
.account-search-open { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 10px; border: 0; padding: 0; background: transparent; text-align: left; }
.account-search-avatar { display: grid; width: 37px; height: 37px; flex: 0 0 37px; overflow: hidden; place-items: center; border-radius: 50%; background: var(--lime); font-size: 13px; font-weight: 800; }
.account-search-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.account-search-identity { display: block; min-width: 0; flex: 1; }
.account-search-identity b, .account-search-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-search-identity b { font-size: 12px; }
.account-search-identity small { margin-top: 4px; color: #85877f; font-size: 10px; }
.search-follow-button { flex: 0 0 auto; white-space: nowrap; }
.creator-open-profile { width: 100%; border: 0; padding: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.creator-open-profile:hover .creator-name b { text-decoration: underline; text-underline-offset: 3px; }
.profile-header-actions .public-follow-button { min-height: 36px; white-space: nowrap; }
.profile-header-actions .public-follow-button.is-following { border: 1px solid #d6d8ce; background: #f6f7f1; }
@media (max-width: 760px) {
  .account-search-results { width: min(92vw, 420px); left: 50%; transform: translateX(-50%); }
}


/* Zentraler Posteingang für Gruppenkonto-Einladungen */
.inbox-page { width: min(820px, 100%); margin: 0 auto; }
.inbox-page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin: 2px 0 25px; }
.inbox-page-heading h1 { margin:7px 0 8px; font:700 28px var(--font-display); letter-spacing:-1px; color:var(--ink); }
.inbox-page-heading p:not(.eyebrow) { margin:0; max-width:540px; color:#9aa7a3; font-size:12px; line-height:1.6; }
.inbox-page-heading .button { flex:0 0 auto; min-height:37px; font-size:11px; }
.inbox-invitations-list { display:grid; gap:12px; }
.inbox-invitation-card { display:flex; align-items:center; gap:15px; padding:18px; border:1px solid #2d3b3d; border-radius:8px; background:#192224; }
.inbox-invitation-icon { display:grid; width:46px; height:46px; flex:0 0 auto; place-items:center; border-radius:13px; background:rgb(217,243,108,.13); color:var(--lime); font-size:21px; }
.inbox-invitation-copy { min-width:0; flex:1; }
.inbox-invitation-copy .eyebrow { margin:0 0 5px; color:#9ca9a3; font-size:9px; }
.inbox-invitation-copy h2 { margin:0 0 5px; color:var(--ink); font:600 16px var(--font-display); }
.inbox-invitation-copy p { margin:0 0 5px; color:#bdc8c1; font-size:11px; line-height:1.5; }
.inbox-invitation-copy small { color:#899891; font-size:10px; }
.inbox-invitation-actions { display:flex; flex:0 0 auto; flex-direction:column; gap:7px; }
.inbox-invitation-actions .invite-action { min-width:96px; min-height:34px; font-size:10px; }
.inbox-invitation-actions .invite-action.decline { color:#bdc7c1; }
.inbox-empty { padding:48px 24px; border:1px dashed #384648; border-radius:8px; background:rgb(25,34,36,.72); text-align:center; }
.inbox-empty-icon { display:grid; width:56px; height:56px; margin:0 auto 17px; place-items:center; border-radius:50%; background:rgb(217,243,108,.12); color:var(--lime); font-size:24px; }
.inbox-empty h2 { margin:0 0 8px; color:var(--ink); font:600 19px var(--font-display); }
.inbox-empty p { max-width:370px; margin:0 auto 20px; color:#97a49e; font-size:12px; line-height:1.6; }
.nav-badge { display:inline-flex !important; width:auto !important; min-width:17px; height:17px; align-items:center; justify-content:center; margin-left:auto; border-radius:99px; padding:0 5px; background:var(--coral); color:#fff !important; font-size:9px !important; font-weight:800; line-height:1; text-align:center; }
.mobile-nav .nav-badge { position:absolute; width:auto !important; min-width:15px; height:15px; margin:-22px 0 0 18px; padding:0 4px; font-size:8px !important; }
@media (max-width:720px) {
  .inbox-page-heading { align-items:flex-start; flex-direction:column; }
  .inbox-invitation-card { align-items:flex-start; flex-wrap:wrap; padding:14px; }
  .inbox-invitation-copy { flex-basis:calc(100% - 62px); }
  .inbox-invitation-actions { width:100%; flex-direction:row; padding-left:61px; }
  .inbox-invitation-actions .invite-action { flex:1; }
  .nav-badge { min-width:15px; height:15px; }
}


/* Livestream + LIVE-Profilringe */
.button-live { background: #fa2547; color: #fff; box-shadow: 0 4px 16px rgb(250 37 71 / 18%); }
.button-live:hover { background: #df1738; }
.live-nav-count { display: inline-flex !important; width: auto !important; min-width: 18px; height: 18px; align-items: center; justify-content: center; margin-left: auto; border-radius: 12px; padding: 0 5px; background: #fa2547; color: white !important; font-size: 9px !important; }
.live-view { width: min(1120px,100%); margin: 0 auto; }
.live-page-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid #2b383a; padding:0 0 19px; margin-bottom:20px; }
.live-page-heading h1 { margin:6px 0 5px; font:700 28px var(--font-display); }
.live-page-heading h1 span { color:#fa2547; font-size:18px; vertical-align:middle; }
.live-page-heading p:last-child { margin:0; color:#9aa7a3; font-size:11px; }
.live-stream-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.live-stream-card { display:flex; min-width:0; align-items:center; gap:12px; border:1px solid #344143; border-radius:8px; padding:13px; background:#192325; }
.live-stream-open { display:flex; min-width:0; flex:1; align-items:center; gap:13px; border:0; padding:0; background:transparent; color:inherit; text-align:left; }
.live-stream-open:disabled { cursor:default; }
.live-card-avatar { position:relative; display:grid; width:68px; height:68px; flex:0 0 auto; place-items:center; border-radius:50%; background:#d9fa63; color:#172019; font-size:24px; font-weight:700; }
.live-card-photo,.live-card-initial { position:relative; z-index:1; display:grid; width:100%; height:100%; place-items:center; border-radius:50%; object-fit:cover; }
.live-card-ring { position:absolute; z-index:2; inset:-18%; width:136%; height:136%; object-fit:contain; pointer-events:none; }
.live-card-copy { display:flex; min-width:0; flex-direction:column; gap:5px; }
.live-card-copy b { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.live-card-copy small { color:#9aa7a3; font-size:10px; }
.live-card-title { overflow:hidden; color:#d5ddd7; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.live-now-pill { display:inline-block; border-radius:3px; padding:2px 5px; background:#fa2547; color:#fff; font-size:8px; letter-spacing:.8px; vertical-align:2px; }
.live-watch-button { min-height:34px; flex:0 0 auto; padding:0 10px; font-size:10px; }
.live-empty-state { grid-column:1/-1; display:flex; min-height:280px; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:1px dashed #344143; border-radius:8px; padding:24px; text-align:center; }
.live-empty-symbol { display:grid; width:60px; height:60px; place-items:center; border-radius:50%; background:#252f31; color:#fa2547; font-size:25px; }
.live-empty-state h2 { margin:8px 0 0; font:600 20px var(--font-display); }
.live-empty-state p { margin:0 0 8px; color:#98a59f; font-size:11px; }
.live-ring-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; max-width:760px; }
.live-ring-option { display:flex; min-width:0; min-height:133px; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:1px solid #354345; border-radius:7px; padding:10px; background:#172123; color:#c8d2cb; }
.live-ring-option:hover { border-color:#849b47; }
.live-ring-option.selected { border-color:#d9fa63; background:rgb(217 250 99 / 8%); box-shadow:0 0 0 1px #d9fa63; color:#fff; }
.live-ring-option img { display:block; width:min(100%,100px); height:86px; object-fit:contain; }
.live-ring-option b { font-size:10px; }
.live-ring-status { color:#9eaea5; font-size:11px; }
.live-settings-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:760px; margin-top:18px; border-top:1px solid #2d3b3d; padding-top:14px; }
.live-settings-actions p { max-width:470px; margin:0; color:#98a59f; font-size:10px; line-height:1.55; }
.profile-avatar-large { position:relative; overflow:visible; border-color:transparent; background:transparent; isolation:isolate; }
.profile-avatar-core { position:absolute; z-index:1; inset:0; display:grid; overflow:hidden; place-items:center; border:5px solid var(--paper); border-radius:50%; background:var(--lime); color:#172019; }
.profile-avatar-core img { width:100%; height:100%; object-fit:cover; }
.profile-avatar-large .live-ring-overlay { position:absolute; z-index:3; top:-6%; left:-6%; width:112%; height:112%; max-width:none; object-fit:contain; pointer-events:none; }
.live-start-dialog,.live-watch-dialog { width:min(690px,calc(100% - 24px)); max-height:min(92vh,900px); overflow:auto; border:1px solid #354345; border-radius:10px; padding:0; background:#172022; color:#f0f4ef; box-shadow:0 25px 90px rgb(0 0 0 / 55%); }
.live-start-dialog::backdrop,.live-watch-dialog::backdrop { background:rgb(2 6 7 / 78%); backdrop-filter:blur(5px); }
.live-start-form { padding:23px; }
.live-start-form h2,.live-player-heading h2 { margin:5px 0; font:600 22px var(--font-display); }
.live-start-form .profile-input { width:100%; min-height:40px; border:1px solid #354345; border-radius:5px; padding:0 11px; background:#101719; color:#f2f5f1; }
.live-start-preview { display:flex; align-items:center; gap:15px; margin:16px 0 10px; border:1px solid #303d3f; border-radius:7px; padding:10px; background:#1c2729; }
.live-start-preview img { width:86px; height:82px; object-fit:contain; }
.live-start-preview p,.live-dialog-note { color:#a5b2aa; font-size:10px; line-height:1.5; }
.live-player-shell { padding:17px; }
.live-player-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:12px; }
.live-player-heading p:last-child { margin:0; color:#a2b0a8; font-size:11px; }
.live-player-heading .icon-button { min-width:110px; width:auto; padding:0 12px; font-size:10px; }
.live-now-dot { display:inline-block; width:7px; height:7px; margin-right:4px; border-radius:50%; background:#fa2547; box-shadow:0 0 0 4px rgb(250 37 71 / 16%); }
#live-player { display:block; width:100%; max-height:68vh; aspect-ratio:16/9; border-radius:6px; background:#050707; object-fit:contain; }
.live-connection-status { margin:10px 0 0; color:#acb8b0; font-size:11px; }
@media(max-width:900px){.live-stream-grid{grid-template-columns:1fr}.live-ring-options{grid-template-columns:repeat(3,minmax(0,1fr))}.top-actions{gap:7px}.top-actions .button{padding:0 10px;font-size:10px}}
@media(max-width:600px){.live-page-heading{align-items:flex-start;flex-direction:column}.live-ring-options{grid-template-columns:repeat(2,minmax(0,1fr))}.live-settings-actions{align-items:stretch;flex-direction:column}.live-watch-button{min-height:30px;padding:0 8px}.live-card-avatar{width:58px;height:58px}.live-player-shell{padding:10px}.live-player-heading{align-items:flex-start;flex-direction:column}.top-actions #go-live-button{font-size:0;gap:0;width:38px;padding:0}.top-actions #go-live-button span{font-size:18px}}
