/* BẢN MÔ PHỎNG — bảng màu chép từ app (src/renderer/src/assets/index.css).
   Riêng --ink-3: app dùng #78807a chỉ đạt 4,03 trên nền và 3,12 trên thẻ nổi
   (đo 16/09) → demo dùng #94a89a của web cho chữ mờ, không sửa bảng app. */
:root {
  --bg: #1b211c;
  --bg-deep: #141a15;
  --surface: #232b24;
  --surface-2: #2c352d;
  --line: #3a463c;
  --line-soft: #303a31;
  --ink: #eaeeeb;
  --ink-2: #abb3ad;
  --ink-3: #94a89a;
  --accent: #8cf05a;
  --accent-ink: #04120a;
  --ok: #63be86;
  --wait: #dba45c;
  --err: #ff7a70;
  --r: 12px;
  --r-lon: 16px;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}

/* Chữ dự phòng khớp số đo với Be Vietnam Pro (số lấy từ chính next/font của
   web) — lúc font thật tải xong chữ không đổi kích thước, hết nhảy bố cục. */
@font-face {
  font-family: 'Be Vietnam Pro Fallback';
  src: local('Arial');
  ascent-override: 90.61%;
  descent-override: 24.01%;
  line-gap-override: 0%;
  size-adjust: 110.36%;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg-deep);
  color: var(--ink);
  font: 14px/1.5 'Be Vietnam Pro', 'Be Vietnam Pro Fallback', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-width: 1180px; /* phần mềm máy tính — không bó vào điện thoại */
}
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
.mo { color: var(--ink-3); font-weight: 400; }
.mau-accent { color: var(--accent); }
.mau-ok { color: var(--ok); }
.mau-err { color: var(--err); }
:where(button, a, input, select, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Thanh trên ─────────────────────────────────────────────────────────── */
.thanh-tren {
  height: 40px; padding: 0 14px;
  display: flex; align-items: center; gap: 14px;
  background: #0f140f; border-bottom: 1px solid var(--line-soft);
  position: relative; z-index: 5;
}
.thanh-tren__ten { font-weight: 700; letter-spacing: -0.01em; }
.thanh-tren__phai { margin-left: auto; display: flex; gap: 8px; }
.huyhieu {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: rgb(219 164 92 / 0.14); color: #f3c98b; font-size: 12.5px; font-weight: 600;
}
.huyhieu i { width: 7px; height: 7px; border-radius: 50%; background: var(--wait); }
.chi-may-tinh { display: none; }
@media (max-width: 1180px) {
  .chi-may-tinh { display: block; margin: 0; padding: 8px 14px; background: rgb(219 164 92 / 0.14); color: #f3c98b; font-size: 13px; }
}

/* ── Khung app ──────────────────────────────────────────────────────────── */
.app { flex: 1; display: grid; grid-template-columns: 246px 1fr; min-height: 0; height: calc(100vh - 40px); }

.ben { background: var(--bg-deep); border-right: 1px solid var(--line-soft); padding: 14px 12px 12px; display: flex; flex-direction: column; }
.ben__logo { display: grid; place-items: center; padding: 8px 0 18px; }
.ben__logo img { width: 90px; height: 90px; border-radius: 18px; }
.ben__nhom { margin: 12px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.ben__muc {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 14px; border-radius: var(--r); color: var(--ink-2); font-weight: 500; text-align: left;
  position: relative; transition: background-color 150ms, color 150ms;
}
.ben__muc:hover { background: var(--surface); color: var(--ink); }
.ben__muc.dang-chon { background: var(--surface-2); color: var(--accent); font-weight: 600; }
.ben__muc.dang-chon::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--accent); }
.ben__chan { margin: auto 0 0; padding: 14px 12px 0; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; }
.cham { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.cham--ok { background: var(--ok); }
.cham--wait { background: var(--wait); }
.cham--err { background: var(--err); }
.cham--tat { background: var(--line); }

.chinh { background: var(--bg); padding: 0 16px 16px 20px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.chinh__dau { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 14px; }
.chinh__dau h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.chinh__dau p { margin: 2px 0 0; color: var(--ink-3); font-size: 13px; }
.chinh__dau-phai { display: flex; align-items: center; gap: 10px; }

.trang { display: none; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.trang.dang-hien { display: flex; overflow: hidden; }

/* ── Khối chung ─────────────────────────────────────────────────────────── */
.the, .bang {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lon);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.03) inset;
}
.bang { display: flex; flex-direction: column; min-height: 0; }
.bang__dau { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.bang__dau--doc { flex-direction: column; align-items: flex-start; gap: 4px; }
.bang__dau h2 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.bang__dau h2 .mo { font-size: 13px; }
.h2-icon { color: var(--accent); }
.bang__nut { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bang__ghi-chu { margin: 0; padding: 9px 20px; font-size: 12.5px; color: #f3c98b; background: rgb(219 164 92 / 0.08); border-bottom: 1px solid var(--line-soft); }
.bang__ghi-chu b { color: #fbdba9; }
.bang__ghi-chu--xam { color: var(--ink-2); background: transparent; }
.bang__ghi-chu--xam b { color: var(--ink); }
.bang__chan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-soft); margin-top: auto; }
.bang__chan p { margin: 0; font-size: 13px; }

.nut {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background-color 150ms, border-color 150ms, transform 150ms;
}
.nut:hover { border-color: var(--ink-3); }
.nut:active { transform: translateY(1px); }
.nut--nho { height: 30px; padding: 0 12px; font-size: 12.5px; }
.nut--chinh { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nut--chinh:hover { background: #9ff573; border-color: #9ff573; }
.nut[disabled] { opacity: 0.5; cursor: not-allowed; }
.nut-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
}
.nut-icon:hover { color: var(--ink); border-color: var(--ink-3); }
.nut-icon--nho { width: 30px; height: 30px; border-radius: 8px; }
.nut-icon--nho svg { width: 15px; height: 15px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 13px; white-space: nowrap;
}
.chip svg { width: 16px; height: 16px; }
.chip.dang-chon { color: var(--accent); border-color: rgb(140 240 90 / 0.5); background: rgb(140 240 90 / 0.08); }
.chip--vien { border-radius: 999px; color: var(--accent); border-color: rgb(140 240 90 / 0.5); background: transparent; }
.chip.mo { color: var(--ink-3); }

/* Nhãn trạng thái tròn nhỏ */
.nhan { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid; white-space: nowrap; }
.nhan i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nhan--ok { color: var(--ok); border-color: rgb(99 190 134 / 0.5); background: rgb(99 190 134 / 0.08); }
.nhan--accent { color: var(--accent); border-color: rgb(140 240 90 / 0.5); background: rgb(140 240 90 / 0.08); }
.nhan--wait { color: var(--wait); border-color: rgb(219 164 92 / 0.5); background: rgb(219 164 92 / 0.08); }
.nhan--err { color: var(--err); border-color: rgb(255 122 112 / 0.5); background: rgb(255 122 112 / 0.08); }
.nhan--xam { color: var(--ink-2); border-color: var(--line); background: transparent; }
.nhan--xanh { color: #7cc4ff; border-color: rgb(124 196 255 / 0.5); background: rgb(124 196 255 / 0.08); }

.chon { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.chon svg { width: 16px; height: 16px; color: var(--accent); }
.chon select { background: transparent; border: 0; padding-right: 6px; font-weight: 600; font-size: 13.5px; }
.kho-chon { display: inline-flex; height: 38px; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.kho-chon button { height: 100%; padding: 0 12px; border-radius: 7px; color: var(--ink-2); font-weight: 600; font-size: 13px; }
.kho-chon button.dang-chon { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.4); }

/* ── Tạo video ──────────────────────────────────────────────────────────── */
.thong-ke { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.the { padding: 16px 20px; }
.the p { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.the p svg { color: var(--ink-3); }
.the b { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

.hang-doi { flex: 1; min-height: 280px; }
.hd-ds { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; }
.hd-ds:empty + .hd-trong { display: block; }
.hd-trong { display: none; margin: 0; padding: 40px 20px; text-align: center; color: var(--ink-3); }
.task { border-bottom: 1px solid var(--line-soft); }
.task__hang { display: grid; grid-template-columns: 22px 1fr 170px 46px 132px; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; width: 100%; text-align: left; }
.task__hang:hover { background: rgb(255 255 255 / 0.02); }
.task__mui { color: var(--ink-3); transition: transform 150ms; }
.task.mo-rong .task__mui { transform: rotate(90deg); }
.task__cau { font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tien-do { height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.tien-do i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); transition: width 120ms linear; }
.task__pt { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 600; }
.task__pt.sang { color: var(--accent); }
.task__chitiet { display: none; padding: 4px 18px 16px 48px; gap: 16px; align-items: flex-start; }
.task.mo-rong .task__chitiet { display: flex; }
.task__kq { width: 150px; flex: none; border-radius: 8px; overflow: hidden; background: var(--bg-deep); position: relative; }
.task__kq video, .task__kq img { display: block; width: 100%; height: auto; }
.task__kq.doc { width: 84px; }
.task__meta { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-2); }
.task__meta b { color: var(--ink); }
.task__meta .hang-nut { display: flex; gap: 8px; margin-top: 6px; }
.nhan-mau { position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 6px; background: rgb(0 0 0 / 0.6); color: #f3c98b; font-size: 11px; font-weight: 600; }

.soan { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lon); padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.soan__che { display: flex; gap: 8px; }
.soan textarea { width: 100%; resize: vertical; min-height: 64px; background: transparent; border: 0; padding: 6px 2px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.soan textarea::placeholder { color: var(--ink-3); }
.soan textarea:focus { outline: none; }
.soan__duoi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.soan__goi-y { margin-left: 4px; color: var(--ink-3); font-size: 12.5px; }
.soan__goi-y b { color: var(--ink); }
.nut-gui { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -6px rgb(140 240 90 / 0.6); transition: transform 150ms, background-color 150ms; }
.nut-gui:hover { transform: translateY(-1px); background: #9ff573; }
.nut-gui svg { width: 20px; height: 20px; }
.nut-gui[disabled] { background: var(--surface-2); color: var(--ink-3); box-shadow: none; cursor: not-allowed; }

/* ── Kho video ──────────────────────────────────────────────────────────── */
.kho-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding: 18px 20px; overflow-y: auto; }
.kho-luoi:empty::after { content: "Chưa có video nào. Tạo ở mục Tạo video rồi quay lại đây."; color: var(--ink-3); padding: 30px 0; grid-column: 1 / -1; text-align: center; }
.o-video { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.o-video__khung { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg-deep); }
.o-video__khung video { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-video__kho { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 6px; background: rgb(0 0 0 / 0.65); color: var(--accent); font: 600 11px var(--mono); }
.o-video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.o-video__play span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / 0.55); color: #fff; border: 1px solid rgb(255 255 255 / 0.25); transition: opacity 150ms; }
.o-video__play span svg { fill: currentColor; stroke: none; }
.o-video.dang-chay .o-video__play span { opacity: 0; }
.o-video__ten { margin: 0; font-weight: 600; font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.o-video__meta { margin: 0; font: 12px var(--mono); color: var(--ink-3); }
.o-video__nut { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.o-video__nut .nut, .o-video__nut .nut-icon { height: 34px; }
.o-video__nut .nut-icon { width: 34px; border-radius: 9px; }
.o-video__nut .nut--rong { grid-column: 1 / -1; justify-content: center; }
.o-video.moi { animation: hien 500ms ease-out; box-shadow: 0 0 0 1px rgb(140 240 90 / 0.5); }
@keyframes hien { from { opacity: 0; transform: translateY(8px); } }

/* ── Tạo ảnh ────────────────────────────────────────────────────────────── */
.anh-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; padding: 18px 20px; overflow-y: auto; }
.o-anh { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.o-anh__khung { position: relative; border-radius: 10px; overflow: hidden; background: var(--bg-deep); }
.o-anh__khung { aspect-ratio: 9 / 16; }
.o-anh__khung.ngang { aspect-ratio: 16 / 9; }
.o-anh__khung img { display: block; width: 100%; height: 100%; object-fit: cover; }
.o-anh__khung .tem { position: absolute; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgb(0 0 0 / 0.65); color: #fff; font: 600 11px var(--mono); border: 1px solid rgb(255 255 255 / 0.2); }
.o-anh__khung .tem--kho { left: 8px; }
.o-anh__khung .tem--k { right: 8px; }
.o-anh__ten { margin: 0 4px; font-size: 12.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.o-anh .nut--chinh { height: 34px; justify-content: center; }
.o-anh__icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.o-anh__icons .nut-icon { width: 100%; height: 30px; border-radius: 8px; }
.o-anh__icons .nut-icon svg { width: 15px; height: 15px; }
.o-anh.moi { animation: hien 500ms ease-out; box-shadow: 0 0 0 1px rgb(140 240 90 / 0.5); }
.o-anh.dang-tao .o-anh__khung { display: grid; place-items: center; aspect-ratio: 9 / 16; background: linear-gradient(135deg, var(--surface-2), var(--bg-deep)); }
.o-anh.dang-tao.ngang .o-anh__khung { aspect-ratio: 16 / 9; }
.xoay { width: 26px; height: 26px; border: 2.5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: xoay 800ms linear infinite; }
@keyframes xoay { to { transform: rotate(360deg); } }

/* ── Tài khoản ──────────────────────────────────────────────────────────── */
.tk-ds { list-style: none; margin: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; flex: 1; }
.tk { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 18px; display: grid; grid-template-columns: 14px 1fr auto; gap: 6px 12px; align-items: center; }
.tk.tat { opacity: 0.55; }
.tk__ten { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; }
.tk__ten .luot { display: inline-flex; align-items: center; gap: 5px; color: var(--wait); font-weight: 600; }
.tk__ten .mo { font-size: 13px; }
.tk > .cham { grid-column: 1; }
.tk__ten { grid-column: 2; }
/* Ô có grid-row rõ được xếp TRƯỚC ô tự động — không ghim cột thì dãy icon nhảy lên góc trái */
.tk__icons { display: flex; gap: 4px; grid-column: 3; grid-row: 1 / span 2; align-self: start; }
.tk__icons .nut-icon { width: 30px; height: 30px; border: 0; background: transparent; color: var(--ink-3); }
.tk__icons .nut-icon:hover { color: var(--ink); background: var(--surface-2); }
.tk__icons .nut-icon.bat { color: var(--accent); }
.tk__email { grid-column: 2; color: var(--ink-2); font-size: 13px; }
.tk__proxy { grid-column: 1 / -1; display: grid; grid-template-columns: 14px 1fr auto auto minmax(180px, auto); gap: 10px; align-items: center; margin-top: 4px; }
.tk__proxy > svg { color: var(--ink-3); width: 14px; height: 14px; }
.tk__proxy select { height: 40px; padding: 0 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; }
.tk__proxy .nut { height: 36px; }
.tk__proxy .ghi { font-size: 12.5px; color: var(--ink-3); }
.tk__proxy .ghi b { color: var(--ok); font-weight: 500; font-family: var(--mono); }

/* ── Proxy ──────────────────────────────────────────────────────────────── */
.px-them { display: flex; gap: 10px; padding: 14px 20px 8px; }
.px-them input { flex: 1; height: 42px; padding: 0 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.px-them input::placeholder { color: var(--ink-3); }
.px-ds { list-style: none; margin: 0; padding: 12px 20px 18px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.px { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 16px; display: grid; grid-template-columns: 14px 1fr auto; gap: 4px 12px; align-items: center; }
/* Ghim cột rõ cho từng ô — ô có grid-row rõ được xếp trước ô tự động */
.px > .cham { grid-column: 1; grid-row: 1; }
.px__url { grid-column: 2; grid-row: 1; font: 500 13px var(--mono); }
.px__meta { grid-column: 2; grid-row: 2; font-size: 12.5px; color: var(--ink-2); }
.px__meta b { color: var(--ok); font-weight: 500; }
.px__meta.loi b { color: var(--err); }
.px__phai { display: flex; align-items: center; gap: 6px; grid-column: 3; grid-row: 1; }
.px__phai .nut-icon { width: 30px; height: 30px; border: 0; background: transparent; color: var(--ink-3); }
.px__phai .nut-icon:hover { color: var(--ink); background: var(--surface-2); }
.px__luc { grid-column: 3; grid-row: 2; text-align: right; font-size: 12.5px; color: var(--ink-3); }

/* ── Mục có trong bản tải về ─────────────────────────────────────────────── */
.khac { align-items: center; text-align: center; padding: 60px 20px; gap: 12px; max-width: 520px; margin: 40px auto; }
.khac__icon { width: 40px; height: 40px; color: var(--accent); }
.khac h2 { margin: 0; font-size: 22px; }
.khac p { margin: 0 0 8px; }

/* ── Hộp thoại & toast ──────────────────────────────────────────────────── */
.hop { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lon); padding: 24px 26px; max-width: 460px; box-shadow: 0 30px 70px -24px rgb(0 0 0 / 0.8); }
.hop::backdrop { background: rgb(0 0 0 / 0.6); }
.hop h3 { margin: 0 0 10px; font-size: 18px; }
.hop p { margin: 0 0 10px; line-height: 1.6; color: var(--ink-2); }
.hop__nut { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; padding: 11px 16px; border-radius: 10px; background: #0f140f; border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 500; box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.8); pointer-events: none; transition: opacity 180ms, transform 180ms; z-index: 20; max-width: 560px; text-align: center; }
.toast.hien { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
