/* =====================================================
   TRANG CÂU CHUYỆN ANH HÙNG (tông giấy cũ: kem, nâu, đỏ)
   ===================================================== */
body.trang-cau-chuyen {
  --cc-nen: #F7F1E8;
  --cc-the: #FCF8F2;
  --cc-vien: #EADFCF;
  --cc-chu: #2B2118;
  --cc-chu-vua: #4A3B2E;
  --cc-phu: #8C7B67;
  --cc-vang: #B58A3C;
  --cc-do: #B3261E;
  --cc-do-dam: #8F1D17;
  --cc-do-nhat: #F8E6E2;
  --cc-serif: 'Lora', Georgia, 'Times New Roman', serif;
  background: var(--cc-nen);
  color: var(--cc-chu);
}
.trang-cau-chuyen main,
.trang-cau-chuyen .dau-muc { font-family: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif; }
.bt {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== ĐẦU MỤC + NÚT ===== */
.trang-cau-chuyen .dau-muc {
  background: linear-gradient(135deg, #3A2A20 0%, #1F1712 100%);
  border-top: 1px solid rgba(181, 138, 60, 0.3);
}
.trang-cau-chuyen .dau-muc h2 { font-family: var(--cc-serif); font-weight: 700; }
.trang-cau-chuyen .dau-muc p { color: #E7DCCB; }
.nut-do { background: var(--cc-do); color: white; }
.nut-do:hover { background: var(--cc-do-dam); }
.nut-vien-nau { background: white; color: var(--cc-chu); border-color: var(--cc-vien); }
.nut-vien-nau:hover { border-color: var(--cc-chu-vua); }
.nut-vien-sang { background: transparent; color: #F3E9DA; border-color: rgba(243, 233, 218, 0.4); }
.nut-vien-sang:hover { background: rgba(255, 255, 255, 0.08); }
.trang-cau-chuyen .quay-lai { color: var(--cc-chu-vua); }
.trang-cau-chuyen .trong { background: var(--cc-the); border-color: var(--cc-vien); color: var(--cc-phu); }
.trang-cau-chuyen .trong a { color: var(--cc-do); font-weight: 700; }

/* ===== TÌM KIẾM + PHÂN TRANG ===== */
.trang-cau-chuyen .thanh-tim-kiem input,
.trang-cau-chuyen .thanh-tim-kiem select { border-color: var(--cc-vien); }
.trang-cau-chuyen .thanh-tim-kiem input:focus,
.trang-cau-chuyen .thanh-tim-kiem select:focus,
.trang-cau-chuyen .truong input:focus,
.trang-cau-chuyen .truong select:focus,
.trang-cau-chuyen .truong textarea:focus,
.o-nhap:focus,
.hang-lien-ket input:focus {
  outline: none;
  border-color: var(--cc-do);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
.trang-cau-chuyen .dem-ket-qua { color: var(--cc-phu); }
.trang-cau-chuyen .phan-trang a { border-color: var(--cc-vien); color: var(--cc-chu); }
.trang-cau-chuyen .phan-trang a.dang-chon { background: var(--cc-do); border-color: var(--cc-do); color: white; }

/* ===== KHUNG DANH SÁCH CÂU CHUYỆN ===== */
.the-truyen {
  background: var(--cc-the);
  border: 1px solid var(--cc-vien);
  border-radius: 20px;
  padding: 28px;
}
.the-truyen > h2 { font-size: 22px; font-weight: 600; color: var(--cc-chu); }
.the-truyen-khac { margin-top: 48px; }
.ds-truyen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 36px;
  margin: 22px 0 26px;
}
.dong-truyen {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
.anh-truyen {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #D9C7A8 0%, #A68B63 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 30px;
}
.anh-truyen img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.dong-truyen:hover .anh-truyen img { transform: scale(1.06); }
.huy-hieu-loai {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 23, 18, 0.7);
  color: white;
  font-size: 12px;
}
.dong-truyen-chu { min-width: 0; padding-top: 2px; }
.dong-truyen h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cc-chu);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.dong-truyen:hover h3 { color: var(--cc-do); }
.meta-truyen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  font-size: 14px;
  color: var(--cc-phu);
}
.meta-truyen > span { display: inline-flex; align-items: center; gap: 6px; }
.meta-truyen .trang-thai { font-size: 12px; }
.nut-xem-tat-ca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--cc-vien);
  border-radius: 12px;
  background: white;
  color: var(--cc-chu);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.nut-xem-tat-ca:hover { border-color: var(--cc-do); color: var(--cc-do); }

/* ===== TRANG ĐỌC CÂU CHUYỆN ===== */
.khung-doc { max-width: 800px; }
.trang-cau-chuyen .hop-quan-tri { margin: 0 0 20px; border-color: var(--cc-phu); color: var(--cc-chu-vua); }
.lien-he-nguoi-gui { margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--cc-phu); }
.lien-he-nguoi-gui a { color: var(--cc-do); font-weight: 700; }
.bai-truyen-dau {
  text-align: center;
  padding: 8px 0 30px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--cc-vien);
}
.chip-dong { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.chip-bai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--cc-do-nhat);
  color: var(--cc-do-dam);
  font-size: 13px;
  font-weight: 600;
}
.bai-truyen-dau h1 {
  font-family: var(--cc-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #1F1712;
  margin-bottom: 18px;
}
.tac-gia { font-size: 19px; color: var(--cc-chu-vua); margin-bottom: 22px; }
.meta-bai {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--cc-phu);
}
.meta-bai > span { display: inline-flex; align-items: center; gap: 8px; }
.meta-bai .bt { color: var(--cc-vang); font-size: 20px; }
.nhan-vat-lien-quan { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.chip-nv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--cc-vien);
  border-radius: 20px;
  background: var(--cc-the);
  font-size: 14px;
  font-weight: 600;
}
.chip-nv .bt { color: var(--cc-vang); }
.chip-nv small { color: var(--cc-phu); font-weight: 500; font-size: 13px; }
.chip-nv.cho-duyet { border-style: dashed; border-color: #D97706; }
.mo-ta-dan {
  font-family: var(--cc-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--cc-chu-vua);
  margin-bottom: 28px;
}
.noi-dung-truyen { font-size: 18px; line-height: 1.85; text-align: justify; }
.noi-dung-truyen::first-letter {
  float: left;
  font-family: var(--cc-serif);
  font-size: 4.4em;
  line-height: 0.82;
  color: var(--cc-do);
  padding: 8px 14px 0 0;
}

/* Nội dung định dạng: dùng chung cho trình soạn thảo và trang đọc */
.noi-dung-giau { color: var(--cc-chu); overflow-wrap: anywhere; }
.noi-dung-giau p, .noi-dung-giau div, .noi-dung-giau ul, .noi-dung-giau ol, .noi-dung-giau blockquote { margin-bottom: 0.9em; }
.noi-dung-giau h2, .noi-dung-giau h3, .noi-dung-giau h4 {
  font-family: var(--cc-serif);
  line-height: 1.3;
  margin: 1.2em 0 0.5em;
  text-align: left;
}
.noi-dung-giau h2 { font-size: 1.5em; }
.noi-dung-giau h3 { font-size: 1.3em; }
.noi-dung-giau h4 { font-size: 1.12em; }
.noi-dung-giau > :first-child { margin-top: 0; }
.noi-dung-giau ul, .noi-dung-giau ol { padding-left: 1.5em; }
.noi-dung-giau blockquote {
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--cc-do);
  font-family: var(--cc-serif);
  font-style: italic;
  color: var(--cc-chu-vua);
}
.noi-dung-giau a { color: var(--cc-do); text-decoration: underline; }
.noi-dung-giau hr { border: none; border-top: 1px solid var(--cc-vien); margin: 1.5em 0; }

/* Ảnh, video, audio */
.khoi-media { margin: 36px 0; }
.khoi-media h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cc-serif);
  font-size: 22px;
  margin-bottom: 14px;
}
.khoi-media h2 .bt { color: var(--cc-vang); }
.khung-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.khung-video iframe, .khung-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.khung-audio { margin-bottom: 14px; }
.khung-audio iframe { width: 100%; height: 166px; border: 0; border-radius: 12px; }
.trinh-audio { display: block; width: 100%; margin-bottom: 14px; }
.luoi-anh { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.luoi-anh figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cc-vien);
  border-radius: 12px;
  background: var(--cc-the);
}
.luoi-anh figure:only-child { grid-column: 1 / -1; }
.luoi-anh img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.luoi-anh figcaption { padding: 8px 12px; font-size: 14px; line-height: 1.5; color: var(--cc-chu-vua); }
.hang-chia-se { display: flex; justify-content: center; margin: 44px 0 8px; }

/* ===== FORM THÊM CÂU CHUYỆN ===== */
.luoi-gui {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.cot-chinh, .cot-phu { display: flex; flex-direction: column; gap: 20px; }
.the-form {
  background: var(--cc-the);
  border: 1px solid var(--cc-vien);
  border-radius: 14px;
  padding: 20px;
}
.the-form.co-loi { border-color: #DC2626; }
.the-form-dau {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--cc-vien);
}
.the-form-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #F3E6CF;
  color: var(--cc-vang);
  font-size: 18px;
}
.the-form-dau h3, .tieu-de-cam-ket { font-family: var(--cc-serif); font-size: 17px; font-weight: 700; }
.the-form-dau p { font-size: 13px; line-height: 1.45; color: var(--cc-phu); margin-top: 2px; }
.tieu-de-cam-ket { margin-bottom: 14px; }

.form-cau-chuyen .luoi-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-cau-chuyen .luoi-form.mot-cot { grid-template-columns: 1fr; }
.trang-cau-chuyen .truong label,
.nhan-truong,
.nhan-nho {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cc-chu);
  margin-bottom: 6px;
}
.nhan-nho { margin-top: 14px; }
.trang-cau-chuyen .truong input,
.trang-cau-chuyen .truong select,
.trang-cau-chuyen .truong textarea,
.o-nhap {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cc-vien);
  border-radius: 8px;
  background: white;
  color: var(--cc-chu);
  font-size: 14px;
  font-family: inherit;
}
.form-cau-chuyen .loi-truong:empty { display: none; }
.form-cau-chuyen .the-form > label.nhan-nho:first-of-type { margin-top: 0; }

/* Chọn nhân vật */
.ds-nhan-vat {
  list-style: none;
  max-height: 176px;
  overflow-y: auto;
  margin-top: 10px;
  border: 1px solid var(--cc-vien);
  border-radius: 10px;
  background: white;
}
.goi-y-nhan-vat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #F3ECE1;
  font-size: 14px;
}
.goi-y-nhan-vat:last-child { border-bottom: none; }
.goi-y-nhan-vat strong { display: block; font-weight: 600; }
.goi-y-nhan-vat span { font-size: 12px; color: var(--cc-phu); }
.goi-y-trong { padding: 12px; font-size: 13px; color: var(--cc-phu); }
.nut-them-nv {
  flex-shrink: 0;
  padding: 4px 6px;
  border: none;
  background: none;
  color: var(--cc-do);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nut-them-nv:disabled { color: var(--cc-phu); cursor: default; }
.ds-da-chon { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip-nhan-vat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 5px 4px 12px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--cc-do-nhat);
  color: var(--cc-do-dam);
  font-size: 13px;
  font-weight: 600;
}
.chip-nhan-vat.chip-moi { border-color: var(--cc-do); border-style: dashed; }
.chip-nhan-vat button {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(143, 29, 23, 0.12);
  color: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.trong-nho { font-size: 13px; color: var(--cc-phu); }
.nut-chu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--cc-do);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.khung-nv-moi {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed var(--cc-vien);
  border-radius: 10px;
  background: white;
}
.luoi-nv-moi {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

/* Loại hình */
.chon-loai-hinh { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chon-loai-hinh label { position: relative; display: block; cursor: pointer; }
.chon-loai-hinh input { position: absolute; opacity: 0; pointer-events: none; }
.the-loai {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 1px solid var(--cc-vien);
  border-radius: 12px;
  background: white;
  text-align: center;
  transition: all 0.2s;
}
.the-loai .bt { font-size: 20px; color: var(--cc-phu); margin-bottom: 2px; }
.the-loai strong { font-size: 13px; font-weight: 700; color: var(--cc-chu); }
.the-loai small { font-size: 11px; color: var(--cc-phu); }
.chon-loai-hinh label:hover .the-loai { border-color: #D8B9A9; }
.chon-loai-hinh input:checked + .the-loai {
  border-color: var(--cc-do);
  box-shadow: inset 0 0 0 1px var(--cc-do);
  background: var(--cc-do-nhat);
}
.chon-loai-hinh input:checked + .the-loai .bt { color: var(--cc-do); }
.chon-loai-hinh input:focus-visible + .the-loai { outline: 2px solid var(--cc-do); outline-offset: 2px; }

/* Trình soạn thảo */
.khung-soan {
  overflow: hidden;
  border: 1px solid var(--cc-vien);
  border-radius: 10px;
  background: white;
}
.co-loi .khung-soan { border-color: #DC2626; }
.thanh-cong-cu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  background: #F3EADC;
  border-bottom: 1px solid var(--cc-vien);
}
.thanh-cong-cu button {
  min-width: 28px;
  height: 28px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  background: none;
  color: #5A4A3A;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.thanh-cong-cu button:hover { background: rgba(43, 33, 24, 0.08); }
.thanh-cong-cu .bt { font-size: 16px; }
.thanh-cong-cu .cham-mau {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0 2px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
}
.thanh-cong-cu .cham-mau:hover { transform: scale(1.2); }
.ngan-cach { width: 1px; height: 18px; margin: 0 6px; background: var(--cc-vien); }
.vung-soan {
  min-height: 280px;
  max-height: 560px;
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.7;
  outline: none;
}
.vung-soan:empty::before { content: attr(data-goi-y); color: #B5A894; }
.khung-soan.toan-man {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}
.khung-soan.toan-man .vung-soan { flex: 1; max-height: none; padding: 24px max(16px, calc(50% - 380px)); font-size: 17px; }

/* Ảnh / video / audio đã chọn */
.luoi-anh-chon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.o-anh {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cc-vien);
  border-radius: 10px;
  background: white;
}
.o-anh img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.o-anh input {
  width: 100%;
  padding: 6px 8px;
  border: none;
  border-top: 1px solid var(--cc-vien);
  font-family: inherit;
  font-size: 12px;
  outline: none;
}
.o-anh .so-thu-tu {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 1px 7px;
  border-radius: 10px;
  background: rgba(31, 23, 18, 0.7);
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.nut-bo {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(31, 23, 18, 0.7);
  color: white;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.vung-trong {
  grid-column: 1 / -1;
  padding: 18px 12px;
  border: 1.5px dashed var(--cc-vien);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 13px;
  color: var(--cc-phu);
}
.ds-muc { display: flex; flex-direction: column; gap: 8px; }
.muc-media {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--cc-vien);
  border-radius: 10px;
  background: white;
  font-size: 13px;
}
.muc-media > .bt { font-size: 16px; color: var(--cc-vang); }
.muc-media span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muc-media small { flex-shrink: 0; color: var(--cc-phu); }
.muc-media .nut-bo { position: static; flex-shrink: 0; background: var(--cc-do-nhat); color: var(--cc-do-dam); }
.hang-lien-ket { display: flex; gap: 8px; }
.hang-lien-ket input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--cc-vien);
  border-radius: 8px;
  background: white;
  font-family: inherit;
  font-size: 13px;
}
.nut-them-do {
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: #D9645A;
  color: white;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nut-them-do:hover { background: var(--cc-do); }
.hoac {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--cc-phu);
}
.nut-tai-len {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid #E7B7B0;
  border-radius: 8px;
  background: var(--cc-do-nhat);
  color: var(--cc-do-dam);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nut-tai-len:hover { border-color: var(--cc-do); }
.goi-y-tep { margin-top: 8px; font-size: 12px; color: var(--cc-phu); }

/* Cam kết + nút gửi */
.ds-cam-ket { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ds-cam-ket label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; cursor: pointer; }
.ds-cam-ket input { width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; accent-color: var(--cc-do); }
.hang-gui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--cc-vien);
  border-radius: 14px;
  background: var(--cc-the);
}
.trang-cau-chuyen .luu-y { color: var(--cc-phu); }
.nhom-nut-gui { display: flex; gap: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .luoi-gui { grid-template-columns: 1fr; }
  .ds-truyen { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .the-truyen { padding: 22px 18px; border-radius: 16px; }
  .the-truyen > h2 { font-size: 20px; }
  .anh-truyen { width: 72px; height: 72px; }
  .dong-truyen h3 { font-size: 16px; }
  .bai-truyen-dau h1 { font-size: 30px; }
  .tac-gia { font-size: 17px; }
  .meta-bai { font-size: 15px; gap: 8px 20px; }
  .noi-dung-truyen { font-size: 17px; }
  .chon-loai-hinh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hang-gui { flex-direction: column; align-items: stretch; }
  .nhom-nut-gui .nut { flex: 1; }
}
@media (max-width: 520px) {
  .form-cau-chuyen .luoi-form,
  .luoi-nv-moi { grid-template-columns: 1fr; }
  .luoi-anh { grid-template-columns: 1fr; }
  .bai-truyen-dau h1 { font-size: 26px; }
}
