@charset "UTF-8";
/* ============================================================
   wap-uslup.css — يانفون ئۇسلۇبى (قىزىل-كۆك) · ناخشا CMS
   كۈندۈزلۈك ئۇسلۇپ + كەچلىك ئۇسلۇپ (ئاق كۆككە مايىل)
   ============================================================ */
:root {
  --bg: #231b27; --bg2: #2b2030;
  --surface: #322638; --surface-2: #3c2d43;
  --text: #f7f3f2; --dim: #a99ea9; --border: rgba(255,255,255,.10);
  --accent: #e23b34; --accent-2: #2f6fed; --accent-soft: rgba(226,59,52,.16);
  --shadow: 0 12px 34px rgba(0,0,0,.42); --shadow-card: 0 6px 20px rgba(0,0,0,.34);
  --header-h: 56px;
}
/* كەچلىك ئۇسلۇبى — ئاق كۆككە مايىل (سۇس كۆك-ئاق نۇرلۇق) */
html[data-night="1"], html[data-night-pre="1"] {
  --bg: #eaf1fc; --bg2: #e0ebf9;
  --surface: #ffffff; --surface-2: #eff5fd;
  --text: #1c2c50; --dim: #6d80a8; --border: rgba(47,111,237,.16);
  --accent: #2f6fed; --accent-2: #8fb2f7; --accent-soft: rgba(47,111,237,.12);
  --shadow: 0 12px 34px rgba(47,111,237,.14); --shadow-card: 0 6px 18px rgba(47,111,237,.10);
}
body { background: radial-gradient(90% 40% at 80% 0%, rgba(226,59,52,.16), transparent 70%), radial-gradient(90% 45% at 0% 30%, rgba(47,111,237,.14), transparent 70%), var(--bg); }
.app-shell {
  max-width: 480px; margin: 0 auto; box-shadow: 0 0 60px rgba(0,0,0,.35);
  background: radial-gradient(100% 44% at 88% 0%, rgba(226,59,52,.30), transparent 72%),
              radial-gradient(100% 54% at 0% 34%, rgba(47,111,237,.26), transparent 72%),
              var(--bg);
}
.site-header {
  background: linear-gradient(90deg, rgba(60,26,40,.90), rgba(29,24,34,.93) 48%, rgba(20,34,70,.90)); backdrop-filter: blur(14px);
  padding: 6px 12px; gap: 9px; border-bottom: 1px solid var(--border);
}
.site-header::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #e23b34, #2f6fed); }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand-text b { font-size: 15.5px; }
.brand-text small { display: none; }
.menu-btn { display: inline-grid; }
.top-nav { display: none; }
.search-box { min-width: 0; width: 38px; height: 38px; padding: 0 10px; border-radius: 50%; }
.search-box input { display: none; }
.search-box:focus-within { position: absolute; inset-inline: 12px; width: auto; border-radius: 999px; z-index: 5; }
.search-box:focus-within input { display: block; }
.icon-btn { width: 36px; height: 36px; border-radius: 11px; }
.night-btn { border-radius: 50%; }
.btn-login { padding: 7px 13px; font-size: 12.5px; }
.user-chip { padding: 3px; }
.user-chip span { display: none; }

/* تۈرلەر بالدىقى */
.cat-strip {
  display: flex; gap: 18px; overflow-x: auto; padding: 10px 16px 8px;
  position: sticky; top: var(--header-h); z-index: 55;
  background: rgba(29,24,34,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip a { flex: none; font-size: 13px; color: var(--dim); padding-bottom: 5px; position: relative; white-space: nowrap; }
.cat-strip a.is-on { color: #fff; font-weight: 700; }
.cat-strip a.is-on::after { content: ''; position: absolute; bottom: 0; inset-inline: 20%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #e23b34, #2f6fed); }

.page-main { padding: 14px 12px 152px; max-width: 480px; }
.panel-box { border-radius: 18px; }
.section-block { margin: 22px 0; }
.section-head h2 { font-size: 18px; }
.section-head > a, .head-links a { font-size: 12px; }

/* قەھرىمان تاق رەت */
.home-hero { grid-template-columns: 1fr; gap: 14px; }
.hero-right { display: contents; }
.rank-box { order: 2; padding: 14px; }
.ad-side { display: none; }
.vinyl-player { border-radius: 22px; padding: 14px 15px 20px; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.vinyl-player::before { background: radial-gradient(70% 45% at 85% 8%, rgba(226,59,52,.22), transparent 72%), radial-gradient(65% 45% at 8% 92%, rgba(47,111,237,.20), transparent 72%); }
.vinyl-stage { width: min(290px, 74vw); margin: 22px auto 10px; }
.vp-song h1 { font-size: 21px; }
.vp-actions { width: 100%; justify-content: space-between; }
.vp-controls { gap: 10px; margin-top: 16px; }
.vp-extra { margin-top: 12px; }
.vp-ex-hint { display: none; }

/* كارتىلار 3 رەت */
.cards-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.song-card { padding: 6px; border-radius: 12px; }
.sc-title { font-size: 12.5px; margin-top: 6px; }
.sc-artist { font-size: 10.5px; }
.sc-meta { font-size: 10px; }
.sc-play { opacity: .9; width: 36px; height: 36px; }
.sc-play svg { width: 16px; height: 16px; }
.album-grid, .album-grid.big { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.album-head { flex-direction: column; text-align: center; padding: 18px; }
.album-head > img { width: 140px; height: 140px; }
.cat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.cat-tile { padding: 11px; }
.look-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.look-card { padding: 12px 5px; }
.mine-stats { grid-template-columns: repeat(2, 1fr); }
.mine-head { padding: 16px; }
.vip-rights { grid-template-columns: 1fr; }
.vip-hero { padding: 22px 16px; }
.vip-hero h1 { font-size: 21px; }
.filter-bar { gap: 7px; }
.filter-bar select, .filter-bar input[type=search] { flex: 1 1 46%; }
.ad-wide { min-height: 92px; margin: 16px 0; }
.ad-wide img { height: 92px; }
.ad-wide span b { font-size: 16px; }
.ad-inline { min-height: 96px; margin: 16px 0; }
.ad-inline img { height: 96px; }

/* ئاستى يولباشلىغۇچ */
.bottom-nav {
  display: flex; position: fixed; z-index: 70; inset-inline: 0; bottom: 0;
  max-width: 480px; margin: 0 auto; padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
  background: rgba(29,24,34,.96); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--dim); font-size: 10.5px; }
.bottom-nav a svg { width: 21px; height: 21px; }
.bottom-nav a b { font-weight: 400; font-size: 10.5px; }
.bottom-nav a.is-on { color: #fff; }
.bottom-nav a.is-on svg { color: #ff6159; }
.site-footer { padding: 20px 12px 16px; background: transparent; border-top: 1px solid var(--border); }
.mini-player { bottom: 64px; inset-inline: 8px; max-width: 464px; margin: 0 auto; background: rgba(36,31,41,.97); border-color: var(--border); }
.mini-progress i { background: linear-gradient(90deg, #e23b34, #2f6fed); }
.mini-toggle { background: linear-gradient(135deg, #e23b34, #2f6fed); }
.flash { margin: 10px 12px 0; }
.night-btn .ico-sun { color: #ffd76a; }

/* يانفوندا باش بەت چىڭ تۇرىدۇ: پىلاستىنكا 6، ئالقىشلىق 6 */
.album-grid .album-card:nth-child(n+7) { display: none; }
.cards-grid .song-card:nth-child(n+7) { display: none; }

/* پىلاستىنكا چېكىلسە: پىرقىراپ، رەڭلىرى ئۆزگىرىپ، ئاندىن ئېچىلىدۇ */
.album-card { transition: transform .22s ease; }
.album-card.is-spinning {
  transform: scale(1.06);
  z-index: 4; position: relative;
}
.album-card.is-spinning .al-cover {
  border-radius: 50%;
  transform: scale(.94);
  transition: border-radius .38s ease, transform .38s ease;
  box-shadow: 0 0 0 3px rgba(226,59,52,.6), 0 0 26px rgba(47,111,237,.5), 0 10px 30px rgba(0,0,0,.5);
  animation: al-hue .76s linear;
}
.album-card.is-spinning .al-cover img,
.album-card.is-spinning .al-disc { animation: al-spin .76s cubic-bezier(.45,0,.25,1); }
.album-card.is-spinning .al-disc { opacity: 1; z-index: 1; }
@keyframes al-spin { from { transform: rotate(0deg); } to { transform: rotate(720deg); } }
@keyframes al-hue {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  35%  { filter: hue-rotate(140deg) saturate(1.7); }
  70%  { filter: hue-rotate(280deg) saturate(1.5); }
  100% { filter: hue-rotate(360deg) saturate(1.1); }
}

/* ============================================================
   كەچلىك ئۇسلۇپ — ئاق كۆككە مايىل رەڭلەر
   ============================================================ */
html[data-night="1"] body, html[data-night-pre="1"] body {
  background: radial-gradient(90% 40% at 80% 0%, rgba(47,111,237,.10), transparent 70%),
              radial-gradient(90% 45% at 0% 30%, rgba(143,178,247,.16), transparent 70%),
              var(--bg);
}
html[data-night="1"] .app-shell, html[data-night-pre="1"] .app-shell {
  box-shadow: 0 0 60px rgba(47,111,237,.16);
  background: radial-gradient(100% 44% at 88% 0%, rgba(47,111,237,.12), transparent 72%),
              radial-gradient(100% 54% at 0% 34%, rgba(143,178,247,.20), transparent 72%),
              var(--bg);
}
html[data-night="1"] .site-header, html[data-night-pre="1"] .site-header {
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(240,246,254,.96) 48%, rgba(227,239,253,.95));
}
html[data-night="1"] .site-header::after, html[data-night-pre="1"] .site-header::after {
  background: linear-gradient(90deg, #8fb2f7, #2f6fed);
}
html[data-night="1"] .cat-strip, html[data-night-pre="1"] .cat-strip {
  background: rgba(240,246,254,.94);
}
html[data-night="1"] .cat-strip a.is-on { color: var(--text); }
html[data-night="1"] .cat-strip a.is-on::after {
  background: linear-gradient(90deg, #8fb2f7, #2f6fed);
}
html[data-night="1"] .bottom-nav, html[data-night-pre="1"] .bottom-nav {
  background: rgba(240,246,254,.97);
}
html[data-night="1"] .bottom-nav a.is-on { color: var(--text); }
html[data-night="1"] .bottom-nav a.is-on svg { color: #2f6fed; }
html[data-night="1"] .mini-player, html[data-night-pre="1"] .mini-player {
  background: rgba(255,255,255,.97);
}
html[data-night="1"] .mini-progress i, html[data-night-pre="1"] .mini-progress i {
  background: linear-gradient(90deg, #8fb2f7, #2f6fed);
}
html[data-night="1"] .mini-toggle, html[data-night-pre="1"] .mini-toggle {
  background: linear-gradient(135deg, #8fb2f7, #2f6fed);
}
html[data-night="1"] .night-btn .ico-sun, html[data-night-pre="1"] .night-btn .ico-sun { color: #2f6fed; }
html[data-night="1"] .night-btn .ico-moon, html[data-night-pre="1"] .night-btn .ico-moon { color: #5b78c9; }
html[data-night="1"] .vinyl-player, html[data-night-pre="1"] .vinyl-player {
  background: linear-gradient(160deg, #2d4d9f, #203770 55%, #182a58);
  border: 1px solid rgba(143,178,247,.28);
  box-shadow: 0 14px 40px rgba(47,111,237,.28);
}
html[data-night="1"] .vinyl-player::before, html[data-night-pre="1"] .vinyl-player::before {
  background: radial-gradient(70% 45% at 85% 8%, rgba(143,178,247,.25), transparent 72%),
              radial-gradient(65% 45% at 8% 92%, rgba(47,111,237,.30), transparent 72%);
}
