:root {
  --background: #f5efe6;
  --primary: #1f2937;
  --secondary: #5b616d;
  --highlight: #d4b44c;
  --surface: #efe7db;
  --card-gap: 10px;
}

:root[data-theme="dark"] {
  --background: #1e293b;
  --primary: #f1f5f9;
  --secondary: #94a3b8;
  --highlight: #facc15;
  --surface: #334155;
}

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

html {
  font-size: 90%;
  scrollbar-gutter: stable;
}

html,
body {
  min-height: 100%;
  font-family: "Fira Code", monospace;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--primary);
  padding: 20px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.has-status-column {
  padding-top: 0;
}

body.no-top-padding {
  padding-top: 0;
}

.page-layout {
  position: relative;
  flex: 1 0 auto;
}

.status-column {
  position: absolute;
  top: 0;
  left: calc(50% + 350px + var(--card-gap));
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  margin-top: 2.5rem;
}

@media (max-width: 1400px) {
  .page-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--card-gap);
  }

  .page-layout > .content {
    max-width: 700px;
  }

  .status-column {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 700px;
    margin-top: 0;
  }

  .status-column > .now-playing-card:not(.now-playing-card--empty) {
    grid-column: 1 / -1;
  }

  .status-column:has(
      .now-playing-card:not(.now-playing-card--empty)
        ~ .now-playing-card:not(.now-playing-card--empty)
    )
    > .now-playing-card:not(.now-playing-card--empty) {
    grid-column: auto;
  }

  .status-column
    > .now-playing-card:not(.now-playing-card--empty):has(
      ~ .now-playing-card:not(.now-playing-card--empty)
        ~ .now-playing-card:not(.now-playing-card--empty)
    ) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 500px) {
  .cards > * {
    flex: 1 1 100%;
  }

  .status-column {
    grid-template-columns: 1fr;
  }
}

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--secondary);
  color: var(--primary);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  background: var(--highlight);
  color: var(--background);
  border-color: var(--highlight);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}

.cards > * {
  flex: 1 1 240px;
}

.weather-card {
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  overflow: hidden;
}

.weather-now {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 10px;
  border-bottom: 1px solid var(--background);
}

.weather-now-icon {
  font-size: 22px;
}

.weather-now-temp {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.weather-hours {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 14px;
}

.weather-sun {
  padding: 10px 14px 14px;
  font-size: 12px;
  color: var(--secondary);
  border-top: 1px solid var(--background);
}

.weather-sun-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

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

.weather-sun-right {
  align-items: flex-end;
  text-align: right;
}

.weather-hour {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.weather-hour-time {
  color: var(--secondary);
}

.weather-hour-icon {
  font-size: 16px;
}

.weather-hour-temp {
  color: var(--primary);
  font-weight: 600;
}

.posts-card {
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  overflow: hidden;
}

.posts-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
}

.posts-card-link {
  display: flex;
  color: var(--secondary);
}

.posts-card-link:hover,
.posts-card-link:focus {
  color: var(--primary);
}

.posts-card ul.no-dots.posts-list {
  list-style: none;
  margin: 0;
  padding: 0 14px 12px;
}

.posts-list li {
  border-top: 1px solid var(--background);
}

.posts-list li:first-child {
  border-top: none;
}

.posts-list a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--primary);
}

.posts-list a:hover,
.posts-list a:focus {
  color: var(--primary);
  text-decoration: underline;
}

#latest-posts li + li {
  margin-top: 0;
}

.stats-panel {
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
}

.stats-panel-body {
  display: grid;
  gap: 8px;
  padding: 0 14px 14px;
}

.stat-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat-label {
  color: var(--secondary);
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.info-icon {
  display: inline-flex;
  color: var(--secondary);
  opacity: 0.6;
  cursor: help;
}

.info-icon:hover,
.info-icon:focus-visible {
  opacity: 1;
  outline: none;
}

.info-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 10px;
  right: 10px;
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--primary);
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.info-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 32px;
}

.info-icon:hover .info-tooltip,
.info-icon:focus-visible .info-tooltip {
  opacity: 1;
  visibility: visible;
}

.info-tooltip-below {
  top: calc(100% + 8px);
  bottom: auto;
}

.info-tooltip-below::before {
  top: auto;
  bottom: 100%;
}

.info-tooltip a {
  color: var(--highlight);
}

.stat-value {
  color: var(--primary);
  font-weight: 600;
  text-align: right;
}

.site-status-operational,
.site-status-operational:visited {
  color: #3fb950;
}

.site-status-degraded,
.site-status-degraded:visited {
  color: #d29922;
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  overflow: hidden;
}

.location-card-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
}

.location-map {
  position: relative;
  z-index: 0;
  height: 160px;
  width: 100%;
  background: var(--surface);
}

.location-map img.leaflet-tile {
  border-radius: 0;
}

.location-map-tint {
  position: absolute;
  inset: 0;
  z-index: 450;
  background: var(--surface);
  mix-blend-mode: color;
  pointer-events: none;
}

.location-map .leaflet-control-attribution {
  background: var(--surface);
  color: var(--secondary);
  padding: 2px 6px;
  border-radius: 4px 0 0 0;
}

.location-map .leaflet-control-attribution a {
  color: var(--primary);
}

.location-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
}

.location-card-place {
  color: var(--secondary);
}

.location-card-time {
  color: var(--primary);
  font-weight: 600;
}

.random-theme-button {
  position: relative;
  transform: translateX(10px);
  background: var(--highlight);
  border: 1px solid var(--highlight);
  color: var(--background);
  padding: 6px 12px;
  border-radius: 18px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  white-space: nowrap;
  height: 36px;
  display: flex;
  align-items: center;
}

.random-theme-button.show {
  opacity: 1;
  transform: translateX(0);
}

.random-theme-button:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

::selection {
  background: color-mix(in srgb, var(--highlight) 60%, transparent);
  color: var(--primary);
}

::-moz-selection {
  background-color: var(--surface);
  color: var(--primary);
}

body > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0 80px;
  background: linear-gradient(
    to bottom,
    var(--background) 55%,
    transparent 100%
  );
  opacity: 1;
}

body.has-status-column > header,
body.no-top-padding > header {
  padding-top: 24px;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}

.header {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.back-link {
  color: var(--secondary);
}

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

.header a {
  color: var(--highlight);
  text-decoration: none;
}

.header-dot {
  display: inline-block;
  color: var(--highlight);
  cursor: pointer;
}

@keyframes header-dot-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.7);
  }
  100% {
    transform: scale(1);
  }
}

.header-dot-pulse {
  animation: header-dot-pulse 220ms ease-out;
}

@keyframes header-dot-unlock {
  0% {
    transform: scale(1) rotate(0deg);
  }
  60% {
    transform: scale(2.2) rotate(180deg);
  }
  100% {
    transform: scale(0) rotate(360deg);
  }
}

.header-dot-unlocked {
  animation: header-dot-unlock 400ms ease-in forwards;
}

.header-link {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

footer {
  width: 100%;
  max-width: 700px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 12px;
  border-top: 1px solid var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 14px;
  color: var(--secondary);
}

.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-link,
.footer-link:visited {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--secondary);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--highlight);
}

.cv-button {
  display: inline-block;
  font-size: 14px;
  color: var(--background);
  background: var(--primary);
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 150ms ease;
}

.cv-button:hover,
.cv-button:focus {
  background: var(--highlight);
  color: var(--background);
  border-color: transparent;
  transform: translateY(-1px);
}

.content {
  font-family: "Fira Code", monospace;
  font-size: 1rem;
  line-height: 1.45;
  flex: 1 0 auto;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.content > * {
  margin: 0;
}

.content > * + * {
  margin-top: 1rem;
}

.content > .cards {
  margin-top: 2rem;
}

.content h1,
.content h2,
.content h3,
.content h4 {
  line-height: 1.3;
  font-weight: 600;
  color: var(--primary);
}
.content h1 {
  font-size: 2.25rem;
  margin-top: 2.5rem;
}

.content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

.content h3 {
  font-size: 1.25rem;
}

.content h4 {
  font-size: 1.05rem;
}

.content p {
  color: var(--secondary);
}

.content strong {
  font-weight: 600;
}

.content em {
  font-style: italic;
}

.content .meta,
.content time,
.content .caption {
  font-size: 0.85rem;
  color: var(--secondary);
}

a {
  color: var(--highlight);
  text-decoration: none;
  transition:
    color 150ms ease,
    opacity 150ms ease;
}

a:visited {
  color: color-mix(in srgb, var(--highlight) 55%, var(--secondary));
}

a:hover,
a:focus {
  color: var(--primary);
  text-decoration: none;
  outline: none;
}

a:active {
  color: var(--primary);
}

.content ul,
.content ol,
.content ul.no-dots,
.content ol.no-dots {
  padding-left: 0;
  list-style: none;
}

.content li::before {
  content: "•";
  color: var(--highlight);
  display: inline-block;
  width: 1.25rem;
  text-align: left;
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: middle;
}

.content ul.no-dots li::before,
.content ol.no-dots li::before {
  content: none;
  display: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
}

:root[data-theme="dark"] .tags li {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.content ul.tags,
.content ol.tags {
  padding-left: 0;
}

.content ul.tags li,
.content ol.tags li {
  position: static;
  margin: 0;
}

.content blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--surface);
  color: var(--secondary);
  font-style: italic;
}

.content code {
  font-family: "Fira Code", monospace;
  font-size: 0.9em;
  background: var(--surface);
  padding: 0.15em 0.35em;
  border-radius: 4px;
  color: var(--primary);
}

.content pre {
  background: var(--surface);
  color: var(--primary);
  padding: 1rem;
  overflow-x: auto;
  border-radius: 8px;
}

.content pre code {
  background: none;
  padding: 0;
}

.content .table-wrap {
  overflow-x: auto;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.content table img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--surface);
  border-radius: 4px;
}

.content th,
.content td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--surface);
  text-align: left;
}

.content th {
  font-weight: 600;
  color: var(--primary);
}

.content th.sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 1.5rem;
}

.content th.sortable:hover {
  color: var(--highlight);
}

.content th.sortable::after {
  content: "\2195";
  position: absolute;
  right: 0.6rem;
  opacity: 0.4;
}

.content th.sortable[aria-sort="asc"]::after {
  content: "\2191";
  opacity: 1;
  color: var(--highlight);
}

.content th.sortable[aria-sort="desc"]::after {
  content: "\2193";
  opacity: 1;
  color: var(--highlight);
}

.content .table-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.content .table-search {
  flex: 1 1 240px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--surface);
  border-radius: 8px;
}

.content .table-search:focus {
  outline: none;
  border-color: var(--highlight);
}

.content .view-toggle {
  display: inline-flex;
  background: var(--surface);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}

.content .view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.content .view-toggle-btn[aria-pressed="true"] {
  background: var(--highlight);
  color: var(--background);
}

.content .table-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.content .table-cards[hidden] {
  display: none;
}

.content .table-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}

.content .table-card[hidden] {
  display: none;
}

.content .table-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.content .table-card-media a {
  display: block;
  height: 100%;
}

.content .table-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.content .table-card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.content .table-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.content .table-card-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--secondary);
}

.content .table-card-meta {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--secondary);
}

.content .table-card-meta span:not(:last-child)::after {
  content: "\00b7";
  margin-left: 0.4rem;
}

.content img {
  border-radius: 8px;
}

ul li + li {
  margin-top: 0.5rem;
}

.post-title {
  margin-block-end: 0;
}

.post-date {
  margin-block-start: 0.125rem;
}

.gaming-feed-status {
  color: var(--secondary);
  font-size: 14px;
}

.gaming-feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gaming-feed-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  background: var(--surface);
  border-radius: 8px;
  padding: 12px 16px;
}

.gaming-feed-item-main {
}

.gaming-feed-item-title {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.gaming-feed-item-title:hover,
.gaming-feed-item-title:focus {
  color: var(--highlight);
}

.gaming-feed-item-desc {
  margin: 4px 0 0;
  color: var(--secondary);
  font-size: 13px;
}

.gaming-feed-item-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.gaming-feed-item-source {
  background: var(--background);
  color: var(--secondary);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.gaming-feed-item-date {
  color: var(--secondary);
  font-size: 12px;
  white-space: nowrap;
}

#admin-panel p {
  margin: 0;
}

.connection-section {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.connection-status-line {
  font-size: 14px;
}

.connection-account-line {
  color: var(--secondary);
  font-size: 13px;
}

.connection-status-date {
  color: var(--secondary);
  font-size: 12px;
}

.connection-hint {
  color: var(--secondary);
  font-size: 12px;
}

.connection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discord-account-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.discord-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.discord-account-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.discord-account-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-account-username {
  margin: 0;
  font-size: 13px;
  color: var(--secondary);
}

.cv-input {
  font-family: inherit;
  font-size: 14px;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--secondary);
  padding: 8px 12px;
  border-radius: 4px;
}

.cv-input:focus {
  outline: none;
  border-color: var(--highlight);
}

.cv-button-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.cv-button-secondary:hover,
.cv-button-secondary:focus {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.device-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 14px;
}

.device-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.device-info {
}

.device-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.device-category-badge {
  background: var(--background);
  color: var(--secondary);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.device-meta {
  margin: 2px 0 0;
  color: var(--secondary);
  font-size: 12px;
}

.device-token-box {
  display: block;
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--primary);
  word-break: break-all;
  margin: 4px 0;
}

.status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.status-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.status-badge-dot--online {
  background: #3fb950;
}

.status-badge-dot--idle {
  background: #d29922;
}

.status-badge-dot--dnd {
  background: #f85149;
}

.now-playing-header--dot {
  display: flex;
  align-items: center;
  gap: 6px;
}

.now-playing-card {
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
}

.now-playing-card--empty {
  display: flex;
  align-items: center;
}

.now-playing-card--empty .now-playing-header {
  margin-bottom: 0;
}

.now-playing-header {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.now-playing-title,
.now-playing-artist {
  color: var(--primary);
  font-weight: 600;
}

.now-playing-title,
.now-playing-artist,
.now-playing-track {
  overflow: hidden;
  white-space: nowrap;
}

.now-playing-title {
  margin-bottom: 8px;
}

.now-playing-artist {
  margin-bottom: 2px;
}

.now-playing-track {
  color: var(--secondary);
  margin-bottom: 10px;
  padding-left: 1.3em;
}

.now-playing-scroll {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}

.now-playing-scroll-track {
  display: inline-block;
}

.now-playing-track-bar {
  position: relative;
  height: 4px;
  background: var(--background);
  border-radius: 2px;
  margin: 10px 0 6px;
}

.now-playing-track-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

.now-playing-track-thumb {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
}

.now-playing-times {
  display: flex;
  justify-content: space-between;
  color: var(--secondary);
  font-size: 12px;
  margin-top: 2px;
}

.now-playing-meta {
  color: var(--secondary);
  font-size: 12px;
  margin-top: 10px;
}
