@font-face {
  font-family: "Reggae One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/reggae-one-400-642e5555.woff2") format("woff2");
}

@font-face {
  font-family: "Yuji Syuku";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/yuji-syuku-400-042f6294.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/noto-sans-jp-400-90937a64.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/noto-sans-jp-500-90937a64.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/noto-sans-jp-700-90937a64.woff2") format("woff2");
}

@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/shippori-mincho-500-b8829eb7.woff2") format("woff2");
}

@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/shippori-mincho-600-bb0adcc8.woff2") format("woff2");
}

@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/shippori-mincho-700-48978101.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --tenkaichi-bg: #160303;
  --tenkaichi-ink: #140302;
  --tenkaichi-red: #a5170f;
  --tenkaichi-red-deep: #6b0d09;
  --tenkaichi-gold: #e8b545;
  --tenkaichi-gold-bright: #f8e7ab;
  --tenkaichi-gold-line: #f8dc8a;
  --tenkaichi-copy: #f5efe2;
  --font-display: "Reggae One", "Yu Mincho", serif;
  --font-brush: "Yuji Syuku", "Yu Mincho", serif;
  --font-mincho: "Shippori Mincho", "Yu Mincho", serif;
  --font-ui: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #090101;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgb(107 13 9 / 30%), transparent 42rem),
    #090101;
  color: var(--tenkaichi-copy);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
input[type="submit"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--tenkaichi-gold-line);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.n9-app {
  position: relative;
  display: flex;
  width: min(100%, 440px);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin-inline: auto;
  overflow-x: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #6b0d09 0%, #3d0906 45%, #160303 100%);
  box-shadow: 0 0 80px rgb(0 0 0 / 60%);
  isolation: isolate;
}

.n9-app::before {
  position: absolute;
  z-index: 20;
  inset: 10px;
  border: 1px solid rgb(232 181 69 / 55%);
  content: "";
  pointer-events: none;
}

.n9-app > * {
  position: relative;
  z-index: 1;
}

.n9-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.n9-page-message {
  position: absolute;
  z-index: 50;
  top: max(18px, calc(env(safe-area-inset-top) + 12px));
  left: 28px;
  right: 28px;
  padding: 12px 14px;
  border: 1px solid rgb(248 220 138 / 70%);
  background: rgb(20 3 2 / 94%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 45%);
  color: var(--tenkaichi-gold-bright);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.n9-page-message--notice {
  border-color: rgb(248 220 138 / 70%);
}

.n9-page-message--alert {
  border-color: #e04a35;
  color: #fff1df;
}

/* Phone entry */
.n9-login {
  flex-direction: column;
}

.n9-login__panel {
  display: flex;
  width: 100%;
  min-height: inherit;
  flex: 1;
  flex-direction: column;
  padding-bottom: max(42px, calc(env(safe-area-inset-bottom) + 26px));
}

.n9-login__hero {
  position: relative;
  width: 100%;
}

.n9-login__hero::after {
  position: absolute;
  inset: 0 0 -1px;
  background: linear-gradient(180deg, transparent 62%, rgb(61 9 6 / 50%) 85%, #3d0906 100%);
  content: "";
  pointer-events: none;
}

.n9-login__hero picture,
.n9-login__hero img {
  display: block;
  width: 100%;
}

.n9-login__hero img {
  height: auto;
}

.n9-title-rule,
.n9-card-rule {
  display: flex;
  align-items: center;
  gap: 12px;
}

.n9-title-rule {
  margin: 18px 28px 0;
}

.n9-title-rule span,
.n9-card-rule span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--tenkaichi-gold));
}

.n9-title-rule span:last-child,
.n9-card-rule span:last-child {
  background: linear-gradient(270deg, transparent, var(--tenkaichi-gold));
}

.n9-title-rule p {
  margin: 0;
  color: #f5c85c;
  font-family: var(--font-brush);
  font-size: 13px;
  letter-spacing: 6px;
  white-space: nowrap;
}

.n9-login__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 220px;
  padding: 24px 28px 20px;
  text-align: center;
}

.n9-login__copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.35;
}

.n9-login__copy h1 > span {
  color: var(--tenkaichi-copy);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: 0 3px 14px rgb(0 0 0 / 80%);
}

.n9-login__copy h1 > strong {
  display: inline-block;
  background: linear-gradient(180deg, #f8e7ab, #e8b545 55%, #b8862e);
  background-clip: text;
  color: transparent;
  font-size: 33px;
  font-weight: 400;
  letter-spacing: 3px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.n9-login__copy > p {
  margin: 0;
  color: rgb(248 231 171 / 75%);
  font-size: 12.5px;
  line-height: 1.9;
}

.n9-phone-form {
  display: grid;
  gap: 10px;
  padding-inline: 30px;
}

.n9-phone-form label {
  color: var(--tenkaichi-gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.n9-phone-form input[type="tel"] {
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid rgb(248 220 138 / 65%);
  border-radius: 0;
  background: rgb(10 3 2 / 45%);
  color: var(--tenkaichi-copy);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: none;
  appearance: none;
}

.n9-phone-form input[type="tel"]:focus {
  border-color: var(--tenkaichi-gold-line);
  box-shadow: inset 0 0 0 1px rgb(248 220 138 / 20%);
}

.n9-phone-form input[type="tel"]::placeholder {
  color: rgb(248 231 171 / 40%);
  opacity: 1;
}

.n9-challenge-button {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--tenkaichi-gold-line);
  border-radius: 0;
  background: linear-gradient(180deg, #a5170f, #6b0d09);
  box-shadow: 0 8px 26px rgb(0 0 0 / 50%), inset 0 1px 0 rgb(248 220 138 / 30%);
  color: var(--tenkaichi-gold-bright);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 5px;
  text-shadow: 0 2px 6px rgb(0 0 0 / 60%);
  cursor: pointer;
  appearance: none;
}

.n9-challenge-button:active {
  transform: translateY(1px);
}

.n9-login__note {
  margin: 0;
  color: rgb(248 231 171 / 50%);
  font-size: 10.5px;
  text-align: center;
}

/* Scratch */
.n9-scratch {
  flex-direction: column;
  padding: max(52px, calc(env(safe-area-inset-top) + 32px)) 26px max(40px, calc(env(safe-area-inset-bottom) + 24px));
}

.n9-scratch__header {
  flex: 0 0 auto;
  text-align: center;
}

.n9-scratch__header p {
  margin: 0;
  color: #f5c85c;
  font-family: var(--font-brush);
  font-size: 13px;
  letter-spacing: 5px;
}

.n9-scratch__body {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-block: 34px 24px;
}

.n9-scratch-card {
  width: min(372px, 100%);
  padding: 5px;
  border: 2px solid var(--tenkaichi-gold);
  border-radius: 0;
  background: linear-gradient(150deg, #4a0a06 0%, #240504 60%, #3d0906 100%);
  box-shadow: 0 18px 50px rgb(0 0 0 / 60%);
  transition: box-shadow 350ms ease;
}

.n9-scratch-card.n9-is-winning {
  box-shadow: 0 0 46px rgb(248 220 138 / 45%), 0 18px 50px rgb(0 0 0 / 65%);
}

.n9-scratch-card__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px 12px;
  border: 1px solid rgb(248 220 138 / 50%);
}

.n9-card-rule {
  gap: 8px;
}

.n9-card-rule p {
  margin: 0;
  color: #f5c85c;
  font-family: var(--font-mincho);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  white-space: nowrap;
}

.n9-scratch-card__content {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
}

.n9-scratch-card__brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.n9-war-seal {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 7px;
  border: 2px solid var(--tenkaichi-gold-line);
  border-radius: 50%;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #2a0604, #140302 80%);
  box-shadow: 0 0 18px rgb(248 220 138 / 30%);
  color: transparent;
  font-family: var(--font-display);
  font-size: 26px;
  background-clip: padding-box;
  position: relative;
}

.n9-war-seal::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f8e7ab, #e8b545 58%, #9a6b23);
  background-clip: text;
  color: transparent;
  content: "武";
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.n9-scratch-card__brand strong {
  color: var(--tenkaichi-copy);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.3;
}

.n9-scratch-card__brand b {
  color: #f5c85c;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.4;
}

.n9-scratch-card__brand small {
  margin-top: 5px;
  color: rgb(248 220 138 / 75%);
  font-family: var(--font-mincho);
  font-size: 7.5px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.n9-scratch-card__reveal-area {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  border: 2px solid var(--tenkaichi-gold-line);
  background: var(--tenkaichi-ink);
}

.n9-prize-underlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background:
    radial-gradient(circle at 50% 45%, rgb(165 23 15 / 35%), transparent 65%),
    var(--tenkaichi-ink);
  text-align: center;
}

.n9-prize-underlay > p {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--tenkaichi-gold-bright);
  font-family: var(--font-mincho);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.n9-prize-rank {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--tenkaichi-gold-bright);
}

.n9-prize-rank strong {
  background: linear-gradient(180deg, #f8e7ab, #e8b545 58%, #9a6b23);
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.n9-prize-rank span {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
}

.n9-foil-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
  transition: opacity 300ms ease;
  user-select: none;
}

.n9-foil-canvas.n9-is-busy {
  cursor: progress;
  opacity: 0.88;
}

.n9-foil-canvas.n9-is-revealed {
  opacity: 0;
  pointer-events: none;
}

.n9-scratch-card__date {
  grid-column: 2;
  margin: 0;
  color: rgb(248 231 171 / 55%);
  font-family: var(--font-mincho);
  font-size: 8.5px;
  letter-spacing: 0.7px;
  text-align: center;
}

.n9-scratch-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgb(248 220 138 / 85%);
  font-family: var(--font-mincho);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.n9-scratch-card__footer i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border: 1px solid var(--tenkaichi-gold);
  transform: rotate(45deg);
}

.n9-scratch-feedback {
  display: grid;
  width: 100%;
  height: 124px;
  place-items: center;
}

.n9-scratch-feedback > * {
  grid-area: 1 / 1;
}

.n9-scratch-progress {
  display: grid;
  width: 250px;
  gap: 12px;
  text-align: center;
}

.n9-scratch-progress h1 {
  margin: 0;
  color: var(--tenkaichi-gold-bright);
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.n9-progress-track {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(248 220 138 / 20%);
}

.n9-progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8862e, #f8e7ab);
  transition: width 160ms ease;
}

.n9-scratch-progress > p {
  margin: 0;
  color: rgb(248 231 171 / 55%);
  font-size: 11px;
}

.n9-keyboard-reveal {
  min-height: 42px;
  border: 1px solid rgb(248 220 138 / 55%);
  border-radius: 0;
  background: rgb(20 3 2 / 35%);
  color: var(--tenkaichi-gold-bright);
  font-family: var(--font-mincho);
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
}

.n9-inline-error {
  padding: 12px;
  border: 1px solid #c0392b;
  background: rgb(20 3 2 / 72%);
}

.n9-inline-error p {
  margin: 0 0 7px;
  color: var(--tenkaichi-copy);
  font-size: 11px;
  line-height: 1.6;
}

.n9-inline-error button {
  border: 0;
  background: transparent;
  color: var(--tenkaichi-gold-bright);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.n9-winner-message {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.n9-winner-message h2 {
  margin: 0;
  color: var(--tenkaichi-gold-bright);
  font-family: var(--font-brush);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 7px;
  text-shadow: 0 3px 14px rgb(0 0 0 / 70%);
}

.n9-winner-message p {
  margin: 7px 0 0;
  color: rgb(248 231 171 / 75%);
  font-family: var(--font-mincho);
  font-size: 12px;
}

.n9-noscript {
  color: var(--tenkaichi-gold-bright);
  font-size: 11px;
  text-align: center;
}

.n9-scratch__home {
  flex: 0 0 auto;
}

.n9-scratch__home form,
.n9-result__actions form {
  width: 100%;
}

.n9-outline-button {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgb(248 220 138 / 60%);
  border-radius: 0;
  background: transparent;
  color: var(--tenkaichi-gold-bright);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
}

.n9-flash {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgb(248 231 171 / 70%);
  opacity: 0;
  pointer-events: none;
}

.n9-flash.n9-is-active {
  animation: n9-win-flash 800ms ease-out forwards;
}

.n9-confetti {
  position: fixed;
  z-index: 61;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Result */
.n9-result {
  flex-direction: column;
  align-items: center;
  padding: max(64px, calc(env(safe-area-inset-top) + 42px)) 30px max(38px, calc(env(safe-area-inset-bottom) + 24px));
  text-align: center;
}

.n9-result__eyebrow {
  margin: 0;
  color: #f5c85c;
  font-family: var(--font-brush);
  font-size: 15px;
  letter-spacing: 8px;
}

.n9-result__title {
  margin: 11px 0 0;
  color: var(--tenkaichi-copy);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.45;
  text-shadow: 0 3px 14px rgb(0 0 0 / 70%);
}

.n9-result__title span {
  color: var(--tenkaichi-gold-bright);
}

.n9-medal-wrap {
  margin-top: 28px;
}

.n9-rank-medal {
  position: relative;
  display: flex;
  width: 158px;
  height: 158px;
  align-items: baseline;
  justify-content: center;
  padding-top: 37px;
  border: 2px solid var(--tenkaichi-gold-line);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #2a0604, #140302 78%);
  box-shadow: 0 0 54px rgb(248 220 138 / 35%);
}

.n9-rank-medal__ring {
  position: absolute;
  inset: 6px;
  border: 1px solid rgb(248 220 138 / 50%);
  border-radius: 50%;
}

.n9-rank-medal strong {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #f8e7ab, #e8b545 58%, #9a6b23);
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.n9-rank-medal > span:last-child {
  position: relative;
  z-index: 1;
  color: var(--tenkaichi-gold-bright);
  font-family: var(--font-mincho);
  font-size: 27px;
  font-weight: 700;
}

.n9-prize-panel {
  width: 100%;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgb(248 220 138 / 50%);
  background: rgb(10 3 2 / 35%);
  text-align: left;
}

.n9-prize-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.n9-assigned-prize {
  padding: 4px 10px;
  border: 1px solid rgb(248 220 138 / 60%);
  background: var(--tenkaichi-ink);
  color: var(--tenkaichi-gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.n9-prize-panel__number {
  color: rgb(248 220 138 / 80%);
  font-family: var(--font-mincho);
  font-size: 10px;
  letter-spacing: 2px;
}

.n9-prize-image {
  display: grid;
  width: 100%;
  height: 108px;
  margin-top: 16px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(248 220 138 / 35%);
  background: rgb(20 3 2 / 58%);
}

.n9-prize-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.n9-prize-image--placeholder {
  border-style: dashed;
  background: repeating-linear-gradient(45deg, rgb(248 220 138 / 8%) 0 8px, transparent 8px 16px);
  color: rgb(248 220 138 / 70%);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 1px;
}

.n9-prize-panel h2 {
  margin: 17px 0 0;
  color: #fff;
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.n9-prize-panel hr {
  margin: 15px 0;
  border: 0;
  border-top: 1px solid rgb(248 220 138 / 35%);
}

.n9-prize-panel dl {
  margin: 0;
}

.n9-prize-panel dl > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.n9-prize-panel dt {
  flex: 0 0 auto;
  color: rgb(248 220 138 / 90%);
  font-size: 12px;
  font-weight: 700;
}

.n9-prize-panel dd {
  margin: 0;
  color: rgb(248 231 171 / 80%);
  font-size: 12px;
  line-height: 1.7;
}

.n9-result__actions {
  display: grid;
  width: 100%;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.n9-result__actions > section[data-unused-coupon] {
  display: grid;
  gap: 8px;
}

.n9-result__actions > section[data-unused-coupon] > p {
  margin: 0;
  color: rgb(248 231 171 / 55%);
  font-size: 10.5px;
}

.n9-gold-button {
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--tenkaichi-gold-line);
  border-radius: 0;
  background: linear-gradient(180deg, #f3d580, #c2912f);
  box-shadow: 0 8px 26px rgb(0 0 0 / 45%);
  color: #3d1206;
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
}

.n9-gold-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.n9-used-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(248 220 138 / 55%);
  background: var(--tenkaichi-ink);
}

.n9-used-panel__stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgb(248 220 138 / 8%) 0 18px, transparent 18px 36px);
  animation: n9-stripe-move 3s linear infinite;
}

.n9-used-panel__content {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: var(--tenkaichi-gold-bright);
  text-align: center;
}

.n9-used-panel__label {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: 9px;
  letter-spacing: 4px;
}

.n9-used-panel h2 {
  margin: 5px 0 8px;
  font-family: var(--font-mincho);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 5px;
}

.n9-used-panel__content > p:not(.n9-used-panel__label) {
  margin: 3px 0;
  color: rgb(248 231 171 / 70%);
  font-size: 11px;
}

.n9-used-panel__clock {
  font-variant-numeric: tabular-nums;
}

/* Confirmation modal */
.n9-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.n9-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(5 0 0 / 82%);
  backdrop-filter: blur(3px);
}

.n9-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 26px 22px 22px;
  border: 1px solid rgb(248 220 138 / 65%);
  background: linear-gradient(160deg, #2a0604, #140302 72%);
  box-shadow: 0 24px 70px rgb(0 0 0 / 70%);
  text-align: center;
}

.n9-modal__eyebrow {
  margin: 0 0 8px !important;
  color: #f5c85c !important;
  font-family: var(--font-brush);
  font-size: 12px !important;
  letter-spacing: 5px;
}

.n9-modal__dialog h2 {
  margin: 0;
  color: var(--tenkaichi-gold-bright);
  font-family: var(--font-mincho);
  font-size: 21px;
  font-weight: 700;
}

.n9-modal__dialog > p {
  margin: 14px 0 0;
  color: rgb(248 231 171 / 70%);
  font-size: 12px;
  line-height: 1.9;
}

.n9-modal__error {
  padding: 10px;
  border: 1px solid #c0392b;
  color: #fff1df !important;
}

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

.n9-cancel-button {
  min-height: 46px;
  border: 1px solid rgb(248 220 138 / 50%);
  border-radius: 0;
  background: transparent;
  color: var(--tenkaichi-gold-bright);
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
}

.n9-fade-up {
  animation: n9-fade-up 650ms both;
}

.n9-delay-1 { animation-delay: 100ms; }
.n9-delay-2 { animation-delay: 180ms; }
.n9-delay-3 { animation-delay: 260ms; }
.n9-delay-4 { animation-delay: 340ms; }

@keyframes n9-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes n9-win-flash {
  0% { opacity: 0; }
  18% { opacity: 0.86; }
  100% { opacity: 0; }
}

@keyframes n9-stripe-move {
  to { background-position: 51px 0; }
}

@media (hover: hover) {
  .n9-challenge-button:hover,
  .n9-keyboard-reveal:hover {
    filter: brightness(1.12);
  }

  .n9-gold-button:hover {
    filter: brightness(1.06);
  }

  .n9-outline-button:hover,
  .n9-cancel-button:hover {
    background: rgb(248 220 138 / 8%);
  }
}

@media (max-width: 370px) {
  .n9-login__copy h1 > span { font-size: 24px; }
  .n9-login__copy h1 > strong { font-size: 30px; }
  .n9-title-rule { margin-inline: 22px; }
  .n9-title-rule p { font-size: 12px; letter-spacing: 4px; }
  .n9-phone-form { padding-inline: 24px; }

  .n9-scratch {
    padding-right: 18px;
    padding-left: 18px;
  }

  .n9-scratch-card__inner { padding-inline: 10px; }
  .n9-scratch-card__content { grid-template-columns: 108px minmax(0, 1fr); gap: 6px 9px; }
  .n9-war-seal { width: 50px; height: 50px; font-size: 23px; }
  .n9-scratch-card__brand strong { font-size: 13px; }
  .n9-scratch-card__brand b { font-size: 10px; }
  .n9-scratch-card__brand small { font-size: 6.5px; }
  .n9-card-rule p { font-size: 8.5px; letter-spacing: 2px; }
  .n9-scratch-card__date { font-size: 7.5px; }

  .n9-result {
    padding-right: 22px;
    padding-left: 22px;
  }

  .n9-result__title { font-size: 23px; }
  .n9-prize-panel { padding: 15px; }
  .n9-prize-panel dl > div { display: grid; gap: 4px; }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
