.app-hero p:not(.overline) {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--stone);
}

.reading-state[hidden] { display: none; }

/* v6.5.0: scoped reading feed, compact calendar, shared secure article UI. */
.app-body .reading-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; max-width: 1280px; }
.reading-aside { padding: 18px 6px; }
.reading-aside h1 { font-size: 30px; line-height: 1.35; margin: 12px 0 28px; }
.reading-overview { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; }
.reading-overview span { color: var(--stone); letter-spacing: .1em; }
.app-body .reading-feed { min-width: 0; padding: 24px; }
.reading-header time { color: var(--stone); font-size: 12px; letter-spacing: .03em; }
.reading-date { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 20px; }
.reading-date h2 { font-size: 23px; line-height: 1.4; margin: 0; }
.app-body .calendar-toggle { min-height: 44px; background: #fff1cc; border-color: #9c6e15; color: #684707; font-size: 14px; font-weight: 800; white-space: nowrap; padding-inline: 16px; }
.app-body .calendar-toggle:hover { background: #ffe8a8; }
.reading-tabs { display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 8px; margin-bottom: 20px; }
.reading-tabs button { min-height: 48px; border: 1px solid #9eacbf; border-radius: 14px; background: #f6f8fc; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.reading-tabs button[aria-pressed=true] { border-color: #234e7f; background: #234e7f; color: white; box-shadow: 0 3px 8px #234e7f22; }
.reading-filters { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.reading-filters label { min-width: 0; display: grid; gap: 5px; color: var(--stone); font-size: 12px; }
.reading-filters input, .reading-filters select { min-width: 0; width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #9eacbf; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
.reading-result { min-height: 24px; margin-top: 20px; color: var(--stone); font-size: 13px; }
.app-body #report-calendar { margin: 0 0 20px; border-radius: 18px; box-shadow: none; }
#report-calendar[hidden] { display: none; }
.reading-tabs :focus-visible, .reading-filters :focus-visible, .calendar-toggle:focus-visible { outline: 3px solid #174f92; outline-offset: 3px; }
@media (max-width: 900px) { .app-body .reading-layout { grid-template-columns: 1fr; max-width: 850px; gap: 0; } .reading-aside { display: none; } }
@media (max-width: 700px) {
  .app-body .reading-layout { margin-top: 16px; }
  .app-body .reading-feed { padding: 18px 12px; }
  .reading-date { gap: 10px; margin-bottom: 16px; }
  .reading-date h2 { font-size: 20px; }
  .app-body .calendar-toggle { font-size: 13px; padding-inline: 12px; }
  .reading-tabs { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
  .reading-tabs [data-report-scope=trial] { grid-column: 1/-1; grid-row: 1; }
  .reading-filters { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reading-filters .reading-search { grid-column: 1/-1; }
  .reading-filters input, .reading-filters select { font-size: 16px; }
  .reading-result { margin-top: 16px; }
}

/* Author display rules must not expose member-only controls before session load. */
.profile-button[hidden], .profile-login[hidden], #profile-logout[hidden] { display: none; }
.profile-login { min-width: 44px; min-height: 44px; padding-inline: 12px; white-space: nowrap; }
.profile-login:disabled { opacity: .6; cursor: wait; }
.reading-aside-sticky { position: sticky; top: 96px; }
.bookmark-card { margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #fffdf7; box-shadow: 0 4px 18px #17203308; }
.bookmark-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bookmark-card h2 { margin: 0; font-size: 17px; }
.bookmark-count, #bookmark-mobile-count { min-width: 24px; padding: 2px 6px; border-radius: 99px; background: #234e7f; color: #fff; font-size: 12px; font-weight: 800; text-align: center; }
#bookmark-sidebar-list { max-height: calc(100dvh - 380px); overflow-y: auto; overscroll-behavior: contain; margin-top: 12px; }
.bookmark-empty { margin: 12px 0; color: var(--stone); font-size: 14px; line-height: 1.65; }
.bookmark-item { padding: 12px 0; border-top: 1px solid var(--line); }
.bookmark-open { display: grid; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: start; cursor: pointer; min-height: 44px; }
.bookmark-open span { font-size: 14px; font-weight: 750; line-height: 1.6; overflow-wrap: anywhere; }
.bookmark-open small { color: var(--stone); font-size: 12px; }
.bookmark-remove { margin-top: 6px; min-height: 44px; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent; color: #52627a; font: inherit; font-size: 12px; cursor: pointer; }
.bookmark-remove:hover, .bookmark-open:hover { color: #174f92; }
.bookmark-remove:disabled { opacity: .6; cursor: default; }
.bookmark-status { margin: 8px 0 0; color: #754512; font-size: 13px; overflow-wrap: anywhere; }
.reading-date-actions { display: flex; align-items: center; gap: 8px; }
.bookmarks-toggle { display: none; align-items: center; gap: 6px; min-height: 44px; padding-inline: 12px; background: #edf2fa; border-color: #8095b0; color: #234e7f; font-size: 13px; }
.bookmarks-toggle svg, .article-bookmark svg, .back-to-top svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.article-row { position: relative; }
.article-bookmark { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; margin: -4px 0 12px 20px; padding: 6px 12px; border: 1px solid #a7b5c8; border-radius: 99px; background: #fff; color: #52627a; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.article-bookmark[aria-pressed=true] { background: #e9effa; color: #234e7f; border-color: #6583a8; }
.article-bookmark[aria-pressed=true] svg { fill: #c4d5ec; }
.article-bookmark:disabled { opacity: .6; cursor: wait; }
.bookmark-open:focus-visible, .bookmark-remove:focus-visible, .article-bookmark:focus-visible, .bookmarks-toggle:focus-visible, .back-to-top:focus-visible { outline: 3px solid #174f92; outline-offset: 3px; }
.app-body .back-to-top { position: fixed; z-index: 40; inset-inline-end: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 1px solid #879bb5; border-radius: 16px; background: #e8eff9; color: #234e7f; box-shadow: 0 4px 12px #17203320; cursor: pointer; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #dce7f7; }
.bookmarks-modal { width: min(480px, calc(100% - 24px)); }
.bookmarks-modal .account-modal-card { width: 100%; }
.bookmarks-modal .account-modal-body { max-height: calc(85dvh - 120px); overscroll-behavior: contain; }
@media (min-width: 901px) { .app-body .reading-layout { width: calc(100% - 128px); } }
@media (max-width: 900px) {
  .bookmarks-toggle { display: inline-flex; }
  .app-body .reading-layout { width: calc(100% - 16px); }
  /* The floating control must not reserve a column or row in the reading feed. */
  .app-body .article-list { padding-inline-end: 0; }
  .app-body .back-to-top { inset-inline-end: max(8px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 13px; }
  .article-bookmark { margin-inline-start: 12px; }
}
@media (max-width: 380px) { .reading-date-actions { width: 100%; } }
.profile-account-status { margin: 12px 0 0; color: var(--red); font-size: 13px; overflow-wrap: anywhere; }
.profile-account-status:empty { display: none; }

/* Material 3 report prototype. These tokens are confined to the public report. */
.app-body {
  --ink: #182638;
  --paper: #f6f8fc;
  --stone: #4d5968;
  --line: #d5dfeb;
  --soft: #e9f0fa;
  --navy: #123960;
  --m3-primary: #174f92;
  --m3-on-primary: #fff;
  --m3-primary-container: #d9e9ff;
  --m3-surface: #fff;
  --m3-surface-container: #eef3fa;
  --m3-focus: #174f92;
  background: radial-gradient(circle at 90% 0, #e2eeff, transparent 36%), var(--paper);
}
.app-body .app-topbar {
  border-color: var(--line);
  background: rgba(248, 250, 255, .95);
  box-shadow: 0 3px 18px rgba(24, 38, 56, .06);
}
.app-body .football-mark { color: var(--m3-primary); box-shadow: 0 0 0 2px var(--m3-primary); }
.app-body .button,
.app-body .locale-control select {
  border-radius: 999px;
  border-color: #9eacbf;
  transition: background-color .18s, color .18s, box-shadow .18s;
}
.app-body .button.primary { border-color: var(--m3-primary); background: var(--m3-primary); color: var(--m3-on-primary); }
.app-body .button.primary:hover { background: #103e76; }
.app-body .button.outline:hover { border-color: var(--m3-primary); background: var(--m3-primary-container); color: var(--ink); }
.app-body .app-shell { margin-top: 32px; }
.app-body .app-hero { margin-bottom: 22px; }
.app-body .app-hero h1 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.035em; line-height: 1.13; }
.app-body .app-hero .overline { color: var(--m3-primary); letter-spacing: .12em; }
.app-body .calendar-card,
.app-body .content-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--m3-surface);
  box-shadow: 0 12px 32px rgba(24, 38, 56, .06);
}
.app-body .calendar-toolbar { border-color: var(--line); background: var(--m3-surface-container); }
.app-body .calendar-arrow { border-color: var(--line); background: var(--m3-surface); color: var(--m3-primary); }
.app-body .calendar-arrow:hover:not(:disabled) { background: var(--m3-primary-container); }
.app-body .calendar { border-collapse: separate; border-spacing: 4px; }
.app-body .calendar th,
.app-body .calendar td { border: 0; }
.app-body .calendar th { border-radius: 12px; background: var(--m3-surface-container); color: var(--stone); }
.app-body .calendar td { border-radius: 14px; background: var(--m3-surface-container); overflow: hidden; }
.app-body .calendar td.outside { background: #f8fafe; }
.app-body .day-link { min-height: 66px; border-radius: 14px; }
.app-body .day-link:hover { background: var(--m3-primary-container); }
.app-body .day-link.selected { background: var(--m3-primary-container); box-shadow: inset 0 0 0 2px var(--m3-primary); }
.app-body .day-link.today .day-number { color: var(--gold-dark); text-decoration-color: var(--gold); }
.app-body .today-label { color: var(--gold-dark); }
.app-body .calendar-note { border-color: var(--line); background: var(--m3-surface-container); }
.app-body .section-head { border-color: var(--m3-primary); }
.app-body .article-list { gap: 12px; padding-top: 18px; }
.app-body .article-row {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--m3-surface);
  box-shadow: 0 2px 7px rgba(24, 38, 56, .035);
  transition: background-color .18s, box-shadow .18s, border-color .18s;
}
.app-body .article-row:last-child { border-bottom: 2px solid var(--line); }
.app-body .article-row.is-read { border-color: var(--line); background: #f8faff; box-shadow: none; }
.app-body .article-row.is-last-read:not(.is-open) {
  border: 2px solid var(--m3-focus);
  background: #eee7fb;
  box-shadow: 0 5px 18px rgba(23, 79, 146, .1);
}
.app-body .article-row.is-open {
  border: 2px solid var(--m3-focus);
  background: #eee7fb;
  box-shadow: 0 10px 24px rgba(23, 79, 146, .11);
}
.app-body .article-row.is-last-read::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: var(--m3-primary);
  pointer-events: none;
}
.app-body .article-title-button {
  min-height: 78px;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  padding: 17px 22px;
  gap: 12px;
}
.app-body .article-title-button:hover { background: rgba(23, 79, 146, .055); }
.app-body .article-title-button:active { background: rgba(23, 79, 146, .11); }
.app-body .article-title-button:focus-visible { outline: 3px solid var(--m3-focus); outline-offset: -5px; border-radius: 20px; }
.app-body .article-heading { display: block; min-width: 0; }
.app-body .article-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; }
.app-body .access-badge,
.app-body .reading-state { margin: 0; }
.app-body .reading-state,
.app-body .article-focus-state {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--m3-primary);
  border-radius: 999px;
  background: var(--m3-primary-container);
  color: #123960;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}
.app-body .reading-state svg,
.app-body .article-focus-state svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.app-body .reading-state .unread-dot { fill: currentColor; stroke: none; }
.app-body .reading-state[hidden] { display: none; }
.app-body .reading-state .read-ring,
.app-body .reading-state .read-check { display: none; }
.app-body .reading-state.is-read { border-color: #a5b3c3; background: #fff; color: #455366; }
.app-body .reading-state.is-read .unread-dot { display: none; }
.app-body .reading-state.is-read .read-ring,
.app-body .reading-state.is-read .read-check { display: initial; }
.app-body .article-focus-state { border-color: var(--m3-primary); background: var(--m3-primary); color: #fff; }
.app-body .article-focus-state[hidden] { display: none; }
.app-body .article-row.is-open .focus-last-label,
.app-body .article-row:not(.is-open) .focus-open-label { display: none; }
.app-body .article-title { display: block; font-size: 17px; line-height: 1.45; }
.app-body .article-row.is-read:not(.is-last-read):not(.is-open) .article-title { color: #43556a; font-weight: 700; }
.app-body .article-row.is-open .article-title { color: var(--ink); }
.app-body .article-meta { font-size: 12px; }
.app-body .chevron { width: 22px; height: 22px; color: var(--m3-primary); }
.app-body .article-panel:not([hidden]) { padding: 0 18px 10px; }
.app-body .article-frame { border-radius: 16px; }
.app-body .article-collapse-button { width: calc(100% - 36px); margin: 4px 18px 18px; border-radius: 999px; background: #fff; border-color: #9eacbf; color: var(--m3-primary); }
.app-body .article-collapse-button:hover { background: var(--m3-primary-container); }
.app-body .account-modal-card,
.app-body .profile-drawer { border-radius: 26px; }
.app-body .profile-drawer { border-radius: 26px 0 0 26px; }
@media (max-width: 700px) {
  .app-body .app-shell { width: calc(100% - 16px); margin-top: 20px; }
  .app-body .app-hero { padding: 0 8px; margin-bottom: 17px; }
  .app-body .app-hero h1 { font-size: clamp(29px, 8vw, 38px); }
  .app-body .calendar-card,
  .app-body .content-card { border-radius: 22px; }
  .app-body .calendar { border-spacing: 2px; }
  .app-body .calendar td { border-radius: 9px; }
  .app-body .day-link { min-height: 50px; padding: 4px 3px; border-radius: 9px; }
  .app-body .content-card { padding: 16px 12px; }
  .app-body .article-list { gap: 9px; padding-top: 14px; }
  .app-body .article-row { border-radius: 18px; }
  .app-body .article-title-button { min-height: 76px; padding: 14px 15px; }
  .app-body .article-title { font-size: 16px; }
  .app-body .article-panel:not([hidden]) { padding: 0 10px 8px; }
  .app-body .article-collapse-button { width: calc(100% - 20px); margin: 4px 10px 12px; }
  .app-body .profile-drawer { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .app-body .article-row,
  .app-body .button { transition: none; }
}

/* Public daily summary sits outside the filtered article list. */
.app-body .daily-summary-card { margin: 0 0 16px; border: 2px solid var(--md-primary, #6750a4); background: var(--md-primary-container, #eee5ff); }
.summary-panel { padding: 0 20px 20px; color: #1d1b20; overflow-wrap: anywhere; }
.summary-panel[data-restricted="true"] { user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
.app-body .summary-sort { display:flex; flex-wrap:wrap; gap:8px 16px; min-width:0; margin:0 0 16px; padding:0; border:0; }
.app-body .summary-sort label { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:4px 8px; border-radius:8px; color:#1d1b20; font-size:15px; font-weight:600; line-height:1.5; cursor:pointer; }
.app-body .summary-sort label:hover { background:#e2d5f4; }
.app-body .summary-sort input[type="radio"] { flex:0 0 auto; appearance:auto; width:20px; height:20px; margin:0; padding:0; accent-color:var(--md-primary, #6750a4); cursor:pointer; }
.app-body .summary-sort input[type="radio"]:focus-visible { outline:3px solid var(--md-primary, #6750a4); outline-offset:3px; }
.summary-kickoff { margin:0 0 6px; color:#514a5b; font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; }
.summary-league + .summary-league { border-top: 1px solid #c9bfdc; margin-top: 24px; padding-top: 16px; }
.summary-time-entry + .summary-time-entry { margin-top:16px; padding-top:12px; }
.summary-league h3 { margin: 0 0 12px; font-size: 19px; }
.summary-match { padding: 14px; border-radius: 12px; background: #fff; margin-bottom: 12px; }
.summary-match h4 { margin: 0 0 8px; font-size: 16px; }
.summary-contribution + .summary-contribution { border-top: 1px solid #e8e3ee; padding-top: 8px; }
.summary-contribution button { border: 0; background: transparent; color: #4f378b; text-align: start; font: inherit; font-weight: 600; text-decoration: underline; padding: 8px 0; min-height: 44px; cursor: pointer; }
.summary-contribution ul { margin: 0 0 12px; padding-left: 22px; line-height: 1.65; }
.summary-contribution button:focus-visible { outline: 3px solid #6750a4; outline-offset: 3px; border-radius: 4px; }
.summary-locked { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:4px 0 0; }
.summary-mosaic { display:inline-flex; flex:0 1 auto; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; max-width:100%; padding:2px 0; }
.summary-mosaic-word { display:inline-flex; gap:2px; }
.summary-mosaic-pixel { display:inline-block; width:.65em; height:.9em; border-radius:1px; background-image:conic-gradient(from 90deg,#c5c7cd 25%,#f1f2f4 0 50%,#d6d8dc 0 75%,#e7e9ec 0); background-size:4px 4px; opacity:.65; }
.summary-mosaic-pixel:nth-child(2n) { background-position:2px 1px; }
.summary-mosaic-pixel:nth-child(3n) { background-position:1px 3px; }
.summary-join { display:inline-flex; flex:0 0 auto; white-space:nowrap; gap:8px; align-items:center; justify-content:center; min-height:44px; padding:8px 12px; border:0; border-radius:12px; background:#e8def8; color:#4f378b; font:inherit; font-weight:700; text-decoration:underline; cursor:pointer; }
.summary-join svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; }
.summary-join:focus-visible { outline:3px solid #6750a4; outline-offset:3px; }
.summary-join:hover { background:#d8c9ed; }
.summary-unlock-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:0 0 16px; }
.summary-unlock-bar p { margin:0; font-weight:600; }
.summary-join-primary { background:#6750a4; color:#fff; text-decoration:none; }
.summary-join-primary:hover { background:#4f378b; }
.summary-unlock-footer { display:flex; justify-content:center; padding-top:4px; }
.summary-join-secondary { background:transparent; }
.summary-preview-list { margin:12px 0 0; }
.summary-preview-list > div { display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:center; gap:12px; margin:8px 0; }
.summary-preview-list dt { font-size:14px; font-weight:600; white-space:nowrap; color:#514a5b; }
.summary-preview-list dd { margin:0; min-width:0; }
.summary-preview-label { display:block; color:#35634a; font-size:13px; font-weight:700; margin:6px 0 0; }
.summary-free-preview + .summary-preview-list { border-top:1px solid #e8e3ee; padding-top:4px; }
@media (max-width: 600px) { .summary-panel { padding: 0 12px 12px; } .summary-match { padding: 12px; } }
