:root {
  --bg: #f4f5fb;
  --surface: #ffffff;
  --surface-soft: #f8f7ff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e8e9f2;
  --primary: #7c3aed;
  --primary-2: #a855f7;
  --accent: #ec4899;
  --success: #10b981;
  --dark: #111827;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(44, 35, 84, .10);
  --shadow-soft: 0 10px 30px rgba(44, 35, 84, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: 0; border: 0; }
html { min-width: 320px; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(124, 58, 237, .09), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(236, 72, 153, .07), transparent 25rem),
    var(--bg);
  font: 14px/1.5 "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
a:hover { color: var(--primary); }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { line-height: 1.2; }
.clearfix:after { content: ""; display: table; clear: both; }
.clr { clear: both; }
.hidden, #dofullsearch { display: none; }
.nowrap { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-row { display: flex; flex-wrap: wrap; justify-content: space-between; }
.fx-col { display: flex; flex-direction: column; }
.fx-middle { align-items: center; }
.fx-start { justify-content: flex-start; }
.fx-center { justify-content: center; }
.fx-1 { flex: 1 1 0; min-width: 50px; max-width: 100%; }
.fx-last { order: 10; }

.button, .btn, .pagi-load a, .up-second li a, .usp-edit a, .qq-upload-button,
button:not(.color-btn):not([class*=fr]), html input[type="button"], input[type="reset"],
input[type="submit"], .meta-fav a, .usp-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(124, 58, 237, .2);
}
.button:hover, .btn:hover, input[type="submit"]:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(124, 58, 237, .28); }
input[type="text"], input[type="password"], select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(124, 58, 237, .55); box-shadow: 0 0 0 4px rgba(124, 58, 237, .09); }
input::placeholder, textarea::placeholder { color: #9ca3af; }

.wrap { min-height: 100vh; }
.wrap-center { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.header-wr {
  position: sticky;
  z-index: 100;
  top: 0;
  color: #fff;
  background: rgba(17, 24, 39, .95);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .14);
  backdrop-filter: blur(18px);
}
.header { min-height: 82px; gap: 28px; }
.logo { flex: 0 0 244px; }
.logo img { width: 244px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 6px; }
.header-nav a { padding: 10px 12px; border-radius: 10px; color: #cbd5e1; font-weight: 600; }
.header-nav a:hover, .header-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.search-wrap { max-width: 350px; margin-left: auto; }
.search-box { position: relative; }
.search-box input, .search-box input:focus {
  height: 48px;
  padding: 0 48px 0 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.search-box input::placeholder { color: #94a3b8; }
.search-icon { position: absolute; z-index: 2; left: 16px; top: 17px; color: #a78bfa; }
.search-box button, .search-box button:hover {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  width: 36px;
  min-height: 36px !important;
  height: 36px;
  padding: 0 !important;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  box-shadow: none;
}
.btn-menu { display: none !important; width: 44px; min-height: 44px !important; padding: 0 !important; border-radius: 12px !important; }

/* Hero */
.content { padding: 20px 0 42px; }
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 154px;
  margin-bottom: 18px;
  padding: 25px 34px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 35%, rgba(236, 72, 153, .52), transparent 18rem),
    linear-gradient(120deg, #111827 0%, #312e81 54%, #6d28d9 100%);
  box-shadow: 0 24px 70px rgba(49, 46, 129, .22);
}
.hero:after { content: ""; position: absolute; right: -70px; bottom: -120px; width: 360px; height: 360px; border: 55px solid rgba(255, 255, 255, .05); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #e9d5ff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-title { max-width: 620px; font-size: clamp(27px, 3vw, 39px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.hero p { max-width: 590px; margin-top: 10px; color: #cbd5e1; font-size: 14px; }
.hero-wave { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; height: 76px; padding: 0 20px; }
.hero-wave i { display: block; width: 8px; border-radius: 10px; background: linear-gradient(#f9a8d4, #c4b5fd); box-shadow: 0 0 24px rgba(236, 72, 153, .35); }
.hero-wave i:nth-child(1), .hero-wave i:nth-child(7) { height: 30px; }
.hero-wave i:nth-child(2), .hero-wave i:nth-child(6) { height: 46px; }
.hero-wave i:nth-child(3), .hero-wave i:nth-child(5) { height: 64px; }
.hero-wave i:nth-child(4) { height: 78px; }

/* Layout */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.main { grid-column: 1; grid-row: 1; min-width: 0; }
.side { grid-column: 2; grid-row: 1; }
.side.side-after { grid-row: 1; }
.main-content, .side-box, .site-desc, .full {
  border: 1px solid rgba(232, 233, 242, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-soft);
}
.main-content { padding: 24px 26px; }
.side-box { padding: 22px; }
.side-bt { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; font-size: 17px; font-weight: 800; }
.side-bt > .fa { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #f97316, var(--accent)); }
.side-top { counter-reset: track; }
.side-top li { counter-increment: track; }
.side-top li + li { border-top: 1px solid var(--line); }
.side-top a { display: flex; align-items: center; gap: 11px; padding: 12px 0; }
.top-index { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: var(--primary); background: #f1edff; font-size: 9px; }
.top-index:before { content: counter(track, decimal-leading-zero); font-size: 11px; font-weight: 800; }
.top-index .fa { display: none; }
.top-copy { min-width: 0; }
.top-copy strong, .top-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-copy strong { color: var(--ink); font-size: 13px; }
.top-copy small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.side-top a:hover .top-index { color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); transform: scale(1.04); }

/* Sections and tracks */
.sect + .sect { margin-top: 28px; }
.sect-header { margin-bottom: 22px; }
.sect-eyebrow { margin-bottom: 5px; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sect-title { color: var(--ink); font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.025em; }
.sect-title span { color: var(--primary); }
.sect-title-small { font-size: 23px; }
.sect-badge { padding: 8px 12px; border-radius: 100px; color: #7c3aed; background: #f3e8ff; font-size: 11px; font-weight: 700; }
.sect-items { display: grid; gap: 10px; }
.tr {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #fff;
}
.tr:nth-child(2n) { background: #fafaff; }
.tr:hover { z-index: 2; color: var(--ink); border-color: #e9d5ff; background: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(76, 29, 149, .09); }
.tr-cover { position: relative; display: grid; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #4c1d95, var(--accent)); }
.tr-cover img { width: 100%; height: 100%; object-fit: cover; }
.tr-cover > .fa { font-size: 17px; opacity: .85; }
.tr-cover-small { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
.tr-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(17, 24, 39, .5); opacity: 0; transition: opacity .2s; }
.tr:hover .tr-play { opacity: 1; }
.tr-play .fa { padding-left: 2px; font-size: 11px; }
.tr-desc { min-width: 0; padding: 0 14px; }
.tr-title, .tr-subtitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-title { font-size: 14px; font-weight: 800; }
.tr-subtitle { margin-top: 3px; color: var(--muted); font-size: 12px; }
.tr-time { flex: 0 0 auto; margin-left: 12px; color: #9ca3af; font-size: 12px; font-variant-numeric: tabular-nums; }
.tr-action { display: grid; flex: 0 0 34px; width: 34px; height: 34px; margin-left: 14px; place-items: center; border-radius: 11px; color: var(--primary); background: #f2efff; font-size: 11px; }
.tr:hover .tr-action { color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.speedbar { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.speedbar .fa { margin-right: 8px; color: var(--primary); }

/* SEO */
.site-desc { display: flex; gap: 20px; margin-top: 26px; padding: 28px 30px; color: var(--muted); }
.site-desc-icon { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); font-size: 20px; box-shadow: 0 12px 24px rgba(124, 58, 237, .2); }
.site-desc h2 { margin-bottom: 10px; color: var(--ink); font-size: 20px; }
.site-desc p + p { margin-top: 9px; }

/* Full story */
.full { padding: 26px; }
.fheader { margin-bottom: 19px; }
.fcols { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 22px; align-items: start; }
.fvisual { position: relative; width: 178px; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(124, 58, 237, .12); border-radius: 20px; background: #312e81; box-shadow: 0 14px 30px rgba(49, 46, 129, .16); }
.fvisual > img { width: 100%; height: 100%; object-fit: cover; }
.fvisual-badge { position: absolute; left: 11px; bottom: 11px; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px; color: #fff; background: rgba(17, 24, 39, .72); backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; }
.track-label { margin-bottom: 9px; font-size: 14px; font-weight: 800; }
.finfo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.finfo li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 38px; padding: 7px 11px; border-bottom: 1px solid var(--line); }
.finfo li:nth-child(odd) { border-right: 1px solid var(--line); }
.finfo li:nth-last-child(-n+2) { border-bottom: 0; }
.finfo li:last-child { border-right: 0; border-bottom: 0; background: var(--surface-soft); }
.finfo li > span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.finfo li > span .fa { width: 18px; color: var(--primary); }
.finfo strong { flex: 0 0 auto; color: var(--ink); font-size: 11px; text-align: right; }
.player-card { display: grid; grid-template-columns: minmax(170px, .62fr) 1.38fr; gap: 18px; align-items: center; margin-top: 18px; padding: 13px 16px; border: 1px solid rgba(196, 181, 253, .14); border-radius: 16px; color: #fff; background: linear-gradient(120deg, #111827, #292354); box-shadow: 0 12px 28px rgba(17, 24, 39, .14); }
.player-copy strong, .player-kicker { display: block; }
.player-copy strong { margin-top: 2px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.player-kicker { color: #c4b5fd; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.factions { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.fdl { display: flex; flex: 0 0 205px; align-items: center; gap: 11px; min-height: 54px; padding: 8px 13px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #059669, var(--success)); box-shadow: 0 10px 24px rgba(16, 185, 129, .18); }
.fdl:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 35px rgba(16, 185, 129, .28); }
.fdl .fdl-icon { display: inline-flex; position: static; flex: 0 0 34px; width: 34px; height: 34px; margin: 0; padding: 0; align-items: center; align-self: center; justify-content: center; float: none; border-radius: 10px; background: rgba(255, 255, 255, .14); font-size: 14px; line-height: 1; text-align: center; }
.fdl .fdl-icon:before { display: block; position: static; width: 14px; height: 14px; margin: 0; line-height: 14px; text-align: center; }
.fdl > span:last-child { display: flex; min-width: 0; height: 38px; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.15; }
.fdl strong, .fdl small { display: block; }
.fdl small { margin-top: 2px; color: #d1fae5; font-size: 10px; }
.fcaption { color: var(--muted); font-size: 12px; }
.lyrics-card { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.full-text { color: #374151; line-height: 1.85; }
.full-text p + p { margin-top: 10px; }
.full-text a { color: var(--primary); text-decoration: underline; }
.related-section { margin-top: 28px !important; padding-top: 26px; border-top: 1px solid var(--line); }

/* Audio player generated by libs.js */
.fplayer { min-width: 0; }
.fplayer audio { display: block; width: 100%; height: 36px; }
.audioplayer { position: relative; display: flex; align-items: center; min-height: 42px; color: #fff; }
.audioplayer audio { display: none; }
.audioplayer-playpause { flex: 0 0 36px; }
.audioplayer-playpause a, .audioplayer-volume-button a { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--primary-2), var(--accent)); }
.audioplayer-playpause a:hover, .audioplayer-volume-button a:hover { color: #fff; transform: scale(1.05); }
.audioplayer-bar { position: relative; flex: 1; height: 8px; margin: 0 15px; border-radius: 8px; background: rgba(255, 255, 255, .14); cursor: pointer; }
.audioplayer-bar-loaded, .audioplayer-bar-played { position: absolute; top: 0; left: 0; height: 100%; border-radius: inherit; }
.audioplayer-bar-loaded { background: rgba(255, 255, 255, .18); }
.audioplayer-bar-played { z-index: 2; background: linear-gradient(90deg, #c4b5fd, #f9a8d4); }
.audioplayer-time { flex: 0 0 auto; color: #cbd5e1; font-size: 10px; font-variant-numeric: tabular-nums; }
.audioplayer-volume { position: relative; display: flex; align-items: center; margin-left: 12px; }
.audioplayer-volume-adjust { display: none; }
.audioplayer-stopped .audioplayer-playpause a .fa:before { content: "\f04b"; }
.audioplayer-playing .audioplayer-playpause a .fa:before { content: "\f04c"; }
.audioplayer-muted .fa-volume-up:before { content: "\f026"; }

/* Pagination and general content */
.bottom-nav { padding: 28px 0 8px; text-align: center; }
.pagi-nav, .pagi-nav > span { display: inline-flex; align-items: center; gap: 6px; }
.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span { display: inline-grid; min-width: 40px; height: 40px; margin: 3px; place-items: center; border-radius: 12px; background: #f3f4f6; font-weight: 700; }
.navigation span:not(.nav_ext), .pagi-nav a:hover { color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.form-wrap, .search-page, .static-page, .comments-wrap { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mtitle, .sub-title h1, .form-wrap h1 { margin-bottom: 22px; font-size: 24px; font-weight: 800; }

/* Footer */
.footer-wr { padding: 28px 0; color: #94a3b8; background: var(--dark); }
.footer { gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; font-weight: 800; }
.footer-brand:hover { color: #fff; }
.footer-brand img { width: 38px; height: 38px; }
.ft-desc { font-size: 12px; }
.ft-desc a { color: #c4b5fd; }
.ft-copy { font-size: 11px; }

/* Mobile menu created by libs.js */
.side-panel { position: fixed; z-index: 9999; top: 0; left: -320px; width: 290px; height: 100%; padding: 24px; overflow-y: auto; color: #fff; background: #111827; transition: left .3s; }
.side-panel.active { left: 0; }
.side-panel .header-nav { display: grid; gap: 8px; }
.side-panel .header-nav a { display: block; }
.close-overlay { position: fixed; z-index: 9998; inset: 0; display: none; background: rgba(15, 23, 42, .68); backdrop-filter: blur(3px); }
.btn-close { position: fixed; z-index: 10000; top: -50px; left: 290px; display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: var(--accent); transition: top .3s; }
.btn-close.active { top: 0; }
body.opened-menu { width: 100%; height: 100%; overflow: hidden; }
#gotop { position: fixed; z-index: 50; right: 18px; bottom: 18px; display: none; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: var(--shadow-soft); text-align: center; line-height: 44px; }

@media (max-width: 1050px) {
  .header-nav { display: none; }
  .btn-menu { display: inline-flex !important; }
  .cols { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 850px) {
  .wrap-center { width: min(100% - 28px, 720px); }
  .header { min-height: 74px; gap: 14px; }
  .logo { flex-basis: 205px; }
  .logo img { width: 205px; }
  .search-wrap { max-width: none; }
  .hero { min-height: 150px; padding: 25px 30px; }
  .hero-wave { display: none; }
  .cols { display: flex; flex-direction: column; }
  .main, .side { width: 100%; }
  .main { order: 1; }
  .side { order: 2; }
  .side-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .side-top li + li { border-top: 0; }
  .site-desc { order: 3; }
}

@media (max-width: 650px) {
  .wrap-center { width: min(100% - 20px, 560px); }
  .header { padding: 10px 0; }
  .logo { flex: 1 1 180px; }
  .logo img { width: 190px; }
  .search-wrap { order: 10; flex-basis: 100%; width: 100%; }
  .content { padding: 18px 0 34px; }
  .hero { min-height: auto; padding: 28px 24px; border-radius: 22px; }
  .hero-title { font-size: 32px; }
  .hero p { font-size: 14px; }
  .main-content, .full { padding: 20px; border-radius: 18px; }
  .sect-badge { display: none; }
  .tr { padding: 9px 6px; }
  .tr-time { display: none; }
  .tr-action { margin-left: 6px; }
  .fcols { grid-template-columns: 1fr; }
  .fvisual { width: 178px; margin: 0 auto; }
  .player-card { grid-template-columns: 1fr; gap: 12px; }
  .factions { align-items: stretch; flex-direction: column; }
  .fdl { flex-basis: auto; }
  .site-desc { padding: 22px; }
  .site-desc-icon { display: none; }
  .side-top { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; }
  .ft-copy { align-self: flex-start; }
}

@media (max-width: 430px) {
  .hero-title { font-size: 27px; }
  .sect-title { font-size: 24px; }
  .tr-cover { flex-basis: 44px; width: 44px; height: 44px; }
  .tr-desc { padding: 0 10px; }
  .tr-action { display: none; }
  .audioplayer-volume { display: none; }
  .finfo li { gap: 10px; }
  .finfo { grid-template-columns: 1fr; }
  .finfo li, .finfo li:nth-child(odd), .finfo li:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .finfo li:last-child { border-bottom: 0; }
}
