:root {
  --pink: #ff2d78;
  --pink-glow: rgba(255, 45, 120, .28);
  --ink: #222;
  --muted: #8a8a8a;
  --cream: #fff4f6;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #f3ecee;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }

.page {
  max-width: 430px;
  margin: 0 auto;
  background: var(--cream);
}
.page.long { padding-top: 0; padding-bottom: 72px; }

.promo {
  position: relative;
  padding: 16px 18px 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, #ffe3ec 0, transparent 32%),
    radial-gradient(circle at 90% 8%, #ffd9e6 0, transparent 26%),
    linear-gradient(180deg, #fff7f8 0%, #ffeef3 100%);
}
.page.long .promo {
  padding: 14px 18px 18px;
}
.page.long .promo + .promo { border-top: 6px solid #f6e8ec; }

.petal {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  color: #ff8fb3;
}
.promo > .kicker,
.promo > .headline,
.promo > .sub { position: relative; z-index: 1; }

.sakura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><g fill='%23ffb3c9' opacity='.45'><path d='M40 28c6 0 8-8 8-8s2 8 8 8c0 6-8 8-8 8s-8-2-8-8z'/><path d='M132 18c5 0 7-7 7-7s2 7 7 7c0 5-7 7-7 7s-7-2-7-7z'/><path d='M24 118c4 0 6-6 6-6s2 6 6 6c0 4-6 6-6 6s-6-2-6-6z'/><path d='M150 96c6 0 8-8 8-8s2 8 8 8c0 6-8 8-8 8s-8-2-8-8z'/></g></svg>");
}

.copy {
  position: relative;
  z-index: 1;
  text-align: left;
  margin-bottom: 8px;
}
.copy.center { text-align: center; }
.kicker {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}
.headline {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .01em;
}
.headline.xl { font-size: 32px; }
.pink { color: var(--pink); }
.sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.collage {
  position: relative;
  height: 360px;
  z-index: 1;
  margin-top: 8px;
}
.card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(80, 20, 40, .18);
  background: #222;
}
.card figcaption,
.poster figcaption {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  z-index: 2;
}
.card figcaption { font-size: 16px; }
.card.main { left: 14px; right: 14px; top: 4px; height: 210px; transform: rotate(-3.5deg); z-index: 2; }
.card.left { left: 0; bottom: 4px; width: 52%; height: 150px; transform: rotate(-7deg); z-index: 3; }
.card.right { right: 0; bottom: 0; width: 52%; height: 150px; transform: rotate(6deg); z-index: 1; }
.card.left figcaption, .card.right figcaption { font-size: 15px; }

.phone {
  position: relative;
  z-index: 1;
  width: min(100%, 348px);
  margin: 4px auto 0;
  border: 6px solid var(--pink);
  border-radius: 30px;
  overflow: hidden;
  box-shadow:
    0 18px 40px var(--pink-glow),
    0 0 0 1px rgba(255,255,255,.4) inset;
}
.phone.light { background: #fff; }
.phone.dark { background: #1a1a1a; color: #fff; }

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 14px 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f3f3f5;
  color: #9b9b9b;
  font-size: 14px;
}
.search svg { width: 16px; height: 16px; flex-shrink: 0; }

.tabs {
  display: flex;
  gap: 16px;
  padding: 2px 16px 8px;
  font-size: 14px;
  font-weight: 800;
  color: #222;
}
.tabs .on { color: var(--pink); }

.sec { padding: 2px 14px 10px; }
.sec h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}
.rec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.poster, .rank-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #ddd;
}
.poster::after, .rank-item::after, .card::after, .player::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  pointer-events: none;
}
.rec .poster { height: 168px; }
.rec .poster img { object-position: center 20%; }
.poster figcaption { font-size: 13px; line-height: 1.4; }

.ranks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.rank-item { height: 118px; }
.rank-item img { object-position: center 18%; }
.phone.light .sec:last-child {
  padding-bottom: 10px;
}
.badge {
  position: absolute;
  left: 7px; top: 7px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  border: 2px solid var(--pink);
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  z-index: 2;
}

.player {
  position: relative;
  height: 196px;
  overflow: hidden;
}
.player img { height: 100%; }
.player-top, .hud {
  position: absolute;
  z-index: 3;
  left: 12px; right: 12px;
}
.player-top {
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.player-top .grow { flex: 1; }
.player-top svg { width: 18px; height: 18px; }
.hud { bottom: 12px; }
.bar {
  height: 4px;
  background: rgba(255,255,255,.32);
  border-radius: 99px;
  overflow: hidden;
}
.bar i {
  display: block;
  width: 16%;
  height: 100%;
  background: var(--pink);
  border-radius: 99px;
}
.times {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 11px;
  opacity: .95;
}

.series { padding: 10px 14px 4px; }
.series h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.eps { display: flex; gap: 10px; }
.eps span {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #2f2f2f;
  font-weight: 800;
  font-size: 15px;
}
.eps .on {
  background: var(--pink);
  box-shadow: 0 6px 14px rgba(255,45,120,.35);
}

.continue {
  margin: 8px 12px 12px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #2c2c2c;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 800;
  width: calc(100% - 24px);
}
.continue img {
  width: 44px;
  height: 32px;
  border-radius: 8px;
}
.continue .arrow { margin-left: auto; font-size: 18px; opacity: .9; }

.cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(255,244,246,.96) 36%);
}
.cta button {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--pink);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 24px var(--pink-glow);
}

@media (min-width: 860px) {
  .page.long { max-width: 430px; }
}
