/* Kontoeinstellungen und optionale, lokal gespeicherte tacko-Standard-Darstellung. */
.theme-toggle{width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid #e5e5ea;border-radius:50%;background:#fff;color:#424245;font-size:17px;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.theme-toggle:hover{transform:translateY(-1px);border-color:#aeb8c5;background:#f5f7f9}
.account-avatar{overflow:hidden}.account-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.settings-view{max-width:1050px}.settings-heading{margin-top:10px}.settings-heading h1{margin:7px 0 5px;font-size:clamp(28px,4vw,42px);font-weight:680;letter-spacing:-1.7px}.settings-heading>p{margin:0;color:#6e6e73;font-size:12px}
.settings-card{max-width:850px;margin:15px 0;padding:22px 24px;border:1px solid #e5e5ea;border-radius:14px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.035)}.settings-card h2{margin:3px 0 5px;font-size:16px;letter-spacing:-.3px}.settings-card>p,.settings-card-heading p{margin:3px 0 15px;color:#6e6e73;font-size:11px;line-height:1.65}.settings-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.settings-kicker{color:#86868b;font:8px var(--mono);letter-spacing:.9px}.settings-text-link{flex:none;color:#0066cc;font-size:10px}.settings-form{display:flex;max-width:600px;flex-direction:column}.settings-form label,.settings-danger label{display:flex;justify-content:space-between;gap:10px;margin:12px 0 5px;color:#424245;font-size:11px;font-weight:600}.settings-form label span{color:#86868b;font-size:9px;font-weight:400}.settings-form input,.settings-form textarea,.settings-danger input:not([type=checkbox]){width:100%;padding:10px;border:1px solid #dedee3;border-radius:8px;background:#fff;color:#1d1d1f;font:inherit;font-size:11px}.settings-form textarea{resize:vertical}.settings-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.settings-form-footer p,.settings-danger form>p{margin:0;color:#27865b;font-size:10px}.settings-danger{border-color:#ead6d3}.settings-danger h2{color:#9f302b}.settings-danger>p{max-width:700px}.settings-danger label{display:block}.settings-danger label strong{color:#9f302b;letter-spacing:.02em}.settings-danger .settings-check{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;margin:12px 0;color:#515154;font-weight:400}.settings-check input{width:15px;height:15px;flex:none;margin:1px 0 0;accent-color:#9f302b}.settings-danger form>p{min-height:18px;color:#9f302b}.danger-button{min-height:34px;padding:0 13px;border:1px solid #b6423c;border-radius:8px;background:#b52f2b;color:#fff;font-size:10px;font-weight:600;cursor:pointer}.danger-button:hover:not(:disabled){background:#982521}.danger-button:disabled{border-color:#d5b4b1;background:#d7c4c2;color:#fff;cursor:not-allowed}.settings-login-notice{max-width:600px}.settings-login-notice h2{margin:0 0 12px}

html[data-theme="dark"]{color-scheme:dark;--bg:#171819;--surface:#202224;--surface-soft:#27292b;--line:#3b3e40;--text:#e8e9eb;--muted:#b6b8ba;--quiet:#92969a;--accent:#82a9cf;--accent-hover:#9bbce0;--shadow:0 4px 20px rgba(0,0,0,.24)}
html[data-theme="dark"] body{background:#171819;color:#e8e9eb}
html[data-theme="dark"] .topbar{border-color:#373a3c;background:rgba(30,32,34,.92)}
html[data-theme="dark"] .brand-name,html[data-theme="dark"] .channel-copy strong,html[data-theme="dark"] .popover-user strong,html[data-theme="dark"] .sidebar-note strong{color:#ececef}
html[data-theme="dark"] .brand-slogan,html[data-theme="dark"] .sidebar-heading,html[data-theme="dark"] .sidebar-footer{color:#9da1a4}
html[data-theme="dark"] .search,html[data-theme="dark"] .account-trigger,html[data-theme="dark"] .notification-trigger,html[data-theme="dark"] .theme-toggle{border-color:#44484b;background:#282a2c;color:#e3e4e5}
html[data-theme="dark"] .search input,html[data-theme="dark"] .account-trigger-name{color:#e7e8e9}html[data-theme="dark"] .search input::placeholder{color:#979b9e}
html[data-theme="dark"] .sidebar{border-color:#373a3c;background:#202224}html[data-theme="dark"] .side-link{color:#c2c4c6}html[data-theme="dark"] .side-link:hover,html[data-theme="dark"] .side-link.selected{background:#2b3035;color:#b9d7f4}html[data-theme="dark"] .sidebar-divider{background:#3a3d3f}html[data-theme="dark"] .sidebar-note{border-color:#414447;background:#27292b}html[data-theme="dark"] .sidebar-note p{color:#b9bbbd}
html[data-theme="dark"] .main-content{color:#e8e9eb}html[data-theme="dark"] .directory-heading h1,html[data-theme="dark"] .stream-topline h1,html[data-theme="dark"] .clip-section h2,html[data-theme="dark"] .profile-card h1,html[data-theme="dark"] .profile-edit h2,html[data-theme="dark"] .profile-stream-heading h2{color:#eeeeef}html[data-theme="dark"] .directory-heading>p,html[data-theme="dark"] .clip-section>p,html[data-theme="dark"] .member-profile-link>small,html[data-theme="dark"] .member-profile-link>p{color:#b0b3b5}
html[data-theme="dark"] .member-card,html[data-theme="dark"] .clip-card,html[data-theme="dark"] .profile-card,html[data-theme="dark"] .profile-edit,html[data-theme="dark"] .profile-stream-room,html[data-theme="dark"] .lower-panel,html[data-theme="dark"] .settings-card{border-color:#3e4245;background:#222426;color:#e7e8e9;box-shadow:0 4px 20px rgba(0,0,0,.18)}html[data-theme="dark"] .member-profile-link,html[data-theme="dark"] .member-profile-link>strong,html[data-theme="dark"] .clip-card strong,html[data-theme="dark"] .profile-card p,html[data-theme="dark"] .lower-panel h3{color:#e2e3e4}html[data-theme="dark"] .clip-card small,html[data-theme="dark"] .profile-login,html[data-theme="dark"] .lower-panel p,html[data-theme="dark"] .profile-stream-copy{color:#b0b3b5}
html[data-theme="dark"] .follow-button,html[data-theme="dark"] .load-more{border-color:#58728a;background:#33495d;color:#f0f5f9}html[data-theme="dark"] .follow-button:hover,html[data-theme="dark"] .load-more:hover{background:#405f7a}html[data-theme="dark"] .live-status{border-color:#72433e;background:#452a28;color:#e8a49b}html[data-theme="dark"] .category-chip{border-color:#45494b;background:#27292b;color:#d4d6d7}html[data-theme="dark"] .category-chip.active,html[data-theme="dark"] .category-chip:hover{border-color:#6e8eaa;background:#303c47;color:#d6eaff;box-shadow:inset 0 -2px #82a9cf}
html[data-theme="dark"] .account-popover,html[data-theme="dark"] .notification-menu,html[data-theme="dark"] .search-results{border-color:#45484a;background:#232527;color:#e6e7e8;box-shadow:0 12px 34px rgba(0,0,0,.38)}html[data-theme="dark"] .popover-status,html[data-theme="dark"] .popover-divider{border-color:#424547}html[data-theme="dark"] .popover-link:hover,html[data-theme="dark"] .popover-logout:hover,html[data-theme="dark"] .search-result:hover,html[data-theme="dark"] .notification-items a{background:#303336}html[data-theme="dark"] .popover-user small,html[data-theme="dark"] .search-identity small,html[data-theme="dark"] .search-empty,html[data-theme="dark"] .search-self,html[data-theme="dark"] .notification-menu p{color:#aeb1b3}html[data-theme="dark"] .popover-logout{color:#e69a90}html[data-theme="dark"] .notification-items a,html[data-theme="dark"] .notification-menu a{color:#d9e4ed}
html[data-theme="dark"] .settings-heading>p,html[data-theme="dark"] .settings-card>p,html[data-theme="dark"] .settings-card-heading p,html[data-theme="dark"] .settings-kicker{color:#adb0b2}html[data-theme="dark"] .settings-card h2{color:#e9eaeb}html[data-theme="dark"] .settings-form label,html[data-theme="dark"] .settings-danger label{color:#d3d5d6}html[data-theme="dark"] .settings-form input,html[data-theme="dark"] .settings-form textarea,html[data-theme="dark"] .settings-danger input:not([type=checkbox]){border-color:#4a4d50;background:#1b1d1f;color:#e9eaeb}html[data-theme="dark"] .settings-form label span{color:#9da1a4}html[data-theme="dark"] .settings-danger{border-color:#634240}html[data-theme="dark"] .settings-danger h2,html[data-theme="dark"] .settings-danger label strong{color:#e69a90}html[data-theme="dark"] .settings-danger .settings-check{color:#c5c7c8}html[data-theme="dark"] .settings-danger .danger-button{border-color:#96433c;background:#8f302b}html[data-theme="dark"] .settings-danger .danger-button:disabled{border-color:#634240;background:#48312f;color:#aaa}
html[data-theme="dark"] .people-search,html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{border-color:#44484a;background-color:#222426;color:#e8e9eb}html[data-theme="dark"] .people-search input{background:transparent}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#969a9d}html[data-theme="dark"] .profile-stream-tabs{border-color:#414446}html[data-theme="dark"] .profile-stream-tab{border-color:#383b3d;background:#252729;color:#c1c4c6}html[data-theme="dark"] .profile-stream-tab.active{border-bottom-color:#82a9cf;color:#e0eaf2}html[data-theme="dark"] .profile-stream-player,html[data-theme="dark"] .profile-stream-chat{border-color:#414548}html[data-theme="dark"] .profile-stream-copy a,html[data-theme="dark"] .back-link,html[data-theme="dark"] .settings-text-link{color:#9fc8ef}
html[data-theme="dark"] .page-footer{border-color:#3c3f41;color:#9da1a4}html[data-theme="dark"] .page-footer>a,html[data-theme="dark"] .footer-mark{color:#c1c4c5}html[data-theme="dark"] .page-footer>a:hover{color:#d5e8f7}html[data-theme="dark"] .toast{border-color:#44484a;background:#292b2d;color:#e8e9eb}
@media(max-width:700px){.settings-card{padding:17px}.settings-card-heading{flex-direction:column}.settings-form-footer{align-items:flex-start;flex-direction:column}.theme-toggle{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Follow-Avatare bleiben stets auf der definierten Kachelgröße. */
.channel-avatar{position:relative;overflow:hidden;width:31px;height:31px;flex:0 0 31px;border-radius:9px}
.channel-avatar img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;border-radius:inherit;object-fit:cover}

/* Profilmedien und Social Links */
.settings-media-control{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:7px 0 3px}.settings-media-control input[type=file]{max-width:100%;font-size:10px}.settings-media-avatar{width:78px;height:78px;border:1px solid #e5e5ea;border-radius:50%;object-fit:cover}.settings-media-banner{width:min(100%,420px);aspect-ratio:3/1;border:1px solid #e5e5ea;border-radius:8px;object-fit:cover}.settings-clear-media,.settings-secondary-button{min-height:30px;padding:0 10px;border:1px solid #dedee3;border-radius:8px;background:#fff;color:#424245;font-size:10px;cursor:pointer}.settings-clear-media:hover,.settings-secondary-button:hover{border-color:#9eb8d1;background:#f5f8fb}.settings-secondary-button{margin:0 8px 0 0}.settings-secondary-button:disabled{opacity:.55;cursor:not-allowed}.settings-help{display:block;margin:2px 0 9px;color:#86868b;font-size:9px;line-height:1.6}.settings-social{display:grid;grid-template-columns:1fr;gap:5px;margin:18px 0 4px;padding:13px 0 4px;border:0;border-top:1px solid #e8e8ed}.settings-social legend{padding:0 8px 0 0;color:#424245;font-size:12px;font-weight:650}.settings-social label{margin:5px 0 0!important}.settings-social input{width:100%;padding:9px;border:1px solid #dedee3;border-radius:8px;background:#fff;color:#1d1d1f;font:inherit;font-size:11px}.profile-banner{width:calc(100% + 48px);max-height:210px;aspect-ratio:3/1;overflow:hidden;margin:-24px -24px 16px;border-radius:13px 13px 0 0;background:#eef0f2}.profile-banner img{display:block;width:100%;height:100%;object-fit:cover}.profile-social-links{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:2px auto 12px}.profile-social-links a{padding:5px 9px;border:1px solid #e2e5e9;border-radius:15px;color:#3e607f;font-size:9px}.profile-social-links a:hover{background:#f1f6fb}.member-card .member-thumb:not(.stream-thumbnail){width:100%;height:auto;aspect-ratio:4/3;margin:0 0 12px;border-radius:9px;font-size:44px}.member-card .member-thumb:not(.stream-thumbnail) img{display:block;width:100%;height:100%;object-fit:cover}
html[data-theme="dark"] .settings-clear-media,html[data-theme="dark"] .settings-secondary-button,html[data-theme="dark"] .settings-social input{border-color:#4a4d50;background:#252729;color:#e3e4e5}html[data-theme="dark"] .settings-social{border-color:#424547}html[data-theme="dark"] .settings-social legend{color:#e3e4e5}html[data-theme="dark"] .settings-help{color:#9da1a4}html[data-theme="dark"] .profile-social-links a{border-color:#43484c;color:#b9d7f4}html[data-theme="dark"] .profile-social-links a:hover{background:#30363b}html[data-theme="dark"] .profile-banner{background:#303336}
@media(max-width:700px){.profile-banner{width:calc(100% + 34px);margin:-17px -17px 14px}.member-card .member-thumb:not(.stream-thumbnail){aspect-ratio:4/3}}

/* Profilaufbau: Banner zuerst, danach Identität und zuletzt der Streaming-Raum. */
#profile-view>.profile-banner{display:block;width:100%;max-width:1050px;height:clamp(150px,24vw,270px);max-height:none;aspect-ratio:auto;overflow:hidden;margin:0 auto 16px;border:1px solid rgba(20,25,30,.08);border-radius:14px;background:#e8e9e7;box-shadow:var(--shadow)}
#profile-view>.profile-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#profile-view>.profile-details-grid{margin-top:0}
#profile-view .profile-card{align-items:stretch;justify-content:flex-start;text-align:left}
#profile-view .profile-identity{display:flex;align-items:center;gap:18px;width:100%;min-width:0}
#profile-view .profile-identity .profile-thumb{width:92px;height:92px;flex:0 0 92px;margin:0;border:1px solid rgba(0,0,0,.06)}
#profile-view .profile-identity-copy{min-width:0}
#profile-view .profile-identity-copy h1{overflow-wrap:anywhere}
#profile-view .profile-identity-copy .profile-login{margin:3px 0;color:var(--quiet)}
#profile-view .profile-identity-copy .profile-bio{margin:9px 0 0;color:var(--muted);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
#profile-view .profile-card-footer{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;margin-top:15px}
#profile-view .profile-social-links{justify-content:flex-start;margin:0}
#profile-view .profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#profile-view .profile-follower-count{margin:0}
#profile-view .profile-follower-list{margin-top:8px}
#profile-view .profile-stream-room{margin-top:18px}
#profile-view>.profile-clips{width:100%;max-width:1050px;margin:24px auto 0}
html[data-theme="dark"] #profile-view>.profile-banner{border-color:#414548;background:#303336}
@media(max-width:700px){#profile-view>.profile-banner{height:clamp(130px,40vw,200px);margin-bottom:13px;border-radius:10px}#profile-view>.profile-details-grid{margin-top:0}#profile-view .profile-identity{align-items:flex-start;gap:13px}#profile-view .profile-identity .profile-thumb{width:70px;height:70px;flex-basis:70px;font-size:25px}#profile-view .profile-identity-copy h1{font-size:21px}#profile-view .profile-identity-copy .profile-bio{font-size:11px}#profile-view .profile-card-footer{margin-top:13px}#profile-view .profile-stream-room{margin-top:14px}}

/* Profilinformationen unter dem Stream verwenden dieselbe Content-Breite. */
#profile-view>.profile-details-grid{width:100%;max-width:1050px;grid-template-columns:minmax(0,1fr);margin-top:18px}
@media(max-width:700px){#profile-view>.profile-details-grid{margin-top:14px}}

/* Geschützter RTMP-Zugang in den Kontoeinstellungen. */
.settings-frameworks-card{border-color:#d7e1df;background:linear-gradient(145deg,#fff,#f7faf8)}.settings-frameworks-card label{display:block;margin:12px 0 5px;color:#424245;font-size:11px;font-weight:600}.settings-secret-row{display:flex;align-items:center;gap:8px;margin:0 0 10px}.settings-secret-row input{min-width:0;flex:1;padding:9px 10px;border:1px solid #dedee3;border-radius:8px;background:#fff;color:#1d1d1f;font:inherit;font-size:11px}.settings-frameworks-card [hidden]{display:none!important}html[data-theme="dark"] .settings-frameworks-card{border-color:#46564f;background:linear-gradient(145deg,#222927,#202426)}html[data-theme="dark"] .settings-frameworks-card label{color:#d3d5d6}html[data-theme="dark"] .settings-secret-row input{border-color:#4a4d50;background:#1b1d1f;color:#e9eaeb}@media(max-width:520px){.settings-secret-row{align-items:stretch;flex-wrap:wrap}.settings-secret-row input{flex-basis:100%}}
.popover-stream-editor{padding:10px 13px;max-width:280px;border-top:1px solid #e8e8ed}.popover-stream-editor strong{display:block;margin-bottom:8px;font-size:11px}.popover-stream-editor label{display:block;margin:6px 0 3px;font-size:10px;color:#666}.popover-stream-editor input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:7px;border:1px solid #dedee3;border-radius:6px;font:inherit;font-size:11px}.popover-stream-editor .settings-check{display:flex;gap:6px;align-items:center}.popover-stream-editor small{display:block;margin-top:5px;font-size:10px;color:#69737c}.age-dialog{max-width:420px}.age-dialog .auth-content{padding:32px}

.modal-scrim[hidden]{display:none!important}
