


.st-view.modal-overlay {
  left: 80px; width: calc(100vw - 80px); top: 0; height: 100vh;
  background: var(--bg-base);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  animation: st-view-in 0.35s var(--ease) both;
}
.st-view.modal-overlay::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 80% 0%, var(--accent-wash), transparent 70%),
    radial-gradient(40% 35% at 0% 100%, var(--accent-wash), transparent 70%);
}
@keyframes st-view-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.st-view .modal-content.two-pane { background: transparent; position: relative; }
.st-view .modal-main { max-width: 1040px; padding: 0 12px; }


.st-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 34px 28px 22px; border-bottom: 1px solid var(--border);
}
.st-kicker {
  display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
}
.st-header h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; color: var(--text-main); }
.st-back {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 8px 0 14px; border-radius: 999px;
  background: var(--bg-panel); border: 1px solid var(--border); color: var(--text-dim); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: background-color 160ms, border-color 160ms, color 160ms, transform 160ms var(--ease);
}
.st-back:hover { color: var(--text-strong); border-color: var(--border-hover); background: var(--bg-hover); }
.st-back:hover i { transform: translateX(-3px); }
.st-back i { transition: transform 200ms var(--ease); }
.st-back kbd {
  font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-sunken);
}

.st-scroll { padding: 26px 28px 60px !important; }
.st-view .tab-pane { transition: none !important; }


.st-view .tab-pane.st-enter .st-card,
.st-view .tab-pane.st-enter .st-hero,
.st-view .tab-pane.st-enter .st-versions,
.st-view .tab-pane.st-enter .st-about,
.st-view .tab-pane.st-enter .st-link-card {
  animation: st-rise 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes st-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }


.st-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.st-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.st-split--wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 980px) { .st-split, .st-split--wide { grid-template-columns: minmax(0, 1fr); } }


.st-card {
  position: relative; padding: 20px 22px; border-radius: var(--radius-lg);
  background: var(--surface-sheen);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color 200ms;
}
.st-card:hover { border-color: var(--border-hover); }
.st-card--danger { border-color: var(--danger-line); background: var(--danger-soft); }
.st-card--danger:hover { border-color: var(--danger); }

.st-card-head { display: flex; align-items: center; gap: 14px; }
.st-card-head > div:not(.st-chip):not(.st-head-actions) { flex: 1; min-width: 0; }
.st-card-head h3 { margin: 0; font-size: 16px; font-weight: 650; color: var(--text-main); letter-spacing: -0.01em; }
.st-card-head p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.st-head-actions { display: flex; align-items: center; gap: 8px; }
#new-version-tag { color: var(--accent-text); }

.st-ico {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); font-size: 17px;
  color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 30%, transparent);
}
.st-ico--violet { --c: var(--accent); }
.st-ico--indigo { --c: var(--accent-blue); }
.st-ico--obs { --c: var(--obs); }
.st-ico--red { --c: var(--danger); }
.st-ico--green { --c: var(--success); }
.st-ico--amber { --c: var(--warning); }
.st-ico--blurple { --c: var(--discord); }

.st-ico--pulse { animation: st-pulse 2.4s ease-in-out infinite; }
@keyframes st-pulse { 50% { border-color: color-mix(in srgb, var(--c) 70%, transparent); } }


.st-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.st-row--col { flex-direction: column; align-items: stretch; gap: 10px; }
.st-row-text { min-width: 0; }
.st-row-text strong, .st-row--col > strong { display: block; font-size: 14px; font-weight: 600; color: var(--text-main); }
.st-row-text span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.st-row-text b { color: var(--accent-text); font-weight: 600; font-family: var(--mono); font-size: 12px; }
.st-row-ctrl { display: flex; align-items: center; gap: 8px; flex: none; }

.st-label {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}


.st-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--text-dim); background: var(--tint); border: 1px solid var(--border);
  transition: color 200ms, background-color 200ms, border-color 200ms;
}
.st-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); transition: background-color 200ms; }
.st-chip.active { color: var(--success-text); background: var(--success-soft); border-color: var(--success-line); }

.st-chip.active .dot { background: var(--success); }

.st-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--text-dim); background: var(--tint); border: 1px solid var(--border);
  transition: all 200ms;
}


.st-input {
  height: 38px; padding: 0 12px; border-radius: var(--radius-sm); min-width: 0;
  background: var(--bg-sunken); border: 1px solid var(--border); color: var(--text-main); font-size: 13.5px; font-family: inherit;
  transition: border-color 160ms, box-shadow 160ms, background-color 160ms; outline: none;
}
.st-input:hover { border-color: var(--border-hover); }
.st-input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.st-input::placeholder { color: var(--text-muted); }
.st-select {
  width: 170px; padding-right: 32px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239a9aae' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.st-select--wide { width: 100%; }
.st-select option { background: var(--bg-raised); color: var(--text-main); }


.st-fields { display: grid; grid-template-columns: minmax(0, 1.4fr) 110px minmax(0, 1.4fr) auto; gap: 10px; align-items: end; margin-top: 18px; }
.st-fields--stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 12px; }
@media (max-width: 860px) { .st-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.st-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-field > span { font-size: 11.5px; font-weight: 500; color: var(--text-muted); }
.st-field .st-input { width: 100%; }


.st-range-wrap { gap: 12px; }
.st-range-ico { color: var(--text-muted); font-size: 15px; }
.st-range {
  -webkit-appearance: none; appearance: none; width: 200px; height: 6px; border-radius: 999px; cursor: pointer;
  background: var(--accent-gradient-bar) 0 / var(--fill, 100%) 100% no-repeat, var(--bg-well);
}
.st-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--knob); border: 0;
  box-shadow: 0 0 0 1px var(--border-hover), 0 0 0 4px var(--accent-soft); transition: transform 160ms var(--ease), box-shadow 160ms;
}
.st-range:hover::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 1px var(--border-hover), 0 0 0 6px var(--accent-soft); }
.st-value { min-width: 48px; text-align: right; font-family: var(--mono); font-size: 12.5px; color: var(--text-main); }


.st-switch.switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.st-switch.switch input { opacity: 0; width: 0; height: 0; }
.st-switch .slider {
  position: absolute; inset: 0; cursor: pointer; border-radius: 999px; background: var(--bg-active); border: 1px solid var(--border);
  transition: background-color 220ms, border-color 220ms;
}
.st-switch .slider::before {
  content: ""; position: absolute; width: 20px; height: 20px; left: 2px; top: 2px; border-radius: 50%; background: var(--knob);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); transition: transform 260ms var(--ease), background-color 220ms;
}
.st-switch input:checked + .slider { background: var(--accent-gradient-fill); border-color: transparent; }
.st-switch input:checked + .slider::before { transform: translateX(20px); background: var(--knob); }
.st-switch input:focus-visible + .slider { outline: 2px solid var(--accent); outline-offset: 2px; }


.st-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-panel); color: var(--text-main); font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 160ms var(--ease), filter 160ms, background-color 160ms, border-color 160ms, box-shadow 200ms, color 160ms;
}
.st-btn:hover { transform: translateY(-1px); }
.st-btn:active { transform: translateY(0) scale(0.98); }
.st-btn:disabled { opacity: 0.55; cursor: default; transform: none; }

.st-btn--primary { background: var(--accent-gradient-fill); border-color: transparent; color: var(--accent-contrast); }
.st-btn--primary:hover { filter: brightness(1.08); }
.st-btn--ghost { background: transparent; color: var(--text-dim); }
.st-btn--ghost:hover { color: var(--text-strong); border-color: var(--border-hover); background: var(--bg-hover); }
.st-btn--danger { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger-text); }
.st-btn--danger:hover { background: var(--danger-solid); border-color: var(--danger-solid); color: #fff; }
.st-btn--ghost-danger { background: transparent; color: var(--danger-text); border-color: var(--danger-line); }
.st-btn--ghost-danger:hover { background: var(--danger-soft); }
.st-btn--discord { background: var(--discord); border-color: transparent; color: #fff; }
.st-btn--discord:hover { filter: brightness(1.08); }
.st-btn--wide { width: 100%; }
.st-btn--big { height: 48px; font-size: 14.5px; border-radius: var(--radius-md); }

.st-icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); flex: none;
  background: var(--bg-panel); border: 1px solid var(--border); color: var(--text-dim); cursor: pointer;
  transition: background-color 160ms, border-color 160ms, color 160ms;
}
.st-icon-btn:hover { color: var(--text-strong); border-color: var(--border-hover); background: var(--bg-hover); }
.st-icon-btn:hover .fa-arrows-rotate { animation: fa-spin 0.8s var(--ease); }

.st-link-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: var(--radius-xs); border: 0; background: none;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-dim); cursor: pointer;
}
.st-link-btn:hover { color: var(--text-strong); background: var(--tint); }


.st-hero {
  --c: var(--accent);
  display: flex; align-items: center; gap: 18px; margin-bottom: 16px; padding: 22px 24px; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background:
    radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%),
    var(--surface-sheen);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
}
.st-hero > div:not(.st-hero-side) { flex: 1; min-width: 0; }
.st-hero h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.st-hero p { margin: 4px 0 0; max-width: 560px; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.st-hero-ico {
  flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--radius-md); font-size: 26px; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 100%, #fff 15%), color-mix(in srgb, var(--c) 70%, #000));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  animation: st-float 5s ease-in-out infinite;
}
@keyframes st-float { 50% { transform: translateY(-3px) rotate(-3deg); } }
.st-hero-side { display: flex; align-items: center; gap: 8px; }
.st-hero--discord { --c: var(--discord); }
.st-hero--chip { --c: var(--accent); }
.st-hero--term { --c: var(--success); }
.st-hero--update { --c: var(--info); }


.st-steps { list-style: none; counter-reset: st; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; }
.st-steps li { counter-increment: st; position: relative; padding: 0 0 20px 46px; }
.st-steps li:last-child { padding-bottom: 0; }
.st-steps li::before {
  content: counter(st); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--discord-text);
  background: var(--discord-soft); border: 1px solid var(--discord-line);
}
.st-steps li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 4px; width: 1px; background: linear-gradient(var(--discord-line), transparent); }
.st-steps strong { font-size: 14px; font-weight: 600; }
.st-steps p { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.st-steps a { color: var(--discord-text); text-decoration: none; font-weight: 600; }
.st-steps a:hover { text-decoration: underline; }
.st-steps b { color: var(--text-dim); font-weight: 600; }
.st-steps .st-btn { margin-top: 12px; }
.st-copy {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding: 2px 8px; border-radius: var(--radius-xs); cursor: pointer;
  background: var(--bg-sunken); border: 1px dashed var(--discord-line); color: var(--discord-text); font-size: 12px;
}
.st-copy code { font-family: var(--mono); font-size: 12px; }
.st-copy:hover { border-style: solid; }


.st-block { margin-bottom: 18px; }
.st-block small { display: block; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.st-seg.hw-chip-group { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--radius-md); background: var(--bg-sunken); border: 1px solid var(--border); justify-content: flex-start; }
.st-seg .hw-chip {
  position: relative; padding: 7px 14px; border-radius: var(--radius-xs); border: 1px solid transparent; background: transparent; color: var(--text-muted);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
}
.st-seg .hw-chip:hover { transform: none; background: var(--tint); color: var(--text-strong); border-color: transparent; }

.st-seg .hw-chip.active {
  background: transparent; color: var(--text-main); border-color: transparent; box-shadow: none;
  --edge-width: 2px;
}
.st-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; padding: 12px 14px; border-radius: var(--radius-md);
  background: var(--info-soft); border: 1px solid var(--info-line); font-size: 12.5px; color: var(--text-dim); line-height: 1.5;
}
.st-note i { color: var(--info); margin-top: 2px; }


.st-card--console { display: flex; flex-direction: column; }
.st-console-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.st-console-head .st-label { margin: 0; }
.st-console {
  flex: 1; min-height: 300px; max-height: 420px; overflow-y: auto; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--bg-well); border: 1px solid var(--border);
  font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-dim); word-break: break-word;
  box-shadow: var(--shadow-inset);
}
.st-console--tall { min-height: 380px; max-height: calc(100vh - 360px); color: var(--success-text); }

.st-console-muted { color: var(--text-muted); }
.st-console-cmd { color: var(--info-text); }
.st-console-input {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 5px 5px 14px; border-radius: var(--radius-md);
  background: var(--bg-sunken); border: 1px solid var(--border); transition: border-color 160ms, box-shadow 160ms;
}
.st-console-input:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.st-prompt { font-family: var(--mono); color: var(--accent-text); font-size: 15px; }
#terminal-input.st-input, .st-console-input input {
  flex: 1; min-width: 0; height: 34px; border: 0; background: none; outline: none; box-shadow: none;
  color: var(--text-main); font-family: var(--mono); font-size: 13px; padding: 0;
}
.st-console-input .st-btn { height: 34px; }

.st-progress-wrap { margin-top: 14px; }
.st-progress { height: 8px; border-radius: 999px; background: var(--bg-well); overflow: hidden; }
.st-progress > div {
  height: 100%; border-radius: inherit; transition: width 0.3s var(--ease);
  background: var(--accent-gradient-flow) 0 0 / 200% 100%;
  animation: st-flow 1.6s linear infinite;
}
@keyframes st-flow { to { background-position: -200% 0; } }
.st-progress-label { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--accent-text); }
#flash-percent-text.st-progress-label { justify-content: flex-end; }

.st-pins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--text-dim); }

.st-quick { display: flex; flex-direction: column; gap: 8px; }
.st-quick-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: var(--radius-md); cursor: pointer; text-align: left;
  background: var(--bg-panel); border: 1px solid var(--border); color: var(--text-main); font-family: inherit;
  transition: border-color 160ms, background-color 160ms, transform 160ms var(--ease);
}
.st-quick-btn:hover { border-color: var(--border-hover); background: var(--bg-hover); transform: translateX(2px); }
.st-quick-btn i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-xs); background: var(--success-soft); color: var(--success); }
.st-quick-btn--red i { background: var(--danger-soft); color: var(--danger); }
.st-quick-btn--red:hover { border-color: var(--danger-line); }
.st-quick-btn span { display: flex; flex-direction: column; font-size: 12px; color: var(--text-muted); }
.st-quick-btn b { font-size: 13.5px; font-weight: 600; color: var(--text-main); }


.st-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.st-version {
  padding: 18px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface-sheen);
}
.st-version .st-label { margin-bottom: 6px; }
.st-version strong { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-family: var(--sans); }
#latest-version-display { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.st-notes-wrap { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.st-notes { font-size: 13px; line-height: 1.6; color: var(--text-dim); }
.st-notes ul { margin: 0; padding-left: 18px; }


.st-about { text-align: center; padding: 34px 20px 28px; }
.st-about-mark {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 30% 20%, var(--accent-soft), var(--bg-sunken) 70%); border: 1px solid var(--accent-line);
  box-shadow: var(--shadow-card);
  animation: st-float 6s ease-in-out infinite;
}
.st-about-mark::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, var(--accent-purple) 85%, var(--accent-blue), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: st-orbit 4s linear infinite;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes st-orbit { to { --spin: 360deg; } }
.st-about-mark img { width: 58px; height: 58px; object-fit: contain; }
.st-about h3 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.st-about p { max-width: 460px; margin: 8px auto 0; font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.st-about-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.st-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .st-links { grid-template-columns: minmax(0, 1fr); } }
.st-link-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-md); text-decoration: none; color: var(--text-main);
  background: var(--surface-sheen); border: 1px solid var(--border);
  transition: border-color 200ms, transform 200ms var(--ease), box-shadow 200ms;
}
.st-link-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.st-link-card > i:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); flex: none; background: var(--accent-soft); color: var(--accent-text); }
.st-link-card span { flex: 1; display: flex; flex-direction: column; font-size: 12px; color: var(--text-muted); line-height: 1.4; min-width: 0; }
.st-link-card b { font-size: 14px; font-weight: 600; color: var(--text-main); }
.st-link-arrow { font-size: 11px; color: var(--text-muted); transition: transform 200ms var(--ease), color 200ms; }
.st-link-card:hover .st-link-arrow { transform: translate(2px, -2px); color: var(--text-strong); }
.st-credits { margin: 30px 0 0; text-align: center; font-size: 12px; color: var(--text-muted); }

@media (max-width: 760px) {
  .st-card-head { flex-wrap: wrap; }
}

input[type=number].st-input { -moz-appearance: textfield; }
input[type=number].st-input::-webkit-inner-spin-button,
input[type=number].st-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.st-card > .st-row:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.st-console-input input::placeholder { color: var(--text-muted); }


.st-nudge-wrap { display: flex; align-items: center; gap: 12px; }
.st-nudge {
  display: grid; grid-template-columns: repeat(3, 30px); grid-template-rows: repeat(3, 26px); gap: 3px;
}
.st-nudge-btn {
  display: grid; place-items: center; cursor: pointer; padding: 0;
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius-xs);
  color: var(--text-dim); font-size: 11px;
  transition: background-color 140ms, border-color 140ms, color 140ms, transform 140ms var(--ease);
}
.st-nudge-btn:hover { background: var(--bg-hover); border-color: var(--border-hover); color: var(--text-strong); }
.st-nudge-btn:active { transform: scale(0.92); }
.st-nudge-btn.up { grid-area: 1 / 2; }
.st-nudge-btn.left { grid-area: 2 / 1; }
.st-nudge-btn.mid { grid-area: 2 / 2; color: var(--text-muted); }
.st-nudge-btn.right { grid-area: 2 / 3; }
.st-nudge-btn.down { grid-area: 3 / 2; }
#grid-nudge-value { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }


.st-storage-wrap { gap: 12px; }
.st-bar { width: 200px; height: 6px; border-radius: 999px; background: var(--bg-well); overflow: hidden; }
.st-bar span {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: var(--accent-gradient-bar);
  transition: width 320ms var(--ease), background 220ms;
}
.st-bar--full span { background: linear-gradient(90deg, var(--warning), var(--danger)); }
#storage-value { min-width: 108px; }
