/* Kanji60s L4: vùng tài khoản + thông báo trong giao diện mới. Màu theo thương hiệu (#a8232b). */
.k60b-acct { display: inline-flex; align-items: center; gap: 8px; position: relative; margin-right: 8px; font-family: inherit; }
.k60b-acct.k60b-fixed { position: fixed; top: 10px; right: 12px; z-index: 9999; }
.k60b-lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #f4ece0; }
.k60b-lang a { padding: 5px 9px; border-radius: 999px; color: #5b4f45; font-weight: 700; font-size: 12px; text-decoration: none; line-height: 1; }
.k60b-lang a.is-active { background: #a8232b; color: #fffdf8; }
.k60b-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 2px solid #a8232b;
  background: #fffdf8; color: #a8232b; font: inherit; font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.k60b-btn:hover { background: #a8232b; color: #fffdf8; }
.k60b-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 220px; z-index: 10000; background: #fffdf8;
  border: 1px solid #eadfce; border-radius: 14px; box-shadow: 0 8px 24px rgba(28, 25, 23, .15); padding: 6px; display: flex; flex-direction: column; }
.k60b-menu[hidden] { display: none; }
.k60b-menu a { padding: 10px 12px; border-radius: 10px; color: #1c1917; text-decoration: none; font-size: 14px; font-weight: 600; }
.k60b-menu a:hover { background: #f4ece0; }
.k60b-status { padding: 8px 12px 6px; font-size: 12px; color: #861a20; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.k60b-banner { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 10001; width: min(560px, calc(100% - 32px));
  box-sizing: border-box; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: #1c1917; color: #fffdf8; font-size: 14px; line-height: 1.5; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.k60b-banner .k60b-btn { flex: none; background: #fffdf8; }
.k60b-banner .k60b-resume { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; cursor: pointer; }
.k60b-banner .k60b-resume-cta { color: #ffb4bb; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.k60b-banner .k60b-resume:hover .k60b-resume-cta { color: #fff; }
.k60b-banner > span { flex: 1 1 auto; min-width: 0; }
.k60b-x { flex: none; align-self: flex-start; width: 32px; height: 32px; margin: -6px -8px 0 0; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #fffdf8; font-size: 24px; line-height: 1; cursor: pointer; opacity: .8; }
.k60b-x:hover, .k60b-x:focus-visible { opacity: 1; background: rgba(255, 255, 255, .12); }
@media (max-width: 700px) {
  .k60b-acct { gap: 4px; margin-right: 4px; }
  .k60b-btn { min-height: 30px; padding: 0 9px; font-size: 12px; }
  .k60b-user { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
  .k60b-lang a { padding: 4px 7px; }
}
/* Bản build vendor (19/11/2026) có nút 🌐 .langsw riêng: ẩn khi đã có nút EN|VI của bridge (ghi cookie k60_lang). */
html.k60b-has-acct .top .langsw { display: none !important; }
/* Bản build có trang Tài khoản (20/11/2026): chấm xanh trên nút tài khoản .hacct khi đã đăng nhập. */
.top .hacct.k60b-in { position: relative; }
.top .hacct.k60b-in::after { content: ''; position: absolute; right: 1px; top: 1px; width: 9px; height: 9px; border-radius: 50%;
  background: #2f8f4e; border: 2px solid #fffdf8; }
/* Ngữ pháp (27/11/2026): tiêu đề mẫu h1.npt có <ruby> bị quy tắc chung `h1{display:flex}` của bản build tách
   thành từng khối -> trên điện thoại kana xếp dọc từng chữ. Cho chạy chữ thường, chỉ xuống dòng ở dấu ・. */
.npt { display: block; word-break: keep-all; }
h1:has(ruby) { display: block; }
/* Ngữ pháp (28/11/2026): Safari/iPhone đặt furigana (rt) của h1.npt cách xa chữ Hán (Chrome thì sát sẵn).
   hanging-punctuation chỉ Safari hỗ trợ -> chỉ kéo rt xuống trên Safari. */
.npt rt { line-height: 1; }
@supports (hanging-punctuation: first) { .npt rt { transform: translateY(.5em); } }
/* Trang Tài khoản (28/11/2026): Cài đặt tài khoản — ảnh đại diện, mật khẩu (k60-bridge.js profileView). */
#uv .uav.k60p-av { cursor: pointer; overflow: visible; position: relative; }
#uv .uav.k60p-av img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
#uv .uav.k60p-av::after { content: '📷'; position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); font-size: 13px; display: grid; place-items: center; }
#uv .uav.k60p-av:focus-visible { outline: 3px solid #a8232b; outline-offset: 2px; }
#uv .k60p-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #f1e9dc; flex-wrap: wrap; }
#uv .k60p h2 + .k60p-row { border-top: 0; padding-top: 0; }
#uv .k60p-t { flex: 1 1 160px; min-width: 0; }
#uv .k60p-t b { display: block; font-size: 14.5px; }
#uv .k60p-t small { color: #6b5f55; font-size: 13px; overflow-wrap: anywhere; }
#uv .k60p-btns { display: flex; gap: 8px; flex-wrap: wrap; }
#uv .k60p-btns .ub2, #uv .k60p-act .ub1, #uv .k60p-act .ub2 { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
#uv .k60p-form { display: grid; gap: 10px; padding: 4px 0 14px; }
#uv .k60p-f { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #3d342e; }
#uv .k60p-f input { font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px; border: 1.5px solid #e0d4c2; border-radius: 10px;
  background: #fff; color: #1c1917; width: 100%; box-sizing: border-box; }
#uv .k60p-f input:focus { outline: none; border-color: #a8232b; }
#uv .k60p-act { display: flex; gap: 8px; flex-wrap: wrap; }
#uv .k60p-forgot, #uv .k60p-link { color: #a8232b; font-size: 13px; font-weight: 700; }
#uv .k60p-link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-family: inherit; }
#uv .k60p-msg { margin: 8px 0 0; font-size: 13.5px; font-weight: 700; min-height: 1em; }
#uv .k60p-msg:empty { display: none; }
#uv .k60p-msg.ok { color: #2f7d47; }
#uv .k60p-msg.bad { color: #b3261e; }
html[data-theme="dark"] #uv .uav.k60p-av::after { background: #2a2320; }
html[data-theme="dark"] #uv .k60p-row { border-top-color: #3a312b; }
html[data-theme="dark"] #uv .k60p-t small { color: #b8aa9c; }
html[data-theme="dark"] #uv .k60p-f { color: #d9cdbf; }
html[data-theme="dark"] #uv .k60p-f input { background: #1f1a17; color: #f4ede4; border-color: #4a3f37; }
html[data-theme="dark"] #uv .k60p-msg.ok { color: #7fd197; }
html[data-theme="dark"] #uv .k60p-msg.bad { color: #ff9b93; }
html[data-theme="dark"] #uv .k60p-forgot, html[data-theme="dark"] #uv .k60p-link { color: #ff8f99; }
/* Nút "Hủy gia hạn" dời xuống Cài đặt & hỗ trợ (k60-bridge.js moveCancel): màu chữ thường như các dòng khác. */
#uv .uset .k60b-cx { color: #1c1917; }
html[data-theme="dark"] #uv .uset .k60b-cx { color: #ecded7; }
/* Menu "Bảng giá" (link) tô như tab đang chọn khi đang xem bảng giá (k60-bridge.js hookPricingTab). */
.top .tabs a.tablink[aria-selected="true"] { color: #a8232b !important; background: #f5eee4 !important; }
html[data-theme="dark"] .top .tabs a.tablink[aria-selected="true"] { color: #e89196 !important; background: #261e19 !important; }
