/* Play screen: one HTS screen around the highway (design "03 플레이 · 실전 LIVE"
   at 1440×900, "05 모바일 세로 플레이" at 390×844). */
#scr-play {
  --soft: #B4BED3; --line2: #2A3550; --well: #111829;
  --hw-bg: #07090F; --hw-bg-clear: rgba(7, 9, 15, 0);
}
#scr-play.active {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr) 404px;
  grid-template-rows: 28px 64px minmax(0, 1fr) 80px 172px 28px;
  grid-template-areas:
    "mkt mkt mkt"
    "head head head"
    "left hw right"
    "left bot right"
    "left cdl right"
    "tick tick tick";
  background: var(--hw-bg);
}
#scr-play .mono { font-family: var(--mono); }
#scr-play .c-ac { color: var(--ac); }

/* ---- market strip */
.p-mkt { grid-area: mkt; display: flex; align-items: center; gap: 18px; padding: 0 14px; background: #05070C; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; white-space: nowrap; overflow: hidden; min-width: 0; }
.pm-brand { font-family: 'Space Grotesk', var(--sans); font-weight: 700; font-size: 13px; display: flex; gap: 4px; }
.pm-brand .l-up { color: var(--up); } .pm-brand .l-dn { color: var(--dn); }
.pm-badge { padding: 1px 6px; border-radius: 4px; background: var(--up); color: #07090F; font-family: var(--sans); font-weight: 900; }
.pm-badge.replay { background: var(--soft); }
.pm-idx { display: flex; gap: 18px; min-width: 0; overflow: hidden; }
.pm-idx > span { display: flex; gap: 6px; }
.pm-idx .n { color: var(--dim); font-family: var(--sans); }
.pm-status { margin-left: auto; color: var(--dim); font-family: var(--sans); }
.pm-clock { color: var(--ok); font-weight: 800; }

/* ---- quote header */
.p-head { grid-area: head; display: flex; align-items: center; gap: 22px; padding: 0 16px; background: var(--panel); border-bottom: 1px solid var(--line); min-width: 0; overflow: hidden; }
.ph-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: none; }
.ph-name > div { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.ph-name b { font-size: 20px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
#ph-sym { font-family: var(--mono); font-size: 11px; color: var(--dim); }
#ph-meta { font-size: 11px; color: var(--dim); white-space: nowrap; }
.ph-price { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); white-space: nowrap; flex: none; }
.ph-price b { font-size: 28px; line-height: 1; }
.ph-price span { font-size: 12px; }
.ph-stats { display: flex; gap: 16px; min-width: 0; overflow: hidden; }
.ph-stats > div { display: flex; flex-direction: column; gap: 3px; flex: none; }
.ph-stats span { font-size: 11px; color: var(--dim); white-space: nowrap; }
.ph-stats b { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.ph-pf { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; flex: none; }
.ph-pf-l { font-size: 11px; color: var(--dim); }
#ph-pf { font-family: var(--mono); font-size: 18px; }
#ph-pf small { font-size: 12px; margin-left: 6px; }
.ph-pf-m, .ph-pause, .p-minv, .p-mfeed, .p-pads { display: none; }

/* ---- left column */
.p-left { grid-area: left; border-right: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.p-left > section { padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pl-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; gap: 8px; }
.pl-h span { font-size: 10px; color: var(--dim); white-space: nowrap; }
.pl-foot { display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); }
.pl-foot b { font-family: var(--mono); font-weight: 400; }
.inv-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 62px; align-items: center; gap: 8px; font-size: 11px; }
.inv-row span { color: var(--soft); white-space: nowrap; }
.inv-row b { font-family: var(--mono); text-align: right; white-space: nowrap; }
.inv-bar { position: relative; height: 8px; border-radius: 2px; background: var(--well); }
.inv-bar i { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.inv-bar::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line2); }
.pl-str { gap: 6px !important; }
#str-svg { width: 100%; height: 44px; display: block; }
#str-base { stroke: var(--line2); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
#str-line { fill: none; stroke: var(--up); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
#str-line.dn { stroke: var(--dn); }
.str-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--dn); }
.str-bar i:first-child { background: var(--up); transition: width 0.3s; }
.str-lbl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; }
.pl-rel { gap: 4px !important; }
.rel-row { display: grid; grid-template-columns: minmax(0, 1fr) 50px 76px; align-items: center; gap: 8px; height: 30px; }
.rel-row > div:first-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rel-row > div:first-child b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rel-row > div:first-child span { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.rel-bars { display: flex; align-items: flex-end; gap: 1px; height: 20px; }
.rel-bars i { display: block; flex: 1; opacity: 0.7; }
.rel-px { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-family: var(--mono); }
.rel-px b { font-size: 11px; } .rel-px span { font-size: 10px; }
.pl-empty { font-size: 11px; color: var(--dim); }
.pl-feed { flex: 1; min-height: 0; gap: 4px !important; overflow: hidden; border-bottom: 0 !important; }
.feed-rows { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow: hidden; }
.feed-row { display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; border-radius: 6px; }
.feed-row.ahead { background: color-mix(in srgb, var(--ac) 7%, transparent); }
.feed-row > div { display: flex; align-items: center; gap: 6px; }
.feed-row .t { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.feed-row .k { font-size: 10px; line-height: 14px; padding: 0 5px; border-radius: 3px; border: 1px solid currentColor; }
.feed-row .a { margin-left: auto; font-family: var(--mono); font-size: 10px; line-height: 14px; font-weight: 800; padding: 0 5px; border-radius: 3px; color: #07090F; background: var(--ac); }
.feed-row .x { font-size: 11px; line-height: 1.4; }

/* ---- highway */
.p-hw { grid-area: hw; position: relative; min-width: 0; min-height: 0; }
#play { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }

/* ---- bottom bar */
.p-bot { grid-area: bot; border-top: 1px solid var(--line); background: var(--panel); display: grid; grid-template-columns: minmax(150px, 206px) minmax(0, 276px) minmax(0, 1fr) 44px; align-items: center; gap: 16px; padding: 0 16px; min-width: 0; }
.pb-margin { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pb-ml { display: flex; justify-content: space-between; font-size: 11px; }
.pb-ml span { color: var(--dim); } .pb-ml b { font-family: var(--mono); }
.pb-gauge { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pb-gauge i { display: block; height: 100%; border-radius: 4px; background: var(--ok); transition: width 0.2s, background 0.2s; }
.pb-chips { display: flex; gap: 3px; white-space: nowrap; overflow: hidden; }
.pb-chips span { font-size: 10px; padding: 1px 5px; border-radius: 4px; border: 1px dashed var(--line2); color: var(--dim); }
.pb-chips span.on { border: 1px solid transparent; background: var(--line); color: var(--text); }
.pb-judges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.pb-judges div { padding: 6px 8px; border-radius: 7px; background: var(--panel2); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pb-judges span { font-size: 10px; color: var(--dim); white-space: nowrap; }
.pb-judges b { font-family: var(--mono); font-size: 16px; }
.pb-combo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pbc-top { display: flex; align-items: baseline; gap: 8px; font-size: 11px; color: var(--dim); white-space: nowrap; }
#pb-combo { font-family: var(--mono); font-size: 22px; line-height: 1; color: var(--text); }
.pbc-rate { margin-left: auto; } .pbc-rate b { font-family: var(--mono); color: var(--text); }
.pbc-sess { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--dim); white-space: nowrap; }
.pbc-sess > span:first-child { font-family: var(--sans); }
.pbc-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pbc-bar i { display: block; height: 100%; border-radius: 2px; background: var(--ac); }
.pause-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); display: flex; align-items: center; justify-content: center; }

/* ---- 1-minute candles */
.p-candle { grid-area: cdl; position: relative; border-top: 1px solid var(--line); background: #090C15; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.pc-head { display: flex; align-items: center; gap: 14px; padding: 8px 16px 0; font-size: 11px; white-space: nowrap; overflow: hidden; }
.pc-head > b { font-size: 12px; }
.pc-lg { display: flex; align-items: center; gap: 5px; color: var(--dim); }
.pc-lg i { display: block; width: 14px; height: 2px; }
.lg-ma5 { background: var(--ac); } .lg-ma20 { background: var(--soft); } .lg-vwap { height: 0 !important; border-top: 2px dashed var(--ok); }
.pc-prog { margin-left: auto; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--dim); }
#pc-pl { font-family: var(--sans); }
.pc-pbar { position: relative; width: 150px; height: 6px; border-radius: 3px; background: var(--line); }
#pc-pfill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--line2); }
#pc-pnow { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--up); }
#pc-cv { flex: 1; min-height: 0; width: 100%; display: block; }

/* ---- right column */
.p-right { grid-area: right; border-left: 1px solid var(--line); background: var(--panel); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 160px auto; min-height: 0; }
.ps-headr { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 12px; gap: 8px; white-space: nowrap; }
.ps-headr span { font-size: 10px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
.ps-headr .live { color: var(--up); font-family: var(--mono); font-weight: 800; }
.ob { grid-column: 1; grid-row: 1; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.ob-rows { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.ob-row { position: relative; flex: 1 1 0; max-height: 22px; min-height: 0; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-family: var(--mono); font-size: 11px; }
.ob-row.a { background: color-mix(in srgb, var(--dn) 4%, transparent); }
.ob-row.b { background: color-mix(in srgb, var(--up) 4%, transparent); }
.ob-row i { position: absolute; top: 3px; bottom: 3px; }
.ob-row.a i { right: 0; background: color-mix(in srgb, var(--dn) 16%, transparent); }
.ob-row.b i { left: 0; background: color-mix(in srgb, var(--up) 16%, transparent); }
.ob-row b, .ob-row span { position: relative; white-space: nowrap; }
.ob-row b { font-weight: 600; }
.ob-row.a b { color: var(--dn); } .ob-row.b b { color: var(--up); }
.ob-row .pc { font-size: 10px; color: var(--dim); }
.ob-row .q { margin-left: auto; color: var(--soft); }
.ob-row.now { outline: 1.5px solid var(--ac); outline-offset: -1px; }
.ob-row.now b { font-weight: 800; }
.ob-tot { padding: 6px 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 10px; }
.ob-tot > div { display: flex; justify-content: space-between; gap: 4px; }
.ob-lim { color: var(--dim); white-space: nowrap; flex-wrap: wrap; row-gap: 2px; }
.tp { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.tp-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(40px, auto); gap: 6px; align-items: center; height: 18px; flex: none; padding: 0 10px; font-family: var(--mono); font-size: 11px; }
.tp-row span:not(:first-child) { text-align: right; white-space: nowrap; }
.tp-row span:first-child { color: var(--dim); font-size: 10px; }
.tp-colh { font-family: var(--sans); font-size: 10px; color: var(--dim); height: 22px; }
.tp-rows { flex: 1; min-height: 0; overflow: hidden; }
.tp-row.u span:not(:first-child) { color: var(--up); } .tp-row.d span:not(:first-child) { color: var(--dn); }
.tp-row.big span:last-child { font-weight: 800; }
.tp-row.big.u { background: color-mix(in srgb, var(--up) 12%, transparent); } .tp-row.big.d { background: color-mix(in srgb, var(--dn) 12%, transparent); }
.fl { grid-column: 1 / span 2; grid-row: 2; border-top: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.fl .ps-headr { border-bottom: 0; padding: 8px 12px; }
.fl-row { display: grid; grid-template-columns: 58px 46px minmax(0, 1fr) 46px 64px 50px; gap: 8px; align-items: center; height: 22px; flex: none; padding: 0 12px; font-size: 11px; white-space: nowrap; }
.fl-row > :nth-child(1) { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.fl-row > :nth-child(n+4) { font-family: var(--mono); text-align: right; overflow: hidden; text-overflow: ellipsis; }
.fl-row > :nth-child(6) { color: var(--dim); }
.fl-colh { height: auto; padding-bottom: 4px; font-size: 10px; color: var(--dim); }
.fl-colh > * { font-family: var(--sans) !important; font-size: 10px !important; }
.fl-empty { padding: 0 12px; font-size: 11px; color: var(--dim); }
.pos { grid-column: 1 / span 2; grid-row: 3; border-top: 1px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.pos-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pos-cards div { padding: 7px 8px; border-radius: 7px; background: var(--panel2); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pos-cards span { font-size: 10px; color: var(--dim); }
.pos-cards b { font-family: var(--mono); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); gap: 8px; white-space: nowrap; }
.pos-foot b { font-family: var(--mono); color: var(--text); }

/* ---- news tape */
.p-tick { grid-area: tick; display: flex; align-items: center; background: var(--panel2); border-top: 1px solid var(--line); font-size: 12px; min-width: 0; }
.pt-tag { height: 100%; display: flex; align-items: center; padding: 0 12px; background: var(--ac); color: #0b0d12; font-weight: 900; flex: none; }
.pt-win { position: relative; flex: 1; height: 100%; overflow: hidden; }
.pt-run { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 28px; white-space: nowrap; will-change: transform; }
.pt-run .sys { color: var(--dim); }

/* ---------------------------------------------------------- narrower desktops */
@media (max-width: 1360px) {
  #scr-play.active { grid-template-columns: 224px minmax(0, 1fr) 360px; }
  .fl-row { grid-template-columns: 54px 40px minmax(0, 1fr) 40px 58px 44px; gap: 6px; }
  .ph-stats { gap: 12px; }
}
@media (max-width: 1180px) {
  #scr-play.active { grid-template-columns: 0 minmax(0, 1fr) 340px; }
  .p-left { display: none; }
  .p-bot { grid-template-columns: minmax(120px, 180px) minmax(0, 240px) minmax(0, 1fr) 44px; gap: 12px; }
}
@media (max-width: 960px) {
  #scr-play.active { grid-template-columns: 0 minmax(0, 1fr) 0; grid-template-rows: 28px 64px minmax(0, 1fr) 80px 140px 28px; }
  .p-right { display: none; }
  .ph-stats > div:nth-child(n+5) { display: none; }
  .pm-status { display: none; }
}
@media (max-height: 760px) and (min-width: 601px) {
  #scr-play.active { grid-template-rows: 28px 64px minmax(0, 1fr) 80px 0 28px; }
  .p-candle { display: none; }
  .p-right { grid-template-rows: minmax(0, 1fr) 0 auto; }
  .fl { display: none; }
}

/* ---------------------------------------------------------- phone portrait */
@media (max-width: 600px) {
  #scr-play.active {
    grid-template-columns: minmax(0, 1fr) 90px;
    grid-template-rows: 24px 60px 30px 22px 48px minmax(0, 1fr) 38px 122px 32px;
    grid-template-areas:
      "mkt mkt" "head head" "stats stats" "inv inv" "feed feed"
      "hw book" "bot bot" "pads tape" "tick tick";
  }
  .p-left, .p-candle, .fl, .pos, .pm-brand, .pm-status, .ph-pf-l, #ph-meta { display: none; }
  .p-right { display: contents; }
  .p-mkt { gap: 10px; padding: 0 12px; font-size: 10px; }
  .pm-badge { padding: 0 5px; line-height: 15px; font-size: 10px; }
  .pm-idx { gap: 10px; } .pm-idx > span { gap: 4px; }
  .pm-idx > span:nth-child(n+3) { display: none; }
  .pm-clock { margin-left: auto; }

  .p-head { display: contents; }
  .p-head > * { grid-area: head; }
  .ph-name, .ph-price, .ph-pf, .ph-pause { position: relative; z-index: 1; }
  /* header row is rebuilt with a sub-grid wrapper look */
  .ph-name { align-self: start; justify-self: start; margin: 10px 0 0 12px; gap: 0; }
  .ph-name b { font-size: 16px; max-width: 150px; }
  #ph-sym { font-size: 10px; }
  .ph-price { align-self: end; justify-self: start; margin: 0 0 8px 12px; flex-direction: row; align-items: baseline; gap: 6px; }
  .ph-price b { font-size: 22px; } .ph-price span { font-size: 11px; }
  .ph-pf { align-self: center; justify-self: end; margin: 0 66px 0 0; gap: 3px; }
  #ph-pf { font-size: 15px; } #ph-pf .eq { display: none; } #ph-pf small { margin: 0; font-size: 15px; }
  .ph-pf-m { display: block; font-size: 10px; color: var(--dim); }
  .ph-pause { display: flex; align-self: center; justify-self: end; margin-right: 12px; }
  #scr-play.active::before { content: ''; grid-area: head; background: var(--panel); }
  .ph-stats { grid-area: stats; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; align-items: center; padding: 0 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
  .ph-stats > div { display: none; gap: 1px; min-width: 0; }
  .ph-stats > div.m { display: flex; }
  .ph-stats span { font-size: 9px; } .ph-stats b { font-size: 11px; }
  .p-minv { grid-area: inv; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 10px; white-space: nowrap; overflow: hidden; }
  .p-minv > span { display: flex; gap: 4px; } .p-minv .n { color: var(--soft); } .p-minv .l { color: var(--dim); }
  .p-minv b { font-family: var(--mono); }
  .p-mfeed { grid-area: feed; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 12px; background: color-mix(in srgb, var(--ac) 5%, transparent); border-bottom: 1px solid var(--line); min-width: 0; }
  .p-mfeed > div { display: flex; align-items: center; gap: 6px; height: 20px; min-width: 0; }
  .p-mfeed .t { font-family: var(--mono); font-size: 9px; color: var(--dim); }
  .p-mfeed .k { font-size: 9px; line-height: 13px; padding: 0 4px; border-radius: 3px; border: 1px solid currentColor; flex: none; }
  .p-mfeed .x { flex: 1; min-width: 0; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .p-mfeed .a { font-family: var(--mono); font-size: 9px; font-weight: 800; padding: 0 4px; border-radius: 3px; color: #07090F; background: var(--ac); }

  .ob { grid-area: book; border-right: 0; border-left: 1px solid var(--line); }
  .ob .ps-headr { padding: 0 5px; height: 20px; align-items: center; font-size: 10px; }
  .ob .ps-headr b { font-size: 0; } .ob .ps-headr b::before { content: '호가'; font-size: 10px; }
  #ob-tag { font-size: 0; } #ob-tag::before { content: '잔량'; font-size: 10px; }
  .ob-row { padding: 0 5px; font-size: 10px; gap: 2px; }
  .ob-row .pc { display: none; }
  .ob-row .q { font-size: 9px; }
  .ob-tot { padding: 3px 5px; gap: 1px; font-size: 9px; }
  .ob-tot > div:first-child { flex-direction: column; gap: 1px; }
  .ob-lim { display: none !important; }
  .tp { grid-area: tape; border-left: 1px solid var(--line); padding: 4px 6px; }
  .tp .ps-headr { padding: 0; height: 18px; border: 0; font-size: 10px; }
  .tp .ps-headr b { font-size: 0; } .tp .ps-headr b::before { content: '체결'; font-size: 10px; }
  .tp-colh { display: none; }
  .tp-row { grid-template-columns: minmax(0, 1fr) auto; height: 16px; padding: 0 2px; font-size: 10px; }
  .tp-row span:first-child { display: none; }
  .tp-row span:nth-child(2) { text-align: left; }

  .p-bot { grid-area: bot; grid-template-columns: 78px auto minmax(0, 1fr); gap: 14px; padding: 0 12px; border-bottom: 1px solid var(--line); }
  .p-bot #btn-pause, .pb-chips { display: none; }
  .pb-margin { gap: 4px; }
  .pb-ml { font-size: 9px; } .pb-gauge { height: 5px; }
  .pb-judges { display: flex; gap: 10px; }
  .pb-judges div { padding: 0; background: none; gap: 1px; }
  .pb-judges span { font-size: 9px; } .pb-judges b { font-size: 13px; line-height: 1; }
  .pb-combo { align-items: flex-end; gap: 1px; }
  .pbc-top { font-size: 9px; gap: 4px; } #pb-combo { font-size: 13px; }
  .pbc-rate, .pbc-bar, .pbc-sess > span:first-child { display: none; }
  .pbc-sess { font-size: 9px; }
  .pbc-sess::before { content: attr(data-rate); }

  #scr-play.active.long-px { grid-template-columns: minmax(0, 1fr) 124px; }
  .p-pads { grid-area: pads; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; padding: 6px 4px; touch-action: none; user-select: none; -webkit-user-select: none; }
  .p-pads button { border: 1.5px solid var(--c); border-radius: 14px; background: var(--panel2); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-family: var(--sans); touch-action: none; }
  .p-pads button.strong { border-width: 2px; }
  .p-pads button b { font-size: 16px; color: var(--c); line-height: 1; }
  .p-pads button span { font-size: 13px; font-weight: 800; }
  .p-pads button small { font-family: var(--mono); font-size: 9px; color: var(--dim); }
  .p-pads button.on { background: var(--c); color: #07090F; box-shadow: 0 0 18px color-mix(in srgb, var(--c) 50%, transparent); }
  .p-pads button.on b, .p-pads button.on small { color: #07090F; font-weight: 800; }
  .p-tick { font-size: 12px; }
  .pt-tag { padding: 0 10px; }
  .pt-run { gap: 16px; }
}
