@import url("https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap");

/* Global box-sizing fix to prevent horizontal overflow */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --accent: #2337ff;
  --accent-medium: #2c3bc6;
  --accent-dark: #000d8a;
  --highlight: #fff3cc;
  --black: 15, 18, 25;
  --font-color: #161616;
  --gray: 96, 115, 159;
  --gray-light: 229, 233, 240;
  --gray-dark: 63, 60, 60;
  --bg-color: #fff;
  --bg-color-secondary: #e5e5e5;
  --border-color: #bbb;
  --border-color-focus: #111;
  --placeholder-text: #888;
  --placeholder-text-secondary: #aaa;
  --bg-gradient: rgba(var(--gray-light), 50%), #fff;
  --error: rgb(193, 19, 19);
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #7cacf8;
    --accent-medium: #5c8fd5;
    --accent-dark: #2e3440;
    --font-color: #c7c7c7;
    --bg-color: #282828;
    --bg-color-secondary: #3f3f3f;
    --border-color: #191919;
    --border-color-focus: #111;
    --placeholder-text: #888;
    --placeholder-text-secondary: #fff;
    --bg-gradient: var(--bg-color), var(--bg-color);
    --error: rgb(200, 114, 114);
  }
}

body {
  font-family: "Atkinson Hyperlegible", sans-serif;
  margin: 0;
  padding: 0;
  text-align: left;
  background: linear-gradient(var(--bg-gradient)) no-repeat;
  background-color: var(--bg-color);
  background-size: 100% 600px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow-x: hidden;
  color: var(--font-color);
  font-size: 18px;
  line-height: 1.5;
}

main {
  max-width: 900px;
  padding: 1em;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Tinos", serif;
  margin: 0 0 0.5rem 0;
  color: var(--font-color);
  line-height: 1.2;
}

h1 {
  font-size: 3em;
}

h1 a {
  color: var(--font-color);
  text-decoration: none;
}

h2 {
  font-size: 2.4em;
}

h3 {
  font-size: 1.9em;
}

a {
  color: var(--accent);
}

.playlist-section {
  padding: 0 1.5em 1.5em 1.5em;
}

.song-info-section {
  margin-bottom: 2em;
}

.song-detail-title {
  font-size: 2em;
  color: var(--font-color);
  font-family: "Tinos", serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.song-title-main {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.3em;
}

.song-title-secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2em;
}

.song-title-hebrew {
  font-size: 0.5em;
  color: var(--placeholder-text);
  direction: rtl;
  font-family: "Tinos", serif;
  text-align: right;
}

.song-title-english {
  font-size: 0.5em;
  color: var(--placeholder-text);
  font-style: italic;
}

.song-info-section .song-artist {
  color: var(--placeholder-text);
  font-size: 0.95em;
  margin-bottom: 0.5em;
}

.song-info-section .original-author {
  font-size: 0.9em;
  font-style: italic;
  margin-bottom: 0.3em;
}

.song-info-section .performer {
  font-size: 0.85em;
  margin-bottom: 0.3em;
}

.song-info-section .song-about {
  font-size: 0.9em;
  line-height: 1.4;
  color: var(--font-color);
  margin: 0;
}

.song-content-with-image {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
}

.song-about {
  flex: 1;
}

.artist-image-container {
  flex-shrink: 0;
  width: 120px;
  flex-direction: column;
  gap: 0.3em;
}

.artist-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
}

.artist-name {
  font-size: 0.75em;
  text-align: center;
  line-height: 1;
}

@media (max-width: 600px) {
  .song-content-with-image {
    gap: 1em;
  }

  .artist-image-container {
    width: 100px;
    align-self: flex-start;
    margin-top: 0.2em;
  }
}

.song-info-section .original-author a,
.song-info-section .performer a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.song-info-section .original-author a:hover,
.song-info-section .performer a:hover {
  text-decoration: underline;
}

/* Song Content Container - Side by Side Layout */
.song-content-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
  margin-top: 2em;
}

@media (min-width: 900px) {
  .song-content-container.has-song {
    grid-template-columns: 400px 1fr;
    gap: 3em;
  }

  .song-content-container.has-song .playlist-section,
  .song-content-container.has-song .lyrics-info-section {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  /* Add a visual separator */
  .song-content-container.has-song .playlist-section {
    position: relative;
    padding: 0 1.5em 0 1.5em;
  }

  .song-content-container.has-song .playlist-section::after {
    content: "";
    position: absolute;
    right: -1.5em;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-color);
  }
}

.lyrics-info-section {
  background: var(--bg-color-secondary);
  padding: 1.5em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
}

.lyrics-info-section.active {
  display: block;
}

/* Mobile Player Bar */
.mobile-player-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-color-secondary);
  padding: 0.75em;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  border-top: 1px solid var(--border-color);
}

.mobile-controls {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  margin-bottom: 0.5em;
}

.mobile-control-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-control-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
}

.mobile-control-btn:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.mobile-control-btn:active {
  transform: scale(0.95);
}

.mobile-play-btn {
  width: 50px;
  height: 50px;
  font-size: 1.2em;
}

.mobile-play-btn svg {
  display: block;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
}

.mobile-track-info {
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 6px;
  padding: 0.25em;
  margin: 0 -0.25em;
}

.mobile-track-info:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  .mobile-track-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

.mobile-track-title {
  font-size: 0.9em;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: var(--font-color);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mobile-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.mobile-progress-bar:hover {
  transform: scaleY(1.5);
}

.mobile-progress-bar.dragging {
  cursor: grabbing;
  transform: scaleY(2);
}

.mobile-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s ease;
}

.mobile-track-time {
  font-size: 0.75em;
  color: var(--placeholder-text);
  text-align: center;
  margin-top: 0.3em;
}

.mobile-chevron-btn {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-chevron-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  transition: transform 0.2s ease;
}

.mobile-chevron-btn:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.mobile-chevron-btn:active {
  transform: scale(0.95);
}

/* Show chevron button when a song is loaded */
body.mobile-player-active:not(.no-song-loaded) .mobile-chevron-btn {
  display: flex;
}

/* Rotate chevron when song details are open */
body.song-selected .mobile-chevron-btn svg {
  transform: rotate(180deg);
}

/* Remove old mobile navigation styles */
.mobile-navigation {
  display: none;
}

/* Simplified playlist items when song is selected */
.song-content-container.has-song .track-author,
.song-content-container.has-song .track-performer {
  display: none;
}

.song-content-container.has-song .playlist-item {
  padding: 0.5em 0.75em;
}

.song-content-container.has-song .track-info {
  padding-right: 0.5em;
}

/* Mobile styles */
@media (max-width: 899px) {
  body {
    font-size: 16px;
  }

  header {
    display: block;
  }

  header p {
    margin: 0;
  }

  /* Hide header only on song detail pages */
  body.song-selected header {
    display: none;
  }

  main {
    padding: 0.5em;
  }

  body.song-selected main {
    padding-bottom: 5em;
  }

  h1 {
    font-size: 1.5em;
    margin-bottom: 0.2em;
  }
  h2 {
    font-size: 1.5em;
  }

  .controls {
    gap: 0.5em;
  }

  .control-btn {
    width: 45px;
    height: 45px;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .control-btn svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  .play-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3em;
  }

  .play-btn svg {
    display: block;
    width: 28px;
    height: 28px;
  }

  .playlist-item {
    padding: 0.5em;
  }

  .player-container {
    display: none;
  }

  .playlist-section {
    padding: 1em;
  }

  .song-info-section {
    background: transparent;
    padding: 1em;
    margin-bottom: 0.5em;
  }

  .song-info-section .song-about {
    font-size: 0.85em;
  }

  .track-author {
    font-size: 0.8em;
  }

  .track-performer {
    font-size: 0.75em;
  }

  .original-author {
    font-size: 0.85em;
  }

  .performer {
    font-size: 0.8em;
  }

  .song-content-container {
    margin-top: 0;
  }

  /* Hide playlist and show mobile player when song is selected */
  .song-content-container.has-song .playlist-section {
    display: none;
  }

  /* Always show mobile player on mobile devices */
  .mobile-player-bar {
    display: block;
  }

  /* Add bottom padding to prevent content from being hidden behind mobile player */
  body {
    padding-bottom: 120px;
  }

  /* Ensure mobile player is always visible with proper height */
  .mobile-player-bar {
    min-height: 110px;
  }

  /* Force Safari to respect SVG sizing in mobile controls */
  .mobile-control-btn svg,
  .mobile-play-btn svg {
    flex-shrink: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  /* Override inline SVG dimensions on mobile - Safari fix */
  .mobile-control-btn svg[width],
  .mobile-control-btn svg[height] {
    width: 20px;
    height: 20px;
  }

  .mobile-play-btn svg[width],
  .mobile-play-btn svg[height] {
    width: 24px;
    height: 24px;
  }

  /* Mobile slide-up animation for song details */
  .lyrics-info-section {
    background: var(--bg-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: fixed;
    bottom: 110px; /* Above mobile player bar */
    left: 0;
    right: 0;
    top: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 50;
    overflow-y: auto;
    display: block !important;
  }

  .lyrics-info-section.active {
    transform: translateY(0);
  }

  /* No animation for initial page loads */
  .lyrics-info-section.active.no-animation {
    transform: translateY(0);
    transition: none;
  }

  .lyrics-tabs {
    gap: 0.25em;
    padding: 0.5em 1em;
    margin-bottom: 1em;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .lyrics-tab {
    padding: 0.4em 0.8em;
    font-size: 0.9em;
    flex-shrink: 1;
    min-width: 0;
  }

  .lyrics-content {
    font-size: 1em;
    line-height: 1.6;
    padding: 0.25em 1em;
  }

  .lyrics-panels {
    max-height: none;
    padding: 0 1em 8em; /* Extra bottom padding for mobile player */
  }

  .lyrics-line {
    padding: 0 0.5em;
    margin: 0;
  }

  .song-detail-title {
    font-size: 1.5em;
  }

  .song-title-main {
    font-size: 1em;
    margin-bottom: 0.2em;
  }

  .song-title-secondary {
    margin-bottom: 0.15em;
  }

  /* Hide back button on mobile - replaced with chevron */
  body.song-selected .mobile-back-btn {
    display: none;
  }

  /* Mobile chevron button styling */
  .mobile-chevron-btn svg[width],
  .mobile-chevron-btn svg[height] {
    width: 20px;
    height: 20px;
  }
}

.player-container {
  background: var(--bg-color-secondary);
  border-radius: 8px;
  padding: 1.5em;
  margin-bottom: 2em;
}

.current-track {
  text-align: center;
  margin-bottom: 1em;
}

.track-title {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 0.5em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.track-time {
  color: var(--placeholder-text);
  font-size: 0.9em;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin: 1em 0;
}

.control-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn svg {
  display: block;
  width: 24px;
  height: 24px;
}

.control-btn:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.control-btn:active {
  transform: scale(0.95);
}

.play-btn {
  width: 60px;
  height: 60px;
  font-size: 1.5em;
}

.play-btn svg {
  display: block;
  width: 30px;
  height: 30px;
}

.progress-container {
  margin: 1em 0;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease;
}

.progress-bar:hover {
  transform: scaleY(1.2);
}

.progress-bar.dragging {
  cursor: grabbing;
  transform: scaleY(1.5);
}

/* Disable progress bar when no song is loaded */
body.no-song-loaded .progress-bar,
body.no-song-loaded .mobile-progress-bar {
  cursor: not-allowed;
  opacity: 0.5;
}

body.no-song-loaded .progress-bar:hover,
body.no-song-loaded .mobile-progress-bar:hover {
  transform: none;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s ease;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1em;
}

.volume-slider {
  flex: 1;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.playlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.playlist-item {
  display: flex;
  align-items: center;
  padding: 0.75em;
  border-radius: 4px;
  margin-bottom: 0.5em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1px solid transparent;
}

.playlist-item:hover {
  background: var(--bg-color);
}

.playlist-item.active {
  background: var(--accent);
  color: white;
}

.playlist-item.active:hover {
  background: var(--accent-medium);
}

.playlist-item.active .track-number {
  color: rgba(255, 255, 255, 0.8);
}

.track-number {
  font-size: 0.9em;
  color: var(--placeholder-text);
  margin-right: 1em;
  min-width: 2em;
}

.track-info {
  flex: 1;
  padding-right: 1em;
}

.track-name {
  font-weight: 500;
  margin-bottom: 0.25em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Subtitle styling for transcription and English */
.track-subtitle {
  font-size: 0.85em;
  color: var(--placeholder-text);
  margin-bottom: 0.1em;
  line-height: 1.2;
}

.transliterated-title {
  font-weight: 500;
}

.track-author {
  font-size: 0.85em;
  color: var(--placeholder-text);
  font-style: italic;
}

.track-performer {
  font-size: 0.8em;
  color: var(--placeholder-text);
}

.playlist-item.active .track-author,
.playlist-item.active .track-performer,
.playlist-item.active .track-subtitle {
  color: white;
}

.song-header {
  display: none;
}

.song-title {
  display: none;
}

.song-content {
  display: none;
}

.song-artist {
  color: var(--placeholder-text);
  font-size: 1.1em;
  margin-bottom: 1em;
}

.original-author {
  color: var(--placeholder-text);
  font-size: 1em;
  font-style: italic;
  margin-bottom: 0.5em;
}

.performer {
  color: var(--placeholder-text);
  font-size: 0.95em;
  margin-bottom: 0.5em;
}

.song-info-bottom {
  display: none;
}

.sr-only {
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

*:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

button:focus,
input:focus,
[role="slider"]:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Progress bar accessibility */
.progress-bar[role="slider"] {
  position: relative;
  cursor: pointer;
}

.progress-bar[role="slider"]:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Playlist accessibility */
.playlist[role="listbox"] {
  list-style: none;
  padding: 0;
  margin: 0;
}

.playlist-item[role="option"] {
  display: flex;
  align-items: center;
  padding: 0.75em;
  border-radius: 4px;
  margin-bottom: 0.5em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1px solid transparent;
  position: relative;
}

.playlist-item[role="option"]:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.playlist-item[role="option"]:hover,
.playlist-item[role="option"]:focus {
  background: var(--bg-color-secondary);
}

.playlist-item[role="option"][aria-selected="true"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.playlist-item[role="option"][aria-selected="true"] .track-number {
  color: rgba(255, 255, 255, 0.8);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --accent: #0000ff;
    --font-color: #000000;
    --bg-color: #ffffff;
    --border-color: #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-resolution: 2dppx) {
  body {
    font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
  }
}

/* Large text support */
@media (min-resolution: 2dppx) {
  body {
    font-size: 19px;
  }
}

/* Lyrics Section Styles */
.lyrics-section {
  display: none;
}

/* Language Tabs */
.lyrics-tabs {
  display: flex;
  gap: 0.5em;
  margin-bottom: 1em;
  border-bottom: 2px solid var(--border-color);
  flex-wrap: wrap;
}

.lyrics-tab {
  background: transparent;
  border: none;
  padding: 0.5em;
  cursor: pointer;
  font-size: 1em;
  color: var(--font-color);
  position: relative;
  transition: all 0.2s ease;
}

.lyrics-tab:focus {
  outline: none;
}

.lyrics-tab.active {
  color: var(--accent);
}

.lyrics-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
}

/* Lyrics Panels */
.lyrics-panels {
  position: relative;
}

.lyrics-panel {
  display: none;
}

.lyrics-panel.active {
  display: block;
}

.lyrics-content {
  font-size: 1.1em;
  line-height: 1.8;
  padding: 0.5em;
}

/* RTL support for Yiddish */
.lyrics-content[dir="rtl"] {
  text-align: right;
  font-family: "Tinos", serif;
}

/* Lyrics Lines */
.lyrics-line {
  padding: 0 0.5em;
  margin: 0;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.lyrics-line:hover {
  background: var(--bg-color);
}

.lyrics-line.active {
  background: var(--highlight);
  color: var(--border-color-focus);
  transform: scale(1.02);
}

.lyrics-line.passed {
  opacity: 0.6;
}

/* Empty line styling */
.lyrics-line.empty {
  height: 1em;
  cursor: default;
}

.lyrics-line.empty:hover {
  background: transparent;
}

/* Accessibility improvements for lyrics */
.lyrics-section:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.lyrics-line:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Smooth scrolling for lyrics */
.lyrics-panels {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  .lyrics-panels {
    scroll-behavior: auto;
  }

  .lyrics-line {
    transition: none;
  }
}

.mobile-back-btn {
  display: none;
  background: none;
  border: none;
  color: var(--link-color);
  font-size: 1em;
  cursor: pointer;
  padding: 0.5em 0;
  text-align: left;
  transition: color 0.2s ease;
}

.mobile-back-btn:hover {
  color: var(--link-hover-color);
}

.mobile-back-btn:focus {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
}

/* Scrub preview tooltip */
.scrub-preview {
  position: absolute;
  background: var(--accent);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-family: "Atkinson Hyperlegible", sans-serif;
  pointer-events: none;
  z-index: 1000;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.scrub-preview::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--accent);
}

/* Mobile-specific scrub preview styling */
@media (max-width: 899px) {
  .scrub-preview {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .scrub-preview::after {
    border-width: 6px;
  }
}
