/* time.itzgee.com — the redesign (2026-09-28). The shared tokens, header and footer come from /embed/header.css;
   this file is the page itself. Dark only, Geist + Geist Mono, the live green only for "now". */
[hidden] { display: none !important; }

/* hero: the clock is the headline */
.t-hero { position: relative; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem); border-bottom: 1px solid var(--hair); overflow: hidden; }
.t-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 80% 20%, #000 10%, transparent 70%); pointer-events: none; }
.t-hero-in { position: relative; }
.t-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.t-fmt { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--hair-2); border-radius: 10px; }
.t-fmt button { min-height: 36px; min-width: 52px; padding: 0 .8rem; border: 0; border-radius: 7px; background: none; color: var(--text-2); font-family: var(--mono); font-size: .8125rem; cursor: pointer; }
.t-fmt button.on { background: var(--surface-2); color: var(--text); }
.t-clock { margin-top: var(--s4); font-family: var(--font); font-weight: 600; font-variant-numeric: tabular-nums; font-size: clamp(4.5rem, 1.5rem + 13vw, 11.5rem); letter-spacing: -0.055em; line-height: .9; white-space: nowrap; }
.t-clock .sep { color: var(--text-3); margin: 0 .02em; }
.t-clock .sec { font-size: .34em; font-weight: 500; letter-spacing: -0.02em; color: var(--text-2); margin-left: .12em; vertical-align: .12em; }
.t-clock .mer { font-size: .2em; font-weight: 500; letter-spacing: .04em; color: var(--live); margin-left: .5em; vertical-align: 1.2em; font-family: var(--mono); }
.t-id { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s5); }
.seg { display: grid; gap: .2rem; text-align: left; min-width: 0; padding: .8rem 1rem; border: 1px solid var(--hair-2); border-radius: var(--r-small); background: var(--surface); color: var(--text); font: inherit; cursor: copy; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.seg .k { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.seg .v { font-family: var(--mono); font-size: .95rem; overflow-wrap: anywhere; }
.seg.flash, .kv.flash { border-color: var(--live); }
.seg.flash .k::after, .kv.flash .kk::after { content: ' · copied'; color: var(--live); }
.t-lede { margin-top: var(--s4); max-width: 620px; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.5; }
@media (hover: hover) { .seg:hover { border-color: var(--edge); background: var(--surface-2); } }

/* sections */
.t-sec { padding-top: var(--section); }
.t-sec:last-child { padding-bottom: var(--s8); }
.t-head { display: grid; gap: var(--s2); margin-bottom: var(--s5); max-width: 760px; }
.t-head .label b { color: var(--text); font-weight: 500; }
.t-head h2 { font-size: var(--fs-h2); }
.t-p { color: var(--text-2); max-width: 520px; }

/* the day strip */
.strip { position: relative; padding: var(--s3); border: 1px solid var(--hair-2); border-radius: var(--r-panel); background: var(--surface); }
.strip-band { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--bg) 0 25%, var(--surface-2) 25% 79.17%, var(--bg) 79.17% 100%); border: 1px solid var(--hair-2); }
.strip-marks { position: relative; height: calc(var(--rows, 1) * 46px + 8px); margin-top: 10px; }
.mk { position: absolute; left: var(--at); top: calc(var(--row-y, 0px) + 6px); transform: translateX(calc(-1 * var(--at))); display: grid; gap: .05rem; padding: .35rem .55rem; border-left: 1px solid var(--edge); font-size: .8125rem; white-space: nowrap; line-height: 1.25; }
.mk[data-row='1'] { --row-y: 46px; } .mk[data-row='2'] { --row-y: 92px; } .mk[data-row='3'] { --row-y: 138px; } .mk[data-row='4'] { --row-y: 184px; } .mk[data-row='5'] { --row-y: 230px; } .mk[data-row='6'] { --row-y: 276px; } .mk[data-row='7'] { --row-y: 322px; }
.mk b { font-weight: 560; }
.mk span { font-family: var(--mono); font-size: .75rem; color: var(--text-2); }
.mk--night b { color: var(--text-2); }
.mk--you { border-left-color: var(--live); }
.mk--you span { color: var(--live); }
.strip-axis { display: flex; justify-content: space-between; margin-top: var(--s1); font-size: .7rem; color: var(--text-3); }

/* search + pinned count */
.t-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin: var(--s4) 0 var(--s3); }
.tzsearch { position: relative; flex: 1 1 380px; max-width: 560px; }
.tzfield { display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: 0 1rem; border: 1px solid var(--edge); border-radius: var(--r-small); background: var(--bg); }
.tzfield svg { width: 18px; height: 18px; color: var(--text-2); flex: none; }
.tzfield input { flex: 1; min-width: 0; height: 50px; border: 0; background: none; color: var(--text); font: inherit; font-size: 1rem; outline: none; }
.tzfield input::placeholder { color: var(--text-3); }
.tzfield:focus-within { outline: 2px solid var(--text); outline-offset: 1px; }
.tzresults { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; display: none; max-height: 340px; overflow-y: auto; padding: 4px; background: var(--surface-2); border: 1px solid var(--edge); border-radius: var(--r-small); }
.tzresults.open { display: grid; }
.tzr { display: grid; gap: .1rem; text-align: left; padding: .65rem .75rem; border: 0; border-radius: 6px; background: none; color: var(--text); font: inherit; cursor: pointer; }
.tzr .zid { font-family: var(--mono); font-size: .75rem; color: var(--text-3); }
.tzr.hot { background: var(--surface); }
@media (hover: hover) { .tzr:hover { background: var(--surface); } }
.tzr.none { color: var(--text-2); cursor: default; }
.t-count { font-size: .8125rem; color: var(--text-2); }
.t-reset { margin-left: auto; min-height: 40px; padding: 0 .4rem; border: 0; background: none; color: var(--text-2); font: inherit; font-size: .875rem; cursor: pointer; }
@media (hover: hover) { .t-reset:hover { color: var(--text); } }

/* the pinned cities */
.zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s2); }
.zone { position: relative; display: grid; gap: .35rem; padding: var(--s3); background: var(--surface); border: 1px solid var(--hair-2); border-radius: var(--r-panel); }
.zone.here { border-color: color-mix(in srgb, var(--live) 45%, transparent); }
.z-top { display: flex; align-items: center; gap: .6rem; }
.z-phase { width: 1.2em; text-align: center; color: var(--text-2); font-variant-emoji: text; }
.z-phase.night { color: var(--text-3); }
.z-city { font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zone.here .z-city::after { content: 'You'; margin-left: .55rem; padding: .1rem .45rem; border-radius: 999px; font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--live); border: 1px solid color-mix(in srgb, var(--live) 40%, transparent); vertical-align: .15em; }
.z-rm { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: var(--text-3); font-size: .8rem; cursor: pointer; }
@media (hover: hover) { .z-rm:hover { color: var(--text); background: var(--surface-2); } }
.z-time { margin-top: var(--s1); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; }
.z-time .zs { font-size: .45em; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.z-time .zm { margin-left: .4rem; font-family: var(--mono); font-size: .35em; font-weight: 500; color: var(--text-2); letter-spacing: .04em; }
.z-date { color: var(--text-2); font-size: var(--fs-small); }
.z-foot { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: var(--s1); }
.z-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 .55rem; border: 1px solid var(--hair-2); border-radius: 6px; font-family: var(--mono); font-size: .7rem; color: var(--text-2); white-space: nowrap; }
.z-chip.dst.on { color: var(--live); border-color: color-mix(in srgb, var(--live) 35%, transparent); }
.zones-empty { display: none; padding: var(--s4); border: 1px dashed var(--edge); border-radius: var(--r-panel); color: var(--text-2); }

/* machine formats: a quiet ruled list, not a fake terminal */
.t-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s6); }
.t-head--pin { position: sticky; top: 104px; align-self: start; }
.fmts { margin: 0; border-top: 1px solid var(--hair-2); }
.kv { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s2); padding: 1.05rem .2rem; border-bottom: 1px solid var(--hair); cursor: copy; transition: background-color .2s var(--ease); }
.kk { font-size: var(--fs-small); color: var(--text-2); }
.kd { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
@media (hover: hover) { .kv:hover { background: var(--surface); } }
.t-note { margin-top: var(--s6); max-width: 640px; color: var(--text-3); font-size: var(--fs-small); }
@media (max-width: 900px) { .t-split { grid-template-columns: 1fr; gap: var(--s3); } .t-head--pin { position: static; } }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: .2rem; } .t-reset { margin-left: 0; } .mk b { font-size: .75rem; } }
