:root {
  --red: #d12b3f;
  --red-dark: #aa2134;
  --ink: #111111;
  --muted: #777777;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --white: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.site-header {
  height: 64px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 850;
  letter-spacing: -.025em;
}
.unofficial { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }

main { width: 100%; }
.search-view { width: min(100% - 32px, 880px); margin: 0 auto; }
.report-view { width: min(100% - 32px, 720px); margin: 0 auto; }
.search-view { min-height: calc(100vh - 180px); padding: 46px 0 64px; }
.hero-opening { display: block; }
.hero-copy { text-align: center; }
.eyebrow { margin: 0; color: var(--red); font-size: .76rem; font-weight: 750; letter-spacing: .04em; }
.hero-copy h1 { margin: 18px 0 20px; font-size: clamp(2.6rem, 11vw, 4.8rem); font-weight: 900; line-height: .94; letter-spacing: -.065em; }
.hero-copy h1 span { display: block; margin-bottom: 10px; font-size: .43em; letter-spacing: .01em; }
.hero-copy h1 em { color: var(--red); font-style: normal; }
.hero-lead { margin: 0; color: #444; font-weight: 600; line-height: 1.8; }
.hero-invite { margin: 9px 0 0; color: var(--muted); font-size: .8rem; }
.hero-visual { max-width: 820px; margin: 28px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 0; background: var(--white); }
.hero-visual img { width: 100%; height: auto; display: block; object-fit: contain; object-position: center; }
.hero-visual figcaption { padding: 11px 13px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; background: white; }
.hero-visual figcaption span { color: var(--red); font-size: .61rem; font-weight: 850; letter-spacing: .11em; }
.hero-visual figcaption strong { font-size: .75rem; line-height: 1.4; text-align: right; }

.search-card { position: relative; max-width: 620px; margin: 30px auto 0; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); overflow: hidden; }
.search-card-topline { position: absolute; inset: 0 0 auto; height: 3px; background: var(--red); }
.usage-check { margin-bottom: 24px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.usage-check h2 { margin: 0 0 12px; font-size: 1.12rem; line-height: 1.45; letter-spacing: -.02em; }
.usage-check > p { margin: 0 0 7px; color: #555; font-size: .86rem; line-height: 1.75; }
.usage-check > p:last-of-type { margin-bottom: 15px; }
.consent-list { display: grid; gap: 10px; }
.consent-item { min-height: 44px; display: flex; align-items: flex-start; gap: 10px; padding: 10px 11px; border: 1px solid #dedede; background: #fafafa; }
.consent-item input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.consent-item label, .consent-text { margin: 0; color: #333; font-size: .82rem; font-weight: 650; line-height: 1.65; }
.consent-item label { cursor: pointer; }
.consent-text { display: flex; flex-wrap: wrap; align-items: baseline; }
.policy-link { padding: 0; border: 0; color: var(--red-dark); background: transparent; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.policy-link:hover { color: var(--red); }
.handle-label { display: block; margin-bottom: 10px; font-size: .92rem; font-weight: 800; }
.input-wrap { height: 58px; display: flex; align-items: center; gap: 3px; padding: 0 16px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; transition: border-color .18s; }
.input-wrap:focus-within { border-color: var(--red); outline: 2px solid rgba(209, 43, 63, .1); }
.input-wrap span { color: var(--red); font-size: 1.25rem; font-weight: 850; }
.input-wrap input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1.08rem; font-weight: 750; }
.input-wrap input::placeholder { color: #aaa; }
.input-hint { margin: 7px 2px 2px; color: var(--muted); font-size: .78rem; }
.account-warning { margin: 0 2px 17px; color: #666; font-size: .72rem; }
.primary-button, .channel-button, .another-button, .secondary-button { min-height: 50px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.primary-button { position: relative; width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; border: 0; border-bottom: 3px solid #8f1e30; color: white; background: var(--red); font-size: .96rem; letter-spacing: .01em; transition: background .18s, transform .18s; }
.primary-button:hover { background: var(--red-dark); }
.primary-button:active { transform: translateY(1px); border-bottom-width: 2px; }
.primary-button:disabled { cursor: not-allowed; opacity: .55; }
.button-arrow { position: absolute; right: 18px; font-size: 1.15rem; }
.loading-box { min-height: 164px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.loading-box strong, .loading-box small { display: block; }
.loading-box small { margin-top: 2px; color: var(--muted); }
.loader { width: 30px; height: 30px; border: 3px solid #ececec; border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-card { margin-top: 16px; padding: 18px; display: flex; gap: 12px; border: 1px solid #dcbfc3; border-radius: 10px; background: var(--white); }
.error-icon { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); font-size: .8rem; font-weight: 900; }
.error-card h2 { margin: 0 0 4px; font-size: .98rem; }
.error-card p { margin: 0; color: #60484d; font-size: .86rem; white-space: pre-line; }
.text-button { margin-top: 9px; padding: 0; border: 0; color: var(--red-dark); background: transparent; font-size: .84rem; font-weight: 800; }
.report-preview { max-width: 720px; margin: 40px auto 0; }
.preview-kicker { margin: 0 0 5px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.report-preview > h2 { margin: 0; font-size: 1.45rem; line-height: 1.45; letter-spacing: -.03em; }
.report-preview > h2 em { color: var(--red); font-style: normal; }
.feature-strip { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; list-style: none; }
.feature-strip li { min-width: 0; min-height: 140px; display: flex; flex-direction: column; gap: 6px; padding: 10px; color: white; background: var(--red); }
.feature-index { color: white; font-size: .75rem; font-weight: 850; letter-spacing: .06em; }
.feature-strip h3 { margin: 0; color: white; font-size: 1rem; font-weight: 850; line-height: 1.35; overflow-wrap: anywhere; }
.feature-divider { width: 100%; height: 1px; margin-top: auto; background: rgba(255, 255, 255, .72); }
.feature-strip p { margin: 0; color: white; font-size: .75rem; line-height: 1.55; }
.feature-arrow { padding-top: 1px; color: var(--red); font-size: .95rem; }

.report-view { padding: 25px 0 72px; }
.report-header { margin-bottom: 20px; }
.back-link { margin-bottom: 25px; padding: 5px 0; border: 0; color: var(--muted); background: transparent; font-size: .84rem; font-weight: 700; }
.report-kicker { margin: 0 0 3px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .02em; }
.report-header h1 { margin: 0; font-size: clamp(1.55rem, 7vw, 2.5rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.updated-line { margin: 3px 0 0; color: var(--muted); font-size: .75rem; }
.section-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

.hero-stat-card { padding: 24px 20px 20px; color: var(--ink); border: 1px solid #dedede; border-radius: 3px; background: var(--white); }
.record-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-no { color: var(--red); font-size: .68rem; font-weight: 850; letter-spacing: .04em; }
.record-badge { padding-left: 10px; border-left: 1px solid #cfcfcf; color: var(--muted); font-size: .65rem; font-weight: 750; }
.hero-stat-card h2 { margin: 0 0 20px; font-size: 1rem; font-weight: 800; }
.report-overview { overflow: hidden; border-radius: 3px; }
.overview-grid { display: grid; }
.overview-total { padding: 24px 20px 22px; }
.overview-total h2 { margin: 0 0 20px; font-size: 1rem; font-weight: 800; }
.overview-style { padding-top: 20px; border-top: 1px solid var(--line); }
.overview-style > .section-heading { margin-bottom: 19px; padding: 0 20px; }
.report-overview .style-summary { border: 0; border-radius: 0; }
.record-message { margin: 0 0 17px; color: #666; font-size: .76rem; }
.mega-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; }
.mega-stat strong { font-size: clamp(4rem, 18vw, 6rem); line-height: .9; letter-spacing: -.065em; }
.mega-stat span { color: var(--red); font-size: .74rem; font-weight: 850; letter-spacing: .12em; }
.rank-row { margin-top: 21px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); }
.rank-row div { padding: 12px 14px; }
.rank-row div + div { border-left: 1px solid var(--line); }
.rank-row small { display: block; color: var(--muted); font-size: .72rem; }
.rank-row strong { display: block; margin-top: 1px; font-size: 1.26rem; }

.report-section { margin-top: 54px; padding-top: 20px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 19px; }
.section-heading h2 { margin: 0; font-size: 1.3rem; line-height: 1.45; letter-spacing: -.025em; }
.section-heading h2::before { content: none; }
.section-lead { margin: 6px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }

.style-summary { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.style-card { padding: 22px 20px 20px; }
.ratio-headings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ratio-headings div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 7px; }
.ratio-headings .align-right { grid-template-columns: 1fr auto; text-align: right; }
.ratio-headings .align-right .dot { grid-column: 2; grid-row: 1; }
.ratio-headings .align-right small { grid-column: 1; grid-row: 1; }
.ratio-headings strong { grid-column: 1 / -1; margin-top: 1px; font-size: 1.55rem; line-height: 1.2; }
.dot, .member-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.dot.shorts { background: var(--ink); }
.ratio-headings small { font-size: .8rem; font-weight: 750; }
.split-bar, .member-bar { width: 100%; height: 9px; display: flex; margin: 16px 0 19px; overflow: hidden; border-radius: 4px; background: #ededed; }
.split-bar span:first-child { background: var(--red); }
.split-bar span:last-child { background: var(--ink); }
.split-bar i { width: 2px; flex: 0 0 2px; background: white; }
.two-col-stats { display: grid; grid-template-columns: 1fr 1fr; padding-top: 17px; border-top: 1px solid var(--line); }
.two-col-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.two-col-stats small { display: block; color: var(--muted); font-size: .77rem; }
.two-col-stats strong { font-size: 1.35rem; }
.two-col-stats span { margin-left: 4px; color: var(--muted); font-size: .73rem; }
.video-count-card { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); background: var(--soft); }
.video-count-card small, .video-count-card > div > span { display: block; color: var(--muted); font-size: .75rem; }
.video-count-card strong { margin-right: 4px; font-size: 2rem; letter-spacing: -.04em; }
.video-count-card dl { width: 48%; margin: 0; }
.video-count-card dl div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #ddd; font-size: .79rem; }
.video-count-card dl div:last-child { border: 0; }
.video-count-card dt { color: var(--muted); }
.video-count-card dd { margin: 0; font-weight: 850; }
.coverage-card { padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.coverage-card h3 { margin: 0 0 13px; font-size: .86rem; }
.coverage-row { display: grid; grid-template-columns: 65px 1fr 56px; align-items: center; gap: 9px; margin-top: 10px; font-size: .75rem; }
.coverage-row > div { height: 5px; overflow: hidden; border-radius: 2px; background: #e9e9e9; }
.coverage-row i { display: block; height: 100%; min-width: 2px; background: var(--red); }
.coverage-row:nth-of-type(2) i { background: var(--ink); }
.coverage-row strong { text-align: right; font-size: .82rem; }

.history-panel { display: grid; gap: 14px; }
.activity-block, .tenure-card { border: 1px solid var(--line); background: var(--white); }
.activity-block { padding: 20px; }
.activity-block h3 { margin: 0; font-size: .93rem; }
.history-intro { padding: 0 0 15px; border-bottom: 1px solid var(--line); }
.history-intro h3 { margin: 0; font-size: .93rem; }
.history-intro p { margin: 3px 0 0; color: var(--muted); font-size: .75rem; }
.history-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; padding: 20px 0 0; }
.timeline-date small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .72rem; }
.timeline-date strong { font-size: clamp(.92rem, 4vw, 1.13rem); line-height: 1.35; }
.timeline-date.right { text-align: right; }
.time-arrow { padding-bottom: 1px; color: var(--red); font-size: 1.15rem; }
.activity-summary { display: grid; grid-template-columns: 1fr 1fr; padding-top: 18px; }
.span-stat { padding-right: 16px; border-right: 1px solid var(--line); }
.span-rank { padding-left: 20px; }
.span-stat small, .tenure-card p { display: block; margin: 0; color: var(--muted); font-size: .75rem; }
.span-stat strong { font-size: 2.3rem; line-height: 1; letter-spacing: -.05em; }
.span-stat span { margin-left: 3px; font-size: .83rem; font-weight: 750; }
.span-rank small { display: block; color: var(--muted); font-size: .75rem; }
.span-rank strong { display: block; margin-top: 4px; font-size: 1.55rem; }
.tenure-card { padding: 20px; }
.tenure-card > strong { display: block; margin: 3px 0 2px; color: var(--red); font-size: 2rem; line-height: 1.25; letter-spacing: -.04em; }
.tenure-basis { display: block; margin-bottom: 8px; color: var(--muted); font-size: .66rem; line-height: 1.45; }
.tenure-card div { padding-top: 7px; border-top: 1px solid var(--line); font-size: .73rem; font-weight: 650; }

.first-comment-card { overflow: hidden; color: var(--ink); border: 1px solid #dedede; border-top: 4px solid var(--ink); border-radius: 8px; background: var(--white); }
.thumbnail-link { display: block; aspect-ratio: 16/9; overflow: hidden; background: #2a2a2a; }
.thumbnail-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .18s; }
.thumbnail-link:hover img { opacity: .9; }
.first-comment-body { padding: 21px 19px 20px; }
.video-title { display: block; color: var(--ink); font-size: 1rem; font-weight: 850; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
.video-title:hover { text-decoration: underline; }
blockquote { margin: 0; overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; }
.memory-label { margin: 18px 0 7px; color: var(--red); font-size: .68rem; font-weight: 850; letter-spacing: .06em; }
.first-comment-body blockquote { position: relative; margin: 20px 0 11px; padding: 15px 16px; border: 1px solid #dedede; border-radius: 8px; background: var(--soft); font-size: .92rem; line-height: 1.75; }
.first-comment-body blockquote::before { content: ""; position: absolute; left: 18px; top: -7px; width: 12px; height: 12px; border-top: 1px solid #dedede; border-left: 1px solid #dedede; background: var(--soft); transform: rotate(45deg); }
.posted-date { color: var(--muted); font-size: .72rem; }
.action-row { margin-top: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.secondary-button { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: white; background: var(--red); font-size: .8rem; }
.comment-link { color: var(--ink); font-size: .78rem; font-weight: 700; }

.reaction-panel { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.likes-card { padding: 18px 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.likes-card small { color: var(--muted); font-size: .79rem; font-weight: 700; }
.likes-card div { display: flex; align-items: baseline; gap: 7px; }
.likes-card div span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.likes-card strong { font-size: 2.25rem; line-height: 1; letter-spacing: -.045em; }
.likes-card b { color: var(--red); font-size: .68rem; letter-spacing: .1em; }
.best-comment-card { display: block; padding: 20px 0 21px; text-decoration: none; }
.best-comment-card[href]:hover blockquote { color: var(--red-dark); }
.best-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.best-label span { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.best-label strong { font-size: .88rem; }
.best-comment-card blockquote { position: relative; margin-top: 18px; padding: 16px 17px; border: 1px solid #dedede; border-radius: 8px; background: var(--soft); font-size: 1.03rem; font-weight: 750; line-height: 1.8; transition: color .18s; }
.best-comment-card blockquote::before { content: ""; position: absolute; left: 20px; top: -7px; width: 12px; height: 12px; border-top: 1px solid #dedede; border-left: 1px solid #dedede; background: var(--soft); transform: rotate(45deg); }
.open-note { display: block; margin-top: 12px; color: var(--muted); font-size: .72rem; }

.member-panel { padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.affinity-card { padding: 15px 16px; border-radius: 2px; background: var(--soft); }
.affinity-card p { margin: 0; color: var(--muted); font-size: .76rem; }
.affinity-card > strong { display: block; margin: 2px 0 4px; color: var(--red-dark); font-size: 2rem; line-height: 1.35; letter-spacing: -.035em; }
.affinity-card > strong.small-affinity { font-size: 1.08rem; letter-spacing: 0; }
.affinity-note { color: var(--muted); font-size: .68rem; }
.member-card { padding-top: 0; }
.member-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.member-result { display: flex; min-width: 0; flex-direction: column; align-items: center; text-align: center; }
.member-photo { width: min(18vw, 82px); height: min(18vw, 82px); display: block; border: 2px solid white; border-radius: 50%; outline: 1px solid #dedede; object-fit: cover; }
.member-result:nth-child(1) .member-photo { object-position: 50% 38%; }
.member-result:nth-child(2) .member-photo { object-position: 50% 36%; }
.member-result:nth-child(3) .member-photo { object-position: 50% 33%; }
.member-name { margin-top: 9px; display: inline-flex; align-items: center; gap: 5px; }
.member-labels small { font-size: .78rem; font-weight: 750; }
.member-labels strong { margin-top: 1px; font-size: 1.05rem; }
.member-dot.kyo, .member-bar span:nth-child(1) { background: var(--red); }
.member-dot.tsubasa, .member-bar span:nth-child(2) { background: #386fa8; }
.member-dot.suguru, .member-bar span:nth-child(3) { background: #3f8a62; }
.member-bar { margin: 15px 0 16px; }
.member-counts { margin: 0; }
.member-counts div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .77rem; }
.member-counts div:last-child { padding-bottom: 0; border: 0; }
.member-counts dt { color: var(--muted); }
.member-counts dd { margin: 0; font-weight: 850; }
.member-count-note { margin: 14px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.65; }

.final-section { margin-top: 60px; padding: 32px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.final-section h2 { margin: 18px 0 7px; font-size: 1.48rem; letter-spacing: -.035em; }
.final-section p { margin: 0 0 23px; color: var(--muted); }
.report-image-button, .save-image-button, .native-share-button, .channel-button, .another-button { min-height: 50px; border-radius: 6px; font-weight: 800; }
.report-image-button, .another-button { width: 100%; max-width: 420px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.report-image-button { border: 0; color: white; background: var(--red); }
.report-image-button:disabled { cursor: wait; opacity: .65; }
.share-preview { margin-top: 24px; }
.share-preview > img { width: 100%; max-width: 540px; height: auto; display: block; margin: 0 auto; border: 1px solid var(--line); background: white; }
.share-actions { max-width: 540px; margin: 14px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-actions button { width: 100%; border: 1px solid #cfcfcf; }
.save-image-button { color: var(--ink); background: white; }
.native-share-button { color: white; border-color: var(--red) !important; background: var(--red); }
.channel-button { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; color: white; background: var(--ink); }
.another-button { min-height: 46px; margin-top: 10px; border: 1px solid #ccc; color: var(--ink); background: white; }

footer { max-width: 720px; margin: 0 auto; padding: 26px 20px calc(34px + env(safe-area-inset-bottom)); color: #888; font-size: .68rem; line-height: 1.75; text-align: left; }
footer p { margin: 0 0 8px; }
footer p:last-child { margin-bottom: 0; }
.footer-policy-nav { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-policy-nav .policy-link { font-size: .76rem; }
.contact-link { overflow-wrap: anywhere; }

body.modal-open { overflow: hidden; }
.policy-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; }
.policy-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.policy-panel { position: relative; width: min(100%, 720px); max-height: min(88vh, 850px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d7d7d7; border-radius: 6px; background: white; box-shadow: 0 18px 50px rgba(0, 0, 0, .2); }
.policy-panel:focus { outline: 3px solid rgba(209, 43, 63, .22); outline-offset: 2px; }
.policy-panel-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); }
.policy-panel-header h2 { margin: 0; font-size: 1.28rem; letter-spacing: -.025em; }
.policy-close { min-width: 54px; min-height: 38px; padding: 5px 10px; border: 1px solid #ccc; border-radius: 4px; color: var(--ink); background: white; font-size: .78rem; font-weight: 750; }
.policy-document { padding: 22px; color: #333; font-size: .9rem; line-height: 1.85; }
.policy-document h3 { margin: 28px 0 9px; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.policy-document h3:first-of-type { margin-top: 22px; }
.policy-document p { margin: 0 0 11px; }
.policy-document ul { margin: 0 0 14px; padding: 0; list-style: none; }
.policy-document li { position: relative; margin: 0 0 5px; padding-left: 1em; }
.policy-document li::before { position: absolute; left: 0; content: "・"; }
.policy-document a { color: var(--red-dark); overflow-wrap: anywhere; text-underline-offset: 3px; }

@media (min-width: 720px) {
  .site-header { height: 70px; }
  .search-view { padding-top: 72px; }
  .hero-opening { display: block; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { font-size: clamp(3.2rem, 6vw, 4.3rem); }
  .hero-copy h1 span { font-size: .38em; }
  .hero-visual { margin-top: 34px; }
  .search-card { padding: 30px; }
  .report-preview { margin-top: 56px; }
  .feature-strip li { min-height: 144px; padding: 11px; }
  .report-view { width: min(100% - 48px, 760px); }
  .hero-stat-card { padding: 31px 30px 25px; }
  .overview-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
  .overview-total { padding: 31px 26px 25px; }
  .overview-total .mega-stat strong { font-size: clamp(3.5rem, 7vw, 4.8rem); }
  .overview-style { padding-top: 30px; border-top: 0; border-left: 1px solid var(--line); }
  .overview-style > .section-heading { padding: 0 26px; }
  .style-card, .coverage-card { padding-inline: 26px; }
  .video-count-card { padding-inline: 26px; }
  .report-section { margin-top: 62px; }
  .first-comment-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .thumbnail-link { height: 100%; min-height: 300px; aspect-ratio: auto; }
  .first-comment-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
  .member-panel { padding: 24px 26px; }
}

@media (max-width: 420px) {
  .site-header { padding: 0 16px; }
  .unofficial { font-size: .58rem; letter-spacing: .07em; }
  .search-view, .report-view { width: min(100% - 24px, 720px); }
  .search-view { padding-top: 42px; }
  .usage-check > p { font-size: .82rem; }
  .consent-item { padding: 9px; }
  .consent-item label, .consent-text { font-size: .78rem; }
  .policy-modal { padding: 8px; }
  .policy-panel { max-height: calc(100vh - 16px); }
  .policy-panel-header { padding: 15px 16px; }
  .policy-document { padding: 18px 16px 22px; font-size: .86rem; }
  .hero-copy h1 { font-size: 2.7rem; }
  .report-preview > h2 { font-size: 1.3rem; }
  .feature-strip li { min-height: 144px; padding: 8px; }
  .feature-strip h3 { font-size: .875rem; line-height: 1.35; }
  .feature-strip p { font-size: .75rem; line-height: 1.5; }
  .hero-stat-card { padding-inline: 19px; }
  .mega-stat strong { font-size: 4.05rem; }
  .section-heading h2 { font-size: 1.17rem; }
  .video-count-card { align-items: flex-start; }
  .video-count-card dl { width: 51%; }
  .coverage-row { grid-template-columns: 61px 1fr 52px; gap: 7px; }
  .history-range { gap: 7px; }
  .timeline-date strong { font-size: .86rem; }
  .activity-block, .tenure-card { padding: 17px 15px; }
  .span-rank { padding-left: 15px; }
  .tenure-card > strong { font-size: 1.65rem; }
  .member-labels strong { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:focus-visible { outline: 3px solid rgba(209, 43, 63, .25); outline-offset: 3px; }
