* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 168, 74, 0.1), transparent 34rem),
    radial-gradient(circle at 0% 45%, rgba(216, 168, 74, 0.055), transparent 28rem),
    radial-gradient(circle at 100% 45%, rgba(216, 168, 74, 0.055), transparent 28rem),
    linear-gradient(180deg, #081016 0%, #050a0f 100%);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hidden {
  display: none !important;
}

:focus {
  outline: 0;
}
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.surface-panel {
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(180deg, rgba(28, 39, 48, 0.82), rgba(15, 23, 31, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    var(--shadow-panel);
}

.app {
  max-width: 1640px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 24px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app:not(.is-import) {
  max-width: none;
  width: 100%;
  height: 100vh;
  min-height: 0;
  padding: 16px 29px 0;
  gap: 8px;
  overflow: hidden;
}

.app.is-import .now-playing,
.app.is-import #lanes {
  display: none;
}

.app:not(.is-import) .import-page,
.app:not(.is-import) .site-footer {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding: 18px 14px 22px;
  color: #8d929a;
  font-size: 14px;
}

.site-footer > span {
  margin-right: auto;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.help-btn {
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(18, 26, 34, 0.75);
  color: var(--ink);
  font: inherit;
}
