@media (max-width: 980px) {
  body {
    background-image: url("../../wp/phone.jpg");
  }

  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .brand-seal {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .brand-button strong {
    font-size: 16px;
  }

  .brand-button small {
    display: none;
  }

  .header-action.is-visible {
    display: flex;
  }

  .main-content {
    min-height: calc(100vh - 66px);
  }

  .catalog-view {
    padding: 7vh 18px 36px;
  }

  .catalog-intro {
    padding: 23px 20px;
  }

  .catalog-intro h1 {
    font-size: 31px;
    line-height: 1.45;
    white-space: normal;
  }

  .catalog-intro p:last-child {
    font-size: 14px;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 5vh;
  }

  .course-card {
    min-height: 192px;
    padding: 18px 15px;
  }

  .course-period {
    top: 15px;
    right: 14px;
    width: 29px;
    height: 29px;
    font-size: 14px;
  }

  .course-card strong {
    max-width: 100px;
    margin-top: 30px;
    font-size: 19px;
  }

  .course-card small {
    font-size: 12px;
  }

  .course-card i {
    margin-top: 12px;
    font-size: 11px;
  }

  .player-view {
    display: block;
    height: calc(100vh - 66px - 72px);
    padding: 0;
  }

  .course-sidebar {
    display: none;
  }

  .lyrics-panel {
    height: 100%;
    border-width: 0;
    background: rgba(239, 234, 221, 0.7);
  }

  .lyrics-list {
    gap: 8px;
    padding: 44vh 15px;
  }

  .lyric-line {
    padding: 4px 6px;
    font-size: 17px;
  }

  .lyric-line.is-active {
    font-size: 24px;
  }

  .lyric-section {
    margin-top: 14px;
    font-size: 14px;
  }

  .lyric-section.is-active {
    font-size: 18px;
  }

  .sections-sidebar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    height: min(72vh, 620px);
    border-width: 1px 0 0;
    background: rgba(240, 235, 222, 0.98);
    transform: translateY(105%);
    transition: transform 220ms ease;
  }

  .sections-sidebar.is-open {
    transform: translateY(0);
  }

  .sections-close {
    display: block;
  }

  .player-controls {
    grid-template-columns: 43px 1fr 42px;
    grid-template-rows: 30px 22px;
    gap: 1px 10px;
    height: 72px;
    padding: 6px 15px 7px;
  }

  .play-button {
    grid-row: 1 / 3;
    width: 41px;
    height: 41px;
  }

  .track-meta {
    grid-column: 2;
  }

  .track-meta strong {
    font-size: 13px;
  }

  .track-meta span {
    display: none;
  }

  #current-time {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    text-align: right;
  }

  .progress-slider {
    grid-column: 2 / 4;
    grid-row: 2;
    width: 100%;
  }

  #duration,
  .volume-button,
  .volume-slider {
    display: none;
  }
}

@media (min-width: 981px) {
  .drawer-backdrop {
    display: none;
  }
}
