
.panel-live {
  --pl-font: var(--font, "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  --pl-mono: var(--mono, "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  --pl-ink: var(--ink, #0c1a2e);
  --pl-bg: #0c1a2e;
  --pl-bg-2: #10233d;
  --pl-bg-3: #0a1628;
  --pl-console: #07111f;
  --pl-line: rgba(255, 255, 255, .08);
  --pl-line-2: rgba(255, 255, 255, .16);
  --pl-text: #dbe4f0;
  --pl-text-2: #9fb0c6;
  --pl-text-3: #7d8fa8;
  --pl-green: var(--green, #009934);
  --pl-green-ink: var(--green-ink, #007f2c);
  --pl-green-dot: #2fe56e;
  --pl-green-text: #7ef0a1;
  --pl-lime: var(--lime, #ccff00);
  --pl-amber: #f5b942;
  --pl-red: #ff8a8a;
  --pl-paper: #ffffff;
  --pl-paper-2: var(--paper-2, #f4f7fb);
  --pl-card-line: var(--line, #dde4ee);
  --pl-card-text: var(--text, #3b4a5c);
  --pl-card-muted: var(--muted, #5b6b7e);
  --pl-r: 6px;
  --pl-r-l: var(--r-l, 16px);
  --pl-ease: cubic-bezier(.2, .7, .2, 1);
  container-type: inline-size;
  container-name: panel-live;
  width: 100%;
  min-width: 0;
  font-family: var(--pl-font);
  font-size: .9rem;
  line-height: 1.45;
  color: var(--pl-text);
  text-align: left;
}
.panel-live *, .panel-live *::before, .panel-live *::after { box-sizing: border-box; }
.panel-live button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.panel-live :focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 4px; }
.panel-live-steps :focus-visible { outline-color: var(--blue, #2a6eeb); }
.panel-live .icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; }
.panel-live-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.panel-live-mono { font-family: var(--pl-mono); font-variant-numeric: tabular-nums; }


.panel-live-window { position: relative; isolation: isolate; background: var(--pl-bg); border: 1px solid var(--pl-line); border-radius: var(--pl-r-l); box-shadow: var(--shadow, 0 24px 60px -24px rgba(12, 26, 46, .45), 0 2px 6px rgba(12, 26, 46, .08)); overflow: hidden; }
.panel-live-chrome { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 6px 10px 6px 16px; background: var(--pl-bg-2); border-bottom: 1px solid var(--pl-line); }
.panel-live-url { display: inline-flex; align-items: center; gap: 7px; flex: 1 1 auto; min-width: 0; font-family: var(--pl-mono); font-size: .74rem; color: var(--pl-text-3); white-space: nowrap; overflow: hidden; }
.panel-live-url .icon { width: 13px; height: 13px; color: var(--pl-green-text); }
.panel-live-url b { color: #fff; font-weight: 600; }
.panel-live-url span { overflow: hidden; text-overflow: ellipsis; }
.panel-live-tour { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 30px; padding: 0 12px 0 10px; border: 1px solid rgba(204, 255, 0, .45); border-radius: 999px; background: rgba(204, 255, 0, .08); color: var(--pl-lime); font-size: .76rem; font-weight: 700; white-space: nowrap; transition: background .18s, border-color .18s; }
.panel-live-tour:hover { background: rgba(204, 255, 0, .16); border-color: var(--pl-lime); }
.panel-live-tour .icon { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.panel-live-tour span { pointer-events: none; }
.panel-live-tour[hidden] { display: none; }


.panel-live-stage { display: grid; }
.panel-live-stage > * { grid-area: 1 / 1; min-width: 0; }
.panel-live-store { display: grid; place-items: center; padding: clamp(12px, 3cqi, 24px); }
.panel-live.is-store .panel-live-app, .panel-live.is-app .panel-live-store { visibility: hidden; opacity: 0; pointer-events: none; }
.panel-live.is-store .panel-live-store, .panel-live.is-app .panel-live-app { visibility: visible; opacity: 1; }


.panel-live-card { width: 100%; max-width: 480px; background: var(--pl-paper); color: var(--pl-card-text); border-radius: 12px; padding: 18px 20px 20px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); font-size: .84rem; }
.panel-live-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-live-card-head b { color: var(--pl-ink); font-size: 1.02rem; font-weight: 700; }
.panel-live-clock { font-family: var(--pl-mono); font-variant-numeric: tabular-nums; font-size: .78rem; font-weight: 600; color: var(--pl-green-ink); background: var(--pl-paper-2); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.panel-live-card-sub { margin: 2px 0 0; color: var(--pl-card-muted); font-size: .8rem; }
.panel-live-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.panel-live-plan { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border: 1px solid var(--pl-card-line); border-radius: 8px; background: var(--pl-paper); transition: border-color .2s, background .2s, box-shadow .2s; }
.panel-live-plan b { color: var(--pl-ink); font-weight: 700; font-size: .9rem; }
.panel-live-plan span { color: var(--pl-card-muted); font-size: .76rem; }
.panel-live-plan em { margin-top: 6px; font-style: normal; font-weight: 700; color: var(--pl-ink); font-variant-numeric: tabular-nums; }
.panel-live-plan em small { font-weight: 500; font-size: .72rem; color: var(--pl-card-muted); }
.panel-live-plan.is-picked { border-color: var(--pl-green); box-shadow: inset 0 0 0 1px var(--pl-green); background: #f2fbf4; }
.panel-live-tag { position: absolute; top: -9px; left: 10px; padding: 2px 7px; border-radius: 999px; background: var(--pl-lime); color: var(--pl-ink); font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.panel-live-bill { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--pl-card-line); font-size: .8rem; }
.panel-live-bill dt { color: var(--pl-card-muted); }
.panel-live-bill dd { margin: 0; color: var(--pl-ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.panel-live-pay { position: relative; display: grid; place-items: center; min-height: 46px; margin-top: 14px; border-radius: 8px; background: var(--pl-green-ink); color: #fff; font-weight: 700; overflow: hidden; transition: background .3s; }
.panel-live-pay > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; transition: opacity .25s; }
.panel-live-pay .icon { width: 16px; height: 16px; }
.panel-live-pay-busy, .panel-live-pay-done { opacity: 0; }
.panel-live-card.is-paying .panel-live-pay-label, .panel-live-card.is-paid .panel-live-pay-label, .panel-live-card.is-paid .panel-live-pay-busy { opacity: 0; }
.panel-live-card.is-paying .panel-live-pay-busy, .panel-live-card.is-paid .panel-live-pay-done { opacity: 1; transition-delay: .2s; }   
.panel-live-card.is-paid .panel-live-pay { background: var(--pl-ink); }
.panel-live-pay-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pl-lime); transform-origin: left; transform: scaleX(0); }
.panel-live-card.is-paying .panel-live-pay-bar { transform: scaleX(1); transition: transform 1.25s linear; }
.panel-live-card.is-paid .panel-live-pay-bar { transform: scaleX(1); }
.panel-live-deploy { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; font-size: .78rem; color: var(--pl-card-muted); }
.panel-live-deploy li { display: flex; align-items: center; gap: 9px; transition: opacity .25s, color .25s; }   
.panel-live-deploy li:not(.is-on) i { opacity: .5; }
.panel-live-deploy li i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--pl-card-line); color: #fff; flex: none; transition: background .2s, border-color .2s; }
.panel-live-deploy li .icon { width: 10px; height: 10px; stroke-width: 3; opacity: 0; }
.panel-live-deploy li.is-on { opacity: 1; color: var(--pl-ink); }
.panel-live-deploy li.is-on i { border-color: var(--pl-green); }
.panel-live-deploy li.is-done i { background: var(--pl-green-ink); border-color: var(--pl-green-ink); }
.panel-live-deploy li.is-done .icon { opacity: 1; }


.panel-live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 11px 16px; border-bottom: 1px solid var(--pl-line); background: var(--pl-bg-2); }
.panel-live-name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.2; }
.panel-live-name .icon { width: 17px; height: 17px; color: var(--pl-text-2); }
.panel-live-name b { display: block; font-weight: 700; white-space: nowrap; }
.panel-live-name small { display: block; margin-top: 2px; color: var(--pl-text-2); font-size: .72rem; font-weight: 500; white-space: nowrap; }
.panel-live-status { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #c6cfdc; font-size: .74rem; font-weight: 700; white-space: nowrap; transition: background .3s, color .3s; }
.panel-live-status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #8d9bb0; flex: none; transition: background .3s; }
.panel-live-status i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; }
.panel-live-status[data-state="online"] { background: rgba(0, 153, 52, .18); color: var(--pl-green-text); }
.panel-live-status[data-state="online"] i { background: var(--pl-green-dot); }
.panel-live-status[data-state="starting"], .panel-live-status[data-state="stopping"] { background: rgba(245, 185, 66, .14); color: var(--pl-amber); }
.panel-live-status[data-state="starting"] i, .panel-live-status[data-state="stopping"] i { background: var(--pl-amber); }
.panel-live-power { display: flex; gap: 6px; margin-left: auto; }
.panel-live-pbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--pl-line-2); border-radius: var(--pl-r); background: transparent; color: #e7ecf3; font-size: .78rem; font-weight: 600; white-space: nowrap; transition: background .18s, border-color .18s, color .18s, opacity .18s; }
.panel-live-pbtn .icon { width: 12px; height: 12px; }
.panel-live-pbtn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .34); }
.panel-live-pbtn--start { background: var(--pl-green-ink); border-color: transparent; color: #fff; }
.panel-live-pbtn--start:hover { background: var(--pl-green); border-color: transparent; }
.panel-live-pbtn--start .icon { fill: currentColor; stroke: none; }
.panel-live-pbtn--stop:hover { border-color: rgba(255, 138, 138, .6); color: var(--pl-red); background: rgba(255, 138, 138, .08); }
.panel-live-pbtn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.panel-live-pbtn[aria-disabled="true"]:hover { background: transparent; border-color: var(--pl-line-2); color: #e7ecf3; }

.panel-live-pbtn--start[aria-disabled="true"], .panel-live-pbtn--start[aria-disabled="true"]:hover { opacity: 1; background: #0c4a22; border-color: transparent; color: #dbe4f0; }

.panel-live-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); }
.panel-live-side { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; background: var(--pl-bg-3); border-right: 1px solid var(--pl-line); }
.panel-live-side-label { padding: 12px 10px 4px; color: var(--pl-text-3); font-size: .68rem; font-weight: 700; }
.panel-live-tab { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--pl-r); background: transparent; color: var(--pl-text-2); font-size: .8rem; font-weight: 600; text-align: left; white-space: nowrap; transition: background .18s, color .18s; }
.panel-live-tab .icon { width: 15px; height: 15px; }
.panel-live-tab:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.panel-live-tab[aria-selected="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.panel-live-tab[aria-selected="true"]::before { content: ""; position: absolute; left: -8px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pl-green-dot); }
.panel-live-main { display: flex; flex-direction: column; min-width: 0; }


.panel-live-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--pl-line); border-bottom: 1px solid var(--pl-line); }
.panel-live-stat { position: relative; background: var(--pl-bg); padding: 10px 14px 11px; min-width: 0; }
.panel-live-stat small { display: block; color: var(--pl-text-2); font-size: .68rem; font-weight: 600; }
.panel-live-stat strong { display: block; margin-top: 1px; color: #fff; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.panel-live-u { margin-left: 3px; color: var(--pl-text-2); font-size: .72rem; font-weight: 500; }
.panel-live-stat--tps strong { color: var(--pl-lime); }
.panel-live-meter { display: block; height: 3px; margin-top: 9px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.panel-live-meter b { display: block; height: 100%; background: var(--pl-green); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--pl-ease); }
.panel-live-spark { display: block; width: 100%; height: 16px; margin-top: 2px; }



.panel-live-views { position: relative; flex: none; min-width: 0; height: 320px; overflow: hidden; }
.panel-live-view { display: none; flex-direction: column; height: 100%; overflow: hidden; }
.panel-live-view.is-active { display: flex; }
.panel-live-view[hidden] { display: none; }
.panel-live-console { position: relative; display: flex; flex-direction: column; justify-content: flex-end; flex: 1; margin: 0; padding: 10px 16px; min-height: 0; overflow: hidden; background: var(--pl-console); font-family: var(--pl-mono); font-size: .73rem; line-height: 1.65; color: #c7d2e2; white-space: normal; }
.panel-live-ln { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.panel-live-t { color: var(--pl-text-3); }
.panel-live-ln--ok { color: var(--pl-green-text); }
.panel-live-ln--chat { color: #eef2f7; }
.panel-live-ln--d { color: #cdb66f; }
.panel-live-ln--cmd { color: #fff; }
.panel-live-cmd { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--pl-console); border-top: 1px solid var(--pl-line); font-family: var(--pl-mono); font-size: .73rem; color: var(--pl-text-3); }
.panel-live-cmd > span:first-child { color: var(--pl-green-text); }
.panel-live-cur { display: inline-block; width: .55em; height: 1em; background: var(--pl-lime); }


.panel-live-vhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 46px; padding: 9px 14px; border-bottom: 1px solid var(--pl-line); font-size: .78rem; }
.panel-live-vhead b { color: #fff; font-weight: 700; font-size: .84rem; }
.panel-live-vhead > span { color: var(--pl-text-2); }
.panel-live-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.panel-live-chip { padding: 3px 9px; border: 1px solid var(--pl-line-2); border-radius: 999px; color: var(--pl-text-2); font-size: .7rem; font-weight: 600; white-space: nowrap; }
.panel-live-chip.is-on { background: #fff; border-color: #fff; color: var(--pl-ink); }
.panel-live-search { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; min-height: 28px; padding: 0 10px; border: 1px solid var(--pl-line-2); border-radius: var(--pl-r); color: var(--pl-text-3); font-size: .72rem; white-space: nowrap; }
.panel-live-search .icon { width: 12px; height: 12px; }
.panel-live-vhead .panel-live-mono { color: var(--pl-text-2); font-size: .72rem; }
.panel-live-vhead .panel-live-act { margin-left: auto; }
.panel-live-vhead--2 .panel-live-chips { flex-basis: 100%; }   
.panel-live-list { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.panel-live-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 36px; padding: 4px 8px; border-radius: var(--pl-r); font-size: .78rem; transition: background .18s; }
.panel-live-row--3 { grid-template-columns: 18px minmax(0, 1fr) auto; }
.panel-live-row:hover { background: rgba(255, 255, 255, .04); }
.panel-live-row > .icon { width: 16px; height: 16px; color: var(--pl-text-2); }
.panel-live-row b { min-width: 0; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-live-row b small { display: block; color: var(--pl-text-2); font-size: .7rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-live-row .panel-live-mono { color: var(--pl-text-2); font-size: .7rem; white-space: nowrap; }
.panel-live-row--new { background: rgba(0, 153, 52, .1); }
.panel-live-act { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; min-width: 78px; padding: 0 10px; border: 1px solid var(--pl-line-2); border-radius: var(--pl-r); background: transparent; color: #fff; font-size: .72rem; font-weight: 600; white-space: nowrap; transition: background .18s, border-color .18s, color .18s, opacity .18s; }
.panel-live-act .icon { width: 11px; height: 11px; stroke-width: 2.5; }
.panel-live-act:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .34); }
.panel-live-act--on, .panel-live-act--on:hover { background: rgba(0, 153, 52, .18); border-color: transparent; color: var(--pl-green-text); cursor: default; }
.panel-live-act--primary { background: var(--pl-green-ink); border-color: transparent; }
.panel-live-act--primary:hover { background: var(--pl-green); border-color: transparent; }
.panel-live-act[aria-disabled="true"], .panel-live-act[aria-disabled="true"]:hover { opacity: .5; cursor: progress; background: transparent; border-color: var(--pl-line-2); }
.panel-live-act--primary[aria-disabled="true"], .panel-live-act--primary[aria-disabled="true"]:hover { background: var(--pl-green-ink); border-color: transparent; }
.panel-live-act--quiet { min-width: 0; border-color: transparent; color: var(--pl-text-2); }
.panel-live-prog { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.panel-live-prog b { display: block; height: 100%; background: var(--pl-green); transform-origin: left; transform: scaleX(0); }
.panel-live-row--busy .panel-live-prog b { transform: scaleX(1); transition: transform 1.3s linear; }


.panel-live-click { position: relative; }
.panel-live-click::after { content: ""; position: absolute; inset: -4px; border-radius: 10px; border: 2px solid var(--pl-lime); opacity: 0; pointer-events: none; }


.panel-live-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.panel-live-step button { position: relative; display: block; width: 100%; padding: 12px 0 0; border: 0; background: transparent; text-align: left; }
.panel-live-step-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--pl-card-line); overflow: hidden; }
.panel-live-step-bar::after { content: ""; position: absolute; inset: 0; background: var(--pl-green-ink); transform-origin: left; transform: scaleX(0); }
.panel-live-step.is-done .panel-live-step-bar::after { transform: scaleX(1); }
.panel-live-step.is-active .panel-live-step-bar::after { transform: scaleX(1); transition: transform var(--pl-dur, 0ms) linear; }
.panel-live-step b { display: block; color: var(--pl-ink); font-size: .9rem; font-weight: 700; line-height: 1.3; transition: color .18s; }
.panel-live-step span { display: block; margin-top: 3px; color: var(--pl-card-muted); font-size: .78rem; line-height: 1.4; }
.panel-live-step button:hover b { color: #006b25; }   


@media (prefers-reduced-motion: no-preference) {
  .panel-live-click.is-click::after { animation: pl-click .55s var(--pl-ease); }
  .panel-live-ln { animation: pl-ln .22s ease-out; }
  .panel-live-status[data-state="online"] i::after { animation: pl-pulse 2.4s ease-out infinite; }
  .panel-live-status[data-state="starting"] i, .panel-live-status[data-state="stopping"] i { animation: pl-blink 1s steps(1) infinite; }
  .panel-live.is-run .panel-live-cur { animation: pl-blink 1.1s steps(1) 4; }
  .panel-live-stage > * { transition: opacity .45s var(--pl-ease), visibility 0s linear .45s; }
  .panel-live.is-store .panel-live-store, .panel-live.is-app .panel-live-app { transition-delay: 0s; }
  .panel-live-deploy li.is-on:not(.is-done) i { border-top-color: transparent; animation: pl-spin .8s linear infinite; }
}
@keyframes pl-click { 0% { opacity: .95; transform: scale(.94); } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes pl-ln { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes pl-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes pl-blink { 50% { opacity: .25; } }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .panel-live *, .panel-live *::before, .panel-live *::after { transition: none !important; animation: none !important; }
}


@container panel-live (max-width: 600px) {
  .panel-live { font-size: .86rem; }
  .panel-live-chrome { padding-left: 12px; }
  .panel-live-url span { display: none; }   
  .panel-live-head { padding: 10px 12px; gap: 6px 10px; }
  .panel-live-power { width: 100%; margin-left: 0; }
  .panel-live-pbtn { flex: 1; justify-content: center; }
  .panel-live-body { grid-template-columns: minmax(0, 1fr); }
  .panel-live-side { flex-direction: row; gap: 4px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--pl-line); -webkit-overflow-scrolling: touch; }
  .panel-live-side::-webkit-scrollbar { display: none; }
  .panel-live-side-label { display: none; }
  .panel-live-tab { width: auto; flex: none; min-height: 34px; padding: 0 10px; scroll-snap-align: start; }
  
  .panel-live-side { scroll-snap-type: x proximity; scroll-padding: 0 40px; }
  .panel-live-side::before, .panel-live-side::after {
    content: ""; position: sticky; z-index: 1; flex: none; width: 44px; align-self: stretch; pointer-events: none; opacity: 0; transition: opacity .2s ease;
    background-repeat: no-repeat; background-size: 100% 100%, 16px 16px;
  }
  .panel-live-side::before { left: 0; margin-right: -44px;
    background-image: linear-gradient(90deg, var(--pl-bg-3) 35%, transparent), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7ecf3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E");
    background-position: 0 0, 6px center; }
  .panel-live-side::after { right: 0; margin-left: -44px;
    background-image: linear-gradient(270deg, var(--pl-bg-3) 35%, transparent), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7ecf3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
    background-position: 0 0, right 6px center; }
  .panel-live-side.is-more-left::before, .panel-live-side.is-more-right::after { opacity: 1; }
  .panel-live-tab[aria-selected="true"]::before { left: 8px; right: 8px; top: auto; bottom: 0; width: auto; height: 2px; border-radius: 2px 2px 0 0; }
  .panel-live-stat { padding: 8px 10px 9px; }
  .panel-live-stat strong { font-size: 1rem; }
  .panel-live-u { font-size: .64rem; margin-left: 2px; }
  .panel-live-stat[data-stat="players"] .panel-live-u { display: none; }
  .panel-live-views { height: 336px; }
  .panel-live-console { padding: 8px 12px; font-size: .68rem; }
  .panel-live-search { display: none; }
  .panel-live-cmd { padding: 7px 12px; }
  .panel-live-vhead { padding: 8px 10px; }
  .panel-live-search { margin-left: 0; }
  .panel-live-card { padding: 14px 14px 16px; }
  .panel-live-plans { grid-template-columns: 1fr; gap: 6px; margin-top: 14px; }
  .panel-live-plan { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 8px 12px; }
  .panel-live-plan b { order: 0; }
  .panel-live-tag { position: static; order: 1; }
  .panel-live-plan span { order: 2; flex: 1; text-align: right; }
  .panel-live-plan em { order: 3; margin-top: 0; }
  .panel-live-steps { gap: 8px; margin-top: 14px; }
  .panel-live-step b { font-size: .76rem; }
  .panel-live-step span { font-size: .68rem; }
}
@container panel-live (max-width: 400px) {
  .panel-live-step span { display: none; }
}


.panel-live { overflow-anchor: none; }
.panel-live-window, .panel-live-views, .panel-live-view, .panel-live-console, .panel-live-list, .panel-live-pay, .panel-live-meter, .panel-live-prog, .panel-live-step-bar { overflow: clip; }
