/* XƏBƏR AZ — əlavə funksiyaların stilləri. site.css-dəki dəyişənlərdən istifadə edir, mövcud qaydaları dəyişmir. */

/* ---------- Üst panel: dil seçimi və mini hava ---------- */
.utility-left { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.utility-weather { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-weight: 700; white-space: nowrap; }
.utility-weather i { display: inline-flex; width: 17px; height: 17px; }
.utility-weather i svg { width: 100%; height: 100%; }
.utility-weather[hidden] { display: none; }
.utility-actions { display: inline-flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.lang-switch a { padding: 3px 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1.4; }
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a:hover { color: var(--red); background: #fbf4f5; }
.lang-switch a.active { background: var(--red); color: #fff; }

/* ---------- Menyu: CANLI TV ---------- */
.nav-scroll .nav-live { gap: 7px; color: var(--red); font-weight: 800; letter-spacing: .04em; }
.nav-scroll .nav-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(201,31,53,.16); animation: pulse 1.4s infinite; }
.nav-scroll .nav-live.active { background: #fbf4f5; }

/* ---------- Bəyənmə ---------- */
.article-like { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.like-button { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px 0 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font: 700 12px "DM Sans", sans-serif; cursor: pointer; transition: border-color .18s, color .18s, background .18s, transform .18s; }
.like-button svg { width: 19px; height: 19px; fill: none; stroke: var(--red); stroke-width: 2; transition: fill .18s; }
.like-button b { min-width: 22px; padding: 2px 7px; border-radius: 10px; background: #fbf0f2; color: var(--red); font-size: 11px; text-align: center; }
.like-button:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.like-button.is-liked { border-color: var(--red); background: var(--red); color: #fff; }
.like-button.is-liked svg { fill: #fff; stroke: #fff; }
.like-button.is-liked b { background: rgba(255,255,255,.2); color: #fff; }
.like-button.pop svg { animation: like-pop .45s cubic-bezier(.2,.9,.3,1.4); }
.like-button:disabled { cursor: progress; }
.like-hint { color: var(--muted); font-size: 11px; }
.like-hint.is-error { color: var(--red); }
@keyframes like-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Paylaşma ---------- */
.article-share .share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font: inherit; font-size: 11px; cursor: pointer; transition: color .18s, border-color .18s, background .18s; }
.article-share .share-btn svg { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }
.article-share .share-btn[hidden] { display: none; }
.share-whatsapp svg { color: #25d366; }
.share-facebook svg { color: #1877f2; }
.share-telegram svg { color: #229ed9; }
.share-x svg { color: var(--ink); }
.share-linkedin svg { color: #0a66c2; }
.share-vk svg { color: #0077ff; }
.share-email svg, .share-copy svg, .share-native svg { color: var(--ink-soft); }
.article-share .share-whatsapp:hover { color: #fff; background: #25d366; border-color: #25d366; }
.article-share .share-facebook:hover { color: #fff; background: #1877f2; border-color: #1877f2; }
.article-share .share-telegram:hover { color: #fff; background: #229ed9; border-color: #229ed9; }
.article-share .share-x:hover { color: #fff; background: #111; border-color: #111; }
.article-share .share-linkedin:hover { color: #fff; background: #0a66c2; border-color: #0a66c2; }
.article-share .share-vk:hover { color: #fff; background: #0077ff; border-color: #0077ff; }
.article-share .share-email:hover, .article-share .share-copy:hover, .article-share .share-native:hover, .article-share .share-copy.is-done { color: #fff; background: var(--red); border-color: var(--red); }
.article-share .share-btn:hover svg, .article-share .share-copy.is-done svg { color: #fff; }

/* ---------- Hava və valyuta vidjetləri ---------- */
.info-widgets { display: grid; gap: 20px; }
.info-widgets-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.info-widgets-strip:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.info-widgets-sidebar { margin: 0 0 28px; }
.info-widget { min-width: 0; padding: 17px 18px 14px; background: var(--paper); border: 1px solid var(--line); }
.info-widget-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-widget-head h2 { margin: 3px 0 0; color: var(--navy); font: 800 19px/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.weather-city { max-width: 140px; min-height: 32px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font: 700 11px "DM Sans", sans-serif; outline: none; }
.weather-city:focus { border-color: #b94759; box-shadow: 0 0 0 3px rgba(201,31,53,.08); }
.weather-widget.is-loading .weather-body { opacity: .55; transition: opacity .2s; }
.weather-now { display: flex; align-items: center; gap: 14px; }
.weather-icon { width: 62px; height: 62px; flex: 0 0 62px; }
.weather-icon svg, .weather-day i svg { width: 100%; height: 100%; display: block; }
.weather-temp { display: flex; flex-direction: column; }
.weather-temp strong { color: var(--navy); font: 800 42px/1 Manrope, sans-serif; letter-spacing: -.05em; }
.weather-temp span { margin-top: 5px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.weather-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.weather-meta li { display: flex; flex-direction: column; gap: 3px; padding: 8px 9px; background: var(--canvas); }
.weather-meta span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.weather-meta b { color: var(--ink); font-size: 13px; }
.weather-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.weather-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--line); text-align: center; }
.weather-day span { max-width: 100%; overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.weather-day i { width: 30px; height: 30px; }
.weather-day b { color: var(--ink); font-size: 13px; }
.weather-day small { color: var(--muted); font-size: 11px; }
.currency-date { color: var(--muted); font-size: 11px; font-weight: 700; }
.currency-table { width: 100%; border-collapse: collapse; }
.currency-table td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.currency-table tr:last-child td { border-bottom: 0; }
.currency-name { display: flex; align-items: center; gap: 9px; min-width: 0; }
.currency-code { flex: 0 0 auto; min-width: 42px; padding: 4px 0; background: #fbf0f2; color: var(--red); font: 800 11px Manrope, sans-serif; letter-spacing: .04em; text-align: center; }
.currency-name small { overflow: hidden; color: var(--ink-soft); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.currency-value { color: var(--navy); font: 800 14px Manrope, sans-serif; text-align: right; white-space: nowrap; }
.currency-change { width: 74px; padding-left: 10px !important; color: var(--muted); font-size: 10px; font-weight: 700; text-align: right; white-space: nowrap; }
.currency-change.up { color: var(--green); }
.currency-change.down { color: var(--red); }
.widget-source { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.widget-error { margin: 6px 0; color: var(--muted); font-size: 12px; }
.widget-skeleton { display: grid; gap: 9px; }
.widget-skeleton span { height: 16px; background: linear-gradient(90deg, var(--canvas), var(--line), var(--canvas)); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
.widget-skeleton span:first-child { height: 46px; width: 60%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.article-sidebar:has(.info-widgets) { position: static; }
.info-widgets-sidebar .weather-temp strong { font-size: 36px; }
.info-widgets-sidebar .weather-icon { width: 52px; height: 52px; flex-basis: 52px; }

/* ---------- Canlı TV ---------- */
.live-eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.live-eyebrow i, .live-badge i, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(201,31,53,.16); animation: pulse 1.4s infinite; }
.live-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.live-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1724; }
.live-player iframe, .live-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.live-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; color: #c9d4df; font-size: 13px; text-align: center; }
.live-placeholder p { max-width: 380px; margin: 0; line-height: 1.6; }
.live-now { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.live-now > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.live-now strong { color: var(--navy); font: 800 20px/1.2 Manrope, sans-serif; letter-spacing: -.03em; }
.live-now small { color: var(--muted); font-size: 11px; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; background: var(--red); color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.live-badge i { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.live-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.live-channels { background: var(--paper); border: 1px solid var(--line); }
.live-tabs { display: flex; border-bottom: 1px solid var(--line); }
.live-tabs button { flex: 1; min-height: 42px; padding: 0 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-soft); font: 800 11px "DM Sans", sans-serif; cursor: pointer; }
.live-tabs button:hover { color: var(--red); }
.live-tabs button.active { color: var(--red); border-bottom-color: var(--red); }
.live-list { max-height: 560px; overflow-y: auto; }
.live-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) 10px; align-items: center; gap: 11px; padding: 11px 14px; border-bottom: 1px solid var(--line); transition: background .18s; }
.live-item[hidden] { display: none; }
.live-item:last-child { border-bottom: 0; }
.live-item:hover { background: #fbf4f5; }
.live-item.active { background: #fbf0f2; box-shadow: inset 3px 0 var(--red); }
.live-logo { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: #fff; font: 800 13px Manrope, sans-serif; letter-spacing: -.02em; }
.live-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.live-item-copy { display: flex; flex-direction: column; min-width: 0; }
.live-item-copy strong { overflow: hidden; color: var(--ink); font: 700 13px/1.3 Manrope, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.live-item-copy small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.live-item-dot { width: 7px; height: 7px; border-radius: 50%; background: #d1d8e0; }
.live-item.active .live-item-dot { background: var(--red); box-shadow: 0 0 0 3px rgba(201,31,53,.16); }

/* ---------- Gecə rejimi ---------- */
body[data-theme="dark"] .lang-switch a:hover, body[data-theme="dark"] .nav-scroll .nav-live.active, body[data-theme="dark"] .live-item:hover { background: #1a3149; }
body[data-theme="dark"] .info-widget, body[data-theme="dark"] .live-channels { background: #0c1b2b; }
body[data-theme="dark"] .info-widget-head h2, body[data-theme="dark"] .weather-temp strong, body[data-theme="dark"] .currency-value, body[data-theme="dark"] .live-now strong { color: #f2f5f8; }
body[data-theme="dark"] .weather-meta li { background: #12263a; }
body[data-theme="dark"] .weather-meta b, body[data-theme="dark"] .weather-day b, body[data-theme="dark"] .live-item-copy strong { color: #edf2f7; }
body[data-theme="dark"] .currency-code, body[data-theme="dark"] .like-button b { background: #2a1c2a; }
body[data-theme="dark"] .live-item.active { background: #1a3149; }
body[data-theme="dark"] .weather-city { background: #0c1b2b; color: #e6edf4; }
body[data-theme="dark"] .like-button { background: #0c1b2b; color: #e6edf4; }
body[data-theme="dark"] .like-button.is-liked { background: var(--red); color: #fff; }
body[data-theme="dark"] .share-x svg { color: #e6edf4; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .live-layout { grid-template-columns: 1fr; }
  .live-list { max-height: none; }
}
@media (max-width: 650px) {
  .utility-left { gap: 10px; }
  .utility-actions { gap: 10px; }
  .lang-switch a { padding: 3px 5px; font-size: 9px; }
  .info-widgets-strip { grid-template-columns: 1fr; margin-top: 23px; gap: 14px; }
  .info-widget { padding: 14px; }
  .weather-temp strong { font-size: 36px; }
  .article-share .share-btn span { display: none; }
  .article-share .share-btn { padding: 8px 10px; }
  .article-share .share-btn svg { width: 17px; height: 17px; }
  .live-now { flex-direction: column; align-items: flex-start; }
  .live-now strong { font-size: 17px; }
}
@media (max-width: 380px) {
  .utility-weather { display: none; }
}

/* =====================================================================
   2-ci mərhələ: slayder, canlı pleyer, musiqi, təqvim
   ===================================================================== */

/* ---------- Üst panel və menyu keçidləri ---------- */
.utility-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-weight: 700; white-space: nowrap; }
.utility-link span { color: var(--red); }
.utility-link:hover { color: var(--red); }
.nav-scroll .nav-extra.active { color: var(--red); background: #fbf4f5; }

/* ---------- Ana səhifə slayderi (lead-story görünüşü saxlanılır) ---------- */
.hero-slider { isolation: isolate; }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; z-index: 1; }
.hero-slide .lead-copy { transform: translateY(12px); opacity: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1) .15s, opacity .7s ease .15s; }
.hero-slide.is-active .lead-copy { transform: none; opacity: 1; }
.lead-copy .hero-title { margin: 17px 0 10px; max-width: 630px; color: #fff; font: 800 clamp(27px,3.3vw,42px)/1.13 Manrope,sans-serif; letter-spacing: -.04em; }
.hero-slider .lead-copy { bottom: 58px; }
.hero-nav { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; margin-top: -21px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(7,20,34,.35); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; backdrop-filter: blur(4px); }
.hero-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-prev { left: 14px; } .hero-next { right: 14px; }
.hero-slider:hover .hero-nav, .hero-nav:focus-visible { opacity: 1; }
.hero-nav:hover { background: var(--red); border-color: var(--red); }
.hero-controls { position: absolute; z-index: 3; left: 36px; right: 32px; bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 26px; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; align-items: center; }
.hero-dots button span { display: block; height: 3px; background: rgba(255,255,255,.45); transition: background .2s; }
.hero-dots button.is-active span, .hero-dots button:hover span { background: #fff; }
.hero-dots button.is-active span { background: var(--red); }
.hero-pause { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.hero-pause svg { width: 13px; height: 13px; fill: currentColor; }
.hero-pause .i-play, .hero-slider.is-paused .hero-pause .i-pause { display: none; }
.hero-slider.is-paused .hero-pause .i-play { display: block; }
.hero-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.hero-progress span { display: block; width: 0; height: 100%; background: var(--red); }
@media (hover: none) { .hero-nav { opacity: .85; width: 36px; height: 36px; margin-top: -18px; } }

/* ---------- Canlı pleyer ---------- */
.live-video { position: absolute; inset: 0; background: #000; }
.live-video video { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #c9d4df; pointer-events: none; }
.live-spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--red); border-radius: 50%; animation: live-spin .8s linear infinite; }
@keyframes live-spin { to { transform: rotate(360deg); } }
.live-overlay-bar { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; opacity: .25; transition: opacity .2s; }
.live-video:hover .live-overlay-bar, .live-overlay-bar:focus-within { opacity: 1; }
.live-quality { min-height: 32px; padding: 0 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; background: rgba(7,20,34,.75); color: #fff; font: 700 11px "DM Sans", sans-serif; }
.live-fs { width: 34px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; background: rgba(7,20,34,.75); color: #fff; cursor: pointer; }
.live-fs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.live-video:fullscreen { background: #000; }
.live-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.button-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 17px; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font: 700 12px "DM Sans", sans-serif; cursor: pointer; }
.live-placeholder .button-outline { color: #fff; }
.live-placeholder .button-outline:hover { background: #fff; color: var(--navy); }
.live-play-big { width: 76px; height: 76px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; box-shadow: 0 0 0 10px rgba(201,31,53,.18); transition: transform .2s; }
.live-play-big:hover { transform: scale(1.06); }
.live-play-big svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.live-start p { color: #fff; font: 800 18px Manrope, sans-serif; }

/* ---------- Musiqi axtarışı ---------- */
.music-search { display: flex; align-items: stretch; gap: 10px; padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.music-search-icon { display: grid; place-items: center; width: 44px; flex: 0 0 44px; background: #fbf0f2; color: var(--red); font-size: 20px; }
.music-search input[type=search] { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font: 15px "DM Sans", sans-serif; outline: none; }
.music-search input:focus, .music-search select:focus { border-color: #b94759; box-shadow: 0 0 0 3px rgba(201,31,53,.08); }
.music-search select { min-height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font: 700 12px "DM Sans", sans-serif; }
.music-search .button-primary { min-height: 46px; padding: 0 22px; }
.music-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.music-status { margin: 18px 0 12px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.music-status.is-error { color: var(--red); }
.music-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.music-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 13px; padding: 11px; background: var(--paper); border: 1px solid var(--line); transition: border-color .18s, box-shadow .18s; animation: rise .35s both; }
.music-card:hover, .music-card.is-playing { border-color: #e5b8bf; box-shadow: var(--shadow); }
.music-art { position: relative; width: 84px; height: 84px; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: #fff; font-size: 26px; }
.music-art img { width: 100%; height: 100%; object-fit: cover; }
.music-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(7,20,34,.35); color: #fff; cursor: pointer; opacity: 0; transition: opacity .18s; }
.music-card:hover .music-play, .music-play:focus-visible, .music-card.is-playing .music-play { opacity: 1; }
.music-play svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--red); fill: #fff; box-sizing: content-box; }
.music-play .i-pause, .music-card.is-playing .music-play .i-play { display: none; }
.music-card.is-playing .music-play .i-pause { display: block; }
.music-info { display: flex; flex-direction: column; min-width: 0; }
.music-info strong { overflow: hidden; color: var(--ink); font: 700 14px/1.35 Manrope, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.music-artist { margin-top: 2px; overflow: hidden; color: var(--red); font-size: 12px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.music-meta { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.music-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 7px; }
.music-badge { padding: 3px 6px; background: var(--canvas); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.music-link { padding: 3px 7px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.music-link:hover { border-color: var(--red); color: var(--red); }
.music-download { border-color: var(--green); color: var(--green); }
.music-license { color: var(--muted); font-size: 10px; font-weight: 800; }
.music-more { display: flex; justify-content: center; margin-top: 20px; }
.music-more .button-outline { color: var(--red); }
.music-sentinel { height: 1px; }
.music-player { position: fixed; z-index: 50; left: 50%; bottom: 14px; width: min(760px, calc(100% - 24px)); transform: translateX(-50%); display: grid; grid-template-columns: 46px minmax(0, 1fr) 40px minmax(120px, 1.2fr) 80px 28px; align-items: center; gap: 12px; padding: 9px 12px; background: var(--navy); color: #fff; box-shadow: 0 18px 40px rgba(7,20,34,.35); }
.music-player[hidden] { display: none; }
.music-player img { width: 46px; height: 46px; object-fit: cover; }
.mp-info { display: flex; flex-direction: column; min-width: 0; }
.mp-info strong { overflow: hidden; font: 700 13px Manrope, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.mp-info small { overflow: hidden; color: #a9b8c8; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.mp-toggle { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; }
.mp-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.mp-toggle .i-pause, .music-player.is-playing .mp-toggle .i-play { display: none; }
.music-player.is-playing .mp-toggle .i-pause { display: block; }
.mp-progress { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mp-progress input { flex: 1; min-width: 0; accent-color: var(--red); }
.mp-progress span { color: #a9b8c8; font-size: 11px; font-variant-numeric: tabular-nums; }
.mp-volume { width: 100%; accent-color: var(--red); }
.mp-close { width: 28px; height: 28px; border: 0; background: transparent; color: #a9b8c8; font-size: 22px; cursor: pointer; }
.mp-close:hover { color: #fff; }

/* ---------- Təqvim ---------- */
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.cal-nav, .cal-views { display: inline-flex; border: 1px solid var(--line); background: var(--paper); }
.cal-btn, .cal-views button { min-width: 40px; min-height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font: 700 13px "DM Sans", sans-serif; cursor: pointer; }
.cal-btn + .cal-btn, .cal-views button + button { border-left: 1px solid var(--line); }
.cal-btn:hover, .cal-views button:hover { color: var(--red); background: #fbf4f5; }
.cal-btn[data-cal-prev], .cal-btn[data-cal-next] { font-size: 20px; line-height: 1; }
.cal-views button.active { background: var(--red); color: #fff; }
.cal-title { margin: 0; color: var(--navy); font: 800 22px/1.2 Manrope, sans-serif; letter-spacing: -.03em; text-transform: capitalize; }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.cal-grid-wrap { min-height: 200px; background: var(--paper); border: 1px solid var(--line); }
.cal-grid-wrap.is-loading { opacity: .6; }
.cal-head, .cal-body { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-head span { padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.cal-day { position: relative; min-height: 84px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 9px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background .15s; }
.cal-body .cal-day:nth-child(7n) { border-right: 0; }
.cal-day:hover { background: #fbf4f5; }
.cal-day:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.cal-day.is-outside { color: #b5c0cb; }
.cal-num { font: 700 14px Manrope, sans-serif; }
.cal-day.is-today .cal-num { display: grid; place-items: center; width: 26px; height: 26px; margin: -3px 0 0 -4px; border-radius: 50%; background: var(--red); color: #fff; }
.cal-day.is-selected { background: #fbf0f2; box-shadow: inset 0 0 0 2px var(--red); }
.cal-marks { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 700; }
.dot-news, .dot-event { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dot-news { background: var(--navy); }
.dot-event { background: var(--red); }
.cal-week .cal-day { min-height: 190px; }
.cal-cell-events { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.cal-cell-events em { overflow: hidden; padding: 3px 5px; border-left: 2px solid var(--red); background: #fbf0f2; color: var(--ink); font-size: 10px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.cal-dayview { display: flex; align-items: baseline; gap: 14px; padding: 24px; }
.cal-day-big { color: var(--red); font: 800 64px/1 Manrope, sans-serif; letter-spacing: -.05em; }
.cal-dayview span { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.cal-panel { padding: 17px 18px; background: var(--paper); border: 1px solid var(--line); }
.cal-panel h3 { margin: 0 0 14px; color: var(--navy); font: 800 19px Manrope, sans-serif; letter-spacing: -.03em; }
.cal-panel .eyebrow { margin: 14px 0 8px; }
.cal-events, .cal-news { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cal-events li { display: flex; flex-direction: column; gap: 3px; padding: 10px 11px; border-left: 3px solid var(--red); background: #fbf4f5; }
.cal-events time { color: var(--red); font-size: 11px; font-weight: 800; }
.cal-events strong { color: var(--ink); font: 700 14px/1.35 Manrope, sans-serif; }
.cal-events p { margin: 2px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.cal-loc { color: var(--muted); font-size: 11px; }
.cal-news a { display: grid; grid-template-columns: 42px 1fr; gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cal-news li:last-child a { border-bottom: 0; }
.cal-news time { grid-row: span 2; color: var(--muted); font-size: 11px; font-weight: 700; }
.cal-news span { color: var(--ink); font: 700 13px/1.4 Manrope, sans-serif; }
.cal-news a:hover span { color: var(--red); }
.cal-news small { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Gecə rejimi (2-ci mərhələ) ---------- */
body[data-theme="dark"] .music-search, body[data-theme="dark"] .music-card, body[data-theme="dark"] .cal-grid-wrap, body[data-theme="dark"] .cal-panel, body[data-theme="dark"] .cal-nav, body[data-theme="dark"] .cal-views { background: #0c1b2b; }
body[data-theme="dark"] .music-search input, body[data-theme="dark"] .music-search select { background: #12263a; color: #e6edf4; }
body[data-theme="dark"] .music-info strong, body[data-theme="dark"] .cal-num, body[data-theme="dark"] .cal-btn, body[data-theme="dark"] .cal-views button, body[data-theme="dark"] .cal-news span, body[data-theme="dark"] .cal-events strong, body[data-theme="dark"] .cal-cell-events em { color: #edf2f7; }
body[data-theme="dark"] .cal-title, body[data-theme="dark"] .cal-panel h3 { color: #f2f5f8; }
body[data-theme="dark"] .cal-day:hover, body[data-theme="dark"] .cal-day.is-selected, body[data-theme="dark"] .cal-events li, body[data-theme="dark"] .cal-cell-events em, body[data-theme="dark"] .music-search-icon { background: #1a3149; }
body[data-theme="dark"] .cal-day.is-outside { color: #4f6378; }
body[data-theme="dark"] .dot-news { background: #9fb3c8; }

/* ---------- Mobil (2-ci mərhələ) ---------- */
@media (max-width: 900px) {
  .cal-layout { grid-template-columns: 1fr; }
  .music-results { grid-template-columns: 1fr; }
  .utility-link { display: none; }
}
@media (max-width: 650px) {
  .hero-slider .lead-copy { bottom: 48px; }
  .lead-copy .hero-title { font-size: 29px; }
  .hero-controls { left: 18px; right: 17px; bottom: 16px; }
  .music-search { flex-wrap: wrap; padding: 12px; }
  .music-search-icon { display: none; }
  .music-search input[type=search] { flex: 1 1 100%; font-size: 16px; }
  .music-search select { flex: 1; }
  .music-search .button-primary { flex: 1; }
  .music-card { grid-template-columns: 70px minmax(0, 1fr); }
  .music-art { width: 70px; height: 70px; }
  .music-play { opacity: 1; background: rgba(7,20,34,.2); }
  .music-player { grid-template-columns: 40px minmax(0, 1fr) 40px 28px; bottom: 8px; }
  .music-player img { width: 40px; height: 40px; }
  .mp-progress { grid-column: 1 / -1; order: 5; }
  .mp-volume { display: none; }
  .cal-toolbar { justify-content: center; }
  .cal-title { order: -1; width: 100%; text-align: center; font-size: 19px; }
  .cal-day { min-height: 52px; padding: 5px; gap: 3px; }
  .cal-num { font-size: 12px; }
  .cal-marks small { display: none; }
  .cal-week .cal-day { min-height: 110px; }
  .cal-cell-events em { font-size: 9px; padding: 2px 3px; }
  .cal-head span { padding: 8px 2px; font-size: 9px; letter-spacing: 0; }
}
/* Ekranda gizli, ekran oxuyucularında görünən etiketlər (Bootstrap yüklənməsə belə) */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* ---------- Ana səhifə təqvimi ---------- */
.home-calendar { margin-top: 40px; }
.home-calendar > .section-heading { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.calendar-app.is-compact .cal-toolbar { justify-content: flex-start; gap: 16px; }
.calendar-app.is-compact .cal-title { font-size: 20px; }
.calendar-app.is-compact .cal-layout { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); }
.calendar-app.is-compact .cal-day { min-height: 62px; }
.calendar-app.is-compact .cal-panel { max-height: 470px; overflow-y: auto; }
.cal-day.has-news:not(.is-selected) { background: linear-gradient(0deg, rgba(16,38,63,.035), rgba(16,38,63,.035)); }
.cal-day.has-news .cal-num { color: var(--navy); }
.cal-day.has-news.is-outside .cal-num { color: #b5c0cb; }
body[data-theme="dark"] .cal-day.has-news .cal-num { color: #f2f5f8; }
@media (max-width: 900px) {
  .calendar-app.is-compact .cal-layout { grid-template-columns: 1fr; }
  .calendar-app.is-compact .cal-panel { max-height: none; }
}
@media (max-width: 650px) {
  .home-calendar { margin-top: 30px; }
  .calendar-app.is-compact .cal-toolbar { justify-content: space-between; }
  .calendar-app.is-compact .cal-title { order: -1; width: 100%; text-align: center; }
  .calendar-app.is-compact .cal-day { min-height: 46px; }
  .cal-head span { overflow: visible; white-space: nowrap; }
}
@media (max-width: 360px) {
  .cal-day { padding: 4px 3px; }
  .cal-head span { font-size: 8px; }
}
