/* trang/nhat-ky.css — kiểu riêng của màn Nhật ký (tiền tố nky-). Thành phần dùng chung: chung.css */
.nky-loc > .o-chon { flex: 0 1 210px; }
.nky-tu-chon { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nky-ngay { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--mo); }
.nky-ngay > .o-nhap { width: 152px; }
.nky-ngay-dau { margin-top: 18px; }
.nky-ds > .nky-ngay-dau:first-child { margin-top: 4px; }
.nky-dong { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--vien); background: #fff; min-width: 0; outline: none; }
.nky-dong:last-child { border-bottom: 0; }
.nky-dong:focus-visible { box-shadow: inset 0 0 0 2px var(--vang); }
.nky-hinh { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--xam-nen); color: var(--xam); margin-top: 1px; }
.nky-tong-tot { background: var(--tot-nen); color: var(--tot); }
.nky-tong-cam { background: var(--cam-nen); color: var(--cam); }
.nky-tong-do { background: var(--do-nen); color: var(--do); }
.nky-tong-xanh { background: var(--xanh-nen); color: var(--xanh); }
.nky-tong-vang { background: var(--vang-nhat); color: var(--vang-chu); }
.nky-chinh { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nky-dau { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.nky-nguoi { font-weight: 650; }
.nky-he-thong { color: var(--mo); font-weight: 600; }
.nky-chi-tiet { color: var(--muc-2); line-height: 1.5; overflow-wrap: anywhere; }
.nky-phu { font-size: 12.5px; color: var(--mo); }
.nky-gio { flex: none; font-size: 13px; color: var(--mo); font-variant-numeric: tabular-nums; padding-top: 2px; }
.nky-chan { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 4px; text-align: center; }
.nky-chan:empty { display: none; }

@media (max-width: 760px) {
  .nky-loc > .o-chon { flex: 1 1 150px; }
  .nky-loc > .gian { display: none; }
  .nky-loc > .nut { flex: 1 1 0; }
  .nky-tu-chon { width: 100%; }
  .nky-ngay { flex: 1 1 140px; }
  .nky-ngay > .o-nhap { width: 100%; flex: 1; }
  .nky-dong { padding: 12px; gap: 10px; }
  .nky-nut-them { width: 100%; }
}
