.unlock-page .stage { min-height: 100svh; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 110px 20px 70px; }
.unlock-page .intro .title { font-size: clamp(3rem, 7vw, 5.6rem); }
.unlock-page .intro .title span { color: var(--cyan); text-shadow: 4px 4px 0 #000; }
.unlock-page .intro .title b { font-weight: 400; color: var(--pink); }

/* the phone */
.phone { width: 340px; height: 700px; border-radius: 56px; padding: 12px; background: linear-gradient(145deg, #3a3a42, #121216);
  box-shadow: 0 0 0 2px #000, 0 30px 80px #000c, 12px 12px 0 var(--pink); position: relative; }
.screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; color: #fff;
  background: linear-gradient(#0d0d1099, #0d0d10cc), url(/media/hero-poster.jpg) center / cover; font-family: -apple-system, "SF Pro Display", "Helvetica Neue", var(--body); }
.screen::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.screen > * { position: relative; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 108px; height: 30px; border-radius: 20px; background: #000; z-index: 3; }
.status-bar { display: flex; justify-content: space-between; padding: 14px 28px 0; font-weight: 600; font-size: .9rem; }
.sb-right { display: flex; gap: 4px; align-items: flex-end; }
.sb-right i { display: block; width: 4px; background: #fff; border-radius: 1px; }
.sb-right i:nth-child(1) { height: 6px; } .sb-right i:nth-child(2) { height: 9px; } .sb-right i:nth-child(3) { height: 12px; }
.home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 3px; background: #fff; }
.step, .closed { position: absolute; inset: 50px 0 20px; display: flex; flex-direction: column; align-items: center; padding: 0 26px; text-align: center; }
.hidden { display: none !important; }

.lock-ico { width: 22px; height: 18px; border-radius: 4px; background: #fff; margin-top: 18px; position: relative; }
.lock-ico::before { content: ""; position: absolute; left: 4px; top: -11px; width: 14px; height: 14px; border: 3px solid #fff; border-bottom: 0; border-radius: 9px 9px 0 0; box-sizing: border-box; }
.big-time { font-size: 5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-top: 10px; }
.date { font-weight: 600; opacity: .85; margin-top: 6px; }

.code-form { margin-top: auto; margin-bottom: 30px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.code-form label { font-weight: 600; }
.code-input { display: flex; align-items: center; background: #ffffff22; border: 1px solid #ffffff44; border-radius: 14px; padding: 0 14px; }
.code-input span { font-weight: 700; opacity: .7; letter-spacing: .08em; }
.code-input input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: 700 1.4rem/1 ui-monospace, Menlo, monospace; letter-spacing: .18em; padding: 14px 6px; text-transform: uppercase; outline: none; }
.code-input input::placeholder { color: #ffffff55; }
.ios-btn { display: block; width: 100%; padding: 14px; border: 0; border-radius: 14px; background: var(--pink); color: #000; font: 800 1.05rem var(--body);
  text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 #000; }
.ios-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.hint { font-size: .85rem; opacity: .8; margin: 0; }
.hint a { color: var(--cyan); }
.err { color: #ff6b81; font-weight: 700; font-size: .9rem; min-height: 1.2em; margin: 0; }

.pad-title { font-size: 1.2rem; margin-top: 28px; }
.dots { display: flex; gap: 16px; margin: 16px 0 28px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #fff; transition: background .1s; }
.dots i.on { background: #fff; }
.dots.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-14px); } 40%, 80% { transform: translateX(14px); } }
.pad { display: grid; grid-template-columns: repeat(3, 70px); gap: 12px 22px; }
.key { width: 70px; height: 70px; border-radius: 50%; border: 0; background: #ffffff2e; color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: inherit; transition: background .08s; }
.key:active, .key.press { background: #ffffffa0; }
.key b { font-size: 1.95rem; font-weight: 400; line-height: 1; }
.key small { font-size: .62rem; font-weight: 700; letter-spacing: .18em; margin-top: 2px; }
.key.zero { grid-column: 2; }
.pad-actions { display: flex; justify-content: space-between; width: 100%; padding: 0 22px; margin-top: auto; margin-bottom: 14px; }
.link-btn { background: none; border: 0; color: #fff; font: 600 1rem inherit; font-family: inherit; cursor: pointer; padding: 6px; }
.pad-msg { min-height: 1.3em; font-weight: 700; font-size: .9rem; margin-top: -18px; margin-bottom: 8px; color: #ffd166; }

.result-icon { width: 92px; height: 92px; border-radius: 50%; margin-top: 70px; display: grid; place-items: center; font: 400 3.4rem var(--display); border: 4px solid #000; }
.result-icon.bad { background: #ff4d6d; color: #000; }
.result-icon.tried { background: #ffd166; color: #000; }
.result-title { font: 400 2.6rem/1 var(--display); letter-spacing: .04em; margin-top: 18px; }
.result-title.win { color: var(--cyan); font-size: 3.4rem; margin-top: 60px; text-shadow: 3px 3px 0 #000; }
.result-text { opacity: .9; margin: 12px 0 auto; }
#step-result .ios-btn { margin-top: auto; }
#step-result .link-btn, .closed .ios-btn { margin-bottom: 26px; }
#step-result .link-btn { margin-top: 10px; }
.closed .ios-btn { margin-top: auto; }
.claim-form { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.claim-form input { background: #ffffff22; border: 1px solid #ffffff44; border-radius: 12px; padding: 12px; color: #fff; font: 600 1rem var(--body); }
.claim-form input::placeholder { color: #ffffff88; }
.claim-form .msg { font-weight: 700; }

/* board */
.board { background: var(--bg2); border-block: 4px solid #000; position: relative; overflow: hidden; }
.board::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(circle, #ff2e9322, transparent 60%); pointer-events: none; }
.board-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 3px solid #000; border-radius: 99px; background: #ff2e4d;
  font: 400 1.3rem var(--display); letter-spacing: .08em; color: #fff; box-shadow: 4px 4px 0 #000; transform: rotate(-3deg); }
.live-pill i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.live-pill.off { background: #444; } .live-pill.off i { animation: none; opacity: .5; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; margin-top: 34px; position: relative; }
.board-main, .board-side { display: grid; gap: 24px; align-content: start; }
.odo-card, .chart-card, .feed-card, .stat { background: var(--bg); border: 3px solid #000; border-radius: 16px; box-shadow: 6px 6px 0 #000; }
.odo-card { padding: 26px 26px 22px; box-shadow: 8px 8px 0 var(--pink); }
.card-label { font: 400 1.25rem var(--display); letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }
.odo { font: 400 clamp(3.4rem, 10vw, 6.6rem)/1 var(--display); color: var(--pink); text-shadow: 5px 5px 0 #000; letter-spacing: .03em; margin: 8px 0 4px;
  font-variant-numeric: tabular-nums; }
.odo .dg { display: inline-block; }
.odo .dg.tick { animation: tick .45s ease-out; }
@keyframes tick { 0% { transform: translateY(-40%); opacity: .2; color: #fff; } 100% { transform: none; opacity: 1; } }
.odo-sub { color: var(--mute); font-weight: 600; }
.odo-sub b { color: var(--ink); }
.bar { height: 24px; margin-top: 18px; border: 3px solid #000; border-radius: 12px; background: #24242c; overflow: hidden; }
.bar div { height: 100%; width: 0; min-width: 8px; background: repeating-linear-gradient(45deg, var(--pink) 0 14px, #ff5aab 14px 28px);
  background-size: 40px 40px; animation: stripes 1s linear infinite; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
@keyframes stripes { to { background-position: 40px 0; } }
.bar-scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--mute); font-size: .8rem; font-weight: 700; }

.chart-card { padding: 22px 22px 16px; }
.digits { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; height: 170px; margin-top: 16px; }
.digits .col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.digits .fill { width: 100%; min-height: 6px; border: 2px solid #000; border-radius: 6px 6px 3px 3px; background: var(--cyan); transition: height .8s cubic-bezier(.2, .8, .2, 1); }
.digits .col:nth-child(even) .fill { background: var(--pink); }
.digits .col.lead .fill { background: #ffe14d; }
.digits .n { font: 700 .75rem var(--body); color: var(--mute); min-height: 1em; }
.digits .lbl { font: 400 1.5rem var(--display); color: var(--ink); line-height: 1; }
.chart-note { color: var(--mute); font-size: .85rem; margin: 10px 0 0; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { padding: 16px 14px; }
.stat b { display: block; font: 400 2.5rem/1 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--mute); font-weight: 700; font-size: .85rem; margin-top: 4px; }
.s-pink b { color: var(--pink); } .s-cyan b { color: var(--cyan); } .s-yellow b { color: #ffe14d; } .s-white b { color: var(--ink); }
.stat.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.06); } }

.feed-card { padding: 18px 16px 10px; }
.check-card { background: var(--bg); border: 3px solid #000; border-radius: 16px; box-shadow: 6px 6px 0 #000; padding: 18px 16px 14px; margin-bottom: 18px; }
.check-form { display: flex; gap: 8px; margin-top: 10px; }
.check-form input { flex: 1; min-width: 0; padding: 12px 14px; border: 3px solid #000; border-radius: 12px; background: #fff; color: #000; font: 800 1.3rem var(--body); letter-spacing: .25em; }
.check-form button { padding: 0 18px; border: 3px solid #000; border-radius: 12px; background: var(--cyan); color: #000; font: 400 1.3rem var(--display); letter-spacing: .05em; cursor: pointer; box-shadow: 3px 3px 0 #000; }
.check-form button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.check-out { margin: 10px 0 0; font-weight: 700; color: var(--mute); min-height: 1.3em; }
.check-out.yes { color: #ff5a6e; }
.check-out.no { color: #3ddc84; }
.feed { list-style: none; margin: 12px 0 0; padding: 0; max-height: 330px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.feed li { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid #ffffff10; }
.feed li.empty { color: var(--mute); border: 0; }
.feed .x { width: 26px; height: 26px; border-radius: 50%; background: #ff2e4d; color: #fff; display: grid; place-items: center; font: 800 .9rem var(--body); border: 2px solid #000; flex: none; }
.feed .pin { font: 700 1.2rem ui-monospace, Menlo, monospace; letter-spacing: .22em; color: var(--ink); text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.feed .ago { margin-left: auto; color: var(--mute); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.feed li.fresh { animation: slidein .55s cubic-bezier(.2, .8, .2, 1); background: #ff2e9318; }
@keyframes slidein { 0% { transform: translateY(-110%); opacity: 0; } 100% { transform: none; opacity: 1; } }

@media (max-width: 860px) {
  .board-grid { grid-template-columns: 1fr; }
  .digits { height: 140px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar div, .live-pill i, .odo .dg.tick, .feed li.fresh, .stat.bump { animation: none; }
}

/* how */
.how-steps .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cyan); color: #000;
  font: 400 1.7rem var(--display); border: 3px solid #000; }
.how-steps li:nth-child(even) .num { background: var(--pink); }
.how-steps a { color: var(--cyan); }
.fine { color: var(--mute); font-size: .9rem; margin-top: 40px; max-width: 70ch; }
.fine a { color: var(--ink); }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

@media (max-width: 860px) {
  .unlock-page .stage { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; padding-top: 90px; }
  .unlock-page .intro .lede { margin-inline: auto; }
}
@media (max-width: 380px) {
  .phone { width: 100%; height: 660px; border-radius: 48px; }
  .pad { grid-template-columns: repeat(3, 64px); gap: 10px 18px; }
  .key { width: 64px; height: 64px; }
}

/* magic sentence */
.start-box { margin-top: auto; margin-bottom: 34px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.start-line { margin: 0; font-weight: 600; }
.sentence { margin-top: 18px; width: 100%; padding: 18px 16px; border: 3px dashed #ffffffaa; border-radius: 16px; background: #ffffff1c;
  color: #fff; font: 400 1.65rem/1.15 var(--display); letter-spacing: .03em; cursor: pointer; text-shadow: 2px 2px 0 #000; }
.sentence:active { background: #ffffff33; }
.copied { margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--cyan); min-height: 1.2em; }
.sentence-steps { text-align: left; margin: 16px 0 0; padding-left: 22px; font-size: .92rem; line-height: 1.5; opacity: .92; }
.sentence-steps li::marker { color: var(--pink); font-weight: 800; }
#step-sentence .ios-btn { margin-top: auto; }
.watching { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 14px 0 22px; font-weight: 700; font-size: .9rem; min-height: 1.3em; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #ffffff44; border-top-color: var(--pink); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }

.how-get { margin-top: 14px; }

.ts-box { display: flex; justify-content: center; min-height: 0; }
.ts-box:empty { display: none; }

/* keypad = "was this PIN tried?" checker */
.ios-btn.ios-alt { background: var(--cyan); }
.result-icon.good { background: #3ddc84; }
