/* Beeno Web — «طبقة اللازورد»: خلفية نحاسية داكنة، أسطح متدرّجة، أزرق تلجرام كمصدر وحيد للحالة. */
:root {
  --bg: #0b1015;
  --bg-2: #0e1419;
  --surface: #151b21;
  --surface-2: #1b2229;
  --surface-3: #222a32;
  --line: #2d3134;
  --line-strong: #3a3e42;
  --text: #f2f5f7;
  --text-2: #c3ccd3;
  --muted: #8b98a3;
  --brand: #0088cc;
  --brand-soft: #3399ff;
  --brand-deep: #0066aa;
  --mint: #00c896;
  --warn: #ffaa00;
  --danger: #ff4d4f;
  --radius: 14px;
  --radius-lg: 20px;
  --rail: 76px;
  --side: 340px;
  --gap: 12px;
  --pad: 16px;
  --touch: 44px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .38);
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-family: "Segoe UI", "Noto Sans Arabic", "Tahoma", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  overscroll-behavior: none;
}

body {
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(0, 136, 204, .16), transparent 62%),
    radial-gradient(760px 520px at -6% 106%, rgba(0, 200, 150, .1), transparent 60%);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 2px; }

[hidden] { display: none !important; }

/* ------------------------------------------------------------- shell */

.boot {
  position: fixed; inset: 0; display: grid; place-content: center; gap: 18px;
  justify-items: center; color: var(--muted); z-index: 40;
}
.boot-mark {
  width: 66px; height: 66px; border-radius: 22px; display: grid; place-content: center;
  font-size: 30px; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, var(--brand), #00a8cc);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, var(--shadow);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: translateY(-4px) scale(.97); opacity: .82; } }

.banner {
  position: sticky; top: 0; z-index: 30; display: flex; gap: 12px; align-items: center;
  justify-content: space-between; padding: 10px var(--pad); font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.banner-warn { background: rgba(255, 170, 0, .12); color: #ffd88a; }
.banner-btn {
  min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface-2); cursor: pointer;
}

.app {
  display: grid;
  grid-template-columns: var(--rail) var(--side) minmax(0, 1fr);
  height: 100dvh;
}

.rail {
  background: linear-gradient(180deg, #0a1014, #070c10);
  border-inline-start: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; padding: 14px 8px;
  align-items: stretch;
}
.rail-brand {
  width: 44px; height: 44px; margin-inline: auto 0; margin-bottom: 12px; border-radius: 15px;
  display: grid; place-content: center; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--mint));
}
.rail-btn {
  position: relative; min-height: var(--touch); border: 0; background: transparent; cursor: pointer;
  border-radius: 14px; display: grid; place-content: center; gap: 3px; color: var(--muted);
  padding: 8px 4px; font-size: 10.5px; line-height: 1.1;
}
.rail-btn svg { width: 23px; height: 23px; }
.rail-btn:hover { background: var(--surface-2); color: var(--text-2); }
.rail-btn[aria-current="page"] { background: rgba(0, 136, 204, .18); color: var(--brand-soft); }
.rail-btn .dot {
  position: absolute; inset-inline-start: 14px; top: 8px; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-content: center; padding: 0 4px;
}
.rail-spacer { flex: 1; }

.side {
  background: var(--bg-2); border-inline-start: 1px solid var(--line);
  display: flex; flex-direction: column; min-width: 0;
}
.side-head {
  display: flex; align-items: center; gap: 10px; padding: 12px var(--pad);
  border-bottom: 1px solid var(--line); min-height: 64px;
}
.side-title { font-size: 16.5px; font-weight: 700; flex: 1; min-width: 0; }
.side-body { overflow: auto; flex: 1; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.side-pad { padding: 10px 16px 0; }
.side-search { margin: 10px 16px 0; width: calc(100% - 32px); border-radius: 12px; }

.stage { background: var(--bg); display: flex; flex-direction: column; min-width: 0; position: relative; }

/* ------------------------------------------------------------- atoms */

.icon-btn {
  width: var(--touch); height: var(--touch); border-radius: 12px; border: 1px solid transparent;
  background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-content: center;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line); }
.icon-btn.primary { color: var(--brand-soft); }

.btn {
  min-height: var(--touch); padding: 0 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600;
}
.btn:hover:not(:disabled) { background: var(--surface-3); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-brand { background: linear-gradient(145deg, var(--brand), var(--brand-deep)); border-color: transparent; color: #fff; }
.btn-brand:hover:not(:disabled) { filter: brightness(1.08); background: linear-gradient(145deg, var(--brand), var(--brand-deep)); }
.btn-danger { background: rgba(255, 77, 79, .14); border-color: rgba(255, 77, 79, .5); color: #ffb4b5; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; color: var(--muted); }
.input, .textarea, .select {
  min-height: var(--touch); width: 100%; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.textarea { min-height: 92px; padding: 12px 14px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); outline: none; }
.input::placeholder, .textarea::placeholder { color: #6b7884; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2);
  font-size: 12.5px; color: var(--text-2); cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"], .chip.active { background: rgba(0, 136, 204, .2); border-color: var(--brand); color: #bfe4ff; }

.avatar {
  width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-content: center;
  font-weight: 700; color: #fff; background: linear-gradient(145deg, #2b6f8f, #1b4a63); overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 34px; height: 34px; border-radius: 11px; font-size: 13px; }
.avatar.lg { width: 72px; height: 72px; border-radius: 22px; font-size: 24px; }

.badge { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.badge-ok { background: rgba(0, 200, 150, .18); color: #6ff0c8; }
.badge-bad { background: rgba(255, 77, 79, .18); color: #ffb4b5; }
.badge-warn { background: rgba(255, 170, 0, .16); color: #ffd88a; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: var(--mono); font-size: 12px; }
.stack { display: grid; gap: var(--gap); }
.row { display: flex; align-items: center; gap: 10px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.scroll-x { overflow-x: auto; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }

.empty {
  display: grid; place-content: center; gap: 10px; justify-items: center; text-align: center;
  padding: 42px 20px; color: var(--muted);
}
.empty svg { width: 40px; height: 40px; opacity: .5; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px;
}
.card-title { font-weight: 700; margin: 0 0 10px; font-size: 15px; }

.divider { height: 1px; background: var(--line); margin: 4px 0; }

/* ------------------------------------------------------------- lists */

.list-item {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: start; cursor: pointer;
  padding: 10px var(--pad); border: 0; background: transparent; border-bottom: 1px solid rgba(45, 49, 52, .5);
  min-height: 68px;
}
.list-item:hover { background: var(--surface); }
.list-item.active { background: rgba(0, 136, 204, .14); box-shadow: inset -3px 0 0 var(--brand); }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .line1 { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 14.5px; }
.list-item .line2 { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 3px; }
.list-item .line1 span, .list-item .line2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.time { color: var(--muted); font-size: 11.5px; font-weight: 500; flex: none; }

/* ------------------------------------------------------------- chat */

.chat-head {
  display: flex; align-items: center; gap: 12px; padding: 10px var(--pad); min-height: 66px;
  background: rgba(14, 20, 25, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); z-index: 5;
}
.chat-head .who { flex: 1; min-width: 0; }
.chat-head .who h2 { margin: 0; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head .who p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.chat-head .acts { display: flex; gap: 4px; }

.messages {
  flex: 1; overflow: auto; padding: 18px var(--pad) 8px; display: flex; flex-direction: column; gap: 6px;
  background-image:
    linear-gradient(rgba(11, 16, 21, .93), rgba(11, 16, 21, .93)),
    repeating-linear-gradient(45deg, rgba(0, 136, 204, .05) 0 2px, transparent 2px 22px);
  scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
}
.day { align-self: center; font-size: 11.5px; color: var(--text-2); background: rgba(21, 27, 33, .9);
  border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; margin: 8px 0; }

.msg { max-width: min(72%, 620px); display: flex; flex-direction: column; gap: 3px; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.other { align-self: flex-start; align-items: flex-start; }
.bubble {
  position: relative; padding: 8px 12px; border-radius: 16px; font-size: 14.5px; line-height: 1.62;
  background: var(--surface); border: 1px solid var(--line); word-break: break-word; white-space: pre-wrap;
}
.msg.me .bubble { background: linear-gradient(150deg, #12405a, #0d3245); border-color: #1b5c7d; }
.bubble .sender { font-size: 12px; color: var(--brand-soft); font-weight: 700; margin-bottom: 2px; }
.bubble .meta { font-size: 10.5px; color: rgba(195, 204, 211, .62); margin: 4px -4px -2px 0; text-align: start; }
.bubble .edited { color: var(--muted); }
.bubble a { color: #7fd0ff; }
.msg-media { border: 0; padding: 4px; background: var(--surface); overflow: hidden; }
.msg-media img, .msg-media video { display: block; max-width: min(420px, 62vw); max-height: 340px; border-radius: 12px; }
.msg-media audio { width: min(320px, 60vw); }
.reply-hint { font-size: 12px; color: var(--muted); border-inline-start: 2px solid var(--brand); padding-inline-start: 8px; margin-bottom: 4px; }
.deleted { color: var(--muted); font-style: italic; }

.msg-acts { display: flex; gap: 2px; opacity: 0; transition: opacity .12s; }
.msg:hover .msg-acts, .msg:focus-within .msg-acts { opacity: 1; }
.msg-acts button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11.5px;
  padding: 4px 8px; border-radius: 8px; min-height: 30px;
}
.msg-acts button:hover { background: var(--surface-2); color: var(--text); }

.composer-wrap { border-top: 1px solid var(--line); background: var(--bg-2); }
.reply-bar { display: flex; gap: 8px; align-items: center; padding: 8px var(--pad); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.pending-strip { display: flex; gap: 8px; padding: 8px var(--pad); overflow-x: auto; border-bottom: 1px solid var(--line); }
.pending-strip .thumb { position: relative; }
.pending-strip .thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.pending-strip .thumb button {
  position: absolute; inset-block-start: -6px; inset-inline-start: -6px; width: 24px; height: 24px;
  border-radius: 50%; border: 0; background: var(--surface-3); color: var(--text); cursor: pointer;
}

.composer { display: flex; align-items: flex-end; gap: 8px; padding: 10px var(--pad); }
.composer .input-shell {
  flex: 1; display: flex; align-items: flex-end; gap: 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; padding: 4px 6px 4px 4px;
}
.composer .input-shell:focus-within { border-color: var(--brand); }
.composer textarea {
  flex: 1; border: 0; background: transparent; resize: none; max-height: 132px; min-height: 40px;
  padding: 9px 10px; line-height: 1.5;
}
.composer textarea:focus { outline: none; }
.send-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep)); color: #fff;
  display: grid; place-content: center;
}
.send-btn:disabled { opacity: .45; }
.send-btn svg { width: 21px; height: 21px; }

/* panels under the composer */
.panel { border-top: 1px solid var(--line); background: var(--bg-2); }
.panel-tabs { display: flex; gap: 4px; padding: 6px var(--pad) 0; }
.panel-tabs button {
  min-height: 38px; padding: 0 14px; border: 0; border-radius: 10px 10px 0 0; cursor: pointer;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 600;
}
.panel-tabs button[aria-selected="true"] { background: var(--surface); color: var(--brand-soft); }
.panel-body { background: var(--surface); padding: 10px var(--pad) 12px; max-height: 232px; overflow: auto; }
.grid-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.grid-tiles.wide { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.tile {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2);
  cursor: pointer; display: grid; place-content: center; font-size: 26px; padding: 0; overflow: hidden;
}
.tile:hover { border-color: var(--brand); background: var(--surface-3); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.emoji-cat { margin: 4px 0 6px; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ------------------------------------------------------------- stories */

.stories { display: flex; gap: 10px; padding: 12px var(--pad); overflow-x: auto; border-bottom: 1px solid var(--line); }
.story-ring {
  width: 60px; flex: none; border: 0; background: transparent; cursor: pointer; display: grid; gap: 5px;
  justify-items: center; font-size: 10.5px; color: var(--text-2);
}
.story-ring .ring {
  width: 56px; height: 56px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, var(--brand), var(--mint), var(--brand));
}
.story-ring.seen .ring { background: var(--line-strong); }
.story-ring .ring > span { width: 100%; height: 100%; border-radius: 50%; background: var(--surface); display: grid; place-content: center; overflow: hidden; font-weight: 700; }
.story-ring .ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.story-ring.add .ring { background: var(--surface-3); }

.viewer { position: fixed; inset: 0; background: rgba(4, 7, 9, .94); z-index: 50; display: grid; place-content: center; }
.viewer .frame { max-width: min(94vw, 460px); width: 100%; display: grid; gap: 12px; justify-items: center; }
.viewer .frame img, .viewer .frame video { max-width: 100%; max-height: 74dvh; border-radius: 18px; }
.viewer .bar { width: 100%; height: 3px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.viewer .bar i { display: block; height: 100%; background: #fff; transition: width .25s linear; }
.viewer .cap { color: var(--text-2); font-size: 14px; text-align: center; }
.viewer .close { position: fixed; inset-block-start: 16px; inset-inline-start: 16px; }

/* ------------------------------------------------------------- reels */

.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 14px var(--pad); }
.reel-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; }
.reel-card:hover { border-color: var(--brand); }
.reel-card .cover { aspect-ratio: 9 / 14; background: #000; display: grid; place-content: center; position: relative; }
.reel-card .cover img, .reel-card .cover video { width: 100%; height: 100%; object-fit: cover; }
.reel-card .cover .play { position: absolute; inset: auto 12px 12px auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-content: center; }
.reel-card .foot { padding: 10px 12px; display: grid; gap: 4px; }
.reel-card .foot strong { font-size: 13.5px; }
.reel-player { position: fixed; inset: 0; background: #05080a; z-index: 55; display: grid; grid-template-rows: auto 1fr auto; }
.reel-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.reel-player .bar { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--pad); gap: 10px; }

/* ------------------------------------------------------------- settings */

.panes { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; height: 100%; }
.pane-nav { border-inline-end: 1px solid var(--line); background: var(--bg-2); padding: 12px 8px; display: grid; gap: 4px; align-content: start; overflow: auto; }
.pane-nav button { min-height: var(--touch); border: 0; background: transparent; cursor: pointer; border-radius: 12px; padding: 0 14px; text-align: start; color: var(--text-2); }
.pane-nav button[aria-current="true"] { background: var(--surface-2); color: var(--brand-soft); font-weight: 600; }
.pane-body { padding: 18px var(--pad) 40px; overflow: auto; display: grid; gap: 14px; align-content: start; }
.pane-body h2 { margin: 0; font-size: 18px; }
.pane-body h3 { margin: 8px 0 0; font-size: 14px; color: var(--text-2); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(45, 49, 52, .55); }
.setting-row p { margin: 0; font-size: 14px; }
.setting-row small { color: var(--muted); display: block; margin-top: 3px; }
.switch { width: 46px; height: 27px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); position: relative; cursor: pointer; flex: none; }
.switch::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--muted); transition: transform .16s, background .16s; }
.switch[aria-checked="true"] { background: rgba(0, 136, 204, .32); border-color: var(--brand); }
.switch[aria-checked="true"]::after { transform: translateX(-19px); background: var(--brand-soft); }

/* ------------------------------------------------------------- admin */

.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; display: grid; gap: 6px; }
.stat b { font-size: 26px; font-weight: 800; color: var(--brand-soft); }
.stat span { font-size: 12px; color: var(--muted); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 12px; border-bottom: 1px solid rgba(45, 49, 52, .6); text-align: start; white-space: nowrap; }
th { background: var(--surface-2); color: var(--text-2); font-weight: 600; position: sticky; inset-block-start: 0; }
tbody tr:hover { background: rgba(27, 34, 41, .6); }
td .actions { display: flex; gap: 6px; }

.login-shell { min-height: 100dvh; display: grid; place-content: center; padding: 24px; }
.login-card { width: min(420px, 100%); display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.login-card h1 { margin: 0; font-size: 20px; }
.login-card .hint { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.notice { border-radius: 12px; padding: 11px 14px; font-size: 13px; border: 1px solid var(--line); background: var(--surface-2); }
.toast-host { position: fixed; inset-block-end: 18px; inset-inline-end: 18px; z-index: 80; display: grid; gap: 8px; max-width: min(92vw, 360px); }
.toast-host .notice { box-shadow: var(--shadow); }
.notice-bad { border-color: rgba(255, 77, 79, .55); background: rgba(255, 77, 79, .12); color: #ffc9ca; }
.notice-ok { border-color: rgba(0, 200, 150, .5); background: rgba(0, 200, 150, .12); color: #8ff0d0; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  :root { --side: 300px; }
  .msg { max-width: 82%; }
}

@media (max-width: 900px) {
  .app { grid-template-columns: var(--rail) minmax(0, 1fr); }
  .app[data-view="detail"] { grid-template-columns: minmax(0, 1fr); }
  .app[data-view="detail"] .rail, .app[data-view="detail"] .side { display: none; }
  .side { border-inline-start: 0; }
  .panes { grid-template-columns: 1fr; }
  .pane-nav { display: flex; gap: 6px; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .pane-nav button { flex: none; }
}

@media (max-width: 620px) {
  :root { --rail: 62px; --pad: 12px; --radius-lg: 16px; }
  .app { grid-template-columns: var(--rail) minmax(0, 1fr); }
  .rail-btn { font-size: 9.5px; }
  .rail-btn svg { width: 20px; height: 20px; }
  .msg { max-width: 92%; }
  .reels { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat-head .acts { gap: 0; }
}

@media (min-width: 1440px) {
  :root { --side: 380px; }
  .messages { padding-inline: max(var(--pad), 4vw); }
  .composer { padding-inline: max(var(--pad), 4vw); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
