/* Tevi web — токены и компоненты из дизайн-системы приложения (см. android/ui/theme, ui/kit). */
:root {
  --bg: #f5f3ee; --bg2: #efece5; --surface: #ffffff; --chip: #ecebe5; --line: #e3e0d8;
  --ink: #17201f; --muted: #5b6664; --faint: #8a948f;
  --accent: #0f7b72; --accent-soft: #ddf0ec; --on-accent: #ffffff;
  --telegram: #2aa5e0; --tevi-mark: #34c08a; --danger: #c2410c; --online: #1e9e6a;
  --shadow: rgba(23,32,31,0.06);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141a19; --bg2: #0f1514; --surface: #1f2725; --chip: #262f2c; --line: #2c3532;
    --ink: #f1f0eb; --muted: #a0aba7; --faint: #6f7a76;
    --accent-soft: #17403c; --telegram: #3ab0ee; --tevi-mark: #3fd09a; --danger: #e0603a; --online: #2cb27a;
    --shadow: rgba(0,0,0,0.35);
  }
}
:root[data-theme="dark"] {
  --bg: #141a19; --bg2: #0f1514; --surface: #1f2725; --chip: #262f2c; --line: #2c3532;
  --ink: #f1f0eb; --muted: #a0aba7; --faint: #6f7a76;
  --accent-soft: #17403c; --telegram: #3ab0ee; --tevi-mark: #3fd09a; --danger: #e0603a; --online: #2cb27a;
  --shadow: rgba(0,0,0,0.35);
}

/* Цветовая схема браузера (полосы, скроллбары, область за пределами приложения) следует выбранной теме. */
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* Полосы прокрутки: тонкие и в цвет темы (на телефоне их и так нет, на компьютере — не выпирают). */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: var(--faint); }
textarea::-webkit-scrollbar { width: 0; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body { font-family: "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.35; overscroll-behavior: none; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
img { display: block; }
::selection { background: var(--accent-soft); }

.app { position: fixed; inset: 0; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; background: var(--bg); }
@media (min-width: 600px) { .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
.screen { flex: 1; display: flex; flex-direction: column; min-height: 0; padding-top: var(--sat); }
.scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; }
.pad { padding: 0 20px; }
.grow { flex: 1; }

/* Типографика */
.wordmark { font-family: Unbounded, sans-serif; font-weight: 600; letter-spacing: -1px; color: var(--accent); }
h1 { font-size: 28px; line-height: 1.15; font-weight: 700; margin: 0; letter-spacing: -0.3px; }
h2 { font-size: 22px; line-height: 1.2; font-weight: 700; margin: 0; }
.lead { font-size: 17px; color: var(--muted); margin: 0; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 13px; } .center { text-align: center; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 4px; }

/* Кнопки */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border-radius: 14px; font-size: 17px; font-weight: 600; transition: opacity .15s, transform .05s; }
.btn:active { transform: scale(0.99); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:disabled { opacity: .45; }
.btn-secondary { background: var(--chip); color: var(--ink); height: 52px; font-weight: 600; font-size: 16px; }
.btn-link { height: 48px; color: var(--muted); font-weight: 500; font-size: 15px; }
.btn-danger { color: var(--danger); }
.btn-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.btn-icon:active { background: var(--chip); }
.btn-round { width: 44px; height: 44px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; }

/* Поля */
.field { width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 18px; outline: none; }
.field:focus { border-color: var(--accent); }
.field.hl { border: 1.5px solid var(--accent); }
.field.center { text-align: center; letter-spacing: 1px; }
.field::placeholder { color: var(--faint); }

/* Карточки и строки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.divider { height: 1px; background: var(--line); margin: 0 16px; }
.row { display: flex; align-items: center; gap: 14px; padding: 15px 16px; min-height: 52px; width: 100%; text-align: left; }
.row .title { font-size: 16px; font-weight: 500; flex: 1; }
.row .value { font-size: 14px; color: var(--muted); }
.row .sub { font-size: 13px; color: var(--muted); font-weight: 400; }
.row .chev { color: var(--faint); }
.row.accent .title { color: var(--accent); font-weight: 600; }
.row.danger .title { color: var(--danger); }
.icon-box { width: 40px; height: 40px; border-radius: 12px; background: var(--chip); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.icon-box svg { width: 20px; height: 20px; }

/* Шапка экрана */
.header { display: flex; align-items: center; height: 56px; padding: 0 8px; gap: 4px; flex-shrink: 0; }
.header .h-title { flex: 1; font-size: 17px; font-weight: 600; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header .h-action { color: var(--accent); font-weight: 600; padding: 12px 14px; }

/* Аватар: уголок источника снизу под кругом, зелёная точка «в сети» поверх */
.avatar { position: relative; flex-shrink: 0; width: 54px; height: 54px; border-radius: 7px 27px 27px 27px; }
/* Подложка-уголок чуть меньше круга: иначе по краю круга просвечивает цветной ободок в пиксель. */
.avatar::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: var(--tevi-mark); }
.avatar.no-src::before { display: none; }
.avatar.tg::before { background: var(--telegram); }
.avatar .circle { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; overflow: hidden; }
.avatar .circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* С фото цветной фон круга не нужен: он просвечивает светлым ободком по краю картинки. */
.avatar .circle:has(img) { background: transparent !important; }
.avatar .online { position: absolute; right: -1px; bottom: -1px; z-index: 2; width: 13px; height: 13px; border-radius: 50%; background: var(--online); border: 2px solid var(--bg); }
.avatar.s42 { width: 42px; height: 42px; border-radius: 6px 21px 21px 21px; } .avatar.s42 .online { width: 11px; height: 11px; }
.avatar.s96 { width: 96px; height: 96px; border-radius: 12px 48px 48px 48px; }

/* Чипы */
.chips { display: flex; gap: 8px; padding: 10px 20px 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; background: var(--surface); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.chip .dot { width: 8px; height: 8px; border-radius: 4px; }

/* Список чатов */
.conv { display: flex; align-items: center; gap: 14px; padding: 10px 20px; width: 100%; text-align: left; }
.conv:active { background: var(--bg2); }
.conv .body { flex: 1; min-width: 0; }
.conv .top { display: flex; align-items: baseline; gap: 8px; }
.conv .name { font-size: 16px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.conv .name .mute { color: var(--faint); display: inline-flex; flex-shrink: 0; } .conv .name .mute svg { width: 14px; height: 14px; }
.conv .time { font-size: 12px; color: var(--faint); }
.conv .last { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.conv .last.unread { color: var(--ink); font-weight: 500; }
.conv-sep { height: 1px; background: var(--line); margin: 0 20px 0 88px; }
.badge { min-width: 22px; height: 22px; padding: 0 7px 1px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.badge.muted { background: var(--faint); }
.pill { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 8px; background: var(--chip); color: var(--muted); }
.pill.ok { color: var(--online); }

/* Нижняя навигация */
.tabbar { display: flex; height: 60px; border-top: 1px solid var(--line); background: var(--surface); padding-bottom: var(--sab); flex-shrink: 0; }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--faint); }
.tabbar button.on { color: var(--accent); }
.tabbar svg { width: 24px; height: 24px; }

/* Чат */
.chat-bg { background: var(--bg2); }
.messages { flex: 1; overflow-y: auto; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.day { align-self: center; font-size: 12px; color: var(--muted); background: var(--chip); padding: 3px 10px; border-radius: 10px; margin: 8px 0; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 18px; font-size: 15.5px; line-height: 1.35; word-wrap: break-word; position: relative; }
.msg.theirs { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 5px; }
.msg.mine { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.msg .meta { display: flex; justify-content: flex-end; gap: 4px; font-size: 11px; opacity: .7; margin-top: 2px; }
.msg.mine .meta { color: #fff; }
.msg .quote { border-left: 2px solid currentColor; padding-left: 8px; font-size: 13px; opacity: .8; margin-bottom: 4px; }
.msg img.photo { display: block; max-width: 100%; border-radius: 14px; max-height: 60vh; object-fit: cover; min-width: 120px; min-height: 80px; background: var(--chip); }
.msg.photo-only { padding: 0; background: transparent; border-radius: 14px; }
.msg.photo-only .sender { position: absolute; left: 10px; top: 8px; z-index: 1; background: rgba(0,0,0,.45); color: #fff; padding: 2px 8px; border-radius: 8px; }
.msg.photo-only .meta { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.45); color: #fff; padding: 2px 6px; border-radius: 8px; margin: 0; opacity: 1; }
.msg.photo-cap { padding: 4px 4px 8px; } .msg.photo-cap .cap { padding: 6px 8px 0; } .msg.photo-cap .meta { padding-right: 8px; } .msg.photo-cap .sender { padding: 4px 8px 2px; }
/* Индикатор соединения: точка + пинг. Зелёная — норма, жёлтая — медленно, серая — ждём ответ, красная — нет связи. */
.conn { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.conn i { width: 8px; height: 8px; border-radius: 50%; background: #9aa5a1; }
.conn.ok i { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.conn.slow i { background: #f59e0b; }
.conn.off i { background: #ef4444; }
.conn.wait i { animation: connblink 1s ease-in-out infinite; }
/* Плавающая пилюля внизу: по центру над нижней панелью или полем ввода, места не занимает. */
.conn-float { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.conn-float .conn { margin: 0; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); box-shadow: 0 2px 8px var(--shadow); }
.screen { position: relative; }
@keyframes connblink { 50% { opacity: .35; } }
.msg .sender { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.msg.theirs .sender { color: var(--telegram); }
.msg .fwd { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--accent); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg .fwd svg { width: 14px; height: 14px; flex-shrink: 0; }
.msg .fwd b { font-weight: 600; }
.msg.theirs .fwd { color: var(--telegram); }
.msg.mine .fwd { color: rgba(255,255,255,.88); }
.msg .fwd.link { cursor: pointer; }
.msg .fwd.link:hover b { text-decoration: underline; }
.msg.photo-cap .fwd { padding: 4px 8px 2px; }
/* Превью ссылки: полоска слева, сайт, заголовок, описание, картинка. */
.msg .preview { display: block; margin-top: 6px; padding: 6px 10px 8px; border-left: 3px solid var(--telegram); border-radius: 8px; background: rgba(0,0,0,.05); color: inherit; text-decoration: none; max-width: 360px; }
.msg.mine .preview { border-left-color: rgba(255,255,255,.85); background: rgba(255,255,255,.12); }
.msg .preview .psite { font-size: 12.5px; font-weight: 600; color: var(--telegram); margin-bottom: 1px; }
.msg.mine .preview .psite { color: rgba(255,255,255,.88); }
.msg .preview .ptitle { font-size: 14px; font-weight: 600; line-height: 1.3; }
.msg .preview .pdesc { font-size: 13px; opacity: .8; line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.msg .preview .pimg { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 6px; margin-top: 6px; }
.msg .preview .pimg:not([src]), .msg .preview .pimg[src=""] { display: none; }
:root[data-theme="dark"] .msg.theirs .preview { background: rgba(255,255,255,.06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg.theirs .preview { background: rgba(255,255,255,.06); } }
.meta .ticks { display: inline-flex; align-items: center; margin-left: 2px; opacity: .9; }
.meta .ticks.read { color: #9fe3ff; }
.voice { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.voice .play { width: 36px; height: 36px; border-radius: 18px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.msg.theirs .voice .play { background: var(--accent-soft); color: var(--accent); }
/* Пока голосовое качается — кольцо вместо иконки, чтобы было видно, что нажатие принято. */
.voice .play.loading svg { display: none; }
.voice .play.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; }
.voice .wave { flex: 1; height: 26px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.voice .wave i { flex: 1; min-width: 2px; border-radius: 2px; background: currentColor; opacity: .3; transition: opacity .1s; }
.voice .wave i.on { opacity: 1; }
.msg.theirs .voice .wave { color: var(--accent); }
.voice .dur { font-size: 12px; opacity: .8; }
.locked { opacity: .7; font-style: italic; }

.composer { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px calc(8px + var(--sab)); background: var(--bg); border-top: 1px solid var(--line); }
.composer textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 11px 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); resize: none; outline: none; font-size: 16px; line-height: 1.3; }
.composer .btn-round { background: var(--accent); color: #fff; flex-shrink: 0; }
.composer .btn-round.ghost { background: var(--chip); color: var(--muted); }
.composer .btn-round.rec { background: var(--danger); color: #fff; }
.typing { font-size: 13px; color: var(--accent); }
.composer.readonly { justify-content: center; align-items: center; color: var(--faint); font-size: 14px; min-height: 52px; }
.to-bottom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 21px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); box-shadow: 0 4px 14px var(--shadow); display: flex; align-items: center; justify-content: center; z-index: 2; }
.to-bottom[hidden] { display: none; }

/* Тост */
#toast { position: fixed; left: 50%; bottom: calc(96px + var(--sab)); transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 14px; box-shadow: 0 8px 24px var(--shadow); max-width: 92vw; animation: up .2s ease-out; }
.toast button { color: var(--tevi-mark); font-weight: 600; }
@keyframes up { from { transform: translateY(12px); opacity: 0; } }

/* Оверлеи: диалоги, звонок, фото */
#overlay:empty { display: none; }
#overlay { position: fixed; inset: 0; z-index: 50; }
.dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 600px) { .dim { align-items: center; } }
.sheet { background: var(--surface); border-radius: 24px 24px 0 0; padding: 20px 20px calc(20px + var(--sab)); width: 100%; max-width: 560px; }
@media (min-width: 600px) { .sheet { border-radius: 24px; width: 420px; } }
.sheet h2 { margin-bottom: 8px; }
.sheet p { margin: 0 0 18px; color: var(--muted); }
.sheet .actions { display: flex; flex-direction: column; gap: 8px; }

.call { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; align-items: center; padding: calc(40px + var(--sat)) 24px calc(32px + var(--sab)); text-align: center; }
.call .name { font-size: 26px; font-weight: 700; margin-top: 18px; }
.call .status { color: var(--muted); margin-top: 6px; }
.call .videos { position: absolute; inset: 0; background: #000; z-index: 0; }
.call .videos video { width: 100%; height: 100%; object-fit: cover; }
.call .videos .local { position: absolute; right: 16px; top: calc(16px + var(--sat)); width: 110px; height: 150px; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,255,255,.6); }
.call .videos .local video { transform: scaleX(-1); }
.call .over { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; flex: 1; width: 100%; }
.call.video .over { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.call.video .status { color: rgba(255,255,255,.8); }
.call .controls { display: flex; gap: 22px; margin-top: auto; }
.call .controls button { width: 64px; height: 64px; border-radius: 32px; background: var(--chip); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.call.video .controls button { background: rgba(255,255,255,.2); color: #fff; }
.call .controls button.on { background: var(--ink); color: var(--bg); }
.call .controls button.hang { background: var(--danger); color: #fff; }
.call .controls button.accept { background: var(--online); color: #fff; }
.call .controls svg { width: 28px; height: 28px; }

.photo-view { position: absolute; inset: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.photo-view img { max-width: 100%; max-height: 100%; }
.photo-view .close { position: absolute; top: calc(12px + var(--sat)); right: 12px; color: #fff; }

/* Онбординг */
.onb { padding: 0 24px calc(24px + var(--sab)); }
.code-boxes { display: flex; gap: 8px; justify-content: center; }
.code-boxes span { width: 46px; height: 56px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; }
.code-boxes span.on { border-color: var(--accent); }
.code-hidden { position: absolute; opacity: 0; pointer-events: none; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.list-bullets { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list-bullets li { display: flex; gap: 12px; }
.list-bullets li b { display: block; font-weight: 600; }
.list-bullets li span { font-size: 14px; color: var(--muted); }

/* Сегмент темы */
.seg { display: flex; background: var(--chip); border-radius: 14px; padding: 4px; }
.seg button { flex: 1; height: 40px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); font-weight: 600; }

.profile-head { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 4px; }
.profile-head .name { font-size: 22px; font-weight: 700; }
.profile-head .ids { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.profile-head .ids div { display: inline-flex; align-items: center; gap: 6px; } .profile-head .ids .dot { width: 8px; height: 8px; border-radius: 4px; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin: 0 20px 6px; }
.search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 15px; }
.empty { padding: 48px 32px; text-align: center; color: var(--muted); }
.sw { position: relative; width: 50px; height: 30px; border-radius: 15px; background: var(--line); transition: background .15s; flex-shrink: 0; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.sw.on { background: var(--accent); } .sw.on::after { left: 23px; }
.banner { margin: 6px 20px 8px; padding: 0 6px 0 12px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.banner .b-ic { display: inline-flex; color: var(--accent); flex-shrink: 0; } .banner .b-ic svg { width: 18px; height: 18px; }
.banner .b-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.banner button { color: var(--accent); font-weight: 600; white-space: nowrap; padding: 8px 6px; }
.banner .b-close { color: var(--faint); padding: 6px; display: inline-flex; } .banner .b-close svg { width: 18px; height: 18px; }
