/* ===== Стиль Windows 11 (Fluent): плоские слои «слюда», карточки-строки, рамка 1 px, радиус 8/4, акцентная плашка,
   кнопки окна прямоугольные (закрыть — красная). Цвета сайта не менялись — только форма и поверхности. ===== */
:root {
  --fl-surface: rgba(14, 32, 78, .62);          /* слой окна */
  --fl-layer: rgba(255, 255, 255, .045);        /* карточка/строка внутри окна */
  --fl-layer-hi: rgba(255, 255, 255, .075);     /* наведение */
  --fl-layer-lo: rgba(255, 255, 255, .03);      /* нажатие */
  --fl-line: rgba(160, 205, 255, .16);          /* тонкая рамка */
  --fl-line-hi: rgba(160, 205, 255, .28);
  --fl-ctl: rgba(255, 255, 255, .06);           /* поле / кнопка */
  --fl-acc: #3b86ff;                            /* акцент (тот же синий) */
  --fl-acc-hi: #5a9bff;
  --fl-r: 8px; --fl-r2: 4px;
  --fl-shadow: 0 8px 32px rgba(0, 6, 30, .45), 0 2px 8px rgba(0, 6, 30, .3);
}

/* ---- поверхности: плоская слюда вместо толстого стекла ---- */
.glass, .win.glass, .win.glass.top {
  background: var(--fl-surface) !important;
  border: 1px solid var(--fl-line) !important;
  backdrop-filter: blur(32px) saturate(150%) !important; -webkit-backdrop-filter: blur(32px) saturate(150%) !important;
  box-shadow: var(--fl-shadow) !important;
}
.win.glass.top { border-color: var(--fl-line-hi) !important; box-shadow: 0 16px 48px rgba(0, 6, 30, .55), 0 2px 10px rgba(0, 6, 30, .35) !important; }
.win.glass { padding: 0 !important; }
.win.glass::before, .win.glass.top::before, .slab { display: none !important; }
.win.glass, .nav, .nav.glass, .glass, .panel.glass, .edlg .box.glass, .shdlg .shb, .dlg .box, .ups, .cm, .back, .back.glass { border-radius: var(--fl-r) !important; }
.win.glass.max { border-radius: 0 !important; }

/* ---- заголовок окна: плоский, подписи 12 px, кнопки прямоугольные ---- */
.win .wbar, .win.mini .wbar { background: rgba(255, 255, 255, .035) !important; border-bottom: 1px solid var(--fl-line) !important; box-shadow: none !important; padding: 0 0 0 14px !important; min-height: 38px; border-radius: var(--fl-r) var(--fl-r) 0 0 !important; gap: 8px; }
.win.mini .wbar { border-radius: var(--fl-r) !important; border-bottom: 0 !important; }
.win .wbody { border-radius: 0 0 var(--fl-r) var(--fl-r) !important; box-shadow: none !important; }
.wbar .ttl { font-weight: 600; font-size: 13px; letter-spacing: 0; }
.wbar .sub, .wbar small { font-weight: 400; }
.wbar .wb { width: 46px; height: 38px; display: grid; place-items: center; border-radius: 0 !important; background: transparent; transition: background .1s; padding: 0; }
.wbar .wb svg { width: 15px; height: 15px; stroke-width: 1.7; }
.wbar .wb:hover { background: var(--fl-layer-hi); }
.wbar .wb:active { background: var(--fl-layer-lo); }
.wbar .wb.cl:hover { background: #c42b1c; color: #fff; }
.wbar .wb.cl:hover svg { stroke: #fff; }
.win .wbar .wb:last-child { border-radius: 0 var(--fl-r) 0 0 !important; }

/* ---- меню: командная панель, выбранный пункт — плашка снизу ---- */
.nav, .nav.glass { padding: 6px 8px 6px 14px !important; }
.menu a, .menu button, .menu .on, .editbtn, .fbtn, .snd { border-radius: var(--fl-r2) !important; background: transparent; box-shadow: none !important; font-weight: 500; transition: background .12s; }
.menu a:hover, .menu button:hover, .editbtn:hover, .fbtn:hover { background: var(--fl-layer-hi) !important; box-shadow: none !important; }
.menu a:active, .menu button:active { background: var(--fl-layer-lo) !important; }
.menu a.on, .menu .on { position: relative; background: var(--fl-layer) !important; color: #fff; }
.menu a.on::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 2px; height: 3px; border-radius: 2px; background: var(--fl-acc); }
.editbtn, .menu .editbtn { background: var(--fl-acc) !important; color: #fff; box-shadow: none !important; }
.editbtn:hover { background: var(--fl-acc-hi) !important; }
.logo i { border-radius: 8px !important; box-shadow: none !important; border-color: var(--fl-line-hi) !important; }
.logo:hover i { transform: none; box-shadow: none !important; }

/* ---- карточки видео: плоские, без «прыжка», рамка и мягкая тень ---- */
.card, .card.fit, .jrow .card { border-radius: var(--fl-r) !important; border: 1px solid var(--fl-line); box-shadow: 0 2px 8px rgba(0, 6, 30, .35); }
.card:hover, .card:focus-visible { transform: translateY(-2px) rotateY(calc(var(--ry, 0deg) * .35)) !important; border-color: var(--fl-line-hi); box-shadow: 0 8px 24px rgba(0, 6, 30, .5) !important; }
.card .dur, .card .hid { border-radius: var(--fl-r2) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card .play, .p-big { border-radius: var(--fl-r) !important; box-shadow: none !important; background: rgba(15, 35, 85, .6); border: 1px solid var(--fl-line-hi); }
.more-btn { border-radius: var(--fl-r2) !important; background: var(--fl-ctl); border: 1px solid var(--fl-line); box-shadow: none; transform: none; }
.more-btn:hover { background: var(--fl-layer-hi); box-shadow: none; transform: none; border-color: var(--fl-line-hi); }

/* ---- кнопки: обычная — «слой», главная — акцентная и плоская ---- */
.btn, .edlg .b, .shdlg .shc, .tabs a, .ib, .clip, select.sort, .shdlg .shn a, .kill .kr button {
  border-radius: var(--fl-r2) !important; box-shadow: none !important; font-weight: 500; transition: background .12s, border-color .12s;
}
.btn.ghost, .edlg .b, .tabs a, .ib, .clip, select.sort, .shdlg .shn a, .shdlg .shx {
  background: var(--fl-ctl) !important; border: 1px solid var(--fl-line) !important; border-bottom-color: rgba(0, 0, 0, .35) !important; color: inherit;
}
.btn.ghost:hover, .edlg .b:hover, .tabs a:hover, .ib:hover, .clip:hover, .shdlg .shn a:hover, .shdlg .shx:hover { background: var(--fl-layer-hi) !important; border-color: var(--fl-line-hi) !important; }
.btn.ghost:active, .edlg .b:active, .tabs a:active, .ib:active { background: var(--fl-layer-lo) !important; }
.btn:not(.ghost):not(.red), .edlg .b.main, .shdlg .shc, .tabs a.on, .ib.on, .snd[aria-pressed=true].acc {
  background: var(--fl-acc) !important; border: 1px solid rgba(255, 255, 255, .18) !important; border-bottom-color: rgba(0, 0, 0, .35) !important; color: #fff !important;
}
.btn:not(.ghost):not(.red):hover, .edlg .b.main:hover, .shdlg .shc:hover, .tabs a.on:hover { background: var(--fl-acc-hi) !important; }
.btn:not(.ghost):not(.red):active, .edlg .b.main:active { filter: brightness(.9); }
.btn.red { background: rgba(255, 80, 110, .14) !important; border: 1px solid rgba(255, 120, 140, .4) !important; }
.shdlg .shn a.max { background: linear-gradient(135deg, #3b2bff, #a93bff) !important; border-color: transparent !important; color: #fff; }
.edlg .sk { background: var(--fl-ctl) !important; border: 1px solid var(--fl-line) !important; border-radius: var(--fl-r2) !important; }
.edlg .sk.on { background: var(--fl-acc) !important; border-color: rgba(255, 255, 255, .18) !important; }

/* ---- поля ввода: нижняя линия-акцент при фокусе, как в Windows ---- */
input[type=text], input[type=password], textarea, select, .search, .edlg input, .edlg textarea, .dlg input[type=text], .send textarea, .shdlg .shl input {
  background: var(--fl-ctl) !important; border: 1px solid var(--fl-line) !important; border-bottom: 1px solid rgba(255, 255, 255, .3) !important;
  border-radius: var(--fl-r2) !important; box-shadow: none !important; outline: 0; transition: background .12s;
}
input[type=text]:hover, input[type=password]:hover, textarea:hover, .search:hover { background: var(--fl-layer-hi) !important; }
input[type=text]:focus, input[type=password]:focus, textarea:focus, .search:focus, .edlg input:focus, .edlg textarea:focus, .shdlg .shl input:focus {
  background: rgba(8, 20, 55, .75) !important; border-bottom: 2px solid var(--fl-acc) !important; box-shadow: none !important;
}
.search { border-radius: 999px !important; }                 /* поиск в «Настройках» Windows — капсула */
:focus-visible { outline: 2px solid var(--fl-acc-hi); outline-offset: 2px; }
.menu a:focus-visible, .btn:focus-visible { outline-offset: 1px; }

/* ---- переключатели и ползунки ---- */
input[type=range] { -webkit-appearance: none; appearance: none; height: 20px; background: none !important; border: 0 !important; accent-color: var(--fl-acc); }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--fl-acc); border: 4px solid #e8f0ff; box-sizing: border-box; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--fl-acc); border: 4px solid #e8f0ff; box-sizing: border-box; }
input[type=range]:hover::-webkit-slider-thumb { background: var(--fl-acc-hi); }
input[type=checkbox] { accent-color: var(--fl-acc); width: 18px; height: 18px; border-radius: 4px; }

/* ---- «Настройки»: слайдеры и галочки — строки-карточки (иконка/название/пояснение слева, элемент справа) ---- */
.edlg .box { width: min(560px, 100%); gap: 8px; padding: 18px; }
.edlg h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.edlg .sl, .edlg .ck, .edlg .fi, .edlg .row-card {
  background: var(--fl-layer) !important; border: 1px solid var(--fl-line) !important; border-radius: var(--fl-r) !important; padding: 12px 16px !important;
}
.edlg .sl:hover, .edlg .ck:hover { background: var(--fl-layer-hi) !important; }
.edlg .sl .t { font-weight: 500; }
.edlg .sl small, .edlg small { color: var(--mute); font-weight: 400; }

/* ---- Диск: плитки и строки ---- */
.it, .exr, .fsi, .item, .selbar, .area, .tree, .up, .msg, .crumbs a {
  border-radius: var(--fl-r) !important; box-shadow: none !important;
}
.it, .exr, .item { background: var(--fl-layer) !important; border: 1px solid var(--fl-line) !important; transition: background .12s, border-color .12s; }
.it:hover, .exr:hover, .item:hover { background: var(--fl-layer-hi) !important; border-color: var(--fl-line-hi) !important; }
.it.sel, .exr.sel, .exr.new { position: relative; background: rgba(59, 134, 255, .18) !important; border-color: rgba(90, 155, 255, .55) !important; box-shadow: none !important; }
.it.sel::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 2px; background: var(--fl-acc); }   /* плашка выбора как в списке «Настройки» */
.it .pv { border-radius: calc(var(--fl-r) - 1px) calc(var(--fl-r) - 1px) 0 0 !important; background: rgba(0, 0, 0, .22) !important; }
.grid.list .it .pv { border-radius: var(--fl-r2) !important; }
.it .ck { border-radius: 4px !important; border-width: 1.5px; }
.upit { border-radius: var(--fl-r) !important; background: var(--fl-layer) !important; border: 1px dashed var(--fl-line-hi) !important; }
.upit:hover { background: var(--fl-layer-hi) !important; border-color: var(--fl-acc-hi) !important; }
.selbar { background: rgba(14, 32, 78, .9) !important; border: 1px solid var(--fl-line-hi) !important; }
.crumbs a { background: transparent !important; border: 0 !important; padding: 4px 8px; font-weight: 500; }
.crumbs a:hover { background: var(--fl-layer-hi) !important; }
.crumbs a:last-child { background: transparent !important; color: #fff; font-weight: 600; }
.tabs a { padding: 8px 16px; }
.tabs a.on { position: relative; }
.fsbox { border-radius: var(--fl-r) !important; }
.fsi { border-bottom: 1px solid var(--fl-line) !important; border-radius: 0 !important; }
.fsi:hover { background: var(--fl-layer-hi); }
.fsi.sel { background: rgba(59, 134, 255, .2) !important; box-shadow: inset 3px 0 0 var(--fl-acc) !important; }
.msg { border-radius: var(--fl-r) !important; }
.msg.me { background: var(--fl-acc) !important; border-bottom-right-radius: 2px !important; }
.msg.claude { background: var(--fl-layer-hi) !important; border: 1px solid var(--fl-line) !important; border-bottom-left-radius: 2px !important; }

/* ---- контекстное меню, подсказки, тосты: «флайаут» ---- */
.cm, .p-pop, .p-pop.glass, .p-tip, .p-flash, .toast, .etoast, .fst, .shdlg .shb { box-shadow: var(--fl-shadow) !important; }
.cm button, .p-pop button, .tree button { border-radius: var(--fl-r2) !important; margin: 1px 4px; font-weight: 400; }
.cm button:hover, .p-pop button:hover, .tree button:hover { background: var(--fl-layer-hi) !important; }
.toast, .etoast, .fst, .p-flash, .p-tip { border-radius: var(--fl-r2) !important; background: rgba(20, 40, 95, .94) !important; border: 1px solid var(--fl-line-hi) !important; }
.edlg, .shdlg { background: rgba(0, 6, 24, .5); }

/* ---- плеер: тонкие элементы ---- */
.p-ctrl, .p-ctrl.glass { border-radius: var(--fl-r) !important; }
.p-btn, .p-pop button { border-radius: var(--fl-r2) !important; }
.p-track, .p-buf, .p-fill { border-radius: 2px !important; }
.wdesc, .wdesc.glass { border-radius: var(--fl-r) !important; }

/* ---- красные окна удаления ---- */
.kill .kb { border-radius: var(--fl-r) !important; box-shadow: 0 16px 48px rgba(0, 0, 0, .6) !important; }

/* ---- тонкие полосы прокрутки ---- */
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .28); border-radius: 5px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .45); background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---- Fluent-заголовок страницы: крупный, лёгкий ---- */
.hero h1 { font-weight: 600; letter-spacing: -.02em; }

@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }

/* ---- «Настройки» помещаются в экран компьютера: две колонки, прокрутка внутри окна ---- */
.edlg .box { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; }
@media (min-width: 760px) {
  .edlg .box:has(.cnt) { width: min(900px, 100%); grid-template-columns: 1fr 1fr; align-content: start; }
  .edlg .box:has(.cnt) > h3, .edlg .box:has(.cnt) > .row, .edlg .box:has(.cnt) > .sl:has(.sks) { grid-column: 1 / -1; }
  .edlg .box:has(.cnt) .sl { padding: 10px 14px !important; }
}

/* ---- Диск: панель выбранного не в потоке страницы — не сдвигает плитки и экран ---- */
.selbar { position: fixed !important; left: 50%; bottom: 16px; top: auto !important; transform: translateX(-50%); margin: 0 !important; z-index: 60 !important;
  max-width: calc(100vw - 24px); box-shadow: var(--fl-shadow) !important; }
.it { scroll-margin: 0; }
html { overflow-anchor: none; }

/* ---- «Видео»: список не вылезает за блок (колонка grid не растягивается под длинный путь файла) ---- */
.stack { grid-template-columns: minmax(0, 1fr); }
.stack > * { min-width: 0; }
.item .t { overflow: hidden; }
.item .t > span { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .item { flex-wrap: wrap; gap: 8px 10px; }
  .item .t { flex: 1 1 100%; order: 5; }
  .item > .btn { flex: 1 1 40%; order: 6; }
}

/* кнопка «Выбрать» во включённом режиме */
.btn.ghost.selbtn[aria-pressed=true] { background: var(--fl-acc) !important; border-color: rgba(255,255,255,.18) !important; color: #fff !important; }

/* ---- панель «Выбрано»: тонкая полоса у нижнего края, одной строкой (на телефоне — на всю ширину) ---- */
.selbar { flex-wrap: nowrap !important; overflow-x: auto; white-space: nowrap; gap: 6px !important; padding: 6px 10px !important; width: max-content; max-width: min(100vw - 16px, 900px);
  bottom: 8px !important; border-radius: var(--fl-r) !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.selbar::-webkit-scrollbar { display: none; }
.selbar b { font-size: 13px; flex: none; margin-right: 2px; }
.selbar .btn { flex: none; padding: 5px 11px !important; font-size: 12.5px !important; }
@media (max-width: 700px) {
  .selbar { left: 0 !important; right: 0; transform: none !important; bottom: 0 !important; width: 100%; max-width: 100vw; border-radius: 10px 10px 0 0 !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important; }
}
body.selecting, body.selmode { padding-bottom: 72px; }          /* последние плитки не прячутся под панелью */

/* ---- панель «Выбрано» на телефоне: в две строки, без горизонтальной прокрутки ---- */
@media (max-width: 700px) {
  .selbar { flex-wrap: wrap !important; overflow-x: visible; white-space: normal; max-height: 40vh; overflow-y: auto; row-gap: 6px !important; }
  .selbar b { display: none; }                                    /* счётчик убран ради двух строк — отмеченное видно по галочкам */
  .selbar .btn { flex: 1 1 auto; padding: 6px 5px !important; font-size: 11px !important; }
  .selbar .btn[data-a=none] { display: none; }                     /* «Готово» вверху делает то же */
  .selbar { gap: 5px !important; row-gap: 5px !important; }
  .selbar span[style*="flex:1"] { display: none; }
  body.selecting, body.selmode { padding-bottom: 110px; }
}

/* ---- просмотр файла (Диск, чат): окно всегда ровно по экрану — фото вписано целиком, панель с кнопками и «✕» не уезжает ---- */
.pvw { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto minmax(0, 1fr) !important; width: 100%; height: 100vh; height: 100dvh; max-width: 100vw; overflow: hidden; }
.pvw .top { min-width: 0; flex-wrap: nowrap; }
.pvw .top b { min-width: 0; }
.pvw .top .sub { flex: none; }
.pvw .top .ib { flex: none; }
.pvw .body { min-width: 0; min-height: 0; overflow: hidden; }
.pvw .body img, .pvw .body video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 700px) {
  .pvw .body { padding: 0 8px 12px !important; }
  .pvw .body img { max-height: calc(100dvh - 90px); }
  .pvw .nav2 { width: 36px; height: 36px; }
  .pvw .top { padding: 8px 8px !important; gap: 6px; }
}

/* ---- текстовый редактор и «Новый текст»: на телефоне панель в две строки ---- */
@media (max-width: 700px) {
  .pvw.ed .top { flex-wrap: wrap; }
  .pvw.ed .top b { flex: 1 1 100%; }
  .pvw.ed .top .btn { flex: 1 1 auto; }
  .pvw.ed .body { padding: 0 8px 8px !important; }
}
.edt { min-height: 50vh; }

/* просмотр и редактор — почти непрозрачный фон, страница сзади не просвечивает */
.pvw { background: rgba(2, 6, 20, .985) !important; }

/* ---- пункт «Написать письмо» / «Почта» ---- */
#navMail { display: inline-flex; align-items: center; gap: 7px; }
#navMail svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 520px) { body:not(.vc-admin) #navMail span { font-size: 13px; } body:not(.vc-admin) #navMail { padding: 8px 10px; } }

/* ---- письмо посетителя и счётчик у «Почта» ---- */
.mbadge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e0213f; color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }
.mdlg { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(0, 8, 30, .55); }
.mdlg .mb { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 24px); overflow: auto; padding: 22px; display: grid; gap: 10px; }
.mdlg h3 { margin: 0; font-size: 20px; font-weight: 600; }
.mdlg .mh { margin: 0 0 4px; color: var(--mute); font-size: 14px; }
.mdlg form { display: grid; gap: 10px; }
.mdlg input[type=text], .mdlg textarea { width: 100%; padding: 11px 14px; color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.mdlg .mw { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mdlg .me { margin: 0; color: #ff9a9a; font-size: 14px; }
.mdlg .mr { display: flex; gap: 8px; justify-content: flex-end; }
.mdlg .b { padding: 10px 22px; font-weight: 600; background: var(--fl-ctl, rgba(255,255,255,.06)); border: 1px solid var(--fl-line, rgba(160,205,255,.16)); border-radius: 4px; cursor: pointer; color: inherit; }
.mdlg .b.main { background: var(--fl-acc, #3b86ff); border-color: rgba(255, 255, 255, .18); color: #fff; }
.mdlg .b:disabled { opacity: .6; cursor: default; }
.mdlg .mx { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--fl-ctl, rgba(255,255,255,.06)); border: 1px solid var(--fl-line, rgba(160,205,255,.16)); border-radius: 4px; color: inherit; cursor: pointer; }

/* ---- лампочка «кто на сайте» (только у автора) ---- */
.live { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--mute); cursor: default; }
.live i { width: 10px; height: 10px; border-radius: 50%; background: #55607a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); transition: background .3s, box-shadow .3s; }
.live.on { color: #bff5cf; }
.live.on i { background: #2ee66a; box-shadow: 0 0 6px 1px rgba(46, 230, 106, .7); }
.live.blink i { animation: liveBlink .55s ease-in-out infinite; }
@keyframes liveBlink { 0%, 100% { opacity: 1; box-shadow: 0 0 6px 1px rgba(46, 230, 106, .7); } 50% { opacity: .25; box-shadow: 0 0 0 0 rgba(46, 230, 106, 0); } }
@media (max-width: 520px) { .live { padding: 6px 6px; gap: 4px; } }

/* ---- статистика посещений (по клику на лампочку у автора) ---- */
.stdlg { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 14px; background: rgba(0, 8, 30, .55); }
.stdlg .sb { position: relative; width: min(920px, 100%); max-height: calc(100dvh - 28px); display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 18px 18px 6px; }
.stdlg h3 { margin: 0 40px 10px 0; font-size: 20px; font-weight: 600; }
.stdlg .sx { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--fl-ctl); border: 1px solid var(--fl-line); border-radius: 4px; color: inherit; cursor: pointer; }
.stdlg .sbody { overflow: auto; padding-bottom: 14px; display: grid; gap: 10px; align-content: start; }
.stdlg .ssum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stdlg .ssum > div { padding: 10px 12px; background: var(--fl-layer); border: 1px solid var(--fl-line); border-radius: 8px; display: grid; gap: 2px; }
.stdlg .ssum b { font-size: 20px; } .stdlg .ssum span { color: var(--mute); font-size: 12px; }
.stdlg .stop { padding: 10px 14px; background: var(--fl-layer); border: 1px solid var(--fl-line); border-radius: 8px; font-size: 13.5px; display: grid; gap: 3px; }
.stdlg .sess { padding: 12px 14px; background: var(--fl-layer); border: 1px solid var(--fl-line); border-radius: 8px; display: grid; gap: 6px; font-size: 13.5px; }
.stdlg .sess.on { border-color: rgba(46, 230, 106, .55); background: rgba(46, 230, 106, .07); }
.stdlg .sh1 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.stdlg .dot { width: 9px; height: 9px; border-radius: 50%; background: #55607a; } .stdlg .sess.on .dot { background: #2ee66a; box-shadow: 0 0 6px 1px rgba(46,230,106,.7); }
.stdlg .who { margin-left: auto; color: var(--mute); font-size: 12.5px; }
.stdlg .sh2 { color: #cfe2ff; } .stdlg .sh3 { display: flex; gap: 14px; flex-wrap: wrap; color: var(--mute); } .stdlg .sh3 b { color: #fff; }
.stdlg .svid { display: grid; gap: 2px; padding: 6px 10px; background: rgba(0,0,0,.18); border-radius: 6px; } .stdlg .svid.none { color: var(--mute); }
.stdlg details summary { cursor: pointer; color: #8fd0ff; font-weight: 600; }
.stdlg .sev { display: grid; gap: 2px; margin-top: 6px; max-height: 260px; overflow: auto; }
.stdlg .sev time { color: var(--mute); font-variant-numeric: tabular-nums; margin-right: 6px; }
.stdlg .sempty { padding: 30px 10px; text-align: center; color: var(--mute); }
@media (max-width: 640px) { .stdlg .ssum { grid-template-columns: repeat(2, 1fr); } }
