/* ==========================================================
   今日はこれでいいや。 - Affiliate Media (demo)
   PC / Mobile responsive
   ========================================================== */
:root {
  --primary: #fa2b5e;
  --primary-dark: #d81f4e;
  --primary-deep: #c01442;
  --pink-50: #fff5f8;
  --pink-100: #ffeef3;
  --pink-200: #ffdee8;
  --pink-300: #ffb9cc;
  --tag-pink-bg: #ffe3ec;
  --tag-pink: #f43f6c;
  --tag-blue-bg: #edf1f7;
  --tag-blue: #66748a;
  --ink: #23252f;
  --sub: #55586a;
  --muted: #9aa0b4;
  --line: #f3e2e9;
  --card-line: #f6e4ea;
  --gold: #f6a609;
  --silver: #aeb6c6;
  --bronze: #c47b3a;
  --green: #22b07d;
  --bg: #fff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(250, 43, 94, 0.08);
  --shadow-md: 0 8px 28px rgba(214, 31, 78, 0.12);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --hand-en: "Caveat", "Segoe Script", cursive;
  --hand-jp: "Yomogi", "Zen Maru Gothic", "Hiragino Sans", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.page { padding-bottom: 72px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #fbe7ee;
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 1; min-width: 0; }
.logo-mark { font-weight: 900; font-size: 22px; letter-spacing: -0.5px; line-height: 1; white-space: nowrap; }
.logo-mark.brand { font-family: var(--hand-jp); font-weight: 400; font-size: 23px; letter-spacing: 1px; color: #222; }
.logo-mark.brand .l-accent { color: var(--primary); }
.logo-sub { font-size: 10px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.platform-switch { display: flex; gap: 6px; flex-shrink: 0; }
.platform-switch a {
  border: 1px solid #f3c2d0; border-radius: 999px; padding: 5px 12px;
  font-size: 12px; font-weight: 800; color: var(--sub); background: #fff;
}
.platform-switch a.is-on { background: var(--primary); color: #fff; border-color: var(--primary); }
.header-nav { display: flex; gap: 22px; margin-left: auto; font-size: 13px; font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.pager a, .pager span { border: 1px solid #f3c2d0; border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.pager .is-on { background: var(--primary); color: #fff; border-color: var(--primary); }
.header-nav a { position: relative; padding: 6px 0; color: var(--sub); }
.header-nav a:hover { color: var(--primary); }
.header-nav a.active { color: var(--primary); }
.header-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}
.icon-btn {
  border: none; background: transparent; padding: 8px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--pink-100); }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--ink); }
.btn-login {
  background: linear-gradient(180deg, #ff3d6e, #f81e58);
  color: #fff; border: none; border-radius: 999px;
  padding: 9px 30px; font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 14px rgba(248, 30, 88, 0.35);
  flex-shrink: 0;
}
.btn-login:hover { filter: brightness(0.96); }
.hamburger { display: none; border: none; background: none; padding: 8px; flex-shrink: 0; }
.hamburger svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ---------- Buttons / tags ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(180deg, #ff3d6e, #f81e58);
  color: #fff; border: none; border-radius: 10px;
  padding: 12px 26px; font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 14px rgba(248, 30, 88, 0.3);
}
.btn-primary:hover { filter: brightness(0.96); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  background: #fff; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: 10px;
  padding: 8px 14px; font-weight: 700; font-size: 13px; width: 100%;
  transition: background 0.15s;
}
.btn-outline:hover { background: var(--pink-50); }
.btn-outline.sm { padding: 6px 12px; font-size: 12px; width: auto; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: var(--tag-blue-bg); color: var(--tag-blue);
  border-radius: 6px; padding: 2px 8px; line-height: 1.6; white-space: nowrap;
}
.tag-pink { background: var(--tag-pink-bg); color: var(--tag-pink); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 16px; scroll-margin-top: 76px; }
.detail-hero { scroll-margin-top: 76px; }
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 19px; font-weight: 800; margin: 0;
}
.section-title::before {
  content: ""; width: 4px; height: 22px; border-radius: 4px; background: var(--primary);
  flex-shrink: 0;
}
.link-more { color: var(--primary); font-weight: 700; font-size: 13px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #fff7f9 0%, #ffedf2 45%, #ffd9e4 100%); }
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 48px 20px 40px;
  position: relative; z-index: 2;
}
.hero-copy { max-width: 560px; }
.hero-copy h1 { font-size: 38px; line-height: 1.35; margin: 0 0 12px; letter-spacing: 0.5px; }
.hero-copy h1 .accent { color: var(--primary); }
.hero-copy p { color: var(--sub); font-size: 13.5px; margin: 0 0 20px; }
.hero-img {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0, #000 32%);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hand { position: absolute; z-index: 2; color: #d84a6f; pointer-events: none; }
.hand-jp { font-family: var(--hand-jp); font-size: 15px; line-height: 1.5; transform: rotate(-8deg); text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9); }
.hand-en { font-family: var(--hand-en); font-size: 26px; transform: rotate(-10deg); text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9); }

/* ---------- Rebrand: 今日はこれでいいや。 ---------- */
.hero-kicker { color: var(--primary); font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.hero-kicker .kick-marks { letter-spacing: -1px; margin-right: 6px; display: inline-block; transform: skewX(-12deg); }
.hero-copy h1.brand-hero { font-family: var(--hand-jp); font-weight: 400; font-size: 52px; letter-spacing: 2px; line-height: 1.25; }
.hero-lead { font-weight: 800; font-size: 16px; color: var(--ink); margin: 0 0 6px; }
.hero-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.btn-pill { border-radius: 999px; width: auto; padding: 13px 32px; font-size: 14px; }
.hero .hero-hand1 { top: 52%; left: 53%; max-width: 160px; }
.hero .hand-oval {
  top: 40px; right: 5%;
  border: 2px solid #f48fb1; border-radius: 50%;
  padding: 12px 20px; text-align: center;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(8deg); font-size: 14px;
}
.hand-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #f6b8cd; border-radius: 14px;
  padding: 8px 14px; text-shadow: none;
  box-shadow: 0 2px 10px rgba(250, 43, 94, 0.1);
}
.page-hero .hand-pill { top: 16px; right: 4%; }
.page-hero .hand-pill.bl { top: auto; bottom: 14px; right: 3%; }
.detail-photo .hand-pill { top: auto; bottom: 14px; left: 12px; font-size: 13px; }
.gb-hand {
  display: inline-block; margin-top: 6px;
  font-family: var(--hand-jp); color: #d84a6f; font-size: 13px;
  transform: rotate(-4deg);
}

.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px; padding: 6px 6px 6px 14px;
  box-shadow: 0 6px 24px rgba(214, 31, 78, 0.12);
  border: 1px solid #ffe0e9; max-width: 560px;
}
.search-bar svg { width: 18px; height: 18px; stroke: var(--muted); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; outline: none; font-size: 14px; padding: 10px 4px; background: transparent; min-width: 0;
}
.search-bar button {
  background: linear-gradient(180deg, #ff3d6e, #f81e58); color: #fff;
  border: none; border-radius: 8px; padding: 10px 34px; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.keywords { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 12px; }
.keywords .kw-label { color: var(--sub); font-weight: 700; }
.kw-chip {
  background: #fff; border: 1px solid #f3d3dd; color: var(--sub);
  border-radius: 999px; padding: 4px 14px; font-size: 12px; font-weight: 700;
}
.kw-chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Feature trio ---------- */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid #fbe7ee;
  margin-top: 22px; overflow: hidden;
}
.feature { display: flex; gap: 12px; padding: 18px 20px; align-items: center; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--pink-100); display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; }
.feature h3 { margin: 0; font-size: 14px; line-height: 1.5; }
.feature p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); }

/* ---------- Creator cards ---------- */
.creator-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.creator-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.creator-card {
  background: #fff; border: 1px solid var(--card-line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.15s, box-shadow 0.15s;
  display: flex; flex-direction: column;
}
.creator-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-img { position: relative; aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--pink-100); }
.card-img > a { display: block; width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.fav-btn {
  position: absolute; right: 8px; bottom: 8px;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.fav-btn svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; }
.fav-btn.active svg { stroke: var(--primary); fill: var(--primary); }
.card-body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-name { font-weight: 800; font-size: 15px; }
.card-followers { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--sub); white-space: nowrap; }
.card-followers svg { width: 13px; height: 13px; stroke: var(--primary); fill: var(--primary); flex-shrink: 0; }
.card-works { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card-body .btn-outline { margin-top: auto; }
.card-title-clamp {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 13px; line-height: 1.4; min-height: 2.8em; font-weight: 800;
}
.work-card .card-img img { object-fit: cover; object-position: right center; }
.work-cover img { object-fit: cover; object-position: right center; }
.work-text-list { margin: 0 0 28px; padding-left: 1.2em; color: var(--sub); font-size: 13.5px; line-height: 1.8; }
.work-text-list a { font-weight: 700; }
.work-text-list a:hover { text-decoration: underline; color: var(--primary); }
.sample-wrap { margin: 12px 0 16px; }
.sample-video { width: 100%; max-height: 420px; background: #000; border-radius: 12px; display: block; }
.quality-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 8px; font-size: 13px; color: var(--sub);
}
.quality-btn {
  border: 1.5px solid #f3c0d0; background: #fff; color: var(--primary);
  border-radius: 999px; padding: 4px 12px; font-weight: 800; cursor: pointer;
}
.quality-btn.is-on, .quality-btn[aria-pressed="true"] {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.fav-btn, .btn-fav-top { display: none !important; }

/* ---------- Guide banner (home) ---------- */
.guide-banner {
  margin-top: 30px; background: var(--pink-50); border: 1px solid #ffe0e9;
  border-radius: 16px; padding: 22px 26px; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
}
.guide-banner .gb-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.guide-banner .gb-icon svg { width: 30px; height: 30px; stroke: var(--primary); fill: none; }
.guide-banner h3 { margin: 0; font-size: 19px; }
.guide-banner .gb-kicker { color: var(--primary); font-weight: 800; font-size: 12px; }
.guide-banner p { margin: 2px 0 0; font-size: 12px; color: var(--sub); }
.guide-banner .btn-primary { margin-left: auto; border-radius: 999px; padding: 12px 40px; flex-shrink: 0; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #fff7f9 0%, #ffedf2 50%, #ffd9e4 100%); }
.page-hero-inner { max-width: 1080px; margin: 0 auto; padding: 36px 20px 30px; position: relative; z-index: 2; }
.page-hero h1 { font-size: 30px; margin: 0 0 8px; }
.page-hero h1 .accent { color: var(--primary); }
.page-hero p { color: var(--sub); font-size: 13px; margin: 0; max-width: 560px; }
.page-hero .kicker { color: var(--primary); font-weight: 800; font-size: 13px; }
.page-hero .hero-img { width: 42%; }

/* ---------- Search page ---------- */
.search-layout { display: grid; grid-template-columns: 200px 1fr; gap: 22px; margin-top: 24px; align-items: start; }
.filter-panel {
  background: #fff; border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 16px; position: sticky; top: 76px;
}
.filter-panel h3 { font-size: 14px; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.filter-panel h3 svg { width: 15px; height: 15px; stroke: var(--primary); }
.filter-group { border-top: 1px solid var(--line); padding: 12px 0; }
.filter-group h4 { font-size: 13px; margin: 0 0 8px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--sub); padding: 3px 0; cursor: pointer; }
.check input { accent-color: var(--primary); width: 15px; height: 15px; }
.btn-reset {
  width: 100%; margin-top: 8px; background: #fff; border: 1px solid #e5e7f0; color: var(--sub);
  border-radius: 999px; padding: 8px; font-size: 12px; font-weight: 700;
}
.btn-reset:hover { border-color: var(--primary); color: var(--primary); }
.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.results-count { font-weight: 800; font-size: 15px; }
.results-count strong { color: var(--primary); font-size: 20px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub); }
.sort-wrap select {
  border: 1px solid #e5e7f0; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; background: #fff;
}
.genre-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
#genre-tabs { display: none; }
.genre-tab {
  border: 1px solid #f0d4de; background: #fff; color: var(--sub);
  border-radius: 999px; padding: 6px 18px; font-size: 12.5px; font-weight: 700;
}
.genre-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 30px 0 10px; }
.page-btn {
  min-width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent;
  font-weight: 700; font-size: 13px; color: var(--sub); padding: 0 8px;
}
.page-btn:hover { background: var(--pink-100); }
.page-btn.active { background: var(--primary); color: #fff; }
.page-btn.nav { border: 1px solid #eee; border-radius: 50%; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state p { margin: 10px 0 18px; }

/* mobile list rows (search results on SP) */
.creator-rows { display: none; }

/* ---------- Ranking ---------- */
.ranking-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; margin-top: 22px; align-items: start; }
.rank-modes { display: flex; gap: 8px; margin-bottom: 12px; }
.rank-mode {
  border: 1px solid #f0d4de; background: #fff; color: var(--sub);
  border-radius: 999px; padding: 8px 22px; font-size: 13.5px; font-weight: 800;
}
.rank-mode.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.rank-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.rank-tab {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid transparent; background: #f4f5fa; color: var(--sub);
  border-radius: 8px; padding: 7px 14px; font-size: 12.5px; font-weight: 700;
}
.rank-tab svg { width: 14px; height: 14px; }
.rank-tab.active { background: var(--primary); color: #fff; }
.rank-updated { text-align: right; font-size: 11px; color: var(--muted); margin: 4px 0 10px; }
.follow-list { display: flex; flex-direction: column; }
.rank-row {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--line); padding: 12px 4px;
}
.rank-num { width: 44px; text-align: center; font-size: 22px; font-weight: 900; color: var(--muted); flex-shrink: 0; }
.rank-num.r1 { color: var(--gold); } .rank-num.r2 { color: var(--silver); } .rank-num.r3 { color: var(--bronze); }
.rank-thumb { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.rank-info { flex: 1; min-width: 0; }
.rank-info h3 { margin: 0; font-size: 15px; }
.rank-info .card-tags { margin: 3px 0; }
.rank-info .rank-comment { font-size: 11.5px; color: var(--muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-stats { text-align: right; flex-shrink: 0; }
.rank-stats .num { font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 4px; justify-content: flex-end; white-space: nowrap; }
.rank-stats .num svg { width: 13px; height: 13px; stroke: var(--muted); }
.rank-stats .grow { font-size: 12px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.rank-stats .grow.down { color: #3b82f6; }
.btn-follow {
  background: #fff; border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: 999px; padding: 7px 20px; font-weight: 700; font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; white-space: nowrap;
}
.btn-follow svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }
.btn-follow.active { background: var(--primary); color: #fff; }
.btn-follow.active svg { fill: #fff; stroke: #fff; }
.side-card {
  background: #fff; border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 18px;
}
.side-card h3 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.side-card h3 svg { width: 18px; height: 18px; stroke: var(--primary); }
.side-card h3 .link-more { margin-left: auto; font-size: 12px; }
.spot-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.spot-img img { width: 100%; height: 100%; object-fit: cover; }
.spot-badge {
  position: absolute; top: 8px; left: 8px; background: #ff7ab0; color: #fff;
  font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 12px;
}
.spot-name { font-weight: 800; font-size: 16px; margin: 10px 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spot-desc { font-size: 12px; color: var(--sub); margin: 0 0 12px; }
.trend-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.trend-row:first-of-type { border-top: none; }
.trend-pos {
  width: 22px; height: 22px; border-radius: 50%; background: var(--pink-100); color: var(--primary);
  font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trend-row img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.trend-row .t-info { flex: 1; min-width: 0; }
.trend-row .t-info b { font-size: 12.5px; display: block; }
.trend-row .t-info span { font-size: 11px; color: var(--primary); font-weight: 800; }

/* ---------- Guide ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.step-card {
  background: #fff; border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 18px 14px; text-align: center; position: relative;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff;
  font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.step-card h3 { margin: 8px 0 6px; font-size: 15px; }
.step-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--pink-50);
  display: flex; align-items: center; justify-content: center; margin: 6px auto;
}
.step-icon svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; }
.step-card p { font-size: 11.5px; color: var(--sub); margin: 0; text-align: left; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.info-card { background: var(--pink-50); border: 1px solid #ffe0e9; border-radius: var(--radius); padding: 18px 16px; text-align: center; }
.info-card svg { width: 30px; height: 30px; stroke: var(--primary); fill: none; }
.info-card h3 { color: var(--primary); font-size: 14px; margin: 8px 0 6px; }
.info-card p { font-size: 11.5px; color: var(--sub); margin: 0; text-align: left; }
.faq { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--card-line); border-radius: 12px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; background: none; border: none; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; text-align: left;
}
.faq-q .q-badge {
  width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.faq-q .q-text { flex: 1; }
.faq-q .q-arrow { transition: transform 0.2s; color: var(--muted); flex-shrink: 0; }
.faq-item.open .q-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 16px 14px 48px; font-size: 12.5px; color: var(--sub); }
.faq-item.open .faq-a { display: block; }
.cta-band {
  margin-top: 26px; background: var(--pink-50); border: 1px solid #ffe0e9;
  border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; gap: 16px; position: relative;
}
.cta-band .gb-icon {
  width: 60px; height: 60px; border-radius: 50%; background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.cta-band .gb-icon svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; }
.cta-band .cb-kicker { color: var(--primary); font-weight: 800; font-size: 12px; }
.cta-band h3 { margin: 0; font-size: 18px; }
.cta-band p { margin: 2px 0 0; font-size: 12px; color: var(--sub); }
.cta-band .btn-primary { margin-left: auto; border-radius: 999px; padding: 12px 36px; flex-shrink: 0; }
.mini-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.mini-gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; }
.mini-gallery figcaption {
  position: absolute; bottom: 8px; right: 8px; font-family: var(--hand-jp);
  color: #fff; font-size: 13px; white-space: nowrap;
  background: rgba(35, 37, 47, 0.5); border-radius: 999px; padding: 2px 12px;
}

/* ---------- Creator detail ---------- */
.breadcrumb { font-size: 12px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a:hover { color: var(--primary); }
.detail-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; margin-top: 12px; background: linear-gradient(115deg, #fff7f9, #ffe9f0); border-radius: 18px; overflow: hidden; position: relative; }
.detail-photo { position: relative; min-height: 340px; }
.detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.detail-info { padding: 30px 30px 26px; position: relative; }
.detail-info h1 { font-size: 32px; margin: 0; display: flex; align-items: center; gap: 10px; padding-right: 150px; }
.detail-info h1 .verified { width: 22px; height: 22px; flex-shrink: 0; }
.detail-kana { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.detail-info .card-tags { margin: 8px 0 12px; }
.detail-desc { font-size: 13px; color: var(--sub); }
.detail-stats { display: flex; gap: 26px; margin: 16px 0; flex-wrap: wrap; row-gap: 10px; }
.detail-stats .ds { display: flex; align-items: center; gap: 8px; }
.detail-stats .ds svg { width: 20px; height: 20px; stroke: var(--primary); fill: var(--primary); flex-shrink: 0; }
.detail-stats .ds b { font-size: 19px; white-space: nowrap; }
.detail-stats .ds span { font-size: 11px; color: var(--muted); display: block; line-height: 1.3; }
.btn-official {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #ff3d6e, #f81e58); color: #fff; border: none;
  border-radius: 12px; padding: 14px 40px; font-weight: 800; font-size: 15px; width: 100%;
  box-shadow: 0 4px 14px rgba(248, 30, 88, 0.3);
  text-decoration: none; box-sizing: border-box;
}
.official-note { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.btn-fav-top {
  position: absolute; top: 24px; right: 24px;
  background: #fff; border: 1px solid #f0d4de; color: var(--primary);
  border-radius: 999px; padding: 7px 18px; font-weight: 700; font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-fav-top svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.btn-fav-top.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-fav-top.active svg { fill: #fff; stroke: #fff; }
.detail-tabs {
  display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-top: 22px;
  overflow-x: auto; scrollbar-width: none;
}
.detail-tabs a { padding: 10px 4px; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.detail-tabs a.active, .detail-tabs a:hover { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }
.profile-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; margin-top: 14px; }
.profile-table { border: 1px solid var(--card-line); border-radius: 12px; overflow: hidden; }
.profile-table dl { display: grid; grid-template-columns: 110px 1fr; margin: 0; font-size: 12.5px; }
.profile-table dt { background: var(--pink-50); padding: 10px 12px; color: var(--sub); font-weight: 700; border-bottom: 1px solid var(--line); }
.profile-table dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.profile-table dl > :nth-last-child(-n+2) { border-bottom: none; }
.message-card { background: var(--pink-50); border: 1px solid #ffe0e9; border-radius: 12px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.message-card blockquote { margin: 0; font-size: 13px; color: var(--sub); font-style: normal; }
.message-card .sig { font-family: var(--hand-en); font-size: 28px; color: #e88aa5; }
.message-card h4 { margin: 0 0 6px; font-size: 13px; }
.message-card p { font-size: 12px; color: var(--sub); margin: 0; }
.content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.content-card { border: 1px solid var(--card-line); border-radius: 12px; overflow: hidden; background: #fff; }
.content-card .card-img { aspect-ratio: 16/11; }
.content-card .card-body { padding: 8px 10px 10px; }
.content-card h4 { margin: 0; font-size: 13px; }
.points-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.point-card { background: var(--pink-50); border: 1px solid #ffe0e9; border-radius: 12px; padding: 16px 12px; text-align: center; }
.point-card svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; }
.point-card h4 { margin: 8px 0 4px; font-size: 13px; }
.point-card p { margin: 0; font-size: 11px; color: var(--sub); }
.faq-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.related-card { display: flex; gap: 10px; border: 1px solid var(--card-line); border-radius: 12px; padding: 8px; background: #fff; align-items: center; }
.related-card img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.related-card b { font-size: 13px; display: block; }
.related-card .fav-btn { position: static; width: 28px; height: 28px; margin-left: auto; box-shadow: none; border: 1px solid #f0d4de; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #fbe7ee; background: #fff; padding: 22px 0 90px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; margin-left: auto; font-size: 12px; color: var(--sub); flex-wrap: wrap; }
.footer-links a:hover { color: var(--primary); }
.footer-note { width: 100%; font-size: 10.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid #f3d3dd;
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; color: var(--muted); font-weight: 700; padding: 4px 0;
  white-space: nowrap; min-width: 0;
}
.bottom-nav a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; flex-shrink: 0; }
.bottom-nav a.active { color: var(--primary); }
.bottom-nav a.active svg { fill: var(--primary); stroke: var(--primary); }
.bottom-nav a.active svg.no-fill { fill: none; stroke: var(--primary); }

/* ---------- Drawer / modal / toast ---------- */
.drawer-veil, .modal-veil {
  position: fixed; inset: 0; background: rgba(35, 37, 47, 0.45); z-index: 80;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.drawer-veil.show, .modal-veil.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: -300px; bottom: 0; width: 270px; z-index: 90;
  background: #fff; padding: 20px; transition: right 0.25s; overflow-y: auto;
}
.drawer.show { right: 0; }
.drawer a { display: block; padding: 12px 4px; font-weight: 700; border-bottom: 1px solid var(--line); }
.drawer a:hover { color: var(--primary); }
.modal {
  position: fixed; z-index: 95; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.96);
  background: #fff; border-radius: 18px; padding: 30px 28px; width: calc(100% - 40px); max-width: 380px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  text-align: center;
}
.modal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal h3 { margin: 0 0 6px; font-size: 18px; }
.modal p { font-size: 12.5px; color: var(--sub); }
.modal .btn-primary { width: 100%; margin-top: 12px; border-radius: 999px; }
.modal .btn-ghost { width: 100%; margin-top: 8px; background: #f1f2f7; border: none; border-radius: 999px; padding: 12px; font-weight: 700; }
.toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 999px; z-index: 120;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.back-to-top {
  position: fixed; right: 18px; bottom: 84px; z-index: 50;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid #f0d4de; background: #fff;
  box-shadow: var(--shadow-md); font-size: 18px; color: var(--primary); display: none;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .creator-grid { grid-template-columns: repeat(4, 1fr); }
  .creator-grid.cols4 { grid-template-columns: repeat(3, 1fr); }
  .ranking-layout { grid-template-columns: 1fr; }
  .rank-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .side-card { margin-bottom: 0; }
  .content-grid, .points-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-nav, .logo-sub { display: none; }
  .header-inner .icon-btn { display: none; }
  .hamburger { display: inline-flex; }
  .header-inner { gap: 10px; }
  .logo { margin-right: auto; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy h1.brand-hero { font-size: 36px; }
  .hand { display: none; }
  .hero { display: flex; flex-direction: column; }
  .hero-img {
    position: relative; width: 100%; height: 220px; order: -1;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-img::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
    background: linear-gradient(180deg, rgba(255, 247, 249, 0), #fff7f9);
  }
  .hero-inner { padding: 20px 14px 26px; width: 100%; }
  .page-hero .hero-img { display: none; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: none; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  #genre-tabs { display: flex; }
  .filter-panel { position: static; }
  .filter-collapsible { display: none; }
  .filter-panel.open .filter-collapsible { display: block; }
  .filter-toggle { display: flex !important; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-photo { min-height: 300px; }
  .detail-info h1 { padding-right: 0; }
  .btn-fav-top { position: static; margin-bottom: 12px; }
  .profile-grid { grid-template-columns: 1fr; }
  .message-card { grid-template-columns: 1fr; }
  .faq-2col { grid-template-columns: 1fr; }
  .guide-banner, .cta-band { flex-direction: column; text-align: center; }
  .guide-banner .btn-primary, .cta-band .btn-primary { margin-left: 0; width: 100%; }
  .mini-gallery { grid-template-columns: repeat(2, 1fr); }
  .rank-side { grid-template-columns: 1fr; }
  .bottom-nav { display: flex; }
  .site-footer { padding-bottom: 110px; }
  .footer-links { margin-left: 0; }
  .page { padding-bottom: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 13px; }
  .container { padding: 0 14px; }
  .header-inner { padding: 8px 14px; }
  .logo-mark.brand { font-size: 19px; letter-spacing: 0; }
  .btn-login { padding: 7px 16px; font-size: 12px; white-space: nowrap; }
  .hero-img { height: 190px; }
  .hero-copy h1.brand-hero { font-size: 30px; letter-spacing: 1px; }
  .hero-actions .btn-pill { flex: 1; padding: 12px 8px; font-size: 13px; white-space: nowrap; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature { flex-direction: column; text-align: center; padding: 12px 6px; gap: 8px; }
  .feature + .feature { border-top: none; border-left: 1px solid var(--line); }
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature h3 { font-size: 11px; }
  .feature p { font-size: 10px; }
  .hero-copy h1 { font-size: 26px; }
  .search-bar button { padding: 10px 22px; }
  .creator-grid, .creator-grid.cols4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-name { font-size: 13.5px; }
  /* mobile home: horizontal scroll feel */
  .creator-grid.scroll-x {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -14px; padding: 0 14px 6px; gap: 10px;
  }
  .creator-grid.scroll-x .creator-card { min-width: 158px; scroll-snap-align: start; }
  /* mobile search: list rows */
  .creator-grid.as-rows { display: flex; flex-direction: column; gap: 12px; }
  .creator-grid.as-rows .creator-card { flex-direction: row; }
  .creator-grid.as-rows .card-img { width: 118px; min-width: 118px; aspect-ratio: auto; min-height: 150px; }
  .creator-grid.as-rows .fav-btn { display: none; }
  .creator-grid.as-rows .card-desc { display: block !important; font-size: 11px; color: var(--sub); }
  .page-hero-inner { padding: 26px 14px 22px; }
  .page-hero h1 { font-size: 24px; }
  .rank-thumb { width: 60px; height: 60px; }
  .rank-num { width: 30px; font-size: 18px; }
  .rank-row { gap: 10px; padding: 12px 0; flex-wrap: wrap; }
  .rank-info { flex: 1 1 140px; }
  .rank-stats { margin-left: auto; }
  .rank-row .btn-follow { margin-left: auto; }
  .btn-follow { padding: 6px 12px; font-size: 11.5px; }
  .rank-stats .num { font-size: 12px; }
  .detail-info { padding: 20px 16px; }
  .detail-info h1 { font-size: 24px; }
  .section-title { font-size: 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .step-card { padding: 14px 8px; }
  .back-to-top { right: 12px; bottom: 96px; width: 38px; height: 38px; font-size: 16px; }
  .toast { bottom: 96px; }
}
.filter-toggle {
  display: none; width: 100%; background: var(--pink-50); border: 1px solid #ffe0e9;
  border-radius: 10px; padding: 10px; font-weight: 800; font-size: 13px; color: var(--primary);
  align-items: center; justify-content: center; gap: 6px; margin-bottom: 10px;
}
.card-desc { display: none; }
.sp-only { display: none; }
@media (max-width: 860px) { .sp-only { display: block; } .pc-only { display: none; } }

/* ---------- 2026-10-02 rebuild additions ---------- */
.video-badge {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  background: rgba(35, 37, 47, 0.82); color: #fff;
  font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px;
  pointer-events: none;
}
.content-card h4 a:hover { color: var(--primary); }
.content-card .btn-outline.sm { margin-top: auto; }
.work-card .card-img { aspect-ratio: 16/11; }

.sample-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 18px; }
.sample-img-grid .card-img { border-radius: 10px; overflow: hidden; background: var(--surface2, #f2f3f7); }
.sample-img-grid .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .sample-img-grid { grid-template-columns: repeat(2, 1fr); } }

/* Usability repairs, 2026-10-07 */
:root { --primary:#c91b4b; --primary-dark:#ac123d; --tag-pink:#b51b47; --tag-blue:#526075; --muted:#60697b; }
.btn-primary,.btn-login,.search-bar button,.btn-official { background:#c91b4b; }
:focus-visible { outline:3px solid #1669b2; outline-offset:3px; }
.card-body,.rank-info { min-width:0; }
.card-name,.rank-info h3 { overflow-wrap:anywhere; }
.card-followers { white-space:normal; flex-wrap:wrap; }
.creator-card:not(.work-card) .card-img { aspect-ratio:1; }
.creator-card:not(.work-card) .card-img img { object-fit:contain; object-position:center !important; }
.card-img > a { display:flex; align-items:center; justify-content:center; }
.card-img img[src*="/mono/actjpgs/"] { max-width:125px; max-height:125px; margin:auto; }
.portrait-detail img[src*="/mono/actjpgs/"] { max-width:125px; max-height:125px; margin:auto; }
.card-title-clamp { -webkit-line-clamp:3; }
.work-card .card-img img,.work-cover img { object-fit:contain; object-position:center; }
.work-cover { background:#fff5f8; }
.sample-frame { border:0; width:100%; aspect-ratio:3/2; max-height:600px; background:#171923; display:block; border-radius:12px; }
.content-card h3 { margin:0; font-size:13px; }
.portrait-detail { min-height:250px; }
.portrait-detail { display:flex; align-items:center; justify-content:center; }
.portrait-detail img { object-fit:contain; object-position:center; }
.drawer { visibility:hidden; overflow:auto; max-height:100dvh; }
.drawer.show { visibility:visible; }
.drawer-close { display:block; margin:0 0 12px auto; background:white; color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:10px 14px; }
.skip-link { position:fixed; top:-80px; left:12px; z-index:200; background:white; color:#222; padding:12px; border:2px solid #1669b2; }
.skip-link:focus { top:12px; }
.filter-group .check { min-height:40px; }
.active-filters { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; align-items:center; }
.active-filters:empty { display:none; }
.active-filters button { background:var(--pink-50); color:var(--primary); border:1px solid #efbbc9; border-radius:999px; padding:8px 12px; }
.data-note { font-size:12px; color:var(--sub); margin:12px 0; }
.scroll-hint { font-size:12px; color:var(--sub); margin:0 0 8px; }
.rank-controls { display:flex; gap:12px; flex-wrap:wrap; margin:16px 0; }
.rank-controls input { flex:1; min-width:120px; padding:12px; border:1px solid #d4c2ca; border-radius:8px; }
.rank-info h3 a { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.rank-stats .grow { color:var(--sub); }
.saved-list-note { margin:12px 0 20px; color:var(--sub); }
.pagination button,.pager a,.page-btn { min-width:40px; min-height:40px; }
.table-scroll { overflow-x:auto; }
.sale-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.site-header .header-inner { flex-wrap:wrap; }
.header-nav { gap:14px; }
.hero-search { margin-top:16px; }
.detail-kana { color:var(--sub); }
@media(min-width:861px) and (max-width:1180px) { .logo-sub { display:none; } .header-inner { gap:10px; } .logo-mark.brand { font-size:20px; } .btn-login { padding:9px 14px; } .header-nav { font-size:12px; gap:12px; } }
@media(max-width:860px) {
 .header-inner { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:6px 10px; padding:8px 14px; }
 .header-inner .logo { grid-column:1 / 3; grid-row:1; margin:0; min-width:0; }
 .header-inner .logo-mark.brand { font-size:20px; line-height:1.5; white-space:normal; }
 .header-inner .platform-switch { grid-column:1; grid-row:2; }
 .header-inner .platform-switch a { padding:7px 14px; }
 .header-inner .btn-login { grid-column:2 / 4; grid-row:2; padding:9px 16px; font-size:12px; text-align:center; white-space:nowrap; }
 .header-inner .hamburger { grid-column:3; grid-row:1; min-width:44px; min-height:44px; justify-content:center; align-items:center; }
 .header-nav { display:none; }
 .hero > .hero-img { display:none; }
 .hero-inner { padding:22px 14px; }
 .hero-copy p { margin-bottom:12px; }
 .hero-copy h1.brand-hero { font-size:30px; }
 .page-hero-inner { padding:22px 14px; }
 #genre-tabs { display:none; }
 .filter-group { display:grid; grid-template-columns:1fr 1fr; gap:2px 10px; }
 .filter-group h4 { grid-column:1 / -1; }
 .filter-group .check { display:flex; align-items:center; min-height:44px; font-size:12px; margin:0; }
 .filter-panel { padding:12px; }
 .filter-panel h3 { display:none; }
 .filter-toggle { margin:0; min-height:44px; }
 .search-layout { gap:16px; }
 .detail-photo.portrait-detail { min-height:220px; max-height:300px; }
 .detail-photo.portrait-detail img { position:relative; height:220px; }
 .bottom-nav { padding-bottom:env(safe-area-inset-bottom); }
 .sale-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px) {
 .creator-grid.as-rows .creator-card { align-items:flex-start; }
 .creator-grid.as-rows .card-img { width:100px; min-width:100px; height:100px; min-height:0; aspect-ratio:1; flex:none; margin:12px 0 12px 12px; border-radius:8px; }
 .creator-grid.as-rows .card-desc { display:none !important; }
 .creator-grid.as-rows .card-body { padding:12px; gap:5px; }
 .creator-grid.as-rows .card-tags { max-height:48px; overflow:hidden; }
 .creator-grid.as-rows .card-followers,.creator-grid.as-rows .card-works { font-size:11.5px; }
 .creator-grid.scroll-x > article { flex:0 0 158px; scroll-snap-align:start; }
 .creator-grid.scroll-x { scrollbar-width:thin; }
 .rank-row { display:grid; grid-template-columns:30px 60px minmax(0,1fr); align-items:start; }
 .rank-info { grid-column:3; }
 .rank-stats { grid-column:3; margin:0; }
 .rank-row > .btn-follow { grid-column:3; margin:0; justify-self:start; min-height:40px; }
 .rank-comment { display:none; }
 .results-head { flex-wrap:wrap; gap:10px; }
 .sort-wrap select { min-height:40px; }
 .creator-grid.as-rows .work-card .card-img { width:108px; min-width:108px; height:80px; }
 .sale-grid { grid-template-columns:1fr; }
 .hero-actions .btn-pill { white-space:normal; min-width:120px; }
 .search-bar input { font-size:16px; }
 .search-bar button { padding:10px 16px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none !important; animation:none !important; } }

.compare-columns {display:grid;grid-template-columns:1fr 1fr;gap:18px;}
@media(max-width:860px){.compare-columns {grid-template-columns:1fr;}}

.work-facts{font-size:12px;color:#60697b;padding:0 12px 12px;margin:4px 0;line-height:1.7}.work-facts small{display:block;font-size:11px}.rank-info .work-facts{padding:0}.purchase-facts{margin:16px 0;padding:16px;background:#fff;border:1px solid #eadce2;border-radius:12px}.purchase-facts h2{font-size:18px;margin:0 0 12px}.purchase-facts dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:8px;margin:0}.purchase-facts dt{color:#60697b}.purchase-facts dd{margin:0;font-weight:700}.purchase-facts .data-note{margin-top:12px}

.detail-hero:has(.detail-photo:not(.work-cover)){grid-template-columns:157px minmax(0,1fr)}.detail-photo:not(.work-cover){width:125px;height:125px;min-height:125px;max-height:125px;align-self:center;margin:16px}.detail-photo:not(.work-cover) img{position:relative;inset:auto;width:125px;height:125px;max-width:125px;max-height:125px;object-fit:contain;object-position:center}@media(max-width:600px){.detail-hero:has(.detail-photo:not(.work-cover)){grid-template-columns:1fr}.detail-photo:not(.work-cover){width:100px;height:100px;min-height:100px;max-height:100px;margin:16px auto 0}.detail-photo:not(.work-cover) img{width:100px;height:100px;max-width:100px;max-height:100px}}

.myfans-plan-info{padding:18px;border:1px solid #eadce2;border-radius:12px;margin:24px 0;background:#fff}.myfans-plan-info h2{margin:0 0 12px;font-size:20px}.plan-table-wrap{overflow-x:auto}.plan-table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.plan-table caption{text-align:left;color:#60697b;font-size:12px;padding:0 0 10px}.plan-table th,.plan-table td{padding:10px 8px;border-bottom:1px solid #eadce2;vertical-align:top}.plan-table thead{background:#fff4f7}.plan-table th:first-child{width:45%;overflow-wrap:anywhere}.plan-table td{min-width:90px}.plan-frequency{margin-top:12px;font-weight:700}.link-unavailable{padding:12px;background:#fff4f7;border-left:4px solid #c91b4b;color:#672539}@media(max-width:480px){.myfans-plan-info{padding:12px}.plan-table{font-size:12px}.plan-table th,.plan-table td{padding:8px 5px}.plan-table td{min-width:70px}}

h3.card-name{margin:0}.profile-save{margin:10px 0;min-height:42px}.profile-save.active{background:#fff0f5;color:#b61644}
