/*
Theme Name: Dainos123
Theme URI: https://www.dainos123.lt/
Author: MB „Enter prekyba"
Description: Greita, AdSense pritaikyta dainų žodžių tema su trimis dizaino variantais (Šviesus, Tamsus, Kreminis), AJAX paieška, atlikėjų A–Ž rodykle ir TOP dainomis.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: dainos123
*/

/* ========== Dizaino variantai ========== */
:root,
body.skin-light {
	--bg: #f6f7f9;
	--surface: #ffffff;
	--surface-2: #f0f2f5;
	--text: #14161a;
	--muted: #5f6672;
	--border: #e3e6eb;
	--accent: #e5484d;
	--accent-ink: #ffffff;
	--accent-soft: #fdecec;
	--header-bg: #ffffff;
	--header-text: #14161a;
	--hero-bg: linear-gradient(135deg, #e5484d 0%, #f76b15 100%);
	--hero-text: #ffffff;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--lyrics-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.skin-dark {
	--bg: #0d0f13;
	--surface: #161a21;
	--surface-2: #1e232c;
	--text: #eef1f5;
	--muted: #9aa3b2;
	--border: #262c37;
	--accent: #1ed760;
	--accent-ink: #06210f;
	--accent-soft: rgba(30, 215, 96, .12);
	--header-bg: rgba(13, 15, 19, .92);
	--header-text: #eef1f5;
	--hero-bg: radial-gradient(1200px 400px at 10% 0%, rgba(30, 215, 96, .28), transparent 60%), radial-gradient(900px 400px at 100% 100%, rgba(139, 92, 246, .30), transparent 60%), #0d0f13;
	--hero-text: #ffffff;
	--radius: 16px;
	--shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 24px rgba(0, 0, 0, .35);
}

body.skin-paper {
	--bg: #f8f4ec;
	--surface: #fffdf8;
	--surface-2: #f1ebdf;
	--text: #22201c;
	--muted: #6d665a;
	--border: #e4dccb;
	--accent: #3b3fb6;
	--accent-ink: #ffffff;
	--accent-soft: #e8e8f8;
	--header-bg: #f8f4ec;
	--header-text: #22201c;
	--hero-bg: #22201c;
	--hero-text: #f8f4ec;
	--radius: 6px;
	--shadow: none;
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--lyrics-font: "Lora", Georgia, "Times New Roman", serif;
}

/* ========== Bazė ========== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.02em; }
h2 { font-size: 1.35rem; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; background: var(--surface); padding: 8px 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

.btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 9px 14px; border-radius: 999px;
	border: 1px solid var(--border); background: var(--surface); color: var(--text);
	font: 600 .875rem/1 var(--font-body); cursor: pointer;
	transition: border-color .15s, background .15s;
}
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn svg { width: 16px; height: 16px; }

/* ========== Antraštė ========== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--border);
	backdrop-filter: saturate(180%) blur(10px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--header-text); font: 800 1.25rem/1 var(--font-head); letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark {
	width: 34px; height: 34px; border-radius: 10px;
	display: grid; place-items: center;
	background: var(--accent); color: var(--accent-ink);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand img { max-height: 40px; width: auto; }
.skin-paper .brand-mark { border-radius: 50%; }

.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--header-text); font-weight: 600; font-size: .925rem; }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--surface-2); text-decoration: none; }
.main-nav .sub-menu { display: none; }

.header-search { position: relative; width: 300px; }
.menu-toggle, .search-toggle { display: none; background: none; border: 0; color: var(--header-text); padding: 8px; cursor: pointer; }
.menu-toggle svg, .search-toggle svg { width: 24px; height: 24px; }

/* ========== Paieška ========== */
.search-form { position: relative; display: flex; }
.search-form input[type="search"] {
	width: 100%; height: 42px; padding: 0 42px 0 16px;
	border: 1px solid var(--border); border-radius: 999px;
	background: var(--surface-2); color: var(--text);
	font: 500 .95rem var(--font-body); outline: none;
	-webkit-appearance: none;
}
.search-form input[type="search"]:focus { border-color: var(--accent); background: var(--surface); }
.search-form button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; }
.search-form button svg { width: 16px; height: 16px; }

.search-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px);
	background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
	list-style: none; margin: 0; padding: 6px; z-index: 60; display: none;
	max-height: 70vh; overflow: auto;
}
.search-suggest.open { display: block; }
.search-suggest a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); }
.search-suggest a:hover, .search-suggest a.active { background: var(--surface-2); text-decoration: none; }
.search-suggest small { display: block; color: var(--muted); font-size: .8rem; }
.search-suggest .empty { padding: 10px; color: var(--muted); font-size: .9rem; }

/* ========== Hero ========== */
.hero { background: var(--hero-bg); color: var(--hero-text); padding: 56px 0 64px; }
.hero h1 { color: var(--hero-text); font-size: clamp(1.9rem, 5vw, 3rem); max-width: 720px; }
.hero p { opacity: .85; font-size: 1.1rem; max-width: 620px; }
.hero .search-form { max-width: 620px; margin-top: 22px; }
.hero .search-form input[type="search"] { height: 54px; font-size: 1.05rem; background: #fff; color: #14161a; border-color: transparent; padding-left: 20px; }
.hero .search-form button { width: 46px; height: 46px; }
.skin-paper .hero .search-form button { background: #f8f4ec; color: #22201c; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-tags a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: var(--hero-text); font-size: .85rem; font-weight: 600; }
.skin-dark .hero-tags a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.hero-tags a:hover { background: rgba(255, 255, 255, .28); text-decoration: none; }
.hero-stats { display: flex; gap: 28px; margin-top: 26px; font-size: .9rem; opacity: .9; }
.hero-stats strong { display: block; font-size: 1.5rem; font-family: var(--font-head); }

/* ========== Išdėstymas ========== */
.site-main { padding: 32px 0 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.sidebar { position: sticky; top: 88px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.layout > * { min-width: 0; }

.section { margin-bottom: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.skin-paper .section-head { border-bottom: 2px solid var(--text); padding-bottom: 8px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }

/* Dainų kortelės */
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; }
.song-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); transition: transform .15s, border-color .15s; }
.song-card:hover { transform: translateY(-2px); border-color: var(--accent); text-decoration: none; }
.song-thumb { aspect-ratio: 1 / 1; background: var(--surface-2); position: relative; overflow: hidden; }
.song-thumb img { width: 100%; height: 100%; object-fit: cover; }
.song-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 2.2rem var(--font-head); color: #fff; }
.song-card .meta { padding: 12px 14px 14px; }
.song-card .t { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.song-card .a { color: var(--muted); font-size: .875rem; margin-top: 2px; }

/* Sąrašas */
.song-list { list-style: none; margin: 0; padding: 0; }
.song-list li + li { border-top: 1px solid var(--border); }
.song-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: var(--text); }
.song-row:hover { background: var(--surface-2); text-decoration: none; }
.song-row .num { width: 28px; flex: none; text-align: center; font: 800 1.05rem var(--font-head); color: var(--muted); }
.song-row:nth-child(-n+3) .num { color: var(--accent); }
.song-list li:nth-child(-n+3) .num { color: var(--accent); }
.song-row .av { width: 44px; height: 44px; border-radius: 10px; flex: none; overflow: hidden; display: grid; place-items: center; font: 700 1rem var(--font-head); color: #fff; }
.song-row .av img { width: 100%; height: 100%; object-fit: cover; }
.song-row .info { min-width: 0; flex: 1; }
.song-row .t, .song-row .a { display: block; }
.song-row .t { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row .a { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row .v { color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* Atlikėjai */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.artist-chip { display: flex; align-items: center; gap: 10px; padding: 10px; color: var(--text); }
.artist-chip:hover { border-color: var(--accent); text-decoration: none; }
.artist-chip .av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 .95rem var(--font-head); color: #fff; }
.artist-chip .n { font-weight: 650; font-size: .92rem; line-height: 1.25; }
.artist-chip .n { min-width: 0; }
.artist-chip small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }

/* A–Ž */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.az a, .az span { min-width: 36px; height: 36px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; color: var(--text); }
.az a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.az span { opacity: .35; }
.az-group { margin-bottom: 28px; scroll-margin-top: 90px; }
.az-group h2 { font-size: 1.6rem; color: var(--accent); }
.az-list { columns: 3 220px; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.az-list li { break-inside: avoid; padding: 4px 0; }
.az-list a { color: var(--text); font-weight: 550; }
.az-list small { color: var(--muted); }

/* ========== Daina ========== */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span.sep { margin: 0 6px; opacity: .6; }

.song-head { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.song-head .cover { width: 120px; height: 120px; flex: none; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; font: 800 2.6rem var(--font-head); color: #fff; box-shadow: var(--shadow); }
.song-head .cover img { width: 100%; height: 100%; object-fit: cover; }
.song-head .kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.song-head h1 { margin-bottom: 6px; }
.song-head .by { font-size: 1.1rem; color: var(--muted); }
.song-head .by a { font-weight: 700; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.toolbar .sp { flex: 1; }

.lyrics { padding: 28px 32px; font-family: var(--lyrics-font); font-size: var(--lyrics-size, 1.125rem); line-height: 1.85; }
.lyrics p { margin: 0 0 1.4em; }
.lyrics p:last-child { margin-bottom: 0; }
.skin-paper .lyrics { font-size: var(--lyrics-size, 1.2rem); }
.skin-dark .lyrics { line-height: 1.9; }

.ad-slot { margin: 24px 0; text-align: center; min-height: 0; overflow: hidden; }
.ad-slot:empty { display: none; }
.ad-label { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.post-nav a { padding: 14px 16px; color: var(--text); }
.post-nav a:hover { border-color: var(--accent); text-decoration: none; }
.post-nav small { display: block; color: var(--muted); font-size: .78rem; }
.post-nav .next { text-align: right; }

.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }

/* Artist header */
.artist-head { display: flex; gap: 20px; align-items: center; padding: 24px; margin-bottom: 24px; }
.artist-head .av { width: 96px; height: 96px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 800 2.2rem var(--font-head); color: #fff; }
.artist-head h1 { margin-bottom: 4px; }
.artist-head p { margin: 0; color: var(--muted); }

/* Widgets */
.widget { padding: 18px; }
.widget-title { font-size: 1rem; margin-bottom: 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; border-top: 1px solid var(--border); }
.widget li:first-child { border-top: 0; }
.widget .song-list li { padding: 0; }
.widget .song-row { padding: 8px 0; }
.widget .song-row:hover { background: none; }

/* Puslapiavimas */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pagination a:hover { border-color: var(--accent); text-decoration: none; }

/* Komentarai */
.comments { margin-top: 32px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 14px 0; border-top: 1px solid var(--border); }
.comment-meta { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.comment-meta .fn { color: var(--text); font-weight: 700; font-style: normal; }
.comment-meta img { display: none; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit;
}
.comment-form .submit { background: var(--accent); color: var(--accent-ink); border: 0; padding: 11px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* ========== Poraštė ========== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 36px 0 24px; font-size: .9rem; color: var(--muted); }
.skin-paper .site-footer { background: var(--surface-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.footer-grid h3 { font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 3px 0; }
.footer-grid a { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: none; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 40; }
.to-top.show { display: grid; }
.to-top svg { width: 20px; height: 20px; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
}
@media (max-width: 860px) {
	.menu-toggle, .search-toggle { display: block; }
	.header-inner { gap: 8px; }
	.brand { flex: 1; }
	.main-nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--header-bg); border-bottom: 1px solid var(--border); display: none; padding: 8px 16px 16px; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; }
	.header-search { position: absolute; left: 0; right: 0; top: 64px; width: auto; padding: 10px 16px; background: var(--header-bg); border-bottom: 1px solid var(--border); display: none; }
	.header-search.open { display: block; }
	.footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.hero { padding: 36px 0 40px; }
	.hero-stats { gap: 18px; }
	.song-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.song-head { flex-direction: column; align-items: flex-start; }
	.song-head .cover { width: 88px; height: 88px; font-size: 2rem; }
	.lyrics { padding: 20px 18px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { text-align: left; }
	.artist-head { flex-direction: column; align-items: flex-start; }
	.toolbar .btn span { display: none; }
}

/* ========== Suderinamumas su įskiepiais (v1.1) ========== */
/* Senas „EasyMega“ įskiepis apgaubia puslapį overflow:hidden – tai sugadina lipnią antraštę */
#easymega-wp-page { overflow: visible !important; }
.site-footer .brand { color: var(--text); }

/* Dainos priedai po žodžiais */
.song-extras { margin-top: 20px; display: grid; gap: 16px; }
.song-extras .wp-block-embed { margin: 0; }
.song-extras .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.song-extras .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.song-extras .rmp-widgets-container { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; margin: 0 !important; }
.song-extras .rmp-heading { font-family: var(--font-head); color: var(--text); }
.song-extras .post-views, .song-extras .crp_related, .lyrics .post-views, .lyrics .crp_related { display: none !important; }

/* Breadcrumbs (Yoast) */
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .breadcrumb_last { color: var(--text); }

/* Valdikliai iš senos temos */
.widget h2, .widget h3, .widget h4, .widget .wp-block-heading { font-family: var(--font-head); font-size: 1rem; margin: 0 0 12px; color: var(--text); }
.widget a { color: var(--text); font-weight: 550; }
.widget a:hover { color: var(--accent); text-decoration: none; }
.widget .wpp-list li, .widget ol li { padding: 8px 0; }
.widget .wpp-meta, .widget .post-count, .widget small { color: var(--muted); font-size: .8rem; }
.widget .wp-block-search__label { display: none; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget .wp-block-search__input { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); color: var(--text); font: inherit; }
.widget .wp-block-search__button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; cursor: pointer; margin: 0; }
.widget .wp-block-tag-cloud, .tag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.widget .wp-block-tag-cloud a, .tag-chips a { font-size: .82rem !important; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.widget .wp-block-tag-cloud a:hover, .tag-chips a:hover { border-color: var(--accent); }
.widget .wp-block-group:empty, .widget:empty { display: none; }

/* A–Ž puslapio įžanga */
.az-intro { max-width: 760px; color: var(--muted); margin-bottom: 20px; }

/* Ikonos antraštėse */
.widget-title svg, .section-head h2 svg { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; color: var(--accent); }
.widget-title { display: flex; align-items: center; gap: 6px; }

/* Rate My Post – suderinimas su tema */
.rmp-widgets-container ul { list-style: none !important; margin: 8px 0 !important; padding: 0 !important; display: inline-flex !important; gap: 4px; }
.rmp-widgets-container li { list-style: none !important; padding: 0 !important; border: 0 !important; display: inline-block !important; }
.rmp-widgets-container .rmp-heading--title { font-size: 1.1rem !important; font-weight: 700; margin: 0 0 4px !important; }
.rmp-widgets-container .rmp-rating-widget__submit-btn:not(.rmp-rating-widget__submit-btn--visible) { display: none !important; }
.rmp-widgets-container .rmp-rating-widget__submit-btn { background: var(--accent) !important; color: var(--accent-ink) !important; border-radius: 999px; padding: 8px 18px; border: 0; }
.rmp-widgets-container .rmp-rating-widget__results { color: var(--muted); font-size: .9rem; }
.rmp-widgets-container p { margin: 4px 0; }

/* Klasikinis YouTube įterpimas (<p><iframe>) */
.song-extras > p { margin: 0; }
.song-extras p iframe { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.submit-form .lbl { display: block; }

/* TOP skirtukai */
.top-tabs .tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 8px; background: var(--surface-2); border-radius: 999px; }
.top-tabs .tabs button { border: 0; background: none; padding: 7px 0; border-radius: 999px; font: 700 .85rem var(--font-body); color: var(--muted); cursor: pointer; }
.top-tabs .tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.skin-dark .top-tabs .tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.top-tabs .empty { padding: 12px 0; color: var(--muted); font-size: .9rem; }

/* Dainų įkėlimas */
.header-cta { white-space: nowrap; }
.submit-form { display: grid; gap: 16px; }
.submit-form label { display: grid; gap: 6px; font-weight: 650; font-size: .92rem; }
.submit-form input[type="text"], .submit-form input[type="url"], .submit-form input[type="email"], .submit-form textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
	background: var(--surface-2); color: var(--text); font: 400 1rem/1.5 var(--font-body);
}
.submit-form textarea { font-family: var(--lyrics-font); line-height: 1.7; resize: vertical; min-height: 280px; }
.submit-form input:focus, .submit-form textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.submit-form .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-form .f-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.submit-form .f-check input { margin-top: 4px; accent-color: var(--accent); }
.submit-form .req { color: var(--accent); }
.submit-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-lg { padding: 13px 22px; font-size: 1rem; justify-self: start; }
.notice { margin-bottom: 16px; }
.notice ul { margin: 0; padding-left: 18px; }
.notice-ok { border-color: #30a46c; }
.notice-ok p { margin: 6px 0 12px; color: var(--muted); }
.notice-err { border-color: #e5484d; color: #e5484d; }
.submit-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: var(--accent-soft); border-color: transparent; }
.submit-cta strong { display: block; }
.submit-cta span { color: var(--muted); font-size: .9rem; }
.submitted-by { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.howto { margin: 0; padding-left: 20px; color: var(--muted); font-size: .92rem; }
.howto li { padding: 4px 0; border: 0; }
@media (max-width: 1100px) { .header-cta span { display: none; } }
@media (max-width: 860px) { .header-cta { padding: 8px; } }
@media (max-width: 600px) {
	.submit-form .f-row { grid-template-columns: 1fr; }
	.submit-cta { flex-direction: column; align-items: flex-start; }
}

@media print {
	.site-header, .site-footer, .sidebar, .toolbar, .ad-slot, .post-nav, .comments, .related, .to-top, .breadcrumbs { display: none !important; }
	body { background: #fff; color: #000; }
	.layout { display: block; }
	.card { border: 0; box-shadow: none; }
	.lyrics { padding: 0; }
}
