/* EdgeSignal AI — home page + shared page-kit components (es-*) used by predict/stock too.
   Colors follow lib/core/theme.dart: chrome is neutral, color only for numbers/charts
   (blue = actual price, red = crowd prediction). Mobile <= 640px: app style. */
:root {
  --es-bg: var(--bg); --es-surface: var(--surface); --es-subtle: var(--subtle); --es-border: var(--border); --es-divider: var(--divider);
  --es-ink: var(--text); --es-sub: var(--sub); --es-muted: var(--muted);
  --es-gold: var(--gold); --es-gold-soft: var(--gold-soft);
  --es-actual: var(--down); --es-actual-soft: var(--down-soft); --es-predict: var(--up); --es-predict-soft: var(--up-soft);
  --es-good: var(--good); --es-good-soft: var(--good-soft);
  --es-r: 12px; --es-r-lg: 12px;
}

/* ── shared atoms ── */
.es-muted { color: var(--es-sub); font-size: 13px; }
.es-sub { color: var(--es-sub); font-size: 13px; margin: 2px 0 12px; }
.es-note { color: var(--es-sub); font-size: 13px; background: var(--es-subtle); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.es-h { font-size: 17px; font-weight: 700; letter-spacing: -.2px; margin: 0; color: var(--es-ink); }
.es-link { font-size: 13px; color: var(--es-sub); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 6px 0; }
.es-empty { color: var(--es-muted); font-size: 14px; text-align: center; padding: 24px 8px; list-style: none; }
.es-err { color: var(--es-predict); font-size: 13px; margin: 6px 2px; }
.es-done { color: var(--es-good); font-size: 14px; font-weight: 600; margin: 12px 0; }
.es-box { background: var(--es-surface); border: 1px solid var(--es-border); border-radius: var(--es-r); padding: 16px; box-shadow: var(--shadow-1); }
.es-box + .es-box { margin-top: 16px; }
.es-box-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.es-box-h .es-h { display: flex; align-items: center; gap: 6px; }
.es-pill { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; border-radius: 99px; padding: 3px 9px; }
.es-pill.good { color: var(--es-good); background: var(--es-good-soft); }
.es-me { font-style: normal; font-size: 12px; font-weight: 600; color: var(--es-good); background: var(--es-good-soft); border-radius: 99px; padding: 1px 6px; }
.es-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.es-dot.red { background: var(--es-predict); }

.es-chg { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; white-space: nowrap; }
.es-chg.up, .es-up { color: var(--es-predict); }
.es-chg.down, .es-down { color: var(--es-actual); }
.es-chg.flat { color: var(--es-sub); }
.es-price { font-variant-numeric: tabular-nums; }

.es-sn { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-weight: 700; color: var(--es-ink); }
.es-sn-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-flag { font-size: 1.15em; line-height: 1; flex: none; display: inline-flex; align-items: center; }

.es-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px;
  border-radius: 8px; border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 17px; font-weight: 600; transition: background .12s;
  text-decoration: none; cursor: pointer; white-space: nowrap; }
.es-btn:disabled { opacity: .55; cursor: default; }
.es-btn:hover { background: var(--ink-soft); }
.es-btn.ghost, .es-btn.gold { background: var(--btn2); color: var(--text); }
.es-btn.ghost:hover, .es-btn.gold:hover { background: var(--btn2-h); }
.es-btn.wide { width: 100%; }
.es-btn.big { height: 48px; font-size: 16px; }
.es-btn.sm { height: 32px; padding: 0 12px; font-size: 14px; border-radius: 8px; }

.es-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; }
.es-tabs::-webkit-scrollbar { display: none; }
.es-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; border: 0; background: var(--btn2);
  font: inherit; font-size: 17px; font-weight: 600; color: var(--text); cursor: pointer; }
.es-tab:hover { background: var(--btn2-h); }
.es-tab.on { background: var(--ink); color: #fff; }

.es-seg { display: inline-flex; background: var(--btn2); border-radius: 8px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.es-seg button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--es-sub); height: 30px; padding: 0 12px; border-radius: 6px; cursor: pointer; }
.es-seg button.on { background: var(--es-surface); color: var(--es-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.es-seg.sm button { height: 28px; padding: 0 10px; font-size: 13px; }

.es-more { display: block; width: 100%; margin: 16px 0 0; height: 40px; padding: 0 22px; border-radius: 8px; border: 0;
  background: var(--btn2); font: inherit; font-size: 17px; font-weight: 600; color: var(--text); cursor: pointer; }
.es-more:hover { background: var(--btn2-h); }
.es-x, .es-card.es-x { display: none; }   /* 2026-11-28: .es-card { display: flex } further down used to win and show every hidden card */
.es-showx .es-x { display: revert; }
.es-showx .es-card.es-x { display: flex; }
.es-more-m { display: none; }   /* phone-only [더 보기] (only the odd last card is hidden, and only on the phone) */

/* avatar: photo with small flag at the bottom-left corner */
.es-av { position: relative; display: inline-block; width: var(--s); height: var(--s); flex: none; }
.es-av > img, .es-av-l { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.es-av > img { z-index: 1; background: transparent; }  /* the initial stays visible until (and unless) the photo loads */
.es-av-f img.flag { display: block; }
.es-av-l { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: calc(var(--s) * .44); }
.es-av-f { position: absolute; z-index: 2; left: -2px; bottom: -1px; display: inline-flex; background: #fff; border-radius: 3px; box-shadow: 0 0 0 2px #fff;
  font-size: clamp(11px, calc(var(--s) * .34), 17px); line-height: 0; }
.es-av-f img.flag { border-radius: 2px; box-shadow: none; }
.es-stack { display: inline-flex; }
.es-stack .es-av + .es-av { margin-left: -8px; }
/* 2026-11-29: each avatar is its own layer, so a pile overlaps in order (an image avatar no longer covers the letter avatar after it) */
.es-stack .es-av { isolation: isolate; }
.es-stack .es-av > img, .es-stack .es-av-l { box-shadow: 0 0 0 2px #fff; }
.es-stack .es-av-f { display: none; }

.es-rk { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--btn2); font-size: 13px; font-weight: 700; color: var(--sub); flex: none; font-variant-numeric: tabular-nums; }
.es-rk.gold { background: var(--es-gold-soft); color: var(--es-gold); }
.es-acc { font-weight: 700; font-variant-numeric: tabular-nums; }
.es-acc.good { color: var(--es-good); } .es-acc.gold { color: var(--es-gold); } .es-acc.bad { color: var(--text); }

.es-rise { height: 6px; border-radius: 99px; background: var(--es-actual); overflow: hidden; margin-top: 10px; }
.es-rise.big { height: 8px; }
.es-rise-u { display: block; height: 100%; background: var(--es-predict); border-right: 2px solid #fff; }
.es-rise-t { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-top: 5px; }

.es-ohlc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 0; }
.es-ohlc div { background: var(--es-subtle); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.es-ohlc dt { font-size: 12px; color: var(--es-sub); font-weight: 600; }
.es-ohlc dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* distribution bars (shared with stock page) */
.es-dist { position: relative; height: 96px; margin-top: 8px; border-bottom: 1px solid var(--es-border); }
.es-dist span { position: absolute; bottom: 0; border-radius: 3px 3px 0 0; box-shadow: inset 1px 0 0 #fff, inset -1px 0 0 #fff; }
.es-dist span.u { background: var(--up); opacity: .8; }
.es-dist span.d { background: var(--down); opacity: .65; }
.es-dist i { position: absolute; top: -4px; bottom: 0; width: 0; border-left: 2px dashed var(--es-ink); }
.es-dist i em { position: absolute; top: -16px; left: 4px; font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; }
.es-dist-sm { height: 56px; }
.es-dist-ax { display: flex; justify-content: space-between; font-size: 12px; color: var(--es-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }

/* svg charts */
.spark { display: block; width: 100%; height: 52px; }
.spark .sp-area { fill: var(--es-actual-soft); }
.spark .sp-line { fill: none; stroke: var(--es-actual); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark .sp-crowd { fill: none; stroke: var(--es-predict); stroke-width: 1.4; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.spark .sp-dot { fill: var(--es-actual); }
.dchart { display: block; width: 100%; height: 100%; }
.dchart .gr { stroke: var(--es-divider); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dchart .fut { fill: var(--es-predict-soft); opacity: .5; }
.dchart .ar { fill: var(--es-actual-soft); opacity: .6; }
.dchart .ac { fill: none; stroke: var(--es-actual); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.dchart .cw { fill: none; stroke: var(--es-predict); stroke-width: 1.6; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.dchart .fan { fill: none; stroke: var(--es-predict); stroke-opacity: .45; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dchart .avgf { fill: none; stroke: var(--es-predict); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dchart .foc { fill: none; stroke: var(--es-gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dchart .lv { stroke: var(--es-actual); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }

/* ── home layout ── */
.es-home { max-width: 1248px; margin: 0 auto; padding: 0 24px 48px; }

.es-ticker { display: flex; align-items: center; gap: 16px; height: 44px; margin: 0 -24px 16px; padding: 0 24px;
  background: var(--es-surface); border-bottom: 1px solid var(--es-border); overflow: hidden; }
.es-ticker-l { display: flex; align-items: center; gap: 8px; flex: none; font-size: 13px; }
.es-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--es-predict); display: inline-block; animation: es-pulse 1.6s infinite; }
@keyframes es-pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.es-mood { font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 99px; background: var(--es-subtle); color: var(--es-sub); }
.es-mood.bull { background: var(--es-predict-soft); color: var(--es-predict); }
.es-mood.bear { background: var(--es-actual-soft); color: var(--es-actual); }
.es-ticker-band { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.es-ticker-track { display: flex; width: max-content; animation: es-marquee 40s linear infinite; }
.es-ticker-band:hover .es-ticker-track { animation-play-state: paused; }
.es-ticker-run { display: flex; flex: none; }
.es-tq { display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.es-tq b { font-weight: 700; }
@keyframes es-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { .es-ticker-track { animation: none; } }

.es-home-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.es-home-side { position: sticky; top: calc(var(--hd-h, 56px) + 16px); }
.es-home-side .es-box + .es-box { margin-top: 16px; }

.es-feat { background: var(--es-surface); border: 1px solid var(--es-border); border-radius: var(--es-r-lg); padding: 16px 20px 20px; margin-bottom: 16px; box-shadow: var(--shadow-1); }
.es-feat-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.es-feat-name { text-decoration: none; font-size: 20px; }
.es-feat-p { display: flex; align-items: baseline; gap: 8px; }
.es-feat-p .es-price { font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.es-feat-body { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 24px; margin-top: 16px; }
.es-feat-chart { position: relative; display: block; height: 264px; border-radius: 8px; overflow: hidden; background: #fff; }
.es-feat-tag { position: absolute; right: 8px; top: 8px; font-size: 12px; font-weight: 700; color: var(--es-predict); background: rgba(255,255,255,.85); border-radius: 6px; padding: 2px 6px; }
.es-feat-q { font-size: 16px; font-weight: 700; }
.es-feat-people { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.es-feat-btns { display: grid; gap: 8px; margin-top: 16px; }

.es-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1560px) { .es-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.es-card { display: flex; flex-direction: column; background: var(--es-surface); border: 1px solid var(--es-border); border-radius: var(--es-r); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .15s; }
.es-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.es-card-a { display: block; padding: 16px 16px 12px; color: inherit; text-decoration: none; flex: 1; }
.es-card-h { font-size: 17px; display: flex; min-width: 0; }
.es-card-p { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 4px; }
.es-card-p b { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-card-c { margin: 12px 0 8px; height: 52px; }
.es-card-crowd { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--es-sub); min-height: 38px; }
.es-mini-bar { display: block; height: 4px; border-radius: 99px; background: var(--es-actual); overflow: hidden; }
.es-mini-bar i { display: block; height: 100%; background: var(--es-predict); }
.es-card-btn { display: flex; align-items: center; justify-content: center; height: 36px; margin: 0 12px 12px; border-radius: 8px; background: var(--btn2);
  font-size: 17px; font-weight: 600; color: var(--es-ink); text-decoration: none; }
.es-card-btn:hover { background: var(--btn2-h); }
.es-card-btn.done { color: var(--es-good); background: var(--good-soft); }

.es-ai, .es-rank, .es-feed { list-style: none; margin: 0; padding: 0; }
.es-ai li { display: grid; grid-template-columns: 24px 80px 1fr 64px; align-items: center; gap: 12px; padding: 8px 0; font-size: 17px; }
.es-ai-n { font-weight: 700; }
.es-ai-bar { height: 6px; background: var(--btn2); border-radius: 99px; overflow: hidden; }
.es-ai-bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.es-ai-v { text-align: right; font-variant-numeric: tabular-nums; }
.es-rank a { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; color: inherit; }
.es-rank a:hover { background: var(--hover); }
.es-rank-n { flex: 1; min-width: 0; font-weight: 600; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-rank-v { font-size: 17px; font-weight: 700; color: var(--es-good); font-variant-numeric: tabular-nums; }
.es-feed { max-height: 520px; overflow: hidden; }
.es-lv a { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; color: inherit; }
.es-lv + .es-lv a { border-top: 1px solid var(--es-divider); }
.es-lv-t { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.es-lv-time { font-size: 12px; color: var(--es-muted); flex: none; }
.es-lv.new { animation: es-in .5s ease-out; }
@keyframes es-in { from { background: var(--es-gold-soft); } to { background: transparent; } }
.es-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: #242526; color: #fff; font-size: 17px;
  padding: 12px 16px; border-radius: 8px; z-index: 1000; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100vw - 32px); }
.es-nf { max-width: 520px; margin: 80px auto; text-align: center; display: grid; gap: 12px; justify-items: center; }

/* ── PC narrower ── */
/* < 1100: sidebar moves under the album grid (two boxes side by side while there is room) */
@media (max-width: 1099px) {
  .es-home-cols { grid-template-columns: 1fr; }
  .es-home-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .es-home-side .es-box + .es-box { margin-top: 0; }
}
@media (max-width: 899px) {
  .es-home-side { grid-template-columns: 1fr; }
  .es-home-side .es-box + .es-box { margin-top: 16px; }
}
@media (max-width: 699px) { .es-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── mobile: app style (FB feed: full-width sections, 8px grey gaps) ── */
@media (max-width: 640px) {
  .es-home { padding: 0 0 24px; }
  .es-ticker { margin: 0 0 8px; padding: 0 12px; height: 40px; border-bottom: 0; }
  .es-ticker-l b { display: none; }
  .es-home-main .es-tabs { position: sticky; top: var(--hd-h, 52px); z-index: 5; background: var(--es-surface); padding: 8px 12px; margin: 0; box-shadow: 0 1px 0 var(--border); }
  .es-tab { height: 34px; padding: 0 14px; font-size: 17px; }
  .es-feat { border-radius: 0; border: 0; box-shadow: none; padding: 16px 12px; margin-bottom: 8px; }
  .es-feat-name { font-size: 18px; }
  .es-feat-p .es-price { font-size: 22px; }
  .es-feat-chart { height: 200px; margin: 0 -12px; border-radius: 0; }
  .es-feat-body { gap: 16px; }
  .es-feat-btns { grid-template-columns: 1fr; }
  .es-feat-btns .es-btn { height: 44px; }
  .es-grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 8px; }
  .es-card { border-radius: 12px; border: 0; }
  .es-card-a { padding: 12px 12px 8px; }
  .es-card-h { font-size: 17px; }
  .es-card-p { flex-direction: column; align-items: flex-start; gap: 0; }
  .es-card-p b { font-size: 17px; }
  .es-card-c { height: 44px; }
  .es-card-c .spark { height: 44px; }
  .es-card-btn { height: 36px; margin: 0 8px 8px; }
  .es-more { width: auto; margin: 8px; }
  .es-home-side { padding: 0; margin-top: 8px; }
  .es-box { border-radius: 0; border: 0; box-shadow: none; padding: 16px 12px; }
  .es-box + .es-box, .es-home-side .es-box + .es-box { margin-top: 8px; }
  .es-h { font-size: 17px; }
  .es-ai li { grid-template-columns: 24px 80px 1fr 60px; font-size: 17px; }
  .es-feed { max-height: none; }
  .es-lv-t { font-size: 17px; }
}
.ic.ck { vertical-align: -3px; }
.es-done { display: flex; align-items: center; gap: 6px; }
.es-list-ck .ic { display: block; }

/* ═════════ home — Flutter section order (ticker card · hero intro + featured · popular grid + side) ═════════ */
.es-ticker { display: block; height: auto; margin: 16px 0 24px; padding: 0; border: 1px solid var(--es-border); border-radius: var(--es-r); box-shadow: var(--shadow-1); }
.es-ticker-top { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-bottom: 1px solid var(--es-divider); font-size: 13px; min-width: 0; }
.es-ticker-top > b { font-size: 13px; letter-spacing: .3px; }
.es-ticker-feed { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--es-divider);
  color: var(--es-sub); text-decoration: none; font-size: 14px; }
.es-ticker-feed > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-ticker-band { height: 40px; display: flex; align-items: center; }

.es-hero { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.es-hero-t { margin: 8px 0 0; font-size: 44px; line-height: 1.2; font-weight: 800; letter-spacing: -1.6px; color: var(--es-ink); white-space: pre-line; }
.es-hero-s { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--es-sub); white-space: pre-line; }
.es-hero-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.es-hero-b .es-btn { height: 52px; font-size: 16px; border-radius: 10px; }
.es-hero-b .es-btn.ghost { background: var(--es-surface); box-shadow: inset 0 0 0 1px var(--es-border); }
.es-hero-b .es-btn.ghost:hover { background: var(--es-subtle); }
.es-hero-h { margin: 8px 0 24px; font-size: 13px; color: var(--es-sub); }

.es-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; background: var(--es-surface); border: 1px solid var(--es-border);
  border-radius: var(--es-r); box-shadow: var(--shadow-1); margin-bottom: 16px; }
.es-stats > div { display: flex; flex-direction: column; min-width: 0; }
.es-stats .ic { color: var(--es-sub); }
.es-stats b { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.es-stats span { font-size: 12px; color: var(--es-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.es-aibox { margin-bottom: 16px; }
.es-aibox .es-box-h { justify-content: flex-start; gap: 8px; margin-bottom: 4px; }
.es-aibox .es-box-h .es-sub { margin: 0; font-size: 12px; }
.es-aibox .es-h { font-size: 17px; }
.es-ai li { grid-template-columns: 20px 76px 1fr 64px; gap: 10px; padding: 6px 0; font-size: 14px; }
.es-ai .es-rk { width: 20px; height: 20px; background: none; font-size: 13px; color: var(--es-sub); }
.es-ai .es-rk.hot, .es-ai-v.hot { color: var(--es-predict); }
.es-ai-bar { height: 8px; background: transparent; }
.es-ai-line { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: var(--es-subtle);
  color: var(--es-sub); font-size: 13px; text-decoration: none; }
.es-ai-line b { color: var(--es-ink); font-variant-numeric: tabular-nums; }
.es-ai-line span { margin-left: auto; }

.es-kings { background: #1C2532; border-radius: var(--es-r); padding: 16px; color: #fff; }
.es-kings-h { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.es-kings-h .ic { color: var(--gold-on-dark, #F0C774); }
.es-kings-h a { margin-left: auto; color: rgba(255,255,255,.7); font-size: 12px; text-decoration: none; }
.es-kings-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.es-king { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; text-decoration: none; min-width: 0; }
.es-king-av { position: relative; margin-bottom: 4px; }
.es-king-av .es-av { box-shadow: 0 0 0 2px rgba(255,255,255,.24); border-radius: 50%; }
.es-king.first .es-king-av .es-av { box-shadow: 0 0 0 2px var(--gold-on-dark, #F0C774); }
.es-king-av > i { position: absolute; right: -4px; bottom: -2px; z-index: 3; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #1C2532;
  font-style: normal; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.es-king.first .es-king-av > i { background: var(--gold-on-dark, #F0C774); }
.es-king-n { max-width: 100%; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-king b { font-size: 17px; font-weight: 800; color: var(--gold-on-dark, #F0C774); font-variant-numeric: tabular-nums; }

.es-feat-wrap { min-width: 0; }
.es-feat { margin: 0; padding: 16px 20px 20px; }
.es-feat .es-tabs { padding-bottom: 16px; }
.es-feat .es-tab { height: 32px; font-size: 14px; }
.es-feat-h { align-items: flex-start; }
.es-feat-name small { font-size: 12px; font-weight: 500; color: var(--es-muted); margin-left: 2px; }
.es-feat-id .es-feat-p { margin-top: 4px; }
.es-feat-p .es-price { font-size: 28px; }
.es-feat-people { margin-top: 0; }
.es-feat-q { margin-top: 12px; font-size: 14px; font-weight: 600; }
.es-feat-q > .es-muted { display: block; margin-top: 6px; font-weight: 500; }
.es-feat-chart { height: 280px; margin-top: 16px; }
.es-feat-btns { grid-template-columns: 1fr auto; }
.es-feat-btns .es-btn { height: 48px; }

.es-sec-h { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.es-h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.es-sec-h .es-tabs { padding-bottom: 12px; }
.es-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.es-home-cols { grid-template-columns: minmax(0, 1fr) 320px; }

.es-hot { list-style: none; margin: 8px 0 0; padding: 0; }
.es-hot a { display: flex; align-items: center; gap: 8px; padding: 8px; margin: 0 -8px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px; }
.es-hot a:hover { background: var(--hover); }
.es-hot .es-rk { width: 20px; height: 20px; background: none; color: var(--es-muted); font-size: 13px; }
.es-hot .es-rk.gold { color: var(--es-gold); background: none; }
.es-hot .es-sn { flex: 1; font-weight: 600; }
.es-hot-n { width: 52px; text-align: right; font-size: 12px; font-weight: 600; color: var(--es-sub); }
.es-box > .es-h { display: flex; align-items: center; gap: 6px; }
.es-subbox { background: var(--es-subtle); border-color: var(--es-subtle); box-shadow: none; }
.es-subbox .es-btn { width: 100%; height: 44px; margin-top: 4px; }
.es-subbox .es-subshare { display: block; margin: 8px auto 0; }

@media (max-width: 1099px) {
  .es-hero { grid-template-columns: 1fr; gap: 24px; }
  .es-intro { max-width: 640px; }
  .es-hero-t { font-size: 36px; }
  .es-home-cols { grid-template-columns: 1fr; }
  .es-home-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .es-home-side .es-box + .es-box { margin-top: 0; }
}
@media (max-width: 899px) { .es-home-side { grid-template-columns: 1fr; } .es-home-side .es-box + .es-box { margin-top: 16px; } }
@media (max-width: 699px) { .es-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1560px) { .es-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .es-ticker { margin: 0 12px 16px; }
  .es-ticker-top { padding: 0 12px; }
  .es-ticker-feed { font-size: 13px; }
  .es-hero { gap: 16px; margin-bottom: 16px; }
  .es-intro { padding: 0 16px; }
  .es-hero-t { font-size: 28px; line-height: 1.25; letter-spacing: -.9px; }
  .es-hero-s { font-size: 17px; margin-top: 8px; }
  .es-hero-b { grid-template-columns: 1fr; }
  .es-hero-b .es-btn.ghost { display: none; }  /* Flutter mobile: one button (ranking lives in the bottom tabs) */
  .es-hero-h { text-align: center; margin-bottom: 16px; }
  .es-stats { padding: 12px; }
  .es-stats b { font-size: 18px; }
  .es-aibox, .es-kings { border-radius: 12px; }
  .es-feat { padding: 16px 12px; }
  .es-feat .es-tabs { padding: 0 0 12px; position: static; box-shadow: none; }
  .es-feat-chart { height: 220px; margin: 12px -12px 0; }
  .es-feat-btns { grid-template-columns: 1fr; }
  .es-sec-h { padding: 0 12px; gap: 8px; }
  .es-sec-h .es-tabs { width: 100%; padding: 0 0 8px; position: static; box-shadow: none; background: none; }
  .es-h2 { margin: 8px 0 4px; font-size: 18px; }
}
@media (max-width: 640px) { .es-intro .es-aibox, .es-intro .es-kings { display: none; } }  /* Flutter mobile intro: title · numbers · one button */
/* featured card fills the hero row (Flutter lines up the bottoms of both columns); the chart takes the spare height */
@media (min-width: 1100px) {
  .es-hero { align-items: stretch; }
  .es-feat-wrap, .es-feat { display: flex; flex-direction: column; }
  .es-feat-wrap > .es-feat { flex: 1; }
  .es-feat > .es-market:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
  .es-feat-chart { flex: 1 1 auto; min-height: 280px; max-height: 400px; }
  .es-feat > .es-market > .es-feat-btns { margin-top: auto; padding-top: 16px; }
}
.es-feat-chart { overflow: visible; margin-bottom: 20px; }
.es-feat-y i, .es-feat-x i { position: absolute; font-style: normal; font-size: 11px; color: var(--es-muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.es-feat-y i { left: 6px; transform: translateY(-50%); background: rgba(255,255,255,.8); padding: 0 3px; border-radius: 3px; }
.es-feat-y i:first-child { transform: none; }
.es-feat-x { position: absolute; left: 0; right: 0; bottom: -20px; height: 20px; }
.es-feat-x i { bottom: 3px; transform: translateX(-50%); }
/* tablet / narrow PC: intro spans the width; stats -> AI ranking -> top 3 stacked full width, as Flutter's narrow
   intro column (side by side left a tall top-3 card with its three avatars floating in empty space) */
@media (min-width: 700px) and (max-width: 1099px) {
  .es-intro { max-width: none; display: block; }
  .es-hero-b { max-width: 480px; }
  .es-intro .es-aibox { margin-bottom: 14px; }
}
@media (max-width: 640px) { .es-ticker { margin-top: 8px; } }

/* ── 증시 맞추기 row (Flutter DecimalSection) ── */
.es-dc { margin: 0 0 40px; }
.es-dc-h { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.es-dc-t { flex: 1; min-width: 0; }
.es-dc-t .es-h2 { margin: 0; }
.es-dc-t p { margin: 2px 0 0; font-size: 13px; color: var(--es-sub); }
.es-dc-q { display: flex; align-items: center; gap: 8px; width: 280px; height: 44px; padding: 0 16px; border: 1.2px solid #C9CFD8; border-radius: 999px; background: var(--es-surface); color: var(--es-ink); }
.es-dc-q:focus-within { border-color: var(--ink); }
.es-dc-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--es-ink); }
.es-dc-arr { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--es-border); border-radius: 50%;
  background: var(--es-surface); color: var(--es-ink); cursor: pointer; }
.es-dc-arr:hover { background: var(--es-subtle); }
.es-dc-all { align-self: center; padding: 8px; }
.es-dc-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 1px; }
.es-dc-row::-webkit-scrollbar { display: none; }
.es-dcc { flex: 0 0 290px; height: 80px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 8px 14px; scroll-snap-align: start;
  background: var(--es-surface); border: 1px solid var(--es-border); border-radius: var(--es-r); box-shadow: var(--shadow-1); color: inherit; text-decoration: none; }
.es-dcc:hover { border-color: var(--es-sub); }
.es-dcc[hidden] { display: none; }
.es-dcc-1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.es-dcc-n { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
.es-dcc-v { margin-left: 2px; font-size: 19px; font-weight: 700; letter-spacing: -.6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.es-dcc-v em { font-style: normal; color: var(--es-gold); }
.es-dcc-c { font-size: 12px; font-weight: 700; white-space: nowrap; }
.es-dcc-c.up { color: var(--es-predict); } .es-dcc-c.down { color: var(--es-actual); }
.es-dcc-2 { font-size: 12px; color: var(--es-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-dcc-2.mine { color: var(--es-good); font-weight: 700; }
@media (max-width: 640px) {
  .es-dc { margin: 0 0 16px; padding: 0 12px; }
  .es-dc-h { flex-wrap: wrap; }
  .es-dc-t .es-h2 { font-size: 18px; }
  .es-dc-arr { display: none; }
  .es-dc-q { order: 3; width: 100%; }
  .es-dcc { flex-basis: 78vw; }
}

/* ═════════ finish pass: readable small text, calmer AI ranking, firmer icons, consistent cards ═════════ */
.es-home .es-muted, .es-home .es-sub { font-size: 13px; color: var(--es-sub); }
.es-stats > div { gap: 0; }
.es-stats .ic { width: 32px; height: 32px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: var(--es-subtle); color: var(--es-ink); stroke-width: 2; }
.es-stats b { margin-top: 12px; }
.es-stats span { font-size: 13px; margin-top: 2px; }
.es-aibox .es-box-h .es-sub { font-size: 13px; }
.es-ai li { grid-template-columns: 20px 80px 1fr 68px; }
.es-ai .es-rk { color: var(--es-muted); font-weight: 700; }
.es-ai .es-rk.hot { color: var(--es-ink); }
.es-ai-v { color: var(--es-sub); font-weight: 600; }
.es-ai-v.hot { color: var(--es-ink); font-weight: 700; }
.es-ai li:first-child .es-ai-v { color: var(--es-ink); font-weight: 800; }
.es-ai-bar { background: var(--es-subtle); border-radius: 99px; height: 6px; }
.es-ai-bar i { background: var(--es-ink); }
.es-ai-bar i { border-radius: 99px; }
.es-ai-line { font-size: 13px; }
.es-kings-h a, .es-king-n { font-size: 13px; }
.es-hot-n, .es-dcc-2, .es-dc-t p, .es-hero-h { font-size: 13px; }
.es-dcc-2 { color: var(--es-sub); }
.es-feat-name small { font-size: 13px; color: var(--es-sub); }
.es-feat-y i, .es-feat-x i { font-size: 12px; color: var(--es-sub); }
.es-feat-y i:last-child { transform: translateY(-100%); }
.es-feat-y i { background: rgba(255,255,255,.92); }
.dchart .fut { fill: var(--es-subtle); opacity: 1; }
.es-feat-fut { position: absolute; top: 8px; transform: translateX(8px); display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; color: var(--es-sub); pointer-events: none; }
.es-feat-fut b { color: var(--es-predict); font-size: 13px; }
.es-feat-now { position: absolute; right: 0; transform: translateY(-50%); background: var(--es-actual); color: #fff; font-size: 12px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; pointer-events: none; }
.es-feat-chart { border-radius: 8px; }
.es-feat-avg { position: absolute; right: 0; transform: translateY(-50%); background: var(--es-predict); color: #fff; font-size: 12px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; pointer-events: none; z-index: 1; }
.es-box, .es-stats, .es-feat, .es-kings, .es-dcc, .es-card { border-radius: 12px; }
.es-box { padding: 16px 20px; }
.es-feat { padding: 20px; }
.es-hero { gap: 24px; }
.es-dc, .es-hero { margin-bottom: 32px; }
@media (max-width: 640px) {
  .es-box { padding: 16px; }
  .es-feat { padding: 16px; }
  .es-feat-now { right: 4px; }
}

/* 2026-11-21 회의: 지수 띠가 첫 화면에서 "S&P 500" 이름부터 보이게 - 처음 2초는 멈춘 채로 보여 준 뒤 흐름 */
.es-ticker-track { animation-delay: 2s; }
/* 2026-11-21 회의: 대표 카드 참여자 - 페이스북 얼굴 묶음(facepile) 스타일: 사진 얼굴 우선 5개, 28px, 흰 테두리 2px, 6px 겹침 */
.es-feat-people { gap: 8px; }
.es-feat-people .es-stack .es-av + .es-av { margin-left: -6px; }
.es-feat-people .es-stack .es-av > img, .es-feat-people .es-stack .es-av-l { box-shadow: 0 0 0 2px var(--es-surface, #fff); }
.es-feat-cnt { font-size: 17px; font-weight: 600; color: var(--es-sub, #65676B); white-space: nowrap; }
@media (max-width: 640px) { .es-feat-cnt { font-size: 14px; } }
/* 2026-11-21 회의: 인기 종목 카드 - 무거운 회색 [참여하기] 버튼을 페이스북 액션 줄처럼 가볍게(구분선 + 파란 글씨), 참여 글씨 키움 */
.es-card .es-card-btn { height: 40px; margin: 0; border-radius: 0 0 8px 8px; background: transparent; border-top: 1px solid var(--es-divider, #E4E6EB);
  color: var(--es-accent, #1877F2); font-weight: 700; font-size: 14px; }
.es-card .es-card-btn:hover { background: var(--es-hover, #F2F2F2); }
.es-card .es-card-btn.done { background: transparent; color: var(--es-good, #1E7A4F); }
.es-card-crowd { font-size: 13px; color: var(--es-sub, #65676B); }
.es-card-crowd b { color: var(--es-text, #050505); font-weight: 700; }
/* 2026-11-21 회의: 홈 맨 위 = 고정 요약 한 줄 (움직이지 않음), 시장 분위기는 맨 아래 */
.es-ticker-sum .es-sum { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 16px; font-size: 14px; color: var(--es-sub, #65676B); white-space: nowrap; overflow: hidden; }
.es-ticker-sum .es-sum-i { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.es-ticker-sum .es-sum-i svg { width: 18px; height: 18px; flex: 0 0 auto; }
.es-ticker-sum .es-sum b { color: var(--es-text, #050505); font-weight: 700; font-variant-numeric: tabular-nums; }
.es-ticker-sum .es-sum b.es-up { color: var(--es-up, #E5484D); } .es-ticker-sum .es-sum b.es-down { color: var(--es-down, #2F6FED); }
.es-ticker-sum .es-sum-d { width: 1px; height: 14px; background: var(--es-divider, #E4E6EB); }
.es-moodbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; padding: 14px 16px; border-top: 1px solid var(--es-divider, #E4E6EB); font-size: 13px; }
.es-moodbar .es-mood { font-size: 14px; }
@media (max-width: 640px) { .es-ticker-sum .es-sum { font-size: 13px; gap: 8px; padding: 0 12px; } .es-moodbar { margin: 8px 16px 24px; } }
/* 2026-11-21 회의: 홈 대표 차트 가격 눈금을 종목 상세처럼 오른쪽 바깥으로 */
.es-feat .es-feat-chart { margin-right: 60px; }
.es-feat .es-feat-y i { left: calc(100% + 6px); right: auto; background: none; padding: 0; text-align: left; white-space: nowrap; }
@media (max-width: 640px) { .es-feat .es-feat-chart { margin-right: 52px; } .es-feat .es-feat-y i { font-size: 11px; left: calc(100% + 4px); } }
/* 2026-11-21 회의: 대표 카드 내일 예측 = "175명 예측" 오른쪽 작은 막대 */
.es-feat-people { flex-wrap: nowrap; min-width: 0; }
.es-feat-rise { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--es-divider, #E4E6EB); font-size: 12px; white-space: nowrap; }
.es-feat-rise em { font-style: normal; color: var(--es-sub, #65676B); font-weight: 600; }
.es-feat-rise b { font-weight: 700; font-variant-numeric: tabular-nums; }
.es-feat-rise .es-fr-bar { position: relative; display: inline-block; width: 56px; height: 6px; border-radius: 99px; background: var(--es-actual, #2F6FED); overflow: hidden; }
.es-feat-rise .es-fr-bar > i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--es-predict, #E5484D); border-right: 2px solid #fff; }
@media (max-width: 640px) { .es-feat-rise { margin-left: 2px; padding-left: 8px; gap: 4px; } .es-feat-rise .es-fr-bar { width: 40px; } .es-feat-cnt { font-size: 13px; } }
/* 2026-11-21 회의: 시가·고가·종가 칸은 두 줄 말고 한 줄 ("시가 $251.96") */
.es-ohlc div { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 9px 8px; white-space: nowrap; }
.es-ohlc dt { flex: 0 0 auto; }
.es-ohlc dd { margin: 0; min-width: 0; }
@media (max-width: 640px) { .es-ohlc div { gap: 4px; padding: 8px 4px; } .es-ohlc dt { font-size: 11px; } .es-ohlc dd { font-size: 13px; } }
/* 2026-11-21 회의: 맨 위 요약 줄을 지운 뒤 헤더와 첫 내용이 붙어 보임 - 위 여백 */
.es-home > .es-hero:first-child, .es-home > :first-child { margin-top: 28px; }
@media (max-width: 640px) { .es-home > .es-hero:first-child, .es-home > :first-child { margin-top: 22px; } }
/* 2026-11-21 회의: 나라 탭 = 국기 동그라미만 (랭킹 아바타 크기), 테두리 상자 없음 */
.es-tabs .es-tab.es-tab-dot { width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.es-tab-dot .es-mdot { position: relative; display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #E4E6EB; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.es-tab-dot .es-mdot img.flag { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; }
.es-tab-dot .es-mdot-c { display: flex; align-items: center; justify-content: center; background: #F7931A; color: #fff; font-size: 22px; font-weight: 800; }
.es-tab-dot .es-mdot-t { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.es-tabs .es-tab.es-tab-dot.on { background: transparent; }
.es-tabs .es-tab.es-tab-dot.on .es-mdot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--es-ink, #050505); }
.es-tabs .es-tab.es-tab-dot:not(.on) .es-mdot { opacity: .55; }
.es-tabs:has(.es-tab-dot) { gap: 12px; padding: 4px 2px; }
/* 2026-11-21 회의: "지금 많이 예측하는 종목"을 랭킹과 통일 - 52px 국기 동그라미 + 10시 순위 배지 + 두 줄(이름 / 등락·인원) */
.es-hot a { gap: 12px; min-height: 64px; padding: 6px 8px; }
.es-hot-av { position: relative; flex: 0 0 auto; width: 52px; height: 52px; }
.es-hot-av .es-mdot { width: 52px; height: 52px; position: relative; display: block; border-radius: 50%; overflow: hidden; background: #E4E6EB; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.es-hot-av .es-mdot img.flag { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.es-hot-av .es-mdot-c { display: flex; align-items: center; justify-content: center; background: #F7931A; color: #fff; font-size: 26px; font-weight: 800; }
.es-hot .es-hot-av .es-rk { position: absolute; z-index: 3; left: -6px; top: -4px; min-width: 22px; height: 22px; padding: 0 6px; width: auto; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; background: #EEF0F3; color: #3A3F47; font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,.22); }
.es-hot li:nth-child(1) .es-rk { background: #F0C774; color: #3D2B00; }
.es-hot li:nth-child(2) .es-rk { background: #D9DDE3; color: #2B2F36; }
.es-hot li:nth-child(3) .es-rk { background: #E2B48C; color: #3B2310; }
.es-hot-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.es-hot-t b { font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-hot-t small { font-size: 13px; color: var(--es-sub, #65676B); font-weight: 600; white-space: nowrap; }
.es-hot-t .es-hot-n { width: auto; text-align: left; font-size: 13px; }

/* 2026-11-21 회의: 제목 한 줄 · 부제 20px · 안내 18px · 국기 선명하게 */
.es-hero .es-hero-t { white-space: nowrap !important; font-size: clamp(19px, 5.7vw, 27px) !important; }
.es-hero .es-hero-s { font-size: 20px !important; line-height: 1.45; }
.es-hero .es-hero-h { font-size: 18px !important; line-height: 1.45; }
.es-tabs .es-tab.es-tab-dot:not(.on) .es-mdot { opacity: 1; }
.es-hero .es-hero-b .es-btn { font-size: 21px !important; font-weight: 800 !important; height: 54px !important; min-height: 54px !important; }
/* 안내 문구를 버튼 위로, 버튼 바로 밑에 차트 */
.es-hero .es-hero-h { margin: 10px 0 14px !important; text-align: left !important; }
.es-hero .es-hero-b { margin-bottom: 12px !important; }
@media (max-width: 760px) {
  .es-hero { row-gap: 6px !important; }
  .es-hero .es-feat { padding-top: 4px !important; }
}
.es-hero .es-hero-h { color: #1C1E21 !important; font-weight: 600 !important; }
/* 주가 카드를 위로: 머리 아래·문구 사이 간격 줄임 */
@media (max-width: 760px) {
  .es-home .es-hero { margin-top: 10px !important; }
  .es-hero .es-hero-s { margin-top: 4px !important; }
  .es-hero .es-hero-h { margin: 6px 0 10px !important; }
  .es-hero .es-hero-b { margin-top: 0 !important; margin-bottom: 10px !important; }
}
/* 부제와 안내를 한 덩어리로: 같은 크기·같은 색·같은 줄간격 */
.es-hero .es-hero-s, .es-hero .es-hero-h { font-size: 18px !important; line-height: 1.5 !important; color: #4B4F56 !important; font-weight: 500 !important; letter-spacing: -0.2px; text-align: left !important; }
.es-hero .es-hero-s { margin: 6px 0 0 !important; }
.es-hero .es-hero-h { margin: 0 0 14px !important; }

/* 2026-11-21 mPOP 차트: 대표 카드도 종목 상세와 같은 캔버스 차트 (static/js/chart.js lite) - 서버 SVG는 그리기 전까지만 보임 */
.es-feat .es-feat-chart.es-fc-on { margin-right: 0; margin-bottom: 0; height: 300px; overflow: hidden; border-radius: 8px; background: #fff;
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.es-feat-chart.es-fc-on > svg, .es-feat-chart.es-fc-on > span { display: none !important; }
.es-fc { position: absolute; inset: 0; display: flex; flex-direction: column; --ax: 64px; background: #fff; }
.es-fc-main { position: relative; flex: 1 1 auto; min-height: 0; touch-action: pan-y; cursor: crosshair; }
.es-fc-main.drag { cursor: grabbing; }
.es-fc-vol { position: relative; flex: 0 0 76px; border-top: 1px solid var(--es-divider, #E4E6EB); touch-action: pan-y; }
.es-fc canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (min-width: 1100px) { .es-feat .es-feat-chart.es-fc-on { height: auto; min-height: 300px; max-height: 420px; } }
@media (max-width: 640px) {
  .es-feat .es-feat-chart.es-fc-on { height: 280px; margin: 12px -16px 0; border-radius: 0; }
  .es-fc { --ax: 58px; }
  .es-fc-vol { flex-basis: 70px; }
}

/* 2026-11-21 회의: 제목 50px, 소개 문구 진하게 */
.es-hero .es-hero-t { font-size: 50px !important; line-height: 1.15 !important; white-space: pre-line !important; letter-spacing: -1px; word-break: keep-all; }
.es-hero .es-hero-s, .es-hero .es-hero-h { color: #1C1E21 !important; font-weight: 600 !important; }
/* 제목 두 줄: "차트 커뮤니티에서" / "실력을 키우세요" — 폭에 맞는 최대 크기(최대 50px) */
.es-hero .es-hero-t { font-size: min(50px, 10.4vw) !important; white-space: pre-line !important; word-break: keep-all !important; overflow-wrap: normal !important; }
/* 제목: "차트 커뮤니티"는 크게, "에서"는 작고 연하게, "실력을 키우세요"는 아랫줄 */
.es-hero .es-hero-t.es-hero-t2 { white-space: normal !important; font-size: min(46px, 11.4vw) !important; line-height: 1.12 !important; letter-spacing: -1.2px; }
.es-hero-t2 .es-ht-a, .es-hero-t2 .es-ht-b { display: block; white-space: nowrap; }
.es-hero-t2 .es-ht-a small { font-size: .6em; font-weight: 700; color: #65676B; margin-left: 4px; letter-spacing: -0.5px; }
/* 어설픈 줄바꿈 금지: 단어 중간에서 안 끊기게, 안내 한 줄은 폭에 맞춰 */
.es-hero .es-hero-s { word-break: keep-all !important; white-space: pre-line !important; }
.es-hero .es-hero-h { white-space: nowrap !important; font-size: min(18px, 4.55vw) !important; }

/* 2026-11-21 mPOP 차트 2차: 캔버스 차트가 그려지면 예전 SVG 차트에 딸린 분포 막대(파랑/빨강 히스토그램)도 숨김 - 시가·고가·종가 박스와 버튼은 그대로 */
.es-feat-chart.es-fc-on + .es-dist, .es-feat-chart.es-fc-on ~ .es-dist-ax { display: none !important; }
.es-market:has(> .es-feat-chart.es-fc-on) > .es-dist { display: none !important; }
/* 2026-11-21 회의: 제목 위 여백, "에서" 같은 색, 설명은 진회색·보통, 안내는 빨간 포인트 */
.es-home .es-hero .es-intro { padding-top: 18px !important; }
.es-hero-t2 .es-ht-a small { color: inherit !important; }
.es-hero .es-hero-s { color: #4B4F56 !important; font-weight: 400 !important; }
.es-hero .es-hero-h { color: #E0283A !important; font-weight: 700 !important; margin-top: 10px !important; }

/* 2026-11-21 mPOP 3차: 대표 카드 가격 칸 약 300px (+ 거래량 칸) */
.es-feat .es-feat-chart.es-fc-on { height: 376px; }
@media (min-width: 1100px) { .es-feat .es-feat-chart.es-fc-on { height: auto; min-height: 376px; max-height: 480px; } }
@media (max-width: 640px) { .es-feat .es-feat-chart.es-fc-on { height: 370px; } }
/* first paint (html.es-cw = set in base.html <head>, dropped after 6 s): until chart.js swaps in the canvas (.es-fc-on) the card
   already has the canvas chart's final box and the server SVG stays hidden - no "SVG chart, then a taller canvas chart" jump.
   412px = the .es-fc-on height above after chart.js fitH(): 376 - 76 + 112 (phone 370 - 70 + 112). .es-fc-ssr = chart.js gave up -> SVG. */
html.es-cw .es-feat .es-feat-chart:not(.es-fc-on):not(.es-fc-ssr) { margin-right: 0; margin-bottom: 0; height: 412px; overflow: hidden; border-radius: 8px; background: #fff; }
html.es-cw .es-feat .es-feat-chart:not(.es-fc-on):not(.es-fc-ssr) > svg, html.es-cw .es-feat .es-feat-chart:not(.es-fc-on):not(.es-fc-ssr) > span { display: none !important; }
@media (min-width: 1100px) { html.es-cw .es-feat .es-feat-chart:not(.es-fc-on):not(.es-fc-ssr) { height: auto; min-height: 412px; max-height: 516px; } }
@media (max-width: 640px) { html.es-cw .es-feat .es-feat-chart:not(.es-fc-on):not(.es-fc-ssr) { height: 412px; margin: 12px -16px 0; border-radius: 0; } }
/* 2026-11-21 회의: 모바일 화면 전체 쓰기 — 바깥 여백·안쪽 여백 줄여 상자 안 상자 느낌 없애기 */
@media (max-width: 760px) {
  .es-home .es-intro, .es-home .es-feat, .es-home .es-dc, .es-home .es-sec-h,
  .es-home .es-grid, .es-home .es-box { padding-left: 10px !important; padding-right: 10px !important; }
  .es-home .es-hero .es-btn { width: 100%; }
  .es-home .es-moodbar { margin-left: 10px !important; margin-right: 10px !important; padding-left: 12px !important; padding-right: 12px !important; }
  .es-home .es-dc-q { padding-left: 12px !important; padding-right: 12px !important; }
  .es-home .es-dcc { padding: 12px !important; }
  .es-home .es-grid { gap: 8px !important; }
  .es-home .es-card-a { padding: 12px !important; }
}
/* 2026-11-21 회의: 제목 40px·가운데, 설명 25px·가운데, 안내 가운데 */
.es-hero .es-intro { text-align: center !important; }
.es-hero .es-hero-t.es-hero-t2, .es-hero .es-hero-t { font-size: min(40px, 10.6vw) !important; text-align: center !important; }
.es-hero .es-hero-s { font-size: min(25px, 6.4vw) !important; line-height: 1.4 !important; white-space: normal !important; word-break: keep-all !important; text-align: center !important; margin-top: 10px !important; }
.es-hero .es-hero-h { text-align: center !important; }
.es-hero .es-hero-h { font-size: min(20px, 5.3vw) !important; }
/* 2026-11-21 회의: 오를까 막대 좌우 길이 절반 */
.es-feat-rise .es-fr-bar { width: 20px !important; min-width: 20px !important; flex: 0 0 20px !important; }
/* 오를까 비율 옆 ! 설명 */
.es-feat-people { position: relative; }
.es-rise-i { display: inline-block; margin-left: 4px; }
.es-rise-i > summary { list-style: none; cursor: pointer; width: 18px; height: 18px; border-radius: 50%; background: #E4E6EB; color: #4B4F56; font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; }
.es-rise-i > summary::-webkit-details-marker { display: none; }
.es-rise-i[open] > summary { background: #1C1E21; color: #fff; }
.es-rise-i > p { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(260px, 80vw); margin: 0; padding: 10px 12px; background: #1C1E21; color: #fff; font-size: 14px; line-height: 1.45; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.18); text-align: left; }
/* 메인 카드: 차트 칸이 패딩(10px)보다 넓게 빠져 가로 스크롤 생기던 것 */
@media (max-width: 760px) { .es-home .es-feat .es-feat-chart { margin-left: -10px !important; margin-right: -10px !important; } }
/* 2026-11-21 회의: 예측한 사람 아바타를 국기 크기(40px)로 */
.es-feat-people .es-stack .es-av { --s: 40px !important; width: 40px !important; height: 40px !important; font-size: 16px !important; }
.es-feat-people .es-stack .es-av + .es-av { margin-left: -10px !important; }
/* 아바타 40px로 커져 ! 가 화면 밖으로 밀리던 것: 겹침 늘리고 한 줄 안에 */
.es-feat-people { flex-wrap: nowrap !important; min-width: 0; gap: 6px !important; }
.es-feat-people .es-stack .es-av + .es-av { margin-left: -16px !important; }
.es-feat-people .es-feat-cnt { white-space: nowrap; font-size: 14px !important; }
.es-feat-people .es-feat-rise { margin-left: auto !important; white-space: nowrap; }
.es-feat-people .es-feat-rise::before { display: none !important; }
/* 2026-11-21 회의: 종목 이름·가격을 차트 안 왼쪽 위에 크게(상징적으로) */
.es-feat-stage { position: relative; }
.es-feat-stage .es-feat-over { position: absolute; z-index: 6; left: 14px; top: 30px; pointer-events: none; display: block !important; }
.es-feat-stage .es-feat-over a { pointer-events: auto; }
.es-feat-over .es-feat-name, .es-feat-over .es-sn-t { font-size: 30px !important; font-weight: 800 !important; color: #050505 !important; letter-spacing: -0.6px; line-height: 1.15; text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.es-feat-over .es-feat-p { margin-top: 2px; }
.es-feat-over .es-feat-p .es-price { font-size: 22px !important; font-weight: 800 !important; text-shadow: 0 0 6px #fff; }
.es-feat-over .es-feat-p .es-chg { font-size: 16px !important; font-weight: 700 !important; text-shadow: 0 0 6px #fff; }
/* 카드 아래 예측하기·공유 버튼을 위 히어로 버튼처럼 크게 */
.es-feat .es-btn.dark, .es-feat .es-btn.ghost { min-height: 54px !important; height: 54px !important; font-size: 21px !important; font-weight: 800 !important; border-radius: 8px !important; }
.es-feat-stage .es-feat-over { background: rgba(255,255,255,.88); padding: 4px 10px 6px 8px; border-radius: 10px; left: 6px !important; }
/* 차트를 stage로 감싼 뒤 예전 분포 막대가 다시 보이던 것 숨김 */
.es-feat .es-dist { display: none !important; }
/* 2026-11-21 회의: 메인 카드 위 국기 탭 빼기 (언어별 첫 시장 종목만 보임) */
.es-feat .es-tabs { display: none !important; }
/* 사각 기본, 모서리 아주 조금 */
.es-feat .es-btn.dark, .es-feat .es-btn.ghost { border-radius: 4px !important; }
/* 2026-11-21 회의: 차트 위에 겹친 이름이 어색 — 차트 바로 위 한 줄로(겹치지 않게) */
.es-feat-stage .es-feat-over { position: static !important; background: none !important; padding: 2px 10px 4px !important; display: flex !important; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.es-feat-over .es-feat-name, .es-feat-over .es-sn-t { font-size: 24px !important; text-shadow: none !important; }
.es-feat-over .es-feat-p { margin: 0 !important; display: flex; align-items: baseline; gap: 6px; }
.es-feat-over .es-feat-p .es-price { font-size: 20px !important; text-shadow: none !important; }
.es-feat-over .es-feat-p .es-chg { font-size: 15px !important; text-shadow: none !important; }
/* 이름·가격 줄을 아바타 줄 위로 (차트 밖 맨 위) */
.es-feat .es-feat-over { position: static !important; background: none !important; padding: 4px 0 2px !important; display: flex !important; align-items: baseline; gap: 10px; flex-wrap: wrap; pointer-events: auto; }
.es-feat-over .es-feat-name, .es-feat-over .es-sn-t { font-size: 24px !important; font-weight: 800 !important; text-shadow: none !important; color: #050505 !important; }
.es-feat-over .es-feat-p { margin: 0 !important; display: flex; align-items: baseline; gap: 6px; }
.es-feat-over .es-feat-p .es-price { font-size: 20px !important; font-weight: 800 !important; text-shadow: none !important; }
.es-feat-over .es-feat-p .es-chg { font-size: 15px !important; text-shadow: none !important; }

/* 2026-11-21 국가 시장 추가: '인기 종목' 국기 탭이 12개까지 늘어남 -> 한 줄 가로 스크롤 (스크롤바 숨김 · 국기 단위 스냅).
   제목 옆(PC)에서는 남은 폭만 쓰고, 좁으면 제목 아래 한 줄 전체. 양 끝은 살짝 흐리게 해서 더 있다는 걸 보여 줌. */
#es-mtabs { flex: 1 1 0; min-width: 0; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: 4px; padding: 6px 4px; }
#es-mtabs::-webkit-scrollbar { display: none; }
#es-mtabs > .es-tab { scroll-snap-align: start; }
#es-mtabs.es-ovf { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
#es-mtabs.es-ovf.es-at-start { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent 100%); }
#es-mtabs.es-ovf.es-at-end { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px);
  mask-image: linear-gradient(to right, transparent 0, #000 14px); }
@media (max-width: 1099px) { .es-sec-h #es-mtabs { flex-basis: 100%; } }
[dir="rtl"] #es-mtabs.es-ovf { -webkit-mask-image: none; mask-image: none; }

/* 2026-11-21 회의: "222명 예측"과 ▲49% ▼51% 를 18px로 */
.es-feat-people .es-feat-cnt { font-size: 18px !important; font-weight: 700 !important; }
.es-feat-people .es-feat-rise b { font-size: 18px !important; font-weight: 800 !important; }
.es-feat-people { flex-wrap: wrap !important; row-gap: 6px; }
/* 2026-11-21 회의: 히어로는 한 문장만 30px */
.es-hero .es-hero-one { font-size: min(30px, 7.6vw); font-weight: 800; line-height: 1.35; letter-spacing: -0.6px; color: #050505; text-align: center; word-break: keep-all; margin: 6px 0 18px; }
/* 2026-11-21 회의: 히어로 한 문장 예쁘게 줄바꿈(줄 길이 고르게) + 높이 줄여 차트를 위로 */
.es-hero .es-hero-one { font-size: min(24px, 6.2vw) !important; line-height: 1.38 !important; text-wrap: balance; margin: 2px 0 10px !important; }
.es-home .es-hero .es-intro { padding-top: 12px !important; }

/* 11-21 popular cards bigger text */
.es-card .es-sn-t{font-size:19px}
.es-card .es-card-p{font-size:17px;flex-wrap:wrap;gap:2px 6px}
.es-card .es-card-p b,.es-card .es-card-p .es-chg{font-size:17px}
.es-card .es-card-crowd,.es-card .es-card-crowd b,.es-card .es-card-crowd span{font-size:16px}
.es-card .es-card-btn{font-size:17px}
.es-card .es-card-btn{display:none}
.es-feat-people .es-feat-up{color:#E0283A;font-weight:800;margin:0 2px}
.es-card .es-mini-bar{display:none}
/* 11-21 기기마다 가격/등락 줄바꿈이 달라 카드 높이가 어긋남 -> 항상 2줄 고정 */
.es-card .es-card-p{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.es-card .es-card-p b,.es-card .es-card-p .es-chg{white-space:nowrap;line-height:1.2}
.es-card .es-sn-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.es-card .es-card-crowd > span{white-space:nowrap}
.es-card .es-card-crowd b.es-up{color:#E0283A;font-weight:800}
.es-hero .es-hero-sub2{margin:6px 0 0;font-size:min(16px,4.3vw);font-weight:500;color:#4B5563;text-align:center;text-wrap:balance}
.es-card .es-card-crowd{min-height:0!important;height:auto!important;padding-top:0!important;padding-bottom:0!important;margin-top:4px!important}
/* 2026-11-28: logged-in home — the intro sentence shows only in the 2-column PC layout (fills the left column);
   one-column widths go straight to the stock card, and the phone drops the empty intro strip */
@media (min-width: 1100px) { .es-intro.me { align-self: center; } }
@media (max-width: 1099px) { .es-intro.me .es-hero-one, .es-intro.me .es-hero-sub2 { display: none; } }
@media (max-width: 640px) { .es-intro.me { display: none; } }

/* 2026-11-28: PC home (>= 1100px) — one column: [headline | 적중왕] strip on top, then the stock card at full width.
   The old 400px left column held two lines of text + 적중왕 and left a tall empty area beside the chart. */
@media (min-width: 1100px) {
  .es-home .es-hero { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  .es-home .es-intro, .es-home .es-intro.me { display: grid !important; grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: 1fr 1fr;
    align-items: center; column-gap: 24px; row-gap: 4px; max-width: none; align-self: auto; }
  .es-home .es-intro .es-hero-one { grid-column: 1; grid-row: 1; align-self: end; text-align: left !important; margin: 0 !important; }
  .es-home .es-intro .es-hero-sub2 { grid-column: 1; grid-row: 2; align-self: start; text-align: left !important; margin: 0 !important; }
  .es-home .es-intro .es-kings { grid-column: 2; grid-row: 1 / span 2; }
}
/* phone list (2026-11-28): every card the same size - an odd count hides its last card (.es-xm, shown by [더 보기]) so the
   two columns end even; [더 보기] is a full-width button */
@media (max-width: 640px) {
  .es-home .es-grid > .es-card.es-xm { display: none; }
  .es-home .es-showx .es-grid > .es-card.es-xm { display: flex; }
  .es-home .es-more.es-more-m { display: block; }
  .es-home .es-more { display: block; width: calc(100% - 16px); margin: 10px 8px; height: 46px; font-size: 16px; }
}
/* 증시 맞추기 cards on the phone: a little wider (212px, was 182) so "S&P 500", "다우존스", "니케이225" are not cut */
@media (max-width: 640px) { .es-home .es-dq-row .es-dqc { flex: 0 0 212px !important; width: 212px !important; min-width: 212px !important; } }

/* 2026-11-28 owner: featured card name 3px larger than before (24 -> 27px) so it is read before the price; one row with the
   price - a long name is cut with "…" (the price never wraps) */
.es-feat .es-feat-over { flex-wrap: nowrap !important; min-width: 0; }
.es-feat-over .es-feat-name { display: flex; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.es-feat-over .es-feat-name .es-sn { min-width: 0; max-width: 100%; }
.es-feat-over .es-feat-name, .es-feat-over .es-sn-t { font-size: 27px !important; letter-spacing: -0.5px; }
.es-feat-over .es-feat-p { flex: none; white-space: nowrap; }
/* arrow-only "더보기 / 전체 보기" links: 22px arrow, 44px touch area */
.es-home .es-arr-only { display: inline-flex !important; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 0 !important; margin: -6px -10px -6px auto !important; font-size: 0 !important; color: var(--es-sub, #65676B); text-decoration: none !important; }
.es-home .es-arr-only svg { width: 22px; height: 22px; flex: none; }
.es-home .es-kings-h .es-arr-only { color: inherit; }
/* bottom share button (moved from the featured card): a real button, full width, readable */
.es-home .es-subbox .es-subshare.es-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin: 8px 0 0;
  font-size: 16px !important; font-weight: 700; }
/* phone: no 42px hole between the list's [더 보기] and the 무제한 열람 box (column gap 24 + side margin 8 -> 8) */
@media (max-width: 640px) { .es-home .es-home-cols { row-gap: 8px; } .es-home .es-home-side { margin-top: 0; } }
/* 2026-11-28: phone featured card - 8px between the chart's dates row and the [예측하기] button */
@media (max-width: 640px) { .es-home .es-feat > .es-market > .es-feat-btns { margin-top: 8px !important; padding-top: 0 !important; } }

/* 2026-11-28 owner: home text a little larger (sizes measured before: phone / PC). Section titles 18px bold on the phone
   (PC too), body / numbers / labels +1px, nothing under 14px. Buttons: text only (no extra padding); avatars unchanged.
   Spots where the larger text would wrap / clip are put back right below (checked in ko / en / ja, 390 + 1440px). */
.es-home .es-dq-h, .es-home .es-box > .es-h, .es-home .es-kings-h b { font-size: 18px !important; font-weight: 800 !important; }
.es-home .es-dqc-c { font-size: 14px !important; }                      /* 12 -> 14 */
.es-home .es-king-n { font-size: 14px !important; }                     /* PC 13 -> 14 */
.es-home .es-box > p.es-sub { font-size: 15px !important; }             /* phone 14 -> 15 */
@media (min-width: 641px) { .es-home .es-box > p.es-sub { font-size: 14px !important; } }   /* PC 13 -> 14 (15 wrapped in English) */
/* .es-dqc-n stays 15px: 16px cut "니케이225", "ハンセン指数" */
/* .es-dqc-v stays 17px: 18px pushed the index name next to it into "…" */
.es-home .es-feat-over .es-feat-p .es-chg { font-size: 16px !important; }   /* 15 -> 16 */
.es-home .es-hero-sub2 { font-size: 17px !important; }                  /* 16 -> 17 */
.es-home .es-card-crowd { font-size: 17px !important; }                 /* 16 -> 17 */
.es-home .es-card-p b, .es-home .es-card-p .es-chg { font-size: 18px !important; }   /* 17 -> 18 */
/* card names stay 19px: 20px cut "LG에너지솔루션" on PC */
.es-home .es-king b { font-size: 18px !important; }                     /* 17 -> 18 */
.es-home .es-more, .es-home .es-subbox .es-subshare.es-btn { font-size: 17px !important; }   /* 16 -> 17 (padding unchanged) */
.es-home .es-subbox .es-btn.dark { font-size: 18px !important; }        /* 17 -> 18 */
/* 2026-11-28 phone only: stock cards' inner left / right padding 12 -> 8px (screen edge 10px and the 8px gap unchanged) */
@media (max-width: 599px) { .es-home .es-grid .es-card-a { padding-left: 8px !important; padding-right: 8px !important; } }

/* 2026-11-29 (owner, logs/shots/ref/client-accuracy-legend.png): one line under the charts with accuracy numbers, left aligned -
   [92%] 일반 정확도  [120%] 오버 정확도 : pills on a light blue / light green ground with the same colour text, 14px */
.es-acc-note { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 0 16px; margin: 8px 0 12px; padding: 0; font-size: 14px; line-height: 20px; color: #555; overflow: hidden; }   /* owner: 8px under the date row, 12px above what follows, left on the chart's left line */
.es-acc-note span { display: inline; white-space: nowrap; }
.es-acc-pill { display: inline; margin-right: 6px; padding: 0; border-radius: 0; background: none; font-size: 14px; font-weight: 700; line-height: 20px; font-variant-numeric: tabular-nums; }   /* owner 2026-11-29: colour only, no pill; inline = same baseline as the words */
.es-acc-pill.nm { color: #1E6FE8; }
.es-acc-pill.ov { color: #1A9E55; }
/* 2026-11-29 (owner): on the stock page the note is the chart card's last child (16px padding + 8px section gap follow): pull it up so the next section is 12px away */
.es-st .es-chart-card .es-acc-note { margin-bottom: -12px; }
