* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color: #162924;
  background: #eaf1ed;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body {
  margin: 0;
  padding: clamp(12px, 5vw, 64px);
}

main {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(18px, 5vw, 32px);
  background: #fff;
  border: 1px solid #ceded5;
  border-radius: 24px;
}

header {
  display: flex;
  align-items: center;
  gap: 14px;
}

header img {
  flex: none;
  border-radius: 16px;
}

h1, p {
  margin: 0;
}

h1 {
  font-size: clamp(22px, 5.6vw, 30px);
  line-height: 1.3;
}

.brand {
  color: #b72d22;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.intro {
  color: #40554c;
  margin: 20px 0;
}

aside {
  background: #fff5db;
  border-radius: 12px;
  color: #624208;
  padding: 12px 14px;
  margin-bottom: 14px;
}

aside p {
  margin-top: 4px;
}

aside button, aside input {
  display: block;
  width: 100%;
  border: 1px solid #9b762e;
  border-radius: 8px;
  background: #fffaf0;
  color: inherit;
  font: inherit;
  padding: 8px 12px;
  margin-top: 10px;
}

aside button {
  width: auto;
  font-weight: 700;
  cursor: pointer;
}

.android-options {
  padding: 0 14px 14px;
  color: #3f544a;
}

.android-options p + .primary-action,
.android-options p + p:not(:empty),
.android-options .primary-action + ol {
  margin-top: 10px;
}

.android-options .status:empty {
  display: none;
}

.android-options .status + p {
  margin-top: 14px;
}

.android-options ol {
  margin: 10px 0 0;
}

.instructions {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid #d8e5de;
  background: #f7faf8;
  border-radius: 12px;
}

summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
}

ol {
  color: #3f544a;
  margin: 0 14px 14px;
  padding-inline-start: 24px;
}

li + li {
  margin-top: 6px;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.actions a, .primary-action {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #21604e;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.actions a {
  color: #ffcc00;
  background: #fff;
  text-shadow: 0 1px 1px #75502f;
}

.primary-action {
  color: #ffcc00;
  background: #0b3935;
}

.actions > :focus-visible, .primary-action:focus-visible, aside :focus-visible, summary:focus-visible {
  outline: 3px solid #2064ae;
  outline-offset: 2px;
}

.status:not(:empty) {
  color: #40554c;
  margin-top: 10px;
}
