:root {
  color-scheme: light;
  --paper: #f3f5f8;
  --grid: rgba(16, 21, 28, 0.03);
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-2: rgba(255, 255, 255, 0.6);
  --glass-line: rgba(255, 255, 255, 0.6);
  --ink: #10151c;
  --ink-soft: #2b343e;
  --muted: #5c6772;
  --faint: #8b95a1;
  --line: #e4e8ed;
  --line-soft: rgba(16, 21, 28, 0.1);
  --signal: #ea580c;
  --signal-2: #c2410c;
  --signal-soft: rgba(234, 88, 12, 0.1);
  --signal-line: rgba(234, 88, 12, 0.34);
  --online: #15a34a;
  --online-soft: rgba(21, 163, 74, 0.14);
  --warn: #b45309;
  --warn-soft: rgba(180, 83, 9, 0.14);
  --console: #0e141b;
  --console-2: #19222c;
  --console-line: #283341;
  --shadow-hero: 0 20px 60px rgba(8, 19, 29, 0.18);
  --shadow-card: 0 1px 2px rgba(16, 21, 28, 0.04),
    0 14px 30px rgba(16, 21, 28, 0.07);
  --shadow-soft: 0 1px 2px rgba(16, 21, 28, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code",
    "Roboto Mono", Consolas, "Liberation Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--signal-soft);
  color: var(--signal-2);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.shell {
  min-height: 100vh;
}
.home-screen {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 96px 20px 56px;
  overflow: hidden;
  isolation: isolate;
}
.home-bg,
.home-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.home-bg {
  background: linear-gradient(150deg, #dfe6ee, #eef2f5 55%, #e7ece6);
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}
.home-shade {
  z-index: -1;
  background: radial-gradient(
      120% 90% at 50% 38%,
      rgba(0, 0, 0, 0.16),
      transparent 64%
    ),
    linear-gradient(180deg, #0003, #0000000f 42%, #00000080);
}
.wallpaper-info {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(560px, calc(100% - 40px));
  padding: 7px 7px 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #0e141b85;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: var(--shadow-hero);
  animation: rise 0.3s ease both;
}
.wallpaper-info[hidden] {
  display: none;
}
.wallpaper-copyright {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffffeb;
  font-size: 12.5px;
}
.wallpaper-shuffle {
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color 0.16s ease;
}
.wallpaper-shuffle:hover {
  background: var(--signal-2);
}
.home-top {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.weather-wrap,
.login-button {
  pointer-events: auto;
}
.weather-wrap {
  position: relative;
}
.weather-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease;
}
.weather-chip:hover {
  border-color: var(--signal-line);
}
.weather-chip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}
.weather-chip strong {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}
.weather-chip-icon {
  align-self: center;
  display: inline-flex;
}
.weather-chip-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.weather-chip-icon:empty {
  display: none;
}
.login-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 26px #ea580c42;
  transition: background-color 0.16s ease;
}
.login-button:hover {
  background: var(--signal-2);
}
.weather-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 288px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
}
.weather-popover[hidden] {
  display: none;
}
.weather-now {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.weather-now strong {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}
.weather-now span {
  color: var(--muted);
  font-size: 12px;
}
.weather-forecast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.weather-forecast:empty {
  display: none;
}
.forecast-day {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: #ffffff73;
}
.forecast-name {
  color: var(--muted);
  font-size: 11px;
}
.forecast-icon {
  color: var(--ink-soft);
}
.forecast-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.forecast-temp {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.forecast-temp em {
  margin-left: 3px;
  color: var(--faint);
  font-style: normal;
  font-weight: 400;
}
.weather-aqi {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12px;
}
.weather-aqi[hidden] {
  display: none;
}
.aqi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.aqi-good {
  background: #16a34a;
}
.aqi-mod {
  background: #eab308;
}
.aqi-us1 {
  background: #f97316;
}
.aqi-bad {
  background: #dc2626;
}
.weather-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}
.weather-search-row input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  padding: 0 11px;
  outline: 0;
}
.weather-search-row input:focus {
  border-color: var(--signal-line);
  box-shadow: 0 0 0 3px var(--signal-soft);
}
.weather-search-row button {
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  padding: 0 14px;
}
.weather-search-row button:hover {
  background: var(--signal-2);
}
.home-core {
  width: min(680px, calc(100vw - 40px));
  min-width: 0;
  display: grid;
  gap: 14px;
  animation: rise 0.55s ease both;
}
.search-panel,
.favorites-panel,
.important-alerts {
  min-width: 0;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
}
.search-panel {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.search-engine-toggle {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-sm);
  background: #fff9;
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--shadow-soft);
}
.search-engine-toggle button {
  min-width: 78px;
  min-height: 32px;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.search-engine-toggle button:hover {
  color: var(--ink);
}
.search-engine-toggle button.active {
  background: var(--signal);
  color: #fff;
}
.search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
}
.search-line input {
  min-width: 0;
  min-height: 54px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-sm);
  background: #fff9;
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 17px;
  outline: 0;
  padding: 0 16px;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease;
}
.search-line input:focus {
  border-color: var(--signal-line);
  background: var(--surface);
}
.search-line button {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.16s ease;
}
.search-line button:hover {
  background: var(--signal-2);
}
.search-panel {
  position: relative;
}
.search-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  gap: 2px;
  padding: 5px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-sm);
  background: #ffffffdb;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--shadow-hero);
}
.search-suggest[hidden] {
  display: none;
}
.suggest-item {
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggest-item:hover,
.suggest-item.active {
  background: var(--signal-soft);
  color: var(--signal-2);
}
.important-alerts {
  padding: 14px;
  border-color: var(--signal-line);
  background: #fff7f2d1;
}
.important-alerts-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--signal-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.important-alerts-list {
  display: grid;
  gap: 8px;
}
.important-alert {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-radius: var(--radius-sm);
  background: #ffffffc7;
}
.important-alert strong {
  font-size: 13px;
  font-weight: 650;
}
.important-alert span {
  color: var(--muted);
  font-size: 12px;
}
.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-settings-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  color: var(--ink-soft);
  font-size: 17px;
  transition:
    border-color 0.16s ease,
    color 0.16s ease;
}
.admin-settings-btn:hover {
  border-color: var(--signal-line);
  color: var(--signal-2);
}
.monitor-section {
  display: grid;
  gap: 12px;
}
.monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.monitor-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}
.monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 12px;
}
.monitor-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.server-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: var(--shadow-soft);
}
.server-card.server-warn {
  border-color: var(--signal-line);
}
.server-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.server-id {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.server-id strong {
  font-size: 14px;
  font-weight: 650;
}
.server-ip {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}
.server-card-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.server-edit,
.server-remove {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff80;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}
.server-edit:hover {
  border-color: var(--signal-line);
  color: var(--signal-2);
}
.server-remove:hover {
  border-color: #b91c1c66;
  background: #b91c1c14;
  color: #b91c1c;
}
.server-renew {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: #ffffff80;
}
.server-renew span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.server-renew strong {
  font-size: 12.5px;
  font-weight: 600;
}
.server-renew-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}
.server-renew-done {
  flex-shrink: 0;
  padding: 3px 7px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 7px;
  background: rgba(34, 197, 94, 0.09);
  color: #15803d;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}
.server-renew-done:hover {
  border-color: rgba(34, 197, 94, 0.48);
  background: rgba(34, 197, 94, 0.16);
}
.server-warn .server-renew strong {
  color: var(--signal-2);
}
.server-metrics {
  display: grid;
  gap: 7px;
}
.server-offline {
  color: var(--faint);
  font-size: 12px;
}
.server-metric {
  display: grid;
  gap: 3px;
}
.metric-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
}
.metric-label span {
  color: var(--muted);
}
.metric-label strong {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.metric-label em {
  color: var(--faint);
  font-style: normal;
  font-weight: 400;
  font-size: 10.5px;
}
.metric-bar {
  height: 5px;
  border-radius: 999px;
  background: #10151c14;
  overflow: hidden;
}
.metric-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--online);
}
.metric-bar-fill.warn {
  background: #eab308;
}
.metric-bar-fill.bad {
  background: #dc2626;
}
.server-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
}
.server-line span {
  color: var(--muted);
}
.server-line strong {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}
.server-line strong.cert-warn {
  color: var(--signal-2);
}
.hardware-card {
  overflow: hidden;
  background: linear-gradient(145deg, #ffffffd1, #fff7f1ad), var(--glass);
}
.hardware-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ea580c1a, #ffffff94);
}
.hardware-hero div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.hardware-hero span,
.hardware-lines span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hardware-hero strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}
.hardware-hero b {
  flex-shrink: 0;
  color: var(--signal-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
}
.hardware-gauges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.hardware-ring {
  --value: 0;
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 50%;
  background: radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.95) 0 56%,
      transparent 57%
    ),
    conic-gradient(
      var(--online) calc(var(--value) * 1%),
      rgba(16, 21, 28, 0.08) 0
    );
  box-shadow: inset 0 0 0 1px #10151c14;
}
.hardware-ring.hardware-warm {
  background: radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.95) 0 56%,
      transparent 57%
    ),
    conic-gradient(#eab308 calc(var(--value) * 1%), #10151c14 0);
}
.hardware-ring.hardware-hot {
  background: radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.95) 0 56%,
      transparent 57%
    ),
    conic-gradient(#dc2626 calc(var(--value) * 1%), #10151c14 0);
}
.hardware-ring span {
  color: var(--muted);
  font-size: 11px;
}
.hardware-ring strong {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
}
.hardware-trend {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff80;
}
.hardware-trend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hardware-trend-head span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hardware-trend-head div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.hardware-trend-head b {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 650;
}
.hardware-trend svg {
  width: 100%;
  height: 86px;
  display: block;
}
.hardware-trend path {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hardware-trend .trend-grid {
  stroke: #10151c17;
  stroke-width: 1;
}
.trend-cpu {
  color: #2563eb;
  stroke: #2563eb;
}
.trend-mem {
  color: #16a34a;
  stroke: #16a34a;
}
.trend-gpu {
  color: var(--signal-2);
  stroke: var(--signal-2);
}
.trend-vram {
  color: #7c3aed;
  stroke: #7c3aed;
}
.hardware-lines {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.hardware-lines div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff80;
}
.hardware-lines strong {
  min-width: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}
.notice-field select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 11px;
  color: var(--ink);
  font-size: 14px;
  outline: 0;
}
.notice-area {
  display: grid;
  gap: 8px;
}
.notice-area[hidden] {
  display: none;
}
.notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  box-shadow: var(--shadow-hero);
}
.notice-warn {
  border-color: var(--signal-line);
  background: #fff6f0e0;
}
.notice-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.notice-body strong {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--signal-2);
}
.notice-body span {
  color: var(--muted);
  font-size: 12.5px;
}
.notice-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff9;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.notice-close:hover {
  background: var(--signal-soft);
  color: var(--signal-2);
}
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #080c128c;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.notice-modal[hidden] {
  display: none;
}
.notice-modal-panel {
  width: min(360px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.notice-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.notice-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 660;
}
.notice-modal-close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  transition:
    border-color 0.16s ease,
    color 0.16s ease;
}
.notice-modal-close:hover {
  border-color: var(--line-2);
  color: var(--ink);
}
.notice-field {
  display: grid;
  gap: 6px;
}
.notice-field span {
  font-size: 13px;
  font-weight: 560;
  color: var(--ink-soft);
}
.notice-field input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  outline: 0;
}
.notice-field input:focus {
  border-color: var(--signal-line);
  box-shadow: 0 0 0 3px var(--signal-soft);
}
.notice-field-hint {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 12px;
}
.notice-modal-actions {
  display: flex;
  justify-content: flex-end;
}
.notice-modal-save {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.16s ease;
}
.notice-modal-save:hover {
  background: var(--signal-2);
}
.favorites-panel {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.admin-unlocked .favorites-panel {
  display: block;
}
.favorites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.favorites-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}
.add-site-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-sm);
  background: #ffffffb3;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}
.add-site-button:hover {
  border-color: var(--signal-line);
  background: var(--signal-soft);
  color: var(--signal-2);
}
.bookmark-form {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.bookmark-form[hidden] {
  display: none;
}
.bookmark-form input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  padding: 0 11px;
  outline: 0;
}
.bookmark-form input:focus {
  border-color: var(--signal-line);
  box-shadow: 0 0 0 3px var(--signal-soft);
}
.form-actions {
  display: flex;
  gap: 6px;
}
.form-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--signal);
  color: #fff;
  font-weight: 600;
}
.form-actions button:hover {
  background: var(--signal-2);
}
.form-actions button[type="button"] {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.form-actions button[type="button"]:hover {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}
.bookmark-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  gap: 10px;
}
.bookmark-card {
  position: relative;
  min-width: 0;
}
.bookmark-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 8px 4px;
  text-align: center;
  transition: transform 0.16s ease;
}
.bookmark-card:hover .bookmark-launch {
  transform: translateY(-3px);
}
.bookmark-icon {
  position: relative;
  overflow: hidden;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 8px 20px #00000038;
}
.bookmark-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.bookmark-icon.has-image img {
  opacity: 1;
}
.bookmark-name {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bookmark-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffffeb;
  color: var(--faint);
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  transition:
    opacity 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}
.bookmark-grid.editing .bookmark-remove,
.bookmark-grid.editing .bookmark-edit {
  opacity: 1;
}
.bookmark-remove:hover {
  background: #b91c1c1a;
  color: #b91c1c;
}
.bookmark-edit {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffffeb;
  color: var(--muted);
  line-height: 1;
  opacity: 0;
  transition:
    opacity 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}
.bookmark-edit svg {
  width: 12px;
  height: 12px;
}
.bookmark-edit:hover {
  background: var(--signal-soft);
  color: var(--signal-2);
}
.bookmark-grid.editing .bookmark-card {
  cursor: grab;
  touch-action: none;
}
.bookmark-card.dragging {
  opacity: 0.55;
  cursor: grabbing;
}
.empty-state {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.hidden-for-guest {
  display: none !important;
}
.admin-panel {
  padding: 40px 20px;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 30px 30px;
  border-top: 1px solid var(--line);
}
.admin-inner {
  width: min(1040px, 100%);
  display: grid;
  gap: 16px;
  margin: 0 auto;
}
.admin-title p,
.admin-title h1 {
  margin: 0;
}
.admin-title p {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.admin-title h1 {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.01em;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: var(--shadow-soft);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.card-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}
.state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--online-soft);
  color: var(--online);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.state-pill:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.state-pill.muted {
  background: #10151c0f;
  color: var(--muted);
}
.health-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.health-summary div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff80;
}
.health-summary span,
.health-list span {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.health-summary strong {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
}
.health-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.health-list div {
  position: relative;
  min-height: 58px;
  padding: 10px 86px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff80;
}
.health-list span {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.health-list a {
  color: var(--ink);
}
.health-list a:hover,
.health-list a:focus-visible {
  color: var(--signal-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.health-list a[aria-disabled="true"] {
  color: var(--muted);
  pointer-events: none;
}
.health-list strong {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.health-list em {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  overflow-wrap: anywhere;
}
.health-ok strong {
  color: var(--online);
}
.health-bad strong {
  color: #dc2626;
}
.health-busy strong {
  color: #ca8a04;
}
.health-starting strong {
  color: var(--signal);
}
.health-disabled strong {
  color: var(--faint);
}
.health-disabled {
  opacity: 0.72;
}
.ai-toggle {
  position: absolute;
  bottom: 9px;
  right: 10px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff9;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.ai-toggle.ai-unload {
  color: var(--muted);
}
.ai-toggle.ai-unload:hover {
  border-color: #b91c1c66;
  color: #b91c1c;
  background: #b91c1c12;
}
.ai-toggle.ai-load {
  color: var(--online);
  border-color: var(--online-soft);
  background: var(--online-soft);
}
.ai-toggle.ai-load:hover {
  background: var(--online);
  color: #fff;
}
.admin-card:has(.clock-face) {
  border-color: var(--console-line);
  background: linear-gradient(165deg, var(--console-2), var(--console));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-card);
}
.admin-card:has(.clock-face) .card-head h2 {
  color: #fff;
}
.admin-card:has(.clock-face) .state-pill {
  background: #ffffff1a;
  color: #ffffffd1;
}
.clock-face {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
}
.clock-face:after {
  content: "▮";
  margin-left: 0.08em;
  color: var(--signal);
  animation: blink 1.1s steps(1) infinite;
}
.clock-date {
  margin: 12px 0 0;
  color: #fff9;
  font-family: var(--mono);
  font-size: 12px;
}
.balance-value {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.muted-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.muted-line:last-of-type {
  color: var(--faint);
}
.card-head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-refresh {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff80;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}
.card-refresh:hover {
  border-color: var(--signal-line);
  background: var(--signal-soft);
  color: var(--signal-2);
}
.card-refresh.spinning {
  animation: spin 0.6s linear;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.balance-chart-wrap {
  margin: 12px 0 2px;
}
.balance-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}
.balance-range,
.balance-metric {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff80;
}
.balance-range button,
.balance-metric button {
  min-width: 36px;
  min-height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.balance-range button.active,
.balance-metric button.active {
  background: var(--signal);
  color: #fff;
}
.balance-chart-area {
  position: relative;
}
.balance-chart {
  width: 100%;
  height: 54px;
  display: block;
}
.balance-chart:empty {
  display: none;
}
.balance-chart .bar {
  transition: opacity 0.12s ease;
  cursor: pointer;
}
.balance-chart .bar:not(.active) {
  opacity: 0.85;
}
.balance-chart .bar:hover,
.balance-chart .bar.active {
  fill: #ea580c;
  opacity: 1;
}
.balance-tip {
  position: absolute;
  top: -4px;
  transform: translate(-50%, -100%);
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--console);
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 8px 20px #00000047;
}
.balance-tip[hidden] {
  display: none;
}
.balance-tip strong {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
}
.balance-tip span {
  color: #fff9;
  font-size: 10px;
}
.balance-topup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--signal-2);
  font-size: 12.5px;
  font-weight: 600;
  transition: gap 0.16s ease;
}
.balance-topup:hover {
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-list-card .card-head {
  margin-bottom: 12px;
}
.service-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.service-links a {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff80;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease;
}
.service-links a:hover {
  border-color: var(--signal-line);
  background: var(--signal-soft);
}
.service-links strong {
  font-size: 14px;
  font-weight: 650;
}
.service-links span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}
@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  to {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
@media (max-width: 760px) {
  .home-screen {
    align-items: start;
    padding: 116px 12px 28px;
  }
  .home-top {
    top: 14px;
    left: 14px;
    right: 14px;
  }
  .weather-chip,
  .login-button {
    min-height: 40px;
  }
  .weather-chip strong {
    font-size: 18px;
  }
  .weather-popover {
    width: min(310px, calc(100vw - 24px));
  }
  .home-core {
    width: min(100%, calc(100vw - 24px));
    gap: 10px;
  }
  .search-panel {
    padding: 10px;
  }
  .search-engine-toggle {
    width: 100%;
  }
  .search-engine-toggle button {
    flex: 1;
  }
  .search-line {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 6px;
  }
  .search-line input {
    min-height: 50px;
    font-size: 16px;
    padding: 0 13px;
  }
  .search-line button {
    min-height: 50px;
  }
  .favorites-panel {
    padding: 0;
  }
  .bookmark-form {
    grid-template-columns: 1fr;
  }
  .form-actions button {
    flex: 1;
  }
  .bookmark-grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 8px;
  }
  .admin-panel {
    padding: 28px 12px;
  }
  .admin-grid,
  .service-links {
    grid-template-columns: 1fr;
  }
}
.balance-threshold {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}
.balance-threshold input {
  width: 72px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff9;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  outline: 0;
}
.balance-threshold input:focus {
  border-color: var(--signal-line);
}
.balance-threshold button {
  padding: 5px 12px;
  border: 1px solid var(--signal-line);
  border-radius: var(--radius-xs);
  background: var(--signal-soft);
  color: var(--signal-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.balance-threshold button:hover {
  background: var(--signal);
  color: #fff;
}
.calendar-card .card-head-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal-nav {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff80;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.cal-nav:hover {
  border-color: var(--signal-line);
  color: var(--signal-2);
}
.cal-title {
  min-width: 80px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 4px;
}
.cal-wd {
  text-align: center;
  color: var(--faint);
  font-size: 10.5px;
  font-family: var(--mono);
  padding-bottom: 2px;
}
.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 12px;
  color: var(--ink-soft);
}
.cal-day.cal-empty {
  background: transparent;
}
.cal-day.cal-today {
  background: var(--signal);
  color: #fff;
  font-weight: 700;
}
.cal-day.cal-has:after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}
.cal-day.cal-today.cal-has:after {
  background: #fff;
}
.cal-events {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.cal-empty-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.cal-event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff80;
}
.cal-event-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.cal-event-info strong {
  font-size: 13px;
  font-weight: 650;
}
.cal-event-info span {
  color: var(--muted);
  font-size: 11.5px;
}
.cal-event-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.day-btn {
  min-width: 38px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff9;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition:
    background-color 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
}
.day-btn.num {
  min-width: 30px;
  padding: 5px 0;
  text-align: center;
}
.day-btn.on {
  background: var(--signal-soft);
  border-color: var(--signal-line);
  color: var(--signal-2);
  font-weight: 600;
}
.day-add {
  padding: 5px 12px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.year-date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.year-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--signal-line);
  border-radius: 7px;
  background: var(--signal-soft);
  color: var(--signal-2);
  font-family: var(--mono);
  font-size: 12px;
}
.year-date button {
  border: 0;
  background: transparent;
  color: var(--signal-2);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.notice-info {
  border-color: #2563eb57;
  background: #eff6ffe6;
}
.notice-info .notice-body strong {
  color: #2563eb;
}
.notice-info .notice-close:hover {
  background: #2563eb1f;
  color: #2563eb;
}
.cal-day {
  aspect-ratio: auto;
  min-height: 0;
  height: 26px;
  font-size: 11.5px;
}
.cal-grid {
  gap: 2px;
}
.cal-day.cal-has:after {
  bottom: 3px;
}
.settings-section {
  margin-bottom: 16px;
}
.settings-section:last-child {
  margin-bottom: 0;
}
.settings-section h4 {
  margin: 0 0 9px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.settings-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.settings-section-head h4 {
  margin: 0;
}
.settings-section .cal-events {
  margin-top: 0;
  max-height: 240px;
  overflow-y: auto;
}
.settings-section .balance-threshold {
  margin-top: 0;
}
