*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #1a1a2e;
  --surface: #252542;
  --surface2: #2f2f4f;
  --text: #eaeaea;
  --text-muted: #b9b9cd;
  --accent: #6bcb77;
  --accent-dim: #4a9a54;
  --danger: #e74c6f;
  --border: #3a3a5c;
  --radius: 12px;
  --button-height: 48px;
  --icon-size: 44px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bottom-tabs-height: 3.75rem;
}

html {
  height: 100%;
  height: -webkit-fill-available;
}

html, body {
  height: 100%;
  height: 100dvh;
  min-height: -webkit-fill-available;
  width: 100%;
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app {
  height: 100%;
  height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
}

body.has-bottom-tabs #app {
  padding-bottom: calc(var(--bottom-tabs-height) + env(safe-area-inset-bottom, 0px));
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: max(1rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 1rem max(1.25rem, env(safe-area-inset-left));
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
}

.icon-btn,
.header-btn,
.settings-btn,
.rename-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  width: var(--icon-size);
  height: var(--icon-size);
  min-width: var(--icon-size);
  min-height: var(--icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.header-btn:hover,
.header-btn:active,
.settings-btn:hover,
.settings-btn:active,
.rename-btn:hover,
.rename-btn:active {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-btn {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

#main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem max(1.25rem, env(safe-area-inset-right)) 1.25rem max(1.25rem, env(safe-area-inset-left));
}

.screen-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.screen-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.card-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  font: inherit;
  text-align: left;
}

.card > .card-link { border: 0; background: transparent; padding: 0; }

.card-link:hover, .card-link:active {
  background: var(--surface2);
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(107, 203, 119, 0.12);
  border: 1px solid rgba(107, 203, 119, 0.55);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: var(--button-height);
  padding: 0.75rem 1.1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-bottom: 0.5rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-dim);
}

.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-danger {
  background: rgba(231, 76, 111, 0.12);
  color: #ff8ca5;
  border: 1px solid var(--danger);
}

.btn-sm {
  width: auto;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: var(--button-height);
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.back-btn:hover,
.back-btn:active {
  border-color: var(--accent);
  color: var(--accent);
}

/* Signal list */
.signal-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.signal-item {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.signal-item:hover,
.signal-item:active {
  background: var(--surface2);
}

.signal-item.active {
  border-color: rgba(107, 203, 119, 0.65);
  background: rgba(107, 203, 119, 0.08);
}

.signal-choice {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 58px;
  padding: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

:is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid #b0f4b8;
  outline-offset: 3px;
}

.signal-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: transparent;
  cursor: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 1.1rem;
  transition: all 0.15s;
}

.signal-toggle.active {
  border-color: var(--accent);
  background: rgba(107, 203, 119, 0.18);
  color: var(--accent);
}

.signal-label {
  font-size: 1rem;
}

.signal-match {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: transparent;
  border-radius: 999px;
  padding: 0 0.55rem;
}

.signal-match.matched {
  color: var(--accent);
  background: rgba(107, 203, 119, 0.12);
  border: 1px solid rgba(107, 203, 119, 0.5);
}

.match-banner {
  background: rgba(107, 203, 119, 0.12);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.match-banner h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.match-banner p {
  font-size: 1.1rem;
  font-weight: 500;
}

.match-row {
  margin-bottom: 1rem;
}

.toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.recovery-box {
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
  margin: 1rem 0;
  line-height: 1.8;
}

.copy-box {
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 0.75rem 0 1rem;
  overflow: hidden;
}

.copy-box-value {
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
  user-select: all;
  -webkit-user-select: all;
}

.copy-icon-btn {
  border: none;
  border-left: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.install-screen {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.step-list {
  width: 100%;
  display: grid;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.step-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-card span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface2);
  color: var(--accent);
  font-weight: 700;
}

.warning {
  background: rgba(231, 76, 111, 0.1);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--danger);
  margin-bottom: 1rem;
}

.info {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.suggestion-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}

.suggestion-chip:hover {
  border-color: var(--accent);
}

.suggestion-chip.used {
  opacity: 0.4;
  pointer-events: none;
}

#edit-list {
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.edit-signal-item {
  position: relative;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.edit-signal-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(4, 40px);
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.edit-signal-item input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.move-up, .move-down {
  width: 40px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface2);
  color: var(--text);
  font-size: 1.15rem;
}

.move-up:disabled, .move-down:disabled { opacity: .45; }

.delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: rgba(231, 76, 111, 0.15);
  color: var(--danger);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.delete-btn:active {
  background: rgba(231, 76, 111, 0.28);
}

.drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  touch-action: none;
  cursor: grab;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.drag-handle:active {
  color: var(--text);
}

.drag-grip {
  display: grid;
  grid-template: repeat(3, 3px) / repeat(2, 3px);
  gap: 3px 4px;
}

.drag-grip i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}

.edit-signal-item.dragging {
  z-index: 3;
}

.edit-signal-item.dragging .edit-signal-content {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border-radius: 10px;
  background: var(--surface);
}

.edit-signal-item.dragging .drag-handle {
  cursor: grabbing;
}

.toast {
  position: fixed;
  bottom: calc(var(--bottom-tabs-height) + env(safe-area-inset-bottom, 0px) + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: #303052;
  border: 1px solid rgba(107, 203, 119, 0.45);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  z-index: 120;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}

.toast[hidden] {
  display: none;
}

.toast .undo {
  color: var(--accent);
  cursor: pointer;
  margin-left: 0.5rem;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.match-hero {
  display: grid;
  place-items: center;
  gap: 0.7rem;
  padding: 1.5rem 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.match-orb {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface2);
  opacity: 0.45;
}

.match-orb.has-match {
  border-color: rgba(107, 203, 119, 0.75);
  box-shadow: 0 0 32px rgba(107, 203, 119, 0.2);
  opacity: 1;
}

.match-orb img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  filter: grayscale(1);
}

.match-orb.has-match img {
  filter: none;
}

.match-hero-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.match-hero-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.status-chip.match {
  border-color: rgba(107, 203, 119, 0.55);
  background: rgba(107, 203, 119, 0.12);
  color: var(--accent);
}

.status-chip.pending {
  border-color: rgba(255, 193, 7, 0.55);
  background: rgba(255, 193, 7, 0.12);
  color: #ffc107;
}

.card-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.connection-picker {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}

.duration-chip {
  min-height: 40px;
  padding: 0 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.duration-chip.active {
  border-color: var(--accent);
  background: rgba(107, 203, 119, 0.12);
  color: var(--accent);
}

.bottom-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.35rem 0.75rem env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--border);
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(14px);
  z-index: 80;
}

.bottom-tabs[hidden] {
  display: none;
}

.tab-item {
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  gap: 0.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.tab-item.active {
  border-color: var(--border);
  background: var(--surface2);
  color: var(--text);
}

.tab-icon {
  min-height: 1.05rem;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 1.5rem 0 0.75rem;
}

.link-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.link-row .input {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.duration-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.duration-row label {
  font-size: 0.9rem;
  white-space: nowrap;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-content {
  min-width: 0;
}

.card-title-row .screen-title {
  margin-bottom: 0;
  flex: 1;
}

.title-row {
  margin-bottom: 0.5rem;
}

.title-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.pending-badge {
  display: inline-block;
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.pending-banner {
  border-left: 3px solid #ffc107;
}

.tab-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-btn {
  flex: 1;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.tab-btn.active {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--accent);
}

.link-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.link-actions .btn {
  flex: 1;
  margin-bottom: 0;
}

.add-signal-box {
  background: var(--surface2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.add-signal-box .input {
  margin-bottom: 0.75rem;
}

.add-signal-box .btn {
  margin-bottom: 0;
}

.signal-item.signal-changed {
  background: rgba(107, 203, 119, 0.08);
}

.signal-hint {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.confirm-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.confirm-change {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.confirm-add {
  color: var(--accent);
}

.confirm-remove {
  color: var(--text-muted);
}

.confirm-duration {
  margin: 0.75rem 0;
}

.confirm-duration .select {
  margin-bottom: 0;
}

.signal-item.signal-pending {
  background: rgba(107, 203, 119, 0.08);
}

.signal-toggle.pending {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(107, 203, 119, 0.3);
}

.confirm-bar {
  position: sticky;
  bottom: 0;
  background: var(--surface2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1rem 0;
}

.confirm-bar p {
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.confirm-actions {
  display: grid;
  gap: 0.5rem;
}

.confirm-actions .btn {
  margin-bottom: 0;
}

.copy-input {
  font-size: 0.8rem;
  user-select: all;
  -webkit-user-select: all;
}

.settings-hint {
  margin-top: -0.75rem;
  margin-bottom: 1rem;
}

.diag-panel {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  margin: 0.75rem 0 1rem;
  line-height: 1.7;
}

.diag-panel dt {
  color: var(--text-muted);
  display: inline;
}

.diag-panel dd {
  display: inline;
  margin: 0;
  font-weight: 500;
}

.diag-panel dd::after {
  content: "";
  display: block;
  margin-bottom: 0.15rem;
}

.diag-ok { color: var(--accent); }
.diag-bad { color: var(--danger); }
.diag-warn { color: #ffc107; }

.ios-hint {
  border-left: 3px solid #ffc107;
}

.debug-details {
  margin: 0.75rem 0 1rem;
}

.debug-details summary {
  min-height: var(--button-height);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 500;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 10, 22, 0.72);
}

.modal-root[hidden] {
  display: none;
}

.modal-card {
  width: min(100%, 420px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.modal-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.modal-actions {
  display: grid;
  gap: 0.5rem;
}

.check-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.check-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--danger);
}

.nav-spacer {
  height: env(safe-area-inset-bottom, 0);
  min-height: 0.5rem;
}

@media (min-width: 481px) {
  #app {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}
