:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --surface: #fff;
  --surface-soft: #f7f4ef;
  --ink: #28232d;
  --muted: #706977;
  --line: #e6e0da;
  --rose: #b45575;
  --rose-deep: #8e3d59;
  --rose-soft: #f7e8ed;
  --violet: #6b57a3;
  --violet-soft: #efecf8;
  --threads: #151515;
  --threads-soft: #f0f0ef;
  --gold: #9a7628;
  --green: #3d745e;
  --blue: #3d6f93;
  --shadow: 0 20px 56px rgba(48, 36, 48, .08);
  --serif: "Shippori Mincho", serif;
  --sans: "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 84% 2%, rgba(180, 85, 117, .1), transparent 26%), radial-gradient(circle at 4% 34%, rgba(107, 87, 163, .07), transparent 23%); content: ""; pointer-events: none; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(180, 85, 117, .25); outline-offset: 2px; }
.dialog-open { overflow: hidden; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(230, 224, 218, .85); background: rgba(251, 250, 247, .91); backdrop-filter: blur(18px); }
.site-header__inner { display: flex; width: min(1240px, calc(100% - 40px)); min-height: 70px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d9c3cb; border-radius: 50%; color: var(--rose-deep); font-family: var(--serif); font-size: 11px; }
.brand__text strong, .brand__text small { display: block; }
.brand__text strong { font-family: var(--serif); font-size: 13px; font-weight: 600; }
.brand__text small { margin-top: 1px; color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.status-pill { display: inline-flex; min-height: 30px; padding: 5px 10px; align-items: center; gap: 7px; border: 1px solid #dfd7d1; border-radius: 999px; color: var(--muted); font-size: 9px; }
.status-pill span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61, 116, 94, .12); }
.back-link { font-size: 11px; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--rose-deep); }

main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 82px; }
.eyebrow { margin: 0 0 8px; color: var(--rose-deep); font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 70px; margin-bottom: 40px; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(46px, 5.5vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1.16; }
.hero__lead { max-width: 760px; margin: 20px 0 0; color: #5e5663; font-size: 14px; line-height: 2; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 18px; color: var(--muted); font-size: 10px; }
.hero__meta span { position: relative; }
.hero__meta span + span::before { position: absolute; left: -11px; content: "·"; }
.hero__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.primary-link, .download-link { display: inline-flex; min-height: 44px; padding: 10px 17px; align-items: center; border-radius: 999px; font-size: 10px; font-weight: 700; text-decoration: none; }
.primary-link { background: var(--ink); color: #fff; }
.primary-link:hover { background: var(--rose-deep); }
.download-link { border: 1px solid #dacfd2; background: rgba(255, 255, 255, .7); color: var(--rose-deep); }
.download-link:hover { background: var(--rose-soft); }
.hero__visual { display: grid; gap: 10px; padding: 20px; border: 1px solid #dfd7d3; border-radius: 28px; background: rgba(255, 255, 255, .72); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-signal { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; min-height: 67px; padding: 11px 14px; align-items: center; border: 1px solid #ead6dd; border-radius: 15px; background: #fff9fb; transform: rotate(-1.5deg); }
.hero-signal > span { grid-row: 1 / 3; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--rose-soft); color: var(--rose-deep); font-size: 18px; }
.hero-signal strong { align-self: end; font-family: var(--serif); font-size: 16px; }
.hero-signal small { align-self: start; color: var(--muted); font-size: 9px; }
.hero-signal--play { margin-left: 22px; border-color: #d9d4eb; background: #faf9ff; }
.hero-signal--play > span { background: var(--violet-soft); color: var(--violet); }
.hero-signal--threads { margin-right: 20px; border-color: #d8d8d6; background: #f7f7f6; }
.hero-signal--threads > span { background: #222; color: #fff; }

.section-heading, .accounts-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading--outside { margin-bottom: 15px; }
.section-heading h2, .accounts-heading h2 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.section-heading h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.section-heading > span, .section-heading__note { color: var(--muted); font-size: 9px; }
.panel { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.panel--threads { border-color: #dcdad7; background: linear-gradient(150deg, #fff, #f5f5f3); }
.platform-label { margin: 0; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.platform-label--instagram { color: var(--rose-deep); }
.platform-label--threads { color: var(--threads); }

.format-panel { margin-bottom: 48px; padding: 26px; background: linear-gradient(120deg, rgba(255,255,255,.96), rgba(249,242,246,.94)); }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.format-card { position: relative; display: grid; grid-template-columns: 50px 1fr auto; grid-template-rows: auto auto auto; min-height: 124px; padding: 17px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.86); }
.format-card__icon { grid-row: 1 / 4; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: var(--rose-soft); color: var(--rose-deep); font-size: 18px; }
.format-card:nth-child(2) .format-card__icon { background: var(--violet-soft); color: var(--violet); }
.format-card:nth-child(3) .format-card__icon { background: #edf4f8; color: var(--blue); }
.format-card p { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; }
.format-card strong { font-family: var(--serif); font-size: 29px; font-weight: 600; line-height: 1; }
.format-card__ratio { grid-column: 3; grid-row: 1 / 3; padding: 5px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; }
.format-card small { color: var(--muted); font-size: 9px; }

.top-content-section { margin-bottom: 66px; scroll-margin-top: 90px; }
.top-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; align-items: start; }
.ranking-panel { padding: 20px 18px; }
.ranking-panel--likes { border-top: 4px solid var(--rose); }
.ranking-panel--plays { border-top: 4px solid var(--violet); }
.ranking-panel.panel--threads { border-top: 4px solid var(--threads); }
.mini-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.metric-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--rose-soft); color: var(--rose-deep); font-size: 17px; }
.ranking-panel--plays .metric-icon { background: var(--violet-soft); color: var(--violet); }
.metric-icon--threads { background: #222; color: #fff; }
.mini-heading small { display: block; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.mini-heading h3 { margin: 1px 0 0; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.content-ranking { display: grid; margin: 0; padding: 0; list-style: none; }
.content-ranking__item { display: grid; grid-template-columns: 25px 72px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 90px; padding: 8px 0; border-top: 1px solid var(--line); }
.content-ranking__rank { color: var(--rose-deep); font-family: var(--serif); font-size: 11px; }
.ranking-panel--plays .content-ranking__rank { color: var(--violet); }
.content-ranking__visual { position: relative; display: grid; width: 72px; height: 72px; overflow: hidden; place-items: center; border: 1px solid #e3dcda; border-radius: 13px; background: linear-gradient(145deg, #f5eff1, #ece8e5); text-decoration: none; }
.content-ranking__visual::after { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); content: ""; pointer-events: none; }
.content-ranking__image { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.content-ranking__visual:hover .content-ranking__image { transform: scale(1.04); }
.content-ranking__visual .content-ranking__avatar { position: absolute; z-index: 1; right: 4px; bottom: 4px; width: 25px; height: 25px; border: 2px solid #fff; box-shadow: 0 2px 7px rgba(31,24,29,.28); }
.content-ranking__body { min-width: 0; }
.content-ranking__identity { margin: 0 0 2px; overflow: hidden; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.content-ranking__identity span { color: var(--muted); font-weight: 400; }
.content-ranking__excerpt { display: block; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.45; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.content-ranking__excerpt:hover { color: var(--rose-deep); }
.content-ranking__metric { padding: 4px 7px; border-radius: 999px; background: #fff1f5; color: var(--rose-deep); font-size: 9px; white-space: nowrap; }
.ranking-panel--plays .content-ranking__metric { background: #f0edfa; color: var(--violet); }
.panel--threads .content-ranking__metric { background: #eaeae8; color: var(--threads); }

.recipe-section { margin-bottom: 70px; scroll-margin-top: 90px; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.recipe-card { --category-color: var(--rose); display: flex; min-width: 0; min-height: 560px; padding: 19px; flex-direction: column; border: 1px solid var(--line); border-top: 5px solid var(--category-color); border-radius: 20px; background: linear-gradient(150deg, #fff, color-mix(in srgb, var(--category-color) 5%, #fff)); box-shadow: 0 15px 42px rgba(48,36,48,.06); }
.recipe-card--fortune { --category-color: #8a58a6; }
.recipe-card--mystery { --category-color: #48516f; }
.recipe-card--manifest { --category-color: #b15477; }
.recipe-card--quantum { --category-color: #3e7691; }
.recipe-card--spiritual { --category-color: #7864ad; }
.recipe-card--psychology { --category-color: #b15e66; }
.recipe-card--self-growth { --category-color: #8c6e30; }
.recipe-card--shrine { --category-color: #a44d42; }
.recipe-card--buddhism { --category-color: #557867; }
.recipe-card__header { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.recipe-card__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: var(--category-color); color: #fff; font-family: var(--serif); font-size: 17px; }
.recipe-card__heading { min-width: 0; }
.recipe-card__heading h3 { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.recipe-card__heading p { margin: 2px 0 0; color: var(--muted); font-size: 7px; }
.recipe-card__format { padding: 5px 7px; border-radius: 999px; background: color-mix(in srgb, var(--category-color) 10%, #fff); color: var(--category-color); font-size: 8px; font-weight: 700; white-space: nowrap; }
.recipe-card__idea { margin: 15px 0 11px; padding: 13px 14px; border-left: 4px solid var(--category-color); border-radius: 0 12px 12px 0; background: #fff; }
.recipe-card__idea small { display: block; margin-bottom: 4px; color: var(--category-color); font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.recipe-card__idea strong { display: block; font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 1.65; }
.recipe-points { display: grid; grid-template-columns: 1fr 1.35fr; gap: 7px; }
.recipe-point { display: flex; min-width: 0; padding: 10px; align-items: flex-start; gap: 8px; border: 1px solid rgba(218,211,206,.9); border-radius: 11px; background: rgba(255,255,255,.78); }
.recipe-point--wide { grid-column: 1 / -1; }
.recipe-point__icon { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--category-color) 11%, #fff); color: var(--category-color); font-size: 10px; }
.recipe-point div { min-width: 0; }
.recipe-point small { display: block; color: var(--muted); font-size: 7px; }
.recipe-point strong { display: block; margin-top: 2px; font-size: 9px; font-weight: 500; line-height: 1.55; }
.recipe-card__footer { display: grid; gap: 8px; margin-top: auto; padding-top: 12px; }
.recipe-evidence { display: flex; min-width: 0; padding: 9px; align-items: center; gap: 9px; border: 1px solid #e1dad6; border-radius: 12px; background: #fff; text-decoration: none; }
.recipe-evidence:hover { border-color: color-mix(in srgb, var(--category-color) 45%, #ddd); }
.account-avatar--recipe { width: 39px; height: 39px; }
.account-avatar--recipe .account-avatar__fallback { font-size: 12px; }
.recipe-evidence__copy { display: block; min-width: 0; }
.recipe-evidence__copy small, .recipe-evidence__copy strong, .recipe-evidence__copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recipe-evidence__copy small { color: var(--muted); font-size: 7px; }
.recipe-evidence__copy strong { margin-top: 1px; font-size: 9px; }
.recipe-evidence__copy > span { margin-top: 1px; color: var(--category-color); font-size: 8px; font-weight: 700; }
.recipe-category-button { width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--category-color) 35%, #ddd); border-radius: 10px; background: transparent; color: var(--category-color); font-size: 8px; font-weight: 700; }
.recipe-category-button:hover { background: color-mix(in srgb, var(--category-color) 8%, #fff); }

.account-avatar { position: relative; display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(135deg, var(--rose-soft), var(--violet-soft)); box-shadow: 0 0 0 1px #dfd7d2, 0 7px 16px rgba(45,34,49,.12); }
.account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-avatar__fallback { color: var(--rose-deep); font-family: var(--serif); font-size: 18px; }
.account-avatar--ranking { width: 32px; height: 32px; border-width: 1px; box-shadow: 0 0 0 1px #e1d9d4; }
.account-avatar--ranking .account-avatar__fallback { font-size: 11px; }
.account-avatar--dialog { width: 76px; height: 76px; }

.accounts-section { scroll-margin-top: 90px; }
.accounts-heading__lead { max-width: 690px; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.results-summary { margin: 0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.category-nav { position: sticky; z-index: 10; top: 80px; display: flex; gap: 7px; margin: 0 0 14px; padding: 10px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(251,250,247,.94); box-shadow: 0 8px 26px rgba(45,34,49,.06); backdrop-filter: blur(14px); scrollbar-width: thin; }
.category-nav__item { display: grid; grid-template-columns: 25px auto; grid-template-rows: auto auto; min-width: max-content; min-height: 47px; padding: 6px 10px; align-items: center; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--muted); text-align: left; }
.category-nav__item:hover, .category-nav__item.is-active { border-color: #d9c5cc; background: #fff; color: var(--rose-deep); }
.category-nav__item--all { display: block; min-height: 47px; padding: 10px 13px; font-weight: 700; }
.category-nav__icon { grid-row: 1 / 3; font-family: var(--serif); font-size: 16px; }
.category-nav__item strong { font-size: 9px; }
.category-nav__item small { font-size: 8px; }
.filters { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(5, minmax(115px, 1fr)) auto; align-items: end; gap: 8px; margin-bottom: 25px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.82); }
.field { display: grid; gap: 5px; min-width: 0; }
.field > span:first-child { color: var(--muted); font-size: 8px; font-weight: 700; }
.field input, .field select { width: 100%; height: 40px; border: 1px solid #ddd6d2; border-radius: 9px; background: #fff; color: var(--ink); font-size: 10px; }
.field input { padding: 0 10px 0 31px; }
.field select { padding: 0 26px 0 9px; }
.search-box { position: relative; display: block; }
.search-box > span { position: absolute; z-index: 1; top: 50%; left: 10px; color: var(--muted); font-size: 15px; transform: translateY(-52%); }
.reset-button { height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: 8px; white-space: nowrap; }
.reset-button:hover { border-color: #cdbfc5; color: var(--rose-deep); }
.category-directory { display: grid; gap: 36px; scroll-margin-top: 145px; }
.category-block { --category-color: var(--rose); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.65); box-shadow: 0 15px 42px rgba(48,36,48,.055); }
.category-block--fortune { --category-color: #8a58a6; }
.category-block--mystery { --category-color: #48516f; }
.category-block--manifest { --category-color: #b15477; }
.category-block--quantum { --category-color: #3e7691; }
.category-block--spiritual { --category-color: #7864ad; }
.category-block--psychology { --category-color: #b15e66; }
.category-block--self-growth { --category-color: #8c6e30; }
.category-block--shrine { --category-color: #a44d42; }
.category-block--buddhism { --category-color: #557867; }
.category-block__header { display: grid; grid-template-columns: minmax(250px, .72fr) 1.8fr; gap: 22px; padding: 24px; border-top: 5px solid var(--category-color); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, #fff, color-mix(in srgb, var(--category-color) 7%, #fff)); }
.category-block__title { display: flex; align-items: center; gap: 14px; }
.category-block__icon { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border-radius: 18px; background: var(--category-color); color: #fff; font-family: var(--serif); font-size: 20px; box-shadow: 0 8px 20px color-mix(in srgb, var(--category-color) 28%, transparent); }
.category-block__title p { margin: 0; color: var(--category-color); font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.category-block__title h3 { margin: 2px 0; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.category-block__title div > span { color: var(--muted); font-size: 9px; }
.category-insights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.category-insight { display: flex; min-width: 0; padding: 11px; align-items: flex-start; gap: 8px; border: 1px solid rgba(218,211,206,.9); border-radius: 12px; background: rgba(255,255,255,.8); }
.category-insight__icon { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--category-color, var(--rose)) 12%, #fff); color: var(--category-color, var(--rose-deep)); font-size: 11px; }
.category-insight div { min-width: 0; }
.category-insight small { display: block; color: var(--muted); font-size: 7px; }
.category-insight strong { display: -webkit-box; margin-top: 2px; overflow: hidden; font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.category-account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; padding: 14px; }
.account-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 6px 20px rgba(45,34,49,.035); }
.account-card__header { display: flex; align-items: center; gap: 11px; }
.account-card__identity { min-width: 0; }
.account-card__rank { display: block; color: var(--category-color); font-family: var(--serif); font-size: 8px; }
.account-card__identity h3 { margin: 1px 0 0; overflow: hidden; font-family: var(--serif); font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.account-card__identity p { margin: 1px 0 0; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.account-card__badges, .theme-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.account-card__badges { margin-top: 11px; }
.badge, .theme-chip { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 8px; border-radius: 999px; font-size: 8px; }
.badge { max-width: 100%; overflow: hidden; background: var(--rose-soft); color: var(--rose-deep); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.badge--threads { background: var(--threads); color: #fff; }
.theme-chip { border: 1px solid #e1dbd6; background: #fff; color: var(--muted); }
.account-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 11px; }
.icon-metric { display: flex; min-width: 0; min-height: 48px; padding: 7px; align-items: center; gap: 6px; border-radius: 10px; background: #f7f4ef; }
.icon-metric__icon { color: var(--green); font-size: 11px; }
.icon-metric--like { background: #fff1f5; }
.icon-metric--like .icon-metric__icon { color: var(--rose-deep); }
.icon-metric--play { background: #f1eef9; }
.icon-metric--play .icon-metric__icon { color: var(--violet); }
.icon-metric--threads { background: #f0f0ef; }
.icon-metric > div { min-width: 0; }
.icon-metric strong { display: block; overflow: hidden; font-family: var(--serif); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.icon-metric small { display: block; color: var(--muted); font-size: 7px; white-space: nowrap; }
.account-insights { display: grid; gap: 6px; margin-top: 11px; padding: 11px; border-left: 3px solid var(--category-color); border-radius: 0 10px 10px 0; background: color-mix(in srgb, var(--category-color) 5%, #fff); }
.account-insights p { display: grid; grid-template-columns: 20px 68px 1fr; gap: 5px; margin: 0; align-items: start; font-size: 8px; line-height: 1.55; }
.account-insights__icon { color: var(--category-color); font-weight: 700; }
.account-insights strong { color: #514954; }
.account-insights p > span:last-child { color: var(--muted); }
.account-card__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.detail-button, .account-link { display: inline-flex; min-height: 37px; padding: 6px 10px; align-items: center; justify-content: center; border: 1px solid #ded6d2; border-radius: 8px; background: #fff; color: var(--ink); font-size: 9px; font-weight: 700; text-decoration: none; }
.detail-button { border-color: var(--ink); background: var(--ink); color: #fff; }
.detail-button:hover { border-color: var(--rose-deep); background: var(--rose-deep); }
.account-link:hover { border-color: #c88ba0; color: var(--rose-deep); }
.account-link--instagram { border-color: #e2c3ce; background: #fff9fb; color: var(--rose-deep); }
.account-link--threads { border-color: #c9c9c7; background: #f6f6f5; color: var(--threads); }
.load-error, .empty-state { padding: 40px 20px; border: 1px dashed #d8d0cc; border-radius: 15px; color: var(--muted); text-align: center; }
.load-error { display: grid; gap: 3px; margin: 20px 0; border-style: solid; border-color: #e7c8c8; background: #fff4f4; color: #853f48; font-size: 11px; }

.trend-section { margin-top: 70px; margin-bottom: 48px; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bar-list { display: grid; gap: 11px; }
.bar-row__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.bar-row__head strong { color: var(--ink); font-size: 10px; }
.bar-track { height: 7px; overflow: hidden; border-radius: 999px; background: #efebe8; }
.bar-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rose), #cd8ca1); }
.panel--threads .bar-track span { background: linear-gradient(90deg, #222, #777); }

.account-dialog { width: min(1160px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: var(--paper); box-shadow: 0 35px 90px rgba(25,20,27,.3); }
.account-dialog::backdrop { background: rgba(27,23,29,.56); backdrop-filter: blur(4px); }
.dialog-shell { max-height: calc(100vh - 32px); overflow: auto; }
.dialog-header { position: sticky; z-index: 3; top: 0; display: flex; min-height: 78px; padding: 17px 23px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: rgba(251,250,247,.94); backdrop-filter: blur(15px); }
.dialog-header p { margin: 0 0 2px; color: var(--muted); font-size: 9px; }
.dialog-header h2 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.dialog-header button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; }
.dialog-loading { padding: 70px 24px; color: var(--muted); text-align: center; }
#dialog-content { display: grid; gap: 20px; padding: 22px; }
.dialog-analysis { display: grid; grid-template-columns: .55fr 1.45fr; gap: 18px; padding: 20px; border: 1px solid #dfd4d9; border-radius: 18px; background: linear-gradient(120deg, #fff, #fbf3f6); }
.dialog-analysis__identity { display: flex; align-items: center; gap: 13px; }
.dialog-analysis__identity p { margin: 0; color: var(--rose-deep); font-size: 8px; font-weight: 700; }
.dialog-analysis__identity h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.dialog-analysis__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dialog-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.dialog-summary .icon-metric { min-height: 68px; padding: 13px; border: 1px solid var(--line); background: #fff; }
.dialog-summary .icon-metric strong { font-size: 18px; }
.dialog-section { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.dialog-section--top { background: linear-gradient(145deg, #fff, #fbf7f8); }
.dialog-section--threads-empty { background: #f4f4f2; }
.dialog-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.dialog-section__heading span { color: var(--muted); font-family: var(--sans); font-size: 9px; font-weight: 400; }
.top-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.post-card { display: flex; min-width: 0; min-height: 218px; padding: 15px; flex-direction: column; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.post-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-card__rank { color: var(--rose-deep); font-family: var(--serif); font-size: 10px; }
.post-card time { color: var(--muted); font-size: 8px; }
.theme-chips--post { margin-top: 8px; }
.theme-chips--post .theme-chip { min-height: 21px; padding: 3px 7px; font-size: 8px; }
.post-card__caption { margin: 11px 0 8px; color: #4f4854; font-size: 10px; line-height: 1.7; white-space: pre-wrap; }
.post-card__details { margin: -2px 0 9px; color: var(--muted); font-size: 9px; }
.post-card__details summary { cursor: pointer; color: var(--rose-deep); font-weight: 700; }
.post-card__details p { margin: 8px 0 0; line-height: 1.7; white-space: pre-wrap; }
.collaboration-note { margin: 0 0 8px; color: var(--violet); font-size: 8px; }
.post-card__metrics { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: auto 0 10px; padding-top: 9px; border-top: 1px solid #eee9e5; }
.post-metric { display: inline-flex; align-items: baseline; gap: 3px; color: var(--muted); font-size: 8px; }
.post-metric > span { color: var(--rose-deep); }
.post-metric strong { color: var(--ink); font-family: var(--serif); font-size: 11px; }
.post-metric--empty { font-style: italic; }
.post-visual { margin: 0 0 9px; border: 1px solid #e2dad6; border-radius: 9px; background: #faf8f6; }
.post-visual summary { padding: 9px 10px; color: var(--rose-deep); cursor: pointer; font-size: 9px; font-weight: 700; }
.post-visual__frame { display: block; width: 100%; height: 520px; border: 0; border-top: 1px solid #e2dad6; border-radius: 0 0 9px 9px; background: #fff; }
.post-card .account-link { align-self: start; min-height: 34px; padding: 5px 9px; font-size: 9px; }
.dialog-empty { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }

.site-footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; text-align: center; }
.site-footer a { font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--rose-deep); }
.noscript-message { margin: 0; padding: 18px; background: #fff4dc; color: #6e4f16; text-align: center; }

@media (max-width: 1120px) {
  .filters { grid-template-columns: repeat(4, 1fr); }
  .field--search { grid-column: span 2; }
  .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-block__header { grid-template-columns: 1fr; }
  .category-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-insights { grid-template-columns: repeat(4, 1fr); }
  .dialog-analysis { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  main { padding-top: 42px; }
  .hero { grid-template-columns: 1fr 255px; gap: 30px; }
  .hero__visual { padding: 13px; }
  .hero-signal--play { margin-left: 10px; }
  .top-content-grid, .overview-grid { grid-template-columns: 1fr; }
  .ranking-panel { padding: 21px; }
  .content-ranking__excerpt { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .dialog-analysis__grid { grid-template-columns: 1fr 1fr; }
  .top-post-grid { grid-template-columns: 1fr; }
  .post-list { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .site-header__inner, main, .site-footer { width: min(100% - 28px, 1240px); }
  .site-header__inner { min-height: 62px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__text strong { font-size: 12px; }
  .brand__text small, .status-pill { display: none; }
  .back-link { font-size: 10px; }
  main { padding: 34px 0 62px; }
  .hero { display: block; margin-bottom: 29px; }
  .hero h1 { font-size: 40px; }
  .hero__lead { margin-top: 15px; font-size: 12px; line-height: 1.85; }
  .hero__visual { display: none; }
  .hero__meta { display: grid; gap: 4px; }
  .hero__meta span + span::before { display: none; }
  .primary-link, .download-link { min-height: 42px; padding: 9px 14px; }
  .section-heading { display: block; }
  .section-heading > span { display: block; margin-top: 6px; }
  .section-heading h2, .accounts-heading h2 { font-size: 22px; }
  .panel { padding: 17px 14px; }
  .format-panel { padding: 18px 14px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-card { min-height: 94px; }
  .content-ranking__item { grid-template-columns: 22px 64px minmax(0,1fr); }
  .content-ranking__visual { width: 64px; height: 64px; }
  .content-ranking__metric { grid-column: 3; justify-self: start; }
  .recipe-section { margin-bottom: 54px; }
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-card { min-height: 0; padding: 16px 13px; }
  .recipe-card__header { grid-template-columns: 42px minmax(0, 1fr); }
  .recipe-card__format { grid-column: 2; justify-self: start; }
  .recipe-points { grid-template-columns: 1fr; }
  .recipe-point, .recipe-point--wide { grid-column: 1; }
  .accounts-heading { display: block; }
  .results-summary { margin-top: 7px; }
  .category-nav { top: 70px; margin-inline: -3px; }
  .filters { grid-template-columns: 1fr 1fr; padding: 11px; }
  .field--search { grid-column: 1 / -1; }
  .reset-button { grid-column: 1 / -1; }
  .category-directory { gap: 25px; }
  .category-block { border-radius: 19px; }
  .category-block__header { padding: 18px 14px; }
  .category-block__icon { width: 48px; height: 48px; border-radius: 14px; }
  .category-block__title h3 { font-size: 21px; }
  .category-insights { grid-template-columns: 1fr 1fr; }
  .category-account-grid { grid-template-columns: 1fr; padding: 9px; }
  .account-card { padding: 15px 13px; }
  .account-insights p { grid-template-columns: 19px 68px 1fr; }
  .account-card__actions > * { flex: 1; }
  .trend-section { margin-top: 52px; }
  .account-dialog { width: 100%; max-height: calc(100vh - 14px); margin: 14px 0 0; border-radius: 20px 20px 0 0; }
  .dialog-shell { max-height: calc(100vh - 14px); }
  .dialog-header { min-height: 70px; padding: 14px 16px; }
  #dialog-content { padding: 14px; }
  .dialog-analysis { padding: 15px 12px; }
  .dialog-analysis__grid { grid-template-columns: 1fr; }
  .dialog-summary { grid-template-columns: 1fr 1fr; gap: 7px; }
  .dialog-summary .icon-metric { min-height: 60px; padding: 10px; }
  .dialog-section { padding: 15px 12px; }
  .dialog-section__heading { display: block; }
  .dialog-section__heading span { display: block; margin-top: 4px; }
  .post-visual__frame { height: 440px; }
}

/* 2026-09-01: 老眼でも追いやすい文字サイズと行間へ統一 */
body { font-size: 16px; line-height: 1.7; }
.brand__text strong { font-size: 15px; }
.brand__text small { font-size: 11px; }
.status-pill { font-size: 12px; }
.back-link { font-size: 14px; }
.eyebrow { font-size: 12px; }
.hero__lead { font-size: 17px; line-height: 1.9; }
.hero__meta { font-size: 13px; }
.primary-link, .download-link { font-size: 14px; }
.hero-signal strong { font-size: 18px; }
.hero-signal small { font-size: 12px; }
.section-heading h2, .accounts-heading h2 { font-size: 30px; }
.section-heading h3 { font-size: 23px; }
.section-heading > span, .section-heading__note { font-size: 13px; line-height: 1.7; }
.platform-label { font-size: 11px; }
.format-card p { font-size: 14px; }
.format-card__ratio { font-size: 13px; }
.format-card small { font-size: 12px; line-height: 1.6; }
.mini-heading small { font-size: 11px; }
.mini-heading h3 { font-size: 21px; }
.content-ranking__rank { font-size: 14px; }
.content-ranking__identity { font-size: 13px; }
.content-ranking__excerpt { font-size: 13px; line-height: 1.6; }
.content-ranking__metric { font-size: 12px; }
.recipe-card__heading h3 { font-size: 20px; }
.recipe-card__heading p { font-size: 11px; }
.recipe-card__format { font-size: 12px; }
.recipe-card__idea small { font-size: 11px; }
.recipe-card__idea strong { font-size: 17px; line-height: 1.7; }
.recipe-point small { font-size: 11px; }
.recipe-point strong { font-size: 13px; line-height: 1.65; }
.recipe-evidence__copy small { font-size: 11px; }
.recipe-evidence__copy strong { font-size: 13px; }
.recipe-evidence__copy > span { font-size: 12px; }
.recipe-category-button { min-height: 42px; font-size: 13px; }
.accounts-heading__lead, .results-summary { font-size: 14px; }
.category-nav__item strong { font-size: 13px; }
.category-nav__item small { font-size: 12px; }
.field > span:first-child { font-size: 12px; }
.field input, .field select { font-size: 14px; }
.reset-button { font-size: 12px; }
.category-block__title p { font-size: 11px; }
.category-block__title div > span { font-size: 13px; }
.category-insight small { font-size: 11px; }
.category-insight strong { font-size: 13px; line-height: 1.6; }
.account-card__rank { font-size: 11px; }
.account-card__identity h3 { font-size: 19px; }
.account-card__identity p { font-size: 13px; }
.badge, .theme-chip { min-height: 28px; font-size: 12px; }
.icon-metric strong { font-size: 16px; }
.icon-metric small { font-size: 11px; }
.account-insights p { grid-template-columns: 22px 88px 1fr; font-size: 13px; line-height: 1.65; }
.detail-button, .account-link { min-height: 42px; font-size: 13px; }
.load-error { font-size: 14px; }
.bar-row__head, .bar-row__head strong { font-size: 13px; }
.dialog-header p { font-size: 12px; }
.dialog-header h2 { font-size: 25px; }
.dialog-analysis__identity p { font-size: 12px; }
.dialog-analysis__identity h3 { font-size: 21px; }
.dialog-section__heading { font-size: 20px; }
.dialog-section__heading span { font-size: 13px; line-height: 1.6; }
.post-card__rank { font-size: 13px; }
.post-card time { font-size: 12px; }
.theme-chips--post .theme-chip { min-height: 26px; font-size: 12px; }
.post-card__caption { font-size: 15px; line-height: 1.8; }
.post-card__details { font-size: 13px; }
.collaboration-note { font-size: 12px; }
.post-metric { font-size: 12px; }
.post-metric strong { font-size: 15px; }
.post-visual summary { font-size: 13px; }
.post-card .account-link { min-height: 40px; font-size: 13px; }
.dialog-empty { font-size: 14px; }
.site-footer { font-size: 12px; line-height: 1.7; }

@media (max-width: 660px) {
  .brand__text strong { font-size: 15px; }
  .back-link { font-size: 13px; }
  .hero__lead { font-size: 16px; }
  .section-heading h2, .accounts-heading h2 { font-size: 26px; }
  .section-heading h3 { font-size: 21px; }
  .content-ranking__item { grid-template-columns: 24px 64px minmax(0, 1fr); gap: 8px; }
  .content-ranking__metric { grid-column: 3; }
  .account-insights p { grid-template-columns: 22px 84px 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
