@charset "UTF-8";
/* Bản 3.1: bỏ @import fonts.css (Geologica, Lora, Be Vietnam Pro). v3.css nạp Mona Sans là đủ. */
/* ==========================================================================
   Giờ Lễ Việt: hệ thống thiết kế, bản 2 (10/2026)

   Ý tưởng: trang là một "tờ lịch lễ" sống. Thời gian là nhân vật chính:
   con số giờ lớn, đồng hồ trên tháp chuông chạy theo giờ thật, và màu chủ
   đạo của cả trang đổi theo màu áo lễ của mùa phụng vụ hiện tại.

   - Nền xám xanh rất nhạt, các "tờ" giấy trắng đặt lên trên.
   - Một họ chữ không chân (Geologica) cho mọi thứ.
   - Màu mùa phụng vụ (--season) làm màu chủ. Đỏ lịch (--red) chỉ dành cho
     Chúa Nhật, giống tờ lịch treo tường.
   - Hình minh hoạ in hai màu kiểu riso: nét mực, mực màu mùa, mực đỏ hồng.

   Mọi màu khai báo một lần ở :root. Không viết mã màu thẳng vào component.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* nền, giấy, mực */
  --ground:       #EEF2EE;
  --sheet:        #FFFFFF;
  --sheet-2:      #F5F7F4;
  --ink:          #13261F;
  --ink-2:        #33463F;
  --muted:        #5E6F68;
  --muted-2:      #7F8E87;
  --line:         #D6DED8;
  --line-2:       #E6ECE7;

  /* màu mùa phụng vụ, mặc định Mùa Thường Niên (xanh lục).
     --season: mảng lớn, nút, thanh biểu đồ
     --season-ink: chữ màu trên nền trắng, tương phản cao hơn
     --season-tint: nền nhạt cho ô được chọn, dải "lễ tiếp theo" */
  --season:       #178553;
  --season-ink:   #0F6B42;
  --season-tint:  #E2F1E8;
  --season-tint-2:#CBE6D6;
  --season-deep:  #0B3F28;
  --on-season:    #FFFFFF;

  /* đỏ lịch: Chúa Nhật, và báo sai */
  --red:          #C8352C;
  --red-ink:      #B42E26;
  --red-tint:     #FBE8E5;
  --ill-red:      #E4505A;

  /* giữ tên cũ để các trang chưa làm lại không vỡ màu */
  --paper: var(--ground);  --paper-2: var(--sheet-2);  --surface: var(--sheet);
  --g-900: var(--season-deep); --g-800: var(--season-deep); --g-700: var(--season-ink);
  --g-600: var(--season);  --g-500: var(--season); --g-200: var(--season-tint-2);
  --g-100: var(--season-tint); --g-50: var(--season-tint);
  --b-700: var(--season-ink); --b-600: var(--season-ink); --b-500: var(--season);
  --b-300: var(--season-tint-2); --b-200: var(--line); --b-50: var(--sheet-2);
  --c-600: var(--red-ink); --c-500: var(--red); --c-100: var(--red-tint); --c-50: var(--red-tint);
  --v-600: #5A3290; --v-100: #EEE7F6;

  /* kích thước */
  --wrap:         1200px;
  --wrap-narrow:  760px;
  --gutter:       1.2rem;
  --r-sm:         6px;
  --r:            10px;
  --r-lg:         14px;
  --r-pill:       999px;
  --hdr-h:        64px;

  /* bóng đổ chỉ dùng cho thứ nổi lên trên trang: gợi ý tìm kiếm, modal, toast */
  --sh-pop: 0 2px 6px rgba(19,38,31,.08), 0 14px 34px -12px rgba(19,38,31,.30);
  --sh-1: none; --sh-2: none; --sh-3: var(--sh-pop);

  --f-ui: 'Geologica', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans',
          Roboto, Arial, sans-serif;
  --f-display: var(--f-ui);

  /* chuyển động: ra vào màn hình dùng ease-out mạnh, đổi màu dùng ease */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-move: cubic-bezier(.77, 0, .175, 1);
  --ease: var(--ease-out);
}

/* Màu áo lễ theo mùa. JavaScript gắn data-season lên thẻ <html>. */
:root[data-season="vong"], :root[data-season="chay"] {
  --season: #6B3FA0; --season-ink: #5A3290; --season-tint: #EEE7F6;
  --season-tint-2: #DCCDEE; --season-deep: #2C1846;
}
/* Mùa trắng (Giáng Sinh, Phục Sinh): dùng vàng kim của viền áo lễ trắng */
:root[data-season="giang-sinh"], :root[data-season="phuc-sinh"] {
  --season: #96660C; --season-ink: #7E550A; --season-tint: #F6EEDA;
  --season-tint-2: #EBDBB2; --season-deep: #3D2A05;
}
:root[data-season="hien-xuong"], :root[data-season="tam-nhat"] {
  --season: #B8322A; --season-ink: #9E2A23; --season-tint: #F9E3E0;
  --season-tint-2: #F0C7C1; --season-deep: #4A130F;
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  caret-color: var(--season);
  accent-color: var(--season);
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--f-ui); margin: 0; color: var(--ink);
  text-wrap: balance;
}
/* Tiêu đề tiếng Việt cần giãn dòng từ 1.12 trở lên, thấp hơn là dấu
   dòng dưới chạm chân chữ dòng trên. */
h1 { font-size: clamp(2.3rem, 1.5rem + 3.3vw, 4.1rem); font-weight: 720;
     line-height: 1.12; letter-spacing: -.028em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.25rem); font-weight: 680;
     line-height: 1.18; letter-spacing: -.02em; }
h3 { font-size: 1.18rem; font-weight: 640; line-height: 1.32; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 640; line-height: 1.35; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 640; }
:focus-visible { outline: 2.5px solid var(--season); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--season-tint-2); color: var(--ink); }

/* thanh cuộn mảnh, cùng tông */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; border: 2px solid transparent; background-clip: padding-box; }

/* --------------------------------------------------------------- utilities */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-n { width: min(100% - 2 * var(--gutter), var(--wrap-narrow)); margin-inline: auto; }
.sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px;
      overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.mono-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.row { display: flex; align-items: center; gap: .55rem; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.spread { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.grow { flex: 1 1 auto; min-width: 0; }
.tc { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .8rem; }
.hide { display: none !important; }
.trunc { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* Nhãn nhỏ phía trên tiêu đề đã bỏ khỏi thiết kế. Lớp này còn lại cho các
   trang cũ: hiển thị như một dòng ghi chú thường, không viết hoa giãn chữ. */
.eyebrow { font-size: .875rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.lede { font-size: 1.125rem; color: var(--ink-2); line-height: 1.62; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none;
      stroke: currentColor; stroke-width: 1.7; stroke-linecap: round;
      stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
.arch, .arch-t { border-radius: var(--r); }
.pattern-arch, .pattern-dot { background-image: none; }

/* ------------------------------------------------------------------ header */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 1.2rem; height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: .6rem; flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; display: block; color: var(--season); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 720; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); }
.brand-sub { font-size: .74rem; color: var(--muted); font-weight: 450; }

.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav a {
  position: relative; padding: .5rem .72rem; font-size: .925rem;
  font-weight: 500; color: var(--ink-2); white-space: nowrap; border-radius: var(--r-sm);
  transition: color .15s ease, background-color .15s ease;
}
.nav a::after {
  content: ''; position: absolute; left: .72rem; right: .72rem; bottom: .18rem; height: 2px;
  background: var(--season); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); }
}
.nav a[aria-current] { color: var(--season-ink); font-weight: 640; }
.nav a[aria-current]::after { transform: scaleX(1); }
.nav a.nav-cta {
  margin-left: .5rem; padding: .5rem .95rem; color: var(--season-ink); font-weight: 640;
  border: 1.5px solid var(--season); border-radius: var(--r);
}
.nav a.nav-cta::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  .nav a.nav-cta:hover { background: var(--season); color: var(--on-season); }
}

.burger { display: none; margin-left: auto; padding: .55rem; border-radius: var(--r-sm); }
.burger .ic { width: 1.4rem; height: 1.4rem; }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--sheet);
    padding: .5rem var(--gutter) 1.2rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-pop); margin-left: 0;
    transform: translateY(-6px); opacity: 0; pointer-events: none;
    transition: transform .2s var(--ease-out), opacity .16s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8rem .2rem; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1rem; }
  .nav a::after { display: none; }
  .nav a.nav-cta { margin: .9rem 0 0; text-align: center; border-radius: var(--r); }
}

/* ------------------------------------------------------------------ button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .62rem 1.15rem; border-radius: var(--r);
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease,
              transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-p, .btn-b { background: var(--season); color: var(--on-season); }
.btn-o { border-color: var(--line); background: var(--sheet); color: var(--ink); }
.btn-g { background: var(--season-tint); color: var(--season-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-p:hover, .btn-b:hover { background: var(--season-ink); }
  .btn-o:hover { border-color: var(--ink); }
  .btn-g:hover { background: var(--season-tint-2); }
}
.btn-sm { min-height: 36px; padding: .4rem .8rem; font-size: .86rem; border-radius: var(--r-sm); }
.btn-lg { min-height: 52px; padding: .8rem 1.4rem; font-size: 1.02rem; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* -------------------------------------------------------------------- card */
.card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); }
.card-pad { padding: 1.25rem 1.4rem; }
.card-hover { transition: border-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .card-hover:hover { border-color: var(--ink-2); } }

/* ------------------------------------------------------------------- badge */
.badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem;
  border-radius: var(--r-pill); font-size: .78rem; font-weight: 560;
  white-space: nowrap; border: 1px solid transparent; line-height: 1.35;
}
.badge .ic { width: .95em; height: .95em; stroke-width: 2; }
.badge-g  { background: var(--season-tint); color: var(--season-ink); }
.badge-b  { background: var(--season-tint); color: var(--season-ink); }
.badge-c  { background: var(--red-tint); color: var(--red-ink); }
.badge-n  { background: var(--sheet-2); color: var(--muted); border-color: var(--line-2); }
.badge-v  { background: var(--v-100); color: var(--v-600); }
.badge-solid { background: var(--season); color: var(--on-season); }
.tier3, .tier2, .tier1, .tier0, .tierm { background: var(--sheet-2); color: var(--muted); }

/* --------------------------------------------------------------- time chip
   Ô giờ lễ như ô trong tờ lịch: số đậm, cùng bề ngang, căn giữa.
   Chúa Nhật dùng đỏ lịch. */
.times { display: flex; flex-wrap: wrap; gap: .3rem; }
.t {
  display: inline-flex; align-items: center; justify-content: center; gap: .28rem;
  min-width: 3.9rem; padding: .26rem .45rem; border-radius: var(--r-sm);
  background: var(--sheet-2); border: 1px solid var(--line-2);
  color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.3;
  font-variant-numeric: tabular-nums; letter-spacing: .005em;
}
.t-sun  { background: var(--red-tint); border-color: transparent; color: var(--red-ink); }
.t-past { opacity: .4; }
.t-next { background: var(--season); border-color: var(--season); color: var(--on-season); }
.t-vigil { border-style: dashed; }
.t-note { font-size: .7rem; font-weight: 500; opacity: .8; }

/* ------------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 38px;
  padding: .4rem .85rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--sheet);
  font-size: .9rem; font-weight: 500; color: var(--ink-2); user-select: none;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink-2); color: var(--ink); } }
.chip[aria-pressed="true"], .chip.on {
  background: var(--season); border-color: var(--season); color: var(--on-season); font-weight: 600;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--season); flex: none; }
.chip-x {
  display:inline-flex; align-items:center; gap:.35rem; padding:.28rem .45rem .28rem .75rem;
  border-radius: var(--r-pill); background: var(--season-tint); color: var(--season-ink);
  font-size: .82rem; font-weight: 600;
}
.chip-x button { display:grid; place-items:center; width:18px; height:18px;
  border-radius:50%; background: var(--season); color: var(--on-season); }
.chip-x button svg { width: 9px; height: 9px; stroke-width: 3; }

/* ------------------------------------------------------- thanh 7 ngày
   Một dải liền như hàng ngày trên tờ lịch, không phải bảy viên thuốc rời. */
.daybar {
  display: flex; overflow-x: auto; background: var(--sheet);
  border: 1px solid var(--line); border-radius: var(--r);
  scrollbar-width: none;
}
.daybar::-webkit-scrollbar { display: none; }
.day {
  flex: 1 0 auto; min-width: 84px; min-height: 4.4rem; padding: .55rem .4rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .05rem; text-align: center; position: relative;
  border-right: 1px solid var(--line-2);
  transition: background-color .15s ease, color .15s ease;
}
.day:last-child { border-right: 0; }
.day-w { font-size: .78rem; font-weight: 560; color: var(--muted); line-height: 1.2; }
.day-n { font-size: 1.45rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.day-l { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.day-sub { display: block; font-size: .72rem; font-weight: 600; color: var(--season-ink); line-height: 1.2; }
.day.sun .day-n, .day.sun .day-w, .day.sun:not(.on) .day-l { color: var(--red-ink); }
@media (hover: hover) and (pointer: fine) { .day:not(.on):hover { background: var(--sheet-2); } }
.day.on { background: var(--season); color: var(--on-season); }
.day.on .day-w, .day.on .day-n, .day.on .day-sub, .day.on .day-l { color: var(--on-season); }
.day:first-child.on { border-radius: calc(var(--r) - 1px) 0 0 calc(var(--r) - 1px); }
.day:last-child.on { border-radius: 0 calc(var(--r) - 1px) calc(var(--r) - 1px) 0; }

/* ------------------------------------------------- dòng chọn khu vực xem */
.where-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
  margin-top: 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-2);
}
.where-bar > .ic { flex: none; color: var(--season-ink); }
.where-bar b { color: var(--ink); }
.where-bar .sel, .sel.sel-sm { width: auto; min-width: 12rem; min-height: 40px; padding: .4rem 2.3rem .4rem .75rem; font-size: .95rem; font-weight: 560; }
@media (max-width: 620px) {
  .where-bar .grow { flex-basis: 100%; order: 3; }
  .sel-sm { min-width: 0; flex: 1 1 9rem; }
}

/* -------------------------------------------------------------- thẻ nhà thờ
   Một tờ giấy trắng, viền mảnh, không đổ bóng. Giờ lễ hiện ngay trên thẻ.
   Dải "lễ tiếp theo" là chân thẻ, tràn hết bề ngang. */
.ch {
  display: flex; flex-direction: column; background: var(--sheet);
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; position: relative;
  transition: border-color .15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .ch:hover { border-color: var(--ink-2); }
  .ch:hover .ch-name { color: var(--season-ink); }
}
.ch-top { display: flex; align-items: flex-start; gap: .85rem; padding: 1.05rem 1.15rem 0; }
.ch-ic { display: none; }
.ch-name { display: block; font-size: 1.12rem; font-weight: 660; line-height: 1.3;
           letter-spacing: -.01em; color: var(--ink); transition: color .15s ease; }
.ch-kind { display: inline-block; margin-top: .15rem; font-size: .8rem; font-weight: 600; color: var(--season-ink); }
.ch-meta { font-size: .84rem; color: var(--muted); display: flex; flex-wrap: wrap;
           gap: .15rem .7rem; margin-top: .25rem; }
.ch-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.ch-meta .ic { width: .95em; height: .95em; }
.ch-body { padding: .85rem 1.15rem 1rem; flex: 1 1 auto; }
.ch-line { display: flex; align-items: flex-start; gap: .7rem; }
.ch-line + .ch-line { margin-top: .45rem; }
.ch-lbl { flex: none; width: 88px; font-size: .84rem; font-weight: 560;
          color: var(--muted); padding-top: .3rem; }
.ch-lbl.sun { color: var(--red-ink); }
.ch-dist {
  flex: none; text-align: right; font-size: .9rem; font-weight: 680;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3;
}
.ch-dist .ic { display: none; }
.ch-next {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .62rem 1.15rem; background: var(--season-tint);
  font-size: .9rem; color: var(--ink);
}
.ch-next > .ic { color: var(--season-ink); }
.ch-next b { font-variant-numeric: tabular-nums; font-weight: 700; }
.ch-next .badge { margin-left: auto; background: var(--sheet); color: var(--season-ink); }
.ch-badges { padding: 0 1.15rem 1rem; }

.grid-ch { display: grid; gap: 1rem; }
@media (min-width: 780px) { .grid-ch.g2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .grid-ch.g3 { grid-template-columns: repeat(3,1fr); } }

/* ------------------------------------------------------------------ filter */
.layout-f { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 1000px) { .layout-f { grid-template-columns: 292px 1fr; } }

.facets { position: sticky; top: calc(var(--hdr-h) + 16px); }
.facet { border-bottom: 1px solid var(--line-2); }
.facet:last-child { border-bottom: 0; }
.facet-h {
  display: flex; align-items: center; gap: .5rem; width: 100%; min-height: 44px;
  padding: .7rem .2rem; font-size: .92rem; font-weight: 620; color: var(--ink);
  text-align: left;
}
.facet-h .ic { margin-left: auto; width: .95em; height: .95em; color: var(--muted);
               transition: transform .2s var(--ease-out); }
.facet-h[aria-expanded="false"] .ic { transform: rotate(-90deg); }
.facet-h .cnt { font-size: .74rem; font-weight: 700; color: var(--on-season); background: var(--season);
                border-radius: var(--r-pill); padding: .05rem .45rem; }
.facet-b { padding-bottom: .9rem; max-height: 280px; overflow-y: auto; }

.opt { display: flex; align-items: center; gap: .6rem; min-height: 36px; padding: .3rem .25rem;
       border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; }
@media (hover: hover) and (pointer: fine) { .opt:hover { background: var(--sheet-2); } }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.box {
  width: 18px; height: 18px; flex: none; border: 1.6px solid var(--muted-2);
  border-radius: 5px; background: var(--sheet); display: grid; place-items: center;
  transition: background-color .14s ease, border-color .14s ease;
}
.box svg { width: 10px; height: 10px; stroke: var(--on-season); stroke-width: 3.2; opacity: 0;
           transform: scale(.6); transition: opacity .14s ease, transform .18s var(--ease-out); }
.opt input:checked + .box { background: var(--season); border-color: var(--season); }
.opt input:checked + .box svg { opacity: 1; transform: none; }
.opt input:focus-visible + .box { outline: 2.5px solid var(--season); outline-offset: 2px; }
.opt-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt-c { flex: none; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.opt.dim { opacity: .42; }

.filter-search {
  width: 100%; min-height: 40px; padding: .45rem .7rem; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); font-size: .9rem; background: var(--sheet-2); margin-bottom: .5rem;
}
.filter-search:focus { outline: none; border-color: var(--season); background: var(--sheet); }

/* ------------------------------------------------------------- ô tìm kiếm */
.search {
  display: flex; align-items: center; gap: .7rem; background: var(--sheet);
  border: 1.5px solid var(--line); border-radius: var(--r);
  padding: .45rem .5rem .45rem 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.search:focus-within { border-color: var(--season); box-shadow: 0 0 0 4px var(--season-tint); }
.search input { flex: 1 1 auto; border: 0; background: none; outline: none; font-size: 1rem; min-width: 0; min-height: 36px; }
.search input::placeholder { color: var(--muted); }
.search .ic { color: var(--muted); width: 1.15rem; height: 1.15rem; }
.search-lg { padding: .6rem .6rem .6rem 1.15rem; }
.search-lg input { font-size: 1.08rem; }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + .4rem); z-index: 40;
  background: var(--sheet); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-pop); overflow: hidden;
  max-height: 400px; overflow-y: auto; transform-origin: top center;
  animation: pop-in .16s var(--ease-out);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.985); } }
.suggest-i { display: flex; align-items: center; gap: .7rem; padding: .65rem .95rem;
             cursor: pointer; border-bottom: 1px solid var(--line-2); }
.suggest-i:last-child { border-bottom: 0; }
.suggest-i > .ic { color: var(--muted); }
.suggest-i:hover, .suggest-i.on { background: var(--season-tint); }
.suggest-h { padding: .5rem .95rem .35rem; font-size: .8rem; font-weight: 560;
             color: var(--muted); background: var(--sheet-2); }

/* ------------------------------------------------------------------- stats */
.stats { display: grid; gap: .75rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { padding: 1rem 1.1rem; border-radius: var(--r); background: var(--sheet); border: 1px solid var(--line); }
.stat-v { font-size: 1.8rem; font-weight: 720; color: var(--ink); line-height: 1.1;
          font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-l { font-size: .84rem; color: var(--muted); margin-top: .15rem; }
.stat-bar { height: 4px; border-radius: 2px; background: var(--line-2); margin-top: .55rem; overflow: hidden; }
.stat-bar i { display: block; height: 100%; background: var(--season); border-radius: 2px; }

/* ------------------------------------------------------------------ tables */
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-size: .82rem; font-weight: 600; color: var(--muted);
          padding: .6rem .75rem; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: .7rem .75rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--sheet-2); }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- schedule */
.sched { display: grid; gap: .5rem; }
.sched-row {
  display: grid; grid-template-columns: 130px 1fr; gap: .9rem;
  padding: .8rem .95rem; border-radius: var(--r-sm); background: var(--sheet);
  border: 1px solid var(--line-2); align-items: start;
}
.sched-row.hi { background: var(--red-tint); border-color: transparent; }
.sched-row.today { border-color: var(--season); box-shadow: inset 0 0 0 1px var(--season); }
.sched-d { font-weight: 640; font-size: .95rem; color: var(--ink); }
.sched-d small { display: block; font-weight: 450; font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) { .sched-row { grid-template-columns: 1fr; gap: .5rem; } }

/* ------------------------------------------------------------- breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
          font-size: .86rem; color: var(--muted); }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.crumbs .sep { opacity: .5; }
.crumbs-dual { display: grid; gap: .3rem; }
.crumbs-tag { font-size: .78rem; font-weight: 600; color: var(--muted-2);
              width: 5.8rem; flex: none; white-space: nowrap; }

/* ------------------------------------------------------------------- modal */
.ovl {
  position: fixed; inset: 0; z-index: 100; background: rgba(19,38,31,.5);
  display: grid; place-items: center; padding: 1.2rem;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.ovl.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--sheet); border-radius: var(--r-lg); width: min(100%, 560px);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--sh-pop);
  transform: translateY(10px) scale(.98); opacity: 0;
  transition: transform .26s var(--ease-out), opacity .2s ease;
}
.ovl.open .modal { transform: none; opacity: 1; }
.modal-h { padding: 1.2rem 1.4rem .9rem; border-bottom: 1px solid var(--line);
           display: flex; align-items: flex-start; gap: 1rem; position: sticky;
           top: 0; background: var(--sheet); z-index: 2; }
.modal-b { padding: 1.2rem 1.4rem; }
.modal-f { padding: 1rem 1.4rem 1.3rem; display: flex; gap: .6rem; justify-content: flex-end;
           border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------- forms */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.inp, .sel, .ta {
  width: 100%; min-height: 44px; padding: .58rem .8rem; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--sheet); font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.inp:focus, .sel:focus, .ta:focus { outline: none; border-color: var(--season);
                                    box-shadow: 0 0 0 4px var(--season-tint); }
.ta { min-height: 100px; resize: vertical; font-family: inherit; }
.sel { appearance: none; padding-right: 2.3rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2333463F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; }
.radio-cards { display: grid; gap: .5rem; }
.radio-card { display: flex; gap: .65rem; padding: .75rem .9rem; border: 1.5px solid var(--line);
              border-radius: var(--r-sm); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .radio-card:hover { border-color: var(--ink-2); } }
.radio-card input { margin-top: .3rem; accent-color: var(--season); }
.radio-card:has(input:checked) { border-color: var(--season); background: var(--season-tint); }
.radio-card b { font-size: .95rem; }
.radio-card span { display: block; font-size: .85rem; color: var(--muted); }

/* --------------------------------------------------------------- transparency */
.trust { border-radius: var(--r); border: 1px solid var(--line); background: var(--sheet-2); padding: 1rem 1.15rem; }
.trust-h { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 640; margin-bottom: .5rem; }
.src-row { display: flex; align-items: flex-start; gap: .7rem; padding: .55rem 0;
           border-top: 1px solid var(--line-2); font-size: .88rem; }
.src-row:first-of-type { border-top: 0; }
.src-name { flex: none; width: 168px; font-weight: 600; color: var(--ink-2); font-size: .84rem; }
.auth-pill { display:inline-grid; place-items:center; width: 18px; height: 18px;
             border-radius: 50%; background: var(--season); color: var(--on-season);
             font-size: .64rem; font-weight: 700; flex: none; }

/* ------------------------------------------------------------------ footer */
.ftr { background: var(--ink); color: rgba(255,255,255,.74); margin-top: 2rem;
       padding: 3.2rem 0 2rem; font-size: .95rem; }
.ftr .brand-mark { color: var(--season); }
.ftr .brand-sub { color: rgba(255,255,255,.6); }
.ftr h4 { color: #fff; font-size: .95rem; font-weight: 640; margin-bottom: .85rem; }
.ftr a { transition: color .15s ease; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ftr-bot { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14);
           display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
           font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.sec-h { margin-bottom: 1.5rem; }
.sec-h h2 { margin-bottom: .3rem; }
.sec-h p { color: var(--muted); margin: .35rem 0 0; max-width: 60ch; }
.divider-arch { height: 1px; background: var(--line); }

/* ------------------------------------------------------------------- misc */
.empty { text-align: center; padding: 2.8rem 1rem; color: var(--muted); }
.empty svg { width: 132px; height: auto; margin: 0 auto 1rem; }
.empty h3 { color: var(--ink); }

.toast {
  position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, 16px);
  background: var(--ink); color: #fff; padding: .75rem 1.1rem; border-radius: var(--r);
  font-size: .92rem; box-shadow: var(--sh-pop); z-index: 200; opacity: 0;
  pointer-events: none; transition: transform .28s var(--ease-out), opacity .2s ease;
  display: flex; align-items: center; gap: .55rem; max-width: calc(100% - 2rem);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skel { background: linear-gradient(90deg, var(--line-2) 25%, var(--sheet-2) 50%, var(--line-2) 75%);
        background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 6px; }
@keyframes sk { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.pager { display: flex; justify-content: center; gap: .35rem; margin-top: 1.8rem; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 .65rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--sheet); font-size: .92rem;
  font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.pager button:hover:not(:disabled) { border-color: var(--ink-2); color: var(--ink); }
.pager button.on { background: var(--season); border-color: var(--season); color: var(--on-season); }
.pager button:disabled { opacity: .35; cursor: default; }

.tabs { display: flex; gap: .25rem; border-bottom: 1.5px solid var(--line); overflow-x: auto; }
.tab { padding: .65rem .95rem; font-size: .95rem; font-weight: 600; color: var(--muted);
       border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap;
       transition: color .15s ease, border-color .15s ease; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--season-ink); border-color: var(--season); }

.link-u { color: var(--season-ink); font-weight: 600; text-decoration: underline;
          text-decoration-color: var(--season-tint-2); text-decoration-thickness: 1.5px;
          text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.link-u:hover { text-decoration-color: currentColor; }

.note {
  display: flex; gap: .7rem; padding: .85rem 1rem; border-radius: var(--r-sm);
  background: var(--season-tint); font-size: .92rem; color: var(--ink-2); line-height: 1.55;
}
.note .ic { flex: none; color: var(--season-ink); margin-top: .18rem; }
.note-b { background: var(--sheet-2); border: 1px solid var(--line-2); }
.note-b .ic { color: var(--ink-2); }
.note-c { background: var(--red-tint); }
.note-c .ic { color: var(--red-ink); }

@media print {
  .hdr, .ftr, .no-print, .hero-art { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Trang chủ
   ========================================================================== */

/* --------------------------------------------------------------- khối hero
   Lưới ba vùng: chữ, tờ lịch, và dải minh hoạ tràn hết bề ngang.
   Trên máy tính tờ lịch đè lên mép trên của dải minh hoạ để có chiều sâu,
   nhưng không có chữ nào nằm trên hình. */
.hero {
  display: grid; position: relative; background: var(--ground);
  grid-template-columns: [full-start] minmax(var(--gutter), 1fr)
                         [c-start] minmax(0, calc(var(--wrap) * .56)) [mid] minmax(0, calc(var(--wrap) * .44))
                         [c-end] minmax(var(--gutter), 1fr) [full-end];
  grid-template-rows: auto auto;
}
.hero-copy { grid-column: c-start / mid; grid-row: 1; padding: clamp(2.6rem, 5vw, 4.6rem) 3rem 2rem 0; }
.hero-sheet { grid-column: mid / c-end; grid-row: 1 / 3; align-self: start; z-index: 2;
              margin-top: clamp(2.2rem, 4.4vw, 4rem); }
.hero-art { grid-column: full-start / full-end; grid-row: 2; z-index: 1;
            height: clamp(200px, 21vw, 300px); align-self: end; overflow: hidden; }
.hero-art .il { width: 100%; height: 100%; }

.hero h1 { max-width: 14ch; }
.hero .lede { max-width: 44ch; margin-top: 1.1rem; }
.hero-search { position: relative; margin-top: 1.7rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.hero-cta .btn { flex: 1 1 0; min-width: 12.5rem; }
.hero-btn-2 { background: var(--sheet); border-color: var(--line); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hero-btn-2:hover { border-color: var(--ink); } }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; margin-top: 1.15rem;
              font-size: .95rem; color: var(--muted); }
.hero-links a { color: var(--ink-2); font-weight: 500; text-decoration: underline;
                text-decoration-color: var(--line); text-decoration-thickness: 1.5px;
                text-underline-offset: 4px; padding: .3rem 0;
                transition: text-decoration-color .15s ease, color .15s ease; }
.hero-links a:hover { color: var(--ink); text-decoration-color: var(--season); }

@media (max-width: 939px) {
  .hero { grid-template-columns: [full-start] var(--gutter) [c-start] minmax(0, 1fr) [mid c-end] var(--gutter) [full-end];
          grid-template-rows: auto auto auto; }
  .hero-copy { grid-column: c-start / c-end; padding: 2.2rem 0 1.4rem; }
  .hero-art { grid-row: 2; height: 230px; }
  .hero-sheet { grid-column: c-start / c-end; grid-row: 3; margin-top: -1.6rem; }
  .hero-cta .btn { min-width: 0; }
}
@media (max-width: 420px) {
  .hero-cta .btn { flex-basis: 100%; }
}

/* ------------------------------------------------- tờ lịch hôm nay (hero)
   Đầu tờ là ngày hôm nay như tờ lịch xé: thứ, con số ngày to, tháng, mùa
   phụng vụ. Dưới là hai thẻ: lễ sắp diễn ra, và chọn nhanh theo giờ lễ. */
.next-panel {
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(19,38,31,.35);
}
.sheet-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .2rem 1rem;
  position: relative; padding: 1.65rem 1.25rem .95rem;
  border-bottom: 1px dashed var(--line);
}
/* gáy tờ lịch bloc: dải màu mùa với hàng lỗ đóng gáy, không phải viền nhấn */
.sheet-head::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background:
    radial-gradient(circle at 50% 55%, var(--ground) 0 2.5px, transparent 3.1px) 0 0 / 22px 14px repeat-x,
    var(--season);
}
.sh-day { font-size: 1.05rem; font-weight: 660; line-height: 1.25; }
.sh-day.sun { color: var(--red-ink); }
.sh-month { font-size: .88rem; color: var(--muted); }
.sh-date { grid-column: 2; grid-row: 1 / 3; font-size: 3.4rem; font-weight: 760; line-height: .95;
           letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.sh-date.sun { color: var(--red-ink); }
.sh-season { grid-column: 1 / -1; margin-top: .45rem; }
.season-tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem;
              font-weight: 560; color: var(--season-ink); }
.season-tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--season); flex: none; }

.sheet-body { padding: 1rem 1.25rem 1.15rem; }

/* hai thẻ dạng công tắc trượt, vạch chọn chạy theo bằng transform */
.hero-tabs {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding: 3px; margin-bottom: 1rem; background: var(--sheet-2);
  border: 1px solid var(--line-2); border-radius: var(--r);
}
.hero-tabs::before {
  content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  background: var(--sheet); border-radius: calc(var(--r) - 3px);
  box-shadow: 0 1px 2px rgba(19,38,31,.12), 0 0 0 1px var(--line);
  transition: transform .26s var(--ease-move);
}
.hero-tabs[data-on="gio"]::before { transform: translateX(100%); }
.hero-tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; min-height: 40px; padding: .4rem .6rem; border-radius: calc(var(--r) - 3px);
  font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: color .15s ease;
}
.hero-tab:hover { color: var(--ink); }
.hero-tab.on { color: var(--ink); }

.next-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .2rem; }
.next-title { font-size: 1rem; font-weight: 640; }
.next-row {
  display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; align-items: center;
  gap: .9rem; padding: .7rem .1rem; border-bottom: 1px solid var(--line-2);
  border-radius: var(--r-sm); transition: background-color .15s ease;
}
.next-row:last-child { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .next-row:hover { background: var(--sheet-2); } }
.next-time { font-size: 1.5rem; font-weight: 720; line-height: 1; letter-spacing: -.02em;
             font-variant-numeric: tabular-nums; color: var(--ink); }
.next-time small { display: block; margin-top: .3rem; font-size: .74rem; font-weight: 560;
                   color: var(--muted); letter-spacing: 0; }
.next-name { display: block; font-weight: 620; font-size: 1rem; line-height: 1.3; }
.next-sub { display: block; font-size: .84rem; color: var(--muted); margin-top: .1rem; }
.countdown {
  flex: none; padding: .26rem .6rem; border-radius: var(--r-pill);
  background: var(--season-tint); color: var(--season-ink); font-size: .8rem; font-weight: 640;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.countdown.soon { background: var(--red-tint); color: var(--red-ink); }
.next-foot { margin-top: .8rem; font-size: .84rem; color: var(--muted); }
.next-foot b { color: var(--ink); font-variant-numeric: tabular-nums; }

.hero-field { display: block; margin-bottom: .75rem; }
.hero-field > span { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: .3rem; }

/* ----------------------------------------------- hình minh hoạ in hai màu */
.il-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.il-thin { stroke-width: 1; }
.il-paper { fill: #FBFCFA; }
.il-skin { fill: #F6E6D4; }
.il-a  { fill: var(--season); mix-blend-mode: multiply; }
.il-a2 { fill: var(--season); opacity: .62; mix-blend-mode: multiply; }
.il-a3 { fill: var(--season); opacity: .26; mix-blend-mode: multiply; }
.il-a4 { fill: var(--season); opacity: .12; }
.il-b  { fill: var(--ill-red); mix-blend-mode: multiply; }
.il-b2 { fill: var(--ill-red); opacity: .6; mix-blend-mode: multiply; }
.il-b3 { fill: var(--ill-red); opacity: .2; mix-blend-mode: multiply; }
.il-win { fill: var(--season); opacity: .55; mix-blend-mode: multiply; transition: fill .6s ease, opacity .6s ease; }
.il-door { fill: var(--season); opacity: .85; mix-blend-mode: multiply; }
.il-dots { fill: url(#ilDots); mix-blend-mode: multiply; }
.il-dotsr { fill: url(#ilDotsR); mix-blend-mode: multiply; }
.il-dotc { fill: var(--season); opacity: .55; }
.il-dotr { fill: var(--ink); opacity: .35; }
.il-ink { fill: var(--ink); }
.il-hand { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.il-hand-m { stroke-width: 1.5; }
.il-bell { fill: var(--ill-red); opacity: .78; }
.il-flame { fill: var(--ill-red); }
.il-halo { fill: none; stroke: var(--ill-red); stroke-width: 1; opacity: .85; }
.il-hat { fill: #F4E3B8; }
.il-ground { fill: var(--season); opacity: .1; }
.il-moon { fill: #F7EAC0; }
.il-star { fill: var(--ink); }
.il-night { display: none; }
.il.is-night .il-day { display: none; }
.il.is-night .il-night { display: inline; }
/* buổi tối cửa sổ nhà thờ sáng đèn */
.il.is-night .il-win { fill: #F5C451; opacity: .95; }

/* chữ trên bảng giờ lễ ở khối mời giáo xứ */
.nb-h { font: 700 15px var(--f-ui); fill: var(--ink); }
.nb-k { font: 560 12.5px var(--f-ui); fill: var(--ink-2); }
.nb-v { font: 700 12.5px var(--f-ui); fill: var(--ink); font-variant-numeric: tabular-nums; }
.nb-sun { fill: var(--red-ink); }
.nb-stamp rect { fill: none; stroke: var(--ill-red); stroke-width: 2.2; }
.nb-stamp text { font: 760 12px var(--f-ui); fill: var(--ill-red); letter-spacing: .06em; }
.nb-ground { stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.cn-flame { fill: #F5C451; }

/* kim đồng hồ quay quanh tâm mặt đồng hồ */
#ilHour, #ilMin { transform-box: view-box; transform-origin: 720px 136px;
                  transition: transform .9s var(--ease-out); }
#ilBell { transform-box: view-box; transform-origin: 720px 78px; }
.il.ring #ilBell { animation: bell-swing 1.25s var(--ease-move) 1; }
@keyframes bell-swing {
  0% { transform: rotate(0); } 20% { transform: rotate(14deg); } 45% { transform: rotate(-11deg); }
  68% { transform: rotate(6deg); } 86% { transform: rotate(-3deg); } 100% { transform: rotate(0); }
}

/* ------------------------------------------------------ lịch lễ 7 ngày */
.today-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
#todayResult.flip { animation: sheet-in .24s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(6px); } }

/* --------------------------------------------------- ba cách tìm nhà thờ
   Danh sách ba dòng trong một tờ, không phải ba thẻ có ô icon giống nhau. */
.ways { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.way {
  display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .4rem 1.1rem;
  align-items: center; padding: 1.35rem 1.5rem; border-bottom: 1px solid var(--line-2);
  transition: background-color .15s ease;
}
.way:last-child { border-bottom: 0; }
a.way:hover { background: var(--sheet-2); }
.way-ic { color: var(--season-ink); }
.way-ic .ic { width: 1.7rem; height: 1.7rem; stroke-width: 1.5; }
.way h3 { font-size: 1.22rem; }
.way p { margin: .2rem 0 0; color: var(--muted); max-width: 62ch; font-size: .97rem; }
.way-go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 620; color: var(--season-ink); white-space: nowrap; }
.way-go .ic { transition: transform .2s var(--ease-out); }
a.way:hover .way-go .ic { transform: translateX(3px); }
.way-acts { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 720px) {
  .way { grid-template-columns: 1.8rem minmax(0, 1fr); padding: 1.15rem 1.1rem; }
  .way-go, .way-acts { grid-column: 2; }
}

/* các lớp cũ của khối lối vào, giữ cho trang khác nếu có dùng */
.entry-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .entry-grid { grid-template-columns: repeat(3, 1fr); } }
.entry { padding: 1.4rem; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--line); }
.entry-ic { display: none; }
.entry p { color: var(--muted); }
.entry-go { font-weight: 620; color: var(--season-ink); display: inline-flex; align-items: center; gap: .35rem; }
.entry-stack { display: grid; gap: .5rem; }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .45rem .95rem;
  border-radius: var(--r-pill); background: var(--sheet); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 500; transition: border-color .15s ease;
}
.pill:hover { border-color: var(--ink-2); }
.pill b { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; font-size: .82rem; }

.why { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why-i { display: flex; gap: .9rem; }
.why-i .ic { width: 1.5rem; height: 1.5rem; flex: none; color: var(--season-ink); margin-top: .15rem; }
.why-i h4 { font-size: 1.05rem; margin-bottom: .25rem; }
.why-i p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ------------------------------------------------------- khối mời giáo xứ
   Mảng màu mùa phụng vụ đậm, minh hoạ bảng giờ lễ dán ở cổng nhà thờ. */
.cta-band {
  border-radius: var(--r-lg); padding: clamp(1.8rem, 4.4vw, 3rem);
  background: var(--season-deep); color: #fff; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 54ch; }
.cta-grid { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.6rem; } }
.cta-art { width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto; }
@media (max-width: 899px) { .cta-art { max-width: 280px; } }
.cta-band .btn-b { background: #fff; color: var(--season-deep); }
.cta-band .btn-b:hover { background: var(--season-tint); }
.cta-band .btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* -------------------------------------------------------------- lời ngỏ
   Một dải giấy trắng tràn bề ngang, như lá thư kẹp giữa trang. */
.letter-band { background: var(--sheet); border-block: 1px solid var(--line); }
.letter { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .letter { grid-template-columns: 220px minmax(0, 1fr); gap: 4rem; } }
.letter-art svg { width: 100%; max-width: 200px; height: auto; margin-inline: auto; }
@media (max-width: 859px) { .letter-art svg { max-width: 130px; margin-inline: 0; } }
.letter-body { max-width: 64ch; }
.letter-body h2 { margin-bottom: 1rem; }
.letter-body p { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); margin: 0 0 1rem; }
.letter-body p b { color: var(--ink); }
.letter-sign { margin-top: 1.4rem; display: flex; align-items: center; gap: .6rem;
               font-weight: 640; color: var(--ink); }
.letter-sign svg { width: 28px; height: 28px; color: var(--season); }
/* lớp cũ */
.greet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.greet-in { max-width: 66ch; margin: 0 auto; }
.greet-ic { display: none; }
.greet p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.greet-sign { margin-top: 1.2rem; font-weight: 640; }

/* -------------------------------------------- biểu đồ cột ngang, một chuỗi */
.chart { display: block; }
.chart-row {
  display: flex; align-items: center; gap: .9rem; padding: .3rem .4rem;
  border-radius: var(--r-sm); transition: background-color .14s ease; color: inherit;
}
a.chart-row:hover { background: var(--sheet-2); }
a.chart-row:hover .chart-bar { background: var(--season-ink); }
.chart-lbl {
  flex: 0 0 136px; font-size: .92rem; font-weight: 500; text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2);
}
a.chart-row:hover .chart-lbl { color: var(--ink); font-weight: 620; }
.chart-track { position: relative; flex: 1 1 auto; height: 20px; min-width: 0; }
.chart-grid-line { position: absolute; top: -5px; bottom: -5px; width: 1px; background: var(--line-2); }
.chart-bar {
  position: absolute; left: 0; top: 0; bottom: 0; background: var(--season);
  border-radius: 0 4px 4px 0; min-width: 3px;
  transition: background-color .14s ease;
}
.chart-val {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: .84rem; font-weight: 680; color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.chart-axis { margin-top: .35rem; padding-top: .1rem; }
.chart-axis .chart-track { height: 18px; }
.chart-tick { position: absolute; top: 0; transform: translateX(-50%); font-size: .76rem;
              color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
  .chart-lbl { flex-basis: 96px; font-size: .84rem; }
  .chart-val { font-size: .78rem; }
  .chart-tick:not(:first-child):not(:last-child) { display: none; }
}

/* ==========================================================================
   Các trang khác (giữ tên lớp cũ, đổi sang hệ thiết kế mới)
   ========================================================================== */

/* ------------------------------------------------------------ trang lọc */
.result-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem;
}
.result-n { font-size: 1.3rem; font-weight: 660; letter-spacing: -.01em; }
.result-n b { color: var(--season-ink); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-sm);
       overflow: hidden; background: var(--sheet); }
.seg button { min-width: 40px; min-height: 36px; padding: .35rem .6rem; color: var(--muted); display: grid; place-items: center; }
.seg button.on { background: var(--season); color: var(--on-season); }
.mobile-filter-bar { display: none; }
.facets-done { display: none; }
@media (max-width: 999px) {
  .facets-wrap {
    position: fixed; inset: 0; z-index: 90; background: var(--sheet);
    padding: 1rem var(--gutter) 6rem; overflow-y: auto; transform: translateX(-100%);
    transition: transform .3s var(--ease-out);
  }
  .facets-wrap.open { transform: none; }
  .facets { position: static; }
  .mobile-filter-bar {
    display: flex; gap: .5rem; position: sticky; top: var(--hdr-h); z-index: 50;
    background: var(--ground); padding: .7rem 0; margin-bottom: .3rem;
  }
  .facets-done {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: .8rem var(--gutter);
    background: var(--sheet); border-top: 1px solid var(--line); display: none;
  }
  .facets-wrap.open ~ .facets-done { display: block; }
}

.range-row { display: flex; align-items: center; gap: .5rem; }
.range-row .sel { flex: 1 1 auto; }
.radio-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; }
.radio-row span {
  display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .8rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); font-size: .88rem; cursor: pointer; background: var(--sheet);
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.radio-row input:checked + span { background: var(--season); border-color: var(--season); color: var(--on-season); font-weight: 600; }
.radio-row input:focus-visible + span { outline: 2.5px solid var(--season); outline-offset: 2px; }

/* --------------------------------------------------------- trang theo giờ */
.pick-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.pick-l { font-size: .9rem; font-weight: 620; color: var(--ink-2); flex: none; }
.pick-row .daybar { flex: 1 1 320px; }
.pick-sep { height: 1px; background: var(--line); margin: 1.2rem 0 1rem; }

.hour-grid { display: grid; gap: 1.1rem; }
.hour-band-h { display: flex; align-items: center; gap: .45rem; margin-bottom: .55rem;
               font-size: .95rem; font-weight: 620; color: var(--ink); }
.hour-band-h .ic { width: 1.05rem; height: 1.05rem; color: var(--season-ink); flex: none; }
.hour-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.hour {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 5.4rem; min-height: 52px; padding: .4rem .55rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--sheet); text-align: center;
  transition: border-color .14s ease, background-color .14s ease, transform .16s var(--ease-out);
}
.hour:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .hour:hover { border-color: var(--ink-2); } }
.hour-t { font-size: 1rem; font-weight: 680; color: var(--ink); font-variant-numeric: tabular-nums; }
.hour-n { font-size: .74rem; font-weight: 500; color: var(--muted); margin-top: .05rem; }
.hour.on { background: var(--season); border-color: var(--season); }
.hour.on .hour-t, .hour.on .hour-n { color: var(--on-season); }

.gt-sum {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem;
  padding: .8rem 1rem; border-radius: var(--r); background: var(--season-tint);
  font-size: .95rem; color: var(--ink-2);
}
.gt-sum > .ic { flex: none; color: var(--season-ink); }
.gt-sum b { color: var(--ink); }

.gt-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--sheet); }
.gt { width: 100%; border-collapse: collapse; font-size: .92rem; }
.gt th {
  text-align: left; font-size: .84rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  padding: .75rem .9rem; background: var(--sheet-2);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2;
}
.gt td { padding: .75rem .9rem; border-top: 1px solid var(--line-2); vertical-align: top; }
.gt tbody tr:hover { background: var(--sheet-2); }
.gt-name { display: flex; align-items: flex-start; gap: .45rem; font-weight: 620;
           color: var(--ink); min-width: 11rem; }
.gt-name .ic { flex: none; margin-top: .15rem; color: var(--season-ink); }
.gt-name:hover { color: var(--season-ink); text-decoration: underline; text-underline-offset: 3px; }
.gt-ty { display: block; font-size: .78rem; font-weight: 600; color: var(--season-ink); }
.gt-addr { color: var(--muted); max-width: 22rem; }
.gt .times { gap: .25rem; }
.gt .t { min-width: 3.6rem; font-size: .84rem; padding: .18rem .36rem; }

@media (max-width: 920px) {
  .gt-wrap { overflow: visible; border: 0; background: none; }
  .gt, .gt tbody, .gt tr, .gt td { display: block; width: auto; }
  .gt thead { display: none; }
  .gt tr { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r);
           padding: .85rem 1rem; margin-bottom: .7rem; }
  .gt tbody tr:hover { background: var(--sheet); border-color: var(--ink-2); }
  .gt td { border: 0; padding: .3rem 0; }
  .gt td + td { border-top: 1px solid var(--line-2); padding-top: .5rem; }
  .gt td[data-c]::before {
    content: attr(data-c); display: block; font-size: .78rem; font-weight: 600;
    color: var(--muted); margin-bottom: .2rem;
  }
  .gt td[data-c="Nhà thờ"]::before { display: none; }
  .gt-name { font-size: 1.05rem; min-width: 0; }
  .gt-addr { max-width: none; }
}

/* ------------------------------------------------------ trang giáo phận */
.prov-band { margin-bottom: 2.4rem; }
.prov-band h3 {
  display: flex; align-items: center; gap: .7rem; font-size: 1.15rem;
  padding-bottom: .6rem; border-bottom: 2px solid var(--ink); margin-bottom: 1rem;
}
.prov-band h3 .n { margin-left: auto; font-size: .85rem; font-weight: 500; color: var(--muted); }
.dio-grid { display: grid; gap: .8rem; }
@media (min-width: 700px) { .dio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .dio-grid { grid-template-columns: repeat(3, 1fr); } }
.dio {
  display: flex; gap: .85rem; padding: 1rem 1.15rem; border-radius: var(--r);
  background: var(--sheet); border: 1px solid var(--line); transition: border-color .15s ease;
}
@media (hover: hover) and (pointer: fine) { .dio:hover { border-color: var(--ink-2); } }
.dio-ic { display: none; }
.dio-n { display: block; font-weight: 640; font-size: 1.05rem; line-height: 1.3; }
.dio-s { display: block; font-size: .86rem; color: var(--muted); margin-top: .18rem; }
.dio-c { display: block; font-size: .86rem; font-weight: 640; color: var(--season-ink); margin-top: .35rem;
         font-variant-numeric: tabular-nums; }

.prov-grid { display: grid; gap: .7rem; }
@media (min-width: 620px) { .prov-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .prov-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1160px) { .prov-grid { grid-template-columns: repeat(4, 1fr); } }
.prov {
  display: flex; align-items: center; gap: .7rem; min-height: 56px; padding: .8rem 1rem;
  border-radius: var(--r); background: var(--sheet); border: 1px solid var(--line);
  transition: border-color .15s ease;
}
@media (hover: hover) and (pointer: fine) { .prov:hover { border-color: var(--ink-2); } }
.prov-n { display: block; font-weight: 620; font-size: .98rem; }
.prov-o { display: block; font-size: .78rem; color: var(--muted); }
.prov-c { margin-left: auto; font-size: .9rem; font-weight: 680; color: var(--ink);
          font-variant-numeric: tabular-nums; flex: none; }

/* ----------------------------------------------------- trang chi tiết NT */
.detail-grid { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 980px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
/* Đầu trang chi tiết (nhà thờ, giáo phận, tỉnh thành, giới thiệu): mảng màu
   mùa phụng vụ đậm, chữ trắng. Các trang này sẽ được làm lại ở vòng sau. */
.hero-ch {
  border-radius: var(--r-lg); overflow: hidden; background: var(--season-deep); color: #fff;
  position: relative; padding: 1.8rem 1.8rem 1.6rem;
}
.hero-ch h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
.hero-ch-bg { display: none; }
.hero-ch > * { position: relative; z-index: 1; }
.hero-ch .crumbs { color: rgba(255,255,255,.72); }
.hero-ch-meta { display: grid; gap: .45rem; margin-top: .9rem; color: rgba(255,255,255,.84); font-size: .98rem; }
.hero-ch-row { display: flex; align-items: flex-start; gap: .5rem; }
.hero-ch-row .ic, .hero-ch-addr .ic { flex: none; margin-top: .2rem; color: var(--season-tint-2); }
.hero-ch-row b, .hero-ch-addr b { color: #fff; font-weight: 620; }
.hero-ch-addr {
  display: inline-flex; align-items: flex-start; gap: .5rem; width: fit-content;
  max-width: 100%; padding: .45rem .75rem .45rem .65rem; border-radius: var(--r-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; transition: border-color .15s ease;
}
.hero-ch-addr:hover { border-color: #fff; }
.hero-ch-addr > .ic:last-child { width: .85rem; height: .85rem; margin-top: .3rem; opacity: .7; }
.tel-list { display: grid; gap: .2rem; }
.kv { display: grid; gap: .6rem; }
.kv-r { display: flex; gap: .8rem; font-size: .95rem; align-items: flex-start; }
.kv-k { flex: none; width: 108px; color: var(--muted); font-size: .88rem; font-weight: 560; padding-top: .05rem; }
.act-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.side-box { border-radius: var(--r); border: 1px solid var(--line); background: var(--sheet); padding: 1.1rem 1.2rem; }
.side-box h3 { font-size: 1.02rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .45rem; }
.mini { display: flex; gap: .6rem; padding: .6rem 0; border-top: 1px solid var(--line-2); }
.mini:first-of-type { border-top: 0; }
.mini-n { display:block; font-size: .95rem; font-weight: 620; line-height: 1.3; }
.mini-s { display:block; font-size: .82rem; color: var(--muted); }
.mini-d { margin-left: auto; flex: none; font-size: .84rem; font-weight: 680;
          color: var(--ink); font-variant-numeric: tabular-nums; }

.mass-day { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--sheet); }
.mass-day + .mass-day { margin-top: .55rem; }
.mass-day-h { display: flex; align-items: center; gap: .6rem; padding: .65rem .95rem;
              background: var(--sheet-2); font-size: .95rem; font-weight: 640; }
.mass-day.sun .mass-day-h { background: var(--red-tint); color: var(--red-ink); }
.mass-day.today .mass-day-h { background: var(--season-tint); color: var(--season-ink); }
.mass-day-b { padding: .75rem .95rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.report-inline {
  margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .5rem; border-radius: 6px;
}
.report-inline:hover { background: var(--red-tint); color: var(--red-ink); }
.report-inline svg { width: .9em; height: .9em; }

/* --------------------------------------------------------------- nội dung */
.prose { max-width: 68ch; }
.prose h2 { margin: 2.4rem 0 .7rem; }
.prose h3 { margin: 1.7rem 0 .5rem; font-size: 1.15rem; }
.prose p { line-height: 1.75; color: var(--ink-2); font-size: 1.04rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.1rem; list-style: none; }
.prose ul li { position: relative; padding-left: .9rem; margin-bottom: .45rem; color: var(--ink-2); line-height: 1.7; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .7em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--season); }
.prose ol { counter-reset: n; margin: 0 0 1.1rem; }
.prose ol li { counter-increment: n; position: relative; padding-left: 2.1rem; margin-bottom: .6rem; color: var(--ink-2); }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .12em; width: 1.5rem;
  height: 1.5rem; border-radius: 50%; background: var(--season-tint); color: var(--season-ink);
  font-size: .78rem; font-weight: 700; display: grid; place-items: center;
}
.prose strong { color: var(--ink); }
.toc { position: sticky; top: calc(var(--hdr-h) + 20px); }
.toc a { display: block; padding: .35rem .75rem; font-size: .92rem; color: var(--muted); border-left: 2px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--season-ink); border-color: var(--season); font-weight: 600; }

/* ==========================================================================
   Màn hình hẹp
   ========================================================================== */
@media (max-width: 620px) {
  :root { --gutter: 1rem; }
  .sel, .inp, .ta { max-width: 100%; }
  select.sel { min-width: 0 !important; }
  .src-row { flex-wrap: wrap; }
  .src-name { width: 100%; }
  .kv-r { flex-wrap: wrap; }
  .kv-k { width: 100%; }
  .ch-line { flex-wrap: wrap; gap: .3rem .7rem; }
  .ch-lbl { width: 100%; padding-top: 0; }
  .stat-v { font-size: 1.5rem; }
  .crumbs-tag { width: auto; }
  .day { min-width: 64px; }
  .next-row { grid-template-columns: 4rem minmax(0, 1fr); }
  .next-row .countdown { grid-column: 2; justify-self: start; margin-top: -.3rem; }
}
@media (max-width: 420px) {
  .ch-dist { display: none; }
  .next-time { font-size: 1.3rem; }
  .sh-date { font-size: 2.8rem; }
}

/* Ô lưới không được phình rộng hơn khung chứa. Mặc định của CSS Grid là
   min-width:auto nên một chuỗi dài không xuống dòng sẽ đẩy cả trang tràn ngang. */
.grid-ch > *, .prov-grid > *, .dio-grid > *, .entry-grid > *, .hero > *,
.layout-f > *, .detail-grid > *, .gt-grid > *, .stats > *, .cta-grid > *, .letter > * { min-width: 0; }
.ch-name, .mini-n, .next-name { overflow-wrap: anywhere; }

/* Người dùng chọn giảm chuyển động: bỏ dịch chuyển, giữ đổi màu. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-property: color, background-color, border-color, opacity !important;
    scroll-behavior: auto !important; }
  #ilHour, #ilMin { transition: none !important; }
}
