.tzm-page { min-height: 100vh; background: var(--background); color: var(--text-primary); }
.tzm-topbar { width: min(1480px, calc(100% - 48px)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.tzm-top-actions { display: flex; align-items: center; gap: 10px; }
.tzm-layout { width: min(1480px, calc(100% - 48px)); margin: 0 auto 36px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; }
.tzm-sidebar { min-height: calc(100vh - 134px); }
.tzm-main { min-width: 0; }
.tzm-heading { margin-bottom: 18px; }
.tzm-heading p:last-child { max-width: 720px; margin: 8px 0 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.tzm-live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: rgba(25,135,84,.1); color: #198754; font-size: 12px; font-weight: 800; }
.tzm-live-pill > span { width: 8px; height: 8px; border-radius: 50%; background: #1aa36a; box-shadow: 0 0 0 4px rgba(26,163,106,.12); }
.tzm-search-card, .tzm-map-card, .tzm-selected-card, .tzm-compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tzm-search-card { position: relative; padding: 18px; margin-bottom: 16px; }
.tzm-search-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tzm-search-box { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); }
.tzm-search-box > span { color: var(--text-secondary); font-size: 19px; }
.tzm-search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text-primary); font: inherit; font-size: 14px; }
.tzm-now { flex: 0 0 auto; min-height: 48px; white-space: nowrap; }
.tzm-suggestions { position: absolute; z-index: 20; left: 18px; right: 18px; top: calc(100% - 6px); overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 45px rgba(15,31,58,.18); }
.tzm-suggestion { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 12px 14px; text-align: left; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text-primary); cursor: pointer; }
.tzm-suggestion:last-child { border-bottom: 0; }
.tzm-suggestion:hover, .tzm-suggestion:focus-visible { background: var(--surface-soft); outline: none; }
.tzm-suggestion strong { display: block; font-size: 13px; }
.tzm-suggestion span { display: block; margin-top: 3px; color: var(--text-secondary); font-size: 11px; }
.tzm-map-card { padding: 18px; overflow: hidden; }
.tzm-map-card-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 14px; }
.tzm-map-card h2, .tzm-selected-card h2, .tzm-compare-card h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.tzm-map-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; color: var(--text-secondary); font-size: 11px; font-weight: 700; }
.tzm-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tzm-legend-swatch { width: 10px; height: 10px; display: inline-block; border-radius: 50%; border: 1px solid rgba(15,31,58,.12); }
.tzm-day { background: #fbbf24; } .tzm-twilight { background: #fb923c; } .tzm-night { background: #64748b; }
.tzm-map-stage { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; aspect-ratio: 2 / 1; min-height: 360px; overflow: hidden; border-radius: 18px; background: #eef6ff; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(47,115,255,.08); }
.tzm-map-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; user-select: none; pointer-events: none; z-index: 1; }
.tzm-zone-overlay { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: repeat(27, minmax(0,1fr)); pointer-events: none; }
.tzm-zone-band { position: relative; min-width: 0; opacity: .045; border-right: 1px solid rgba(15,31,58,.08); pointer-events: auto; cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
.tzm-zone-band:hover, .tzm-zone-band.is-active { opacity: .16; }
.tzm-zone-band::after { content: ''; position: absolute; inset: auto 4px 4px 4px; height: 3px; border-radius: 999px; background: currentColor; opacity: .9; }
.tzm-marker-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.tzm-marker { position: absolute; width: 10px; height: 10px; padding: 0; transform: translate(-50%,-50%); border: 1.75px solid rgba(15,31,58,.90); border-radius: 50%; background: #1d4ed8; opacity: .99; box-shadow: 0 0 0 2px rgba(255,255,255,.95), 0 2px 7px rgba(15,31,58,.34); pointer-events: auto; cursor: pointer; transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease; }
.tzm-marker:hover, .tzm-marker:focus-visible, .tzm-marker.is-selected { transform: translate(-50%,-50%) scale(1.65); outline: none; z-index: 10; }
.tzm-marker.is-selected { background: var(--primary); box-shadow: 0 0 0 3px rgba(47,115,255,.22), 0 5px 10px rgba(15,31,58,.22); }
.tzm-marker.is-search-match { box-shadow: 0 0 0 3px rgba(47,115,255,.22), 0 3px 8px rgba(15,31,58,.18); opacity: 1; }
.tzm-marker.is-search-dim { opacity: .34; }
.tzm-marker.state-day { background: #f59e0b; }
.tzm-marker.state-twilight { background: #fb923c; }
.tzm-marker.state-night { background: #64748b; }
.tzm-map-tooltip { position: absolute; z-index: 30; min-width: 190px; max-width: 270px; padding: 10px 12px; border-radius: 12px; background: rgba(15,31,58,.96); color: #fff; box-shadow: 0 14px 30px rgba(15,31,58,.25); pointer-events: none; }
.tzm-map-tooltip strong { display: block; font-size: 12px; } .tzm-map-tooltip span { display: block; margin-top: 4px; color: #dbeafe; font-size: 10px; line-height: 1.5; }
.tzm-offset-scale { display: grid; grid-template-columns: repeat(27,minmax(0,1fr)); max-width: 1180px; margin: 8px auto 0; overflow: hidden; border-radius: 0 0 12px 12px; border: 1px solid var(--border); }
.tzm-offset-item { position: relative; min-width: 0; padding: 7px 2px 8px; background: linear-gradient(180deg, rgba(47,115,255,.10), rgba(255,255,255,.2)); border-right: 1px solid var(--border); color: var(--text-secondary); text-align: center; font-size: 9px; font-weight: 800; cursor: pointer; }
.tzm-offset-item:last-child { border-right: 0; } .tzm-offset-item:hover, .tzm-offset-item.is-active { color: var(--primary); background: rgba(47,115,255,.12); }
.tzm-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.tzm-selected-card, .tzm-compare-card { padding: 20px; }
.tzm-card-kicker { margin-bottom: 9px; color: var(--primary); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tzm-selected-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tzm-selected-main p { margin: 5px 0 0; color: var(--text-secondary); font-size: 12px; }
.tzm-offset-pill { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-soft); color: var(--text-secondary); font-size: 11px; font-weight: 800; white-space: nowrap; }
.tzm-selected-time { margin: 22px 0 14px; font-size: clamp(38px,6vw,64px); line-height: .95; font-weight: 800; letter-spacing: -.06em; }
.tzm-selected-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tzm-selected-meta span { padding: 7px 9px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-secondary); background: var(--surface-soft); font-size: 10px; font-weight: 700; }
.tzm-compare-card h2 { margin-bottom: 14px; }
.tzm-compare-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.tzm-compare-row:last-of-type { border-bottom: 0; }
.tzm-compare-label { display: block; margin-bottom: 4px; color: var(--text-secondary); font-size: 10px; }
.tzm-compare-row strong { font-size: 13px; }
.tzm-compare-diff { margin-top: 13px; padding: 11px 12px; border-radius: 12px; background: var(--surface-soft); color: var(--text-primary); font-size: 12px; font-weight: 800; }
@media (max-width: 1024px) {
    .tzm-topbar, .tzm-layout { width: min(100% - 28px, 920px); }
    .tzm-layout { grid-template-columns: 190px minmax(0,1fr); }
    .tzm-detail-grid { grid-template-columns: 1fr; }
    .tzm-map-stage { min-height: 300px; }
}
@media (max-width: 760px) {
    body { padding-bottom: 84px; }
    .tzm-topbar { min-height: 78px; }
    .tzm-layout { width: min(100% - 20px, 680px); display: block; margin-bottom: 16px; }
    .tzm-sidebar { display: none; }
    .tzm-heading { min-height: auto; align-items: flex-start; }
    .tzm-heading p:last-child { font-size: 13px; }
    .tzm-search-wrap { align-items: stretch; flex-direction: column; }
    .tzm-now { width: 100%; }
    .tzm-suggestions { left: 12px; right: 12px; }
    .tzm-map-card, .tzm-selected-card, .tzm-compare-card, .tzm-search-card { border-radius: 18px; }
    .tzm-map-card { padding: 12px; }
    .tzm-map-card-head { align-items: flex-start; flex-direction: column; }
    .tzm-map-legend { justify-content: flex-start; }
    .tzm-map-stage { min-height: 230px; aspect-ratio: 1.35 / 1; border-radius: 14px; }
    .tzm-offset-item { font-size: 8px; padding-top: 6px; }
    .tzm-marker { width: 8px; height: 8px; }
    .tzm-selected-main { flex-direction: column; }
    .tzm-selected-time { font-size: clamp(40px,16vw,60px); }
    .tzm-selected-meta { display: grid; grid-template-columns: 1fr; }
    .tzm-selected-meta span { font-size: 10px; }
}
