:root {
  --bg: #eef1f4; --panel: #fff; --text: #14202b; --muted: #6b7a88; --line: #e4e9ee; --soft: #f4f6f8;
  --brand: #0f766e; --brand-d: #0b5c56; --me: #d9f3ef; --them: #eef1f4;
  --red: #dc2626; --green: #16a34a; --shadow: 0 10px 40px rgba(0, 0, 0, .15);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070b0e; --panel: #121b22; --text: #e8eef3; --muted: #8b9ba8; --line: #22303a; --soft: #19252e;
    --brand: #14b8a6; --brand-d: #0f9d8e; --me: #134e48; --them: #1f2c35; --shadow: 0 10px 40px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070b0e; --panel: #121b22; --text: #e8eef3; --muted: #8b9ba8; --line: #22303a; --soft: #19252e;
  --brand: #14b8a6; --brand-d: #0f9d8e; --me: #134e48; --them: #1f2c35; --shadow: 0 10px 40px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali", "Kalpurush", sans-serif;
  -webkit-text-size-adjust: 100%; overscroll-behavior: none;
}
button, input { font: inherit; color: inherit; }
input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
button { cursor: pointer; border: 0; border-radius: 12px; padding: 10px 14px; background: transparent; }
button:disabled { opacity: .5; cursor: default; }
button.primary { background: var(--brand); color: #fff; font-weight: 600; }
button.primary:hover { background: var(--brand-d); }
button.wide { width: 100%; padding: 12px; }
.muted { color: var(--muted); font-size: .88rem; }
.err { color: var(--red); min-height: 1.4em; margin: 10px 0 0; }
.notice { background: #fef3c7; color: #78350f; padding: 8px 12px; border-radius: 10px; font-size: .92rem; }
svg.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }

/* Log in */
#auth { min-height: 100%; display: grid; place-items: center; padding: 16px; }
.card { width: 100%; max-width: 380px; background: var(--panel); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.card h1 { margin: 0; font-size: 1.5rem; color: var(--brand); }
.sub { margin: 2px 0 16px; color: var(--muted); }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; background: var(--soft); padding: 4px; border-radius: 12px; }
.tabs button { flex: 1; color: var(--muted); }
.tabs button.on { background: var(--panel); color: var(--text); font-weight: 600; }
.card label { display: block; margin-bottom: 12px; font-size: .9rem; color: var(--muted); }
.card label input { margin-top: 4px; color: var(--text); }

/* Phone frame */
#app { position: relative; height: 100%; height: 100dvh; max-width: 480px; margin: 0 auto; background: var(--panel); display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 540px) {
  body { display: grid; place-items: center; }
  #app { height: min(880px, 100dvh - 32px); width: 420px; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
}
#banner { background: #fef3c7; color: #78350f; padding: 8px 14px; font-size: .9rem; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
#banner button { padding: 2px 8px; color: inherit; font-size: 1.2rem; line-height: 1; }
#screens { flex: 1; min-height: 0; position: relative; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; overflow-y: auto; }
.vh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 8px; flex: none; }
.vh h2 { margin: 0; font-size: 1.5rem; }
.vh-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem; color: var(--brand); }
.icon-btn:hover { background: var(--soft); }
.icon-btn.green { background: var(--green); color: #fff; }
.chips { display: flex; background: var(--soft); border-radius: 999px; padding: 3px; }
.chip { padding: 4px 12px; border-radius: 999px; font-size: .85rem; color: var(--muted); }
.chip.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* Bottom tab bar */
#tabbar { display: flex; flex: none; border-top: 1px solid var(--line); background: var(--panel); padding-bottom: env(safe-area-inset-bottom); }
#tabbar button { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 2px 7px; border-radius: 0; font-size: .72rem; color: var(--muted); }
#tabbar button.on { color: var(--brand); font-weight: 600; }
#tabbar .ti { font-size: 1.4rem; line-height: 1; }
.badge { background: var(--red); color: #fff; border-radius: 999px; min-width: 18px; height: 18px; padding: 0 5px; font-size: .7rem; font-style: normal; font-weight: 700; display: inline-grid; place-items: center; }
#tabbar .badge { position: absolute; top: 3px; left: calc(50% + 6px); }

/* Keypad */
#dialform { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 12px 20px 8px; }
.dial-top { width: 100%; }
#dial-input { text-align: center; font-size: 2.1rem; letter-spacing: .12em; border: 0; background: transparent; padding: 14px 4px 2px; font-variant-numeric: tabular-nums; }
#dial-input::placeholder { font-size: 1.2rem; letter-spacing: 0; color: var(--muted); }
#dial-input:focus-visible { outline: none; }
.dial-info { min-height: 1.6em; color: var(--brand); font-weight: 600; text-align: center; }
.dial-sug { min-height: 2.2em; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 6px; }
.dial-sug button { background: var(--soft); padding: 3px 12px; border-radius: 999px; font-size: .85rem; }
.pad { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px 22px; justify-content: center; margin: auto 0; padding-bottom: 8px; }
.key { width: 76px; height: 76px; border-radius: 50%; background: var(--soft); font-size: 1.9rem; padding: 0; display: grid; place-items: center; user-select: none; touch-action: manipulation; }
.key:active { background: var(--line); }
.key.side { background: transparent; font-size: 1.6rem; color: var(--muted); }
.key.callkey { background: var(--green); color: #fff; font-size: 1.9rem; }
.key.callkey:active { background: #12823d; }
@media (max-height: 640px) { .pad { gap: 8px 18px; grid-template-columns: repeat(3, 62px); } .key { width: 62px; height: 62px; font-size: 1.6rem; } #dial-input { font-size: 1.7rem; } }

/* Lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; border-bottom: 1px solid var(--line); }
.list li:hover { background: var(--soft); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; position: relative; }
.avatar.big { width: 88px; height: 88px; font-size: 2.2rem; margin: 0 auto 8px; }
.avatar.huge { width: 112px; height: 112px; font-size: 2.8rem; margin: 0 auto 14px; }
.avatar .dot { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid var(--panel); }
.l-main { flex: 1; min-width: 0; }
.l-main b, .l-main span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-main span { font-size: .85rem; color: var(--muted); }
.l-main span.red, .red-t { color: var(--red); }
.l-side { text-align: right; font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.l-btn { width: 38px; height: 38px; padding: 0; border-radius: 50%; font-size: 1.15rem; color: var(--brand); display: grid; place-items: center; flex: none; }
.l-btn:hover { background: var(--line); }
.dir { font-size: .95rem; margin-right: 2px; }
.dir.in { color: var(--green); } .dir.out { color: var(--brand); } .dir.miss { color: var(--red); }
.empty { text-align: center; color: var(--muted); padding: 40px 24px; margin: 0; }
.more { margin: 10px auto; color: var(--brand); }
.search { padding: 4px 16px 10px; flex: none; }
.pad-x { padding: 0 16px; }

/* Me */
.me-card { text-align: center; padding: 28px 16px 12px; }
.me-card h2 { margin: 4px 0 0; }
.me-number { font-size: 1.7rem; font-weight: 700; letter-spacing: .1em; color: var(--brand); font-variant-numeric: tabular-nums; }
.menu { list-style: none; margin: 12px 16px; padding: 0; background: var(--soft); border-radius: 16px; overflow: hidden; }
.menu li + li { border-top: 1px solid var(--line); }
.menu button, .menu a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; border-radius: 0; color: var(--text); text-decoration: none; }
.menu .danger { color: var(--red); }
.menu .ic { font-size: 1.2rem; color: var(--brand); } .menu .danger .ic { color: var(--red); }

/* Overlays (chat, blocklist, wallet) */
.overlay { position: absolute; inset: 0; z-index: 20; background: var(--panel); display: flex; flex-direction: column; overflow-y: auto; }
.oh { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); flex: none; background: var(--panel); position: sticky; top: 0; z-index: 2; }
.oh h2 { margin: 0; font-size: 1.2rem; }
.who { flex: 1; min-width: 0; text-align: left; line-height: 1.25; padding: 4px 8px; }
.who b, .who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blocked-bar { background: #fee2e2; color: #7f1d1d; padding: 8px 14px; display: flex; justify-content: space-between; align-items: center; font-size: .9rem; flex: none; }
.blocked-bar button { color: #7f1d1d; text-decoration: underline; padding: 2px 6px; }
#chat { overflow: hidden; }
#msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: var(--soft); }
.msg { max-width: min(78%, 520px); padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--panel); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--me); border-radius: 16px 16px 4px 16px; }
.msg time { display: block; font-size: .68rem; color: var(--muted); margin-top: 2px; text-align: right; }
#composer { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; }
#composer input { flex: 1; min-width: 0; border-radius: 999px; padding: 11px 16px; }
.send { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; padding: 0; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.inline-form { display: flex; gap: 8px; padding: 12px 16px; }
.inline-form input { flex: 1; min-width: 0; }

/* Bottom sheet */
#sheet-wrap { position: absolute; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0); display: flex; align-items: flex-end; transition: background .2s; }
#sheet-wrap.open { background: rgba(0, 0, 0, .45); }
#sheet { width: 100%; max-height: 88%; overflow-y: auto; background: var(--panel); border-radius: 22px 22px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(40px); opacity: 0; transition: .2s; }
#sheet-wrap.open #sheet { transform: none; opacity: 1; }
.sh-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sh-head b { font-size: 1.15rem; display: block; }
.sh-actions { display: flex; gap: 10px; margin-bottom: 8px; }
.act { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; background: var(--soft); border-radius: 14px; font-size: .85rem; }
.act .ic { font-size: 1.4rem; color: var(--brand); }
.sh-list { list-style: none; margin: 8px 0 0; padding: 0; }
.sh-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; text-align: left; border-radius: 0; border-top: 1px solid var(--line); }
.sh-list .ic { color: var(--brand); font-size: 1.15rem; } .sh-list .danger { color: var(--red); } .sh-list .danger .ic { color: var(--red); }
#sheet h3 { margin: 0 0 12px; }
#sheet label { display: block; margin-bottom: 12px; font-size: .88rem; color: var(--muted); }
#sheet label input { margin-top: 4px; color: var(--text); }
.row-btns { display: flex; gap: 10px; margin-top: 6px; }
.row-btns button { flex: 1; padding: 12px; background: var(--soft); }
.row-btns .primary { background: var(--brand); }

/* Call screen */
#callui { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; background: linear-gradient(180deg, #0c1a20, #0a2a2a); color: #fff; padding: 16px; }
.call-card { text-align: center; width: 100%; max-width: 360px; }
.call-card h2 { margin: 0; font-size: 1.6rem; }
.call-card .muted { color: #9fb0bd; margin: 2px 0 8px; }
.call-card .avatar { box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); }
#call-status { font-size: 1.15rem; min-height: 1.7em; font-variant-numeric: tabular-nums; }
.call-actions { display: flex; justify-content: center; gap: 30px; margin-top: 34px; }
.round { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.8rem; display: grid; place-items: center; padding: 0; }
.round.red { background: var(--red); } .round.green { background: var(--green); }
.round.off { background: #fff; color: #111; }
#c-hang .ic, #c-reject .ic { transform: rotate(135deg); }
.call-labels { margin-top: 8px; color: #9fb0bd; font-size: .8rem; }
.ringing .avatar { animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); } 100% { box-shadow: 0 0 0 30px rgba(20, 184, 166, 0); } }
@media (prefers-reduced-motion: reduce) { .ringing .avatar { animation: none; } #sheet, #sheet-wrap { transition: none; } }

#toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: #1f2c35; color: #fff; padding: 10px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Balance chip on the keypad */
.bal-chip { display: flex; align-items: center; gap: 8px; margin: 4px auto 0; padding: 6px 14px; border-radius: 999px; background: var(--soft); font-size: .88rem; }
.bal-chip .ic { font-size: 1.05rem; color: var(--brand); }
.bal-chip b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.bal-chip span { color: var(--muted); }
.bal-chip.low { background: #fef3c7; } .bal-chip.low span, .bal-chip.low b { color: #92400e; }

/* Wallet */
.wallet-scroll { overflow-y: auto; flex: 1; padding-bottom: 24px; }
.w-card { margin: 14px 16px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, var(--brand), #0b5c56); color: #fff; text-align: center; }
.w-card .muted { color: rgba(255, 255, 255, .82); }
.w-balance { font-size: 2.4rem; font-weight: 700; margin: 4px 0; font-variant-numeric: tabular-nums; }
.w-section { padding: 0 16px; margin-bottom: 18px; }
.w-section h3 { margin: 8px 0; }
.w-section .list { margin: 0 -16px; }
#w-form label { display: block; margin-bottom: 12px; font-size: .88rem; color: var(--muted); }
#w-form label input { margin-top: 4px; color: var(--text); }
.pre { white-space: pre-wrap; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--soft); color: var(--muted); }
.pill.pending { background: #fef3c7; color: #92400e; } .pill.approved { background: #dcfce7; color: #166534; } .pill.rejected { background: #fee2e2; color: #991b1b; }
.tx-amt { text-align: right; } .tx-amt b, .tx-amt span { display: block; }
.tx-amt span { font-size: .75rem; }
.green-t { color: var(--green); }
.linkbtn { display: block; margin-left: auto; padding: 2px 0; font-size: .8rem; color: var(--red); text-decoration: underline; }
.call-cost { min-height: 1.5em; margin: 4px 0 0; color: #9fb0bd; font-size: .95rem; font-variant-numeric: tabular-nums; }
.call-cost.warn { color: #fbbf24; font-weight: 600; }

/* ---- Video calls ---- */
#callui.video { padding: 0; background: #000; }
#callui.video .call-card { position: absolute; inset: 0; max-width: none; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
#remote-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
#local-video { position: absolute; top: 14px; right: 14px; width: 28%; max-width: 130px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: #111; border: 2px solid rgba(255, 255, 255, .5); transform: scaleX(-1); z-index: 2; }
#callui.video .avatar.huge, #callui.video.live #call-name, #callui.video.live #call-num { display: none; }
#callui.video .call-card > * { position: relative; z-index: 2; }
#callui.video #call-status, #callui.video #call-cost, #callui.video #call-name { text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
#callui.video .call-actions { margin-top: 14px; }
#callui.video.live .call-card { background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 40%); }
.round.sm { width: 56px; height: 56px; font-size: 1.4rem; }

/* ---- Call waiting ---- */
#waiting { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 5; background: #1f2c35; color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); }
#waiting .w-text { flex: 1; min-width: 0; font-size: .92rem; }
#waiting .w-text b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#waiting button { padding: 8px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff; }
#waiting .decline { background: var(--red); } #waiting .accept { background: var(--green); }

/* ---- Chat media ---- */
.msg.media { padding: 4px; }
.msg.media .cap { padding: 4px 8px 0; white-space: pre-wrap; }
.msg.media time { padding: 0 8px 2px; }
.msg img.pic { display: block; max-width: 100%; max-height: 260px; border-radius: 12px; cursor: zoom-in; background: var(--soft); }
.msg audio { display: block; width: 230px; max-width: 100%; height: 38px; }
.msg .file { display: flex; align-items: center; gap: 10px; padding: 6px 8px; color: inherit; text-decoration: none; }
.msg .file .ic { font-size: 1.6rem; color: var(--brand); flex: none; }
.msg .file b { display: block; overflow-wrap: anywhere; font-weight: 600; }
.msg .file span { font-size: .75rem; color: var(--muted); }
.msg .who-n { display: block; font-size: .75rem; font-weight: 700; color: var(--brand); margin-bottom: 1px; }
.msg.media .who-n { padding: 2px 8px 0; }
.ticks { margin-left: 4px; letter-spacing: -2px; }
.ticks.read { color: #38bdf8; }
#composer .icon-btn { flex: none; color: var(--muted); width: 40px; height: 44px; border-radius: 12px; }
#composer.off .attach, #composer.off .mic { display: none; }
#lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 10px; }
#lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
#lightbox button { position: absolute; top: 10px; right: 10px; color: #fff; font-size: 1.6rem; width: 44px; height: 44px; padding: 0; background: rgba(255, 255, 255, .15); border-radius: 50%; }
.typing { color: var(--green) !important; font-style: italic; }

/* ---- Voice recorder sheet ---- */
.rec { text-align: center; }
.rec .rec-time { font-size: 2.2rem; font-weight: 700; font-variant-numeric: tabular-nums; margin: 10px 0; }
.rec .rec-btn { width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.9rem; display: grid; place-items: center; padding: 0; margin: 0 auto; }
.rec .rec-btn.on { animation: pulse2 1.2s infinite; }
@keyframes pulse2 { 0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .55); } 100% { box-shadow: 0 0 0 22px rgba(220, 38, 38, 0); } }
.rec audio { width: 100%; margin: 6px 0; }

/* ---- Groups, settings, voucher ---- */
.avatar.group { background: var(--brand); }
.seg { display: flex; background: var(--soft); border-radius: 999px; padding: 3px; margin: 0 16px 6px; flex: none; }
.seg button { flex: 1; padding: 6px; border-radius: 999px; font-size: .88rem; color: var(--muted); }
.seg button.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.menu .row-set { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; }
.menu .row-set > span { display: flex; align-items: center; gap: 12px; }
.menu .mini { display: flex; background: var(--panel); border-radius: 999px; padding: 2px; }
.menu .mini button { width: auto; padding: 4px 10px; border-radius: 999px; font-size: .8rem; color: var(--muted); display: block; }
.menu .mini button.on { background: var(--brand); color: #fff; font-weight: 600; }
.auth-tools { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 8px; }
.auth-tools .mini { display: flex; background: var(--soft); border-radius: 999px; padding: 2px; }
.auth-tools .mini button { padding: 3px 10px; border-radius: 999px; font-size: .78rem; color: var(--muted); }
.auth-tools .mini button.on { background: var(--brand); color: #fff; }
.members li { cursor: default; }
.tag-owner { font-size: .7rem; background: var(--soft); padding: 1px 8px; border-radius: 999px; color: var(--muted); }
#v-form { display: flex; gap: 8px; }
#v-form input { text-transform: uppercase; letter-spacing: .08em; }
#v-form button { flex: none; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 12px; font-size: .92rem; }
.toggle-row input { width: auto; }
.call-labels { display: none; }

/* In-call extras */
.call-actions.extra { margin-top: 18px; gap: 18px; }
.round.on { background: var(--brand); color: #fff; }
.call-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; min-height: 8px; }
.note-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: .8rem; }
.note-pill.rec { background: rgba(220, 38, 38, .85); }
.note-pill button { background: none; border: 0; color: inherit; padding: 0; line-height: 0; }
.note-pill .ic { width: 14px; height: 14px; }
.btn-link { display: inline-block; text-decoration: none; text-align: center; padding: 10px 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; }
