

.pw { max-width: 760px; margin: 0 auto; padding: 24px 16px 0; }
.pw-wide { max-width: 1040px; }

.post-head { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 26px; }
.post-head h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 14px; }
.post-byline { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.post-byline a { color: var(--text); text-decoration: none; font-weight: 600; }
.post-byline a:hover { color: var(--accent); }
.post-byline .dot { opacity: .5; }

.post-body { font-size: 1.06rem; line-height: 1.75; }
.post-body > * + * { margin-top: 1.15em; }
.post-body h2 { font-size: 1.4rem; margin-top: 2em; }
.post-body h3 { font-size: 1.15rem; margin-top: 1.7em; }
.post-body a { color: var(--accent); }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.post-body blockquote {
  margin-left: 0; padding: 2px 0 2px 16px;
  border-left: 3px solid var(--border); color: var(--muted);
}
.post-body pre {
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px; overflow-x: auto; font-size: .9rem;
}
.post-body code { background: var(--panel-2); padding: 1px 5px; border-radius: 4px; font-size: .92em; }

.post-body .mk-up { color: var(--green); font-weight: 700; }
.post-body .mk-down { color: var(--danger); font-weight: 700; }

.te-sig-list, .post-body .mk-signals { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 3px; }
.te-sig-list li, .post-body .mk-signals li { font-size: .96rem;
  display: flex; align-items: baseline; gap: 8px; }
.post-body .mk-signals { margin: 6px 0; }
.post-body .mk-signals li { font-size: .96em; }

.te-sig-list li::before, .post-body .mk-signals li::before {
  content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%;
  transform: translateY(-1px); background: var(--green); }

.te-sig-dn li::before, .post-body .mk-sig-dn li::before { background: var(--danger); }

.te-sig-neutral li::before, .post-body .mk-sig-neutral li::before { background: #c7ccd1; }

.te-signals { margin: 4px 0 2px; }
.te-sig-count { display: block; font-size: .78rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .3px;
  margin: 0 0 4px; }

.te-coname { font-size: .82rem; color: var(--muted); margin: 1px 0 0; }

.te-chart-wrap { position: relative; margin: 4px 0 2px; border-radius: 10px;
  overflow: hidden; border: 1px solid var(--border); background: var(--panel-2); }
.te-chart-bg { display: block; width: 100%; height: auto; }

.te-catalyst { font-size: .96rem; font-weight: 700; color: var(--text);
  margin: 4px 0 2px; }

.te-scores { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 6px;
  font-size: .78rem; color: var(--muted); text-decoration: none;
  position: relative; z-index: 2; width: fit-content; border-radius: 8px;
  transition: background-color .12s ease; }
.te-scores:hover { background: var(--panel-3); text-decoration: none; color: var(--muted); }
.te-sc-item { display: inline-flex; align-items: center; gap: 6px; }
.te-sc-circle { display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; font-size: .74rem; font-weight: 800;
  font-variant-numeric: tabular-nums; color: #0c0c0c; flex: none; }
.te-sc-hi  { background: var(--green); }
.te-sc-mid { background: #e0b33a; }
.te-sc-lo  { background: var(--danger); color: #fff; }

.te-sc-overall { width: 34px; height: 34px; font-size: 1rem;
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px currentColor; }
.te-sc-item:has(.te-sc-overall) { font-weight: 800; color: var(--text); font-size: .86rem; }
.post-body pre code { background: none; padding: 0; }
.post-body table { width: 100%; }

.post-tickers { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); }
.post-tickers .lbl { color: var(--muted); font-size: .85rem; align-self: center; }
.tchip {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: .85rem; font-weight: 600;
}
.tchip:hover { border-color: var(--accent); color: var(--accent); }

.post-finds { display: flex; flex-direction: column; gap: 8px; margin-top: 18px;
  padding-top: 18px; border-top: 1px solid var(--border); }

.post-finds-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.post-finds-badge { display: inline-flex; align-items: center;
  gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  color: var(--text); font-size: .95rem; font-weight: 700; text-decoration: none; }
.post-finds-badge:hover { border-color: var(--accent); text-decoration: none; }
.post-finds .hint { color: var(--muted); font-size: .85rem; font-weight: 400; opacity: .8; }
.post-finds .find-link { font-size: .95rem; }
.find-link { color: var(--accent); font-size: .82rem; word-break: break-all;
  text-decoration: none; }
.find-link:hover { text-decoration: underline; }

.if-list { display: flex; flex-direction: column; gap: 14px; }
.if-row { display: flex; }

.if-card { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column;
  gap: 0; border: 1px solid var(--border); border-radius: 12px;
  background: var(--panel); overflow: hidden; }
.if-card .find-link { padding: 12px 14px 8px; }
.if-receipt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; background: var(--panel-2); text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background .13s ease; }
.if-receipt:hover { background: color-mix(in srgb, var(--accent) 6%, var(--panel-2)); text-decoration: none; }
.if-ticker { font-weight: 700; font-size: .86rem; color: var(--text); white-space: nowrap; }

.if-mark { width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.if-h-mark { width: 26px; height: 26px; border-radius: 6px; vertical-align: -5px; margin-right: 1px; }
.if-ticker.te-long { color: #4ade80; }
.if-ticker.te-short { color: #ff6b6b; }

.if-ticker.te-neutral { color: #c7ccd1; }
.if-perf.te-neutral { color: #c7ccd1; }

.if-perf { font-weight: 700; font-size: .82rem; margin-left: 8px; white-space: nowrap; }
.if-perf.te-long { color: #4ade80; }
.if-perf.te-short { color: #ff6b6b; }
.if-receipt-meta { color: var(--muted); font-size: .76rem; flex: 1 1 auto; min-width: 0; }
.if-view { color: var(--accent); font-size: .78rem; font-weight: 600; white-space: nowrap; }

.post-card { padding: 20px 0; border-bottom: 1px solid var(--border); }
.post-card h2 { margin: 0 0 6px; font-size: 1.25rem; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card .ex { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0 0 8px; }
.post-card .meta { font-size: .82rem; color: var(--muted); }

.prof-head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.prof-head h1 { margin: 0 0 6px; font-size: 1.6rem; }
.prof-bio { color: var(--text); line-height: 1.65; margin: 8px 0 10px; }
.prof-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
.prof-links a { color: var(--accent); text-decoration: none; }
.prof-links a:hover { text-decoration: underline; }

.pform label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: .92rem; }
.pform .hint { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 6px; }
.pform input[type=text], .pform input[type=url], .pform textarea {
  width: 100%; background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
  font-size: 1rem; font-family: inherit;
}
.pform textarea { min-height: 380px; line-height: 1.6; resize: vertical; }
.pform input:focus, .pform textarea:focus { outline: none; border-color: var(--accent); }

.post-as-field { max-width: 280px; }
.cmi .post-as-field { max-width: 220px; margin: 0 0 10px; }
.cmi .post-as-field label { display: block; font-weight: 600; margin: 0 0 4px; font-size: .8rem; }
.cmi .post-as-field .hint { font-weight: 400; color: var(--muted); font-size: .74rem; }
.cmi .post-as-field input[type=text] {
  width: 100%; background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px;
  font-size: .88rem; font-family: inherit;
}
.cmi .post-as-field input:focus { outline: none; border-color: var(--accent); }
.pform .btn {
  margin-top: 22px; background: var(--accent); color: #fff; border: 0;
  border-radius: 8px; padding: 11px 22px; font-size: 1rem; font-weight: 600; cursor: pointer;
}
.pform .btn:hover { background: var(--accent-d); }

.q-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.q-row .grow { flex: 1; min-width: 0; }
.q-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.q-row h3 a { color: var(--text); text-decoration: none; }
.q-actions { display: flex; gap: 8px; flex-shrink: 0; }
.q-actions button {
  border: 1px solid var(--border); background: var(--panel-2); color: var(--text);
  border-radius: 6px; padding: 6px 12px; font-size: .85rem; cursor: pointer;
}
.q-actions .ok:hover { border-color: var(--green); color: var(--green); }
.q-actions .no:hover { border-color: var(--danger); color: var(--danger); }
.q-empty { color: var(--muted); padding: 18px 0; }
.q-sec { margin-top: 34px; }
.q-sec > h2 { font-size: 1.1rem; border-bottom: 1px solid var(--border); padding-bottom: 10px; }

@media (max-width: 600px) {
  .post-head h1 { font-size: 1.5rem; }
  .post-body { font-size: 1rem; }
  .q-row { flex-direction: column; }
}

.prof-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.prof-count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

.prof-count-note { display: block; font-size: .72rem; opacity: .7; text-align: right; }
.follow-btn { cursor: pointer; font-family: inherit; }
.follow-btn.is-on { border-color: var(--accent); color: var(--accent); }
.follow-btn.is-on:hover { border-color: var(--danger); color: var(--danger); }

.pf { margin-top: 0; }

.pf-head { display: flex; align-items: center; gap: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border); }

.pf-av { width: 64px; height: 64px; border-radius: 13px; flex-shrink: 0;
  background: hsl(var(--pf-hue) 32% 30%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.pf-id { min-width: 0; flex: 1; }
.pf-name { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em;
  line-height: 1.2; }
.pf-at { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.pf-act { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.pf-btn { display: inline-block; padding: 6px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--panel); color: var(--text);
  font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer;
  font-family: inherit; white-space: nowrap; }
.pf-btn:hover { border-color: var(--muted); text-decoration: none; color: var(--text); }
.pf-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.pf-btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }

.pf-btn-follow { background: #fff; border-color: #fff; color: #0b0e13; }
.pf-btn-follow:hover { background: #e3e7ec; border-color: #e3e7ec; color: #0b0e13; }
.pf-btn-on { background: #000; border-color: #343a42; color: #e6e9ee; }
.pf-btn-on:hover { background: #000; border-color: var(--danger); color: var(--danger); }

.pf-bio { margin: 16px 0 0; line-height: 1.65; font-size: .97rem; max-width: 62ch; }

.pf-claim { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px;
  max-width: 62ch; font-size: .9rem; line-height: 1.55;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); }
.pf-claim-text { margin-top: 8px; padding: 8px 12px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82rem; color: var(--text); }

.pf-meta { display: flex; flex-wrap: wrap; gap: 0; margin: 10px 0 0;
  font-size: .92rem; }
.pf-m { display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); text-decoration: none; font-weight: 600; }
.pf-m svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .8; }
.pf-m:hover { text-decoration: underline; }
.pf-m:not(:last-child)::after { content: " \00b7 "; color: var(--muted);
  font-weight: 400; text-decoration: none; display: inline-block; }

.pf-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 10px 0 0; font-size: .86rem;
  color: var(--muted); font-variant-numeric: tabular-nums; }
.pf-stats b { color: var(--text); font-weight: 700; }
.pf-stat:not(:last-child)::after { content: " \00b7 "; }

.pf-nft { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; }
.pf-nft img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover;
  border: 1px solid var(--border); }
.pf-nft-label { font-size: .86rem; font-weight: 700; color: var(--text); }

.pf-sec { margin: 28px 0 0; padding-bottom: 10px; font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); border-bottom: 1px solid var(--border); }

.pf-post { padding: 16px 0; border-bottom: 1px solid var(--border); }
.pf-post h2 { margin: 0 0 5px; font-size: 1.08rem; font-weight: 700; }
.pf-post h2 a { color: var(--text); text-decoration: none; }
.pf-post h2 a:hover { color: var(--accent); }
.pf-ex { margin: 0 0 7px; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.pf-pmeta { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pf-badge { border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.pf-empty { padding: 26px 0; color: var(--muted); font-size: .93rem; }

.pf-empty a:not(.pf-post-btn) { color: var(--accent); }

@media (max-width: 600px) {
  .pf-head { flex-wrap: wrap; gap: 14px; }
  .pf-act { width: 100%; }
  .pf-name { font-size: 1.15rem; }
  
}

.prof-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.prof-count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

.prof-count-note { display: block; font-size: .72rem; opacity: .7; text-align: right; }
.follow-btn { cursor: pointer; font-family: inherit; }
.follow-btn.is-on { border-color: var(--accent); color: var(--accent); }
.follow-btn.is-on:hover { border-color: var(--danger); color: var(--danger); }

.pf-dom { color: var(--muted); opacity: .7; font-size: .78rem; }

.lnk-row { display: flex; gap: 8px; margin-bottom: 8px; }
.lnk-row .lnk-label { flex: 0 0 34%; }
.lnk-row .lnk-url { flex: 1; min-width: 0; }
.lnk-help { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.lnk-help summary { cursor: pointer; color: var(--accent); }
.lnk-groups { margin-top: 10px; display: grid; gap: 7px; }
.lnk-groups b { color: var(--text); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .05em; display: block; }
.lnk-groups span { font-size: .84rem; line-height: 1.5; }
.lnk-groups p { margin: 6px 0 0; font-size: .82rem; }
@media (max-width: 600px) { .lnk-row { flex-direction: column; } .lnk-row .lnk-label { flex: none; } }

.lnk-row.is-bad input { border-color: var(--danger); }
.lnk-bad { margin: -2px 0 10px; font-size: .84rem; color: var(--danger); }
.lnk-open { background: none; border: 0; padding: 0; font: inherit;
  color: var(--accent); text-decoration: underline; cursor: pointer; }
.lnk-help { margin-top: 10px; font-size: .85rem; }

.lnk-modal { border: 1px solid var(--border); border-radius: 12px; padding: 0;
  background: var(--panel); color: var(--text); max-width: 560px; width: calc(100% - 32px);
  box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.lnk-modal::backdrop { background: rgba(0,0,0,.6); }
.lnk-modal-head { display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border); }
.lnk-x { background: none; border: 0; color: var(--muted); font-size: 1.5rem;
  line-height: 1; cursor: pointer; padding: 0 4px; }
.lnk-x:hover { color: var(--text); }
.lnk-modal-body { padding: 14px 16px 18px; max-height: 62vh; overflow-y: auto; }
.lnk-group { margin-bottom: 12px; }
.lnk-group b { display: block; font-size: .74rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); margin-bottom: 3px; }
.lnk-group span { font-size: .85rem; line-height: 1.6; word-break: break-word; }
.lnk-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--muted); }
.lnk-note code { background: var(--panel-2); padding: 1px 5px; border-radius: 4px; }

.by-author { display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text); }
.by-author:hover { text-decoration: none; }
.by-author:hover .by-name { color: var(--accent); }
.by-av { width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  background: hsl(var(--pf-hue) 32% 30%); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; }
.by-name { font-weight: 600; color: var(--text); }
.by-at { color: var(--muted); font-size: .85rem; }

.by { display: flex; align-items: center; gap: 11px; }
.by-av { width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0;
  background: hsl(var(--pf-hue) 32% 30%); color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 700; }
.by-av:hover { text-decoration: none; color: #fff; }
.by-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: .9rem; color: var(--muted); }
.by-name { font-weight: 700; font-size: .98rem; color: var(--text); text-decoration: none; }
.by-name:hover { color: var(--accent); text-decoration: none; }
.by-at { color: var(--muted); }

.au { margin-top: 34px; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; background: var(--panel); }
.au-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 12px; }
.au-row { display: flex; align-items: flex-start; gap: 13px; }
.au-av { width: 44px; height: 44px; border-radius: 9px; flex-shrink: 0;
  background: hsl(var(--pf-hue) 32% 30%); color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 700; }
.au-av:hover { text-decoration: none; color: #fff; }
.au-main { flex: 1; min-width: 0; }
.au-name { font-weight: 700; color: var(--text); text-decoration: none; }
.au-name:hover { color: var(--accent); text-decoration: none; }
.au-at { color: var(--muted); font-size: .85rem; margin-left: 7px; }
.au-bio { margin: 6px 0 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.au-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 9px; font-size: .86rem; }
.au-links a { color: var(--accent); text-decoration: none; }
.au-links a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .au-row { flex-wrap: wrap; }
  .au-row > .pf-btn { width: 100%; text-align: center; }
}

.cm { margin-top: 34px; }
.cm-h { font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); padding-bottom: 10px;
  border-bottom: 1px solid var(--border); margin: 0 0 4px; }
.cm-item { display: flex; gap: 11px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.cm-av { width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0;
  background: hsl(var(--pf-hue) 32% 30%); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; }
.cm-main { flex: 1; min-width: 0; }
.cm-top { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--muted); }
.cm-name { font-weight: 700; color: var(--text); text-decoration: none; font-size: .9rem; }
.cm-name:hover { color: var(--accent); text-decoration: none; }
.cm-del { margin-left: auto; }
.cm-del button { background: none; border: 0; color: var(--muted); font-size: .78rem;
  cursor: pointer; padding: 0; font-family: inherit; }
.cm-del button:hover { color: var(--danger); }
.cm-body { margin-top: 5px; font-size: .94rem; line-height: 1.6; }
.cm-body p { margin: 0 0 8px; }
.cm-body p:last-child { margin-bottom: 0; }
.cm-body a { color: var(--accent); }

.cm-stats { display: flex; gap: 12px; margin-top: 4px;
  font-size: .72rem; font-weight: 600; color: var(--muted); }
.cm-empty { padding: 18px 0; color: var(--muted); font-size: .92rem; }
.cm-empty a { color: var(--accent); }
.cm-form { margin-top: 18px; }
.cm-form textarea { width: 100%; box-sizing: border-box; background: var(--panel);
  color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; font-size: .95rem; font-family: inherit; line-height: 1.55;
  resize: vertical; }
.cm-form textarea:focus { outline: none; border-color: var(--accent); }
.cm-form .btn { margin-top: 10px; background: var(--accent); color: #fff; border: 0;
  border-radius: 8px; padding: 9px 20px; font-size: .92rem; font-weight: 600; cursor: pointer; }
.cm-form .btn:hover { background: var(--accent-d); }

.ms-form { display: flex; gap: 8px; margin-bottom: 8px; }
.ms-form input { flex: 1; min-width: 0; background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
  font-size: 1rem; font-family: inherit; }
.ms-form input:focus { outline: none; border-color: var(--accent); }
.ms-form .btn { background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: 0 20px; font-size: .93rem; font-weight: 600; cursor: pointer; }
.ms-form .btn:hover { background: var(--accent-d); }
.ms-empty { padding: 22px 0; color: var(--muted); font-size: .93rem; }
.ms-list { margin-top: 10px; }
.ms-row { display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.ms-row:hover { text-decoration: none; }
.ms-row:hover .ms-name { color: var(--accent); }
.ms-av { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: hsl(var(--pf-hue) 32% 30%); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; }
.ms-main { flex: 1; min-width: 0; display: block; }
.ms-name { font-weight: 700; font-size: .96rem; }
.ms-at { color: var(--muted); font-size: .85rem; margin-left: 7px; }
.ms-bio { display: block; color: var(--muted); font-size: .86rem; line-height: 1.5;
  margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ms-count { color: var(--text); font-size: .82rem; flex-shrink: 0;
  font-variant-numeric: tabular-nums; display: flex; flex-direction: column;
  align-items: flex-end; gap: 3px; text-align: right; width: 96px; }
.ms-count b { font-weight: 700; }

.ms-vc { font-size: .82rem; color: var(--text); white-space: nowrap; }
@media (max-width: 600px) { .ms-count { width: auto; } }
@media (max-width: 600px) { .ms-bio { white-space: normal; } }

.nt-row { display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--border); font-size: .93rem;
  position: relative; }
.nt-row:hover { background: var(--panel-2); }

.nt-open { position: absolute; inset: 0 -10px 1px; z-index: 1; }
.nt-main a { position: relative; z-index: 2; }
.nt-row.is-new { box-shadow: inset 3px 0 0 0 var(--accent); padding-left: 11px; }
.nt-av { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: hsl(var(--pf-hue) 32% 30%); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 700; }
.nt-main { flex: 1; min-width: 0; }
.nt-main a { color: var(--text); font-weight: 600; text-decoration: none; }
.nt-main a:hover { color: var(--accent); text-decoration: underline; }
.nt-main a:hover { color: var(--accent); }
.nt-when { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.nav-badge { display: inline-block; min-width: 17px; padding: 0 5px; margin-left: 5px;
  border-radius: 999px; background: var(--danger, #e0576a); color: #fff;
  font-size: .68rem; font-weight: 800; text-align: center; line-height: 17px; }
.pf-stat { color: var(--muted); text-decoration: none; }
.pf-stat:hover { color: var(--accent); text-decoration: none; }
.pf-stat:hover b { color: var(--accent); }

.ms-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
  text-decoration: none; color: var(--text); }
.ms-link:hover { text-decoration: none; }
.ms-link:hover .ms-name { color: var(--accent); }

.ms-act { flex-shrink: 0; margin-left: 14px; width: 92px; }
.ms-act .pf-btn { width: 100%; }

.ms-act .pf-btn-on { border-color: var(--accent); color: var(--accent); }
.ms-act .pf-btn-on:hover { border-color: var(--danger); color: var(--danger); }
@media (max-width: 600px) {
  .ms-row { flex-wrap: wrap; }
  .ms-act { margin-left: 0; margin-top: 8px; width: 100%; }
  .ms-act .pf-btn { width: 100%; }
}

.cf-modal { max-width: 420px; }
.cf-text { margin: 0 0 16px; font-size: .95rem; line-height: 1.6; }
.cf-text b { color: var(--text); }
.cf-acts { display: flex; gap: 8px; justify-content: flex-end; }
.cf-go { border-color: var(--danger); color: var(--danger); }
.cf-go:hover { background: var(--danger); border-color: var(--danger); color: #fff; }

.pf-empty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.pf-post-btn { display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 999px; border: 0;
  background: var(--accent); color: #fff;
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; font-family: inherit;
  white-space: nowrap; line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: background .12s ease; }
.pf-post-btn:hover { background: var(--accent-d); color: #fff; text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.pf-post-btn:active { transform: translateY(1px); }
.pf-post-btn svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 600px) {
  .pf-post-btn { padding: 10px 20px; font-size: .95rem; }
}

.pd-own { display: flex; gap: 8px; margin-top: 26px; }
.cf-danger { border-color: var(--danger); color: var(--danger); }
.cf-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.cm-del { margin-left: auto; display: inline-flex; gap: 10px; align-items: center; }
.cm-lnk { background: none; border: 0; padding: 0; font: inherit; font-size: .78rem;
  color: var(--muted); cursor: pointer; }
.cm-lnk:hover { color: var(--text); }
.cm-danger:hover { color: var(--danger); }
.cm-ed { color: var(--muted); font-size: .76rem; font-style: italic; }
.cm-editform { margin-top: 7px; }
.cm-editform textarea { width: 100%; box-sizing: border-box; background: var(--panel);
  color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 11px; font-size: .93rem; font-family: inherit; line-height: 1.55; }
.cm-editform textarea:focus { outline: none; border-color: var(--accent); }
.cm-editacts { display: flex; gap: 8px; margin-top: 8px; }
.cm-editacts .btn { background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: 7px 16px; font-size: .88rem; font-weight: 600; cursor: pointer; }

.ed-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 22px 0 10px; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--panel); }
.ed-bar-lbl { font-size: .85rem; font-weight: 600; color: var(--muted); }
.ed-bar input, .ed-bar select { background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 7px; padding: 6px 9px;
  font-size: .88rem; font-family: inherit; }

.ed .ed-bar input[type=text] { width: 96px; text-transform: uppercase; flex: none; }
.ed-bar input:focus, .ed-bar select:focus { outline: none; border-color: var(--accent); }
.ed-count { margin-left: auto; font-size: .8rem; color: var(--muted);
  font-variant-numeric: tabular-nums; }
.ed-count.over { color: var(--danger); font-weight: 700; }

.ed-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ed-pane { display: flex; flex-direction: column; min-width: 0; }
.ed-pane-h { font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.ed .ed-split textarea { min-height: 460px; margin: 0; }
.ed-prev { min-height: 460px; max-height: 70vh; overflow-y: auto;
  border: 1px solid var(--border); border-radius: 8px; background: var(--panel);
  padding: 18px 20px; font-size: 1.02rem; line-height: 1.72; }
.ed-prev > *:first-child { margin-top: 0; }
.ed-prev img { max-width: 100%; height: auto; border-radius: 8px; display: block;
  margin: 16px 0; }
.ed-hint { color: var(--muted); font-style: italic; }
@media (max-width: 800px) {
  .ed-split { grid-template-columns: 1fr; }
  .ed .ed-split textarea, .ed-prev { min-height: 260px; }
}

:root {
  
  --te-long:  #2ae84f;
  --te-short: #ff5959;
  
  --te-ended: #ffdd44;
  
  --te-neutral: #98a2ad;
}

.te-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin: 4px 0 2px;
}
.te-f { display: flex; flex-direction: column; }
.te-f label { margin: 0 0 6px; }
.te-f-sym   { flex: 0 1 190px; }
.te-f-entry { flex: 0 1 190px; }
.te-f-dir   { flex: 0 0 auto; }
.te-row input[type=text] {
  width: 100%; background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 12px; font-size: 1.05rem; font-weight: 600;
  letter-spacing: .02em;
}
.te-f-sym input   { text-transform: uppercase; }
.te-f-entry input { font-variant-numeric: tabular-nums; }
.te-row input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 155, 224, .18);
}

.te-seg { display: flex; }
.te-seg input { position: absolute; opacity: 0; pointer-events: none; }
.te-seg label {
  margin: 0; cursor: pointer; user-select: none;
  padding: 11px 20px; font-size: 1.05rem; font-weight: 600;
  background: var(--panel); color: var(--muted);
  border: 1px solid var(--border);
}
.te-seg label.te-long  { border-radius: 8px 0 0 8px; }

.te-seg label.te-short { border-radius: 0 8px 8px 0;
  border-left: 1px solid var(--border); margin-left: -1px; }

.te-seg label.te-flat { border-radius: 0;
  border-left: 1px solid var(--border); margin-left: -1px; }
.te-seg input:checked + label { position: relative; z-index: 1; }
.te-seg input:checked + label.te-flat {
  background: color-mix(in srgb, var(--te-neutral) 16%, transparent);
  color: var(--te-neutral);
  border-color: var(--te-neutral);
}
.te-seg input:checked + label.te-long {
  background: color-mix(in srgb, var(--te-long) 16%, transparent);
  color: var(--te-long);
  border-color: var(--te-long);
}
.te-seg input:checked + label.te-short {
  background: color-mix(in srgb, var(--te-short) 16%, transparent);
  color: var(--te-short);
  border-color: var(--te-short);
}
.te-seg input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(31, 155, 224, .35);
}
.te-note  { margin: 8px 0 20px; font-size: .84rem; color: var(--muted); }

.te-note-shut, .cmi-hint.te-note-shut { color: var(--text); opacity: .92; }
.ed-final { margin: 12px 0 0; font-size: .84rem; color: var(--muted); max-width: 52ch; }

.te-f-reasons { flex: 1 1 100%; }
.te-optional { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: 4px; }
.te-reasons { display: flex; flex-wrap: wrap; gap: 8px; }
.te-reasons input { position: absolute; opacity: 0; pointer-events: none; }
.te-reason-chip {
  margin: 0; cursor: pointer; user-select: none;
  padding: 8px 14px; font-size: .92rem; font-weight: 600;
  background: var(--panel); color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
}
.te-reasons input:checked + .te-reason-chip {
  background: color-mix(in srgb, var(--reason-color) 20%, transparent);
  color: var(--reason-color);
  border-color: var(--reason-color);
}
.te-reasons input:focus-visible + .te-reason-chip {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--reason-color) 35%, transparent);
}

.te-reasons input:disabled + .te-reason-chip { opacity: .4; cursor: not-allowed; }

.te-call {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 0 0 4px; line-height: 1.1;
}
.te-call .te-sym {
  font-size: 2.1rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--text);
}
.te-call a.te-sym:hover { color: var(--accent); }
.te-call .te-dir  { font-size: 1.15rem; font-weight: 700; text-transform: uppercase;
                    letter-spacing: .06em; }
.te-call .te-at   { color: var(--muted); font-size: 1.15rem; }
.te-call .te-px   { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums;
                    color: var(--text); }
.te-long  .te-dir { color: var(--te-long); }
.te-short .te-dir { color: var(--te-short); }
.te-neutral .te-dir { color: var(--te-neutral); }

.te-call .te-noentry { color: var(--muted); font-style: italic;
  font-size: 1.05rem; font-weight: 500; }

.te-apesdata { font-size: .82rem; line-height: 1; cursor: help; flex: none; }

.te-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--panel-2); border: 1px solid var(--border);
  border-left: 10px solid var(--border);
  border-radius: 10px; padding: 8px 16px 13px 9px; margin: 0 0 10px;
  transition: border-color .12s, background .12s;
}
.te-card:hover  { background: var(--panel-3); border-color: var(--accent);
                  text-decoration: none; }
.te-card.te-long  { border-left-color: var(--te-long); }
.te-card.te-short { border-left-color: var(--te-short); }
.te-card.te-long:hover  { border-color: var(--te-long); }
.te-card.te-short:hover { border-color: var(--te-short); }

.te-card.te-neutral { border-left-color: var(--te-neutral); }
.te-card.te-neutral:hover { border-color: var(--te-neutral); }

.te-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.te-head .te-sym { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.te-head .te-dir { font-size: .78rem; font-weight: 700; text-transform: uppercase;
                   letter-spacing: .06em; cursor: help; }
.te-head .te-at  { color: var(--muted); font-size: .9rem; }
.te-head .te-px  { font-size: 1.15rem; font-weight: 700; color: var(--text);
                   font-variant-numeric: tabular-nums; }
.te-by {
  display: block; margin-top: 3px; font-size: .82rem; color: var(--muted);
}
.te-by .te-who { color: var(--text); }
.te-by .dot    { margin: 0 5px; }

.te-ex {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.45;
}

.pf-del b { color: var(--text); }

@media (max-width: 560px) {
  .te-f-sym, .te-f-entry { flex: 1 1 100%; }
  .te-f-dir { flex: 1 1 100%; }
  .te-seg { width: 100%; }
  .te-seg label { flex: 1; text-align: center; }
  .te-call .te-sym { font-size: 1.7rem; }
  .te-call .te-px  { font-size: 1.4rem; }
}

.pf-nameline { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pf-nameline .pf-name { margin: 0; }
.pf-joined { display: inline-flex; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 400; color: var(--muted); white-space: nowrap; }
.pf-joined svg { width: 14px; height: 14px; opacity: .8; flex: none; }

.pf-calls b { color: var(--text); }

.te-when { color: var(--muted); font-weight: 400; white-space: nowrap; }
.te-call .te-when { font-size: .8rem; margin-left: 2px; }
.te-head .te-when { font-size: .78rem; margin-left: auto; padding-left: 10px; }
@media (max-width: 560px) {
  .te-head .te-when { margin-left: 0; padding-left: 0; flex-basis: 100%; }
}

.q-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.q-link { font-size: .78rem; padding: 3px 8px; border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all; border: 1px solid var(--border);
  background: var(--panel-2); color: var(--text); }
.q-link b { font-family: inherit; text-transform: uppercase; letter-spacing: .04em;
  font-size: .68rem; margin-right: 5px; opacity: .9; }
.q-link.q-allowed  { border-color: rgba(53,194,106,.5);  }
.q-link.q-allowed b  { color: var(--green); }
.q-link.q-unlisted { border-color: rgba(224,180,80,.55); }
.q-link.q-unlisted b { color: #e0b450; }
.q-link.q-blocked  { border-color: rgba(224,87,106,.6); }
.q-link.q-blocked b  { color: var(--danger); }

.fd-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  margin: 0 0 14px; border-bottom: 1px solid var(--border);
}

.fd-bar-plain { border-bottom: 0; margin-bottom: 10px; }

#cmi-form.expanded ~ .fd-bar-plain { display: none; }

.fd-tabs { display: flex; gap: 2px; margin: 0; border-bottom: 0; }
.fd-tab {
  display: inline-flex; align-items: center;
  padding: 13px 12px; margin-bottom: -1px;
  border: 0; border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent; color: var(--muted);
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .13s ease, color .13s ease, border-color .13s ease;
}
.fd-tab:hover { color: var(--text); background: var(--panel-2);
  border-bottom-color: var(--border); text-decoration: none; }
.fd-tab.on { color: var(--text); font-weight: 700;
  border-bottom-color: var(--accent); background: transparent; }
.fd-tab.on:hover { background: var(--panel-2); border-bottom-color: var(--accent); }

.fd-right { display: flex; align-items: center; gap: 8px; margin: 0; }
.fd-post { padding: 8px 18px; font-size: .92rem; flex: none; }
.fd-post svg { width: 15px; height: 15px; }

.fd-search {
  
  display: flex; align-items: center;
  flex: 0 1 190px; min-width: 150px; margin: 0;
  height: 34px; padding: 0 4px 0 8px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 9px;
  transition: border-color .13s ease, box-shadow .13s ease;
}
.fd-search:focus-within { border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 155, 224, .15); }

.fd-s-ico { width: 16px; height: 16px; flex: none; color: var(--muted); }
.fd-search input[type=text] {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text);
  padding: 0 8px; height: 100%; font-size: .84rem; font-family: inherit;
}
.fd-search input[type=text]:focus { outline: none; }
.fd-search input::placeholder { color: var(--muted); }
.fd-s-x { flex: none; color: var(--muted); font-size: 1.25rem; line-height: 1;
  padding: 0 7px; text-decoration: none; }
.fd-s-x:hover { color: var(--text); text-decoration: none; }

.fd-s-clear { flex: none; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 2.1rem; line-height: 1; padding: 0 9px; }
.fd-s-clear:hover { color: var(--text); }
.fd-s-clear[hidden] { display: none; }

.fd-s-go { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 680px) {
  .fd-bar { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .fd-right { margin: 0; }
  .fd-search { flex: 1 1 auto; margin: 0; }
  .fd-tabs { width: 100%; }
  .fd-tab { flex: 1; justify-content: center; padding: 12px 8px; font-size: .92rem; }
}

.cmp-form textarea.cmp-body { min-height: 130px; max-height: 42vh; }

.te-card { position: relative; }
.te-main { display: block; color: inherit; text-decoration: none; }
.te-main::after { content: ''; position: absolute; inset: 0; }
.te-main:hover { text-decoration: none; }

.te-card .te-by { display: inline-block; margin: 0 0 10px; }

.te-author { display: inline-flex; align-items: center; gap: 9px;
  color: inherit; }
.te-author-off { cursor: default; }

.te-av { width: 60px; height: 60px; border-radius: 50%; flex: none;
  background: hsl(var(--pf-hue) 34% 32%);
  box-shadow: inset 0 0 0 1px hsl(var(--pf-hue) 40% 46% / .55);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }

@media (max-width: 600px) {
  .te-av { width: 52px; height: 52px; font-size: 1rem; }
}

.te-card .te-who { color: var(--text); font-weight: 700; font-size: .82rem;
  letter-spacing: -.01em; text-decoration: none; }
.te-at-h { color: var(--muted); font-size: .86rem; }
a.te-who:hover { color: var(--accent); text-decoration: underline; }
a.te-who:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px;
  border-radius: 3px; }

.pf-bar { margin-top: 26px; }
.pf-tabs { margin: 0; border-bottom: 0; }

.te-av-img, .pf-av-img { object-fit: cover; padding: 0; }
.by-av-img { padding: 0; overflow: hidden; background: none; box-shadow: none; }
.by-av-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: inherit; }

.pm-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 2px 0 18px; }

.pm-seg input { position: absolute; width: 1px; height: 1px; opacity: 0;
  pointer-events: none; }
.pm-seg label {
  display: flex; flex-direction: column; gap: 3px; margin: 0;
  padding: 12px 15px; cursor: pointer; user-select: none;
  background: var(--panel); border: 1px solid var(--border); border-radius: 11px;
  transition: border-color .13s ease, background .13s ease;
}
.pm-seg label:hover { border-color: var(--muted); }
.pm-t { font-size: .97rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--muted); line-height: 1.25; transition: color .13s ease; }
.pm-d { font-size: .79rem; color: var(--muted); opacity: .75; line-height: 1.3; }
.pm-seg input:checked + label {
  border-color: var(--accent); background: rgba(31, 155, 224, .13);
}
.pm-seg input:checked + label .pm-t { color: var(--text); }
.pm-seg input:checked + label .pm-d { opacity: .95; }
.pm-seg input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(31, 155, 224, .32); border-color: var(--accent); }

@media (max-width: 480px) {
  .pm-seg { grid-template-columns: 1fr; gap: 8px; }
  .pm-seg label { flex-direction: row; align-items: baseline; gap: 8px; }
}

.pf-topbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pf-topbar .pf-counts { margin-left: auto; margin-bottom: 0;
  
  border-bottom: 0; padding-bottom: 0; }

@media (max-width: 560px) {
  .pf-topbar .pf-counts { margin-left: 0; width: 100%; }
}
.pf-counts { display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin: 0 0 14px; padding: 0 0 13px;
  border-bottom: 1px solid var(--border);
  font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pf-c b { color: var(--text); font-weight: 700; margin-right: 3px; }
.pf-del { cursor: help; }

.pf-c-neutral { cursor: help; }
.pf-c-neutral b { color: var(--te-neutral); }

.fd-search { position: relative; }
.sr-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 5px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.sr-panel[hidden] { display: none; }
.sr-h { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: 6px 9px 5px; }
.sr-i { display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 9px; border: 0; border-radius: 7px; background: none;
  color: var(--text); font: inherit; font-size: .9rem; text-align: left;
  cursor: pointer; }
.sr-i:hover { background: var(--panel-3); }
.sr-i svg { width: 14px; height: 14px; flex: none; color: var(--muted); }
.sr-clear { display: block; width: 100%; margin-top: 3px;
  padding: 8px 9px; border: 0; border-top: 1px solid var(--border);
  background: none; color: var(--muted); font: inherit; font-size: .8rem;
  text-align: left; cursor: pointer; }
.sr-clear:hover { color: var(--danger); }

.au-av-img { padding: 0; overflow: hidden; background: none; }
.au-av-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: inherit; }

.pd { padding: 0; }
.pd-head { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.pd-av {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: hsl(var(--pf-hue) 34% 32%);
  box-shadow: inset 0 0 0 1px hsl(var(--pf-hue) 40% 46% / .55);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 700; color: #fff; text-decoration: none;
}
.pd-av:hover { text-decoration: none; color: #fff; filter: brightness(1.12); }
.pd-av-img { padding: 0; overflow: hidden; background: none; box-shadow: none; }
.pd-av-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: inherit; }

.pd-who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.pd-name { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--text); text-decoration: none; }
.pd-name:hover { color: var(--accent); text-decoration: none; }
.pd-at { font-size: .88rem; color: var(--muted); text-decoration: none; }
.pd-at:hover { color: var(--accent); text-decoration: none; }
.pd-act { flex: none; margin: 0; }

.pd-call { margin: 0 0 14px; }
.pd-call .te-sym { font-size: 2.3rem; }
.pd-call .te-px  { font-size: 1.9rem; }

.pd-body { font-size: 1.06rem; line-height: 1.65; margin: 0; }
.pd-body:empty { display: none; }

.pd-meta { margin: 18px 0 0; padding: 14px 0 0;
  border-top: 1px solid var(--border);
  font-size: .86rem; color: var(--muted); }
.pd-meta .dot { margin: 0 7px; }

@media (max-width: 560px) {
  .pd-av { width: 42px; height: 42px; font-size: .95rem; }
  .pd-call .te-sym { font-size: 1.8rem; }
  .pd-call .te-px  { font-size: 1.5rem; }
  .pd-body { font-size: 1rem; }
}

.av-img { object-fit: cover; padding: 0; background: none; box-shadow: none; }

.soc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 4px 0 20px; }
.soc-row { display: flex; align-items: center; gap: 0;
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: border-color .13s ease; }
.soc-row:focus-within { border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,155,224,.16); }
.soc-name { flex: none; padding: 10px 11px; font-size: .84rem; font-weight: 700;
  color: var(--muted); background: var(--panel-2); align-self: stretch;
  display: flex; align-items: center; min-width: 84px; }
.soc-at { flex: none; padding-left: 10px; color: var(--muted); }

.pform .soc-row input[type=text] {
  flex: 1; min-width: 0; padding: 10px 10px 10px 2px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: var(--text); font: inherit; font-size: .93rem;
}
.pform .soc-row input[type=text]:focus {
  outline: none; border: 0; box-shadow: none; background: transparent;
}
@media (max-width: 560px) { .soc-grid { grid-template-columns: 1fr; } }

.fp { margin: 0 0 20px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel-2); overflow: hidden; }
.fp-h { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: 10px 14px 6px; }
.fp-row { display: flex; align-items: center; gap: 11px; padding: 9px 14px;
  text-decoration: none; color: inherit; }
.fp-row:hover { background: var(--panel-3); text-decoration: none; }
.fp-av { width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: hsl(var(--pf-hue) 34% 32%);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: #fff; }
.fp-who { display: flex; flex-direction: column; line-height: 1.3; flex: none; }
.fp-name { font-weight: 700; font-size: .94rem; color: var(--text); }
.fp-at { font-size: .84rem; color: var(--muted); }
.fp-bio { flex: 1; min-width: 0; font-size: .85rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.soc-ico { width: 15px; height: 15px; flex: none; opacity: .85; }
.soc-name { gap: 7px; }
.au-ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; }
.au-links a { display: inline-flex; align-items: center; }

.br-twitter   { color: #e7e9ea; }          
.br-youtube   { color: #ff0033; }
.br-instagram { color: #e1306c; }
.br-tiktok    { color: #25f4ee; }

.pf-m .br-twitter, .pf-m .br-youtube, .pf-m .br-instagram, .pf-m .br-tiktok,
.au-links a:hover .au-ico { opacity: 1; }
.soc-ico { opacity: 1; }

.row-x { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; align-self: stretch; padding: 0;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--panel); color: var(--muted); cursor: pointer; }
.row-x:hover { color: var(--danger); border-color: var(--danger);
  background: rgba(224, 87, 106, .10); }
.row-x[hidden] { display: none; }
.row-x svg { width: 16px; height: 16px; }

.row-x-soc { width: 34px; border: 0; border-radius: 0; background: transparent;
  align-self: stretch; }
.row-x-soc:hover { background: rgba(224, 87, 106, .12); }
@media (max-width: 600px) {
  
  .lnk-row .row-x { width: 100%; height: 34px; align-self: auto; }
}

.ep-head { display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; }
.ep-h-text { min-width: 0; }
.ep-h-act { display: flex; align-items: center; gap: 10px; flex: none; }
.pform .btn.ep-save { margin-top: 0; }
@media (max-width: 560px) {
  .ep-head { flex-direction: column; align-items: stretch; }
  .ep-h-act { justify-content: flex-end; }
}

.tk-note { margin: 7px 0 0; padding: 8px 11px; border-radius: 8px;
  font-size: .82rem; line-height: 1.45;
  background: rgba(224, 180, 80, .12); color: #e0b450;
  border: 1px solid rgba(224, 180, 80, .35); }
.tk-note[hidden] { display: none; }
.te-f-sym { position: relative; }

.cmp-form .ed-count, .ed .ed-count { display: block; margin: 6px 2px 0;
  font-size: .78rem; color: var(--muted); text-align: right;
  font-variant-numeric: tabular-nums; }
.ed-count.over { color: var(--danger); font-weight: 700; }

.sr-m { display: flex; align-items: center; gap: 9px; padding: 7px 9px;
  border-radius: 7px; text-decoration: none; color: inherit; }
.sr-m:hover { background: var(--panel-3); text-decoration: none; }
.sr-av { width: 26px; height: 26px; border-radius: 50%; flex: none;
  object-fit: cover; }
.sr-av-i { background: hsl(var(--pf-hue) 34% 32%); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .64rem; font-weight: 700; }
.sr-mn { font-size: .9rem; font-weight: 600; color: var(--text); }
.sr-mh { font-size: .8rem; color: var(--muted); }
.sr-t { justify-content: flex-start; gap: 10px; }
.sr-sym { font-weight: 700; font-size: .9rem; color: var(--text); }
.sr-n { font-size: .78rem; color: var(--muted); }

.te-head .sy-logo { flex: none; margin-right: 2px; vertical-align: -4px; }
.te-call .sy-logo { flex: none; margin-right: 4px; align-self: center; }

.te-x { position: relative; z-index: 2; }
.te-more { display: inline-block; margin-top: 6px; padding: 3px 0;
  border: 0; background: none; cursor: pointer; font: inherit;
  font-size: .82rem; font-weight: 700; color: var(--accent); }
.te-more:hover { text-decoration: underline; }

.te-ni { display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--panel); cursor: pointer; font: inherit;
  color: var(--muted);
  transition: color .13s ease, border-color .13s ease, background .13s ease; }
.te-ni .vw-ico { width: 15px; height: 15px; }
.te-ni:hover { color: var(--text); border-color: #5a5a5a; background: var(--panel-3); }
.te-card.te-dismissing { opacity: 0; transform: scale(.98);
  transition: opacity .18s ease, transform .18s ease; }
.te-full { margin-top: 8px; font-size: .92rem; line-height: 1.6;
  color: var(--text); }
.te-full[hidden] { display: none; }
.te-full > :first-child { margin-top: 0; }
.te-full > :last-child { margin-bottom: 0; }

.pd-back { display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 16px; padding: 10px 18px 10px 14px; border-radius: 999px;
  color: var(--muted); font-size: 1rem; font-weight: 600;
  text-decoration: none; transition: background .13s, color .13s; }
.pd-back:hover { background: var(--panel-2); color: var(--text);
  text-decoration: none; }
.pd-back svg { width: 22px; height: 22px; }

.te-vw { display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.te-card .te-vw { float: right; margin-left: 10px; }
.vw-ico { width: 14px; height: 14px; opacity: .85; }
.pd-meta .te-vw { font-size: .86rem; }

.te-quote { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  padding: 9px 2px; min-height: 1.5em; color: var(--text); font-weight: 600; }
.te-quote[data-state="idle"], .te-quote[data-state="loading"] { color: var(--muted);
  font-weight: 400; }

.te-quote[data-state="pending"],
.te-quote[data-state="atpost"] { font-style: italic; font-weight: 500;
  color: var(--muted); font-size: .98rem; }
.te-quote[data-state="bad"] { color: var(--muted); font-weight: 400; }

.te-quote[data-state="none"] { font-style: italic; font-weight: 500;
  color: var(--muted); font-size: .98rem; }

.pd-acts { display: flex; align-items: center; gap: 8px; }
.pd-editform { margin: 14px 0 0; }
.pd-editform textarea { width: 100%; min-height: 8em; padding: 11px 13px;
  background: var(--panel); color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; font: inherit; line-height: 1.55; resize: vertical; }
.pd-editform textarea:focus { outline: none; border-color: var(--accent); }
.pd-editnote { margin: 0 0 9px; font-size: .86rem; color: var(--muted); }
.pd-editnote strong { color: var(--text); font-weight: 650; }
.pd-editacts { display: flex; gap: 9px; margin-top: 10px; }

.pd-edited { color: var(--muted); font-style: italic; }

.pf-upload-grant { display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  margin: 0 0 16px; padding: 9px 12px; border: 1px dashed var(--border);
  border-radius: 9px; }

.cmp-noimg { margin: 0 0 16px; }

.ip-box { display: flex; align-items: center; gap: 11px; margin: 9px 0 16px;
  padding: 9px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel); }
.ip-img { width: 92px; height: 66px; object-fit: cover; border-radius: 7px;
  background: var(--bg); flex: none; }
.ip-meta { flex: 1; min-width: 0; font-size: .82rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; }
.ip-drop { flex: none; background: none; border: 1px solid var(--border);
  color: var(--muted); border-radius: 7px; padding: 5px 11px; cursor: pointer;
  font: inherit; font-size: .82rem; }
.ip-drop:hover { color: var(--text); border-color: var(--muted); }
.cmp-chart-stash-drop { background: none; border: none; padding: 0; font: inherit;
  color: var(--accent); text-decoration: underline; cursor: pointer; }
.cmp-chart-stash-drop:hover { color: var(--text); }

.ip-box.bad { border-color: var(--danger); }
.ip-box.bad .ip-img { display: none; }
.ip-box.bad .ip-meta { color: var(--text); }

.te-pic { margin: 8px 0 2px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); background: var(--panel); }

.te-pic img { display: block; width: 100%; height: auto; max-height: 440px;
  object-fit: contain; }

.te-pic-fallback img { max-height: none; }

.te-pic-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
@media (min-width: 992px) {
  .te-pic-zoom { position: relative; z-index: 2; }
}

.pd-pic { margin: 0 0 16px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--panel); }
.pd-pic img { display: block; width: 100%; height: auto; max-height: 78vh;
  object-fit: contain; }
.pd-editpic { margin: 12px 0 0; display: flex; flex-direction: column; gap: 7px; }
.pd-droppic { display: flex; align-items: center; gap: 7px; font-size: .86rem;
  color: var(--muted); }
.cmp-pic { display: block; margin: 0 0 14px; font-size: .9rem; color: var(--muted); }

.te-pend { font-style: italic; color: var(--muted); opacity: .9;
  letter-spacing: -.01em; white-space: nowrap;
  font-variant-numeric: normal; }

.te-head .te-px.te-pend { font-size: .78rem; }

.te-cm { position: relative; z-index: 2; text-decoration: none; }
.te-cm:hover { color: var(--text); }
.te-cm:hover .vw-ico { opacity: 1; }

.te-acts { position: relative; z-index: 2; float: right; margin-left: 12px; }

.lk-pair { display: inline-flex; align-items: center; gap: 2px; }
.lk { display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: none; padding: 2px 0; cursor: pointer;
  font: inherit; font-size: .73rem; color: var(--muted); border-radius: 999px;
  font-variant-numeric: tabular-nums;
  transition: color .13s ease, background-color .13s ease; }

.lk svg { width: 14px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 1.9; transition: fill .13s ease, transform .13s ease; }
.lk-down svg { transform: rotate(180deg); }

.lk-up:hover { color: var(--te-long); background: rgba(42, 232, 79, .12); }
.lk-up:focus-visible { outline: 2px solid var(--te-long); outline-offset: 1px; }
.lk-up.on { color: var(--te-long); }
.lk-up.on svg { fill: var(--te-long); stroke: var(--te-long); transform: scale(1.06); }
.lk-down:hover { color: var(--danger); background: rgba(224, 87, 106, .12); }
.lk-down:focus-visible { outline: 2px solid var(--danger); outline-offset: 1px; }
.lk-down.on { color: var(--danger); }
.lk-down.on svg { fill: var(--danger); stroke: var(--danger);
  transform: rotate(180deg) scale(1.06); }
.lk:disabled { cursor: default; }

.lk-label { font-weight: 600; }
@media (max-width: 360px) { .lk-label { display: none; } }
.pd-like .lk { font-size: .86rem; }
.pd-like { position: relative; z-index: 2; display: inline-flex; gap: 4px; }

.fd-page { display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin: 22px 0 8px; }
.fd-page-n { font-size: .84rem; color: var(--muted);
  font-variant-numeric: tabular-nums; }

.te-r1 { display: flex; align-items: center; gap: 14px; min-width: 0; }
.te-r1 .te-by { margin: 0; flex: none; }
.te-r1 .te-main { flex: 1; min-width: 0; }

.te-r1 .te-head { margin: 0; }

.te-foot { position: relative; z-index: 2; display: flex; align-items: center;
  gap: 16px; margin-top: 8px; }
.te-card .te-acts, .te-card .te-vw { float: none; margin: 0; }
.te-ex { margin-top: 8px; }

@media (max-width: 620px) {
  
  .te-r1 { flex-direction: column; align-items: flex-start; gap: 4px; }
  .te-r1 .te-main { width: 100%; }
}

.te-r1 .te-author { max-width: 100%; min-width: 0; }
.te-r1 .te-who { flex: 0 1 auto; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.te-r1 .te-at-h { flex: 0 1 auto; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }

.te-r1 .te-at-h { flex-shrink: 3; }

@media (max-width: 620px) {
  
  .te-r1 .te-by { flex: none; max-width: 100%; }
}

.te-head .te-sym { flex: none; min-width: 8ch; }

.te-head .te-dir { flex: none; min-width: 5.5ch; }
.te-head .te-at  { flex: none; }

.te-head .te-at.te-at-none { visibility: hidden; }
.te-head .te-px  { flex: none; min-width: 7ch; text-align: left; }
.te-head .te-px.te-px-none { color: var(--muted); font-weight: 600; cursor: help; }
.te-head .te-ago { flex: none; min-width: 7ch; }

@media (max-width: 620px) {
  
  .te-head .te-sym, .te-head .te-px,
  .te-head .te-dir, .te-head .te-ago { min-width: 0; }
}

.te-head { flex-wrap: nowrap; }
.te-head .te-when { flex: none; margin-left: auto; padding-left: 12px;
  white-space: nowrap; }

@media (max-width: 1100px) {
  .te-head .te-when { display: none; }
}
@media (max-width: 620px) {
  .te-head { flex-wrap: wrap; }
  .te-head .te-when { display: inline; margin-left: 0; padding-left: 0; }
}

.te-ex { padding-right: 6px; }
.te-head .te-when { padding-right: 2px; }

.te-head { min-width: 0; }
.te-head .te-when { flex: 0 1 auto; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; }

.te-head .te-sym { font-size: 1rem; }
.te-head .te-px  { font-size: 1rem; }
.te-head .te-dir { font-size: .7rem; }
.te-head .te-ago { font-size: .76rem; }
.te-head .te-when { font-size: .76rem; }
.te-head .te-prevclose { font-size: 1rem; }
.te-head .te-prevclose-label { font-size: .7rem; }
.te-head { gap: 7px; }

.te-r1 .te-who { flex-shrink: 0; }
.te-r1 .te-at-h { flex-shrink: 1; }

.te-head .te-ago { margin-left: auto; text-align: right; }

@media (max-width: 620px) {
  .te-r1 .te-author { flex-wrap: wrap; }
  .te-r1 .te-who, .te-r1 .te-at-h { overflow: visible; text-overflow: clip;
    white-space: normal; }
}

.te-r1 { display: flex; align-items: center; gap: 14px; min-width: 0; }
.te-r1 .te-by   { flex: 1 1 auto; min-width: 0; max-width: none; }
.te-r1 .te-main { flex: 0 0 auto; min-width: 0; }

.te-head { flex-wrap: nowrap; }
.te-r1 .te-head { justify-content: flex-end; }

.te-r1 .te-head .te-ago { margin-left: 0; }

@media (max-width: 720px) {
  
  .te-r1 { flex-wrap: wrap; gap: 6px; align-items: flex-start; }
  .te-r1 .te-by, .te-r1 .te-main { flex: 1 1 100%; }
  
  .te-r1 .te-head { justify-content: flex-start; }
  .te-r1 .te-author { flex-wrap: wrap; }
  .te-r1 .te-who, .te-r1 .te-at-h {
    overflow: visible; text-overflow: clip; white-space: normal; }
  .te-head .te-sym, .te-head .te-px,
  .te-head .te-dir, .te-head .te-ago { min-width: 0; }
}

.te-head-note { justify-content: flex-end; }
@media (max-width: 720px) { .te-r1 .te-head-note { justify-content: flex-start; } }

.te-perf { display: inline-flex; align-items: center; flex: none;
  min-width: 7ch; justify-content: flex-end; }
.te-perf.up { color: var(--te-long); }
.te-perf.dn { color: var(--te-short); }
.te-pct { font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.te-prevclose { font-size: 1.15rem; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; margin-right: 5px; white-space: nowrap; }
.te-prevclose-label { font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); }

.pd-chart { margin: 16px 0 4px; }
.pd-chart svg { width: 100%; height: 120px; display: block; }
.pd-chart .pdc-line { fill: none; stroke-width: 2; }
.pd-chart.up .pdc-line { stroke: var(--te-long); }
.pd-chart.dn .pdc-line { stroke: var(--te-short); }
.pd-chart .pdc-entry { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; }
.pdc-legend { display: flex; gap: 18px; margin-top: 8px; font-size: .82rem;
  color: var(--muted); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.pdc-legend b { color: var(--text); }
.pdc-legend .up { color: var(--te-long); }
.pdc-legend .dn { color: var(--te-short); }

.te-card .te-at-h { display: none; }
@media (max-width: 720px) {
  
  .te-card .te-at-h { display: inline; }
}

@media (max-width: 480px) {
  .te-head { flex-wrap: wrap; row-gap: 2px; }
  .te-head .te-sym, .te-head .te-px, .te-head .te-dir,
  .te-head .te-ago, .te-perf { min-width: 0; }
  .te-head .te-px { text-align: left; }
}

.pd-chart { margin: 18px 0 6px; padding: 14px 16px 12px;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 12px; }
.pd-chart svg { width: 100%; height: 260px; display: block; overflow: visible; }
@media (max-width: 620px) { .pd-chart svg { height: 200px; } }

.pd-chart.up { color: var(--te-long); }
.pd-chart.dn { color: var(--te-short); }
.pd-chart .pdc-entry { stroke: var(--muted); stroke-width: 1.2;
  stroke-dasharray: 5 5; opacity: .75; }
.pd-chart .pdc-dot { stroke: var(--panel-2); stroke-width: 2.5;
  fill: currentColor; }

.te-card .te-by,
.te-card .te-foot,
.te-card .te-x { position: static; z-index: auto; }

.te-card a.te-who,
.te-card .lk,
.te-card .te-more,
.te-card .te-ni,
.te-card .te-full { position: relative; z-index: 2; }

.pdc-note { margin: 10px 0 0; font-size: .8rem; line-height: 1.5;
  color: var(--muted); max-width: 68ch; }

.te-card .vw-ico, .te-card .sy-logo, .te-card .te-av { pointer-events: none; }
.te-card .lk svg { pointer-events: none; }

.pd-chart .pdc-mark { stroke: var(--text); stroke-width: 1; opacity: .35;
  stroke-dasharray: 3 4; }

.pd-chart svg { height: auto; overflow: visible; }
.pd-chart .pdc-wick { stroke-width: 1.1; }
.pd-chart .pdc-body { stroke-width: 1; }
.pd-chart .c-up .pdc-wick, .pd-chart .c-up .pdc-body {
  stroke: var(--te-long); fill: color-mix(in srgb, var(--te-long) 85%, transparent); }
.pd-chart .c-dn .pdc-wick, .pd-chart .c-dn .pdc-body {
  stroke: var(--te-short); fill: color-mix(in srgb, var(--te-short) 85%, transparent); }

.pd-chart .c-up .pdc-vol { fill: var(--te-long); opacity: .55; }
.pd-chart .c-dn .pdc-vol { fill: var(--te-short); opacity: .55; }
.pd-chart .pdc-axis-t { fill: var(--muted); font: 600 9px/1 -apple-system,
  BlinkMacSystemFont, sans-serif; }
.pd-chart .pdc-watermark { fill: var(--muted); opacity: .5; font: 600 9px/1
  -apple-system, BlinkMacSystemFont, sans-serif; }

.pd-chart .pdc-grid { stroke: var(--border); stroke-width: 1; opacity: .5; }

.pd-chart .pdc-ma { fill: none; stroke: #9aa3b0; stroke-width: 1.3;
  opacity: .75; }

.cmi { background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 16px 12px; margin: 0 0 12px; }
.cmi:focus-within { border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 155, 224, .12); }
.cmi-row { display: flex; align-items: center; gap: 10px; }
.cmi-av { width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: hsl(var(--pf-hue) 34% 32%); color: #fff; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .76rem; font-weight: 700; }
.cmi-f { min-width: 0; }
.cmi-sym { flex: 0 1 130px; }
.cmi-px  { flex: 0 1 150px; }

.cmi-quote { font-size: .82rem; line-height: 1.25; padding: 0; }
.cmi .cmi-f input {
  width: 100%; background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 9px;
  padding: 7px 12px; font-size: 1rem; font-weight: 600; font-family: inherit;
}
.cmi .cmi-sym input { text-transform: uppercase; letter-spacing: .02em; }
.cmi .cmi-px input  { font-variant-numeric: tabular-nums; }
.cmi .cmi-f input:focus { outline: none; border-color: var(--accent); }
.cmi-dir { flex: none; }
.cmi-dir label { padding: 7px 16px; font-size: .95rem; }

.cmi .cmi-go { margin: 0 0 0 auto; padding: 10px 28px; flex: none;
  border: 0; border-radius: 999px; cursor: pointer; font: inherit;
  font-size: .97rem; font-weight: 700; letter-spacing: -.01em;
  background: var(--accent); color: #fff;
  transition: background .13s ease; }
.cmi .cmi-go:hover { background: var(--accent-d); }

.cmi-pic-btn { flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--panel);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; color: var(--muted);
  transition: border-color .13s ease, color .13s ease; }
.cmi-pic-btn:hover { border-color: var(--accent); color: var(--text); }
.cmi-pic-btn input[type=file] { position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0; }

.cmi-full { position: relative; }
.cmi-pic-btn .ip-box { position: absolute; left: 0; right: 0; top: 100%;
  margin-top: 10px; }

.cmi .cmi-body {
  width: 100%; margin: 10px 0 0; padding: 9px 12px; resize: none;
  min-height: 0; height: 64px; overflow: hidden;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 9px;
  font: inherit; font-size: .93rem; line-height: 1.5;
  transition: height .14s ease;
}
.cmi .cmi-body:focus, .cmi .cmi-body:not(:placeholder-shown) { height: 64px;
  overflow: auto; outline: none; border-color: var(--accent); }

.cmi-find { width: 100%; margin: 8px 0 0; padding: 7px 12px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 9px;
  font: inherit; font-size: .82rem; }
.cmi-find:focus { outline: none; border-color: var(--accent); }
.cmi-find::placeholder { color: var(--muted); }

.finds-wrap { display: flex; flex-direction: column; gap: 6px; }
.finds-item { display: flex; align-items: center; gap: 6px; }
.finds-item input[name="finds"] { margin: 0; flex: 1 1 auto; min-width: 0; }
.finds-remove { flex: none; width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid var(--border); background: none; color: var(--muted);
  font-size: 1rem; line-height: 1; cursor: pointer; }
.finds-remove:hover { color: var(--text); border-color: var(--text); }
.finds-remove[hidden] { display: none; }
.finds-add { align-self: flex-start; margin-top: 2px; padding: 2px 0;
  background: none; border: 0; color: var(--accent);
  font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.finds-add:hover { text-decoration: underline; }
.finds-add[hidden] { display: none; }
.cmi-foot { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 5px; flex-wrap: wrap; }
.cmi-hint { font-size: .8rem; color: var(--muted); }

.cmi-bs { display: inline-flex; align-items: center; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--panel); color: var(--muted);
  font-size: .82rem; font-weight: 600; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: color .13s ease, border-color .13s ease, background .13s ease; }
.cmi-bs:hover, .cmi-bs:focus-visible {
  color: var(--text); border-color: var(--accent); text-decoration: none; }
.cmi-bs:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cmi .tk-note { margin-top: 10px; }

.cmi:not(.expanded) { display: none; }

.cmi.expanded { padding: 12px 16px 12px; }
.cmi.expanded .cmi-dir label { padding: 8px 16px; }
.cmi.expanded .cmi-f input { padding: 8px 12px; }
.cmi.expanded .cmi-foot { margin-top: 7px; }

.cmi-hide {
  display: block; margin: 0 0 8px auto; background: none; border: 0;
  color: var(--muted); font: inherit; font-size: .82rem; font-weight: 600;
  cursor: pointer; padding: 2px 4px;
}
.cmi-hide:hover { color: var(--text); }

.fd-post-btn {
  display: flex; align-items: center; gap: 6px; flex: none;
  background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 11px 16px 11px 12px; font: inherit; font-size: .88rem; font-weight: 700;
  cursor: pointer; transition: background .13s ease; text-decoration: none;
}
.fd-post-btn:hover, .fd-post-btn:focus { background: var(--accent-d); color: #fff;
  text-decoration: none; }
.fd-post-btn svg { width: 16px; height: 16px; }

@media (max-width: 760px) {
  
  .fd-search { order: 1; }
  .fd-post-btn { order: 2; }
  .fd-who { order: 3; flex: 1 1 100%; }
}

@media (max-width: 720px) {
  .cmi-row { flex-wrap: wrap; }
  .cmi-sym, .cmi-px { flex: 1 1 calc(50% - 28px); }
  .cmi-dir { flex: 1 1 auto; }
  .cmi-dir .te-seg { width: 100%; }
  .cmi-dir label { flex: 1; text-align: center; }
  .cmi .cmi-go { flex: 1 1 100%; margin: 4px 0 0; }
  
  .cmi-hint { display: block; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; max-width: 100%; }
}

.pd-chart .pdc-entry { stroke: #e8b64c; stroke-width: 1.4;
  stroke-dasharray: 6 4; opacity: .95; }
.pd-chart .pdc-tag-bg { fill: #e8b64c; }
.pd-chart .pdc-tag-t { fill: #1a1a1a; font: 700 11px/1 -apple-system,
  "Segoe UI", Roboto, sans-serif; letter-spacing: .02em; }
.pd-chart .pdc-mark { stroke: var(--text); stroke-width: 1.1; opacity: .45;
  stroke-dasharray: 3 4; }
.pd-chart .pdc-mark-bg { fill: var(--panel-3); }
.pd-chart .pdc-mark-t { fill: var(--muted); font: 700 10px/1 -apple-system,
  "Segoe UI", Roboto, sans-serif; letter-spacing: .06em; }

.pd-chart .pdc-tag-bg { stroke: var(--panel-2); stroke-width: 1.5; }
.pd-chart .pdc-mark-bg { stroke: var(--panel-2); stroke-width: 1.5;
  fill: var(--panel-2); }

.pd-chart .pdc-ex { stroke: #e8b64c; stroke-width: 1.1;
  stroke-dasharray: 2 4; opacity: .55; }
.pd-chart .pdc-dot-o { fill: none; stroke: #e8b64c; stroke-width: 2;
  opacity: .45; }
.pd-chart .pdc-dot { fill: #e8b64c; stroke: var(--panel-2); stroke-width: 2; }

.pd-chart .pdc-tx { stroke: #6b9bd8; stroke-width: 1.1;
  stroke-dasharray: 2 4; opacity: .6; }
.pd-chart .pdc-tx-bg { fill: var(--panel-3); stroke: #6b9bd8;
  stroke-width: 1.2; opacity: .95; }
.pd-chart .pdc-tx-t { fill: #6b9bd8; font: 700 9px/1 -apple-system,
  "Segoe UI", Roboto, sans-serif; letter-spacing: .04em; }
.pd-chart .pdc-tx-dot-o { fill: none; stroke: #6b9bd8; stroke-width: 2;
  opacity: .4; }
.pd-chart .pdc-tx-dot { fill: #6b9bd8; stroke: var(--panel-2); stroke-width: 2; }

.pf-bio, .au-bio { white-space: pre-line; }

.pdc-legend .pdc-wk { color: #e8b64c; font-weight: 600; font-size: .86em;
  opacity: .9; }

#feed-more { display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 0 8px; }
#feed-more.loading #feed-more-btn { opacity: .6; pointer-events: none; }
.feed-spin { width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--border); border-top-color: var(--muted);
  opacity: 0; transition: opacity .15s; }
#feed-more.loading .feed-spin { opacity: 1; animation: feed-sp .7s linear infinite; }
@keyframes feed-sp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #feed-more.loading .feed-spin { animation-duration: 2s; }
}

.feed-end { text-align: center; color: var(--muted); font-size: .9rem;
  padding: 6px 0 26px; margin: 0; }

.pf-av-zoom { padding: 0; border: 0; background: none; line-height: 0;
  border-radius: 16px; cursor: zoom-in; flex-shrink: 0;
  
  align-self: center; }
.pf-av-zoom:focus-visible { outline: 2px solid var(--accent, #6366f1);
  outline-offset: 2px; }
.pf-av-zoom .pf-av { display: block; transition: transform .12s ease; }
.pf-av-zoom:hover .pf-av { transform: scale(1.06); }

.avz { position: fixed; inset: 0; z-index: 6800; display: flex;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(8, 10, 16, .82); }
.avz[hidden] { display: none; }

.chz { position: fixed; inset: 0; z-index: 6850; display: flex;
  background: rgba(4, 5, 8, .94); }
.chz[hidden] { display: none; }
.chz-imgwrap { flex: 1; min-width: 0; display: flex; align-items: center;
  justify-content: center; padding: 28px; }
.chz-img { display: block; max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 6px; background: #11131a; }
.chz-side { width: 400px; flex: none; background: var(--panel);
  border-left: 1px solid var(--border); overflow-y: auto; padding: 26px 22px; }

.chz-head { margin: 0 0 16px; }
.chz-head .te-main { pointer-events: none; }
.chz-body { font-size: .95rem; line-height: 1.6; }
.chz-body img { max-width: 100%; border-radius: 8px; }
.chz-full { display: inline-block; margin-top: 18px; color: var(--accent);
  font-weight: 700; font-size: .9rem; text-decoration: none; }
.chz-full:hover { text-decoration: underline; }
.chz-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem;
  line-height: 1; color: #e8eaf0; background: rgba(255, 255, 255, .12); }
.chz-x:hover { background: rgba(255, 255, 255, .2); }
body.chz-open { overflow: hidden; }
body.chz-open .dmw-bub, body.chz-open .cs-tas-nudge,
body.chz-open .su-nudge, body.chz-open .la-toast { display: none; }

.clm-back { position: fixed; inset: 0; z-index: 6900; display: flex;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(8, 10, 16, .78); }
.clm-back[hidden] { display: none; }
.clm-box {
  position: relative; width: 100%; max-width: 360px;
  
  max-height: 70vh; overflow-y: auto; box-sizing: border-box;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 24px 24px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.clm-x { position: absolute; top: 10px; right: 10px; background: none;
  border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1;
  cursor: pointer; padding: 6px; }
.clm-x:hover { color: var(--text); }
.clm-mark { width: 40px; height: 40px; border-radius: 9px; margin: 0 0 14px; }
.clm-h { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800;
  letter-spacing: -.01em; color: var(--text); }
.clm-p { margin: 0 0 20px; font-size: .88rem; line-height: 1.5;
  color: var(--muted); }
.clm-sso {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; box-sizing: border-box; padding: 11px 16px;
  background: #fff; color: #1a1a1a; font-weight: 700; font-size: .92rem;
  border-radius: 10px; text-decoration: none; margin: 0 0 10px;
}
.clm-sso:hover { background: #f2f2f2; text-decoration: none; color: #1a1a1a; }
.clm-sso img { width: 18px; height: 18px; }
.clm-email {
  display: block; width: 100%; box-sizing: border-box; padding: 11px 16px;
  background: var(--panel); color: var(--text); font-weight: 600; font-size: .9rem;
  border: 1px solid var(--border); border-radius: 10px; text-decoration: none;
  margin: 0 0 14px;
}
.clm-email:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }
.clm-skip { background: none; border: 0; color: var(--muted);
  font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
  padding: 4px; text-decoration: underline; }
.clm-skip:hover { color: var(--text); }

body.avz-open { overflow: hidden; }

body.avz-open .dmw-bub,
body.avz-open .cs-tas-nudge,
body.avz-open .su-nudge,
body.avz-open .la-toast { display: none; }

.su-nudge {
  position: fixed; left: 50%; bottom: 18px; z-index: 6400;
  transform: translate(-50%, 12px); opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 24px);
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 999px; box-shadow: 0 12px 32px rgba(0,0,0,.4);
  padding: 10px 10px 10px 16px;
}
.su-nudge.open { transform: translate(-50%, 0); opacity: 1; }
.su-nudge-txt { font-size: .86rem; color: var(--text); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.su-nudge-go { flex: none; background: var(--accent); color: #fff;
  font-weight: 700; font-size: .82rem; text-decoration: none;
  padding: 7px 14px; border-radius: 999px; }
.su-nudge-go:hover { filter: brightness(1.08); }
.su-nudge-x { flex: none; background: none; border: none; color: var(--muted);
  font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px 2px; }
.su-nudge-x:hover { color: var(--text); }
@media (max-width: 480px) {
  .su-nudge-txt { display: none; }   
}
.avz-in { display: flex; flex-direction: column; align-items: center; gap: 12px;
  max-width: 100%; }

.avz-img { display: block; max-width: min(560px, 86vw); max-height: 78vh;
  width: auto; height: auto; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55); background: #11131a; }
.avz-cap { margin: 0; color: #e8eaf0; font-size: .95rem; font-weight: 600;
  text-align: center; }
.avz-x { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem;
  line-height: 1; color: #e8eaf0; background: rgba(255, 255, 255, .12); }
.avz-x:hover { background: rgba(255, 255, 255, .2); }

.pmz { position: fixed; inset: 0; z-index: 6820; display: flex;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(8, 10, 16, .86); }
.pmz[hidden] { display: none; }

.pmz-in { width: min(1400px, 97vw); max-height: 95vh; overflow: auto; }
.pmz-in .pd-chart, .pmz-in .pd-pic { margin: 0; cursor: default; }
.pmz-in .pd-pic img { max-height: none; }
.pmz-x { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem;
  line-height: 1; color: #e8eaf0; background: rgba(255, 255, 255, .12); z-index: 1; }
.pmz-x:hover { background: rgba(255, 255, 255, .2); }
body.pmz-open { overflow: hidden; }

.pmz-target { cursor: zoom-in; }

.te-legs { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 2px;
  padding-left: 2px; }
.te-leg { display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 4px; border: 1px solid var(--border); border-radius: 999px;
  font-size: .76rem; font-weight: 600; background: var(--panel-3);
  white-space: nowrap; }
.te-leg .sy-logo { width: 17px; height: 17px; border-radius: 4px; flex: none; }
.te-leg .tl-sym { color: var(--text); letter-spacing: .01em; }
.te-leg .tl-pct { font-variant-numeric: tabular-nums; }
.te-leg.up .tl-pct { color: var(--te-long); }
.te-leg.dn .tl-pct { color: var(--te-short); }
.te-leg-more { color: var(--muted); padding: 3px 9px; font-weight: 500; }
@media (max-width: 620px) {
  
  .te-legs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .te-legs::-webkit-scrollbar { display: none; }
}

.pd-legs { margin: 18px 0 6px; border: 1px solid var(--border);
  border-radius: 12px; background: var(--panel-2); padding: 14px 16px 12px; }
.pd-legs-h { font-weight: 700; font-size: .95rem; margin-bottom: 10px;
  display: flex; align-items: baseline; gap: 9px; }
.pd-legs-h span { font-weight: 500; font-size: .82rem; color: var(--muted); }

.pd-legs-grid { display: grid; gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.pd-leg { display: grid; align-items: center; gap: 9px; text-decoration: none;
  grid-template-columns: 20px minmax(7ch, 1fr) 4.4rem 4.4rem 3.9rem;
  padding: 6px 9px; border-radius: 8px; color: var(--text);
  font-size: .84rem; font-variant-numeric: tabular-nums; }
.pd-leg:hover { background: var(--panel-3); }
.pd-leg .sy-logo { width: 20px; height: 20px; border-radius: 5px; }
.pd-leg .pl-sym { font-weight: 700; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.pd-leg .pl-e, .pd-leg .pl-now { color: var(--muted); text-align: right; }
.pd-leg .pl-pct { text-align: right; font-weight: 700; }
.pd-leg.up .pl-pct { color: var(--te-long); }
.pd-leg.dn .pl-pct { color: var(--te-short); }
.pd-legs-more { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 620px) {
  .pd-legs-grid { grid-template-columns: 1fr; }
  .pd-leg { grid-template-columns: 20px minmax(7ch,1fr) 4.4rem 3.9rem; }
  .pd-leg .pl-now { display: none; }   
}

.pd-leg .pl-n { font-style: normal; font-weight: 600; font-size: .76em;
  color: var(--muted); margin-left: 4px; }

.te-card .te-legs, .te-card .te-leg { pointer-events: none; }

.lk { padding: 12px 13px; margin: -12px -13px; }
.te-foot { gap: 8px; }                 

.te-foot .te-more { padding: 7px 10px; margin: -7px 0;
  border-radius: 7px; }
.te-foot .te-more:hover { background: var(--panel-3); }

.te-foot .te-ni { margin-left: auto; }

.lk-pair { gap: 8px; }
@media (max-width: 620px) {
  
  .lk { padding: 13px 14px; margin: -13px -14px; }
  .lk svg { width: 22px; height: 22px; }
  .lk-pair { gap: 10px; }
  .te-foot .te-more { padding: 9px 12px; margin: -9px 0; }
  .te-foot .te-ni { margin-left: auto; }
}

.a11y-only { position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0; }

.ofb { color: var(--accent); flex: none; display: inline-block;
  vertical-align: -.16em; margin-left: 5px; }

.te-who + .ofb { margin-left: 4px; vertical-align: -.14em; }
.pf-name .ofb { margin-left: 7px; vertical-align: -.1em; }
.pd-name + .ofb { margin-left: 5px; }

.nftb { flex: none; display: inline-block; vertical-align: -.16em; margin-left: 5px; }
.pf-name .nftb { margin-left: 7px; vertical-align: -.1em; }
.ofb + .nftb { margin-left: 5px; }

.pd-nameline { display: flex; align-items: center; min-width: 0; }
.pd-nameline .pd-name { min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }

.te-src { flex: none; font-size: .64rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px 7px; line-height: 1.5; white-space: nowrap; }

.te-card .te-who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; }

.te-leg .tl-dir { font-size: .62rem; font-weight: 800; letter-spacing: .04em;
  padding: 1px 4px; border-radius: 4px; }
.te-leg .tl-long  { color: var(--te-long);  background: color-mix(in srgb, var(--te-long) 15%, transparent); }
.te-leg .tl-short { color: var(--te-short); background: color-mix(in srgb, var(--te-short) 15%, transparent); }
@media (max-width: 620px) {
  
  .te-r1 .te-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 100%; }
  .te-r1 .te-author { flex-wrap: nowrap; min-width: 0; }
}

@media (max-width: 620px) {
  .te-r1 .te-at-h { display: none; }
}
.te-card .te-at-h { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; }

.pf .te-head .te-when { display: inline; flex: 0 1 auto; min-width: 0;
  margin-left: 14px; padding-left: 0; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 620px) {
  
  .pf .te-head .te-when { display: none; }
}

.fd-who { display: inline-flex; align-items: center; margin: 0;
  height: 34px; box-sizing: border-box;
  padding: 2px; gap: 2px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--panel-2); }
.fd-w { display: inline-flex; align-items: center; padding: 6px 10px;
  border-radius: 7px; color: var(--muted); font-size: .86rem; font-weight: 600;
  white-space: nowrap; text-decoration: none;
  transition: background .13s ease, color .13s ease; }
.fd-who .fd-w { height: 100%; box-sizing: border-box; padding: 0 10px; }
.fd-w:hover { color: var(--text); text-decoration: none; }
.fd-w.on { background: var(--panel); color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,.18); }

@media (max-width: 760px) {
  
  .fd-who { margin: 0; }
  .fd-right { flex-wrap: wrap; }
  .fd-search { flex: 1 1 200px; }
}

.te-bin {
  position: absolute; top: 7px; right: 7px; z-index: 3;
  margin: 0; line-height: 0;
}

.te-card:has(.te-bin) .te-r1,
.te-card:has(.te-bin) > .te-main { padding-right: 34px; }
.te-bin-b {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0;
  border: 1px solid transparent; border-radius: 8px;
  background: none; color: var(--muted); cursor: pointer;
  opacity: .5; transition: opacity .12s ease, color .12s ease,
                           background .12s ease, border-color .12s ease;
}
.te-bin-b svg { width: 17px; height: 17px; }

.te-card:hover .te-bin-b { opacity: .85; }
.te-bin-b:hover, .te-bin-b:focus-visible {
  opacity: 1; color: var(--danger);
  background: color-mix(in srgb, var(--danger) 13%, transparent);
  border-color: color-mix(in srgb, var(--danger) 42%, transparent);
  outline: 0;
}

@media (hover: none) {
  .te-bin-b { opacity: .72; width: 34px; height: 34px; }
  .te-bin-b svg { width: 18px; height: 18px; }
  .te-card:has(.te-bin) .te-r1,
  .te-card:has(.te-bin) > .te-main { padding-right: 38px; }
}

.fd-mast { margin: 0 0 6px; }
.fd-mast-h {
  margin: 0; font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--text); line-height: 1.2;
}
@media (max-width: 620px) {
  .fd-mast { margin-bottom: 5px; }
  .fd-mast-h { font-size: 1.15rem; }
}

.pw-feed { max-width: 1120px; padding-top: 8px; }
.fd-layout { display: block; }
@media (min-width: 1120px) {
  .fd-layout {
    display: grid; grid-template-columns: minmax(0, 760px) 300px;
    gap: 24px; align-items: start;
  }
}
.fd-main { min-width: 0; }

.wtf {
  position: sticky; top: 76px; margin: 0 0 20px;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px 0 2px;
  max-height: calc(100vh - 96px); overflow-y: auto;
}

.rail-mission {
  margin: 0 0 20px;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
}
.rail-mission-h {
  margin: 0 0 8px; font-size: .95rem; font-weight: 800; line-height: 1.35;
  letter-spacing: -.01em; color: var(--text);
}
.rail-mission-h em {
  font-style: normal; font-weight: 900;
  background: linear-gradient(90deg, var(--accent), #7dd3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rail-mission-p { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }

.wtf-h {
  margin: 0; padding: 12px 14px 8px;
  font-size: .98rem; font-weight: 800; letter-spacing: -.01em; color: var(--text);
}
.wtf-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; transition: background .12s ease;
}
.wtf-row:hover { background: var(--panel-3); }
.wtf-who {
  display: flex; align-items: center; gap: 10px;
  flex: 1; min-width: 0; color: inherit; text-decoration: none;
}
.wtf-who:hover { text-decoration: none; }
.wtf-av { flex: none; }

.wtf-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.wtf-name {
  display: flex; align-items: center; gap: 4px;
  font-size: .9rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wtf-sub {
  font-size: .78rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.wtf-btn {
  flex: none; min-width: 84px; padding: 6px 12px;
  border: 1px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: #fff; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 700;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.wtf-btn:hover { filter: brightness(1.07); }
.wtf-btn.on {
  background: transparent; color: var(--muted); border-color: var(--border);
}
.wtf-btn.on:hover { color: var(--danger); border-color: var(--danger); filter: none; }
.wtf-btn:disabled { opacity: .7; cursor: default; }

.fd-meme { display: none; margin: 0 0 14px; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--border); background: #fff;
  line-height: 0; transition: border-color .12s ease; }
.fd-meme:hover { border-color: var(--accent); }
.fd-meme img { width: 100%; height: auto; display: block; }

.fd-side { min-width: 0; }

@media (min-width: 1120px) { .fd-side { align-self: stretch; } }

@media (min-width: 1120px) { .fd-side { margin-top: 12px; } }
@media (max-width: 1119px) { .fd-meme { max-width: 520px; } }

.te-spark { display: block; flex: none; overflow: visible; }
.te-spark .tsp-line {
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linejoin: round; stroke-linecap: round;
}

.te-spark .tsp-base {
  stroke: var(--muted); stroke-width: 1; opacity: .45; stroke-dasharray: 2 2;
}
.te-perf { gap: 7px; }
@media (max-width: 620px) {
  
  .te-spark { display: none; }
}

.te-spark .tsp-dot {
  fill: var(--panel-2); stroke: currentColor; stroke-width: 1.3;
}
.te-card:hover .te-spark .tsp-dot { fill: var(--panel-3); }

.te-ended {
  
  margin-left: auto; flex: none; align-self: center;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--te-ended);
  border: 1px solid color-mix(in srgb, var(--te-ended) 40%, transparent);
  background: color-mix(in srgb, var(--te-ended) 13%, transparent);
  border-radius: 999px;
  padding: 1px 7px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.te-perf.done .te-pct { opacity: .82; }

.pd-ended { margin: 10px 0 0; font-size: .92rem; color: var(--text);
  line-height: 1.55; }
.pd-ended b { font-weight: 700; }
.pd-ended .up { color: var(--te-long); font-variant-numeric: tabular-nums; }
.pd-ended .dn { color: var(--te-short); font-variant-numeric: tabular-nums; }
.pd-ended-note { display: block; font-size: .84rem; color: var(--muted); }

.fd-mast-p {
  margin: 5px 0 0; font-size: .92rem; line-height: 1.5;
  color: var(--text); font-weight: 600;
}
.fd-mast-sub { display: block; font-weight: 400; color: var(--muted); }
@media (max-width: 620px) { .fd-mast-sub { display: none; } }

@media (max-width: 620px) { .fd-mast-p { display: none; } }

.te-card.te-done.te-long,
.te-card.te-done.te-short { border-left-color: var(--te-ended); }
.te-card.te-done.te-long:hover,
.te-card.te-done.te-short:hover { border-color: var(--te-ended); }

.te-perf-none { visibility: hidden; }

.te-head .te-perf, .te-head .te-perf-none { flex: none; min-width: 270px; }

.te-head .te-pct { min-width: 48px; text-align: right; }

.te-head .te-ago { padding-left: 9px; min-width: calc(7ch + 9px); }

.te-head .te-px { min-width: 100px; }

.te-head .te-sym { min-width: 6ch; }

.te-head .te-dir { min-width: 9ch; }

.te-head .te-ago { text-align: right; }

@media (max-width: 720px) {
  
  .te-perf-none { display: none; }
  .te-head .te-perf { min-width: 0; }
}

.te-r1 { flex-wrap: wrap; row-gap: 4px; }
.te-r1 .te-author { min-width: 0; }
.te-r1 .te-who { flex-shrink: 1; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

@media (max-width: 720px) {
  .te-head .te-sym, .te-head .te-px, .te-head .te-dir,
  .te-head .te-ago, .te-head .te-pct { min-width: 0; }
  .te-head .te-ago { padding-left: 0; }
  .te-head .te-px { text-align: left; }
}

.fd-rail { display: none; }

.nr {
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px 0 8px; margin: 0 0 16px;
}

.nr-head {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; text-decoration: none; color: inherit;
  border-radius: 12px 12px 0 0; transition: background-color .12s ease;
}
a.nr-head:hover { background: var(--panel-3); }
a.nr-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
a.nr-head:hover .nr-h { color: var(--accent); }
.nr-head-plain { cursor: default; }

.nr-head-row { display: flex; align-items: stretch; border-radius: 12px 12px 0 0; overflow: hidden; }
.nr-head-row .nr-head { flex: 1; min-width: 0; border-radius: 0; }
.nr-hide {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 34px; border: 0; background: none; color: var(--muted);
  cursor: pointer; transition: background-color .12s ease, color .12s ease;
}
.nr-hide:hover { background: var(--panel-3); color: var(--accent); }
.nr-hide:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nr-hide svg { width: 16px; height: 16px; pointer-events: none; }

.nr.is-collapsed > *:not(.nr-head-row) { display: none; }
.nr-hide .nr-eye-off { display: none; }
.nr.is-collapsed .nr-hide .nr-eye { display: none; }
.nr.is-collapsed .nr-hide .nr-eye-off { display: block; }
.nr-h {
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  margin: 0; color: var(--text); flex: 1; min-width: 0;
}

.nr-bell { flex: none; width: 26px; height: 26px; fill: var(--muted);
  padding: 6px; border-radius: 50%; background: var(--panel-3);
  box-sizing: content-box; transition: background-color .12s ease, fill .12s ease; }
a.nr-head:hover .nr-bell { background: rgba(31, 155, 224, .16); fill: var(--accent); }
a.nr-head:hover .nr-bell { fill: var(--accent); }

@keyframes nr-ring {
  0%, 60%, 100% { transform: rotate(0); }
  15% { transform: rotate(13deg); }
  30% { transform: rotate(-10deg); }
  45% { transform: rotate(6deg); }
}
.nr-bell.ring { animation: nr-ring .7s ease-in-out; transform-origin: 50% 15%; }
@media (prefers-reduced-motion: reduce) { .nr-bell.ring { animation: none; } }

.nr-count {
  flex: none; min-width: 18px; padding: 1px 6px; border-radius: 9px;
  background: var(--danger); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 16px; text-align: center;
}
.nr-count.is-zero { display: none; }

.nr-list { display: flex; flex-direction: column; }

.nr-row {
  display: flex; align-items: center; gap: 7px;
  padding: 4px 12px; text-decoration: none; color: var(--text);
  border-left: 2px solid transparent;
}

.nr-row:hover { background: var(--panel-3); text-decoration: none; }
.nr-row:hover .nr-txt, .nr-row:hover .nr-when { text-decoration: none; }
.nr-row:hover .nr-when { color: var(--muted); }

.nr-row.is-new { border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(31, 155, 224, .10), transparent 70%); }
.nr-row.is-new .nr-txt { color: var(--text); }
.nr-row .nr-txt { color: var(--muted); }

.nr-avwrap { flex: none; position: relative; width: 26px; height: 26px; }
.nr-av {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  background: hsl(var(--pf-hue, 210) 42% 38%);
  object-fit: cover;
}

.nr-badge {
  position: absolute; right: -3px; bottom: -3px;
  width: 14px; height: 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--panel-2);
}
.nr-badge svg { width: 9px; height: 9px; fill: #fff; display: block; }
.nr-b-like    { background: var(--danger); }
.nr-b-comment { background: var(--accent); }
.nr-b-follow  { background: #22a99b; }
.nr-b-other   { background: var(--muted); }

.nr-row:hover .nr-badge { box-shadow: 0 0 0 2px var(--panel-3); }
.nr-txt {
  flex: 1; min-width: 0; font-size: 12px; line-height: 1.3;
  
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.nr-when { flex: none; font-size: 10.5px; color: var(--muted); }

.nr-more { flex: none; color: var(--muted); font-size: 17px; line-height: 1; }
a.nr-head:hover .nr-more { color: var(--accent); }

.nr-empty {
  margin: 2px 0 4px; padding: 10px 12px 12px;
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--muted);
}
.nr-e-ico {
  flex: none; width: 17px; height: 17px; color: #22a99b;
  padding: 3px; border-radius: 50%; background: rgba(34, 169, 155, .13);
  box-sizing: content-box;
}
.nr-empty.is-hidden { display: none; }
.nr-all {
  display: block; padding: 7px 13px 3px;
  font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none;
}
.nr-all:hover { text-decoration: underline; }

@keyframes nr-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.nr-row.nr-fresh { animation: nr-in .28s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .nr-row.nr-fresh { animation: none; }
}

.nr-stats { padding-bottom: 10px; }
.ns-row { padding: 2px 13px 9px; }
.ns-top { display: flex; align-items: baseline; gap: 8px; margin: 0 0 3px; }
.ns-label { font-size: 12px; color: var(--muted); flex: 1; min-width: 0; }

.ns-total {
  font-size: 13px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ns-chart { display: block; width: 100%; height: 46px; }

.ns-chart .ns-z { fill: var(--border); }

.ns-chart .ns-bar { transition: filter .08s linear; }
.ns-chart .ns-bar.on { filter: brightness(1.45); }

.ns-chart .ns-hit { outline: none; cursor: default; }

.ns-tip {
  position: absolute; z-index: 1080; pointer-events: none;
  opacity: 0; transition: opacity .1s linear;
  background: var(--panel-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 9px; box-shadow: var(--shadow);
  font-size: 12px; line-height: 1.3; white-space: nowrap;
}
.ns-tip.on { opacity: 1; }

.ns-tip b { display: block; color: var(--text); font-size: 13px; font-weight: 700;
            font-variant-numeric: tabular-nums; }
.ns-tip span { display: block; color: var(--muted); font-size: 11px; }
@media (prefers-reduced-motion: reduce) {
  .ns-tip, .ns-chart .ns-bar { transition: none; }
}

@media (min-width: 1384px) {
  .pw-feed.has-rail { max-width: 1384px; }
  .pw-feed.has-rail .fd-layout {
    grid-template-columns: 240px minmax(0, 760px) 300px;
  }
  .fd-rail { display: block; }
  
  .fd-rail { margin-top: 12px; }
}

.fd-rail { position: sticky; top: 76px; }
@media (max-height: 820px) {
  .fd-rail { position: static; }
}

.an-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 18px;
  margin: 0 0 18px;
}
.an-h1 { font-size: 24px; font-weight: 800; margin: 0; flex: 1; min-width: 0; }

.an-range { display: flex; gap: 4px; flex: none; }
.an-r {
  padding: 5px 11px; border-radius: 999px; text-decoration: none;
  font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid transparent;
}
.an-r:hover { color: var(--text); background: var(--panel-2); }
.an-r.on { color: var(--text); background: var(--panel-2); border-color: var(--border); }

.an-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .an-grid { grid-template-columns: 1fr; } }
.an-card {
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px 12px; min-width: 0;
}
.an-top { display: flex; align-items: baseline; gap: 10px; }
.an-label { font-size: 13px; font-weight: 700; color: var(--text); margin: 0; flex: 1; }
.an-total {
  font-size: 22px; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.an-sub { margin: 2px 0 10px; font-size: 11.5px; color: var(--muted); }

.an-card .ns-chart { height: 120px; }

.an-posts { margin: 26px 0 0; }
.an-h2 { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.an-tbl { width: 100%; border-collapse: collapse; }
.an-tbl th, .an-tbl td {
  padding: 9px 10px; border-bottom: 1px solid var(--border);
  font-size: 13px; text-align: left; vertical-align: middle;
}
.an-tbl th { color: var(--muted); font-weight: 600; font-size: 12px; }
.an-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.an-tbl td a { color: var(--text); text-decoration: none; }
.an-tbl td a:hover { color: var(--accent); }
.an-tbl tbody tr:hover { background: var(--panel-2); }
.an-note { margin: 18px 0 0; font-size: 12px; color: var(--muted); }

.nr-new {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: calc(100% - 20px); margin: 2px 10px 6px; padding: 7px 10px;
  border: 1px solid rgba(31, 155, 224, .45); border-radius: 999px;
  background: rgba(31, 155, 224, .12); color: var(--accent);
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease;
}
.nr-new:hover { background: rgba(31, 155, 224, .2); border-color: var(--accent); }
.nr-new:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nr-new[hidden] { display: none; }

.nr-new-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  flex: none; animation: nr-pulse 2s ease-in-out infinite;
}
@keyframes nr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .nr-new-dot { animation: none; }
}

.pp-note { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }

.fd-mast-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

.nr-nav { padding: 6px; }
.rn-item {
  display: flex; align-items: center; gap: 11px;
  
  min-height: 44px; padding: 8px 12px; border-radius: 9px;
  color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 600; line-height: 1;
  transition: background-color .12s ease, color .12s ease;
}
.rn-item svg { width: 20px; height: 20px; flex: none; color: var(--muted);
  transition: color .12s ease; }
.rn-item:hover { background: var(--panel-3); color: var(--text); text-decoration: none; }
.rn-item:hover svg { color: var(--accent); }
.rn-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.rn-item.on { background: rgba(31, 155, 224, .13); color: var(--accent); }
.rn-item.on svg { color: var(--accent); }

.fd-beta {
  display: inline-block; vertical-align: middle;
  margin-left: 10px; padding: 3px 8px; border-radius: 999px;
  background: rgba(31, 155, 224, .15); color: var(--accent);
  border: 1px solid rgba(31, 155, 224, .45);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.2;
  text-transform: uppercase; position: relative; top: -2px;
}
.rn-beta {
  margin-left: auto; padding: 2px 6px; border-radius: 999px;
  background: rgba(31, 155, 224, .15); color: var(--accent);
  font-size: 9.5px; font-weight: 800; letter-spacing: .07em; line-height: 1.3;
}
.rn-item.on .rn-beta { background: rgba(31, 155, 224, .26); }

.fd-mast-top {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
}
.fd-mast-top .fd-mast-h { flex: none; }
.fd-mast-beta {
  flex: 1 1 300px; min-width: 0; margin: 0; padding: 7px 11px;
  border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
  background: rgba(31, 155, 224, .09);
  font-size: 11.5px; line-height: 1.4; color: var(--text);
}

@media (max-width: 700px) { .fd-mast-beta { flex-basis: 100%; font-size: 12.5px; } }

.cf-alt { color: var(--accent) !important;
  border: 1px solid rgba(31, 155, 224, .55) !important; background: transparent !important;
  margin-right: auto; }
.cf-alt:hover { background: rgba(31, 155, 224, .12) !important; }
.cf-note { margin: 10px 0 0; padding: 9px 11px; border-radius: 8px;
  background: rgba(31, 155, 224, .09); border-left: 3px solid var(--accent);
  font-size: 12.5px; line-height: 1.45; color: var(--text); }

.te-pencil { right: 42px; }
.te-pencil .te-bin-b { color: var(--muted); }
.te-pencil:hover .te-bin-b { color: var(--accent); }

.pd-editpic > summary {
  cursor: pointer; padding: 8px 0; font-size: .9rem; color: var(--muted);
  list-style: revert;
}
.pd-editpic > summary:hover { color: var(--text); }
.pd-editacts { display: flex; gap: 8px; align-items: center; margin-top: 12px; }

.te-perf[data-tip] { cursor: help; }

.ns-tip.tip-plain { max-width: 320px; white-space: normal; color: var(--text);
  font-size: 12px; line-height: 1.45; }

.te-card .te-perf[data-tip] { position: relative; z-index: 1; }

.pp-search { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; }
.pp-search input {
  flex: 1; min-width: 0; padding: 9px 12px; border-radius: 9px;
  background: var(--panel); color: var(--text); border: 1px solid var(--border);
  font: inherit; font-size: .93rem;
}
.pp-search input:focus { outline: none; border-color: var(--accent); }
.pp-clear { flex: none; font-size: .85rem; color: var(--muted); text-decoration: none; }
.pp-clear:hover { color: var(--accent); }

.nr-demo { margin: 0 12px 8px; padding: 6px 9px; border-radius: 7px;
  background: rgba(31,155,224,.1); border-left: 3px solid var(--accent);
  font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.nr-demo a { color: var(--accent); font-weight: 600; }

.cmi-signup { padding: 14px 16px; }
.cmi-signup-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmi-signup-fake {
  padding: 9px 14px; border-radius: 9px; background: var(--panel);
  border: 1px solid var(--border); color: var(--muted); font-size: .93rem;
}
.cmi-signup-wide { flex: 1; min-width: 120px; font-style: italic; }
.cmi-signup-dir {
  padding: 9px 16px; border-radius: 9px; border: 1px solid var(--border);
  color: var(--muted); font-weight: 700; font-size: .93rem;
}
.cmi-signup-long { color: var(--te-long, #35c26a); border-color: var(--te-long, #35c26a); }
.cmi-signup-go { flex: none; text-decoration: none; }
.cmi-signup-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.cmi-signup-note a { color: var(--accent); font-weight: 600; }
@media (max-width: 620px) {
  .cmi-signup-fake, .cmi-signup-dir { font-size: .85rem; padding: 8px 11px; }
}

.cmi-anon { margin: 8px 2px 0; font-size: 12px; color: var(--muted); }
.cmi-anon a { color: var(--accent); font-weight: 600; }

@media (max-width: 620px) {
  .te-head .te-sym,
  .te-head .te-dir,
  .te-head .te-px,
  .te-head .te-ago { min-width: 0; }
}

.fd-view-sel { display: inline-flex; align-items: center; gap: 6px;
  height: 34px; box-sizing: border-box; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--panel-2); }
.fd-view-lbl { color: var(--muted); font-size: .76rem; font-weight: 600; }
.fd-view-sel select { border: 0; background: none; color: var(--text);
  font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.fd-view-sel select:focus { outline: none; }

#teg-view[hidden] { display: none; }

.fd-filters-dd { position: relative; }
.fd-filters-dd > summary {
  display: inline-flex; align-items: center; margin: 0;
  height: 34px; box-sizing: border-box; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--border);
  background: none; color: var(--muted); font-size: .76rem; font-weight: 600;
  white-space: nowrap; cursor: pointer; font-family: inherit; list-style: none;
  transition: background .13s ease, color .13s ease, border-color .13s ease;
}
.fd-filters-dd > summary::-webkit-details-marker { display: none; }
.fd-filters-dd > summary:hover { color: var(--text); border-color: var(--text); }
.fd-filters-dd[open] > summary, .fd-filters-dd.has-active > summary {
  
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border-color: color-mix(in srgb, var(--accent) 70%, var(--border));
  color: var(--text);
}
.fd-filters-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  display: flex; flex-direction: column; gap: 8px; min-width: 220px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel); box-shadow: 0 10px 28px rgba(0,0,0,.4);
}
.fd-filters-panel label { display: flex; align-items: flex-start; gap: 8px;
  font-size: .8rem; color: var(--text); cursor: pointer; }
.fd-filters-panel input[type="checkbox"] { margin-top: 2px; }
.fd-filters-panel .hint { display: block; color: var(--muted); font-size: .68rem; font-weight: 400; }
.te-card.fd-hide, .teg-tile.fd-hide, .teg2-tile.fd-hide, .tec-row.fd-hide { display: none; }

.teg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 2px solid rgba(0,0,0,.65); border-radius: 10px; overflow: hidden;
  margin: 4px 0 0;
  
  grid-auto-rows: 178px; }

.teg-tile.teg-hero { grid-column: span 2; grid-row: span 2; padding: 0;
  height: auto; }
.teg-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) {
  .teg-tile.teg-hero { grid-column: span 2; }
}

.teg-tile.teg-chartlet { grid-column: span 4; grid-row: span 2; padding: 0; height: auto; }

.teg-chartlet img { display: block; width: 100%; height: 100%; object-fit: contain; }

.teg-chartlet-label { position: absolute; top: 8px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px;
  border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(2px);
  font-weight: 700; font-size: .78rem; color: var(--text); }

.teg-chartlet-who { position: absolute; bottom: 8px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px;
  border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(2px);
  font-weight: 700; font-size: .78rem; color: var(--text); text-decoration: none; }
.teg-chartlet-who:hover { text-decoration: none; color: var(--text); }
.teg-chartlet-who .teg-av { width: 22px; height: 22px; }
@media (max-width: 560px) {
  
  .teg-tile.teg-chartlet { grid-column: span 2; grid-row: span 1; }
}

.teg-tile { position: relative; height: 178px; border-right: 2px solid rgba(0,0,0,.65);
  border-bottom: 2px solid rgba(0,0,0,.65); padding: 14px 15px 12px;
  display: flex; flex-direction: column; gap: 5px; overflow: hidden;
  transition: filter .12s; background: var(--panel);
  
  --teg-up: #2fa85b; --teg-down: #dd5049; --teg-flat: #414b56; }
.teg-tile:hover { filter: brightness(1.1); }
.teg-tile.up   { background: color-mix(in srgb, var(--teg-up) var(--teg-heat), var(--panel)); }
.teg-tile.dn   { background: color-mix(in srgb, var(--teg-down) var(--teg-heat), var(--panel)); }
.teg-tile.flat { background: color-mix(in srgb, var(--teg-flat) 72%, var(--panel)); }

.teg-stock { display: flex; flex-direction: column; gap: 4px; }
.teg-toprow { display: flex; align-items: center; gap: 4px; min-width: 0; }
.teg-toprow .sy-logo { flex: none; }
.teg-sym { flex: none; font-weight: 800; font-size: .82rem; letter-spacing: .02em; color: var(--text); }
.teg-dir { flex: none; margin-left: auto; font-size: .56rem; font-weight: 800; letter-spacing: .02em;
  padding: 2px 5px; border-radius: 5px; background: rgba(0,0,0,.32); border: 1px solid;
  text-transform: uppercase; }
.teg-tile.te-long  .teg-dir { color: #8bffa8; border-color: #8bffa8; }
.teg-tile.te-short .teg-dir { color: #ffb3b3; border-color: #ffb3b3; }

.teg-tile.te-neutral .teg-dir { color: #b9c2cc; border-color: #6d7883; }
.teg-entry { flex: none; font-size: .68rem; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; }

.teg-subrow { display: flex; align-items: center; gap: 7px; }
.teg-move { font-weight: 800; font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.teg-move.up { color: #d7ffe0; }
.teg-move.dn { color: #ffe1de; }

.teg-none-badge { font-size: .6rem; font-weight: 800; color: var(--muted); opacity: .7; }
.teg-pending-badge { font-size: .6rem; font-weight: 800; letter-spacing: .03em; color: var(--muted);
  background: var(--panel-3); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }

.teg-nomove { color: var(--muted); font-weight: 700; opacity: .75; }
.teg-ago { flex: none; font-size: .66rem; font-weight: 700; color: var(--text); opacity: .65; }

.teg-reasons { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.teg-reason { display: flex; align-items: center; justify-content: center; width: 17px; height: 17px;
  border-radius: 6px; cursor: help; box-shadow: 0 0 0 1px rgba(0,0,0,.4); flex: none;
  color: #fff; font-size: .6rem; font-weight: 800; }

.teg-headline { font-size: .68rem; line-height: 1.25; color: var(--text);
  opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }
.teg-foot { display: flex; align-items: center; gap: 9px; margin-top: auto;
  padding-top: 9px; border-top: 1px solid rgba(255,255,255,.1); font-size: .74rem;
  color: var(--text); }
.teg-av { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: var(--panel-3); border: 1.5px solid rgba(255,255,255,.35); }
.teg-av-fallback { display: flex; align-items: center; justify-content: center;
  background: hsl(var(--pf-hue, 210) 55% 42%); color: rgba(255,255,255,.9);
  font-weight: 800; font-size: 1.05rem; }

.teg-who { min-width: 0; flex: 1; font-weight: 700; font-size: .7rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.teg-whowrap { display: flex; align-items: center; gap: 9px; min-width: 0;
  flex: 1; color: inherit; text-decoration: none; pointer-events: auto; }

.teg-reacts { flex: none; font-size: .66rem; font-weight: 700; opacity: .8; }

.teg-hit { position: absolute; inset: 0; z-index: 1; }
.teg-toprow, .teg-subrow, .teg-foot { position: relative; z-index: 2; pointer-events: none; }
.teg-reason, .teg-av { pointer-events: auto; }

.teg-dir { pointer-events: auto; cursor: help; }

.teg-symwrap { display: inline-flex; align-items: center; gap: 4px;
  pointer-events: auto; cursor: pointer; }

@media (max-width: 560px) {
  .teg-grid { grid-template-columns: repeat(2, 1fr); }
}

.teg-chartpop { display: none; position: fixed; width: clamp(300px, 38vw, 820px);
  max-height: 50vh; background: var(--panel-2); border: 1px solid var(--accent);
  border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.55); z-index: 500;
  overflow: hidden; pointer-events: none; }
.teg-chartpop.on { display: block; }
.teg-chartpop img { display: block; width: 100%; height: auto; }

.teg-chartpop.loading, .teg-chartpop.err { min-height: 200px; display: flex;
  align-items: center; justify-content: center; }
.teg-chartpop.loading img, .teg-chartpop.err img { display: none; }
.teg-chartpop.loading::after { content: 'Loading chart…'; color: var(--muted);
  font-size: .85rem; }
.teg-chartpop.err::after { content: 'No chart available for this ticker';
  color: var(--muted); font-size: .85rem; }

.teg-chartpop-backdrop { display: none; position: fixed; inset: 0; z-index: 499;
  background: rgba(0,0,0,.6); }
.teg-chartpop-backdrop.on { display: block; }
.teg-chartpop.modal { left: 50% !important; top: 50% !important;
  transform: translate(-50%, -50%); width: min(92vw, 640px); max-height: 80vh;
  
  height: auto !important;
  pointer-events: auto; box-shadow: 0 20px 60px rgba(0,0,0,.7); }
.teg-chartpop-close { display: none; position: absolute; top: 6px; right: 8px;
  z-index: 2; width: 30px; height: 30px; border-radius: 999px; border: none;
  background: rgba(0,0,0,.55); color: var(--text); font-size: 1.3rem; line-height: 1;
  cursor: pointer; }
.teg-chartpop.modal .teg-chartpop-close { display: block; }

.teg-hero-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
  background: rgba(3, 4, 6, .88);
  cursor: zoom-out;
  padding: 40px;
}
.teg-hero-lightbox.on { display: flex; }
.teg-hero-lightbox img {
  max-width: min(720px, 90vw); max-height: 90vh;
  border-radius: 12px; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.teg-hero img, .teg2-hero img { cursor: zoom-in; }

.teg2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: 2px solid rgba(0,0,0,.65); border-radius: 10px; overflow: hidden;
  margin: 4px 0 0;
  grid-auto-rows: 89px; }

@media (max-width: 600px) {
  .teg2-grid { grid-template-columns: 1fr; }
}

.teg2-tile.teg2-note { --teg-heat: 0%; border-left: 3px solid var(--border, #3a3f45); }
.teg2-notetag { font-size: .58rem; font-weight: 800; letter-spacing: .09em;
  color: var(--muted, #8b949e); border: 1px solid var(--border, #3a3f45);
  border-radius: 4px; padding: 1px 5px; }
.teg2-tile.teg2-note .teg2-headline { color: var(--text, #e6edf3); font-weight: 600; }

.teg2-tile {
  position: relative; height: 89px;
  border-right: 2px solid rgba(0,0,0,.65); border-bottom: 2px solid rgba(0,0,0,.65);
  padding: 7px 10px;
  display: flex; flex-direction: column; gap: 3px; overflow: hidden;
  transition: filter .12s; background: var(--panel);
  --teg-up: #2fa85b; --teg-down: #dd5049; --teg-flat: #414b56;
}
.teg2-tile:hover { filter: brightness(1.1); }
.teg2-tile.up   { background: color-mix(in srgb, var(--teg-up) var(--teg-heat), var(--panel)); }
.teg2-tile.dn   { background: color-mix(in srgb, var(--teg-down) var(--teg-heat), var(--panel)); }
.teg2-tile.flat { background: color-mix(in srgb, var(--teg-flat) 72%, var(--panel)); }

.teg2-toprow { display: flex; align-items: center; gap: 6px; }
.teg2-symwrap { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: .74rem; color: var(--text); }
.teg2-sym { font-weight: 800; }
.teg2-dir {
  font-size: .54rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  padding: 0 5px; border-radius: 4px; border: 1px solid; cursor: help; line-height: 1.4;
}
.teg2-tile.te-long  .teg2-dir { color: #8bffa8; border-color: #8bffa8; }
.teg2-tile.te-short .teg2-dir { color: #ffb3b3; border-color: #ffb3b3; }
.teg2-tile.te-neutral .teg2-dir { color: #b9c2cc; border-color: #6d7883; }
.teg2-entry { font-size: .64rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.teg2-move { font-weight: 800; font-size: .66rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.teg2-move.up { color: #d7ffe0; }
.teg2-move.dn { color: #ffe1de; }
.teg2-ago { margin-left: auto; font-size: .58rem; color: var(--muted); white-space: nowrap; }

.teg2-headline { font-size: .64rem; line-height: 1.25; color: var(--text); opacity: .9;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }

.teg2-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; }
.teg2-whowrap { display: flex; align-items: center; gap: 5px; min-width: 0; color: inherit; text-decoration: none; }
.teg2-av { flex: none; width: 18px; height: 18px; border-radius: 50%; object-fit: cover;
  background: var(--panel-3); border: 1px solid rgba(255,255,255,.35); }
.teg2-av-fallback { display: flex; align-items: center; justify-content: center;
  background: hsl(var(--pf-hue, 210) 55% 42%); color: rgba(255,255,255,.9);
  font-weight: 800; font-size: .5rem; }
.teg2-who { min-width: 0; font-weight: 700; font-size: .64rem; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.teg2-reacts { margin-left: auto; display: flex; gap: 6px; font-size: .58rem; font-weight: 700; }
.teg2-agree { color: var(--te-long, #2ae84f); }
.teg2-disagree { color: var(--te-short, #ff5959); }
.teg2-hit { position: absolute; inset: 0; z-index: 1; }

.teg2-toprow, .teg2-headline, .teg2-foot { position: relative; z-index: 2; pointer-events: none; }
.teg2-symwrap { pointer-events: auto; cursor: pointer; }
.teg2-dir { pointer-events: auto; }
.teg2-whowrap { pointer-events: auto; }
.teg2-reacts { pointer-events: auto; }

.teg2-tile.teg2-hero { grid-row: span 4; padding: 0; height: auto; }
.teg2-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

.tec-list { border-top: 1px solid var(--border); }
.tec-row {
  position: relative;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  transition: background-color .1s;
}
.tec-row:hover { background: var(--panel-3, rgba(255,255,255,.02)); }
.tec-title {
  margin: 0 0 6px; font-size: .92rem; font-weight: 700; color: var(--text);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.tec-meta {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: .78rem; color: var(--muted);
}
.tec-whowrap {
  display: flex; align-items: center; gap: 6px;
  color: inherit; text-decoration: none; position: relative; z-index: 2;
}
.tec-whowrap:hover .tec-who { color: var(--accent); text-decoration: underline; }
.tec-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }
.tec-av-fallback {
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--pf-hue, 210) 55% 42%); color: #fff;
  font-weight: 800; font-size: .6rem;
}
.tec-who { font-weight: 600; color: var(--text); }
.tec-dot { color: var(--border-2, var(--muted)); }
.tec-sym { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--text); }
.tec-dir { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.tec-dir.long { color: var(--te-long); }
.tec-dir.short { color: var(--te-short); }
.tec-dir.neutral { color: var(--te-neutral); }
.tec-move { font-weight: 800; font-variant-numeric: tabular-nums; }
.tec-move.up { color: var(--te-long); }
.tec-move.dn { color: var(--te-short); }
.tec-hit { position: absolute; inset: 0; z-index: 1; }
@media (max-width: 600px) {
  .tec-title { font-size: .88rem; }
  .tec-meta { font-size: .74rem; }
}

.tel-list { border-top: 1px solid var(--border); overflow-x: auto; }
.tel-row {
  position: relative;
  display: grid;
  
  grid-template-columns: minmax(0, 17rem) 4.4rem 3.1rem 3.6rem 4.6rem;
  align-items: center; column-gap: 6px;
  
  padding: 2px 4px;
  border-bottom: 1px solid var(--border);
  font-size: .76rem; line-height: 1.2; color: var(--muted);
  overflow: hidden;
  transition: background-color .1s;
}
.tel-row:hover { background: var(--panel-3, rgba(255,255,255,.02)); }

.tel-c {
  min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.tel-c-who { display: flex; align-items: center; min-width: 0; }
.tel-c-who .tec-whowrap, .tel-c-who .tec-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tel-c-move, .tel-c-ago { text-align: right; font-variant-numeric: tabular-nums; }
.tel-row .tec-av, .tel-row .tec-av-fallback { width: 15px; height: 15px; }
.tel-row .tec-av-fallback { font-size: .5rem; }

@media (max-width: 600px) {
  .tel-row { font-size: .72rem;
    grid-template-columns: minmax(0, 10rem) 3.6rem 2.6rem 3.1rem 3.9rem; }
}

.pf-chats { display: flex; flex-direction: column; }
.pfc { padding: 10px 2px; border-top: 1px solid var(--border); }
.pfc:first-child { border-top: 0; }
.pfc-hd { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.pfc-where { font-size: .74rem; font-weight: 700; color: var(--accent);
  text-decoration: none; }
.pfc-where:hover { text-decoration: underline; }
.pfc-where.tb { color: #35c26a; }
.pfc-at { font-size: .72rem; color: #7f8893; font-variant-numeric: tabular-nums; }
.pfc-body { font-size: .88rem; line-height: 1.5; color: var(--text);
  white-space: pre-wrap; word-break: break-word; }
.fd-tab-n { display: inline-block; min-width: 16px; padding: 0 4px; margin-left: 3px;
  border-radius: 999px; background: rgba(255,255,255,.12); font-size: .68rem;
  font-weight: 800; text-align: center; }
.pfc-img img { display: block; max-width: 220px; max-height: 150px; border-radius: 8px;
  border: 1px solid var(--border); margin-top: 4px; }
.pfc-gone { color: #7f8893; font-style: italic; }

.pd-entrynote { margin: .45rem 0 0; font-size: .72rem; line-height: 1.4;
  color: var(--muted); opacity: .8; max-width: 72ch; }
