/* =========================================================
   Skyhug Storybook — Blog Review Points
   Aesthetic: 絵本 × vintage postcard × pastel nursery
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=Noto+Serif+JP:wght@300;400;600&family=Caveat:wght@500;700&family=Shippori+Mincho:wght@500;700&display=swap');

:root {
  --cream:       #fdf8f3;
  --cream-soft:  #fbf2e8;
  --paper:       #fffaf4;
  --paper-edge:  #e9ddc9;
  --ink:         #2a1e1a;
  --ink-soft:    #5b4a42;
  --muted:       #8c7a6f;

  --pink:        #fad4d4;
  --pink-deep:   #f0a8ac;
  --mint:        #c9e8e0;
  --mint-deep:   #88c6b5;
  --sand:        #f3d9b1;
  --sand-deep:   #e5ba7b;
  --sky:         #d6e6f2;

  --brand:       #e74d3c;        /* Skyhug red */
  --brand-hover: #c9372a;

  --shadow-soft:   0 14px 40px -20px rgba(42, 30, 26, .28);
  --shadow-card:   0 22px 44px -26px rgba(42, 30, 26, .35);
  --shadow-stamp:  0 2px 0 rgba(42, 30, 26, .08), 0 10px 26px -12px rgba(231, 77, 60, .4);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Noto Serif JP', 'Shippori Mincho', serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 45% at 12% 8%,   rgba(250, 212, 212, .55), transparent 60%),
    radial-gradient(45% 40% at 92% 18%,  rgba(201, 232, 224, .55), transparent 60%),
    radial-gradient(55% 50% at 80% 92%,  rgba(243, 217, 177, .45), transparent 60%),
    radial-gradient(40% 35% at 15% 88%,  rgba(214, 230, 242, .5), transparent 60%),
    var(--cream);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.11  0 0 0 0 0.10  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .35;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px 80px;
  position: relative;
}

.masthead {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--brand);
  letter-spacing: .02em;
  transform: rotate(-2deg);
  background: var(--paper);
  padding: 4px 16px;
  border: 1.5px dashed var(--brand);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.kicker svg { width: 16px; height: 16px; stroke-width: 2; }
.brand-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  margin: 18px 0 6px;
  letter-spacing: -.01em;
  line-height: 1.12;
  color: var(--ink);
}
.brand-title em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  display: inline-block;
}
.brand-title em::after {
  content: '';
  position: absolute;
  left: -4%; right: -4%; bottom: 4px; height: 14px;
  background: var(--sand);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}
.brand-sub {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto;
}

.hero-art {
  position: relative;
  height: 130px;
  margin: 18px auto 6px;
  max-width: 360px;
}
.hero-art > svg { position: absolute; }
.hero-art .cloud { top: 6px;  left: 0;    width: 82px; height: 54px; color: #b9d4e9; opacity: .9; }
.hero-art .star  { top: 8px;  right: 18%; width: 28px; height: 28px; color: var(--sand-deep); animation: twinkle 3s ease-in-out infinite; }
.hero-art .heart { bottom: 10px; left: 44%; width: 40px; height: 40px; color: var(--pink-deep); transform: rotate(-8deg); transform-origin: center; animation: bob 4s ease-in-out infinite; }
.hero-art .sparkle { top: 46px; left: 34%; width: 18px; height: 18px; color: var(--brand); opacity: .7; animation: twinkle 2.4s ease-in-out infinite; }
.hero-art .coin {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff2c6, #f0c65a 58%, #c58f2a 100%);
  box-shadow: 0 4px 0 #a8761e, 0 16px 30px -12px rgba(197, 143, 42, .6);
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
  animation: coinSpin 6s ease-in-out infinite;
}
.hero-art .coin svg { width: 62px; height: 62px; color: #6e4613; }

@keyframes twinkle {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.2); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-6px) rotate(-4deg); }
}
@keyframes coinSpin {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(6deg) translateY(-4px); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  margin-bottom: 26px;
}
.card.tilt-l { transform: rotate(-.6deg); }
.card.tilt-r { transform: rotate(.5deg); }

.card .tape {
  position: absolute;
  top: -12px;
  width: 88px;
  height: 22px;
  background: repeating-linear-gradient(
    45deg,
    rgba(243, 217, 177, .85) 0 8px,
    rgba(243, 217, 177, .6) 8px 16px);
  border: 1px solid rgba(181, 132, 54, .2);
  border-radius: 2px;
  box-shadow: 0 4px 8px -4px rgba(42, 30, 26, .25);
}
.card .tape.left  { left: 28px;  transform: rotate(-4deg); }
.card .tape.right { right: 32px; transform: rotate(3deg); }

.card h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card h2 .num {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  line-height: 1;
  transform: rotate(-6deg);
  box-shadow: 0 2px 0 var(--brand-hover);
}

.reward {
  background:
    repeating-linear-gradient(-45deg, rgba(231, 77, 60, .06) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #fff 0%, var(--cream-soft) 100%);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  overflow: hidden;
}
.reward::before,
.reward::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  background: var(--cream);
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}
.reward::before { top: -12px; left: 24px; }
.reward::after  { top: -12px; right: 24px; }

.reward .label {
  font-family: 'Caveat', cursive;
  color: var(--brand);
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.reward .amount {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 4.4rem);
  line-height: 1;
  margin: 4px 0 6px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.reward .amount .yen {
  color: var(--brand);
  font-size: .7em;
  margin-right: 2px;
}
.reward .amount .unit {
  font-size: .42em;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: 6px;
  vertical-align: top;
  letter-spacing: .04em;
}
.reward .note {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-top: 6px;
}
.reward-stamp {
  position: absolute;
  right: -6px; top: 40%;
  width: 86px; height: 86px;
  border-radius: 50%;
  border: 2px dashed var(--brand);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  line-height: 1.1;
  transform: rotate(14deg);
  background: rgba(255, 255, 255, .5);
}
.reward-stamp span {
  display: block;
  text-align: center;
  font-weight: 700;
}
.reward-stamp .big {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--brand);
  letter-spacing: -.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.steps .step {
  text-align: center;
  padding: 14px 10px 16px;
  background: var(--cream-soft);
  border: 1px dashed rgba(140, 122, 111, .35);
  border-radius: var(--radius-md);
  position: relative;
}
.steps .step .ico {
  width: 52px; height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.steps .step .ico svg { width: 26px; height: 26px; stroke-width: 1.8; }
.steps .step:nth-child(1) .ico { background: var(--mint); color: #1f5a4b; }
.steps .step:nth-child(2) .ico { background: var(--sand); color: #8b5a1a; }
.steps .step:nth-child(3) .ico { background: var(--pink); color: #8a2a3a; }
.steps .step .t {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: .95rem;
}
.steps .step .d {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(140, 122, 111, .15);
}
.checklist .badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.checklist .badge svg { width: 22px; height: 22px; stroke-width: 1.8; }
.checklist li:nth-child(1) .badge { background: var(--pink); color: #8a2a3a; }
.checklist li:nth-child(2) .badge { background: var(--mint); color: #1f5a4b; }
.checklist li:nth-child(3) .badge { background: var(--sand); color: #8b5a1a; }
.checklist li:nth-child(4) .badge { background: var(--sky); color: #27527a; }
.checklist .t {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.checklist .d {
  font-size: .86rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.side-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(231, 77, 60, .07);
  border-left: 3px solid var(--brand);
  border-radius: 6px;
  font-size: .86rem;
  color: var(--ink-soft);
  margin-top: 16px;
}
.side-note strong { color: var(--brand); font-family: 'Zen Maru Gothic', sans-serif; }
.side-note svg { width: 20px; height: 20px; stroke-width: 1.8; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

.member-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mint);
  border: 1px solid var(--mint-deep);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: .88rem;
  color: #1e4b3f;
  margin-bottom: 18px;
}
.member-chip svg { width: 18px; height: 18px; stroke-width: 1.8; }

.field {
  margin: 14px 0 0;
}
.field > label {
  display: block;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.field > label .hint {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  color: var(--muted);
  margin-left: 10px;
  font-size: 1rem;
}

.field input[type="url"],
.field input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--paper-edge);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(231, 77, 60, .12);
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 6px;
  cursor: pointer;
  user-select: none;
}
.terms input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.terms .box {
  width: 26px; height: 26px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  transition: background .2s ease;
}
.terms .box svg {
  position: absolute;
  top: -3px; left: -1px;
  width: 28px; height: 28px;
  stroke: var(--brand);
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset .3s cubic-bezier(.5, 1.6, .4, 1);
}
.terms input:checked ~ .box svg {
  stroke-dashoffset: 0;
}
.terms input:checked ~ .box {
  background: #fff7f5;
}
.terms .label-text {
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.55;
  padding-top: 2px;
}

.submit {
  width: 100%;
  margin-top: 22px;
  padding: 18px 22px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: .04em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-stamp);
  transition: transform .15s ease, box-shadow .2s ease;
}
.submit:hover:not(:disabled) {
  transform: translateY(-2px) rotate(-.3deg);
  box-shadow: 0 4px 0 rgba(42, 30, 26, .1), 0 16px 30px -12px rgba(231, 77, 60, .55);
}
.submit:active:not(:disabled) {
  transform: translateY(1px);
}
.submit:disabled {
  background: #d4c1bb;
  cursor: not-allowed;
  box-shadow: none;
}
.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit .arrow {
  width: 22px;
  height: 22px;
  display: inline-block;
  transition: transform .25s ease;
}
.submit:hover:not(:disabled) .arrow { transform: translateX(5px); }

.result {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  display: none;
  animation: slideIn .35s ease both;
}
.result.success { background: #eaf7f1; border: 1.5px solid var(--mint-deep); color: #1e4b3f; }
.result.error   { background: #fdecea; border: 1.5px solid var(--pink-deep); color: #7a2323; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.member-missing {
  background: #fdecea;
  border: 1.5px solid var(--pink-deep);
  color: #7a2323;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: .95rem;
  line-height: 1.55;
}

.examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
.examples .ex {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-md);
  position: relative;
  font-size: .88rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.examples .ex .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Caveat', cursive;
  color: var(--brand);
  font-size: 1rem;
}
.examples .ex .tag svg { width: 14px; height: 14px; stroke-width: 1.8; }
.examples .ex .ttl {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.4;
}
@media (max-width: 520px) {
  .examples { grid-template-columns: 1fr; }
}

.faq details {
  border-bottom: 1px dashed rgba(140, 122, 111, .35);
  padding: 14px 2px;
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: 'Q.';
  color: var(--brand);
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  line-height: 1;
}
.faq summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform .25s;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-soft);
  padding: 10px 4px 4px 2px;
  line-height: 1.65;
}
.faq .a::before {
  content: 'A.';
  color: var(--mint-deep);
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  line-height: 1;
}

.foot {
  text-align: center;
  padding: 22px 0 0;
  color: var(--muted);
  font-size: .85rem;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.foot a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(231, 77, 60, .3);
  padding-bottom: 1px;
}
.foot a:hover { border-bottom-color: var(--brand); }

.history-head {
  text-align: center;
  margin-bottom: 30px;
}
.history-head h1 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.9rem;
  margin: 10px 0 4px;
}

.hist-empty {
  text-align: center;
  padding: 42px 20px;
  color: var(--muted);
  font-family: 'Zen Maru Gothic', sans-serif;
}
.hist-empty .ico {
  display: block;
  margin: 0 auto 14px;
  width: 56px;
  height: 56px;
  color: var(--sand-deep);
  stroke-width: 1.6;
}

.hist-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  align-items: center;
}
.hist-date {
  text-align: center;
  border-right: 1px dashed rgba(140, 122, 111, .35);
  padding-right: 12px;
}
.hist-date .m {
  font-family: 'Caveat', cursive;
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
}
.hist-date .d {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 4px;
}
.hist-body .url {
  font-size: .86rem;
  color: var(--ink-soft);
  word-break: break-all;
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
}
.hist-body .url:hover { color: var(--brand); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: .78rem;
}
.status-pill::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
}
.status-pending  { background: #fff4e2; color: #a45c00; }
.status-pending::before  { background: #ea8b10; }
.status-approved { background: #e6f6ee; color: #1d6a3a; }
.status-approved::before { background: #2b9c5a; }
.status-rejected { background: #fdecea; color: #8a2a1f; }
.status-rejected::before { background: #c43e2f; }

.hist-body .points {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: var(--brand);
  margin-left: 8px;
  font-size: .86rem;
}

.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .7s cubic-bezier(.2, .8, .25, 1) forwards; }
.fade-up.d1 { animation-delay: .08s; }
.fade-up.d2 { animation-delay: .18s; }
.fade-up.d3 { animation-delay: .28s; }
.fade-up.d4 { animation-delay: .38s; }
.fade-up.d5 { animation-delay: .48s; }
.fade-up.d6 { animation-delay: .58s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.celebrate {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  display: none;
}
.celebrate.on { display: block; }
.celebrate .msg {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 6rem);
  color: var(--brand);
  text-shadow: 0 4px 0 #fff, 0 14px 30px rgba(231, 77, 60, .35);
  opacity: 0;
  animation: msgPop .55s cubic-bezier(.4, 1.6, .3, 1) forwards;
}
.celebrate .plane {
  position: absolute;
  top: 50%;
  left: -80px;
  width: 72px;
  height: 72px;
  color: var(--brand);
  animation: planeFly 2.2s cubic-bezier(.4, .1, .6, 1) forwards;
}
.celebrate .plane svg { width: 100%; height: 100%; stroke-width: 1.6; filter: drop-shadow(0 6px 10px rgba(231, 77, 60, .35)); }
.celebrate .confetti {
  position: absolute;
  top: -20px;
  width: 10px; height: 14px;
  opacity: 0;
  animation: confettiFall 2.6s cubic-bezier(.2, .6, .5, 1) forwards;
}
@keyframes msgPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scale(.5); }
  60%  { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1.1); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
}
@keyframes planeFly {
  0%   { left: -80px; top: 60%;  transform: rotate(8deg); }
  40%  { top: 40%; transform: rotate(-10deg); }
  100% { left: calc(100% + 80px); top: 30%; transform: rotate(6deg); }
}
@keyframes confettiFall {
  0%   { opacity: 0; transform: translateY(0) rotate(0); }
  10%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(110vh) rotate(720deg); }
}

@media (max-width: 560px) {
  .wrap { padding: 40px 16px 60px; }
  .card { padding: 22px 20px; }
  .steps { grid-template-columns: 1fr; }
  .hist-item { grid-template-columns: 62px 1fr; }
  .reward-stamp { right: -12px; top: auto; bottom: -12px; }
}
