/* MINA'S PICK — 公開ページ */
:root {
  --bg: #0F0D13;
  --card: #1A1722;
  --line: #26222F;
  --text: #F4F1F8;
  --sub: #A79FB8;
  --accent: #FF5E8A;
  --on-accent: #2B0A14;
  --r: 18px;
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--sub); font-size: 13px; }
.center { text-align: center; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 13, 19, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-weight: 900; font-size: 19px; letter-spacing: .05em; line-height: 1; }
.logo b { color: var(--accent); font-weight: 900; }
.r18 {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 5px 10px;
}

/* hero */
.hero { padding: 44px 0 20px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--sub); }
.hero h1 { font-size: 30px; line-height: 1.38; font-weight: 900; letter-spacing: .01em; margin: 12px 0 14px; }
.hero__sub { color: var(--sub); font-size: 14px; margin-bottom: 26px; max-width: 30em; }
.hero--gate { padding-bottom: 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 0 6px; font-size: clamp(11.5px, 3.3vw, 13px); letter-spacing: -.02em; }
.btn__pr {
  display: inline-block; margin-left: 8px; padding: 2px 5px 1px; border: 1.5px solid currentColor; border-radius: 6px;
  font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; opacity: .85;
}
.btn--sm .btn__pr { margin-left: 5px; font-size: 9px; padding: 1px 4px 0; }

/* section */
.section { padding: 28px 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section__title { font-size: 20px; font-weight: 900; margin: 0; letter-spacing: .01em; }
.section__meta { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--sub); }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card--top {
  border-color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  box-shadow: 0 24px 48px -28px var(--accent);
  box-shadow: 0 24px 48px -26px color-mix(in srgb, var(--accent) 55%, transparent);
}
.card__body { display: block; padding: 18px 18px 20px; }
.card--sm .card__body { padding: 12px 12px 14px; }
.card__name { display: block; font-size: 18px; font-weight: 900; line-height: 1.35; }
.card--sm .card__name { font-size: 15px; }
.card__title {
  display: block; color: var(--sub); font-size: 12px; line-height: 1.5; margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card--link .card__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card__catch { font-size: 14px; margin-top: 10px; }
.card--sm .card__catch {
  font-size: 12px; line-height: 1.6; margin-top: 6px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2em;
}
.card__catch--multi { color: var(--sub); font-size: 13px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.price { font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.card--sm .price { font-size: 14px; margin: 8px 0 10px; }
.price--lg { font-size: 20px; }
.card--link { display: block; transition: border-color .15s; }
.card--link:hover { border-color: #3a3446; }

/* media */
.media { position: relative; display: block; overflow: hidden; background: #221e2b; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--top { height: 230px; }
.media--sm { aspect-ratio: 3 / 4; }
.media--pick { height: 100%; min-height: 200px; }
.media--gate { aspect-ratio: 1 / 1; border-radius: 16px; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph span { font-size: 56px; font-weight: 900; color: rgba(255, 255, 255, .14); }
.media--sm .ph span, .media--gate .ph span { font-size: 40px; }
.ph--0 { background: radial-gradient(120% 90% at 20% 10%, #5a2a48 0%, transparent 60%), linear-gradient(150deg, #3a1f3a, #1b1826 70%); }
.ph--1 { background: radial-gradient(120% 90% at 80% 0%, #4b2a5c 0%, transparent 60%), linear-gradient(160deg, #2e1f3e, #17141f 70%); }
.ph--2 { background: radial-gradient(120% 90% at 10% 90%, #5c2a3d 0%, transparent 60%), linear-gradient(200deg, #2a1d33, #18151f 70%); }
.ph--3 { background: radial-gradient(120% 90% at 90% 90%, #6a2c4c 0%, transparent 55%), linear-gradient(130deg, #2b1b30, #15121c 70%); }

/* rank badge */
.badge {
  position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 15px; line-height: 1;
  background: rgba(15, 13, 19, .72); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge--1 {
  top: 14px; left: 14px; width: 44px; height: 44px; font-size: 21px;
  background: var(--accent); color: var(--on-accent); border: 0;
  box-shadow: 0 6px 18px -6px var(--accent);
}

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.grid2:first-child { margin-top: 0; }

/* pick */
.pick { display: grid; grid-template-columns: 42% 1fr; }
.pick .card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pick .card__name { font-size: 16px; }
.pick .card__catch { margin-top: 0; }
.pick .price { font-size: 14px; }
.pick .btn { margin-top: auto; }
.pick__tag {
  position: absolute; top: 10px; left: 10px; font-size: 13px; line-height: 1; padding: 7px 9px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
}

/* detail */
.detail { padding-top: 20px; }
.gallery {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  position: relative; flex: 0 0 82%; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden;
  scroll-snap-align: center; background: #221e2b; border: 1px solid var(--line);
}
.gallery--single .gallery__item { flex-basis: 100%; aspect-ratio: 4 / 5; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.detail__head { padding: 22px 0 6px; }
.detail__creator { font-size: 14px; color: var(--sub); font-weight: 700; margin-top: 10px; }
.detail__title { font-size: 23px; font-weight: 900; line-height: 1.45; margin: 4px 0 0; }
.detail__catch { margin-top: 10px; font-size: 15px; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); }
.chip--accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.detail__block { margin-top: 20px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.detail__block h2 { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sub); margin: 0 0 8px; }
.detail__block--target p { font-weight: 700; }
.detail__pr { margin-top: 18px; font-size: 11px; color: var(--sub); }
.back-link { display: inline-block; margin: 22px 0 8px; font-size: 13px; color: var(--sub); padding: 10px 0; }
.cta-bar {
  position: sticky; bottom: 0; z-index: 10; margin-top: 16px;
  padding: 18px 0 calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(15, 13, 19, 0), var(--bg) 35%);
}
.cta-bar__inner { display: flex; align-items: center; gap: 14px; }
.cta-bar__inner .btn { flex: 1; min-height: 52px; font-size: 16px; }
.notice { margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; background: #3a2a10; color: #ffd27a; font-size: 13px; }

/* gate */
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.gate-card { margin: 0; }
.gate-card figcaption { padding: 10px 2px 0; }
.gate-card__name { display: block; font-weight: 700; font-size: 15px; }
.gate-card__note { display: block; color: var(--sub); font-size: 12px; }
.enter { padding: 22px 18px; display: grid; gap: 12px; }
.enter__title { font-weight: 900; font-size: 17px; line-height: 1.5; }

/* footer */
.site-footer { margin-top: 32px; padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--sub); font-size: 11px; text-align: center; }
.site-footer p { margin-top: 6px; }
.footer-link { display: inline-block; font-size: 12px; color: var(--sub); padding: 8px 4px; margin-bottom: 8px; text-decoration: underline; text-underline-offset: 3px; }
.copy { margin-top: 14px !important; letter-spacing: .06em; }

/* 404 */
.empty { padding: 80px var(--gutter); text-align: center; }
.empty h1 { font-size: 22px; font-weight: 900; }
.empty p { color: var(--sub); margin: 10px 0 24px; }

/* age gate */
.agegate { display: none; }
.has-agegate .agegate {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; padding: 20px;
  background: rgba(10, 8, 14, .72); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.has-agegate:not(.age-ok) body { overflow: hidden; }
.has-agegate.age-ok .agegate { display: none; }
.agegate__box {
  width: 100%; max-width: 360px; padding: 28px 22px 22px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; display: grid; gap: 12px;
}
.agegate__box h2 { font-size: 22px; font-weight: 900; margin: 8px 0 0; }
.agegate__box p:not(.logo) { color: var(--sub); font-size: 13px; margin-bottom: 8px; }

@media (min-width: 640px) {
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 36px; }
  .media--top { height: 300px; }
}
