.number-page { padding-block: 17px 36px; }
.number-page > * + * { margin-top: 16px; }
#main-content.number-page { width: calc(100% - 24px); padding-top: 14px; }
.number-page h2 { text-wrap: pretty; }
.number-page h3 { margin: 0; color: var(--ink); font-size: 1.125rem; line-height: 1.3; }
.number-page :is(p, a, h1, h2, h3, dt, dd, strong) { overflow-wrap: anywhere; }
.number-page :is(#comments, #add_comment, #number-details) { scroll-margin-top: 14px; }


.number-breadcrumb { margin-bottom: 3px; color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.number-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 5px; margin: 0; padding: 0; list-style: none; }
.number-breadcrumb li { display: inline-flex; align-items: baseline; gap: 5px; }
.add-comment-form :is(input[type='text'], textarea) { width: 100%; min-height: 44px; border: 1px solid #91a5bf; border-radius: 8px; padding: 8px 10px; background: #f9fbff; color: var(--ink); font-size: 1rem; }
.number-button, .add-comment-form input[type='submit'] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 13px; border: 1px solid #e5a515; border-radius: 8px; background: var(--amber); color: #211806; font-size: 1rem; font-weight: 750; text-decoration: none; text-align: center; cursor: pointer; }
.number-button:hover, .add-comment-form input[type='submit']:hover { background: var(--amber-hover); color: #211806; }

.number-hero { --hero-inset: 18px; container-type: inline-size; display: grid; gap: 8px; padding: var(--hero-inset); border: 1px solid #ccdbee; border-radius: 13px; background: linear-gradient(165deg, #ebf3fd 0%, #fcfdff 100%); }
.hero-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.number-identity { flex: 1 1 14rem; min-width: 0; }
.number-hero h1 { margin: 0; font-size: clamp(1.875rem, 6vw, 2.65rem); font-weight: 770; font-variant-numeric: tabular-nums; letter-spacing: -.028em; text-wrap: initial; }
.number-heading-number, .number-heading-suffix { white-space: nowrap; }
.number-heading-suffix { font-size: .65em; letter-spacing: normal; }
.number-context { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 6px; color: var(--text); }
.number-context-place { display: inline-flex; align-items: center; gap: 7px; }
.number-context img { flex: 0 0 18px; object-fit: cover; border-radius: 2px; }
.number-context small { order: 1; color: var(--muted); font-size: .875rem; }
.hero-rating { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: .875rem; text-align: center; }
.hero-rating .classification-badge { padding: 4px 12px; font-size: 1.125rem; }
.hero-dates { margin: 4px 0; padding-inline: 14px; border: 1px solid #d9e4f0; border-radius: 8px; background: #f7fbff; }
.hero-dates > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); align-items: baseline; gap: 5px 12px; padding-block: 10px; }
.hero-dates > div + div { border-top: 1px solid #d9e4f0; }
.hero-dates dt, .hero-metrics dt { color: var(--muted); font-size: .875rem; font-weight: 620; line-height: 1.2; }
.hero-dates dd, .hero-metrics dd { margin: 0; color: var(--ink); font-size: .9375rem; font-weight: 680; line-height: 1.28; font-variant-numeric: tabular-nums; text-wrap: pretty; }
.hero-dates dd { color: var(--blue); text-align: end; }
.hero-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 calc(-1 * var(--hero-inset)); border-block: 1px solid #ccdbee; background: #edf4fd; }
.hero-metrics > div { display: grid; min-block-size: 68px; place-content: center; gap: 6px; padding: 10px 8px; text-align: center; }
.hero-metrics > div:nth-child(even) { border-inline-start: 1px solid #d9e4f0; }
.hero-metrics > div:nth-child(n + 3) { border-top: 1px solid #d9e4f0; }
.hero-metrics > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hero-metrics dt { text-transform: uppercase; }
.hero-metrics .hero-reports { background: #e3effd; }
.hero-reports a { display: grid; gap: 5px; }
.hero-reports strong { font-size: 1.05rem; }
.hero-reports a span { font-size: .8125rem; font-weight: 620; }
.hero-footer { display: flex; justify-content: center; padding-block-start: 4px; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.hero-details-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }

@container (max-width: 270px) {
  .hero-dates { margin-block: 2px; }
  .hero-dates > div { padding-block: 8px; }
  .hero-metrics > div { min-block-size: 64px; padding-block: 9px; }
  .hero-actions { column-gap: 14px; }
  .hero-report-action { padding-inline: 4px; }
}

@media (max-width: 360px) {
  .number-hero { --hero-inset: 14px; }
}

@media (min-width: 641px) {
  .hero-metrics { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
  .hero-metrics > div { min-block-size: 92px; }
  .hero-metrics > div + div { border-inline-start: 1px solid #d9e4f0; }
  .hero-metrics > div:nth-child(n + 3) { border-top: 0; }
  .hero-metrics > div:last-child:nth-child(odd) { grid-column: auto; }
}

.number-ad-layout .number-ad-spaced { margin: 10px 0; padding: 0; }
.preview-ad-fill [data-placement="NumPTopAd1"]::after,
.preview-ad-fill [data-placement="NumPBelowLCB1"]::after { display: grid; box-sizing: border-box; place-items: center; min-height: 100px; border: 1px dashed #8499b2; background: #f1f5fa; color: #31465c; font-weight: 700; text-align: center; }
.preview-ad-fill [data-placement="NumPTopAd1"]::after { content: 'Advert 1 · Simulated fill'; }
.preview-ad-fill [data-placement="NumPBelowLCB1"]::after { content: 'Advert 2 · Simulated fill'; }
.number-analysis { padding-bottom: 12px; }
.number-analysis .wc-latest-report { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.analysis-disclosure summary { font-size: .9375rem; }
.number-panel, .related-reported, .number-safety-guidance { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.number-panel p, .related-reported p, .number-safety-guidance p { margin-top: 8px; }

.fact-caution { padding: 9px 11px; border-left: 3px solid #a8c0db; border-radius: 0 6px 6px 0; background: #edf4fc; color: #314a67; font-size: .9375rem; }
.fact-grid { margin-block: 6px 0; }
.fact-card, .report-dates p { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); align-items: baseline; align-content: start; gap: 2px 9px; border-bottom: 1px solid #e5ebf3; padding: 7px 0; }
.fact-card > span, .report-dates p > span { color: var(--muted); font-size: .875rem; }
.fact-card > strong, .report-dates p > strong { color: var(--ink); font-weight: 690; }
.fact-card > small { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); }
.number-facts :is(.fact-card, .report-dates p) > strong { text-align: end; }
.essential-facts .fact-card { padding-block: 6px; }
.essential-facts .fact-card:last-child { border-bottom: 0; }
.report-dates p { margin-top: 0; }
.number-facts :is(p.small, .fact-caution-note) { color: var(--muted); font-size: .875rem; }
.secondary-fact-groups { display: grid; gap: 12px; }
.secondary-fact-groups section { min-width: 0; padding-top: 9px; border-top: 1px solid #d8e1ed; }
.secondary-fact-groups h3 { margin-bottom: 4px; }
.number-facts .fact-notes { margin-top: 8px; }
.number-facts .fact-notes dd { font-weight: 400; }
.number-facts .fact-notes small { font: inherit; }

.fold { margin-top: 11px; border: 1px solid #d8e1ed; border-radius: 8px; background: #f8fafd; }
.fold summary { padding: 10px 12px; color: var(--blue); font-weight: 700; cursor: pointer; }
.fold .fold-content { padding: 0 12px 12px; }
.fold-content dl { margin: 0; }
.fold-content dl + dl { margin-top: 8px; }
.fold-content dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-block: 4px; color: var(--muted); font-size: .875rem; }
.fold-content dd { margin: 0; color: var(--ink); font-weight: 620; }
.fold-content .page-history { margin-top: 10px; border: 1px solid #dae4ee; border-radius: 7px; }
.fold-content .page-history p { margin: 0; padding: 0 11px 9px; font-size: .875rem; }

.danger { --classification-colour: #a32128; }
.harassing { --classification-colour: #a94315; }
.unknown { --classification-colour: #686868; }
.neutral { --classification-colour: #28578e; }
.safe { --classification-colour: #417919; }
.mixed { --classification-colour: #4d5869; }
.classification-badge, .home-rating-label { display: inline-block; padding: 2px 7px; border-radius: 5px; background: var(--classification-colour, #536070); color: #fff; font-size: .8125rem; font-weight: 700; }
.reports-section .heading-underline { position: relative; margin: 0 0 20px; padding-bottom: 20px; color: #105bbb; }
.reports-section .heading-underline::before { content: ''; position: absolute; inset: auto auto 0 0; width: 80px; height: 1px; background: #979797; }
.report-page-summary, .report-group-note { color: var(--muted); font-size: .875rem; }
.report-page-summary + .report-page-summary { margin-top: 2px; }
.wc-rating-bar { display: flex; gap: 3px; overflow: hidden; height: 8px; margin-block: 10px 12px; border-radius: 5px; }
.wc-rating-bar > span { background: var(--classification-colour, #536070); }
.wc-rating-key { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 5px; }
.wc-rating-cell { display: flex; flex-direction: column; gap: 1px; padding: 6px; border: 1px solid #d8e1ed; border-radius: 6px; color: var(--ink); font-size: .875rem; }
.wc-rating-cell i { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--classification-colour); }
.wc-rating-cell small, .wc-rating-method { color: var(--muted); font-size: .875rem; }
.wc-topics { margin-top: 12px; }
.wc-topics span { display: inline-block; margin: 0 4px 4px 0; padding: 3px 8px; border-radius: 5px; background: #fff0f1; color: #8e1f29; }
.wc-topics small { color: var(--muted); font-size: .875rem; }
.wc-topics span small { color: inherit; }
.region-bars { display: grid; gap: 8px; margin: 8px 0; padding: 0; list-style: none; }
.region-bar-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; color: var(--muted); font-size: .875rem; }
.region-track { height: 7px; overflow: hidden; border-radius: 6px; background: #e4edf7; }
.region-track span { display: block; height: 100%; border-radius: inherit; background: #4877ae; }
.reports-section .comment-group-title { margin-block: 16px 4px; color: #105bbb; font-weight: 700; }
.number-report-list { display: grid; gap: 9px; margin-top: 9px; padding: 0; list-style: none; }
.number-report { position: relative; min-width: 0; padding: 12px 12px 10px 17px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.number-report.latest-comment { background: #f4f8fd; box-shadow: inset 0 0 0 2px #e7d58c; }
.classification-edge { position: absolute; inset: -1px auto -1px -1px; width: 6px; border-radius: 8px 0 0 8px; background: var(--classification-colour); pointer-events: none; }
.number-report-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 10px; }
.number-report-byline { display: flex; grid-area: 1 / 1; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.number-report-byline > strong { flex-basis: 100%; min-width: 0; }
.number-report-meta time { grid-area: 1 / 2; }
.number-report-meta time { color: #535b64; font-size: .875rem; }
.number-report-meta time strong { color: #444; font-weight: 700; }
.number-report-byline > strong, .report-today-summary > strong { font-weight: 700; }
.number-report-byline .classification-badge, .report-today-badge { padding: 2px 7px; border-radius: 3px; font-size: .75rem; font-weight: 400; line-height: 1.55; }
.report-latest-labels { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.report-latest-labels > span { white-space: nowrap; }
.report-today-badge { background: #0876a9; color: #fff; }
.report-today-marker { color: #086b9a; font-size: .6875rem; font-weight: 700; }
.reports-section .number-report-text { max-width: 90ch; margin-top: 10px; white-space: pre-wrap; }
.report-issue { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; color: #535b64; font-size: .8125rem; font-weight: 400; text-decoration: underline; }
.report-pagination ul { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; padding: 0; list-style: none; }
.report-pagination :is(a, span) { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; }
.report-pagination a:hover, .report-pagination [aria-current] { border-color: #94acc7; background: #edf4fc; color: var(--blue); }
.report-pagination [aria-current] { font-weight: 700; }
.report-pagination [aria-disabled] { color: #62728a; }

.add-comment-form > ul, .rating-list { margin: 0; padding: 0; list-style: none; }
.add-comment-form { margin-top: 11px; }
.add-comment-form > ul { display: grid; gap: 11px; }
.add-comment-form > ul > li { min-width: 0; }
.add-comment-form label[for='comment-name'], .add-comment-form label[for='comment-text'] { display: block; margin-bottom: 5px; }
.add-comment-form #comment-name { max-width: 390px; }
.add-comment-form #comment-text { display: block; min-height: 114px; resize: vertical; }
.add-comment-form fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.add-comment-form legend { margin-bottom: 5px; padding: 0; }
.rating-list { display: flex; flex-wrap: wrap; gap: 6px; }
.rating-choice { position: relative; }
.rating-choice input { position: absolute; top: 50%; left: 9px; width: 16px; height: 16px; margin: 0; transform: translateY(-50%); accent-color: #1d60a3; }
.rating-choice label { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 9px 6px 31px; border: 1px solid var(--line); border-radius: 7px; background: #f8fafd; font-weight: 630; cursor: pointer; }
.rating-choice input:checked + label { border-color: #2b68a7; background: #eaf3ff; }
.rating-choice input:focus-visible + label { outline: 3px solid #1965b2; outline-offset: 2px; }
.rating-choice label span { width: 8px; height: 8px; border-radius: 50%; }
.color-danger { background: #a32128; } .color-harass { background: #a94315; }
.color-unknown { background: #686868; } .color-neutral { background: #28578e; } .color-safe { background: #417919; }
.form-guidelines { margin: 0 0 9px !important; color: var(--muted); font-size: .875rem; }
.text-danger, .field-error { color: #98212b; }
.field-error { font-size: .875rem; }
.add-comment-form [aria-invalid='true']:is(textarea, input) { border-color: #b0202a; }
.comment-submit-status:not(:empty) { display: block; margin-top: 7px; color: var(--muted); font-size: .875rem; }

.related-reported > p { max-width: 68ch; color: var(--muted); }
.related-reported-grid, .home-active-grid { display: grid; gap: 8px; margin-top: 10px; padding: 0; list-style: none; }
.related-reported-grid a, .home-active-grid a { display: flex; align-items: start; gap: 8px; height: 100%; padding: 9px 10px; border: 1px solid #dbe4ef; border-radius: 7px; background: #f7fafd; text-decoration: none; }
.related-reported-grid a { display: grid; grid-template-columns: 9px minmax(0, 1fr); align-items: center; gap: 0 7px; }
.related-reported-grid a:hover, .home-active-grid a:hover { background: #edf4fc; }
.related-reported-grid a strong, .home-active-grid a strong { display: block; min-width: 0; font-size: 1.125rem; }
.related-rating-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--classification-colour, #536070); }
.related-rating-dot.danger, .home-rating-label.danger { --classification-colour: #b0202a; }
.related-rating-dot.harassing, .home-rating-label.harassing { --classification-colour: #c24f08; }
.related-rating-dot.unknown, .home-rating-label.unknown { --classification-colour: #707070; }
.related-rating-dot.neutral, .home-rating-label.neutral { --classification-colour: #255c9a; }
.related-rating-dot.safe, .home-rating-label.safe { --classification-colour: #277a48; }
.related-reported-grid a small { grid-column: 2; }
.home-active-copy { flex: 1; min-width: 0; }
.home-active-copy small, .related-reported-grid a small, .wc-card-date { color: var(--muted); font-size: .875rem; }
.home-active-grid svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 5px; }
.wc-short-excerpt, .wc-card-date { display: block; margin-top: 3px; }
.wc-short-excerpt { color: var(--text); overflow-wrap: anywhere; }
.guidance-list { margin-top: 12px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #f7fafd; list-style: none; }
.guidance-list > li { padding: 8px 11px; line-height: 1.4; }
.guidance-list > li + li { border-top: 1px solid var(--line); }
.guidance-list strong { color: var(--ink); }
.guidance-list li p { margin-top: 2px; }
.number-safety-guidance .safety-context { margin-top: 10px; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.safety-guides { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.safety-guides ul { display: grid; gap: 3px; margin-top: 6px; padding: 0; list-style: none; }
.safety-guides a { color: var(--blue); text-decoration: underline; }
.safety-guides-all { display: inline-block; margin-top: 8px; font-weight: 700; }
.review-index { max-width: 760px; }
.review-index h1 { max-width: none; margin-bottom: 8px; }
.review-links { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 8px; padding: 0; list-style: none; }
.review-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .number-page { padding-block: 20px 42px; }
  .number-hero { --hero-inset: 23px; }
  .number-panel, .related-reported, .number-safety-guidance { padding: 21px; }
  .related-reported-grid, .home-active-grid { gap: 9px; }
}

@media (max-width: 640px) {
  .hero-heading { display: grid; justify-content: stretch; justify-items: center; text-align: center; }
  .number-breadcrumb ol { justify-content: center; gap: 5px 7px; }
  .number-breadcrumb li { gap: 4px; }
  .number-heading-suffix { display: block; margin-top: 2px; }
  .number-context { flex-direction: column; align-items: center; }
  .number-context small { order: 0; }
  .hero-dates > div { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .hero-dates dd { text-align: center; }

  .wc-rating-key, .region-bars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-rating-cell:last-child:nth-child(odd), .region-bars > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wc-rating-cell:last-child:nth-child(odd) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .wc-rating-cell:last-child:nth-child(odd) strong { margin-inline-start: auto; }
  .region-bar-label { display: block; }
  .region-bar-label strong { display: block; }

  .reports-section { padding-inline: 12px; }
  .number-report-meta { grid-template-columns: minmax(0, 1fr); }
  .number-report-meta time { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; font-size: .8125rem; }
  .number-report-meta .report-clock { font-size: .75rem; }
  .number-report-byline { grid-area: 2 / 1; column-gap: 8px; }
  .number-report-byline > strong { flex-basis: auto; font-size: .875rem; }
  .report-today-marker { flex-basis: 100%; }

  .add-comment-form #comment-text { min-height: 160px; }
  .add-comment-form fieldset { padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
  .rating-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); gap: 8px; }
  .rating-choice label span { flex: 0 0 8px; }

  .fold-content dl > div { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .report-latest-labels { display: contents; }
}

@media (min-width: 641px) {
  #main-content.number-page { width: calc(100% - 32px); }
  .secondary-fact-groups, .related-reported-grid, .home-active-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .add-comment-form #comment-name { max-width: none; }
  .add-comment-form input[type='submit'] { width: 100%; }
}

@media (min-width: 800px) {
  #main-content.number-page { padding-top: 7px; }
}

@media (min-width: 821px) {
  #main-content.number-page { width: min(1120px, calc(100% - 32px)); display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 28px; }
  #main-content.number-page > * { grid-column: 1; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; }
  h2 { font-size: 1.625rem; }
  .number-page { padding-top: 24px; }
  .number-page > * + * { margin-top: 18px; }
  .related-reported-grid, .home-active-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
