:root {
  color-scheme: dark;
  font: 100%/1.45 -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  background: #090a0b;
  color: #fbfbfa;
  --gold: #ffc400;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  background: radial-gradient(ellipse 30rem 20rem at 50% 47%, #211c11 0%, transparent 80%), #090a0b;
}
.guide {
  position: relative;
  width: 100%;
  padding: max(3.5rem, env(safe-area-inset-top)) max(1.35rem, env(safe-area-inset-left)) 0;
}
.guide-copy { width: min(100%, 33rem); margin: auto; }
.guide strong { font-size: 1.12rem; font-weight: 740; }
.guide p { margin: .4rem 0 0; color: #c6c5c2; font-size: 1rem; line-height: 1.65; }
.dots {
  display: inline-flex;
  flex-direction: row;
  vertical-align: middle;
  position: relative;
  top: -.07em;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  width: 1.95em;
  height: 1.32em;
  margin: 0 .23em;
  border: 1px solid #88898b;
  border-radius: .65em;
  background: #202123;
}
.dots i { width: 3.5px; height: 3.5px; border-radius: 100%; background: #fff; }
.guide-arrow {
  position: absolute;
  pointer-events: none;
  right: max(5px, env(safe-area-inset-right));
  top: max(3px, env(safe-area-inset-top));
  width: clamp(4.6rem, calc(50vw - 5.8rem), 65rem);
  height: 5.85rem;
  overflow: visible;
}
.guide-arrow path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
main {
  width: min(calc(100% - 2.5rem), 28rem);
  margin: clamp(3rem, 8svh, 6.5rem) auto 0;
  padding-bottom: max(3.5rem, env(safe-area-inset-bottom));
  text-align: center;
}
.avatar {
  position: relative;
  width: clamp(8.25rem, 21svh, 11.25rem);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from -32deg, #6f5519, #ffe291 18%, #fac000 30%, #59400f 50%, #292824 72%, #71602d);
  box-shadow: 0 0 0 9px #ffc40005, 0 0 0 10px #ffc40015, 0 16px 38px #0005;
}
.avatar img { display: block; width: 100%; height: 100%; border: 3px solid #080808; border-radius: 50%; }
h1 { margin: 1.65rem 0 2rem; font-size: clamp(1.25rem, 4.8vw, 1.55rem); font-weight: 750; letter-spacing: .012em; }
h1 span { color: #b9b9b7; font-weight: 580; }
nav { display: grid; gap: .85rem; }
.button {
  display: grid;
  grid-template-columns: 2rem auto 2rem;
  align-items: center;
  justify-content: center;
  gap: .95rem;
  min-height: 4.25rem;
  padding: .85rem 1.4rem;
  border-radius: 1.2rem;
  text-decoration: none;
  color: #121212;
  font-size: 1.32rem;
  font-weight: 760;
  letter-spacing: .018em;
  box-shadow: inset 0 1px #ffffff4d, 0 6px 18px #0003;
  -webkit-tap-highlight-color: transparent;
}
.button > span { white-space: pre; }
.button img { width: 2rem; height: 2rem; object-fit: contain; }
.play {
  margin-inline: clamp(-1rem, -2vw, -.45rem);
  min-height: 5rem;
  background: linear-gradient(110deg, #ffcc28, #ffbf00);
}
.channel { background: #fff; }
.button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
@media (hover:hover) { .button:hover { filter: brightness(1.07); } }
.button:active { transform: translateY(1px); }
@media (min-width: 700px) {
  .guide { padding-top: 3rem; }
  .guide-arrow { width: calc(50% - 4rem); }
}
@media (max-width: 355px) {
  .guide { padding-top: 4.75rem; }
  .guide-arrow { height: 5rem; }
}

.promo { display: grid; justify-items: center; margin: 2px auto 0; }
.midas { display: block; width: 9.8rem; max-width: 65%; height: auto; margin: 2px auto 0; filter: drop-shadow(0 6px 15px #eaa90023); }
#copy {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap;
  min-height: 3rem; max-width: 100%; padding: .6rem .9rem; cursor: pointer;
  font: 600 .95rem/1.25 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #fff4cf; background: #242016; border: 1px solid #8d7237; border-radius: .9rem;
}
#promo-code { font-weight: 800; letter-spacing: .065em; color: #ffcf41; }
#copy svg { width: 1.05rem; height: 1.05rem; flex: none; }
#copy:active { transform: translateY(1px); }
#copy:focus-visible { outline: 3px solid white; outline-offset: 4px; }
#manual:not([hidden]) { display: grid; gap: .4rem; font-size: .94rem; margin: .75rem auto; }
#manual input { background: #19191a; color: #fff; border: 1px solid #888; padding: .7rem; border-radius: .5rem; font: inherit; width: 100%; }

.profile-link { display: inline-block; padding: .35em .15em; margin: -.35em -.15em; color: inherit; text-decoration: none; border-radius: .25em; }
.profile-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; text-decoration: underline; }
@media (hover:hover) { .profile-link:hover { text-decoration: underline; text-underline-offset: .18em; } }

@media (max-width: 420px) {
  .button { grid-template-columns: 1.75rem auto 1.75rem; gap: .65rem; font-size: clamp(1rem, 4.6vw, 1.2rem); padding-inline: .65rem; }
  .button img { width: 1.75rem; height: 1.75rem; }
}
