/* Orate — friends, panels, profiles, modals, quick switcher, lightbox, pages */

/* ------------------------------------------------ right panels */
.panel-pane { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.pane-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px 18px; font-size: 15px; flex: none; }
.pane-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 8px 12px; }
.pane-search { display: flex; align-items: center; gap: 8px; margin: 12px 12px 6px; padding: 0 10px; height: 34px; border-radius: 10px; background: var(--input-bg); color: var(--text-3); flex: none; }
.pane-search.big { height: 40px; margin: 12px 18px 8px; border-radius: 12px; }
.pane-search:focus-within { box-shadow: 0 0 0 2px rgb(var(--accent-rgb) / .55); }
.pane-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 14px; color: var(--text); }
.pane-search button { color: var(--text-3); display: flex; }
.member-group h5 { margin: 16px 10px 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.member-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 6px 10px; border-radius: 10px; text-align: left; transition: background var(--t-fast), opacity var(--t-fast); animation: fade-in var(--t-med); }
.member-row:hover { background: var(--hover); }
.member-row.off { opacity: .5; } .member-row.off:hover { opacity: 1; }
.mr-text { min-width: 0; display: flex; flex-direction: column; }
.mr-name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; overflow: hidden; white-space: nowrap; }
.mr-name .crown { color: #f5b942; flex: none; }
.mr-sub { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-msg { padding: 10px 10px 12px; margin: 6px 2px; border-radius: 12px; background: var(--input-bg); }
.mm-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .mm-name { font-weight: 700; font-size: 14px; } .mm-time { font-size: 11.5px; color: var(--text-3); }
.mm-acts { margin-left: auto; display: flex; gap: 6px; opacity: 0; transition: opacity var(--t-fast); } .mini-msg:hover .mm-acts { opacity: 1; }
.mm-jump { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--active); } .mm-jump:hover { background: var(--accent); color: var(--on-accent); } .mm-jump.danger:hover { background: #e5314f; color: #fff; }
.mm-body { font-size: 14px; line-height: 1.4; max-height: 160px; overflow: hidden; }
.search-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 8px; }
.search-filters button { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--input-bg); color: var(--text-2); transition: all var(--t-fast); } .search-filters button:hover { background: var(--active); } .search-filters button.on { background: var(--accent-grad); color: var(--on-accent); }
.search-count { padding: 8px 12px 2px; font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.sh-ch { font-size: 12px; font-weight: 700; color: var(--text-3); padding: 4px 12px 0; }
.empty.small { padding: 16px 10px; } .empty.small p { font-size: 13px; }

/* ------------------------------------------------ profile */
.profile-card { display: flex; flex-direction: column; width: 100%; position: relative; }
.profile-pop { width: 340px; padding: 0; overflow: hidden; border-radius: 20px; }
.profile-pop .profile-card { max-height: min(640px, calc(100vh - 40px)); overflow-y: auto; }
.pc-top { position: relative; flex: none; }
.pc-banner { background-size: cover; background-position: center; width: 100%; }
.pc-avatar { position: absolute !important; left: 16px; bottom: -40px; box-shadow: 0 0 0 6px rgb(var(--panel-rgb) / .97); border-radius: 50%; }
.profile-card.panel .pc-avatar { bottom: -46px; }
.pc-actions { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.pc-actions .icon-btn { background: rgb(0 0 0 / .45); color: #fff; backdrop-filter: blur(8px); } .pc-actions .icon-btn:hover { background: rgb(0 0 0 / .7); }
.pc-friend { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgb(0 0 0 / .45); color: #6fe3a0; }
.pc-body { padding: 48px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.pc-name { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; flex-wrap: wrap; }
.pc-user { color: var(--text-2); font-weight: 500; margin-top: -6px; } .pc-user i { font-style: normal; color: var(--text-3); }
.pc-status { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); }
.pc-section { padding: 12px 14px; border-radius: 14px; background: rgb(0 0 0 / .17); } html[data-mode="light"] .pc-section { background: rgb(0 0 0 / .05); }
.pc-section h5 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.pc-bio { font-size: 14px; line-height: 1.45; } .pc-since { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-2); } .pc-since .dot { opacity: .5; }
.pc-roles { display: flex; flex-wrap: wrap; gap: 6px; } .role-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 8px; background: var(--hover); font-size: 12.5px; font-weight: 600; border: 1px solid var(--border); } .role-chip i { width: 11px; height: 11px; border-radius: 50%; }
.pc-mutual-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); } .mut-avs { display: flex; } .mut-av { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-grad); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; margin-right: -6px; overflow: hidden; box-shadow: 0 0 0 2px rgb(var(--panel-rgb) / .9); color: var(--on-accent); } .mut-av img { width: 100%; height: 100%; object-fit: cover; }
.pc-list { display: flex; flex-direction: column; gap: 6px; max-height: 150px; overflow-y: auto; } .pc-list-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.pc-msg .input { background: rgb(0 0 0 / .22); }
.pc-view { padding: 9px; border-radius: 10px; background: var(--hover); font-weight: 700; font-size: 13.5px; transition: background var(--t-fast); } .pc-view:hover { background: var(--active); }
.profile-pane { overflow-y: auto; } .profile-pane .profile-card { }
.profile-card.modal .pc-body { padding-bottom: 6px; }
.modal-foot.spread { justify-content: flex-start; } .mr-auto { margin-right: auto; }
.user-menu { width: 290px; padding: 8px; }
.um-head { display: flex; align-items: center; gap: 12px; padding: 8px 8px 10px; } .um-head b { display: block; font-size: 16px; } .um-head span { color: var(--text-3); font-size: 13px; }
.um-custom { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--input-bg); font-size: 14px; color: var(--text-2); text-align: left; transition: background var(--t-fast); } .um-custom:hover { background: var(--active); color: var(--text); } .um-x { margin-left: auto; opacity: .6; } .um-x:hover { opacity: 1; }
.um-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; text-align: left; transition: background var(--t-fast), color var(--t-fast); } .um-item small { margin-left: auto; color: var(--text-3); font-size: 11.5px; }
.um-item:hover { background: var(--accent-grad); color: var(--on-accent); } .um-item:hover small { color: inherit; opacity: .8; } .um-item.sel { background: var(--accent-soft); } .um-item.danger { color: #ff7b93; } .um-item.danger:hover { background: #e5314f; color: #fff; }
.um-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin: 0 2.5px; }
.cs-row { display: flex; gap: 10px; align-items: center; } .cs-emoji { width: 44px; height: 44px; border-radius: 12px; background: var(--input-bg); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.cs-quick { display: flex; flex-wrap: wrap; gap: 4px; } .cs-quick button { width: 38px; height: 38px; border-radius: 10px; font-size: 22px; transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring); } .cs-quick button:hover { background: var(--active); transform: scale(1.15); } .cs-quick button.sel { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }

/* ------------------------------------------------ friends */
.friends-view { min-width: 0; }
.ft-sep { width: 1px; height: 24px; background: var(--border); margin: 0 6px; }
.friend-tabs { display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.ftab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--text-2); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.ftab:hover { background: var(--hover); color: var(--text); } .ftab:active { transform: scale(.96); }
.ftab.on { background: var(--active); color: var(--text); }
.ftab.add { background: var(--accent-grad); color: var(--on-accent); margin-left: 8px; box-shadow: 0 6px 18px -6px rgb(var(--accent-rgb) / .8); } .ftab.add:hover { filter: brightness(1.12); } .ftab.add.on { background: transparent; color: #6fe3a0; box-shadow: none; outline: 2px solid #3ba55d; }
.friends-body { flex: 1; min-height: 0; overflow-y: auto; }
.friends-list { max-width: 880px; padding-bottom: 20px; }
.fl-head { padding: 16px 24px 8px; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--text-3); }
.fl-rows { padding: 0 12px; }
.friend-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; cursor: pointer; border-top: 1px solid var(--border); transition: background var(--t-fast), transform var(--t-fast) var(--ease); animation: slide-up var(--t-med) var(--ease) both; }
.friend-row:first-child { border-top-color: transparent; } .friend-row:hover { background: var(--hover); border-top-color: transparent; }
.friend-row.sug { cursor: default; }
.fr-text { flex: 1; min-width: 0; } .fr-name { display: flex; align-items: center; gap: 8px; } .fr-name b { font-size: 16px; } .fr-name .tag-chip { order: 1; } .fr-user { order: 2; font-size: 13.5px; color: var(--text-3); opacity: 0; max-width: 0; overflow: hidden; white-space: nowrap; transition: opacity var(--t-fast), max-width var(--t-med) var(--ease); } .friend-row:hover .fr-user { opacity: 1; max-width: 220px; }
.fr-sub { font-size: 13px; color: var(--text-3); margin-top: 1px; }
.fr-actions { display: flex; gap: 8px; }
.fr-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--input-bg); color: var(--text-2); transition: all var(--t-fast) var(--ease-spring); }
.fr-btn:hover { background: var(--active); color: var(--text); transform: scale(1.12); } .fr-btn.ok:hover { background: #2f9e57; color: #fff; } .fr-btn.no:hover { background: #e5314f; color: #fff; } .fr-btn.live { color: #5fd38a; }
.add-friend { padding: 30px 28px; max-width: 780px; } .add-friend h2 { font-size: 21px; font-weight: 800; } .add-friend > p { color: var(--text-2); margin: 4px 0 16px; }
.af-input { display: flex; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; background: rgb(0 0 0 / .2); border: 1.5px solid var(--border); transition: border-color var(--t-fast), box-shadow var(--t-fast); align-items: center; }
.af-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .2); } .af-input.ok { border-color: #3ba55d; } .af-input.err { border-color: #f04d6a; }
.af-input input { flex: 1; background: none; border: 0; outline: none; font-size: 15px; min-width: 0; }
.af-msg { margin-top: 10px; font-size: 14px; animation: slide-down var(--t-med); } .af-msg.ok { color: #6fe3a0; } .af-msg.err { color: #ff9db0; }
.af-me { margin: 18px 0; display: flex; gap: 12px; align-items: center; color: var(--text-2); font-size: 14px; } .af-me b { color: var(--text); }
.af-sub { margin: 24px 0 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.active-card { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 6px 4px; border-radius: 14px; background: var(--input-bg); cursor: pointer; transition: background var(--t-fast), transform var(--t-fast) var(--ease); } .active-card:hover { background: var(--active); transform: translateY(-1px); } .active-card b { display: block; font-size: 14.5px; } .active-card span { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-3); }
.active-empty { text-align: center; padding: 28px 18px; color: var(--text-3); } .active-empty b { display: block; color: var(--text); margin-bottom: 6px; } .active-empty p { font-size: 13.5px; line-height: 1.45; }

/* ------------------------------------------------ modals: server creation, invites, channels */
.step-wrap { display: flex; flex-direction: column; gap: 14px; animation: step-in var(--t-med) var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(calc(var(--d, 1) * 22px)); } to { opacity: 1; transform: none; } }
.step-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; }
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--input-bg); border: 1.5px solid var(--border); text-align: left; transition: all var(--t-med) var(--ease); }
.choice:hover { background: var(--accent-soft); border-color: rgb(var(--accent-rgb) / .8); transform: translateX(4px); }
.choice-ic { font-size: 30px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--hover); border-radius: 13px; } .choice b { display: block; font-size: 16px; } .choice small { color: var(--text-3); font-size: 13px; } .choice .icon { margin-left: auto; color: var(--text-3); transition: transform var(--t-med) var(--ease-spring); } .choice:hover .icon { transform: translateX(4px); color: var(--text); }
.tpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tpl { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 16px; background: var(--input-bg); border: 1.5px solid var(--border); text-align: left; transition: all var(--t-med) var(--ease); } .tpl:hover { transform: translateY(-3px); border-color: rgb(var(--accent-rgb) / .8); background: var(--accent-soft); } .tpl-ic { font-size: 28px; } .tpl small { color: var(--text-3); font-size: 12.5px; } .tpl:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
.cs-icon-row { display: flex; justify-content: center; }
.icon-drop { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 2.5px dashed var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: all var(--t-med) var(--ease); } .icon-drop:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.04); } .icon-drop img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.id-ring { display: flex; flex-direction: column; align-items: center; gap: 2px; } .id-ring small { font-size: 10px; font-weight: 800; letter-spacing: .08em; } .id-busy { position: absolute; inset: 0; border-radius: 50%; background: rgb(0 0 0 / .5); display: flex; align-items: center; justify-content: center; }
.id-plus { position: absolute; top: -2px; right: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgb(0 0 0 / .4); }
.invite-friends { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; }
.inv-row { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; } .inv-row:hover { background: var(--hover); } .inv-row b { flex: 1; font-size: 15px; }
.muted-note { color: var(--text-3); font-size: 13.5px; padding: 10px 4px; line-height: 1.45; }
.invite-link { padding-top: 14px; border-top: 1px solid var(--border); } .il-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin-bottom: 8px; }
.il-box { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 12px; background: rgb(0 0 0 / .22); border: 1.5px solid var(--border); transition: border-color var(--t-fast); } .il-box.copied { border-color: #3ba55d; } .il-url { flex: 1; min-width: 0; font-family: var(--font-code); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-meta { margin-top: 8px; font-size: 12.5px; color: var(--text-3); } .il-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.invite-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 28px 28px 26px; } .invite-card h2 { font-size: 24px; font-weight: 800; } .invite-card p { color: var(--text-2); }
.ic-from { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; } .ic-icon { border-radius: 26px !important; box-shadow: 0 12px 32px -8px rgb(var(--accent-rgb) / .7); font-size: 28px !important; }
.ic-stats { display: flex; gap: 18px; color: var(--text-2); font-size: 14px; } .ic-stats i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); margin-right: 6px; } .ic-stats i.on { background: #3ba55d; }
.ic-bad { color: #ff7b93; }
.type-list { display: flex; flex-direction: column; gap: 6px; }
.type-opt { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px; background: var(--input-bg); text-align: left; border: 1.5px solid transparent; transition: all var(--t-fast); } .type-opt:hover { background: var(--active); } .type-opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.type-opt b { display: block; } .type-opt small { color: var(--text-3); font-size: 12.5px; } .type-opt .radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; position: relative; transition: all var(--t-fast); } .type-opt.sel .radio { border-color: var(--accent); } .type-opt.sel .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent-grad); animation: bounce-in .3s var(--ease-spring); }
.role-pick { display: flex; flex-wrap: wrap; gap: 8px; } .role-opt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--input-bg); font-size: 13.5px; font-weight: 600; cursor: pointer; } .role-opt input { accent-color: var(--accent); } .role-opt i { width: 10px; height: 10px; border-radius: 50%; }
.pick-list { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow-y: auto; }
.pick-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: pointer; transition: background var(--t-fast); } .pick-row:hover { background: var(--hover); } .pick-row > span:nth-of-type(1) { flex: 1; display: flex; flex-direction: column; } .pick-row small { color: var(--text-3); font-size: 12.5px; }
.pick-row input { position: absolute; opacity: 0; pointer-events: none; } .pick-row .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: transparent; transition: all var(--t-fast); } .pick-row input:checked ~ .box { background: var(--accent-grad); border-color: transparent; color: #fff; animation: bounce-in .3s var(--ease-spring); }
.crop-frame { position: relative; margin: 0 auto; overflow: hidden; border-radius: 14px; background: #000; cursor: grab; touch-action: none; user-select: none; } .crop-frame img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; } .crop-frame.round { border-radius: 50%; }
.crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgb(0 0 0 / .55); pointer-events: none; }
.crop-frame:not(.round) { }
.crop-zoom { display: flex; align-items: center; gap: 12px; color: var(--text-3); } .crop-zoom .slider { flex: 1; }

/* ------------------------------------------------ quick switcher + lightbox */
.modal-backdrop.top { align-items: flex-start; padding-top: 14vh; }
.quick-switcher { width: min(560px, calc(100vw - 24px)); }
.qs-input { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); color: var(--text-3); } .qs-input input { flex: 1; background: none; border: 0; outline: none; font-size: 20px; font-weight: 500; color: var(--text); } .qs-input input::placeholder { color: var(--text-4); }
.qs-list { max-height: 380px; overflow-y: auto; padding: 8px; }
.qs-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; text-align: left; font-size: 15px; font-weight: 600; transition: background var(--t-fast); } .qs-item.sel { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.qs-ic { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--text-3); } .qs-sub { color: var(--text-3); font-weight: 400; font-size: 13.5px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .qs-kind { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-4); }
.qs-sv { border-radius: 9px !important; font-size: 11px !important; } .qs-empty { padding: 24px; text-align: center; color: var(--text-3); }
.qs-foot { padding: 11px 18px; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--border); background: rgb(0 0 0 / .14); } .qs-foot .kbd { margin: 0 2px; min-width: 20px; height: 20px; font-size: 11px; }
.lightbox { position: fixed; inset: 0; z-index: 140; background: rgb(4 3 10 / .88); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: center; animation: fade-in var(--t-med); }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 70px 40px; overflow: hidden; }
.lb-media { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / .6); animation: pop-in var(--t-med) var(--ease-spring); transition: transform .15s ease-out; object-fit: contain; user-select: none; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 6px; padding: 14px 18px; z-index: 2; background: linear-gradient(rgb(0 0 0 / .55), transparent); } .lb-name { flex: 1; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lb-top .icon-btn { color: #fff; }
.lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring); } .lb-nav:hover { background: rgb(255 255 255 / .22); transform: scale(1.1); } .lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }

/* ------------------------------------------------ voice */
.call-stage { flex: none; padding: 12px; border-bottom: 1px solid var(--border); background: rgb(0 0 0 / .18); animation: slide-down var(--t-med) var(--ease); }
.stage-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, rgb(var(--accent-rgb) / .25), rgb(0 0 0 / .35)); display: flex; align-items: center; justify-content: center; transition: box-shadow var(--t-med); animation: pop-in var(--t-med) var(--ease-spring) both; }
.tile.speaking { box-shadow: 0 0 0 3px #3ba55d, 0 0 26px rgb(59 165 93 / .55); }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; } .tile video.screen { object-fit: contain; } .tile video.mirror { transform: scaleX(-1); }
.tile-name { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgb(0 0 0 / .6); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.tile-muted { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgb(0 0 0 / .6); color: #ff7b93; display: flex; align-items: center; justify-content: center; }
.tile.expand { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.stage-controls { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.ctl { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgb(var(--surface-rgb) / .13); transition: all var(--t-fast) var(--ease-spring); } .ctl:hover { transform: scale(1.1); background: rgb(var(--surface-rgb) / .22); } .ctl.on { background: #fff; color: #111; } .ctl.bad { background: #e5314f; color: #fff; } .ctl.hang { width: 64px; border-radius: 26px; background: #e5314f; color: #fff; }
.vc-view { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px; gap: 12px; overflow-y: auto; }
.vc-view .stage-grid { flex: 1; align-content: center; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.vc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--text-2); } .vc-empty h2 { font-size: 24px; color: var(--text); } .vc-empty .icon-big { width: 96px; height: 96px; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 40px -10px rgb(var(--accent-rgb) / .8); animation: float 5s ease-in-out infinite; }
.call-ring { position: fixed; z-index: 110; top: 20px; left: 50%; transform: translateX(-50%); width: min(380px, calc(100vw - 24px)); padding: 16px 18px; display: flex; align-items: center; gap: 14px; border-radius: 22px; background: rgb(var(--panel-rgb) / .94); backdrop-filter: blur(30px); border: 1px solid var(--border); box-shadow: var(--shadow-pop), 0 0 0 4px rgb(59 165 93 / .2); animation: ring-in var(--t-slow) var(--ease-spring) both; }
@keyframes ring-in { from { opacity: 0; transform: translate(-50%, -40px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0); } }
.call-ring .avatar { animation: glow-pulse 1.4s infinite; } .call-ring b { display: block; font-size: 16px; } .call-ring span { font-size: 13px; color: var(--text-3); }
.call-ring .cr-btns { margin-left: auto; display: flex; gap: 8px; } .call-ring .ctl { width: 44px; height: 44px; } .call-ring .ctl.ok { background: #2f9e57; color: #fff; animation: ring 1.6s infinite; }
