/* ============================================================
   FANBOARD — Bubbly Pop
   Nunito · Peach light · Orange/Teal/Yellow accents
   Playful, rounded, soft-shadow cards
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg:          #FFF5F0;
  --bg-card:     #ffffff;
  --bg-raised:   #FFF0E8;

  --ink:         #2D2D2D;
  --ink-2:       #888078;
  --ink-3:       #BDB5AD;

  --sep:         #F0E6DD;
  --sep-subtle:  #F5EDE6;

  --accent:      #FF6B35;
  --accent-dark: #E05A2B;
  --accent-light:#FFE8DD;
  --teal:        #4ECDC4;
  --yellow:      #FFE66D;
  --coral:       #FF6B6B;
  --mint:        #A8E6CF;

  --font:  'Nunito', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --out:    cubic-bezier(0.16, 1, 0.3, 1);

  --r-hero:   24px;
  --r-large:  20px;
  --r-medium: 16px;
  --r-small:  14px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.5;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
::-webkit-scrollbar { display: none; }

/* ── Interstitial Ad ─────────────────────────────────────────── */
.interstitial {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.35s var(--spring);
}
.interstitial.closing {
  opacity: 0; pointer-events: none;
}
.interstitial.hidden { display: none; }

.interstitial__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.interstitial__container {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  animation: popIn 0.4s var(--bounce) forwards;
}

.interstitial__card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  width: calc(100vw - 32px);
  max-width: 460px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  position: relative;
}

.interstitial__badge {
  position: absolute; top: 12px; left: 14px;
  font-size: 8px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light);
  padding: 3px 8px; border-radius: 6px; z-index: 2;
}

.interstitial__content { padding: 0; }

.interstitial__img-placeholder {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--sep) 50%, var(--mint) 100%);
  display: flex; align-items: center; justify-content: center;
}

.interstitial__title {
  font-size: 20px; font-weight: 900; color: var(--ink);
  padding: 18px 20px 6px; line-height: 1.2;
}
.interstitial__desc {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 0 20px 22px; line-height: 1.5;
}

.interstitial__close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  border: none; cursor: default;
  transition: background 0.2s, transform 0.3s var(--bounce);
}
.interstitial__close:not(:disabled) {
  cursor: pointer;
  background: rgba(0,0,0,0.6);
}
.interstitial__close:not(:disabled):active {
  transform: scale(0.9);
}
.interstitial__close:not(:disabled) .interstitial__timer::after {
  content: '✕';
}
.interstitial__close:not(:disabled) .interstitial__timer {
  font-size: 0;
}

.interstitial__timer {
  font-size: 13px; font-weight: 800;
  font-family: var(--font);
}

.interstitial__skip {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* ── Accessibility ───────────────────────────────────────────── */
.skip-link {
  position: fixed; top: -60px; left: 0;
  background: var(--accent); color: #fff;
  padding: 10px 16px; font-size: 13px; font-weight: 800;
  border-radius: 0 0 12px 0;
  z-index: 9999; transition: top 0.15s;
}
.skip-link:focus { top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popIn {
  0%   { transform: scale(0.9); opacity: 0; }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 245, 240, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--sep);
}

.header-inner {
  padding: 0 16px;
  padding-left:  max(16px, env(safe-area-inset-left,  16px));
  padding-right: max(16px, env(safe-area-inset-right, 16px));
}

.header-top {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 54px; gap: 10px;
}

/* Logo */
.logo {
  flex-shrink: 0; display: inline-flex;
  align-items: center; gap: 7px; min-height: 44px;
}
.logo-img {
  display: block; width: 22px; height: 22px;
  object-fit: contain; flex-shrink: 0;
}
.logo-text {
  font-family: var(--font);
  font-size: 14px; font-weight: 900;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink); line-height: 1;
}
.logo-text em {
  font-style: normal; font-weight: 900;
  color: var(--accent);
}

/* Nav */
.header-right { display: flex; align-items: center; gap: 6px; }
.header-nav   { display: flex; align-items: center; gap: 2px; }
.header-nav a:not(.nav-cta) { display: none; }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #fff;
  padding: 8px 16px; font-size: 12px; font-weight: 800;
  border-radius: 24px;
  min-height: 36px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255,107,53,0.25);
  transition: transform 0.3s var(--bounce), box-shadow 0.2s;
}
.nav-cta:active { transform: scale(0.95); }

/* Lang switcher */
.lang-switcher { position: relative; }

.lang-btn-current {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700;
  color: var(--ink-2); border: 1.5px solid var(--sep);
  padding: 5px 10px; border-radius: 20px;
  cursor: pointer; font-family: var(--font);
  min-height: 34px; min-width: 44px;
  background: var(--bg-card);
  transition: border-color 0.15s, color 0.15s;
}
.lang-btn-current:hover { border-color: var(--accent-light); color: var(--ink); }
.lang-btn-current:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lang-btn-current svg {
  width: 8px; height: 8px; flex-shrink: 0;
  transition: transform 0.2s var(--out);
}
.lang-switcher.open .lang-btn-current svg { transform: rotate(180deg); }

.lang-dropdown {
  display: none; position: absolute;
  top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1.5px solid var(--sep);
  border-radius: 16px; min-width: 160px; z-index: 300;
  overflow: hidden; padding: 6px;
  box-shadow: 0 12px 40px rgba(45,45,45,0.12);
}
.lang-switcher.open .lang-dropdown {
  display: block;
  animation: dropIn 0.2s var(--bounce) forwards;
}
.lang-option {
  display: block; width: 100%; text-align: left;
  padding: 10px 13px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; border-radius: 10px;
  font-family: var(--font);
  transition: background 0.1s, color 0.1s;
}
.lang-option:hover { background: var(--bg-raised); color: var(--ink); }
.lang-option.active { color: var(--accent); font-weight: 800; background: var(--accent-light); }
.lang-option:focus-visible { outline: 3px solid var(--accent); outline-offset: -2px; }

/* Country nav — sliding pill */
.country-nav-wrap {
  border-top: 1.5px solid var(--sep);
  position: relative;
}
.country-nav-wrap::after {
  content: ''; position: absolute;
  right: 0; top: 0; bottom: 0; width: 40px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none; z-index: 2;
}

.country-nav {
  display: flex; align-items: center;
  gap: 4px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 8px 8px;
  position: relative;
}
.country-nav::-webkit-scrollbar { display: none; }

/* Sliding pill */
.country-pill {
  position: absolute;
  top: 8px; left: 0; bottom: 8px;
  background: var(--accent);
  border-radius: 12px;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.4s var(--bounce),
              width     0.4s var(--bounce);
  will-change: transform, width;
}

.country-btn {
  flex-shrink: 0;
  font-family: var(--font); font-size: 12px;
  font-weight: 700; color: var(--ink-2);
  background: transparent; border: none;
  padding: 8px 14px; cursor: pointer;
  white-space: nowrap; min-height: 38px;
  border-radius: 12px;
  position: relative; z-index: 1;
  transition: color 0.3s var(--spring);
}
.country-btn:active:not(.active) { opacity: 0.6; }
.country-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.country-btn.active {
  color: #fff; font-weight: 800;
}

/* ── Main ────────────────────────────────────────────────────── */
.main-content {
  padding: 0 14px;
  padding-left:  max(14px, env(safe-area-inset-left,  14px));
  padding-right: max(14px, env(safe-area-inset-right, 14px));
  padding-bottom: max(80px, calc(80px + env(safe-area-inset-bottom, 0px)));
  overflow-x: hidden;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Reveal — bouncy pop-in */
.reveal {
  opacity: 0; transform: translateY(18px) scale(0.97);
  transition: opacity 0.4s var(--out), transform 0.45s var(--bounce);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger */
.zone-pair .card-large:nth-child(2)    { transition-delay: 0.08s; }
.zone-medium .card-medium:nth-child(2) { transition-delay: 0.06s; }
.zone-medium .card-medium:nth-child(3) { transition-delay: 0.12s; }
.zone-medium .card-medium:nth-child(4) { transition-delay: 0.09s; }
.zone-medium .card-medium:nth-child(5) { transition-delay: 0.15s; }
.zone-small  .card-small:nth-child(2)  { transition-delay: 0.05s; }
.zone-small  .card-small:nth-child(3)  { transition-delay: 0.10s; }
.zone-small  .card-small:nth-child(4)  { transition-delay: 0.15s; }
.zone-small  .card-small:nth-child(5)  { transition-delay: 0.07s; }
.zone-small  .card-small:nth-child(6)  { transition-delay: 0.12s; }
.zone-small  .card-small:nth-child(7)  { transition-delay: 0.17s; }

/* Zone spacing */
#zoneHero   { padding: 16px 0 14px; }
#zonePair   { padding-bottom: 14px; }
#zoneMedium { padding-bottom: 14px; }
#zoneSmall  { padding-bottom: 14px; }
#zoneList   { padding-bottom: 14px; }

/* Zone section label */
.zone-label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}

/* Chart header */
.chart-header {
  padding: 16px 0 12px;
  border-bottom: 1.5px solid var(--sep);
}
.chart-country-label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-3);
}

/* Empty */
.chart-empty {
  padding: 64px 0; font-size: 14px; font-weight: 700;
  color: var(--ink-3); text-align: center;
}

/* ── ZONE 1: HERO ────────────────────────────────────────────── */
.card-hero {
  position: relative; width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-hero);
  overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--accent) 0%, #FF9A76 100%);
  box-shadow: 0 8px 28px rgba(255,107,53,0.2);
  transition: transform 0.4s var(--bounce), box-shadow 0.3s;
}
.card-hero:active { transform: scale(0.97); }
.card-hero:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.card-hero__img-wrap { position: absolute; inset: 0; }
.card-hero__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.5s var(--spring);
}
.card-hero__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: rgba(255,255,255,0.3);
}

.card-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    rgba(0,0,0,0.05) 50%,
    rgba(0,0,0,0.55) 80%,
    rgba(0,0,0,0.8) 100%
  );
  pointer-events: none;
}

.card-hero__rank-ghost {
  position: absolute;
  top: 6px; right: 14px;
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(88px, 24vw, 160px);
  line-height: 1;
  color: rgba(255,255,255,0.1);
  letter-spacing: -6px;
  pointer-events: none; user-select: none;
}

.card-hero__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 20px 22px;
}
.card-hero__name {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(22px, 6.5vw, 38px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 5px;
  text-wrap: balance;
}
.card-hero__meta {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.6);
}

/* ── ZONE 2–3: LARGE CARDS ───────────────────────────────────── */
.zone-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card-large {
  background: var(--bg-card);
  border-radius: var(--r-large);
  overflow: hidden; cursor: pointer;
  box-shadow: 0 4px 16px rgba(45,45,45,0.06);
  transition: transform 0.4s var(--bounce), box-shadow 0.3s;
}
.card-large:active { transform: scale(0.96); }
.card-large:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.card-large__img-wrap {
  aspect-ratio: 2/3;
  overflow: hidden; position: relative;
  background: var(--accent-light);
}
.card-large__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.5s var(--spring);
}
.card-large__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--ink-3);
}

.card-large__body { padding: 10px 12px 14px; }
.card-large__rank {
  font-size: 11px; font-weight: 900;
  color: var(--accent); display: block; margin-bottom: 2px;
}
.card-large__name {
  font-size: clamp(13px, 3.5vw, 17px);
  font-weight: 800; line-height: 1.2; color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 3px;
}
.card-large__meta {
  font-size: 10px; font-weight: 600;
  color: var(--ink-3);
}

/* ── ZONE 4–8: MEDIUM CARDS ──────────────────────────────────── */
.zone-medium { display: flex; flex-direction: column; gap: 10px; }
.zone-medium__row { display: grid; gap: 10px; }
.zone-medium__row--1 { grid-template-columns: 1fr; }
.zone-medium__row--2 { grid-template-columns: 1fr 1fr; }
.zone-medium__row--3 { grid-template-columns: 1fr 1fr; }

.card-medium {
  background: var(--bg-card);
  border-radius: var(--r-medium);
  overflow: hidden; cursor: pointer;
  box-shadow: 0 3px 12px rgba(45,45,45,0.05);
  transition: transform 0.4s var(--bounce), box-shadow 0.3s;
}
.card-medium:active { transform: scale(0.96); }
.card-medium:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.card-medium__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden; position: relative;
  background: var(--sep);
}
.card-medium__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.5s var(--spring);
}
.card-medium__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--ink-3);
}

.card-medium__body { padding: 8px 10px 11px; }
.card-medium__rank {
  font-size: 10px; font-weight: 900; color: var(--teal);
  display: block; margin-bottom: 2px;
}
.card-medium__name {
  font-size: 12px; font-weight: 700;
  color: var(--ink); line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 2px;
}
.card-medium__meta {
  font-size: 10px; font-weight: 600; color: var(--ink-3);
}

/* ── ZONE 9–15: SMALL CARDS ──────────────────────────────────── */
.zone-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.card-small {
  background: var(--bg-card);
  border-radius: var(--r-small);
  overflow: hidden; cursor: pointer;
  box-shadow: 0 2px 10px rgba(45,45,45,0.04);
  transition: transform 0.35s var(--bounce);
}
.card-small:active { transform: scale(0.94); }
.card-small:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.card-small__img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden; position: relative;
  background: var(--sep-subtle);
}
.card-small__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.5s var(--spring);
}
.card-small__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink-3);
}

.card-small__body { padding: 6px 8px 8px; }
.card-small__rank {
  font-size: 9px; font-weight: 900; color: var(--coral);
  display: block; margin-bottom: 1px;
}
.card-small__name {
  font-size: 11px; font-weight: 700;
  color: var(--ink); line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── ZONE 16+: LIST ──────────────────────────────────────────── */
.zone-list-header {
  padding: 20px 0 10px;
  border-top: 1.5px solid var(--sep);
}
.zone-list { display: flex; flex-direction: column; }

.list-row {
  display: grid;
  grid-template-columns: 26px 36px 1fr;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--sep-subtle);
  cursor: pointer; min-height: 52px;
  transition: background 0.15s, border-radius 0.15s;
}
.list-row:last-child { border-bottom: none; }
.list-row:active { background: var(--accent-light); border-radius: 12px; }
.list-row:focus-visible { outline: 3px solid var(--accent); outline-offset: -2px; }

.list-row__rank {
  font-size: 13px; font-weight: 900;
  color: var(--ink-3);
  text-align: right; padding-right: 8px;
}
.list-row__avatar {
  width: 32px; height: 32px;
  border-radius: 50%; overflow: hidden;
  background: var(--sep); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--ink-3);
}
.list-row__avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.list-row__info { padding-left: 10px; min-width: 0; }
.list-row__name {
  font-size: 13px; font-weight: 700; color: var(--ink);
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.list-row__meta {
  font-size: 10px; font-weight: 600; color: var(--ink-3);
  display: block; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-row__platforms { display: none; }

/* ── Layout ──────────────────────────────────────────────────── */
.layout-split { display: block; }
.layout-main  { min-width: 0; }
.layout-sidebar { display: none; }

/* ── SPONSOR SLOTS ───────────────────────────────────────────── */
.sponsor { padding: 14px 0; }

.sponsor__badge {
  display: inline-block;
  font-size: 8px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); opacity: 0.8;
  background: var(--accent-light);
  padding: 2px 7px; border-radius: 6px;
  margin-bottom: 4px;
}

/* ── SPONSOR-A: Featured Creator (Hero下のネイティブカード) ──── */
.sponsor--featured .sponsor__card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--r-large);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255,107,53,0.08);
  border: 1.5px solid var(--accent-light);
  transition: transform 0.4s var(--bounce), box-shadow 0.3s;
}
.sponsor--featured .sponsor__card:active { transform: scale(0.97); }

.sponsor__img-wrap {
  aspect-ratio: 21/9;
  overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--sep) 100%);
}
.sponsor__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.sponsor__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--ink-3);
  letter-spacing: 1px;
}
.sponsor__img-placeholder::after { content: 'SPONSOR IMAGE'; }

.sponsor__body { padding: 12px 14px 14px; }
.sponsor__name {
  font-size: 15px; font-weight: 800; color: var(--ink);
  margin-top: 4px; margin-bottom: 3px;
}
.sponsor__desc {
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  line-height: 1.4;
}

/* ── SPONSOR-B: In-feed inline (ゾーン間のネイティブ横長) ────── */
.sponsor--infeed .sponsor__inline {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--r-medium);
  padding: 12px 14px;
  box-shadow: 0 3px 14px rgba(45,45,45,0.05);
  border: 1.5px solid var(--sep);
  transition: transform 0.3s var(--bounce), box-shadow 0.3s;
}
.sponsor--infeed .sponsor__inline:active { transform: scale(0.97); }

.sponsor__inline-img {
  width: 64px; height: 64px;
  border-radius: 14px; overflow: hidden;
  background: var(--accent-light); flex-shrink: 0;
}
.sponsor__img-placeholder--small {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.sponsor__img-placeholder--small::after {
  content: '';
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 8px; opacity: 0.25;
}
.sponsor__inline-body { min-width: 0; }
.sponsor__inline-name {
  font-size: 13px; font-weight: 800; color: var(--ink);
  margin-top: 3px;
}
.sponsor__inline-desc {
  font-size: 10px; font-weight: 600; color: var(--ink-3);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.sponsor__inline-cta {
  font-size: 11px; font-weight: 800;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}

/* ── SPONSOR-C: CTA banner (自社プロモーション) ──────────────── */
.sponsor--cta .sponsor__cta-card {
  display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #FF9A76 100%);
  border-radius: var(--r-large);
  padding: 16px 18px;
  box-shadow: 0 6px 24px rgba(255,107,53,0.2);
}
.sponsor__cta-content { min-width: 0; }
.sponsor__cta-headline {
  font-size: 15px; font-weight: 900; color: #fff;
  margin-bottom: 3px;
}
.sponsor__cta-sub {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.75);
  line-height: 1.3;
}
.sponsor__cta-btn {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--accent);
  padding: 9px 18px; font-size: 12px; font-weight: 800;
  border-radius: 20px; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s var(--bounce);
}
.sponsor__cta-btn:active { transform: scale(0.94); }

/* ── SPONSOR-D: Footer sponsor strip ─────────────────────────── */
.sponsor--footer { padding: 8px 0 0; }
.sponsor__footer-banner {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card);
  border-radius: var(--r-medium);
  padding: 12px 14px;
  border: 1px solid var(--sep);
  transition: transform 0.3s var(--bounce);
}
.sponsor__footer-banner:active { transform: scale(0.97); }
.sponsor__footer-logo {
  width: 40px; height: 40px; border-radius: 10px;
  overflow: hidden; background: var(--sep); flex-shrink: 0;
}
.sponsor__img-placeholder--tiny {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.sponsor__img-placeholder--tiny::after {
  content: '';
  width: 16px; height: 16px;
  background: var(--teal);
  border-radius: 6px; opacity: 0.3;
}
.sponsor__footer-body { min-width: 0; }
.sponsor__footer-text {
  font-size: 11px; font-weight: 600; color: var(--ink-2);
  line-height: 1.4; margin-top: 2px;
}

/* ── Skeletons ───────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--sep-subtle) 0%,
    var(--sep) 40%,
    var(--sep-subtle) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}
.sk-hero   { width: 100%; aspect-ratio: 3/4; border-radius: var(--r-hero); }
.sk-card-lg { border-radius: var(--r-large); aspect-ratio: 2/3; }
.sk-card-md { border-radius: var(--r-medium); aspect-ratio: 3/4; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1.5px solid var(--sep);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.footer-inner {
  max-width: 480px; margin: 0 auto;
  padding: 20px 16px;
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 7px; }
.footer-logo .logo-img { width: 16px; height: 16px; opacity: 0.4; }
.footer-logo .logo-text {
  font-size: 11px; font-weight: 900;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-3);
}
.footer-logo .logo-text em { font-style: normal; color: var(--accent); }
.footer-links { display: flex; align-items: center; gap: 12px; }
.footer-links a {
  font-size: 11px; font-weight: 700; color: var(--ink-3);
  min-height: 44px; display: inline-flex; align-items: center;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copyright {
  font-size: 10px; font-weight: 700; color: var(--ink-3); opacity: 0.4;
  width: 100%; margin-top: 2px;
}

/* ── Listing page ────────────────────────────────────────────── */
.listing-page { padding-top: 0; }
.listing-hero { padding: 48px 0 40px; border-bottom: 1.5px solid var(--sep); }
.listing-overline {
  font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.listing-title {
  font-size: clamp(28px, 9vw, 48px);
  font-weight: 900; line-height: 1.1;
  color: var(--ink); margin-bottom: 14px; text-wrap: balance;
}
.listing-subtitle {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  line-height: 1.7; max-width: 40ch; margin-bottom: 28px;
}
.listing-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 13px 24px; font-size: 14px; font-weight: 800;
  border-radius: 28px; min-height: 48px;
  box-shadow: 0 6px 20px rgba(255,107,53,0.25);
  transition: transform 0.3s var(--bounce);
}
.listing-cta:active { transform: scale(0.96); }
.listing-plans { display: flex; flex-direction: column; }
.listing-plan {
  padding: 24px 0; border-bottom: 1px solid var(--sep);
  display: flex; flex-direction: column; gap: 5px;
}
.listing-plan:last-child { border-bottom: none; }
.listing-plan-label { font-size: 13px; font-weight: 800; color: var(--ink); }
.listing-plan-desc { font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.7; max-width: 40ch; }

/* ── PC: phone-frame centered ────────────────────────────────── */
@media (min-width: 481px) {
  body { display: flex; flex-direction: column; align-items: center; }
  .site-header {
    width: 100%; max-width: 480px;
    border-left: 1.5px solid var(--sep);
    border-right: 1.5px solid var(--sep);
  }
  .main-content {
    max-width: 480px; width: 100%;
    border-left: 1.5px solid var(--sep);
    border-right: 1.5px solid var(--sep);
    min-height: 100vh;
  }
  .site-footer {
    width: 100%; max-width: 480px;
    border-left: 1.5px solid var(--sep);
    border-right: 1.5px solid var(--sep);
  }
  .layout-sidebar { display: none; }
  .ad-slot--d { display: none; }
  .header-nav a:not(.nav-cta) {
    display: inline-flex; align-items: center;
    font-size: 12px; font-weight: 700; color: var(--ink-3);
    padding: 6px 10px; border-radius: 10px; min-height: 34px;
  }
}

/* ── Hover (pointer devices) ─────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .card-hero:hover .card-hero__img-wrap img { transform: scale(1.04); }
  .card-large:hover { transform: scale(1.02); box-shadow: 0 8px 28px rgba(45,45,45,0.1); }
  .card-large:hover .card-large__img-wrap img { transform: scale(1.05); }
  .card-medium:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(45,45,45,0.08); }
  .card-medium:hover .card-medium__img-wrap img { transform: scale(1.05); }
  .card-small:hover { transform: scale(1.03); }
  .card-small:hover .card-small__img-wrap img { transform: scale(1.06); }
  .list-row:hover { background: var(--accent-light); border-radius: 12px; }
  .header-nav a:not(.nav-cta):hover { color: var(--accent); }
  .country-btn:hover:not(.active) { color: var(--ink); }
  .nav-cta:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255,107,53,0.35); }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
