.table-head,
.tg-main {
  grid-template-columns: minmax(180px, 2.2fr) 1fr .8fr .8fr 1fr 130px;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.listen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border: 1px solid #296047;
  border-radius: 8px;
  background: #193d30;
  color: var(--green);
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.listen:hover,
.listen:focus-visible {
  background: var(--green);
  color: #06100c;
  outline: none;
}

.player-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 7, 5, .72);
  backdrop-filter: blur(3px);
}

.hose-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(720px, calc(100vw - 36px));
  height: min(680px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #315444;
  border-radius: 18px;
  background: #0b1612;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px) scale(.98);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.hose-player.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.player-head strong { display: block; margin-top: 3px; }
.player-kicker { color: var(--green); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.player-actions { display: flex; align-items: center; gap: 10px; }
.player-actions a { color: var(--green); font-size: .78rem; text-decoration: none; }
.player-actions button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel2);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.player-help { margin: 0; padding: 9px 16px; background: #10241c; color: var(--muted); font-size: .75rem; }
.player-frame-wrap { position: relative; min-height: 0; flex: 1; background: #fff; }
.player-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #476057; }
.player-frame-wrap iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; background: #fff; }
body.player-open { overflow: hidden; }

@media (max-width: 780px) {
  .tg-main {
    grid-template-columns: 1fr auto;
  }

  .tg-main > :not(.tg-title):not(.actions) {
    display: none;
  }

  .actions {
    gap: 9px;
  }

  .listen {
    width: 34px;
    height: 34px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .listen::after {
    content: "◉";
    font-size: .9rem;
  }

  .hose-player {
    inset: 8px;
    width: auto;
    height: auto;
    border-radius: 14px;
  }

  .player-help { font-size: .69rem; }
}
