/* =====================================================================
   YG-THAIQ · ธีมคริสต์มาส × ปีใหม่ 2570 — ส่วนที่ใช้ทั้งเว็บ
   (เมนูบน · ปุ่ม · footer · หน้าดาวน์โหลด) — โหลดเฉพาะตอน body มีคลาส theme-xmas
   ภาพชุด UI อยู่ใน assets/xmas2570/ui/
   ===================================================================== */
.theme-xmas {
    --xm-night: #060d1f;
    --xm-navy: #0a1530;
    --xm-ice: #d9efff;
    --xm-gold: #ffd27a;
    --xm-red: #d92d3a;
    --xm-green: #1d9a5b;
    --xm-font: 'Sarabun', sans-serif;
    --accent-gold: #ffd27a;
    background-color: var(--xm-night);
}
html:has(body.theme-xmas) { scrollbar-color: #9fd3ff #060d1f; }
.theme-xmas ::-webkit-scrollbar-track { background: #060d1f; }
.theme-xmas ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #e8f5ff, #7fb6e6); border-color: #060d1f; }

/* ---------- เมนูบน ---------- */
.theme-xmas .site-header { background: rgba(6, 13, 31, .84); border-bottom-color: rgba(159, 211, 255, .18); }
.theme-xmas .site-header::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; pointer-events: none;
    background: repeating-linear-gradient(-45deg, #e8343f 0 10px, #fff 10px 20px); box-shadow: 0 2px 10px rgba(232, 52, 63, .35);
}
.theme-xmas .xm-nav-logo { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.theme-xmas .nav-link { font-family: var(--xm-font); font-weight: 500; position: relative; }
.theme-xmas .nav-link:hover, .theme-xmas .nav-link.active { color: var(--xm-gold); text-shadow: 0 0 12px rgba(255, 210, 122, .45); }
.theme-xmas .nav-link.active::after {
    content: ''; position: absolute; left: 50%; bottom: -16px; width: 15px; height: 17px; transform: translateX(-50%);
    background: url(ui/dot_active.webp) center / contain no-repeat; border: 0; filter: drop-shadow(0 0 6px rgba(255, 210, 122, .8));
}
/* ปุ่มสมัคร = ทับทิมขอบทอง · ปุ่มเข้าสู่ระบบ = เขียวสนขอบเงิน (ภาพเดียวกับปุ่มในหน้าแรก) */
.theme-xmas .btn-register,
.theme-xmas .btn-login {
    height: 44px; padding: 0 30px 2px; border-radius: 0; background: none !important; box-shadow: none;
    border-width: 0 !important; border-style: solid !important; border-image-slice: 0 96 fill; border-image-width: 0 34px; border-image-repeat: stretch;
    font-family: var(--xm-font); font-weight: 600; color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
}
.theme-xmas .btn-register { border-image-source: url(ui/btn_red.webp); }
.theme-xmas .btn-login { border-image-source: url(ui/btn_green.webp); }
.theme-xmas .btn-register:hover, .theme-xmas .btn-login:hover { transform: translateY(-2px); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)) brightness(1.12); }
/* ปิดเงา/พื้นหลังสีทองของธีมเดิมทุกสถานะ (hover/focus/active) */
.theme-xmas .btn-register, .theme-xmas .btn-login,
.theme-xmas .btn-register:hover, .theme-xmas .btn-login:hover,
.theme-xmas .btn-register:focus, .theme-xmas .btn-login:focus,
.theme-xmas .btn-register:active, .theme-xmas .btn-login:active { box-shadow: none !important; background: none !important; background-color: transparent !important; outline: none; }

/* ---------- footer ---------- */
.theme-xmas .site-footer {
    padding: 54px 0 18px; border-top: 0; color: #b9cbe3;
    background:
        radial-gradient(60% 120% at 85% 0, rgba(80, 140, 230, .16), transparent 60%),
        radial-gradient(50% 100% at 10% 100%, rgba(217, 45, 58, .12), transparent 60%),
        linear-gradient(180deg, #0b1838 0, #071026 55%, #040912 100%);
}
.theme-xmas .site-footer::before {
    height: 5px; top: 0; background: repeating-linear-gradient(-45deg, #e8343f 0 10px, #fff 10px 20px); box-shadow: 0 0 14px rgba(232, 52, 63, .4); z-index: 2;
}
.theme-xmas .site-footer::after {
    content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 18px; pointer-events: none; z-index: 2;
    background: radial-gradient(3px 15px at 50% 0, rgba(225, 242, 255, .85) 96%, transparent) 0 0 / 46px 18px repeat-x,
                radial-gradient(2px 9px at 50% 0, rgba(225, 242, 255, .7) 96%, transparent) 23px 0 / 46px 12px repeat-x;
}
/* GM ม่วงทองตัวใหญ่ ครึ่งตัว: หัวอยู่ใต้น้ำแข็งย้อย ขาเลยขอบล่าง footer (footer ตัดทิ้งเอง) */
.theme-xmas .xm-footer-char { mix-blend-mode: normal; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .6)); top: 30px; bottom: auto; height: 720px; max-height: none; width: auto; left: 10px;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.theme-xmas .xm-footer-flake { position: absolute; right: -60px; top: -40px; width: 340px; height: 360px; pointer-events: none; z-index: 0; opacity: .06;
    background: url(ui/snowflake.webp) center / contain no-repeat; animation: xmFooterSpin 80s linear infinite; }
@keyframes xmFooterSpin { to { transform: rotate(360deg); } }
.theme-xmas .footer-brand h2 { font-family: var(--xm-font); font-weight: 700; background: linear-gradient(180deg, #fff, #ffe7b0 55%, var(--xm-gold)); -webkit-background-clip: text; background-clip: text; }
.theme-xmas .footer-desc { color: #a9bedb; }
.theme-xmas .footer-heading { display: inline-flex; align-items: center; height: 40px; padding: 0 36px 1px; margin-bottom: 14px; font-family: var(--xm-font); font-weight: 700; color: #17305c;
    border: 0; border-style: solid; border-image: url(ui/plate_ivory.webp) 0 100 fill / 0 28px stretch; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.theme-xmas .footer-heading::after { display: none; }
.theme-xmas .footer-links a, .theme-xmas .footer-links li { color: #b9cbe3; }
.theme-xmas .footer-links .fa-chevron-right { display: inline-block; width: 11px; height: 12px; margin-right: 7px !important; vertical-align: -1px;
    background: url(ui/dot.webp) center / contain no-repeat; color: transparent !important; font-size: 0 !important; }
.theme-xmas .footer-links a:hover { color: var(--xm-gold); }
.theme-xmas .footer-links a:hover .fa-chevron-right { background-image: url(ui/dot_active.webp); }
.theme-xmas .footer-links .text-gold { color: var(--xm-gold) !important; }
.theme-xmas .social-link { width: 38px; height: 38px; background: radial-gradient(circle at 35% 30%, #fff, #d6e9fb 60%, #9fc4e8); color: #17305c; border: 2px solid rgba(255, 255, 255, .6); font-size: 15px; }
.theme-xmas .social-link:hover { background: radial-gradient(circle at 35% 30%, #ff8a92, var(--xm-red) 60%, #8d0f19); color: #fff; box-shadow: 0 4px 14px rgba(217, 45, 58, .5); }
.theme-xmas .footer-bottom { border-top-color: rgba(159, 211, 255, .14); color: #8ea4c4; }

/* ---------- หน้าดาวน์โหลด ---------- */
.theme-xmas.page-download { background: var(--xm-night); }
.theme-xmas .dl-fog { background: radial-gradient(circle at 40% 50%, transparent 25%, rgba(6, 13, 31, .9) 100%); opacity: .85; }
.theme-xmas #dl-ambient { display: none; }
.theme-xmas .dl-back-title { color: rgba(217, 239, 255, .03); -webkit-text-stroke-color: rgba(217, 239, 255, .08); }
.theme-xmas .dl-char-hero { filter: drop-shadow(0 0 26px rgba(159, 211, 255, .25)) drop-shadow(0 12px 30px rgba(0, 0, 0, .55)); height: 90vh; right: 8%; }
.theme-xmas .dl-super-card { background: linear-gradient(180deg, rgba(14, 30, 64, .82), rgba(6, 13, 31, .88)); border: 0; border-radius: 22px; padding: 46px 44px 40px; }
.theme-xmas .dl-super-card::before { display: none; }
.theme-xmas .dl-hero-head { font-family: var(--xm-font); }
.theme-xmas .dl-hero-head span { background: linear-gradient(180deg, #fff, #ffe7b0 50%, var(--xm-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-xmas .btn-launch-pad {
    clip-path: none; border-radius: 0; background: none; box-shadow: none; height: 96px; padding: 0 78px 4px; color: #fff;
    border: 0; border-style: solid; border-image: url(ui/btn_red.webp) 0 96 fill / 0 76px stretch; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5));
}
.theme-xmas .btn-launch-pad:hover { box-shadow: none; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)) brightness(1.12); }
.theme-xmas .lp-content h3 { font-family: var(--xm-font); text-shadow: 0 2px 4px rgba(0, 0, 0, .55); }
.theme-xmas .lp-content p { opacity: .9; }
.theme-xmas .lp-icon { background: radial-gradient(circle at 35% 30%, #fff, #ffe7b0 60%, #e0a63a); color: #8d0f19; }
.theme-xmas .tool-btn { background: rgba(159, 211, 255, .06); border-color: rgba(159, 211, 255, .2); }
.theme-xmas .tool-btn:hover { border-color: var(--xm-gold); background: rgba(255, 210, 122, .08); }
.theme-xmas .tool-icon { color: var(--xm-gold); }
.theme-xmas .dl-tools-row { border-top-color: rgba(159, 211, 255, .15); }
.theme-xmas .dl-tech-ring { border-color: rgba(159, 211, 255, .25); }
.theme-xmas .dl-grand-footer { background: linear-gradient(to top, #040912 0%, rgba(6, 13, 31, .85) 100%); border-bottom: 4px solid transparent;
    border-image: repeating-linear-gradient(-45deg, #e8343f 0 10px, #fff 10px 20px) 4; }
.theme-xmas .orb-btn:hover { background: var(--xm-red); border-color: var(--xm-red); }

/* ---------- กรอบคริสต์มาสบนแผงเดิม (xmas.js ใส่ให้ — ใช้ทั้งหน้าแรกและหน้าดาวน์โหลด) ---------- */
.xm-frame { position: absolute; inset: 0; z-index: 30; pointer-events: none; border: 0; border-style: solid; border-radius: inherit; }
.xm-frame--gold { border-image: url(ui/frame_gold.webp) 92 / 26px stretch; }
.xm-frame--silver { border-image: url(ui/frame_silver.webp) 92 / 30px stretch; }
/* กันกฎเดิมของการ์ด (เช่น .stat-card > * { position:relative }) ทับตำแหน่งกรอบ */
.theme-xmas .xm-frame { position: absolute !important; display: block !important; z-index: 31 !important; margin: 0 !important; padding: 0 !important; }
.theme-xmas .xm-frame.xm-frame--ice { inset: 0 !important; width: auto !important; height: auto !important; }
/* กรอบการ์ดน้ำแข็งหรูโบว์แดง (การ์ดสถิติ) — ยื่นออกนอกการ์ดเล็กน้อยให้โบว์มุมเด่น */
.xm-frame--ice { inset: 0; border-image: url(ui/frame_ice_card.webp) 118 110 104 110 / 44px 40px 38px 40px stretch; z-index: 31; }
.xm-bow { position: absolute; left: 50%; top: -44px; width: 124px; height: auto; transform: translateX(-50%); z-index: 31; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }

@media (max-width: 900px) {
    .xm-frame--ice { border-image-width: 32px 28px 28px 28px; }
    .xm-frame--gold { border-image-width: 18px; } .xm-frame--silver { border-image-width: 20px; }
    .xm-bow { width: 96px; top: -34px; }
    .theme-xmas .nav-link.active::after { display: none; }
    .theme-xmas .btn-launch-pad { height: 80px; padding: 0 60px 4px; border-image-width: 0 62px; }
}

/* ---------- หน้าสมัครไอดี / เข้าสู่ระบบ ---------- */
.theme-xmas .reg-bg-layer { background-image: url(img/bg_gate_plaza.webp?v=20261204a); background-position: center 60%; }
.theme-xmas .login-bg-layer { background-image: url(img/bg_waterwheel.webp?v=20261204a); background-position: center 60%; }
.theme-xmas .reg-bg-layer::after, .theme-xmas .login-bg-layer::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 45%, rgba(6, 13, 31, .25), rgba(6, 13, 31, .78)); }
.theme-xmas .lantern-layer { display: none; }
/* สมัคร: เจ้าพ่อคริสต์มาสถือหอก (ฝั่งขวา) · เข้าสู่ระบบ: นักธนูศรน้ำแข็ง (ฝั่งซ้าย ยิงเข้าหาฟอร์ม) */
.theme-xmas .reg-char-layer { background-image: url(img/godfather_spear.webp?v=20261204a); background-size: contain; background-position: center bottom; mix-blend-mode: normal; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .6)); right: 2%; width: 44%; height: 86%; }
.theme-xmas .login-char-layer { mix-blend-mode: normal; background-image: url(img/archer.webp?v=20261204a); background-size: auto 78%; background-position: 4vw bottom; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .6)); }
.theme-xmas .reg-card, .theme-xmas .login-card { background: linear-gradient(180deg, rgba(14, 30, 64, .86), rgba(6, 13, 31, .9)); border: 0; border-radius: 22px; }
.theme-xmas .reg-card::after { display: none; }
.theme-xmas .reg-title, .theme-xmas .login-title h1 { font-family: var(--xm-font); background: linear-gradient(180deg, #fff, #ffe7b0 60%, var(--xm-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-xmas .btn-submit, .theme-xmas .btn-login-submit {
    height: 58px; border-radius: 0; background: none !important; box-shadow: none !important; color: #fff; font-family: var(--xm-font); font-size: 18px; text-shadow: 0 2px 3px rgba(0, 0, 0, .55);
    border-width: 0 !important; border-style: solid !important; border-image: url(ui/btn_red.webp) 0 96 fill / 0 46px stretch; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
}
.theme-xmas .btn-submit:hover, .theme-xmas .btn-login-submit:hover { transform: translateY(-2px); box-shadow: none !important; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)) brightness(1.12); }
.theme-xmas .pin-modal-card { background: linear-gradient(180deg, #0e1e40, #060d1f); border-color: rgba(159, 211, 255, .3); }
@media (max-width: 900px) { .theme-xmas .reg-char-layer, .theme-xmas .login-char-layer { opacity: .35; } }

/* ================= หน้าข่าวสาร (news · news-detail) — ธีมคริสต์มาส =================
   พื้นหลังเจดีย์หิมะ + ม่านกรมท่า · ซ่อนโคมทอง/ถ่านทองของธีมเก่า · ตัวละครข้าง (จอกว้าง) · หัวข้อในริบบิ้นวูเซีย
   ชื่อเรื่องจัดกึ่งกลางแถบแดงริบบิ้น (แถบอยู่ 36.8–66.1% ของภาพ กลาง 51.5%) + ชดเชยหมึกสระไทย 0.12em */
.theme-xmas .news-page-wrapper, .theme-xmas .news-detail-wrapper { --accent-gold: #f3d27a; }
.theme-xmas .news-bg, .theme-xmas .nd-bg { background: #071028 url(img/bg_pagoda.webp?v=20261204a) no-repeat center 30% / cover !important; }
.theme-xmas .news-bg::after, .theme-xmas .nd-bg::after { content: ''; position: absolute; inset: 0;
    background: radial-gradient(70% 45% at 50% 0, rgba(70, 130, 220, .18), transparent 70%), linear-gradient(180deg, rgba(5, 12, 32, .5) 0%, rgba(6, 14, 36, .78) 38%, rgba(5, 11, 28, .93) 100%); }
.theme-xmas .nd-dim { background: transparent !important; }
@media (max-width: 900px) { .theme-xmas .news-bg, .theme-xmas .nd-bg { background-image: url(img/bg_pagoda_m.webp?v=20261204a) !important; } }
.theme-xmas #lantern-container, .theme-xmas #particle-container { display: none !important; }

/* ตัวละครข้าง: ซ้ายราชินีพัดเหมันต์ (หันขวา) · ขวามาเฟียสาวนักดนตรี (หันซ้าย) · อยู่หลังการ์ด */
.theme-xmas.page-news .news-page-wrapper::before, .theme-xmas.page-news .news-page-wrapper::after {
    content: ''; position: fixed; bottom: 0; z-index: 0; width: min(30vw, 520px); height: min(78vh, 760px); pointer-events: none;
    background: no-repeat center bottom / contain; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .65)) brightness(.9); }
.theme-xmas.page-news .news-page-wrapper::before { left: -3vw; background-image: url(img/fan_queen.webp?v=20261204a); }
.theme-xmas.page-news .news-page-wrapper::after { right: -3vw; background-image: url(img/mafia_musician.webp?v=20261204a); }
@media (max-width: 1500px) { .theme-xmas.page-news .news-page-wrapper::before, .theme-xmas.page-news .news-page-wrapper::after { opacity: .28; } }
@media (max-width: 900px) { .theme-xmas.page-news .news-page-wrapper::before, .theme-xmas.page-news .news-page-wrapper::after { display: none; } }

/* หัวหน้า: ป้ายเล็ก + ชื่อในริบบิ้น + คำโปรย */
.theme-xmas .news-header { padding: 26px 0 6px; overflow: visible; }
.theme-xmas .news-header-content::before { content: 'WINTER NEWS \00B7  YG-THAIQ SS2'; display: block; margin-bottom: 0; font-size: 13px; font-weight: 700; letter-spacing: .32em; color: #f3d27a; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.theme-xmas .news-title { display: flex; align-items: center; justify-content: center; margin: -18px auto -22px; width: min(680px, 92vw); aspect-ratio: 1100 / 375;
    background: url(ui/ribbon_wuxia.webp?v=20261204a) center / 100% 100% no-repeat; -webkit-background-clip: border-box; background-clip: border-box;
    -webkit-text-fill-color: #fff; color: #fff; font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; line-height: 1; letter-spacing: .02em; text-transform: none;
    padding: 0 0 calc(.24em - min(680px, 92vw) * .01); text-shadow: 0 2px 0 #6e0a12, 0 4px 10px rgba(60, 0, 8, .7); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.theme-xmas .news-header p { color: #d6e6ff !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }

/* แถบหมวด: แก้วน้ำแข็ง · ปุ่มที่เลือก = กำมะหยี่แดงขอบทอง มีหิมะเกาะ */
.theme-xmas .filter-btn { position: relative; background: rgba(10, 24, 54, .74); border: 1px solid rgba(159, 211, 255, .3); color: #d6e6ff; border-radius: 999px; padding: 8px 22px; font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 12px rgba(0, 0, 0, .3); transition: background .25s, border-color .25s, box-shadow .25s, color .25s, translate .25s; }
.theme-xmas .filter-btn:hover { background: rgba(28, 58, 116, .82); color: #fff; border-color: rgba(159, 211, 255, .75); box-shadow: 0 0 16px rgba(110, 185, 255, .35); transform: none; translate: 0 -2px; }
.theme-xmas .filter-btn.active, .theme-xmas .filter-btn.active:hover { background: linear-gradient(180deg, #e0384a 0%, #b51a2e 55%, #8e1426 100%); color: #fff; border-color: #f3c768;
    box-shadow: 0 0 0 2px rgba(243, 199, 104, .22), 0 6px 18px rgba(200, 30, 50, .45), inset 0 1px 0 rgba(255, 255, 255, .35); text-shadow: 0 1px 0 #6e0a12; transform: none; translate: 0 -2px; }
.theme-xmas .filter-btn.active::before { content: ''; position: absolute; left: 14%; right: 14%; top: -4px; height: 8px; border-radius: 8px 8px 5px 5px; pointer-events: none;
    background: radial-gradient(7px 5px at 20% 70%, #fff 0 95%, transparent 100%), radial-gradient(9px 6px at 55% 75%, #fff 0 95%, transparent 100%), radial-gradient(6px 5px at 85% 70%, #fff 0 95%, transparent 100%), linear-gradient(#ffffff, #e3efff);
    background-size: 100% 100%; box-shadow: 0 2px 3px rgba(0, 0, 0, .25); }

/* การ์ดข่าว: กรมท่าแก้ว ขอบน้ำแข็ง หิมะเกาะขอบบนภาพ แสงน้ำแข็งกวาดตอนชี้ */
.theme-xmas .news-card { background: linear-gradient(180deg, rgba(14, 30, 66, .93), rgba(8, 18, 42, .95)); border: 1px solid rgba(159, 211, 255, .24); border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(6px); transition: translate .3s ease, box-shadow .3s ease, border-color .3s ease; }
.theme-xmas .news-card:hover { background: linear-gradient(180deg, rgba(18, 38, 80, .95), rgba(9, 20, 46, .97)); border-color: rgba(159, 211, 255, .65); translate: 0 -6px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .5), 0 0 0 1px rgba(159, 211, 255, .2), 0 0 28px rgba(90, 170, 255, .22); }
.theme-xmas .news-card::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
    background: linear-gradient(115deg, transparent 38%, rgba(210, 235, 255, .16) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 130% 0; transition: background-position .8s ease; }
.theme-xmas .news-card:hover::after { background-position: -40% 0; }
.theme-xmas .news-thumb-wrapper::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 15px; z-index: 3; pointer-events: none;
    background: radial-gradient(13px 9px at 14px 4px, #f4f9ff 0 96%, transparent 100%) 0 0 / 30px 15px repeat-x, radial-gradient(9px 7px at 6px 5px, #ffffff 0 96%, transparent 100%) 15px 0 / 41px 15px repeat-x, linear-gradient(#ffffff, #e6f1ff) 0 0 / 100% 5px no-repeat;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.theme-xmas .news-thumb-wrapper::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10, 22, 50, .92), transparent); }
.theme-xmas .news-cat-badge, .theme-xmas .news-meta-badge { z-index: 4; border-radius: 7px; padding: 5px 12px 5px 10px; border: 1px solid rgba(255, 255, 255, .4); font-weight: 800; letter-spacing: .02em;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, .2)); box-shadow: 0 4px 10px rgba(0, 0, 0, .45); text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
    display: inline-flex; align-items: center; gap: 5px; }
.theme-xmas .news-cat-badge::before, .theme-xmas .news-meta-badge::before { content: ''; width: 11px; height: 11px; flex: none; background: url(ui/snowflake.webp?v=20261204a) center / contain no-repeat; filter: brightness(0) invert(1); opacity: .95; }
.theme-xmas .news-card-body { position: relative; z-index: 2; }
.theme-xmas .news-card-date { color: #9fd3ff; }
.theme-xmas .news-card-title { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.theme-xmas .news-card-desc { color: #b9cbe3; }
.theme-xmas .btn-read-more { color: #f3d27a; transition: color .25s, gap .25s; }
.theme-xmas .news-card:hover .btn-read-more { color: #fff; gap: 9px; }
.theme-xmas .news-grid > div[style*="grid-column"] { background: rgba(10, 24, 54, .8) !important; border: 1px solid rgba(159, 211, 255, .25); border-radius: 16px !important; color: #d6e6ff !important; }

/* หน้าอ่านข่าว */
.theme-xmas .btn-back { padding: 8px 16px; border-radius: 999px; background: rgba(10, 24, 54, .74); border: 1px solid rgba(159, 211, 255, .3); color: #d6e6ff; transition: background .25s, border-color .25s, color .25s; }
.theme-xmas .btn-back:hover { background: rgba(28, 58, 116, .82); border-color: rgba(159, 211, 255, .75); color: #fff; }
.theme-xmas .news-cover { border: 1px solid rgba(159, 211, 255, .3); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 4px rgba(10, 24, 54, .55); }
.theme-xmas .news-cover::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; z-index: 4; pointer-events: none;
    background: radial-gradient(16px 11px at 16px 5px, #f4f9ff 0 96%, transparent 100%) 0 0 / 36px 18px repeat-x, radial-gradient(11px 8px at 8px 6px, #ffffff 0 96%, transparent 100%) 18px 0 / 47px 18px repeat-x, linear-gradient(#ffffff, #e6f1ff) 0 0 / 100% 6px no-repeat;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.theme-xmas .news-cover-overlay { background: linear-gradient(to top, rgba(6, 14, 36, .96), rgba(6, 14, 36, .55) 55%, transparent); }
.theme-xmas .news-content-box { position: relative; background: linear-gradient(180deg, rgba(12, 26, 58, .94), rgba(7, 16, 38, .96)); border: 1px solid rgba(159, 211, 255, .24); border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); }
.theme-xmas .news-content-box::before { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
    background: repeating-linear-gradient(-45deg, #c8263a 0 10px, #ffffff 10px 20px); opacity: .85; }
.theme-xmas .news-body { color: #e3ecfa; }
.theme-xmas .news-body a { color: #9fd3ff; }
.theme-xmas .news-content-box .badge.bg-secondary { background: rgba(28, 58, 116, .85) !important; border: 1px solid rgba(159, 211, 255, .35); color: #d6e6ff; border-radius: 999px; font-weight: 600; }
.theme-xmas .nav-card-modern { background: rgba(10, 22, 50, .9); border: 1px solid rgba(159, 211, 255, .24); border-radius: 16px; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.theme-xmas .nav-card-body { background: linear-gradient(180deg, rgba(16, 34, 74, .96), rgba(8, 18, 42, .98)); border-top: 1px solid rgba(159, 211, 255, .18); }
.theme-xmas .nav-card-date { color: #8fa6c8; }
.theme-xmas .nav-card-arrow { background: rgba(159, 211, 255, .1); color: #9fd3ff; border: 1px solid rgba(159, 211, 255, .3); }
.theme-xmas .nav-card-modern:hover { border-color: rgba(159, 211, 255, .7); box-shadow: 0 16px 38px rgba(0, 0, 0, .5), 0 0 26px rgba(90, 170, 255, .25); }
.theme-xmas .nav-card-modern:hover .nav-card-arrow { background: linear-gradient(180deg, #e0384a, #8e1426); border-color: #f3c768; color: #fff; }
@media (max-width: 768px) { .theme-xmas .news-title { margin: -10px auto -14px; } .theme-xmas .news-header-content::before { font-size: 11px; letter-spacing: .24em; } }
@media (prefers-reduced-motion: reduce) { .theme-xmas .news-card::after { display: none; } }
