/* ==========================================================================
   Harmony Music - Modern Spotify-Inspired Dark Theme Design System
   ========================================================================== */

:root {
  --bg-black: #09090b;
  --bg-base: #121214;
  --bg-surface: #18181b;
  --bg-surface-elevated: #242429;
  --bg-glass: rgba(24, 24, 27, 0.75);
  --bg-glass-card: rgba(36, 36, 41, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --brand-green: #1ed760;
  --brand-green-hover: #1fdf64;
  --brand-green-glow: rgba(30, 215, 96, 0.35);

  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;

  --accent-red: #ef4444;
  --accent-yellow: #f59e0b;
  --accent-blue: #3b82f6;

  --sidebar-width: 260px;
  --player-height: 90px;
  --mobile-nav-height: 64px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-main);
  min-height: 100vh;
  overflow: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* App Container Layout */
#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.main-layout {
  display: flex;
  flex: 1;
  height: calc(100vh - var(--player-height));
  position: relative;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-black);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  gap: 20px;
  z-index: 10;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  cursor: pointer;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1ed760, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--brand-green-glow);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #000;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #d4d4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(30, 215, 96, 0.15);
  color: var(--brand-green);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 215, 96, 0.3);
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  color: var(--brand-green);
  background: rgba(30, 215, 96, 0.1);
}

.nav-item.active svg {
  fill: var(--brand-green);
}

.sidebar-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

.sidebar-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  padding: 4px 12px;
}

.playlists-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* User & Quota Card */
.user-card {
  margin-top: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.user-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-name {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Main Content Area */
.main-view {
  flex: 1;
  background: linear-gradient(180deg, #1e1e24 0%, var(--bg-base) 240px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  position: sticky;
  top: 0;
  background: rgba(18, 18, 20, 0.85);
  backdrop-filter: blur(16px);
  z-index: 5;
  border-bottom: 1px solid var(--border-subtle);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  width: 320px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 2px rgba(30, 215, 96, 0.2);
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  width: 100%;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--brand-green);
  color: #000;
}

.btn-primary:hover {
  background: var(--brand-green-hover);
  transform: scale(1.03);
  box-shadow: 0 4px 16px var(--brand-green-glow);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.btn-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Page Content View */
.view-content {
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Hero Section */
.hero-banner {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 32px 0 12px;
}

.hero-cover {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2e0854, #1ed760);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cover svg {
  width: 64px;
  height: 64px;
  fill: rgba(255, 255, 255, 0.8);
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Track Tables */
.track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.track-table th {
  text-align: left;
  padding: 10px 14px;
  color: var(--text-subtle);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.track-row {
  transition: var(--transition);
  cursor: pointer;
  border-radius: var(--radius-md);
}

.track-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.track-row.playing {
  background: rgba(30, 215, 96, 0.12);
}

.track-row.playing .track-title {
  color: var(--brand-green);
}

.track-row td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  vertical-align: middle;
}

.td-num {
  width: 44px;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}

.play-hover-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

.play-hover-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.track-row:hover .row-index {
  display: none;
}

.track-row:hover .play-hover-btn {
  display: inline-flex;
}

.track-primary-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.track-thumb {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-thumb svg {
  width: 20px;
  height: 20px;
  fill: var(--text-subtle);
}

.track-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.track-title {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.track-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.track-album {
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 200px;
}

.uploader-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.uploader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.track-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.like-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-subtle);
  transition: var(--transition);
  padding: 4px;
}

.like-btn:hover {
  color: #fff;
  transform: scale(1.15);
}

.like-btn.liked {
  color: var(--brand-green);
}

.like-btn.liked svg {
  fill: var(--brand-green);
}

.like-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Grid Views (Playlists / Albums) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.media-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.media-card:hover {
  background: var(--bg-surface-elevated);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.media-card-cover {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-cover svg {
  width: 48px;
  height: 48px;
  fill: var(--text-subtle);
}

.card-play-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-green);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
  cursor: pointer;
}

.card-play-btn svg {
  width: 20px;
  height: 20px;
  fill: #000;
  margin-left: 2px;
}

.media-card:hover .card-play-btn {
  opacity: 1;
  transform: translateY(0);
}

.media-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.media-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* ==========================================================================
   Bottom Music Player Bar (Persistent & Screen-off Audio Compatible)
   ========================================================================== */
.player-bar {
  height: var(--player-height);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  padding: 0 24px;
  z-index: 50;
  position: relative;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.player-cover {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-cover svg {
  width: 24px;
  height: 24px;
  fill: var(--text-subtle);
}

.player-track-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.player-artist {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 6px;
}

.ctrl-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.ctrl-btn.active {
  color: var(--brand-green);
  position: relative;
}

.ctrl-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-green);
}

.ctrl-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.play-pause-main {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.play-pause-main:hover {
  background: #f4f4f5;
  color: #000;
  transform: scale(1.08);
}

.play-pause-main svg {
  width: 20px;
  height: 20px;
  fill: #000;
}

.playback-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.time-text {
  font-size: 0.72rem;
  color: var(--text-subtle);
  min-width: 38px;
  font-variant-numeric: tabular-nums;
}

.progress-container {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  transition: height 0.15s ease;
}

.progress-container:hover {
  height: 6px;
}

.progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  width: 0%;
  position: relative;
  transition: width 0.1s linear;
}

.progress-container:hover .progress-fill {
  background: var(--brand-green);
}

.progress-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.progress-container:hover .progress-knob {
  display: block;
}

.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.volume-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 120px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 520px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-green);
}

/* Upload Drop Zone */
.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.02);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--brand-green);
  background: rgba(30, 215, 96, 0.05);
}

.dropzone svg {
  width: 44px;
  height: 44px;
  fill: var(--brand-green);
}

/* Duplicate Alert Card */
.duplicate-alert {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.duplicate-alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Toasts */
#toast-container {
  position: fixed;
  bottom: 110px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-green);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  animation: toastIn 0.2s ease-out;
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes toastIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile Bottom Navigation Bar */
.mobile-nav {
  display: none;
  height: var(--mobile-nav-height);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  height: 100%;
}

.mobile-nav-item.active {
  color: var(--brand-green);
}

.mobile-nav-item.active svg {
  fill: var(--brand-green);
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Responsive Media Queries */
@media (max-width: 860px) {
  .sidebar {
    display: none;
  }

  .main-layout {
    height: calc(100vh - var(--player-height) - var(--mobile-nav-height));
  }

  .mobile-nav {
    display: grid;
  }

  .player-bar {
    position: fixed;
    bottom: var(--mobile-nav-height);
    left: 0;
    right: 0;
    height: 64px;
    grid-template-columns: 1fr auto;
    padding: 0 14px;
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(20px);
  }

  .player-center .playback-bar,
  .player-right {
    display: none;
  }

  .player-controls {
    gap: 8px;
  }

  .ctrl-btn.extra {
    display: none;
  }

  .top-bar {
    padding: 12px 16px;
  }

  .search-box {
    width: 200px;
  }

  .view-content {
    padding: 16px 16px 32px;
  }

  .hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .col-album,
  .col-date,
  .col-uploader {
    display: none;
  }

  #toast-container {
    bottom: calc(var(--mobile-nav-height) + 70px);
    right: 14px;
    left: 14px;
  }
}