*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
[hidden] { display: none !important; }
:root {
  --bg: #f2f4f7; --panel: #ffffff; --ink: #121a22; --muted: #5b6672; --line: #dde3e9; --soft: #edf0f4; --hover: #f5f7fa;
  --accent: #1f5f8b; --accent-soft: #e1ecf5; --star: #c08400;
  --up: #0c7a41; --down: #c2352a; --up-soft: #e2f3e9; --down-soft: #fbe6e3;
  --l-hiv: #0b6b62; --l-koz: #2b55a0; --l-meg: #1f7a3c; --l-egy: #66727d; --l-ert: #a75800; --l-ele: #4f4fc4;
  --l-vel: #7a4596; --l-ugy: #8b9299; --l-egyeb: #8b9299;
  --t-a: #0b6b62; --t-b: #1f5f8b; --t-c: #55606b; --t-d: #9a5b00; --t-e: #8b9299;
  --font-ui: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --tb-h: 56px; --radius: 10px; --maxw: 1320px;
  --gut-l: max(16px, env(safe-area-inset-left, 0px)); --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1217; --panel: #141b22; --ink: #e2e8ee; --muted: #93a0ad; --line: #26313b; --soft: #1a232c; --hover: #18212a;
    --accent: #6cb4e6; --accent-soft: #15293a; --star: #f0b429;
    --up: #3fcf7f; --down: #ff7a6b; --up-soft: #12301f; --down-soft: #3a1714;
    --l-hiv: #4fd1c0; --l-koz: #84a9f0; --l-meg: #6ad48a; --l-egy: #9aa7b2; --l-ert: #f3a24b; --l-ele: #a3a3ff;
    --l-vel: #c79be0; --l-ugy: #7d8790; --l-egyeb: #7d8790;
    --t-a: #4fd1c0; --t-b: #6cb4e6; --t-c: #a6b2bd; --t-d: #f3a24b; --t-e: #7d8790;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1217; --panel: #141b22; --ink: #e2e8ee; --muted: #93a0ad; --line: #26313b; --soft: #1a232c; --hover: #18212a;
  --accent: #6cb4e6; --accent-soft: #15293a; --star: #f0b429;
  --up: #3fcf7f; --down: #ff7a6b; --up-soft: #12301f; --down-soft: #3a1714;
  --l-hiv: #4fd1c0; --l-koz: #84a9f0; --l-meg: #6ad48a; --l-egy: #9aa7b2; --l-ert: #f3a24b; --l-ele: #a3a3ff;
  --l-vel: #c79be0; --l-ugy: #7d8790; --l-egyeb: #7d8790;
  --t-a: #4fd1c0; --t-b: #6cb4e6; --t-c: #a6b2bd; --t-d: #f3a24b; --t-e: #7d8790;
  color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 15px; line-height: 1.5; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button, select, input { font: inherit; }
.num, .px, .chg, .wl-px, .wl-chg, .mt-px, .mt-chg { font-variant-numeric: tabular-nums; }
.tk { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.01em; }
.meta { color: var(--muted); font-size: 13px; margin: 0; }
.meta.center { text-align: center; }
.hint { color: var(--muted); font-size: 14px; }
.sp { flex: 1 1 auto; }
.ghost { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel);
  color: var(--ink); cursor: pointer; white-space: nowrap; }
.ghost:hover { border-color: var(--accent); }
.ghost:disabled { opacity: .55; cursor: default; }
.ghost.on { border-color: color-mix(in srgb, var(--star) 60%, var(--line)); color: var(--star); font-weight: 600; }
.ghost.danger:hover, .ghost.danger.armed { border-color: var(--down); color: var(--down); }
.link { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; font-size: inherit; text-decoration: underline; }
.primary { font-size: 15px; font-weight: 700; padding: 9px 16px; border: 0; border-radius: 8px; background: var(--accent);
  color: #fff; cursor: pointer; }
.primary.small { font-size: 14px; padding: 7px 14px; }
:root[data-theme="dark"] .primary { color: #08121a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .primary { color: #08121a; } }
.demo { margin: 0; padding: 7px 16px; background: #fff3cd; color: #5c4400; text-align: center; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid #e8d48a; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.card.pad { padding: 16px 18px; }
.empty { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); margin: 0; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
input[type="text"], input[type="password"], input:not([type]), select.inp {
  font-size: 14px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-width: 0; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--muted); }
.spark { display: block; overflow: visible; }

/* belépés */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(380px, 100%); display: grid; gap: 14px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px; }
.login-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.login-card .sub { margin: -6px 0 4px; color: var(--muted); font-size: 14px; }
.login-card label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.login-card input { font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.err { margin: 0; color: var(--down); font-size: 14px; font-weight: 600; }

/* felső sáv */
.app { min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px 16px; min-height: var(--tb-h);
  padding: 8px var(--gut-r) 8px var(--gut-l); padding-top: max(8px, env(safe-area-inset-top, 0px));
  background: var(--panel); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; font-weight: 800;
  font-size: 17px; letter-spacing: -0.01em; flex: none; }
.brand span { color: var(--ink); }
.tabs { display: flex; gap: 2px; }
.tabs a { padding: 6px 12px; border-radius: 7px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tabs a:hover { color: var(--ink); background: var(--hover); }
.tabs a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.tb-status { display: flex; flex-wrap: nowrap; gap: 4px 10px; align-items: center; font-size: 13px; color: var(--muted); min-width: 0; overflow: hidden; }
.mpill { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; cursor: default; }
.mpill .nm { font-weight: 700; color: var(--ink); }
.mpill .cd { display: none; font-weight: 700; color: var(--ink); }
.mpill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; opacity: .6; }
.mpill.open .dot { background: var(--up); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 22%, transparent); }
.mpill.pre .dot, .mpill.post .dot { background: var(--l-ert); opacity: 1; }
.mpill .st { color: var(--muted); display: none; }
.runinfo { white-space: nowrap; display: none; }
.tb-actions { margin-left: auto; display: flex; gap: 8px 12px; align-items: center; font-size: 13px; color: var(--muted); flex: none; }
.freq { display: inline-flex; align-items: center; gap: 6px; }
.freq select { font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--ink); }
.langbox { display: inline-flex; align-items: center; gap: 6px; }
.iconbtn { display: inline-flex; align-items: center; gap: 6px; }
.iconbtn.busy svg { animation: spin 1s linear infinite; }
.user { white-space: nowrap; }
@media (min-width: 1680px) { .mpill .st, .runinfo { display: inline; } }
@media (max-width: 1360px) { .xl-only { display: none !important; } }
@media (max-width: 1180px) { .tabs a { padding: 6px 9px; font-size: 13.5px; } .topbar { gap: 8px 12px; } }
@media (max-width: 1100px) { .brand span { display: none; } .mpill .nm { display: none; } .mpill .cd { display: inline; } }

/* piaci sáv */
.mstrip { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 6px var(--gut-r) 6px var(--gut-l); scroll-snap-type: x proximity; scroll-padding: 0 var(--gut-r) 0 var(--gut-l); }
.mstrip::-webkit-scrollbar { height: 6px; }
.mstrip::-webkit-scrollbar-thumb, .tkswitch::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.fade-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.fade-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
@media (pointer: fine) { .mstrip, .tkswitch { scrollbar-width: thin; } }
@media (pointer: coarse) { .mstrip::-webkit-scrollbar, .tkswitch::-webkit-scrollbar { display: none; } }
.mtile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm ch" "px sp"; gap: 0 10px; align-items: center;
  min-width: 148px; flex: 0 0 auto; padding: 5px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.mtile:hover { background: var(--hover); }
.mtile + .mtile { box-shadow: -1px 0 0 var(--soft); }
.mt-nm { grid-area: nm; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-chg { grid-area: ch; font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; }
.mt-px { grid-area: px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.mtile .spark, .mtile .nosp { grid-area: sp; justify-self: end; }

/* elrendezés */
.content { padding: 20px var(--gut-r) 64px var(--gut-l); max-width: var(--maxw); margin: 0 auto; min-width: 0; }
.view { display: grid; gap: 20px; min-width: 0; }
/* egyoszlopos rácsok: a tartalom (pl. vízszintesen görgethető sorok) ne szélesíthesse az oldalt */
.view, .block, .ov-main, .ov-side, #feed, .wl-groups, .wl-tools, .filters, .ai-card, .chart-card, .legend, .themes, .tv-sum, .newuser, .pwform {
  grid-template-columns: minmax(0, 1fr); }
.vtitle { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.block { display: grid; gap: 10px; min-width: 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 28px; }
.block-head h2 { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.block-head .count { color: var(--muted); font-size: 13px; }
.more-link { margin-left: auto; font-size: 13px; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.more-link.solo { justify-self: end; margin: -2px 2px 0; }
.sizesel { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sizesel select { font-size: 13px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--ink); }

/* keresés, javaslatok */
.addrow { position: relative; }
.addico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search { font-size: 14px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink);
  width: 100%; min-width: 0; }
.search.big { font-size: 16px; padding: 11px 12px 11px 38px; border-radius: 10px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 25; list-style: none; margin: 0; padding: 4px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.16);
  max-height: min(420px, 60vh); overflow: auto; }
.suggest li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 10px; padding: 8px 10px; border-radius: 7px; cursor: pointer; align-items: baseline; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--accent-soft); }
.suggest .tk { min-width: 64px; }
.suggest .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .mk { font-size: 12px; color: var(--muted); white-space: nowrap; }
.suggest .sx { grid-column: 2 / -1; color: var(--muted); font-size: 12px; }
.suggest .manual { display: grid; grid-template-columns: 1fr; gap: 8px; cursor: default; }
.suggest .manual:hover { background: none; }
.suggest .manual .sx { grid-column: 1; }
.suggest .manual .row2 { display: flex; gap: 8px; flex-wrap: wrap; }
.suggest .manual input { flex: 1 1 150px; }

/* áttekintés */
.ov-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.ov-main, .ov-side { display: grid; gap: 22px; min-width: 0; }
@media (max-width: 1180px) { .ov-grid { grid-template-columns: minmax(0, 1fr); } }
.stars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.star-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 6px;
  cursor: pointer; text-align: left; width: 100%; color: inherit; min-width: 0; align-content: start; }
.star-card:hover { border-color: var(--accent); }
.sc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: start; }
.sc-id { min-width: 0; }
.sc-id .tk { font-size: 15px; }
.sc-id .nm { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-q { text-align: right; }
.sc-q .px { font-size: 16px; font-weight: 700; display: block; white-space: nowrap; }
.sc-q .chg { font-size: 12.5px; font-weight: 600; }
.star-card .hl { font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
.star-card .t { font-size: 12px; color: var(--muted); }
.digest-card { padding: 18px 22px 20px; min-width: 0; }
.digest-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dh-left { display: grid; gap: 4px; min-width: 0; flex: 1 1 260px; }
.dh-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.digest-mini { font-size: 14px; overflow-wrap: anywhere; }
.digest-head select { font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel);
  color: var(--ink); max-width: 100%; }
.digest-card.collapsed { padding-bottom: 14px; }
.digest-card.collapsed .digest-head { margin-bottom: 0; }
.md { font-size: 15px; overflow-wrap: anywhere; }
.md h3 { font-size: 20px; font-weight: 800; margin: 2px 0 6px; }
.md p { margin: 6px 0; }
.md ul, .md ol { margin: 4px 0 8px; padding-left: 20px; }
.md li { margin: 4px 0; }
.md code { font-family: var(--font-mono); font-size: 0.86em; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.md details.sec { border-top: 1px solid var(--soft); margin-top: 10px; }
.md details.sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); padding: 10px 0 4px; }
.md details.sec > summary::-webkit-details-marker { display: none; }
.md details.sec > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .15s ease; flex: none; display: inline-block; }
.md details.sec[open] > summary::before { transform: rotate(45deg); }
.md details.sec > summary .cnt { font-weight: 600; letter-spacing: 0; text-transform: none; }
a.ref { font-size: 0.8em; font-weight: 700; text-decoration: none; vertical-align: 1px; padding: 0 1px; }
a.ref:hover { text-decoration: underline; }
.plain { list-style: none; margin: 0; padding: 4px 14px; }
.plain > li { padding: 9px 0; border-bottom: 1px solid var(--soft); display: grid; gap: 3px; font-size: 14px; overflow-wrap: anywhere; }
.plain > li:last-child { border-bottom: 0; }
.plain .meta { font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.plain a { color: var(--ink); text-decoration: none; }
.plain a:hover { color: var(--accent); text-decoration: underline; }
.disc-h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.disc-h .nm { font-weight: 600; }
.disc-h .mk { font-size: 12px; color: var(--muted); }
.disc-h .ghost { margin-left: auto; padding: 2px 9px; }
#mktRegion:empty { display: none; }

/* figyelőlista */
.wl-tools { padding: 14px; display: grid; gap: 12px; }
.wl-groups { display: grid; gap: 16px; }
.wlg { overflow: hidden; }
.wlg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.wlg-head h2 { font-size: 15px; font-weight: 800; }
.wlg-head .n { font-size: 13px; color: var(--muted); }
.wlg-head .avg { margin-left: auto; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wlrows { list-style: none; margin: 0; padding: 0; }
.wlrow { display: grid; align-items: center; gap: 0 12px; min-height: 54px; padding: 6px 10px 6px 4px; border-bottom: 1px solid var(--soft); cursor: pointer;
  grid-template-columns: 34px minmax(140px, 1.15fr) 112px 92px 74px 46px minmax(0, 2.2fr) 30px;
  grid-template-areas: "star id px chg sp n top rm"; }
.wlrow:last-child { border-bottom: 0; }
.wlrow:hover { background: var(--hover); }
.wlrow.colhead { min-height: 0; padding-top: 7px; padding-bottom: 7px; cursor: default; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.wlrow.colhead:hover { background: none; }
.wlrow .starbtn { grid-area: star; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 17px; line-height: 1; padding: 8px 6px 8px 8px; }
.wlrow.on .starbtn { color: var(--star); }
.wl-id { grid-area: id; min-width: 0; display: grid; }
.wl-id .l1 { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.wl-id .tk { font-size: 14px; }
.wl-id .mk { font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; line-height: 16px; white-space: nowrap; }
.wl-id .nm { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-px { grid-area: px; text-align: right; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.wl-px .cur { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 3px; }
.wl-chg { grid-area: chg; justify-self: end; font-size: 13px; font-weight: 700; border-radius: 6px; padding: 2px 7px; min-width: 70px; text-align: center; white-space: nowrap; }
.wl-chg.up { background: var(--up-soft); } .wl-chg.down { background: var(--down-soft); } .wl-chg.flat { background: var(--soft); }
.wl-chg:empty { background: none; }
.wl-sp { grid-area: sp; justify-self: center; }
.wl-n { grid-area: n; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.wl-n b { color: var(--ink); }
.wl-top { grid-area: top; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.wl-top .tt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; }
.wl-top time { color: var(--muted); font-size: 12px; white-space: nowrap; flex: none; }
.wl-top .ai { color: var(--muted); font-style: italic; }
.wl-top .lab { flex: none; }
.rmbtn { grid-area: rm; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 6px; border-radius: 6px; opacity: 0; }
.wlrow:hover .rmbtn, .rmbtn:focus-visible, .rmbtn.armed { opacity: 1; }
.rmbtn:hover, .rmbtn.armed { color: var(--down); background: var(--down-soft); }
.rmbtn.armed { font-size: 12px; font-weight: 700; padding: 4px 6px; white-space: nowrap; }
.wlrow.colhead > * { font-size: 11.5px; font-weight: 700; color: var(--muted); background: none; padding-top: 0; padding-bottom: 0; }
.wlrow.colhead .wl-chg { min-width: 0; padding: 0; }
.wlrow.colhead .wl-sp { text-align: center; }
.wl-id a.tk, .disc-h a.tk { color: inherit; text-decoration: none; }
.wl-id a.tk:hover, .disc-h a.tk:hover { color: var(--accent); text-decoration: underline; }
.meta.mt { margin-top: 8px; }

/* papír nézet */
.tkswitch { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-snap-type: x proximity; }
.tkswitch::-webkit-scrollbar { height: 6px; }
.tkchip { flex: none; display: inline-flex; gap: 6px; align-items: baseline; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--ink); text-decoration: none; font-size: 13px; scroll-snap-align: start; white-space: nowrap; }
.tkchip:hover { border-color: var(--accent); }
.tkchip .tk { font-size: 12.5px; }
.tkchip .c { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tkchip.star .tk::before { content: "★ "; color: var(--star); font-family: var(--font-ui); }
.tkchip[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); }
.st-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: end; padding: 16px 20px; }
.st-id { display: grid; gap: 2px; min-width: 0; }
.st-id .row { flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.st-id h1 { font-size: 28px; font-weight: 700; }
.st-id .nm { font-size: 18px; font-weight: 700; }
.st-id .sx { font-size: 13px; color: var(--muted); }
.st-id .themes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.st-id .themes span { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 9px; }
.st-price { text-align: right; display: grid; gap: 2px; justify-items: end; }
.st-price .px { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.st-price .cur { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.st-price .chg { font-size: 15px; font-weight: 700; }
.st-price .asof { font-size: 12.5px; color: var(--muted); }
.st-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--soft); padding-top: 12px; }
.back { font-size: 13px; text-decoration: none; }
.back:hover { text-decoration: underline; }
.chart-card { padding: 10px 12px 12px; display: grid; gap: 8px; }
.chart-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.chart-bar a { font-size: 13px; }
.chart-box { height: 460px; position: relative; min-width: 0; }
.chart-box .tradingview-widget-container { height: 100%; width: 100%; }
.chart-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.bigchart { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.bigchart text { font-family: var(--font-ui); font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.bigchart .grid { stroke: var(--soft); stroke-width: 1; }
.bigchart .base { stroke: var(--muted); stroke-dasharray: 3 3; stroke-width: 1; opacity: .7; }
.bigchart .cross { stroke: var(--muted); stroke-width: 1; }
.chart-tip { position: absolute; top: 6px; left: 10px; font-size: 13px; font-weight: 600; background: var(--panel); padding: 2px 6px; border-radius: 5px; pointer-events: none; }
.ai-card { padding: 14px 18px 16px; display: grid; gap: 10px; }
.card-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.card-head h2 { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tv-sum { display: grid; gap: 6px; }
.tv-sum > div:first-child { font-size: 17px; font-weight: 600; line-height: 1.45; }
.tv-sum ul { margin: 0; padding-left: 20px; }
.tv-sum li { margin: 3px 0; }
.older summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.older .item { border-top: 1px solid var(--soft); padding: 8px 0; display: grid; gap: 4px; font-size: 14px; }
.news-card { overflow: hidden; }
.news-card .card-head { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.news-card .more { margin: 12px auto; }
.toggle { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; cursor: pointer; }
.toggle input { accent-color: var(--accent); }
.st-more { padding: 12px 16px; }
.st-more summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.aliases { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.aliases input { font-size: 13px; padding: 4px 8px; min-width: 220px; flex: 1 1 220px; }

/* események */
.evlist { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.evlist > li.hint { padding: 16px; }
.dayhead { padding: 9px 14px 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  background: var(--soft); border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline; }
.dayhead .n { font-weight: 600; letter-spacing: 0; text-transform: none; }
.dayhead.accent { color: var(--accent); background: var(--accent-soft); }
.ev { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 10px; padding: 11px 14px 11px 12px; border-bottom: 1px solid var(--soft); }
.ev:last-child { border-bottom: 0; }
.ev-time { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; white-space: nowrap; }
.ev-main { display: grid; gap: 4px; min-width: 0; }
.ev-l1 { display: flex; flex-wrap: wrap; gap: 5px 8px; align-items: center; }
.lab { font-size: 12px; font-weight: 700; color: var(--lab, var(--l-egy)); background: color-mix(in srgb, var(--lab, var(--l-egy)) 13%, transparent);
  border-radius: 5px; padding: 0 7px; line-height: 20px; white-space: nowrap; cursor: help; }
.tkbtn { font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; border: 1px solid var(--line); padding: 0 7px; border-radius: 5px;
  background: var(--panel); color: var(--ink); cursor: pointer; line-height: 19px; }
.tkbtn:hover { border-color: var(--accent); }
.tkbtn.star { border-color: color-mix(in srgb, var(--star) 70%, var(--line)); }
.grp { font-size: 12px; color: var(--muted); }
.ev-title { font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.ev-title a { color: var(--ink); text-decoration: none; }
.ev-title a:hover { color: var(--accent); text-decoration: underline; }
.ev-src { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.ev-act { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 2px; }
.ev-act button { border: 0; background: none; padding: 2px 0; color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; }
.ev-act button:hover { text-decoration: underline; }
.ev-act button[aria-expanded="true"] { color: var(--ink); }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .15s ease; display: inline-block; }
[aria-expanded="true"] > .chev { transform: rotate(-135deg) translate(-1px, -1px); }
.explain { border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; padding: 9px 12px; font-size: 14px;
  display: grid; gap: 4px; }
.explain p { margin: 0; }
.ev-det { display: grid; gap: 6px; font-size: 13.5px; padding: 4px 0 2px; }
.ev-det .why { margin: 0; padding-left: 18px; color: var(--muted); }
.ev-det .arts { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.ev-det .arts li { display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: baseline; }
.ev-det .arts a { overflow-wrap: anywhere; }
.ev-det .arts .meta { font-size: 12px; }
.ev .snip { color: var(--muted); font-size: 13.5px; margin: 0; overflow-wrap: anywhere; }
.tier { font-family: var(--font-mono); font-size: 11px; font-weight: 600; border-radius: 4px; padding: 0 4px; color: var(--panel);
  background: var(--t, var(--t-e)); line-height: 16px; cursor: help; }
.tier.A { --t: var(--t-a); } .tier.B { --t: var(--t-b); } .tier.C { --t: var(--t-c); } .tier.D { --t: var(--t-d); } .tier.E { --t: var(--t-e); }
.L-hivatalos { --lab: var(--l-hiv); } .L-kozlemeny { --lab: var(--l-koz); } .L-megerositett { --lab: var(--l-meg); }
.L-egy_forras { --lab: var(--l-egy); } .L-ertesules { --lab: var(--l-ert); } .L-elemzo { --lab: var(--l-ele); }
.L-velemeny { --lab: var(--l-vel); } .L-ugyved { --lab: var(--l-ugy); } .L-egyeb { --lab: var(--l-egyeb); }
.ev.noise .ev-title { font-weight: 500; color: var(--muted); }
.more { justify-self: center; display: block; margin: 0 auto; font-size: 14px; padding: 8px 16px; border-radius: 7px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); cursor: pointer; }
.more:hover { border-color: var(--accent); }
.gen { margin: 0; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.gen.err { color: var(--down); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent);
  animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* hírfolyam */
.filters { display: grid; gap: 10px; padding: 14px; }
.frow { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.frow.astart { align-items: flex-start; }
.frow.astart > .flabel { padding-top: 4px; }
.flabel { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); min-width: 88px; }
.frow .search { flex: 1 1 240px; width: auto; }
.frow-more > summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: baseline; }
.frow-more > summary::-webkit-details-marker { display: none; }
.frow-more > summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); margin-left: 2px; position: relative; top: -2px; }
.frow-more[open] > summary::after { transform: rotate(-135deg); top: 1px; }
.frow-more > .chips { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px 8px; flex: 1 1 300px; min-width: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; flex-wrap: wrap; background: var(--panel); }
.seg button { font-size: 13px; padding: 5px 11px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
.seg.small button { font-size: 12px; padding: 3px 9px; }
.narrow-sel { display: none; font-size: 16px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); max-width: 100%; }
.morefilt > summary { display: none; }
.mf-body { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.chip { font-size: 13px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.chip .n { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lab); }
#feed { display: grid; gap: 16px; }
.fgroup { overflow: hidden; }
.fg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.fg-head h2 { font-size: 15px; font-weight: 800; }
.fg-head .n { font-size: 13px; color: var(--muted); }
.fg-head .link { margin-left: auto; font-size: 13px; font-weight: 600; text-decoration: none; }
.fg-head .link:hover { text-decoration: underline; }
.selgrp { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 14px; border-radius: var(--radius);
  background: var(--accent-soft); font-size: 14px; }
.selgrp strong { font-weight: 800; }

/* beállítások, admin */
.sys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: start; }
.sys-grid h2, .legend h2, #v-admin .card h2 { font-size: 16px; font-weight: 800; }
.sys-grid h2 { margin-bottom: 8px; }
.setrow { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid var(--soft); }
.setrow:last-child { border-bottom: 0; }
.setrow > div:first-child { flex: 1 1 220px; }
.setrow p.meta { margin-top: 2px; }
.pwform { display: grid; gap: 10px; padding: 10px 0 14px; border-bottom: 1px solid var(--soft); }
.pwform label, .newuser label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pwform input, .newuser input { width: 100%; }
.newuser input[type="checkbox"] { width: auto; }
.newuser label.toggle { display: inline-flex; align-self: end; padding-bottom: 8px; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--soft); vertical-align: middle; }
th { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
td .bad { color: var(--down); font-weight: 600; }
.card-head + .tablewrap { margin-top: 8px; }
.utable td.acts { text-align: right; white-space: nowrap; }
.utable td.acts .ghost { margin-left: 6px; padding: 3px 9px; font-size: 12.5px; }
.utable .me { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 0 7px; margin-left: 6px; }
.utable .role { font-size: 12px; font-weight: 700; border-radius: 5px; padding: 1px 7px; background: var(--soft); white-space: nowrap; }
.utable .role.admin { color: var(--accent); background: var(--accent-soft); }
.utable tr.sub td { background: var(--hover); }
.utable tr.sub .row { flex-wrap: wrap; }
.utable tr.sub input { flex: 1 1 220px; max-width: 320px; }
.newuser { display: grid; gap: 10px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; }
.newuser h3 { font-size: 14px; font-weight: 800; }
.nu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px 14px; align-items: start; }
.nu-grid .row input { flex: 1 1 auto; }
.nu-grid select { font-size: 14px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.cred { font-family: var(--font-mono); font-weight: 600; color: var(--ink); background: var(--soft); border-radius: 5px; padding: 1px 6px; user-select: all; }
.themes { display: grid; gap: 10px; margin: 12px 0; }
.theme { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) auto; gap: 6px 10px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--soft); border-radius: 8px; }
.theme .info { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.theme .btns { display: flex; gap: 6px; }
#newTheme input { flex: 1 1 200px; }
.legend { display: grid; gap: 10px; }
.legend dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0; font-size: 14px; align-items: baseline; }
.legend dd { margin: 0; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--panel);
  padding: 9px 16px; border-radius: 9px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100vw - 32px); }

/* alsó navigáció (mobil) */
.bottomnav { display: none; }

/* keskenyebb képernyők */
@media (max-width: 1180px) {
  .wide-only { display: none !important; }
  .wlrow { grid-template-columns: 34px minmax(130px, 1fr) 104px 88px 64px 40px minmax(0, 1.6fr) 30px; gap: 0 10px; }
}
@media (max-width: 900px) {
  :root { --tb-h: 52px; }
  .tabs { display: none; }
  .tb-status { gap: 4px 9px; }
  .search, .aliases input, .pwform input, .newuser input, .nu-grid select, .theme input, #newTheme input, .utable tr.sub input,
  .suggest .manual input, .sizesel select, #wlSort select { font-size: 16px; }
  .iconbtn .lbl { display: none; }
  .iconbtn { padding: 7px 9px; }
  .bottomnav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: color-mix(in srgb, var(--panel) 94%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--line);
    padding: 4px max(6px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); }
  .bottomnav a { display: grid; justify-items: center; gap: 1px; padding: 6px 2px 4px; color: var(--muted); text-decoration: none; font-size: 11px;
    font-weight: 600; border-radius: 10px; min-width: 0; -webkit-tap-highlight-color: transparent; }
  .bottomnav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bottomnav svg { width: 23px; height: 23px; }
  .bottomnav a[aria-current="page"] { color: var(--accent); }
  .bottomnav a[aria-current="page"] svg { background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; width: 45px; box-sizing: content-box; margin: -2px -10px; }
  .content { padding: 16px var(--gut-r) calc(88px + env(safe-area-inset-bottom, 0px)) var(--gut-l); }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .view { gap: 16px; }
  .chart-box { height: 360px; }
  .st-head { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 14px 16px; }
  .st-price { text-align: left; justify-items: start; }
  .st-id h1 { font-size: 24px; }
  .st-price .px { font-size: 26px; }
  .wlrow { grid-template-columns: 30px minmax(0, 1fr) auto auto; grid-template-areas: "star id px chg" "star top top top";
    gap: 2px 10px; padding: 9px 12px 9px 2px; min-height: 0; }
  .wlrow.colhead, .wl-sp, .wl-n, .rmbtn { display: none; }
  .wlrow .starbtn { align-self: start; padding: 4px 6px 4px 8px; }
  .wl-top { font-size: 13px; color: var(--muted); }
  .wl-top.none { display: none; }
  .wl-top .lab { font-size: 11px; line-height: 18px; padding: 0 6px; }
  .wl-chg { min-width: 66px; }
}
@media (max-width: 560px) {
  .vtitle { font-size: 21px; }
  .flabel { min-width: 100%; }
  .wide-seg { display: none !important; }
  .narrow-sel { display: inline-block; }
  /* hírfolyam-szűrők: kereső, alatta egy sorban a választók; a többi a „Szűrők” alatt */
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
  .filters > .frow.top { display: contents; }
  .filters > .frow.top > .flabel, .filters .sp { display: none; }
  .filters #q { grid-row: 1; grid-column: 1 / -1; }
  .filters #hoursBox { grid-row: 2; grid-column: 1; min-width: 0; }
  .filters #grpSeg { grid-row: 2; grid-column: 2; min-width: 0; }
  .filters #feedSize { grid-row: 3; grid-column: 1 / -1; }
  .filters #hoursBox select, .filters #grpSeg select { width: 100%; }
  .filters #grpRow, .filters #moreFilt { grid-column: 1 / -1; min-width: 0; }
  .morefilt > summary { display: flex; align-items: baseline; gap: 8px; cursor: pointer; list-style: none; padding: 4px 0; }
  .morefilt > summary::-webkit-details-marker { display: none; }
  .morefilt > summary .flabel { min-width: 0; }
  .morefilt > summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); position: relative; top: -2px; }
  .morefilt[open] > summary::after { transform: rotate(-135deg); top: 1px; }
  .morefilt[open] > .mf-body { margin-top: 8px; }
  /* figyelőlista-eszközök: a két választó egy sorban */
  .wl-tools .flabel { display: none; }
  .wl-tools .frow { flex-wrap: nowrap; }
  #wlGroup, #wlSort { flex: 1 1 0; min-width: 0; }
  #wlGroup select, #wlSort select { width: 100%; }
  /* felhasználók: kártyák táblázat helyett */
  .utable thead { display: none; }
  .utable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--soft); }
  .utable td { border: 0; padding: 0; }
  .utable td.n::after { content: " papír"; color: var(--muted); }
  .utable td.acts { grid-column: 1 / -1; text-align: left; white-space: normal; display: flex; flex-wrap: wrap; gap: 6px; }
  .utable td.acts .ghost { margin: 0; }
  .utable tr.sub { display: block; }
  .frow.astart > .flabel { padding-top: 0; }
  .frow-more > summary { flex-wrap: wrap; }
  .frow-more > summary .flabel { min-width: 0; }
  .filters .chips, .tkswitch { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex-basis: 100%; padding-bottom: 2px; }
  .filters .chips::-webkit-scrollbar { display: none; }
  .legend dl { grid-template-columns: 1fr; gap: 2px; }
  .legend dd { margin-bottom: 6px; }
  .digest-card { padding: 16px; }
  .card.pad { padding: 14px; }
  .ev { grid-template-columns: 44px minmax(0, 1fr); gap: 0 8px; padding: 10px 12px 10px 10px; }
  .ev-time { font-size: 12px; }
  .ev-title { font-size: 14.5px; }
  .chart-box { height: 300px; }
  .stars { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(78%, 1fr); overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin: 0 calc(-1 * var(--gut-r)) 0 calc(-1 * var(--gut-l)); padding: 0 var(--gut-r) 2px var(--gut-l);
    scroll-padding: 0 var(--gut-l); }
  .stars::-webkit-scrollbar { display: none; }
  .stars .star-card { scroll-snap-align: start; }
  .stars .empty { grid-column: 1; }
  .theme { grid-template-columns: minmax(0, 1fr); }
  .mtile { min-width: 136px; }
  .tb-status { gap: 4px 7px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .md details.sec > summary::before, .chev { transition: none; }
  .spin, .iconbtn.busy svg { animation-duration: 2.4s; }
}


/* NewsWatch 3.6: marketlune.ai branding */

