/* Accueil premium, thème global et module Messenger — CœursConnect. */
:root {
    --cc-pink: #e75a78;
    --cc-pink-light: #f08aa1;
    --cc-pink-pale: #fff0f4;
    --cc-night: #0d0b1a;
    --cc-night-soft: #171126;
    --cc-page: #ffffff;
    --cc-panel: #ffffff;
    --cc-text: #1f1a27;
    --cc-subtle: #756f7b;
    --cc-border: #e9e4ea;
    --cc-shadow: 0 18px 55px rgba(38, 25, 48, .10);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --canvas: #0f0d16;
    --surface: #191620;
    --ink: #f7f2f6;
    --muted: #aaa1ae;
    --line: #302b36;
    --primary-soft: #38212a;
    --cc-page: #100e17;
    --cc-panel: #1a1720;
    --cc-text: #f8f3f7;
    --cc-subtle: #aaa1af;
    --cc-border: #312c37;
    --cc-shadow: 0 20px 65px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .app-main,
html[data-theme="dark"] .settings-page,
html[data-theme="dark"] .profile-page,
html[data-theme="dark"] .checkout-page { background: var(--canvas); color: var(--ink); }
html[data-theme="dark"] .app-header,
html[data-theme="dark"] .mobile-nav { background: rgba(22, 19, 28, .93); border-color: var(--line); }
html[data-theme="dark"] .panel,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .dropdown-panel,
html[data-theme="dark"] .admin-card,
html[data-theme="dark"] .message-composer,
html[data-theme="dark"] .conversation-sidebar,
html[data-theme="dark"] .chat-profile-panel,
html[data-theme="dark"] .flash { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { background-color: transparent; }
html[data-theme="dark"] .user-menu-trigger,
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .round-action { background: #24202a; border-color: var(--line); color: var(--ink); }

.app-theme-toggle {
    display: inline-flex;
    height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 12px;
    font-weight: 750;
}
.app-theme-toggle > span:first-child { color: var(--primary); font-size: 17px; }

.premium-landing { padding: 0; background: var(--cc-page); }
.premium-home { overflow: hidden; background: var(--cc-page); color: var(--cc-text); }
.shell-wide { width: min(1420px, calc(100% - 84px)); margin-inline: auto; }

/* Hero cinématographique */
.premium-hero {
    position: relative;
    height: clamp(350px, 54vh, 520px);
    min-height: 0;
    color: #fff;
    isolation: isolate;
    background: #0a0815;
}
.premium-hero-slides,
.premium-hero-slide,
.premium-hero-shade { position: absolute; inset: 0; }
.premium-hero-slides { z-index: -3; overflow: hidden; }
.premium-hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.45s cubic-bezier(.22,.65,.32,1), visibility 1.45s; }
.premium-hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; transform: scale(1.07); transition: transform 9s cubic-bezier(.16,.7,.28,1); }
.premium-hero-slide.is-active { opacity: 1; visibility: visible; }
.premium-hero-slide.is-active img { transform: scale(1); }
.premium-hero-shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 6, 18, .94) 0%, rgba(10, 8, 23, .78) 31%, rgba(8, 8, 20, .27) 61%, rgba(6, 8, 20, .14) 100%),
        linear-gradient(180deg, rgba(5, 8, 22, .42) 0%, transparent 42%, rgba(7, 5, 15, .46) 100%);
}

.premium-nav { position: fixed; z-index: 220; left: 0; right: 0; top: 0; display: flex; width: 100%; height: 88px; align-items: center; gap: 35px; padding-inline: max(42px,calc((100% - 1420px)/2)); color: #fff; background: transparent; transition: height .28s ease, color .28s ease, background .28s ease, box-shadow .28s ease, border-color .28s ease; }
.premium-nav.is-scrolled { height: 72px; color: #211c26; border-bottom: 1px solid rgba(225,219,227,.9); background: rgba(255,255,255,.96); box-shadow: 0 10px 34px rgba(30,19,39,.09); backdrop-filter: blur(18px); }
.premium-logo { display: inline-flex; flex: none; align-items: center; color: inherit; font-size: 23px; letter-spacing: -.045em; }
.premium-logo strong { font-weight: 820; }
.premium-logo > span:last-child { font-weight: 400; }
.premium-logo-mark { display: inline-grid; width: 54px; margin-right: 8px; place-items: center; color: #ec6986; font-family: Georgia, serif; font-size: 61px; font-weight: 400; line-height: .8; transform: rotate(-7deg); }
.premium-nav-links { display: flex; align-items: center; gap: clamp(25px, 3.4vw, 57px); margin-inline: auto; }
.premium-nav-links a { position: relative; padding: 14px 0; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 590; }
.premium-nav.is-scrolled .premium-nav-links a { color: #3a333e; }
.premium-nav-links a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; transform: translateX(-50%); border-radius: 4px; background: #ef718c; transition: width .25s; }
.premium-nav-links a:hover::after,
.premium-nav-links a.active::after { width: 44px; }
.premium-nav-actions { display: flex; flex: none; align-items: center; gap: 14px; }
.theme-switch { display: inline-flex; height: 42px; align-items: center; gap: 8px; padding: 0 11px 0 7px; color: #fff; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(10, 9, 24, .3); backdrop-filter: blur(12px); font-size: 10px; }
.premium-nav.is-scrolled .theme-switch { color: #332c38; border-color: #ded9e0; background: #f6f3f6; }
.premium-nav.is-scrolled .theme-switch-track { background: #ddd8df; }
.theme-switch-track { position: relative; width: 39px; height: 24px; border-radius: 20px; background: rgba(255,255,255,.25); }
.theme-switch-thumb { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.23); transition: left .25s, background .25s; }
html[data-theme="dark"] .theme-switch-thumb { left: 18px; background: #ef718c; }
.premium-login { display: inline-flex; height: 46px; align-items: center; gap: 9px; padding: 0 21px; color: #fff; border: 1px solid rgba(255,255,255,.52); border-radius: 16px; background: rgba(12, 11, 27, .16); font-size: 14px; font-weight: 650; backdrop-filter: blur(12px); }
.premium-nav.is-scrolled .premium-login { color: #211c26; border-color: #d7d1da; background: #fff; box-shadow: 0 5px 16px rgba(28,18,36,.06); }
.premium-login span { font-size: 22px; }
.premium-menu { display: none; margin-left: auto; color: #fff; border: 0; background: transparent; font-size: 26px; }
.premium-nav.is-scrolled .premium-menu { color: #211c26; }

.premium-hero-copies { position: relative; z-index: 2; height: 100%; }
.premium-hero-content { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; padding: 86px 0 58px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(13px); transition: opacity .7s ease .18s, transform .7s ease .18s, visibility .7s; }
.premium-hero-content.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.premium-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: #f1899f; font-size: 11px; font-weight: 750; letter-spacing: .145em; text-transform: uppercase; }
.premium-kicker span { font-size: 20px; }
.premium-hero h1 { max-width: 700px; margin: 0 0 12px; color: #fff; font-size: clamp(44px, 4.35vw, 66px); font-weight: 735; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.premium-hero h1 span,.premium-hero h1 em { display: block; }
.premium-hero h1 em { color: #ec8198; font-style: normal; font-weight: 735; }
.premium-hero-lead { max-width: 590px; margin-bottom: 16px; color: rgba(255,255,255,.78); font-size: clamp(13px, 1.05vw, 16px); line-height: 1.5; }
.premium-hero-cta { display: flex; gap: 10px; }
.premium-button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font-size: 12px; font-weight: 720; transition: transform .22s, box-shadow .22s, background .22s; }
.premium-button:hover { transform: translateY(-2px); }
.premium-button.primary { color: #fff; background: linear-gradient(135deg, #ed6a87, #db4568); box-shadow: 0 15px 35px rgba(224, 72, 108, .27); }
.premium-button.primary span { font-size: 21px; }
.premium-button.glass { color: #fff; border-color: rgba(255,255,255,.48); background: rgba(12,10,26,.28); backdrop-filter: blur(9px); }
.premium-button.glass span { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; font-size: 11px; }

.premium-slider-control { position: absolute; z-index: 3; right: max(43px, calc((100% - 1420px)/2)); bottom: 58px; display: flex; height: 48px; align-items: center; gap: 11px; padding: 0 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(15,12,25,.71); backdrop-filter: blur(20px); box-shadow: 0 13px 35px rgba(0,0,0,.24); }
.premium-slider-control > button { width: 27px; height: 32px; padding: 0; color: #fff; border: 0; background: transparent; font-size: 25px; }
.premium-slider-control > button[data-hero-pause] { font-size: 13px; }
.premium-slider-control > span { color: #a8a3af; font-size: 12px; white-space: nowrap; }
.premium-slider-control > span b { color: #fff; font-size: 14px; }
.premium-slider-dots { display: flex; gap: 7px; }
.premium-slider-dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.38); transition: background .3s, width .3s; }
.premium-slider-dots button.is-active { width: 31px; background: #eb6e89; }

.premium-search { position: absolute; z-index: 4; left: 50%; bottom: -50px; display: grid; width: min(1190px, calc(100% - 160px)); min-height: 72px; grid-template-columns: 1fr .9fr 1fr 70px; align-items: center; padding: 7px 10px 7px 21px; transform: translateX(-50%); color: #27202d; border: 1px solid rgba(239,234,240,.84); border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 18px 48px rgba(28,19,37,.15); backdrop-filter: blur(15px); }
.premium-search label { display: flex; min-width: 0; height: 46px; align-items: center; gap: 13px; padding: 0 25px 0 10px; border-right: 1px solid #e5e1e7; }
.premium-search label > span:last-child { display: grid; min-width: 0; flex: 1; }
.premium-search small { color: #77717d; font-size: 10px; font-weight: 760; letter-spacing: .03em; text-transform: uppercase; }
.premium-search select,
.premium-search input { width: 100%; min-width: 0; margin-top: 3px; padding: 0 24px 0 0; border: 0; outline: 0; background: transparent; color: #332c37; font-size: 14px; }
.premium-search input::placeholder { color: #817985; opacity: 1; }
.premium-search input::-webkit-search-cancel-button { display: none; }
.city-search-field { position: relative; }
.city-suggestions { position: absolute; z-index: 9; left: 58px; right: 14px; top: calc(100% + 12px); overflow: hidden; padding: 6px; border: 1px solid #e8e2e9; border-radius: 13px; background: #fff; box-shadow: 0 18px 44px rgba(24,15,33,.16); }
.city-suggestions[hidden] { display: none; }
.city-suggestions button { display: block; width: 100%; padding: 9px 11px; color: #332c37; border: 0; border-radius: 8px; background: transparent; font-size: 12px; text-align: left; }
.city-suggestions button:hover,
.city-suggestions button:focus { outline: 0; background: #fff0f4; color: #d94769; }
.search-icon { color: #e45b79; font-size: 25px; }
.premium-search > button { width: 54px; height: 52px; justify-self: end; color: #fff; border: 0; border-radius: 14px; background: linear-gradient(135deg,#e96784,#d94567); box-shadow: 0 12px 26px rgba(221,67,103,.24); font-size: 26px; font-weight: 300; }

/* Galeries de profils */
.profile-showcase { padding-top: 96px; padding-bottom: 76px; scroll-margin-top: 82px; }
.profile-showcase-men { width: 100%; padding-top: 64px; background: linear-gradient(180deg, #fff7f9 0%, #fff 100%); }
html[data-theme="dark"] .profile-showcase-men { background: linear-gradient(180deg,#1b131a 0%,#100e17 100%); }
.showcase-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.showcase-heading h2 { margin: 0 0 6px; color: var(--cc-text); font-size: 33px; font-weight: 760; letter-spacing: -.04em; }
.showcase-heading p { margin: 0; color: #e45c79; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.showcase-count { padding: 7px 12px; color: var(--cc-subtle); border: 1px solid var(--cc-border); border-radius: 999px; font-size: 11px; }
.landing-profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.landing-profile-card { min-width: 0; overflow: hidden; border: 1px solid var(--cc-border); border-radius: 9px; background: var(--cc-panel); box-shadow: 0 7px 25px rgba(30,21,39,.055); transition: transform .3s, box-shadow .3s; }
.landing-profile-card:hover { transform: translateY(-5px); box-shadow: var(--cc-shadow); }
.landing-profile-photo { position: relative; display: block; height: 300px; overflow: hidden; background: #eadfe4; }
.landing-profile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.landing-profile-card:hover .landing-profile-photo img { transform: scale(1.035); }
.landing-profile-photo > span:not(.profile-presence-badge) { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; background: linear-gradient(145deg,#8b698b,#e87c94); font-size: 54px; }
.online-dot { position: absolute; left: 13px; top: 13px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #aaa; box-shadow: 0 1px 5px rgba(0,0,0,.24); }
.online-dot.is-online { background: #5fc655; }
.verified-dot { position: absolute; right: 11px; bottom: -1px; display: grid; width: 21px; height: 21px; place-items: center; color: #fff; border: 3px solid var(--cc-panel); border-radius: 50%; background: #ed6582; font-size: 9px; }
.landing-profile-body { padding: 14px 15px 15px; }
.landing-profile-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.landing-profile-title h3 { margin: 0; color: var(--cc-text); font-size: 16px; font-weight: 780; letter-spacing: -.02em; }
.landing-profile-title h3 span { color: #716a75; font-weight: 510; }
.landing-profile-title button { display: grid; width: 34px; height: 34px; place-items: center; color: #e86580; border: 1px solid #f3a2b4; border-radius: 50%; background: transparent; font-size: 22px; transition: color .2s, background .2s; }
.landing-profile-title button:hover { color: #fff; background: #e86580; }
.landing-profile-body > p { margin: 3px 0 0; color: var(--cc-subtle); font-size: 11px; line-height: 1.35; }
.landing-profile-body .profile-job { min-height: 15px; }
.compatibility { display: grid; grid-template-columns: auto 1fr; gap: 0 7px; margin-top: 10px; }
.compatibility strong { color: var(--cc-text); font-size: 11px; }
.compatibility span { color: var(--cc-subtle); font-size: 9px; }
.compatibility i { grid-column: 1/-1; height: 3px; margin-top: 5px; overflow: hidden; border-radius: 10px; background: #eee9ed; }
.compatibility i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f08ba1,#e45877); }
.landing-profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--cc-border); }
.landing-profile-actions form { margin: 0; }
.landing-profile-actions a,
.landing-profile-actions button { display: flex; width: 100%; min-height: 30px; align-items: center; justify-content: center; padding: 4px 7px; color: var(--cc-text); border: 1px solid var(--cc-border); border-radius: 7px; background: transparent; font-size: 9px; font-weight: 720; text-align: center; transition: border-color .2s,color .2s,background .2s; }
.landing-profile-actions a:hover,
.landing-profile-actions button:hover { color: #db4a6d; border-color: #ee8da3; background: #fff5f7; }
.landing-profile-actions a:last-child { color: #a45365; }
.profile-card-body { align-items: flex-start; flex-direction: column; gap: 14px; }
.profile-card-actions { width: 100%; flex-wrap: wrap; }
.profile-text-action { display: inline-flex; min-height: 31px; align-items: center; justify-content: center; padding: 4px 9px; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: 10px; font-weight: 720; }
.profile-text-action.active { color: #fff; border-color: #e35878; background: #e35878; }
.profile-text-action.danger { color: #b54d64; }

/* Tableau de bord relationnel */
.social-dashboard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.social-column { display: flex; min-height: 430px; flex-direction: column; padding: 22px; }
.social-column.highlight { border-color: rgba(229,89,121,.34); background: linear-gradient(180deg,var(--surface),var(--primary-soft)); }
.social-column .panel-heading > div { display: flex; align-items: center; gap: 9px; }
.social-column .panel-heading > div > span { display: grid; width: 28px; height: 28px; place-items: center; color: #df5575; border-radius: 9px; background: #fff0f4; font-size: 9px; font-weight: 850; }
.social-column .panel-heading > b { display: grid; min-width: 30px; height: 30px; place-items: center; color: #fff; border-radius: 50%; background: #e25878; font-size: 11px; }
.social-people { display: grid; gap: 3px; }
.social-person { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.social-person > div:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.social-person a:not(.round-action) { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.social-person small { color: var(--muted); font-size: 10px; }
.social-column-link { margin-top: auto; padding-top: 20px; color: #df5575; font-size: 11px; font-weight: 760; }
.social-empty { padding: 32px 10px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.social-dashboard-requests { margin-bottom: 20px; }
.premium-empty { grid-column: 1/-1; padding: 55px; color: var(--cc-subtle); border: 1px dashed var(--cc-border); border-radius: 18px; text-align: center; }
.showcase-actions { display: grid; justify-items: center; gap: 15px; margin-top: 33px; }
.outline-pink-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 35px; color: #df5574; border: 1px solid #e96f8a; border-radius: 9px; background: transparent; font-size: 12px; font-weight: 680; transition: color .2s, background .2s; }
.outline-pink-button:hover { color: #fff; background: #e75a78; }
.landing-pagination { display: flex; align-items: center; gap: 7px; }
.landing-pagination a,
.landing-pagination span { display: grid; min-width: 30px; height: 30px; place-items: center; color: var(--cc-subtle); border-radius: 7px; font-size: 11px; }
.landing-pagination a.is-active { color: #e05070; background: #fff0f4; font-weight: 800; }
.landing-pagination a.is-disabled { pointer-events: none; opacity: .35; }

/* Application mobile */
.mobile-app-section { position: relative; display: grid; min-height: 460px; grid-template-columns: 1.05fr 1.15fr .42fr; align-items: center; gap: 50px; margin-top: 16px; padding: 55px 70px; overflow: hidden; color: #fff; border-radius: 16px 16px 0 0; background: radial-gradient(circle at 22% 50%,rgba(179,50,116,.28),transparent 29%), radial-gradient(circle at 75% 15%,rgba(62,71,147,.28),transparent 28%), linear-gradient(120deg,#120d20,#09091a); box-shadow: 0 24px 65px rgba(19,11,29,.2); }
.app-phone-stage { position: relative; height: 350px; }
.app-orbit { position: absolute; left: 18%; top: 10%; width: 280px; height: 280px; border: 1px dashed rgba(231,90,120,.58); border-radius: 50%; }
.phone { position: absolute; width: 165px; height: 335px; padding: 14px 9px; overflow: hidden; color: #fff; border: 6px solid #2c2735; border-radius: 29px; background: #171321; box-shadow: 0 22px 34px rgba(0,0,0,.36); }
.phone-camera { position: absolute; z-index: 3; left: 50%; top: 6px; width: 46px; height: 12px; transform: translateX(-50%); border-radius: 12px; background: #09070d; }
.phone-back { left: 13%; top: 3%; z-index: 1; transform: rotate(-7deg); }
.phone-back img { width: 100%; height: 250px; margin-top: 11px; object-fit: cover; border-radius: 17px; }
.phone-back span { display: block; padding: 12px 6px; font-size: 11px; font-weight: 700; }
.phone-front { left: 42%; top: 9%; z-index: 2; transform: rotate(4deg); padding-top: 39px; }
.phone-chat-head { padding: 10px 3px 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 11px; font-weight: 800; text-align: center; }
.mini-bubble { max-width: 89%; margin: 13px 0; padding: 8px 9px; border-radius: 12px; font-size: 8px; }
.mini-bubble.theirs { background: #302a38; border-bottom-left-radius: 3px; }
.mini-bubble.mine { margin-left: auto; background: #df5676; border-bottom-right-radius: 3px; }
.app-download-copy .premium-kicker { margin-bottom: 10px; font-size: 10px; }
.app-download-copy h2 { margin: 0 0 27px; color: #fff; font-size: clamp(29px,3vw,42px); font-weight: 700; letter-spacing: -.045em; }
.app-download-copy ul { display: grid; gap: 18px; padding: 0; margin: 0 0 29px; list-style: none; }
.app-download-copy li { display: flex; gap: 13px; }
.app-download-copy li > span { display: grid; width: 34px; height: 34px; flex: none; place-items: center; color: #ee7893; border-radius: 9px; background: rgba(231,90,120,.14); }
.app-download-copy li div { display: grid; }
.app-download-copy li strong { font-size: 12px; }
.app-download-copy li small { color: #aaa4b3; font-size: 9px; }
.store-buttons { display: flex; gap: 10px; }
.store-buttons a { display: grid; min-width: 158px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: #05050a; }
.store-buttons small { color: #bdb8c2; font-size: 8px; }
.store-buttons strong { font-size: 17px; line-height: 1.2; }
.app-qr { padding: 14px; color: #1b1720; border-radius: 10px; background: #fff; text-align: center; }
.qr-pattern { aspect-ratio: 1; border: 7px solid #fff; background: repeating-conic-gradient(#121015 0 25%,#fff 0 50%) 0 / 14px 14px; box-shadow: inset 0 0 0 8px #111; }
.app-qr p { margin: 9px 0 0; font-size: 8px; }

/* Footer */
.premium-footer { color: #fff; background: #0b0914; }
.premium-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,.75fr) 1.2fr; gap: 45px; padding-block: 55px 42px; }
.premium-footer .premium-logo { font-size: 18px; }
.premium-footer .premium-logo-mark { width: 39px; font-size: 45px; }
.footer-brand p,
.footer-news p { max-width: 250px; margin-top: 18px; color: #898390; font-size: 10px; }
.social-links { display: flex; gap: 8px; margin-top: 20px; }
.social-links a { display: grid; width: 30px; height: 30px; place-items: center; color: #b8b3bd; border: 1px solid #35303b; border-radius: 50%; font-size: 11px; }
.premium-footer nav { display: grid; align-content: start; gap: 9px; }
.premium-footer h3 { margin: 0 0 10px; color: #ddd8e0; font-size: 11px; letter-spacing: 0; }
.premium-footer nav a { color: #898390; font-size: 10px; }
.premium-footer a:hover { color: #ee7894; }
.footer-news form { display: flex; height: 43px; margin-top: 17px; overflow: hidden; border: 1px solid #332f39; border-radius: 7px; }
.footer-news input { min-width: 0; flex: 1; padding: 0 12px; color: #fff; border: 0; outline: 0; background: #15121d; font-size: 10px; }
.footer-news button { width: 48px; color: #fff; border: 0; background: #df5675; font-size: 21px; }
.premium-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 23px; color: #77717e; border-top: 1px solid #25212b; font-size: 9px; }

@media (max-width: 1100px) {
    .shell-wide { width: min(100% - 42px, 920px); }
    .premium-nav { padding-inline: 21px; }
    .premium-nav-links { gap: 21px; }
    .premium-nav-links a:nth-last-child(-n+2) { display: none; }
    .premium-search { width: calc(100% - 84px); }
    .landing-profile-grid { grid-template-columns: repeat(3, 1fr); }
    .landing-profile-card:nth-child(n+7) { display: none; }
    .mobile-app-section { grid-template-columns: 1fr 1.15fr; padding-inline: 45px; }
    .app-qr { display: none; }
    .premium-footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); }
    .footer-news { grid-column: 1/-1; }
    .social-dashboard-grid { grid-template-columns: 1fr 1fr; }
    .social-column:last-child { grid-column: 1/-1; }
}

@media (max-width: 820px) {
    .premium-landing { padding-bottom: 0; }
    .shell-wide { width: min(100% - 30px, 680px); }
    .premium-hero { height: clamp(500px, 68vh, 590px); min-height: 0; }
    .premium-nav { height: 76px; padding-inline: 15px; }
    .premium-nav.is-scrolled { height: 66px; }
    .premium-logo { font-size: 19px; }
    .premium-logo-mark { width: 43px; font-size: 48px; }
    .premium-nav-actions .theme-switch { display: none; }
    .premium-nav-actions .premium-login { height: 40px; padding: 0 14px; font-size: 12px; }
    .premium-menu { display: block; }
    .premium-nav-links { position: absolute; left: 15px; right: 15px; top: calc(100% + 6px); display: none; padding: 15px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: rgba(13,10,25,.94); box-shadow: 0 18px 42px rgba(13,8,21,.2); backdrop-filter: blur(18px); }
    .premium-nav.is-scrolled .premium-nav-links { border-color: #e4dfe6; background: rgba(255,255,255,.98); }
    .premium-nav-links a,
    .premium-nav-links a:nth-last-child(-n+2) { display: block; padding: 9px 12px; }
    .premium-nav.menu-open .premium-nav-links { display: grid; }
    .premium-hero-content { padding: 82px 0 92px; }
    .premium-hero h1 { font-size: clamp(42px, 8.5vw, 58px); }
    .premium-hero-lead { max-width: 510px; }
    .premium-slider-control { right: 15px; bottom: 83px; transform: scale(.83); transform-origin: right; }
    .premium-search { bottom: -76px; width: calc(100% - 30px); grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 20px; }
    .premium-search label { padding: 0 15px; }
    .premium-search label:nth-child(2) { border-right: 0; }
    .premium-search label:nth-child(3) { grid-column: 1/-2; margin-top: 8px; border-top: 1px solid #e5e1e7; }
    .premium-search > button { width: 62px; height: 54px; }
    .profile-showcase { padding-top: 132px; }
    .profile-showcase-men { padding-top: 60px; }
    .landing-profile-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-profile-card:nth-child(n) { display: block; }
    .landing-profile-photo { height: 310px; }
    .mobile-app-section { width: 100%; grid-template-columns: 1fr; padding: 55px 35px; border-radius: 0; }
    .app-phone-stage { display: none; }
    .premium-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .premium-footer-grid nav:nth-of-type(3) { display: none; }
}

@media (max-width: 560px) {
    .premium-nav-actions { margin-left: auto; }
    .premium-login { font-size: 0!important; width: 42px; padding: 0!important; justify-content: center; border-radius: 50%; }
    .premium-login span { font-size: 20px; }
    .premium-hero { height: 540px; min-height: 0; }
    .premium-hero-shade { background: linear-gradient(90deg,rgba(7,6,18,.91),rgba(9,7,20,.43)),linear-gradient(180deg,transparent,rgba(7,5,15,.53)); }
    .premium-hero-content { justify-content: flex-start; padding: 96px 0 70px; text-align: left; }
    .premium-kicker { margin-bottom: 10px; font-size: 9px; }
    .premium-hero h1 { font-size: clamp(36px, 10.8vw, 44px); }
    .premium-hero-lead br { display: none; }
    .premium-hero-lead { margin-bottom: 13px; font-size: 13px; }
    .premium-hero-cta { align-items: stretch; flex-direction: column; width: min(320px,100%); }
    .premium-button { min-height: 43px; }
    .premium-slider-control { display: none; }
    .premium-search { bottom: -140px; grid-template-columns: 1fr; }
    .premium-search label,
    .premium-search label:nth-child(3) { grid-column: 1; height: 46px; margin: 0; padding: 0 10px; border: 0; border-bottom: 1px solid #e5e1e7; }
    .premium-search small { font-size: 8px; }
    .premium-search select { margin-top: 2px; font-size: 14px; }
    .search-icon { width: 27px; font-size: 22px; }
    .premium-search > button { width: 100%; height: 53px; margin-top: 7px; }
    .profile-showcase { padding-top: 210px; }
    .profile-showcase-men { padding-top: 55px; }
    .showcase-heading { align-items: flex-start; flex-direction: column; }
    .showcase-heading h2 { font-size: 28px; }
    .showcase-count { display: none; }
    .landing-profile-grid { gap: 10px; }
    .landing-profile-photo { height: 210px; }
    .landing-profile-body { padding: 10px; }
    .landing-profile-title h3 { font-size: 14px; }
    .landing-profile-title button { width: 29px; height: 29px; }
    .mobile-app-section { padding-inline: 22px; }
    .store-buttons { align-items: stretch; flex-direction: column; }
    .store-buttons a { min-width: 0; }
    .premium-footer-grid { grid-template-columns: 1fr 1fr; gap: 33px; }
    .footer-brand { grid-column: 1/-1; }
    .premium-footer-grid nav:nth-of-type(3) { display: grid; }
    .footer-news { grid-column: 1/-1; }
    .premium-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    .social-dashboard-grid { grid-template-columns: 1fr; }
    .social-column:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-hero-slide,
    .premium-hero-slide img { transition-duration: .01ms; }
}

/* Module Messenger flottant */
.messenger-widget { position: fixed; z-index: 230; right: 24px; bottom: 24px; pointer-events: none; }
.messenger-launcher { position: relative; display: flex; min-width: 190px; height: 62px; align-items: center; gap: 11px; padding: 7px 18px 7px 8px; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: linear-gradient(135deg,#ef6786,#d84067); box-shadow: 0 17px 38px rgba(202,48,89,.31); pointer-events: auto; transition: transform .25s, box-shadow .25s, opacity .2s; }
.messenger-launcher:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(202,48,89,.39); }
.messenger-launcher-icon { display: grid; width: 47px; height: 47px; flex: none; place-items: center; color: #e55275; border-radius: 50%; background: #fff; font-size: 26px; font-weight: 800; }
.messenger-launcher-label { display: grid; text-align: left; line-height: 1.22; }
.messenger-launcher-label strong { font-size: 13px; }
.messenger-launcher-label small { color: rgba(255,255,255,.75); font-size: 9px; }
.messenger-unread { position: absolute; right: -3px; top: -4px; display: grid; min-width: 23px; height: 23px; padding: 0 5px; place-items: center; color: #e24e71; border: 3px solid var(--cc-page); border-radius: 20px; background: #fff; font-size: 9px; font-style: normal; font-weight: 850; }
.messenger-widget.is-open .messenger-launcher { opacity: 0; pointer-events: none; transform: translateY(8px); }
.messenger-drawer { position: absolute; right: 0; bottom: 0; width: min(820px, calc(100vw - 48px)); height: min(680px, calc(100vh - 105px)); overflow: hidden; color: var(--cc-text); border: 1px solid var(--cc-border); border-radius: 23px; background: var(--cc-panel); box-shadow: 0 30px 90px rgba(18,10,27,.28); opacity: 0; pointer-events: none; transform: translateY(28px) scale(.97); transform-origin: right bottom; transition: opacity .25s, transform .35s cubic-bezier(.2,.75,.25,1); }
.messenger-widget.is-open .messenger-drawer { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.messenger-loading { display: flex; height: 100%; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; color: var(--cc-subtle); }
.messenger-loading span { width: 7px; height: 7px; border-radius: 50%; background: #e45d7b; animation: messenger-bounce .9s infinite alternate; }
.messenger-loading span:nth-child(2) { animation-delay: .14s; }.messenger-loading span:nth-child(3) { animation-delay: .28s; }
.messenger-loading p { width: 100%; margin: 8px 0 0; text-align: center; font-size: 11px; }
@keyframes messenger-bounce { to { opacity: .25; transform: translateY(-7px); } }
.messenger-load-error { display: grid; height: 100%; place-items: center; align-content: center; color: var(--cc-subtle); text-align: center; }
.messenger-load-error > span { display: grid; width: 45px; height: 45px; place-items: center; color: #fff; border-radius: 50%; background: #e45977; font-weight: 800; }
.messenger-load-error strong { margin-top: 12px; color: var(--cc-text); }.messenger-load-error p { font-size: 12px; }.messenger-load-error button { padding: 8px 15px; color: #fff; border: 0; border-radius: 9px; background: #e45977; }
.messenger-panel-inner { position: relative; display: grid; height: 100%; grid-template-rows: 67px 1fr; }
.messenger-topbar { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; border-bottom: 1px solid var(--cc-border); background: var(--cc-panel); }
.messenger-topbar > div { display: flex; align-items: center; gap: 9px; }
.messenger-global-actions { position: relative; }
.messenger-topbar > div:first-child > span:last-child { display: grid; line-height: 1.2; }
.messenger-topbar strong { color: var(--cc-text); font-size: 16px; letter-spacing: -.02em; }
.messenger-topbar small { color: var(--cc-subtle); font-size: 8px; }
.messenger-brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; border-radius: 12px; background: linear-gradient(140deg,#f0879d,#de486c); font-family: Georgia,serif; font-size: 26px; line-height: 1; }
.messenger-topbar > div:last-child > a,
.messenger-topbar > div:last-child > button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; color: var(--cc-subtle); border: 0; border-radius: 50%; background: transparent; font-size: 21px; }
.messenger-topbar > div:last-child > a:hover,
.messenger-topbar > div:last-child > button:hover { color: #e15474; background: var(--cc-pink-pale); }
.messenger-layout { display: grid; min-height: 0; grid-template-columns: 295px 1fr; }
.messenger-conversations { display: flex; min-height: 0; flex-direction: column; border-right: 1px solid var(--cc-border); background: var(--cc-panel); }
.messenger-search { display: flex; height: 42px; align-items: center; gap: 7px; margin: 15px 13px 8px; padding: 0 12px; color: var(--cc-subtle); border-radius: 13px; background: color-mix(in srgb,var(--cc-border) 50%,transparent); }
.messenger-search input { min-width: 0; flex: 1; color: var(--cc-text); border: 0; outline: 0; background: transparent; font-size: 11px; }
.messenger-tabs { display: flex; gap: 5px; padding: 0 13px 9px; }
.messenger-tabs button { padding: 5px 10px; color: var(--cc-subtle); border: 0; border-radius: 999px; background: transparent; font-size: 9px; font-weight: 700; }
.messenger-tabs button.is-active { color: #df5273; background: var(--cc-pink-pale); }
html[data-theme="dark"] .messenger-tabs button.is-active { background: #38212a; }
.messenger-conversation-list { min-height: 0; flex: 1; overflow-y: auto; padding: 2px 7px 12px; scrollbar-width: thin; }
.messenger-conversation { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 9px; color: var(--cc-text); border: 0; border-radius: 14px; background: transparent; text-align: left; transition: background .18s; }
.messenger-conversation:hover { background: color-mix(in srgb,var(--cc-border) 47%,transparent); }
.messenger-conversation.is-active { background: var(--cc-pink-pale); }
html[data-theme="dark"] .messenger-conversation.is-active { background: #34202a; }
.messenger-conversation > .messenger-conversation-copy { display: grid; min-width: 0; flex: 1; }
.messenger-conversation > .messenger-conversation-copy > span { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.messenger-conversation strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.messenger-conversation time { color: var(--cc-subtle); font-size: 8px; }
.messenger-conversation small { overflow: hidden; color: var(--cc-subtle); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.messenger-no-conversation { display: grid; place-items: center; padding: 35px 17px; color: var(--cc-subtle); text-align: center; }
.messenger-no-conversation > span { color: #e45a79; font-size: 40px; }.messenger-no-conversation strong { color: var(--cc-text); }.messenger-no-conversation small { margin: 5px 0 13px; font-size: 9px; }.messenger-no-conversation a { padding: 7px 11px; color: #fff; border-radius: 8px; background: #e45a79; font-size: 9px; }
.messenger-thread { display: grid; min-width: 0; min-height: 0; grid-template-rows: 68px 1fr auto auto; background: linear-gradient(180deg,#fffafb,#fff); }
html[data-theme="dark"] .messenger-thread { background: linear-gradient(180deg,#17131c,#121018); }
.messenger-thread-head { display: flex; align-items: center; gap: 9px; padding: 0 13px; border-bottom: 1px solid var(--cc-border); background: color-mix(in srgb,var(--cc-panel) 92%,transparent); backdrop-filter: blur(15px); }
.messenger-contact { display: flex; min-width: 0; align-items: center; gap: 9px; }
.messenger-contact > span:last-child { display: grid; min-width: 0; line-height: 1.25; }
.messenger-contact strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.messenger-contact small { display: flex; align-items: center; gap: 4px; color: var(--cc-subtle); font-size: 8px; }
.messenger-contact small i { width: 6px; height: 6px; border-radius: 50%; background: #aaa; }.messenger-contact small i.online { background: #55c568; }
.messenger-thread-actions { display: flex; gap: 4px; margin-left: auto; }
.messenger-thread-actions button,
.messenger-thread-actions a,
.messenger-mobile-back { display: grid; width: 33px; height: 33px; padding: 0; place-items: center; color: #dc5071; border: 0; border-radius: 50%; background: transparent; font-size: 18px; }
.messenger-thread-actions button:hover,
.messenger-thread-actions a:hover { background: var(--cc-pink-pale); }
.messenger-mobile-back { display: none; }
.messenger-message-stream { min-height: 0; overflow-y: auto; padding: 14px 18px 10px; scrollbar-width: thin; }
.messenger-intro { display: grid; justify-items: center; padding: 7px 0 16px; text-align: center; }
.messenger-intro strong { margin-top: 7px; font-size: 12px; }.messenger-intro small { color: var(--cc-subtle); font-size: 8px; }
.messenger-date { display: flex; align-items: center; gap: 8px; margin: 4px 0 13px; color: var(--cc-subtle); font-size: 8px; }
.messenger-date::before,.messenger-date::after { content: ""; height: 1px; flex: 1; background: var(--cc-border); }
.widget-message { display: flex; align-items: flex-end; gap: 7px; margin: 5px 0; }
.widget-message.mine { justify-content: flex-end; }
.widget-message-content { position: relative; max-width: 72%; }
.widget-bubble { min-width: 58px; padding: 8px 10px 5px; color: var(--cc-text); border-radius: 16px 16px 16px 4px; background: color-mix(in srgb,var(--cc-border) 62%,transparent); box-shadow: 0 1px 3px rgba(20,12,29,.035); }
.mine .widget-bubble { color: #fff; border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg,#ec6885,#dd456a); }
.widget-bubble.is-deleted { color: var(--cc-subtle); background: transparent; border: 1px dashed var(--cc-border); font-style: italic; }
.widget-bubble p { margin: 0; font-size: 11px; line-height: 1.43; overflow-wrap: anywhere; }
.widget-bubble time { display: block; margin-top: 2px; color: currentColor; opacity: .63; font-size: 7px; text-align: right; }
.widget-bubble time i { font-style: normal; }
.widget-attachment { display: flex; min-width: 190px; align-items: center; gap: 7px; margin: 2px 0 4px; padding: 8px; color: inherit; border-radius: 11px; background: rgba(255,255,255,.15); }
.theirs .widget-attachment { background: rgba(255,255,255,.75); }
html[data-theme="dark"] .theirs .widget-attachment { background: rgba(255,255,255,.08); }
.widget-attachment > span { display: grid; width: 31px; height: 31px; flex: none; place-items: center; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 9px; }.widget-attachment b { min-width: 0; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.widget-attachment small { margin-left: auto; font-size: 7px; opacity: .68; }.widget-attachment.audio i { width: 70px; height: 14px; background: repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 5px); opacity: .45; }
.widget-reactions { position: relative; display: flex; min-height: 17px; align-items: center; gap: 1px; padding: 1px 4px; }
.mine .widget-reactions { justify-content: flex-end; }
.widget-reactions > span { font-size: 11px; }.widget-reactions > button { width: 18px; height: 18px; padding: 0; color: var(--cc-subtle); border: 0; border-radius: 50%; background: var(--cc-panel); font-size: 9px; box-shadow: 0 1px 5px rgba(0,0,0,.12); }
.widget-reactions > div { position: absolute; z-index: 5; left: 0; bottom: 23px; display: none; padding: 4px; border: 1px solid var(--cc-border); border-radius: 20px; background: var(--cc-panel); box-shadow: var(--cc-shadow); }
.mine .widget-reactions > div { left: auto; right: 0; }.widget-reactions > div.is-open { display: flex; }.widget-reactions > div button { padding: 3px; border: 0; background: transparent; font-size: 16px; }
.messenger-first-message { display: grid; justify-items: center; padding: 30px; text-align: center; }.messenger-first-message > span { font-size: 34px; }.messenger-first-message p { color: var(--cc-subtle); font-size: 11px; }.messenger-first-message button { padding: 7px 11px; color: #df5273; border: 1px solid #ef9eb1; border-radius: 9px; background: transparent; font-size: 9px; }
.messenger-quota { padding: 5px 14px; color: #826022; border-top: 1px solid #f0d8a8; background: #fff5df; font-size: 8px; }.messenger-quota a { float: right; font-weight: 800; }
.messenger-composer { position: relative; display: flex; align-items: flex-end; gap: 5px; padding: 10px 11px 12px; border-top: 1px solid var(--cc-border); background: var(--cc-panel); }
.messenger-composer > button { display: grid; width: 33px; height: 33px; flex: none; place-items: center; color: #df5273; border: 0; border-radius: 50%; background: transparent; font-size: 18px; }
.messenger-composer > button:hover { background: var(--cc-pink-pale); }.messenger-composer > button.is-recording { color: #fff; background: #e43f5f; animation: record-pulse .9s infinite alternate; }
@keyframes record-pulse { to { box-shadow: 0 0 0 8px rgba(228,63,95,.14); } }
.messenger-input-wrap { min-width: 0; flex: 1; padding: 7px 12px; border-radius: 17px; background: color-mix(in srgb,var(--cc-border) 51%,transparent); }
.messenger-input-wrap textarea { display: block; width: 100%; max-height: 92px; padding: 0; color: var(--cc-text); border: 0; outline: 0; resize: none; background: transparent; font-size: 11px; }
.messenger-input-wrap > div { padding-bottom: 4px; color: #df5273; font-size: 8px; overflow-wrap: anywhere; }
.messenger-composer .messenger-send { color: #fff; background: #e05475; font-size: 13px; }
.widget-emoji-picker { position: absolute; z-index: 10; right: 43px; bottom: 57px; display: none; width: 267px; padding: 11px; border: 1px solid var(--cc-border); border-radius: 17px; background: var(--cc-panel); box-shadow: var(--cc-shadow); }
.widget-emoji-picker.is-open { display: block; }.widget-emoji-picker > strong { display: block; margin-bottom: 7px; font-size: 10px; }.widget-emoji-picker > div { display: grid; grid-template-columns: repeat(8,1fr); gap: 2px; }.widget-emoji-picker button { display: grid; aspect-ratio: 1; place-items: center; border: 0; border-radius: 7px; background: transparent; font-size: 18px; }.widget-emoji-picker button:hover { background: var(--cc-pink-pale); }
.messenger-thread-empty { display: grid; place-items: center; align-content: center; padding: 40px; background: linear-gradient(145deg,#fff9fb,#f9f2f7); text-align: center; }.messenger-thread-empty > span { color: #e35a79; font-size: 58px; }.messenger-thread-empty h3 { margin: 7px 0; font-size: 20px; }.messenger-thread-empty p { color: var(--cc-subtle); font-size: 11px; }.messenger-thread-empty a { padding: 9px 14px; color: #fff; border-radius: 9px; background: #e45a79; font-size: 10px; }
html[data-theme="dark"] .messenger-thread-empty { background: linear-gradient(145deg,#18141d,#100e16); }
.widget-incoming-call { position: absolute; z-index: 20; left: 16px; right: 16px; top: 76px; display: flex; align-items: center; gap: 9px; padding: 11px; color: #fff; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(22,16,29,.94); box-shadow: 0 16px 40px rgba(0,0,0,.34); backdrop-filter: blur(18px); }.widget-incoming-call[hidden] { display: none; }.widget-incoming-call > div { display: grid; flex: 1; }.widget-incoming-call strong { font-size: 11px; }.widget-incoming-call small { color: #bdb5c2; font-size: 8px; }.widget-incoming-call button { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; border: 0; border-radius: 50%; }.widget-incoming-call .decline { background: #e2475f; }.widget-incoming-call .accept { background: #32b574; }
.widget-call-stage { position: absolute; z-index: 30; inset: 0; overflow: hidden; color: #fff; background: radial-gradient(circle at 50% 35%,#493247,#17111c 66%); }.widget-call-stage[hidden] { display: none; }.widget-call-stage > video:first-child { width: 100%; height: 100%; object-fit: cover; }.widget-call-stage > video:nth-child(2) { position: absolute; z-index: 3; right: 17px; top: 17px; width: 135px; height: 180px; object-fit: cover; border: 2px solid rgba(255,255,255,.65); border-radius: 14px; background: #211824; box-shadow: 0 12px 30px rgba(0,0,0,.35); }.widget-call-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }.widget-call-fallback h3 { margin: 13px 0 4px; }.widget-call-fallback p { color: #c4bac7; font-size: 10px; }.widget-call-controls { position: absolute; z-index: 4; left: 50%; bottom: 25px; display: flex; gap: 9px; transform: translateX(-50%); }.widget-call-controls button { width: 46px; height: 46px; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.13); backdrop-filter: blur(12px); }.widget-call-controls button.is-off { color: #777; background: #fff; }.widget-call-controls .hangup { border-color: transparent; background: #e0445d; transform: rotate(135deg); }

@media (max-width: 820px) {
    .messenger-widget { right: 14px; bottom: 78px; }
    .messenger-launcher { min-width: 58px; width: 58px; height: 58px; padding: 6px; }
    .messenger-launcher-icon { width: 44px; height: 44px; }
    .messenger-launcher-label { display: none; }
    .messenger-drawer { position: fixed; inset: 0; width: 100%; height: calc(100% - 64px); border: 0; border-radius: 0; transform: translateY(100%); }
    .messenger-widget.is-open .messenger-drawer { transform: translateY(0); }
    .messenger-layout { grid-template-columns: 1fr; }
    .messenger-thread { position: absolute; inset: 67px 0 0; z-index: 4; pointer-events: none; transform: translateX(100%); transition: transform .28s ease; }
    .messenger-panel-inner.show-thread .messenger-thread { pointer-events: auto; transform: translateX(0); }
    .messenger-panel-inner:not(.has-conversation) .messenger-thread-empty { display: none; }
    .messenger-mobile-back { display: grid; }
    .messenger-conversations { border-right: 0; }
    .messenger-conversation { padding: 12px 13px; }
    .messenger-panel-inner:not(.has-conversation) .messenger-conversations { display: flex; }
    .messenger-thread-actions button,.messenger-thread-actions a { width: 31px; height: 31px; }
}

@media (max-width: 420px) {
    .messenger-message-stream { padding-inline: 10px; }
    .widget-message-content { max-width: 79%; }
    .messenger-composer { gap: 2px; padding-inline: 6px; }
    .messenger-composer > button { width: 30px; height: 30px; }
    .widget-emoji-picker { right: 5px; width: min(267px,calc(100vw - 20px)); }
    .widget-call-stage > video:nth-child(2) { width: 100px; height: 135px; }
}

/* === CœursConnect v14 : navigation premium de l'accueil === */
.premium-account-menu{position:relative;flex:none}
.premium-account-trigger{display:flex;min-height:46px;align-items:center;gap:9px;padding:4px 12px 4px 6px;color:#fff;border:1px solid rgba(255,255,255,.52);border-radius:16px;background:rgba(12,11,27,.18);font:inherit;font-size:14px;font-weight:720;backdrop-filter:blur(12px);cursor:pointer;transition:border-color .25s,background .25s,color .25s,box-shadow .25s}
.premium-account-trigger .avatar{width:34px;height:34px}
.premium-account-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.premium-account-caret{font-size:12px;opacity:.8}
.premium-nav.is-scrolled .premium-account-trigger{color:#211c26;border-color:#d7d1da;background:#fff;box-shadow:0 5px 16px rgba(28,18,36,.06)}
.premium-account-panel{top:calc(100% + 12px);right:0;min-width:250px;border-radius:20px;box-shadow:0 24px 55px rgba(24,15,32,.18)}
.premium-account-panel a{color:#403747}
.premium-account-panel.open{display:grid}
@media(max-width:1100px){
  .premium-nav-links{gap:17px}
  .premium-nav-links a{font-size:13px}
  .premium-nav-links a:nth-last-child(-n+2){display:flex}
  .premium-account-name{display:none}
  .premium-account-trigger{padding-right:9px}
}
@media(max-width:820px){
  .premium-nav-links a:nth-last-child(-n+2){display:block}
  .premium-account-trigger{min-height:40px;border-radius:14px}
  .premium-account-trigger .avatar{width:31px;height:31px}
  .premium-account-caret{display:none}
  .premium-account-panel{position:fixed;right:14px;top:68px;min-width:min(270px,calc(100vw - 28px))}
}

/* === CœursConnect 2026-09-20 : menu compte accueil — soft / raffiné / épuré === */
.premium-account-panel{
    top:calc(100% + 10px);
    right:0;
    width:226px;
    min-width:226px;
    padding:7px;
    gap:2px;
    border:1px solid rgba(63,48,70,.08);
    border-radius:17px;
    background:rgba(255,255,255,.97);
    box-shadow:0 16px 42px rgba(29,18,35,.13),0 2px 8px rgba(29,18,35,.04);
    backdrop-filter:blur(18px) saturate(1.08);
    -webkit-backdrop-filter:blur(18px) saturate(1.08);
    overflow:hidden;
}
.premium-account-panel a{
    min-height:39px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:7px 8px;
    border-radius:11px;
    color:#433a49;
    font-size:12.5px;
    line-height:1.25;
    font-weight:640;
    letter-spacing:-.01em;
    transition:background .16s ease,color .16s ease,transform .16s ease;
}
.premium-account-panel a:hover{
    color:#2c2431;
    background:#fbf8fa;
    box-shadow:none;
    transform:translateX(1px);
}
.premium-account-panel .menu-item-icon{
    width:27px;
    height:27px;
    flex:0 0 27px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:#c84f6c;
    background:#fff1f5;
    box-shadow:inset 0 0 0 1px rgba(231,90,120,.035);
}
.premium-account-panel .menu-item-icon svg{
    width:14px;
    height:14px;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.premium-account-panel a:hover .menu-item-icon{
    transform:none;
    color:#bd405e;
    background:#ffedf2;
}
.premium-account-panel hr{
    margin:5px 6px;
    border:0;
    border-top:1px solid rgba(79,64,84,.09);
}
.premium-account-panel .danger-link{
    color:#d54460!important;
}
.premium-account-panel .danger-link .menu-item-icon{
    color:#d54460;
    background:#fff3f5;
}
.premium-account-panel .danger-link:hover{
    color:#c8324f!important;
    background:#fff7f8;
    box-shadow:none;
}
.premium-account-panel .menu-support-badge{
    min-width:17px;
    height:17px;
    padding:0 5px;
    margin-left:5px;
    border-radius:999px;
    font-size:9px;
    line-height:17px;
}
html[data-theme="dark"] .premium-account-panel{
    background:rgba(25,22,31,.97);
    border-color:rgba(255,255,255,.08);
    box-shadow:0 18px 48px rgba(0,0,0,.36);
}
html[data-theme="dark"] .premium-account-panel a{
    color:#ece5ef;
}
html[data-theme="dark"] .premium-account-panel a:hover{
    color:#fff;
    background:rgba(255,255,255,.055);
}
html[data-theme="dark"] .premium-account-panel .menu-item-icon{
    color:#f08aa1;
    background:rgba(231,90,120,.13);
    box-shadow:none;
}
html[data-theme="dark"] .premium-account-panel hr{
    border-top-color:rgba(255,255,255,.08);
}
@media(max-width:820px){
    .premium-account-panel{
        right:10px;
        top:64px;
        width:min(226px,calc(100vw - 20px));
        min-width:0;
        max-height:calc(100dvh - 78px);
        overflow:auto;
    }
}
