.ps {
  --ps-bg: #191b33;
  --ps-panel: #232643;
  --ps-panel-2: #2b2f53;
  --ps-console: #121428;
  --ps-line: rgba(255, 255, 255, .08);
  --ps-line-2: rgba(255, 255, 255, .14);
  --ps-text: #eceefb;
  --ps-muted: #a2a7cb;
  --ps-accent: #fabf26;
  --ps-accent-ink: #1b1d36;
  --ps-ok: #3dd68c;
  --ps-warn: #ffb547;
  --ps-bad: #ff6b78;
  --ps-c1: #8ea2ff;
  --ps-c2: #4fd8c4;
  --ps-c3: #c9b6ff;
  --ps-radius: 16px;
  --ps-height: 600px;
  --ps-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --ps-shadow: 0 30px 80px -30px rgba(5, 6, 20, .75), 0 0 0 1px var(--ps-line);
  --ps-r2: calc(var(--ps-radius) * .62);
  --ps-r3: calc(var(--ps-radius) * .4);

  container: ps / inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ps-text);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  background:
    radial-gradient(120% 70% at 85% -10%, rgba(142, 162, 255, .14), transparent 60%),
    radial-gradient(80% 60% at 0% 110%, rgba(79, 216, 196, .07), transparent 60%),
    var(--ps-bg);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  overflow: hidden;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
.ps *, .ps *::before, .ps *::after { box-sizing: border-box; }
.ps :where(h3, p, ul, dl, dd, form) { margin: 0; padding: 0; }
.ps :where(ul) { list-style: none; }
.ps :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ps :where(button) { cursor: pointer; }
.ps :where(button:disabled) { cursor: not-allowed; }
.ps :focus-visible { outline: 2px solid var(--ps-accent); outline-offset: 2px; border-radius: var(--ps-r3); }
.ps-i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ps-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ps-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--ps-line); background: rgba(10, 11, 28, .35); min-width: 0; }
.ps-dots { display: flex; gap: 6px; }
.ps-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.ps-url { display: none; align-items: center; gap: 6px; min-width: 0; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--ps-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-url b { color: var(--ps-text); font-weight: 500; }
.ps-url .ps-i { width: 12px; height: 12px; color: var(--ps-ok); }
.ps-mode { display: flex; gap: 4px; margin-left: auto; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.ps-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border: 1px solid var(--ps-line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--ps-text); font-size: 12.5px; white-space: nowrap; transition: background-color .18s, border-color .18s; }
.ps-chip:hover { background: rgba(255, 255, 255, .09); border-color: var(--ps-line-2); }
.ps-mode .ps-chip { border-color: transparent; background: none; color: var(--ps-muted); }
.ps-mode .ps-chip[aria-pressed="true"] { background: var(--ps-panel-2); color: var(--ps-text); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset; }
.ps-mode .ps-chip[data-arg="tour"][aria-pressed="true"] .ps-i { color: var(--ps-accent); }

.ps-shell { display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 1; }
.ps-side { min-width: 0; border-bottom: 1px solid var(--ps-line); }
.ps-brand { display: none; }
.ps-tabs { display: flex; gap: 4px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); }
.ps-tabs::-webkit-scrollbar { display: none; }
.ps-tab { position: relative; display: flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 8px 12px; border: 0; border-radius: var(--ps-r2); background: none; color: var(--ps-muted); font-size: 13.5px; white-space: nowrap; scroll-snap-align: center; transition: background-color .18s, color .18s; }
.ps-tab:hover { color: var(--ps-text); background: rgba(255, 255, 255, .05); }
.ps-tab[aria-selected="true"] { color: var(--ps-text); background: linear-gradient(90deg, rgba(250, 191, 38, .14), rgba(250, 191, 38, .02) 70%); }
.ps-tab[aria-selected="true"] .ps-i { color: var(--ps-accent); }
.ps-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ps-accent); }
.ps-sep { display: none; }
.ps-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 1; }

.ps-head { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px; border-bottom: 1px solid var(--ps-line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.ps-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ps-id-t { min-width: 0; }
.ps-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.ps-name strong { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.ps-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .07); color: var(--ps-muted); }
.ps-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ps-status[data-st="running"] { color: var(--ps-ok); background: rgba(61, 214, 140, .12); }
.ps-status[data-st="running"] i { box-shadow: 0 0 0 0 rgba(61, 214, 140, .6); animation: ps-pulse 2.4s infinite; }
.ps-status[data-st="starting"], .ps-status[data-st="installing"] { color: var(--ps-warn); background: rgba(255, 181, 71, .12); }
.ps-status[data-st="starting"] i, .ps-status[data-st="installing"] i { animation: ps-blink 1s infinite; }
.ps-status[data-st="stopping"] { color: var(--ps-bad); background: rgba(255, 107, 120, .12); }
.ps-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; color: var(--ps-muted); font-size: 12.5px; }
.ps-meta span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ps-meta .ps-i { width: 13px; height: 13px; }
.ps-power { display: flex; gap: 8px; flex-wrap: wrap; }
.ps-power .ps-btn { flex: 1 1 0; justify-content: center; }
.ps-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ps-stats .ps-stat-disk, .ps-stats .ps-stat-up { display: none; }
.ps-con-in input:focus-visible { outline: none; }
.ps-stat { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 7px; padding: 8px 10px 10px; border-radius: var(--ps-r2); background: rgba(255, 255, 255, .035); border: 1px solid var(--ps-line); min-width: 0; }
.ps-stat > .ps-i { color: var(--ps-muted); width: 14px; height: 14px; }
.ps-stat > span { color: var(--ps-muted); font-size: 11.5px; }
.ps-stat b { grid-column: 1 / -1; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-stat small { color: var(--ps-muted); font-size: 11.5px; font-weight: 400; }
.ps-stat-up { grid-template-columns: 1fr; }
.ps-meter { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ps-meter i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--v, 0)); background: var(--ps-c1); transition: transform .8s ease; }
.ps-stat:nth-child(2) .ps-meter i { background: var(--ps-c2); }
.ps-stat:nth-child(4) .ps-meter i { background: var(--ps-c3); }
.ps-pending { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px 8px 12px; border-radius: var(--ps-r2); background: rgba(142, 162, 255, .1); border: 1px solid rgba(142, 162, 255, .25); font-size: 13px; }
.ps-pending[hidden] { display: none; }
.ps-pending .ps-i { color: var(--ps-c1); }
.ps-pending .ps-chip { margin-left: auto; }

.ps-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--ps-line-2); border-radius: var(--ps-r2); background: rgba(255, 255, 255, .05); color: var(--ps-text); font-size: 13.5px; font-weight: 550; white-space: nowrap; transition: background-color .18s, border-color .18s, opacity .18s, box-shadow .18s; }
.ps-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .1); }
.ps-btn:disabled { opacity: .38; }
.ps-btn-go { color: #c8f7de; border-color: rgba(61, 214, 140, .4); background: rgba(61, 214, 140, .13); }
.ps-btn-go:hover:not(:disabled) { background: rgba(61, 214, 140, .22); }
.ps-btn-go:not(:disabled) .ps-i { color: var(--ps-ok); fill: currentColor; stroke-width: 1; }
.ps-btn-stop { color: #ffd3d7; border-color: rgba(255, 107, 120, .4); background: rgba(255, 107, 120, .12); }
.ps-btn-stop:hover:not(:disabled) { background: rgba(255, 107, 120, .2); }
.ps-btn-stop .ps-i { fill: currentColor; stroke-width: 1; }
.ps-btn-acc { background: var(--ps-accent); border-color: var(--ps-accent); color: var(--ps-accent-ink); }
.ps-btn-acc:hover:not(:disabled) { background: var(--ps-accent); box-shadow: 0 6px 22px -6px rgba(250, 191, 38, .55); }
.ps-btn-s { min-height: 34px; padding: 5px 12px; font-size: 13px; }
.ps-ico { padding: 0; width: 40px; justify-content: center; }
.ps-mini { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 30px; min-width: 30px; padding: 3px 9px; border: 1px solid var(--ps-line); border-radius: var(--ps-r3); background: rgba(255, 255, 255, .04); color: var(--ps-muted); font-size: 12px; transition: color .15s, background-color .15s; }
.ps-mini:hover { color: var(--ps-text); background: rgba(255, 255, 255, .09); }
.ps-link { padding: 2px 2px; border: 0; background: none; color: var(--ps-text); text-decoration: underline; text-decoration-color: var(--ps-line-2); text-underline-offset: 3px; font-size: inherit; }
.ps-link:hover { text-decoration-color: currentColor; }

.ps-views { position: relative; flex: none; min-height: 0; max-height: var(--ps-height-sm, 640px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.ps-view { padding: 14px; outline: none; }
.ps-view[hidden] { display: none; }
.ps-vh { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 14px; }
.ps-vh > div { flex: 1 1 200px; min-width: 0; }
.ps-vh-i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--ps-r2); background: rgba(250, 191, 38, .12); color: var(--ps-accent); }
.ps-vh-t { font-size: 16px; font-weight: 650; letter-spacing: -.01em; color: var(--ps-text); line-height: 1.3; }
.ps-vh-s { color: var(--ps-muted); font-size: 13px; }
.ps-card { padding: 14px; border-radius: var(--ps-r2); background: rgba(255, 255, 255, .035); border: 1px solid var(--ps-line); }
.ps-card + .ps-card { margin-top: 10px; }
.ps-card-h { color: var(--ps-muted); font-size: 12px; margin-bottom: 8px; }
.ps-k { display: block; color: var(--ps-muted); font-size: 12px; margin-bottom: 6px; }
.ps-note { color: var(--ps-muted); font-size: 12.5px; margin-top: 10px; }
.ps-empty { color: var(--ps-muted); font-size: 13px; padding: 10px 2px; }
.ps-empty-big { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 10px; text-align: center; border: 1px dashed var(--ps-line-2); border-radius: var(--ps-r2); margin-top: 12px; }
.ps-i-lg { width: 26px; height: 26px; color: var(--ps-muted); }
.ps-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 550; color: var(--ps-ok); background: rgba(61, 214, 140, .12); white-space: nowrap; }
.ps-badge-mute { color: var(--ps-muted); background: rgba(255, 255, 255, .06); }
.ps-ask { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.ps-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; padding: 10px 12px; border-radius: var(--ps-r2); background: rgba(142, 162, 255, .08); border: 1px solid rgba(142, 162, 255, .2); font-size: 13px; }
.ps-hint .ps-i, .ps-notice > .ps-i { color: var(--ps-c1); }
.ps-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ps-notice > div { flex: 1 1 220px; }
.ps-notice p { color: var(--ps-muted); font-size: 13px; }
.ps-search { display: flex; align-items: center; gap: 8px; flex: 1 1 200px; max-width: 320px; min-height: 40px; padding: 0 12px; border-radius: var(--ps-r2); background: rgba(0, 0, 0, .22); border: 1px solid var(--ps-line); color: var(--ps-muted); }
.ps-search:focus-within { border-color: var(--ps-line-2); }
.ps-search input { flex: 1; min-width: 0; height: 38px; border: 0; background: none; outline: none; color: var(--ps-text); }
.ps-search input::placeholder, .ps-input::placeholder, .ps-con-in input::placeholder { color: var(--ps-muted); opacity: .8; }
.ps-input, .ps-select { min-height: 40px; padding: 8px 12px; border-radius: var(--ps-r2); background: rgba(0, 0, 0, .22); border: 1px solid var(--ps-line-2); color: var(--ps-text); }
.ps-select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--ps-muted) 50%), linear-gradient(-45deg, transparent 50%, var(--ps-muted) 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.ps-select option { background: var(--ps-panel); color: var(--ps-text); }
.ps-row2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ps-row2 .ps-input { flex: 1 1 180px; min-width: 0; }
.ps-prog { position: relative; display: block; flex: 1 1 120px; min-width: 110px; max-width: 220px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ps-prog i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(calc(var(--p, 0) / 100)); background: linear-gradient(90deg, var(--ps-c1), var(--ps-c2)); border-radius: inherit; transition: transform .15s linear; }
.ps-prog::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-100%); animation: ps-sheen 1.2s infinite; }

.ps-tile { --h: 220; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--ps-r2); font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: linear-gradient(140deg, hsl(var(--h) 62% 52%), hsl(calc(var(--h) + 40) 58% 30%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -8px 16px rgba(0, 0, 0, .18); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.ps-tile-lg { width: 46px; height: 46px; font-size: 15px; }
.ps-tile-sm { width: 26px; height: 26px; font-size: 10px; border-radius: 6px; }
.ps-tile-px { border-radius: 5px; background: conic-gradient(from 90deg at 50% 50%, hsl(var(--h) 55% 48%) 25%, hsl(var(--h) 55% 38%) 0 50%, hsl(var(--h) 55% 48%) 0 75%, hsl(var(--h) 55% 38%) 0); }
.ps-tile-img { position: relative; overflow: hidden; }
.ps-tile-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ps-tile-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); pointer-events: none; }

.ps-con-grid { display: grid; gap: 12px; }
.ps-con { display: flex; flex-direction: column; min-width: 0; border-radius: var(--ps-r2); background: var(--ps-console); border: 1px solid var(--ps-line); overflow: hidden; }
.ps-con-out { height: 300px; overflow-y: auto; padding: 12px 14px; font-family: var(--ps-mono); font-size: 12px; line-height: 1.6; color: #d3d7f3; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.ps-l { white-space: pre-wrap; word-break: break-word; }
.ps-ts { color: #6f75a3; }
.ps-l-daemon { color: #9fb0ff; }
.ps-l-cmd { color: var(--ps-text); }
.ps-l-cmd::before { content: "› "; color: var(--ps-accent); }
.ps-l-warn { color: var(--ps-warn); }
.ps-l-sys { color: var(--ps-muted); font-style: italic; }
.ps-l-chat { color: #e9e3ff; }
.ps-l-join { color: #8ff0bf; }
.ps-l-leave { color: #b3b8d8; }
.ps-con-in { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 10px; border-top: 1px solid var(--ps-line); background: rgba(255, 255, 255, .025); }
.ps-prompt { color: var(--ps-accent); display: flex; }
.ps-con-in input { flex: 1; min-width: 0; height: 40px; border: 0; outline: none; background: none; font-family: var(--ps-mono); font-size: 13px; color: var(--ps-text); }
.ps-con-in:focus-within { box-shadow: inset 0 1px 0 rgba(250, 191, 38, .45); background: rgba(255, 255, 255, .045); }
.ps-con-in .ps-btn { border-color: transparent; }
.ps-cmds { display: flex; gap: 6px; padding: 0 10px 10px; overflow-x: auto; scrollbar-width: none; }
.ps-cmds .ps-chip { font-family: var(--ps-mono); font-size: 11.5px; color: var(--ps-muted); }
.ps-cmds .ps-chip:hover { color: var(--ps-text); }
.ps[data-ps-kind="other"] .ps-cmds :is([data-arg^="time"], [data-arg^="weather"], [data-arg="tps"]) { display: none; }
.ps-con-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.ps-chart { min-width: 0; padding: 10px 10px 6px; border-radius: var(--ps-r2); background: rgba(255, 255, 255, .035); border: 1px solid var(--ps-line); }
.ps-chart-h { display: flex; align-items: center; gap: 6px; color: var(--ps-muted); font-size: 12px; }
.ps-chart-h .ps-i { width: 14px; height: 14px; }
.ps-chart-h b { margin-left: auto; color: var(--ps-text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-chart canvas { display: block; width: 100%; height: 54px; margin-top: 4px; }
.ps-chart-cpu .ps-chart-h .ps-i { color: var(--ps-c1); }
.ps-chart-ram .ps-chart-h .ps-i { color: var(--ps-c2); }
.ps-chart-pl .ps-chart-h .ps-i { color: var(--ps-c3); }
.ps-plist { grid-column: 1 / -1; }
.ps-plist ul { display: grid; gap: 4px; max-height: 168px; overflow-y: auto; scrollbar-width: thin; }
.ps-plist li { display: flex; align-items: center; gap: 8px; padding: 3px 2px; }
.ps-plist li.is-new, .ps-db.is-new { animation: ps-in .35s ease both; }
.ps-pn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ps-pn em { margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-style: normal; font-size: 10.5px; color: var(--ps-accent); background: rgba(250, 191, 38, .12); }
.ps-plist .ps-empty { padding: 4px 2px; }

.ps-ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ps-game { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px; border-radius: var(--ps-r2); background: rgba(255, 255, 255, .035); border: 1px solid var(--ps-line); transition: border-color .18s, background-color .18s; }
.ps-game:hover { border-color: var(--ps-line-2); }
.ps-game.is-cur { border-color: rgba(61, 214, 140, .45); background: rgba(61, 214, 140, .06); }
.ps-game.is-lock .ps-tile { filter: grayscale(.7) brightness(.75); }
.ps-game-t { flex: 1 1 110px; min-width: 0; display: flex; flex-direction: column; }
.ps-game-t strong { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-game-t span, .ps-item-t span { color: var(--ps-muted); font-size: 12px; }
.ps-game .ps-prog { flex-basis: 100%; max-width: none; }
.ps-game > .ps-btn, .ps-game > .ps-badge { margin-left: 50px; }
.ps-game .ps-ask { flex-basis: 100%; }

.ps-fm, .ps-ed { border-radius: var(--ps-r2); border: 1px solid var(--ps-line); background: rgba(255, 255, 255, .025); overflow: hidden; }
.ps-fm-bar, .ps-ed-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--ps-line); background: rgba(255, 255, 255, .03); }
.ps-crumb { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; flex: 1 1 200px; min-width: 0; color: var(--ps-muted); font-size: 13px; }
.ps-crumb .ps-i { margin-right: 4px; }
.ps-crumb .ps-link { text-decoration: none; color: var(--ps-text); }
.ps-crumb .ps-link:hover { text-decoration: underline; }
.ps-fm-list li + li { border-top: 1px solid var(--ps-line); }
.ps-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 14px; border: 0; background: none; text-align: left; font-size: 13.5px; transition: background-color .15s; }
.ps-row:hover { background: rgba(255, 255, 255, .05); }
.ps-row > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-row em { color: var(--ps-muted); font-style: normal; font-size: 12px; white-space: nowrap; }
.ps-row .ps-i { color: var(--ps-muted); }
.ps-row .ps-i-dir { color: var(--ps-c1); }
.ps-row.is-hot > span { font-weight: 600; }
.ps-row[aria-disabled="true"] { color: var(--ps-muted); cursor: default; }
.ps-dirty { color: var(--ps-warn); font-size: 12px; }
.ps-dirty[hidden] { display: none; }
.ps-ed-ta { display: block; width: 100%; height: 300px; padding: 12px 14px; border: 0; outline: none; resize: vertical; background: var(--ps-console); font-family: var(--ps-mono); font-size: 12.5px; line-height: 1.65; tab-size: 2; color: #dfe3ff; }
.ps-ed-ta:focus-visible { box-shadow: inset 0 0 0 2px rgba(250, 191, 38, .5); outline: none; border-radius: 0; }

.ps-cur { display: flex; align-items: center; gap: 12px; }
.ps-cur strong { font-size: 15px; }
.ps-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: var(--ps-r2); background: rgba(0, 0, 0, .22); width: fit-content; max-width: 100%; }
.ps-seg-b { min-height: 34px; padding: 5px 14px; border: 0; border-radius: var(--ps-r3); background: none; color: var(--ps-muted); font-size: 13px; transition: background-color .15s, color .15s; }
.ps-seg-b:hover { color: var(--ps-text); }
.ps-seg-b[aria-checked="true"] { background: var(--ps-panel-2); color: var(--ps-text); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset; }
.ps-vtop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
.ps-vtop .ps-cur { flex: 1 1 220px; min-width: 0; }
.ps-vtop .ps-cur strong { display: block; font-size: 14.5px; overflow-wrap: anywhere; }
.ps-vtop .ps-k { margin-bottom: 1px; }
.ps-tile-plat { background: #2d314e; color: var(--ps-muted); font-size: 12px; text-shadow: none; }
.ps-vf { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-vf .ps-chip { color: var(--ps-muted); }
.ps-vf .ps-chip[aria-pressed="true"] { color: var(--ps-text); background: var(--ps-panel-2); border-color: var(--ps-line-2); }
.ps-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 8px; }
.ps-vp { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px 9px; min-width: 0; padding: 10px 10px 9px; scroll-margin: 12px 0 88px;
  border: 1px solid transparent; border-radius: var(--ps-r3); background: #2d314e; color: var(--ps-text); text-align: left; transition: border-color .15s, background-color .15s, transform .15s; }
.ps-vp:hover { border-color: var(--ps-line-2); transform: translateY(-1px); }
.ps-vp[aria-checked="true"] { border-color: var(--ps-accent); background: color-mix(in srgb, var(--ps-accent) 12%, #2d314e); box-shadow: 0 0 0 1px var(--ps-accent) inset; }
.ps-vp-i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; overflow: hidden; }
.ps-vp-i img { display: block; width: 28px; height: 28px; }
.ps-vp-n { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.ps-vp-now { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ps-ok); box-shadow: 0 0 0 3px rgba(61, 214, 140, .18); }
.ps-vp-m { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1px 6px; color: var(--ps-muted); font-size: 11px; line-height: 1.3; white-space: nowrap; }
.ps-vp-jar { border: 1px dashed color-mix(in srgb, var(--ps-accent) 65%, transparent); background: color-mix(in srgb, var(--ps-accent) 7%, #2d314e); }
.ps-vp-jar .ps-vp-i { background: color-mix(in srgb, var(--ps-accent) 18%, transparent); color: var(--ps-accent); }
.ps-vp-jar .ps-vp-m { white-space: normal; }
.ps-vbar { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: var(--ps-r2);
  background: var(--ps-panel); border: 1px solid var(--ps-line-2); box-shadow: 0 -14px 24px -12px rgba(5, 6, 20, .7); }
.ps-vbar-t { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; }
.ps-vbar-t strong { font-size: 14px; }
.ps-vbar-t span { color: var(--ps-muted); font-size: 12.5px; }
.ps-vbar .ps-select { min-width: 124px; }
.ps-vbar .ps-prog { flex: 1 1 160px; }
.ps-item.is-off .ps-tile, .ps-item.is-off .ps-item-t { opacity: .55; }
.ps-cat, .ps-bk { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ps-bk { grid-template-columns: 1fr; }
.ps-item { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 12px; border-radius: var(--ps-r2); background: rgba(255, 255, 255, .035); border: 1px solid var(--ps-line); }
.ps-item.is-on { border-color: rgba(61, 214, 140, .35); }
.ps-item-t { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ps-item-t strong { font-size: 13.5px; font-weight: 600; }
.ps-cat .ps-prog { flex-basis: 100%; max-width: none; }
.ps-dbf .ps-k { margin-bottom: 8px; }
.ps-dbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.ps-dbs .ps-card + .ps-card { margin-top: 0; }
.ps-db-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ps-db-h .ps-i { color: var(--ps-c2); }
.ps-db-h strong { flex: 1; font-family: var(--ps-mono); font-size: 13px; }
.ps-db dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; align-items: center; }
.ps-db dt { color: var(--ps-muted); }
.ps-db dd { font-family: var(--ps-mono); font-size: 12.5px; word-break: break-all; }
.ps-pw { display: flex; align-items: center; gap: 6px; }
.ps-pw code { flex: 1; min-width: 0; font-family: inherit; }

.ps-loc { display: grid; gap: 18px; align-items: center; padding: 18px; border-radius: var(--ps-r2); border: 1px solid var(--ps-line); background:
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 22px 22px, rgba(255, 255, 255, .02); }
.ps-loc-map { position: relative; height: 170px; border-radius: var(--ps-r2); background: radial-gradient(closest-side, rgba(142, 162, 255, .18), transparent); }
.ps-loc-map { overflow: hidden; }
.ps-loc-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-loc-map line { stroke: rgba(250, 191, 38, .4); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.ps-loc-map.is-moving line { stroke: rgba(250, 191, 38, .8); animation: ps-dash 1s linear infinite; }
.ps-pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.ps-loc-tag { position: absolute; left: -24px; top: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(10, 11, 28, .7); border: 1px solid var(--ps-line); font-size: 11px; color: var(--ps-muted); white-space: nowrap; }
.ps-pin:last-of-type .ps-loc-tag { left: auto; right: -24px; top: -32px; }
.ps-pin.is-cur .ps-loc-tag, .ps-pin.is-to .ps-loc-tag { color: var(--ps-text); border-color: rgba(250, 191, 38, .45); }
.ps-dot, .ps-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.ps-dot { width: 10px; height: 10px; background: var(--ps-muted); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.ps-pin.is-cur .ps-dot { width: 14px; height: 14px; background: var(--ps-accent); box-shadow: 0 0 0 4px rgba(250, 191, 38, .25), 0 0 30px rgba(250, 191, 38, .6); }
.ps-pin.is-to .ps-dot { background: var(--ps-text); }
.ps-hop { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ps-accent); box-shadow: 0 0 14px rgba(250, 191, 38, .9); animation: ps-hop 1.6s ease-in-out infinite; }
.ps-ring { width: 46px; height: 46px; border: 1px solid rgba(250, 191, 38, .5); animation: ps-ring 2.8s ease-out infinite; }
.ps-ring2 { animation-delay: 1.4s; }
.ps-loc-t { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ps-loc-t strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.ps-loc-t > span:not(.ps-badge):not(.ps-k) { color: var(--ps-muted); font-size: 13px; }
.ps-loc-t { align-items: stretch; min-width: 0; }
.ps-loc-t > .ps-k { align-self: flex-start; }
.ps-locs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ps-locc .ps-item-t strong { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.ps-locc .ps-item-t span { color: var(--ps-muted); font-size: 12.5px; }
.ps-locc .ps-i-lg { width: 20px; height: 20px; }
.ps-locc .ps-ask { flex-basis: 100%; }
.ps-locc .ps-prog { flex: 1 1 140px; }
.ps-loc-t .ps-note { margin: 2px 0 0; }
.ps-flag { flex: none; display: block; width: 27px; height: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.ps-flag-s { display: inline-block; width: 15px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: 1.5px; }
.ps-loc-n { display: flex; align-items: center; gap: 12px; }
.ps-flag-l { width: 33px; height: 22px; border-radius: 3px; }

.ps-toasts { position: absolute; right: 12px; bottom: 12px; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; max-width: calc(100% - 24px); }
.ps-toast { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--ps-r2); background: #f4f5ff; color: #1b1d36; font-size: 13px; font-weight: 550; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .55); animation: ps-toast .28s ease both; }
.ps-toast .ps-i { color: #16a36a; }
.ps-toast.is-out { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.ps-tip { position: absolute; left: 0; top: 0; z-index: 40; width: min(290px, calc(100% - 16px)); padding: 14px; border-radius: var(--ps-r2); background: #f4f5ff; color: #1b1d36; box-shadow: 0 24px 60px -14px rgba(0, 0, 0, .65); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.ps-tip[hidden] { display: none; }
.ps-tip::before { content: ""; position: absolute; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }
.ps-tip[data-pos="below"]::before { top: -6px; left: calc(var(--ax) - 6px); }
.ps-tip[data-pos="above"]::before { bottom: -6px; left: calc(var(--ax) - 6px); }
.ps-tip[data-pos="right"]::before { left: -6px; top: calc(var(--ay) - 6px); }
.ps-tip-k { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--ps-accent); color: var(--ps-accent-ink); font-size: 11.5px; font-weight: 700; }
.ps-tip strong { display: block; margin-top: 8px; font-size: 15px; }
.ps-tip p { margin-top: 4px; font-size: 13px; color: #4a4f74; }
.ps-tip-f { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: #6a6f93; }
.ps-tip-f span { margin-right: auto; }
.ps-tip .ps-link { color: #1b1d36; text-decoration-color: rgba(27, 29, 54, .3); }
.ps-tip :focus-visible { outline-color: #1b1d36; }
.ps-hot { position: relative; z-index: 2; box-shadow: 0 0 0 2px var(--ps-accent), 0 0 0 7px rgba(250, 191, 38, .2) !important; animation: ps-hot 1.6s ease-in-out infinite; }
.ps-con-in input.ps-hot { border-radius: var(--ps-r3); }

.ps[data-ps-paused] *, .ps[data-ps-paused] *::after { animation-play-state: paused !important; }

@keyframes ps-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(61, 214, 140, 0); } }
@keyframes ps-blink { 50% { opacity: .3; } }
@keyframes ps-sheen { to { transform: translateX(100%); } }
@keyframes ps-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes ps-toast { from { opacity: 0; transform: translateY(8px); } }
@keyframes ps-dash { to { stroke-dashoffset: -9; } }
@keyframes ps-hop { from { left: var(--x1); top: var(--y1); } to { left: var(--x2); top: var(--y2); } }
@keyframes ps-ring { from { width: 14px; height: 14px; opacity: 1; } to { width: 150px; height: 150px; opacity: 0; } }
@keyframes ps-hot { 50% { box-shadow: 0 0 0 2px var(--ps-accent), 0 0 0 11px rgba(250, 191, 38, .08); } }

@container ps (max-width: 559px) {
  .ps-stat { padding: 7px 8px 9px; }
  .ps-stat > span { font-size: 11px; }
  .ps-stat b { font-size: 13.5px; }
  .ps-stat small { font-size: 10.5px; }
  .ps-chart-h { flex-wrap: wrap; }
  .ps-chart-h b { flex-basis: 100%; margin: 2px 0 0; font-size: 12.5px; }
  .ps-chart canvas { height: 40px; }
  .ps-head { padding: 12px; gap: 10px; }
  .ps-view { padding: 12px; }
  .ps-con-out { height: 260px; }
}
@container ps (min-width: 560px) {
  .ps-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ps-stats .ps-stat-disk, .ps-stats .ps-stat-up { display: grid; }
  .ps-loc { grid-template-columns: 220px 1fr; }
}
@container ps (min-width: 700px) {
  .ps-url { display: inline-flex; }
  .ps-head { grid-template-columns: 1fr auto; align-items: center; }
  .ps-power .ps-btn { flex: none; }
  .ps-stats { grid-column: 1 / -1; }
  .ps-con-out { height: 330px; }
}
@container ps (min-width: 900px) {
  .ps-shell { flex-direction: row; }
  .ps-side { flex: none; width: 214px; border-bottom: 0; border-right: 1px solid var(--ps-line); padding: 14px 10px; background: rgba(10, 11, 28, .22); }
  .ps-brand { display: flex; align-items: center; gap: 9px; padding: 2px 10px 14px; font-weight: 650; font-size: 14px; letter-spacing: -.01em; }
  .ps-mark { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--ps-accent), #e59e14); box-shadow: inset 0 -5px 8px rgba(0, 0, 0, .18); }
  .ps-tabs { flex-direction: column; overflow: visible; padding: 0; -webkit-mask: none; mask: none; gap: 2px; }
  .ps-tab { min-height: 38px; }
  .ps-tab[aria-selected="true"]::after { left: 0; right: auto; top: 9px; bottom: 9px; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
  .ps-sep { display: block; padding: 14px 12px 6px; color: var(--ps-muted); font-size: 11.5px; opacity: .8; }
  .ps-views { height: var(--ps-height); max-height: none; }
  .ps-view { padding: 18px 20px; }
  .ps-head { padding: 16px 20px; }
  .ps-con-grid { grid-template-columns: minmax(0, 1fr) 248px; height: calc(var(--ps-height) - 36px); }
  .ps-con { min-height: 0; }
  .ps-con-out { height: auto; flex: 1; }
  .ps-con-side { grid-template-columns: 1fr; grid-auto-rows: min-content; overflow-y: auto; }
  .ps-plist ul { max-height: none; }
  .ps-ed-ta { height: calc(var(--ps-height) - 170px); }
}
@container ps (min-width: 1180px) {
  .ps-side { width: 236px; }
  .ps-con-grid { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (prefers-reduced-motion: reduce) {
  .ps *, .ps *::before, .ps *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .ps-tab[aria-selected="true"] { outline: 2px solid CanvasText; }
  .ps-prog i, .ps-meter i { background: Highlight; }
}
