/* =========================================================================
   HOME.CSS - Giao diện app-like dùng chung (mobile first, PC khung 1280px)
   Tiền tố "ap-". CSS riêng của Lắc Món nằm ở /assets/lacmon.css.
   NGUYÊN TẮC HIỆU SUẤT: không phần tử nào bắt đầu với opacity:0 / visibility:hidden
   (trừ popup đang đóng), nên trình duyệt luôn có phần tử để tính LCP.
   ========================================================================= */

/* ---------- 1. FONT ---------- */
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v9KQU4Wc.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v-6QU.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 2. BIẾN MÀU & RESET ---------- */
:root { --or: #f97316; --or-a: #c2410c; --or-a-h: #9a3412; --or-d: #c2410c; --or-soft: #fff1e6; --gr: #0f6b4f; --gr-d: #0a4d3a; --gr-soft: #e8f6ee; --navy: #14325c; --ink: #0f172a; --ink-2: #334155; --mut: #586578; --line: #eceff3; --bg: #ffffff; --bg-soft: #f6f7f9; --shadow-sm: 0 2px 10px rgba(15, 23, 42, .05); --shadow-md: 0 10px 28px rgba(15, 23, 42, .10); --safe-b: env(safe-area-inset-bottom, 0px); --food-orange: #f97316; --food-orange-dark: #ea580c; --food-orange-light: #fff7ed; --food-yellow: #fbbf24; --food-dark: #1e293b; --card-w: 104px; --card-h: 116px; --card-gap: 12px; }
@media (max-width: 768px) { :root { --card-w: 88px; --card-h: 104px; --card-gap: 9px; } }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; overflow-wrap: anywhere; }
.hidden { display: none !important; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.ap-i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
.icon-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; fill: currentColor; }
.ap-ellipsis { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ap-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Khối ở cuối trang: bỏ qua render cho tới khi cuộn gần tới (giảm thời gian dựng trang, KHÔNG ẩn nội dung) */
.ap-defer { content-visibility: auto; contain-intrinsic-size: auto 520px; }

/* ---------- 3. NÚT & THÀNH PHẦN NHỎ ---------- */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.ap-btn .ap-i { font-size: 16px; }
.ap-btn:active { transform: scale(.97); }
.ap-btn-lg { padding: 14px 24px; font-size: 15px; font-weight: 700; }
.ap-btn-primary { background: var(--or-a); color: #fff; box-shadow: 0 8px 18px rgba(194, 65, 12, .30); }
.ap-btn-primary:hover { background: var(--or-a-h); }
.ap-btn-soft { background: var(--or-soft); color: var(--or-d); }
.ap-btn-soft:hover { background: #ffe3cc; }
.ap-btn-dark { background: var(--ink); color: #fff; }
.ap-btn-dark:hover { background: #1e293b; }
.ap-btn-green { background: var(--gr); color: #fff; box-shadow: 0 8px 18px rgba(15, 107, 79, .28); }
.ap-btn-green:hover { background: var(--gr-d); }
.ap-btn-white { background: #fff; color: var(--gr-d); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.ap-btn-white:hover { background: #f1fbf6; }
.ap-btn-gold { background: linear-gradient(135deg, #fde047, #f59e0b); color: #3b2300; box-shadow: 0 8px 20px rgba(245, 158, 11, .35); }
.ap-btn-block { display: flex; width: 100%; }
.ap-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--gr); }
.ap-chip .ap-i { font-size: 13px; }
.ap-go { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--mut); font-size: 14px; transition: all .2s ease; }
.ap-soft-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--or-soft); color: var(--or-d); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ap-badge { position: absolute; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; line-height: 1.4; z-index: 2; }
.ap-badge .ap-i { font-size: 11px; }
.ap-badge-top { top: 8px; left: 8px; background: var(--or-a); color: #fff; letter-spacing: .02em; }
.ap-badge-vip { top: 8px; left: 8px; background: linear-gradient(135deg, #f59e0b, #fde047); color: #451a03; }
.ap-badge-starter { top: 8px; left: 8px; background: #047857; color: #fff; }
.ap-badge-green { top: 12px; left: 12px; background: rgba(255, 255, 255, .94); color: var(--gr); font-size: 11.5px; padding: 5px 11px; }
.ap-badge-leaf { top: 8px; left: 8px; background: rgba(15, 107, 79, .94); color: #fff; }
.ap-tag { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; line-height: 1.4; }
.ap-tag-system { background: rgba(224, 242, 254, .96); color: #075985; }
.ap-tag-tag { background: rgba(255, 228, 230, .96); color: #9f1239; }

/* ---------- 4. HEADER ---------- */
.ap-header { position: relative; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.ap-header-main { max-width: 1280px; margin: 0 auto; padding: 12px 16px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand menu" "search search"; gap: 12px; align-items: center; }
.ap-brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ap-brand-logo { height: 44px; width: auto; max-width: 120px; object-fit: contain; flex: none; }
.ap-brand-text { display: flex; flex-direction: column; min-width: 0; }
.ap-brand-name { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.ap-brand-sub { font-size: 11.5px; color: var(--mut); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-menu-btn { grid-area: menu; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; color: var(--ink); }
.ap-menu-btn:active { background: var(--bg-soft); }
.ap-actions { display: none; grid-area: actions; justify-self: end; gap: 8px; }
.ap-tabs { display: none; }
.ap-search { grid-area: search; position: relative; width: 100%; }
.ap-search-box { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 16px; border-radius: 999px; background: #f1f3f6; border: 1.5px solid transparent; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ap-search-box:focus-within { background: #fff; border-color: #fdba74; box-shadow: 0 0 0 4px rgba(249, 115, 22, .12); }
.ap-search-ico { font-size: 18px; color: var(--mut); }
.ap-search-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); }
.ap-search-input::placeholder { color: #64748b; opacity: 1; }
.ap-search-go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--or-a); color: #fff; font-size: 16px; }
.ap-search-go:active { transform: scale(.94); }
.ap-search-drop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 90; max-height: 62vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #fdba74 transparent; }
.search-header-title { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 12px; font-weight: 700; color: var(--or-d); background: var(--or-soft); border-bottom: 1px solid #ffe3cc; }
.search-header-title .icon-svg { width: 14px; height: 14px; }
.search-empty { padding: 24px 16px; text-align: center; color: #64748b; font-size: 13px; }
.search-empty .icon-svg { display: block; margin: 0 auto 8px; width: 28px; height: 28px; color: #fdba74; }
.search-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; cursor: pointer; transition: background .15s ease; }
.search-item:hover, .search-item:active { background: var(--or-soft); }
.search-item-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.search-item-icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #ffedd5; }
.search-item-text { font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item:hover .search-item-text { color: var(--or-d); }
.search-badge { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.search-badge .icon-svg { width: 10px; height: 10px; }
.badge-top { background: linear-gradient(90deg, #c2410c, #b45309); color: #fff; }
.badge-iti { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.badge-vip { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-starter { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ---------- 5. KHUNG NỘI DUNG & TIÊU ĐỀ SECTION ---------- */
.ap-main { max-width: 1280px; margin: 0 auto; padding: 0 16px 36px; }
.ap-intro { padding: 12px 0 0; }
.ap-h1 { font-size: 12.5px; font-weight: 500; line-height: 1.45; color: var(--mut); }
.ap-sec { margin-top: 30px; min-width: 0; }
.ap-sec-first { margin-top: 14px; }
.ap-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ap-sec-headtxt { flex: 1 1 auto; min-width: 0; }
.ap-sec-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.ap-sec-title em { font-style: normal; color: var(--or-d); }
.ap-sec-ico { display: inline-grid; place-items: center; font-size: 22px; color: var(--or); }
.ap-sec-sub { margin-top: 2px; font-size: 12.5px; color: var(--mut); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-link-all { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 0 6px 8px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: color .2s ease; }
.ap-link-all .ap-i { font-size: 16px; }
.ap-link-all:hover { color: var(--or-d); }
.ap-link-count { padding: 1px 8px; border-radius: 999px; background: var(--or-soft); color: var(--or-d); font-size: 11px; font-weight: 700; }

/* ---------- 6. DANH MỤC ---------- */
.ap-cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ap-cat { flex: 0 0 calc((100% - 30px) / 4); min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; min-height: 96px; padding: 12px 4px 10px; border-radius: 18px; background: var(--cb, #ffeee0); transition: transform .2s ease, box-shadow .2s ease; }
.ap-cat:active { transform: scale(.95); }
.ap-cat:nth-child(7n+1) { --cb: #ffeee0; }
.ap-cat:nth-child(7n+2) { --cb: #e8f6ee; }
.ap-cat:nth-child(7n+3) { --cb: #e6f0fd; }
.ap-cat:nth-child(7n+4) { --cb: #e3f1fd; }
.ap-cat:nth-child(7n+5) { --cb: #f2e8fb; }
.ap-cat:nth-child(7n+6) { --cb: #fff0dc; }
.ap-cat:nth-child(7n+7) { --cb: #e5effc; }
.ap-cat-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .78); }
.ap-cat-ico img { width: 30px; height: 30px; object-fit: contain; }
.ap-cat-name { max-width: 100%; padding: 0 2px; font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 7. SLIDER + THẺ TOP / VIP ---------- */
.ap-slider { position: relative; }
.ap-slider-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 2px 10px; margin: 0 -2px; }
.ap-slider-track::-webkit-scrollbar { display: none; }
.ap-slider-track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 12px) / 2.25); min-width: 0; }
.ap-slider-btn { position: absolute; top: 32%; z-index: 5; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(15, 23, 42, .16); font-size: 18px; color: var(--ink); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.ap-slider-btn.is-prev { left: -6px; }
.ap-slider-btn.is-next { right: -6px; }
.ap-slider-btn:hover { background: var(--or-a); border-color: var(--or-a); color: #fff; }
.ap-slider-btn:active { transform: scale(.92); }
.ap-slider-btn:disabled { opacity: 0; pointer-events: none; }
.ap-green .ap-slider-btn:hover { background: var(--gr); border-color: var(--gr); }
.ap-hot-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.ap-hot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ap-hot-img { position: relative; display: block; aspect-ratio: 5 / 4; background: #e2e8f0; overflow: hidden; }
.ap-hot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ap-hot-card:hover .ap-hot-img img { transform: scale(1.06); }
.ap-hot-rank { position: absolute; right: 8px; bottom: 8px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: rgba(15, 23, 42, .78); color: #fff; font-size: 11.5px; font-weight: 700; }
.ap-hot-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; min-width: 0; }
.ap-hot-name { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ap-hot-loc { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-hot-loc .ap-i { color: var(--or); flex: none; }

/* ---------- 8. LẮC MÓN (khối giới thiệu ở trang chủ) ---------- */
.ap-shake { display: flex; flex-direction: column; gap: 16px; padding: 18px 16px; border-radius: 22px; background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); border: 1px solid #fed7aa; }
.ap-shake-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ap-shake-top { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.ap-shake-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--or-a); color: #fff; box-shadow: 0 6px 14px rgba(194, 65, 12, .3); }
.ap-shake-title { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.ap-shake-desc { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.ap-shake-foods { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-food { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 12px 3px 3px; border-radius: 999px; background: #fff; border: 1px solid #fed7aa; font-size: 12px; font-weight: 600; color: #9a3412; white-space: nowrap; }
.ap-food-pic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #ffedd5; color: var(--or-d); font-size: 14px; }
.ap-food-pic img { width: 100%; height: 100%; object-fit: cover; }
.ap-shake-side { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.ap-shake-side .ap-btn { width: 100%; }
.ap-shake-note { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 12px; line-height: 1.4; color: #57534e; }
.ap-shake-note b { color: var(--or-d); font-size: 13px; }

/* ---------- 9. BẢN ĐỒ SỐ ---------- */
.ap-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 20px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(52, 211, 153, .35), rgba(52, 211, 153, 0) 55%), linear-gradient(135deg, #0a4d3a 0%, #0f6b4f 60%, #1b8a68 100%); overflow: hidden; }
.ap-map-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ap-map-desc { margin-top: 8px; max-width: 420px; font-size: 13.5px; line-height: 1.6; color: #d1fae5; }
.ap-map-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.ap-map-count { font-size: 12.5px; color: #a7f3d0; }
.ap-map-count b { font-size: 15px; color: #fff; }
.ap-map-vis { position: relative; min-height: 150px; border-radius: 18px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .85); background: linear-gradient(112deg, transparent 0 56%, #bfe3f5 56% 74%, transparent 74%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .7) 0 2px, transparent 2px 36px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 2px, transparent 2px 44px), #e3eedd; }
.ap-pin { position: absolute; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; background: var(--p); transform: rotate(-45deg); box-shadow: 0 3px 6px rgba(0, 0, 0, .25); }
.ap-pin::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.ap-map-legend { display: none; }

/* ---------- 10. LỊCH TRÌNH ---------- */
.ap-plan { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; padding: 22px 18px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(253, 186, 116, .4), rgba(253, 186, 116, 0) 45%), linear-gradient(135deg, #c2410c 0%, #b23a0b 55%, #9a3412 100%); box-shadow: 0 18px 38px rgba(154, 52, 18, .32); }
.ap-plan::before { content: ''; position: absolute; right: -50px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .1); pointer-events: none; }
.ap-plan-main { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.ap-plan-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .4); font-size: 12px; font-weight: 700; }
.ap-plan-title { font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.ap-plan-title span { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; letter-spacing: 0; color: #fff7ed; }
.ap-plan-desc { max-width: 460px; font-size: 13.5px; line-height: 1.6; color: #fff7ed; }
.ap-plan-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-plan-steps li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 600; }
.ap-plan-steps b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--or-d); font-size: 11px; }
.ap-plan-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 6px; padding: 16px 24px; border-radius: 999px; background: #fff; color: var(--or-d); font-size: 16px; font-weight: 800; box-shadow: 0 14px 28px rgba(124, 45, 18, .35); transition: transform .2s ease, box-shadow .2s ease; }
.ap-plan-btn .ap-i { font-size: 18px; }
.ap-plan-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(124, 45, 18, .4); }
.ap-plan-btn:active { transform: scale(.98); }
.ap-plan-img { display: none; }
.ap-iti-show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ap-iti-feature { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, border-color .25s ease; }
.ap-iti-feature:hover { box-shadow: var(--shadow-md); border-color: #fdba74; }
.ap-iti-feature-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #e2e8f0; overflow: hidden; }
.ap-iti-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ap-iti-feature:hover .ap-iti-feature-img img { transform: scale(1.04); }
.ap-iti-feature-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.ap-iti-feature-title { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-iti-feature-desc { font-size: 13px; line-height: 1.55; color: var(--mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-iti-feature-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.ap-iti-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ap-iti-row { position: relative; flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, border-color .25s ease; }
.ap-iti-row:hover { border-color: #fdba74; box-shadow: var(--shadow-md); }
.ap-iti-row:hover .ap-go { background: var(--or-a); border-color: var(--or-a); color: #fff; }
.ap-iti-thumb { flex: none; width: 82px; height: 82px; border-radius: 14px; overflow: hidden; background: #e2e8f0; }
.ap-iti-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ap-iti-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ap-iti-title { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-iti-desc { font-size: 12px; line-height: 1.45; color: var(--mut); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 11. TUYẾN ĐƯỜNG ---------- */
.ap-route .ap-sec-head { margin-bottom: 12px; }
.ap-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #f1f3f6; margin-bottom: 12px; }
.ap-seg-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mut); transition: all .2s ease; white-space: nowrap; }
.ap-seg-btn span { padding: 1px 8px; border-radius: 999px; background: rgba(15, 23, 42, .07); font-size: 11px; }
.ap-seg-btn.is-active { background: #fff; color: var(--or-d); box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.ap-seg-btn.is-active span { background: var(--or-soft); }
.ap-route-cols { display: block; }
.ap-route-panel { display: none; padding: 14px 12px 8px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.ap-route-panel.is-active { display: block; }
.ap-route-head { display: none; align-items: center; gap: 12px; margin-bottom: 10px; padding: 0 4px; }
.ap-route-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--or-soft); color: var(--or-d); }
.ap-route-uong .ap-route-ico { background: #e6faf6; color: #0d6b61; }
.ap-route-head h3 { font-size: 16px; font-weight: 700; }
.ap-route-head small { font-size: 12px; color: var(--mut); }
.ap-route-list { display: flex; flex-direction: column; }
.ap-stop { --c: var(--or-d); --cb: var(--or-soft); display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 6px; border-radius: 14px; transition: background .2s ease; }
.ap-stop + .ap-stop { border-top: 1px dashed var(--line); }
.ap-stop-uong { --c: #0d6b61; --cb: #e6faf6; }
.ap-stop:hover { background: #fafafa; }
.ap-stop:hover .ap-go { background: var(--c); border-color: var(--c); color: #fff; }
.ap-stop-n { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--c); background: var(--cb); }
.ap-stop-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ap-stop-t small { margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--c); }

/* ---------- 12. DÀNH CHO BẠN ---------- */
.ap-dcb { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.ap-dcb:active { transform: scale(.98); }
.ap-dcb:hover { border-color: #fdba74; box-shadow: var(--shadow-md); }
.ap-dcb-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; }
.ap-dcb-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ap-dcb:hover .ap-dcb-thumb img { transform: scale(1.05); }
.ap-dcb-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 11px 12px; }
.ap-dcb-title { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ap-dcb-desc { font-size: 11.5px; line-height: 1.45; color: var(--mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 13. ĐIỂM ĐẾN XANH ---------- */
.ap-green { padding: 16px 14px 14px; border-radius: 26px; background: linear-gradient(180deg, #e8f7ee 0%, #f3fbf6 100%); border: 1px solid #cdeedb; }
.ap-green-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ap-green-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: #fff; color: var(--gr); box-shadow: 0 4px 12px rgba(15, 107, 79, .15); }
.ap-green-title { flex: 1; min-width: 0; font-size: 18px; font-weight: 700; color: var(--gr-d); }
.ap-green .ap-link-all { color: var(--gr-d); }
.ap-green-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #d9f0e3; box-shadow: 0 2px 8px rgba(15, 107, 79, .06); transition: transform .25s ease, box-shadow .25s ease; }
.ap-green-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15, 107, 79, .16); }
.ap-green-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #d1fae5; overflow: hidden; }
.ap-green-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ap-green-card:hover .ap-green-img img { transform: scale(1.06); }
.ap-green-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 11px 12px; }
.ap-green-name { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-green-addr { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 11.5px; color: var(--gr); }
.ap-green-addr .ap-i { flex: none; }
.ap-green-about { margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .75); border: 1px solid #d9f0e3; }
.ap-green-about summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--gr-d); }
.ap-green-about p { margin-top: 8px; font-size: 12.5px; line-height: 1.65; color: #374151; }
.ap-green-about strong { color: var(--gr); }

/* ---------- 14. SỰ KIỆN ---------- */
.ap-event { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.ap-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Sự kiện đã kết thúc: chỉ làm xám ẢNH, giữ chữ rõ nét để đạt tương phản (không dùng opacity trên cả thẻ) */
.ap-event.is-ended { background: #f8fafc; border-style: dashed; border-color: #cbd5e1; }
.ap-event.is-ended .ap-event-img img { filter: grayscale(1) brightness(.85); transition: filter .3s ease; }
.ap-event.is-ended:hover .ap-event-img img { filter: none; }
.ap-event.is-ended .ap-event-title { color: #334155; }
.ap-event.is-ended .ap-event-meta { color: #475569; }
.ap-event.is-ended .ap-event-date b { color: #334155; }
.ap-event.is-ended .ap-event-date small { color: #475569; }

.ap-event-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #e2e8f0; overflow: hidden; }
.ap-event-img img { width: 100%; height: 100%; object-fit: cover; }
.ap-event-date { position: absolute; top: 8px; left: 8px; min-width: 46px; padding: 5px 8px 4px; border-radius: 12px; background: #fff; text-align: center; line-height: 1.1; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.ap-event-date b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); }
.ap-event-date small { font-size: 10px; font-weight: 700; color: #9a3412; }
.ap-event-status { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #fff; }
.ap-event-status.is-live { background: #be123c; }
.ap-event-status.is-upcoming { background: #1d4ed8; }
.ap-event-status.is-ended { background: #334155; }
.ap-pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: apPulse 1.2s ease-in-out infinite alternate; }
@keyframes apPulse { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.2); } }
.ap-event-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 11px 12px; }
.ap-event-title { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ap-event-meta { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11.5px; color: #475569; }
.ap-event-meta .ap-i { flex: none; color: var(--or-d); }

/* ---------- 15. NHIỆM VỤ - TẶNG TRÀ SỮA ---------- */
.ap-reward { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 18px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 0% 0%, rgba(96, 165, 250, .28), rgba(96, 165, 250, 0) 50%), linear-gradient(135deg, #0f2745 0%, #14325c 55%, #1e4a85 100%); }
.ap-reward-main { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.ap-reward-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(253, 224, 71, .16); border: 1px solid rgba(253, 224, 71, .4); color: #fde68a; font-size: 12px; font-weight: 700; }
.ap-reward-title { font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.ap-reward-desc { max-width: 480px; font-size: 13px; line-height: 1.6; color: #cbd9ee; }
.ap-reward-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-reward-steps li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; }
.ap-reward-steps b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fde68a; color: #3b2300; font-size: 11px; }
.ap-reward-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: 100%; margin-top: 4px; }
.ap-reward-cta .ap-btn { flex: 1 1 100%; }
.ap-reward-count { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd9ee; }
.ap-reward-count .ap-i { font-size: 18px; color: #93c5fd; }
.ap-reward-count b { color: #fff; font-size: 15px; }
.ap-reward-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 16px; border-radius: 22px; text-align: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.ap-reward-cup { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, #fde047, #f59e0b); color: #3b2300; }
.ap-reward-price { margin-top: 6px; font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fde68a; }
.ap-reward-name { font-size: 14px; font-weight: 700; }
.ap-reward-card small { max-width: 240px; margin-top: 2px; font-size: 12px; line-height: 1.5; color: #cbd9ee; }

/* ---------- 16. VÌ SAO CHỌN ---------- */
.ap-why { padding: 20px 16px 18px; border-radius: 26px; background: #faf7f2; border: 1px solid #f0e9dd; }
.ap-why .ap-sec-head { margin-bottom: 14px; }
.ap-why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ap-why-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid #efe8dc; }
.ap-why-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--ib, #ffeee0); color: var(--ic, #c2410c); }
.ap-why-ico.is-orange { --ib: #ffeee0; --ic: #c2410c; }
.ap-why-ico.is-green { --ib: #e8f6ee; --ic: #0f6b4f; }
.ap-why-ico.is-sky { --ib: #e3f1fd; --ic: #0369a1; }
.ap-why-ico.is-purple { --ib: #f2e8fb; --ic: #7e22ce; }
.ap-why-ico.is-amber { --ib: #fff4d6; --ic: #b45309; }
.ap-why-ico.is-rose { --ib: #ffe4e6; --ic: #be123c; }
.ap-why-txt { min-width: 0; }
.ap-why-txt h3 { font-size: 14px; font-weight: 700; color: var(--ink); }
.ap-why-txt p { margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--mut); }
.ap-why-foot { display: flex; justify-content: center; margin-top: 16px; }
.ap-why-foot .ap-btn { width: 100%; }

/* ---------- 17. CON SỐ + VIDEO ---------- */
.ap-stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 18px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ap-stats-left h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.ap-stats-left p { margin-top: 8px; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.ap-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.ap-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px; border-radius: 16px; background: var(--sb, #e8f6ee); color: var(--sc, #0f6b4f); }
.ap-stat .ap-i { font-size: 18px; margin-bottom: 4px; }
.ap-stat b { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.ap-stat span { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.ap-stat.is-green { --sb: #e8f6ee; --sc: #0f6b4f; }
.ap-stat.is-amber { --sb: #fff4d6; --sc: #92400e; }
.ap-stat.is-sky { --sb: #e3f1fd; --sc: #0369a1; }
.ap-stat.is-purple { --sb: #f2e8fb; --sc: #7e22ce; }
.ap-video-thumb { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0f172a; cursor: pointer; }
.ap-video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s ease, opacity .3s ease; }
.ap-video-thumb:hover img { transform: scale(1.04); opacity: .95; }
.ap-video-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; background: #dc2626; box-shadow: 0 10px 24px rgba(220, 38, 38, .5); padding-left: 3px; transition: transform .2s ease; }
.ap-video-thumb:hover .ap-video-play { transform: scale(1.1); }
.ap-video-info { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.ap-video-info b { font-size: 14px; }
.ap-video-info span { font-size: 12px; line-height: 1.5; color: var(--mut); }

/* ---------- 18. ĐÁNH GIÁ CỘNG ĐỒNG ---------- */
.ap-rating { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; }
.ap-rating-stars { color: #f59e0b; letter-spacing: 1px; font-size: 13px; }
.ap-rating b { font-size: 13px; }
.ap-rating small { color: var(--mut); font-size: 12px; }
.ap-review-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; margin: 0 -2px; }
.ap-review-grid::-webkit-scrollbar { display: none; }
.ap-review { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ap-review-user { display: flex; align-items: center; gap: 10px; }
.ap-review-user div { display: flex; flex-direction: column; min-width: 0; }
.ap-review-user b { font-size: 13.5px; }
.ap-review-user small { font-size: 11.5px; color: var(--mut); }
.ap-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.ap-avatar.is-sky { background: #e0f2fe; color: #0369a1; }
.ap-avatar.is-green { background: #dcfce7; color: #15803d; }
.ap-avatar.is-amber { background: #fef3c7; color: #92400e; }
.ap-review-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.ap-review blockquote { font-size: 13px; line-height: 1.65; color: var(--ink-2); }

/* ---------- 19. FOOTER ---------- */
.ap-footer { margin-top: 12px; background: #f4f2ee; border-top: 1px solid #e9e4da; content-visibility: auto; contain-intrinsic-size: auto 560px; }
.ap-footer-in { max-width: 1280px; margin: 0 auto; padding: 30px 16px 20px; }
.ap-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 24px; border-bottom: 1px solid #e3ddd0; }
.ap-footer-logo { display: inline-flex; align-items: center; gap: 12px; }
.ap-footer-logo img { height: 44px; width: auto; max-width: 110px; object-fit: contain; }
.ap-footer-logo span { display: flex; flex-direction: column; }
.ap-footer-logo b { font-size: 15px; color: var(--ink); line-height: 1.25; }
.ap-footer-logo small { font-size: 11.5px; color: var(--gr); font-weight: 600; margin-top: 2px; }
.ap-footer-brand p { margin: 12px 0 14px; max-width: 380px; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.ap-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ap-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #e3ddd0; color: var(--ink-2); transition: all .2s ease; }
.ap-social a svg { width: 16px; height: 16px; }
.ap-social a:hover { color: var(--or-d); border-color: var(--or); }
.ap-social a.ap-social-zalo { width: auto; height: 38px; padding: 0 14px; gap: 6px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ap-social a.ap-social-zalo .ap-i { font-size: 15px; }
.ap-footer-title { margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ap-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.ap-footer-col a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); transition: color .2s ease; }
.ap-footer-col a:hover { color: var(--or-d); }
.ap-footer-col a > .ap-i { color: var(--or); font-size: 12px; }
.ap-ficon { flex: none; width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; color: var(--or); }
.ap-ficon svg { width: 100%; height: 100%; display: block; }
.ap-footer-info { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px !important; }
.ap-footer-bottom { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; font-size: 12px; color: var(--mut); }
.ap-footer-bottom p { color: var(--ink-2); }
.ap-footer-bottom strong { color: var(--ink); }
.ap-footer-bottom small { font-size: 11.5px; }
.ap-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #d1fae5; color: #065f46; font-size: 11.5px; font-weight: 600; }
.ap-status i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: apBlink 2s ease-in-out infinite; }
@keyframes apBlink { 50% { opacity: .35; transform: scale(.85); } }

/* ---------- 20. THANH ĐIỀU HƯỚNG DƯỚI (mobile) ---------- */
.ap-bnav { display: none; }
.ap-bnav-item { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 2px; color: #586578; font-size: 10.5px; font-weight: 600; transition: color .2s ease; }
.ap-bnav-item span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-bnav-item .ap-i { font-size: 22px; }
.ap-bnav-item:active, .ap-bnav-item:hover { color: var(--or-d); }
.ap-bnav-logo { justify-self: center; align-self: center; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 6px #fff, 0 -6px 16px rgba(15, 23, 42, .10); transition: transform .2s ease; }
.ap-bnav-logo:active { transform: scale(.94); }
.ap-bnav-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- 21. SIDEBAR MOBILE ---------- */
.ap-sidebar { position: fixed; inset: 0; z-index: 9999; background: rgba(15, 23, 42, .55); }
.ap-sidebar-panel { width: 84%; max-width: 330px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; background: #fff; overflow-y: auto; box-shadow: 20px 0 50px rgba(0, 0, 0, .25); animation: apSlideIn .28s ease; }
@keyframes apSlideIn { from { transform: translateX(-40px); } to { transform: none; } }
.ap-sidebar-top { padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 14px; }
.ap-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ap-sidebar-brand { display: flex; align-items: center; gap: 10px; }
.ap-sidebar-brand img { width: auto; height: 34px; max-width: 80px; object-fit: contain; }
.ap-sidebar-brand span { display: flex; flex-direction: column; }
.ap-sidebar-brand b { font-size: 14px; color: var(--ink); line-height: 1.2; }
.ap-sidebar-brand small { font-size: 11px; color: var(--mut); }
.ap-sidebar-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-size: 18px; color: var(--mut); }
.ap-pwa { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; color: #fff; cursor: pointer; background: linear-gradient(135deg, #c2410c, #b45309); box-shadow: 0 8px 18px rgba(194, 65, 12, .28); }
.ap-pwa-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .22); }
.ap-pwa-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ap-pwa-txt small { font-size: 10.5px; color: #fef3c7; }
.ap-pwa-txt b { font-size: 13px; }
.ap-pwa > .ap-i { font-size: 18px; opacity: .85; }
.ap-sidebar-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-quick { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 11px 10px; border-radius: 14px; font-size: 12.5px; font-weight: 600; background: var(--q-bg, var(--or-soft)); color: var(--q-c, var(--or-d)); }
.ap-quick .ap-i { font-size: 18px; flex: none; }
.ap-quick.is-dice { --q-bg: #fff4d6; --q-c: #92400e; }
.ap-quick.is-plus { --q-bg: #e8f6ee; --q-c: #0f6b4f; }
.ap-quick.is-cup { --q-bg: #f2e8fb; --q-c: #7e22ce; }
.ap-sidebar-cats { display: flex; flex-direction: column; gap: 2px; }
.ap-sidebar-cat { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ap-sidebar-cat:active { background: var(--bg-soft); }
.ap-sidebar-cat img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.ap-sidebar-cat span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-sidebar-cat em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1f3f6; color: var(--mut); }
.ap-sidebar-foot { padding: 14px 16px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); }

/* ---------- 22. POPUP CHỌN TRANG QUẢN LÝ ---------- */
.ap-role { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .25s ease; }
.ap-role.active { opacity: 1; }
.ap-role-modal { width: 100%; max-width: 440px; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); overflow: hidden; transform: scale(.96); transition: transform .25s ease; }
.ap-role.active .ap-role-modal { transform: none; }
.ap-role-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.ap-role-head h3 { font-size: 16px; font-weight: 700; }
.ap-role-close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--mut); background: var(--bg-soft); }
.ap-role-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.ap-role-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ap-role-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ap-role-card.is-user:hover { border-color: #fdba74; }
.ap-role-card.is-partner:hover { border-color: #6ee7b7; }
.ap-role-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }
.ap-role-card.is-user .ap-role-icon { background: var(--or-a); color: #fff; }
.ap-role-card.is-partner .ap-role-icon { background: var(--gr-soft); color: var(--gr); }
.ap-role-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ap-role-info b { font-size: 14px; line-height: 1.35; }
.ap-role-info small { font-size: 12px; line-height: 1.5; color: var(--mut); }
.ap-role-arrow { font-size: 18px; color: #94a3b8; flex: none; }

/* ---------- 23. POPUP DÙNG CHUNG (ap-modal) ---------- */
.ap-modal { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.ap-modal.active, .ap-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.ap-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .6); }
.ap-modal-panel { position: relative; z-index: 1; width: 100%; max-width: 1100px; max-height: 84vh; max-height: 84dvh; display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; overflow: hidden; box-shadow: 0 -10px 50px rgba(0, 0, 0, .25); transform: translateY(100%); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.ap-modal.active .ap-modal-panel, .ap-modal.is-open .ap-modal-panel { transform: none; }
.ap-modal-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ap-modal-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
.ap-count { padding: 2px 10px; border-radius: 999px; background: var(--or-soft); color: var(--or-d); font-size: 11.5px; font-weight: 700; }
.ap-modal-close { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--mut); background: var(--bg-soft); transition: background .2s ease; }
.ap-modal-close:hover { background: #e2e8f0; color: var(--ink); }
.ap-modal-tools { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 4px; }
.ap-modal-tools .ap-seg { margin-bottom: 0; }
.ap-seg-sm .ap-seg-btn { padding: 8px 8px; font-size: 12.5px; }
.ap-modal-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 999px; background: #f1f3f6; border: 1.5px solid transparent; color: var(--mut); }
.ap-modal-search:focus-within { background: #fff; border-color: #fdba74; }
.ap-modal-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); }
.ap-modal-body { flex: 1 1 auto; min-height: 0; padding: 14px 16px calc(18px + var(--safe-b)); background: #faf9f7; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #fdba74 transparent; }
.ap-modal-grid { display: grid; gap: 10px; }
.ap-grid-hot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-grid-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-grid-list { grid-template-columns: minmax(0, 1fr); }
.ap-modal-foot { display: flex; justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ap-empty { padding: 28px 0; text-align: center; color: var(--mut); font-size: 13.5px; }
#rt-modal .ap-modal-panel { max-width: 760px; }
#rt-modal .ap-modal-head { padding: 12px 14px; }
#rt-modal .ap-modal-title { font-size: 16px; }
#rt-modal .ap-modal-close { width: 34px; height: 34px; }
#rt-modal .ap-modal-tools { gap: 8px; padding: 10px 12px 2px; }
#rt-modal .ap-modal-search { height: 40px; }
#rt-modal .ap-modal-body { padding: 8px 12px calc(12px + var(--safe-b)); }
#rt-modal .ap-stop { padding: 9px 6px; }

/* ---------- 24. VIDEO POPUP ---------- */
.ist-modal-backdrop { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(0, 0, 0, .88); }
.ist-modal-content { position: relative; width: 100%; max-width: 900px; background: #0f172a; border-radius: 16px; border: 1px solid #334155; overflow: hidden; box-shadow: 0 25px 50px rgba(0, 0, 0, .5); }
.ist-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #020617; border-bottom: 1px solid #1e293b; }
.ist-modal-title { color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.ist-modal-close { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #1e293b; color: #fff; font-size: 15px; display: grid; place-items: center; transition: background .2s ease; }
.ist-modal-close:hover { background: #334155; }
.ist-modal-body { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; background: #000; }
.ist-modal-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 25. POPUP HƯỚNG DẪN CÀI APP ---------- */
.td-modal-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 23, 42, .7); }
.td-modal-overlay.hidden { display: none !important; }
.td-modal-card { width: 100%; max-width: 440px; padding: 20px 20px calc(20px + var(--safe-b)); background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 25px 50px rgba(0, 0, 0, .25); }
.td-drag-handle { width: 46px; height: 5px; margin: 0 auto 14px; border-radius: 999px; background: #e2e8f0; }
.td-modal-header { text-align: center; margin-bottom: 14px; }
.td-modal-title { font-size: 16px; font-weight: 700; }
.td-modal-sub { margin-top: 3px; font-size: 12px; color: var(--mut); }
.td-tab-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 14px; border-radius: 14px; background: #f1f3f6; }
.td-tab-btn { padding: 9px 0; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--mut); transition: all .2s ease; }
.td-tab-btn.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.td-tab-pane { display: none; }
.td-tab-pane.active { display: block; }
.td-tab-pane.hidden { display: none !important; }
.td-video-box { height: 350px; max-height: 50vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 14px; border: 1px solid #e2e8f0; background: #000; }
.td-video-element { width: 100%; height: 100%; object-fit: contain; }
.td-btn-understand { width: 100%; margin-top: 16px; padding: 13px 0; border-radius: 14px; background: var(--or-a); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 8px 18px rgba(194, 65, 12, .3); }
.td-btn-understand:active { transform: scale(.98); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 767px) {
  body { padding-bottom: calc(70px + var(--safe-b)); }
  .ap-bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: center; height: calc(62px + var(--safe-b)); padding: 0 4px var(--safe-b); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(15, 23, 42, .08); }
  .ap-search-input, .ap-modal-search input { font-size: 16px; }
}
@media (max-width: 639px) {
  .ap-xs-hide { display: none; }
  #rt-modal { align-items: flex-start; padding: calc(env(safe-area-inset-top, 0px) + 10px) 10px 0; }
  #rt-modal .ap-modal-panel { border-radius: 20px; max-height: min(60vh, 420px); transform: translateY(-16px); box-shadow: 0 16px 40px rgba(0, 0, 0, .28); }
  #rt-modal.active .ap-modal-panel, #rt-modal.is-open .ap-modal-panel { transform: none; }
  #rt-modal .ap-modal-panel:has(#rt-search-input:focus) { max-height: 330px; }
  #rt-modal .ap-modal-panel:has(#rt-search-input:focus) .ap-seg { display: none; }
}
@media (max-width: 380px) {
  .ap-cat-name { font-size: 11.5px; }
  .ap-brand-sub { font-size: 10.5px; }
  .ap-plan-title { font-size: 21px; }
  .ap-bnav-item { font-size: 10px; }
}
@media (min-width: 640px) {
  .ap-slider-track > * { flex-basis: calc((100% - 36px) / 3.4); }
  .ap-review { flex-basis: 46%; }
  .ap-grid-hot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ap-grid-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ap-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-why-foot .ap-btn { width: auto; }
  .ap-reward-cta .ap-btn { flex: 0 0 auto; }
  .ap-plan-btn { width: auto; }
  .ap-modal { align-items: center; padding: 20px; }
  .ap-modal-panel { border-radius: 24px; max-height: 82vh; max-height: 82dvh; transform: translateY(24px) scale(.97); }
  #rt-modal .ap-modal-panel { max-height: min(76vh, 600px); }
  .td-modal-overlay { align-items: center; padding: 16px; }
  .td-modal-card { border-radius: 22px; }
  .td-drag-handle { display: none; }
}
@media (min-width: 768px) {
  html { scroll-padding-top: 120px; }
  body { font-size: 14.5px; }
  .ap-header { position: sticky; top: 0; }
  .ap-header-main { grid-template-columns: auto minmax(260px, 560px) 1fr; grid-template-areas: "brand search actions"; gap: 20px; padding: 14px 24px 12px; }
  .ap-menu-btn { display: none; }
  .ap-brand-name { font-size: 17px; }
  .ap-brand-logo { height: 48px; }
  .ap-search-box { height: 48px; }
  .ap-tabs { display: block; border-top: 1px solid #f1f3f6; }
  .ap-tabs-in { max-width: 1280px; margin: 0 auto; padding: 8px 24px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .ap-tabs-in::-webkit-scrollbar { display: none; }
  .ap-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .2s ease, color .2s ease; }
  .ap-tab .ap-i { font-size: 17px; }
  .ap-tab:hover { background: #f1f3f6; }
  .ap-tab.is-active { background: var(--or-a); color: #fff; box-shadow: 0 6px 14px rgba(194, 65, 12, .3); }

  .ap-main { padding: 0 24px 56px; }
  .ap-intro { padding-top: 14px; }
  .ap-h1 { font-size: 13.5px; }
  .ap-sec { margin-top: 44px; }
  .ap-sec-first { margin-top: 18px; }
  .ap-sec-head { margin-bottom: 18px; }
  .ap-sec-title { font-size: 24px; }
  .ap-sec-ico { font-size: 26px; }
  .ap-sec-sub { font-size: 14px; }
  .ap-link-all { font-size: 14px; }

  .ap-cat-grid { flex-wrap: nowrap; gap: 14px; }
  .ap-cat { flex: 1 1 0; min-height: 122px; gap: 12px; padding: 18px 6px 14px; border-radius: 22px; }
  .ap-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .ap-cat-ico { width: 60px; height: 60px; }
  .ap-cat-ico img { width: 40px; height: 40px; }
  .ap-cat-name { font-size: 14px; }

  .ap-slider-track { gap: 16px; }
  .ap-slider-track > * { flex-basis: calc((100% - 48px) / 4); }
  .ap-slider-btn { width: 42px; height: 42px; font-size: 20px; }
  .ap-slider-btn.is-prev { left: -16px; }
  .ap-slider-btn.is-next { right: -16px; }
  .ap-hot-name { font-size: 14.5px; }

  .ap-shake { flex-direction: row; align-items: center; gap: 32px; padding: 26px 32px; border-radius: 26px; }
  .ap-shake-ico { width: 52px; height: 52px; font-size: 28px; border-radius: 16px; }
  .ap-shake-title { font-size: 24px; }
  .ap-shake-desc { font-size: 14px; }
  .ap-food { font-size: 12.5px; }
  .ap-shake-side { width: 260px; }

  .ap-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 32px; padding: 36px 44px; }
  .ap-map-title { font-size: 32px; }
  .ap-map-desc { font-size: 15px; }
  .ap-map-vis { min-height: 230px; }
  .ap-pin { width: 24px; height: 24px; }
  .ap-map-legend { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
  .ap-map-legend span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
  .ap-map-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--p); }

  .ap-plan { grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 32px; padding: 36px 44px; margin-bottom: 20px; }
  .ap-plan-title { font-size: 34px; }
  .ap-plan-title span { font-size: 20px; }
  .ap-plan-desc { font-size: 15px; }
  .ap-plan-img { position: relative; z-index: 1; display: block; width: 200px; height: 200px; border-radius: 28px; object-fit: cover; border: 4px solid rgba(255, 255, 255, .55); box-shadow: 0 18px 36px rgba(124, 45, 18, .35); transform: rotate(3deg); }

  .ap-route-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .ap-seg:not(.ap-seg-sm) { display: none; }
  .ap-route-panel { display: block; padding: 20px 18px 10px; }
  .ap-route-head { display: flex; margin-bottom: 12px; }
  .ap-stop { padding: 13px 8px; }
  #rt-modal .ap-stop { padding: 10px 8px; }
  .ap-stop-t { font-size: 14px; }

  .ap-dcb-body { padding: 12px 14px 14px; }
  .ap-dcb-title { font-size: 14.5px; }
  .ap-dcb-desc { font-size: 12.5px; }

  .ap-green { padding: 24px; }
  .ap-green-head { margin-bottom: 20px; gap: 14px; }
  .ap-green-ico { width: 50px; height: 50px; font-size: 26px; }
  .ap-green-title { font-size: 24px; }

  .ap-reward { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 36px; padding: 40px 44px; }
  .ap-reward-title { font-size: 32px; }
  .ap-reward-desc { font-size: 15px; }
  .ap-reward-card { padding: 30px 24px; }
  .ap-reward-price { font-size: 52px; }

  .ap-why { padding: 36px 40px; }
  .ap-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ap-why-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; border-radius: 22px; }
  .ap-why-ico { width: 52px; height: 52px; font-size: 26px; border-radius: 16px; }
  .ap-why-txt h3 { font-size: 16px; }
  .ap-why-txt p { font-size: 13.5px; }
  .ap-why-foot { margin-top: 24px; }

  .ap-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px; padding: 36px 40px; }
  .ap-stats-left h2 { font-size: 28px; }
  .ap-stat b { font-size: 24px; }

  .ap-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; overflow: visible; }
  .ap-review { flex-basis: auto; padding: 22px; }
  .ap-review blockquote { font-size: 14px; }

  .ap-footer-in { padding: 44px 24px 24px; }
  .ap-footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; }
  .ap-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }

  .ap-grid-hot { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .ap-grid-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .ap-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ap-modal-tools { flex-direction: row; align-items: center; padding: 14px 20px 4px; }
  .ap-modal-search { flex: 1; }
  .ap-modal-tools .ap-seg { flex: none; }
  .ap-modal-head { padding: 18px 22px; }
  .ap-modal-body { padding: 18px 22px 24px; }
  #rt-modal .ap-modal-head { padding: 14px 20px; }
  #rt-modal .ap-modal-tools { padding: 12px 20px 2px; }
  #rt-modal .ap-modal-body { padding: 12px 20px 18px; }
}
@media (min-width: 1100px) {
  .ap-slider-track > * { flex-basis: calc((100% - 64px) / 5); }
  .ap-slider-4 .ap-slider-track > * { flex-basis: calc((100% - 48px) / 4); }
  .ap-iti-show { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
  .ap-iti-feature-img { aspect-ratio: 16 / 9.4; }
  .ap-iti-feature-title { font-size: 21px; }
  .ap-iti-thumb { width: 96px; height: 96px; }
  .ap-iti-title { font-size: 15px; }
  .ap-iti-desc { font-size: 12.5px; -webkit-line-clamp: 2; }
  .ap-grid-hot { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ap-actions { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ap-pulse, .ap-status i, .ap-sidebar-panel { animation: none; }
  .ap-hot-card, .ap-dcb, .ap-event, .ap-green-card, .ap-cat, .ap-modal-panel { transition: none; }
}