body {
  background-color: #fff;
  margin: 0;
  min-height: 100vh;
}

a {
  color: #000;
}


h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.2rem;
}

h3 {
  font-size: 2rem;
  font-weight: 250;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    margin-top: 0;
    margin-bottom: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

input.search {
  border-color: #000;
}

input.search:focus {
  border-color: #000;
  box-shadow: none;
}

.container {
  position: relative;
  width: 100%;
  padding: 10px;
}

.embed {
  font-family: monospace;
  font-size: 14px;
  white-space: nowrap;
  width: 100%;
}

.chord {
  position: absolute;
  font-weight: bold;
  color: #007bff;
  //background: rgba(255,255,255,0.8);
  //padding: 2px 4px;
  //border-radius: 4px;
  font-size: 14px;
  pointer-events: none;
}

.chords-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.chord__applicature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chord__name {
  top: -8px;
}

.cover-wrapper {
  width: 100%;
  max-width: 200px;       /* ограничение для десктопа */
  aspect-ratio: 1 / 1;    /* всегда квадрат */
  flex-shrink: 0;         /* не сжимать в flex */
}


.start__block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-card {
  background: #fff;
  padding: 2rem;
  display: flex;
  margin-top: 2rem;
}

.artist-cover {
  width: 100%;
  max-height: 300px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,.09),0 0 1px rgba(0,0,0,.2);
}

.song-title {
  font-size: 0.9rem;
}

.tracklist li {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.tracklist li:hover {
  background: #f1f3f5;
  cursor: pointer;
}
.track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.track-cover {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}
.track-text {
  display: flex;
  flex-direction: column;
}
.track-text small {
  color: #6c757d;
}

.lyrics-card {
  background: #fff;
  //border-radius: 16px;
  padding-top: 2rem;
//  padding-left: 1.2rem; 
 // box-shadow: 0 10px 20px rgba(0,0,0,.09),0 0 1px rgba(0,0,0,.2)
}

.logo {
  line-height: normal;
}

.logo-title {
  font-size: 1.4rem;
}

.logo-tagline {
  font-size: 1rem;
}

.chart-item {
    transition: transform 0.2s ease;
    
}

.chart-item:hover {
    transform: transform 0.2s ease;
    background-color: #eee;
}

.song-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.song-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}

.chart-number {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1e1e1e;
    min-width: 32px;
    text-align: center;
    padding: 0.5rem;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-container {
    min-width: 0; /* Важно для правильной работы text-truncate */
    max-width: calc(100% - 120px); /* Ограничиваем ширину */
}

.song-title, .artist-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

//

footer {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 1rem 0;
  margin-top: auto;
}
footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
}
footer a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

#skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    height: 200px;
    z-index: 11;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}