:root {
  --bg: #0f1115;
  --fg: #ffffff;
  --fg-dim: rgba(255, 255, 255, .72);
  --fg-faint: rgba(255, 255, 255, .45);
  --surface: rgba(255, 255, 255, .14);
  --surface-strong: rgba(255, 255, 255, .24);
  --green: #07c160;
  --red: #fa5151;
  --accent: #2f7cf6;
  --page: #f4f6f9;
  --ink: #1d2129;
  --ink-dim: #6b7280;
  --card: #ffffff;
  --line: #e5e7eb;
  --radius: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
[hidden] { display: none !important; }   /* 防止 display:flex 等样式盖掉 hidden 属性 */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------------ 首页 */
.home { min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--safe-top) + 16px) 16px calc(var(--safe-bottom) + 20px); max-width: 560px; margin: 0 auto; }
.home .hero { position: relative; border-radius: 20px; padding: 20px 18px 18px; overflow: hidden;
  background: linear-gradient(135deg, #e6f6ee 0%, #eaf2fe 62%, #f3f6fb 100%); box-shadow: 0 6px 20px rgba(31, 95, 209, .06); }
.home .hero::after { content: ""; position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); pointer-events: none; }
.home .profile { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; }
.home .ava-wrap { position: relative; flex: none; }
.home .profile img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.10); display: block; }
.home .online { position: absolute; right: 3px; bottom: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2.5px solid #fff; }
.home .profile h1 { font-size: 22px; font-weight: 650; letter-spacing: .5px; }
.home .profile h1 span { font-size: 15px; font-weight: 500; color: #4b5563; margin-left: 2px; }
.home .profile p { font-size: 13px; color: #4b5563; margin-top: 3px; }
.home .badge { display: inline-block; margin-top: 7px; font-size: 11px; font-weight: 500; color: #12813f; background: rgba(7,193,96,.12); padding: 2px 8px; border-radius: 999px; }
.home .intro { position: relative; z-index: 1; margin-top: 14px; font-size: 13.5px; line-height: 1.75; color: #4b5563; }
.home .tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.home .tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.8); color: #1f5fd1; border: 1px solid rgba(31,95,209,.12); }
.home .entries { margin-top: 16px; display: grid; gap: 12px; }
.entry { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: 0 2px 12px rgba(17, 24, 39, .05); border: 1px solid rgba(17,24,39,.04);
  transition: transform .12s ease, box-shadow .12s ease; -webkit-tap-highlight-color: transparent; }
.entry:active { transform: scale(.98); box-shadow: 0 1px 6px rgba(17, 24, 39, .06); }
.entry .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.entry .ico svg { width: 26px; height: 26px; fill: #fff; }
.entry.chat .ico { background: linear-gradient(140deg, #2bd47d, #06ad56); box-shadow: 0 6px 14px rgba(7,193,96,.28); }
.entry.assess .ico { background: linear-gradient(140deg, #5b9bff, #2366e8); box-shadow: 0 6px 14px rgba(47,124,246,.28); }
.entry h2 { font-size: 17px; font-weight: 600; }
.entry p { font-size: 13px; color: var(--ink-dim); margin-top: 3px; line-height: 1.5; }
.entry .go { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #f3f4f6; display: grid; place-items: center; }
.entry .go svg { width: 16px; height: 16px; fill: none; stroke: #9ca3af; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.home .avatar-pick { margin-top: 18px; }
.home .avatar-pick h3 { font-size: 13px; font-weight: 500; color: var(--ink-dim); margin: 0 2px 8px; }
.home .picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home .pick { position: relative; display: block; padding: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(17,24,39,.05); transition: border-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.home .pick img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 8%; background: #f3f4f6; }
.home .pick span { display: block; padding: 8px 0 9px; font-size: 14px; font-weight: 500; color: var(--ink-dim); text-align: center; }
.home .pick .check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; box-shadow: 0 2px 6px rgba(7,193,96,.4); }
.home .pick .check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.home .pick[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 4px 14px rgba(7,193,96,.16); }
.home .pick[aria-pressed="true"] span { color: #12813f; }
.home .pick[aria-pressed="true"] .check { opacity: 1; transform: none; }
.home .note { margin-top: auto; padding-top: 20px; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.65; color: #8a919c; }
.home .note svg { width: 15px; height: 15px; fill: #b0b6bf; flex: none; margin-top: 2px; }

/* ------------------------------------------------------------------ 通话页 */
.call { position: fixed; inset: 0; background: var(--bg); color: var(--fg); overflow: hidden; }
.call .stage { position: absolute; inset: 0; }
.call .stage video.bg { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; object-position: 50% 80%; filter: blur(22px); }
.call .stage video.fg { position: absolute; object-fit: cover; background: transparent; -webkit-mask-image: linear-gradient(transparent, #000 8%); mask-image: linear-gradient(transparent, #000 8%); }
.call .stage { z-index: 0; }   /* 形象区单独成层，里面的层级不影响字幕和按钮 */
.call .stage video.bg, .call .stage img.cartoon-bg { z-index: 0; }
.call .stage canvas.extend { position: absolute; z-index: 1; filter: blur(1px); }
.call .stage video.fg, .call .stage canvas.live, .call .stage canvas.cartoon-gl, .call .stage canvas.cartoon-mouth { z-index: 2; }
/* 真人：高清原图做底；头肩区域叠 FlashHead 画面，椭圆柔边融合（头、脖子完整显示，往肩膀和四周渐隐到底图） */
.call .stage img.base { position: absolute; z-index: 2; display: block; -webkit-mask-image: linear-gradient(transparent, #000 8%); mask-image: linear-gradient(transparent, #000 8%); }
.call .stage video.head, .call .stage canvas.live.head { z-index: 3;
  -webkit-mask-image: radial-gradient(ellipse 50% 56% at 50% 42%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 56% at 50% 42%, #000 72%, transparent 100%); }
.call .stage canvas.live { position: absolute; opacity: 0; transition: opacity .25s; -webkit-mask-image: linear-gradient(transparent, #000 8%); mask-image: linear-gradient(transparent, #000 8%); }
.call .stage canvas.live.on { opacity: 1; transition: opacity .06s; }
/* 真人形象诊室背景（bg=clinic）：背景铺满；底图是抠好的透明半身照；头肩层按人像轮廓遮罩，外沿一圈用 darken 再叠一层，白底变成墙 */
.call .stage.clinic img.clinic-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: 1; }
.call .stage.clinic img.base { -webkit-mask-image: none; mask-image: none; }
.call .stage.clinic img.clinic-patch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  z-index: 2; display: none; -webkit-mask-image: url(/media/head_hole.png); mask-image: url(/media/head_hole.png);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.call .stage.clinic.headon img.clinic-patch { display: block; }
.call .stage.clinic video.head, .call .stage.clinic canvas.live.head {
  -webkit-mask-image: url(/media/head_inner.png); mask-image: url(/media/head_inner.png);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.call .stage.clinic canvas.band { position: absolute; z-index: 4; pointer-events: none; mix-blend-mode: darken;
  -webkit-mask-image: url(/media/head_band.png); mask-image: url(/media/head_band.png);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.call .stage video, .call .stage img.full { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; background: #f6f6f6; }
.call .shade-top { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(rgba(0,0,0,.35), transparent); pointer-events: none; }
/* 底部只在按钮和字幕附近轻压一点，不盖住医生的衣服 */
.call .shade-bottom { display: none; }   /* 不再用整片蒙版：字幕靠描边、按钮靠自带圆底保证可读 */

.call .topbar { position: absolute; top: calc(var(--safe-top) + 10px); left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; }
.call .topbar .who { font-size: 16px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.call .topbar .timer { font-size: 13px; color: var(--fg-dim); font-variant-numeric: tabular-nums; }
.call .topbar .spacer { flex: 1; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.3); }
.icon-btn svg { width: 18px; height: 18px; fill: #fff; }
/* 医生声音大小（安卓微信里音量键调不了网页声音） */
.call .volbar { position: absolute; top: calc(var(--safe-top) + 54px); right: 16px; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: 26px; background: rgba(0,0,0,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.call .volbar[hidden] { display: none; }
.call .volbar button { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff;
  font-size: 24px; line-height: 1; display: grid; place-items: center; }
.call .volbar button:active { background: rgba(255,255,255,.32); }
.call .volbar button:disabled { opacity: .35; }
.call .vol-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.call .vol-steps { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.call .vol-steps i { width: 6px; border-radius: 2px; background: rgba(255,255,255,.28); }
.call .vol-steps i.on { background: #fff; }
.call .vol-lbl { font-size: 11px; color: rgba(255,255,255,.8); }

.call .progress { position: absolute; top: calc(var(--safe-top) + 52px); left: 16px; right: 16px; display: none; }
.call .progress .bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.call .progress .bar i { display: block; height: 100%; width: 0; background: #fff; transition: width .4s; }
.call .progress .label { font-size: 12px; color: var(--fg-dim); margin-top: 6px; }
.call.assess .progress { display: block; }

/* 认知问卷选项卡片：在字幕和底部按钮之间；出现时字幕往上让 */
.call .pick { position: absolute; left: 10px; right: 10px; bottom: calc(var(--safe-bottom) + 124px); z-index: 4;
  padding: 10px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 4px 18px rgba(0,0,0,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #2b2f36; }
.call .pick[hidden] { display: none; }
/* 医生说完才从下往上弹出；点选后收回 */
.call .pick { transform: translateY(calc(100% + 140px)); opacity: 0; pointer-events: none;
  transition: transform .36s cubic-bezier(.2,.9,.3,1.12), opacity .22s ease; }
.call .pick.show { transform: none; opacity: 1; pointer-events: auto; }
.call .subs { transition: bottom .3s ease; }
@media (prefers-reduced-motion: reduce) { .call .pick, .call .subs { transition: none; } }
.call.has-pick .subs { max-height: 16vh; }   /* bottom 由 call.js Pick.fit() 按卡片实际高度设置 */
.call .pick-q { font-size: 16px; font-weight: 600; line-height: 1.4; padding: 0 6px 8px; }
.call .pick-q .pre { display: block; font-size: 12px; font-weight: 400; color: #6b7280; }
.call .pick-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }   /* 3 列 × 2 行，按钮大、标签两行 */
.call .pick .opt { display: flex; align-items: center; gap: 8px; padding: 8px 8px; min-height: 56px; border-radius: 12px; text-align: left;
  font-size: 14px; line-height: 1.3; color: #2b2f36; background: var(--fbg); border: 1.5px solid transparent; touch-action: manipulation; }
.call .pick .opt:active { filter: brightness(.95); }
.call .pick .opt svg { flex: none; width: 32px; height: 32px; fill: none; stroke: var(--fc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call .pick .opt svg .dot { fill: var(--fc); stroke: none; }
.call .pick .opt svg .fill { fill: var(--fc); }
.call .pick .opt svg .ring { fill: #fff; }
.call .pick .opt.on { border-color: var(--fc); font-weight: 600; }
.call .pick .f-grin { --fc: #2f8f5b; --fbg: #e6f4ec; }
.call .pick .f-smile { --fc: #5d9e4a; --fbg: #edf5e8; }
.call .pick .f-flat { --fc: #6b7280; --fbg: #f0f1f3; }
.call .pick .f-frown { --fc: #c27a2c; --fbg: #fbf0e3; }
.call .pick .f-sad { --fc: #c4553b; --fbg: #fbe9e4; }
.call .pick .f-unsure { --fc: #8a919c; --fbg: #f3f4f6; }

/* 字幕只占底部三四行：越早的越淡，超过 4 行就移除 */
.call .subs { position: absolute; left: 16px; right: 16px; bottom: calc(var(--safe-bottom) + 136px); max-height: 21vh; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 24px); mask-image: linear-gradient(transparent, #000 24px); }
.call .subs.hidden { visibility: hidden; }
/* 字幕：深灰色小字、无描边无底色（落在白大褂上最清楚）；一圈很淡的白色柔光，经过领带等深色区域时托住字形 */
.line { font-size: 15px; line-height: 1.6; font-weight: 500; color: #2b2f36; letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(255,255,255,.85), 0 0 2px rgba(255,255,255,.9); }
.line.user { font-size: 13px; font-weight: 400; color: #5b6370; align-self: flex-end; text-align: right; max-width: 85%; }
.line.user.partial { color: #8a919c; }
.line.bot { max-width: 92%; }
.line.note { font-size: 12px; font-weight: 400; color: #8a919c; align-self: center; }
.line { transition: opacity .4s; }
.line:nth-last-child(2) { opacity: .75; }
.line:nth-last-child(3) { opacity: .5; }
.line:nth-last-child(n+4) { opacity: .28; }

.call .controls { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 30px); display: flex; justify-content: space-evenly; align-items: flex-start; }
.ctl { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-dim); min-width: 72px; }
.ctl { text-shadow: 0 1px 3px rgba(0,0,0,.7); color: #fff; }
.ctl .round { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,24,32,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .15s, background .2s; }
.ctl .round:active { transform: scale(.94); }
.ctl .round svg { width: 28px; height: 28px; fill: #fff; }
.ctl.on .round { background: #fff; }
/* 有两种状态的按钮（静音、暂停）：按状态换图标——静音显示带斜杠的麦克风，暂停后显示播放 */
.ctl .ico-on, .ctl.on .ico-off { display: none; }
.ctl.on .ico-on { display: block; }
.ctl.on .round svg { fill: #111; }
.ctl.hang .round { background: var(--red); }
.ctl.accept .round { background: var(--green); }
/* 通话中的底部按钮：基本透明（不盖住医生衣服），细描边 + 深灰图标，和字幕一个风格；挂断保持红色实心 */
.call .controls .ctl { color: #5b6370; text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 2px rgba(255,255,255,.9); }
.call .controls .ctl .round { background: rgba(255,255,255,.12); border: 1px solid rgba(43,47,54,.28);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 0 10px rgba(255,255,255,.35); }
.call .controls .ctl .round svg { fill: #2b2f36; }
.call .controls .ctl.on .round { background: rgba(43,47,54,.85); border-color: transparent; }
.call .controls .ctl.on .round svg { fill: #fff; }
.call .controls .ctl.hang .round { background: var(--red); border-color: transparent; box-shadow: 0 2px 8px rgba(250,81,81,.3); }
.call .controls .ctl.hang .round svg { fill: #fff; }

/* 来电 / 结束 覆盖层 */
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; background: rgba(15,17,21,.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: calc(var(--safe-top) + 14vh) 24px calc(var(--safe-bottom) + 40px); text-align: center; }
.overlay[hidden] { display: none; }
.overlay img.ava { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.overlay h2 { font-size: 24px; font-weight: 600; margin-top: 18px; }
.overlay p { font-size: 14px; color: var(--fg-dim); margin-top: 8px; line-height: 1.6; }
.overlay .mic-help { margin-top: 14px; max-width: 340px; text-align: left; font-size: 13px; line-height: 1.7; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 14px; }
.overlay .mic-help b { color: #ffd666; font-weight: 600; }
.overlay .mic-help ol { margin: 6px 0 0; padding-left: 18px; }
.overlay .mic-help .mic-reload { margin-top: 10px; width: 100%; padding: 8px; border: 0; border-radius: 8px; font: inherit; font-weight: 600; color: #111; background: #fff; }
.overlay .hint { margin-top: 18px; font-size: 12px; color: var(--fg-faint); max-width: 320px; }
/* 铃声被浏览器拦下时的提示：轻触任意处开始响 */
.overlay .ring-hint { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: #fff; background: rgba(255,255,255,.16); animation: ringPulse 1.6s ease-in-out infinite; }
.overlay .ring-hint svg { width: 15px; height: 15px; fill: #fff; }
@keyframes ringPulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.overlay .actions { margin-top: auto; display: flex; gap: 72px; }
.overlay .actions.col { flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
.btn { display: block; width: 100%; padding: 14px; border-radius: 12px; font-size: 16px; font-weight: 500; background: var(--surface-strong); text-align: center; }
.btn.primary { background: var(--green); }
.ring { animation: ring 1.6s ease-in-out infinite; }
@keyframes ring { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* 写实卡通 2.5D */
.call .stage img.cartoon-bg { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; object-position: 50% 85%; filter: blur(22px); }
.call .stage canvas.cartoon-gl, .call .stage canvas.cartoon-mouth { position: absolute; -webkit-mask-image: linear-gradient(transparent, #000 8%); mask-image: linear-gradient(transparent, #000 8%); }

/* 卡通形象动画（2.5D 加载失败时的立绘版本） */
.cartoon-wrap { position: absolute; inset: 0; overflow: hidden; background: #f7f7f5; }
.cartoon-wrap img { position: absolute; left: 50%; top: 0; height: 100%; min-width: 100%; object-fit: cover; object-position: 50% 15%; transform-origin: 50% 70%; transform: translateX(-50%); will-change: transform; }

/* ------------------------------------------------------------------ 后台 */
.admin { max-width: 720px; margin: 0 auto; padding: 24px 16px 80px; }
.admin h1 { font-size: 22px; }
.admin .sub { color: var(--ink-dim); font-size: 13px; margin-top: 6px; line-height: 1.6; }
.admin form { margin-top: 18px; display: grid; gap: 14px; }
.field { background: var(--card); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.field label { display: block; font-size: 14px; font-weight: 500; }
.field .meta { font-size: 12px; color: var(--ink-dim); margin-top: 3px; }
.field select, .field input[type=text], .field input[type=number], .field textarea { margin-top: 10px; width: 100%; font: inherit; font-size: 14px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; line-height: 1.6; resize: vertical; }
.field textarea.long { min-height: 360px; font-size: 13px; }
.field .range { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.field .range input { flex: 1; }
.field .range output { min-width: 48px; text-align: right; font-variant-numeric: tabular-nums; }
.field .row { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.admin .bar { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px 0; background: linear-gradient(transparent, var(--page) 30%); }
.admin .bar button { flex: 1; padding: 12px; border-radius: 10px; font-size: 15px; background: #e9ecf1; }
.admin .bar button.primary { background: var(--accent); color: #fff; }
.small-btn { padding: 7px 12px; border-radius: 8px; background: #e9ecf1; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: rgba(0,0,0,.8); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 9; }
.login { max-width: 360px; margin: 18vh auto 0; padding: 0 20px; }
.login input { width: 100%; margin: 16px 0 10px; padding: 12px; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; }
