/* ===== VARIABLES ===== */
:root {
  --bg: #06060f;
  --bg2: #0b0b1a;
  --bg3: #10102a;
  --accent: #6c4fff;
  --accent2: #a855f7;
  --accent3: #06b6d4;
  --text: #e8e6f0;
  --text2: #9b98b0;
  --text3: #5c5a72;
  --border: rgba(108, 79, 255, 0.2);
  --border2: rgba(255,255,255,0.07);
  --glow: 0 0 40px rgba(108, 79, 255, 0.25);
  --r: 12px;
  --r2: 20px;
  --font-head: 'Rajdhani', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Exo 2', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,6,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px; height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  letter-spacing: 2px; color: var(--text);
}
.nav-logo img { border-radius: 8px; }
.nav-links {
  display: flex; gap: 24px; margin-left: auto;
}
.nav-links a {
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text2); transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; margin-left: auto;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text2); transition: all .3s; }
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  background: rgba(6,6,15,0.97); border-top: 1px solid var(--border2);
}
.nav-mobile a {
  padding: 14px 24px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text2); border-bottom: 1px solid var(--border2); transition: color .2s;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; text-align: center; padding: 80px 24px 40px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,79,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,79,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -200px; animation-delay: 0s; }
.hero-orb2 { width: 400px; height: 400px; background: var(--accent2); bottom: -100px; right: -100px; animation-delay: -3s; }
.hero-orb3 { width: 300px; height: 300px; background: var(--accent3); top: 40%; left: 60%; animation-delay: -5s; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-logo {
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 30px rgba(108,79,255,0.6));
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse { 0%,100%{filter:drop-shadow(0 0 30px rgba(108,79,255,0.6))} 50%{filter:drop-shadow(0 0 60px rgba(168,85,247,0.8))} }
.hero-badge {
  display: inline-block; margin-bottom: 20px;
  padding: 6px 16px; border: 1px solid var(--accent);
  border-radius: 20px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; color: var(--accent); text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(42px, 8vw, 88px);
  font-weight: 700; letter-spacing: 4px; line-height: 1;
  margin-bottom: 16px; text-transform: uppercase;
}
.hero-title span { color: var(--accent); }
.hero-sub { font-size: 15px; color: var(--text2); margin-bottom: 36px; letter-spacing: 0.5px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; font-size: 20px; color: var(--text3); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r);
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; transition: all .25s;
  border: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 24px rgba(108,79,255,0.4);
}
.btn-primary:hover { background: var(--accent2); box-shadow: 0 0 40px rgba(168,85,247,0.5); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== SECTION COMMONS ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text); margin-bottom: 12px;
}
.section-desc { font-size: 15px; color: var(--text2); }
.section-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent2); margin-bottom: 16px;
}

/* ===== PLAYER ===== */
.player-section { padding: 80px 0; background: var(--bg2); }
.player-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 32px;
  display: flex; align-items: center; gap: 32px;
  box-shadow: var(--glow); flex-wrap: wrap;
  margin-bottom: 40px;
}
.player-visual {
  width: 120px; height: 120px; flex-shrink: 0;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.player-logo-wrap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.player-logo-wrap img { width: 72px; height: 72px; border-radius: 50%; }
.player-visualizer {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 3px;
}
.player-visualizer span {
  display: block; width: 3px; background: var(--accent); border-radius: 2px;
  height: 12px; transition: height .1s;
}
.player-visualizer.playing span { animation: viz 0.8s ease-in-out infinite alternate; }
.player-visualizer span:nth-child(1)  { animation-delay: 0.0s; }
.player-visualizer span:nth-child(2)  { animation-delay: 0.05s; }
.player-visualizer span:nth-child(3)  { animation-delay: 0.1s; }
.player-visualizer span:nth-child(4)  { animation-delay: 0.15s; }
.player-visualizer span:nth-child(5)  { animation-delay: 0.2s; }
.player-visualizer span:nth-child(6)  { animation-delay: 0.25s; }
.player-visualizer span:nth-child(7)  { animation-delay: 0.3s; }
.player-visualizer span:nth-child(8)  { animation-delay: 0.35s; }
.player-visualizer span:nth-child(9)  { animation-delay: 0.3s; }
.player-visualizer span:nth-child(10) { animation-delay: 0.25s; }
.player-visualizer span:nth-child(11) { animation-delay: 0.2s; }
.player-visualizer span:nth-child(12) { animation-delay: 0.15s; }
.player-visualizer span:nth-child(13) { animation-delay: 0.1s; }
.player-visualizer span:nth-child(14) { animation-delay: 0.05s; }
.player-visualizer span:nth-child(15) { animation-delay: 0.0s; }
@keyframes viz { from { height: 8px; } to { height: 60px; } }

.player-info { flex: 1; min-width: 220px; }
.player-status { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: var(--text2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text3); transition: background .3s; }
.status-dot.live { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: livePulse 2s infinite; }
.status-dot.connecting { background: #f59e0b; }
@keyframes livePulse { 0%,100%{box-shadow:0 0 8px #22c55e} 50%{box-shadow:0 0 16px #22c55e} }
.player-track { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: 1px; margin-bottom: 8px; }
.player-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text2); margin-bottom: 20px; }
.player-controls { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(108,79,255,0.5); transition: all .2s;
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 0 32px rgba(108,79,255,0.7); }
.volume-wrap { display: flex; align-items: center; gap: 10px; }
.vol-icon { font-size: 16px; }
.volume-slider {
  -webkit-appearance: none; width: 120px; height: 4px;
  background: var(--border2); border-radius: 2px; outline: none; cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent); cursor: pointer;
}
.vol-val { font-family: var(--font-mono); font-size: 12px; color: var(--text2); min-width: 36px; }
.player-chat-toggle { margin-left: auto; }

/* Recently Played */
.recently-played { }
.track-list { display: flex; flex-direction: column; gap: 8px; }
.track-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--bg3);
  border: 1px solid var(--border2); border-radius: var(--r);
  font-size: 14px; transition: border-color .2s;
}
.track-item:hover { border-color: var(--border); }
.track-num { font-family: var(--font-mono); font-size: 11px; color: var(--text3); min-width: 20px; }
.track-title { flex: 1; color: var(--text); }
.track-time { font-family: var(--font-mono); font-size: 11px; color: var(--text3); }
.skeleton {
  height: 44px; background: linear-gradient(90deg, var(--bg3) 25%, var(--bg2) 50%, var(--bg3) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0%{background-position:200%} 100%{background-position:-200%} }

/* ===== SCHEDULE ===== */
.schedule-section { padding: 80px 0; }
.schedule-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 32px;
}
.sched-tab {
  padding: 10px 28px; border-radius: 24px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text2); font-family: var(--font-head); font-size: 15px;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  transition: all .2s;
}
.sched-tab:hover { border-color: var(--accent); color: var(--accent); }
.sched-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.schedule-grid { display: flex; flex-direction: column; gap: 8px; max-width: 700px; margin: 0 auto; }
.sched-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--bg2);
  border: 1px solid var(--border2); border-radius: var(--r);
  transition: all .2s; text-decoration: none;
}
.sched-row:hover { border-color: var(--accent); transform: translateX(4px); }
.sched-time {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  min-width: 60px; font-weight: 700;
}
.sched-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sched-name { font-family: var(--font-head); font-size: 17px; font-weight: 600; flex: 1; }
.sched-arrow { color: var(--text3); font-size: 16px; }

/* ===== DJS ===== */
.djs-section { padding: 80px 0; background: var(--bg2); }
.djs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.dj-card {
  display: block; border-radius: var(--r2); overflow: hidden;
  border: 1px solid var(--border2); transition: all .3s;
  background: var(--bg3);
}
.dj-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: var(--glow); }
.dj-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; }
.dj-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dj-card:hover .dj-img-wrap img { transform: scale(1.08); }
.dj-overlay {
  position: absolute; inset: 0; background: rgba(108,79,255,0.8);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #fff;
  opacity: 0; transition: opacity .3s;
}
.dj-card:hover .dj-overlay { opacity: 1; }
.dj-info { padding: 14px 16px; }
.dj-info h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.dj-info p { font-size: 12px; color: var(--accent); font-family: var(--font-mono); }

/* ===== ARCHIVE ===== */
.archive-section { padding: 80px 0; }
.archive-platforms { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.archive-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px; border: 1px solid var(--border);
  border-radius: var(--r); color: var(--text); transition: all .2s;
  font-size: 15px; font-family: var(--font-head); font-weight: 600; letter-spacing: 1px;
}
.archive-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.archive-icon { font-size: 20px; }
.archive-note {
  text-align: center; padding: 16px 24px;
  background: rgba(108,79,255,0.1); border: 1px solid var(--border);
  border-radius: var(--r); max-width: 600px; margin: 0 auto;
  font-size: 13px; color: var(--text2);
}
.archive-note code { color: var(--accent); font-family: var(--font-mono); }

/* ===== CHAT ===== */
.chat-section { padding: 80px 0; background: var(--bg2); }
.chat-embed { max-width: 800px; margin: 0 auto; }
.chat-placeholder {
  border: 1px dashed var(--border); border-radius: var(--r2);
  min-height: 300px; display: flex; align-items: center; justify-content: center;
}
.chat-ph-inner { text-align: center; color: var(--text3); }
.chat-ph-inner span { font-size: 40px; display: block; margin-bottom: 12px; }
.chat-ph-inner p { margin-bottom: 8px; }
.chat-ph-inner code { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }

/* ===== PLATFORMS ===== */
.platforms-section { padding: 80px 0; }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.platform-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 16px; background: var(--bg2);
  border: 1px solid var(--border2); border-radius: var(--r2);
  font-size: 12px; color: var(--text2); text-align: center;
  transition: all .25s;
}
.platform-card:hover { border-color: var(--accent); color: var(--text); transform: translateY(-4px); box-shadow: var(--glow); }
.platform-card img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; }

/* ===== SUPPORT ===== */
.support-section { padding: 80px 0; background: var(--bg2); }
.support-card {
  max-width: 800px; margin: 0 auto;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 48px;
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
  box-shadow: var(--glow);
}
.support-text { flex: 1; min-width: 240px; }
.support-text h2 { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.support-text p { color: var(--text2); font-size: 15px; margin-bottom: 16px; }
.support-card-num { font-family: var(--font-mono); font-size: 14px; color: var(--accent); letter-spacing: 2px; }
.support-actions { display: flex; flex-direction: column; gap: 12px; }

/* ===== FOOTER ===== */
.footer { padding: 48px 0; background: var(--bg); border-top: 1px solid var(--border2); }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 8px; }
.footer-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 2px; }
.footer-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.footer-nav a { font-size: 13px; color: var(--text2); transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text2); transition: all .2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--text3); text-align: center; letter-spacing: 1px; }

/* ===== MYRADIO24 PLAYER INTEGRATION ===== */
.tis-player-wrap {
  margin-top: 16px;
}
/* Приховуємо стандартний фон плеєра, щоб він вписався в наш дизайн */
.tis-player-wrap .my_player iframe,
.tis-player-wrap > div {
  border-radius: var(--r) !important;
  overflow: hidden;
}

/* ===== LAST SONGS (myradio24) ===== */
.tis-lastsongs-wrap {
  margin-top: 8px;
}
.tis-lastsongs-wrap .my_lastsongs {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  max-width: 100% !important;
}
.tis-track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  transition: border-color .2s;
}
.tis-track-row:hover { border-color: var(--border); }
.tis-cover {
  width: 42px !important;
  height: 42px !important;
  border-radius: 6px !important;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg2);
}
.tis-songtime {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.tis-likes {
  font-size: 12px;
  color: var(--text3);
  flex-shrink: 0;
}
/* Переховуємо стандартний inline-block обгортки */
.tis-lastsongs-wrap .my_lastsongs {
  display: block !important;
}

/* ===== DJ PROFILE PAGE ===== */
.dj-profile-hero { padding: 120px 0 60px; text-align: center; position: relative; }
.dj-profile-img {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 24px; border: 3px solid var(--accent);
  box-shadow: 0 0 40px rgba(108,79,255,0.5);
}
.dj-profile-name { font-family: var(--font-head); font-size: clamp(36px,6vw,64px); font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }
.dj-profile-schedule { font-family: var(--font-mono); font-size: 14px; color: var(--accent); margin: 8px 0 20px; letter-spacing: 2px; }
.dj-profile-bio { max-width: 600px; margin: 0 auto; color: var(--text2); font-size: 16px; line-height: 1.7; }
.dj-profile-socials { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .player-card { flex-direction: column; }
  .player-visual { width: 100px; height: 100px; }
  .player-chat-toggle { width: 100%; }
  .djs-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .support-card { padding: 28px; flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FIXES v3 ===== */

/* FIX 1: ЧАТ — повна ширина, нормальна висота */
.tis-chat-frame {
  width: 100%;
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
  min-height: 500px;
}
.tis-chat-frame iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: none;
}
.chat-fallback {
  text-align: center;
  margin-top: 16px;
}
/* Прибираємо обмеження max-width на .chat-embed */
.chat-embed {
  max-width: 100% !important;
  width: 100%;
}

/* FIX 2: NOW PLAYING — анімований dot замість "Завантаження..." */
.tis-loading-dot {
  color: var(--text3);
  animation: dotBlink 1.2s ease-in-out infinite;
  font-size: 10px;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes dotBlink { 0%,100%{opacity:0.2} 50%{opacity:1} }
/* Коли myradio24 заповнить текст — прибрати dot */
#tis-now-playing:not(:empty) .tis-loading-dot { display: none; }

/* FIX 3: НЕЩОДАВНО ГРАЛО — рядки, не величезні картки */
.tis-lastsongs-wrap {
  width: 100%;
}
/* Скидаємо всі inline-стилі що ставить myradio24 на обгортку */
.tis-lastsongs-wrap .my_lastsongs {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* Кожен рядок треку */
.tis-track-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: var(--bg3) !important;
  border: 1px solid var(--border2) !important;
  border-radius: var(--r) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color .2s;
  margin: 0 !important;
}
.tis-track-row:hover { border-color: var(--border) !important; }
/* Обкладинка — маленька, квадратна */
.tis-cover {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 6px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  background: var(--bg2) !important;
  display: block !important;
}
/* Назва треку — займає весь простір, обрізається якщо довга */
.tis-songtime {
  flex: 1 1 auto !important;
  font-size: 13px !important;
  color: var(--text) !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
}
/* Лайки — справа */
.tis-likes {
  font-size: 12px !important;
  color: var(--text3) !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}
/* Скидаємо стандартний inline-block від бібліотеки */
.my_lastsongs > div:not(.my_lastsonghtml) {
  width: 100% !important;
}

/* ===== FIX v4: назва треку + час окремо ===== */
.tis-track-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.tis-song-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.tis-song-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  display: block;
  letter-spacing: 0.5px;
}
/* Прибрати старий .tis-songtime щоб не конфліктував */
.tis-songtime { display: none !important; }

/* Чат — прибрати зайвий відступ */
.tis-chat-frame iframe {
  min-height: 520px;
}
