:root {
  --lt10-green: #21a63b;
  --lt10-green-dark: #1a8a31;
  --lt10-white: #ffffff;
  --lt10-black: #101010;
  --lt10-gray: #6f6f6f;
  --lt10-line: rgba(255, 255, 255, 0.1);
  --lt10-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  --font-ui: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-ui);
  background: #d8d8d8;
  color: var(--lt10-black);
}

body {
  min-height: 100vh;
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
}

.player-app {
  min-height: 100vh;
  max-width: 760px;
  margin: 0 auto;
  background: var(--lt10-white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.hero-panel {
  position: relative;
  min-height: 58vh;
  padding: 22px 24px 150px;
  background:
    repeating-linear-gradient(-35deg, transparent 0 10px, var(--lt10-line) 10px 12px),
    linear-gradient(180deg, var(--lt10-green) 0%, var(--lt10-green-dark) 100%);
  color: var(--lt10-white);
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-button {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--lt10-white);
  cursor: pointer;
}

.icon-button__svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.utility-spacer {
  width: 52px;
  height: 52px;
}

.icon-button.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.icon-button.install-attention {
  animation: install-glow 1.6s ease-in-out 1, install-shake 0.85s ease-in-out 1;
}

@keyframes install-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  35% {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.65));
  }

  60% {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.82));
  }
}

@keyframes install-shake {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  20% {
    transform: translateX(-2px) rotate(-6deg);
  }

  40% {
    transform: translateX(2px) rotate(6deg);
  }

  60% {
    transform: translateX(-2px) rotate(-4deg);
  }

  80% {
    transform: translateX(2px) rotate(4deg);
  }
}

.identity-block {
  margin-top: 34px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
}

.identity-block h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
}

.identity-detail {
  margin: 26px 0 0;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  line-height: 1.2;
  font-weight: 400;
}

.live-badge {
  margin: 34px 0 0;
  font-size: clamp(1.9rem, 5.2vw, 3rem);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.live-badge.is-paused,
.live-badge.is-error {
  opacity: 0.92;
}

.control-panel {
  position: relative;
  padding: 0 24px 26px;
  text-align: center;
}

.play-button {
  width: min(46vw, 220px);
  height: min(46vw, 220px);
  margin: -112px auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--lt10-white);
  color: var(--lt10-green);
  box-shadow: var(--lt10-shadow);
  cursor: pointer;
}

.play-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 0;
}

.play-button__icon--play {
  margin-left: 10px;
  border-top: 42px solid transparent;
  border-bottom: 42px solid transparent;
  border-left: 68px solid var(--lt10-green);
}

.play-button__icon--pause {
  position: relative;
  width: 60px;
  height: 74px;
}

.play-button__icon--pause::before,
.play-button__icon--pause::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 74px;
  background: var(--lt10-green);
  border-radius: 2px;
}

.play-button__icon--pause::before {
  left: 8px;
}

.play-button__icon--pause::after {
  right: 8px;
}

.volume-stack {
  max-width: 430px;
  margin: 0 auto;
}

.volume-label {
  display: block;
  margin-bottom: 16px;
  color: var(--lt10-gray);
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
}

#volume-range {
  width: 100%;
  accent-color: #555555;
}

.status-panel {
  margin-top: 26px;
}

.status-panel p {
  margin: 0;
  font-size: 1.05rem;
}

.ghost-button {
  margin-top: 12px;
  padding: 11px 18px;
  border: 0;
  background: var(--lt10-green);
  color: var(--lt10-white);
  cursor: pointer;
}

.quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.quick-links a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--lt10-black);
}

.hidden {
  display: none;
}

.help-shell {
  min-height: 100vh;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  background:
    repeating-linear-gradient(-35deg, transparent 0 10px, var(--lt10-line) 10px 12px),
    linear-gradient(180deg, var(--lt10-green) 0%, var(--lt10-green-dark) 100%);
}

.help-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--lt10-shadow);
}

.eyebrow {
  margin: 0;
  color: var(--lt10-green-dark);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.help-card h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 6vw, 3rem);
}

.help-intro {
  margin: 0;
  line-height: 1.5;
}

.help-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.step-card {
  padding: 18px;
  background: #f6f6f6;
  border-left: 4px solid var(--lt10-green);
}

.step-card h2 {
  margin-top: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--lt10-green);
  color: var(--lt10-white);
  text-decoration: none;
}

.offline-card {
  text-align: center;
}

@media (max-width: 640px) {
  .hero-panel {
    min-height: 55vh;
    padding: 16px 16px 138px;
  }

  .control-panel {
    padding: 0 16px 22px;
  }

  .play-button {
    width: min(58vw, 210px);
    height: min(58vw, 210px);
    margin-top: -105px;
  }

  .play-button__icon--play {
    border-top-width: 34px;
    border-bottom-width: 34px;
    border-left-width: 56px;
  }

  .play-button__icon--pause {
    width: 52px;
    height: 62px;
  }

  .play-button__icon--pause::before,
  .play-button__icon--pause::after {
    width: 16px;
    height: 62px;
  }

  .quick-links {
    gap: 14px;
  }

  .quick-links a {
    flex: 1 1 100%;
  }

  .help-shell {
    padding: 16px;
  }
}
