.crowding-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; position: relative; }
.crowding-status { font-size: clamp(32px, 7vw, 52px); line-height: 1.4; font-weight: 900; color: var(--text-secondary); }
.crowding-status[data-level="0"] { color: var(--green); }
.crowding-status[data-level="1"] { color: var(--accent); }
.crowding-status[data-level="2"] { color: var(--orange); }
.crowding-meta { margin-top: 8px; font-size: 11px; color: var(--text-secondary); }
.crowding-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-secondary); }
.crowding-legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); }
.crowding-legend span:nth-child(2)::before { background: var(--accent); }
.crowding-legend span:nth-child(3)::before { background: var(--orange); }
.week-panel { position: relative; border-top: 1px solid var(--border); margin-top: 24px; padding-top: 12px; }
.week-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; }
.week-toggle::-webkit-details-marker { display: none; }
.week-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.week-toggle-action { font-size: 11px; color: var(--accent); font-weight: 400; white-space: nowrap; }
.week-hide, .week-panel[open] .week-show { display: none; }
.week-panel[open] .week-hide { display: inline; }
.week-description { margin-top: 12px; }
.week-description, .week-note { font-size: 11px; color: var(--text-secondary); line-height: 1.8; }
.week-scroll { width: 100%; min-width: 0; }
.week-holiday-key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 5px 0 10px; background: rgba(244, 170, 108, 0.16); border: 1px solid rgba(244, 170, 108, 0.3); }
.week-chart { display: block; width: 100%; height: 206px; margin: 12px 0 4px; }
.week-chart text { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; fill: var(--text-secondary); }
.week-chart .week-holiday { fill: rgba(244, 170, 108, 0.12); }
.week-chart .week-grid { stroke: var(--border); stroke-dasharray: 3 5; }
.week-chart .week-dot { stroke: none; }
.week-chart .week-dot:focus { outline: none; stroke: var(--text-primary); stroke-width: 2; }
@media (max-width: 560px) {
    .hero-card { padding: 24px 16px; }
    .crowding-meta { font-size: 10px; letter-spacing: 0; }
    .crowding-top { gap: 16px; }
    .crowding-legend { gap: 12px; font-size: 11px; }
    .week-chart text { font-size: 10px; }
}

.crowding-reading { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.crowding-count { display: flex; align-items: baseline; gap: 2px; margin: 0; font-size: 14px; color: var(--text-secondary); }
.crowding-count strong { font-size: clamp(36px, 7vw, 52px); line-height: 1.2; white-space: nowrap; font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }

.crowding-count strong[data-level="0"] { color: var(--green); }
.crowding-count strong[data-level="1"] { color: var(--accent); }
.crowding-count strong[data-level="2"] { color: var(--orange); }

.crowding-count strong[data-over-limit="true"] { color: var(--red); }
