@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #070707;
  --ink: #f4f1ea;
  --muted: #9c978c;
  --lime: #d7ff4a;
  --ink-on: #14160c;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --sans:
    "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    sans-serif;
  --display: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
body.lock {
  overflow: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--lime);
  color: var(--ink-on);
}
:focus-visible {
  outline: 1.5px solid var(--lime);
  outline-offset: 3px;
}

body > header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 56px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  padding: 0 8px;
  background: rgba(7, 7, 7, 0.84);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
body > header b {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
body > header a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}
body > header a:last-child:not(:only-child) {
  width: auto;
  justify-self: end;
  padding-right: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
}
.more {
  width: 44px;
  height: 44px;
  justify-self: end;
  display: grid;
  place-items: center;
}
.more::before {
  content: "";
  width: 16px;
  height: 4px;
  background: radial-gradient(circle, var(--ink) 1.15px, transparent 1.35px) 0
    50% / 6px 4px repeat-x;
}

body > nav {
  position: fixed;
  z-index: 20;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
}
body > nav a {
  min-height: 48px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #8f8a80;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  transition:
    background 600ms var(--ease),
    color 600ms var(--ease),
    transform 600ms var(--ease);
}
body > nav a svg {
  width: 18px;
  height: 18px;
}
body > nav a.active {
  background: var(--lime);
  color: var(--ink-on);
}
body > nav a:active {
  transform: scale(0.98);
}

.pass {
  display: block;
  margin: 16px 16px 0;
  padding: 18px 20px 16px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--ink-on);
  background:
    radial-gradient(circle at 0 64%, var(--bg) 9px, transparent 9.5px),
    radial-gradient(circle at 100% 64%, var(--bg) 9px, transparent 9.5px),
    var(--lime);
}
.pass small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.pass strong {
  display: block;
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.pass > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}
.pass em {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.08);
  font-style: normal;
  flex: none;
}

.bezel {
  margin: 12px 16px 0;
  padding: 6px;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.core {
  background: #10110e;
  border-radius: calc(1.7rem - 6px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14);
  padding: 16px;
}
.identity {
  min-height: 196px;
}
.id-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.id-top span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.id-top i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
#login {
  border: 0;
  background: var(--lime);
  color: var(--ink-on);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 600ms var(--ease);
}
#login:active {
  transform: scale(0.98);
}
.identity h1,
.sheet h1,
.detail-hero h1,
.pad-sm h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.identity h1 {
  margin: 28px 0 14px;
  font-size: 28px;
}
.identity p,
.pad-sm p,
.empty p,
.note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.scan {
  height: 18px;
  width: 68%;
  background: repeating-linear-gradient(
    90deg,
    #3a3a34 0 2px,
    transparent 2px 7px
  );
}
.scan span {
  display: block;
  width: 42%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--lime) 0 2px,
    transparent 2px 7px
  );
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px 4px;
}
.summary article {
  padding: 12px 10px;
}
.summary article + article {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}
.summary span,
.heading > span,
.kicker,
.detail-kicker {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.summary b {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.heading h2,
.support h2,
.sheet h2,
.detail-card h2,
.empty h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.heading small {
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.tabs {
  display: flex;
  gap: 4px;
  margin: 14px 0 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 600ms var(--ease),
    color 600ms var(--ease),
    transform 600ms var(--ease);
}
.tabs button.active {
  background: var(--ink);
  color: #141414;
}
.tabs button:active {
  transform: scale(0.98);
}
.catalog:has(.catalog-state):not(:has(article)) .tabs {
  display: none;
}
.items article {
  display: grid;
  grid-template-columns: 26px 40px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 13px 2px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.num {
  font-family: var(--display);
  font-size: 10px;
  color: #6f6a60;
  letter-spacing: 0.06em;
}
.symbol {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(215, 255, 74, 0.1);
  color: var(--lime);
  font-family: var(--display);
  font-size: 14px;
}
.items h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
}
.items p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.claim {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.claim span,
.h5btn span,
.submit span,
#buy span,
#purchase span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(215, 255, 74, 0.14);
  transition: transform 700ms var(--ease);
}
.claim:active span {
  transform: translate(1px, -1px) scale(1.05);
}
.items article.reward-card {
  display: block;
  grid-template-columns: none;
  padding: 14px 2px;
}
.reward-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.reward-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.reward-card .reward-meta {
  margin-top: 8px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
}
.catalog-state {
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.support > span,
.pad-sm .kicker {
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.quick a {
  min-height: 74px;
  padding: 12px 10px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 600ms var(--ease);
}
.quick a:active {
  transform: scale(0.98);
}
.quick i {
  font-style: normal;
  color: var(--lime);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.support .note {
  margin: 12px 0 0;
}

.pad-sm h1 {
  margin: 12px 0 8px;
  font-size: 30px;
}
.empty {
  text-align: left;
  padding: 22px 16px;
}
.empty i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: rgba(215, 255, 74, 0.08);
  font-family: var(--display);
  font-style: normal;
  margin-bottom: 16px;
}
.empty h2 {
  font-size: 22px;
}
.h5btn,
.submit,
#buy,
#purchase,
.detail-form button[type="submit"] {
  margin-top: 16px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink-on);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 6px 18px;
  transition: transform 700ms var(--ease);
}
.h5btn span,
.submit span,
#buy span,
#purchase span {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink-on);
}
.h5btn:active,
.submit:active,
#buy:active,
#purchase:active {
  transform: scale(0.98);
}
button:disabled {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
  color: #6f6a60;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}
button:disabled span,
#buy:disabled span,
#purchase:disabled span {
  background: rgba(255, 255, 255, 0.06);
  color: #6f6a60;
}
#buy:disabled,
#purchase:disabled,
.submit:disabled,
#send:disabled,
#verify:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: #6f6a60;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.service-list a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px 2px;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.service-list a:last-child {
  box-shadow: none;
}
.service-list span {
  font-family: var(--display);
  color: var(--lime);
  font-size: 12px;
}
.service-list b {
  display: block;
  font-size: 15px;
}
.service-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.service-list i {
  color: var(--lime);
  font-style: normal;
}

.sheet {
  padding: 8px 0 12px;
}
.sheet h1 {
  margin: 8px 16px 0;
  font-size: 32px;
}
.sheet .intro,
.sheet .legal {
  margin: 12px 16px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.perks,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.perks li,
.steps article {
  padding: 14px 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.perks li:last-child,
.steps article:last-child {
  box-shadow: none;
}
.steps b {
  display: block;
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.steps h3,
.sheet h2 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.steps p,
.perks {
  font-size: 14px;
}
.operator,
#operator {
  color: var(--muted);
  font-size: 12px;
}
#status,
#message,
#eligibilityError {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: #e7c2b4;
  font-size: 12px;
  font-style: normal;
}
.pass.plan {
  margin: 16px 16px 0;
}
.pass.plan strong {
  font-size: 64px;
  line-height: 0.9;
  margin: 10px 0;
}
.steps p,
.perks li {
  color: var(--muted);
}

.account label {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 600;
}
.account input {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: #0c0c0a;
  color: var(--ink);
  padding: 0 14px;
  font-size: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
}
.account .row {
  display: flex;
  gap: 8px;
}
.account .row input {
  flex: 1;
  min-width: 0;
}
#send,
#verify {
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-weight: 700;
  transition: transform 600ms var(--ease);
}
#send {
  height: 52px;
  padding: 0 14px;
  white-space: nowrap;
}
#verify {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
}
#send:active,
#verify:active {
  transform: scale(0.98);
}
.rule {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.links {
  display: flex;
  gap: 16px;
  margin: 8px 16px 0;
  font-size: 13px;
}
.links a {
  color: var(--lime);
  text-decoration: none;
}

.login-layer,
.result {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(16px);
  display: flex;
}
.login-layer {
  align-items: flex-end;
}
.result {
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.login-layer form {
  width: 100%;
  padding: 12px 18px calc(22px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: #12130f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.login-layer form::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin: 2px auto 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.form-head button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  width: 44px;
  height: 44px;
}
.login-layer h2 {
  margin: 8px 0 6px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
}
.login-layer p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.login-layer label:not(.agree) {
  min-height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #0c0c0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-weight: 700;
}
.login-layer input[type="tel"] {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  padding-left: 10px;
  font-size: 16px;
}
.agree {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.agree a {
  color: var(--lime);
}
.login-layer form > small {
  display: block;
  text-align: center;
  color: #6f6a60;
  font-size: 11px;
  margin-top: 10px;
}
.result section {
  width: min(100%, 320px);
  padding: 26px 20px;
  border-radius: 28px;
  background: #12130f;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.result section > span {
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.result section > div {
  width: 48px;
  height: 48px;
  margin: 16px auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: rgba(215, 255, 74, 0.08);
  font-size: 20px;
}
.result h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.result p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.result button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #141414;
  font-weight: 700;
  transition: transform 600ms var(--ease);
}
.result button:active {
  transform: scale(0.98);
}
.toast {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px);
  opacity: 0;
  background: var(--lime);
  color: var(--ink-on);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.detail-main {
  padding: 6px 0 8px;
}
.detail-kicker {
  margin: 12px 16px;
}
.detail-hero {
  padding: 4px 16px 8px;
}
.detail-hero span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
}
.detail-hero h1 {
  margin: 10px 0;
  font-size: 32px;
}
.detail-hero p,
.detail-card p,
.detail-card li,
.detail-form p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.detail-card h2,
.detail-form h2 {
  font-size: 18px;
}
.detail-card ol {
  margin: 0;
  padding-left: 18px;
}
.detail-card a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: none;
}
.detail-form label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 600;
}
.detail-form input[type="tel"] {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: #0c0c0a;
  color: var(--ink);
  padding: 0 14px;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.detail-form .check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
}
.detail-form .check a {
  color: var(--lime);
}
.detail-result {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  text-align: center;
  background: rgba(231, 194, 180, 0.08);
  color: #f0cabb;
  font-weight: 700;
  font-size: 13px;
}

.rise {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}
.rise.in {
  opacity: 1;
  transform: none;
}
@media (scripting: none) {
  .rise {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  html {
    background:
      radial-gradient(
        ellipse 28% 24% at 16% 0%,
        rgba(215, 255, 74, 0.08),
        transparent 70%
      ),
      #050505;
  }
  body {
    width: 402px;
    margin: 0 auto;
    min-height: 100dvh;
    box-shadow:
      -1px 0 0 rgba(255, 255, 255, 0.08),
      1px 0 0 rgba(255, 255, 255, 0.08);
  }
  body > nav,
  .login-layer,
  .result {
    width: 402px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  body > nav {
    width: 370px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .toast {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .toast {
    transform: translateX(-50%);
  }
}
