/* نظرینو — glass UI, RTL, mobile-first */
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --accent: #1a6dff; --accent2: #4a90ff; --accent-rgb: 26, 109, 255;
  --text: #1b2140; --muted: #555d7d; --faint: #8a90aa;
  --glass: rgba(255, 255, 255, .70); --glass-strong: rgba(255, 255, 255, .86);
  --glass-border: rgba(255, 255, 255, .85); --line: rgba(80, 92, 150, .14);
  --shadow: 0 10px 30px -8px rgba(58, 72, 140, .18), 0 2px 6px rgba(58, 72, 140, .06);
  --card-shadow: 0 22px 44px -14px rgba(var(--accent-rgb), .55), 0 6px 14px -6px rgba(var(--accent-rgb), .35);
  --chip: rgba(255, 255, 255, .78); --input: rgba(255, 255, 255, .9);
  --danger: #d6345a; --ok: #12925a; --warn: #b26a00;
  --r: 18px; --r-sm: 12px;
  --bg: linear-gradient(165deg, #d9f4ff 0%, #e6e8ff 42%, #efe3ff 62%, #ffe5d6 100%);
  color-scheme: light;
}
html[data-theme="dark"] {
  --text: #e9ecfa; --muted: #a9b0cc; --faint: #7d84a3;
  --glass: rgba(30, 34, 58, .62); --glass-strong: rgba(36, 41, 68, .86);
  --glass-border: rgba(255, 255, 255, .09); --line: rgba(255, 255, 255, .09);
  --shadow: 0 12px 34px -10px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .25);
  --chip: rgba(255, 255, 255, .08); --input: rgba(16, 19, 36, .7);
  --danger: #ff6b8b; --ok: #4fd69a; --warn: #ffbf5a;
  --bg: linear-gradient(165deg, #0b1830 0%, #151738 45%, #22163a 70%, #2b1820 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--bg) fixed; background-color: #e9e8ff; }
html[data-theme="dark"] { background-color: #141633; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif; color: var(--text);
  font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 320px; height: 320px; background: #8fe3ff; top: -110px; right: -90px; }
.b2 { width: 300px; height: 300px; background: #c4b5ff; top: 38%; left: -150px; }
.b3 { width: 340px; height: 340px; background: #ffc6a8; bottom: -150px; right: -80px; }
html[data-theme="dark"] .blob { opacity: .22; }

.app { max-width: 480px; margin: 0 auto; padding: 10px 12px 120px; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}

/* top bar */
.topbar { position: sticky; top: 8px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 8px 8px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand img { display: block; filter: drop-shadow(0 4px 8px rgba(26, 109, 255, .35)); }
.wordmark { font-weight: 800; font-size: 19px; letter-spacing: -.2px; white-space: nowrap; }
.tabs { display: flex; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.tab { padding: 5px 13px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--muted); transition: background .25s, color .25s; white-space: nowrap; }
.tab.on { background: linear-gradient(135deg, #1a6dff, #4a90ff); color: #fff; box-shadow: 0 6px 14px -6px rgba(26, 109, 255, .7); }

.view { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.enter { animation: enter .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }

/* post card */
.post-card {
  position: relative; border-radius: 20px; padding: 16px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%); box-shadow: var(--card-shadow);
}
html[data-theme="dark"] .post-card, html[data-theme="dark"] .space-card, html[data-theme="dark"] .dash-head { filter: saturate(.92) brightness(.9); }
.post-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 46%); pointer-events: none; }
.post-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; left: -60px; bottom: -90px; background: rgba(255, 255, 255, .12); }
.post-head { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.ch-avatar { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); }
.ch-name { font-weight: 700; font-size: 15px; line-height: 1.4; }
.ch-handle { font-size: 12.5px; opacity: .85; direction: ltr; text-align: right; unicode-bidi: plaintext; }
.post-title { position: relative; z-index: 1; font-weight: 800; font-size: 17.5px; line-height: 1.6; margin: 12px 0 4px; }
.post-excerpt { position: relative; z-index: 1; margin: 0; font-size: 14px; opacity: .93; white-space: pre-wrap; overflow-wrap: break-word; }
.post-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }

/* reactions */
.rbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rbar.post { padding: 10px 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 999px;
  background: var(--chip); border: 1px solid var(--line); font-size: 14px; line-height: 1; transition: transform .15s, background .2s, border-color .2s;
}
.chip .e { font-size: 16px; }
.chip .n { font-weight: 700; font-size: 13px; color: var(--muted); }
.chip.me { background: rgba(var(--accent-rgb), .14); border-color: rgba(var(--accent-rgb), .55); }
.chip.me .n { color: var(--accent); }
html[data-theme="dark"] .chip.me .n { color: #9cc0ff; }
.chip:active { transform: scale(.93); }
.chip.add { width: 32px; padding: 0; justify-content: center; color: var(--muted); font-size: 18px; font-weight: 500; }
.chip.sm { height: 28px; padding: 0 8px; font-size: 13px; }
.chip.sm .e { font-size: 14px; }
.chip.sm.add { width: 28px; padding: 0; }
.pop { animation: pop .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.32); } 100% { transform: scale(1); } }

.welcome { padding: 10px 14px; font-size: 13.5px; color: var(--muted); white-space: pre-wrap; overflow-wrap: break-word; }
.welcome b { color: var(--text); }

/* list header */
.list-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.list-head .count { font-weight: 700; font-size: 14px; }
.seg { display: inline-flex; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.seg button.on { background: var(--glass-strong); color: var(--text); box-shadow: 0 3px 10px -4px rgba(40, 50, 110, .3); }
.seg.wide { display: flex; }
.seg.wide button { flex: 1; padding: 7px 8px; }

/* comments */
.comments { display: flex; flex-direction: column; gap: 10px; }
.cmt { padding: 12px 12px 10px; }
.cmt.pinned { border-color: rgba(var(--accent-rgb), .45); }
.pin-label { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
html[data-theme="dark"] .pin-label { color: #9cc0ff; }
.cmt-head { display: flex; align-items: center; gap: 8px; }
.av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.cmt-meta { min-width: 0; flex: 1; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cmt-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.cmt-time { font-size: 12px; color: var(--faint); white-space: nowrap; }
.badge { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(var(--accent-rgb), .13); color: var(--accent); white-space: nowrap; }
html[data-theme="dark"] .badge { color: #9cc0ff; }
.badge.warn { background: rgba(255, 170, 0, .16); color: var(--warn); }
.badge.danger { background: rgba(214, 52, 90, .12); color: var(--danger); }
.cmt-text { margin: 6px 0 8px; white-space: pre-wrap; overflow-wrap: break-word; word-break: normal; font-size: 14.5px; }
.cmt-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.cmt-actions { display: flex; gap: 2px; margin-inline-start: auto; }
.act { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.act:hover { background: var(--chip); }
.act.danger { color: var(--danger); }
.replies { margin: 8px 14px 0 0; padding-inline-start: 10px; border-inline-start: 2px solid rgba(var(--accent-rgb), .25); display: flex; flex-direction: column; gap: 8px; }
.reply { background: var(--chip); border: 1px solid var(--line); border-radius: 14px; padding: 9px 10px 7px; }
.reply .av { width: 28px; height: 28px; font-size: 12px; }
.pending { opacity: .78; }
.more { align-self: center; padding: 8px 18px; font-weight: 600; font-size: 13.5px; }
.empty { text-align: center; padding: 28px 18px; color: var(--muted); }
.empty .big { font-size: 40px; display: block; margin-bottom: 6px; }

/* composer */
.composer {
  position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%); width: min(480px, 100%);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.composer .glass { padding: 8px; border-radius: 22px; background: #fbfcff; box-shadow: 0 -6px 30px -10px rgba(40, 50, 110, .25), var(--shadow); }
html[data-theme="dark"] .composer .glass { background: #20243e; }
.reply-to { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 2px 8px 6px; }
.reply-to b { color: var(--accent); }
html[data-theme="dark"] .reply-to b { color: #9cc0ff; }
.reply-to button { font-size: 16px; color: var(--muted); width: 26px; height: 26px; border-radius: 50%; }
.comp-row { display: flex; align-items: flex-end; gap: 8px; }
.comp-row textarea {
  flex: 1; min-height: 42px; max-height: 120px; resize: none; border: 1px solid var(--line); background: var(--input);
  border-radius: 16px; padding: 9px 12px; line-height: 1.6; outline: none; font-size: 14.5px;
}
.comp-row textarea:focus { border-color: rgba(var(--accent-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14); }
.send {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 8px 18px -8px rgba(var(--accent-rgb), .8); transition: transform .15s, opacity .2s;
  font-size: 13px; font-weight: 700;
}
.send:active { transform: scale(.9); }
.send[disabled] { opacity: .45; }
.send svg { width: 20px; height: 20px; }
.comp-info { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); padding: 4px 10px 0; }
.comp-info .over { color: var(--danger); font-weight: 700; }
.banned-note { text-align: center; padding: 12px; font-size: 13.5px; color: var(--danger); }

/* sheet */
.backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(15, 20, 45, .32); animation: fade .2s both; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; z-index: 51; left: 50%; bottom: 0; transform: translateX(-50%); width: min(480px, 100%);
  padding: 8px 14px calc(16px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; animation: up .3s cubic-bezier(.2, .9, .3, 1) both;
  background: var(--glass-strong);
}
@keyframes up { from { transform: translate(-50%, 100%); } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 2px auto 10px; }
.sheet h3 { margin: 0 0 10px; font-size: 15px; text-align: center; }
.sheet p { margin: 0 0 14px; color: var(--muted); text-align: center; font-size: 14px; }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.emoji-btn { height: 52px; border-radius: 16px; font-size: 26px; background: var(--chip); border: 1px solid var(--line); transition: transform .15s; }
.emoji-btn:active { transform: scale(.88); }
.emoji-btn.on { background: rgba(var(--accent-rgb), .15); border-color: rgba(var(--accent-rgb), .55); }
.sheet-actions { display: flex; gap: 8px; }
.sheet-actions .btn { flex: 1; }

/* buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 14px;
  font-weight: 700; font-size: 14.5px; background: var(--chip); border: 1px solid var(--line); white-space: nowrap; transition: transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, #1a6dff, #4a90ff); color: #fff; border: 0; box-shadow: 0 10px 22px -10px rgba(26, 109, 255, .85); }
.btn.danger { color: var(--danger); }
.btn.danger.solid { background: var(--danger); color: #fff; border: 0; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; }

.panel { padding: 16px; }
.panel h2 { margin: 0 0 4px; font-size: 17px; }
.panel .sub { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label, .field > .lbl { font-weight: 700; font-size: 13.5px; }
.field .hint { font-size: 12px; color: var(--faint); }
.inp {
  width: 100%; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--input); padding: 0 12px; outline: none;
  font-size: 14.5px;
}
textarea.inp { height: auto; min-height: 72px; padding: 9px 12px; resize: none; line-height: 1.6; }
.inp:focus { border-color: rgba(26, 109, 255, .55); box-shadow: 0 0 0 3px rgba(26, 109, 255, .13); }
.inp.ltr { direction: ltr; text-align: left; }
.inp-prefix { position: relative; }
.inp-prefix span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); direction: ltr; }
.inp-prefix .inp { padding-left: 28px; }
select.inp { -webkit-appearance: none; appearance: none; padding-left: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a90aa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: left 13px center; background-size: 12px 8px; background-repeat: no-repeat; }

.pick-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.pick { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--chip); border: 1.5px solid var(--line); transition: transform .15s; }
.pick.on { border-color: #1a6dff; background: rgba(26, 109, 255, .13); transform: scale(1.04); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--glass-strong); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35); position: relative; }
.swatch.on { outline: 2.5px solid currentColor; outline-offset: 2px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row .grow { flex: 1; min-width: 0; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: rgba(120, 128, 160, .35); transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .22s cubic-bezier(.3, 1.4, .5, 1); }
.switch input:checked + .track { background: linear-gradient(135deg, #1a6dff, #4a90ff); }
.switch input:checked + .track::after { transform: translateX(-20px); }
.divider { height: 1px; background: var(--line); margin: 4px 0 14px; }
.sub-field { margin-top: 10px; }

/* admin */
.page-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.page-title h1 { margin: 0; font-size: 20px; font-weight: 800; }
.idchip { font-size: 12px; color: var(--muted); background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.idchip bdi { font-weight: 700; color: var(--text); }
.space-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; color: #fff; text-align: right; width: 100%;
  background: linear-gradient(135deg, var(--c1, #1a6dff), var(--c2, #4a90ff)); box-shadow: 0 18px 34px -16px var(--cs, rgba(26, 109, 255, .7)); position: relative; overflow: hidden; transition: transform .2s; }
.space-card:active { transform: scale(.98); }
.space-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .25), transparent 50%); }
.space-card .ch-avatar { position: relative; }
.space-card .info { flex: 1; min-width: 0; position: relative; }
.space-card .nm { font-weight: 800; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.space-card .stats { font-size: 12.5px; opacity: .92; }
.space-card .pend { position: relative; background: #fff; color: var(--danger); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.dash-head { padding: 14px; border-radius: 20px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #1a6dff), var(--c2, #4a90ff)); box-shadow: 0 20px 40px -16px var(--cs, rgba(26, 109, 255, .7)); }
.dash-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .25), transparent 50%); pointer-events: none; }
.dash-head .top { display: flex; align-items: center; gap: 10px; position: relative; }
.dash-head .back { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font-size: 18px; flex: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; position: relative; }
.stat { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 6px 8px; text-align: center; }
.stat b { display: block; font-size: 18px; line-height: 1.4; }
.stat span { font-size: 11.5px; opacity: .9; }
.subtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.subtabs::-webkit-scrollbar { display: none; }
.subtab { padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.subtab.on { background: linear-gradient(135deg, #1a6dff, #4a90ff); color: #fff; border-color: transparent; }
.subtab .cnt { display: inline-block; min-width: 18px; margin-inline-start: 4px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.thread-item { padding: 12px 14px; }
.thread-item .t { font-weight: 700; font-size: 14.5px; overflow-wrap: break-word; }
.thread-item .m { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.thread-item .btns { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.share-box { padding: 14px; border: 1.5px dashed rgba(26, 109, 255, .45); }
.share-box .lbl { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.mono { direction: ltr; text-align: left; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; overflow-wrap: anywhere; }
.line-preview { direction: rtl; text-align: right; font-family: inherit; unicode-bidi: plaintext; }
.copy-row { display: flex; gap: 6px; align-items: stretch; margin-bottom: 10px; }
.copy-row .mono { flex: 1; min-width: 0; }
.q-item { padding: 12px; }
.q-item .ctx { font-size: 12px; color: var(--muted); margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-item .btns { display: flex; gap: 6px; margin-top: 8px; }
.q-item .btns .btn { flex: 1; }
.btn.ok { color: var(--ok); }
.person { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.person .grow { min-width: 0; }
.person .nm { font-weight: 700; font-size: 14px; }
.person .id { font-size: 12px; color: var(--muted); direction: ltr; text-align: right; }
.section-title { font-size: 13.5px; font-weight: 800; color: var(--muted); margin: 6px 4px 0; }

.toast {
  position: fixed; z-index: 60; left: 50%; top: 14px; transform: translate(-50%, -140%); max-width: calc(100% - 32px);
  padding: 10px 16px; border-radius: 14px; background: rgba(20, 26, 52, .9); color: #fff; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), visibility 0s .35s; text-align: center; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.toast.err { background: rgba(190, 30, 70, .94); }
.skeleton { height: 90px; border-radius: var(--r); background: linear-gradient(90deg, var(--chip), var(--glass-strong), var(--chip)); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
.noscript { text-align: center; padding: 40px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
