/* ChrisEmm Connect – ruhige, einheitliche Oberflächenschicht */

/* Registrierung und Anmeldung */
.password-control .password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    translate: none !important;
    transform: translateY(-50%) !important;
    appearance: none;
}
.password-control .password-toggle i {
    display: inline-block;
    width: 1.1em;
    height: 1em;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
}
.view-register .auth-form .auth-consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 14px 15px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 14px;
    background: rgba(5, 12, 25, .46);
    color: var(--text-soft);
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
}
.view-register .auth-form .auth-consent input[type="checkbox"] {
    display: block;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border-radius: 6px;
    accent-color: var(--primary);
    background: transparent;
    cursor: pointer;
}
.view-register .auth-consent span { min-width: 0; }
.view-register .auth-consent a { color: #b9c2ff; text-underline-offset: 3px; }

/* Gemeinsame Seitenstruktur */
body:not(.view-chat) .main-content > section:not(.auth-wrapper):not(.modern-profile-page),
body:not(.view-chat) .main-content > main {
    width: min(100%, 1440px);
    margin-inline: auto;
}
.admin-card,
.profile-modern-card,
.mailbox-card,
.user-center-card {
    border-color: rgba(148, 163, 184, .14) !important;
    background: linear-gradient(150deg, rgba(16, 27, 48, .96), rgba(9, 17, 32, .94)) !important;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .18) !important;
}

/* Chat: Funktionen in eine eigene Werkzeugzeile aufteilen */
.view-chat .main-content { padding: 16px clamp(12px, 2.2vw, 30px) 22px; }
.chat-application {
    gap: 14px;
    max-width: 1840px;
    margin-inline: auto;
}
.chat-sidebar,
.chat-main {
    border-color: rgba(148, 163, 184, .14) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}
.chat-header { min-height: 82px; padding-inline: clamp(16px, 2vw, 24px); }
.messages { padding: 22px clamp(12px, 2vw, 26px) 28px; }
.chat-composer {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
        "tools tools"
        "preview preview"
        "field send";
    gap: 9px 12px !important;
    padding: 12px 14px 14px !important;
    border-top: 1px solid rgba(148, 163, 184, .14);
    background: rgba(7, 14, 28, .96) !important;
}
.chat-composer-tools {
    grid-area: tools;
    display: flex !important;
    align-items: center;
    gap: 7px !important;
    min-width: 0;
    padding: 0 0 9px !important;
    border-bottom: 1px solid rgba(148, 163, 184, .11);
    overflow-x: auto;
    scrollbar-width: thin;
}
.chat-composer-tools::before {
    content: "Werkzeuge";
    flex: 0 0 auto;
    margin-right: 4px;
    color: #7f90ad;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.chat-composer-tools .composer-tool {
    flex: 0 0 40px;
    width: 40px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 1px solid rgba(148, 163, 184, .15) !important;
    border-radius: 11px !important;
    background: rgba(20, 33, 57, .72) !important;
}
.chat-composer-tools .composer-tool:hover,
.chat-composer-tools .composer-tool:focus-visible {
    border-color: rgba(118, 132, 255, .58) !important;
    background: rgba(91, 105, 238, .16) !important;
}
.chat-image-preview { grid-area: preview; }
.composer-field { grid-area: field; min-width: 0; }
.chat-composer .send-button {
    grid-area: send;
    align-self: stretch;
    min-width: 112px;
    min-height: 48px;
    border-radius: 14px;
}
.chat-composer textarea {
    min-height: 48px !important;
    max-height: 132px;
    border: 1px solid rgba(148, 163, 184, .17) !important;
    border-radius: 14px !important;
    background: rgba(15, 26, 46, .74) !important;
}
.online-user { border-radius: 15px; }
.presence-context-label{display:inline-flex;align-items:center;gap:5px;width:max-content;margin-top:4px;padding:3px 7px;border:1px solid rgba(96,165,250,.28);border-radius:999px;background:rgba(59,130,246,.12);color:#93c5fd;font-size:.64rem;font-weight:850;letter-spacing:.02em}.presence-context-label i{font-size:.62rem}
.room-item { border-radius: 15px; }

/* Öffentliche Profile: kompakter, klarer und professioneller */
.modern-profile-page {
    width: min(100%, 1380px) !important;
    padding: 0 0 38px !important;
    background: transparent !important;
}
.modern-profile-hero {
    padding-bottom: 22px !important;
    border-radius: 26px !important;
    background: linear-gradient(150deg, rgba(10, 18, 34, .98), rgba(15, 28, 50, .96)) !important;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .3) !important;
}
.modern-profile-cover { height: 238px !important; }
.modern-profile-headline {
    margin-top: -72px !important;
    padding: 0 clamp(18px, 3vw, 36px) 4px !important;
    gap: 18px !important;
}
.modern-profile-avatar {
    width: 142px !important;
    height: 142px !important;
    border-width: 6px !important;
    border-radius: 34px !important;
}
.modern-profile-title { align-items: center !important; min-width: 0; }
.modern-profile-title h1 {
    font-size: clamp(2.1rem, 4vw, 3.45rem) !important;
    line-height: 1 !important;
}
.profile-hero-motto { max-width: 720px; font-size: 1rem !important; }
.profile-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-hero-stats a {
    min-width: 88px !important;
    padding: 9px 12px !important;
    border-radius: 13px !important;
}
.profile-homepage-nav {
    position: static !important;
    width: 100% !important;
    margin: 16px 0 !important;
    padding: 8px !important;
    border-radius: 17px !important;
    background: rgba(10, 18, 34, .9) !important;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .2) !important;
}
.profile-homepage-nav a { flex: 1 1 auto; justify-content: center; text-align: center; }
.modern-profile-grid {
    grid-template-columns: minmax(0, 1.72fr) minmax(280px, .72fr) !important;
    gap: 16px !important;
}
.modern-profile-grid main,
.modern-profile-grid aside { gap: 16px !important; }
.modern-profile-page .profile-modern-card {
    padding: clamp(19px, 2.3vw, 27px) !important;
    border-radius: 20px !important;
    background: linear-gradient(150deg, rgba(14, 25, 46, .95), rgba(9, 17, 32, .94)) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18) !important;
}
.modern-profile-page .profile-modern-card::after { opacity: .42; }
.profile-modern-card.profile-about-card {
    min-height: 0 !important;
    padding-left: clamp(88px, 8vw, 108px) !important;
}
.profile-dynamic-interest-grid section,
.profile-social-row,
.profile-activity-item {
    border-radius: 14px !important;
    background: rgba(3, 10, 22, .32) !important;
}

/* 24-Stunden-Status */
.status-composer {
    padding: 18px !important;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 18px !important;
    background: rgba(3, 10, 22, .34) !important;
}
.status-composer-copy { display: grid; gap: 2px; }
.status-composer-copy small { color: #8fa0bb; }
.status-audience {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) minmax(150px, 210px);
    align-items: center;
    gap: 11px !important;
    padding: 11px 12px;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 14px;
    background: rgba(16, 29, 51, .7);
}
.status-audience > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(102, 115, 255, .14);
    color: #aab4ff;
}
.status-audience > span { display: grid; min-width: 0; }
.status-audience small { color: #8999b4; font-weight: 500; }
.status-audience select { width: 100%; min-height: 42px; }
.status-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
.status-card { padding: 18px !important; border-radius: 18px !important; }
.status-story-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin: 8px 0 4px;
    border: 1px solid rgba(126, 140, 255, .28);
    border-radius: 13px;
    color: #dfe4ff;
    background: rgba(91, 103, 225, .12);
    font-weight: 750;
    cursor: pointer;
}
.status-story-open:hover { background: rgba(91, 103, 225, .22); }
.status-card .status-content-image,
.status-card .status-content-video { max-height: 620px; object-fit: contain; background: #050b16; }
.status-social-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.status-private-reply {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, .12);
}
.status-private-reply label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 13px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 13px;
    background: rgba(7, 14, 28, .72);
}
.status-private-reply label i { color: #9ba8ff; }
.status-private-reply input {
    width: 100%;
    min-height: 46px;
    border: 0 !important;
    background: transparent !important;
    color: inherit;
    outline: 0;
}
.status-owner-insights {
    margin-top: 14px;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 14px;
    background: rgba(3, 10, 22, .3);
}
.status-owner-insights > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
    font-weight: 800;
}
.status-owner-insights > summary span {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(102, 115, 255, .16);
    color: #b5bdff;
    font-size: .75rem;
}
.status-viewer-list,
.status-reply-list { display: grid; gap: 7px; padding: 0 12px 12px; }
.status-viewer-list a,
.status-reply-list article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px;
    border-radius: 11px;
    background: rgba(18, 31, 53, .64);
    color: inherit;
    text-decoration: none;
}
.status-viewer-list img,
.status-reply-list img { width: 38px !important; height: 38px !important; border-radius: 11px; object-fit: cover; }
.status-viewer-list span,
.status-reply-list article > span { display: grid; min-width: 0; }
.status-viewer-list small,
.status-reply-list small { color: #8999b4; }
.status-reply-list p { margin: 4px 0 0; color: #d6deec; }

.status-story-dialog {
    width: min(520px, calc(100vw - 24px));
    max-width: none;
    height: min(880px, calc(100dvh - 24px));
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 24px;
    color: #f5f7ff;
    background: #050913;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
}
body.status-story-is-open { overflow: hidden !important; }
.status-story-dialog::backdrop { background: rgba(0, 3, 10, .88); backdrop-filter: blur(12px); }
.status-story-shell { position: relative; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; height: 100%; }
.status-story-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 12px 14px 7px; }
.status-story-progress span { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.status-story-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: #fff; }
.status-story-progress .is-complete i { width: 100%; }
.status-story-progress .is-active i { animation: status-story-progress 7s linear forwards; }
.status-story-dialog.is-paused .status-story-progress .is-active i { animation-play-state: paused; }
.status-story-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px 12px; }
.status-story-toolbar .status-author { margin: 0; }
.status-story-toolbar > div:last-child { display: flex; gap: 6px; }
.status-story-toolbar button,
.status-story-direction { display: grid; place-items: center; border: 0; color: #fff; background: rgba(255, 255, 255, .1); cursor: pointer; }
.status-story-toolbar button { width: 38px; height: 38px; border-radius: 50%; }
.status-story-stage { display: grid; place-items: center; min-height: 0; overflow: hidden; background: radial-gradient(circle at 50% 40%, #18213b 0, #080d19 64%, #04070d 100%); }
.status-story-stage img,
.status-story-stage video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.status-story-text-background { display: grid; place-items: center; width: 100%; height: 100%; font-size: clamp(64px, 16vw, 120px); color: rgba(255, 255, 255, .17); background: linear-gradient(145deg, #545bda, #9d4edd 55%, #e05e83); }
.status-story-caption { min-height: 62px; padding: 15px 56px 18px; text-align: center; background: linear-gradient(180deg, rgba(5, 9, 19, .78), #050913); }
.status-story-caption p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.status-story-direction { position: absolute; z-index: 2; top: 50%; width: 42px; height: 54px; border-radius: 13px; transform: translateY(-50%); }
.status-story-direction.is-previous { left: 10px; }
.status-story-direction.is-next { right: 10px; }
@keyframes status-story-progress { from { width: 0; } to { width: 100%; } }

/* Profilbearbeitung und Galerie */
.profile-center-shell { grid-template-columns: 230px minmax(0, 1fr) !important; gap: 18px !important; }
.profile-center-nav { border-radius: 18px !important; background: rgba(10, 19, 35, .94) !important; }
.profile-modern-form { gap: 16px !important; }
.profile-modern-form > .profile-modern-card { border-radius: 20px !important; box-shadow: 0 18px 52px rgba(0, 0, 0, .2) !important; }
.form-grid { gap: 14px !important; }

@media (max-width: 1050px) {
    .modern-profile-grid { grid-template-columns: 1fr !important; }
    .profile-center-shell { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
    .view-chat .main-content { padding: 0; }
    .chat-application { gap: 0; }
    .chat-composer {
        grid-template-columns: minmax(0, 1fr) auto !important;
        padding: 10px !important;
    }
    .chat-composer-tools::before { content: "Mehr"; }
    .chat-composer .send-button { min-width: 82px; }
    .modern-profile-cover { height: 190px !important; }
    .modern-profile-headline { margin-top: -54px !important; align-items: flex-start !important; }
    .modern-profile-avatar { width: 108px !important; height: 108px !important; border-radius: 26px !important; }
    .modern-profile-title { width: 100%; align-items: flex-start !important; }
    .modern-profile-title h1 { font-size: 2rem !important; }
    .profile-homepage-nav { overflow-x: auto; }
    .profile-homepage-nav a { flex: 0 0 auto; }
    .profile-modern-card.profile-about-card { padding: 76px 18px 20px !important; }
    .status-audience { grid-template-columns: 38px minmax(0, 1fr); }
    .status-audience select { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
    .view-register .auth-form .auth-consent { padding: 12px; }
    .chat-composer-tools .composer-tool { flex-basis: 38px; width: 38px !important; }
    .chat-composer .send-button { min-width: 74px; padding-inline: 12px; }
    .status-private-reply { grid-template-columns: 1fr; }
    .status-private-reply .button { width: 100%; }
    .status-story-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
    .status-story-direction { width: 38px; height: 48px; }
    .status-story-caption { padding-inline: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    .status-story-progress .is-active i { animation: none; width: 100%; }
}

/* 4.0.9: Statusmedien bleiben in Karte und Slideshow sichtbar. */
.modern-profile-page img.status-content-image,.status-story-stage>img,.status-story-stage>video{display:block!important;visibility:visible!important;opacity:1!important}.status-story-media-error{display:grid;place-items:center;align-content:center;gap:12px;width:100%;height:100%;padding:24px;color:#bdc9dc;text-align:center;background:radial-gradient(circle at center,rgba(99,102,241,.16),transparent 58%)}.status-story-media-error i{font-size:2.4rem;color:#8ea1ff}

/* 4.0.7: gut sichtbare Story-Navigation und Reaktionen wie bei WhatsApp. */
.status-story-shell{grid-template-rows:auto auto minmax(0,1fr) auto auto!important}.status-story-direction{z-index:5!important;width:54px!important;height:66px!important;border:1px solid rgba(255,255,255,.28)!important;background:rgba(5,12,27,.86)!important;box-shadow:0 10px 28px rgba(0,0,0,.45)!important;font-size:1.15rem;transition:transform .18s ease,background .18s ease}.status-story-direction:hover,.status-story-direction:focus-visible{background:rgba(92,106,255,.95)!important;transform:translateY(-50%) scale(1.06)}.status-story-reactions{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px 16px;background:#050913}.status-story-reactions[hidden]{display:none!important}.status-story-reactions button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:rgba(255,255,255,.07);font-size:1.25rem;cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease}.status-story-reactions button:hover,.status-story-reactions button:focus-visible{transform:translateY(-2px) scale(1.06);background:rgba(255,255,255,.14)}.status-story-reactions button.is-active{border-color:#8ea1ff;background:rgba(99,102,241,.34);box-shadow:0 0 0 3px rgba(99,102,241,.14)}@media(max-width:430px){.status-story-direction{width:46px!important;height:58px!important}.status-story-reactions{padding-bottom:max(14px,env(safe-area-inset-bottom))}.status-story-reactions button{width:42px;height:42px}}

@media (prefers-reduced-motion: reduce) {
    .profile-modern-card,
    .profile-hero-stats a,
    .modern-profile-hero .button { transform: none !important; transition: none !important; }
}

/* Profilgalerie 4.0.3: feste, harmonische Vorschau und zugängliche Slideshow. */
.profile-gallery-preview-402{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.profile-gallery-thumb{position:relative;display:block;width:100%;padding:0;border:0;border-radius:16px;overflow:hidden;background:#080f20;cursor:zoom-in;aspect-ratio:1}.profile-gallery-thumb img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:1!important;object-fit:cover!important;border-radius:0!important}.profile-gallery-thumb:hover img{transform:scale(1.045)}.profile-gallery-lightbox{width:min(1100px,calc(100vw - 24px));max-width:none;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(3,8,20,.97);color:#fff;box-shadow:0 35px 100px #000b}.profile-gallery-lightbox::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(10px)}.profile-gallery-stage{position:relative;min-height:min(78vh,760px);display:grid;place-items:center;padding:48px 72px 28px}.profile-gallery-stage figure{margin:0;display:grid;gap:14px;place-items:center;max-width:100%}.profile-gallery-stage figure>img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(78vh - 120px)!important;object-fit:contain!important;border-radius:18px;background:#050914;box-shadow:0 20px 60px #0009}.profile-gallery-stage figcaption{width:100%;display:grid;grid-template-columns:1fr auto;gap:3px 18px}.profile-gallery-stage figcaption strong{font-size:1.05rem}.profile-gallery-stage figcaption span{color:#aab8d4}.profile-gallery-stage figcaption small{grid-column:2;grid-row:1/3;align-self:center;color:#aab8d4}.profile-gallery-close,.profile-gallery-arrow{position:absolute;z-index:2;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);background:rgba(15,25,46,.9);color:#fff;cursor:pointer}.profile-gallery-close{right:16px;top:16px;width:42px;height:42px;border-radius:50%}.profile-gallery-arrow{top:50%;width:46px;height:58px;border-radius:15px;transform:translateY(-50%)}.profile-gallery-arrow.is-prev{left:14px}.profile-gallery-arrow.is-next{right:14px}@media(max-width:640px){.profile-gallery-preview-402{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-gallery-stage{min-height:70vh;padding:58px 14px 22px}.profile-gallery-arrow{top:auto;bottom:18px}.profile-gallery-arrow.is-prev{left:14px}.profile-gallery-arrow.is-next{right:14px}.profile-gallery-stage figcaption{padding-bottom:56px}}

.profile-gallery-lightbox:not([open]){display:none!important}.profile-gallery-lightbox[open]{display:block!important}.modern-profile-page .status-grid{gap:14px!important}.modern-profile-page .status-grid>article{padding:14px!important}.modern-profile-page .status-content-image,.modern-profile-page .status-content-video{display:block;width:100%!important;height:clamp(220px,28vw,340px)!important;max-height:340px!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center!important;background:#050b18;border-radius:14px!important;cursor:pointer}.modern-profile-page .status-card-header{margin-bottom:10px}.modern-profile-page [data-status-story-open]{min-height:42px}@media(max-width:640px){.modern-profile-page .status-content-image,.modern-profile-page .status-content-video{height:220px!important;max-height:220px!important}.modern-profile-page .status-grid>article{padding:11px!important}}

/* 4.0.6: kompakte Story-Kacheln statt langer Statusblöcke. */
.modern-profile-page .status-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))!important;align-items:start;gap:12px!important}.modern-profile-page .status-card{min-width:0;padding:10px!important;border-radius:17px!important;background:linear-gradient(155deg,rgba(16,27,49,.96),rgba(5,11,24,.94))!important;box-shadow:0 12px 28px rgba(0,0,0,.18)}.modern-profile-page .status-author{gap:8px;margin-bottom:8px}.modern-profile-page .status-author .status-avatar{width:34px!important;height:34px!important}.modern-profile-page .status-author strong{font-size:.88rem}.modern-profile-page .status-author small{font-size:.7rem}.modern-profile-page .status-story-open{min-height:36px!important;margin:0 0 8px;padding:7px 10px!important;font-size:.78rem}.modern-profile-page .status-content-image,.modern-profile-page .status-content-video{height:180px!important;max-height:180px!important;aspect-ratio:4/3!important;border-radius:12px!important}.modern-profile-page .status-card>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:9px 2px;font-size:.86rem;line-height:1.45}.modern-profile-page .status-card>small{display:block;margin:8px 2px;color:#8291aa;font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modern-profile-page .status-social-bar{gap:6px;margin-top:8px;padding-top:8px}.modern-profile-page .status-social-bar .button{min-height:34px;padding:7px 9px;font-size:.72rem}.modern-profile-page .status-view-count,.modern-profile-page .status-pinned{font-size:.72rem}.modern-profile-page .status-reactions{gap:3px}.modern-profile-page .status-reactions button{min-height:30px;padding:4px 6px}@media(max-width:640px){.modern-profile-page .status-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(220px,78vw);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;padding:2px 2px 10px}.modern-profile-page .status-card{scroll-snap-align:start}.modern-profile-page .status-content-image,.modern-profile-page .status-content-video{height:190px!important;max-height:190px!important}}
/* Profile experience 4.1 */
.modern-profile-cover{background:radial-gradient(circle at 8% 20%,color-mix(in srgb,var(--profile-custom-accent,#6674ff) 55%,transparent) 0 13%,transparent 14%),radial-gradient(circle at 92% 8%,color-mix(in srgb,var(--profile-custom-accent,#6674ff) 35%,transparent) 0 17%,transparent 18%),linear-gradient(118deg,color-mix(in srgb,var(--profile-custom-accent,#6674ff) 78%,#151d4b),color-mix(in srgb,var(--profile-custom-accent,#6674ff) 42%,#0b6aa3))!important}
.modern-profile-avatar.has-status-ring{cursor:pointer;outline:4px solid #1bd18b;outline-offset:4px;box-shadow:0 0 0 8px color-mix(in srgb,#1bd18b 22%,transparent),0 18px 45px rgba(0,0,0,.35)}
.profile-badge-row{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.profile-badge-row span{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .72rem;border:1px solid color-mix(in srgb,var(--profile-custom-accent,#7180ff) 35%,transparent);border-radius:999px;background:rgba(8,16,38,.48);font-size:.82rem;font-weight:800}.profile-badge-row i{color:#f4c95d}
.profile-story-rail{display:flex;align-items:center;gap:1.1rem;margin:1rem 0;padding:1rem 1.15rem;border:1px solid var(--border-color,#263654);border-radius:22px;background:var(--card-bg,#101c32);overflow:hidden}.profile-story-copy{min-width:max-content;display:grid;gap:.15rem}.profile-story-circles{display:flex;gap:.8rem;overflow-x:auto;padding:.2rem .15rem .5rem;scrollbar-width:thin}.profile-story-circles button{appearance:none;border:0;background:none;color:inherit;display:grid;justify-items:center;gap:.35rem;min-width:66px;cursor:pointer}.profile-story-circles button>span{width:58px;height:58px;padding:3px;border-radius:50%;background:linear-gradient(135deg,#6d75ff,#9c4dff,#1bd18b)}.profile-story-circles img{width:100%;height:100%;object-fit:cover;border:3px solid var(--card-bg,#101c32);border-radius:50%}.profile-story-circles small{max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.profile-drag-handle{border:1px solid var(--border-color,#263654);background:rgba(255,255,255,.04);color:var(--muted-text,#9baac4);border-radius:10px;width:38px;height:38px;cursor:grab}.profile-drag-handle:active{cursor:grabbing}[data-profile-section].is-dragging{opacity:.45;transform:scale(.99)}
.profile-pinned-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.profile-pinned-grid>a{display:flex;align-items:center;gap:.8rem;min-width:0;padding:.9rem;border:1px solid var(--border-color,#263654);border-radius:15px;background:rgba(255,255,255,.035);text-decoration:none;color:inherit}.profile-pinned-grid>a>i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:color-mix(in srgb,var(--profile-custom-accent,#7180ff) 18%,transparent);color:var(--profile-custom-accent,#8791ff)}.profile-pinned-grid span{display:grid;min-width:0}.profile-pinned-grid small{color:var(--muted-text,#9baac4)}.profile-pinned-grid strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-media-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.profile-media-mosaic a{position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#071021}.profile-media-mosaic img{width:100%;height:100%;object-fit:cover;transition:transform .22s}.profile-media-mosaic a:hover img{transform:scale(1.05)}.profile-media-mosaic small{position:absolute;left:.5rem;bottom:.5rem;padding:.2rem .45rem;border-radius:999px;background:rgba(5,10,22,.78);color:#fff;font-size:.7rem}
.profile-completeness-panel{margin-top:1rem;padding:1rem;border:1px solid var(--border-color,#263654);border-radius:16px;background:rgba(255,255,255,.025)}.profile-completeness-title{display:block;margin-top:.9rem}.profile-completeness-panel ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem 1rem;margin:.65rem 0 1rem;padding:0;list-style:none}.profile-completeness-panel li{display:flex;align-items:center;gap:.5rem;color:var(--muted-text,#aab6cc);font-size:.9rem}.profile-completeness-panel li i{color:var(--profile-custom-accent,#8791ff)}.profile-complete-success{color:#69e7b3;font-weight:800}
.modern-profile-page:not(.is-profile-ready) .modern-profile-grid .profile-modern-card{opacity:.5;background-image:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.035) 40%,transparent 60%);background-size:220% 100%;animation:profileSkeleton 1s linear infinite}.modern-profile-page.is-profile-ready .profile-modern-card{transition:opacity .2s,transform .2s}@keyframes profileSkeleton{to{background-position:-220% 0}}
@media(max-width:760px){.profile-story-rail{align-items:flex-start;flex-direction:column}.profile-pinned-grid{grid-template-columns:1fr}.profile-media-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-completeness-panel ul{grid-template-columns:1fr}.profile-badge-row{overflow-x:auto;flex-wrap:nowrap}.profile-badge-row span{white-space:nowrap}.modern-profile-avatar.has-status-ring{outline-width:3px;outline-offset:2px}}
@media(prefers-reduced-motion:reduce){.modern-profile-page:not(.is-profile-ready) .modern-profile-grid .profile-modern-card{animation:none}.profile-media-mosaic img{transition:none}}
.schedule-page{display:grid;gap:24px;width:min(1440px,100%);margin:0 auto;padding:clamp(18px,3vw,42px)}.schedule-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:clamp(24px,4vw,48px);border:1px solid rgba(108,125,255,.25);border-radius:28px;background:radial-gradient(circle at 85% 10%,rgba(71,208,190,.18),transparent 34%),linear-gradient(135deg,#101b36,#111a31 55%,#18214a)}.schedule-hero h1{margin:.35rem 0;font-size:clamp(2rem,4vw,4rem)}.schedule-hero p{max-width:680px;margin:0;color:var(--muted)}.schedule-now-playing{display:flex;align-items:center;gap:14px;min-width:min(100%,360px);padding:16px;border:1px solid rgba(81,226,184,.25);border-radius:18px;background:rgba(4,12,25,.45)}.schedule-now-playing>i{font-size:2rem;color:#52e7bd}.schedule-now-playing span{display:grid;min-width:0}.schedule-now-playing small{color:#52e7bd;font-weight:900}.schedule-now-playing strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.schedule-card{overflow:hidden;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:0 18px 55px rgba(0,0,0,.16);transition:transform .2s,border-color .2s}.schedule-card:hover{transform:translateY(-4px);border-color:rgba(108,125,255,.45)}.schedule-card.is-live{border-color:rgba(47,225,166,.48);box-shadow:0 18px 60px rgba(47,225,166,.1)}.schedule-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#172753,#482a78)}.schedule-cover img{width:100%;height:100%;object-fit:cover}.schedule-cover>span{display:grid;place-items:center;width:100%;height:100%;font-size:3rem;color:#b9c1ff}.schedule-cover>b{position:absolute;left:14px;bottom:14px;padding:7px 10px;border-radius:999px;background:rgba(4,10,22,.8);backdrop-filter:blur(10px);font-size:.75rem}.schedule-card.is-live .schedule-cover>b{background:#21b985;color:#04130e}.schedule-card-body{display:grid;gap:11px;padding:20px}.schedule-card-body time,.schedule-presenter{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.82rem}.schedule-card-body h2{margin:0;font-size:1.35rem}.schedule-card-body>p{margin:0;line-height:1.55}.schedule-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px}.schedule-actions form{display:flex;gap:8px}.schedule-actions button,.schedule-actions>a{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 11px;border:1px solid var(--border);border-radius:11px;background:var(--surface-soft);color:inherit;text-decoration:none;cursor:pointer}.schedule-actions button.is-active{border-color:#7c86ff;background:rgba(108,125,255,.18);color:#c9ceff}.schedule-empty{display:grid;justify-items:center;gap:10px;padding:70px 24px;border:1px dashed var(--border);border-radius:24px;text-align:center}.schedule-empty>i{font-size:3rem;color:#7c86ff}.schedule-empty h2,.schedule-empty p{margin:0}.schedule-empty p{color:var(--muted)}@media(max-width:780px){.schedule-hero{align-items:stretch;flex-direction:column}.schedule-now-playing{min-width:0}.schedule-grid{grid-template-columns:1fr}.schedule-actions{align-items:stretch;flex-direction:column}.schedule-actions form{display:grid;grid-template-columns:1fr 1fr}.schedule-actions button,.schedule-actions>a{justify-content:center;width:100%}}
/* Live Community Experience 4.2 */
:root{--space-1:.4rem;--space-2:.7rem;--space-3:1rem;--space-4:1.4rem;--motion-fast:160ms;--motion-medium:280ms;--live-color:hsl(var(--live-hue,235) 88% 66%)}html[data-day-phase="morning"] body{--day-glow:rgba(255,184,108,.075)}html[data-day-phase="day"] body{--day-glow:rgba(69,179,255,.06)}html[data-day-phase="evening"] body{--day-glow:rgba(184,91,255,.08)}html[data-day-phase="night"] body{--day-glow:rgba(40,76,185,.08)}body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 75% 5%,var(--day-glow),transparent 42%);transition:background .8s}.topbar{transition:box-shadow .4s,background .4s}.radio-is-live .topbar{box-shadow:0 1px 0 color-mix(in srgb,var(--live-color) 35%,transparent),0 16px 55px color-mix(in srgb,var(--live-color) 10%,transparent)}
.global-radio-dock{position:fixed;z-index:70;left:50%;bottom:18px;transform:translateX(-50%);display:grid;grid-template-columns:auto minmax(160px,1fr) 140px 90px auto;align-items:center;gap:.8rem;width:min(720px,calc(100vw - 28px));padding:.65rem .8rem;border:1px solid color-mix(in srgb,var(--live-color) 40%,#293958);border-radius:20px;background:rgba(7,15,30,.88);backdrop-filter:blur(18px);box-shadow:0 18px 65px rgba(0,0,0,.4)}.global-radio-dock>button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,var(--live-color),#8d50ff)}.global-radio-dock>span{display:grid;min-width:0}.global-radio-dock strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-radio-dock small{color:#52e7bd;font-weight:900}.global-radio-dock em{font-style:normal;color:#8fa0bb;font-size:.72rem}[data-audio-wave]{display:block;width:100%;height:42px}
.community-pulse{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 1rem;border-bottom:1px solid var(--border-color,#263654);background:linear-gradient(90deg,rgba(75,89,215,.09),transparent)}.community-pulse>span{display:flex;align-items:center;gap:.5rem}.community-pulse>span i,.live-kicker i{width:8px;height:8px;border-radius:50%;background:#2fe1a6;box-shadow:0 0 0 5px rgba(47,225,166,.12)}.community-pulse small{color:#8fa0bb}.community-pulse.is-pulsing>span i{animation:communityPulse .5s}.now-together-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:12px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--live-color) 35%,#263654);border-radius:18px;background:linear-gradient(120deg,color-mix(in srgb,var(--live-color) 15%,#101b31),#0a1324)}.now-together-card>div:first-child{display:grid}.live-kicker{display:flex;align-items:center;gap:.5rem;color:#57e8bc;font-size:.7rem;font-weight:900;letter-spacing:.08em}.live-reactions{display:flex;gap:.35rem}.live-reactions button{border:0;border-radius:50%;width:36px;height:36px;background:rgba(255,255,255,.06);transition:transform .18s}.live-reactions button:hover,.live-reactions button.sent{transform:translateY(-5px) scale(1.15)}.now-together-card>a{padding:.65rem .8rem;border-radius:12px;background:rgba(255,255,255,.07);text-decoration:none;color:inherit}
.chat-focus-mode .rooms-sidebar,.chat-focus-mode .users-sidebar{display:none!important}.chat-focus-mode .chat-application{grid-template-columns:minmax(0,1fr)!important;max-width:1380px;margin-inline:auto}.chat-focus-mode .chat-main{border-radius:22px}.room-item .room-icon{position:relative;overflow:hidden;background:linear-gradient(145deg,#26366b,#542f87)!important}.room-item .room-icon:after{content:"";position:absolute;inset:-50%;background:conic-gradient(transparent,rgba(255,255,255,.32),transparent 30%);animation:roomCover 5s linear infinite}.online-user:has(.presence-on_air) .online-avatar{border-radius:50%;animation:onAirAura 1.8s ease-in-out infinite}.online-user:has(.presence-on_air){background:linear-gradient(90deg,rgba(255,69,120,.09),transparent)}
.experience-tools{position:fixed;z-index:90;right:18px;bottom:18px}.global-radio-dock~.experience-tools{bottom:88px}.experience-tools>button{display:grid;place-items:center;width:46px;height:46px;border:1px solid #334563;border-radius:15px;background:#101c31;color:#aebcff;box-shadow:0 12px 35px rgba(0,0,0,.3)}.experience-tools>div{position:absolute;right:0;bottom:56px;display:grid;gap:.7rem;width:230px;padding:1rem;border:1px solid #334563;border-radius:16px;background:#101c31;box-shadow:0 18px 55px rgba(0,0,0,.4)}.experience-tools>div[hidden]{display:none}.experience-tools label{display:flex;gap:.6rem}.large-text{font-size:112.5%}.high-contrast{--muted-text:#d8e1f2}.high-contrast *:focus-visible{outline:3px solid #ffe66d!important;outline-offset:3px}.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
.modern-profile-cover{transform:translate3d(var(--cover-x,0),var(--cover-y,0),0) scale(1.035);transition:transform .35s ease}.mood-energy .modern-profile-cover{filter:saturate(1.35) contrast(1.05)}.mood-sunset .modern-profile-cover{filter:hue-rotate(35deg) saturate(1.25)}.mood-ocean .modern-profile-cover{filter:hue-rotate(175deg) saturate(1.1)}.mood-midnight .modern-profile-cover{filter:brightness(.72) saturate(1.3)}.profile-year-recap>div:last-child{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem;margin-top:1rem}.profile-year-recap>div:last-child span{display:grid;padding:.8rem;border:1px solid var(--border-color,#263654);border-radius:14px;background:rgba(255,255,255,.03)}.profile-year-recap strong{font-size:1.35rem}.profile-year-recap small{color:#8fa0bb}
.button,.icon-button,.profile-modern-card,.room-item,.online-user{transition:transform var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-medium),background var(--motion-medium)}.button:hover,.icon-button:hover{transform:translateY(-2px)}.profile-modern-card:hover{border-color:color-mix(in srgb,var(--profile-custom-accent,#7180ff) 28%,var(--border-color,#263654))}
@keyframes onAirAura{50%{box-shadow:0 0 0 7px rgba(255,70,122,.12),0 0 24px rgba(255,70,122,.5)}}@keyframes communityPulse{50%{transform:scale(1.6)}}@keyframes roomCover{to{transform:rotate(360deg)}}
@media(max-width:760px){.global-radio-dock{grid-template-columns:auto minmax(0,1fr) auto}.global-radio-dock canvas,.global-radio-dock input{display:none}.now-together-card{align-items:flex-start;flex-wrap:wrap}.community-pulse{align-items:flex-start;flex-direction:column;gap:.25rem}.profile-year-recap>div:last-child{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
.chat-main:has(.community-pulse){grid-template-rows:auto auto auto minmax(0,1fr) auto auto!important}.modern-chat-radio{min-width:0;overflow:hidden}.modern-chat-radio [data-audio-wave]{width:100%!important;max-width:100%;height:34px}.modern-chat-radio .modern-radio-controls{display:grid!important;grid-template-columns:42px 18px minmax(0,1fr) 42px!important;align-items:center;gap:7px}.modern-chat-radio .modern-radio-controls input{min-width:0;width:100%!important}.modern-chat-radio .modern-radio-controls button{width:42px!important;height:42px!important}.community-pulse{min-width:0}.now-together-card{min-width:0}.now-together-card strong{display:block;max-width:42vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:700px){.now-together-card strong{max-width:75vw}}
.gallery-reaction-bar{display:flex;align-items:center;gap:4px;margin-top:9px;padding-top:9px;border-top:1px solid var(--border-color,#263654)}.gallery-reaction-bar button{display:flex;align-items:center;gap:3px;min-width:38px;padding:5px 7px;border:1px solid transparent;border-radius:999px;background:rgba(255,255,255,.04);color:inherit;cursor:pointer}.gallery-reaction-bar button:hover,.gallery-reaction-bar button.active{border-color:#7886ff;background:rgba(104,116,255,.18)}.gallery-reaction-bar small{color:#98a8c1;font-size:.68rem}
.chat-main:has(.community-pulse){grid-template-rows:auto auto minmax(0,1fr) auto auto!important}.profile-gallery-lightbox-reactions{display:flex;justify-content:center;gap:.45rem;margin-top:.65rem}.profile-gallery-lightbox-reactions button{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;min-width:48px;padding:.42rem .62rem;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(8,17,33,.78);color:#fff;cursor:pointer}.profile-gallery-lightbox-reactions button:hover,.profile-gallery-lightbox-reactions button.active{border-color:#7d70ff;background:rgba(102,88,255,.3);transform:translateY(-2px)}.profile-gallery-lightbox-reactions small{font-size:.7rem;color:#c7d1e6}
