/* ============================================================================================
   nhf/auth-v2.css — R62 หน้า landing (/login ของ guest) · login · สมัคร 3 ขั้น · สำเร็จ แบบใหม่หลังสวิตช์ AUTH_UI (เจ้าของ 2026-10-12 อนุมัติ mockup
   new-mgmt research/front/mockups/signup-2026-10-12/L/* — โครง/สี/ฟอนต์ = token --nhf-* ของ theme-override.css ; red.css เปลี่ยน token ให้ธีมแดงเอง)
   โหลดเฉพาะหน้าเหล่านี้ผ่าน /_css/<NHF_CSS_VER>/auth-v2.css (components/auth/V2Shell.vue — head + ท้าย body) ; ทั้งไฟล์อยู่ใต้ .av-root ไม่กระทบหน้าอื่น
   กติกาผู้สูงอายุ: ตัวอักษร ≥ 17 px · ป้าย ≥ 18 px · เป้ากด ≥ 48 px · ปุ่มหลัก ≥ 56 px (สมัคร 58) · ช่องกรอก ≥ 56 px · ไอคอน + คำไทย · ไม่มี marquee/เลื่อนเอง/NEW/HOT
   ไม่มี JS ก็ใช้ได้ทุกหน้า: แถบล่างติดจอโชว์เสมอเมื่อไม่มี JS (html.av-js ซ่อนจนเลื่อนผ่านปุ่มสมัคร) ; กฎกติกา = <details> ; ช่อง OTP = <input> จริงช่องเดียว
   ============================================================================================ */
.av-root {
  --av-tap: 48px;
  --av-btn: 56px;
  --av-fs: 17px;
  --av-fs-label: 18px;
  --av-top-h: 54px;
  font-family: var(--nhf-font-body);
  font-size: var(--av-fs);
  line-height: 1.45;
  color: var(--nhf-ink);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
  position: relative;
}
.av-root *, .av-root *::before, .av-root *::after { box-sizing: border-box; }
.av-root a { color: inherit; text-decoration: none; }
.av-root button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.av-root input { font: inherit; }
.av-root p, .av-root h1, .av-root h2 { margin: 0; }
.av-root b { font-family: var(--nhf-font-body-md, var(--nhf-font-body)); font-weight: 500; }
.av-root i.fas, .av-root i.far, .av-root i.fab { line-height: 1; }
.av-root .av-nw { white-space: nowrap; }
.av-root .av-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.av-root .av-thb { font-family: var(--nhf-font-display); font-variant-numeric: tabular-nums; }
.av-root .av-wrap { width: 100%; max-width: 1164px; margin: 0 auto; padding: 0 12px; }
.av-root [id] { scroll-margin-top: calc(var(--av-top-h) + 10px); }
.av-root img { display: block; max-width: 100%; }
@media (min-width: 1024px) { .av-root .av-wrap { padding: 0 24px; } }

/* ---------- 1. แถบบน (sticky) — ทับ .topnavbar ของ theme-override ไม่ได้ (คนละ class) ---------- */
.av-root .av-top { position: sticky; top: 0; z-index: 1020; background: linear-gradient(180deg, var(--nhf-topbar-a), var(--nhf-topbar-b)); border-bottom: 1px solid var(--nhf-topbar-border); box-shadow: 0 2px 10px rgba(0, 0, 0, .28); color: #fff; }
.av-root .av-top__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--av-top-h); gap: 6px; }
.av-root .av-top__in.is-guest, .av-root .av-top__in.is-member { grid-template-columns: auto 1fr; }
.av-root .av-top__left { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: var(--av-tap); min-width: var(--av-tap); padding: 0 10px 0 4px; font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; color: #fff; border-radius: var(--nhf-r-sm); }
.av-root .av-top__left i { font-size: 16px; }
.av-root .av-top__logo { display: flex; align-items: center; justify-content: center; min-height: var(--av-tap); min-width: 125px; }
.av-root .av-top__logo img { width: 125px; height: 24px; object-fit: contain; }
.av-root .av-top__in.is-guest .av-top__logo, .av-root .av-top__in.is-member .av-top__logo { justify-content: flex-start; }
.av-root .av-top__in.is-member .av-top__logo img { width: 96px; height: 18px; }
.av-root .av-top__in.is-member .av-top__logo { min-width: 96px; }
.av-root .av-top__right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.av-root .av-pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; min-width: 48px; padding: 0 12px; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: var(--nhf-r-pill); background: rgba(0, 0, 0, .12); color: #fff; font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; white-space: nowrap; }
.av-root .av-pill i { font-size: 18px; }
.av-root .av-top a.av-pill-wrap { display: inline-flex; align-items: center; justify-content: center; min-height: var(--av-tap); min-width: var(--av-tap); color: #fff; }
.av-root .av-top__credit { display: inline-flex; align-items: center; background: #fff; color: var(--nhf-red-deep); font-family: var(--nhf-font-display); font-weight: 500; font-size: 17px; line-height: 1.2; padding: 7px 12px; border-radius: var(--nhf-r-pill); white-space: nowrap; min-height: 40px; }
.av-root .av-top__avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid rgba(255, 255, 255, .7); display: inline-flex; align-items: center; justify-content: center; color: var(--nhf-muted-2); font-size: 18px; }
@media (min-width: 1024px) { .av-root .av-top__logo img { width: 150px; height: 29px; } }

/* ---------- 2. ปุ่ม (ชุดของหน้าใหม่ — ไม่ใช่ .btn ของ bootstrap) ---------- */
.av-root .av-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; font-family: var(--nhf-font-display); font-weight: 500; font-size: 19px; line-height: 1.3; padding: 0 16px; min-height: var(--av-tap); border-radius: var(--nhf-r-sm); border: 1px solid transparent; box-shadow: var(--nhf-shadow-0); white-space: nowrap; text-align: center; cursor: pointer; text-shadow: none; }
.av-root .av-btn--auto { width: auto; display: inline-flex; }
.av-root .av-btn--lg { min-height: var(--av-btn); font-size: 20px; border-radius: var(--nhf-r); }
.av-root .av-btn--xl { min-height: 58px; font-size: 22px; border-radius: var(--nhf-r); }
.av-root .av-btn--red, .av-root .av-btn--dark, .av-root .av-btn--green { background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, .06)); }
.av-root .av-btn--red { background-color: var(--nhf-red-hi); color: #fff; }
.av-root .av-btn--red:hover { background-color: var(--nhf-red); color: #fff; }
.av-root .av-btn--dark { background-color: var(--nhf-ink); color: #fff; }
.av-root .av-btn--green { background-color: var(--nhf-green); color: #fff; }
.av-root .av-btn--outline-red { background: var(--nhf-paper); border: 1.5px solid var(--nhf-red-hi); color: var(--nhf-red-hi); }
.av-root .av-btn--outline-dark { background: var(--nhf-paper); border: 1.5px solid var(--nhf-ink); color: var(--nhf-ink); }
.av-root .av-btn--outline-light { background: rgba(0, 0, 0, .12); border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; }
.av-root .av-btn--ghost { background: transparent; color: var(--nhf-red); box-shadow: none; width: auto; display: inline-flex; padding: 0 10px; border: 1.5px solid var(--nhf-line-2); border-radius: var(--nhf-r-sm); }
.av-root .av-btn[disabled], .av-root .av-btn.is-disabled { background: var(--nhf-paper-3); background-image: none; color: var(--nhf-muted); box-shadow: none; border-color: transparent; cursor: default; pointer-events: none; }
.av-root .av-btn i { font-size: 1em; }
.av-root .av-btn .av-chev { font-size: .7em; }
.av-root .av-btn .av-sub { display: block; width: 100%; font-family: var(--nhf-font-body); font-weight: 400; font-size: 17px; line-height: 1.25; }
.av-root .av-btn--stack { flex-wrap: wrap; row-gap: 0; padding-top: 6px; padding-bottom: 6px; }
.av-root .av-btn img.av-line { width: 26px; height: 24px; object-fit: contain; }
.av-root .av-btn .fa-line { color: #06c755; font-size: 1.15em; }
.av-root .av-btn--outline-dark .fa-line { color: #06c755; }

/* ---------- 3. hero (จอแรก) ---------- */
.av-root .av-hero { color: #fff; padding: 14px 0 16px; }
.av-root .av-hero h1 { font-family: var(--nhf-font-display); font-weight: 500; font-size: 26px; line-height: 1.22; color: #fff; }
.av-root .av-hero h1 .av-em { color: var(--nhf-gold); white-space: nowrap; }
.av-root .av-hero .av-lead { font-size: 17px; line-height: 1.4; letter-spacing: -.2px; color: rgba(255, 255, 255, .9); margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; }
.av-root .av-hero .av-lead .av-sep { padding: 0 5px; }
@media (max-width: 351px) { .av-root .av-hero .av-lead .av-sep { display: none; } .av-root .av-hero .av-lead span { display: block; width: 100%; } }
.av-root .av-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.av-root .av-door { display: flex; flex-direction: column; min-height: 96px; text-align: center; color: var(--nhf-ink); background: var(--nhf-paper); border: 1px solid var(--nhf-line-2); border-radius: var(--nhf-r-lg); box-shadow: var(--nhf-shadow-1); overflow: hidden; }
.av-root .av-door__art { width: 100%; aspect-ratio: 4 / 3; background: #141416; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.av-root .av-door__art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.av-root .av-door__art.is-lotto { background: linear-gradient(120deg, var(--nhf-red-deep) 0%, var(--nhf-red) 60%, var(--nhf-red-hi) 100%); }
.av-root .av-layers { position: relative; display: inline-flex; width: 1.1em; height: 1.1em; align-items: center; justify-content: center; font-size: 40px; }
.av-root .av-layers .av-ring { font-size: 1em; color: #fff; }
.av-root .av-layers .av-star { position: absolute; font-size: .62em; color: var(--nhf-gold); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.av-root .av-door__t { display: block; font-family: var(--nhf-font-display); font-size: 19px; font-weight: 500; line-height: 1.2; margin: 7px 4px 0; }
.av-root .av-door__s { display: block; font-size: 17px; line-height: 1.25; letter-spacing: -.15px; color: var(--nhf-ink-2); margin: 2px 0 8px; }
.av-root .av-door__s i { font-style: normal; display: block; }
.av-root .av-cta { margin-top: 12px; display: flex; flex-direction: column; }
.av-root .av-cta .av-btn--xl { order: 1; }
.av-root .av-ok { order: 2; list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; font-size: 17px; line-height: 1.35; color: rgba(255, 255, 255, .9); }
.av-root .av-ok li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.av-root .av-ok i { color: var(--nhf-gold); font-size: 15px; }
.av-root .av-cta .av-second { order: 3; margin-top: 10px; }

/* ---------- 4. การ์ดขาว + ฟอร์ม ---------- */
.av-root .av-card { background: var(--nhf-paper); border: 1px solid var(--nhf-line); border-radius: var(--nhf-r-lg); box-shadow: var(--nhf-shadow-2); padding: 14px 14px 12px; color: var(--nhf-ink); margin-top: 12px; }
.av-root .av-card__head { display: flex; align-items: center; gap: 8px; font-family: var(--nhf-font-display); font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--nhf-ink); }
.av-root .av-card__head i { color: var(--nhf-red); font-size: 20px; }
.av-root .av-card__head .av-hint { margin-left: auto; font-family: var(--nhf-font-body); font-size: 17px; font-weight: 400; color: var(--nhf-muted); white-space: nowrap; }
.av-root .av-card h1.av-h1 { display: flex; align-items: center; gap: 8px; font-family: var(--nhf-font-display); font-size: 24px; font-weight: 500; line-height: 1.25; color: var(--nhf-ink); }
.av-root .av-card h1.av-h1 i { color: var(--nhf-red); font-size: 22px; }
.av-root .av-lead2 { font-size: 18px; line-height: 1.4; color: var(--nhf-ink-2); margin-top: 6px; }
.av-root .av-field { margin-top: 12px; }
.av-root .av-field label, .av-root .av-label { display: block; font-family: var(--nhf-font-body-md, var(--nhf-font-body)); font-size: var(--av-fs-label); line-height: 1.3; color: var(--nhf-ink-2); margin-bottom: 5px; }
.av-root .av-control { position: relative; display: flex; align-items: center; }
.av-root .av-control > i { position: absolute; left: 16px; font-size: 19px; color: var(--nhf-muted); pointer-events: none; }
.av-root .av-input { display: block; width: 100%; min-height: 56px; padding: 0 16px 0 48px; font-family: var(--nhf-font-body); font-size: 19px; line-height: 1.3; color: var(--nhf-ink); background: #fff; border: 1.5px solid var(--nhf-line-2); border-radius: var(--nhf-r); box-shadow: var(--nhf-shadow-0); outline: 0; -webkit-appearance: none; appearance: none; margin: 0; }
.av-root .av-input::placeholder { color: var(--nhf-muted-2); opacity: 1; }
.av-root .av-input:focus { border-color: var(--nhf-red); box-shadow: var(--nhf-ring); }
.av-root .av-input.has-eye { padding-right: 100px; }
.av-root .av-input--big { min-height: 64px; font-family: var(--nhf-font-display); font-size: 26px; font-weight: 500; letter-spacing: 1.5px; }
.av-root .av-input--big::placeholder { font-weight: 400; letter-spacing: .5px; font-size: 22px; }
.av-root .av-input.is-invalid { border-color: var(--nhf-red-hi); background: var(--nhf-red-soft); box-shadow: 0 0 0 3px rgba(210, 20, 20, .12); }
.av-root .av-input--static { background: var(--nhf-paper-2); color: var(--nhf-ink-2); display: flex; align-items: center; font-family: var(--nhf-font-display); font-size: 24px; letter-spacing: 1px; }
.av-root .av-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-width: var(--av-tap); min-height: var(--av-tap); padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--nhf-muted); font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; border-radius: var(--nhf-r-sm); }
.av-root .av-eye i { font-size: 18px; }
.av-root .av-eye:hover, .av-root .av-eye:focus-visible { color: var(--nhf-red); background: var(--nhf-paper-2); outline: 0; }
.av-root .av-help { font-size: 17px; line-height: 1.35; color: var(--nhf-muted); margin-top: 6px; }
.av-root .av-help--center { text-align: center; }
.av-root .av-help a, .av-root .av-link { color: var(--nhf-red); font-family: var(--nhf-font-body-md, var(--nhf-font-body)); display: inline-flex; align-items: center; min-height: var(--av-tap); padding: 0 6px; margin: -12px -2px; }
.av-root .av-msg { display: flex; align-items: flex-start; gap: 8px; font-size: 17px; line-height: 1.35; margin-top: 8px; }
.av-root .av-msg i { font-size: 19px; margin-top: 2px; flex: 0 0 auto; }
.av-root .av-msg--err { color: var(--nhf-red-hi); }
.av-root .av-msg--ok { color: var(--nhf-green-deep); }
.av-root .av-msg[hidden] { display: none; }
.av-root .av-check { display: inline-flex; align-items: center; gap: 8px; min-height: var(--av-tap); font-size: 18px; color: var(--nhf-ink-2); cursor: pointer; }
.av-root .av-check input { width: 24px; height: 24px; margin: 0; accent-color: var(--nhf-red); }
.av-root .av-forgot { display: inline-flex; align-items: center; gap: 6px; min-height: var(--av-tap); padding: 0 4px; font-family: var(--nhf-font-display); font-size: 18px; font-weight: 500; color: var(--nhf-red); white-space: nowrap; }
.av-root .av-forgot i { font-size: 15px; }
.av-root .av-lc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.av-root .av-to-register { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--av-tap); margin-top: 4px; border-top: 1px solid var(--nhf-line); font-size: 17px; color: var(--nhf-ink-2); }
.av-root .av-to-register a { font-family: var(--nhf-font-display); font-weight: 500; color: var(--nhf-red); display: inline-flex; align-items: center; gap: 4px; min-height: var(--av-tap); padding: 0 4px; }
.av-root .av-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border-radius: var(--nhf-r-pill); background: var(--nhf-green-soft); border: 1px solid rgba(31, 157, 85, .3); font-size: 17px; line-height: 1.3; color: var(--nhf-ink-2); margin-top: 12px; }
.av-root .av-chip i { color: var(--nhf-green); font-size: 18px; }
.av-root .av-note { display: flex; gap: 10px; align-items: flex-start; background: var(--nhf-paper-2); border: 1px solid var(--nhf-line); border-radius: var(--nhf-r); padding: 10px 12px; font-size: 17px; line-height: 1.35; color: var(--nhf-ink-2); margin-top: 12px; }
.av-root .av-note i { color: var(--nhf-red); font-size: 20px; margin-top: 2px; }
.av-root .av-or { display: flex; align-items: center; gap: 10px; color: var(--nhf-muted); font-size: 17px; margin: 14px 0 0; white-space: nowrap; }
.av-root .av-or::before, .av-root .av-or::after { content: ''; flex: 1; height: 1px; background: var(--nhf-line-2); }
.av-root .av-mt8 { margin-top: 8px; } .av-root .av-mt12 { margin-top: 12px; } .av-root .av-mt16 { margin-top: 16px; }
.av-root .av-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.av-root .av-captcha { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.av-root .av-captcha img { width: 168px; height: 60px; border-radius: var(--nhf-r-sm); border: 1px solid var(--nhf-line-2); background: #fff; image-rendering: auto; }
.av-root .av-captcha a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--av-tap); padding: 0 8px; color: var(--nhf-red); font-family: var(--nhf-font-display); font-weight: 500; }
.av-root .av-linkrow { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--av-tap); font-size: 17px; color: rgba(255, 255, 255, .88); margin-top: 8px; }
.av-root .av-linkrow b { color: var(--nhf-gold); font-family: var(--nhf-font-display); font-weight: 500; }
.av-root .av-linkrow i { font-size: 14px; color: var(--nhf-gold); }

/* ---------- 5. landing: hero slot / เกม / ความเชื่อมั่น ---------- */
.av-root .av-slot { position: relative; width: 100%; border-radius: var(--nhf-r); overflow: hidden; margin-top: 12px; background: #141416; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.av-root .av-slot > a { display: block; width: 100%; }
.av-root .av-slot img { width: 100%; height: auto; aspect-ratio: 690 / 310; object-fit: cover; }
.av-root .av-slot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .7)); color: #fff; font-family: var(--nhf-font-display); font-size: 18px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--av-tap); }
.av-root .av-slot__cap span { font-family: var(--nhf-font-body); font-weight: 400; font-size: 17px; color: var(--nhf-gold); white-space: nowrap; }
.av-root .av-lotto { background: linear-gradient(120deg, #790000 0%, var(--nhf-red) 60%, var(--nhf-red-hi) 100%); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 14px 22px; min-height: 160px; line-height: 1.2; }
.av-root .av-lotto__tag { font-size: 17px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); margin-bottom: 6px; display: inline-flex; align-items: center; gap: 6px; }
.av-root .av-lotto__title { font-size: 30px; line-height: 1.1; font-weight: 500; color: var(--nhf-gold); font-family: var(--nhf-font-display); }
.av-root .av-lotto__line { font-size: 18px; margin-top: 6px; }
.av-root .av-lotto__cta { font-style: normal; font-size: 18px; font-weight: 500; margin-top: 10px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--nhf-red); font-family: var(--nhf-font-display); min-height: var(--av-tap); display: inline-flex; align-items: center; gap: 6px; }
.av-root .av-lotto__cta i { font-size: .7em; }
.av-root .av-slot--gov { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; align-items: start; }
.av-root .av-slot--gov .av-lotto__title { font-size: 28px; }
.av-root .av-gov__art { border-radius: var(--nhf-r); overflow: hidden; background: rgba(0, 0, 0, .25); border: 2px solid rgba(255, 255, 255, .35); display: flex; align-items: center; justify-content: center; font-family: var(--nhf-font-display); line-height: 1.15; text-align: center; color: var(--nhf-gold); }
.av-root .av-slot--gov .av-gov__art { width: 118px; height: 118px; font-size: 22px; margin-top: 4px; }
/* R62b: แถบหวยรัฐบาลบนหน้า login แบบแยก (login-gov.png) — กล่องศิลป์เดียวกับการ์ด landing + 3 บรรทัดแยกกัน (block) : title · ปิดรับ/ผลออก · 3 ตัวบน บาทละ 900 */
.av-root .av-govstrip { min-height: 0; padding: 10px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.av-root .av-govstrip .av-gov__art { width: 64px; height: 64px; font-size: 17px; border-radius: var(--nhf-r-sm); margin: 0; flex: 0 0 auto; }
.av-root .av-govstrip__tx { display: flex; flex-direction: column; min-width: 0; }
.av-root .av-govstrip .av-lotto__title { display: block; font-size: 20px; line-height: 1.2; }
.av-root .av-govstrip__round { color: #fff; }
.av-root .av-govstrip .av-lotto__line { display: block; font-size: 18px; line-height: 1.3; margin-top: 2px; }
.av-root .av-govstrip__chev { color: var(--nhf-gold); font-size: 20px; }
.av-root .av-gov__round { font-family: var(--nhf-font-display); font-size: 22px; font-weight: 500; margin-top: 4px; }
.av-root .av-gov__rows { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.av-root .av-gov__rows .av-gov__k { font-size: 17px; color: rgba(255, 255, 255, .85); }
.av-root .av-gov__rows .av-gov__v { font-family: var(--nhf-font-display); font-size: 26px; font-weight: 500; color: var(--nhf-gold); letter-spacing: 1px; line-height: 1.15; }
.av-root .av-gov__rows .av-gov__row { background: rgba(0, 0, 0, .22); border-radius: var(--nhf-r-sm); padding: 6px 10px; }
.av-root .av-gov__rows .av-gov__row.is-first { grid-column: 1 / -1; }
.av-root .av-rate { margin-top: 12px; }
.av-root .av-rate__head { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--nhf-font-display); font-size: 20px; font-weight: 500; }
.av-root .av-rate__head span { font-family: var(--nhf-font-body); font-weight: 400; font-size: 17px; color: var(--nhf-muted); }
.av-root .av-rate__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.av-root .av-rate__cell { border: 1px solid var(--nhf-line-2); border-radius: var(--nhf-r-sm); padding: 8px 4px; text-align: center; }
.av-root .av-rate__cell:nth-child(4), .av-root .av-rate__cell:nth-child(5) { grid-column: span 1; }
.av-root .av-rate__cell .av-k { font-size: 17px; color: var(--nhf-ink-2); line-height: 1.2; }
.av-root .av-rate__cell .av-v { font-family: var(--nhf-font-display); font-size: 28px; font-weight: 500; color: var(--nhf-red); line-height: 1.15; }
.av-root .av-games { margin-top: 14px; }
.av-root .av-tab { background: linear-gradient(90deg, var(--nhf-red-deep), var(--nhf-red-hi)); border-radius: var(--nhf-r-sm); padding: 8px 14px; font-family: var(--nhf-font-display); font-size: 19px; font-weight: 500; letter-spacing: .2px; box-shadow: var(--nhf-shadow-1); display: flex; align-items: center; gap: 8px; width: 100%; margin: 16px 0 8px; color: #fff; min-height: 46px; }
.av-root .av-tab i.av-tab__ic { color: var(--nhf-gold); font-size: 1em; }
.av-root .av-tab .av-sub { font-family: var(--nhf-font-body); font-size: 17px; font-weight: 400; color: rgba(255, 255, 255, .88); }
.av-root .av-tab .av-more { margin: -8px -8px -8px auto; padding: 0 8px 0 10px; font-size: 17px; font-weight: 400; display: inline-flex; align-items: center; gap: 4px; color: #fff; min-height: var(--av-tap); white-space: nowrap; }
.av-root .av-tab .av-more i { font-size: 12px; }
.av-root .av-games .av-tab { margin-top: 0; }
.av-root .av-prov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.av-root .av-prov a { display: flex; flex-direction: column; background: var(--nhf-paper); border: 1px solid var(--nhf-line-2); border-radius: var(--nhf-r-lg); box-shadow: var(--nhf-shadow-1); overflow: hidden; color: var(--nhf-ink); }
.av-root .av-prov a.av-big .av-art { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #141416; }
.av-root .av-prov a.av-big .av-art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.av-root .av-prov a.av-big .av-nm { background: var(--nhf-paper-2); color: var(--nhf-ink); font-family: var(--nhf-font-display); font-size: 18px; font-weight: 500; line-height: 1.2; text-align: center; padding: 8px 6px; min-height: var(--av-tap); display: flex; flex-wrap: wrap; gap: 0 5px; align-items: center; justify-content: center; align-content: center; flex: 1 1 auto; }
.av-root .av-prov a.av-big .av-nm i { font-style: normal; white-space: nowrap; }
.av-root .av-prov__rest { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 8px; }
.av-root .av-prov__rest a { flex-direction: row; align-items: center; gap: 10px; min-height: 56px; padding: 5px 12px 5px 5px; }
.av-root .av-prov__rest a img { width: 96px; height: 56px; object-fit: cover; object-position: top center; border-radius: 10px; flex: 0 0 auto; }
.av-root .av-prov__rest a .av-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.av-root .av-prov__rest a .av-txt b { font-family: var(--nhf-font-display); font-size: 18px; font-weight: 500; color: var(--nhf-ink); }
.av-root .av-prov__rest a .av-txt i { font-style: normal; font-size: 17px; color: var(--nhf-ink-2); }
.av-root .av-prov__rest a > i.fas { margin-left: auto; font-size: 13px; color: var(--nhf-red); }
.av-root .av-prov-note { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 17px; color: rgba(255, 255, 255, .9); line-height: 1.35; }
.av-root .av-prov-note > i { color: var(--nhf-gold); font-size: 16px; flex: 0 0 auto; }
.av-root .av-prov-note a { font-family: var(--nhf-font-display); font-weight: 500; color: var(--nhf-gold); display: inline-flex; align-items: center; gap: 4px; min-height: var(--av-tap); }
.av-root .av-prov-note a i { font-size: 12px; }
.av-root .av-trust { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--nhf-r); padding: 10px 6px 9px; color: #fff; }
.av-root .av-trust__t { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 3px; font-size: 17px; line-height: 1.25; color: rgba(255, 255, 255, .92); min-width: 0; }
.av-root .av-trust__t span { display: block; }
.av-root .av-trust__t b { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; font-family: var(--nhf-font-display); font-weight: 500; font-size: 19px; line-height: 1.25; color: #fff; white-space: nowrap; max-width: 100%; }
.av-root .av-trust__t b i { font-size: 18px; color: var(--nhf-gold); }

/* ---------- 6. พื้นที่เทา: งวดถัดไป / ผลหวย / แจ็กพอต / 3 ขั้น / ติดต่อ ---------- */
.av-root .av-grey { background: var(--nhf-main-bg); border-radius: var(--nhf-r-lg) var(--nhf-r-lg) 0 0; padding: 6px 0 20px; margin-top: 10px; }
.av-root .av-grey .av-card { margin-top: 0; box-shadow: var(--nhf-shadow-1); border-radius: var(--nhf-r); padding: 12px 12px 10px; }
.av-root .av-grid { display: grid; gap: 8px; }
.av-root .av-nx { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px 4px; }
.av-root .av-nx__name { font-family: var(--nhf-font-display); font-size: 19px; font-weight: 500; line-height: 1.25; display: flex; align-items: center; gap: 8px; }
.av-root .av-nx__name .flag-icon { width: 26px; height: 19px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: 0 0 auto; }
.av-root .av-nx__name .av-chip-y { width: 26px; height: 19px; border-radius: 2px; background: var(--nhf-ink); color: var(--nhf-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: 0 0 auto; }
.av-root .av-nx__when { font-size: 17px; color: var(--nhf-ink-2); line-height: 1.35; margin-top: 2px; }
.av-root .av-nx__close { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-family: var(--nhf-font-display); line-height: 1.1; }
.av-root .av-nx__close .av-lbl { display: block; font-family: var(--nhf-font-body); font-size: 18px; color: var(--nhf-ink-2); white-space: nowrap; }
.av-root .av-nx__close .av-val { display: block; font-size: 28px; font-weight: 500; color: var(--nhf-red); letter-spacing: .3px; white-space: nowrap; }
.av-root .av-nx__close .av-val.is-soon { color: var(--nhf-green-deep); }
.av-root .av-nx__go { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 4px; min-height: var(--av-tap); margin-top: 2px; padding-top: 2px; border-top: 1px dashed var(--nhf-line-2); font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; color: var(--nhf-red); }
.av-root .av-nx__go i { font-size: 12px; }
.av-root .av-res__hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--nhf-font-display); font-size: 19px; font-weight: 500; line-height: 1.25; }
.av-root .av-res__hd > i { color: var(--nhf-red); font-size: 20px; }
.av-root .av-res__hd .flag-icon { width: 28px; height: 21px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.av-root .av-res__hd .av-date { margin-left: auto; font-family: var(--nhf-font-body); font-size: 17px; font-weight: 400; color: var(--nhf-ink-2); background: var(--nhf-paper-2); border: 1px solid var(--nhf-line); border-radius: var(--nhf-r-pill); padding: 3px 10px; white-space: nowrap; }
.av-root .av-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.av-root .av-nums.is-first { grid-template-columns: 2fr 1fr; }
.av-root .av-nums.is-one { grid-template-columns: 1fr; }
.av-root .av-n { border: 1px solid var(--nhf-line-2); border-radius: var(--nhf-r-sm); padding: 6px 6px 4px; text-align: center; min-width: 0; }
.av-root .av-n .av-l { font-size: 17px; color: var(--nhf-ink-2); line-height: 1.2; }
.av-root .av-n .av-v { font-family: var(--nhf-font-display); font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--nhf-red); letter-spacing: 1px; white-space: nowrap; }
.av-root .av-n .av-v.is-big { font-size: 34px; }
.av-root .av-n .av-v.is-pair { font-size: 24px; letter-spacing: 1px; word-spacing: 6px; }
.av-root .av-n .av-v.is-wait { font-size: 20px; color: var(--nhf-muted); letter-spacing: 0; font-family: var(--nhf-font-body); }
.av-root .av-stk { margin-top: 10px; border: 1px solid var(--nhf-line); border-radius: var(--nhf-r-sm); overflow: hidden; }
.av-root .av-stk__r { display: grid; grid-template-columns: minmax(0, 1fr) 72px 60px; align-items: center; gap: 6px; padding: 7px 10px; border-top: 1px solid var(--nhf-line); min-height: 48px; }
.av-root .av-stk__r:first-child { border-top: 0; }
.av-root .av-stk__nm { display: flex; align-items: center; gap: 8px; font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; min-width: 0; }
.av-root .av-stk__nm .flag-icon { width: 24px; height: 18px; border-radius: 2px; flex: 0 0 auto; }
.av-root .av-stk__nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-root .av-stk__v { font-family: var(--nhf-font-display); font-size: 22px; font-weight: 500; color: var(--nhf-red); text-align: right; line-height: 1.1; }
.av-root .av-stk__v i { display: block; font-style: normal; font-size: 17px; color: var(--nhf-muted); font-family: var(--nhf-font-body); font-weight: 400; }
.av-root .av-stk__v.is-wait { font-size: 17px; color: var(--nhf-muted); font-family: var(--nhf-font-body); grid-column: 2 / -1; }
.av-root .av-res__foot { margin-top: 8px; display: flex; justify-content: flex-end; }
.av-root .av-res__foot a, .av-root .av-nx__all { display: inline-flex; align-items: center; gap: 4px; min-height: var(--av-tap); padding: 0 6px; font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; color: var(--nhf-red); }
.av-root .av-res__foot a i { font-size: 12px; }
.av-root .av-jack { margin-top: 12px; background: var(--nhf-ink); border: 1px solid rgba(242, 193, 78, .4); border-radius: var(--nhf-r); padding: 10px 14px; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.av-root .av-jack__jp { display: flex; align-items: center; gap: 12px; }
.av-root .av-jack__jp img { width: 64px; height: auto; }
.av-root .av-jack__lbl { font-size: 17px; color: rgba(255, 255, 255, .85); font-family: var(--nhf-font-display); }
.av-root .av-jack__amt { font-size: 24px; font-weight: 500; color: var(--nhf-gold); font-family: var(--nhf-font-display); }
.av-root .av-jack__links { display: flex; gap: 8px; }
.av-root .av-jack__links a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--av-tap); border: 1.5px solid rgba(255, 255, 255, .35); border-radius: var(--nhf-r-sm); font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; color: #fff; }
.av-root .av-steps { display: grid; gap: 8px; }
.av-root .av-step { display: flex; align-items: flex-start; gap: 12px; }
.av-root .av-step__no { width: 36px; height: 36px; border-radius: 50%; background: var(--nhf-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--nhf-font-display); font-size: 19px; font-weight: 500; flex: 0 0 auto; }
.av-root .av-step.is-done .av-step__no { background: var(--nhf-green); }
.av-root .av-step__t { font-family: var(--nhf-font-display); font-size: 19px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.av-root .av-step__t i { color: var(--nhf-red); font-size: 17px; }
.av-root .av-step__d { font-size: 17px; color: var(--nhf-ink-2); line-height: 1.35; margin-top: 2px; }
.av-root .av-steps-cta { margin-top: 10px; }
/* การ์ดติดต่อแอดมิน (.av-contact__*) ถูกถอด 2026-10-13 ตามคำสั่งเจ้าของ — ไม่มี markup แล้ว */

/* ---------- 7. footer + แถบล่างติดจอ ---------- */
.av-root .av-foot { margin: 16px 0 0; padding: 4px 12px calc(84px + env(safe-area-inset-bottom, 0px)); text-align: center; color: rgba(255, 255, 255, .7); }
.av-root .av-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; }
.av-root .av-foot__links a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--av-tap); min-width: var(--av-tap); padding: 0 12px; font-size: 17px; color: rgba(255, 255, 255, .88); }
.av-root .av-foot__links a.is-on { color: var(--nhf-gold); font-family: var(--nhf-font-display); font-weight: 500; }
.av-root .av-foot__copy { font-size: 17px; color: rgba(255, 255, 255, .62); margin-top: 2px; line-height: 1.35; }
.av-root .av-botbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1010; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--nhf-line); box-shadow: 0 -2px 12px rgba(0, 0, 0, .12); transition: transform .2s ease; }
.av-root .av-botbar .av-btn { min-height: var(--av-btn); }
html.av-js .av-botbar { transform: translateY(110%); }
html.av-js body.av-show-bar .av-botbar { transform: none; }
@media (prefers-reduced-motion: reduce) { .av-root .av-botbar { transition: none; } }
@media (min-width: 1024px) { .av-root .av-botbar { display: none; } .av-root .av-foot { padding-bottom: 24px; } }

/* ---------- 8. สมัคร: ความคืบหน้า / OTP / ขั้น 3 / สำเร็จ ---------- */
.av-root .av-prog { margin: 12px 0 0; color: #fff; }
.av-root .av-prog__lbl { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--nhf-font-display); font-size: 18px; font-weight: 500; }
.av-root .av-prog__lbl span:last-child { color: rgba(255, 255, 255, .82); font-weight: 400; }
.av-root .av-prog__bar { display: grid; grid-template-columns: repeat(var(--av-steps, 2), 1fr); gap: 6px; margin-top: 6px; }
.av-root .av-prog__bar i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.av-root .av-prog__bar i.is-on { background: var(--nhf-gold); }
/* R64 ด่านกันบอท (docs/task/26): honeypot ซ่อนจากคน (ไม่ใช่ display:none — บอทบางตัวข้ามช่องที่ display:none) ; Turnstile widget ; การ์ดระดับ 2 "ติดต่อแอดมินทาง LINE" */
.av-root .av-hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0; pointer-events: none; }
.av-root .av-hp input, .av-root .av-hp label { display: block; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; }
.av-root .av-turnstile { margin-top: 12px; min-height: 0; }
.av-root .av-turnstile .cf-turnstile { display: block; }
.av-root .av-blocked { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 12px; border-radius: var(--nhf-r); background: var(--nhf-red-soft); border: 1px solid rgba(185, 5, 4, .25); font-size: 17px; line-height: 1.4; color: var(--nhf-ink); }
.av-root .av-blocked i { color: var(--nhf-red); font-size: 24px; margin-top: 2px; flex: 0 0 auto; }
.av-root .av-blocked b { display: block; font-family: var(--nhf-font-display); font-size: 19px; font-weight: 500; color: var(--nhf-red); }
.av-root .av-blocked span { display: block; color: var(--nhf-ink-2); margin-top: 2px; }
.av-root .av-govline { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: var(--nhf-r-sm); background: rgba(242, 193, 78, .14); border: 1px solid rgba(242, 193, 78, .45); color: #fff; font-size: 17px; line-height: 1.35; }
.av-root .av-govline i { color: var(--nhf-gold); font-size: 18px; }
.av-root .av-otp-wrap { position: relative; margin-top: 12px; }
.av-root .av-otp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.av-root .av-otp .av-d { height: 64px; border: 1.5px solid var(--nhf-line-2); border-radius: 10px; background: #fff; color: var(--nhf-ink); display: flex; align-items: center; justify-content: center; font-family: var(--nhf-font-display); font-size: 30px; font-weight: 500; box-shadow: var(--nhf-shadow-0); }
.av-root .av-otp .av-d.is-focus { border-color: var(--nhf-red); box-shadow: var(--nhf-ring); }
.av-root .av-otp.is-bad .av-d { border-color: var(--nhf-red-hi); background: var(--nhf-red-soft); color: var(--nhf-red-hi); }
.av-root .av-otp-input { position: absolute; inset: 0; width: 100%; height: 64px; opacity: 0.01; font-size: 30px; letter-spacing: 2em; text-align: center; border: 0; background: transparent; color: transparent; caret-color: transparent; }
html:not(.av-js) .av-otp-input { position: static; opacity: 1; color: var(--nhf-ink); caret-color: auto; border: 1.5px solid var(--nhf-line-2); border-radius: var(--nhf-r); min-height: 64px; font-family: var(--nhf-font-display); letter-spacing: .6em; padding-left: .6em; }
html:not(.av-js) .av-otp { display: none; }
.av-root .av-resend-wrap { margin-top: 12px; }
html:not(.av-js) [data-av-regen] { display: none; }
html:not(.av-js) [data-av-regen-nojs] { display: inline-flex !important; }
.av-root .av-cred { margin-top: 10px; border: 1px solid var(--nhf-line-2); border-radius: var(--nhf-r); overflow: hidden; }
.av-root .av-cred__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--nhf-line); min-height: 56px; }
.av-root .av-cred__row:first-child { border-top: 0; }
.av-root .av-cred__k { font-size: 17px; color: var(--nhf-muted); white-space: nowrap; }
.av-root .av-cred__v { font-family: var(--nhf-font-display); font-size: 24px; font-weight: 500; letter-spacing: .5px; color: var(--nhf-ink); display: inline-flex; align-items: center; gap: 8px; }
.av-root .av-cred__v .av-eye { position: static; transform: none; }
.av-root .av-cred__v.is-masked .av-pw-plain { display: none; }
.av-root .av-cred__v:not(.is-masked) .av-pw-mask { display: none; }
.av-root .av-okstrip { display: flex; align-items: center; gap: 12px; background: var(--nhf-green-soft); border: 1px solid rgba(31, 157, 85, .35); border-radius: var(--nhf-r); padding: 12px 14px; color: var(--nhf-ink); font-size: 18px; line-height: 1.35; margin-top: 12px; }
.av-root .av-okstrip i { color: var(--nhf-green); font-size: 36px; flex: 0 0 auto; }
.av-root .av-doors2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.av-root .av-door2 { display: flex; flex-direction: column; align-items: center; min-height: 164px; background: var(--nhf-paper); border: 1px solid var(--nhf-line-2); border-radius: var(--nhf-r-lg); box-shadow: var(--nhf-shadow-1); overflow: hidden; text-align: center; color: var(--nhf-ink); }
.av-root .av-door2__art { width: 100%; height: 86px; display: flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(120deg, var(--nhf-red-deep), var(--nhf-red-hi)); padding: 6px; }
.av-root .av-door2__art img { width: 44%; height: 74px; object-fit: cover; object-position: top center; border-radius: 8px; }
.av-root .av-door2__art.is-games { background: #141416; }
.av-root .av-door2__t { font-family: var(--nhf-font-display); font-size: 21px; font-weight: 500; line-height: 1.15; margin-top: 8px; padding: 0 6px; }
.av-root .av-door2__s { font-size: 17px; color: var(--nhf-ink-2); line-height: 1.25; padding: 0 6px; margin-top: 2px; }
.av-root .av-door2__verb { margin-top: auto; width: 100%; min-height: var(--av-tap); display: flex; align-items: center; justify-content: center; gap: 4px; font-family: var(--nhf-font-display); font-size: 18px; font-weight: 500; }
.av-root .av-door2__verb.is-red { background: linear-gradient(90deg, var(--nhf-red-deep), var(--nhf-red-hi)); color: #fff; }
.av-root .av-door2__verb.is-black { background: var(--nhf-ink); color: var(--nhf-gold); box-shadow: inset 4px 0 0 var(--nhf-red-hi); }
.av-root .av-door2__verb i { font-size: 13px; }
.av-root .av-door2.is-big { grid-column: 1 / -1; min-height: 120px; }
.av-root .av-botnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1010; background: var(--nhf-paper); border-top: 1px solid var(--nhf-line); box-shadow: 0 -2px 12px rgba(0, 0, 0, .08); display: flex; justify-content: space-around; align-items: stretch; height: calc(64px + env(safe-area-inset-bottom, 0px)); padding: 0 4px env(safe-area-inset-bottom, 0px); }
.av-root .av-botnav a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-family: var(--nhf-font-display); font-size: 17px; font-weight: 500; line-height: 1; color: var(--nhf-muted); min-height: var(--av-tap); }
.av-root .av-botnav a i { font-size: 22px; }
.av-root .av-botnav a.is-active { color: var(--nhf-red); }
.av-root .av-botnav a::after { content: ''; width: 24px; height: 3px; border-radius: 2px; margin-top: 1px; }
.av-root .av-botnav a.is-active::after { background: var(--nhf-red); }
@media (min-width: 992px) { .av-root .av-botnav { display: none; } }
.av-root .av-rules { margin-top: 10px; }
.av-root .av-rules summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: var(--av-tap); color: var(--nhf-red); font-family: var(--nhf-font-display); font-weight: 500; padding: 0 6px; }
.av-root .av-rules summary::-webkit-details-marker { display: none; }
.av-root .av-rules[open] summary { color: var(--nhf-ink); }
.av-root .av-rules__body { margin-top: 8px; max-height: 60vh; overflow: auto; padding: 12px; border: 1px solid var(--nhf-line-2); border-radius: var(--nhf-r); background: var(--nhf-paper-2); font-size: 17px; line-height: 1.5; color: var(--nhf-ink-2); }
.av-root .av-rules__body p { margin: 0 0 8px; }
.av-root .av-inline-rules { display: inline; }
.av-root .av-inline-rules summary { display: inline-flex; }
.av-root .av-pad-nav { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* ---------- 9. คอมพิวเตอร์ 2 คอลัมน์ ---------- */
@media (min-width: 1024px) {
  .av-root .av-hero { padding: 34px 0 28px; }
  .av-root .av-hgrid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "left right" "slot trust" "games games"; column-gap: 36px; row-gap: 22px; align-items: start; }
  .av-root .av-hgrid__left { grid-area: left; }
  .av-root .av-hgrid__right { grid-area: right; position: sticky; top: calc(var(--av-top-h) + 16px); }
  .av-root .av-hgrid .av-slot { grid-area: slot; margin-top: 0; }
  .av-root .av-hgrid .av-games { grid-area: games; margin-top: 0; }
  .av-root .av-hgrid .av-trust { grid-area: trust; margin-top: 0; align-self: stretch; }
  .av-root .av-hero h1 { font-size: 42px; line-height: 1.18; }
  .av-root .av-hero .av-lead { font-size: 21px; margin-top: 10px; letter-spacing: 0; }
  .av-root .av-doors { gap: 12px; margin-top: 18px; }
  .av-root .av-door { flex-direction: row; align-items: stretch; text-align: left; min-height: 100px; }
  .av-root .av-door__art { width: 80px; flex: 0 0 80px; align-self: stretch; aspect-ratio: auto; }
  .av-root .av-door__tx { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 8px 6px 8px 10px; }
  .av-root .av-door__t { font-size: 20px; margin: 0; }
  .av-root .av-door__s { margin: 3px 0 0; }
  .av-root .av-cta { margin-top: 22px; display: block; }
  .av-root .av-cta .av-btn--xl { display: inline-flex; width: auto; min-width: 360px; min-height: 64px; font-size: 23px; padding: 0 30px; }
  .av-root .av-cta .av-second { margin-top: 12px; width: auto; display: inline-flex; min-width: 220px; min-height: 64px; font-size: 21px; padding: 0 26px; margin-left: 12px; }
  .av-root .av-ok { justify-content: flex-start; margin-top: 10px; font-size: 18px; }
  .av-root .av-hgrid__right .av-card { margin-top: 0; padding: 18px 20px 12px; }
  .av-root .av-prov { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.3fr); gap: 12px; align-items: stretch; }
  .av-root .av-prov__rest { grid-column: auto; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
  .av-root .av-trust { grid-template-columns: 1fr; gap: 0; padding: 10px 22px; align-content: center; }
  .av-root .av-trust__t { flex-direction: row-reverse; justify-content: flex-end; align-items: center; text-align: left; gap: 14px; font-size: 19px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .av-root .av-trust__t:first-child { border-top: 0; }
  .av-root .av-trust__t span { flex: 1 1 auto; }
  .av-root .av-trust__t b { font-size: 27px; min-width: 168px; margin-top: 0; }
  .av-root .av-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .av-root .av-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-root .av-grid { gap: 12px; }
  .av-root .av-tab { margin: 22px 0 10px; }
  .av-root .av-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .av-root .av-narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
  .av-root .av-lotto__title { font-size: 40px; }
}
