/* 責務: SixTONES 系ページで再利用する shared plain CSS 正本を置く。
 * 責務: build-pages と Next の両方が読み、page shell の共通文法を揃える。
 * 責務: 各 page 固有 CSS を組み合わせる前段の共通文法だけを置く。 */
:root {
  color-scheme: light;
  --bg: var(--ap-color-bg, #f8fafc);
  --panel: var(--ap-color-surface, #ffffff);
  --text: var(--ap-color-text, #111827);
  --muted: var(--ap-color-muted, #4b5563);
  --accent: var(--ap-color-link, #1d4ed8);
  --border: var(--ap-color-border, #d1d5db);
  --warn-bg: #fff8e8;
  --warn-border: #d8a53a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
}
h1,
h2,
h3 {
  margin-top: 0;
}
p,
li {
  line-height: 1.7;
}
a {
  color: var(--accent);
}
.notice {
  border-left: 4px solid var(--warn-border);
  background: var(--warn-bg);
  padding: 12px;
}
.sixtones-page-title {
  color: var(--text);
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
}
.muted {
  color: var(--muted);
}
.error {
  color: #b74b00;
  font-weight: 700;
}
.hidden {
  display: none;
}
.status-line {
  margin: 8px 0 0;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--ap-color-surface);
  color: var(--accent);
  text-decoration: none;
  transition:
    border-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    background-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    box-shadow var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    transform var(--ap-motion-duration-quick) var(--ap-motion-ease-standard);
}
.cta-primary {
  background: var(--accent);
  color: #ffffff;
}
@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    border-color: #b8c2cf;
    background: var(--ap-color-surface-muted);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
  }
  .cta-primary:hover {
    border-color: #0f6b64;
    background: #0f7b72;
  }
}
.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .cta:hover {
    transform: none;
  }
}
.empty-note,
.error-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--ap-color-surface-muted);
}
.error-note {
  border-color: #edc274;
  background: #fffaf0;
}


/* 責務: `/sixtones/` グループページの shared plain CSS 正本を置く。
 * 責務: build-pages と Next の両方がここを読み、見た目の修正起点を揃える。
 * 責務: recent-updates の共通断片と合わせて group asset を構成する。 */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ap-color-text);
  background: var(--ap-color-bg);
}
.sixtones-group-page {
  display: grid;
  gap: 0;
  padding-block-start: 0;
}
.sixtones-group-page > .sixtones-section-tone,
.sixtones-group-page > header.ap-card,
.sixtones-group-page > section.ap-card,
.sixtones-group-page > footer.ap-card,
.sixtones-group-page .dashboard-card,
.sixtones-group-page .dashboard-summary-card,
.sixtones-group-page .week-day,
.sixtones-group-page .tour-summary-item,
.sixtones-group-page .recent-unread-card {
  transition:
    border-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    box-shadow var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    background-color var(--ap-motion-duration-quick)
      var(--ap-motion-ease-standard);
}
.sixtones-group-page > .sixtones-section-tone {
  width: 100%;
  padding-block: var(--sixtones-band-padding-block, 16px);
  box-shadow: none;
}
.sixtones-group-page > .sixtones-band-major {
  --sixtones-band-padding-block: 20px;
}
.sixtones-group-page > .sixtones-band-minor {
  --sixtones-band-padding-block: 16px;
}
.sixtones-group-page > .sixtones-section-tone-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(253, 254, 255, 1));
  border-color: rgba(203, 213, 225, 0.8);
}
.sixtones-group-page > .sixtones-section-tone-muted {
  background: linear-gradient(180deg, rgba(242, 246, 250, 0.99), rgba(234, 240, 246, 0.99));
  border-color: rgba(194, 205, 219, 0.82);
}
.sixtones-group-page > header.ap-card,
.sixtones-group-page > section.ap-card,
.sixtones-group-page > footer.ap-card {
  padding: var(--ap-space-card);
}
.sixtones-band-inner {
  padding-block: 0;
}
h1,
h2,
h3 {
  margin: 0;
}
.ap-info-hint {
  position: relative;
  display: inline-flex;
}
.ap-info-trigger {
  list-style: none;
  cursor: pointer;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
  border: 1px solid var(--ap-color-border);
  border-radius: 999px;
  padding: 0 8px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  transition:
    border-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    background-color var(--ap-motion-duration-quick)
      var(--ap-motion-ease-standard),
    color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    opacity var(--ap-motion-duration-quick) var(--ap-motion-ease-standard);
}
.ap-info-trigger::-webkit-details-marker {
  display: none;
}
.ap-info-hint[open] .ap-info-trigger,
.ap-info-trigger:focus-visible {
  color: var(--ap-color-link);
  border-color: #bcd0f6;
  background: var(--ap-color-surface-muted);
}
@media (hover: hover) and (pointer: fine) {
  .ap-info-trigger:hover {
    border-color: #bcc6d2;
    background: var(--ap-color-surface-muted);
    color: var(--ap-color-text);
    opacity: 0.96;
  }
}
.ap-info-popover {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(320px, 72vw);
  padding: 8px 10px;
  border: 1px solid var(--ap-color-border);
  border-radius: var(--ap-radius-ui);
  background: var(--ap-color-surface);
  color: var(--ap-color-muted);
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  box-shadow: var(--ap-shadow-sm);
  z-index: 5;
}
.ap-info-hint[open] .ap-info-popover {
  display: block;
}
p {
  margin: 0;
}
p,
li {
  line-height: 1.7;
}
.notice {
  border-left: 3px solid #b45309;
  border: 1px solid #f3d9ad;
  border-left-width: 3px;
  border-radius: var(--ap-radius-ui);
  background: #fffaf0;
  padding: 12px;
}
.muted {
  color: var(--ap-color-muted);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--ap-color-border);
  border-radius: var(--ap-radius-ui);
  padding: 6px 12px;
  text-decoration: none;
  color: var(--ap-color-text);
  background: var(--ap-color-surface);
  font-size: 0.875rem;
  line-height: 1.4;
}
.sixtones-hero-stack {
  display: grid;
  gap: 0;
}
.sixtones-hero-primary,
.sixtones-hero-support {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sixtones-page-title-shell {
  gap: 10px;
}
.sixtones-page-title-shell .ap-section-heading {
  margin-bottom: 0;
}
.sixtones-page-copy {
  display: grid;
  gap: 0;
  max-width: 32rem;
}
.sixtones-page-copy-main {
  margin: 0;
  color: var(--ap-color-text);
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.08rem);
  font-weight: var(--ap-font-weight-semibold);
  line-height: 1.42;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.sixtones-title-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 0;
}
.sixtones-recent-updates-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: var(--ap-color-text);
  text-decoration: none;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.sixtones-recent-updates-link:hover,
.sixtones-recent-updates-link:focus-visible {
  color: var(--ap-color-link);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.sixtones-recent-updates-link-badge {
  padding: 0.12rem 0.42rem;
  margin-left: 1px;
}
.sixtones-hero-support-grid {
  display: grid;
  column-gap: var(--ap-space-card);
  row-gap: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  grid-auto-rows: auto;
}
.dashboard-hero-grid {
  display: grid;
  column-gap: var(--ap-space-card);
  row-gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  grid-auto-rows: auto;
}
.dashboard-card {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.dashboard-card-live {
  padding-inline-start: 0;
  border-left: 0;
  align-self: start;
  height: auto;
  min-height: 0;
}
.dashboard-card-birthday {
  padding-inline-start: 0;
  border-left: 0;
  align-self: start;
  height: auto;
  min-height: 0;
}
.dashboard-card.dashboard-card-primary {
  grid-column: 1 / -1;
  background: transparent;
}
.dashboard-card-body {
  padding: 0;
  margin: 0;
  min-height: 0;
}
.dashboard-card-live > .dashboard-card-body,
.dashboard-card-birthday > .dashboard-card-body {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-self: start;
  height: auto;
  min-height: 0;
}
.dashboard-card-body > :last-child {
  margin-bottom: 0;
}
.dashboard-card-primary > .dashboard-card-body {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.dashboard-state-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 0;
  margin-top: 0;
  min-width: 0;
}
.dashboard-state-summary-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}
.dashboard-state-summary-item + .dashboard-state-summary-item::before {
  content: "・";
  color: var(--ap-color-muted);
  margin-right: 6px;
}
.dashboard-state-summary-item-label {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
  font-weight: var(--ap-font-weight-medium);
  letter-spacing: var(--ap-letter-spacing-meta);
}
.dashboard-state-summary-item-value {
  margin: 0;
  font-size: var(--ap-font-size-helper);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-text);
  font-weight: var(--ap-font-weight-semibold);
  overflow-wrap: anywhere;
}
.dashboard-headline {
  margin: 0;
  font-size: var(--ap-font-size-helper);
  font-weight: var(--ap-font-weight-semibold);
  line-height: var(--ap-line-height-helper);
}
.dashboard-headline-compact {
  margin-top: 10px;
  font-size: var(--ap-font-size-helper-compact);
  font-weight: var(--ap-font-weight-medium);
  line-height: var(--ap-line-height-helper);
}
.dashboard-card-stack {
  display: grid;
  gap: 10px;
}
.dashboard-today-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.dashboard-today-list-item {
  margin: 0;
  padding: 10px 11px 9px;
  border: 1px solid rgba(203, 213, 225, 0.74);
  border-radius: calc(var(--ap-radius-ui) + 2px);
  background: var(--ap-color-surface);
  position: relative;
}
.dashboard-today-list-item:first-child {
  border-top-color: rgba(203, 213, 225, 0.82);
}
.dashboard-event-line {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  min-width: 0;
}
.dashboard-event-kind-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}
.dashboard-event-main {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  flex: 1 1 auto;
  min-width: 0;
  column-gap: 0.85rem;
  align-items: baseline;
}
.dashboard-event-meta {
  display: contents;
}
.dashboard-event-state {
  color: #1d3f67;
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: var(--ap-letter-spacing-meta);
  font-variant-numeric: tabular-nums;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  white-space: nowrap;
  flex: 0 0 auto;
  min-inline-size: 4.4rem;
}
.dashboard-event-state-undecided {
  color: var(--ap-color-muted);
}
.dashboard-event-category {
  min-width: 0;
  color: #486c93;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: var(--ap-letter-spacing-meta);
  white-space: nowrap;
  min-inline-size: 3.6rem;
  justify-self: start;
}
.dashboard-event-category-compact {
  min-inline-size: 2.8rem;
}
.dashboard-event-title {
  color: #223247;
  min-width: 0;
  font-size: var(--ap-font-size-item-heading);
  font-weight: var(--ap-font-weight-semibold);
  line-height: var(--ap-line-height-heading);
  letter-spacing: var(--ap-letter-spacing-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-event-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  font-weight: var(--ap-font-weight-semibold);
}
.dashboard-event-source-link {
  color: var(--ap-color-link);
}
.dashboard-event-source-link-muted {
  color: var(--ap-color-muted);
  font-weight: var(--ap-font-weight-medium);
}
.dashboard-event-source-link-inline {
  justify-self: end;
  margin-left: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}
.performer-highlight {
  font-weight: 700;
}
.dashboard-today-empty {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  color: var(--ap-color-muted);
  line-height: var(--ap-line-height-helper);
}
.dashboard-card-link {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.dashboard-card-link .ap-link {
  color: var(--ap-color-link);
}
.dashboard-summary-card {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}
.dashboard-summary-card-muted {
  background: transparent;
}
.dashboard-summary-card-live {
  --dashboard-card-eyebrow-size: var(--ap-font-size-helper-compact);
  --dashboard-card-eyebrow-line-height: var(--ap-line-height-helper);
  --dashboard-card-eyebrow-letter-spacing: 0.24em;
  --dashboard-card-title-size: clamp(1.02rem, 2.9vw, 1.16rem);
  --dashboard-card-title-line-height: 1.22;
  --dashboard-card-title-weight: var(--ap-font-weight-bold);
  --dashboard-card-title-color: #1f2937;
  --dashboard-card-subtext-size: 0.86rem;
  --dashboard-card-subtext-line-height: 1.38;
  --dashboard-card-subtext-weight: var(--ap-font-weight-medium);
  --dashboard-card-subtext-color: var(--ap-color-muted);
  --dashboard-card-body-gap: 9px;
  --dashboard-card-summary-gap: 5px;
  margin-bottom: 0;
  padding: 13px 13px 12px;
  border: 1px solid rgba(203, 213, 225, 0.62);
  border-radius: calc(var(--ap-radius-ui) + 10px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.965), rgba(245, 248, 251, 0.9));
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.048);
  align-self: start;
  height: auto;
  min-height: 0;
  gap: var(--dashboard-card-body-gap);
}
.dashboard-summary-card-live-countdown {
  color: var(--ap-color-text);
}
.dashboard-card-eyebrow {
  margin: 0;
  font-size: var(--dashboard-card-eyebrow-size);
  line-height: var(--dashboard-card-eyebrow-line-height);
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: var(--dashboard-card-eyebrow-letter-spacing);
}
.dashboard-card-summary {
  display: grid;
  gap: var(--dashboard-card-summary-gap);
  min-width: 0;
}
.dashboard-card-title {
  margin: 0;
  font-size: var(--dashboard-card-title-size);
  line-height: var(--dashboard-card-title-line-height);
  font-weight: var(--dashboard-card-title-weight);
  color: var(--dashboard-card-title-color);
  letter-spacing: 0.01em;
}
.dashboard-card-subtext {
  margin: 0;
  font-size: var(--dashboard-card-subtext-size);
  line-height: var(--dashboard-card-subtext-line-height);
  font-weight: var(--dashboard-card-subtext-weight);
  color: var(--dashboard-card-subtext-color);
  letter-spacing: 0.01em;
}
.dashboard-card-timer {
  border-radius: 14px;
}
.dashboard-live-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin-bottom: 6px;
}
.dashboard-live-summary {
  display: grid;
  gap: var(--dashboard-card-summary-gap);
}
.dashboard-live-label {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
  text-transform: uppercase;
}
.dashboard-live-venue {
  margin: 0;
  color: var(--dashboard-card-subtext-color);
}
.dashboard-live-title {
  margin: 0;
  color: var(--dashboard-card-title-color);
}
.dashboard-live-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(148, 163, 184, 0.88);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.992);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.dashboard-live-timer-cell {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 10px 7px 9px;
  min-width: 0;
  text-align: center;
}
.dashboard-live-timer-cell + .dashboard-live-timer-cell {
  border-inline-start: 1px solid rgba(148, 163, 184, 0.76);
}
.dashboard-live-timer-value {
  color: #0f172a;
  font-size: clamp(1.08rem, 4.9vw, 1.38rem);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.dashboard-live-timer-unit {
  color: #475569;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.dashboard-live-countdown {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dashboard-live-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
}
.dashboard-live-foot-date,
.dashboard-live-foot-link {
  min-width: 0;
}
.dashboard-live-foot-link {
  display: inline-flex;
  align-items: baseline;
  margin-left: auto;
}
.dashboard-live-foot-link-anchor {
  font-size: inherit;
  line-height: inherit;
}
.dashboard-live-foot .ap-link {
  white-space: nowrap;
}
.dashboard-summary-card-birthday {
  --dashboard-card-eyebrow-size: var(--ap-font-size-helper-compact);
  --dashboard-card-eyebrow-line-height: var(--ap-line-height-helper);
  --dashboard-card-eyebrow-letter-spacing: 0.24em;
  --dashboard-card-title-size: clamp(1.02rem, 2.9vw, 1.16rem);
  --dashboard-card-title-line-height: 1.22;
  --dashboard-card-title-weight: var(--ap-font-weight-bold);
  --dashboard-card-title-color: #1f2937;
  --dashboard-card-subtext-size: 0.86rem;
  --dashboard-card-subtext-line-height: 1.38;
  --dashboard-card-subtext-weight: var(--ap-font-weight-medium);
  --dashboard-card-subtext-color: var(--ap-color-muted);
  --dashboard-card-body-gap: 9px;
  --dashboard-card-summary-gap: 5px;
  margin-bottom: 0;
  padding: 13px 13px 12px;
  border: 1px solid rgba(203, 213, 225, 0.62);
  border-radius: calc(var(--ap-radius-ui) + 10px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.965),
    rgba(245, 248, 251, 0.9)
  );
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.048);
  align-self: start;
  height: auto;
  min-height: 0;
  gap: var(--dashboard-card-body-gap);
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.dashboard-summary-card-birthday::after {
  content: "";
  position: absolute;
  inset-block-start: 13px;
  inset-inline-end: 13px;
  width: 44px;
  height: 30px;
  background-image: url("/assets/sixtones/birthday-ornament.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  opacity: 0.72;
  z-index: 0;
}
.dashboard-birthday-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  margin-bottom: 6px;
}
.dashboard-birthday-label {
  margin: 0;
  color: var(--ap-color-muted);
  font-weight: var(--ap-font-weight-semibold);
  text-transform: uppercase;
}
.dashboard-birthday-name {
  color: var(--dashboard-card-title-color);
}
.dashboard-birthday-note {
  color: var(--dashboard-card-subtext-color);
}
.dashboard-birthday-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(181, 194, 210, 0.8);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.985);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}
.dashboard-birthday-timer-cell {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 10px 7px 9px;
  min-width: 0;
  text-align: center;
}
.dashboard-birthday-timer-cell + .dashboard-birthday-timer-cell {
  border-inline-start: 1px solid rgba(181, 194, 210, 0.74);
}
.dashboard-birthday-timer-value {
  color: var(--ap-color-text);
  font-size: clamp(1.06rem, 4.8vw, 1.34rem);
  line-height: 1;
  font-weight: var(--ap-font-weight-bold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.dashboard-birthday-timer-unit {
  color: var(--ap-color-muted);
  font-size: 0.64rem;
  line-height: 1;
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.dashboard-birthday-countdown {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dashboard-summary-label {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
  font-weight: var(--ap-font-weight-semibold);
}
.dashboard-summary-value {
  margin: 0;
  font-size: var(--ap-font-size-body);
  line-height: var(--ap-line-height-body);
  color: #1f2937;
  font-weight: var(--ap-font-weight-semibold);
  transition:
    color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    opacity var(--ap-motion-duration-quick) var(--ap-motion-ease-standard);
}
.dashboard-summary-date {
  margin: 0;
  font-size: var(--ap-font-size-meta);
  line-height: var(--ap-line-height-helper);
  font-weight: var(--ap-font-weight-bold);
  color: #1d3f67;
  transition:
    color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    opacity var(--ap-motion-duration-quick) var(--ap-motion-ease-standard);
}
.dashboard-summary-meta {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
}
.dashboard-summary-card[data-row-state="normal_empty"] .dashboard-summary-value,
.dashboard-summary-card[data-row-state="missing"] .dashboard-summary-value,
.dashboard-summary-card[data-row-state="checking"] .dashboard-summary-value {
  color: var(--ap-color-muted);
}
.dashboard-birthday-date {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--dashboard-card-subtext-color);
}
.dashboard-summary-card-muted .dashboard-birthday-date {
  opacity: 0.92;
}
.dashboard-support {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid var(--ap-color-divider);
}
.dashboard-support-inline {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  color: var(--ap-color-muted);
  line-height: var(--ap-line-height-helper);
}
.dashboard-support-sep {
  padding: 0 4px;
}
.dashboard-warning {
  margin-top: 0;
}
.dashboard-loading-line {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ecf2ff 20%, #f7faff 50%, #ecf2ff 80%);
}
.dashboard-loading-line + .dashboard-loading-line {
  margin-top: 8px;
}
.event-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.event-list li {
  margin: 0;
}
.week-section {
  background: var(--ap-color-surface);
}
.week-empty-state {
  display: grid;
  gap: 8px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.week-day {
  border: 1px solid rgba(203, 213, 225, 0.68);
  border-radius: calc(var(--ap-radius-ui) + 1px);
  padding: 10px;
  background: var(--ap-color-surface);
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  transition:
    border-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    box-shadow var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    background-color var(--ap-motion-duration-quick)
      var(--ap-motion-ease-standard);
}
.week-day--empty {
  background: rgba(255, 255, 255, 0.98);
}
.week-day--busy {
  background: var(--ap-color-surface);
}
.week-day.is-selected {
  border-color: rgba(147, 161, 178, 0.72);
  background: var(--ap-color-surface);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.035);
}
.week-day-header {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3px 5px;
}
.week-day-title {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 4px;
  min-width: 0;
  flex: 1 1 auto;
}
.week-day-header-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 3px 5px;
  min-width: 0;
  margin-left: auto;
}
.week-day-weekday {
  font-size: 0.86rem;
  font-weight: 700;
}
.week-day-date {
  font-size: 0.8rem;
  color: var(--ap-color-muted);
}
.week-day-count {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid var(--ap-color-border);
  background: var(--ap-color-surface-muted);
  color: var(--ap-color-muted);
  font-size: 0.68rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    border-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    background-color var(--ap-motion-duration-quick)
      var(--ap-motion-ease-standard),
    color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    opacity var(--ap-motion-duration-quick) var(--ap-motion-ease-standard);
}
.week-day-count-empty {
  opacity: 0.88;
}
.week-day-count-filled {
  color: #566573;
}
.today-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bcd0f6;
  border-radius: 999px;
  padding: 0 7px;
  min-height: 20px;
  background: #eef4ff;
  color: #1f4d93;
  font-size: 0.68rem;
  font-weight: 600;
  transition:
    border-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    background-color var(--ap-motion-duration-quick)
      var(--ap-motion-ease-standard),
    color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    opacity var(--ap-motion-duration-quick) var(--ap-motion-ease-standard);
}
.week-day.is-today {
  border-color: var(--ap-color-link);
  background: var(--ap-color-surface);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.week-day.is-today .week-day-count {
  background: #eef4ff;
  color: #1f4d93;
  border-color: #bcd0f6;
}
.week-day--empty .week-day-count {
  background: var(--ap-color-surface);
}
.week-day-events {
  display: grid;
  gap: 4px;
}
.event-item {
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  gap: 3px;
  border-top: 1px solid rgba(203, 213, 225, 0.56);
  background: transparent;
}
.event-item:first-child {
  padding-top: 0;
  border-top: 0;
}
.event-item + .event-item {
  margin-top: 4px;
}
.event-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.38rem;
}
.event-time {
  font-size: var(--ap-font-size-helper-compact);
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: var(--ap-letter-spacing-meta);
  color: var(--ap-color-text);
  white-space: nowrap;
  line-height: var(--ap-line-height-helper);
  font-variant-numeric: tabular-nums;
}
.event-kind-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.44rem;
  height: 1.44rem;
  padding: 0;
  line-height: 1;
  background: var(--ap-color-surface-muted);
  border: 1px solid var(--ap-color-border);
  color: var(--ap-color-text);
  transition:
    border-color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    background-color var(--ap-motion-duration-quick)
      var(--ap-motion-ease-standard),
    color var(--ap-motion-duration-quick) var(--ap-motion-ease-standard),
    opacity var(--ap-motion-duration-quick) var(--ap-motion-ease-standard);
}
.event-kind-icon {
  display: inline-flex;
  width: 1.02rem;
  height: 1.02rem;
  stroke: currentColor;
  stroke-width: 1.92;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ap-color-text);
  flex-shrink: 0;
  transform: translateY(0.5px);
}
.event-kind-icon[data-lucide="tv"],
.event-kind-icon[data-lucide="boom-box"],
.event-kind-icon[data-lucide="book-open"] {
  stroke-width: 2;
}
.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}
.status-icon {
  width: 0.96rem;
  height: 0.96rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.status-label {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.status-message {
  font-weight: 500;
}
.event-title {
  margin: 0;
  font-size: var(--ap-font-size-item-heading);
  line-height: var(--ap-line-height-heading);
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: var(--ap-letter-spacing-heading);
  overflow-wrap: anywhere;
}
.event-title-link {
  color: var(--ap-color-link);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.event-title-link:hover {
  text-decoration-thickness: 2px;
}
.event-subtext {
  margin: 0;
  color: var(--ap-color-muted);
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.event-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.event-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.event-link-secondary {
  color: var(--ap-color-link);
  opacity: 0.92;
}
.event-link-note {
  margin: 0;
  color: var(--ap-color-muted);
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.overflow {
  margin: 0;
  color: var(--ap-color-muted);
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.empty-note,
.error-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--ap-radius-ui);
  background: var(--ap-color-surface-muted);
  border: 1px solid var(--ap-color-border);
}
.error-note {
  background: #fffaf0;
  border-color: #edc274;
}
.support-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.support-secondary-links .ap-link {
  font-size: var(--ap-font-size-helper);
  line-height: var(--ap-line-height-helper);
}
.tour-summary-text {
  margin: 0;
}
.tour-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.tour-summary-item {
  margin: 0;
  border: 1px solid rgba(203, 213, 225, 0.74);
  border-radius: var(--ap-radius-ui);
  background: var(--ap-color-surface);
  padding: 10px 11px;
  display: grid;
  gap: 4px;
}
.tour-summary-primary {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: var(--ap-font-size-helper);
  line-height: var(--ap-line-height-helper);
  font-weight: var(--ap-font-weight-medium);
}
.tour-summary-date {
  font-weight: var(--ap-font-weight-bold);
  color: #1f2f45;
  font-size: var(--ap-font-size-meta);
  line-height: var(--ap-line-height-helper);
}
.tour-summary-time {
  color: #2b4468;
  font-variant-numeric: tabular-nums;
  font-size: var(--ap-font-size-meta);
  font-weight: var(--ap-font-weight-semibold);
  line-height: var(--ap-line-height-helper);
  letter-spacing: var(--ap-letter-spacing-meta);
}
.tour-summary-venue {
  margin: 0;
  color: var(--ap-color-muted);
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.tour-summary-title {
  margin: 0;
  font-size: var(--ap-font-size-body);
  line-height: var(--ap-line-height-body);
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: var(--ap-letter-spacing-heading);
  overflow-wrap: anywhere;
}
@media (min-width: 761px) {
  .tour-summary-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
  }
  .tour-summary-primary {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
  }
  .tour-summary-venue {
    white-space: nowrap;
  }
  .tour-summary-title {
    min-width: 0;
    flex: 1 1 20rem;
  }
}
.meta-list {
  margin: 0;
  padding-left: 18px;
}
.meta-list li {
  margin: 0;
}
.status-line {
  margin-top: 0;
  font-size: var(--ap-font-size-helper);
  line-height: var(--ap-line-height-helper);
}
.group-header-title {
  margin-top: 0;
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 1.8rem);
  font-weight: var(--ap-font-weight-semibold);
  line-height: 1.22;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: balance;
}
.helper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 0;
}
.helper-links a {
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.metrics-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}
.metrics-list li {
  margin: 0;
}
@media (max-width: 760px) {
  .sixtones-group-page {
    gap: 0;
    padding-block-start: 0;
  }
  .sixtones-group-page > .sixtones-band-major {
    --sixtones-band-padding-block: 18px;
  }
  .sixtones-group-page > .sixtones-band-minor {
    --sixtones-band-padding-block: 14px;
  }
  .sixtones-group-page > header.ap-card,
  .sixtones-group-page > section.dashboard-card.ap-card,
  .sixtones-group-page > section.week-section.ap-card {
    padding: var(--ap-space-card);
  }
  .dashboard-hero-grid,
  .sixtones-hero-support-grid {
    grid-template-columns: 1fr;
  }
  .sixtones-hero-support-grid {
    row-gap: 12px;
  }
  .sixtones-hero-stack {
    gap: 0;
  }
  .dashboard-today-list {
    gap: 7px;
  }
  .dashboard-today-list-item {
    padding: 9px 10px 8px;
  }
  .dashboard-summary-card {
    padding: 11px 11px 10px;
  }
  .week-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .week-day {
    min-height: 0;
    gap: 8px;
    padding: 12px;
  }
  .helper-links {
    gap: 6px 10px;
  }
  .support-secondary-links {
    gap: 6px 10px;
  }
  .ap-info-popover {
    left: 0;
    right: auto;
    width: min(320px, 84vw);
  }
  .event-title {
    font-size: 0.9rem;
  }
  .group-header-title {
    font-size: clamp(1.35rem, 4.6vw, 1.55rem);
  }
  .sixtones-page-title-shell {
    gap: 8px;
  }
  .sixtones-page-copy {
    max-width: 100%;
  }
  .sixtones-page-copy-main {
    font-size: clamp(0.96rem, 4vw, 1.02rem);
  }
  .dashboard-state-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 8px;
    align-items: start;
  }
  .dashboard-state-summary > .status-line {
    grid-column: 1 / -1;
  }
  .dashboard-state-summary-item {
    display: grid;
    gap: 2px;
    align-items: start;
    white-space: normal;
  }
  .dashboard-state-summary-item + .dashboard-state-summary-item::before {
    content: none;
  }
  .dashboard-state-summary-item:nth-child(3) {
    grid-column: 1 / -1;
  }
  .dashboard-state-summary-item-label {
    font-size: 0.66rem;
    line-height: 1.3;
  }
  .dashboard-state-summary-item-value {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .sixtones-title-actions {
    width: 100%;
    gap: 0;
    margin-top: 0;
    padding-top: 4px;
    border-top: 1px solid var(--ap-color-divider);
  }
  .sixtones-recent-updates-link {
    width: 100%;
    justify-content: flex-start;
    padding: 4px 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.8rem;
    text-decoration: none;
  }
  .sixtones-recent-updates-link-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .sixtones-recent-updates-link-badge {
    margin-left: auto;
    flex-shrink: 0;
  }
  .sixtones-recent-updates-link::after {
    content: "→";
    flex-shrink: 0;
    color: var(--ap-color-muted);
    font-size: 0.9em;
    margin-left: 6px;
  }
  .dashboard-summary-card-live,
  .dashboard-summary-card-birthday {
    padding: 11px 11px 10px;
    gap: 9px;
    margin-bottom: 0;
    align-self: start;
    height: auto;
  }
  .dashboard-summary-card-birthday {
    border-radius: calc(var(--ap-radius-ui) + 8px);
  }
  .dashboard-summary-card-birthday::after {
    inset-block-start: 11px;
    inset-inline-end: 11px;
    width: 38px;
    height: 26px;
    opacity: 0.68;
  }
  .dashboard-live-head,
  .dashboard-birthday-head {
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
  }
  .dashboard-live-summary,
  .dashboard-birthday-summary {
    gap: 4px;
  }
  .dashboard-card-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.22em;
  }
  .dashboard-card-title {
    font-size: clamp(1rem, 4.1vw, 1.1rem);
    line-height: 1.24;
  }
  .dashboard-card-subtext {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .dashboard-live-foot {
    gap: 5px 8px;
  }
  .dashboard-live-timer {
    border-radius: 13px;
  }
  .dashboard-live-timer-cell {
    gap: 3px;
    padding: 9px 5px 8px;
  }
  .dashboard-live-timer-value {
    font-size: clamp(1rem, 4.6vw, 1.18rem);
  }
  .dashboard-live-timer-unit {
    font-size: 0.58rem;
  }
  .dashboard-birthday-timer {
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.99);
  }
  .dashboard-birthday-timer-cell {
    gap: 3px;
    padding: 9px 5px 8px;
  }
  .dashboard-birthday-timer-value {
    font-size: clamp(1rem, 4.6vw, 1.18rem);
  }
  .dashboard-birthday-date {
    font-size: 0.72rem;
  }
  .dashboard-event-line {
    gap: 7px;
  }
  .event-item {
    padding: 7px 0 0;
  }
  .dashboard-event-title {
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .dashboard-event-line {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon main"
      "link link";
    align-items: flex-start;
    row-gap: 4px;
  }
  .dashboard-event-line > .dashboard-event-kind-badge {
    grid-area: icon;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    padding-top: 2px;
  }
  .dashboard-event-main {
    grid-area: main;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "meta"
      "title";
    row-gap: 0.08rem;
    min-width: 0;
    width: 100%;
    align-items: start;
  }
  .dashboard-event-meta {
    grid-area: meta;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.38rem 0.54rem;
    min-width: 0;
  }
  .dashboard-event-category {
    min-inline-size: 2.2rem;
    font-size: 0.68rem;
  }
  .dashboard-event-state {
    min-inline-size: 3.25rem;
    font-size: 0.68rem;
  }
  .dashboard-event-title {
    grid-area: title;
    display: block;
    min-width: 0;
    width: 100%;
    margin-top: 3px;
    font-size: 0.88rem;
    font-weight: var(--ap-font-weight-semibold);
    line-height: 1.42;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow: visible;
    text-overflow: clip;
    justify-self: stretch;
  }
  .dashboard-event-source-link {
    min-height: 24px;
  }
  .dashboard-event-source-link-inline {
    grid-area: link;
    justify-self: end;
    font-size: 0.75rem;
    opacity: 0.92;
    margin-top: 0;
  }
  .dashboard-today-list-item:first-child {
    padding-top: 9px;
  }
}
@media (min-width: 768px) {
  .sixtones-hero-stack {
    gap: 0;
  }
  .sixtones-group-page > .sixtones-band-major {
    --sixtones-band-padding-block: 24px;
  }
  .sixtones-group-page > .sixtones-band-minor {
    --sixtones-band-padding-block: 18px;
  }
  .dashboard-card-live > .dashboard-card-body,
  .dashboard-card-birthday > .dashboard-card-body {
    padding: 0;
    align-self: start;
    height: auto;
    min-height: 0;
  }
  .dashboard-summary-card-live,
  .dashboard-summary-card-birthday {
    padding: 13px 13px 12px;
  }
  .week-day {
    padding: 12px;
  }
  .event-item {
    padding: 9px 0 0;
  }
}
@media (min-width: 768px) {
  .dashboard-event-line {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}


/* 責務: `/sixtones/` recent updates セクションの shared plain CSS 正本を置く。
 * 責務: build-pages と Next の両方が同じ補助断片を読む。
 * 責務: group stylesheet にも連結される補助断片として扱う。 */
.recent-updates {
  background: var(--ap-color-surface);
}
.recent-content {
  display: grid;
  gap: 14px;
}
.recent-block {
  display: grid;
  gap: 8px;
}
.recent-unread-section {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.recent-unread-card {
  display: grid;
  gap: 8px;
  border-color: rgba(203, 213, 225, 0.74);
  box-shadow: none;
  background: var(--ap-color-surface);
}
.recent-unread-card-idle {
  opacity: 0.92;
}
.recent-unread-heading {
  align-items: flex-start;
}
.recent-unread-heading-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.recent-unread-actions {
  align-items: center;
  align-self: start;
  padding-top: 2px;
}
.recent-unread-summary {
  display: grid;
  gap: 2px;
  margin-top: 1px;
}
.recent-unread-seen-at,
.recent-unread-status {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.recent-unread-body,
.recent-unread-more-panel {
  display: grid;
  gap: 8px;
}
.recent-unread-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.recent-unread-item {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}
.recent-unread-item:first-child {
  padding-top: 0;
  border-top: none;
}
.recent-unread-item-meta {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
  font-weight: var(--ap-font-weight-medium);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.recent-unread-item-title {
  margin: 0;
  font-size: var(--ap-font-size-body);
  line-height: var(--ap-line-height-body);
  font-weight: var(--ap-font-weight-semibold);
  overflow-wrap: anywhere;
}
.recent-unread-item-link {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
.recent-unread-toggle-button,
.recent-unread-confirm-button {
  justify-self: start;
}
.recent-unread-more-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}
.recent-unread-footer {
  display: grid;
  gap: 6px;
}
.recent-unread-label {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
  font-weight: var(--ap-font-weight-medium);
}
.recent-unread-empty {
  margin: 0;
  font-size: var(--ap-font-size-helper);
  line-height: var(--ap-line-height-helper);
}
.recent-block-heading {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
  color: var(--ap-color-muted);
}
.recent-summary-list,
.recent-highlights-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.recent-summary-list li,
.recent-highlights-list li {
  margin: 0;
}
.recent-highlight-meta {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  color: var(--ap-color-muted);
  line-height: var(--ap-line-height-helper);
  font-weight: var(--ap-font-weight-medium);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.recent-highlight-title {
  margin: 1px 0 0;
  font-size: var(--ap-font-size-body);
  line-height: var(--ap-line-height-body);
  font-weight: var(--ap-font-weight-semibold);
  letter-spacing: var(--ap-letter-spacing-heading);
  overflow-wrap: anywhere;
}
.recent-range {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  color: var(--ap-color-muted);
  line-height: var(--ap-line-height-helper);
}
.recent-guidance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.recent-guidance .ap-link,
.recent-guidance .ap-link-external {
  font-size: var(--ap-font-size-helper);
  line-height: var(--ap-line-height-helper);
}
.recent-status-note {
  margin: 0;
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}
@media (max-width: 640px) {
  .recent-content {
    gap: 12px;
  }
  .recent-unread-card {
    gap: 7px;
  }
  .recent-unread-section {
    gap: 8px;
    margin-top: 6px;
  }
  .recent-summary-list,
  .recent-highlights-list {
    padding-left: 16px;
  }
}
@media (max-width: 380px) {
  .recent-guidance {
    gap: 6px 12px;
  }
  .recent-highlight-meta {
    gap: 2px 8px;
  }
}


/* 責務: `/sixtones/videos/` と `/sixtones/` の YouTube 一覧 UI を共通化する。
 * 責務: 保存済み YouTube 動画のカード・グリッド・状態表示だけをここに集約する。
 * 責務: YouTube の代替 UI に寄りすぎず、一次リンク導線として読みやすい見た目に留める。 */
.sixtones-videos-page {
  padding-top: 0;
}

.youtube-video-stack,
.youtube-video-state-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.youtube-video-toolbar,
.youtube-video-footer {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.youtube-video-grid {
  display: grid;
  gap: 16px;
}

.youtube-video-grid-shell-latest {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  min-width: 0;
  margin-inline-start: calc(var(--ap-space-page-x) * -1);
  margin-inline-end: 0;
  padding-inline-start: var(--ap-space-page-x);
  padding-inline-end: 0;
  overscroll-behavior-x: contain;
}

/* latest は横一列を保ちながら、要素自身の実幅が内容に引っ張られて
 * 極端に巨大化しないよう、列方向の自動配置で幅を閉じる。 */
.youtube-video-grid-latest {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(320px, calc(100vw - 56px));
  gap: 16px;
  align-items: start;
  justify-content: start;
}

.youtube-video-grid-latest .youtube-video-card {
  width: 100%;
  align-self: start;
}

.youtube-video-grid-shell-archive {
  overflow: visible;
}

.youtube-video-grid-archive {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.youtube-video-card {
  gap: 14px;
  padding: 0;
  overflow: hidden;
  align-content: start;
}

.youtube-video-thumbnail-link {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
  background: #e5e7eb;
}

.youtube-video-thumbnail {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e5e7eb;
}

.youtube-video-thumbnail-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 12px;
  padding: 10px 12px 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.56) 0%, rgba(17, 24, 39, 0.24) 48%, rgba(17, 24, 39, 0) 100%);
  color: #ffffff;
  pointer-events: none;
}

.youtube-video-thumbnail-badge {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;
}

.youtube-video-thumbnail-date-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--ap-font-size-helper-compact);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(17, 24, 39, 0.35);
  white-space: nowrap;
}

.youtube-video-card-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 0 16px 16px;
}

.youtube-video-kind-badge {
  color: var(--ap-color-text);
  background: #eef2ff;
  border-color: #c7d2fe;
}

.youtube-video-title {
  margin: 0;
}

.youtube-video-title-link {
  color: inherit;
  text-decoration: none;
}

.youtube-video-title-link:hover,
.youtube-video-title-link:focus-visible {
  color: var(--ap-color-link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.youtube-video-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.youtube-video-metrics div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--ap-color-border);
  border-radius: var(--ap-radius-ui);
  background: var(--ap-color-surface-muted);
}

.youtube-video-metrics dt {
  color: var(--ap-color-muted);
  font-size: var(--ap-font-size-helper-compact);
  line-height: var(--ap-line-height-helper);
}

.youtube-video-metrics dd {
  margin: 0;
  color: var(--ap-color-text);
  font-size: 1rem;
  font-weight: var(--ap-font-weight-semibold);
  line-height: 1.4;
}

.youtube-video-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
}

.youtube-video-pagination-current {
  color: var(--ap-color-muted);
  font-size: var(--ap-font-size-helper);
  line-height: var(--ap-line-height-helper);
}

.youtube-video-pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.youtube-video-pagination-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--ap-color-divider);
  border-radius: var(--ap-radius-ui);
  color: #9ca3af;
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .youtube-video-card-body {
    padding: 0 14px 14px;
  }

  .youtube-video-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .youtube-video-pagination {
    align-items: stretch;
  }

  .youtube-video-pagination-links {
    width: 100%;
  }

  .youtube-video-pagination-links > * {
    flex: 1 1 0;
  }
}