/*
 * สายหวย — ดีไซน์หน้าหวยตาม canvas "Betflix Web3 Lobby" Page 2 (06/10/2569)
 *
 * สองหน้าที่ของไฟล์นี้
 *   1. คอมโพเนนต์ .hy-* ของระบบหวย (หน้าแรกหวย แถวหวย ตารางยี่กี ผลรางวัล โพย ระดับ)
 *      เขียนด้วย token --hy-* จึงใช้ได้ทั้งบนพื้นออบซิเดียน (เว็บเกม + หวย) และบนสายหวยสว่าง
 *   2. (ถอดแล้ว 2026-10-07) เคยมีชุด token "กรมท่า-ทอง" ทับ --ob-* เมื่อ data-skin="lotto" — ตอนนี้ทุกระบบใช้ชุดสี/โทนจาก ThemePreset ชุดเดียว (เว็บหวยเริ่มต้น Navy Gold โทนสว่าง)
 *      ให้ทุกหน้า (.ob-* .m-* .lt-*) กลายเป็นการ์ดขาวบนพื้นเทาอ่อน หัวเว็บกรมท่า ตัวเลขทอง โดยไม่ต้องแก้ทีละหน้า
 *
 * สีมีความหมาย (ทั้งสองสกิน): เขียว = เปิดรับ / ถูกรางวัล / เงินเข้า · แดง = ใกล้ปิด / นับถอยหลัง / ปิดรับแล้ว
 *   ทอง = ยอดเงิน / ระดับ / ของที่ลุ้นได้ · กรมท่า = ผล 3 ตัวบน · แดงอ่อน = ผล 2 ตัวล่าง
 * ฟอนต์สายหวย: Prompt = เนื้อหา · Kanit = หัวข้อ ตัวเลขเงิน ตัวเลขผล (tabular-nums)
 */

/* ── token: ค่าเริ่มต้นบนพื้นออบซิเดียน ─────────────────────── */

:root {
    --hy-bg: var(--ob-bg);
    --hy-card: var(--ob-surface);
    --hy-card-2: var(--ob-surface-2);
    --hy-card-line: var(--ob-line);
    --hy-shadow: none;
    --hy-line: var(--ob-line-soft);
    --hy-line-2: var(--ob-line-mid);
    --hy-ink: var(--ob-text);
    --hy-head: var(--ob-white);
    --hy-muted: var(--ob-muted);
    --hy-dim: var(--ob-dim);
    --hy-thead: rgba(var(--ob-ink-rgb), .04);
    --hy-hilite: rgba(var(--ob-gold-rgb), .06);
    --hy-soft: rgba(var(--ob-ink-rgb), .06);

    /* "กรมท่า" เดิม = พื้นเข้มของการ์ดเด่น → ชั้นพื้นที่สามของโทน (มืด: เทาน้ำเงินเข้ม · สว่าง: เทาอ่อน) */
    --hy-navy: linear-gradient(180deg, var(--ob-surface-3), var(--ob-surface-2));
    --hy-navy-flat: var(--ob-surface-3);
    --hy-on-navy: var(--ob-white);
    --hy-gold: var(--ob-gold);
    --hy-gold-grad: linear-gradient(160deg, color-mix(in srgb, var(--ob-gold) 60%, #fff), var(--ob-gold) 60%, var(--ob-gold-dark));
    --hy-gold-ink: #1a0a05;
    --hy-gold-text: var(--ob-gold);

    /* เขียว = เปิดรับ/ได้เงิน → บทบาท accent · แดง = ปิดรับ/2 ตัวล่าง/เร่ง → บทบาท action */
    --hy-green: var(--ob-mint);
    --hy-green-2: var(--ob-mint-2);
    --hy-green-text: var(--ob-mint);
    --hy-green-bg: rgba(var(--ob-mint-rgb), .12);
    --hy-green-ink: var(--ob-bg);
    --hy-red: var(--ob-orange);
    --hy-red-2: var(--ob-orange-dark);
    --hy-red-text: var(--ob-orange-text);
    --hy-red-bg: rgba(var(--ob-orange-rgb), .12);
    --hy-red-ink: var(--ob-orange-ink);
    /* สีประจำหมวดหวย (ลาว=น้ำเงิน ต่างประเทศ=ม่วง ฯลฯ) — ผสมกับสีตัวอักษรของโทน: โทนมืดสว่างขึ้น โทนสว่างเข้มลง */
    --hy-blue-text: color-mix(in srgb, #3b82f6 65%, var(--ob-text));
    --hy-blue-bg: rgba(59, 130, 246, .12);
    --hy-amber-text: var(--ob-gold);
    --hy-amber-bg: rgba(var(--ob-gold-rgb), .12);
    --hy-purple-text: color-mix(in srgb, #8b5cf6 65%, var(--ob-text));
    --hy-purple-bg: rgba(139, 92, 246, .12);
    --hy-teal-text: var(--ob-mint-2);
    --hy-teal-bg: rgba(var(--ob-mint-rgb), .1);
    --hy-gray-text: var(--ob-muted);
    --hy-gray-bg: rgba(var(--ob-ink-rgb), .07);

    --hy-banner: linear-gradient(120deg, var(--ob-orange-dark) 0%, var(--ob-orange) 55%, var(--ob-gold-dark) 140%);
    --hy-display: var(--ob-display);
    --hy-sans: var(--ob-sans);
    --hy-num: var(--ob-mono);
    --hy-r: var(--ob-r-md);
    --hy-r-lg: var(--ob-r-lg);
}

/* ── คอมโพเนนต์ .hy-* (ใช้ได้ทั้งสองสกิน) ─────────────────── */

@keyframes hy-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hy-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hy-blink { animation: hy-blink 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hy-blink, .hy-notice__track { animation: none !important; } }

.hy-num { font-family: var(--hy-num); font-variant-numeric: tabular-nums; }
.hy-scroll { scrollbar-width: none; }
.hy-scroll::-webkit-scrollbar { display: none; }

/* แถบประกาศวิ่ง (ใต้หัวเว็บ) */
.hy-notice { display: flex; align-items: center; gap: 10px; height: 32px; overflow: hidden; background: rgba(0, 0, 0, .25); }
.hy-notice__label { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; border-radius: 999px; background: var(--hy-red); color: #ffffff; font-size: 12px; font-weight: 600; }
.hy-notice__label svg { width: 12px; height: 12px; }
.hy-notice__viewport { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.hy-notice__track { display: inline-flex; gap: 64px; padding-left: 12px; font-size: 13px; color: #ffffff; animation: hy-marquee 36s linear infinite; }
@media (max-width: 767px) { .hy-notice { height: 28px; } .hy-notice__track { animation-duration: 30s; gap: 48px; } }

/* การ์ด ปุ่ม แถว — พื้นฐาน */
.hy-card { border-radius: var(--hy-r-lg); border: 1px solid var(--hy-card-line); background: var(--hy-card); box-shadow: var(--hy-shadow); overflow: hidden; }
.hy-card--pad { padding: 14px; }
.hy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.hy-btn:hover { filter: brightness(1.06); }
.hy-btn:active { transform: translateY(1px); }
.hy-btn--green { background: linear-gradient(160deg, var(--hy-green-2), var(--hy-green)); color: var(--hy-green-ink); }
.hy-btn--red { background: linear-gradient(160deg, var(--hy-red), var(--hy-red-2)); color: #ffffff; }
.hy-btn--white { background: var(--hy-card); color: var(--hy-red-2); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.hy-btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.hy-btn--block { width: 100%; }
.hy-btn:focus-visible, .hy-row:focus-visible, .hy-tab:focus-visible, .hy-qa:focus-visible, .hy-act:focus-visible, .hy-gcard:focus-visible { outline: 2px solid var(--hy-gold); outline-offset: 2px; }

/* ป้ายสถานะ — เขียว เปิดรับ · แดง ใกล้ปิด · เทา ปิดรับ/รอเปิด · เหลือง รอผล */
.hy-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.hy-pill--on { background: var(--hy-green-bg); color: var(--hy-green-text); }
.hy-pill--soon { background: var(--hy-red-bg); color: var(--hy-red-text); }
.hy-pill--off { background: var(--hy-gray-bg); color: var(--hy-gray-text); }
.hy-pill--wait { background: var(--hy-amber-bg); color: var(--hy-amber-text); }
.hy-pill--blue { background: var(--hy-blue-bg); color: var(--hy-blue-text); }

/* หัวข้อส่วน: แท่งสีเล็กหน้าชื่อ — สีบอกหมวด (รัฐบาลแดง ลาวน้ำเงิน ฮานอยแดง หุ้นเขียว ยี่กีทอง) */
.hy-sec { display: flex; flex-direction: column; gap: 8px; }
.hy-sec__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hy-sec__h h2, .hy-sec__h h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--hy-display); font-weight: 700; font-size: 16px; color: var(--hy-head); min-width: 0; }
.hy-sec__h h2::before, .hy-sec__h h3::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--c, var(--hy-gold)); flex: none; }
.hy-sec__h h2 small { font-family: var(--hy-sans); font-weight: 400; font-size: 13px; color: var(--hy-muted); }
.hy-sec__h .hy-sec__meta { font-size: 13px; color: var(--hy-muted); white-space: nowrap; }
.hy-sec__h a { font-size: 13px; color: var(--hy-blue-text); text-decoration: none; white-space: nowrap; }
.hy-sec--plain .hy-sec__h h2::before { display: none; }
@media (min-width: 1024px) { .hy-sec--lg .hy-sec__h h2 { font-size: 22px; } .hy-sec--lg .hy-sec__h h2::before { display: none; } .hy-sec__h a { font-size: 14px; } }

/* ── หน้าแรกหวย ─────────────────────────────────────────── */

.hy-home { display: flex; flex-direction: column; gap: 14px; }

/* ส่วนบน: แบนเนอร์ (+ ปิดรับเร็ว ๆ นี้ บนเดสก์ท็อป) */
.hy-top { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1024px) { .hy-top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: stretch; } .hy-home { gap: 28px; } }

/* มือถือ: แถบกรมท่าต่อจากหัวเว็บ แบนเนอร์วางซ้อนขอบ (แถบอยู่ที่ .hy-home::before ใน LottoHome.vue) */

.hy-banner { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 150px; padding: 18px; border-radius: 16px; background: var(--hy-banner); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); color: #ffffff; text-decoration: none; box-sizing: border-box; }
/* แบนเนอร์รูปที่แอดมินอัป — แสดงรูปเต็มใบตามสัดส่วนจริง ไม่ตัดขอบ ไม่มีพื้นไล่สี/ช่องว่างรอบรูป (ผู้ใช้ 2026-10-11 "แก้ให้รูปเต็ม slide")
   เดิมบังคับ 16:7 + cover ตัดซ้าย-ขวา และกฎจอกว้างด้านล่างใส่ padding กลับมาจนเห็นเป็นกรอบสีรอบรูป */
.hy-banner--img, .hy-banner.hy-banner--img { padding: 0; display: flex; align-items: center; min-height: 0; background: none; box-shadow: none; overflow: visible; }
.hy-banner--img img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: inherit; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.hy-banner__orb { position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.hy-banner__ghost { position: absolute; right: 18px; bottom: 14px; font-family: var(--hy-display); font-weight: 800; font-size: 56px; line-height: 1; color: rgba(255, 255, 255, .22); pointer-events: none; }
.hy-banner__tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--hy-gold); color: var(--hy-gold-ink); font-size: 12px; font-weight: 700; position: relative; }
.hy-banner__h { font-family: var(--hy-display); font-weight: 800; font-size: 24px; line-height: 1.15; text-shadow: 0 2px 6px rgba(0, 0, 0, .25); position: relative; margin: 0; color: #ffffff; }
.hy-banner__p { font-size: 13px; color: rgba(255, 255, 255, .9); position: relative; margin: 0; }
.hy-banner .hy-btn { align-self: flex-start; margin-top: 8px; position: relative; display: none; }
@media (min-width: 1024px) {
    .hy-banner { min-height: 260px; padding: 36px 40px; border-radius: 18px; gap: 10px; }
    .hy-banner--img { min-height: 0; padding: 0; }
    .hy-banner__orb { right: -60px; top: -60px; width: 300px; height: 300px; }
    .hy-banner__ghost { right: 40px; bottom: 20px; font-size: 150px; }
    .hy-banner__tag { font-size: 13px; padding: 4px 12px; }
    .hy-banner__h { font-size: 40px; max-width: 560px; text-wrap: balance; }
    .hy-banner__p { font-size: 16px; }
    .hy-banner .hy-btn { display: inline-flex; }
}

/* ปิดรับเร็ว ๆ นี้ — มือถือเป็นแถว เดสก์ท็อปเป็นการ์ดข้างแบนเนอร์ */
.hy-soon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: var(--hy-ink); text-decoration: none; }
.hy-soon__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hy-soon__label { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--hy-red-text); }
.hy-soon__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--hy-red); }
.hy-soon__name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-soon__sub { font-size: 13px; color: var(--hy-muted); }
.hy-clock { display: flex; gap: 4px; font-family: var(--hy-num); font-weight: 700; font-size: 16px; color: var(--hy-red-text); font-variant-numeric: tabular-nums; }
.hy-clock span { padding: 4px 6px; border-radius: 6px; background: var(--hy-red-bg); }
.hy-clock small { display: none; }
.hy-soon__cta, .hy-soon__next, .hy-soon__head { display: none; }
@media (min-width: 1024px) {
    .hy-soon { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px; }
    .hy-soon__head { display: flex; align-items: center; justify-content: space-between; }
    .hy-soon__head b { font-family: var(--hy-display); font-weight: 700; font-size: 16px; color: var(--hy-head); }
    .hy-soon__head span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--hy-red-text); font-weight: 600; }
    .hy-soon__head span i { width: 7px; height: 7px; border-radius: 50%; background: var(--hy-red); }
    .hy-soon__label { display: none; }
    .hy-soon__who { display: flex; align-items: center; gap: 12px; }
    .hy-soon__name { font-size: 16px; }
    .hy-clock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
    .hy-clock span { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px; border-radius: 10px; font-size: 28px; line-height: 1; font-weight: 800; }
    .hy-clock small { display: block; font-family: var(--hy-sans); font-size: 11px; font-weight: 400; color: var(--hy-muted); }
    .hy-soon__cta { display: flex; }
    .hy-soon__next { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--hy-muted); border-top: 1px solid var(--hy-line); padding-top: 10px; }
    .hy-soon__next div { display: flex; justify-content: space-between; gap: 8px; }
    .hy-soon__next b { font-family: var(--hy-num); font-weight: 600; color: var(--hy-ink); font-variant-numeric: tabular-nums; }
}
.hy-soon__who { display: contents; }
@media (min-width: 1024px) { .hy-soon__who { display: flex; } }

/* เมนูลัด 4 ช่อง (เดสก์ท็อป 6) */
.hy-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hy-qa { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 12px; background: var(--hy-card); border: 1px solid var(--hy-card-line); box-shadow: var(--hy-shadow); color: var(--hy-ink); text-decoration: none; font-size: 13px; font-weight: 500; text-align: center; transition: background .15s, transform .2s; }
.hy-qa:hover { transform: translateY(-2px); }
.hy-qa__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg, var(--hy-soft)); color: var(--c, var(--hy-ink)); }
.hy-qa__ic svg { width: 22px; height: 22px; }
.hy-qa--extra { display: none; }
@media (min-width: 1024px) {
    .hy-quick { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
    .hy-qa { flex-direction: row; padding: 12px 14px; gap: 10px; font-size: 14px; font-weight: 600; text-align: left; }
    .hy-qa__ic { width: 36px; height: 36px; border-radius: 10px; }
    .hy-qa__ic svg { width: 20px; height: 20px; }
    .hy-qa--extra { display: flex; }
}

/* การ์ดระดับสมาชิก (ทอง) */
.hy-level { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--hy-gold-grad); box-shadow: var(--hy-shadow); color: var(--hy-gold-ink); text-decoration: none; }
.hy-level__orb { position: absolute; right: -24px; top: -24px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.hy-level__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .35); border: 2px solid rgba(255, 255, 255, .6); flex: none; color: #8a5a00; position: relative; }
.hy-level__ic svg { width: 24px; height: 24px; }
.hy-level__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; position: relative; }
.hy-level__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hy-level__top b { font-family: var(--hy-display); font-weight: 800; font-size: 16px; line-height: 1; }
.hy-level__top span { font-size: 12px; white-space: nowrap; }
.hy-level__bar { height: 6px; border-radius: 999px; background: rgba(0, 0, 0, .18); overflow: hidden; }
.hy-level__bar i { display: block; height: 100%; border-radius: 999px; background: #ffffff; transition: width .6s var(--ob-ease); }
.hy-level__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; opacity: .85; }
.hy-level__foot span:last-child { font-weight: 600; white-space: nowrap; }

/* กิจกรรม/โปร — การ์ดเลื่อนแนวนอน (เดสก์ท็อป 6 คอลัมน์) */
.hy-acts { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 6px; margin: 0 calc(-1 * var(--ob-gutter)); padding-left: var(--ob-gutter); padding-right: var(--ob-gutter); }
.hy-act { position: relative; overflow: hidden; flex: none; width: 168px; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--hy-card); border: 1px solid var(--hy-card-line); box-shadow: var(--hy-shadow); color: var(--hy-ink); text-decoration: none; min-height: 150px; box-sizing: border-box; transition: transform .2s; }
.hy-act:hover { transform: translateY(-2px); }
.hy-act__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hy-act__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg, var(--hy-soft)); color: var(--c, var(--hy-ink)); }
.hy-act__ic svg { width: 20px; height: 20px; }
.hy-act__tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--bg, var(--hy-soft)); color: var(--c, var(--hy-ink)); font-size: 11px; font-weight: 600; }
.hy-act__t { font-family: var(--hy-display); font-weight: 700; font-size: 16px; line-height: 1.2; color: var(--hy-head); }
.hy-act__s { font-size: 12px; color: var(--hy-muted); }
.hy-act__cta { margin-top: auto; align-self: flex-start; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--bg, var(--hy-soft)); color: var(--c, var(--hy-ink)); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.hy-act--navy { background: var(--hy-navy); color: var(--hy-on-navy); }
.hy-act--navy .hy-act__t { color: var(--hy-on-navy); }
.hy-act--navy .hy-act__s { color: var(--hy-muted); }
.hy-act--navy .hy-act__tag { background: rgba(var(--ob-gold-rgb), .2); color: var(--hy-gold); }
.hy-act--navy .hy-act__cta { background: var(--hy-gold); color: var(--hy-gold-ink); }
@media (min-width: 1024px) { .hy-acts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; overflow: visible; margin: 0; padding: 0; } .hy-act { width: auto; min-height: 160px; } }
@media (min-width: 640px) and (max-width: 1023px) { .hy-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } .hy-act { width: auto; } }

/* แท็บหมวด */
.hy-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; margin: 0 calc(-1 * var(--ob-gutter)); padding-left: var(--ob-gutter); padding-right: var(--ob-gutter); }
.hy-tab { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hy-line-2); background: var(--hy-card); color: var(--hy-ink); font-family: inherit; font-weight: 500; font-size: 14px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; transition: filter .15s; }
.hy-tab small { font-size: 12px; color: var(--hy-muted); }
.hy-tab:hover { filter: brightness(1.04); }
.hy-tab[aria-pressed="true"] { border-color: var(--hy-navy-flat); background: var(--hy-navy-flat); color: var(--hy-gold); font-weight: 600; }
.hy-tab[aria-pressed="true"] small { color: var(--hy-gold); opacity: .8; }
@media (min-width: 1024px) { .hy-tabs { margin: 0; padding: 0; overflow: visible; flex-wrap: wrap; } }

/* แท็บหมวดหวยหน้าแรก: "ยอดฮิต" (เปลวไฟทอง) + หมวดมีธงกลมเล็ก — ไม่มีตัวเลขรก ๆ จำนวนอยู่หัวหมวดแทน */
.hy-cats { display: flex; gap: 8px; overflow-x: auto; padding: 3px 0 6px; margin: 0 calc(-1 * var(--ob-gutter)); padding-left: var(--ob-gutter); padding-right: var(--ob-gutter); scrollbar-width: none; }
.hy-cats::-webkit-scrollbar { display: none; }
.hy-cat { flex: none; height: 38px; padding: 0 14px 0 7px; border-radius: 999px; border: 1px solid var(--hy-line-2); background: var(--hy-card); color: var(--hy-ink); font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--hy-shadow); transition: transform .15s, border-color .15s, background .15s, color .15s; }
.hy-cat .hy-flag { width: 24px; height: 24px; border-radius: 50%; font-size: 9px; box-shadow: 0 0 0 1.5px var(--hy-card), 0 0 0 2.5px var(--hy-line-2); }
.hy-cat .hy-flag__emoji { font-size: 12px; }
.hy-cat__ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--ob-gold-rgb), .16); color: var(--hy-gold); }
.hy-cat__ic svg { width: 14px; height: 14px; }
.hy-cat:hover { transform: translateY(-1px); border-color: var(--hy-gold); }
.hy-cat[aria-pressed="true"] { border-color: var(--hy-gold); background: var(--hy-navy-flat); color: var(--hy-gold); box-shadow: inset 0 0 0 1px rgba(var(--ob-gold-rgb), .35), var(--hy-shadow); }
.hy-cat[aria-pressed="true"] .hy-flag { box-shadow: 0 0 0 1.5px var(--hy-navy-flat), 0 0 0 2.5px var(--hy-gold); }
.hy-cat--hot[aria-pressed="true"] .hy-cat__ic { background: var(--hy-gold); color: var(--hy-gold-ink); }
.hy-sec__h .hy-sec__more { font: inherit; font-size: 13px; font-weight: 600; color: var(--hy-blue-text); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
@media (min-width: 1024px) { .hy-cats { margin: 0; padding: 0; overflow: visible; flex-wrap: wrap; gap: 10px; } }

/* สองคอลัมน์บนเดสก์ท็อป: รายการหวย | ข้างขวา (ระดับ ผล โพย โปร) */
.hy-cols { display: flex; flex-direction: column; gap: 14px; }
.hy-cols__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hy-aside { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .hy-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; } .hy-cols__main { gap: 24px; } .hy-aside { gap: 20px; } }

/* แถวหวยในการ์ด — ธง · ชื่อ+งวด · สถานะ+เวลา · ลูกศร */
.hy-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--hy-line); color: var(--hy-ink); text-decoration: none; transition: background .15s; -webkit-tap-highlight-color: transparent; }
.hy-row:last-child { border-bottom: 0; }
.hy-row:hover { background: var(--hy-card-2); }
.hy-row--off { opacity: .75; }
.hy-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hy-row__name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-row__sub { font-size: 12px; color: var(--hy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-row__sub b { color: var(--hy-ink); font-weight: 600; letter-spacing: .04em; }
.hy-row__end { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.hy-row__time { font-family: var(--hy-num); font-weight: 600; font-size: 14px; color: var(--hy-ink); font-variant-numeric: tabular-nums; }
.hy-row__time--soon { color: var(--hy-red-text); }
.hy-row__time--off { font-family: var(--hy-sans); font-weight: 400; font-size: 12px; color: var(--hy-muted); }
.hy-row__chev { width: 16px; height: 16px; color: var(--hy-dim); flex: none; }

/* ธง/ไอคอนหวย — รูปถ้ามี ไม่มีใช้อีโมจิบนพื้นสี */
.hy-flag { width: 44px; height: 32px; border-radius: 6px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--bg, var(--hy-soft)); color: var(--c, var(--hy-ink)); font-family: var(--hy-display); font-weight: 800; font-size: 13px; line-height: 1; }
.hy-flag img { width: 100%; height: 100%; object-fit: cover; }
/* โลโก้ (ไม่ใช่ธง): เห็นทั้งรูปบนพื้นขาว */
.hy-flag--logo { background: #fff; padding: 2px; box-sizing: border-box; }
.hy-flag--logo img { object-fit: contain; }
.hy-flag--sm { width: 26px; height: 18px; border-radius: 3px; font-size: 10px; }
.hy-flag--md { width: 30px; height: 21px; border-radius: 3px; font-size: 10px; }
.hy-flag--lg { width: 52px; height: 38px; }
.hy-flag__emoji { font-size: 18px; font-family: var(--hy-sans); }
.hy-flag--sm .hy-flag__emoji { font-size: 13px; }

/* เดสก์ท็อป: หมวดเป็นการ์ดตาราง 3 คอลัมน์ แทนแถว */
.hy-mcard { display: flex; flex-direction: column; color: var(--hy-ink); text-decoration: none; transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s; }
.hy-mcard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.hy-mcard__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hy-line); }
.hy-mcard__head .hy-flag { width: 40px; height: 28px; border-radius: 5px; font-size: 12px; }
.hy-mcard__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hy-mcard__who b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-mcard__who span { font-size: 12px; color: var(--hy-muted); }
.hy-mcard__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 14px; }
.hy-mcard__body > div { display: flex; flex-direction: column; }
.hy-mcard__body > div:last-child { text-align: right; }
.hy-mcard__body span { font-size: 11px; color: var(--hy-muted); }
.hy-mcard__body b { font-family: var(--hy-num); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
.hy-mcard__body b.soon { color: var(--hy-red-text); }
.hy-mcard__body b.rate { color: var(--hy-green-text); }
.hy-mcard__cta { margin: 0 14px 14px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: linear-gradient(160deg, var(--hy-green-2), var(--hy-green)); color: var(--hy-green-ink); }
.hy-mcard__cta--red { background: linear-gradient(160deg, var(--hy-red), var(--hy-red-2)); color: #ffffff; }
.hy-mcard__cta--off { background: var(--hy-gray-bg); color: var(--hy-gray-text); }
.hy-mcard--soon { border-color: rgba(var(--ob-orange-rgb), .4); }
.hy-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1279px) { .hy-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* หุ้น: การ์ดเล็ก 2 คอลัมน์ (เดสก์ท็อป 4) */
.hy-stocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hy-stock { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: var(--hy-card); border: 1px solid var(--hy-card-line); box-shadow: var(--hy-shadow); color: var(--hy-ink); text-decoration: none; transition: background .15s; }
.hy-stock:hover { background: var(--hy-card-2); }
.hy-stock__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hy-stock__top b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-stock__top .hy-pill { font-size: 11px; padding: 2px 7px; }
.hy-stock__sub { font-size: 12px; color: var(--hy-muted); }
.hy-stock__time { font-family: var(--hy-num); font-weight: 700; font-size: 18px; color: var(--hy-ink); font-variant-numeric: tabular-nums; }
.hy-stock__time--soon { color: var(--hy-red-text); }
.hy-stock__time--off { font-family: var(--hy-sans); font-weight: 500; font-size: 14px; color: var(--hy-muted); }
@media (min-width: 1024px) { .hy-stocks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .hy-stock { padding: 14px; } .hy-stock__time { font-size: 20px; } }

/* ยี่กี: ตารางรอบ */
.hy-yk { display: grid; grid-template-columns: 64px minmax(0, 1fr) 90px 80px; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--hy-line); color: var(--hy-ink); text-decoration: none; font-size: 14px; }
.hy-yk:last-child { border-bottom: 0; }
a.hy-yk:hover { background: var(--hy-card-2); }
.hy-yk--head { padding: 8px 14px; font-size: 12px; color: var(--hy-muted); background: var(--hy-thead); }
.hy-yk--now { background: var(--hy-hilite); }
.hy-yk__round { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-yk__time { color: var(--hy-muted); }
.hy-yk__res { text-align: center; font-family: var(--hy-num); font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.hy-yk__res.soon { color: var(--hy-red-text); letter-spacing: 0; }
.hy-yk__res.none { color: var(--hy-dim); font-weight: 400; letter-spacing: 0; }
.hy-yk__st { text-align: right; font-size: 12px; color: var(--hy-muted); }
.hy-yk--head .hy-yk__res, .hy-yk--head .hy-yk__st { font-family: var(--hy-sans); font-weight: 400; letter-spacing: 0; color: var(--hy-muted); }
.hy-yk__more { display: block; padding: 10px; text-align: center; font-size: 13px; color: var(--hy-blue-text); text-decoration: none; background: var(--hy-thead); }
@media (min-width: 1024px) { .hy-yk { grid-template-columns: 110px 110px minmax(0, 1fr) 120px 110px; gap: 10px; padding: 11px 16px; } .hy-yk__res { text-align: left; font-size: 16px; } .hy-yk__left { text-align: right; font-family: var(--hy-num); font-weight: 600; font-variant-numeric: tabular-nums; } .hy-yk__left.soon { color: var(--hy-red-text); font-weight: 700; } .hy-yk__left.none { color: var(--hy-dim); } }
@media (max-width: 1023px) { .hy-yk__left { display: none; } }

/* ผลหวยล่าสุด — การ์ดเล็ก 2 คอลัมน์ (มือถือ) / แถวในการ์ดข้างขวา (เดสก์ท็อป) */
.hy-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hy-res { padding: 12px; border-radius: 12px; background: var(--hy-card); border: 1px solid var(--hy-card-line); box-shadow: var(--hy-shadow); display: flex; flex-direction: column; gap: 8px; }
.hy-res__head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hy-res__name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.hy-res__name b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-res__name span { font-size: 11px; color: var(--hy-muted); }
.hy-res__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.hy-numbox { padding: 8px 6px; border-radius: 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; background: var(--hy-navy-flat); color: var(--hy-on-navy); }
.hy-numbox span { font-size: 11px; color: var(--hy-gold); }
.hy-numbox b { font-family: var(--hy-num); font-weight: 800; font-size: 20px; letter-spacing: .1em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hy-numbox--bottom { background: var(--hy-red-bg); color: var(--hy-red-2); }
.hy-numbox--bottom span { color: inherit; }
.hy-res-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hy-line); color: var(--hy-ink); text-decoration: none; }
.hy-res-row:last-child { border-bottom: 0; }
.hy-res-row .hy-res__name { flex: 1; }
.hy-res-row .hy-res__name b { font-size: 14px; }
.hy-res-row__nums { display: flex; gap: 6px; }
.hy-res-row__nums span { padding: 4px 8px; border-radius: 6px; font-family: var(--hy-num); font-weight: 800; font-size: 16px; letter-spacing: .08em; background: var(--hy-navy-flat); color: var(--hy-on-navy); font-variant-numeric: tabular-nums; }
.hy-res-row__nums span + span { background: var(--hy-red-bg); color: var(--hy-red-2); }

/* โพยล่าสุดของฉัน (ข้างขวา) */
.hy-tk { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hy-line); color: var(--hy-ink); text-decoration: none; }
.hy-tk:last-child { border-bottom: 0; }
.hy-tk__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hy-tk__main b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-tk__main span { font-size: 12px; color: var(--hy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-tk__end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.hy-tk__win { font-family: var(--hy-num); font-weight: 700; font-size: 15px; color: var(--hy-green-text); font-variant-numeric: tabular-nums; }

/* โปรฯ เล็ก (ข้างขวา) */
.hy-promo { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--hy-navy); color: var(--hy-on-navy); text-decoration: none; box-shadow: var(--hy-shadow); }
.hy-promo__k { font-size: 12px; color: var(--hy-gold); font-weight: 600; }
.hy-promo__t { font-family: var(--hy-display); font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--hy-on-navy); }
.hy-promo__s { font-size: 13px; color: var(--hy-muted); }

/* เกม: การ์ดค่ายแนวตั้ง เลื่อนแนวนอน (เดสก์ท็อป 6 คอลัมน์) */
.hy-games { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 6px; margin: 0 calc(-1 * var(--ob-gutter)); padding-left: var(--ob-gutter); padding-right: var(--ob-gutter); }
.hy-gcard { flex: none; width: 118px; display: flex; flex-direction: column; border-radius: 14px; background: var(--hy-card); border: 1px solid var(--hy-card-line); box-shadow: var(--hy-shadow); color: var(--hy-ink); text-decoration: none; overflow: hidden; cursor: pointer; padding: 0; font-family: inherit; text-align: center; transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s; }
.hy-gcard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.hy-gcard__art { position: relative; height: 140px; display: grid; place-items: center; background: var(--bg, var(--hy-navy)); color: var(--hy-on-navy); font-family: var(--hy-display); font-weight: 800; font-size: 26px; overflow: hidden; }
.hy-gcard__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hy-gcard__tag { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 6px; background: var(--hy-red); color: #ffffff; font-family: var(--hy-sans); font-size: 11px; font-weight: 600; z-index: 1; }
.hy-gcard__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 10px 12px; }
.hy-gcard__body b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-gcard__body span { font-size: 12px; color: var(--hy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-gcard--off { opacity: .6; }
/* การ์ดที่มีรูปค่าย: รูป PNG ล้วน สัดส่วน 737×986 ไม่มีกรอบ/พื้น/ตัวหนังสือ */
.hy-gcard--img { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; aspect-ratio: 737 / 986; }
.hy-gcard__png { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .3)); }
.hy-gcard--img:hover { box-shadow: none; }
.hy-gcard--img.hy-gcard--off .hy-gcard__png { filter: grayscale(1); }
@media (min-width: 1024px) { .hy-games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; overflow: visible; margin: 0; padding: 0; } .hy-gcard { width: auto; } .hy-gcard__art { height: 190px; font-size: 34px; } }

/* ── หน้าย่อย: แถบกรมท่าด้านบน (ระดับสมาชิก ฯลฯ) ───────────── */

.hy-band { position: relative; }
@media (max-width: 767px) {
    .hy-band::before { content: ""; position: absolute; left: calc(-1 * var(--ob-gutter)); right: calc(-1 * var(--ob-gutter)); top: -6px; height: 120px; background: var(--hy-navy); }
    .hy-band > * { position: relative; }
    .hy-band .ob-eyebrow--gold { color: var(--hy-gold-text); }
}

/* ── หน้าผลรางวัล / โพยของฉัน ──────────────────────────────── */

.hy-page { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.hy-page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hy-page__head h1 { margin: 0; font-family: var(--hy-display); font-weight: 700; font-size: 20px; color: var(--hy-head); }
.hy-page__head p { margin: 2px 0 0; font-size: 13px; color: var(--hy-muted); }
.hy-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hy-filters .hy-field { flex: 1; min-width: 140px; }
.hy-field { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hy-line-2); background: var(--hy-card); color: var(--hy-muted); }
.hy-field svg { width: 16px; height: 16px; flex: none; }
.hy-field input, .hy-field select { flex: 1; min-width: 0; border: 0; background: none; color: var(--hy-ink); font-family: inherit; font-size: 14px; outline: none; color-scheme: light; }
.hy-field input, .hy-field select { color-scheme: var(--ob-scheme, dark); }

/* ผลรางวัล: การ์ดงวด — รางวัลที่ 1 / 3 ตัวบน เป็นกล่องกรมท่า 2 ตัวล่าง กล่องแดงอ่อน */
.hy-rs { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.hy-rs__head { display: flex; align-items: center; gap: 10px; }
.hy-rs__name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hy-rs__name b { font-size: 15px; font-weight: 600; }
.hy-rs__name span { font-size: 12px; color: var(--hy-muted); }
.hy-rs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hy-rs__grid .hy-numbox--wide { grid-column: 1 / -1; }
.hy-rs__grid .hy-numbox--wide b { font-size: 28px; letter-spacing: .14em; }
.hy-numbox--plain { background: var(--hy-soft); color: var(--hy-ink); }
.hy-numbox--plain span { color: var(--hy-muted); }
@media (min-width: 640px) { .hy-rs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hy-rs__grid .hy-numbox--wide { grid-column: span 2; } }

/* โพยของฉัน */
.hy-tabs--tk { margin: 0; padding: 0; }
.hy-ticket { padding: 0; }
.hy-ticket__head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; background: none; color: var(--hy-ink); font-family: inherit; text-align: left; cursor: pointer; }
.hy-ticket__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--bg, var(--hy-soft)); color: var(--c, var(--hy-muted)); }
.hy-ticket__ic svg { width: 18px; height: 18px; }
.hy-ticket__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hy-ticket__main b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-ticket__main span { font-size: 12px; color: var(--hy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-ticket__end { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.hy-ticket__amt { font-family: var(--hy-num); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.hy-ticket__amt.win { color: var(--hy-green-text); }
.hy-ticket__body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--hy-line); padding-top: 12px; }
.hy-ticket__result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hy-items { display: flex; flex-wrap: wrap; gap: 6px; }
.hy-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: var(--hy-soft); font-size: 12px; color: var(--hy-muted); }
.hy-item b { font-family: var(--hy-num); font-weight: 700; font-size: 15px; color: var(--hy-ink); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hy-item--won { background: var(--hy-green-bg); color: var(--hy-green-text); }
.hy-item--won b { color: var(--hy-green-text); }
.hy-item--void { opacity: .55; text-decoration: line-through; }
.hy-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--hy-muted); }
.hy-kv b { font-family: var(--hy-num); font-weight: 600; color: var(--hy-ink); font-variant-numeric: tabular-nums; }
.hy-kv b.win { color: var(--hy-green-text); }
.hy-ticket__cancel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--hy-muted); }
.hy-pager { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--hy-muted); }

.hy-empty { padding: 34px 16px; text-align: center; color: var(--hy-muted); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hy-empty svg { width: 44px; height: 44px; color: var(--hy-dim); margin-bottom: 4px; }
.hy-empty strong { color: var(--hy-ink); font-size: 15px; }
.hy-empty p { margin: 0; font-size: 13px; }
.hy-empty a { color: var(--hy-blue-text); font-size: 14px; font-weight: 600; text-decoration: none; margin-top: 6px; }

.hy-note { margin: 0; font-size: 12px; color: var(--hy-muted); text-align: center; line-height: 1.6; }

/* แสดงเฉพาะมือถือ / เฉพาะเดสก์ท็อป — หน้าแรกหวยวาดรายการสองแบบ (แถว vs การ์ด) แล้วให้จอเลือก */
.hy-d { display: none !important; }
@media (min-width: 1024px) { .hy-m { display: none !important; } .hy-d { display: revert !important; } .hy-d.hy-grid3 { display: grid !important; } .hy-d.hy-card { display: block !important; } .hy-d.hy-sec { display: flex !important; } }

