:root {
  color-scheme: light;
  --paper: #e5edf8;
  --ink: #242d44;
  --orange: #ff824d;
  --orange-side: #c84d26;
  --muted: #53617a;
  --receipt: #fffef8;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #294fbb; outline-offset: 7px; }
.page { max-width: 1280px; margin: 0 auto; padding: 33px 62px 25px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { color: var(--ink); font-size: 32px; font-weight: 700; letter-spacing: -1.8px; text-decoration: none; }
.wordmark-dot { color: #b63e15; }
.status { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.status-dot { width: 7px; height: 7px; background: #587250; border-radius: 100%; }
.intro { padding-top: 53px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
h1 { font-size: clamp(70px, 7.9vw, 104px); line-height: .99; letter-spacing: -.075em; font-weight: 700; margin: 0; }
.intro-text { font-size: 17px; line-height: 1.65; margin: 0 0 9px; max-width: 390px; }
.playground { display: grid; grid-template-columns: 1fr 310px; gap: 82px; align-items: center; margin: 24px 65px 0 0; }
.button-area { text-align: center; }
.button-stage { position: relative; height: 333px; display: flex; align-items: center; justify-content: center; }
.button-base { width: 258px; height: 258px; background: var(--orange-side); border-radius: 50%; box-shadow: 0 20px 0 -3px #b4bfd1, 0 29px 26px -14px #8c9aaf66; position: relative; }
.nothing-button { width: 100%; height: 100%; position: absolute; left: 0; bottom: 13px; border-radius: 50%; border: 2px solid #fb9a6e; background: var(--orange); color: #4d271c; box-shadow: inset 0 5px 5px #ffbe8c88, inset 0 -4px 5px #e36030; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; transition: transform 130ms, background 130ms, box-shadow 130ms; touch-action: manipulation; user-select: none; }
.nothing-button span { font-size: 31px; line-height: 1.04; font-weight: 700; letter-spacing: -1px; }
.nothing-button:hover { background: #ff8e5f; }
.nothing-button:active, .nothing-button.is-pressed { transform: translateY(10px); box-shadow: inset 0 2px 5px #eb6433; }
.button-flower { width: 42px; height: 42px; }
.hand-note { position: absolute; left: -10px; top: 54px; font-size: 14px; font-style: italic; transform: rotate(-12deg); color: var(--muted); }
.hand-arrow { position: absolute; left: 48px; top: 84px; width: 58px; height: 66px; color: var(--muted); transform: rotate(-20deg); }
.response { font-size: 14px; color: var(--muted); line-height: 1.6; min-height: 45px; max-width: 410px; margin: 0 auto; }
.pop { position: absolute; top: 5px; right: 40px; color: var(--ink); font-weight: 700; font-size: 18px; opacity: 0; pointer-events: none; transform: rotate(9deg); }
.pop.animate { animation: float-up 900ms ease-out; }
@keyframes float-up { 0% { opacity: 0; transform: translateY(24px) rotate(9deg); } 20%, 60% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px) rotate(9deg); } }
.receipt { position: relative; background: var(--receipt); transform: rotate(3deg); box-shadow: 5px 8px 13px #52648414; margin: 6px 0 0; }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: linear-gradient(135deg, transparent 5px, var(--receipt) 0) 0 0 / 12px 8px, linear-gradient(225deg, transparent 5px, var(--receipt) 0) 0 0 / 12px 8px; }
.receipt::before { top: -7px; }
.receipt::after { bottom: -7px; transform: rotate(180deg); }
.receipt-content { padding: 20px 29px 21px; }
.receipt-flower { text-align: center; font-size: 29px; line-height: 1; }
.receipt h2 { text-align: center; font-size: 23px; line-height: 1.12; letter-spacing: -.7px; margin: 10px 0; }
.receipt-date { font-size: 10px; text-align: center; color: #59606d; margin: 0; }
.receipt-rule { border-top: 1px dashed #9ea2a6; margin: 17px 0; }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; line-height: 1.5; margin: 9px 0; }
.receipt-row strong { font-weight: 400; font-variant-numeric: tabular-nums; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.receipt-total strong { font-size: 17px; }
.achievement { font-size: 11px; text-align: center; color: #59606d; margin: 17px 0 16px; min-height: 14px; }
.barcode { width: 133px; height: 24px; margin: 0 auto; opacity: .8; background: repeating-linear-gradient(90deg, #242d44 0 2px, transparent 2px 4px, #242d44 4px 5px, transparent 5px 9px, #242d44 9px 13px, transparent 13px 15px, #242d44 15px 16px, transparent 16px 19px); }
.receipt-bottom { font-size: 9px; text-align: center; margin: 8px 0 0; color: #59606d; }
.small-print { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 25px 0 39px; }
.small-print p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.reset { border: 0; padding: 10px 0 10px 10px; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.reset span { display: inline-block; padding-left: 7px; font-size: 18px; text-decoration: none; }
.reset:hover { color: #a93813; }
.reset:disabled { color: var(--muted); opacity: .7; cursor: default; text-decoration: none; }
footer { border-top: 1px solid #aab8cd; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 17px; color: var(--muted); font-size: 11px; }
.noscript { padding: 12px; border: 1px solid var(--muted); font-size: 14px; }
@media (min-width: 1300px) { .intro { padding-top: 65px; } .playground { margin-top: 38px; } .button-stage { height: 365px; } .small-print { margin-top: 32px; } }
@media (max-width: 1000px) { .page { padding-left: 34px; padding-right: 34px; } .intro { gap: 28px; } .intro-text { font-size: 15px; max-width: 310px; } .playground { gap: 35px; margin-right: 10px; } .hand-note, .hand-arrow { display: none; } .pop { right: 10px; } }
@media (max-width: 700px) {
  .page { padding: 23px 25px 22px; }
  .wordmark { font-size: 29px; }
  .status { font-size: 10px; gap: 6px; }
  .status-dot { width: 5px; height: 5px; flex-shrink: 0; }
  .intro { display: block; padding-top: 43px; }
  h1 { font-size: clamp(66px, 15.9vw, 94px); }
  .intro-text { margin-top: 24px; font-size: 14px; line-height: 1.7; max-width: none; }
  .playground { grid-template-columns: 1fr; gap: 23px; margin: 15px 0 0; }
  .button-stage { height: 305px; }
  .button-base { width: 237px; height: 237px; }
  .nothing-button span { font-size: 28px; }
  .response { font-size: 12px; min-height: 40px; max-width: 290px; }
  .pop { right: 2px; top: 7px; font-size: 16px; }
  .receipt { width: min(300px, calc(100% - 20px)); justify-self: center; margin: 0 0 15px; transform: rotate(2deg); }
  .receipt-content { padding-top: 21px; }
  .small-print { margin: 29px 0; align-items: flex-start; }
  .small-print p { font-size: 10px; max-width: 185px; }
  .reset { font-size: 10px; padding-top: 0; flex-shrink: 0; }
  footer { font-size: 9px; align-items: flex-start; }
  footer span:last-child { text-align: right; }
}
@media (max-width: 360px) { .page { padding-left: 18px; padding-right: 18px; } .status { max-width: 130px; line-height: 1.4; } .small-print { display: block; } .reset { margin-top: 10px; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
