/*
Theme Name: Sydney Malam Neon
Theme URI: https://livedrawsydneymalam.com
Author: Live Draw Sydney Malam
Author URI: https://livedrawsydneymalam.com
Description: Tema WordPress untuk Live Draw Sydney Malam – Pantau Hasil Undian Sydney Terbaru. Live draw otomatis, tabel result, data keluaran, paito warna 4D/6D, SEO (meta index, canonical, robots.txt, schema JSON-LD), halaman & menu dibuat otomatis saat aktivasi.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sydney-malam
Tags: two-columns, right-sidebar, custom-menu, custom-logo, featured-images
*/

:root {
	--navy-950: #0a0820;
	--navy-900: #100c2c;
	--navy-800: #17123f;
	--navy-700: #221a5c;
	--indigo: #2d2380;
	--violet: #4b2a9a;
	--pink: #ff3ea5;
	--pink-600: #d81b80;
	--pink-100: #ffe4f3;
	--lav-50: #f8f5ff;
	--lav-100: #efe9ff;
	--lav-200: #e0d7ff;
	--lav-300: #cbbdff;
	--lav-400: #a996f5;
	--ink: #1c1847;
	--muted: #625e85;
	--white: #fff;
	--radius: 14px;
	--mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background-color: var(--navy-950);
	background-image:
		radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.75) 50%, transparent 51%),
		radial-gradient(1px 1px at 72% 9%, rgba(255,255,255,.6) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 38% 62%, rgba(255,255,255,.55) 50%, transparent 51%),
		radial-gradient(1px 1px at 88% 44%, rgba(255,255,255,.7) 50%, transparent 51%),
		radial-gradient(1px 1px at 22% 84%, rgba(255,255,255,.5) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 58% 32%, rgba(255,214,240,.6) 50%, transparent 51%),
		radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255,62,165,.28), transparent 70%),
		radial-gradient(ellipse 60% 50% at 100% 100%, rgba(75,42,154,.45), transparent 70%),
		linear-gradient(180deg, var(--navy-900), var(--navy-950));
	background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 340px 340px, 600px 600px, 100% 100%, 100% 100%, 100% 100%;
	background-attachment: fixed;
}

img { max-width: 100%; height: auto; }
a { color: var(--pink-600); }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
	z-index: 1000; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px;
}

.site { max-width: 1160px; margin: 0 auto; padding: 0 14px; }

/* ---------- Topbar ---------- */
.topbar {
	display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
	padding: 8px 4px; font-size: 13px; color: var(--lav-300);
}
.topbar strong { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
	position: relative;
	border-radius: 18px 18px 0 0;
	padding: 18px 20px 14px;
	text-align: center;
	background:
		radial-gradient(circle at 15% 30%, rgba(255,62,165,.10), transparent 40%),
		radial-gradient(circle at 85% 70%, rgba(124,92,255,.14), transparent 45%),
		linear-gradient(180deg, #fff7fc 0%, #f1ebff 100%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 40px rgba(255,62,165,.18);
}
.brand { display: flex; justify-content: center; }
.brand img, .brand .custom-logo { display: block; width: min(440px, 82vw); height: auto; }
.brand a { display: inline-block; }

/* ---------- Nav ---------- */
.main-nav {
	position: relative;
	background: linear-gradient(90deg, var(--indigo) 0%, var(--violet) 55%, #7d1f8c 100%);
	border-top: 2px solid var(--pink);
	box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.main-nav .menu { list-style: none; margin: 0; padding: 0 8px; display: flex; flex-wrap: wrap; }
.main-nav .menu > li { position: relative; }
.main-nav a {
	display: block; padding: 13px 16px; color: var(--white); text-decoration: none;
	font-weight: 700; font-size: 15px; letter-spacing: .2px; border-right: 1px solid rgba(255,255,255,.1);
}
.main-nav a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	background: var(--pink); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 0 18px rgba(255,62,165,.6);
}
.main-nav .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 220px; z-index: 20;
	list-style: none; margin: 0; padding: 6px 0; background: var(--navy-800); border: 1px solid var(--violet);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.nav-toggle {
	display: none; align-items: center; gap: 10px; width: 100%;
	background: none; border: 0; color: var(--white); font: 700 15px var(--sans); padding: 13px 16px; cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
	display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }

/* ---------- Ticker ---------- */
.ticker {
	display: flex; align-items: center; gap: 10px; overflow: hidden;
	background: #120d35; border: 1px solid rgba(255,62,165,.35); border-top: 0;
	border-radius: 0 0 14px 14px; padding: 7px 10px; color: var(--lav-200); font-size: 14px;
}
.ticker-label {
	flex: none; background: var(--pink); color: var(--white); font-weight: 800; font-size: 12px;
	padding: 3px 10px; border-radius: 999px; letter-spacing: .5px; text-transform: uppercase;
}
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 28px; white-space: nowrap; animation: ldsm-marquee 38s linear infinite; }
.ticker-item b { color: var(--white); font-family: var(--mono); letter-spacing: 2px; margin-left: 4px; }
@keyframes ldsm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker-move { animation-play-state: paused; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin-top: 18px; align-items: start; }
.content { min-width: 0; }
.content:focus { outline: none; }

.box {
	background: var(--white);
	border: 1px solid var(--lav-200);
	border-radius: var(--radius);
	padding: 22px 24px;
	box-shadow: 0 12px 34px rgba(0,0,0,.28);
}
.box + .box { margin-top: 18px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--lav-300); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--pink); }
.breadcrumb a { color: var(--lav-100); text-decoration: none; }
.breadcrumb a:hover { color: var(--pink); }

/* ---------- Entry ---------- */
.entry-header { margin-bottom: 12px; }
.entry-title { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
.entry-meta { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
	position: relative; font-size: 21px; line-height: 1.3; margin: 30px 0 12px; padding-left: 14px; color: var(--ink);
}
.entry-content h2::before {
	content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 4px;
	background: linear-gradient(180deg, var(--pink), var(--violet));
}
.entry-content h3 { font-size: 18px; margin: 22px 0 8px; }
.entry-content p { margin: 0 0 14px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin: 0 0 16px; }
.entry-content li { margin-bottom: 6px; }
.entry-content li::marker { color: var(--pink); }
.entry-thumb { margin: 0 0 16px; }
.entry-thumb img { border-radius: 12px; }

/* ---------- Live draw ---------- */
.ldsm-live {
	margin: 18px 0 22px; padding: 22px 18px 18px; text-align: center; color: var(--white);
	border-radius: 18px; border: 2px solid var(--pink);
	background:
		radial-gradient(1px 1px at 20% 20%, rgba(255,255,255,.8) 50%, transparent 51%),
		radial-gradient(1px 1px at 80% 30%, rgba(255,255,255,.6) 50%, transparent 51%),
		radial-gradient(1px 1px at 60% 12%, rgba(255,255,255,.7) 50%, transparent 51%),
		radial-gradient(circle at 50% 0%, #3b2b94 0%, #1b1453 55%, #110c36 100%);
	box-shadow: 0 0 0 4px rgba(255,62,165,.14), 0 0 34px rgba(255,62,165,.35);
}
.live-head { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.live-badge {
	display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
	background: #f59e0b; color: #1c1300;
}
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state-live .live-badge { background: var(--pink); color: var(--white); }
.state-live .live-badge i { animation: ldsm-pulse 1s ease-in-out infinite; }
.state-done .live-badge { background: #22c55e; color: #052e14; }
.live-title { margin: 6px 0 0; font-size: 22px; color: var(--white); line-height: 1.2; }
.entry-content .live-title { padding: 0; margin: 6px 0 0; color: var(--white); }
.entry-content .live-title::before { display: none; }
.live-date { color: var(--lav-300); font-size: 14px; }
.live-caption { margin: 8px auto 14px !important; color: var(--lav-200); font-size: 14px; max-width: 520px; }

.balls { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.ball {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle at 34% 28%, #fff 0%, #f1ecff 42%, #c9baff 100%);
	box-shadow: inset -4px -6px 10px rgba(70,40,160,.35), 0 0 0 3px var(--pink), 0 6px 18px rgba(255,62,165,.45);
}
.ball b { font: 900 28px/1 var(--sans); color: var(--ink); }
.ball.is-reveal { animation: ldsm-pop .5s cubic-bezier(.2,1.6,.4,1); }
.is-rolling .ball { animation: ldsm-bob 1.2s ease-in-out infinite; }
.is-rolling .ball:nth-child(2) { animation-delay: .1s; }
.is-rolling .ball:nth-child(3) { animation-delay: .2s; }
.is-rolling .ball:nth-child(4) { animation-delay: .3s; }
.is-rolling .ball:nth-child(5) { animation-delay: .4s; }
.is-rolling .ball:nth-child(6) { animation-delay: .5s; }
.is-rolling .ball b { color: var(--violet); }

.live-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.live-meta > div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 9px 6px; }
.live-meta small { display: block; color: var(--lav-300); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.live-meta strong { font: 800 20px/1.3 var(--mono); letter-spacing: 3px; color: var(--white); }
.live-meta > div:first-child strong { color: #ff8fcb; }

.countdown { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.18); }
.countdown small { display: block; color: var(--lav-300); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.countdown b { display: block; font: 800 32px/1.2 var(--mono); color: var(--pink); text-shadow: 0 0 16px rgba(255,62,165,.6); letter-spacing: 2px; }
.cd-sched { display: block; font-size: 12px; color: var(--lav-300); }

@keyframes ldsm-pulse { 50% { opacity: .25; } }
@keyframes ldsm-bob { 50% { transform: translateY(-6px); } }
@keyframes ldsm-pop { 0% { transform: scale(.4) rotate(-90deg); } 100% { transform: scale(1) rotate(0); } }

/* ---------- Tabel ---------- */
.table-wrap {
	overflow-x: auto; margin: 12px 0 22px; border: 1px solid var(--lav-200); border-radius: 12px;
	-webkit-overflow-scrolling: touch;
}
.ldsm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ldsm-table th {
	background: linear-gradient(180deg, var(--indigo), var(--navy-700)); color: var(--white);
	font-size: 13px; text-transform: uppercase; letter-spacing: .6px; padding: 10px 8px; white-space: nowrap;
}
.ldsm-table td { padding: 9px 8px; text-align: center; border-top: 1px solid var(--lav-100); white-space: nowrap; }
.ldsm-table tbody tr:nth-child(even) td { background: var(--lav-50); }
.ldsm-table tr.is-latest td { background: var(--pink-100); font-weight: 700; }
.num-4d {
	display: inline-block; min-width: 64px; padding: 3px 10px; border-radius: 7px;
	background: var(--navy-700); color: var(--white); font: 800 16px/1.4 var(--mono); letter-spacing: 3px;
}
.is-latest .num-4d { background: var(--pink); box-shadow: 0 0 12px rgba(255,62,165,.5); }
.mono { font-family: var(--mono); letter-spacing: 1.5px; }
.data-table td small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.data-table td.is-empty { color: #c8c0ea; }
.kv-table th { background: var(--lav-50); color: var(--ink); text-align: left; width: 42%; text-transform: none; letter-spacing: 0; font-size: 14px; border-top: 1px solid var(--lav-100); }
.kv-table td { text-align: left; white-space: normal; }
.table-title { margin: 10px 0 0 !important; font-size: 17px; }

.year-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.chip {
	display: inline-block; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--lav-300);
	color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px;
}
.chip:hover { border-color: var(--pink); color: var(--pink-600); }
.chip.is-active { background: var(--pink); border-color: var(--pink); color: var(--white); }

.ldsm-empty { background: var(--lav-50); border: 1px dashed var(--lav-400); border-radius: 12px; padding: 14px 16px; color: var(--muted); }

/* ---------- Paito ---------- */
.paito { margin: 10px 0 22px; }
.paito-tools {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px;
	background: var(--lav-50); border: 1px solid var(--lav-200); border-radius: 12px 12px 0 0;
}
.pt-label { font-weight: 700; font-size: 13px; margin-right: 2px; }
.swatch {
	width: 28px; height: 28px; border-radius: 7px; border: 2px solid var(--white); cursor: pointer; padding: 0;
	background: var(--c, #fff); box-shadow: 0 0 0 1px var(--lav-300); font-size: 13px; color: var(--muted);
}
.swatch.is-active { box-shadow: 0 0 0 3px var(--ink); }
.swatch.eraser { background: var(--white); }
.pt-group { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; flex-wrap: wrap; }
.pt-digit { width: 40px; text-align: center; font: 700 15px var(--mono); padding: 4px; border: 1px solid var(--lav-300); border-radius: 6px; }
.pt-btn {
	background: var(--navy-700); color: var(--white); border: 0; border-radius: 7px; padding: 6px 12px;
	font: 700 13px var(--sans); cursor: pointer;
}
.pt-btn:hover { background: var(--pink); }
.paito-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0 !important; }
.paito-wrap { margin-top: 8px; max-height: 560px; overflow: auto; }
.paito-table { border-collapse: collapse; font: 700 13px/1 var(--mono); margin: 0 auto; }
.paito-table thead th { position: sticky; top: 0; z-index: 2; background: var(--navy-700); color: var(--white); padding: 7px 2px; font-size: 12px; border: 1px solid #3b3290; }
.paito-table thead tr.sub th { top: 27px; background: var(--violet); font-size: 10px; padding: 3px 0; }
.paito-table td { width: 23px; min-width: 23px; height: 24px; text-align: center; border: 1px solid #ddd7f3; background: var(--white); transition: background .12s; }
.paito-table.d6 td { width: 20px; min-width: 20px; font-size: 12px; }
.paito-table .dl { border-left: 2px solid var(--indigo); }
.paito-table td.pc { cursor: pointer; }
.paito-table td.pc:hover { outline: 2px solid var(--pink); outline-offset: -2px; }
.paito-table td.pe { background: #f2effb; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--lav-200); border-radius: 12px; margin-bottom: 10px; background: var(--white); }
.faq summary { cursor: pointer; padding: 12px 44px 12px 16px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 8px; font-size: 22px; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--pink-600); }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); }

/* ---------- Sosial ---------- */
.socials { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-content .socials { padding-left: 0; }
.socials li { margin: 0; }
.soc {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
	background: var(--white); border: 1px solid var(--lav-200); color: var(--ink); text-decoration: none;
	font-size: 13px; font-weight: 700; transition: background .15s, color .15s, border-color .15s;
}
.soc i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.soc:hover { background: var(--c); border-color: var(--c); color: var(--white); }
.soc:hover i { background: var(--white); }
.contact-box { background: var(--lav-50); border: 1px solid var(--lav-200); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }

/* ---------- Sidebar ---------- */
.sidebar .widget { padding: 18px 18px 16px; }
.sidebar .widget + .widget { margin-top: 18px; }
.widget-title {
	margin: 0 0 12px; font-size: 16px; padding-bottom: 9px; border-bottom: 2px solid var(--pink-100);
	display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.latest-list { list-style: none; margin: 0; padding: 0; }
.latest-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--lav-200); font-size: 14px; }
.latest-list li:first-child .num-4d { background: var(--pink); }
.latest-list li:last-child { border-bottom: 0; }
.latest-list .num-4d { min-width: 0; font-size: 14px; padding: 2px 8px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.cat-list a::before { content: "›"; color: var(--pink); margin-right: 8px; font-weight: 800; }
.cat-list a:hover, .cat-list .is-current a { background: var(--pink-100); color: var(--pink-600); }
.sched-big { margin: 0; font: 800 30px/1.2 var(--mono); color: var(--pink-600); }
.muted { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.sidebar .widget ul:not(.latest-list):not(.cat-list):not(.socials) { padding-left: 18px; margin: 0; }

/* ---------- Post list ---------- */
.post-list { display: grid; gap: 14px; }
.post-card { display: flex; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--lav-100); }
.pc-thumb { flex: 0 0 160px; }
.pc-thumb img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; }
.pc-title { margin: 0; font-size: 18px; }
.pc-title a { color: var(--ink); text-decoration: none; }
.pc-title a:hover { color: var(--pink-600); }
.pc-meta { margin: 2px 0 6px; font-size: 13px; color: var(--muted); }
.pc-excerpt p { margin: 0; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.nav-links .page-numbers { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--lav-200); text-decoration: none; color: var(--ink); }
.nav-links .current { background: var(--pink); color: var(--white); border-color: var(--pink); }
.post-navigation { margin-top: 14px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { color: var(--lav-100); }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 8px; margin-top: 12px; }
.search-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--lav-300); border-radius: 10px; font: 15px var(--sans); }
.search-form button { background: var(--pink); color: var(--white); border: 0; border-radius: 10px; padding: 0 18px; font-weight: 700; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer {
	margin-top: 26px; color: #cfc8f5; font-size: 14px;
	background: linear-gradient(180deg, #140f3a, #0c0927); border-top: 3px solid var(--pink);
	border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(255,62,165,.12);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; padding: 28px 26px 18px; }
.f-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 18px; }
.f-brand img { border-radius: 12px; box-shadow: 0 0 16px rgba(255,62,165,.4); }
.f-about p { margin: 12px 0 0; line-height: 1.65; }
.f-title { margin: 0 0 12px; font-size: 14px; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 6px; }
.f-links a { color: #e8e3ff; text-decoration: none; }
.f-links a:hover { color: var(--pink); }
.site-footer .soc { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: var(--white); }
.site-footer .soc:hover { background: var(--c); }
.site-footer .soc i { box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 26px 22px; text-align: center; }
.footer-nav .menu { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer-nav a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--pink); }
.age-note { margin: 0 0 6px; font-size: 13px; }
.age { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--pink); color: var(--pink); font-weight: 800; font-size: 11px; margin-right: 6px; vertical-align: middle; }
.copy { margin: 0; font-size: 13px; color: #a79fd6; }
.copy a { color: #e8e3ff; text-decoration: none; }

.to-top {
	position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
	background: var(--pink); color: var(--white); font-size: 20px; font-weight: 800; cursor: pointer;
	box-shadow: 0 6px 20px rgba(255,62,165,.5); z-index: 50;
}

/* ---------- Comments ---------- */
.comments { margin-top: 18px; }
.comment-list { padding-left: 18px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--lav-300); border-radius: 8px; font: 15px var(--sans); }
.comment-form .submit { background: var(--pink); color: var(--white); border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 700; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.f-about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
	.nav-toggle { display: flex; }
	.main-nav .nav-menu { display: none; }
	.main-nav.is-open .nav-menu { display: block; }
	.main-nav .menu { flex-direction: column; padding: 0 0 8px; }
	.main-nav a { border-right: 0; border-top: 1px solid rgba(255,255,255,.08); }
	.main-nav .sub-menu { position: static; display: block; border: 0; background: rgba(0,0,0,.15); }
	.topbar { justify-content: center; text-align: center; }
	.site-header { padding: 14px 12px 10px; }
	.box { padding: 18px 16px; }
	.entry-title { font-size: 23px; }
	.entry-content h2 { font-size: 19px; }
	.ldsm-live { padding: 18px 12px 14px; }
	.balls { gap: 6px; flex-wrap: nowrap; }
	.ball { width: 40px; height: 40px; flex: none; }
	.ball b { font-size: 20px; }
	.live-meta { gap: 6px; }
	.ldsm-table td, .ldsm-table th { padding-left: 6px; padding-right: 6px; }
	.live-meta strong { font-size: 16px; letter-spacing: 2px; }
	.countdown b { font-size: 26px; }
	.pt-group { margin-left: 0; }
	.footer-grid { grid-template-columns: 1fr; padding: 22px 18px 10px; }
	.post-card { flex-direction: column; }
	.pc-thumb { flex-basis: auto; }
}
@media (max-width: 360px) {
	.ball { width: 35px; height: 35px; }
	.ball b { font-size: 18px; }
	.live-meta strong { font-size: 14px; letter-spacing: 1px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
