* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

body {
  min-height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
}

.selector-shell {
  width: min(100%, 920px);
  margin: 0 auto;
}

.selector-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 2px 22px;
}

.selector-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid #ffd400;
  border-radius: 18px;
  background: #111;
  color: #ffd400;
  font-size: 24px;
  font-weight: 900;
}

.selector-header p,
.selector-header h1,
.selector-card p,
.selector-card h2,
.selector-card strong,
.selector-note {
  margin: 0;
}

.selector-header p,
.selector-kicker {
  color: #ffd400;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selector-header h1 {
  margin-top: 4px;
  color: #fff;
  font-size: clamp(24px, 5.8vw, 38px);
  line-height: 1.12;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.selector-card {
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border: 4px solid #ffd400;
  border-radius: 24px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.selector-card:active {
  transform: translateY(1px);
}

.selector-device {
  align-self: flex-start;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 2px solid #ffd400;
  border-radius: 999px;
  background: #000;
  color: #ffd400;
  font-size: 13px;
  font-weight: 900;
}

.selector-card h2 {
  margin-top: 8px;
  color: #ffd400;
  font-size: 44px;
  line-height: 1;
}

.selector-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
}

.selector-card div > p:last-child {
  margin-top: 12px;
  color: #d7d7d7;
  font-size: 15px;
  line-height: 1.6;
}

.selector-enter {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 16px;
  background: #ffd400;
  color: #000;
  font-weight: 900;
}

.selector-note {
  padding: 18px 4px 0;
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 720px) {
  .selector-grid {
    grid-template-columns: 1fr;
  }

  .selector-card {
    min-height: 310px;
  }
}
