:root {
  color-scheme: dark;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: #09090b;
  color: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background: radial-gradient(ellipse at 50% 0, #2a1217 0, transparent 58%), #09090b;
}
main {
  width: min(100%, 420px);
  text-align: center;
  padding: 24px 0;
}
.app-icon {
  display: block;
  margin: 0 auto;
  border-radius: 23px;
  box-shadow: 0 12px 40px #0004;
}
h1 {
  font-size: clamp(32px, 8vw, 42px);
  line-height: 1.13;
  margin: 26px 0 16px;
  font-weight: 700;
}
p {
  line-height: 1.6;
}
.intro {
  color: #b7b7c0;
  font-size: 16px;
  margin: 0 0 28px;
}
a {
  color: inherit;
}
.open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 16px 24px;
  background: #d90709;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 650;
}
.open:hover {
  background: #ed1115;
}
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
.stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.store {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 76px;
  padding: 14px 8px;
  border-radius: 16px;
  background: #19191f;
  text-decoration: none;
}
.store strong {
  font-size: 14px;
  font-weight: 600;
}
.store span {
  font-size: 11px;
  color: #9696a4;
}
.store[aria-disabled='true'] {
  cursor: default;
}
.store:not([aria-disabled]):hover {
  background: #24242d;
}
.store:not([aria-disabled]) span {
  color: #b7d9ca;
}
.hint,
.status {
  font-size: 13px;
  color: #aaaab7;
  margin: 16px 0 0;
}
.status {
  min-height: 21px;
}
.legal {
  font-size: 11px;
  color: #777783;
  margin: 36px 0 0;
}
.legal a {
  color: #9999a5;
  text-underline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 360px) {
  body {
    padding: 24px 20px;
  }
  main {
    padding: 12px 0;
  }
}

/* The published home-village landscape is shared with the native app. */
main {
  position: relative;
  isolation: isolate;
  padding: 36px 24px 24px;
  border-radius: 28px;
  background: #101013;
  box-shadow: 0 24px 80px #0005;
  overflow: hidden;
}
.landscape {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 220px;
  background:
    linear-gradient(to bottom, #10101338, #101013),
    url('https://assets.clashk.ing/landscape/home-landscape.png') center 45% / cover;
  opacity: 0.7;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    background: #f5f5f7;
    color: #202027;
  }
  body {
    background: radial-gradient(ellipse at 50% 0, #f8e4e4 0, transparent 58%), #f5f5f7;
  }
  main {
    background: #fff;
    box-shadow: 0 24px 80px #30203012;
  }
  .landscape {
    background-image:
      linear-gradient(to bottom, #fff6, #fff),
      url('https://assets.clashk.ing/landscape/home-landscape.png');
  }
  .open {
    color: #fff;
  }
  .store {
    background: #f0f0f3;
  }
  .store:not([aria-disabled]):hover {
    background: #e7e7eb;
  }
  .store span,
  .hint,
  .status,
  .intro,
  .legal,
  .legal a {
    color: #62626d;
  }
  .store:not([aria-disabled]) span {
    color: #356b54;
  }
  a:focus-visible {
    outline-color: #bf0000;
  }
}
