/* 原宿Today v2 — the five cards. Variables only (see tokens.css).
   Source: docs/claude/design/static/ht.css. */

.ht-card-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ht-card-meta .ht-num { font-size: 16px; }
.ht-card-title { font-family: var(--ht-font-jp); font-weight: 700; font-size: var(--ht-fs-card); line-height: 1.5; overflow-wrap: anywhere; }
.ht-dl { display: grid; grid-template-columns: 40px 1fr; gap: 2px 8px; font-size: 13px; line-height: 1.5; margin: 0; }
.ht-dl dt { color: var(--ht-ink-3); }
.ht-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* event (3a 今日のイベント・関連記事) */
.ht-card-event { display: flex; flex-direction: column; gap: 12px; }
.ht-theme a.ht-card-event,
.ht-theme a.ht-card-event:hover { color: var(--ht-ink); }
.ht-card-event:hover .ht-card-title { color: var(--ht-green-700); }
.ht-card-event .ht-ph { aspect-ratio: 16 / 10; border-radius: var(--ht-r-card); }
.ht-card-body { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }

/* popup (square) */
.ht-card-popup { display: flex; flex-direction: column; gap: 10px; }
.ht-theme a.ht-card-popup { color: var(--ht-ink); }
.ht-theme a.ht-card-popup:hover { color: var(--ht-green-700); }
.ht-card-popup .ht-ph { aspect-ratio: 1; border-radius: var(--ht-r-card); }
.ht-card-popup .ht-card-title { font-size: 15px; }
.ht-card-popup .ht-card-meta span:not(.ht-tag):not(.ht-badge-reco) { font-size: 12px; color: var(--ht-ink-3); }

/* today row (今日行けるところ) */
.ht-row-today { display: flex; gap: 12px; align-items: center; background: var(--ht-mist); border-radius: 20px; padding: 10px; }
.ht-theme a.ht-row-today { color: var(--ht-ink); }
.ht-theme a.ht-row-today:hover { background: var(--ht-green-100); color: var(--ht-ink); }
.ht-row-today .ht-ph { flex: none; width: 84px; height: 84px; }
.ht-row-today .ht-card-title { font-size: 15px; line-height: 1.45; }
.ht-row-today .ht-sub { font-size: 13px; color: var(--ht-ink-3); }
.ht-row-today > div:last-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ht-theme a.ht-row-today.is-visit { background: var(--ht-white); box-shadow: inset 0 0 0 1.5px var(--ht-line); } /* 7日以内に訪問した記事の枠 */
.ht-theme a.ht-row-today.is-visit:hover { background: var(--ht-green-100); }
.ht-visit-note { font-size: 12px; font-weight: 700; color: var(--ht-green-700); }

/* list row with date block (3c) */
.ht-row-list { display: flex; gap: 14px; align-items: stretch; background: var(--ht-mist); border-radius: var(--ht-r-card); padding: 10px; }
.ht-theme a.ht-row-list { color: var(--ht-ink); }
.ht-theme a.ht-row-list:hover { background: var(--ht-green-100); color: var(--ht-ink); }
.ht-date { flex: none; width: 84px; border-radius: var(--ht-r-img); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 0; background: var(--ht-white); color: var(--ht-ink); }
.ht-date small { font-size: 11px; font-weight: 700; line-height: 1.3; }
.ht-date .ht-num { font-size: 34px; line-height: 1; }
.ht-date.is-live { background: var(--ht-green); color: var(--ht-white); }
.ht-date.is-final { background: var(--ht-pink); color: var(--ht-white); }
.ht-date.is-undated { background: var(--ht-white); color: var(--ht-ink-3); box-shadow: inset 0 0 0 1.5px var(--ht-line); }
.ht-row-list__photo { flex: none; width: 84px; min-height: 84px; }
.ht-row-list > div:last-child { display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; min-width: 0; flex: 1; }
.ht-row-list .ht-card-title { font-size: 16px; }
.ht-row-list .ht-dl { grid-template-columns: 32px 1fr; }

/* shop row (最近確認したお店) */
.ht-row-shop { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; background: var(--ht-white); border-radius: var(--ht-r-img); padding: 12px 16px; }
.ht-theme a.ht-row-shop { color: var(--ht-ink); }
.ht-theme a.ht-row-shop:hover { color: var(--ht-green-700); }
.ht-row-shop small { display: block; font-size: 12px; color: var(--ht-ink-3); }
.ht-row-shop b { font-family: var(--ht-font-jp); font-weight: 700; font-size: 16px; }
.ht-row-shop .ht-num { font-size: 15px; color: var(--ht-ink); }

@media (max-width: 767px) {
	.ht-card-meta .ht-num { font-size: 15px; }
	.ht-row-today { gap: 10px; padding: 8px; border-radius: 18px; }
	.ht-row-today .ht-ph { width: 72px; height: 72px; border-radius: 14px; }
	.ht-row-today .ht-card-title { font-size: 15px; }
	.ht-row-today .ht-sub { font-size: 12px; }
	.ht-row-list { border-radius: 18px; padding: 8px; gap: 10px; }
	.ht-date,
	.ht-row-list__photo { width: 64px; border-radius: 14px; }
	.ht-date .ht-num { font-size: 26px; }
	.ht-row-shop { padding: 10px 12px; }
}
