/* EHSAN EPT release corrections: readability, wallpaper selection, compact menus and auth layout. */

/* Keep the whole messenger readable when the user selects light mode. */
:root[data-theme="light"] .sidebar,
:root[data-theme="light"] .conversation{background:#f4f7fc!important;color:#18324f!important;border-color:#c8d5e5!important}
:root[data-theme="light"] .brand{background:#fff!important;border-bottom:1px solid #d4dfec!important}
:root[data-theme="light"] .brand strong{background:none!important;color:#075a9e!important;-webkit-text-fill-color:#075a9e!important;text-shadow:none!important}
:root[data-theme="light"] .brand small{color:#526983!important}
:root[data-theme="light"] .self,
:root[data-theme="light"] .tools,
:root[data-theme="light"] .search input,
:root[data-theme="light"] .chatheader,
:root[data-theme="light"] .composer{background:#fff!important;color:#18324f!important;border-color:#d3deeb!important}
:root[data-theme="light"] .tools select,
:root[data-theme="light"] .small-action,
:root[data-theme="light"] .search-action,
:root[data-theme="light"] .sidebar .icon-button,
:root[data-theme="light"] .chatheader .icon-button,
:root[data-theme="light"] .round.subtle{background:#e8eff8!important;color:#264766!important;border-color:#c5d4e5!important}
:root[data-theme="light"] .listhead b,
:root[data-theme="light"] .chatrow,
:root[data-theme="light"] .chatrow strong,
:root[data-theme="light"] .chatperson strong{color:#18324f!important}
:root[data-theme="light"] .chatrow small,
:root[data-theme="light"] .chatperson small,
:root[data-theme="light"] .self small,
:root[data-theme="light"] .nav-tab{color:#526983!important}
:root[data-theme="light"] .chatrow:hover,
:root[data-theme="light"] .chatrow.active{background:#e2edfb!important;border-color:#b8cce4!important;color:#18324f!important}
:root[data-theme="light"] .conversation-filters .filter-chip{background:#fff!important;color:#526983!important;border-color:#c6d5e6!important}
:root[data-theme="light"] .conversation-filters .filter-chip.selected{background:#2478d0!important;color:#fff!important;border-color:#2478d0!important}
:root[data-theme="light"] .sidebarfoot{background:#fff!important;border-color:#d3deeb!important}
:root[data-theme="light"] .search input::placeholder,
:root[data-theme="light"] .composer textarea::placeholder{color:#657b95!important;opacity:1}
:root[data-theme="light"] .ai-feature{background:linear-gradient(135deg,#e4f0ff,#f7faff)!important;border-color:#bfd1e5!important;box-shadow:0 5px 18px #173c6613!important}
:root[data-theme="light"] .ai-feature .ai-copy strong{color:#17385e!important}
:root[data-theme="light"] .ai-feature .ai-copy small,
:root[data-theme="light"] .ai-feature .coming-tag{color:#526d8d!important}
:root[data-theme="light"] .ai-feature .coming-tag{background:#fff!important;border-color:#c3d3e5!important}
:root[data-theme="light"] .msg .bubble{background:#fff!important;color:#203b5e!important;border-color:#cbd9e8!important;box-shadow:0 2px 8px #173c6610!important}
:root[data-theme="light"] .msg.mine .bubble{background:#dcecff!important;color:#17385e!important;border-color:#b7d2f0!important}
:root[data-theme="light"] .msg .message-link,
:root[data-theme="light"] .msg .download{color:#075f9d!important}
:root[data-theme="light"] .stamp{color:#526983!important}
:root[data-theme="light"] .reaction-chip{background:#fff!important;color:#17385e!important;border-color:#cbd9e8!important}

/* Wallpaper thumbnails and chat backgrounds use the bundled artwork, including under v4's old !important rule. */
.wallpaper-thumb{display:block;width:100%;height:118px;min-height:78px;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;border:1px solid #80a9d1;filter:saturate(1.08);}
.wallpaper-option{color:#edf6ff;background:#10294b;border-color:#3c5d83}
.wallpaper-option.selected{background:#164c7a;border-color:#4bd4ff;box-shadow:0 0 0 2px #4bd4ff35}
.wallpaper-dialog .wp-foot{color:#b8cce4}
.chatview[data-wallpaper="mountains"]{background-image:linear-gradient(#06122666,#06152b55),url('/assets/wallpapers/mountains.svg')!important}
.chatview[data-wallpaper="aurora"]{background-image:linear-gradient(#06122666,#06152b55),url('/assets/wallpapers/aurora.svg')!important}
.chatview[data-wallpaper="ocean"]{background-image:linear-gradient(#06122666,#06152b55),url('/assets/wallpapers/ocean.svg')!important}
.chatview[data-wallpaper="minimal"]{background-image:linear-gradient(#06122666,#06152b55),url('/assets/wallpapers/minimal.svg')!important}
.chatview[data-wallpaper="desert"]{background-image:linear-gradient(#06122666,#06152b55),url('/assets/wallpapers/desert.svg')!important}
.chatview[data-wallpaper="city"]{background-image:linear-gradient(#06122666,#06152b55),url('/assets/wallpapers/city.svg')!important}
:root[data-theme="light"] .chatview[data-wallpaper="mountains"]{background-image:linear-gradient(#edf3faad,#edf3faad),url('/assets/wallpapers/mountains.svg')!important}
:root[data-theme="light"] .chatview[data-wallpaper="aurora"]{background-image:linear-gradient(#edf3faad,#edf3faad),url('/assets/wallpapers/aurora.svg')!important}
:root[data-theme="light"] .chatview[data-wallpaper="ocean"]{background-image:linear-gradient(#edf3faad,#edf3faad),url('/assets/wallpapers/ocean.svg')!important}
:root[data-theme="light"] .chatview[data-wallpaper="minimal"]{background-image:linear-gradient(#edf3faad,#edf3faad),url('/assets/wallpapers/minimal.svg')!important}
:root[data-theme="light"] .chatview[data-wallpaper="desert"]{background-image:linear-gradient(#edf3faad,#edf3faad),url('/assets/wallpapers/desert.svg')!important}
:root[data-theme="light"] .chatview[data-wallpaper="city"]{background-image:linear-gradient(#edf3faad,#edf3faad),url('/assets/wallpapers/city.svg')!important}
:root[data-theme="light"] .wallpaper-option{background:#f3f7fc;color:#17385e;border-color:#c7d7e8}
:root[data-theme="light"] .wallpaper-option.selected{background:#e5f2ff;border-color:#2587de}
:root[data-theme="light"] .wallpaper-dialog .wp-foot{color:#526d8d}

/* Message actions float over the conversation and never take a row in the message flow. */
.msg{position:relative}
.msg .message-menu{position:absolute!important;z-index:80!important;top:28px;left:31px;right:auto;min-width:174px;width:max-content;max-width:min(230px,calc(100vw - 34px));max-height:min(55dvh,360px);overflow:auto;overscroll-behavior:contain;padding:6px;border-radius:13px}
.msg.mine .message-menu{left:auto;right:31px}
.msg .message-menu>button{padding:7px 9px;font-size:11px;line-height:1.45}
.msg .message-menu .reaction-row{padding-top:4px}
.msg .message-menu .reaction-row button{font-size:17px;padding:2px}

/* A fuller picker stays inside the chat window and scrolls rather than covering the whole view. */
.emoji-picker{grid-template-columns:repeat(9,minmax(28px,1fr));width:min(365px,calc(100vw - 28px));max-height:min(48dvh,390px);overflow-y:auto;overscroll-behavior:contain}
.emoji-picker button{min-width:28px;min-height:34px;font-size:21px}

/* Login uses the same searchable, flag-based country selector as sign-up. */
.auth-login-country-control{position:relative;min-width:0}
.auth-login-country-control .country-native{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;margin:0!important}
.auth-login-country-control .country-trigger{display:flex;align-items:center;justify-content:flex-start;gap:9px;direction:ltr;text-align:left;cursor:pointer;white-space:nowrap}
.auth-login-country-control #loginCountrySelected{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:13px 'Segoe UI',Arial,sans-serif}
.auth-login-country-control .country-menu{position:absolute;z-index:100;top:calc(100% + 6px);left:0;right:0;min-width:min(330px,calc(100vw - 42px));max-height:270px;overflow:hidden;background:#071c3ef9;border:1px solid #75b9ff;box-shadow:0 25px 55px #010b22e0;border-radius:13px;padding:9px;color:#edf9ff;direction:ltr}
.auth-login-country-control .country-menu input{width:100%;height:39px;min-height:39px;margin:0 0 6px;padding:8px 10px}
.auth-login-country-control #loginCountryOptions{max-height:207px;overflow-y:auto;overscroll-behavior:contain}
.auth-register-prompt{text-align:center;color:#c4d7ef;font-size:12px;margin:8px 0 0}
.auth-register-prompt button{background:transparent;border:0;padding:4px;color:#8cddff;text-decoration:underline;text-underline-offset:3px;font-weight:700}

/* Fit the sign-up screen on common laptop heights without cropping the brand mark. */
@media(min-width:701px) and (max-height:850px){
 .auth-v4.auth-shell{padding:7px 14px;overflow-y:auto}
 .auth-v4 .auth-layout{min-height:0;gap:4px;justify-content:flex-start;padding:0}
 .auth-v4 .auth-hero{gap:0}
 .auth-v4 .auth-hero-logo-wrap{width:54px;height:54px;margin:0;filter:drop-shadow(0 0 12px #00a3ff8c)}
 .auth-v4 .auth-title-en{font-size:clamp(24px,2.8vw,32px);line-height:1.02}
 .auth-v4 .auth-hero h1{font-size:11px;line-height:1.25;margin:0}
 .auth-v4 .ept-email-panel{width:min(626px,calc(100vw - 30px));padding:9px 24px 8px;border-radius:18px}
 .auth-v4 .ept-email-panel .tabs{min-height:34px;margin-bottom:4px;padding:2px}
 .auth-v4 .ept-email-panel .tabs .tab{min-height:28px;padding:3px 10px;font-size:12px}
 .auth-v4 .ept-email-panel label{font-size:10px;line-height:1.25;margin:3px 0 0}
 .auth-v4 .ept-email-panel input:not([type=checkbox]),.auth-v4 .ept-email-panel select,.auth-v4 .ept-email-panel .country-trigger{height:32px;min-height:32px;margin-top:2px;padding:4px 8px;font-size:10px}
 .auth-v4 .ept-email-panel .auth-phone-line{height:32px;min-height:32px;margin-top:2px}
 .auth-v4 .ept-email-panel .auth-phone-line input{height:29px;min-height:29px}
 .auth-v4 .ept-email-panel .auth-two{gap:8px}
 .auth-v4 .ept-email-panel .password-hint{font-size:8px;margin:2px 0 0}
 .auth-v4 .terms-consent{margin-top:3px}
 .auth-v4 .terms-consent>label{font-size:9px}
 .auth-v4 .terms-consent input[type=checkbox]{width:15px;min-width:15px;height:15px}
 .auth-v4 .ept-email-panel #emailSend{height:35px;min-height:35px;margin-top:4px;font-size:13px}
 .auth-v4 .ept-email-panel .auth-footer-note{font-size:8px;line-height:1.35;padding-top:3px;margin-top:3px}
}
@media(max-width:700px){
 .auth-login-country-control #loginCountrySelected{font-size:11px}
 .auth-login-country-control .country-menu{min-width:min(330px,calc(100vw - 50px))}
 .emoji-picker{right:8px;bottom:67px}
 .wallpaper-thumb{height:88px}
}

.wallpaper-thumb[data-preview="mountains"]{background-image:url("/assets/wallpapers/mountains.svg")!important}

.wallpaper-thumb[data-preview="aurora"]{background-image:url("/assets/wallpapers/aurora.svg")!important}

.wallpaper-thumb[data-preview="ocean"]{background-image:url("/assets/wallpapers/ocean.svg")!important}

.wallpaper-thumb[data-preview="minimal"]{background-image:url("/assets/wallpapers/minimal.svg")!important}

.wallpaper-thumb[data-preview="desert"]{background-image:url("/assets/wallpapers/desert.svg")!important}

.wallpaper-thumb[data-preview="city"]{background-image:url("/assets/wallpapers/city.svg")!important}

/* Final contrast pass for sidebar headings, captions and secondary controls. */
:root[data-theme="light"] .sidebar .muted,
:root[data-theme="light"] .sidebar .chatlist-heading,
:root[data-theme="light"] .sidebar .chatrow time,
:root[data-theme="light"] .sidebar .beta-foot,
:root[data-theme="light"] .sidebar .empty-list,
:root[data-theme="light"] .sidebar .selfinfo small,
:root[data-theme="light"] .sidebar .selfinfo span,
:root[data-theme="light"] .sidebar .tools label,
:root[data-theme="light"] .sidebar .admin-invite-nav,
:root[data-theme="light"] .conversation .muted,
:root[data-theme="light"] .conversation .edited{color:#526983!important}
:root[data-theme="light"] .sidebar .brand-settings,
:root[data-theme="light"] .sidebar .small-action,
:root[data-theme="light"] .sidebar .search-action,
:root[data-theme="light"] .sidebar .filter-chip,
:root[data-theme="light"] .sidebar .admin-invite-nav{background:#e8eff8!important;color:#264766!important;border-color:#c5d4e5!important}
:root[data-theme="light"] .sidebar .chatrow.active .chatrow-info strong,
:root[data-theme="light"] .sidebar .chatrow.active .chatrow-info small{color:#17385e!important}
:root[data-theme="light"] .sidebar .nav-tab.active{color:#075a9e!important}

/* EPT release: keep the whole app reachable below the iPhone status bar/notch. */
@media(max-width:800px){
 .brand{padding-top:max(15px,env(safe-area-inset-top))!important;min-height:calc(76px + env(safe-area-inset-top))!important}
 .chatheader{padding-top:calc(8px + env(safe-area-inset-top))!important;min-height:calc(68px + env(safe-area-inset-top))!important;position:relative;z-index:3;flex-wrap:nowrap}
 .chatheader .icon-button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
 .settings-page{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(160deg,#0a1d3a,#071329);color:#edf7ff;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
 .settings-page.hidden{display:none!important}
 .settings-top{flex:none;display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid #ffffff20;background:#0b2142;min-height:68px}
 .settings-back{width:44px;height:44px;border:1px solid #4d87c4;border-radius:14px;background:#12325a;color:#fff;font-size:28px;cursor:pointer}
 .settings-top small{font-size:10px;letter-spacing:2px;color:#7fdcff}.settings-top h1{margin:0;font-size:21px}.settings-top-spacer{flex:1}
 .settings-content{overflow:auto;overscroll-behavior:contain;padding:14px 16px 30px;max-width:720px;width:100%;margin:0 auto}
 .settings-section{padding:16px;margin:0 0 13px;border:1px solid #ffffff20;border-radius:18px;background:#10294c;box-shadow:0 8px 22px #0002}
 .settings-section h2{font-size:15px;margin:0 0 12px;color:#9ddcff}.settings-section p{font-size:12px;line-height:1.8;color:#c3d5e8}
 .settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #ffffff15;font-size:13px}
 .settings-row select{min-width:130px;max-width:52%;padding:9px 10px;border:1px solid #5488bb;border-radius:10px;background:#0b2040;color:#f2f8ff}
 .settings-action{display:inline-flex;align-items:center;min-height:42px;margin:4px;padding:9px 13px;border:1px solid #528ac0;border-radius:12px;background:#15355b;color:#eff8ff;font-size:12px;cursor:pointer}
 .settings-action.primary{background:linear-gradient(110deg,#1470fa,#16a9e8);border-color:#3dc1ff}
 .settings-switch{display:flex;align-items:center;gap:10px;margin:12px 3px;font-size:12px}.settings-switch input{width:20px;height:20px;accent-color:#159ef1}
 .settings-help{min-height:18px;margin-bottom:0!important}
 .settings-about{display:grid;gap:4px}.settings-about strong{font:900 25px 'Segoe UI',sans-serif;letter-spacing:1px;color:#55caff}.settings-about span{font-size:12px}.settings-about small{color:#9ab4d1}
 .picker-tabs{display:flex;gap:6px;position:sticky;top:0;background:inherit;padding:2px 0 6px;z-index:1}.picker-tab{flex:1;border-radius:9px;padding:7px;border:1px solid #ffffff25;background:#132d50;color:inherit}.picker-tab.active{background:#127de5;color:white}
 .picker-grid{display:grid;grid-template-columns:repeat(7,minmax(30px,1fr));gap:3px}.picker-grid.hidden{display:none!important}.picker-grid button{min-width:0;min-height:37px;border:0;border-radius:8px;background:transparent;font-size:22px;cursor:pointer}.picker-grid button:hover{background:#2585e54d}.picker-grid .sticker-choice{min-height:66px;font-size:38px;background:#ffffff0a}
 .message-sticker{display:inline-block;font-size:68px;line-height:1.15;padding:3px 8px;filter:drop-shadow(0 3px 8px #001b4e66)}
}
@media(min-width:801px){.settings-page{position:fixed;inset:0;z-index:10000;overflow:auto;background:#071329f5;color:#edf7ff;padding:24px}.settings-page.hidden{display:none}.settings-top,.settings-content{max-width:720px;margin:0 auto}.settings-top{display:flex;align-items:center;gap:15px;padding:12px 0 18px}.settings-top h1{margin:0}.settings-back{width:42px;height:42px;border-radius:12px;background:#15355b;color:white;border:1px solid #528ac0;font-size:25px}.settings-content{padding-bottom:35px}.settings-section{padding:18px;margin-bottom:14px;border:1px solid #ffffff20;border-radius:18px;background:#10294c}.settings-section h2{color:#9ddcff}.settings-row{display:flex;justify-content:space-between;align-items:center;padding:8px}.settings-row select{background:#0b2040;color:#fff;border:1px solid #5488bb;border-radius:10px;padding:8px}.settings-action{margin:5px;padding:10px 13px;border-radius:10px;background:#15355b;color:#fff;border:1px solid #528ac0}.settings-action.primary{background:#1470fa}.settings-switch{display:flex;gap:8px;align-items:center;margin:12px}.settings-about{display:grid;gap:6px}}
@media(prefers-reduced-motion:no-preference){.settings-page:not(.hidden){animation:settingsIn .18s ease-out}@keyframes settingsIn{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:none}}}

:root[data-theme="light"] .settings-page{background:#f2f6fb;color:#18324f}
:root[data-theme="light"] .settings-top,:root[data-theme="light"] .settings-section{background:#fff;color:#18324f;border-color:#cfdae8}
:root[data-theme="light"] .settings-section h2,:root[data-theme="light"] .settings-top small{color:#075a9e}
:root[data-theme="light"] .settings-section p,:root[data-theme="light"] .settings-about small{color:#526983}
:root[data-theme="light"] .settings-row select{background:#f6f9fd;color:#18324f;border-color:#bfcede}
:root[data-theme="light"] .settings-action:not(.primary){background:#edf3fa;color:#244665;border-color:#c7d5e5}
:root[data-theme="light"] .settings-back{background:#edf3fa;color:#244665;border-color:#c7d5e5}

/* EPT voice/video calls: focused call stage and large, clearly labeled controls. */
.call-overlay{z-index:12000;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 35%,#15447cbd,#020817f2 72%);backdrop-filter:blur(13px);padding:18px}
.call-dialog{position:relative;overflow:hidden;width:min(520px,100%);max-height:min(90dvh,820px);padding:20px 20px 22px;border:1px solid #569be0a8;border-radius:28px;background:linear-gradient(155deg,#0d2a50,#07152c 78%);box-shadow:0 30px 90px #0009,0 0 45px #168bff25;color:#f2f8ff}
.call-dialog:before{content:"";position:absolute;inset:-40% -20% auto;height:270px;background:radial-gradient(ellipse,#168cff22,transparent 70%);pointer-events:none}
.call-head{position:relative;z-index:1;display:flex;align-items:center;gap:12px;text-align:start;padding:0 0 15px;border-bottom:1px solid #ffffff19}
.call-avatar{width:49px;height:49px;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:17px;background:linear-gradient(135deg,#0da4ef,#245bd6);border:1px solid #a6e6ff8a;font-size:20px;font-weight:800;box-shadow:0 5px 22px #168bff40}
.call-avatar img{width:100%;height:100%;object-fit:cover}
.call-heading{display:grid;gap:2px;min-width:0}.call-heading small{font:700 9px 'Segoe UI',Arial,sans-serif;letter-spacing:2px;color:#6fceff;direction:ltr;text-align:start}.call-heading strong{font-size:16px}.call-heading span{font-size:11px;color:#a9c5e4}
.call-encrypted{margin-inline-start:auto;white-space:nowrap;font-size:10px;color:#9ae6c7;background:#0e4c426b;border:1px solid #63d5a44d;border-radius:20px;padding:6px 9px}
.call-stage{position:relative;height:330px;margin:16px 0 11px;overflow:hidden;border-radius:23px;background:radial-gradient(circle at 50% 42%,#1c4f86 0,#10294b 36%,#091a33 72%);border:1px solid #ffffff16}
.audio-stage{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;overflow:hidden}
.audio-orbit{position:absolute;width:210px;height:210px;border:1px solid #65caff28;border-radius:50%;box-shadow:0 0 0 22px #2b87dc0c,0 0 0 48px #2b87dc0a,0 0 70px #168cff20;animation:eptCallPulse 3s ease-in-out infinite}
.audio-peer-avatar{position:relative;z-index:1;width:108px;height:108px;display:grid;place-items:center;border-radius:50%;border:2px solid #73d5ff;background:linear-gradient(145deg,#21a9e8,#244ebc);box-shadow:0 0 32px #33aaff70;font-size:48px;font-weight:800;overflow:hidden}
.audio-peer-avatar img{width:100%;height:100%;object-fit:cover}
.audio-peer-name{z-index:1;font-weight:700;font-size:14px;color:#eaf7ff}
.audio-wave{z-index:1;height:28px;display:flex;align-items:center;gap:4px}.audio-wave i{width:4px;height:7px;border-radius:4px;background:#66d7ff;animation:eptWave .85s ease-in-out infinite alternate}.audio-wave i:nth-child(2n){animation-delay:.15s}.audio-wave i:nth-child(3n){animation-delay:.3s}.audio-wave i:nth-child(4n){animation-delay:.45s}
@keyframes eptCallPulse{50%{transform:scale(1.06);opacity:.65}}@keyframes eptWave{to{height:22px;opacity:.55}}
.call-dialog #remoteVideo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:22px;background:#07152b}
.call-dialog #localVideo{position:absolute;z-index:2;width:95px;height:132px;right:12px;top:12px;object-fit:cover;border:2px solid #daf3ff;border-radius:17px;background:#0a1d37;box-shadow:0 8px 20px #0007}
.call-dialog[data-mode="audio"] #remoteVideo{width:1px;height:1px;left:-10px;top:auto;opacity:.01;pointer-events:none}
.call-dialog[data-mode="audio"] #localVideo{display:none}
.call-dialog[data-mode="video"] .audio-stage{display:none}
.call-status-line{display:flex;justify-content:center;align-items:center;gap:8px;min-height:26px}.call-status-line p{margin:0;color:#b8cce4;font-size:12px}.call-status-dot{width:8px;height:8px;border-radius:50%;background:#41d69a;box-shadow:0 0 11px #41d69a;animation:eptStatus 1.5s infinite}@keyframes eptStatus{50%{opacity:.35}}
.call-actions{display:flex;align-items:flex-start;justify-content:center;gap:clamp(8px,3vw,18px);margin-top:14px}
.call-control{width:65px;min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;color:#d3e7fa;cursor:pointer}
.call-control-icon{width:52px;height:52px;display:grid;place-items:center;border:1px solid #668cb345;border-radius:50%;background:#1a385c;color:#f4fbff;font:22px 'Segoe UI',sans-serif;transition:.16s}
.call-control small{font-size:10px;white-space:nowrap;color:#b8cce4}.call-control:hover .call-control-icon{transform:translateY(-2px);background:#265184}
.call-control.answer .call-control-icon{background:linear-gradient(145deg,#21c783,#099c68);border-color:#64edb8;color:white}
.call-control.decline .call-control-icon{background:linear-gradient(145deg,#fa6171,#d62d48);border-color:#ff9cab;color:white}.call-control.decline#hangup .call-control-icon{transform:rotate(135deg)}
.call-control.is-muted .call-control-icon{background:#62334a;border-color:#e98ba3}.call-control.hidden{display:none!important}
@media(max-width:600px){.call-overlay{padding:12px}.call-dialog{width:100%;padding:16px 14px 18px;border-radius:24px}.call-stage{height:min(42dvh,330px);min-height:245px;margin:13px 0 9px}.call-actions{gap:8px}.call-control{width:58px;min-height:65px}.call-control-icon{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.audio-orbit,.audio-wave i,.call-status-dot{animation:none}}
