/* Home page (2026-11-29): one dark card style for every section, quiet headings with a pink marker, pink as the only
 * accent, compact Gift Card tiles. Front page only. */

/* Section cards */
.ab-section, .ab-news, .right-panel {
	border-radius: 14px !important; overflow: hidden; background: #11182f !important; border: 1px solid #1f2a4d !important;
}
.ab-news-body { background: transparent !important; }

/* Headings: no purple / blue bar; white title, pink marker, "ดูทั้งหมด →" on the right */
.ab-sec-title, .right-panel > h3#today-title {
	display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 14px 16px 12px !important;
	background: transparent !important; border-radius: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .06);
	color: #fff !important; font-size: 18px !important; font-weight: 700; line-height: 1.3;
}
/* the OPCG heading has its own small icon image; the pink marker replaces it like the emoji */
.ab-sec-title .ab-sec-ico { display: none !important; }
.ab-sec-title::before, .right-panel > h3#today-title::before {
	content: ''; flex: 0 0 4px; width: 4px; height: 18px; border-radius: 2px; background: #ff2e88;
}
.ab-sec-title .skygo-hm-more {
	margin-left: auto !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important;
	color: #ff6aa8 !important; font-size: 13px !important; font-weight: 600; white-space: nowrap; width: auto !important;
}
.ab-sec-title .skygo-hm-more:hover { color: #fff !important; }
/* any "more" button that stays at the bottom (no heading found) is pink instead of purple */
.ab-more:not(.skygo-hm-more) { background: #e0006f !important; border-color: #e0006f !important; color: #fff !important; }

/* Tonight schedule: dark header, romaji toggle as a small chip */
.right-panel > h3#today-title #epg-toggle-btn {
	margin-left: auto; padding: 4px 10px !important; border-radius: 999px !important; background: #18213d !important;
	border: 1px solid #2a3760 !important; color: #c4cbe3 !important; font-size: 12px !important; font-weight: 600; box-shadow: none !important;
}
.right-panel > h3#today-title #epg-toggle-btn:hover { border-color: #ff2e88 !important; color: #fff !important; }
.right-panel table th { background: #18213d !important; color: #c4cbe3 !important; border-color: #232e52 !important; }

/* Gift Cards: compact price tiles (the eight pictures were the same image) */
.ab-prod-section .ab-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 10px !important; }
.ab-prod-section .ab-prod-card {
	display: flex !important; align-items: center; gap: 10px; padding: 10px 12px !important; border-radius: 12px !important;
	background: #18213d !important; border: 1px solid #2a3760 !important; transition: border-color .15s ease;
}
.ab-prod-section .ab-prod-card:hover { border-color: #ff2e88 !important; }
.ab-prod-section .ab-prod-img-wrap {
	flex: 0 0 40px; width: 40px !important; height: 40px !important; padding: 0 !important; margin: 0 !important;
	border-radius: 10px; overflow: hidden; background: #fff;
}
.ab-prod-section .ab-prod-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover; }
.ab-prod-section .ab-card-b { padding: 0 !important; min-width: 0; }
.ab-prod-section .ab-card-b h3 {
	display: block !important; margin: 0 0 2px !important; font-size: 11px !important; font-weight: 500; color: #8d96b5 !important;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset !important;
}
.ab-prod-section .ab-prod-price { font-size: 16px !important; font-weight: 800; color: #ffd166 !important; }

/* Phones: the schedule sits inside the news card under the top story (JS adds .skygo-hm-inline) */
.right-panel.skygo-hm-inline { margin: 14px 0 !important; }

/* "แนะนำ" badge on every card of the "รายการแนะนำ" section repeats the heading */
.ab-prog-card .ab-prog-badge { display: none !important; }

/* 日本語 | Romaji switch replacing the flag button (the page's own button stays, hidden, and does the work) */
#today-title #epg-toggle-btn.skygo-hm-hidden { display: none !important; }
.skygo-hm-seg { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 999px; background: #18213d; border: 1px solid #2a3760; }
.skygo-hm-seg button {
	padding: 4px 11px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; box-shadow: none !important;
	color: #8d96b5 !important; font-size: 12px !important; font-weight: 700; line-height: 1.2; cursor: pointer;
}
.skygo-hm-seg button.is-on { background: #e0006f !important; color: #fff !important; } /* #e0006f: 4.8:1 with white */
.skygo-hm-seg button:not(.is-on):hover { color: #fff !important; }
