/* ส่วนเสริมนอก Tailwind (app.css คอมไพล์แล้วจากเว็บจริง — ห้ามแก้) */

/* กันแถบเลื่อน (scrollbar) ทำให้ Header และเนื้อหาขยับซ้าย-ขวาเวลาสลับหน้าสั้น/ยาว */
html { scrollbar-gutter: stable; }

/* Dark mode (โครง html.dark เหมือนเว็บจริง) */
html.dark .gy-root { background-color: #09090b; color: #f4f4f5; }
html.dark #site-nav,
html.dark #mobile-menu { background-color: rgb(9 9 11 / 0.95); border-color: #27272a; color: #e4e4e7; }
html.dark #site-nav .bg-slate-100 { background-color: #27272a; }
html.dark #site-nav .text-slate-700 { color: #e4e4e7; }
html.dark #site-nav .bg-slate-200 { background-color: #3f3f46; }
html.dark #site-nav a.text-slate-600,
html.dark #site-nav a.text-slate-700,
html.dark #menu-toggle { color: #d4d4d8; }
html.dark #site-nav a.text-orange-600 { background-color: rgb(124 45 18 / 0.35); color: #fb923c; }
html.dark .gy-root .bg-white { background-color: #18181b; }
html.dark .gy-root .border-slate-200,
html.dark .gy-root .border-slate-200\/90,
html.dark .gy-root .border-slate-200\/80 { border-color: #27272a; }
html.dark .gy-root .text-slate-900 { color: #fafafa; }
html.dark .gy-root .text-slate-500,
html.dark .gy-root .text-slate-600 { color: #a1a1aa; }
html.dark .gy-root .text-emerald-950 { color: #ecfdf5; }
html.dark .gy-root footer.bg-slate-100 { background-color: #18181b; border-color: #27272a; }
html.dark .gy-root footer .border-slate-300 { border-color: #3f3f46; }
html.dark .gy-root footer .text-slate-700 { color: #d4d4d8; }
html.dark .gy-root .bg-slate-100 { background-color: #27272a; }
html.dark .gy-root .bg-slate-50\/70 { background-color: rgb(39 39 42 / 0.5); }
html.dark .gy-root .text-slate-800 { color: #e4e4e7; }
html.dark .gy-root #privacy-consent-box { background-color: rgb(124 45 18 / 0.2); border-color: rgb(154 52 18 / 0.6); }
html.dark .gy-root #privacy-consent-box a { background-color: #27272a; border-color: #3f3f46; color: #e4e4e7; }
html.dark .gy-root .hover\:bg-emerald-50\/50:hover { background-color: rgb(6 78 59 / 0.25); }
html.dark #mobile-menu .border-slate-200 { border-color: #27272a; }
html.dark #mobile-menu button.text-slate-700 { color: #e4e4e7; }
html.dark #mobile-menu button.text-slate-700:hover { background-color: #27272a; }
html.dark .gy-ticker-event { background-color: rgb(6 78 59 / 0.35); border-color: rgb(5 150 105 / 0.45); color: #ecfdf5; }
html.dark #announcement-panel .border-slate-200 { border-color: #27272a; }
html.dark #announcement-panel .text-slate-700 { color: #d4d4d8; }
html.dark #announcement-panel [data-announcement-close].border-slate-200 { background-color: #27272a; border-color: #3f3f46; color: #e4e4e7; }

/* โลโก้ขยายตามแรงเขย่าเมาส์ (ล้นกรอบได้) */
#site-nav,
.gy-root footer {
  overflow: visible;
}
.gy-logo {
  transform-origin: left center;
  will-change: transform;
  position: relative;
}
.gy-logo-hd {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.25);
  object-fit: contain;
}

/* แถบตัวอักษรวิ่งและป้ายหมวดแบบโดนหนีบชิดซ้ายเป็นแถบ 2px แล้วค่อยขยายคืน */
.gy-ticker-viewport {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.gy-ticker-track {
  display: inline-block;
  will-change: transform;
}
.gy-ticker-badge {
  transform-origin: left center;
  overflow: hidden;
  will-change: max-width;
}
.gy-ticker-badge-main {
  transform-origin: left center;
  will-change: transform;
}
.gy-ticker-badge-top,
.gy-ticker-badge-bot {
  display: none;
}
.gy-ticker-badge.is-expanding {
  transition: max-width 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}
.gy-ticker-badge.is-expanding .gy-ticker-badge-main {
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

/* กรอบประกาศแบบขยายดันเนื้อหาลงด้านล่างอย่างนุ่มนวล */
.gy-ann-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease;
}
.gy-ann-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.gy-ann-inner {
  overflow: hidden;
}

/* ส่วนเสริมเฉพาะหน้ากิจกรรม event.gimyong.com — โทนสีเขียวมรกตสบายตาตามแถบหมวดกิจกรรมหน้าแรกกิมหยง (Emerald 600) */
:root {
  --ev-green: #059669;        /* emerald-600 (ตรงกับแถบกิจกรรมหน้าแรก) */
  --ev-green-soft: #10b981;   /* emerald-500 */
  --ev-green-deep: #047857;   /* emerald-700 */
  --ev-green-dark: #065f46;   /* emerald-800 */
  --ev-teal: #0d9488;         /* teal-600 */
  --ev-border: #d1fae5;       /* emerald-100/200 สบายตา */
  --ev-border-strong: #6ee7b7;/* emerald-300 */
  --ev-surface-tint: #ecfdf5; /* emerald-50 */
}
html.dark {
  --ev-border: rgb(5 150 105 / 0.35);
  --ev-border-strong: rgb(16 185 129 / 0.55);
  --ev-surface-tint: rgb(6 78 59 / 0.3);
}

@keyframes gyFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes evFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(5deg); }
}
@keyframes evFloatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(5px) rotate(-6deg); }
}
@keyframes evSway {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(3deg); }
}
@keyframes evPop {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
@keyframes evShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes evSparkleSpin {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.18) rotate(14deg); opacity: 1; }
}
@keyframes evConfettiFly {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--tx, 0px), var(--ty, -60px)) scale(0.4) rotate(var(--rot, 360deg)); opacity: 0; }
}

.animate-fadeIn {
  animation: gyFadeIn 0.25s ease-out both;
}
.ev-float {
  animation: evFloat 3.6s ease-in-out infinite;
}
.ev-float-slow {
  animation: evFloatReverse 4.8s ease-in-out infinite;
}
.ev-sparkle-spin {
  animation: evSparkleSpin 2.8s ease-in-out infinite;
}
.ev-bunting-flag {
  transform-origin: top center;
  animation: evSway 3.2s ease-in-out infinite;
}
.ev-bunting-flag:nth-child(2n) { animation-delay: -0.7s; }
.ev-bunting-flag:nth-child(3n) { animation-delay: -1.4s; }

/* แบนเนอร์หัวหน้าเทศกาล (โทน emerald-50 สบายตาเหมือนแถบกิจกรรมหน้าแรก) */
.ev-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #a7f3d0;
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 60%, #f0fdf4 100%);
  box-shadow: 0 4px 16px -10px rgb(5 150 105 / 0.18);
}
html.dark .ev-hero {
  background: linear-gradient(135deg, rgb(6 78 59 / 0.38) 0%, rgb(24 24 27 / 0.92) 65%, rgb(6 78 59 / 0.25) 100%);
  border-color: rgb(5 150 105 / 0.45);
  box-shadow: 0 6px 20px -12px rgb(5 150 105 / 0.3);
}
.ev-hero-stripe {
  height: 3px;
  background: linear-gradient(90deg, #059669, #10b981, #14b8a6, #059669);
  background-size: 200% 100%;
  animation: evShimmer 8s linear infinite;
}
.ev-accent-bar {
  background: linear-gradient(180deg, #059669 0%, #10b981 100%);
}
.ev-title-gradient {
  color: #065f46;
}
html.dark .ev-title-gradient {
  color: #6ee7b7;
}

/* ปุ่ม Toy พลุเทศกาล */
.ev-toy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.78rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #065f46;
  background: #ffffff;
  border: 1px solid #6ee7b7;
  box-shadow: 0 2px 6px -2px rgb(5 150 105 / 0.18);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.ev-toy-btn:hover {
  background: #d1fae5;
  border-color: #059669;
  transform: translateY(-1.5px) scale(1.03);
}
.ev-toy-btn:active {
  transform: scale(0.95);
}
html.dark .ev-toy-btn {
  color: #d1fae5;
  background: rgb(6 78 59 / 0.45);
  border-color: rgb(16 185 129 / 0.5);
}
html.dark .ev-toy-btn:hover {
  background: rgb(5 150 105 / 0.45);
}

/* Confetti Particle (Toy) */
.ev-confetti-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 9999;
  animation: evConfettiFly 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ช่องค้นหา / Dropdown / View Toggle */
.ev-input {
  border: 1px solid #a7f3d0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ev-input:hover {
  border-color: #34d399 !important;
}
.ev-input:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgb(5 150 105 / 0.14) !important;
}
html.dark .ev-input {
  border-color: rgb(5 150 105 / 0.4) !important;
}
html.dark .ev-input:focus {
  border-color: #10b981 !important;
}
.ev-view-shell {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
html.dark .ev-view-shell {
  background: rgb(6 78 59 / 0.3);
  border-color: rgb(5 150 105 / 0.4);
}
.ev-view-active {
  background: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px -2px rgb(5 150 105 / 0.45);
}
.ev-view-inactive {
  color: #065f46;
}
html.dark .ev-view-inactive {
  color: #a7f3d0;
}

/* แท็บตัวกรองสถานะ */
.ev-tab {
  position: relative;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.ev-tab:hover {
  transform: translateY(-1px);
}
.ev-tab:active {
  transform: scale(0.97);
}
.ev-tab-active {
  background: #059669;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #059669;
  box-shadow: 0 3px 10px -3px rgb(5 150 105 / 0.45);
}
.ev-tab-ongoing-active {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #059669;
  box-shadow: 0 0 0 2px rgb(5 150 105 / 0.22), 0 4px 12px -4px rgb(5 150 105 / 0.45);
}
.ev-tab-inactive {
  background: #ffffff;
  color: #334155;
  border: 1px solid #d1fae5;
}
.ev-tab-inactive:hover {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #065f46;
}
html.dark .ev-tab-inactive {
  background: #18181b;
  color: #d4d4d8;
  border-color: rgb(5 150 105 / 0.32);
}
html.dark .ev-tab-inactive:hover {
  background: rgb(6 78 59 / 0.4);
  border-color: rgb(16 185 129 / 0.55);
  color: #ecfdf5;
}
.ev-tab-ongoing-inactive {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.ev-tab-ongoing-inactive:hover {
  background: #d1fae5;
  border-color: #10b981;
}
html.dark .ev-tab-ongoing-inactive {
  background: rgb(6 78 59 / 0.42);
  color: #6ee7b7;
  border-color: rgb(16 185 129 / 0.45);
}
.ev-tab-badge-active {
  background: rgb(255 255 255 / 0.24);
  color: #ffffff;
}
.ev-tab-badge-inactive {
  background: #d1fae5;
  color: #065f46;
}
html.dark .ev-tab-badge-inactive {
  background: rgb(6 78 59 / 0.65);
  color: #a7f3d0;
}

/* การ์ดกิจกรรม (ขอบบางสบายตา + แถบเขียวมรกตด้านบน) */
.ev-card {
  position: relative;
  border-radius: 0.875rem;
  border: 1px solid #d1fae5;
  background: #ffffff;
  box-shadow: 0 2px 10px -6px rgb(5 150 105 / 0.14);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.ev-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #059669, #10b981, #14b8a6);
  z-index: 15;
  opacity: 0.85;
}
.ev-card:hover {
  transform: translateY(-4px);
  border-color: #34d399;
  box-shadow: 0 10px 22px -10px rgb(5 150 105 / 0.24);
}
.ev-card-ongoing {
  border-color: #6ee7b7;
  box-shadow: 0 0 0 2px rgb(5 150 105 / 0.14), 0 6px 16px -8px rgb(5 150 105 / 0.24);
}
.ev-card-ongoing::before {
  background: linear-gradient(90deg, #059669, #10b981, #0d9488, #059669);
  background-size: 200% 100%;
  animation: evShimmer 5s linear infinite;
}
html.dark .ev-card {
  background: #18181b;
  border-color: rgb(5 150 105 / 0.32);
  box-shadow: 0 4px 14px -10px rgb(0 0 0 / 0.45);
}
html.dark .ev-card:hover {
  border-color: rgb(16 185 129 / 0.65);
  box-shadow: 0 10px 24px -12px rgb(5 150 105 / 0.35);
}
.ev-card-title {
  transition: color 0.18s ease;
}
.ev-card:hover .ev-card-title {
  color: #059669;
}
html.dark .ev-card:hover .ev-card-title {
  color: #6ee7b7;
}
.ev-icon-green { color: #059669; }
.ev-icon-teal { color: #0d9488; }
.ev-icon-amber { color: #d97706; }
.ev-icon-pink { color: #e11d48; }
html.dark .ev-icon-green { color: #34d399; }
html.dark .ev-icon-teal { color: #2dd4bf; }
html.dark .ev-icon-amber { color: #fbbf24; }
html.dark .ev-icon-pink { color: #fb7185; }

/* ป้ายสถานะโทนสบายตา */
.ev-badge-ongoing {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px -2px rgb(5 150 105 / 0.45);
}
.ev-badge-upcoming {
  background: #0d9488;
  color: #ffffff;
  box-shadow: 0 2px 8px -2px rgb(13 148 136 / 0.4);
}
.ev-badge-pinned {
  background: #fbbf24;
  color: #0f172a;
  box-shadow: 0 2px 8px -2px rgb(245 158 11 / 0.4);
}
.ev-badge-countdown {
  background: rgb(5 150 105 / 0.92);
  color: #ffffff;
  box-shadow: 0 2px 8px -2px rgb(5 150 105 / 0.4);
}

/* ปฏิทิน */
.ev-panel {
  border-radius: 1rem;
  border: 1px solid #d1fae5;
  background: #ffffff;
  box-shadow: 0 4px 16px -10px rgb(5 150 105 / 0.14);
}
html.dark .ev-panel {
  background: #18181b;
  border-color: rgb(5 150 105 / 0.35);
}
.ev-cal-day-selected {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 12px -4px rgb(5 150 105 / 0.45), 0 0 0 2px rgb(5 150 105 / 0.22);
  animation: evPop 0.22s ease-out;
}
.ev-cal-day-today {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
  font-weight: 700;
}
html.dark .ev-cal-day-today {
  background: rgb(6 78 59 / 0.48) !important;
  border-color: #10b981 !important;
  color: #6ee7b7 !important;
}
.ev-cal-day-has {
  background: #ffffff;
  border-color: #d1fae5;
  color: #0f172a;
}
.ev-cal-day-has:hover {
  background: #ecfdf5;
  border-color: #34d399;
  transform: translateY(-1px);
}
html.dark .ev-cal-day-has {
  background: #18181b;
  border-color: rgb(5 150 105 / 0.3);
  color: #e4e4e7;
}
html.dark .ev-cal-day-has:hover {
  background: rgb(6 78 59 / 0.35);
  border-color: #10b981;
}

/* หน้ารายละเอียดกิจกรรม */
.ev-detail-card {
  border-radius: 1rem;
  border: 1px solid #d1fae5;
  background: #ffffff;
  box-shadow: 0 6px 22px -12px rgb(5 150 105 / 0.16);
  overflow: hidden;
}
html.dark .ev-detail-card {
  background: #18181b;
  border-color: rgb(5 150 105 / 0.38);
}
.ev-summary-box {
  border-left: 3px solid #059669;
  background: #ecfdf5;
  border-radius: 0 0.625rem 0.625rem 0;
}
html.dark .ev-summary-box {
  border-left-color: #10b981;
  background: rgb(6 78 59 / 0.35);
}
.ev-info-box {
  background: #f0fdf4;
  border: 1px solid #d1fae5;
  border-radius: 0.875rem;
}
html.dark .ev-info-box {
  background: rgb(6 78 59 / 0.26);
  border-color: rgb(5 150 105 / 0.35);
}
.ev-btn-primary {
  background: #059669;
  color: #ffffff;
  border: 1px solid #059669;
  box-shadow: 0 3px 10px -3px rgb(5 150 105 / 0.4);
  transition: transform 0.16s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.ev-btn-primary:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgb(5 150 105 / 0.5);
}
.ev-btn-outline {
  background: #ffffff;
  color: #065f46;
  border: 1px solid #a7f3d0;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.ev-btn-outline:hover {
  background: #ecfdf5;
  border-color: #059669;
  transform: translateY(-1px);
}
html.dark .ev-btn-outline {
  background: #27272a;
  color: #a7f3d0;
  border-color: rgb(5 150 105 / 0.45);
}
html.dark .ev-btn-outline:hover {
  background: rgb(6 78 59 / 0.45);
  border-color: #10b981;
}
.ev-share-bar {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 0.75rem;
}
html.dark .ev-share-bar {
  background: rgb(6 78 59 / 0.26);
  border-color: rgb(5 150 105 / 0.35);
}
.ev-link {
  color: #059669;
  font-weight: 600;
  transition: color 0.15s ease;
}
.ev-link:hover {
  color: #047857;
}
html.dark .ev-link {
  color: #34d399;
}
html.dark .ev-link:hover {
  color: #6ee7b7;
}

/* แท็กหลากสีสันโทนพาสเทลสบายตา */
.ev-tag-0 { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ev-tag-1 { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.ev-tag-2 { background: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }
.ev-tag-3 { background: #fdf2f8; color: #9d174d; border: 1px solid #fbcfe8; }
html.dark .ev-tag-0 { background: rgb(6 78 59 / 0.4); color: #6ee7b7; border-color: rgb(5 150 105 / 0.45); }
html.dark .ev-tag-1 { background: rgb(120 53 15 / 0.35); color: #fcd34d; border-color: rgb(217 119 6 / 0.4); }
html.dark .ev-tag-2 { background: rgb(12 74 110 / 0.38); color: #7dd3fc; border-color: rgb(14 165 233 / 0.4); }
html.dark .ev-tag-3 { background: rgb(131 24 67 / 0.35); color: #f9a8d4; border-color: rgb(219 39 119 / 0.4); }

.ev-search-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
html.dark .ev-search-banner {
  background: rgb(6 78 59 / 0.4);
  border-color: rgb(5 150 105 / 0.45);
  color: #d1fae5;
}

.border-l-3 {
  border-left-width: 3px;
}
.py-0\.2 {
  padding-top: 0.05rem;
  padding-bottom: 0.05rem;
}
.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}
.grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.blur-md {
  --tw-blur: blur(12px);
  filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
}
.opacity-15 {
  opacity: 0.15;
}
html.dark .dark\:opacity-15 {
  opacity: 0.15;
}
.brightness-105 {
  --tw-brightness: brightness(1.05);
  filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
}
html.dark .dark\:brightness-75 {
  --tw-brightness: brightness(0.75);
  filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
}

/* เนื้อหารายละเอียดกิจกรรม (.event-prose) */
.event-prose > h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #065f46;
  margin-top: 1.5rem;
}
.event-prose > h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #047857;
  margin-top: 1rem;
}
.event-prose > p {
  line-height: 1.625;
}
.event-prose > ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}
.event-prose > ul > li + li {
  margin-top: 0.375rem;
}
.event-prose strong {
  color: #0f172a;
}
.event-prose a {
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  word-break: break-all;
}
.event-prose a:hover {
  color: #047857;
}
html.dark .event-prose > h3 {
  color: #34d399;
}
html.dark .event-prose strong {
  color: #ffffff;
}
html.dark .event-prose > h4 {
  color: #6ee7b7;
}
html.dark .event-prose a {
  color: #34d399;
}
html.dark .event-prose a:hover {
  color: #6ee7b7;
}

@media (prefers-reduced-motion: reduce) {
  .ev-float,
  .ev-float-slow,
  .ev-sparkle-spin,
  .ev-bunting-flag,
  .ev-hero-stripe,
  .ev-card-ongoing::before,
  .ev-tab-ongoing-active {
    animation: none !important;
  }
}

/* ───────── Hamburger Popover Menu (น่ารัก สดใส มีสีสัน + Dark Mode) ───────── */
.gy-menu-pop { position: absolute; right: .75rem; top: calc(100% + .45rem); width: min(calc(100vw - 1.5rem), 308px); z-index: 60; }
html.dark #mobile-menu.gy-menu-pop { background-color: transparent; border-color: transparent; }
.gy-menu-card { border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 14px 36px rgb(15 23 42 / .15); overflow-x: hidden; overflow-y: auto; max-height: calc(100vh - 5.25rem); max-height: calc(100dvh - 5.25rem); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: .4rem 0; }
html.dark .gy-menu-card { background: #18181b; border-color: #27272a; box-shadow: 0 14px 36px rgb(0 0 0 / .45); }
.gy-m-section { display: grid; padding: .15rem .4rem; gap: .12rem; }
.gy-m-sep { height: 1px; background: #f1f5f9; margin: .35rem 0; }
html.dark .gy-m-sep { background: #27272a; }
.gy-m-item { width: 100%; display: flex; align-items: center; gap: .65rem; padding: .58rem .75rem; border-radius: .65rem; font-size: .88rem; font-weight: 700; color: #1e293b; text-decoration: none; border: 0; background: transparent; cursor: pointer; text-align: left; transition: background .14s, transform .1s; }
.gy-m-item:hover { background: #f8fafc; }
html.dark .gy-m-item { color: #e4e4e7; }
html.dark .gy-m-item:hover { background: #27272a; }
.gy-m-item.is-active { background: #fff7ed; color: #ea580c; }
html.dark .gy-m-item.is-active { background: rgb(124 45 18 / .35); color: #fb923c; }
.gy-m-ico { width: 1.45rem; text-align: center; font-size: 1.05rem; flex-shrink: 0; }
.gy-m-txt { flex: 1; min-width: 0; display: flex; align-items: center; gap: .4rem; }
.gy-m-live { width: .5rem; height: .5rem; border-radius: 999px; background: #f97316; display: inline-block; box-shadow: 0 0 0 3px rgb(249 115 22 / .22); }
.gy-m-theme { color: #4338ca; background: #eef2ff; }
.gy-m-theme:hover { background: #e0e7ff; }
html.dark .gy-m-theme { background: rgb(67 56 202 / .28); color: #c7d2fe; }
.gy-m-theme.is-to-light { color: #b45309; background: #fef3c7; }
.gy-m-theme.is-to-light:hover { background: #fde68a; }
html.dark .gy-m-theme.is-to-light { background: rgb(180 83 9 / .28); color: #fcd34d; }
html.dark .gy-m-theme.is-to-light:hover { background: rgb(180 83 9 / .4); }
