:root {
  --lm-gold: #ffbd4a;
  --lm-gold-strong: #ffc85f;
  --lm-ink: #060708;
  --lm-card: #111316;
  --lm-line: #2a2d31;
  --lm-text: #f7f7f5;
  --lm-muted: #a8acb2;
}

html,
body.tv-landing {
  min-height: 100%;
  background: var(--lm-ink);
}

body.tv-landing {
  margin: 0;
  color: var(--lm-text);
  background:
    radial-gradient(circle at 24% 35%, rgba(255, 189, 74, .11), transparent 30%),
    radial-gradient(circle at 92% 0, rgba(255, 255, 255, .055), transparent 32%),
    #060708;
}

.tv-canvas {
  display: flex;
  width: calc(100% - 96px);
  max-width: 1660px;
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
  padding: 30px 0 22px;
}

.tv-header {
  display: flex;
  flex: 0 0 auto;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tv-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-decoration: none;
}

.tv-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.tv-brand img + span {
  margin-left: 14px;
}

.tv-brand b {
  color: var(--lm-gold);
}

.tv-header-links {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--lm-muted);
  font-size: .96rem;
}

.tv-header-links a {
  padding: 11px 15px;
  border-radius: 10px;
  color: #e4e5e6;
  font-weight: 750;
  text-decoration: none;
}

.tv-header-links > * + * {
  margin-left: 28px;
}

.tv-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tv-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #61d795;
  box-shadow: 0 0 14px rgba(97, 215, 149, .72);
}

.tv-stage {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 25px 0 20px;
}

.tv-main-card,
.tv-setup {
  border: 1px solid var(--lm-line);
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

.tv-main-card {
  position: relative;
  display: flex;
  min-height: 0;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  flex: 1 1 68%;
  margin-right: 24px;
  padding: 56px;
  padding: clamp(34px, 4.4vw, 76px);
  background:
    linear-gradient(105deg, rgba(10, 11, 13, .05), rgba(10, 11, 13, .82)),
    linear-gradient(145deg, #1a1b1e, #0d0e10 72%);
}

.tv-main-card::after {
  position: absolute;
  right: -16%;
  bottom: -48%;
  width: 62%;
  height: 100%;
  border: 1px solid rgba(255, 189, 74, .14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 110px rgba(255, 189, 74, .07);
}

.tv-hero-logo {
  position: relative;
  z-index: 1;
  width: 125px;
  width: clamp(92px, 8vw, 145px);
  height: 125px;
  height: clamp(92px, 8vw, 145px);
  margin-bottom: 24px;
  margin-bottom: clamp(18px, 2.4vh, 30px);
  object-fit: contain;
}

.tv-kicker {
  position: relative;
  z-index: 1;
  color: var(--lm-gold);
  font-size: .9rem;
  font-size: clamp(.78rem, .95vw, 1rem);
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.tv-main-card h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 12px 0 16px;
  font-size: 5.2rem;
  font-size: clamp(3.3rem, 5.5vw, 6.7rem);
  line-height: .91;
  letter-spacing: -.055em;
}

.tv-intro {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 0;
  color: #bfc2c7;
  font-size: 1.25rem;
  font-size: clamp(1.05rem, 1.35vw, 1.42rem);
  line-height: 1.5;
}

.tv-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  margin-top: clamp(24px, 3.6vh, 40px);
}

#apk-download-form {
  margin: 0;
  margin-right: 22px;
}

#apk-download {
  display: inline-flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 25px;
  border: 2px solid var(--lm-gold);
  border-radius: 13px;
  background: var(--lm-gold);
  color: #111;
  font: inherit;
  font-size: 1.15rem;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 900;
  cursor: pointer;
}

#apk-download > span {
  font-size: 1.45em;
  line-height: 1;
}

.tv-release {
  display: flex;
  max-width: 250px;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: #8f949b;
  font-size: .87rem;
}

.tv-release > span,
.tv-release > strong {
  margin-right: 12px;
  margin-bottom: 5px;
}

.tv-release strong {
  color: #d8dadd;
}

.tv-setup {
  display: flex;
  min-height: 0;
  justify-content: center;
  flex-direction: column;
  flex: 0 0 31%;
  padding: 38px;
  padding: clamp(28px, 3vw, 50px);
  background: rgba(17, 19, 22, .92);
}

.tv-setup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--lm-gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.tv-setup-top strong {
  padding: 7px 10px;
  border: 1px solid #34373c;
  border-radius: 20px;
  color: #d1d3d6;
  letter-spacing: normal;
}

.tv-setup h2 {
  margin: 18px 0 25px;
  font-size: 2.25rem;
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.tv-setup ol {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-setup li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-top: 1px solid #292c30;
}

.tv-setup li + li {
  margin-top: 11px;
}

.tv-setup li > b {
  display: flex;
  flex: 0 0 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25272b;
  color: var(--lm-gold);
}

.tv-setup li p {
  display: block;
  margin: 0;
}

.tv-setup li strong {
  color: #f2f2f1;
  font-size: 1.04rem;
}

.tv-setup li span {
  display: block;
  margin-top: 3px;
  color: #92979f;
  font-size: .9rem;
  line-height: 1.35;
}

.tv-account-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 15px;
  border: 1px solid rgba(255, 189, 74, .22);
  border-radius: 13px;
  background: rgba(255, 189, 74, .055);
}

.tv-account-note p {
  margin: 0;
  color: #9ea3aa;
  font-size: .82rem;
  line-height: 1.42;
}

.tv-account-note strong {
  color: #dedfe1;
}

.tv-phone {
  display: flex;
  flex: 0 0 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--lm-gold);
  color: #111;
  font-size: 1.2rem;
}

.tv-phone + p {
  margin-left: 14px;
}

.tv-sha {
  overflow-wrap: anywhere;
  color: #777c83;
  font-size: .7rem;
}

.tv-canvas footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #6f747b;
  font-size: .78rem;
}

.tv-canvas footer a {
  color: #a4a8ae;
  text-decoration: none;
}

.tv-landing a:focus,
.tv-landing button:focus {
  position: relative;
  z-index: 10;
  outline: 5px solid #fff;
  outline-offset: 5px;
  box-shadow: 0 0 0 10px rgba(255, 189, 74, .46), 0 16px 42px #000;
  transform: scale(1.045);
}

.tv-landing a,
.tv-landing button {
  transition: transform .13s ease, box-shadow .13s ease;
}

@media (min-width: 960px) and (min-height: 600px) {
  body.tv-landing { overflow: hidden; }
}

@media (max-width: 1050px), (max-height: 650px) {
  .tv-canvas { width: calc(100% - 48px); max-width: 1180px; padding-top: 20px; }
  .tv-stage { padding-top: 16px; }
  .tv-main-card { flex-basis: 63%; }
  .tv-setup { flex-basis: 34%; }
  .tv-main-card, .tv-setup { padding: 28px; }
  .tv-hero-logo { width: 82px; height: 82px; margin-bottom: 13px; }
  .tv-main-card h1 { font-size: clamp(3rem, 5.2vw, 4.5rem); }
  .tv-intro { font-size: 1rem; }
  .tv-actions { margin-top: 20px; }
  .tv-setup h2 { margin: 12px 0 16px; }
  .tv-setup li { padding: 9px 0; }
  .tv-account-note { margin-top: 14px; }
}

@media (max-width: 820px) {
  body.tv-landing { overflow: auto; }
  .tv-canvas { width: calc(100% - 28px); max-width: 680px; min-height: 100vh; padding: 18px 0 28px; }
  .tv-header-links .tv-live { display: none; }
  .tv-stage { flex-direction: column; padding: 18px 0; }
  .tv-main-card { margin-right: 0; margin-bottom: 18px; }
  .tv-setup { flex-basis: auto; }
  .tv-main-card, .tv-setup { padding: 30px 24px; }
  .tv-main-card h1 { font-size: 4rem; font-size: clamp(3.25rem, 15vw, 5.2rem); }
  .tv-actions { align-items: flex-start; flex-direction: column; }
  #apk-download-form { margin-right: 0; margin-bottom: 14px; }
  .tv-release { max-width: none; }
  .tv-canvas footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-landing a, .tv-landing button { transition: none; }
}
