@charset "UTF-8";
@import url("fonts-v3.d01951fa59bc.css");
/* ==========================================================================
   Giờ Lễ Việt, bản 3 (v3): sáng, hiện đại, có chất "tương lai" mà không lạnh.

   Luận điểm: giờ lễ là nhịp sống của cả nước. Trang cho thấy nhịp đó đang
   diễn ra lúc này: bản đồ chấm (mỗi chấm một nhà thờ), đường nhịp thánh lễ
   trong ngày, bảng giờ lật trước con phố có nhà thờ giáo xứ.

   - Nền sáng pha xanh trời, chữ mực xanh đen, không đen tuyền.
   - Màu mùa phụng vụ tươi hơn bản 1, dùng cho chấm, cột, điểm nhấn.
     Nút bấm dùng sắc đậm hơn của cùng màu để đủ tương phản.
   - Màu đèn (hổ phách) chỉ dành cho tín hiệu "sắp có lễ".
   - Đỏ lịch chỉ dành cho Chúa Nhật.
   - Một họ chữ: Mona Sans, dùng trục độ rộng cho tiêu đề.
   - Chọn = nền mực đậm. Mọi chỗ "đang chọn" trên trang dùng cùng một cách.

   Chỉ áp dụng khi thẻ <html> có lớp v3. Mọi màu khai báo một lần ở đây.
   ========================================================================== */

:root.v3 {
  --ground:       #F5F8FC;
  --sheet:        #FFFFFF;
  --sheet-2:      #F1F5FA;
  --ink:          #0C1E33;
  --ink-2:        #33475C;
  --muted:        #5D7085;
  --muted-2:      #8496A9;
  --line:         #DCE4EE;
  --line-2:       #E8EEF5;

  --sky-0:        #F1F7FF;
  --sky-1:        #E2EFFF;
  --sky-2:        #CBE2FD;
  --sky-ink:      #1D5FBF;

  /* Mùa Thường Niên: xanh lá non */
  --season:       #13A05C;
  --season-ink:   #0B7C45;
  --season-tint:  #E3F6EC;
  --season-tint-2:#C3EAD5;
  --season-deep:  #075C33;
  --season-btn:   #0C8549;
  --season-btn-h: #0A7340;
  --on-season:    #FFFFFF;
  --on-season-btn:#FFFFFF;

  /* đèn: chỉ dùng cho tín hiệu "sắp có lễ" */
  --live:         #F5A01A;
  --live-ink:     #9A5B00;
  --live-tint:    #FFF2DA;

  --red:          #E0393E;
  --red-ink:      #C02A30;
  --red-tint:     #FDECEC;
  --ill-red:      #F05E66;

  --wrap:         1240px;
  --gutter:       1.25rem;
  --r-sm:         8px;
  --r:            12px;
  --r-lg:         18px;
  --r-xl:         26px;
  --hdr-h:        68px;

  --sh-card: 0 1px 2px rgba(12,30,51,.05), 0 10px 28px -14px rgba(12,30,51,.18);
  --sh-pop:  0 2px 8px rgba(12,30,51,.08), 0 22px 44px -18px rgba(12,30,51,.32);

  --f-ui: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Roboto, Arial, sans-serif;
  --f-display: var(--f-ui);
  interpolate-size: allow-keywords;
}
/* Mùa Vọng, Mùa Chay: tím */
:root.v3[data-season="vong"], :root.v3[data-season="chay"] {
  --season: #7A4BD8; --season-ink: #5F34B8; --season-tint: #F0E9FD; --season-tint-2: #DCCDF8;
  --season-deep: #3F2189; --season-btn: #6D3FD0; --season-btn-h: #5C32B5;
}
/* Giáng Sinh, Phục Sinh: vàng kim của viền áo lễ trắng. Nền vàng thì chữ tối. */
:root.v3[data-season="giang-sinh"], :root.v3[data-season="phuc-sinh"] {
  --season: #E2A20B; --season-ink: #8F6200; --season-tint: #FFF5D9; --season-tint-2: #FCE5A8;
  --season-deep: #5E4000; --season-btn: #E2A20B; --season-btn-h: #CC9000;
  --on-season-btn: #241A00;
  --live: #2F7FEA; --live-ink: #1D5FBF; --live-tint: #E2EFFF;
}
/* Hiện Xuống, Tam Nhật Vượt Qua: đỏ */
:root.v3[data-season="hien-xuong"], :root.v3[data-season="tam-nhat"] {
  --season: #E5484D; --season-ink: #C02A30; --season-tint: #FDEBEC; --season-tint-2: #F9CDCF;
  --season-deep: #8E1A1F; --season-btn: #D33A3F; --season-btn-h: #B93035;
}

/* ------------------------------------------------------------------ nền */
/* Số tabular của Mona Sans có số 0 gạch chéo, nhìn ra chất lập trình viên.
   Bản 3 dùng số thường cho mọi nơi; các ô giờ đã có bề ngang cố định nên
   vẫn thẳng hàng. */
:root.v3 * { font-variant-numeric: proportional-nums !important; }
.v3 body { background: var(--ground); font-size: 16.5px; font-stretch: 100%; }
.v3 h1, .v3 h2, .v3 h3 { font-stretch: 106%; }
.v3 h2 { font-weight: 700; letter-spacing: -.028em; }
.v3 b, .v3 strong { font-weight: 650; }
.v3 ::selection { background: var(--season-tint-2); }
.v3 :focus-visible { outline-color: var(--sky-ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
      clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.v3 .hdr { background: #fff; border-bottom-color: var(--line); }
.v3 .brand-mark { color: var(--season); }
.v3 .brand-name { font-stretch: 110%; font-weight: 740; letter-spacing: -.025em; }
.v3 .nav a { font-weight: 520; color: var(--ink-2); }
.v3 .nav a::after { background: var(--ink); height: 1.5px; }
.v3 .nav a[aria-current] { color: var(--ink); font-weight: 640; }
.v3 .nav a.nav-cta {
  margin-left: .7rem; padding: .55rem 1.1rem; border: 0; border-radius: 999px;
  background: var(--season-btn); color: var(--on-season-btn); font-weight: 640;
  transition: background-color .15s ease, transform .16s var(--ease-out);
}
.v3 .nav a.nav-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .v3 .nav a.nav-cta:hover { background: var(--season-btn-h); color: var(--on-season-btn); }
}
@media (max-width: 960px) { .v3 .nav a.nav-cta { margin: .9rem 0 0; } }

/* ---------------------------------------------------------------- footer */
.v3 .ftr { background: #fff; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 0; }
.v3 .ftr .brand-name { color: var(--ink) !important; }
.v3 .ftr .brand-sub { color: var(--muted); }
.v3 .ftr h4 { color: var(--ink); }
.v3 .ftr a:hover { color: var(--season-ink); }
.v3 .ftr-bot { border-top-color: var(--line); color: var(--muted); }

/* ------------------------------------------------------- nút, ô nhập liệu */
.v3 .btn { border-radius: 999px; font-weight: 620; }
.v3 .btn-sm { border-radius: 999px; }
.v3 .btn-p, .v3 .btn-b { background: var(--season-btn); color: var(--on-season-btn); }
.v3 .btn-o { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.v3 .btn-g { background: var(--season-tint); color: var(--season-ink); }
@media (hover: hover) and (pointer: fine) {
  .v3 .btn-p:hover, .v3 .btn-b:hover { background: var(--season-btn-h); }
  .v3 .btn-o:hover { border-color: var(--ink-2); }
}
.v3 .inp, .v3 .sel, .v3 .ta { border-radius: 12px; border-color: var(--line); }
.v3 .search { border-radius: 14px; border-width: 1px; }
.v3 .suggest { border-radius: 16px; border: 0; }
.v3 .suggest-i:hover, .v3 .suggest-i.on { background: var(--sky-0); }
.v3 .countdown { background: var(--season-tint); color: var(--season-ink); }
.v3 .countdown.soon { background: var(--live-tint); color: var(--live-ink); }
.v3 .season-tag { color: var(--season-ink); }

/* ---------------------------------------------------------- thẻ nhà thờ */
.v3 .ch {
  border-radius: 18px; border-color: var(--line);
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .v3 .ch:hover { border-color: var(--season); transform: translateY(-2px); }
}
.v3 .ch-top { padding: 1.15rem 1.25rem 0; }
.v3 .ch-name { font-stretch: 104%; font-weight: 660; }
.v3 .ch-body { padding: .9rem 1.25rem 1.05rem; }
.v3 .ch-next { padding: .7rem 1.25rem; background: var(--season-tint); }
.v3 .t { border-radius: 8px; background: var(--sheet-2); border-color: var(--line-2); font-weight: 620; }
.v3 .t-sun { background: var(--red-tint); color: var(--red-ink); }
.v3 .t-next { background: var(--season-btn); border-color: var(--season-btn); color: var(--on-season-btn); }

/* ======================================================================
   HERO
   ====================================================================== */
.v3-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4vw, 48px) 0 30px;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-0) 46%, var(--ground) 100%);
}
.v3-hero-in {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.v3-hero-copy { padding-top: 8px; min-width: 0; }

.v3-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.v3-pill {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 32px;
  padding: .25rem .8rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2);
}
.v3-pill.sun { color: var(--red-ink); }
.v3-pill .season-tag { font-size: .86rem; }

.v3-h1 {
  font-size: clamp(2.7rem, 1.35rem + 4.3vw, 5.2rem);
  font-stretch: 112%; font-weight: 760; line-height: 1.1; letter-spacing: -.036em;
  margin: 0 0 18px; color: var(--ink);
}
/* đồng hồ nhỏ nằm ngay trong câu hỏi, kim chỉ giờ thật */
.hc {
  display: inline-block; width: .82em; height: .82em; vertical-align: -.07em;
  margin: 0 .02em;
}
.hc svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hc-face { fill: var(--season-tint); stroke: var(--season); stroke-width: 2.6; }
.hc-ticks { stroke: var(--season); stroke-width: 2.4; stroke-linecap: round; }
.hc-h, .hc-m { stroke: var(--ink); stroke-linecap: round; transform-box: view-box; transform-origin: 20px 20px; }
.hc-h { stroke-width: 3.4; }
.hc-m { stroke-width: 2.4; }
.hc-pin { fill: var(--ink); }
#hClock.go .hc-h, #hClock.go .hc-m { transition: transform 1.6s var(--ease-out); }

.v3-lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 33em; margin: 0 0 24px; }
.v3-lede b { color: var(--ink); font-weight: 680; font-variant-numeric: tabular-nums; }

/* ô tìm hai chế độ */
.v3-finder { position: relative; max-width: 620px; }
.v3-mode {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 4px; margin-bottom: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
}
.v3-mode::before {
  content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--ink); border-radius: 999px; transition: transform .32s var(--ease-move);
}
.v3-mode[data-on="gio"]::before { transform: translateX(100%); }
.v3-mode button {
  position: relative; z-index: 1; min-height: 38px; padding: .4rem 1.15rem;
  border-radius: 999px; font-size: .94rem; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; transition: color .2s ease;
}
.v3-mode button.on { color: #fff; }

.v3 .v3-hero .search-lg {
  min-height: 64px; padding: .5rem .7rem .5rem 1.25rem; border-radius: 18px;
  border: 1px solid transparent; position: relative;
  box-shadow: 0 1px 2px rgba(12,30,51,.08), 0 10px 26px -14px rgba(12,30,51,.3);
}
.v3 .v3-hero .search-lg input { font-size: 1.1rem; }
.v3 .v3-hero .search:focus-within { border-color: var(--season); box-shadow: 0 0 0 4px var(--season-tint); }
/* gợi ý chỗ bắt đầu: một vòng sáng toả ra quanh ô tìm, một lần sau khi vào trang */
.v3-js .v3-hero .hero-search::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--season) 45%, transparent);
  animation: v3-spot 1.5s var(--ease-out) 1.2s both;
}
@keyframes v3-spot {
  from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--season) 45%, transparent); }
  to   { box-shadow: 0 0 0 18px color-mix(in srgb, var(--season) 0%, transparent); }
}

.v3-find-gio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.v3-find-gio label { display: block; min-width: 0; }
.v3-find-gio label span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin: 0 0 4px 4px; }
.v3-find-gio .sel { width: 100%; min-height: 48px; background-color: #fff; font-size: .95rem; }
.v3-find-gio .btn { grid-column: 1 / -1; min-height: 52px; }

.v3-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; max-width: 620px; }
.v3-act {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--ease-out);
}
.v3-act-ic { width: 22px; height: 22px; color: var(--season-ink); }
.v3-act-t { flex: 1 1 auto; min-width: 0; font-weight: 650; line-height: 1.3; }
.v3-act-t small { display: block; margin-top: 3px; font-size: .82rem; font-weight: 450; color: var(--muted); line-height: 1.4; }
.v3-act-go { width: 18px; height: 18px; color: var(--muted-2); transition: transform .25s var(--ease-out), color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .v3-act:hover { border-color: var(--season); transform: translateY(-2px); }
  .v3-act:hover .v3-act-go { transform: translateX(3px); color: var(--season-ink); }
}
.v3-act:active { transform: scale(.98); }

.v3-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.v3-trust li { display: inline-flex; align-items: center; gap: 6px; }
.v3-trust .ic { width: 16px; height: 16px; color: var(--season); stroke-width: 2.2; }

/* ----------------------------------------------------------- bản đồ nhịp lễ */
.v3-map-wrap { margin: 0; min-width: 0; }
.v3-map-cap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: end;
  margin: 0 0 6px auto; max-width: 470px;
}
.v3-map-title { font-weight: 680; font-size: 1rem; font-stretch: 106%; }
.v3-map-sub { grid-column: 1; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.v3-map-sub b { color: var(--live-ink); font-variant-numeric: tabular-nums; }
.v3-map-clock { grid-column: 2; grid-row: 1 / span 2; color: var(--ink); align-self: center; }
.dm { display: block; width: auto; overflow: visible; }
.dm-clock { height: 28px; }
.dm-off { fill: currentColor; opacity: .09; }
.dm-on { fill: currentColor; }
.dm-colon { fill: var(--live); animation: dm-blink 2s steps(1) infinite; }
@keyframes dm-blink { 50% { opacity: .12; } }

.vm {
  position: relative; width: 100%; max-width: 470px; margin-left: auto;
  aspect-ratio: 83 / 107;
  --vm-land: #BFD0E3; --vm-isl: #5A7696; --vm-church: var(--season); --vm-live: var(--live);
}
.vm-cv { position: absolute; inset: 0; display: block; }
.v3-map-key {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 30px 0 0 auto; max-width: 470px;
  font-size: .8rem; color: var(--muted);
}
.v3-map-key span { display: inline-flex; align-items: center; gap: 6px; }
.v3-map-key i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.v3-map-key .k-ch { background: var(--season); }
.v3-map-key .k-live { background: var(--live); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--live-tint); }
.v3-map-key .k-hint { color: var(--muted-2); }
@media (hover: none), (pointer: coarse) { .v3-map-key .k-hint { display: none; } }
.vm-over { position: absolute; inset: 0; pointer-events: none; }
.vm-city {
  position: absolute; transform: translate(-100%, -50%); display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 620; color: var(--ink-2); white-space: nowrap;
  text-shadow: 0 0 3px var(--sky-0), 0 0 6px var(--sky-0), 0 0 10px var(--sky-0);
}
.vm-city i { order: 2; width: 14px; height: 1px; background: var(--ink-2); opacity: .45; }
.vm-isl-l {
  position: absolute; transform: translate(-50%, 0); font-size: 11px; line-height: 1.25;
  font-weight: 560; color: var(--muted); text-align: center; white-space: nowrap;
}
.vm-isl-r { transform: translate(-100%, -100%); text-align: right; }
.vm-isl-t { transform: translate(-50%, -100%); }
.vm-deg { position: absolute; font-size: 10px; font-weight: 560; color: var(--sky-ink); opacity: .55; white-space: nowrap; }
.vm-deg-y { transform: translate(-100%, -50%); padding-right: 6px; }
.vm-deg-x { transform: translate(-50%, 0); padding-top: 4px; }
.vm-sea { position: absolute; transform: translate(-50%, -50%); font-size: 12px; font-weight: 560;
          letter-spacing: .04em; color: var(--sky-ink); opacity: .5; white-space: nowrap; }
.vm-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vm-lines path { fill: none; stroke: var(--ink); stroke-opacity: .32; stroke-width: 1; stroke-dasharray: 2 3; }
.vm-lines circle { fill: none; stroke: var(--live-ink); stroke-opacity: .65; stroke-width: 1.2; }
.vm-cards { position: absolute; inset: 0; }
.vm-card {
  position: absolute; display: flex; align-items: center; gap: 10px; pointer-events: auto;
  max-width: 43%; padding: 7px 12px 7px 7px; background: #fff;
  border-radius: 14px; box-shadow: 0 1px 2px rgba(12,30,51,.06), 0 12px 26px -14px rgba(12,30,51,.32);
  animation: vm-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -2s);
  transition: box-shadow .2s ease;
}
.vm-card:hover { box-shadow: 0 0 0 2px var(--live), 0 12px 26px -14px rgba(12,30,51,.32); }
.vm-card-time {
  flex: none; padding: 5px 9px; border-radius: 9px; background: var(--live-tint); color: var(--live-ink);
  text-align: center; line-height: 1.15;
}
.vm-card-time b { display: block; font-weight: 720; font-size: 1rem; }
.vm-card-time small { display: block; font-size: .66rem; font-weight: 600; white-space: nowrap; }
.vm-card-b { min-width: 0; line-height: 1.25; }
.vm-card-b b { display: block; font-size: .88rem; font-weight: 660; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-card-b small { display: block; font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes vm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* thẻ nổi và nhãn hiện ra sau khi các chấm đã lan xong */
.v3-js .vm .vm-cards, .v3-js .vm .vm-lines, .v3-js .vm .vm-city,
.v3-js .vm .vm-isl-l, .v3-js .vm .vm-sea, .v3-js .vm .vm-deg { opacity: 0; transition: opacity .7s ease; }
.v3-js .vm.vm-ready .vm-cards, .v3-js .vm.vm-ready .vm-lines, .v3-js .vm.vm-ready .vm-city,
.v3-js .vm.vm-ready .vm-isl-l, .v3-js .vm.vm-ready .vm-sea { opacity: 1; }
.v3-js .vm.vm-ready .vm-isl-l, .v3-js .vm.vm-ready .vm-sea { opacity: 1; }
.v3-js .vm.vm-ready .vm-sea { opacity: .5; }
.v3-js .vm.vm-ready .vm-deg { opacity: .55; }
.vm-tip {
  position: absolute; z-index: 5; transform: translate(14px, -50%);
  max-width: 250px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: .8rem; line-height: 1.4; pointer-events: none; opacity: 0;
  transition: opacity .15s ease;
}
.vm-tip.on { opacity: 1; pointer-events: auto; }
.vm-tip.flip { transform: translate(calc(-100% - 14px), -50%); }
.vm-tip b { display: block; font-size: .88rem; font-weight: 650; }
.vm-tip small, .vm-tip span { display: block; opacity: .78; }

/* ------------------------------------------------- nhịp thánh lễ trong ngày */
.v3-day { margin-top: 26px; }
.v3-day-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.v3-day-t { font-weight: 680; font-stretch: 106%; }
.v3-day-s { font-size: .9rem; color: var(--muted); }
.v3-day-s b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dc-plot { position: relative; height: 96px; margin-top: 22px; }
.dc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dc-area { fill: var(--sky-2); opacity: .55; }
.dc-area-past { fill: var(--season-tint-2); }
.dc-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* đường cong hiện dần từ trái sang phải khi cuộn tới */
.v3-js .dc .dc-svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-out); }
.v3-js .dc.in .dc-svg { clip-path: inset(0 0 0 0); }
.dc-peak {
  position: absolute; transform: translate(-50%, -8px); font-size: .74rem; color: var(--ink-2);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.dc-peak b { font-weight: 700; color: var(--ink); }
.v3-js .dc.in .dc-peak.dc-hide, .dc-peak.dc-hide { opacity: 0; }
.v3-js .dc .dc-peak, .v3-js .dc .dc-now { opacity: 0; transition: opacity .5s ease 1.3s; }
.v3-js .dc.in .dc-peak, .v3-js .dc.in .dc-now { opacity: 1; }
.dc-now { position: absolute; top: -8px; bottom: 0; width: 0; border-left: 1.5px solid var(--live); }
.dc-now i { position: absolute; top: -4px; left: -5.5px; width: 9px; height: 9px; border-radius: 50%;
            background: var(--live); box-shadow: 0 0 0 4px var(--live-tint); }
.dc-now-l {
  position: absolute; bottom: 6px; left: 8px; padding: 2px 7px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); font-size: .74rem; font-weight: 650;
  color: var(--live-ink); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.dc-now.dc-right .dc-now-l { left: auto; right: 8px; }
.dc-axis { position: relative; height: 24px; border-top: 1px solid var(--line); }
.dc-tick {
  position: absolute; top: 7px; transform: translateX(-50%); font-size: .72rem; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dc-tick::before { content: ''; position: absolute; top: -7px; left: 50%; height: 5px; border-left: 1px solid var(--line); }
.dc-tick.dc-minor::before { height: 3px; }
.dc-tick:first-child { transform: none; }
.dc-tick:first-child::before { left: 0; }
.dc-tick:last-child { transform: translateX(-100%); }
.dc-tick:last-child::before { left: 100%; }

/* ======================================================================
   LỄ SẮP DIỄN RA: bảng giờ lật đứng trước con phố có nhà thờ
   ====================================================================== */
.v3-next { position: relative; isolation: isolate; padding-top: clamp(40px, 5vw, 64px); overflow: hidden; }
.v3-next-sky {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--ground) 0%, #D8EBFD 16%, #B7DAF7 46%, #D5E9FB 78%, #EAF4FD 100%);
}
.v3-next-in { position: relative; z-index: 2; }
.v3-board {
  position: relative; max-width: 780px; margin: 0 0 -104px;
  background: #fff; border-radius: 24px;
  box-shadow: 0 1px 2px rgba(12,30,51,.06), 0 34px 60px -30px rgba(12,30,51,.42);
  padding: 22px 24px 10px;
}
.v3-board-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.v3-board-h h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); }
.v3-board-h p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.v3-board-h p b { color: var(--ink); font-variant-numeric: tabular-nums; }
.v3-board { --bcols: 168px minmax(0, 1fr) 142px 128px; }
.v3-board-cols {
  display: grid; grid-template-columns: var(--bcols); gap: 16px; padding: 0 14px 8px;
  font-size: .76rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line);
}
.v3-board-cols span:last-child { text-align: right; }
.v3-row {
  display: grid; grid-template-columns: var(--bcols); gap: 16px; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--line-2); border-radius: 12px;
  transition: background-color .15s ease;
}
.v3-row:last-child { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .v3-row:hover { background: var(--sky-0); } }
.v3-row-name { min-width: 0; }
.v3-row-name b { display: block; font-size: 1.02rem; font-weight: 660; line-height: 1.3;
                 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-row-name small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35;
                     white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-row-m { display: none !important; }
.v3-row-dist { font-weight: 640; font-size: .95rem; font-variant-numeric: tabular-nums; line-height: 1.3; }
.v3-row-dist small { display: block; font-size: .76rem; font-weight: 450; color: var(--muted); }
.v3-row-left {
  justify-self: end; padding: 5px 11px; border-radius: 999px; background: var(--season-tint);
  color: var(--season-ink); font-size: .84rem; font-weight: 650; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.v3-row-left.soon { background: var(--live-tint); color: var(--live-ink); }
.v3-board-more {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px;
  padding: 12px; font-weight: 640; font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line-2);
}
.v3-board-more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.v3-board-more:hover { color: var(--season-ink); }
.v3-board-more:hover .ic { transform: translateX(3px); }
.v3-board-empty { padding: 22px 14px; color: var(--muted); }
.v3-js .v3-board:not(.in) .v3-row { opacity: 0; transform: translateY(6px); }
.v3-board.in .v3-row {
  transition: opacity .5s ease, transform .6s var(--ease-out), background-color .15s ease;
  transition-delay: calc(var(--i, 0) * 90ms + 100ms), calc(var(--i, 0) * 90ms + 100ms), 0s;
}

/* ô số lật */
.flaps { display: inline-flex; align-items: center; gap: 4px; --fh: 44px; font-size: 27px; }
.flap {
  position: relative; width: calc(var(--fh) * .68); height: var(--fh); border-radius: 7px;
  perspective: 240px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink);
  box-shadow: 0 1px 0 rgba(12,30,51,.08), inset 0 0 0 1px rgba(12,30,51,.05);
}
.flap::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; z-index: 3;
               background: rgba(12,30,51,.13); }
.flap-h { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; }
.flap-top { top: 0; border-radius: 7px 7px 0 0; background: #F1F5FA; }
.flap-bot { bottom: 0; border-radius: 0 0 7px 7px; background: #E9EFF6; }
.flap-h b { display: block; height: var(--fh); line-height: var(--fh); text-align: center; font-weight: inherit; }
.flap-bot b { margin-top: calc(var(--fh) / -2); }
.flap-leaf {
  position: absolute; left: 0; right: 0; top: 0; height: 50%; z-index: 2;
  transform-origin: 50% 100%; transform-style: preserve-3d; visibility: hidden;
}
.flap-leaf .flap-h { top: 0; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flap-front { border-radius: 7px 7px 0 0; background: #F1F5FA; }
.flap-back { border-radius: 0 0 7px 7px; background: #E9EFF6; transform: rotateX(180deg); }
.flap-back b { margin-top: calc(var(--fh) / -2); }
.flap-sep { font-size: 26px; font-weight: 700; color: var(--muted-2); margin: 0 1px; transform: translateY(-2px); }

/* con phố: cùng bức vẽ in hai màu của bản 2, đứng sau bảng giờ */
.v3-street { position: relative; z-index: 1; height: clamp(250px, 24vw, 330px); }
.v3-street .il { width: 100%; height: 100%; display: block; }

/* ======================================================================
   THANH MỤC DÍNH
   ====================================================================== */
.v3-secnav {
  position: fixed; z-index: 55; top: calc(var(--hdr-h) + 10px); left: 50%;
  max-width: calc(100% - 24px); transform: translate(-50%, -10px); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .3s var(--ease-out);
}
.v3-secnav.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.v3-secnav-in {
  position: relative; display: flex; gap: 2px; padding: 4px; background: #fff;
  border-radius: 999px; box-shadow: 0 1px 2px rgba(12,30,51,.08), 0 14px 30px -16px rgba(12,30,51,.4);
  overflow-x: auto; scrollbar-width: none;
}
.v3-secnav-in::-webkit-scrollbar { display: none; }
.v3-secnav-bar {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--ink); transition: transform .38s var(--ease-move), width .38s var(--ease-move);
}
.v3-secnav a {
  position: relative; z-index: 1; padding: 7px 14px; border-radius: 999px; font-size: .86rem;
  font-weight: 580; color: var(--ink-2); white-space: nowrap; transition: color .25s ease;
}
.v3-secnav a.on { color: #fff; }

/* ======================================================================
   CÁC KHỐI CHUNG
   ====================================================================== */
.v3-sec { padding: clamp(56px, 7vw, 100px) 0; }
.v3-sec-soft { background: #fff; border-block: 1px solid var(--line-2); }
.v3-sec-h { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 28px; }
.v3-sec-h h2 { font-size: clamp(1.85rem, 1.15rem + 2.2vw, 2.8rem); font-stretch: 108%; font-weight: 720; letter-spacing: -.032em; line-height: 1.12; }
.v3-sec-h p { margin: 8px 0 0; color: var(--muted); font-size: 1.04rem; max-width: 56ch; }
.v3-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.4vw, 30px); }

/* thanh 7 ngày: bảy ô rời, ô đang chọn nền mực */
.v3 .daybar.v3-days {
  display: grid; grid-template-columns: repeat(7, minmax(84px, 1fr)); gap: 8px;
  background: none; border: 0; border-radius: 0; overflow-x: auto; padding: 2px;
}
.v3 .v3-days .day {
  min-height: 86px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  transition: background-color .2s ease, border-color .2s ease, transform .16s var(--ease-out);
}
.v3 .v3-days .day:last-child { border-right: 1px solid var(--line); }
.v3 .v3-days .day:active { transform: scale(.97); }
.v3 .v3-days .day-n { font-size: 1.6rem; font-stretch: 108%; }
.v3 .v3-days .day.on { background: var(--ink); border-color: var(--ink); border-radius: 16px; }
.v3 .v3-days .day.on .day-w, .v3 .v3-days .day.on .day-n, .v3 .v3-days .day.on .day-sub { color: #fff; }
.v3 .v3-days .day.sun.on .day-w, .v3 .v3-days .day.sun.on .day-n { color: #FFB1B3; }
.v3 .v3-days .day.is-today:not(.on) { border-color: var(--season); }
@media (hover: hover) and (pointer: fine) { .v3 .v3-days .day:not(.on):hover { background: var(--sky-0); border-color: var(--sky-2); } }
.v3 .v3-where { margin-top: 18px; }
.v3-today { margin-top: 1.5rem; }
.v3-today.flip .ch { animation: v3-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes v3-in { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------- ba cách tìm: thẻ lệch cỡ */
.v3-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v3-way {
  display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 2.4vw, 30px);
  background: var(--ground); border: 1px solid var(--line); border-radius: 26px; color: inherit;
  transition: border-color .2s ease, box-shadow .25s ease;
}
.v3-way-a { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 3vw, 44px); }
.v3-way h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); font-stretch: 106%; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.v3-way p { color: var(--ink-2); margin: 0 0 16px; max-width: 46ch; }
.v3-way-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--season-ink); }
.v3-way-go .ic { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .v3-way:hover { border-color: var(--sky-ink); }
  a.v3-way:hover .v3-way-go .ic { transform: translateX(3px); }
}
.v3-way-art { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }

/* hình động giải thích */
.xa { display: block; width: 100%; height: auto; font-family: var(--f-ui); }
.xa text { font-family: var(--f-ui); }
.xa-grid { fill: none; stroke: var(--sky-ink); stroke-opacity: .07; stroke-width: 1; }
.xa-t { font-size: 10px; font-weight: 560; fill: var(--muted); }
.xa-tb { font-size: 12.5px; font-weight: 660; fill: var(--ink); }
.xa-ring { fill: none; stroke: var(--sky-ink); stroke-opacity: .3; stroke-dasharray: 3 4; transform-box: fill-box; transform-origin: center; }
.xa-pin-o { fill: var(--season); opacity: .18; transform-box: fill-box; transform-origin: center; }
.xa-pin-i { fill: var(--season); stroke: #fff; stroke-width: 2; }
.xa-mk-b { fill: #fff; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.xa-mk-l { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.xa-hot .xa-mk-b { fill: var(--live-tint); stroke: var(--live-ink); }
.xa-hot .xa-mk-l { stroke: var(--live-ink); }
.xa-pop { transform-box: fill-box; transform-origin: center bottom; }
.xa-route { fill: none; stroke: var(--live); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.xa-chip rect { fill: #fff; stroke: var(--line); }
.xa-chip text { font-size: 10.5px; font-weight: 620; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.xa-chip-hot rect { fill: var(--ink); stroke: var(--ink); }
.xa-chip-hot text { fill: #fff; }
.xa-slot rect { fill: #fff; stroke: var(--line); transition: fill .3s ease, stroke .3s ease; }
.xa-slot text { font-size: 10.5px; font-weight: 620; fill: var(--ink-2); transition: fill .3s ease; }
.xa-row-b { fill: #fff; stroke: var(--line-2); }
.xa-tm rect { fill: var(--sheet-2); stroke: var(--line-2); transition: fill .3s ease, stroke .3s ease; }
.xa-tm text { font-size: 10px; font-weight: 660; fill: var(--ink); font-variant-numeric: tabular-nums; transition: fill .3s ease; }
.xa-cursor path { fill: var(--ink); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.xa-cursor { opacity: 0; }
.xa-link { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.xa-node rect { fill: #fff; stroke: var(--line); }
.xa-node circle { fill: var(--season); }
.xa-node text { font-size: 11.5px; font-weight: 620; fill: var(--ink); }
.xa-node-hot rect { fill: var(--ink); stroke: var(--ink); }
.xa-node-hot text { fill: #fff; }
.xa-node-hot circle { fill: var(--live); }
.xa-node-faint { opacity: .45; }

/* trạng thái trước khi cuộn tới: chỉ giấu khi JavaScript đang chạy */
.v3-js .v3-way:not(.in) .xa-ring { opacity: 0; transform: scale(.55); }
.v3-js .v3-way:not(.in) .xa-fade,
.v3-js .v3-way:not(.in) .xa-chip,
.v3-js .v3-way:not(.in) .xa-node { opacity: 0; }
.v3-js .v3-way:not(.in) .xa-pop { opacity: 0; transform: scale(.6); }
.v3-js .v3-way:not(.in) .xa-route,
.v3-js .v3-way:not(.in) .xa-link { stroke-dashoffset: 100; }
.v3-js .v3-way:not(.in) .xa-pin-o { transform: scale(0); }
.v3-way.in .xa-ring { transition: opacity .6s ease, transform .9s var(--ease-out); transition-delay: var(--d); }
.v3-way.in .xa-fade, .v3-way.in .xa-chip, .v3-way.in .xa-node { transition: opacity .5s ease; transition-delay: var(--d); }
.v3-way.in .xa-node-faint { opacity: .45; }
.v3-way.in .xa-pop { transition: opacity .35s ease, transform .55s var(--ease-out); transition-delay: var(--d); }
.v3-way.in .xa-route { transition: stroke-dashoffset .8s var(--ease-out) .55s; }
.v3-way.in .xa-link { transition: stroke-dashoffset .5s var(--ease-out); transition-delay: var(--d); }
.v3-way.in .xa-pin-o { animation: xa-pin 1.1s var(--ease-out) .1s both; }
@keyframes xa-pin { 0% { transform: scale(0); opacity: .5; } 60% { transform: scale(1.7); opacity: .12; } 100% { transform: scale(1); opacity: .18; } }
.v3-way.in .xa-cursor { animation: xa-cur 1.5s var(--ease-move) .2s both; }
@keyframes xa-cur {
  0%   { opacity: 0; transform: translate(318px, 200px); }
  12%  { opacity: 1; }
  55%  { transform: translate(214px, 30px); }
  62%  { transform: translate(214px, 30px) scale(.84); }
  70%  { transform: translate(214px, 30px) scale(1); }
  100% { opacity: 1; transform: translate(214px, 30px); }
}
.v3-way.in .xa-slot-on rect { fill: var(--ink); stroke: var(--ink); transition-delay: .95s; }
.v3-way.in .xa-slot-on text { fill: #fff; transition-delay: .95s; }
.v3-way.in .xa-drop { opacity: .28; transition: opacity .5s ease; transition-delay: var(--d); }
.v3-way.in .xa-tm-hit rect { fill: var(--season-tint); stroke: var(--season); transition-delay: var(--d); }
.v3-way.in .xa-tm-hit text { fill: var(--season-ink); transition-delay: var(--d); }
.v3-way.reset *, .v3-way.reset { transition: none !important; animation: none !important; }

/* ---------------------------------------------------- biểu đồ tỉnh thành */
.v3 .chart-bar { background: var(--season); border-radius: 0 6px 6px 0; transform-origin: left center;
                 transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.v3 .chart-row:hover .chart-bar { background: var(--season-btn); }
.v3-js .v3-chart:not(.in) .chart-bar { transform: scaleX(0); }
.v3-js .v3-chart:not(.in) .chart-val { opacity: 0; }
.v3 .v3-chart .chart-val { transition: opacity .4s ease; transition-delay: calc(var(--i, 0) * 45ms + 250ms); font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------- hàng cuộn ngang */
.v3-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; }
.v3-rail > .ch { flex: 0 0 344px; scroll-snap-align: start; }
.v3-arrow {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: border-color .15s ease, transform .16s var(--ease-out);
}
.v3-arrow:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .v3-arrow:hover { border-color: var(--ink-2); } }
.v3-arrow .ic { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- hỏi đáp */
.v3-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.v3-faq-wrap .v3-sec-h { margin-bottom: 0; }
.v3-faq details { border-bottom: 1px solid var(--line); }
.v3-faq details:first-child { border-top: 1px solid var(--line); }
.v3-faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 18px 2px; cursor: pointer; list-style: none; font-weight: 640; font-size: 1.05rem; line-height: 1.45;
}
.v3-faq summary::-webkit-details-marker { display: none; }
.v3-faq summary::after {
  content: ''; flex: none; width: 14px; height: 14px; margin-top: 6px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.6px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 1.6px 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.v3-faq details[open] summary::after { transform: rotate(45deg); }
.v3-faq details p { margin: 0 2px 20px; color: var(--ink-2); max-width: 64ch; }
.v3-faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete;
}
.v3-faq details[open]::details-content { block-size: auto; }

/* -------------------------------------------------------- lời ngỏ, giáo xứ */
.v3-letter-sec { background: #fff; border-block: 1px solid var(--line-2); }
.v3 .letter-body p { color: var(--ink-2); }
.v3-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 52px); border-radius: 30px;
  background: var(--season-tint); border: 1px solid var(--season-tint-2);
}
.v3-cta h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); font-stretch: 108%; max-width: 20ch; margin-bottom: 14px; letter-spacing: -.03em; }
.v3-cta p { color: var(--ink-2); max-width: 54ch; margin: 0; }
.v3-cta .cta-art { max-width: 320px; }
.v3-cta .nb-stamp { transform-box: fill-box; transform-origin: center; }
.v3-js .v3-cta:not(.in) .nb-stamp { opacity: 0; scale: 1.6; }
.v3-cta.in .nb-stamp { transition: opacity .2s ease .55s, scale .5s var(--ease-out) .55s; }

/* ----------------------------------------------- tranh in hai màu (riso) */
.v3 .il-lamp { fill: #F5C451; }
.v3 .il-bread { fill: #E9B872; }
.v3 .il-ground { opacity: .14; }
/* bản 3 luôn là ban ngày: bỏ trăng sao và đèn đêm của bức vẽ */
.v3 .il.is-night .il-day { display: inline; }
.v3 .il.is-night .il-night { display: none; }
.v3 .il.is-night .il-win { fill: var(--season); opacity: .55; }

/* ======================================================================
   MÀN HÌNH NHỎ
   ====================================================================== */
@media (max-width: 1080px) {
  .v3-hero-in { grid-template-columns: minmax(0, 1fr); }
  .v3-map-wrap { max-width: 520px; width: 100%; margin: 8px auto 0; }
  .v3-map-cap, .vm, .v3-map-key { max-width: none; margin-left: 0; }
  .v3-way-a { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .v3-board { margin: 0 0 -60px; max-width: none; }
  .v3-ways { grid-template-columns: minmax(0, 1fr); }
  .v3-faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .v3-cta { grid-template-columns: minmax(0, 1fr); }
  .v3-cta .cta-art { max-width: 260px; }
}
@media (max-width: 760px) {
  .vm-cards, .vm-lines, .vm-deg { display: none; }
  .v3-map-key { margin-top: 12px; }
  .vm-city { font-size: 11px; }
  .vm-isl-l { font-size: 10px; }
  .vm-sea { font-size: 11px; }
  .v3-board { padding: 16px 14px 6px; border-radius: 20px; margin-bottom: 0; --bcols: 112px minmax(0, 1fr) auto; }
  .v3-board-cols { display: none; }
  .v3-board-h { flex-direction: column; }
  .v3-row { gap: 10px; padding: 10px 6px; }
  .v3 .v3-board { --bcols: 112px minmax(0, 1fr); }
  .v3-row-dist, .v3-row-left, .v3-row-addr { display: none !important; }
  .v3-row-m { display: block !important; font-weight: 600; color: var(--season-ink) !important; }
  .v3-row-m.soon { color: var(--live-ink) !important; }
  .flaps { --fh: 34px; font-size: 21px; gap: 3px; }
  .flap-sep { font-size: 20px; }
  .v3-street { height: 210px; margin-top: -10px; }
  .dc-tick.dc-minor { display: none; }
  .dc-peak { font-size: .68rem; }
}
@media (max-width: 620px) {
  .v3-h1 { font-stretch: 104%; letter-spacing: -.03em; }
  .v3-lede { font-size: 1.08rem; }
  .v3-actions { grid-template-columns: minmax(0, 1fr); }
  .v3-find-gio { grid-template-columns: minmax(0, 1fr); }
  .v3-mode { display: grid; width: 100%; }
  .v3-mode button { padding: .4rem .6rem; }
  .v3-rail > .ch { flex-basis: 86%; }
  .v3 .daybar.v3-days { grid-template-columns: repeat(7, minmax(78px, 1fr)); }
  .v3-sec-h { align-items: flex-start; }
}


/* ======================================================================
   TRANG MỘT NHÀ THỜ
   ====================================================================== */
.v3-chp { padding: 18px 0 80px; background: linear-gradient(180deg, var(--sky-1) 0, var(--ground) 460px); }
.v3-crumbs { margin-bottom: 22px; font-size: .84rem; color: var(--muted); }
.v3-crumbs .row { gap: .35rem; flex-wrap: wrap; }
.v3-chp-hero {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px);
  align-items: stretch; margin-bottom: clamp(36px, 5vw, 56px);
}
.v3-chp-id { min-width: 0; padding-top: 6px; }
.v3-pill-kind { color: var(--season-ink); }
.v3-chp-id h1 {
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.7rem); font-stretch: 110%; font-weight: 750;
  letter-spacing: -.034em; line-height: 1.1; margin: 0 0 18px;
}
.v3-chp-meta { display: flex; flex-direction: column; gap: 9px; color: var(--ink-2); font-size: 1rem; }
.v3-chp-meta > * { display: inline-flex; align-items: flex-start; gap: 8px; }
.v3-chp-meta .ic { color: var(--season-ink); margin-top: 3px; }
.v3-chp-meta b { color: var(--ink); }
.v3-chp-addr { color: var(--ink); font-weight: 560; align-self: flex-start; }
.v3-chp-addr .ic:last-child { color: var(--muted-2); width: .9em; height: .9em; margin-top: 5px; }
@media (hover: hover) and (pointer: fine) { .v3-chp-addr:hover span { text-decoration: underline; text-underline-offset: 3px; } }
.v3-chp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.v3-chp-acts .btn { min-height: 44px; }
.v3-btn-flag { color: var(--red-ink) !important; }

.v3-next-card {
  height: 100%; display: flex; flex-direction: column; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
}
.v3-next-l { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-weight: 660; }
.v3-next-l span { color: var(--muted); font-weight: 500; font-size: .9rem; }
.v3-next-flaps .flaps { --fh: 70px; font-size: 44px; gap: 6px; margin: 16px 0 12px; }
.v3-next-flaps .flap-sep { font-size: 40px; }
.v3-next-cd {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--season-tint);
  color: var(--season-ink); font-weight: 650; font-size: .92rem;
}
.v3-next-cd.soon { background: var(--live-tint); color: var(--live-ink); }
.v3-next-more { margin-top: auto; padding-top: 16px; }
.v3-next-more > div { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.v3-next-more b { font-size: 1.15rem; font-weight: 700; min-width: 3.3em; }
.v3-next-more span { flex: 1 1 auto; color: var(--muted); font-size: .88rem; }
.v3-next-more em { font-style: normal; font-size: .82rem; font-weight: 620; color: var(--season-ink); white-space: nowrap; }
.v3-next-none p { margin: 12px 0 0; color: var(--ink-2); }

.v3-chp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.v3-chp-main { min-width: 0; }
.v3-chp-sec + .v3-chp-sec { margin-top: 44px; }
.v3-chp-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.v3-chp-h h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-stretch: 108%; }

/* lịch tuần: bảy cột như tờ lịch, cột hôm nay nền mực */
.v3-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.v3-week-d {
  display: flex; flex-direction: column; min-width: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.v3-week-h {
  padding: 10px 6px; text-align: center; font-weight: 660; font-size: .86rem; line-height: 1.25;
  background: var(--sheet-2); border-bottom: 1px solid var(--line-2);
}
.v3-week-h small { display: block; font-size: .7rem; font-weight: 600; color: var(--season-ink); }
.v3-week-d.sun .v3-week-h { color: var(--red-ink); }
.v3-week-d.today { border-color: var(--ink); }
.v3-week-d.today .v3-week-h { background: var(--ink); color: #fff; border-bottom-color: var(--ink); }
.v3-week-d.today.sun .v3-week-h { color: #FFB1B3; }
.v3-week-d.today .v3-week-h small { color: #A5E8C4; }
.v3-week-b { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; }
.v3-week-b .t { width: 100%; max-width: 4.6rem; min-width: 0; }
.v3 .t-live { background: var(--live-tint); border-color: var(--live); color: var(--live-ink); }
.v3-week-none { padding: 6px 0; font-size: .76rem; color: var(--muted-2); text-align: center; }
.v3-week-r {
  display: flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px;
  font-size: .74rem; font-weight: 560; color: var(--muted); border-top: 1px solid var(--line-2);
  transition: color .15s ease, background-color .15s ease;
}
.v3-week-r .ic { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .v3-week-r:hover { color: var(--red-ink); background: var(--red-tint); } }

.v3-chp .kv-r { padding: 2px 0; }
.v3-priests { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.v3-priests h3 { font-size: 1.02rem; margin-bottom: 6px; }

.v3-side-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.v3-side-box + .v3-side-box { margin-top: 16px; }
.v3-side-box h3 { font-size: 1.1rem; font-stretch: 106%; margin-bottom: 12px; }
.v3-side-claim { background: var(--season-tint); border-color: var(--season-tint-2); }
.v3-side-claim p { color: var(--ink-2); }
.v3-near-map { display: block; width: 100%; height: auto; margin-bottom: 6px;
               background: var(--sky-0); border: 1px solid var(--line-2); border-radius: 14px; }
.nm-grid { fill: none; stroke: var(--sky-ink); stroke-opacity: .07; }
.nm-ring { fill: none; stroke: var(--sky-ink); stroke-opacity: .3; stroke-dasharray: 3 4; }
.nm-rl { font-family: var(--f-ui); font-size: 9.5px; font-weight: 560; fill: var(--muted); }
.nm-pt circle { fill: #fff; stroke: var(--ink); stroke-width: 1.3; }
.nm-pt text { font-family: var(--f-ui); font-size: 10px; font-weight: 700; fill: var(--ink); }
.nm-me { fill: var(--season); stroke: #fff; stroke-width: 2; }
.nm-me-o { fill: var(--season); opacity: .18; transform-box: fill-box; transform-origin: center; }
.v3-js .v3-side-box:not(.in) .nm-pt { opacity: 0; }
.v3-side-box.in .nm-pt { transition: opacity .45s ease; transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.v3-side-box.in .nm-me-o { animation: xa-pin 1.1s var(--ease-out) .1s both; }
.v3-near-list li + li { border-top: 1px solid var(--line-2); }
.v3-near-list .mini { border-top: 0; align-items: center; }
.v3-near-i {
  display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1.3px solid var(--ink); font-size: .72rem; font-weight: 700;
}
@media (hover: hover) and (pointer: fine) { .v3-near-list .mini:hover .mini-n { color: var(--season-ink); } }

@media (max-width: 1000px) {
  .v3-chp-hero, .v3-chp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .v3-week { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .v3-week-d { flex-direction: row; align-items: stretch; }
  .v3-week-h { flex: none; width: 92px; display: flex; flex-direction: column; justify-content: center;
               text-align: left; padding: 10px 12px; border-bottom: 0; border-right: 1px solid var(--line-2); }
  .v3-week-b { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; padding: 8px 10px; }
  .v3-week-b .t { width: auto; min-width: 3.7rem; }
  .v3-week-r { border-top: 0; border-left: 1px solid var(--line-2); padding: 0 12px; font-size: 0; gap: 0; }
  .v3-week-r .ic { width: 15px; height: 15px; }
  .v3-next-flaps .flaps { --fh: 58px; font-size: 36px; }
  .v3-chp-acts .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .v3 *, .v3 *::before, .v3 *::after { animation: none !important; transition: none !important; }
}
