body { font-family: Arial; background:#f2f2f2; margin:0; padding:0; }
header { background:#333; color:#fff; padding:15px; text-align:center; }
.container { max-width:1000px; margin:20px auto; padding:20px; background:#fff; border-radius:8px; box-shadow:0 2px 5px rgba(0,0,0,0.1); }
button { margin:5px; padding:10px 15px; border:none; border-radius:5px; background:#007BFF; color:#fff; cursor:pointer; }
button:hover { background:#0056b3; }
audio { width:100%; margin-top:15px; }
.section { margin-top:30px; }
.section h2 { border-bottom:2px solid #007BFF; padding-bottom:5px; }
ul { list-style:none; padding-left:0; }
ul li { margin:5px 0; }
a { color:#007BFF; text-decoration:none; }
a:hover { text-decoration:underline; }
#now { margin-top:10px; font-weight:bold; }
footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    margin-top: 30px;
    border-top: 2px solid #007BFF;
}
footer a {
    color: #fff;
    text-decoration: underline;
}
footer a:hover {
    color: #00aaff;
}
.station-btn {
  display: block;
  padding: 14px 16px;
  margin: 8px 0;
  background: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.1s;
}

.station-btn:hover {
  background: #0056b3;
}

.station-btn:active {
  transform: scale(0.98);
}

.station-btn .small {
  display: block;
  font-size: 13px;
  opacity: 0.85;
  margin-top: 3px;
}
.search-form {
  display: flex;
  margin: 14px 0;
}

.search-form input {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  border-radius: 8px 0 0 8px;
  border: 1px solid #ccc;
  outline: none;
}

.search-form button {
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  background: #007BFF;
  color: #fff;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.search-box {
  position: relative;
  width: 100%;
  margin: 15px 0 20px;
}

.search-box input {
  width: 100%;
  padding: 16px 90px 16px 16px;
  font-size: 17px;
  border-radius: 10px;
  border: 2px solid #007BFF;
  outline: none;
  box-sizing: border-box;
}

.search-box button {
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  padding: 0 18px;
  border: none;
  border-radius: 8px;
  background: #007BFF;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.search-box button:hover {
  background: #0056b3;
}
.comment-form {
  margin: 20px 0;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.comment-form textarea {
  min-height: 90px;
  resize: vertical;
}

.comment-form button {
  padding: 12px 20px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
}

.comment {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.comment .date {
  font-size: 12px;
  color: #777;
  margin-left: 6px;
}
.comment-form input,
.comment-form textarea,
.search-box input {
  box-sizing: border-box;
}

.rating-info {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
}
.station-rating {
  margin-top: 4px;
  font-size: 13px;
}

.station-rating .star {
  color: #ccc;
  margin-right: 1px;
}

.station-rating .star.active {
  color: #f5c518;
}

.station-rating .rating-info {
  font-size: 11px;
  color: #555;
  margin-left: 4px;
}
.pagination {
    margin-top: 20px;
}
.pagination a,
.pagination .current {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}
.pagination .current {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border-color: #007bff;
}
.pagination a:hover {
    background-color: #FFEEEE;
}
.telegram-btn {
    display: flex;               /* Flexbox для иконки + текста */
    align-items: center;         /* Центрируем по вертикали */
    justify-content: center;     /* Центрируем текст и иконку по горизонтали (если нужно) */
    width: 100%;                 /* Кнопка на всю ширину */
    max-width: 400px;            /* опционально */
    padding: 12px 0;
    background: #0088cc;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-sizing: border-box;
    transition: background 0.3s;
}

.telegram-btn:hover {
    background: #006699;
}
.rating {
  margin: 12px 0;
}

.stars {
  display: inline-flex;
  align-items: center;
}

.star-form {
  margin: 0;
}

.star {
  background: none;
  border: none;
  padding: 0;
  margin: 0 2px 0 0;
  font-size: 26px;
  line-height: 1;
  color: #ccc;
  cursor: pointer;
}

.star:hover {
  color: #f5c518;
}
.rating-line {
  display: flex;
  align-items: center; /* ВЫРАВНИВАНИЕ ПО ВЕРТИКАЛИ */
  gap: 8px;
}

.vote-label {
  font-size: 16px;
  white-space: nowrap;
}

.stars {
  display: flex;
  gap: 4px;
}

/* чтобы формы не ломали выравнивание */
.star-form {
  margin: 0;
}

/* Бегущая строка */
#track-text {
  display: inline-block;
  animation: scroll 10s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }   /* старт за контейнером справа */
  100% { transform: translateX(-100%); } /* уходит влево полностью */
}
#track-inner {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  left: 100%; /* старт за пределами контейнера */
}

