/* SignalGen web: the apps' look (Theme.swift / Color.kt palette, SF-style type, mono readouts). */
:root {
  --screen: #0A0D0B;
  --panel: #101412;
  --dim: #8A968E;
  --border: #2A322C;
  --dial-track: #26302A;
  --knob-face: #161C18;
  --icon-idle: #B8C4BC;
  --disconnected: #CC5555;
  --dialog: #1A201C;
  --scope-bg: #040805;
  --readout-border: #1E2621;
  --trace: #6CFF8A;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--screen);
  color: #fff;
  font: 15px/1.3 var(--sans);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
}

button { font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

#app { position: fixed; inset: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.loading { padding: 40px 16px; color: var(--dim); text-align: center; }

.page { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--screen); }

/* ---- Header and icon buttons ---- */

.screen-header {
  display: flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 2px 6px; background: var(--panel);
}
.header-inset { width: 2px; height: 40px; }
.header-title { font-size: 17px; font-weight: 700; white-space: nowrap; }
.header-trailing { margin-left: auto; display: flex; align-items: center; }
.io-slot { display: flex; }

.icon-btn {
  width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--icon-idle);
  padding: 0; cursor: pointer;
}
.icon-btn svg { display: block; }
.icon-btn.active { color: var(--trace); background: rgba(108, 255, 138, .14); border-color: rgba(108, 255, 138, .5); }

.direction { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 0 4px; }
.dir {
  width: 44px; height: 32px; border: 0; padding: 0; background: transparent; cursor: pointer;
  font: 700 13px var(--mono); color: var(--icon-idle);
}
.dir.on { color: var(--trace); background: rgba(108, 255, 138, .18); }

/* ---- Shared rows ---- */

.section-title { font: 700 12px var(--mono); color: var(--trace); margin-bottom: 6px; }
.section-title.spaced { margin-top: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.section-head .section-title { margin-bottom: 6px; }
.subpage-body > .section-head:first-child { margin-top: 0; }
.note { font-size: 12px; color: var(--dim); margin-top: 6px; line-height: 1.35; }
.mini-label { font: 11px var(--mono); color: var(--dim); margin: 6px 0 4px; }
.text-btn { border: 0; background: none; padding: 0; color: var(--trace); font-size: 13px; cursor: pointer; }
.text-btn.small { font: 700 11px var(--mono); margin-left: 8px; }
.error-text { font-size: 12px; color: var(--disconnected); margin-bottom: 8px; }

.setting-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--panel); border-radius: 8px;
}
.setting-row.clickable { cursor: pointer; }
.setting-row.gap-top, .gap-top { margin-top: 6px; }
.setting-text { flex: 1; min-width: 0; }
.setting-title { font-size: 15px; }
.setting-hint { font-size: 12px; color: var(--dim); margin-top: 2px; }
.setting-trailing { display: flex; align-items: center; }
.trailing-action { font: 700 13px var(--mono); color: var(--trace); }
.choice { font: 700 14px var(--mono); color: var(--trace); white-space: nowrap; }
.choice.off { color: var(--dim); }
.mic-gate .setting-row { margin-bottom: 8px; }

.segments { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.seg {
  flex: 1 1 0; min-width: 0; min-height: 38px; padding: 0 6px; border: 0; border-right: 1px solid var(--border);
  background: var(--panel); color: #fff; font: 700 13px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
}
.seg:last-child { border-right: 0; }
.seg.on { color: var(--trace); background: #1b2b20; }

.play-pill {
  width: 72px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(108, 255, 138, .5); background: transparent; color: var(--trace); cursor: pointer;
}
.play-pill.on { background: rgba(108, 255, 138, .22); border-color: var(--trace); }

.stepper { display: flex; align-items: center; gap: 6px; }
.step-btn {
  width: 36px; height: 34px; border-radius: 8px; border: 1px solid rgba(108, 255, 138, .5);
  background: transparent; color: var(--trace); font: 700 18px var(--sans); cursor: pointer; padding: 0;
}
.step-btn:disabled { color: var(--dim); border-color: var(--border); cursor: default; }
.step-value { font: 700 17px var(--mono); min-width: 48px; text-align: center; }
.stepper.big { gap: 0; }
.stepper.big .step-btn { border: 0; width: 36px; }
.stepper.big .step-value { font-size: 18px; min-width: 36px; }

.level-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.level-label { font: 12px var(--mono); color: var(--dim); width: 52px; flex: none; }
.level-value { font: 13px var(--mono); width: 48px; text-align: right; flex: none; }

.range { -webkit-appearance: none; appearance: none; flex: 1; min-width: 60px; height: 28px; background: transparent; margin: 0; cursor: pointer; --fill: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--trace) var(--fill), #3a3f3c var(--fill)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--trace) var(--fill), #3a3f3c var(--fill)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }

.readout {
  display: flex; align-items: center; gap: 10px; padding: 6px 12px; margin-bottom: 4px;
  background: var(--scope-bg); border: 1px solid var(--readout-border); border-radius: 8px;
}
.readout-left { flex: 1; min-width: 0; }
.readout-title { font: 700 15px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.readout-title.lit { color: var(--trace); }
.readout-detail { font: 11px var(--mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.readout-right { font: 12px var(--mono); color: var(--dim); text-align: right; white-space: pre; }
.readout-right.lit, .readout-right.bright { color: #fff; }
.tel-readout .readout-title { color: var(--dim); flex: 1; min-width: 0; }
.tel-readout .readout-title.lit { color: var(--trace); }

.input-meter { display: flex; align-items: center; gap: 8px; height: 28px; }
.meter-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--dial-track); overflow: hidden; }
.meter-fill { height: 100%; width: 0; border-radius: 4px; background: var(--trace); }
.meter-fill.hot { background: var(--disconnected); }
.meter-readout { font: 12px var(--mono); width: 84px; text-align: right; flex: none; }
.meter-readout.lit { color: var(--trace); }

.switch { width: 51px; height: 31px; border-radius: 999px; background: #39393d; position: relative; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch.on { background: rgba(108, 255, 138, .7); }
.switch.on::after { transform: translateX(20px); }

/* ---- Popovers and dialogs ---- */

.popover-backdrop { position: fixed; inset: 0; z-index: 20; }
.popover {
  position: fixed; z-index: 21; background: var(--dialog); border-radius: 14px; overflow: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0; transform: scale(.97); transition: opacity .12s, transform .12s;
}
.popover.shown { opacity: 1; transform: none; }
.menu { padding: 6px 0; }
.menu.padded { padding: 16px; }
.menu-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 16px; cursor: pointer; }
.menu.padded .menu-row { padding: 6px 0; }
.menu-row:hover { background: rgba(255, 255, 255, .05); }
.menu-text { flex: 1; min-width: 0; }
.menu-title { font-size: 14px; }
.menu-hint { font-size: 11px; color: var(--dim); margin-top: 2px; }
.menu-heading { font-size: 14px; font-weight: 700; padding: 8px 16px 4px; }
.menu-note { font-size: 11px; color: var(--dim); padding: 8px 16px; line-height: 1.35; }
.menu.padded .menu-note { padding: 6px 0; }
.menu-mono { font: 12px var(--mono); color: var(--dim); margin-top: 6px; }
.menu-divider { height: 1px; background: rgba(255, 255, 255, .1); margin: 6px 0; }
.menu.padded .menu-divider { margin: 10px 0; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--dim); flex: none; margin-top: 1px; position: relative; }
.radio.on { border-color: var(--trace); }
.radio.on::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--trace); }
.checkbox { width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--dim); flex: none; align-self: center; display: flex; align-items: center; justify-content: center; }
.checkbox.on { background: var(--trace); border-color: var(--trace); color: #000; }
.check-slot { width: 18px; flex: none; color: var(--trace); padding-top: 1px; }

.dialog-scrim {
  position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0, 0, 0, 0); transition: background .2s;
}
.dialog-scrim.shown { background: rgba(0, 0, 0, .5); }
.dialog-card {
  width: 300px; max-width: 100%; max-height: 100%; overflow: auto; padding: 20px;
  background: rgba(26, 32, 28, .96); border-radius: 32px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  transform: scale(1.12); opacity: 0; transition: transform .3s cubic-bezier(.2, 1.2, .4, 1), opacity .2s;
}
.dialog-scrim.shown .dialog-card { transform: none; opacity: 1; }
.dialog-title { font-size: 17px; font-weight: 600; }
.dialog-segments { margin-top: 14px; }
.dialog-hint { font-size: 13px; color: rgba(235, 235, 245, .6); margin-top: 6px; line-height: 1.35; }
.number-field { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; margin-top: 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.number-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 17px var(--mono); caret-color: var(--trace); }
.number-suffix { color: rgba(235, 235, 245, .6); }
.dialog-actions { display: flex; gap: 10px; margin-top: 20px; }
.dialog-btn { flex: 1; min-height: 48px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 17px; cursor: pointer; }
.dialog-btn.prominent { background: var(--trace); color: #000; font-weight: 600; }
.capsule-select, .capsule-action {
  width: 100%; height: 40px; margin-top: 8px; border-radius: 999px; border: 0;
  background: rgba(108, 255, 138, .15); color: var(--trace); font-size: 15px; font-weight: 500; padding: 0 16px; cursor: pointer;
}
.capsule-action { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.capsule-action svg { width: 18px; height: 18px; }

@keyframes flash { from { box-shadow: inset 0 0 0 200px rgba(255, 255, 255, .25); } to { box-shadow: inset 0 0 0 200px rgba(255, 255, 255, 0); } }
.flash { animation: flash .35s ease-out; }

/* ---- Synthesizer ---- */

.synth-main { flex: 1; display: flex; min-height: 0; }
.synth-main.landscape { flex-direction: row; }
.synth-main.portrait, .synth-main.no-scope { flex-direction: column; }
.scope-wrap { flex: 1 1 0; min-width: 0; min-height: 120px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.scope { display: block; background: var(--scope-bg); }
.synth-side { display: flex; flex-direction: column; min-height: 0; flex: none; }
.landscape .synth-side { height: 100%; }
.no-scope .synth-side { flex: 1; width: 100%; max-width: 900px; margin: 0 auto; }

.status-bar {
  position: relative; z-index: 2; flex: none;
  display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; align-items: center;
  padding: 2px 6px; background: var(--panel);
}
.sb-group { display: flex; align-items: center; min-width: 0; }
.sb-group.left { justify-content: flex-start; }
.sb-group.mid { justify-content: center; }
.sb-group.right { justify-content: flex-end; }
.sb-sep { width: 1px; height: 22px; background: var(--border); }
.play-hint { position: absolute; top: 44px; left: 6px; z-index: 5; cursor: pointer; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.play-hint-caret { width: 0; height: 0; margin-left: 13px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 8px solid var(--trace); }
.play-hint-text { background: var(--trace); color: var(--screen); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }

.control-panel { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.osc-rows { flex: 0 1 auto; min-height: 0; overflow-y: auto; padding: 6px 10px 6px; }
.osc-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 66px 74px; column-gap: 6px; height: 60px; padding: 2px 0; }
.wave-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; margin-right: 2px;
  border-radius: 8px; border: 1px solid color-mix(in srgb, var(--osc) 60%, transparent);
  background: color-mix(in srgb, var(--osc) 12%, var(--panel)); cursor: pointer; user-select: none;
}
.wave-btn canvas { display: block; }
.wave-label { font: 11px var(--mono); color: var(--osc); white-space: nowrap; }
.freq-ctl { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.freq-readout { font: 700 12px var(--mono); color: var(--osc); padding: 2px 0 2px 4px; cursor: pointer; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.lin-slider { display: block; width: 100%; height: 28px; touch-action: none; cursor: pointer; }
.knob-ctl { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.knob-label { font: 11px var(--mono); color: var(--dim); white-space: pre; }
.dial { width: 36px; height: 36px; touch-action: none; cursor: grab; display: block; }

.pad-grid { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 0 10px 8px; }
.pad-row { display: flex; gap: 6px; height: 44px; flex: none; }
.landscape .pad-row, .no-scope .pad-row { flex: 1 1 44px; height: auto; min-height: 44px; max-height: 58.67px; }
.pad {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  padding: 0 4px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); cursor: pointer; user-select: none;
}
.pad.on { border-color: var(--trace); background: color-mix(in srgb, var(--trace) 22%, var(--panel)); }
.pad-label { font: 700 12px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pad.on .pad-label { color: var(--trace); }
.pad-hint { font-size: 9px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pad.empty { visibility: hidden; }
.pad.selected { border: 2px solid #fff; }

.subpage { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--screen); z-index: 3; }
.subpage-scroll { flex: 1; overflow-y: auto; }
.subpage-body { max-width: 560px; margin: 0 auto; padding: 16px; }
.osc-dots { display: flex; gap: 6px; margin-top: 2px; }
.osc-dot { width: 22px; height: 22px; padding: 4px; cursor: pointer; }
.osc-dot::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--osc) 35%, transparent); }
.osc-dot.on::before { background: var(--osc); border-color: var(--osc); }
.pad-preview { display: flex; flex-direction: column; gap: 6px; padding: 8px; background: #070908; border: 1px solid var(--readout-border); border-radius: 10px; }
.pad-preview .pad.empty { visibility: visible; background: transparent; border: 1px dashed #3a443d; }
.pad-preview .pad.empty .pad-label { color: var(--dim); font: 16px var(--sans); }
.pad-preview .pad.empty.selected { border: 2px dashed #fff; }

/* ---- Telephony ---- */

.page-body.narrow { width: 100%; max-width: 560px; margin: 0 auto; padding: 10px 16px; }
.tel-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tel-body > .segments { flex: none; }
.tel-readout { margin-bottom: 10px; padding: 8px 12px; }
.tel-content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dial-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex: none; }
.dial-input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--panel); font: 16px var(--mono); outline: 0; caret-color: var(--trace); text-transform: uppercase;
}
.dial-input::placeholder { color: var(--dim); text-transform: none; }
.dial-input:focus, .text-field:focus { border-color: var(--trace); }
.key-grid { display: flex; flex-direction: column; align-items: center; gap: 8px; --key: 72px; }
.key-row { display: flex; gap: 8px; }
.key {
  width: var(--key); height: var(--key); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--panel); touch-action: none; user-select: none; cursor: pointer;
}
.key.on { background: color-mix(in srgb, var(--trace) 22%, var(--panel)); border-color: var(--trace); }
.key-label { font: 700 22px var(--mono); }
.key.on .key-label, .key.on .key-letters { color: var(--trace); }
.key-letters { font: 700 11px var(--mono); letter-spacing: 1px; color: rgba(255, 255, 255, .7); }
.key-detail { font: 10px var(--mono); color: var(--dim); white-space: nowrap; }
.key-grid.no-detail .key-detail { display: none; }
.scroll-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.scroll-list .note { margin: 0 0 2px; }
.toll-btn {
  display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; flex: none;
  border-radius: 10px; border: 1px solid var(--border); background: var(--panel); cursor: pointer;
}
.toll-btn.on { background: color-mix(in srgb, var(--trace) 22%, var(--panel)); border-color: var(--trace); }
.toll-label { font-size: 18px; font-weight: 700; }
.toll-btn.on .toll-label { color: var(--trace); }
.toll-detail { font: 12px var(--mono); color: var(--dim); }

/* ---- Modem and SSTV ---- */

.split { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 10px 16px; }
.modem .split:not(.wide) > * { width: 100%; max-width: 640px; margin: 0 auto; }
.sstv .split:not(.wide) > * { width: 100%; max-width: 560px; margin: 0 auto; }
.split.wide { flex-direction: row; align-items: stretch; gap: 16px; overflow: hidden; }
.split-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.split.wide .split-main { flex: 1; min-height: 0; }
.modem .split:not(.wide) .split-main { height: max(220px, 50%); flex: none; }
.split-side { padding-bottom: 12px; }
.split.wide .split-side { width: 380px; flex: none; overflow-y: auto; }

.area-head { display: flex; align-items: center; }
.area-label, .area-count { font: 11px var(--mono); color: var(--dim); }
.area-count { margin-left: auto; }
.area { flex: 1; min-height: 0; display: flex; background: var(--panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.area:focus-within { border-color: var(--trace); }
.area-text { flex: 1; width: 100%; min-height: 0; font: 17px/1.35 var(--mono); padding: 10px 12px; margin: 0; }
textarea.area-text { border: 0; outline: 0; resize: none; background: transparent; caret-color: var(--trace); }
.area-text.progress, .area-text.received { overflow-y: auto; white-space: pre-wrap; word-break: break-word; user-select: text; }
.area-text.received.dim { color: var(--dim); }
.progress .sent { color: var(--trace); }
.progress .current { color: #000; background: var(--trace); }
.progress .rest { color: var(--dim); }
.area.live-input { flex: none; height: 96px; }
.area.live-input .area-text { font-size: 15px; }
textarea.area-text::placeholder { color: var(--dim); }
.options { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.options .mini-label { margin: 0; }
.options .note { margin-top: 2px; }

.picture-main { align-items: center; justify-content: flex-start; }
.split.wide .picture-main { justify-content: flex-start; }
.picture-frame { position: relative; width: 100%; border-radius: 6px; overflow: hidden; border: 1px solid var(--readout-border); background: var(--scope-bg); flex: none; }
.picture { display: block; width: 100%; height: 100%; }
.send-shade { position: absolute; inset: 0; pointer-events: none; }
.send-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--trace); }
.send-rest { position: absolute; left: 0; right: 0; bottom: 0; margin-top: 2px; background: rgba(0, 0, 0, .7); transform: translateY(2px); }
.rx-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--trace); pointer-events: none; }
.picture-waiting { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 13px var(--mono); color: var(--dim); }
.mode-menu { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--panel); border-radius: 8px; cursor: pointer; }
.chevrons { color: var(--trace); margin-left: auto; display: flex; }
.field-block { margin-top: 8px; }
.text-field {
  width: 100%; height: 46px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--panel); font: 16px var(--mono); outline: 0; caret-color: var(--trace);
}
.text-field::placeholder { color: var(--dim); }

/* ---- About ---- */

.about-scroll { flex: 1; overflow-y: auto; display: flex; }
.about-body { margin: auto; max-width: 528px; padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-icon { width: 96px; height: 96px; }
.about-name { font-size: 24px; font-weight: 700; margin-top: 12px; }
.about-text { font-size: 15px; line-height: 1.6; color: var(--dim); margin-top: 20px; }
.about-ok {
  margin-top: 28px; min-width: 120px; min-height: 40px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(108, 255, 138, .5); background: transparent; color: var(--trace); font-size: 15px; cursor: pointer;
}
