/* latimp — dark "theatre hall" look from the approved mockup (design/mockup-1.html).
   Velvet red for actions, gilt for small details. Dark only. */

/* Fonts: self-hosted Google Fonts (SIL Open Font License), latin + latin-ext
   (ș ț ă î â). The browser downloads a file only when the page uses it. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--bg: #100D10;
	--bg-2: #181318;
	--card: #1F191F;
	--card-2: #2A222A;
	--line: #382E37;
	--ink: #F2EBE4;
	--muted: #B8ADB2;
	--faint: #8C8187;
	--velvet: #B4232F;
	--velvet-deep: #8E1A25;
	--on-velvet: #FFF5EE;
	--gilt: #E2B866;
	--shade: rgba(12, 9, 12, .82);
	--font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
	--font-ui: "Barlow", "Segoe UI", Arial, sans-serif;
	--font-label: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
	--radius: 8px;
	--gap: 16px;
	color-scheme: dark;
}

/* Base */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font-ui); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 16px; }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--velvet); color: var(--on-velvet); padding: 10px 16px; border-radius: 0 0 6px 6px; font-weight: 600; }
.skip:focus { top: 0; }

/* Header */
.top { background: var(--bg-2); }
.top .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.custom-logo-link img, .custom-logo { height: 46px; width: auto; border-radius: 4px; }
.logo-text { font: 400 26px/1 var(--font-display); color: var(--ink); white-space: nowrap; }
.logo-text:hover { color: var(--gilt); }
form.search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 0 6px 0 16px; }
form.search:focus-within { border-color: var(--gilt); }
form.search[data-suggest] { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 32px rgba(0, 0, 0, .5); padding: 6px; text-align: left; }
.suggest a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.suggest a:hover, .suggest a:focus { background: var(--card-2); outline: none; }
.suggest .s-title { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.suggest .s-meta { display: block; font-size: 12.5px; color: var(--faint); }
.suggest mark { background: none; color: var(--gilt); }
.suggest .s-all { color: var(--gilt); font: 600 14px var(--font-label); text-transform: uppercase; letter-spacing: .06em; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }
form.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 10px 0; }
form.search input::placeholder { color: var(--faint); }
form.search input:focus { outline: none; }
form.search button { border: 0; background: var(--velvet); color: var(--on-velvet); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
form.search button:hover { background: var(--velvet-deep); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 9px 14px; cursor: pointer; font: 600 14px/1 var(--font-label); text-transform: uppercase; letter-spacing: .06em; }
.menu-btn svg { width: 18px; height: 18px; }

/* Main menu (wp_nav_menu: ul.menu > li > a, ul.sub-menu) */
.nav { background: var(--bg-2); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav .menu > li { position: relative; }
.nav .menu > li > a { display: flex; align-items: center; gap: 5px; font: 600 16px/1 var(--font-label); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); padding: 14px 12px 12px; border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; }
.nav .menu > li > a:hover, .nav .menu > li:focus-within > a { color: var(--gilt); }
.nav .menu > li.current-menu-item > a, .nav .menu > li.current-menu-ancestor > a, .nav .menu > li.current-menu-parent > a { border-bottom-color: var(--velvet); }
.nav .caret { width: 9px; height: 9px; fill: var(--faint); }
.nav .sub-menu { display: none; list-style: none; margin: 0; position: absolute; left: 0; top: 100%; min-width: 260px; background: var(--card); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); padding: 8px; }
.nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu { display: block; }
.nav .sub-menu a { display: flex; justify-content: space-between; gap: 16px; padding: 7px 10px; border-radius: 6px; color: var(--muted); font-size: 14.5px; }
.nav .sub-menu a:hover { background: var(--card-2); color: var(--ink); }
.nav .sub-menu .count { color: var(--faint); font-size: 13px; }
.nav .sub-menu li:last-child.menu-all > a { color: var(--gilt); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; border-radius: 0 0 6px 6px; }

/* Page grid */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-block: 22px 48px; align-items: start; }
.main { min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-block: 22px 48px; }
.layout .main { padding-block: 0; }
.side { display: flex; flex-direction: column; gap: 18px; align-self: stretch; }
.side .toc { position: sticky; top: 16px; }
.crumbs { font-size: 13px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: -14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gilt); }

/* Labels and chips */
.eyebrow { font: 600 13px/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .12em; color: var(--gilt); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { flex: none; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; background: transparent; cursor: pointer; white-space: nowrap; }
.chip span { color: var(--faint); margin-left: 4px; }
.chip:hover { border-color: var(--muted); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.on span { color: var(--card-2); }
span.tag { font: 600 12px/1 var(--font-label); text-transform: uppercase; letter-spacing: .07em; border: 1px solid var(--line); color: var(--muted); border-radius: 4px; padding: 4px 7px; display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
span.tag.audio { color: var(--gilt); border-color: rgba(226, 184, 102, .45); }

/* Cards */
.shelf { display: flex; flex-direction: column; gap: 12px; }
.shelf-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.shelf-head h2 { font: 700 24px/1.1 var(--font-label); text-transform: uppercase; letter-spacing: .05em; }
.shelf-head .count { color: var(--faint); font-size: 14px; }
.shelf-head .more { margin-left: auto; color: var(--gilt); font: 600 14px var(--font-label); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.shelf-head .more:hover { text-decoration: underline; }
.row { --cols: 6; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 4px; }
.row > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 22px var(--gap); }
.grid > .ad-slot { grid-column: 1 / -1; }

.card { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--card-2); max-width: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .noimg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--card-2), var(--card)); }
.thumb .fmt { position: absolute; left: 6px; top: 6px; background: var(--shade); border: 0; }
.thumb .yr { position: absolute; right: 6px; bottom: 6px; font: 600 12.5px/1 var(--font-label); letter-spacing: .04em; background: var(--shade); color: var(--ink); padding: 4px 6px; border-radius: 3px; }
.card .t { font-weight: 600; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .by { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -5px; }
.card .meta { color: var(--faint); font-size: 12.5px; margin-top: -4px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.card:hover .t { color: var(--gilt); }
.card .ep { color: var(--ink); font-size: 13px; margin-top: -4px; }
.card .ep b { color: var(--gilt); font-weight: 600; }

/* Home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; }
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature .thumb { border-radius: 10px; }
.feature .play { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; background: var(--velvet); color: var(--on-velvet); border: 0; border-radius: 99px; padding: 11px 20px 11px 14px; font: 700 15px/1 var(--font-label); text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.feature .thumb:hover .play { background: var(--velvet-deep); }
.feature h1 { font: 400 clamp(30px, 3.6vw, 44px)/1.08 var(--font-display); }
.feature h1 a:hover { color: var(--gilt); }
.byline { font: italic 400 19px/1.35 var(--font-display); color: var(--muted); }
.feature p { margin: 0; color: var(--muted); max-width: 62ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--faint); font-size: 13.5px; }
.facts b { color: var(--ink); font-weight: 500; }
.latest { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.latest h2 { font: 700 18px/1.1 var(--font-label); text-transform: uppercase; letter-spacing: .08em; }
.mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
.mini .thumb { border-radius: 5px; }
.mini .thumb .fmt { left: 4px; top: 4px; font-size: 10.5px; padding: 3px 5px; }
.mini .t { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini:hover .t { color: var(--gilt); }
.mini .meta { display: block; color: var(--faint); font-size: 12.5px; margin-top: 3px; }

/* Ranked list */
.ranked { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; }
.rank { display: grid; grid-template-columns: 40px 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rank .n { font: 400 32px/1 var(--font-display); color: var(--gilt); text-align: center; }
.rank .thumb { border-radius: 4px; }
.rank .t { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.rank:hover .t { color: var(--gilt); }
.rank .meta { display: block; color: var(--faint); font-size: 12.5px; }

/* Category page */
.page-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font: 400 clamp(32px, 4vw, 48px)/1.05 var(--font-display); }
.page-head p { margin: 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.filters .chips { align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; gap: 2px; }
.seg a { color: var(--muted); border-radius: 99px; padding: 6px 14px; font-size: 14px; white-space: nowrap; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current] { background: var(--card-2); color: var(--ink); }
.chips.wrap-chips { flex-wrap: wrap; overflow: visible; }
.page-head form.search.big { flex: none; width: 100%; max-width: 560px; }
.btn-line { align-self: flex-start; font: 600 14px/1 var(--font-label); text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--line); color: var(--ink); border-radius: 99px; padding: 10px 16px; white-space: nowrap; }
.btn-line:hover { border-color: var(--gilt); color: var(--gilt); }
.flabel { flex: none; font: 600 13px var(--font-label); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-right: 8px; }

/* Post page: audio stage */
.stage { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.stage .thumb { border-radius: 0; aspect-ratio: auto; min-height: 100%; }
.stage .thumb img { position: absolute; inset: 0; }
.stage-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.stage h1 { font: 400 clamp(28px, 3.2vw, 40px)/1.08 var(--font-display); }
.stage audio { width: 100%; margin-top: auto; }
.player { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.ctrl { display: flex; align-items: center; gap: 10px; }
.pp { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--velvet); color: var(--on-velvet); display: grid; place-items: center; cursor: pointer; flex: none; }
.pp:hover { background: var(--velvet-deep); }
.pp svg { width: 24px; height: 24px; }
.jump { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: 600 12.5px var(--font-label); display: grid; place-items: center; padding: 0; }
.jump:hover { border-color: var(--muted); }
.speed { margin-left: auto; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); padding: 6px 12px; cursor: pointer; font-size: 13.5px; }
.speed:hover { color: var(--ink); border-color: var(--muted); }
.seek { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0; background: transparent; cursor: pointer; }
.seek::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--velvet), var(--gilt)) 0 / var(--p) 100% no-repeat, var(--card-2); }
.seek::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--velvet), var(--gilt)) 0 / var(--p) 100% no-repeat, var(--card-2); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -4px; border-radius: 50%; background: var(--gilt); border: 0; }
.seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gilt); border: 0; }
.times { display: flex; justify-content: space-between; color: var(--faint); font-size: 12.5px; margin-top: -8px; }
.resume { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.resume svg { flex: none; width: 16px; height: 16px; color: var(--gilt); }
.bar { display: block; height: 6px; background: var(--card-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--velvet), var(--gilt)); }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 37; background: var(--card-2); border-top: 1px solid var(--line); padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; }
.dock .bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; border-radius: 0; }
.dock img { width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.dock .tt { min-width: 0; flex: 1; }
.dock .tt b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.dock .tt > span { color: var(--faint); font-size: 12.5px; }
.dock .pp { width: 42px; height: 42px; }
.dock .pp svg { width: 18px; height: 18px; }

/* Post page: film player (poster until "Pornește") */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; max-width: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video .pp { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; }
.video .pp svg { width: 32px; height: 32px; }
.video .src { position: absolute; left: 12px; bottom: 10px; font-size: 12.5px; color: var(--muted); background: var(--shade); padding: 4px 8px; border-radius: 4px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
span.tag.lang { color: var(--ink); }

/* Post page: text, credits, previous/next */
.post-head { display: flex; flex-direction: column; gap: 10px; }
.post-head h1 { font: 400 clamp(30px, 3.6vw, 44px)/1.08 var(--font-display); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.act { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 99px; padding: 7px 14px; cursor: pointer; font-size: 14px; }
.act:hover { border-color: var(--muted); }
.act svg { width: 15px; height: 15px; }
.act[aria-pressed="true"] { border-color: var(--gilt); color: var(--gilt); }
.act .num:empty { display: none; }
.actions .facts { margin-left: 6px; }
.section-title { font: 700 20px/1.1 var(--font-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prose { font-size: 16.5px; line-height: 1.65; color: var(--ink); max-width: 68ch; overflow-wrap: anywhere; }
.prose p { margin: 0 0 .8em; }
.prose a { color: var(--gilt); text-decoration: underline; }
.prose img { border-radius: 6px; margin: 0 0 .8em; }
.prose .aligncenter { margin-inline: auto; }
.prose h2, .prose h3, .prose h4 { font: 700 18px/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 1.2em 0 .5em; }
.credits { display: grid; grid-template-columns: minmax(130px, max-content) minmax(0, 1fr); border-top: 1px solid var(--line); margin: 0; }
.credits dt, .credits dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.credits dt { font: 600 13px/1.6 var(--font-label); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); padding-right: 20px; }
.credits dd { color: var(--ink); }
.credits dd a { color: var(--gilt); }
.credits dd a:hover { text-decoration: underline; }
.nextprev { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.np { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.np:hover { border-color: var(--muted); }
.np small { font: 600 12.5px var(--font-label); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.np span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np.next { text-align: right; }

/* Site pages: legal documents, contact form */
.draft { align-self: flex-start; font: 700 12.5px/1 var(--font-label); text-transform: uppercase; letter-spacing: .08em; color: var(--bg); background: var(--gilt); border-radius: 4px; padding: 5px 8px; }
.legal h2 { font: 700 19px/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); margin: 1.4em 0 .5em; scroll-margin-top: 16px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--faint); font-size: 14px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--gilt); }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 8px 0 0; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 600 13px var(--font-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gilt); outline-offset: 1px; border-color: transparent; }
.field textarea { resize: vertical; min-height: 140px; }
.hint { color: var(--faint); font-size: 13px; text-transform: none; letter-spacing: 0; font-family: var(--font-ui); font-weight: 400; }
.hint a { color: var(--gilt); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok, .form-error { margin: 0; padding: 12px 14px; border-radius: 8px; border: 1px solid; }
.form-ok { color: var(--ink); border-color: var(--gilt); background: rgba(226, 184, 102, .1); }
.form-error { color: var(--ink); border-color: var(--velvet); background: rgba(180, 35, 47, .15); }
.btn { align-self: flex-start; border: 0; background: var(--velvet); color: var(--on-velvet); border-radius: 99px; padding: 11px 20px; font: 700 14px var(--font-label); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.btn:hover { background: var(--velvet-deep); }

/* Lists and paging */
.empty { color: var(--muted); padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.nav-links, .pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.nav-links a, .nav-links span, .pager a, .pager span { min-width: 38px; text-align: center; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.nav-links a:hover, .pager a:hover { border-color: var(--muted); color: var(--ink); }
.nav-links .current, .pager .current { background: var(--velvet); border-color: var(--velvet); color: var(--on-velvet); }
.nav-links .dots, .pager .dots { border: 0; min-width: 0; }
.pager-note { margin: -18px 0 0; text-align: center; color: var(--faint); font-size: 13px; }

/* Sidebar boxes */
.box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.box h2 { margin: 0; font: 700 16px/1.1 var(--font-label); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.box .rank { grid-template-columns: 26px 80px minmax(0, 1fr); gap: 10px; padding: 0; border: 0; }
.box .rank .n { font-size: 24px; }
.box .rank .t { font-size: 14px; }
.links { display: flex; flex-direction: column; }
.links a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.links a:last-child { border-bottom: 0; }
.links a:hover { color: var(--gilt); }
.links span { color: var(--faint); }

/* Ad slots (filled by Ad Inserter Pro through the latimp_* hooks) */
.ad-slot { display: flex; justify-content: center; align-items: center; min-height: 90px; }
.ad-slot.h250 { min-height: 250px; }
.ad-slot.h600 { min-height: 600px; position: sticky; top: 16px; }
/* Test mode (latimp-site Ads): labelled placeholders where ads will go. */
.ad-test { flex: 1; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 14px; background: repeating-linear-gradient(135deg, rgba(226, 184, 102, .06) 0 12px, transparent 12px 24px); border: 2px dashed rgba(226, 184, 102, .45); border-radius: var(--radius); color: var(--muted); font-size: 13px; }
.ad-test b { font: 700 13px var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--gilt); }
.ad-test span { max-width: 50ch; }
.ad-test code { font-size: 11.5px; color: var(--faint); }
.ad-slot.anchor .ad-test { padding: 6px; flex-direction: row; flex-wrap: wrap; gap: 4px 10px; }
.ad-slot.anchor .ad-test span { display: none; }
.ad-slot.anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; min-height: 0; background: var(--bg-2); border-top: 1px solid var(--line); padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px)); display: none; }

/* Footer */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 24px; padding-block: 28px; }
.site-foot h2 { margin: 0 0 8px; font: 700 14px var(--font-label); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.site-foot nav a { display: block; color: var(--muted); padding: 3px 0; }
.site-foot nav a:hover { color: var(--gilt); }
.site-foot p { margin: 10px 0 0; max-width: 34ch; }
.copy { border-top: 1px solid var(--line); }
.copy .wrap { display: block; padding-block: 12px; font-size: 13px; }

/* Responsive */
@media (max-width: 1100px) {
	.row { --cols: 4; }
	.hero { grid-template-columns: minmax(0, 1fr); }
	.latest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
	.latest h2 { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.stage { grid-template-columns: minmax(0, 1fr); }
	.stage .thumb { aspect-ratio: 16 / 9; min-height: 0; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.side { position: static; }
	.desktop-only { display: none !important; }
	.ad-slot.anchor { display: flex; }
	body:has(.ad-slot.anchor) { padding-bottom: 64px; } /* The phone ad bar doesn't cover the footer… */
	body:has(.ad-slot.anchor) .dock { bottom: 64px; } /* …and the mini-player sits above it. */
	.ranked { grid-template-columns: minmax(0, 1fr); }
	.site-foot .wrap { grid-template-columns: 1fr 1fr; }
	.site-foot .about { grid-column: 1 / -1; }
	/* Phones and tablets: the menu opens from the "Meniu" button, with every sub-section. */
	.menu-btn { display: inline-flex; }
	.top .wrap { flex-wrap: wrap; gap: 12px; }
	.top form.search { order: 3; flex-basis: 100%; max-width: none; }
	.nav { display: none; }
	.nav.open { display: block; }
	.nav .menu { flex-direction: column; gap: 0; padding-block: 6px; }
	.nav .menu > li > a { padding: 12px 4px; border-bottom: 0; }
	.nav .caret { display: none; }
	.nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
	.nav .sub-menu a { padding: 6px 8px; }
}
@media (max-width: 720px) {
	.form .two { grid-template-columns: minmax(0, 1fr); }
	.nextprev { grid-template-columns: minmax(0, 1fr); }
	.nextprev > span:empty { display: none; }
	.np.next { text-align: left; }
	.credits { grid-template-columns: minmax(0, 1fr); }
	.credits dt { border-bottom: 0; padding-bottom: 0; }
	.credits dd { padding-top: 2px; }
	.stage-body { padding: 18px; }
	.speed { margin-left: 0; }
	.ctrl { flex-wrap: wrap; }
	.row { --cols: 2.3; }
	.custom-logo-link img, .custom-logo { height: 38px; }
	.latest { display: flex; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.rank { grid-template-columns: 30px 84px minmax(0, 1fr); }
	.shelf-head h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: no-preference) {
	.thumb img { transition: transform .35s ease; }
	.card:hover .thumb img, .mini:hover .thumb img { transform: scale(1.04); }
}
