/* おかたづけクエスト web — the app's "B シール帳" look (pop sticker book), from lib/app/look.dart:
   sun / tomato / sky / mint / ink, ink outlines, hard offset shadows, slightly rotated stickers,
   Dela Gothic One (headings, numbers) + M PLUS Rounded 1c (body). Korean and Chinese use the system fonts,
   as the app does (the bundled fonts have no Hangul and Japanese kanji forms). Light only, like the app. */
:root {
  color-scheme: light;
  --sun: #FFCF3F;
  --sun-soft: #FFDD6E;
  --tomato: #FF5A36;
  --sky: #2BB3E8;
  --mint: #2FCB8E;
  --ink: #1E1E24;
  --ink-soft: #4A4A55;
  --white: #FFFFFF;
  --mist: #EDEDF0;
  --blush: #FFE3DA;
  --cream: #FFF7DD;
  --line: 3px;
  --display: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif;
  --body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
:lang(ko) {
  --display: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --body: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
:lang(zh-Hant) {
  --display: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --body: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html.i18n-pending body { opacity: 0; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
:lang(ko) body, :lang(zh-Hant) body { font-weight: 400; }
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, li, dt, dd, figcaption { margin: 0; line-break: strict; overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.25; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(zh-Hant) h1, :lang(zh-Hant) h2, :lang(zh-Hant) h3 { font-weight: 900; }
.nw { white-space: nowrap; }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 32px, 860px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--sun);
  border-bottom: var(--line) solid var(--ink);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.1;
}
:lang(ko) .brand, :lang(zh-Hant) .brand { font-weight: 900; }
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: var(--line) solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-weight: 800;
  font-size: .9rem;
}
.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.lang[hidden] { display: none; }
.lang select {
  min-height: 38px;
  max-width: 160px;
  padding: 4px 30px 4px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E1E24' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px 8px;
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  font: 800 .88rem var(--body);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* ---------- buttons, chips, stickers ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 24px;
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  background: var(--tomato);
  color: var(--white);
  box-shadow: 0 6px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
:lang(ko) .btn, :lang(zh-Hant) .btn { font-weight: 900; }
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.btn.white { background: var(--white); color: var(--ink); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.5;
}
.chip.sun { background: var(--sun); }
.chip.mint { background: var(--mint); }
.chip.tomato { background: var(--tomato); color: var(--white); }
.sticker {
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink);
}
.tilt-l { transform: rotate(-1.6deg); }
.tilt-r { transform: rotate(1.4deg); }

/* ---------- sections ---------- */
.sec { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; }
.sec > .wrap, .sec > .wrap-narrow { position: relative; z-index: 1; }
.sec-cream { background: var(--cream); }
.sec-sky { background: var(--sky); }
.sec-mint { background: var(--mint); }
.sec-white { background: var(--white); }
.sec-sun { background: var(--sun-soft); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-tomato { background: var(--tomato); }
.sec + .sec { border-top: var(--line) solid var(--ink); }
/* stickers with a meaning (a star, a check, a gacha capsule), placed on a figure or card; never plain shapes */
.deco { position: absolute; z-index: 2; height: auto; aspect-ratio: 1; pointer-events: none; filter: drop-shadow(3px 3px 0 var(--ink)); }
.kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 3px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  line-height: 1.6;
  transform: rotate(-2deg);
}
.sec-ink .kicker { background: var(--sun); }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.8rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); line-height: 1.4; }
.lead { margin-top: 18px; max-width: 36em; font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.95; }
.sec-ink .lead { color: rgba(255, 255, 255, .86); }
.fine { color: var(--ink-soft); font-size: .86rem; line-height: 1.8; }
.sec-ink .fine { color: rgba(255, 255, 255, .7); }

/* ---------- hero ---------- */
.hero { background: var(--sun); padding: clamp(36px, 6vw, 84px) 0 clamp(64px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.2; }
.hero h1 em { font-style: normal; color: var(--tomato); -webkit-text-stroke: 0; }
.hero .lead { max-width: 30em; }
.hero .phone { width: min(100%, 330px); }
/* stickers beside the hero phone (the phone is centred in its column and 330 px wide) */
.hero .hero-check { width: 60px; top: -4px; left: calc(50% - 205px); transform: rotate(-10deg); }
.hero .hero-star { width: 36px; top: 64px; left: calc(50% - 198px); transform: rotate(14deg); --star: var(--white); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.release-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-soon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  min-width: 170px;
  padding: 6px 18px;
  border: var(--line) dashed var(--ink);
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
  line-height: 1.3;
}
.store-soon b { font-family: var(--display); font-weight: 400; font-size: 1.02rem; }
:lang(ko) .store-soon b, :lang(zh-Hant) .store-soon b { font-weight: 900; }
.store-soon span { font-size: .8rem; font-weight: 800; color: var(--ink-soft); }
.hero-note { margin-top: 14px; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }

/* ---------- mock phones (drawn screens; slots for real screenshots) ----------
   Drawn after the app's portrait layouts (lib/app: result_page.dart, place_page.dart, kids_page.dart) on a 390 x 844
   screen: sizes are the app's pixels / 3.9 in cqw (1cqw = 1% of the screen's width; the .phone is the container). */
.shot-slot { position: relative; margin: 0; display: grid; justify-items: center; gap: 14px; }
.shot-slot > figcaption { max-width: 300px; text-align: center; font-weight: 800; font-size: .92rem; line-height: 1.6; }
.phone {
  container-type: inline-size;
  width: min(100%, 300px);
  padding: 9px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: 8px 8px 0 rgba(30, 30, 36, .25);
}
.screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  background: var(--sun);
  font-family: var(--body);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 3.6cqw;
  padding: 13.5cqw 4.4cqw 4.6cqw 5.1cqw;
  line-height: 1.3;
}
.screen::before { /* the camera island */
  content: "";
  position: absolute;
  top: 2.8cqw;
  left: 35cqw;
  width: 30cqw;
  height: 8.6cqw;
  border-radius: 999px;
  background: var(--ink);
}
.screen.mint { background: var(--mint); }
.screen > * { position: relative; flex: none; }
.screen .s-grow { flex: 1 1 0; min-height: 0; }
.screen .s-top { display: flex; align-items: center; gap: 3cqw; min-height: 12.8cqw; }
.screen .s-back {
  width: 11.8cqw;
  height: 11.8cqw;
  flex: none;
  display: grid;
  place-items: center;
  border: .77cqw solid var(--ink);
  border-radius: 3.6cqw;
  background: var(--white);
  box-shadow: 0 1cqw 0 var(--ink);
}
.screen .s-back svg { width: 5.2cqw; height: 5.2cqw; }
.screen .s-pill {
  min-width: 0;
  padding: 1.5cqw 3.6cqw;
  border: .77cqw solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
  font-size: 4.1cqw;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.screen .s-quit { margin-left: auto; padding: 0 1cqw; font-weight: 800; font-size: 3.6cqw; text-decoration: underline; text-decoration-thickness: .5cqw; white-space: nowrap; }
.screen .s-title { font-family: var(--display); font-size: 9.2cqw; line-height: 1.15; }
:lang(ko) .screen .s-title, :lang(zh-Hant) .screen .s-title { font-weight: 900; }
.screen .s-count {
  display: flex;
  align-items: center;
  gap: 3.6cqw;
  margin-right: 1cqw;
  padding: 2.8cqw 3.6cqw;
  background: var(--white);
  border: .77cqw solid var(--ink);
  border-radius: 5.6cqw;
  box-shadow: 1cqw 1cqw 0 var(--ink);
}
.screen .s-num {
  width: 16cqw;
  height: 16cqw;
  flex: none;
  display: grid;
  place-items: center;
  border: .77cqw solid var(--ink);
  border-radius: 50%;
  background: var(--tomato);
  color: var(--white);
  font-family: "Dela Gothic One", var(--display);
  font-size: 8.4cqw;
  line-height: 1;
}
.screen .s-count b { display: block; font-family: var(--display); font-weight: 400; font-size: 5.1cqw; line-height: 1.2; }
:lang(ko) .screen .s-count b, :lang(zh-Hant) .screen .s-count b { font-weight: 900; }
.screen .s-count small { display: block; margin-top: .6cqw; font-size: 3.3cqw; font-weight: 700; color: var(--ink-soft); line-height: 1.3; }
.screen .s-photo {
  margin: 0 1cqw 0 0;
  padding: 1.5cqw;
  background: var(--white);
  border: .77cqw solid var(--ink);
  border-radius: 4.6cqw;
  box-shadow: 1cqw 1cqw 0 var(--ink);
}
.screen .s-photo svg { width: 100%; height: auto; border-radius: 3.1cqw; }
.screen .s-photo figcaption {
  padding: 1.3cqw 0 .2cqw;
  text-align: center;
  font-family: var(--display);
  font-size: 4.1cqw;
  line-height: 1.2;
}
:lang(ko) .screen .s-photo figcaption, :lang(zh-Hant) .screen .s-photo figcaption { font-weight: 900; }
.screen .s-big { width: 80%; align-self: center; transform: rotate(1.2deg); }
.screen .s-small { width: 49%; margin-top: -1cqw; transform: rotate(-3deg); }
.screen .s-small figcaption, .screen .s-pair figcaption, .screen .s-mid figcaption { font-size: 3.6cqw; }
.screen .s-mid { width: 58%; align-self: center; }
.screen .s-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.screen .s-pair .s-photo:first-child { transform: rotate(-2.5deg); }
.screen .s-pair .s-photo:last-child { transform: rotate(2deg); }
.screen.mint .s-big { width: 76%; }
.screen .s-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6cqw;
  min-height: 17cqw;
  margin-bottom: 1.5cqw;
  padding: 1.5cqw 3.6cqw;
  border: .77cqw solid var(--ink);
  border-radius: 5.1cqw;
  background: var(--tomato);
  color: var(--white);
  box-shadow: 0 1.5cqw 0 var(--ink);
  font-family: var(--display);
  font-size: 6.2cqw;
  line-height: 1.15;
  text-align: center;
}
:lang(ko) .screen .s-btn, :lang(zh-Hant) .screen .s-btn { font-weight: 900; }
.screen .s-btn svg { width: 1.1em; height: 1.1em; flex: none; color: currentColor; }
.screen .s-btn.mint { background: var(--mint); color: var(--ink); }
.screen .s-btn.sky { background: var(--sky); color: var(--ink); min-height: 15.9cqw; font-size: 5.6cqw; }
.screen .s-btn.white { background: var(--white); color: var(--ink); min-height: 15.9cqw; font-size: 5.6cqw; }
.screen .s-btn.big { min-height: 21.5cqw; font-size: 8.7cqw; }
.screen .s-btn.big2 { min-height: 19cqw; font-size: 6.7cqw; }
.screen .s-btn.small { min-height: 13.3cqw; font-size: 4.4cqw; margin-bottom: 1.5cqw; }
/* 片付け中 */
.screen .s-timer {
  align-self: center;
  width: 56cqw;
  height: 56cqw;
  display: grid;
  place-items: center;
  border: .77cqw solid var(--ink);
  border-radius: 50%;
  background: var(--tomato);
  color: var(--white);
  box-shadow: 1cqw 1cqw 0 var(--ink);
  font-family: "Dela Gothic One", sans-serif;
  font-size: 16.8cqw;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.screen .s-chip {
  align-self: center;
  margin-top: 1cqw;
  padding: .9cqw 4.1cqw;
  border: .5cqw solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
  font-size: 5.1cqw;
  line-height: 1.35;
  text-align: center;
}
/* できた！ */
.screen .s-confetti { position: absolute; top: 10cqw; left: 0; width: 100%; height: auto; }
.screen .s-burst { width: 44cqw; aspect-ratio: 1; margin: -2cqw auto -1cqw; display: grid; place-items: center; }
.screen .s-burst svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-6deg); }
.screen .s-burst div { position: relative; max-width: 70%; text-align: center; color: var(--white); transform: rotate(-6deg); font-family: var(--display); line-height: 1.1; }
.screen .s-burst b { display: block; font-weight: 400; font-size: 7.5cqw; }
:lang(ko) .screen .s-burst b, :lang(zh-Hant) .screen .s-burst b { font-weight: 900; }
.screen .s-burst span { font-family: "Dela Gothic One", sans-serif; font-size: 4.6cqw; }
.screen .s-line { text-align: center; font-weight: 800; font-size: 4.4cqw; }
/* a child's page */
.screen .s-kid { display: flex; align-items: center; gap: 4.1cqw; }
.screen .s-avatar { width: 24.6cqw; height: 24.6cqw; flex: none; }
.screen .s-kid b { display: block; font-family: var(--display); font-weight: 400; font-size: 7.7cqw; line-height: 1.2; }
:lang(ko) .screen .s-kid b, :lang(zh-Hant) .screen .s-kid b { font-weight: 900; }
.screen .s-ticket {
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  margin-top: 1.5cqw;
  padding: .7cqw 3.2cqw;
  border: .5cqw solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  font-weight: 800;
  font-size: 4.6cqw;
  line-height: 1.35;
}
.screen .s-ticket svg { width: 6.4cqw; height: 6.4cqw; flex: none; color: var(--ink); }
.screen .s-log {
  margin-right: 1cqw;
  padding: 3.4cqw 3.6cqw;
  background: var(--white);
  border: .77cqw solid var(--ink);
  border-radius: 5.6cqw;
  box-shadow: 1cqw 1cqw 0 var(--ink);
}
.screen .s-log > b { display: block; font-family: var(--display); font-weight: 400; font-size: 4.4cqw; }
:lang(ko) .screen .s-log > b, :lang(zh-Hant) .screen .s-log > b { font-weight: 900; }
.screen .s-rows { display: grid; grid-template-columns: auto 1fr; gap: 1cqw 3cqw; align-items: baseline; margin-top: 1.5cqw; }
.screen .s-rows span:nth-child(odd) { font-size: 3.3cqw; color: var(--ink-soft); white-space: nowrap; }
.screen .s-rows span:nth-child(even) { font-size: 3.85cqw; font-weight: 800; }

/* ---------- how it works ---------- */
.steps {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step { position: relative; padding: 22px 18px 22px; }
.step:nth-child(odd) { transform: rotate(-1deg); }
.step:nth-child(even) { transform: rotate(1deg); margin-top: 18px; }
.step-no {
  position: absolute;
  top: -18px;
  left: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--tomato);
  color: var(--white);
  font-family: "Dela Gothic One", sans-serif;
  font-size: 1.15rem;
  line-height: 1;
}
.step-art { height: 92px; margin: 12px 0 14px; display: grid; place-items: center; }
.step-art svg { height: 100%; width: auto; }
.step h3 { font-size: 1.12rem; }
.step p { margin-top: 8px; font-size: .92rem; line-height: 1.8; }
.step-note {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 16px 20px;
  border: 2.5px dashed var(--ink);
  border-radius: 16px;
  background: rgba(255, 255, 255, .6);
  font-size: .92rem;
  font-weight: 700;
}

/* ---------- screens ---------- */
.screens-head { max-width: 42rem; }
.sec-sky .lead { color: var(--ink); }
.screens-row {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.screens-row .shot-slot:nth-child(2) { margin-top: 36px; }
.screens-row .shot-slot { width: min(100%, 300px); justify-self: center; }
.sec-sky .shot-slot > figcaption { background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; padding: 6px 12px; }
.illu-note { margin-top: 30px; text-align: center; font-weight: 700; font-size: .86rem; }

/* ---------- cards grid (diff, parents) ---------- */
.cards3 {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card { padding: 26px 24px 28px; }
.card .ico {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border: var(--line) solid var(--ink);
  border-radius: 18px;
  transform: rotate(-6deg);
}
.card .ico svg { width: 32px; height: 32px; }
.card p { margin-top: 8px; font-size: .95rem; }

/* ---------- rewards ---------- */
.rewards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.points li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
  line-height: 1.75;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l5 5 9-10.5' fill='none' stroke='%231E1E24' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px;
}
.gacha-art { position: relative; display: grid; justify-items: center; gap: 18px; }
.gacha-art .machine { width: min(100%, 250px); }
.card-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pcard {
  width: 104px;
  aspect-ratio: 5 / 7;
  position: relative;
  padding: 6px;
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}
.pcard:nth-child(1) { transform: rotate(-7deg); }
.pcard:nth-child(2) { transform: translateY(-10px); }
.pcard:nth-child(3) { transform: rotate(6deg); }
.pcard:nth-child(4) { transform: rotate(-3deg) translateY(-4px); }
.pcard .face {
  height: 66%;
  border: 2px solid var(--ink);
  border-radius: 7px;
  display: grid;
  place-items: center;
  background-image: radial-gradient(rgba(255, 255, 255, .45) 18%, transparent 19%);
  background-size: 12px 12px;
}
.pcard .face svg { width: 56%; height: auto; }
.pcard .no { position: absolute; top: 9px; left: 10px; font-family: "Dela Gothic One", sans-serif; font-size: .72rem; line-height: 1; }
.pcard .nm {
  margin-top: 4px;
  text-align: center;
  font-weight: 800;
  font-size: .74rem;
  line-height: 1.15;
}
.pcard.shiny { background: var(--sun); }
.pcard.shiny::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7h7l-5.5 4.5L19 21l-7-4.5L5 21l2.5-7.5L2 9h7z' fill='%23FFCF3F' stroke='%231E1E24' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.gacha-art .fine { text-align: center; }

/* ---------- parents ---------- */
.parents-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.parents-list { padding: 26px 26px 28px; }
.parents-list .points { margin-top: 0; }
.gate-mini {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  transform: rotate(-1.5deg);
}
.gate-mini b { font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.gate-mini span { font-weight: 800; font-size: .9rem; line-height: 1.5; }

/* ---------- price ---------- */
.plans {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan { padding: 26px 24px 28px; display: flex; flex-direction: column; }
.plan.main { background: var(--tomato); color: var(--white); }
.plan-tag { align-self: flex-start; }
.plan h3 { margin-top: 14px; font-size: 1.45rem; }
.plan .sub { margin-top: 4px; font-weight: 800; font-size: .95rem; }
.plan ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 26px; font-weight: 700; font-size: .95rem; line-height: 1.7; }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 13px;
  height: 7px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}
.price-note {
  margin-top: 26px;
  padding: 18px 22px;
  border: 2.5px dashed var(--ink);
  border-radius: 16px;
  background: rgba(255, 255, 255, .65);
  font-size: .9rem;
  font-weight: 600;
}
.price-note a, .trust-item a, .release-links a, .legal a, .faq a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 800; }

/* ---------- trust (dark) ---------- */
.trust-grid {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.trust-item { padding: 22px 22px 24px; border: var(--line) solid var(--white); border-radius: 22px; }
.trust-item:nth-child(2) { border-color: var(--sun); }
.trust-item h3 { color: var(--sun); }
.trust-item p { margin-top: 8px; color: rgba(255, 255, 255, .86); font-size: .95rem; }
.trust-item a { color: var(--white); }

/* ---------- release ---------- */
.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.release h2 { color: var(--white); }
.release .lead { color: var(--white); }
.release-card { padding: 28px 26px 30px; text-align: center; }
.release-card h3 { margin: 14px 0 6px; }
.release-card .store-row { margin-top: 18px; display: grid; gap: 12px; justify-items: stretch; }
.release-card .store-soon { width: 100%; align-items: center; }
.release-links { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .9rem; }

/* ---------- footer ---------- */
.footer { padding: 40px 0 46px; background: var(--ink); color: rgba(255, 255, 255, .78); border-top: var(--line) solid var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 6px; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--white); font-weight: 800; font-size: .9rem; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer-note { width: 100%; font-size: .8rem; color: rgba(255, 255, 255, .6); }

/* ---------- legal / support pages ---------- */
.page-hero { background: var(--sun); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); border-bottom: var(--line) solid var(--ink); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.page-hero .lead { max-width: 40em; }
.legal { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); }
.legal .updated { padding: 14px 18px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--white); font-weight: 700; font-size: .92rem; }
.legal .toc { margin-top: 22px; padding: 18px 22px; }
.legal .toc strong { font-family: var(--display); font-weight: 400; }
:lang(ko) .legal .toc strong, :lang(zh-Hant) .legal .toc strong { font-weight: 900; }
.legal .toc ol { margin: 8px 0 0; padding-left: 1.5em; columns: 2; column-gap: 32px; }
.legal .toc li { margin: 2px 0; break-inside: avoid; }
.legal section { margin-top: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); padding-bottom: 10px; margin-bottom: 14px; border-bottom: var(--line) solid var(--ink); }
.legal h3 { margin: 22px 0 6px; }
.legal p + p, .legal p + ul, .legal ul + p, .legal table + p, .legal .note + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 1.4em; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; margin-top: 12px; border-collapse: separate; border-spacing: 0; background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; }
.legal th, .legal td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--mist); }
.legal tr:last-child th, .legal tr:last-child td { border-bottom: 0; }
.legal th { width: 28%; background: var(--sun-soft); font-weight: 800; }
.legal .note { margin-top: 14px; padding: 14px 18px; border-left: 6px solid var(--mint); border-radius: 4px 14px 14px 4px; background: var(--white); }
.contact-box { padding: 22px 24px; }
.contact-box .mail { font-family: var(--display); font-size: 1.2rem; overflow-wrap: anywhere; }
.faq { display: grid; gap: 14px; margin-top: 8px; }
.faq details { padding: 4px 20px; }
.faq summary { min-height: 52px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-family: "Dela Gothic One", sans-serif;
  font-size: .85rem;
}
.faq details p { padding: 0 0 16px 40px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .step:nth-child(even) { margin-top: 0; }
}
@media (max-width: 960px) {
  .hero-grid, .rewards-grid, .parents-grid, .release { grid-template-columns: minmax(0, 1fr); }
  .cards3, .trust-grid, .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .screens-row { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .screens-row .shot-slot:nth-child(2) { margin-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { order: 3; flex: 0 0 calc(100% + 16px); margin: 0 -8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .nav::-webkit-scrollbar { display: none; }
  .lang { margin-left: auto; }
  .header-inner { min-height: 0; padding: 8px 0 4px; row-gap: 2px; }
  .legal .toc ol { columns: 1; }
  .legal th, .legal td { display: block; width: 100%; }
  .legal th { border-bottom: 0; padding-bottom: 2px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 116px; }
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .lang select { max-width: 132px; font-size: .84rem; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .step:nth-child(odd), .step:nth-child(even) { transform: none; }
  .release-row { flex-direction: column; align-items: stretch; }
  .store-soon { width: 100%; }
  .phone { width: min(100%, 290px); }
  .hero .deco { display: none; }
  .card-row { gap: 8px; }
  .pcard { width: 74px; padding: 4px; }
  .pcard .no { top: 7px; left: 8px; font-size: .62rem; }
  .pcard .nm { font-size: .66rem; }
  .faq details p { padding-left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-links { margin-left: -8px; }
}
