/* HIPHOP.LT pagrindinis dizainas + mobilus pataisymas */
/* Įkelti į: /assets/style.css */

:root {
    --bg: #090909;
    --bg-soft: #111;
    --card: rgba(255, 255, 255, .075);
    --card-strong: rgba(255, 255, 255, .105);
    --line: rgba(255, 255, 255, .13);
    --text: #fff;
    --muted: rgba(255, 255, 255, .72);
    --muted-2: rgba(255, 255, 255, .55);
    --yellow: #ffcc00;
    --yellow-dark: #d8a900;
    --red: #ff3b30;
    --green: #34c759;
    --shadow: 0 14px 38px rgba(0, 0, 0, .28);
    --radius-xl: 18px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: var(--bg);
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% -10%, rgba(255, 204, 0, .20), transparent 34%),
        radial-gradient(circle at 90% 8%, rgba(255, 59, 48, .16), transparent 28%),
        linear-gradient(135deg, #050505 0%, #111 45%, #070707 100%);
    line-height: 1.5;
}

body.player-open {
    padding-bottom: 130px;
}

img,
iframe,
video {
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.hidden {
    display: none !important;
}

.page {
    width: min(var(--container), calc(100% - 34px));
    margin: 0 auto;
    padding: 14px 0 28px;
}

/* HERO */

.hero {
    position: relative;
    padding: clamp(28px, 6vw, 70px) 0 clamp(22px, 4vw, 46px);
    text-align: center;
}

.site-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.site-logo {
    width: min(170px, 58vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .45));
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #111;
    background: var(--yellow);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .68rem;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .20);
}

.hero h1 {
    margin: 10px auto 8px;
    max-width: 980px;
    font-size: clamp(1.75rem, 5vw, 3.2rem);
    line-height: .92;
    letter-spacing: -1.8px;
    text-transform: uppercase;
    font-weight: 1000;
    text-wrap: balance;
}

.hero p {
    margin: 0 auto;
    max-width: 720px;
    color: var(--muted);
    font-size: .95rem;
}

.history-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid var(--line);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.history-back:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .22);
}

/* HOME */

.home-hero {
    padding: 8px 0 8px;
}

.home-hero .site-logo-wrap {
    margin-bottom: 14px;
}

.home-hero .site-logo {
    width: min(150px, 56vw);
}

.home-hero h1 {
    margin: 8px auto 6px;
    font-size: clamp(1.65rem, 4.4vw, 2.9rem);
    letter-spacing: -1.6px;
}

.home-hero p {
    font-size: 1rem;
}

.submit-card-top {
    margin: 8px 0 12px;
}

/* HOME LIGHT VARIANT */

body.home-light {
    color: #151515;
    background:
        radial-gradient(circle at 10% -12%, rgba(255, 204, 0, .35), transparent 30%),
        radial-gradient(circle at 90% 4%, rgba(255, 59, 48, .12), transparent 24%),
        linear-gradient(180deg, #fffdf4 0%, #f5f2ea 48%, #ece8de 100%);
}

body.home-light .site-logo {
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .16));
}

body.home-light .hero p,
body.home-light .channel,
body.home-light .track-main-info p,
body.home-light .track-card p,
body.home-light .votes,
body.home-light .archive-random p {
    color: rgba(20, 20, 20, .68);
}

body.home-light .history-back,
body.home-light .winner-strip,
body.home-light .submit-card,
body.home-light .arena,
body.home-light .archive-random,
body.home-light .track-card {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(20, 20, 20, .10);
    box-shadow: 0 16px 42px rgba(37, 31, 12, .12);
    backdrop-filter: blur(14px);
}

body.home-light .history-back,
body.home-light .share-btn,
body.home-light .report-btn {
    color: #171717;
}

body.home-light .winner-strip,
body.home-light .submit-card,
body.home-light .arena {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .90), rgba(255, 255, 255, .72));
}

body.home-light .submit-card input {
    color: #141414;
    background: rgba(255, 255, 255, .86);
    border-color: rgba(20, 20, 20, .12);
}

body.home-light .submit-card input::placeholder {
    color: rgba(20, 20, 20, .44);
}

body.home-light .track-card {
    background: rgba(255, 255, 255, .82);
}

body.home-light .track-main-info h3,
body.home-light .track-card h3,
body.home-light .winner-strip .winner-info h2,
body.home-light .section-head h2,
body.home-light .archive-random h2 {
    color: #151515;
}

body.home-light .votes strong,
body.home-light .winner-stats strong,
body.home-light .votes-wallet-number {
    color: #b88700;
}

body.home-light .vote-point-btn,
body.home-light .share-btn {
    background: rgba(255, 204, 0, .20);
    border-color: rgba(184, 135, 0, .24);
    color: #7d5b00;
}

body.home-light .report-btn {
    background: rgba(20, 20, 20, .05);
    border-color: rgba(20, 20, 20, .10);
}

body.home-light .empty-arena {
    color: rgba(20, 20, 20, .58);
    border-color: rgba(20, 20, 20, .18);
}

body.home-light .votes-wallet {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(20, 20, 20, .10);
    box-shadow: 0 14px 34px rgba(37, 31, 12, .16);
}

body.home-light .votes-wallet-label {
    color: rgba(20, 20, 20, .62);
}

body.home-light .archive-random {
    background:
        radial-gradient(circle at top left, rgba(255, 204, 0, .28), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .66));
}

body.home-light .music-player-bar {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(20, 20, 20, .12);
    box-shadow: 0 18px 46px rgba(37, 31, 12, .22);
}

body.home-light .music-player-meta h3 {
    color: #151515;
}

body.home-light .listen-status {
    color: #9b7200;
}

body.home-light .playlist-btn,
body.home-light .autoplay-toggle {
    color: #171717;
    background: rgba(20, 20, 20, .055);
    border-color: rgba(20, 20, 20, .10);
}

body.home-light .player-progress {
    color: rgba(20, 20, 20, .58);
}

body.home-light .player-progress input[type="range"] {
    background: rgba(20, 20, 20, .14);
}

/* HOME LEGACY NEWS VARIANT */

body.home-legacy {
    color: #151515;
    background: #ececec;
    font-family: Arial, Helvetica, sans-serif;
}

.legacy-site-header {
    background: #fff;
    border-bottom: 1px solid #d7d7d7;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.legacy-topline {
    width: min(1140px, calc(100% - 18px));
    height: 36px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    gap: 0;
    color: #555;
    font-size: 12px;
}

.legacy-topline a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    color: #fff;
    background: #e01818;
    text-decoration: none;
    font-weight: 700;
}

.legacy-date {
    padding-right: 16px;
}

.legacy-work-link {
    margin-right: 14px;
}

.legacy-submit-note {
    color: #222;
}

.legacy-nav {
    width: min(1140px, calc(100% - 18px));
    min-height: 90px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    align-items: center;
    gap: 26px;
}

.legacy-brand img {
    display: block;
    width: 92px;
    filter: none;
}

.legacy-brand-text {
    color: #111;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -1.6px;
}

.legacy-brand-text:hover {
    color: #e01818;
}

.legacy-nav nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    align-self: stretch;
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-end;
}

.legacy-nav nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #171717;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 0 18px;
    gap: 8px;
}

.legacy-nav nav a svg { width:22px; height:22px; flex:0 0 22px; fill:currentColor; }

.legacy-nav nav a:hover {
    color: #e01818;
}

.legacy-nav nav a.active {
    background: #050505;
    color: #fff;
}

.legacy-menu-toggle { display:none; width:46px; height:42px; border:1px solid #111; background:#fff; padding:9px; cursor:pointer; }
.legacy-menu-toggle span { display:block; width:100%; height:3px; margin:4px 0; background:#111; transition:transform .2s ease, opacity .2s ease; }
.legacy-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.legacy-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.legacy-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.cookie-consent { position:fixed; z-index:1000; left:18px; right:18px; bottom:18px; display:none; align-items:center; justify-content:space-between; gap:20px; max-width:900px; margin:auto; padding:16px 18px; border:2px solid #111; background:#fff; color:#111; box-shadow:8px 8px 0 rgba(0,0,0,.35); }
.cookie-consent.is-visible { display:flex; }
.cookie-consent strong { font-size:1rem; }
.cookie-consent p { margin:4px 0 0; max-width:580px; font-size:.82rem; line-height:1.4; }
.cookie-consent-actions { display:flex; gap:8px; flex:0 0 auto; }
.cookie-consent button { min-height:40px; border:1px solid #111; padding:0 14px; background:#fff; color:#111; font-weight:900; cursor:pointer; }
.cookie-consent button.primary { background:#111; color:#fff; }
.cookie-consent a { color:inherit; font-weight:900; }
.legacy-privacy-link { color:inherit; font-size:.72rem; font-weight:800; }
.privacy-content { width:min(860px, calc(100% - 28px)); }
.privacy-content > section { margin-top:14px; padding:22px; border:1px solid #d5d5d5; background:#fff; }
.privacy-content h2 { margin:0 0 12px; font-size:1.25rem; }
.privacy-content p, .privacy-content li { color:#444; line-height:1.7; }
.privacy-content li + li { margin-top:8px; }
.privacy-content a { color:#b20f0f; font-weight:800; }
.privacy-consent-reset { min-height:42px; border:0; padding:0 14px; background:#111; color:#fff; font-weight:900; cursor:pointer; }

/* Vartotojų paskyros ir Repoteka */
.auth-shell { display:grid; place-items:center; min-height:70vh; }
.auth-card { width:min(460px,100%); padding:26px; border:2px solid #111; background:#fff; box-shadow:8px 8px 0 #ffba08; }
.auth-card h1 { margin:8px 0 22px; }
.auth-card form { display:grid; gap:14px; }
.auth-card label { display:grid; gap:6px; font-size:.78rem; font-weight:900; }
.auth-card input { min-height:44px; border:1px solid #bbb; padding:0 12px; font:inherit; }
.auth-card button,.repoteka-page button { min-height:42px; border:0; padding:0 14px; background:#111; color:#fff; font-weight:900; cursor:pointer; }
.auth-error,.repoteka-message.error { padding:10px; background:#ffe3e3; color:#9d0000; font-weight:800; }
.repoteka-message.success { padding:10px; background:#fff1ad; color:#111; font-weight:800; }
.repoteka-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; padding:28px; background:#fff; color:#111; }
.repoteka-hero-brand { display:flex; align-items:center; gap:clamp(20px,3vw,42px); min-width:0; }
.repoteka-hero-logo { width:clamp(150px,17vw,220px); height:auto; flex:0 0 auto; object-fit:contain; }
.repoteka-hero h1 { margin:5px 0; font-size:clamp(2.5rem,7vw,5rem); }
.repoteka-hero p { max-width:680px; color:#555; }
.repoteka-user { display:grid; grid-template-columns:1fr 1fr; gap:9px; width:min(100%,340px); flex:0 0 340px; }
.repoteka-user > strong { grid-column:1 / -1; padding-bottom:2px; font-size:.82rem; letter-spacing:.04em; text-transform:uppercase; }
.repoteka-user a,.repoteka-user button { display:flex; align-items:center; justify-content:center; min-height:40px; padding:0 12px; border:1px solid #111; color:#111; background:transparent; text-align:center; text-decoration:none; font-size:.76rem; font-weight:900; }
.repoteka-user form { grid-column:1 / -1; margin:0; }
.repoteka-user form button { width:100%; }
.repoteka-user .primary-link { background:#ffba08; color:#111; border-color:#ffba08; }
.repoteka-tools { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:18px 0; }
.repoteka-tools .global-search { align-content:end; gap:8px; padding:12px; border:1px solid #ccc; background:#fff; }
.repoteka-tools .global-search::before { content:'Ieškoti Repotekoje'; grid-column:1 / -1; font-size:.72rem; font-weight:900; }
.repoteka-tools .global-search input { height:42px; border:1px solid #aaa; }
.repoteka-tools .global-search button { min-height:42px; }
.repoteka-submit { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:12px; border:1px solid #ccc; background:#fff; }
.repoteka-submit label { display:grid; gap:5px; font-size:.72rem; font-weight:900; }
.repoteka-submit input,.playlist-create input,.playlist-create textarea,.playlist-create select { width:100%; min-height:42px; border:1px solid #bbb; padding:10px; font:inherit; }
.repoteka-login-note { margin:0; padding:16px; border:1px solid #ccc; background:#fff; }
.repoteka-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.repoteka-card { min-width:0; border:1px solid #ccc; background:#fff; }
.repoteka-video { aspect-ratio:16/9; background:#000; }
.repoteka-video iframe { width:100%; height:100%; border:0; }
.repoteka-card-body { padding:13px; }
.repoteka-card h2 { margin:0 0 6px; font-size:1rem; line-height:1.2; }
.repoteka-card p { margin:0 0 5px; color:#555; }
.repoteka-card small { color:#777; }
.repoteka-card form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; margin-top:12px; }
.repoteka-card select { min-width:0; border:1px solid #aaa; padding:8px; }
.repoteka-player-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr); gap:16px; align-items:start; }
.repoteka-main-player,.repoteka-queue { border:1px solid #bbb; background:#fff; }
.repoteka-week-results { padding:22px; border-top:1px solid #ddd; background:#fff; color:#111; }
.repoteka-week-results>div:first-child>span { color:#b20f0f; font-size:.68rem; font-weight:1000; letter-spacing:.1em; }
.repoteka-week-results h2 { margin:4px 0 8px; font-size:1.45rem; }
.repoteka-week-results p { margin:0; color:#555; }
.repoteka-week-results dl { display:flex; gap:10px; margin:18px 0; }
.repoteka-week-results dl div { min-width:120px; padding:10px 12px; background:#f2f2f2; }
.repoteka-week-results dt { color:#777; font-size:.68rem; font-weight:900; text-transform:uppercase; }
.repoteka-week-results dd { margin:2px 0 0; font-weight:1000; }
.repoteka-week-results>a { display:inline-flex; min-height:40px; align-items:center; padding:0 13px; background:#111; color:#fff; font-size:.72rem; font-weight:1000; text-decoration:none; }
.repoteka-player-frame { aspect-ratio:16/9; background:#000; }
.repoteka-player-frame iframe,.repoteka-player-frame #repotekaPlayer { width:100%; height:100%; border:0; }
.repoteka-now { padding:18px; }
.repoteka-now h2 { margin:8px 0 4px; font-size:clamp(1.4rem,3vw,2.2rem); line-height:1.08; }
.repoteka-now p { margin:0 0 4px; color:#555; }
.repoteka-now small { display:block; margin-top:4px; color:#777; }
.repoteka-player-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:16px; }
.repoteka-player-controls label { display:flex; align-items:center; gap:6px; min-height:42px; padding:0 10px; border:1px solid #bbb; font-size:.72rem; font-weight:900; }
.repoteka-player-controls button.active { background:#ffba08; color:#111; box-shadow:inset 0 0 0 2px #111; }
.repoteka-player-controls .repoteka-track-like { color:#687178; }
.repoteka-player-controls .repoteka-track-like:hover,.repoteka-player-controls .repoteka-track-like.liked { background:#fff0f2; color:#c83248; box-shadow:inset 0 0 0 1px #d85162; }
.repoteka-top-status { flex-basis:100%; padding:8px 12px; border:1px solid #d7b000; border-radius:6px; background:#fff4b8; color:#171717; text-align:center; font-size:.68rem; font-weight:900; letter-spacing:.025em; line-height:1.3; }
.repoteka-top-status[hidden] { display:none; }
.repoteka-queue { position:sticky; top:12px; }
.repoteka-queue > header { display:flex; justify-content:space-between; padding:14px; border-bottom:1px solid #ccc; background:#111; color:#fff; }
.repoteka-queue-list { max-height:720px; overflow:auto; }
.repoteka-queue-item { display:grid; grid-template-columns:minmax(0,1fr); border-bottom:1px solid #ddd; }
.repoteka-queue-item.active { background:#fff0a6; box-shadow:inset 4px 0 0 #e01818; }
.repoteka-track-select { display:grid; grid-template-columns:104px minmax(0,1fr); align-items:center; gap:10px; min-width:0; border:0; padding:8px; background:transparent; color:#111; text-align:left; cursor:pointer; }
.repoteka-track-select img { width:104px; aspect-ratio:16/9; object-fit:cover; }
.repoteka-track-select span,.repoteka-track-select strong,.repoteka-track-select small { display:block; min-width:0; }
.repoteka-track-select strong { overflow:hidden; font-size:.82rem; line-height:1.2; }
.repoteka-track-select small { margin-top:4px; color:#666; font-size:.68rem; }
.repoteka-queue-item form { display:grid; grid-template-columns:minmax(0,1fr) 42px; align-items:center; gap:6px; padding:6px 10px 10px 120px; }
.repoteka-queue-item select { width:100%; min-width:0; min-height:34px; border:1px solid #aaa; font-size:.7rem; }
.repoteka-queue-item form button { min-height:34px; padding:0 8px; }
.playlist-settings { margin:18px 0; border:1px solid #bbb; background:#fff; }
.playlist-settings summary { padding:14px; background:#111; color:#fff; font-weight:1000; cursor:pointer; }
.playlist-settings > form { display:grid; grid-template-columns:1fr 1.4fr .7fr auto; align-items:end; gap:10px; padding:14px; }
.playlist-settings label { display:grid; gap:5px; font-size:.72rem; font-weight:900; }
.playlist-settings input,.playlist-settings textarea,.playlist-settings select { width:100%; min-height:42px; border:1px solid #aaa; padding:9px; font:inherit; }
.playlist-settings textarea { height:42px; resize:vertical; }
.playlist-settings .playlist-delete { display:flex; justify-content:flex-end; padding-top:0; }
.playlist-settings .playlist-delete button { background:#a40000; color:#fff; }
.playlist-player .repoteka-queue-item form { display:block; padding:0 10px 10px 120px; }
.playlist-player .playlist-remove-track { width:100%; min-height:32px; background:#fff; border:1px solid #b00000; color:#900; font-size:.65rem; }
.playlist-player .playlist-remove-track:hover { background:#a40000; color:#fff; }
@media(max-width:850px){.playlist-settings > form{grid-template-columns:1fr 1fr}.playlist-settings .playlist-delete{display:block}.playlist-settings .playlist-delete button{width:100%}}
@media(max-width:560px){.playlist-settings > form{grid-template-columns:1fr}}
.card-action { display:inline-block; margin-top:12px; color:#b20f0f; font-weight:900; }
.playlist-create { padding:18px; border:1px solid #ccc; background:#fff; }
.playlist-create form { display:grid; grid-template-columns:1fr 1fr auto; gap:8px; }
.playlist-create textarea { grid-column:1 / -1; resize:vertical; }
.playlist-list { display:grid; gap:10px; margin-top:18px; }
.playlist-list a { display:flex; justify-content:space-between; gap:14px; padding:16px; border:1px solid #ccc; background:#fff; color:#111; text-decoration:none; }
@media(max-width:850px){.repoteka-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.repoteka-tools{grid-template-columns:1fr}.repoteka-hero{align-items:flex-start;flex-direction:column}.repoteka-player-layout{grid-template-columns:1fr}.repoteka-queue{position:static}.repoteka-queue-list{max-height:520px}}
@media(max-width:620px){.repoteka-hero-brand{align-items:flex-start;flex-direction:column}.repoteka-hero-logo{width:140px}.repoteka-hero{padding:22px}}
@media(max-width:420px){.repoteka-user{grid-template-columns:1fr;flex-basis:auto;width:100%}.repoteka-user>strong,.repoteka-user form{grid-column:1}}
@media(max-width:560px){.repoteka-grid{grid-template-columns:1fr}.repoteka-submit,.playlist-create form{grid-template-columns:1fr}.playlist-create textarea{grid-column:auto}.playlist-list a{align-items:flex-start;flex-direction:column}.repoteka-track-select{grid-template-columns:88px minmax(0,1fr)}.repoteka-track-select img{width:88px}.repoteka-queue-item{grid-template-columns:1fr}.repoteka-queue-item form{grid-template-columns:1fr auto}.repoteka-queue-item select{width:100%}}
@media (max-width:680px) { .cookie-consent { align-items:stretch; flex-direction:column; left:9px; right:9px; bottom:9px; } .cookie-consent-actions { display:grid; grid-template-columns:1fr 1fr; } }

/* Repoteka: media-library layout */
.repoteka-page { background:#f4f6f7; }
.repoteka-page .page { width:min(1480px,calc(100% - 32px)); }
.repoteka-player-layout {
    grid-template-columns:minmax(0,2.35fr) minmax(390px,.9fr);
    gap:0;
    overflow:hidden;
    border:1px solid #d8dcdf;
    background:#fff;
    box-shadow:0 14px 34px rgba(20,28,34,.08);
}
.repoteka-main-player,.repoteka-queue { border:0; }
.repoteka-player-frame { aspect-ratio:16/9; }
.repoteka-now {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
        "title title"
        "artist controls"
        "views controls";
    align-items:center;
    gap:8px 24px;
    min-height:132px;
    padding:18px 28px 20px;
    border-top:1px solid #e1e4e6;
}
.repoteka-now .tag {
    display:none;
}
.repoteka-now h2 {
    grid-area:title;
    max-width:none;
    margin:0;
    color:#0f0f0f;
    font-size:clamp(1.28rem,2.15vw,1.72rem);
    font-weight:800;
    line-height:1.2;
    letter-spacing:-.025em;
}
.repoteka-now p {
    grid-area:artist;
    margin:0;
    color:#0f0f0f;
    font-size:.92rem;
    font-weight:800;
}
.repoteka-now > small { margin:0; color:#66717a; font-size:.72rem; }
.repoteka-now > small:nth-of-type(1) { grid-area:views; }
.repoteka-now > small:nth-of-type(2) { display:none; }
.repoteka-player-controls { grid-area:controls; justify-content:flex-end; gap:8px; margin:0; }
.repoteka-player-controls button {
    min-width:0;
    min-height:40px;
    padding:0 16px;
    border:1px solid #111;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.025em;
    transition:transform .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.repoteka-player-controls button:hover { transform:translateY(-1px); background:#292929; }
.repoteka-player-controls button:active { transform:translateY(0); }
.repoteka-player-controls button.active { background:#69a73b; color:#fff; box-shadow:none; }
.repoteka-player-controls .repoteka-shuffle { border-color:#d9dde0; background:#f2f3f4; color:#30363a; }
.repoteka-player-controls .repoteka-shuffle:hover { background:#e7e9eb; }
.repoteka-player-controls .repoteka-track-like { gap:7px; min-width:74px; border-color:#e4b9c0; background:#fff; color:#c83248; font-size:1.3rem; line-height:1; }
.repoteka-player-controls .repoteka-track-like span { font-size:.8rem; }
.repoteka-player-controls .repoteka-track-like:hover,.repoteka-player-controls .repoteka-track-like.liked { background:#fff0f2; color:#c83248; box-shadow:inset 0 0 0 1px #d85162; }
.repoteka-player-controls label {
    min-height:36px;
    padding:0 12px;
    border:0;
    border-radius:999px;
    background:#f2f2f2;
    color:#606060;
}
.repoteka-player-controls input { accent-color:#69a73b; }
.repoteka-queue { position:relative; top:auto; border-left:1px solid #dfe2e4; }
.repoteka-queue > header {
    display:grid;
    grid-template-columns:36px minmax(0,1fr) auto;
    align-items:center;
    min-height:58px;
    padding:0 14px;
    border-bottom:1px solid #dfe2e4;
    background:#fff;
    color:#727b82;
    font-size:.67rem;
    letter-spacing:.08em;
}
.repoteka-queue > header strong::before { content:'#  '; color:#98a0a6; }
.repoteka-queue > header span { justify-self:end; }
.repoteka-queue-list { max-height:calc((min(1480px,100vw - 32px) * .701) * .5625 + 154px - 58px); }
.repoteka-queue-item { position:relative; border-bottom:1px solid #e3e6e8; }
.repoteka-queue-item::before {
    content:counter(repoteka-track);
    position:absolute;
    z-index:2;
    left:13px;
    top:50%;
    width:24px;
    transform:translateY(-50%);
    color:#899198;
    font-size:.72rem;
    text-align:center;
    pointer-events:none;
}
.repoteka-queue-list { counter-reset:repoteka-track; }
.repoteka-queue-item { counter-increment:repoteka-track; }
.repoteka-queue-item.active { background:#f6fbf2; box-shadow:inset 3px 0 0 #6aa43c; }
.repoteka-queue-item.active::before,.repoteka-queue-item.active .repoteka-track-select strong { color:#5b982d; }
.repoteka-page .repoteka-track-select {
    grid-template-columns:44px minmax(0,1fr);
    min-height:74px;
    gap:10px;
    padding:8px 12px 8px 48px;
    border-radius:0;
    background:#fff;
    color:#171a1c;
    font-weight:400;
}
.repoteka-page .repoteka-track-select:hover { background:#f4f7f1; }
.repoteka-page .repoteka-queue-item.active .repoteka-track-select { background:#f6fbf2; }
.repoteka-track-select img { width:44px; height:44px; aspect-ratio:1; border-radius:3px; }
.repoteka-track-select span { display:grid; grid-template-columns:minmax(0,1fr); }
.repoteka-track-select strong { overflow:hidden; font-size:.78rem; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.repoteka-track-select small { overflow:hidden; margin-top:4px; font-size:.67rem; text-overflow:ellipsis; white-space:nowrap; }
.repoteka-track-views { opacity:.7; }
.repoteka-queue-item form { padding:0 10px 8px 48px; }
.repoteka-top-listened {
    margin-top:22px;
    padding:20px;
    border:1px solid #d8dcdf;
    background:#fff;
    box-shadow:0 14px 34px rgba(20,28,34,.06);
}
.repoteka-top-listened > header {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;
}
.repoteka-top-listened > header span {
    display:inline-flex;
    margin-bottom:5px;
    padding:5px 9px;
    border-radius:999px;
    background:#ffcf00;
    color:#111;
    font-size:.65rem;
    font-weight:950;
    letter-spacing:.1em;
}
.repoteka-top-listened h2 {
    margin:0;
    color:#111;
    font-size:clamp(1.35rem,2.5vw,2rem);
    line-height:1.05;
    letter-spacing:-.035em;
}
.repoteka-top-listened p {
    margin:6px 0 0;
    color:#66717a;
    font-size:.76rem;
    font-weight:800;
}
.repoteka-top-listened > header a {
    color:#5b982d;
    font-size:.78rem;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
}
.repoteka-top-row {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}
.repoteka-top-card {
    position:relative;
    min-width:0;
    overflow:hidden;
    border:1px solid #e1e4e6;
    border-radius:14px;
    background:#fff;
    color:#111;
    text-decoration:none;
    transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.repoteka-top-card:hover {
    transform:translateY(-2px);
    border-color:#cfd7cc;
    box-shadow:0 12px 24px rgba(20,28,34,.1);
}
.repoteka-top-card img {
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    background:#111;
}
.repoteka-top-rank {
    position:absolute;
    z-index:2;
    top:8px;
    left:8px;
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:999px;
    background:#111;
    color:#ffcf00;
    font-size:.82rem;
    font-weight:950;
}
.repoteka-top-card span {
    display:grid;
    gap:4px;
    padding:11px;
}
.repoteka-top-card b,
.repoteka-top-card small {
    overflow:hidden;
    min-width:0;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.repoteka-top-card b {
    font-size:.88rem;
    line-height:1.15;
}
.repoteka-top-card small {
    color:#66717a;
    font-size:.68rem;
}
@media(max-width:1150px){
    .repoteka-player-layout{grid-template-columns:minmax(0,1.8fr) minmax(300px,.9fr)}
    .repoteka-now{padding:18px 20px}
    .repoteka-player-controls button{min-height:36px;padding:0 10px}
    .repoteka-player-controls label{padding:0 10px}
    .repoteka-top-row{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:920px){
    .repoteka-page .page{width:min(100% - 18px,720px)}
    .repoteka-player-layout{grid-template-columns:1fr}
    .repoteka-queue{border-top:1px solid #dfe2e4;border-left:0}
    .repoteka-queue-list{max-height:480px}
    .repoteka-now{grid-template-columns:1fr;grid-template-areas:"title" "artist" "views" "controls"}
    .repoteka-player-controls{justify-content:flex-start}
}
@media(max-width:560px){
    .repoteka-now{min-height:0;padding:15px}
    .repoteka-now h2{font-size:1.18rem}
    .repoteka-player-controls{gap:6px}
    .repoteka-player-controls button{padding:0 10px}
    .repoteka-player-controls label{padding:0 10px}
    .repoteka-track-select{grid-template-columns:44px minmax(0,1fr);padding-left:42px}
    .repoteka-top-listened{margin-top:16px;padding:14px}
    .repoteka-top-listened > header{align-items:flex-start;flex-direction:column;gap:8px}
    .repoteka-top-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}
    .repoteka-top-card{flex:0 0 220px;scroll-snap-align:start}
}

.repoteka-comments { margin-top:22px; padding:20px; border:1px solid #d8dcdf; background:#fff; box-shadow:0 14px 34px rgba(20,28,34,.06); }
.repoteka-main-player .repoteka-comments { margin-top:0; border-width:1px 0 0; box-shadow:none; }
.repoteka-comments > header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.repoteka-comments > header span { color:#5b982d; font-size:.64rem; font-weight:950; letter-spacing:.1em; }
.repoteka-comments h2 { margin:3px 0 0; font-size:1.45rem; }
.repoteka-comments > header > strong { display:grid; place-items:center; min-width:34px; height:34px; border-radius:999px; background:#edf4e8; color:#5b982d; }
.repoteka-comments form { display:grid; gap:8px; margin-bottom:18px; }
.repoteka-comments textarea { width:100%; min-height:88px; box-sizing:border-box; resize:vertical; border:1px solid #cfd4d7; border-radius:8px; padding:12px; font:inherit; }
.repoteka-comments form > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.repoteka-comments form small { color:#5b982d; }
.repoteka-comments form button { min-height:38px; padding:0 16px; border:0; border-radius:999px; background:#69a73b; color:#fff; font-weight:900; cursor:pointer; }
.repoteka-comments form button:disabled { opacity:.55; cursor:wait; }
.repoteka-guest-fields { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.repoteka-guest-fields label { display:grid; gap:5px; color:#66717a; font-size:.7rem; font-weight:800; }
.repoteka-guest-fields input { min-height:40px; box-sizing:border-box; border:1px solid #cfd4d7; border-radius:7px; padding:8px 10px; font:inherit; }
.repoteka-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.repoteka-comments-login { padding:12px; border-radius:8px; background:#f4f6f7; }
.repoteka-comments-login a { color:#5b982d; font-weight:900; }
.repoteka-comments-list { display:grid; }
.repoteka-comments-list article { padding:14px 0; border-top:1px solid #e3e6e8; }
.repoteka-comments-list article header { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.repoteka-comments-list article time { color:#7a8389; font-size:.68rem; }
.comment-verified-badge { display:inline-grid; place-items:center; width:15px; height:15px; border-radius:50%; background:#2787e8; color:#fff; font-size:9px; vertical-align:middle; }
.repoteka-comments-list article p { margin:8px 0 0; color:#30363a; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.repoteka-comment-like { margin-top:10px; min-height:30px; padding:0 11px; border:1px solid #d8dcdf; border-radius:999px; background:#fff; color:#687178; font-weight:900; cursor:pointer; }
.repoteka-comment-like:hover,.repoteka-comment-like.liked { border-color:#d85162; background:#fff0f2; color:#c83248; }
.repoteka-comments-empty { margin:0; padding:18px 0; color:#7a8389; }
@media(max-width:560px){.repoteka-guest-fields{grid-template-columns:1fr}}

.profile-shell,.public-profile-shell { width:min(1000px,calc(100% - 24px)); padding:88px 0 42px; }
.profile-editor { max-width:720px; margin:auto; padding:24px; border:1px solid #d8dcdf; background:#fff; }
.profile-editor h1 { margin:6px 0 22px; }
.profile-editor form { display:grid; gap:15px; }
.profile-editor label { display:grid; gap:6px; font-size:.78rem; font-weight:900; }

/* Repoteka: unified visual layer */
.repoteka-page { --repo-ink:#111; --repo-muted:#687178; --repo-line:#dfe3e6; --repo-soft:#f5f6f7; --repo-accent:#ffcc00; background:#eef0f2; }
.repoteka-page .page { width:min(1180px,calc(100% - 32px)); padding:34px 0 48px; }
.repoteka-page .repoteka-hero { align-items:center; gap:34px; padding:26px 30px; border:1px solid var(--repo-line); border-radius:14px; background:#fff; box-shadow:0 8px 26px rgba(17,17,17,.05); }
.repoteka-page .repoteka-hero-brand { flex:1 1 auto; gap:30px; }
.repoteka-page .repoteka-hero-logo { width:clamp(130px,14vw,172px); }
.repoteka-page .repoteka-hero h1 { margin:7px 0 8px; font-size:clamp(2.8rem,5.5vw,4.65rem); line-height:.95; letter-spacing:-.055em; }
.repoteka-page .repoteka-hero p { max-width:570px; margin:0; color:#4f575d; font-size:.95rem; line-height:1.55; }
.repoteka-page .repoteka-hero .tag { padding:6px 11px; border-radius:999px; background:var(--repo-accent); color:#111; font-size:.66rem; letter-spacing:.07em; }
.repoteka-page .repoteka-user { width:290px; flex:0 0 290px; gap:8px; padding:14px; border:1px solid var(--repo-line); border-radius:10px; background:var(--repo-soft); }
.repoteka-page .repoteka-user>strong { color:#343a3f; font-size:.72rem; letter-spacing:.08em; }
.repoteka-page .repoteka-user a,.repoteka-page .repoteka-user button { min-height:38px; border:1px solid #cdd2d6; border-radius:7px; background:#fff; color:#111; font-size:.7rem; transition:background .15s ease,border-color .15s ease; }
.repoteka-page .repoteka-user a:hover,.repoteka-page .repoteka-user button:hover { border-color:#111; background:#111; color:#fff; }
.repoteka-page .repoteka-channel-state { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:14px 0 0; padding:14px 16px; border:1px solid #d7b000; border-left:5px solid var(--repo-accent); border-radius:9px; background:#fff8d7; }
.repoteka-page .repoteka-channel-state>div { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 12px; min-width:0; }
.repoteka-page .repoteka-channel-state span { color:#766000; font-size:.62rem; font-weight:900; letter-spacing:.09em; }
.repoteka-page .repoteka-channel-state strong { overflow:hidden; color:#111; font-size:1.05rem; text-overflow:ellipsis; white-space:nowrap; }
.repoteka-page .repoteka-channel-state small { color:#6b6b60; font-size:.72rem; }
.repoteka-page .repoteka-channel-state>a { flex:0 0 auto; padding:9px 12px; border-radius:6px; background:#111; color:#fff; font-size:.68rem; font-weight:900; text-decoration:none; }
.repoteka-page .repoteka-channel-state>a:hover { background:#333; }
.repoteka-page .repoteka-tools { gap:12px; margin:14px 0; }
.repoteka-page .repoteka-tools .global-search,.repoteka-page .repoteka-submit,.repoteka-page .repoteka-login-note { border:1px solid var(--repo-line); border-radius:10px; background:#fff; }
.repoteka-page .repoteka-tools input { border-radius:6px; background:#fafafa; }
.repoteka-page .repoteka-tools button { border-radius:6px; background:#111; color:#fff; }
.repoteka-page .repoteka-player-layout { border:1px solid var(--repo-line); border-radius:14px; box-shadow:0 12px 30px rgba(17,17,17,.07); }
.repoteka-page .repoteka-player-frame { background:#050505; }
.repoteka-page .repoteka-now { display:grid; grid-template-columns:1fr; grid-template-areas:"title" "artist" "views" "controls"; gap:5px; min-height:0; padding:18px 20px; background:#fff; }
.repoteka-page .repoteka-now h2 { max-width:100%; margin:0; font-size:clamp(1.25rem,2.4vw,1.7rem); line-height:1.18; overflow-wrap:anywhere; }
.repoteka-page .repoteka-now p { margin:0; font-size:.88rem; line-height:1.35; }
.repoteka-page .repoteka-channel-link { grid-area:artist; width:fit-content; color:#30363a; font-size:.88rem; font-weight:800; line-height:1.35; text-decoration:none; }
.repoteka-page .repoteka-channel-link:hover { color:#111; text-decoration:underline; text-decoration-color:var(--repo-accent); text-decoration-thickness:3px; text-underline-offset:3px; }
.repoteka-page .repoteka-now>small:nth-of-type(1) { display:block; margin-top:2px; white-space:nowrap; }
.repoteka-page .repoteka-player-controls { justify-content:flex-start; gap:7px; margin-top:10px; }
.repoteka-page .repoteka-player-controls button { min-height:38px; padding:0 14px; border:1px solid #111; border-radius:7px; box-shadow:none; }
.repoteka-page .repoteka-player-controls button:hover { transform:none; }
.repoteka-page .repoteka-player-controls .repoteka-track-like { min-width:68px; border-color:#e3c1c7; border-radius:7px; font-size:1.18rem; }
.repoteka-page .repoteka-player-controls .repoteka-shuffle,.repoteka-page .repoteka-player-controls label { min-height:38px; border:1px solid #d9dde0; border-radius:7px; background:#f5f6f7; }
.repoteka-page .repoteka-top-status { flex:1 0 100%; box-sizing:border-box; width:100%; padding:8px 12px; border:0; border-radius:6px; background:#fff2ad; color:#4a3a00; text-align:left; font-size:.65rem; }
.repoteka-page .repoteka-queue { border-left:1px solid var(--repo-line); background:#fff; }
.repoteka-page .repoteka-queue>header { min-height:54px; border:0; background:#111; color:#fff; }
.repoteka-page .repoteka-queue>header::before { color:var(--repo-accent); }
.repoteka-page .repoteka-queue-item { border-bottom:1px solid #eceeef; }
.repoteka-page .repoteka-queue-item.active { background:#fff8d7; box-shadow:inset 4px 0 0 var(--repo-accent); }
.repoteka-page .repoteka-track-select { transition:background .15s ease; }
.repoteka-page .repoteka-track-select:hover { background:#f7f8f8; }
.repoteka-page .repoteka-queue-item.active .repoteka-track-select:hover { background:transparent; }
.repoteka-page .repoteka-queue-item form { grid-template-columns:minmax(0,1fr) auto; gap:7px; padding:2px 12px 11px 48px; }
.repoteka-page .repoteka-queue-item select { min-height:38px; padding:0 10px; border:1px solid #d5dade; border-radius:7px; background:#fff; color:#343a3f; font-family:inherit; font-size:.7rem; font-weight:700; cursor:pointer; outline:none; }
.repoteka-page .repoteka-queue-item select:hover,.repoteka-page .repoteka-queue-item select:focus { border-color:#969da2; box-shadow:0 0 0 3px rgba(255,204,0,.18); }
.repoteka-page .repoteka-queue-item form button { min-width:70px; min-height:38px; padding:0 12px; border:1px solid #111; border-radius:7px; background:#111; color:#fff; font-family:inherit; font-size:.68rem; font-weight:900; cursor:pointer; }
.repoteka-page .repoteka-queue-item form button:hover { border-color:var(--repo-accent); background:var(--repo-accent); color:#111; }
.repoteka-page .repoteka-playlist-picker { display:flex; align-items:center; justify-content:flex-end; gap:7px; min-height:38px; padding:2px 12px 9px 48px; }
.repoteka-page .repoteka-playlist-picker select,.repoteka-page .repoteka-playlist-picker .repoteka-playlist-add { display:none; }
.repoteka-page .repoteka-playlist-picker.expanded { display:grid; grid-template-columns:auto minmax(0,1fr) auto; }
.repoteka-page .repoteka-playlist-picker.expanded select,.repoteka-page .repoteka-playlist-picker.expanded .repoteka-playlist-add { display:block; }
.repoteka-page .repoteka-playlist-picker .repoteka-playlist-toggle { display:grid; place-items:center; min-width:32px; width:32px; min-height:32px; height:32px; padding:0; border:1px solid #d9dde0; border-radius:50%; background:#eef0f2; color:#7b848a; font-size:1.1rem; font-weight:700; line-height:1; }
.repoteka-page .repoteka-playlist-picker .repoteka-playlist-toggle:hover { border-color:#aeb5ba; background:#e2e5e7; color:#343a3f; }
.repoteka-page .repoteka-playlist-picker.expanded .repoteka-playlist-toggle { background:#e2e5e7; color:#555; }
@media(max-width:440px){.repoteka-page .repoteka-playlist-picker.expanded{grid-template-columns:auto minmax(0,1fr)}.repoteka-page .repoteka-playlist-picker.expanded .repoteka-playlist-add{grid-column:2}}
.repoteka-playlist-modal { position:fixed; z-index:10000; inset:0; display:grid; place-items:center; padding:18px; background:rgba(8,10,12,.66); backdrop-filter:blur(3px); }
.repoteka-playlist-modal[hidden] { display:none; }
.repoteka-playlist-dialog { position:relative; width:min(420px,100%); box-sizing:border-box; padding:26px; border-radius:14px; background:#fff; box-shadow:0 24px 70px rgba(0,0,0,.28); }
.repoteka-playlist-close { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:34px; height:34px; padding:0; border:0; border-radius:50%; background:#eef0f2; color:#687178; font-size:1.25rem; cursor:pointer; }
.repoteka-playlist-close:hover { background:#dfe3e6; color:#111; }
.repoteka-playlist-kicker { color:#758000; font-size:.65rem; font-weight:900; letter-spacing:.1em; }
.repoteka-playlist-dialog h2 { margin:7px 40px 5px 0; font-size:1.55rem; }
.repoteka-playlist-track { margin:0 0 20px; color:#687178; font-size:.85rem; line-height:1.4; }
.repoteka-playlist-dialog label { display:grid; gap:7px; color:#343a3f; font-size:.72rem; font-weight:900; }
.repoteka-playlist-dialog select { width:100%; min-height:46px; padding:0 12px; border:1px solid #ccd2d6; border-radius:8px; background:#fff; color:#111; font:inherit; }
.repoteka-playlist-dialog select:focus { border-color:#111; outline:3px solid rgba(255,204,0,.28); }
.repoteka-playlist-confirm { width:100%; min-height:44px; margin-top:14px; border:0; border-radius:8px; background:#111; color:#fff; font-weight:900; cursor:pointer; }
.repoteka-playlist-confirm:hover { background:#2b2b2b; }
.repoteka-playlist-confirm:disabled { cursor:wait; opacity:.55; }
.repoteka-playlist-feedback { min-height:20px; margin:12px 0 0; color:#687178; font-size:.78rem; font-weight:800; }
.repoteka-playlist-feedback.success { color:#4f8d22; }
.repoteka-playlist-feedback.error { color:#b2263a; }
.repoteka-page .repoteka-comments,.repoteka-page .repoteka-top-listened { border:1px solid var(--repo-line); border-radius:12px; background:#fff; box-shadow:none; }
.repoteka-page .repoteka-comment-like { border-radius:6px; }
@media(max-width:920px){.repoteka-page .page{width:min(720px,calc(100% - 20px));padding-top:20px}.repoteka-page .repoteka-hero{align-items:stretch;flex-direction:column}.repoteka-page .repoteka-user{width:100%;flex-basis:auto}.repoteka-page .repoteka-queue{border-top:1px solid var(--repo-line);border-left:0}}
@media(max-width:620px){.repoteka-page .repoteka-hero{padding:18px}.repoteka-page .repoteka-hero-brand{gap:18px}.repoteka-page .repoteka-hero-logo{width:118px}.repoteka-page .repoteka-hero h1{font-size:2.7rem}.repoteka-page .repoteka-channel-state{align-items:stretch;flex-direction:column}.repoteka-page .repoteka-channel-state>a{text-align:center}.repoteka-page .repoteka-now{padding:15px}.repoteka-page .repoteka-player-controls{justify-content:flex-start}.repoteka-page .repoteka-player-controls button,.repoteka-page .repoteka-player-controls label{flex:1 1 auto}.repoteka-page .repoteka-top-status{flex-basis:100%;text-align:center}}
.profile-editor input,.profile-editor select,.profile-editor textarea { width:100%; box-sizing:border-box; border:1px solid #c9ced2; border-radius:6px; padding:11px; background:#fff; font:inherit; }
.profile-editor textarea { resize:vertical; }
.profile-editor label small { color:#66717a; font-weight:500; }
.profile-editor .profile-permanent-warning { display:block; padding:9px 11px; border-left:3px solid #e0a500; background:#fff7d6; color:#6b5200; font-weight:800; line-height:1.4; }
.profile-editor button { justify-self:start; min-height:42px; padding:0 20px; border:0; border-radius:999px; background:#69a73b; color:#fff; font-weight:950; cursor:pointer; }
.profile-public-link { display:inline-block; margin-top:18px; color:#5b982d; font-weight:900; }
.profile-image-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.profile-avatar-preview { width:84px; height:84px; border-radius:50%; object-fit:cover; }
.profile-cover-preview { width:100%; max-height:120px; aspect-ratio:3/1; object-fit:cover; }
.profile-remove-image { display:flex!important; align-items:center; grid-template-columns:auto 1fr; gap:7px; color:#a22636; }
.profile-remove-image input { width:auto; }
.profile-extra-fields { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin:4px 0; padding:16px; border:1px solid #d8dcdf; }
.profile-extra-fields legend { padding:0 7px; font-weight:950; }
.profile-extra-fields label:last-child { grid-column:1/-1; }
.public-profile-hero { padding:30px; border:1px solid #d8dcdf; background:#fff; box-shadow:0 14px 34px rgba(20,28,34,.06); }
.public-profile-cover { display:block; width:calc(100% + 60px); max-width:none; height:260px; margin:-30px -30px 24px; object-fit:cover; }
.public-profile-identity { display:flex; align-items:center; gap:18px; }
.public-profile-identity > div > span { color:#5b982d; font-size:.68rem; font-weight:950; letter-spacing:.1em; }
.public-profile-avatar { flex:0 0 auto; width:112px; height:112px; border:4px solid #fff; border-radius:50%; object-fit:cover; box-shadow:0 5px 18px rgba(0,0,0,.18); }
.public-profile-avatar-fallback { display:grid; place-items:center; background:#69a73b; color:#fff; font-size:2.7rem; font-weight:950; }
.public-profile-hero h1 { margin:8px 0 2px; font-size:clamp(2rem,6vw,4rem); line-height:1; }
.profile-verified-badge { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; box-sizing:border-box; margin-left:10px; border:2px solid #fff; border-radius:50%; background:#2787e8; box-shadow:0 2px 7px rgba(39,135,232,.32); color:#fff; font-family:Arial,sans-serif; font-size:16px!important; font-weight:900; line-height:1!important; vertical-align:middle; transform:translateY(-4px); }
.public-profile-hero > strong { color:#66717a; }
.public-profile-hero p { max-width:720px; margin:20px 0 0; line-height:1.6; }
.public-profile-socials { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.public-profile-socials a { padding:8px 12px; border-radius:999px; background:#111; color:#fff; font-size:.72rem; font-weight:900; text-decoration:none; }
.public-profile-tracks a { position:relative; }
.featured-track-badge { position:absolute; top:7px; left:7px; padding:5px 7px; border-radius:999px; background:#ffcf00; color:#111; font-size:.58rem; font-weight:950; }
.public-profile-section { margin-top:22px; padding:22px; border:1px solid #d8dcdf; background:#fff; }
.public-profile-section h2 { margin:0 0 15px; }
.public-profile-tracks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.public-profile-tracks a { display:grid; gap:5px; min-width:0; color:#111; text-decoration:none; }
.public-profile-tracks img { width:100%; aspect-ratio:16/9; object-fit:cover; background:#111; }
.public-profile-tracks strong,.public-profile-tracks small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.public-profile-tracks small { color:#66717a; font-size:.7rem; }
.profile-playlists { display:grid; gap:8px; }
.profile-playlists a { display:grid; gap:4px; padding:13px; border:1px solid #e1e4e6; color:#111; text-decoration:none; }
.profile-playlists small { color:#66717a; }
.profile-feedback>header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.profile-feedback>header span { color:#b20f0f; font-size:.68rem; font-weight:1000; letter-spacing:.12em; }
.profile-feedback>header h2 { margin:3px 0 0; }
.profile-heart { display:inline-flex; align-items:center; gap:8px; min-width:92px; min-height:48px; justify-content:center; border:2px solid #111; border-radius:999px; background:#fff; color:#d71920; font-size:1.35rem; cursor:pointer; }
.profile-heart strong { color:#111; font-size:.92rem; }
.profile-heart.liked { background:#d71920; color:#fff; }
.profile-heart.liked strong { color:#fff; }
.profile-heart:disabled { cursor:default; opacity:1; }
.profile-review-form { display:grid; gap:10px; padding:16px; border:1px solid #d9d9d9; background:#f7f7f7; }
.profile-review-guest { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.profile-review-form label { display:grid; gap:5px; color:#555; font-size:.72rem; font-weight:900; }
.profile-review-form input,.profile-review-form textarea { width:100%; border:1px solid #aaa; padding:10px; background:#fff; color:#111; font:inherit; }
.profile-review-form textarea { resize:vertical; }
.profile-review-form>div:last-child { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.profile-review-form button { min-height:42px; border:0; padding:0 14px; background:#111; color:#fff; font-weight:1000; cursor:pointer; }
.profile-review-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.profile-review-message { color:#666; font-weight:800; }
.profile-review-list { display:grid; gap:9px; margin-top:16px; }
.profile-review-list article { padding:14px 16px; border:1px solid #ddd; background:#fff; }
.profile-review-list article>div { display:flex; justify-content:space-between; gap:12px; }
.profile-review-list article a,.profile-review-list article strong { color:#111; font-weight:1000; }
.profile-review-list time { color:#888; font-size:.72rem; }
.profile-review-list p { margin:8px 0 0; color:#444; line-height:1.55; white-space:pre-wrap; }
.profile-review-empty { color:#777; }
@media(max-width:560px){.profile-feedback>header{align-items:flex-start}.profile-review-guest{grid-template-columns:1fr}.profile-review-form>div:last-child{align-items:stretch;flex-direction:column}.profile-review-form button{width:100%}}
@media(max-width:720px){.public-profile-tracks{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-editor,.public-profile-hero,.public-profile-section{padding:16px}.profile-image-fields,.profile-extra-fields{grid-template-columns:1fr}.profile-extra-fields label:last-child{grid-column:auto}.public-profile-cover{width:calc(100% + 32px);height:160px;margin:-16px -16px 18px}.public-profile-avatar{width:84px;height:84px}.public-profile-identity{align-items:flex-start}.profile-verified-badge{width:22px;height:22px;margin-left:7px;font-size:13px!important;transform:translateY(-2px)}}

body.home-legacy .page {
    width: min(1140px, calc(100% - 18px));
    display: grid;
    grid-template-columns: minmax(0, 808px) 310px;
    gap: 22px;
    align-items: start;
    padding: 78px 0 36px;
}

body.home-legacy .home-hero {
    grid-column: 1 / -1;
    display: none;
}

body.home-legacy .legacy-main-column {
    grid-column: 1;
    display: grid;
    gap: 22px;
    align-content: start;
}

body.home-legacy .legacy-sidebar {
    grid-column: 2;
    display: grid;
    gap: 22px;
    align-content: start;
}

body.home-legacy .winner-strip,
body.home-legacy .archive-random {
    grid-column: auto;
    grid-row: auto;
}

.home-repoteka-latest { border:1px solid #bbb; background:#fff; }
.home-repoteka-latest > header { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; padding:14px; border-bottom:1px solid #bbb; }
.home-repoteka-latest h2 { margin:3px 0 0; font-size:1.25rem; }
.home-repoteka-latest > header a { color:#111; font-weight:900; }
.home-repoteka-list { display:grid; }
.home-repoteka-item { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center; gap:10px; padding:9px; border-bottom:1px solid #ddd; color:#111; text-decoration:none; }
.home-repoteka-item:last-child { border-bottom:0; }
.home-repoteka-item:hover { background:#fff0a6; }
.home-repoteka-item img { width:96px; aspect-ratio:16/9; object-fit:cover; background:#111; }
.home-repoteka-item span,.home-repoteka-item strong,.home-repoteka-item small { display:block; min-width:0; }
.home-repoteka-item strong { font-size:.82rem; line-height:1.18; }
.home-repoteka-item small { margin-top:3px; overflow:hidden; color:#777; font-size:.68rem; text-overflow:ellipsis; white-space:nowrap; }

.site-footer { margin-top:42px; border-top:5px solid #ffba08; background:#0b0b0b; color:#fff; }
.site-footer-inner { width:min(1180px,calc(100% - 32px)); margin:0 auto; padding:28px 0; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:22px; }
.site-footer-brand { color:#ffba08; font-size:1.35rem; font-weight:1000; text-decoration:none; }
.site-footer nav { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 18px; }
.site-footer nav a { color:#fff; font-size:.8rem; font-weight:900; text-decoration:none; }
.site-footer nav a:hover { color:#ffba08; }
.site-footer p { margin:0; color:#999; font-size:.72rem; text-align:right; }
@media(max-width:760px){.site-footer-inner{grid-template-columns:1fr;text-align:center}.site-footer p{text-align:center}}

/* KAIP VEIKIA */
.how-it-works-content { width:min(1000px,calc(100% - 28px)); }
.how-it-works-content .hero { padding-bottom:30px; }
.how-section { margin-top:18px; padding:clamp(22px,4vw,40px); border:1px solid #ccc; background:#fff; color:#111; }
.how-section-heading { display:flex; align-items:flex-start; gap:16px; }
.how-section-heading > span { display:grid; flex:0 0 50px; width:50px; aspect-ratio:1; place-items:center; background:#ffba08; font-size:1.1rem; font-weight:1000; }
.how-section-heading p { margin:0 0 3px; color:#9b0c0c; font-size:.68rem; font-weight:1000; letter-spacing:.12em; }
.how-section-heading h2 { margin:0; max-width:720px; font-size:clamp(1.5rem,3vw,2.25rem); line-height:1.05; }
.how-cycle { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin:30px 0 0; padding:0; list-style:none; background:#ccc; border:1px solid #ccc; }
.how-cycle li { min-width:0; padding:20px; background:#f7f7f7; }
.how-cycle li > strong { display:grid; width:34px; height:34px; margin-bottom:20px; place-items:center; border-radius:50%; background:#111; color:#ffba08; }
.how-cycle h3 { margin:0 0 8px; font-size:1rem; line-height:1.15; }
.how-cycle p,.how-lead,.how-benefits p { margin:0; color:#555; line-height:1.6; }
.how-loop { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 12px; margin-top:20px; padding:14px; background:#111; color:#fff; font-size:.72rem; font-weight:1000; letter-spacing:.06em; }
.how-loop b { color:#ffba08; font-size:1.15rem; }
.how-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.how-actions a { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:10px 16px; border:2px solid #111; color:#111; font-size:.77rem; font-weight:1000; text-decoration:none; }
.how-actions a:hover { background:#eee; }
.how-actions .how-primary { background:#ffba08; }
.how-actions .how-primary:hover { background:#ffd044; }
.how-lead { max-width:760px; margin-top:22px; font-size:1.05rem; }
.how-benefits { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:24px; }
.how-benefits article { padding:20px; border:1px solid #d4d4d4; }
.how-benefits span { display:inline-block; margin-bottom:14px; color:#a50d0d; font-size:.75rem; font-weight:1000; letter-spacing:.05em; }
.how-benefits h3 { margin:0 0 7px; font-size:1.08rem; }
@media(max-width:800px){.how-cycle{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.how-cycle,.how-benefits{grid-template-columns:1fr}.how-section{padding:20px 16px}.how-section-heading{gap:11px}.how-section-heading>span{flex-basis:42px;width:42px}.how-actions a{width:100%}.how-loop{gap:5px 8px}}
@media(max-width:680px){
    body.home-legacy .votes-wallet { display:block; padding:16px; }
    body.home-legacy .votes-wallet-number { margin:4px 0 0; font-size:2rem; }
    body.home-legacy .votes-wallet .vote-countdown { margin:14px -16px -16px; }
}

body.home-legacy .home-hero {
    padding: 0;
    text-align: left;
}

body.home-legacy .home-hero .site-logo-wrap,
body.home-legacy .home-hero .tag,
body.home-legacy .home-hero p {
    display: none;
}

body.home-legacy .home-hero h1 {
    display: inline-block;
    max-width: none;
    margin: 0 0 18px;
    padding: 14px 62px 14px 18px;
    color: #fff;
    background: #080808;
    clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 100%, 0% 100%);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.8px;
    text-transform: none;
}

body.home-legacy .history-back {
    margin: 0;
}

.global-search { display:grid; grid-template-columns:minmax(0,1fr) auto; width:100%; border:2px solid #080808; background:#fff; }
body.home-legacy > .global-search, body.home-legacy .page > .global-search { grid-column:1 / -1; }
.global-search input { min-width:0; height:54px; border:0; padding:0 16px; font:inherit; font-size:1rem; outline:none; }
.global-search input:focus { box-shadow:inset 0 0 0 2px #ffba08; }
.global-search button { min-width:138px; border:0; padding:0 18px; background:#080808; color:#fff; font-weight:900; cursor:pointer; }
.vote-countdown { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 18px; border:2px solid #111; background:#ffba08; color:#111; }
.vote-countdown > div:first-child { display:grid; gap:2px; }
.vote-countdown-kicker { font-size:.68rem; font-weight:950; letter-spacing:.12em; }
.vote-countdown strong { font-size:1.15rem; }
.vote-countdown-time { display:flex; align-items:baseline; gap:5px; }
.vote-countdown-time span { min-width:34px; font-size:1.55rem; line-height:1; font-weight:1000; text-align:center; }
.vote-countdown-time small { margin-right:5px; font-size:.65rem; font-weight:900; }
@media (max-width:600px) { .vote-countdown { align-items:flex-start; flex-direction:column; gap:10px; } .vote-countdown-time { width:100%; justify-content:space-between; gap:2px; } .vote-countdown-time span { font-size:1.3rem; } }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:560px) { .global-search button { min-width:92px; padding:0 10px; } }

/* Bendra kūrinių ir naujienų paieška */
.search-page .page { width:min(1080px, calc(100% - 32px)); }
.search-page .hero { padding-bottom:24px; }
.search-page .hero h1 { margin-bottom:18px; }
.search-page .history-list { display:grid; gap:12px; margin-top:34px; }
.search-page .section-head { margin:0 0 2px; padding:0; border:0; }
.search-page .section-head h2 { margin:0; font-size:clamp(1.35rem, 3vw, 2rem); }
.search-page .history-week {
    display:grid;
    grid-template-columns:132px minmax(0, 1fr);
    align-items:center;
    gap:20px;
    min-height:112px;
    padding:14px;
    border:1px solid #d2d2d2;
    background:#fff;
    color:#111;
    text-decoration:none;
}
.search-page .history-week:hover { border-color:#111; transform:translateY(-2px); box-shadow:5px 5px 0 #ffba08; }
.search-page .history-week > div:last-child { min-width:0; }
.search-page .week-thumb { width:132px; height:82px; overflow:hidden; background:#111; }
.search-page .week-thumb img { width:100%; height:100%; object-fit:cover; }
.search-page .week-number { width:auto; color:#e01818; font-size:1.55rem; font-weight:950; text-align:center; }
.search-page .week-title { margin-bottom:7px; font-size:1.15rem; line-height:1.15; }
.search-page .week-meta { max-width:760px; color:#555; font-size:.92rem; line-height:1.5; }
.search-page .history-list:nth-of-type(3) .history-week { grid-template-columns:88px minmax(0, 1fr); align-items:start; }
@media (max-width:600px) {
    .search-page .page { width:min(100% - 18px, 1080px); }
    .search-page .history-week,
    .search-page .history-list:nth-of-type(3) .history-week { grid-template-columns:92px minmax(0, 1fr); gap:12px; padding:10px; }
    .search-page .week-thumb { width:92px; height:68px; }
    .search-page .week-title { font-size:1rem; }
    .search-page .week-meta { font-size:.82rem; }
    .search-page .week-number { font-size:1.1rem; text-align:left; }
}

body.home-legacy .submit-card,
body.home-legacy .arena,
body.home-legacy .archive-random,
body.home-legacy .winner-strip {
    border: 1px solid #d6d6d6;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
}

body.home-legacy .submit-card {
    margin: 0;
    padding: 14px;
}

body.home-legacy .submit-card h3,
body.home-legacy .section-head .tag,
body.home-legacy .archive-random .tag,
body.home-legacy .winner-strip .label {
    width: fit-content;
    margin: 0 0 12px;
    padding: 7px 22px 7px 10px;
    color: #fff;
    background: #060606;
    border: 0;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0% 100%);
    box-shadow: none;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

body.home-legacy .submit-card form {
    grid-template-columns: minmax(0, 1fr) 120px;
}

body.home-legacy .submit-card input {
    border-radius: 0;
    border-color: #d5d5d5;
    background: #f8f8f8;
    color: #111;
}

.youtube-url-field { display:grid; gap:6px; min-width:0; }
.youtube-url-field label { display:flex; align-items:center; gap:7px; color:#111; font-size:.78rem; font-weight:900; }
.youtube-url-field label svg { width:24px; height:18px; flex:0 0 auto; fill:#e01818; }
.youtube-url-field label svg .youtube-play { fill:#fff; }
.youtube-url-field small { color:#6b6b6b; font-size:.7rem; line-height:1.3; }
body.home-legacy #submitForm { align-items:end; }
body.home-legacy #submitForm > button { min-height:42px; margin-bottom:23px; }

@media (max-width:600px) {
    body.home-legacy #submitForm { grid-template-columns:1fr; }
    body.home-legacy #submitForm > button { width:100%; margin-bottom:0; }
}

body.home-legacy .submit-card button,
body.home-legacy .listen-btn {
    min-height: 40px;
    border-radius: 0;
    background: #111;
    color: #fff;
    box-shadow: none;
}

body.home-legacy .winner-strip {
    display: block;
    margin: 0;
    padding: 12px;
}

body.home-legacy .winner-thumb {
    width: 100%;
    border-radius: 0;
    margin-bottom: 10px;
}

body.home-legacy .winner-strip .winner-info h2 {
    color: #151515;
    font-size: 1rem;
    line-height: 1.16;
    letter-spacing: 0;
    text-transform: none;
}

body.home-legacy .winner-strip .channel,
body.home-legacy .winner-stats {
    color: #666;
    font-size: 12px;
}

body.home-legacy .winner-stats {
    margin-top: 10px;
    text-align: left;
}

body.home-legacy .arena {
    margin: 0;
    padding: 14px;
}

body.home-legacy .vote-entry-info {
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:14px;
    align-items:start;
    margin:0 0 14px;
    padding:16px 18px;
    border:1px solid #e0bd29;
    border-left:5px solid #ffcc00;
    background:#fff8d8;
    color:#171717;
}
body.home-legacy .vote-entry-info-icon {
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#111;
    color:#fff;
    font-size:1.15rem;
    font-weight:900;
}
body.home-legacy .vote-entry-info h2 { margin:0 0 6px; font-size:1.05rem; }
body.home-legacy .vote-entry-info p { margin:0; color:#454545; line-height:1.55; }
body.home-legacy .vote-entry-info a { color:#111; font-weight:900; }
@media(max-width:520px){body.home-legacy .vote-entry-info{grid-template-columns:1fr;padding:14px}}

body.home-legacy .section-head {
    display: block;
    margin-bottom: 12px;
}

body.home-legacy .section-head h2 {
    color: #171717;
    font-size: 1.2rem;
    letter-spacing: 0;
    text-transform: none;
}

body.home-legacy .tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.home-legacy .track-card {
    border-radius: 0;
    border:1px solid #cfcfcf;
    border-top:4px solid #111;
    background: #fff;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    transition:transform .15s ease,box-shadow .15s ease;
}

body.home-legacy .track-card:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(0,0,0,.13); }
body.home-legacy .track-card > img { border-bottom:1px solid #ddd; }
body.home-legacy .track-body { gap:10px; padding:13px; }

body.home-legacy .track-main-info h3,
body.home-legacy .track-card h3 {
    color: #171717;
    font-size: .95rem;
    line-height: 1.18;
    letter-spacing: 0;
}

body.home-legacy .track-main-info p,
body.home-legacy .track-card p,
body.home-legacy .votes {
    color: #666;
}

body.home-legacy .votes { padding:8px 10px; background:#f3f3f3; border-left:4px solid #ffba08; }
body.home-legacy .votes strong { color:#111; font-size:1.15rem; }
body.home-legacy .listen-btn { min-height:42px; background:#111; color:#fff; font-weight:1000; }

body.home-legacy .share-btn {
    border-radius: 0;
    background: #f1f1f1;
    border-color: #d8d8d8;
    color: #111;
}

body.home-legacy .vote-point-btn { min-height:42px; border:2px solid #111; border-radius:0; background:#ffba08; color:#111; font-size:.9rem; }
body.home-legacy .vote-point-btn:hover { background:#111; color:#fff; }

body.home-legacy .report-btn {
    border-radius: 0;
    background: #fff;
    border-color: #d8d8d8;
    color: #333;
}

body.home-legacy .archive-random {
    margin: 0;
    padding: 14px;
    background: #fff;
}

body.home-legacy .archive-random-head {
    display: block;
    margin-bottom: 12px;
}

body.home-legacy .archive-random h2 {
    color: #171717;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
}

body.home-legacy .archive-random p {
    color: #666;
    font-size: .78rem;
}

body.home-legacy .archive-random-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
}

body.home-legacy .archive-random-card,
body.home-legacy .archive-random-card:first-child {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    grid-row: span 1;
    border-radius: 0;
    min-height: 82px;
    background: #f6f6f6;
    box-shadow: none;
}

body.home-legacy .archive-random-card:first-child {
    grid-column: span 1;
    min-height: 82px;
}

body.home-legacy .archive-random-card:first-child h3 {
    font-size: .84rem;
}

body.home-legacy .archive-all-link {
    width: 100%;
    margin-top: 10px;
    border-radius: 0;
    background: #111;
    color: #fff;
    box-shadow: none;
}

body.home-legacy .archive-random-card img,
body.home-legacy .archive-random-placeholder {
    position: static;
    width: 82px;
    height: 82px;
    min-height: 82px;
}

body.home-legacy .archive-random-card::after {
    display: none;
}

body.home-legacy .archive-random-body {
    position: static;
    padding: 8px 8px 8px 0;
}

body.home-legacy .archive-random-meta {
    gap: 4px;
    margin-bottom: 5px;
    font-size: .58rem;
}

body.home-legacy .archive-random-meta span {
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
}

body.home-legacy .archive-random-card h3 {
    color: #171717;
    font-size: .84rem;
    line-height: 1.15;
}

body.home-legacy .archive-random-card p {
    display: none;
}

body.home-legacy .votes-wallet {
    position: sticky;
    top: 12px;
    inset-inline: auto;
    z-index: 20;
    width: 100%;
    border-radius: 0;
    background: #fff;
    border-color: #d6d6d6;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

body.home-legacy .legacy-sidebar #subscribeForm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

body.home-legacy .legacy-sidebar #subscribeForm input,
body.home-legacy .legacy-sidebar #subscribeForm button {
    width: 100%;
    min-width: 0;
}

body.home-legacy .legacy-sidebar #subscribeForm button {
    min-height: 44px;
    padding: 0 10px;
    font-size: .72rem;
    letter-spacing: .02em;
    white-space: nowrap;
}

body.home-legacy .votes-wallet-label {
    color: #666;
}

body.home-legacy .votes-wallet-number {
    color: #111;
}

body.home-legacy .votes-wallet .vote-countdown { display:grid; grid-template-columns:1fr; gap:10px; margin:14px -16px -16px; padding:14px 16px 16px; border:0; border-top:1px solid #111; }
body.home-legacy .votes-wallet .vote-countdown > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
body.home-legacy .votes-wallet .vote-countdown strong { font-size:.95rem; white-space:nowrap; }
body.home-legacy .votes-wallet .vote-countdown-time { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; width:100%; }
body.home-legacy .votes-wallet .vote-countdown-time span { min-width:0; padding:8px 3px 2px; background:#111; color:#fff; font-size:1.2rem; line-height:1; }
body.home-legacy .votes-wallet .vote-countdown-time small { margin:0; padding:2px 3px 7px; background:#111; color:#ffba08; font-size:.58rem; text-align:center; }
body.home-legacy .votes-wallet .vote-countdown-time span:nth-of-type(1) { grid-column:1; grid-row:1; }
body.home-legacy .votes-wallet .vote-countdown-time small:nth-of-type(1) { grid-column:1; grid-row:2; }
body.home-legacy .votes-wallet .vote-countdown-time span:nth-of-type(2) { grid-column:2; grid-row:1; }
body.home-legacy .votes-wallet .vote-countdown-time small:nth-of-type(2) { grid-column:2; grid-row:2; }
body.home-legacy .votes-wallet .vote-countdown-time span:nth-of-type(3) { grid-column:3; grid-row:1; }
body.home-legacy .votes-wallet .vote-countdown-time small:nth-of-type(3) { grid-column:3; grid-row:2; }
body.home-legacy .votes-wallet .vote-countdown-time span:nth-of-type(4) { grid-column:4; grid-row:1; }
body.home-legacy .votes-wallet .vote-countdown-time small:nth-of-type(4) { grid-column:4; grid-row:2; }

body.home-legacy .music-player-bar {
    background: #fff;
    border-color: #d6d6d6;
    border-radius: 0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

body.home-legacy .music-player-meta h3,
body.home-legacy .playlist-btn,
body.home-legacy .autoplay-toggle {
    color: #111;
}

body.home-legacy .listen-status {
    color: #e01818;
}

.archive-debug {
    grid-column: 1 / -1;
    background: #fff;
    color: #111;
    padding: 18px 20px;
    margin: 20px 0;
    border-radius: 0;
    border: 1px solid #d6d6d6;
    font-family: monospace;
    line-height: 1.6;
}

/* LEGACY INNER PAGES */

body.legacy-page {
    color: #151515;
    background: #ececec;
    font-family: Arial, Helvetica, sans-serif;
}

body.legacy-page .page {
    width: min(1140px, calc(100% - 18px));
    padding: 34px 0 36px;
}

body.legacy-page .hero {
    padding: 0 0 18px;
    text-align: left;
}

body.legacy-page .hero .site-logo-wrap {
    display: none;
}

body.legacy-page .hero .tag,
body.legacy-page .section-head .tag,
body.legacy-page .single-info .tag,
body.legacy-page .week-winner-info .tag,
body.legacy-page .archive-now .tag {
    width: fit-content;
    margin: 0 0 12px;
    padding: 7px 22px 7px 10px;
    color: #fff;
    background: #060606;
    border: 0;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0% 100%);
    box-shadow: none;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

body.legacy-page .hero h1 {
    margin: 0 0 8px;
    color: #151515;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -1px;
    text-transform: none;
}

body.legacy-page .hero p,
body.legacy-page .channel,
body.legacy-page .single-channel,
body.legacy-page .result-channel,
body.legacy-page .archive-channel,
body.legacy-page .archive-meta,
body.legacy-page .archive-now p,
body.legacy-page .week-meta,
body.legacy-page .week-stats {
    color: #666;
}

body.legacy-page .history-back,
body.legacy-page .single-back,
body.legacy-page .single-share,
body.legacy-page .report-btn,
body.legacy-page .share-btn,
body.legacy-page .archive-control-btn,
body.legacy-page .archive-search button {
    border-radius: 0;
    box-shadow: none;
}

body.legacy-page .history-back,
body.legacy-page .single-back,
body.legacy-page .archive-control-btn {
    background: #111;
    border-color: #111;
    color: #fff;
}

body.legacy-page .single-share,
body.legacy-page .archive-search button,
body.legacy-page .archive-control-btn.active {
    background: #e01818;
    border-color: #e01818;
    color: #fff;
}

body.legacy-page .arena,
body.legacy-page .single-player,
body.legacy-page .single-info,
body.legacy-page .week-winner,
body.legacy-page .result-row,
body.legacy-page .archive-search,
body.legacy-page .archive-player-card,
body.legacy-page .archive-playlist-card,
body.legacy-page .history-week,
body.legacy-page .history-summary div {
    border: 1px solid #d6d6d6;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
}

body.legacy-page .history-summary div {
    display: grid;
    align-content: center;
    min-height: 70px;
    padding: 14px 12px;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .02em;
    text-align: left;
    text-transform: uppercase;
}

body.legacy-page .history-summary div strong {
    display: block;
    margin-top: 6px;
    color: #e01818;
    font-size: 1.45rem;
    line-height: 1;
}

body.legacy-page .history-summary-label {
    display: block;
    color: #555;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
}
body.legacy-page .single-track-page {
    min-height: 0;
    display: block;
}

body.legacy-page .single-track-card,
body.legacy-page .week-winner,
body.legacy-page .archive-player-layout {
    gap: 18px;
    margin-top: 12px;
}

body.legacy-page .single-player-inner,
body.legacy-page .single-player-inner img,
body.legacy-page .single-player-inner iframe {
    min-height: 330px;
}

body.legacy-page .single-player-inner img {
    opacity: 1;
}

body.legacy-page .single-info,
body.legacy-page .week-winner-info,
body.legacy-page .archive-now,
body.legacy-page .archive-search,
body.legacy-page .arena {
    padding: 14px;
}

body.legacy-page .single-info h1,
body.legacy-page .week-winner-info h2,
body.legacy-page .archive-now h2 {
    color: #151515;
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    line-height: 1.03;
    letter-spacing: -.8px;
    text-transform: none;
}

body.legacy-page .single-score,
body.legacy-page .counter {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    background: #f7f7f7;
    color: #555;
}

body.legacy-page .single-score strong,
body.legacy-page .counter strong,
body.legacy-page .result-score strong,
body.legacy-page .result-pos,
body.legacy-page .week-number,
body.legacy-page .history-summary strong {
    color: #e01818;
}

body.legacy-page .vote-point-btn {
    border-radius: 0;
    background: #f1f1f1;
    border-color: #d8d8d8;
    color: #111;
}

body.legacy-page .result-row {
    border-radius: 0;
}

body.legacy-page .result-row.is-winner {
    border-color: #e01818;
    background: #fff6f6;
}

body.legacy-page .result-row img,
body.legacy-page .week-winner img,
body.legacy-page .archive-item img,
body.legacy-page .week-thumb {
    border-radius: 0;
}

body.legacy-page .result-title,
body.legacy-page .week-title,
body.legacy-page .archive-title,
body.legacy-page .archive-playlist-head h3 {
    color: #151515;
}

body.legacy-page .archive-search input {
    border-radius: 0;
    border-color: #d5d5d5;
    background: #f8f8f8;
    color: #111;
}

body.legacy-page .archive-playlist-head {
    border-bottom-color: #e5e5e5;
}

body.legacy-page .archive-item {
    border-bottom-color: #ededed;
}

body.legacy-page .archive-item:hover,
body.legacy-page .archive-item.active {
    background: #fff4d6;
}

body.legacy-page .archive-item.active {
    border-left-color: #e01818;
}

body.legacy-page .history-summary {
    margin-left: 0;
    margin-right: 0;
}

.week-play-all {
    margin-left: 8px;
}

.week-listen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
}

.week-listen-btn:hover {
    background: #e01818;
    border-color: #e01818;
}

/* WINNER */

.winner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr);
    gap: 12px;
    align-items: stretch;
    margin: 0 0 28px;
}

.player-card,
.winner-info,
.submit-card,
.arena,
.archive-random {
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.player-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-width: 0;
}

.fake-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 240px;
    background: #171717;
    overflow: hidden;
}

.fake-player img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.08);
    transform: scale(1.02);
}

.fake-player::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255, 204, 0, .12), transparent 38%),
        linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .55));
    pointer-events: none;
}

.fake-player iframe,
#playerWrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.play-btn {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: clamp(74px, 12vw, 112px);
    height: clamp(74px, 12vw, 112px);
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    color: #111;
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    font-weight: 1000;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .44);
    transition: transform .18s ease, background .18s ease;
}

.play-btn:hover {
    transform: scale(1.05);
    background: #ffe067;
}

.empty-box {
    display: grid;
    min-height: 260px;
    place-items: center;
    padding: 24px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, .04);
}

.winner-info {
    min-width: 0;
    border-radius: var(--radius-xl);
    padding: clamp(22px, 4vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label {
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 204, 0, .18);
    border: 1px solid rgba(255, 204, 0, .34);
    color: var(--yellow);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.winner-info h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.35rem);
    line-height: .94;
    letter-spacing: -2px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.channel {
    margin: 12px 0 20px;
    color: var(--muted);
    font-weight: 700;
}

.counter {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 15px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .10);
    color: var(--muted);
    font-weight: 800;
}

.counter strong {
    color: var(--yellow);
    font-size: 1.12em;
}

.counter.small {
    font-size: .93rem;
}

.winner-strip {
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 10px 0 16px;
    padding: 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

.winner-strip .winner-info {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.winner-strip .label {
    margin-bottom: 6px;
    padding: 5px 8px;
    font-size: .66rem;
}

.winner-strip .winner-info h2 {
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    line-height: 1.08;
    letter-spacing: -.65px;
}

.winner-strip .channel {
    margin: 5px 0 0;
    font-size: .88rem;
}

.winner-thumb {
    position: relative;
    display: block;
    width: 118px;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: 11px;
    overflow: hidden;
    background: #111;
}

.winner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.winner-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .24);
}

.winner-crown {
    position:absolute;
    z-index:3;
    top:8px;
    right:8px;
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:2px solid #111;
    border-radius:50%;
    background:#ffba08;
    color:#111;
    box-shadow:3px 3px 0 rgba(0,0,0,.7);
    transform:rotate(5deg);
}

.winner-crown svg {
    width:23px;
    height:23px;
    fill:#ffba08;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.winner-play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: 34px;
    height: 34px;
    font-size: .9rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--yellow);
    color: #111;
    font-weight: 1000;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .32);
}

.winner-stats {
    display: grid;
    gap: 6px;
    min-width: 138px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
    text-align: right;
}

.winner-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, .72);
}

.winner-modal-panel {
    position: relative;
    width: min(760px, 100%);
    padding: 12px;
    border-radius: 16px;
    background: rgba(12, 12, 12, .98);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .46);
}

.winner-modal-panel h3 {
    margin: 0 42px 10px 2px;
    font-size: 1rem;
    line-height: 1.2;
}

.winner-modal-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.winner-modal-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.winner-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
}

.winner-stats strong {
    color: var(--yellow);
    font-size: .98rem;
}

/* SUBMIT */

.submit-card {
    border-radius: var(--radius-xl);
    padding: 14px;
    margin: 14px 0;
}

.submit-card h3 {
    margin: 0 0 9px;
    font-size: 1.1rem;
    letter-spacing: -.3px;
    text-transform: uppercase;
}

#submitForm,
.submit-card form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.submit-card input {
    min-width: 0;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(0, 0, 0, .26);
    color: #fff;
    padding: 11px 12px;
    outline: none;
    font-weight: 700;
}

.submit-card input::placeholder {
    color: rgba(255, 255, 255, .48);
}

.submit-card input:focus {
    border-color: rgba(255, 204, 0, .65);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, .13);
}

.submit-card button,
.listen-btn,
.vote-point-btn,
.report-btn,
.share-btn,
.playlist-btn,
.listen-close,
.archive-all-link {
    transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}

.submit-card button,
.listen-btn {
    border: 0;
    border-radius: 10px;
    background: var(--yellow);
    color: #111;
    padding: 0 14px;
    min-height: 44px;
    font-weight: 1000;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.submit-card button:hover,
.listen-btn:hover,
.vote-point-btn:hover,
.archive-all-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

/* ARENA */

.arena {
    border-radius: var(--radius-xl);
    padding: 14px;
    margin: 14px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    line-height: 1;
    letter-spacing: -.8px;
    text-transform: uppercase;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.track-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .20);
}

.track-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #151515;
}

.track-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.track-main-info {
    min-width: 0;
}

.track-main-info h3,
.track-card h3 {
    margin: 0;
    color: #fff;
    font-size: .88rem;
    line-height: 1.18;
    letter-spacing: -.1px;
    overflow-wrap: anywhere;
}

.track-main-info p,
.track-card p {
    margin: 4px 0 0;
    color: var(--muted-2);
    font-size: .76rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.votes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
}

.votes strong {
    color: var(--yellow);
    font-size: .98rem;
}

.listen-btn {
    width: 100%;
}

.vote-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.vote-point-btn {
    min-width: 0;
    border: 1px solid rgba(255, 204, 0, .30);
    border-radius: 9px;
    background: rgba(255, 204, 0, .13);
    color: var(--yellow);
    padding: 8px 6px;
    font-weight: 1000;
}

.track-actions {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 6px;
}

.report-btn,
.share-btn {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 9px;
    border-radius: 9px;
    text-align: center;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 1000;
    line-height: 1.05;
}

.report-btn {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .76);
}

.share-btn {
    border: 1px solid rgba(255, 204, 0, .26);
    background: rgba(255, 204, 0, .12);
    color: var(--yellow);
}

.report-btn:hover,
.share-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .13);
}

.empty-arena {
    border: 1px dashed rgba(255, 255, 255, .22);
    border-radius: var(--radius-lg);
    padding: 18px;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

/* BALSŲ KORTELĖ */

.votes-wallet {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: min(190px, calc(100vw - 36px));
    border-radius: 14px;
    padding: 10px 12px;
    background:
        radial-gradient(circle at top left, rgba(255, 204, 0, .24), transparent 44%),
        rgba(15, 15, 15, .92);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
    backdrop-filter: blur(16px);
}

.votes-wallet-label {
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.15;
    font-weight: 800;
}

.votes-wallet-number {
    color: var(--yellow);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 1000;
    margin-top: 6px;
}

/* ŽINUTĖ */

.global-message {
    position: fixed;
    left: 50%;
    bottom: 22px;
    translate: -50% 0;
    z-index: 90;
    width: min(540px, calc(100vw - 34px));
    border-radius: 999px;
    padding: 13px 18px;
    background: rgba(255, 204, 0, .96);
    color: #111;
    text-align: center;
    font-weight: 1000;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}

.global-message-error {
    background: rgba(255, 59, 48, .96);
    color: #fff;
}

/* APAČIOS GROTUVAS */

.music-player-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    translate: -50% 0;
    z-index: 80;
    width: min(980px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 24px;
    background: rgba(12, 12, 12, .94);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .48);
    backdrop-filter: blur(18px);
}

.listen-player {
    width: 180px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.listen-player iframe,
.listen-player > div,
#youtubePlaylistPlayer {
    width: 100%;
    height: 100%;
}

.listen-loading {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 10px;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
    font-weight: 800;
}

.music-player-meta {
    min-width: 0;
}

.listen-status {
    margin-bottom: 5px;
    color: var(--yellow);
    font-size: .78rem;
    font-weight: 1000;
    text-transform: uppercase;
}

.music-player-meta h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.18;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-progress {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 9px;
    align-items: center;
    margin-top: 8px;
    color: var(--muted-2);
    font-size: .72rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.player-progress input[type="range"] {
    width: 100%;
    min-width: 0;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    appearance: none;
    background: rgba(255, 255, 255, .18);
    outline: none;
    cursor: pointer;
}

.player-progress input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, .14);
}

.player-progress input[type="range"]::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, .14);
}

.player-progress input[type="range"]::-moz-range-progress {
    height: 4px;
    border-radius: 999px;
    background: var(--yellow);
}

.music-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-btn,
.listen-close {
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 14px;
    min-height: 42px;
    padding: 0 12px;
    font-size: .78rem;
    font-weight: 1000;
}

.listen-close {
    width: 42px;
    padding: 0;
    font-size: 1.45rem;
    line-height: 1;
    background: rgba(255, 59, 48, .18);
    border-color: rgba(255, 59, 48, .28);
}

.playlist-btn:hover,
.listen-close:hover {
    transform: translateY(-1px);
}

.autoplay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 1000;
    user-select: none;
}

.autoplay-toggle input {
    accent-color: var(--yellow);
}

/* ARCHYVAS */

.archive-random {
    margin: 28px 0;
    padding: 24px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(255, 204, 0, .20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 59, 48, .18), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.archive-random-head {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
}

.archive-random .tag {
    margin-bottom: 8px;
}

.archive-random h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    line-height: .92;
    letter-spacing: -1.6px;
    text-transform: uppercase;
}

.archive-random p {
    color: var(--muted);
    margin: 10px 0 0;
    max-width: 680px;
    font-size: .98rem;
}

.archive-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    color: #111;
    background: var(--yellow);
    text-decoration: none;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 1000;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.archive-random-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 14px;
}

.archive-random-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 160px;
    background: #171717;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.archive-random-card:first-child {
    grid-row: span 2;
}

.archive-random-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform .3s ease, filter .3s ease;
    filter: saturate(1.08) contrast(1.05);
}

.archive-random-card:hover img {
    transform: scale(1.1) rotate(.35deg);
    filter: saturate(1.2) contrast(1.12);
}

.archive-random-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.44) 38%, rgba(0,0,0,.9) 100%),
        radial-gradient(circle at 90% 5%, rgba(255,204,0,.28), transparent 35%);
}

.archive-random-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, #252525, #101010),
        repeating-linear-gradient(-45deg, rgba(255,255,255,.075), rgba(255,255,255,.075) 2px, transparent 2px, transparent 10px);
    font-weight: 1000;
    letter-spacing: -1px;
}

.archive-random-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 15px;
}

.archive-random-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: .72rem;
    font-weight: 900;
}

.archive-random-meta span {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    padding: 4px 8px;
    backdrop-filter: blur(8px);
}

.archive-random-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.06;
    letter-spacing: -.4px;
}

.archive-random-card:first-child h3 {
    font-size: clamp(1.35rem, 2.6vw, 2.05rem);
    letter-spacing: -1.2px;
}

.archive-random-card p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.78);
    font-size: .86rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-random-card:not(:first-child) p {
    display: none;
}

/* ISTORIJA */

.history-hero {
    padding-bottom: 18px;
}

.history-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(620px, 100%);
    margin: 18px auto 0;
}

.history-summary div {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.history-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--yellow);
    font-size: 1.35rem;
    line-height: 1;
}

.history-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.history-week {
    display: grid;
    grid-template-columns: 76px 128px minmax(0, 1fr) 170px;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.11);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.history-week:hover {
    border-color: rgba(255,204,0,.45);
    background: rgba(255,255,255,.075);
    transform: translateY(-1px);
}

.week-number-wrap {
    text-align: center;
}

.week-number {
    color: var(--yellow);
    font-size: 1.55rem;
    font-weight: 1000;
    line-height: 1;
}

.week-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 11px;
    overflow: hidden;
    background: #151515;
}

.week-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.week-thumb-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted-2);
    font-size: .7rem;
    font-weight: 1000;
}

.week-title {
    font-weight: 1000;
    font-size: 1.02rem;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.week-meta {
    color: var(--muted-2);
    margin-top: 4px;
    font-size: .84rem;
    font-weight: 750;
}

.week-stats {
    text-align: right;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 850;
}

/* PLANŠETĖ */

@media (max-width: 1020px) {
    body.home-legacy .page {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .tracks-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .music-player-bar {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .music-player-controls {
        grid-column: 1 / -1;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .listen-player {
        width: 150px;
    }
}

@media (max-width: 900px) {
    .winner {
        grid-template-columns: 1fr;
    }

    .winner-strip {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .winner-strip .winner-thumb {
        width: 108px;
    }

    .winner-stats {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        text-align: left;
        min-width: 0;
    }

    .winner-info {
        min-height: 0;
    }

    .archive-random {
        padding: 20px;
    }

    .archive-random-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .archive-random-grid {
        grid-template-columns: 1fr 1fr;
    }

    .archive-random-card:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .history-week {
        grid-template-columns: 66px 110px minmax(0, 1fr);
    }

    .week-stats {
        grid-column: 2 / -1;
        text-align: left;
    }
}

/* TELEFONAS */

@media (max-width: 680px) {
    .legacy-topline {
        height: auto;
        padding: 8px 0;
        gap: 8px;
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    body.home-legacy .votes-wallet {
        position: static;
        inset: auto;
    }

    .legacy-topline a {
        height: auto;
        padding: 6px 8px;
    }

    .legacy-nav {
        grid-template-columns: 1fr auto;
        gap: 8px;
        padding: 10px 0;
    }

    .legacy-brand img {
        width: 86px;
    }

    .legacy-brand-text {
        font-size: 1.65rem;
    }

    .legacy-menu-toggle { display:block; align-self:center; }

    .legacy-nav nav {
        display:none;
        grid-column:1 / -1;
        flex-direction:column;
        align-items:stretch;
        gap:0;
        padding:8px 0 4px;
        border-top:1px solid #ddd;
    }

    .legacy-nav nav.is-open { display:flex; }

    .legacy-nav nav a {
        min-height: 42px;
        padding: 0 12px;
        font-size: 13px;
        justify-content:flex-start;
        border-bottom:1px solid #eee;
    }

    body.home-legacy .page {
        width: min(100% - 18px, var(--container));
        display: block;
        padding-top: 24px;
    }

    body.home-legacy .home-hero h1 {
        font-size: 1.65rem;
    }

    body.home-legacy .submit-card,
    body.home-legacy .winner-strip,
    body.home-legacy .arena,
    body.home-legacy .archive-random {
        margin-bottom: 12px;
    }

    body.home-legacy .legacy-sidebar {
        margin-top: 12px;
    }

    body.home-legacy .tracks-grid {
        grid-template-columns: 1fr;
    }

    body.home-legacy .archive-random-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.home-legacy .archive-random-card:first-child {
        grid-column: span 1;
    }

    body.home-legacy .votes-wallet {
        left: 9px;
        right: 9px;
        width: auto;
    }

    body {
        background:
            radial-gradient(circle at 20% -5%, rgba(255, 204, 0, .17), transparent 38%),
            linear-gradient(135deg, #050505, #111 55%, #050505);
    }

    body.player-open {
        padding-bottom: 255px;
    }

    .page {
        width: min(100% - 24px, var(--container));
        padding-top: 10px;
        padding-bottom: 22px;
    }

    .hero {
        padding: 10px 0 12px;
    }

    .home-hero {
        padding: 6px 0 8px;
    }

    .site-logo {
        width: min(155px, 62vw);
    }

    .home-hero .site-logo {
        width: min(135px, 56vw);
    }

    .hero h1 {
        margin-top: 8px;
        font-size: clamp(1.75rem, 10vw, 2.6rem);
        letter-spacing: -1.6px;
    }

    .home-hero h1 {
        font-size: clamp(1.65rem, 9vw, 2.35rem);
        line-height: .94;
    }

    .hero p {
        font-size: .88rem;
    }

    .winner,
    .submit-card,
    .arena,
    .archive-random {
        margin: 12px 0;
    }

    .fake-player {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .winner-info,
    .submit-card,
    .arena {
        border-radius: 14px;
        padding: 12px;
    }

    .winner-info h2 {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        letter-spacing: -.8px;
    }

    .winner-strip {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
        border-radius: 14px;
    }

    .winner-strip .winner-thumb {
        width: 92px;
        border-radius: 10px;
    }

    .winner-strip .winner-info h2 {
        font-size: 1rem;
        letter-spacing: -.4px;
    }

    .winner-strip .channel {
        font-size: .8rem;
    }

    .winner-play {
        width: 30px;
        height: 30px;
        font-size: .9rem;
    }

    .winner-modal {
        padding: 10px;
    }

    .winner-modal-panel {
        padding: 10px;
        border-radius: 14px;
    }

    .winner-stats {
        font-size: .78rem;
    }

    .counter {
        display: block;
    }

    .counter strong {
        display: block;
        margin-top: 4px;
    }

    #submitForm,
    .submit-card form {
        grid-template-columns: 1fr;
    }

    .submit-card button {
        width: 100%;
        min-height: 42px;
    }

    .section-head {
        display: block;
    }

    .section-head .tag {
        margin-bottom: 11px;
    }

    .section-head h2 {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }

    .tracks-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .track-card {
        border-radius: 13px;
    }

    .track-body {
        padding: 10px;
    }

    .track-main-info h3,
    .track-card h3 {
        font-size: .9rem;
    }

    .vote-points {
        gap: 7px;
    }

    .vote-point-btn {
        min-height: 38px;
        padding: 10px 6px;
    }

    .track-actions {
        grid-template-columns: 1fr;
    }

    .report-btn,
    .share-btn {
        width: 100%;
    }

    .archive-random {
        padding: 18px;
        border-radius: 20px;
    }

    .archive-random h2 {
        font-size: clamp(1.6rem, 9vw, 2.45rem);
    }

    .archive-random-grid {
        display: block;
    }

    .archive-random-card,
    .archive-random-card:first-child {
        display: block;
        height: 230px;
        min-height: 230px;
        margin-bottom: 12px;
    }

    .archive-random-card:first-child {
        height: 275px;
    }

    .archive-all-link {
        width: 100%;
    }

    .history-summary {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 7px;
    }

    .history-summary div {
        padding: 9px 7px;
        font-size: .66rem;
    }

    .history-summary strong {
        font-size: 1.1rem;
    }

    .history-list {
        gap: 9px;
    }

    .history-week {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 9px;
        padding: 9px;
        border-radius: 13px;
    }

    .week-thumb {
        grid-column: 1 / -1;
        order: -1;
    }

    .week-number {
        font-size: 1.25rem;
    }

    .week-title {
        font-size: .94rem;
    }

    .week-stats {
        grid-column: 1 / -1;
    }

    .votes-wallet {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-radius: 18px;
        padding: 12px 14px;
    }

    .votes-wallet-number {
        margin: 0;
        font-size: 1.7rem;
        flex: 0 0 auto;
    }

    .global-message {
        bottom: 78px;
        width: calc(100vw - 24px);
        border-radius: 18px;
        padding: 12px 14px;
    }

    .music-player-bar {
        left: 12px;
        right: 12px;
        bottom: 12px;
        translate: 0 0;
        width: auto;
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
    }

    .listen-player {
        width: 108px;
        border-radius: 14px;
    }

    .music-player-meta h3 {
        font-size: .93rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .music-player-controls {
        grid-column: 1 / -1;
        justify-content: stretch;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .playlist-btn,
    .autoplay-toggle,
    .listen-close {
        width: 100%;
        min-height: 42px;
    }

    .autoplay-toggle {
        justify-content: center;
    }

    .listen-close {
        position: absolute;
        top: -12px;
        right: -8px;
        width: 42px;
        border-radius: 999px;
    }
}

@media (max-width: 380px) {
    .page {
        width: min(100% - 18px, var(--container));
    }

    .tag {
        font-size: .68rem;
        padding: 6px 9px;
    }

    .hero h1 {
        font-size: 2.45rem;
        letter-spacing: -2.5px;
    }

    .winner-info,
    .submit-card,
    .arena,
    .archive-random {
        padding: 14px;
    }

    .vote-points {
        grid-template-columns: repeat(3, 1fr);
    }

    .vote-point-btn {
        font-size: .9rem;
    }
}

/* MODERN MINI PLAYER */

.music-player-bar {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    width: min(1040px, calc(100vw - 24px));
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
    color: #111;
}

.listen-player {
    width: 150px;
    border-radius: 12px;
    background: #050505;
}

.music-player-meta {
    display: grid;
    gap: 5px;
}

.listen-status {
    margin: 0;
    color: #e01818;
    font-size: .78rem;
    letter-spacing: .06em;
}

.music-player-meta h3 {
    color: #111;
    font-size: 1.05rem;
    line-height: 1.12;
}

.player-progress {
    grid-template-columns: 42px minmax(180px, 1fr) 42px;
    gap: 11px;
    margin-top: 5px;
    color: #555;
    font-size: .72rem;
}

.player-progress input[type="range"] {
    height: 8px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #e01818 0 var(--player-progress, 0%), #d9d9d9 var(--player-progress, 0%) 100%);
}

.player-progress input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 4px solid #e01818;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}

.player-progress input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 4px solid #e01818;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}

.player-progress input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: #d9d9d9;
}

.player-progress input[type="range"]::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: #e01818;
}

.music-player-controls {
    gap: 9px;
}

.playlist-btn,
.autoplay-toggle,
.listen-close {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #f5f5f5;
    color: #111;
    box-shadow: none;
}

.playlist-btn {
    padding: 0 16px;
}

.autoplay-toggle {
    padding: 0 14px;
}

.listen-close {
    width: 46px;
    background: #ffe0e0;
    border-color: #ffb7b7;
    color: #e01818;
}

.playlist-btn:hover,
.autoplay-toggle:hover,
.listen-close:hover {
    transform: translateY(-1px);
    filter: none;
    background: #ececec;
}

.listen-close:hover {
    background: #ffd2d2;
}

@media (max-width: 760px) {
    .music-player-bar {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
        border-radius: 16px;
    }

    .listen-player {
        width: 112px;
    }

    .player-progress {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }
}

body.home-legacy .archive-random-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
}

body.home-legacy .archive-random-card,
body.home-legacy .archive-random-card:first-child {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    height: auto;
    min-height: 82px;
}

body.home-legacy .archive-random-card:first-child {
    grid-column: span 1;
}

body.home-legacy .archive-random-card img,
body.home-legacy .archive-random-placeholder {
    width: 82px;
    height: 82px;
    min-height: 82px;
}

/* Paieškos kortelių galutiniai override'ai turi likti failo apačioje. */
body.search-page .page { width:min(1080px, calc(100% - 32px)); }
body.search-page .history-list { display:grid; gap:12px; margin-top:34px; }
body.search-page .history-week {
    display:grid;
    grid-template-columns:132px minmax(0, 1fr);
    align-items:center;
    gap:20px;
    min-height:112px;
    padding:14px;
}
body.search-page .history-week > div:last-child { min-width:0; }
body.search-page .week-thumb { width:132px; height:82px; }
body.search-page .week-thumb img { width:100%; height:100%; object-fit:cover; }
body.search-page .week-number { width:auto; text-align:center; }
body.search-page .week-title { font-size:1.15rem; line-height:1.15; }
body.search-page .week-meta { max-width:760px; font-size:.92rem; line-height:1.5; }
body.search-page .history-list:nth-of-type(3) .history-week { grid-template-columns:88px minmax(0, 1fr); align-items:start; }

@media (max-width:600px) {
    body.search-page .page { width:min(100% - 18px, 1080px); }
    body.search-page .history-week,
    body.search-page .history-list:nth-of-type(3) .history-week { grid-template-columns:92px minmax(0, 1fr); gap:12px; padding:10px; }
    body.search-page .week-thumb { width:92px; height:68px; }
    body.search-page .week-title { font-size:1rem; }
    body.search-page .week-meta { font-size:.82rem; }
    body.search-page .week-number { font-size:1.1rem; text-align:left; }
}
