.td-mobile-gate {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding:
    calc(28px + env(safe-area-inset-top, 0px))
    calc(24px + env(safe-area-inset-right, 0px))
    calc(28px + env(safe-area-inset-bottom, 0px))
    calc(24px + env(safe-area-inset-left, 0px));
  background:
    radial-gradient(520px 360px at 8% -8%, rgba(163, 194, 207, 0.12), transparent 64%),
    radial-gradient(440px 320px at 100% 108%, rgba(178, 185, 212, 0.1), transparent 62%),
    #10151c;
  color: #dde3eb;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  place-items: center;
  -webkit-font-smoothing: antialiased;
}

.td-mobile-gate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  padding: 28px 24px 26px;
  text-align: center;
}

.td-mobile-gate-mark {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  background: rgba(163, 194, 207, 0.08);
  border: 1px solid rgba(163, 194, 207, 0.18);
  border-radius: 20px;
  color: #a3c2cf;
  place-items: center;
}

.td-mobile-gate-mark svg {
  width: 46px;
  height: 46px;
}

.td-mobile-gate-eyebrow {
  color: #7f8a99;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.td-mobile-gate-title {
  margin: 9px 0 10px;
  color: #eef3f8;
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.td-mobile-gate-text {
  margin: 0;
  color: #a1acba;
  font-size: 12px;
  line-height: 1.75;
}

.td-mobile-gate-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #8e99a8;
  font-size: 10px;
}

.td-mobile-gate-dot {
  width: 5px;
  height: 5px;
  background: #93c1a9;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(147, 193, 169, 0.12);
}

.td-mobile-gate-url {
  width: 100%;
  margin-top: 9px;
  padding: 8px 10px;
  overflow: hidden;
  background: rgba(12, 16, 22, 0.6);
  border: 1px solid rgba(154, 167, 186, 0.12);
  border-radius: 8px;
  color: #a3c2cf;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-mobile-gate-en {
  margin-top: 20px;
  color: #5f6a79;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-height: 520px) {
  .td-mobile-gate {
    align-items: start;
  }

  .td-mobile-gate-card {
    padding-top: 14px;
  }

  .td-mobile-gate-mark {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .td-mobile-gate-mark svg {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .td-mobile-gate * {
    transition-duration: 0.001ms !important;
  }
}

/* Root layout, theme variables and the right-side shell */

.tiny-devtool,
.tiny-devtool *,
.tiny-devtool *::before,
.tiny-devtool *::after {
  box-sizing: border-box;
}

.tiny-devtool {
  --td-bg: #10151c;
  --td-surface: #161c25;
  --td-surface-2: #1b222c;
  --td-border: rgba(154, 167, 186, 0.14);
  --td-border-strong: rgba(154, 167, 186, 0.25);
  --td-text: #dde3eb;
  --td-muted: #a1acba;
  --td-dim: #7f8a99;
  --td-accent: #a3c2cf;
  --td-accent-2: #b2b9d4;
  --td-green: #93c1a9;
  --td-amber: #d7bd8a;
  --td-red: #d99aa2;
  --td-violet: #b8a9ce;
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 10% -5%, rgba(163, 194, 207, 0.07), transparent 62%),
    radial-gradient(760px 520px at 96% 106%, rgba(178, 185, 212, 0.06), transparent 60%),
    var(--td-bg);
  color: var(--td-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.tiny-devtool ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.tiny-devtool ::-webkit-scrollbar-track {
  background: transparent;
}

.tiny-devtool ::-webkit-scrollbar-thumb {
  background: rgba(154, 167, 186, 0.18);
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 999px;
}

.tiny-devtool ::-webkit-scrollbar-thumb:hover {
  background: rgba(154, 167, 186, 0.32);
  background-clip: padding-box;
  border: 2px solid transparent;
}

.td-scroll {
  scrollbar-color: rgba(154, 167, 186, 0.22) transparent;
  scrollbar-width: thin;
}

.td-side {
  position: relative;
  display: flex;
  flex: 0 0 480px;
  flex-direction: column;
  width: 480px;
  min-width: 0;
  min-height: 0;
  background: linear-gradient(180deg, rgba(21, 27, 36, 0.94), rgba(12, 16, 22, 0.985));
  border-left: 1px solid var(--td-border);
  box-shadow: -20px 0 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.td-side::before {
  position: absolute;
  top: -90px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(178, 185, 212, 0.06), transparent 70%);
  content: "";
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .tiny-devtool *,
  .tiny-devtool *::before,
  .tiny-devtool *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1180px) {
  .td-side {
    flex-basis: 430px;
    width: 430px;
  }
}

@media (max-width: 980px) {
  .td-side {
    flex-basis: 390px;
    width: 390px;
  }
}


/* Debug panel */

.td-debug {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  background: rgba(8, 12, 18, 0.5);
  border-top: 1px solid var(--td-border);
}

.td-debug-head {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 18px 0;
  border-bottom: 1px solid var(--td-border);
}

.td-tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.td-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px 10px;
  background: transparent;
  border: 0;
  border-radius: 8px 8px 0 0;
  color: var(--td-dim);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.td-tab:hover {
  background: rgba(154, 167, 186, 0.06);
  color: var(--td-text);
}

.td-tab--active {
  color: var(--td-text);
}

.td-tab--active::after {
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--td-accent), var(--td-accent-2));
  border-radius: 2px;
  content: "";
}

.td-tab:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(163, 194, 207, 0.32);
}

.td-count {
  padding: 1px 6px;
  background: rgba(154, 167, 186, 0.1);
  border-radius: 999px;
  color: var(--td-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 500;
}

.td-tab--active .td-count {
  background: rgba(163, 194, 207, 0.12);
  color: var(--td-accent);
}

.td-debug-summary {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 9px;
}

.td-sev {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.td-sev::before {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.td-sev--error {
  background: rgba(217, 154, 162, 0.1);
  color: var(--td-red);
}

.td-sev--warning {
  background: rgba(215, 189, 138, 0.1);
  color: var(--td-amber);
}

.td-debug-body {
  flex: 1;
  min-height: 0;
  padding: 7px 18px 18px;
  overflow-y: auto;
}

.td-diagnostic {
  display: grid;
  grid-template-columns: 2px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(154, 167, 186, 0.065);
}

.td-diagnostic:last-child {
  border-bottom: 0;
}

.td-diagnostic-rail {
  width: 2px;
  height: 100%;
  min-height: 22px;
  background: var(--td-dim);
  border-radius: 2px;
}

.td-diagnostic--error .td-diagnostic-rail {
  background: var(--td-red);
}

.td-diagnostic--warning .td-diagnostic-rail {
  background: var(--td-amber);
}

.td-diagnostic--info .td-diagnostic-rail {
  background: #91b3cd;
}

.td-diagnostic--state .td-diagnostic-rail {
  background: var(--td-violet);
}

.td-diagnostic-body {
  min-width: 0;
}

.td-diagnostic-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}

.td-diagnostic-severity {
  color: var(--td-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.td-diagnostic--error .td-diagnostic-severity {
  color: var(--td-red);
}

.td-diagnostic--warning .td-diagnostic-severity {
  color: var(--td-amber);
}

.td-diagnostic--info .td-diagnostic-severity {
  color: #91b3cd;
}

.td-diagnostic--state .td-diagnostic-severity {
  color: var(--td-violet);
}

.td-diagnostic-code {
  overflow: hidden;
  color: var(--td-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  opacity: 0.72;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-diagnostic-message {
  color: #c6d0dc;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.td-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 180px;
  padding: 28px 16px;
  color: var(--td-dim);
  text-align: center;
}

.td-empty-glyph {
  margin-bottom: 5px;
  color: rgba(154, 167, 186, 0.4);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 26px;
  line-height: 1;
}

.td-empty-title {
  color: var(--td-muted);
  font-size: 11px;
  font-weight: 600;
}

.td-empty-hint {
  max-width: 230px;
  color: var(--td-dim);
  font-size: 10px;
  line-height: 1.6;
}

/* Element tree */

.td-tree {
  padding: 2px 0 8px;
  color: var(--td-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.65;
}

.td-tree-node > summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 1px 4px;
  border-radius: 4px;
  cursor: pointer;
  list-style: none;
}

.td-tree-node > summary::-webkit-details-marker {
  display: none;
}

.td-tree-node > summary::before {
  flex: none;
  color: var(--td-dim);
  content: "▸";
  font-size: 8px;
  transition: transform 120ms ease;
}

.td-tree-node[open] > summary::before {
  transform: rotate(90deg);
}

.td-tree-node > summary:hover {
  background: rgba(154, 167, 186, 0.06);
}

.td-tree-tag {
  flex: none;
  color: #a7c4d2;
  font-family: inherit;
  font-size: inherit;
}

.td-tree-tag--component {
  color: var(--td-amber);
}

.td-tree-meta {
  overflow: hidden;
  color: var(--td-dim);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-tree-children {
  padding-left: 7px;
  margin-left: 8px;
  border-left: 1px solid rgba(154, 167, 186, 0.09);
}

.td-tree-text {
  padding: 1px 4px;
  color: #a7b2c0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.td-lifecycle-pages {
  padding: 10px 11px;
  margin-bottom: 12px;
  background: rgba(12, 16, 22, 0.42);
  border: 1px solid rgba(154, 167, 186, 0.1);
  border-radius: 8px;
}

.td-lifecycle-heading {
  margin-bottom: 6px;
  color: var(--td-dim);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.td-lifecycle-page {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  color: var(--td-muted);
}

.td-lifecycle-page code {
  overflow: hidden;
  color: var(--td-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-lifecycle-page--visible code {
  color: var(--td-text);
}

.td-lifecycle-dot {
  flex: none;
  width: 6px;
  height: 6px;
  background: rgba(154, 167, 186, 0.4);
  border-radius: 50%;
}

.td-lifecycle-page--visible .td-lifecycle-dot {
  background: var(--td-green);
  box-shadow: 0 0 0 3px rgba(147, 193, 169, 0.12);
}

.td-lifecycle-page-meta {
  margin-left: auto;
  color: var(--td-dim);
  font-size: 9px;
  white-space: nowrap;
}

.td-lifecycle-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.td-lifecycle-event {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  background: rgba(12, 16, 22, 0.32);
  border-left: 2px solid rgba(154, 167, 186, 0.2);
  border-radius: 5px;
  font-size: 10px;
}

.td-lifecycle-event--onShow,
.td-lifecycle-event--onReady {
  border-left-color: var(--td-green);
}

.td-lifecycle-event--onHide {
  border-left-color: var(--td-amber);
}

.td-lifecycle-event--onUnload {
  border-left-color: var(--td-red);
}

.td-lifecycle-event--onResize,
.td-lifecycle-event--onReachBottom {
  border-left-color: var(--td-violet);
}

.td-lifecycle-seq {
  min-width: 22px;
  color: var(--td-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.td-lifecycle-phase {
  min-width: 62px;
  color: var(--td-text);
  font-size: 9px;
  font-weight: 600;
}

.td-lifecycle-path {
  overflow: hidden;
  color: var(--td-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-lifecycle-vis {
  margin-left: auto;
  color: var(--td-green);
  font-size: 8px;
  text-transform: uppercase;
}

.td-lifecycle-vis--hidden {
  color: var(--td-dim);
}


@media (max-width: 980px) {
  .td-debug-head {
    padding-right: 14px;
    padding-left: 14px;
  }

  .td-debug-body {
    padding-right: 14px;
    padding-left: 14px;
  }
}


/* Right-side toolbar: app selection, page state and runtime controls */

.td-toolbar {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  min-height: 0;
  max-height: 60%;
  padding: 22px 22px 18px;
  overflow-y: auto;
}

.td-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}

.td-logo {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #a9c7d2, #b4bbd5);
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #16202a;
  font-size: 15px;
  font-weight: 800;
  place-items: center;
}

.td-brand-title {
  color: var(--td-text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.td-brand-sub {
  margin-top: 1px;
  color: var(--td-dim);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.td-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 8px;
  background: rgba(154, 167, 186, 0.06);
  border: 1px solid var(--td-border);
  border-radius: 999px;
  color: var(--td-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.td-status-dot {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 5px currentColor;
}

.td-status--running {
  background: rgba(147, 193, 169, 0.08);
  border-color: rgba(147, 193, 169, 0.24);
  color: var(--td-green);
}

.td-status--connecting {
  background: rgba(215, 189, 138, 0.08);
  border-color: rgba(215, 189, 138, 0.24);
  color: var(--td-amber);
}

.td-status--connecting .td-status-dot {
  animation: td-pulse 1s ease-in-out infinite;
}

.td-status--error {
  background: rgba(217, 154, 162, 0.08);
  border-color: rgba(217, 154, 162, 0.26);
  color: var(--td-red);
}

.td-field {
  display: block;
}

.td-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--td-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.td-select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  background: rgba(12, 16, 22, 0.82);
  border: 1px solid var(--td-border);
  border-radius: 10px;
  color: var(--td-text);
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.td-select:hover:not(:disabled) {
  border-color: var(--td-border-strong);
}

.td-select:focus-visible {
  border-color: rgba(163, 194, 207, 0.5);
  box-shadow: 0 0 0 3px rgba(163, 194, 207, 0.12);
}

.td-select:disabled {
  color: var(--td-dim);
  cursor: wait;
}

.td-select option {
  background: var(--td-surface);
  color: var(--td-text);
}

.td-app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  align-items: center;
  margin-top: 7px;
  color: var(--td-dim);
  font-size: 10px;
}

.td-app-meta code {
  padding: 1px 5px;
  background: rgba(154, 167, 186, 0.07);
  border-radius: 4px;
  color: var(--td-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.td-page-card {
  margin-top: 16px;
  padding: 12px 13px;
  background: linear-gradient(180deg, rgba(154, 167, 186, 0.055), rgba(154, 167, 186, 0.018));
  border: 1px solid var(--td-border);
  border-radius: 12px;
}

.td-page-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.td-page-head .td-field-label {
  margin: 0;
}

.td-page-pulse {
  width: 5px;
  height: 5px;
  margin-left: auto;
  background: var(--td-dim);
  border-radius: 50%;
}

.td-page-pulse--running {
  background: var(--td-green);
  box-shadow: 0 0 6px rgba(147, 193, 169, 0.4);
}

.td-page-pulse--paused {
  background: var(--td-amber);
  box-shadow: 0 0 6px rgba(215, 189, 138, 0.4);
}

.td-page-current {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--td-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-page-depth {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--td-dim);
  font-size: 9px;
}

.td-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.td-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px 2px 3px;
  background: rgba(12, 16, 22, 0.52);
  border: 1px solid rgba(154, 167, 186, 0.12);
  border-radius: 6px;
  color: var(--td-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.td-chip-index {
  display: inline-grid;
  width: 14px;
  height: 14px;
  background: rgba(163, 194, 207, 0.1);
  border-radius: 4px;
  color: var(--td-accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 8px;
  font-weight: 700;
  place-items: center;
}

.td-chip--active {
  background: rgba(147, 193, 169, 0.08);
  border-color: rgba(147, 193, 169, 0.28);
  color: var(--td-text);
}

.td-chip--hidden {
  opacity: 0.58;
}

.td-chip-path {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-chip-state {
  color: var(--td-dim);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.td-empty {
  color: var(--td-dim);
  font-size: 10px;
  font-style: italic;
}

.td-alert {
  margin-top: 12px;
  padding: 9px 11px;
  background: rgba(217, 154, 162, 0.09);
  border: 1px solid rgba(217, 154, 162, 0.24);
  border-radius: 9px;
  color: #e2bfc3;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.td-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 8px;
  color: var(--td-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.td-section-title::after {
  flex: 1;
  height: 1px;
  background: var(--td-border);
  content: "";
}

.td-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.td-actions--toolbar {
  align-items: center;
  margin-top: 14px;
}

.td-actions--back {
  margin-top: 8px;
}

.td-warm-count {
  margin-left: auto;
  color: var(--td-dim);
  font-size: 9px;
  white-space: nowrap;
}

.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 11px;
  background: rgba(154, 167, 186, 0.06);
  border: 1px solid var(--td-border);
  border-radius: 9px;
  color: var(--td-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.td-btn:hover:not(:disabled) {
  background: rgba(154, 167, 186, 0.12);
  border-color: var(--td-border-strong);
  color: var(--td-text);
  transform: translateY(-1px);
}

.td-btn:active:not(:disabled) {
  transform: translateY(0);
}

.td-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(163, 194, 207, 0.14);
}

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

.td-btn--primary {
  color: #182027;
  background: linear-gradient(135deg, #a9c8d2, #b5bbd5);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.td-btn--primary:hover:not(:disabled) {
  color: #111a20;
  background: linear-gradient(135deg, #b8d3dc, #c2c7dd);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.td-btn--danger {
  color: #dba8ae;
  border-color: rgba(217, 154, 162, 0.2);
}

.td-btn--danger:hover:not(:disabled) {
  background: rgba(217, 154, 162, 0.1);
  border-color: rgba(217, 154, 162, 0.34);
  color: #e5c1c5;
}

.td-nav {
  display: flex;
  gap: 7px;
  margin-top: 7px;
}

.td-input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  background: rgba(12, 16, 22, 0.82);
  border: 1px solid var(--td-border);
  border-radius: 9px;
  color: var(--td-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.td-input::placeholder {
  color: var(--td-dim);
}

.td-input:focus {
  border-color: rgba(163, 194, 207, 0.5);
  box-shadow: 0 0 0 3px rgba(163, 194, 207, 0.1);
}

.td-nav .td-btn {
  height: 34px;
}

@keyframes td-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 980px) {
  .td-toolbar {
    padding-right: 18px;
    padding-left: 18px;
  }
}


.td-launcher {
  position: absolute;
  inset: 0;
  z-index: 3;
  box-sizing: border-box;
  padding: 18px 16px 22px;
  background:
    radial-gradient(420px 280px at 100% 0%, rgba(163, 194, 207, 0.22), transparent 70%),
    #f5f6f8;
  color: #1b222c;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  overflow-y: auto;
}

.td-launcher-head {
  padding: 2px 2px 14px;
}

.td-launcher-eyebrow {
  color: #7d8797;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.td-launcher-title {
  margin: 3px 0 4px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.td-launcher-sub {
  margin: 0;
  color: #6b7687;
  font-size: 11px;
}

.td-launcher-error {
  padding: 9px 11px;
  margin-bottom: 10px;
  background: #fff1f1;
  border: 1px solid #f0c8c8;
  border-radius: 10px;
  color: #b54a4a;
  font-size: 10px;
  line-height: 1.5;
}

.td-launcher-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.td-launcher-row {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 34, 44, 0.07);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(27, 34, 44, 0.04);
  overflow: hidden;
}

.td-launcher-row--alive {
  border-color: rgba(86, 156, 118, 0.28);
}

.td-launcher-main {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px 10px 12px 12px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.td-launcher-main:hover:not(:disabled) {
  background: rgba(163, 194, 207, 0.09);
}

.td-launcher-main:focus-visible {
  outline: 2px solid #4f7fc2;
  outline-offset: -3px;
}

.td-launcher-main:disabled {
  cursor: progress;
}

.td-launcher-glyph {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #263746, #101820);
  border-radius: 11px;
  color: #cfe0e8;
  font-size: 15px;
  font-weight: 700;
  place-items: center;
}

.td-launcher-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.td-launcher-name {
  overflow: hidden;
  color: #17202b;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-launcher-meta {
  overflow: hidden;
  color: #7a8494;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-launcher-page {
  overflow: hidden;
  color: #51627a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-launcher-state {
  flex: none;
  padding: 3px 7px;
  background: rgba(27, 34, 44, 0.055);
  border-radius: 999px;
  color: #7a8494;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.td-launcher-row--alive .td-launcher-state {
  background: rgba(86, 156, 118, 0.12);
  color: #3d7a56;
}

.td-launcher-state--starting {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7687;
}

.td-launcher-spinner {
  width: 8px;
  height: 8px;
  border: 1.4px solid rgba(27, 34, 44, 0.2);
  border-top-color: #4d6172;
  border-radius: 50%;
  animation: td-launcher-spin 0.7s linear infinite;
}

@keyframes td-launcher-spin {
  to { transform: rotate(360deg); }
}

.td-launcher-close {
  display: grid;
  flex: none;
  width: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(27, 34, 44, 0.06);
  color: #93a0b0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  cursor: pointer;
  place-items: center;
}

.td-launcher-close:hover:not(:disabled) {
  background: rgba(217, 154, 162, 0.12);
  color: #a8505b;
}

.td-launcher-close:disabled {
  cursor: default;
  opacity: 0.4;
}

.td-launcher-foot {
  padding: 14px 4px 0;
  color: #8a94a2;
  font-size: 9px;
  line-height: 1.55;
}

/* Capsule trigger and host-controls popover */

.td-host-controls {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  margin-left: auto;
}

.td-capsule {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.045);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: inherit;
}

.td-capsule-menu,
.td-capsule-background {
  display: grid;
  width: 22px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  place-items: center;
}

.td-capsule-menu:disabled,
.td-capsule-background:disabled {
  opacity: 0.4;
  cursor: default;
}

.td-capsule-menu:focus-visible,
.td-capsule-background:focus-visible {
  outline: 2px solid rgba(163, 194, 207, 0.65);
  outline-offset: 1px;
}

.td-host-chrome--dark .td-capsule {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.td-capsule-menu:hover:not(:disabled),
.td-capsule-background:hover:not(:disabled) {
  background: rgba(127, 127, 127, 0.16);
}

.td-capsule-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.td-capsule-dots i {
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.8;
}

.td-capsule-divider {
  width: 1px;
  height: 13px;
  background: currentColor;
  opacity: 0.16;
}

.td-capsule-ring {
  width: 12px;
  height: 12px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  opacity: 0.75;
}

.td-nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  width: 174px;
  padding: 5px;
  background: #171e28;
  border: 1px solid rgba(154, 167, 186, 0.18);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  color: #dbe1e9;
}

.td-nav-menu-head {
  padding: 5px 9px 4px;
  color: #7f8a99;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.td-nav-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 9px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.td-nav-menu button:hover:not(:disabled) {
  background: rgba(154, 167, 186, 0.1);
}

.td-nav-menu button:disabled {
  opacity: 0.38;
  cursor: default;
}

.td-nav-menu button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(163, 194, 207, 0.45);
}

.td-nav-menu-state {
  color: #93c1a9;
  font-size: 9px;
}

.td-nav-menu-sep {
  height: 1px;
  margin: 4px 6px;
  background: rgba(154, 167, 186, 0.14);
}


/* Simulated host chrome: iOS status bar + mini-program navigation bar */

.td-host-chrome {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", sans-serif;
  user-select: none;
}

.td-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 22px 0 28px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.td-statusbar-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.td-signal {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
}

.td-signal i {
  width: 2.5px;
  background: currentColor;
  border-radius: 1px;
}

.td-signal i:nth-child(1) {
  height: 4px;
  opacity: 0.45;
}

.td-signal i:nth-child(2) {
  height: 6px;
  opacity: 0.65;
}

.td-signal i:nth-child(3) {
  height: 8px;
  opacity: 0.82;
}

.td-signal i:nth-child(4) {
  height: 10px;
}

.td-wifi {
  width: 15px;
  height: 12px;
}

.td-battery {
  position: relative;
  width: 23px;
  height: 11px;
  padding: 1.5px;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.9;
}

.td-battery::after {
  position: absolute;
  top: 2.5px;
  right: -3px;
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
  content: "";
  opacity: 0.55;
}

.td-battery-level {
  display: block;
  width: 74%;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
}

.td-navbar {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 10px 0 8px;
  border-bottom: 1px solid rgba(127, 127, 127, 0.13);
}

.td-nav-back {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: inherit;
  cursor: pointer;
  opacity: 0.92;
  place-items: center;
}

.td-nav-back:hover:not(:disabled) {
  background: rgba(127, 127, 127, 0.12);
}

.td-nav-back:disabled {
  opacity: 0.2;
  cursor: default;
}

.td-nav-back:focus-visible {
  outline: 2px solid rgba(163, 194, 207, 0.65);
  outline-offset: 2px;
}

.td-nav-title {
  position: absolute;
  right: 108px;
  left: 108px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.td-nav-launcher-mark {
  margin-left: auto;
  color: currentColor;
  font-size: 17px;
  opacity: 0.28;
}

.td-tabbar {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

.td-tabbar-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding: 4px 2px 2px;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.td-tabbar-item:disabled {
  cursor: default;
}

.td-tabbar-item:focus-visible {
  outline: 2px solid #2f6fed;
  outline-offset: -3px;
}

.td-tabbar-icon {
  position: relative;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
}

.td-tabbar-icon img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}


.td-tabbar-label {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  line-height: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-tabbar-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  display: grid;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  background: #fa5151;
  border: 1px solid #fff;
  border-radius: 7px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 8px;
  font-weight: 650;
  line-height: 1;
  place-items: center;
}

.td-tabbar-red-dot {
  position: absolute;
  top: -2px;
  right: -6px;
  width: 8px;
  height: 8px;
  background: #fa5151;
  border: 1px solid #fff;
  border-radius: 50%;
}

/* Stage */

.td-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.td-stage::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 167, 186, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 167, 186, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: radial-gradient(ellipse 62% 58% at 50% 48%, #000 25%, transparent 78%);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 48%, #000 25%, transparent 78%);
}

.td-stage::after {
  position: absolute;
  top: 14%;
  left: 50%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(163, 194, 207, 0.07), transparent 68%);
  content: "";
  filter: blur(12px);
  pointer-events: none;
  transform: translateX(-50%);
}

.td-stage-hint {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--td-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.td-live-dot {
  width: 6px;
  height: 6px;
  background: var(--td-dim);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
}

.td-live-dot--running {
  background: var(--td-green);
  box-shadow: 0 0 0 3px rgba(147, 193, 169, 0.1), 0 0 7px rgba(147, 193, 169, 0.35);
}

.td-live-dot--connecting {
  background: var(--td-amber);
  box-shadow: 0 0 0 3px rgba(215, 189, 138, 0.1), 0 0 7px rgba(215, 189, 138, 0.32);
}

.td-live-dot--error {
  background: var(--td-red);
  box-shadow: 0 0 0 3px rgba(217, 154, 162, 0.1), 0 0 7px rgba(217, 154, 162, 0.32);
}

.td-stage-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 24px;
}

.td-device-scale {
  position: relative;
  flex: none;
}

.td-device-shell {
  transform-origin: top left;
  transition: transform 160ms ease-out;
  will-change: transform;
}

.td-device {
  position: relative;
  width: 399px;
  height: 836px;
  padding: 12px;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.28), transparent 18%, transparent 78%, rgba(255, 255, 255, 0.12)),
    linear-gradient(152deg, #30394a 0%, #121824 14%, #05070b 48%, #171e2a 86%, #394355 100%);
  border-radius: 54px;
  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.62),
    0 14px 34px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 30px rgba(0, 0, 0, 0.85);
}

.td-device::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 46px;
  height: 4px;
  background: #030509;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  content: "";
  transform: translateX(-50%);
}

.td-device::after {
  position: absolute;
  top: 4px;
  left: calc(50% + 36px);
  width: 7px;
  height: 7px;
  background: radial-gradient(circle at 35% 30%, #334c72, #04060a 68%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  content: "";
}

.td-device-side {
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #3b4557, #10151e 20%, #0b1018 80%, #30394a);
  border-radius: 2px;
}

.td-device-side--volume-up {
  top: 180px;
  left: -3px;
  height: 54px;
}

.td-device-side--volume-down {
  top: 246px;
  left: -3px;
  height: 54px;
}

.td-device-side--power {
  top: 210px;
  right: -3px;
  height: 92px;
}

.td-screen {
  position: relative;
  width: 375px;
  height: 812px;
  overflow: hidden;
  background: #fff;
  border-radius: 42px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.td-screen-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  background: #fff;
}

.td-screen-surface {
  position: absolute;
  inset: 0;
}

.td-screen-surface iframe {
  display: block;
  border: 0;
}

/* One iframe per page: hidden pages stay mounted behind the active WebView. */
.td-screen-surface iframe[data-page-id] {
  transition: opacity 120ms ease;
}

.td-screen-surface iframe[data-state="hidden"] {
  opacity: 0;
}

.td-screen-background {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 28px;
  background: rgba(10, 14, 20, 0.72);
  color: #dbe1e9;
  text-align: center;
  backdrop-filter: blur(2px);
}

.td-screen-background-label {
  color: #dbe1e9;
  font-size: 12px;
  font-weight: 650;
}

.td-screen-background-sub {
  max-width: 230px;
  color: #9aa5b3;
  font-size: 10px;
  line-height: 1.55;
}

.td-background-resume {
  height: 30px;
  padding: 0 12px;
  margin-top: 8px;
  background: rgba(154, 167, 186, 0.1);
  border: 1px solid rgba(154, 167, 186, 0.24);
  border-radius: 8px;
  color: #dbe1e9;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.td-background-resume:hover {
  background: rgba(163, 194, 207, 0.12);
  border-color: rgba(163, 194, 207, 0.32);
}

.td-screen-glare {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07), transparent 20%, transparent 72%, rgba(163, 194, 207, 0.03));
  border-radius: inherit;
  pointer-events: none;
}

.td-screen-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  background: radial-gradient(circle at 50% 38%, #1a222d, #10151c 72%);
  color: var(--td-muted);
  text-align: center;
  pointer-events: none;
}

.td-screen-overlay-title {
  color: var(--td-text);
  font-size: 13px;
  font-weight: 600;
}

.td-screen-overlay-sub {
  max-width: 240px;
  color: var(--td-dim);
  font-size: 11px;
  line-height: 1.6;
}

.td-spinner {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  border: 2px solid rgba(154, 167, 186, 0.18);
  border-top-color: var(--td-accent);
  border-radius: 50%;
  animation: td-spin 0.85s linear infinite;
}

.td-device-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--td-dim);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.td-device-name {
  color: var(--td-muted);
  font-weight: 600;
}

.td-device-size {
  padding: 1px 7px;
  background: rgba(154, 167, 186, 0.07);
  border: 1px solid rgba(154, 167, 186, 0.1);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.td-device-zoom {
  color: var(--td-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

@keyframes td-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .td-stage-hint {
    display: none;
  }
}


/* Each warm app owns one absolutely positioned surface inside the device. */
.td-app-surface {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.td-app-surface[data-state="active"] {
  z-index: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Custom navigation pages own the top bar, so keep a debugger-only way out. */
.td-float-apps {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  background: rgba(16, 21, 28, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #e5edf4;
  font-size: 15px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  place-items: center;
}

.td-float-apps:hover {
  background: rgba(16, 21, 28, 0.86);
}

.td-float-apps:focus-visible {
  outline: 2px solid rgba(163, 194, 207, 0.8);
  outline-offset: 2px;
}

.td-float-apps:disabled {
  cursor: default;
  opacity: 0.4;
}

