/* NowHitz crowd grammar (2026-10-24, owner: "현재 붐비는게 직관적으로"): one colour per level on /go/crowd/ and
   /go/area/<id>/ (the home blocks carry the same photo colours in home-ui.css) — 1 여유 green · 2 보통 yellow ·
   3 약간 붐빔 orange · 4 붐빔 red, 0 = no recent data. Colour never stands alone: the word (always ink) and the number
   of gauge cells say the same thing; the colour sits on the gauge, cells and squares only. Corners 2px (cells),
   8px (buttons); no pills, no circles. Light/dark follow the site (prefers-color-scheme unless html[data-theme]). */
:root{--cw-1p:#2fb46b;--cw-2p:#f2c12e;--cw-3p:#ff8c33;--cw-4p:#ff5c4f;--cw-1:#1e9e5a;--cw-2:#e0a800;--cw-3:#e8710a;--cw-4:#d93025;--cw-0:#b9b3aa;--cw-off:#e6e2da}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--cw-1:#2fb46b;--cw-2:#f2c12e;--cw-3:#ff8c33;--cw-4:#ff5c4f;--cw-0:#5a554e;--cw-off:#36322d}}
:root[data-theme=dark]{--cw-1:#2fb46b;--cw-2:#f2c12e;--cw-3:#ff8c33;--cw-4:#ff5c4f;--cw-0:#5a554e;--cw-off:#36322d}
.cw-l0{--cw:var(--cw-0)}.cw-l1{--cw:var(--cw-1)}.cw-l2{--cw:var(--cw-2)}.cw-l3{--cw:var(--cw-3)}.cw-l4{--cw:var(--cw-4)}
.cw-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* gauge: four square-cornered cells, filled = level */
.cw-g{display:inline-flex;gap:2px;flex:0 0 auto}
.cw-g i{display:block;width:6px;height:14px;border-radius:2px;background:var(--cw-off)}
.cw-g i.on{background:var(--cw)}
/* square: the level colour beside its word */
.cw-sq{display:inline-block;flex:0 0 auto;width:10px;height:10px;border-radius:2px;background:var(--cw)}

/* status: word + gauge · small line */
.cw-now{margin:0}
.cw-now .cw-w{display:flex;align-items:center;gap:14px;margin:0;font-size:40px;line-height:46px;font-weight:800;letter-spacing:-.03em;color:var(--v2-ink,#171512);word-break:keep-all}
.cw-now .cw-w b{font-weight:800}
.cw-now .cw-g{gap:3px}.cw-now .cw-g i{width:12px;height:30px}
.cw-now.cw-l0 .cw-w{font-size:22px;line-height:28px;color:var(--v2-text2,#5f5a53)}
.cw-now .cw-sub{margin:8px 0 0;font-size:13px;line-height:18px;color:var(--v2-text2,#5f5a53);font-variant-numeric:tabular-nums;text-wrap:pretty}

/* advice: one sentence off the forecast */
.cw-adv{margin:22px 0 6px;font-size:17px;line-height:24px;font-weight:700;color:var(--v2-ink,#171512);word-break:keep-all;text-wrap:pretty}
.cw-adv small{font-size:12px;font-weight:600;color:var(--v2-text2,#5f5a53);margin-left:2px;white-space:nowrap}

/* band: the hours ahead as equal cells (colour = level, never height). The "now" label, its bar and the hour labels
   float over the cell so a long label ("12am") never widens its column. */
.cw-band ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:2px}
.cw-band li{position:relative;margin:0;padding:22px 0 20px;min-width:0}
.cw-band li i{display:block;height:30px;border-radius:2px;background:var(--cw)}
.cw-band li b{position:absolute;left:0;top:0;font-size:12px;line-height:14px;font-weight:800;color:var(--v2-ink,#171512);white-space:nowrap}
.cw-band li[data-now]::before{content:"";position:absolute;left:0;right:0;top:17px;height:2px;border-radius:1px;background:var(--v2-ink,#171512)}
.cw-band li span{position:absolute;left:0;top:56px;font-size:11px;line-height:14px;color:var(--v2-text2,#5f5a53);white-space:nowrap;font-variant-numeric:tabular-nums}
.cw-band li:last-child span{left:auto;right:0}
.cw-cap{margin:0 0 -14px;font-size:12px;line-height:16px;font-weight:700;color:var(--v2-text2,#5f5a53)}
.cw-key{display:flex;flex-wrap:wrap;gap:4px 14px;margin:6px 0 0;font-size:12px;line-height:16px;color:var(--v2-text2,#5f5a53)}
.cw-key span{display:inline-flex;align-items:center;gap:5px}
.cw-key i{display:block;width:10px;height:10px;border-radius:2px;background:var(--cw)}

/* rows: name · word + gauge · short advice · › — the whole row is the link */
.cw-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--v2-hair,#e6e2da)}
.cw-list li{margin:0;padding:0}
.cw-list li[hidden],.cw-lv[hidden]{display:none}
.cw-row{display:grid;grid-template-columns:minmax(0,1fr) auto 12px;column-gap:12px;row-gap:2px;align-items:center;min-height:56px;padding:11px 0;border-bottom:1px solid var(--v2-hair,#e6e2da);text-decoration:none;color:var(--v2-ink,#171512)!important;-webkit-tap-highlight-color:transparent}
.cw-row .cw-n{grid-column:1;grid-row:1;font-size:16px;line-height:22px;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
.cw-row .cw-a{grid-column:1;grid-row:2;font-size:13px;line-height:18px;color:var(--v2-text2,#5f5a53);font-variant-numeric:tabular-nums}
.cw-row .cw-s{grid-column:2;grid-row:1/span 2;display:flex;align-items:center;gap:8px;justify-self:end;font-size:13px;line-height:18px;color:var(--v2-text2,#5f5a53);white-space:nowrap}
.cw-row .cw-s b{font-weight:700}
.cw-row .cw-s.cw-l0 b{font-weight:600}
.cw-row .cw-c{grid-column:3;grid-row:1/span 2;font-size:20px;line-height:1;color:var(--v2-soft,#8b857d);text-align:right}
@media (hover:hover){.cw-row:hover .cw-n{text-decoration:underline;text-underline-offset:3px}}
.cw-row:active{background:var(--v2-sunken,#f4f2ed)}

/* /go/crowd/ pages */
.cw{max-width:760px;margin:0 auto;font-variant-numeric:tabular-nums}
.cw-head h1{font-size:clamp(26px,6vw,36px);line-height:1.2;font-weight:800;letter-spacing:-.03em;margin:.25em 0 .2em;text-wrap:balance;word-break:keep-all}
.cw-kick{font-size:12px;letter-spacing:.08em;font-weight:700;color:var(--v2-accent,#ac442e)}
.cw-at{margin:0;font-size:13px;line-height:18px;color:var(--v2-text2,#5f5a53)}
/* hub counts: one bar split by level, then a count per level (each one jumps to its block) */
.cw-sum{margin:22px 0 0}
.cw-bar{display:flex;gap:2px;margin:0;height:12px}
.cw-bar i{display:block;flex:1 1 0;min-width:4px;height:12px;width:auto}
.cw-bar i[hidden]{display:none}
.cw-cnt{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 0;padding:0}
.cw-cnt li{margin:0;padding:0;min-width:0}
.cw-cnt a{display:block;color:var(--v2-ink,#171512)!important;text-decoration:none}
.cw-cnt span{display:flex;align-items:center;gap:5px;font-size:12px;line-height:16px;font-weight:600;color:var(--v2-text2,#5f5a53);white-space:nowrap}
.cw-cnt b{display:block;margin-top:2px;font-size:26px;line-height:32px;font-weight:800;letter-spacing:-.02em}
.cw-cnt b small{font-size:14px;font-weight:700;margin-left:1px}
.cw-cnt .cw-zero b{color:var(--v2-soft,#8b857d)}
@media (hover:hover){.cw-cnt a[href]:hover b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}}
.cw-sum.cw-stale{font-size:17px;line-height:24px;font-weight:700;color:var(--v2-text2,#5f5a53)}
.cw-chips{display:flex;flex-wrap:wrap;gap:6px;margin:22px 0 0}
.cw-chips[hidden]{display:none}
.cw-chips button{min-height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--v2-hair,#e6e2da);background:none;color:var(--v2-ink,#171512);font:600 14px/1 inherit;font-family:inherit;cursor:pointer}
.cw-chips button[aria-pressed="true"]{background:var(--v2-ink,#171512);border-color:var(--v2-ink,#171512);color:var(--v2-paper,#fbfaf7)}
.cw-sec{margin-top:40px}
.cw-sec>h2,.cw h2.cw-h{position:relative;margin:0 0 4px;padding-bottom:11px;font-size:22px;line-height:28px;font-weight:800;letter-spacing:-.02em}
.cw-sec>h2::after{content:"";position:absolute;left:0;bottom:0;width:32px;height:3px;background:var(--v2-accent,#ac442e)}
.cw-sec>h2+.cw-list{margin-top:12px}
/* hub: one block per level, headed by its square, word and count */
.cw-lv{scroll-margin-top:72px}
.cw-lvh{display:flex;align-items:center;gap:8px;margin:24px 0 8px;font-size:15px;line-height:20px;font-weight:800}
.cw-lvh span{font-weight:600;color:var(--v2-text2,#5f5a53)}
.cw-fold>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin:12px 0 0;border:1px solid var(--v2-hair,#e6e2da);border-radius:8px;font-size:14px;font-weight:700;color:var(--v2-ink,#171512);cursor:pointer;list-style:none}
.cw-fold>summary::-webkit-details-marker{display:none}
.cw-fold>summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.cw-fold[open]>summary{display:none}
.cw-fold>.cw-list{border-top:0}
.cw-fold.cw-flat>summary{display:none}
.cw-top{margin-top:24px}
.cw-msg{margin:16px 0 0;font-size:13px;line-height:19px;color:var(--v2-text2,#5f5a53);word-break:keep-all}
.cw-go{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin:28px 0 0;padding:0 16px;border:1px solid var(--v2-hair,#e6e2da);border-radius:8px;background:var(--v2-surface,#fff);color:var(--v2-ink,#171512)!important;text-decoration:none;font-size:16px;font-weight:700}
.cw-go span{color:var(--v2-text2,#5f5a53)}
.cw-more{margin:28px 0 0;font-size:14px;line-height:24px;color:var(--v2-text2,#5f5a53)}
.cw-more a{color:var(--v2-ink,#171512)!important;text-decoration:underline;text-decoration-color:var(--v2-hair,#e6e2da);text-underline-offset:4px}
.cw-note{margin:28px 0 0;font-size:12px;line-height:18px;color:var(--v2-text2,#5f5a53)}
