/* =====================================================================
   FORENSA · halaman /trace — masukan, lacak langsung, hasil perkara, grafik
   Memakai token dari site.css. Tidak ada warna baru kecuali warna peran di grafik.
   ===================================================================== */

/* ---------------------------------------------------------------- masukan */
.tp-entry { padding-top: 60px; }
.tp-intro .h1 { margin: 16px 0 16px; font-size: clamp(34px, 4.4vw, 58px); }
.tp-intro .lede { margin-bottom: 28px; }
.tp-cmd { max-width: 820px; }
.tp-cmd .btn { height: 44px; padding: 0 22px; }
.tp-msg { min-height: 0; max-width: 820px; margin-top: 10px; font-size: 14px; color: var(--dim); }
.tp-msg:empty { display: none; }
.tp-msg.warn { color: #ffd59a; }
.tp-compact .tp-intro { display: none; }
.tp-compact .tp-entry { padding-top: 22px; }
.tp-compact .tp-cmd { max-width: none; }

/* ---------------------------------------------------------------- keadaan awal */
.tp-first { padding-top: 34px; }
.tp-doors { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(14, 21, 40, .55), rgba(10, 16, 32, .35)); overflow: hidden; }
.tp-door { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; border-right: 1px solid var(--line); transition: background .15s; min-width: 0; }
.tp-door:last-child { border-right: 0; }
a.tp-door:hover { background: rgba(69, 200, 255, .035); }
.tp-door > b { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.tp-door .linkarrow { margin-top: auto; padding-top: 6px; font-size: 14.5px; }
.tp-get ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--dim); }
.tp-get li { position: relative; padding-left: 18px; }
.tp-get li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1px; background: var(--acc); box-shadow: var(--glow); }
.tp-get li b { color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------- pemberitahuan */
#notice { padding-top: 18px; }
.tp-note { font-size: 14.5px; line-height: 1.55; max-width: 900px; }
.tp-note-act { margin-top: 12px; gap: 8px; }
.tp-loading { display: flex; align-items: center; gap: 12px; color: var(--dim); }

/* ---------------------------------------------------------------- kepala perkara */
.tp-work { padding-top: 26px; }
.tp-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.tp-head-l { min-width: 0; }
.tp-title { font-size: clamp(25px, 2.7vw, 36px); letter-spacing: -.028em; line-height: 1.08; margin: 12px 0 8px; overflow-wrap: anywhere; }
.tp-title-run { font-size: clamp(22px, 2.2vw, 30px); }
.tp-title .mono { font-size: .78em; color: var(--acc2); letter-spacing: 0; }
.tp-chips { gap: 8px; margin-top: 4px; }
.tp-chips:empty { display: none; }
.tp-chips .chip { white-space: normal; height: auto; min-height: 24px; padding: 4px 9px; line-height: 1.3; }
.tp-head-btns { flex: none; gap: 8px; }
.tp-facts { display: grid; grid-template-columns: 1.55fr repeat(7, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tp-facts > div { padding: 14px 14px 14px 0; min-width: 0; }
.tp-facts > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.tp-facts dt { font: 400 11px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.tp-facts dd { font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; overflow-wrap: anywhere; }
.tp-facts dd.mono { font-weight: 400; font-size: 13px; flex-wrap: nowrap; white-space: nowrap; }
.tp-facts dd .na { font: 400 13.5px var(--sans); color: var(--faint); white-space: normal; }
.tp-where { margin-top: 16px; }
.tp-where-h { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 9px; }
.tp-bar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--panel2); }
.tp-bar i { display: block; min-width: 3px; opacity: .9; }
.tp-where-l { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--dim); }
.tp-where-l span { display: inline-flex; align-items: center; gap: 7px; }
.tp-where-l i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.tp-where-l b { color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------- baris aksi */
.tp-actions { margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(14, 21, 40, .7), rgba(10, 16, 32, .6)); }
.tp-actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-actions-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tp-actions-status:not(:empty) { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.tp-actions-status > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }
.tp-share { flex-basis: 100%; }

/* ---------------------------------------------------------------- lacak berjalan */
.tp-live { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; margin-top: 20px; align-items: start; }
.tp-live .tp-slot .tg { --tg-h: clamp(420px, calc(100vh - 300px), 700px); }
.tp-side { display: grid; gap: 12px; min-width: 0; }
.tp-counters { display: grid; grid-template-columns: 1fr 1fr; }
.tp-ctr { padding: 14px 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.tp-ctr:nth-child(odd) { border-right: 1px solid var(--line); }
.tp-ctr span { display: block; font: 400 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.tp-ctr b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.tp-ctr b small { font-size: 12.5px; font-weight: 400; color: var(--dim); letter-spacing: 0; }
.tp-ctr-foot { grid-column: 1 / -1; padding: 10px 16px; color: var(--dim); line-height: 1.45; }
.tp-logbox { overflow: hidden; }
.tp-log { list-style: none; max-height: 290px; overflow: auto; padding: 6px 0; font-size: 13px; }
.tp-log li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 6px 16px; color: var(--dim); line-height: 1.45; }
.tp-log li:first-child { color: var(--fg); }
#liveLog li:first-child { animation: tp-in .4s ease-out; }
@keyframes tp-in { from { opacity: 0; transform: translateY(-4px); } }
.tp-log time { font-size: 11.5px; color: var(--faint); padding-top: 1px; }
.tp-log button { all: unset; cursor: pointer; overflow-wrap: anywhere; }
.tp-log button:hover { color: var(--acc2); }
.tp-log button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.tp-log-full { max-height: none; }
.tp-calm { font-size: 14px; line-height: 1.55; }

/* ---------------------------------------------------------------- tab */
.tp-results { margin-top: 26px; }
.tp-tabs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tp-tabs-wrap::-webkit-scrollbar { display: none; }
.tp-tabs { display: flex; gap: 2px; width: max-content; }
.tp-tabs button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px 13px; font-size: 14.5px; font-weight: 600; color: var(--dim); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tp-tabs button:hover { color: var(--fg); }
.tp-tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--acc); }
.tp-tabs button span { font: 400 11.5px/1 var(--mono); color: var(--faint); padding: 3px 6px; border-radius: 5px; background: rgba(255, 255, 255, .04); }
.tp-tabs button[aria-selected="true"] span { color: var(--acc2); background: var(--acc-dim); }
.tp-tabs button:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; border-radius: 6px; }
.tp-pnote { margin-bottom: 12px; max-width: 760px; }

/* ---------------------------------------------------------------- temuan */
.tp-fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.tp-flist { display: grid; gap: 12px; min-width: 0; }
.tp-fside { min-width: 0; }
.tp-slot-side { position: sticky; top: calc(var(--nav-h) + 14px); }
.tp-slot-side .tg { --tg-h: min(640px, calc(100vh - var(--nav-h) - 40px)); }
.tp-slot-side .tg:has(.tg-detail:not([hidden])) { --tg-h: min(360px, calc(52vh - var(--nav-h))); }
.tp-slot-side .tg-detail { max-height: calc(48vh); overflow: auto; }
.tp-slot-big .tg { --tg-h: clamp(460px, calc(100vh - 190px), 780px); }
.tp-stopnote { padding: 10px 14px; border: 1px dashed var(--line2); border-radius: var(--r-sm); }
.fd { position: relative; padding: 18px 20px 16px 22px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(14, 21, 40, .9), rgba(10, 16, 32, .92)); min-width: 0; }
.fd::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--faint); }
.fd.sev-critical::before { background: var(--danger); box-shadow: 0 0 14px rgba(255, 93, 115, .5); }
.fd.sev-high::before { background: var(--warn); }
.fd.sev-medium::before { background: var(--acc); }
.fd-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fd-usd { margin-left: auto; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.fd-t { font-size: 18.5px; letter-spacing: -.015em; line-height: 1.25; margin: 12px 0 6px; overflow-wrap: anywhere; }
.fd-b { color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.fd-why { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.fd-why span { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--acc2); margin-bottom: 4px; }
.fd-why p { font-size: 13.5px; color: var(--fg); opacity: .88; overflow-wrap: anywhere; }
.fd-ev { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tp-ev { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line2); font-size: 11.5px; color: var(--acc2); white-space: nowrap; transition: border-color .15s, background .15s; }
.tp-ev:hover { border-color: var(--acc-line); background: var(--acc-dim); }
.ext { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; flex: none; }
.fd-act { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; }
.fd-act:empty { display: none; }
.tp-conf .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.tp-conf .bars i { width: 3px; border-radius: 1px; background: var(--line2); }
.tp-conf .bars i:nth-child(1) { height: 4px; } .tp-conf .bars i:nth-child(2) { height: 7px; } .tp-conf .bars i:nth-child(3) { height: 10px; }
.tp-conf .bars i.on { background: var(--acc2); }
.tp-empty-f p { margin-top: 6px; }
.tp-inline { all: unset; cursor: pointer; color: var(--acc2); text-decoration: underline; text-decoration-color: var(--acc-line); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- tabel */
.tp-table td { font-size: 13.5px; }
.tp-table .r { text-align: right; }
.tp-table tbody tr:hover td { background: rgba(255, 255, 255, .015); }
.nowrap { white-space: nowrap; }
.tp-addr { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.tp-addr .mono { font-size: 12.5px; }
.tp-x { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--dim); }
.tp-x:hover { color: var(--acc2); background: rgba(255, 255, 255, .05); }
.tp-copy { all: unset; cursor: pointer; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--dim); flex: none; }
.tp-copy:hover { color: var(--acc2); background: rgba(255, 255, 255, .05); }
.tp-copy:focus-visible { outline: 2px solid var(--acc); }
.tp-copy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.tp-mini { height: 18px; padding: 0 6px; font-size: 10.5px; }
.tp-who { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tp-who .mono { font-size: 12.5px; }
.tp-who:hover .mono { color: var(--acc2); }
.tp-txs { display: flex; flex-wrap: nowrap; gap: 4px; align-items: center; width: max-content; }
.tp-txs .tiny { white-space: nowrap; padding-left: 2px; }
.role-ic { display: inline-block; vertical-align: -1px; flex: none; }

/* ---------------------------------------------------------------- grafik (graph.js) */
.tg { position: relative; container-type: inline-size; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: radial-gradient(120% 90% at 30% 40%, rgba(40, 90, 200, .09), transparent 65%), radial-gradient(rgba(160, 190, 255, .07) 1px, transparent 1.2px) 0 0 / 22px 22px, #050811; }
.tg-stage { position: relative; height: var(--tg-h, 520px); }
.tg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; outline: 0; }
.tg-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--acc-line); }
.tg-grab .tg-canvas { cursor: grabbing !important; }
.tg-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--dim); font-size: 14.5px; pointer-events: none; padding: 20px; text-align: center; }
.tg-tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; padding: 4px; border-radius: 11px; border: 1px solid var(--line); background: rgba(5, 8, 17, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tg-tools button { all: unset; cursor: pointer; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--dim); }
.tg-tools button:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.tg-tools button:focus-visible { outline: 2px solid var(--acc); }
.tg-tools svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.tg-legend { position: absolute; left: 12px; bottom: 10px; right: 230px; display: flex; flex-wrap: wrap; gap: 4px 13px; font-size: 11.5px; color: var(--dim); pointer-events: none; }
.tg-legend span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; text-shadow: 0 0 6px #050811; }
.tg-hint { position: absolute; bottom: 12px; right: 12px; font-size: 10.5px; color: var(--faint); pointer-events: none; }
.tg-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; min-width: 170px; max-width: 260px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(7, 11, 22, .95); box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .8); font-size: 13px; }
.tg-tip-h { display: flex; align-items: center; gap: 7px; font-weight: 600; overflow-wrap: anywhere; }
.tg-tip-a { font-size: 11.5px; color: var(--dim); margin: 3px 0 6px; }
.tg-tip-n { display: flex; gap: 14px; color: var(--dim); font-size: 12px; }
.tg-tip-n b { color: var(--fg); font-weight: 600; }
.tg-full { position: fixed; inset: 0; z-index: 85; border-radius: 0; border: 0; }
.tg-full .tg-stage { height: 100%; }
.tg-full .tg-canvas { touch-action: none; }
html.tg-lock, html.tg-lock body { overflow: hidden; }

/* panel detail: di dalam grafik lebar = melayang kanan; grafik sempit = di bawah kanvas */
.tg-detail { border-top: 1px solid var(--line); background: rgba(7, 11, 22, .96); }
@container (min-width: 760px) {
  .tg-detail { position: absolute; top: 52px; right: 10px; width: 318px; max-height: calc(100% - 62px); overflow: auto; border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(7, 11, 22, .9); }
  .tg-detail:not([hidden]) ~ * { }
}
.tg-full .tg-detail { position: absolute; left: 10px; right: 10px; bottom: 10px; top: auto; width: auto; max-height: 52%; overflow: auto; border: 1px solid var(--line2); border-radius: 12px; }
@media (min-width: 761px) { .tg-full .tg-detail { left: auto; top: 52px; bottom: auto; width: 340px; max-height: calc(100% - 62px); } }
.dt { padding: 14px 16px 16px; font-size: 13.5px; }
.dt-h { display: flex; align-items: center; gap: 8px; }
.dt-role { display: inline-flex; align-items: center; gap: 7px; font: 400 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg); }
.dt-x { all: unset; cursor: pointer; margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: var(--dim); }
.dt-x:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.dt-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 12px 0 3px; overflow-wrap: anywhere; line-height: 1.25; }
.dt-src { color: var(--dim); }
.dt-addr { display: flex; align-items: flex-start; gap: 4px; margin: 10px 0 4px; padding: 8px 6px 8px 10px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); }
.dt-addr .mono { font-size: 11.5px; word-break: break-all; line-height: 1.45; flex: 1; padding-top: 3px; }
.dt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 8px; }
.dt-grid > div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.dt-grid dt { font: 400 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.dt-grid dd { font-size: 15px; font-weight: 600; }
.dt-sec { margin-top: 12px; display: grid; gap: 6px; }
.dt-notes { list-style: none; margin-top: 12px; display: grid; gap: 7px; color: var(--dim); }
.dt-notes .chip { height: 20px; font-size: 10.5px; margin-right: 4px; }
.dt-peers { list-style: none; display: grid; gap: 2px; }
.dt-peers li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dt-peers button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 0; }
.dt-peers button .mono { font-size: 11.5px; }
.dt-peers button .dim { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-peers button:hover .mono { color: var(--acc2); }
.dt-peers b { font-weight: 600; font-size: 13px; flex: none; }
.dt-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ---------------------------------------------------------------- laci meja pembekuan */
.tp-drawer { position: fixed; inset: 0; z-index: 88; }
.tp-drawer-bg { position: absolute; inset: 0; background: rgba(2, 4, 9, .6); opacity: 0; transition: opacity .2s; }
.tp-drawer-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); display: flex; flex-direction: column; background: var(--bg2); border-left: 1px solid var(--line2); transform: translateX(24px); opacity: 0; transition: transform .22s, opacity .22s; }
.tp-drawer.on .tp-drawer-bg { opacity: 1; }
.tp-drawer.on .tp-drawer-card { transform: none; opacity: 1; }
.tp-drawer-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tp-drawer-b { flex: 1; overflow: auto; padding: 18px; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- layar sedang */
@media (max-width: 1240px) {
  .tp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tp-facts > div:nth-child(5) { border-left: 0; padding-left: 0; }
  .tp-facts > div:nth-child(n + 5) { border-top: 1px solid var(--line); }
}
@media (max-width: 1099px) {
  .tp-fgrid { grid-template-columns: 1fr; }
  .tp-fside { display: none; }
  .tp-live { grid-template-columns: 1fr; }
  .tp-side { grid-template-columns: 1fr 1fr; }
  .tp-side .tp-calm { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .tp-doors { grid-template-columns: 1fr; }
  .tp-door { border-right: 0; border-bottom: 1px solid var(--line); }
  .tp-door:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------- HP */
@media (max-width: 760px) {
  .tp-entry { padding-top: 36px; }
  .tp-cmd { padding-left: 12px; }
  .tp-cmd .pfx { display: none; }
  .tp-cmd input { font-size: 13px; }
  .tp-cmd .btn { padding: 0 16px; }
  .tp-head-top { flex-direction: column; gap: 10px; }
  .tp-head-top > .btn { align-self: stretch; }
  .tp-facts { grid-template-columns: 1fr 1fr; }
  .tp-facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .tp-facts > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .tp-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tp-actions-row { display: grid; grid-template-columns: 1fr 1fr; }
  .tp-actions-row .btn { white-space: normal; text-align: center; height: auto; min-height: 44px; padding: 8px 12px; line-height: 1.2; font-size: 13.5px; }
  .tp-actions-row .btn.primary { grid-column: 1 / -1; }
  .tp-side { grid-template-columns: 1fr; }
  .tp-live .tp-slot .tg, .tp-slot-big .tg { --tg-h: min(440px, 62vh); }
  .tp-live { gap: 12px; margin-top: 16px; }
  .tp-log { max-height: 240px; }
  .fd { padding: 16px 16px 14px 18px; }
  .fd-usd { font-size: 18px; }
  .tg-hint { bottom: auto; top: 56px; right: auto; left: 12px; }
  .tg-legend { font-size: 10.5px; gap: 2px 10px; right: 12px; }
  .tp-drawer-card { width: 100%; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #liveLog li:first-child { animation: none; }
}
