/* [project]/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #0a0b0d;
  --bg-2: #101216;
  --panel: #15181e;
  --card: #1c2027;
  --text: #f2f3f5;
  --muted: #9ba1a9;
  --faint: #6b7178;
  --accent: #6e7bff;
  --accent-ink: #fff;
  --accent-tint: #6e7bff1f;
  --ring: #6b78f0;
  --ok: #34d399;
  --err: #f87171;
  --glass-1: #16191f85;
  --glass-2: #20242d75;
  --glass-3: #08090cdb;
  --line: #ffffff1a;
  --edge: #fff3;
  --blur-1: 14px;
  --blur-2: 22px;
  --blur-3: 40px;
  --r-1: 10px;
  --r-2: 14px;
  --r-3: 18px;
  --r-4: 24px;
  --r-pill: 999px;
  --e1: 0 1px 2px #0000004d, 0 2px 6px #00000038;
  --e2: 0 2px 8px #0000004d, 0 10px 24px #0000004d;
  --e3: 0 8px 24px #00000052, 0 24px 60px #0000006b;
  --pad: 22px;
  --gap: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: radial-gradient(680px 720px at -8% 24%, #6366f15c, transparent 55%),    /* 인디고: 사이드바 상단 뒤 */
    radial-gradient(620px 560px at 16% 116%, #8b5cf647, transparent 52%),   /* 바이올렛: 좌하 */
    radial-gradient(820px 560px at 58% -14%, #38a0ff33, transparent 52%),   /* 블루: 툴바 뒤 상단 */
    radial-gradient(860px 660px at 110% 42%, #2dbfeb2e, transparent 56%),   /* 시안: 우측 미리보기 */
    radial-gradient(720px 560px at 96% 116%, #f472b629, transparent 54%),  /* 핑크: 우하 */
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Apple SD Gothic Neo, Segoe UI, Roboto, sans-serif;
}

.app {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.bar-brand, .settings-btn, .new-app, .sheet-handle, .sheet-scrim, .ov-stop, .m-composer {
  display: none;
}

@media not ((max-width: 820px) or (max-height: 500px)) {
  .panel {
    flex: 0 0 380px;
    transition: margin-left .26s cubic-bezier(.4, 0, .2, 1), opacity .2s;
  }

  .app[data-collapsed="true"] .panel {
    opacity: 0;
    pointer-events: none;
    border-right: 0;
    margin-left: -380px;
  }
}

.panel {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-2)) saturate(200%);
  backdrop-filter: blur(var(--blur-2)) saturate(200%);
  border-right: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--edge);
  padding: var(--pad);
  gap: var(--gap);
  flex-direction: column;
  min-width: 0;
  display: flex;
  overflow: auto;
}

.brand {
  align-items: center;
  gap: 10px;
  display: flex;
}

.logo {
  border-radius: var(--r-2);
  width: 34px;
  height: 34px;
  box-shadow: var(--e1),inset 0 1px 0 #ffffff4d;
  background: linear-gradient(#7d89ff, #6e7bff);
  justify-content: center;
  align-items: center;
  font-size: 18px;
  display: flex;
}

.brand h1 {
  letter-spacing: -.02em;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.brand .sub {
  color: var(--muted);
  margin-top: 1px;
  font-size: 11px;
}

.space-entry {
  flex-direction: column;
  gap: 5px;
  margin: 2px 0;
  display: flex;
}

.space-entry label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.space-entry .se-row {
  align-items: center;
  gap: 6px;
  display: flex;
}

.space-entry input {
  background: var(--glass-2);
  min-width: 0;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  outline: none;
  flex: auto;
  padding: 8px 10px;
  font-size: 12.5px;
}

.space-entry input:focus {
  border-color: var(--accent);
}

.space-entry .se-row button {
  background: var(--accent-tint);
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 600;
  transition: filter .15s;
}

.space-entry .se-row button:hover:not(:disabled) {
  filter: brightness(1.1);
}

.space-entry .se-row button:disabled {
  opacity: .5;
  cursor: default;
}

.space-entry .se-err {
  color: #ff6b6b;
  font-size: 11px;
}

.field {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

textarea {
  background: var(--glass-2);
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font: inherit;
  resize: vertical;
  outline: none;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .15s;
}

#prompt {
  min-height: 96px;
}

textarea:focus {
  border-color: var(--accent);
}

button.primary {
  width: 100%;
  color: var(--accent-ink);
  border-radius: var(--r-2);
  cursor: pointer;
  box-shadow: var(--e1),inset 0 1px 0 #ffffff47;
  background: linear-gradient(#5b57ea, #4f46d6);
  border: 0;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: filter .15s, transform .12s, opacity .15s;
}

button.primary:hover:not(:disabled) {
  filter: brightness(1.06);
}

button.primary:active:not(:disabled) {
  transform: translateY(1px);
}

button.primary:disabled {
  opacity: .5;
  cursor: default;
}

button.primary.stop {
  color: #fca5a5;
  box-shadow: none;
  background: #ef444429;
  border: 1px solid #ef444473;
}

button.primary.stop:hover {
  filter: brightness(1.1);
}

.hint {
  color: var(--muted);
  font-size: 11px;
}

.hint-row {
  align-items: center;
  gap: 8px;
  display: flex;
}

.hint-row .hint {
  flex: 1;
  min-width: 0;
}

.link-btn {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 2px 4px;
  font-size: 11px;
  transition: color .15s;
}

.link-btn:hover {
  color: var(--text);
}

.counter {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  flex: none;
  font-size: 11px;
}

.counter.warn {
  color: var(--err);
}

.chips {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.chip {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--r-pill);
  cursor: pointer;
  padding: 7px 13px;
  font-size: 12px;
  transition: border-color .15s, background .15s, transform .12s;
}

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

.chip:active {
  transform: translateY(1px);
}

.history {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.hist-item {
  appearance: none;
  text-align: left;
  width: 100%;
  color: var(--text);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  cursor: pointer;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 12px;
  transition: border-color .15s, background .15s;
  display: flex;
}

.hist-item:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.hist-item:active {
  transform: translateY(1px);
}

.hist-item.active {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.hist-item.active .t {
  color: var(--text);
  font-weight: 600;
}

.hist-item .t {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.hist-item .m {
  color: var(--muted);
  flex-shrink: 0;
  font-size: 10px;
}

.hist-empty {
  color: var(--muted);
  font-size: 12px;
}

.side-nav {
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  display: flex;
}

.nav-link {
  color: var(--text);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 13px;
  text-decoration: none;
  transition: border-color .15s, background .15s, transform .12s;
  display: flex;
}

.nav-link:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.nav-link:active {
  transform: translateY(1px);
}

.nav-link.primary {
  background: linear-gradient(180deg,var(--accent-tint),var(--glass-2));
  border-color: #6e7bff66;
}

.nav-link .ni {
  flex: none;
  font-size: 18px;
  line-height: 1;
}

.nav-link .nt {
  flex-direction: column;
  flex: 1;
  gap: 1px;
  min-width: 0;
  display: flex;
}

.nav-link .nl {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.nav-link .nsub {
  color: var(--muted);
  font-size: 11px;
}

.nav-link .nx {
  color: var(--muted);
  flex: none;
  font-size: 13px;
}

.status {
  color: var(--muted);
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  font-size: 12px;
  display: flex;
}

.status .row {
  justify-content: space-between;
  display: flex;
}

.status b {
  color: var(--text);
  font-weight: 600;
}

.status .admin-row {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 8px;
}

.dot {
  background: var(--muted);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  display: inline-block;
}

.dot.on {
  background: var(--ok);
}

.preview {
  flex-direction: column;
  flex: auto;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  display: flex;
}

.toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.meta {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  display: flex;
}

.tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  display: flex;
}

.rail-toggle {
  flex: none;
}

.tag {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
  padding: 4px 9px;
  overflow: hidden;
}

.tag.ok {
  color: var(--ok);
  border-color: #34d39957;
}

.tbtn {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--r-1);
  cursor: pointer;
  padding: 7px 11px;
  font-size: 12px;
  transition: border-color .15s, background .15s, transform .12s;
}

.tbtn:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.tbtn:active {
  transform: translateY(1px);
}

.seg {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  gap: 2px;
  padding: 3px;
  display: flex;
}

.seg button {
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--r-pill);
  background: none;
  border: 0;
  padding: 6px 12px;
  font-size: 12px;
  transition: color .15s, background .15s;
}

.seg button:hover {
  color: var(--text);
}

.seg button.on {
  color: var(--text);
  box-shadow: var(--e1),inset 0 1px 0 var(--edge);
  background: #ffffff1f;
}

.specwrap {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e2),inset 0 1px 0 var(--edge);
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  display: flex;
}

#spec {
  color: #cdd3da;
  min-height: 140px;
  max-height: 280px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
}

.specbar {
  align-items: center;
  gap: 8px;
  display: flex;
}

.specbar .note {
  color: var(--muted);
  font-size: 11px;
}

.refinebar {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e2),inset 0 1px 0 var(--edge);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  display: flex;
}

.refinebar .refine-ico {
  color: var(--accent);
  flex: none;
  font-size: 15px;
}

.refinebar input {
  background: var(--glass-2);
  border: 1px solid var(--line);
  min-width: 0;
  color: var(--text);
  border-radius: var(--r-1);
  flex: 180px;
  padding: 9px 13px;
  font-size: 13px;
  transition: border-color .15s;
}

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

.refinebar .note {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 240px;
  font-size: 11px;
  overflow: hidden;
}

.refine-go {
  color: #fff;
  border-radius: var(--r-1);
  cursor: pointer;
  box-shadow: var(--e1),inset 0 1px 0 #ffffff42;
  background: linear-gradient(#5b57ea, #4f46d6);
  border: 0;
  flex: none;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: filter .15s, transform .12s, opacity .15s;
}

.refine-go:hover:not(:disabled) {
  filter: brightness(1.07);
}

.refine-go:active:not(:disabled) {
  transform: translateY(1px);
}

.refine-go:disabled {
  opacity: .5;
  cursor: default;
}

.extractor-banner {
  background: var(--accent-tint);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid color-mix(in srgb,var(--accent) 42%,transparent);
  border-radius: var(--r-3);
  box-shadow: var(--e2),inset 0 1px 0 var(--edge);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: flex;
}

.extractor-banner .xb-ico {
  flex: none;
  font-size: 17px;
}

.extractor-banner .xb-body {
  flex: auto;
  min-width: 0;
}

.extractor-banner .xb-title {
  color: var(--text);
  font-size: 13px;
}

.extractor-banner .xb-title b {
  color: var(--accent);
  font-weight: 600;
}

.extractor-banner .xb-sub {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 2px;
  font-size: 11px;
  overflow: hidden;
}

.xb-go {
  color: #fff;
  border-radius: var(--r-1);
  cursor: pointer;
  box-shadow: var(--e1),inset 0 1px 0 #ffffff42;
  background: linear-gradient(#5b57ea, #4f46d6);
  border: 0;
  flex: none;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  transition: filter .15s, transform .12s;
}

.xb-go:hover {
  filter: brightness(1.07);
}

.xb-go:active {
  transform: translateY(1px);
}

.xb-x {
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--r-1);
  background: none;
  border: 0;
  flex: none;
  padding: 6px 8px;
  font-size: 13px;
  transition: color .15s;
}

.xb-x:hover {
  color: var(--text);
}

.xb-render-badge {
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid color-mix(in srgb,var(--accent) 38%,transparent);
  border-radius: var(--r-1);
  vertical-align: middle;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
}

.xb-fields {
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
  display: flex;
}

.xb-field {
  color: var(--muted);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  white-space: nowrap;
  padding: 2px 7px;
  font-size: 10px;
}

.url-hint {
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid color-mix(in srgb,var(--accent) 30%,transparent);
  border-radius: var(--r-1);
  align-self: flex-start;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 9px;
  font-size: 11px;
  line-height: 1.3;
  display: inline-flex;
}

.adv-toggle {
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--r-1);
  background: none;
  border: 0;
  flex: none;
  padding: 7px 8px;
  font-size: 11px;
  transition: color .15s;
}

.adv-toggle:hover {
  color: var(--text);
}

.adv-toggle[aria-expanded="true"] {
  color: var(--accent);
}

.spec-head {
  color: var(--muted);
  letter-spacing: .01em;
  font-size: 11px;
  font-weight: 600;
}

.stage-wrap {
  flex: 1;
  justify-content: center;
  align-items: center;
  min-height: 0;
  display: flex;
}

.stage {
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  width: 100%;
  height: 100%;
  box-shadow: var(--e2);
  background: #fff;
  min-height: 0;
  transition: width .25s, height .25s;
  position: relative;
  overflow: hidden;
}

.stage.phone {
  aspect-ratio: 9 / 19.5;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 860px;
  box-shadow: var(--e3);
  background: #fff;
  border: 0;
  border-radius: 36px;
}

.stage.phone iframe, .stage.phone .empty {
  border-radius: 36px;
}

.stage.tv {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 100%;
  box-shadow: var(--e3);
  border: 14px solid #0a0a0a;
  border-radius: 14px;
}

.stage iframe {
  border: 0;
  width: 100%;
  height: 100%;
  animation: .42s cubic-bezier(.2, .7, .2, 1) reveal;
  display: block;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.empty {
  color: var(--muted);
  background: var(--bg-2);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 30px;
  display: flex;
  position: absolute;
  inset: 0;
}

.empty .big {
  font-size: 42px;
}

.empty h2 {
  color: var(--text);
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.empty p {
  max-width: 340px;
  margin: 0;
  font-size: 13px;
}

.phone-home, .device-chrome {
  border-radius: inherit;
  flex-direction: column;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.phone-home {
  color: #1c1e24;
  -webkit-user-select: none;
  user-select: none;
  background: radial-gradient(78% 52% at 66% 40%, #ffe0d0b3, #0000 60%), radial-gradient(66% 56% at 16% 12%, #d2e2f89e, #0000 60%), radial-gradient(92% 70% at 50% 110%, #e0def0b3, #0000 60%), linear-gradient(165deg, #f4f6fa 0%, #edeff5 52%, #eef0f6 100%);
  font-family: Apple SD Gothic Neo, system-ui, sans-serif;
}

.home-wallpaper {
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.phone-home > .os-statusbar, .phone-home > .home-body, .phone-home > .home-search, .phone-home > .home-dock, .phone-home > .os-navbar {
  z-index: 1;
  position: relative;
}

.os-statusbar {
  color: #22242b;
  text-shadow: 0 1px 1px #ffffff73;
  flex: none;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  padding: 7px 18px 2px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  position: relative;
}

.osb-time {
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.os-camera {
  background: #08080a;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px #ffffff24;
}

.osb-icons {
  align-items: center;
  gap: 5px;
  font-size: 11px;
  display: inline-flex;
}

.osb-ic {
  color: #22242b;
  filter: drop-shadow(0 1px 1px #fff6);
  display: block;
}

.osb-sig {
  width: 15px;
  height: 10px;
}

.osb-wifi {
  width: 13.5px;
  height: 10px;
}

.osb-battery {
  width: 22px;
  height: 10.5px;
}

.osb-batt {
  font-size: 11.5px;
  font-weight: 700;
}

.osb-batt i {
  opacity: .85;
  margin-left: .5px;
  font-style: normal;
}

.home-body {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.home-scroll {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: auto;
  min-height: 0;
  padding: 2px 2px 6px;
  overflow: hidden auto;
}

.home-scroll::-webkit-scrollbar {
  display: none;
}

.home-group {
  padding: 0 8px;
}

.home-group-label {
  color: #3a3f4a;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px #ffffff8c;
  padding: 10px 6px 6px;
  font-size: 12px;
  font-weight: 700;
}

.home-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: min-content;
  align-content: start;
  gap: 10px 2px;
  display: grid;
}

.app-icon-btn {
  cursor: pointer;
  width: 100%;
  min-width: 0;
  color: inherit;
  background: none;
  border: 0;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  display: flex;
}

.app-icon {
  border: .5px solid #ffffff29;
  border-radius: 31%;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  transition: transform .12s;
  display: flex;
  position: relative;
  overflow: visible;
  box-shadow: 0 1px 2px #16182d1f, 0 6px 14px -8px #1a1e3a57;
}

.app-icon:before {
  content: "";
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(#ffffff29, #fff0 42%);
  position: absolute;
  inset: 0;
}

.app-icon-btn:active .app-icon {
  transform: scale(.9);
}

.app-glyph {
  z-index: 2;
  color: #fff;
  filter: drop-shadow(0 .5px 1px #00000042);
  width: 28px;
  height: 28px;
  position: relative;
}

.app-glyph path, .app-glyph circle, .app-glyph rect, .app-glyph line {
  stroke: #fff;
  stroke-width: 2px;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.app-label {
  text-align: center;
  color: #23252c;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px #ffffff8c;
  max-width: 100%;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
}

.app-collab {
  z-index: 3;
  background: linear-gradient(135deg, #3d8bff, #19c6e6);
  border: 1.6px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 19px;
  height: 19px;
  display: flex;
  position: absolute;
  top: -3px;
  right: -3px;
  box-shadow: 0 1px 3px #16182d57, 0 0 0 .5px #16182d0f;
}

.app-collab-ico {
  filter: drop-shadow(0 .5px .5px #00000038);
  width: 12px;
  height: 12px;
  display: block;
}

.app-collab-ico path, .app-collab-ico circle {
  fill: #fff;
  stroke: none;
}

.app-sheet .as-icon .app-collab {
  width: 17px;
  height: 17px;
  top: -2px;
  right: -2px;
}

.app-sheet .as-icon .app-collab-ico {
  width: 10.5px;
  height: 10.5px;
}

.home-search {
  cursor: pointer;
  color: #41454f;
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  background: #ffffff85;
  border: 0;
  border-radius: 999px;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 38px;
  margin: 4px 16px 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  box-shadow: inset 0 0 0 1px #ffffffa6, 0 2px 8px #4650731f;
}

.home-search:hover {
  background: #ffffffa8;
}

.search-ico {
  opacity: .85;
  flex: none;
  width: 16px;
  height: 16px;
}

.drawer-search .search-ico {
  opacity: .6;
  width: 18px;
  height: 18px;
}

.home-dock {
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  background: #ffffff75;
  border-radius: 30px;
  flex: none;
  justify-content: space-around;
  align-items: center;
  gap: 6px;
  margin: 0 10px;
  padding: 10px 12px;
  display: flex;
  box-shadow: inset 0 0 0 1px #ffffff9e, 0 6px 20px #4650732e;
}

.dock-icon {
  cursor: pointer;
  background: linear-gradient(155deg,var(--c1) 0%,var(--c2) 100%);
  border: .5px solid #ffffff29;
  border-radius: 31%;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  transition: transform .12s;
  display: flex;
  position: relative;
  box-shadow: 0 1px 2px #16182d1f, 0 6px 14px -8px #1a1e3a57;
}

.dock-icon:before {
  content: "";
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(#ffffff29, #fff0 42%);
  position: absolute;
  inset: 0;
}

.dock-glyph {
  z-index: 2;
  color: #fff;
  filter: drop-shadow(0 .5px 1px #00000042);
  width: 26px;
  height: 26px;
  position: relative;
}

.dock-glyph path, .dock-glyph circle, .dock-glyph rect {
  stroke: #fff;
  stroke-width: 2px;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.dock-icon:active {
  transform: scale(.9);
}

.dk-create {
  --c1: #ffd27a;
  --c2: #ff7a59;
}

.dk-store {
  --c1: #5ce0bb;
  --c2: #1fa37a;
}

.dk-set {
  --c1: #b7bfcd;
  --c2: #737b89;
}

.os-navbar {
  touch-action: none;
  flex: none;
  justify-content: center;
  align-items: center;
  height: 26px;
  padding-bottom: 4px;
  display: flex;
}

.os-pill {
  cursor: pointer;
  width: 34%;
  max-width: 140px;
  height: 5px;
  box-shadow: none;
  background: #282e4252;
  border: 0;
  border-radius: 999px;
}

.home-empty {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 24px;
  display: flex;
}

.home-empty-tile {
  cursor: pointer;
  color: #23252c;
  background: none;
  border: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  display: flex;
}

.het-glyph {
  background: linear-gradient(145deg, #ffb84d, #ff7a59);
  border-radius: 30%;
  justify-content: center;
  align-items: center;
  width: 74px;
  height: 74px;
  font-size: 34px;
  display: flex;
  position: relative;
  box-shadow: 0 8px 20px -6px #36406666, inset 0 1px #ffffff80;
}

.het-glyph-ico {
  color: #fff;
  width: 34px;
  height: 34px;
}

.het-label {
  text-shadow: 0 1px 2px #ffffff80;
  font-size: 14px;
  font-weight: 700;
}

.home-empty-hint {
  text-align: center;
  color: #5c6270;
  text-shadow: 0 1px 2px #ffffff80;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
}

.app-drawer {
  z-index: 6;
  padding: 14px 12px calc(12px + env(safe-area-inset-bottom));
  color: #1c1e24;
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  background: linear-gradient(#f4f6fad1, #eef0f7f0);
  flex-direction: column;
  gap: 8px;
  animation: .26s cubic-bezier(.2, .8, .2, 1) drawerup;
  display: flex;
  position: absolute;
  inset: 0;
}

@keyframes drawerup {
  from {
    opacity: 0;
    transform: translateY(16%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.drawer-grip {
  cursor: pointer;
  background: none;
  border: 0;
  align-self: center;
  padding: 4px 30px 6px;
}

.drawer-grip span {
  background: #282e4240;
  border-radius: 999px;
  width: 38px;
  height: 5px;
  display: block;
}

.drawer-search {
  color: #41454f;
  background: #ffffffb8;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  display: flex;
  box-shadow: inset 0 0 0 1px #4650731a;
}

.drawer-search input {
  color: #1c1e24;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
}

.drawer-search input::placeholder {
  color: #282e426b;
}

.drawer-grid {
  scrollbar-width: none;
  flex: 1;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  gap: 10px 2px;
  min-height: 0;
  padding: 8px 4px 4px;
  display: grid;
  overflow-y: auto;
}

.drawer-grid::-webkit-scrollbar {
  display: none;
}

.drawer-empty {
  text-align: center;
  color: #282e4280;
  grid-column: 1 / -1;
  padding: 30px 0;
  font-size: 13px;
}

.app-sheet-scrim {
  z-index: 7;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #0a0c1452;
  animation: .2s asfade;
  position: absolute;
  inset: 0;
}

@keyframes asfade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.app-sheet {
  z-index: 8;
  padding: 8px 14px calc(16px + env(safe-area-inset-bottom));
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  color: #1c1e24;
  background: #f8f9fcf0;
  border-radius: 26px 26px 0 0;
  animation: .26s cubic-bezier(.2, .8, .2, 1) assheetup;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -10px 30px #14182833;
}

@keyframes assheetup {
  from {
    transform: translateY(100%);
  }

  to {
    transform: none;
  }
}

.as-grip {
  background: #282e4238;
  border-radius: 999px;
  width: 38px;
  height: 5px;
  margin: 2px auto 12px;
}

.as-head {
  border-bottom: 1px solid #282e421a;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0 4px 12px;
  display: flex;
}

.app-sheet .as-icon {
  flex: none;
  width: 46px;
  height: 46px;
}

.app-sheet .as-icon .app-glyph {
  width: 24px;
  height: 24px;
}

.as-meta {
  min-width: 0;
}

.as-title {
  color: #1c1e24;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
}

.as-sub {
  color: #6b7280;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  font-size: 12px;
  overflow: hidden;
}

.as-actions {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.as-act {
  color: #23262e;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 10px;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .14s;
  display: flex;
}

.as-act:hover {
  background: #282e4212;
}

.as-act:active {
  background: #282e421f;
}

.as-act.danger {
  color: #dc2626;
}

.as-ic {
  text-align: center;
  flex: none;
  width: 22px;
  font-size: 16px;
}

.device-chrome {
  background: #eef0f4;
  animation: .3s cubic-bezier(.2, .8, .2, 1) appopen;
}

.device-chrome .os-statusbar {
  color: #22242b;
  text-shadow: none;
  background: #fff;
}

.device-chrome .app-surface {
  background: #fff;
  flex: auto;
  min-height: 0;
  position: relative;
}

.device-chrome .app-surface iframe {
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.device-chrome .os-navbar {
  touch-action: auto;
  background: #fff;
}

.device-chrome .os-pill {
  background: #282e4252;
}

@keyframes appopen {
  from {
    opacity: 0;
    transform: scale(.55);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ctrl-box {
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  background: #16181e9e;
  border: 1px solid #ffffff1f;
  border-radius: 22px;
  flex-direction: column;
  flex: none;
  align-self: center;
  gap: 8px;
  margin-left: 16px;
  padding: 8px;
  display: flex;
  box-shadow: 0 14px 36px #00000073, inset 0 1px #ffffff1a;
}

.ctrl-btn {
  appearance: none;
  color: #e9edf4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: #ffffff0f;
  border: 0;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 58px;
  padding: 9px 6px;
  transition: background-color .15s, transform .12s;
  display: flex;
}

.ctrl-btn:hover {
  background: #ffffff21;
}

.ctrl-btn:active {
  background: #ffffff0d;
  transform: scale(.92);
}

.ctrl-glyph {
  pointer-events: none;
  width: 24px;
  height: 24px;
  display: block;
}

.ctrl-lbl {
  letter-spacing: .02em;
  color: #aab2c0;
  font-size: 10.5px;
  font-weight: 600;
}

@media (max-width: 820px) {
  .os-statusbar {
    height: 34px;
    padding: 9px 20px 2px;
    font-size: 13px;
  }

  .home-grid {
    gap: 12px 2px;
  }

  .home-group-label {
    padding: 12px 6px 6px;
    font-size: 13px;
  }

  .app-icon, .dock-icon, .het-glyph {
    width: 58px;
    height: 58px;
  }

  .app-glyph {
    width: 30px;
    height: 30px;
  }

  .dock-glyph {
    width: 28px;
    height: 28px;
  }

  .app-label {
    font-size: 12px;
  }

  .home-dock {
    padding: 12px 14px;
  }
}

.spinner {
  border: 3px solid #ffffff1a;
  border-top-color: var(--accent);
  width: 34px;
  height: 34px;
  box-shadow: 0 0 18px -3px color-mix(in srgb,var(--accent) 60%,transparent);
  border-radius: 50%;
  animation: .8s linear infinite spin;
}

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

.overlay {
  z-index: 5;
  background: radial-gradient(120% 110% at 50% 30%, color-mix(in srgb,var(--accent) 18%,transparent), transparent 60%), #0a0b0eb3;
  -webkit-backdrop-filter: blur(var(--blur-3)) saturate(150%);
  backdrop-filter: blur(var(--blur-3)) saturate(150%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  animation: .28s overlayin;
  display: flex;
  position: absolute;
  inset: 0;
}

@keyframes overlayin {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.overlay-card {
  min-width: 190px;
  -webkit-backdrop-filter: blur(var(--blur-2)) saturate(180%);
  backdrop-filter: blur(var(--blur-2)) saturate(180%);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: var(--e3),inset 0 1px 0 var(--edge);
  background: #101218b3;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 40px;
  animation: .32s cubic-bezier(.2, .85, .25, 1) cardin;
  display: flex;
}

@keyframes cardin {
  from {
    opacity: 0;
    transform: scale(.94)translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.overlay span {
  color: var(--muted);
  font-size: 13px;
}

.overlay .timer {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  font-size: 20px;
  font-weight: 700;
}

.overlay .ov-hint {
  color: var(--faint);
  text-align: center;
  max-width: 240px;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.45;
}

.bg-gen-bar {
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 28px);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  animation: .28s bg-gen-in;
  display: flex;
  position: fixed;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px -8px #00000073;
}

.bg-gen-bar.done {
  background: #16a34a;
}

.bg-gen-txt {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.bg-gen-go {
  opacity: .85;
  white-space: nowrap;
  flex: none;
}

.bg-gen-spin {
  border: 2px solid #ffffff59;
  border-top-color: #fff;
  border-radius: 50%;
  flex: none;
  width: 15px;
  height: 15px;
  animation: .8s linear infinite spin;
}

.bg-gen-ico {
  flex: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

@keyframes bg-gen-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%);
  }
}

.author-feed {
  width: 380px;
  max-width: 88%;
  max-height: 42%;
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e2),inset 0 1px 0 var(--edge);
  background: #1012189e;
  flex-direction: column;
  gap: 7px;
  padding: 11px 13px;
  display: flex;
  overflow: auto;
}

.author-head {
  letter-spacing: .02em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
}

.astep {
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  animation: .25s astepin;
  display: flex;
}

.astep .ai {
  flex: none;
  font-size: 13px;
  line-height: 1.4;
}

.astep .at {
  color: var(--text);
}

.astep.ok .at {
  color: var(--ok);
}

.astep.fail .at {
  color: #fca5a5;
}

.astep.skip {
  opacity: .72;
}

.astep.run .ai {
  animation: 1s ease-in-out infinite pulse;
}

@keyframes astepin {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  50% {
    opacity: .35;
  }
}

.errbox {
  color: #fca5a5;
  border-radius: var(--r-2);
  background: #ef44441f;
  border: 1px solid #ef444457;
  padding: 12px 14px;
  font-size: 13px;
}

.toast {
  z-index: 50;
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-2)) saturate(150%);
  backdrop-filter: blur(var(--blur-2)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--e3),inset 0 1px 0 var(--edge);
  color: var(--text);
  padding: 10px 18px;
  font-size: 13px;
  animation: .22s cubic-bezier(.34, 1.3, .5, 1) toastin;
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes toastin {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%);
  }
}

:where(button, a, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: inherit;
}

textarea::placeholder, .refinebar input::placeholder {
  color: var(--muted);
  opacity: 1;
}

@media (prefers-reduced-transparency: reduce) {
  .panel, .refinebar, .specwrap, .overlay, .overlay-card, .author-feed, .tbtn, .seg, .tag, .chip, textarea, .refinebar input, .hist-item, .toast, .sheet-scrim {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .panel {
    background: var(--panel);
  }

  .refinebar, .specwrap {
    background: #1b1f26;
  }

  .overlay {
    background: #0a0b0df2;
  }

  .overlay-card {
    background: #171a20;
  }

  .author-feed {
    background: #1f242c;
  }

  .tbtn, .seg, .tag, .chip, textarea, .refinebar input, .hist-item, .nav-link {
    background: var(--card);
  }

  .seg button.on {
    background: #2a2f38;
  }

  .toast {
    background: #0a0b0df2;
  }

  .sheet-scrim {
    background: #040507cc;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .panel {
    background: var(--panel);
  }

  .refinebar, .specwrap {
    background: #1b1f26;
  }

  .overlay {
    background: #0a0b0df2;
  }

  .overlay-card {
    background: #171a20;
  }

  .author-feed {
    background: #1f242c;
  }

  .tbtn, .seg, .tag, .chip, textarea, .refinebar input, .hist-item, .nav-link {
    background: var(--card);
  }

  .seg button.on {
    background: #2a2f38;
  }

  .toast {
    background: #0a0b0df2;
  }

  .sheet-scrim {
    background: #040507cc;
  }
}

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

  .spinner {
    border-top-color: var(--accent);
    animation: none;
  }
}

@media (max-width: 820px), (max-height: 500px) {
  .app {
    flex-direction: column;
    height: 100svh;
  }

  body {
    overscroll-behavior: none;
  }

  .rail-toggle {
    display: none;
  }

  textarea {
    font-size: 16px;
  }

  .hint {
    display: none;
  }

  .link-btn {
    padding: 8px 10px;
  }

  .panel {
    z-index: 45;
    border: 1px solid var(--line);
    border-radius: var(--r-4) var(--r-4) 0 0;
    max-height: 86dvh;
    box-shadow: var(--e3);
    overscroll-behavior: contain;
    padding: 0 max(env(safe-area-inset-right),var(--pad)) max(env(safe-area-inset-bottom),var(--pad)) max(env(safe-area-inset-left),var(--pad));
    visibility: hidden;
    border-bottom: 0;
    flex: none;
    transition: transform .34s cubic-bezier(.32, .72, 0, 1), visibility 0s .34s;
    position: fixed;
    inset: auto 0 0;
    transform: translateY(102%);
  }

  .app[data-sheet="true"] .panel {
    visibility: visible;
    transition: transform .34s cubic-bezier(.32, .72, 0, 1);
    transform: none;
  }

  .field-prompt, .field-examples {
    display: none;
  }

  .sheet-handle {
    z-index: 1;
    background: var(--glass-1);
    width: 100%;
    -webkit-backdrop-filter: blur(var(--blur-1));
    backdrop-filter: blur(var(--blur-1));
    cursor: pointer;
    border: 0;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 10px 0 4px;
    display: flex;
    position: sticky;
    top: 0;
  }

  .sheet-handle span {
    border-radius: var(--r-pill);
    background: #ffffff80;
    width: 42px;
    height: 5px;
  }

  .panel .brand {
    margin-bottom: 2px;
  }

  .hist-item {
    min-height: 44px;
    padding: 13px;
    font-size: 13px;
  }

  .hist-item .m {
    font-size: 11px;
  }

  .sheet-scrim {
    z-index: 44;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background: #04050780;
    animation: .2s sheetscrim;
    display: block;
    position: fixed;
    inset: 0;
  }

  .preview {
    min-height: 0;
    padding: max(env(safe-area-inset-top),10px) max(env(safe-area-inset-right),12px)
      calc(72px + max(env(safe-area-inset-bottom),10px)) max(env(safe-area-inset-left),12px);
    flex: auto;
    gap: 10px;
  }

  .toolbar {
    flex-wrap: nowrap;
    flex: none;
    gap: 8px;
  }

  .tbtn {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .bar-brand {
    flex: 0 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-right: auto;
    display: flex;
  }

  .bar-brand .logo {
    flex: none;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .bar-name {
    letter-spacing: -.02em;
    color: var(--text);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
    overflow: hidden;
  }

  .app[data-view="stage"] .bar-name {
    display: none;
  }

  .settings-btn {
    flex: none;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    padding: 10px;
    font-size: 17px;
    display: inline-flex;
  }

  .new-app {
    background: var(--accent-tint);
    color: #cdd2ff;
    border-color: #6e7bff73;
    order: -1;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    display: inline-flex;
  }

  .new-app:hover {
    border-color: var(--accent);
    background: var(--accent-tint);
  }

  .tools {
    flex-wrap: nowrap;
    flex: none;
    gap: 6px;
    margin-left: 0;
  }

  .tools .seg, .tb-dl, .tbtn .lbl, .meta {
    display: none;
  }

  .stage, .stage.phone, .stage.tv {
    aspect-ratio: 9 / 19.5;
    background: #fff;
    border: 0;
    border-radius: 34px;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    box-shadow: 0 0 0 2px #16181c, 0 0 0 3px #ffffff0f, 0 26px 50px -14px #0000009e, 0 10px 22px -8px #0000006b;
  }

  .stage iframe, .stage.phone iframe, .stage.tv iframe {
    border-radius: 32px;
  }

  .stage .empty, .stage.phone .empty {
    border-radius: 32px;
    padding: 26px;
  }

  .empty .big {
    font-size: 34px;
  }

  .empty h2 {
    font-size: 16px;
  }

  .empty p {
    font-size: 12px;
  }

  .overlay-card {
    min-width: 0;
    max-width: 86%;
    padding: 20px 22px;
  }

  .overlay span {
    font-size: 12px;
  }

  .author-feed {
    width: auto;
    max-width: 92%;
  }

  .overlay .ov-stop {
    color: #fca5a5;
    border-radius: var(--r-2);
    cursor: pointer;
    background: #ef444429;
    border: 1px solid #ef444473;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin-top: 2px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
  }

  .refinebar, .specwrap {
    display: none;
  }

  .m-composer {
    z-index: 30;
    left: max(env(safe-area-inset-left),10px);
    right: max(env(safe-area-inset-right),10px);
    bottom: max(env(safe-area-inset-bottom),10px);
    transform: translateY(calc(-1 * var(--kb, 0px)));
    background: var(--glass-1);
    -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
    backdrop-filter: blur(var(--blur-1)) saturate(150%);
    border: 1px solid var(--line);
    border-radius: var(--r-3);
    box-shadow: var(--e2),inset 0 1px 0 var(--edge);
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 8px 10px;
    transition: transform .22s cubic-bezier(.32, .72, 0, 1);
    display: flex;
    position: fixed;
  }

  .m-composer input {
    background: var(--glass-2);
    border: 1px solid var(--line);
    min-width: 0;
    min-height: 44px;
    color: var(--text);
    border-radius: var(--r-2);
    outline: none;
    flex: 1 1 0;
    padding: 9px 14px;
    font-size: 16px;
    transition: border-color .15s;
  }

  .m-composer input:focus {
    border-color: var(--accent);
  }

  .m-composer input::placeholder {
    color: var(--muted);
    opacity: 1;
  }

  .m-go {
    cursor: pointer;
    color: #fff;
    border-radius: var(--r-2);
    min-width: 48px;
    min-height: 44px;
    box-shadow: var(--e1),inset 0 1px 0 #ffffff42;
    background: linear-gradient(#5b57ea, #4f46d6);
    border: 0;
    flex: none;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 700;
    transition: filter .15s, transform .12s, opacity .15s;
  }

  .m-go:hover:not(:disabled) {
    filter: brightness(1.07);
  }

  .m-go:active:not(:disabled) {
    transform: translateY(1px);
  }

  .m-go:disabled {
    opacity: .5;
    cursor: default;
  }

  .m-go.stop {
    color: #fca5a5;
    box-shadow: none;
    background: #ef44442e;
    border: 1px solid #ef444480;
  }

  .m-note {
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-basis: 100%;
    order: 5;
    font-size: 11px;
    overflow: hidden;
  }

  .toast {
    bottom: auto;
    top: calc(max(env(safe-area-inset-top),8px) + 56px);
    background: var(--glass-3);
    animation: .22s cubic-bezier(.34, 1.3, .5, 1) toastdown;
  }
}

@keyframes sheetscrim {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes toastdown {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%);
  }
}

.d-root {
  flex-direction: column;
  gap: 16px;
  max-width: 1180px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 22px 64px;
  display: flex;
}

.d-top {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.d-top-l {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.d-back {
  border-radius: var(--r-2);
  width: 38px;
  height: 38px;
  box-shadow: var(--e1),inset 0 1px 0 #ffffff4d;
  background: linear-gradient(#7d89ff, #6e7bff);
  flex: none;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  text-decoration: none;
  display: flex;
}

.d-top h1 {
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.d-sub {
  color: var(--muted);
  margin-top: 1px;
  font-size: 12px;
}

.d-top-r {
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-spin {
  border: 2px solid #fff2;
  border-top-color: var(--accent);
  vertical-align: middle;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: .8s linear infinite spin;
  display: inline-block;
}

.d-gate-wrap {
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
}

.d-gate {
  text-align: center;
  background: var(--glass-1);
  width: 100%;
  max-width: 420px;
  -webkit-backdrop-filter: blur(var(--blur-2)) saturate(160%);
  backdrop-filter: blur(var(--blur-2)) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: var(--e3),inset 0 1px 0 var(--edge);
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px;
  display: flex;
}

.d-gate-logo {
  font-size: 38px;
}

.d-gate h1 {
  color: var(--text);
  letter-spacing: -.02em;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.d-gate-sub {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.d-gate-sub code {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 1px 5px;
  font-size: 12px;
}

.d-gate input {
  background: var(--glass-2);
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font: inherit;
  text-align: center;
  letter-spacing: .04em;
  outline: none;
  padding: 11px 14px;
  font-size: 14px;
  transition: border-color .15s;
}

.d-gate input:focus {
  border-color: var(--accent);
}

.d-gate-go {
  color: #fff;
  border-radius: var(--r-2);
  cursor: pointer;
  width: 100%;
  box-shadow: var(--e1),inset 0 1px 0 #ffffff47;
  background: linear-gradient(#5b57ea, #4f46d6);
  border: 0;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  transition: filter .15s, transform .12s, opacity .15s;
}

.d-gate-go:hover:not(:disabled) {
  filter: brightness(1.06);
}

.d-gate-go:active:not(:disabled) {
  transform: translateY(1px);
}

.d-gate-go:disabled {
  opacity: .5;
  cursor: default;
}

.d-gate-msg {
  color: #fca5a5;
  border-radius: var(--r-2);
  text-align: left;
  background: #ef44441f;
  border: 1px solid #ef444457;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

.d-gate-back {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
  text-decoration: none;
}

.d-gate-back:hover {
  color: var(--text);
}

.d-stats {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  display: grid;
}

.d-stat {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e1),inset 0 1px 0 var(--edge);
  flex-direction: column;
  gap: 3px;
  padding: 15px 17px;
  display: flex;
}

.d-stat.accent {
  background: linear-gradient(180deg,var(--accent-tint),var(--glass-1));
  border-color: #6e7bff66;
}

.d-stat .l {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.d-stat .k {
  color: var(--text);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.d-stat .s {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  min-height: 14px;
  font-size: 11px;
}

.d-cols {
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  display: grid;
}

@media (max-width: 880px) {
  .d-cols {
    grid-template-columns: 1fr;
  }
}

.d-card {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e1),inset 0 1px 0 var(--edge);
  padding: 15px 17px;
}

.d-card-h {
  color: var(--muted);
  letter-spacing: .01em;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
}

.d-empty-sm {
  color: var(--faint);
  padding: 8px 0;
  font-size: 12px;
}

.d-daily {
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  display: flex;
}

.d-day {
  flex-direction: column;
  flex: 1 1 0;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  min-width: 0;
  height: 100%;
  display: flex;
}

.d-day-bar {
  background: linear-gradient(#7d89ff, #5b57ea);
  border-radius: 4px 4px 2px 2px;
  width: 100%;
  max-width: 22px;
  min-height: 4px;
  transition: height .3s;
}

.d-day:hover .d-day-bar {
  filter: brightness(1.18);
}

.d-day-x {
  color: var(--faint);
  white-space: nowrap;
  transform-origin: center;
  height: 12px;
  font-size: 9px;
  transform: rotate(-45deg);
}

.d-barlist {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.d-bl-row {
  align-items: center;
  gap: 9px;
  font-size: 12px;
  display: flex;
}

.d-bl-name {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 0 84px;
  overflow: hidden;
}

.d-bl-track {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  flex: 1;
  height: 8px;
  overflow: hidden;
}

.d-bl-fill {
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #6e7bff, #8b95ff);
  height: 100%;
  display: block;
}

.d-bl-n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  flex: none;
  min-width: 22px;
}

.d-filters {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-search {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--r-1);
  font: inherit;
  outline: none;
  flex: 220px;
  min-width: 0;
  padding: 8px 12px;
  font-size: 13px;
  transition: border-color .15s;
}

.d-search-sm {
  flex: 0 170px;
}

.d-search:focus {
  border-color: var(--accent);
}

.d-search::placeholder {
  color: var(--muted);
  opacity: 1;
}

.d-tablewrap {
  padding: 0;
  overflow: hidden;
}

.d-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12.5px;
}

.d-table thead th {
  text-align: left;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: var(--panel);
  z-index: 1;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.d-table tbody tr {
  cursor: pointer;
  transition: background .12s;
}

.d-table tbody tr:hover {
  background: var(--accent-tint);
}

.d-table tbody tr.sel {
  background: var(--accent-tint);
  box-shadow: inset 2px 0 0 var(--accent);
}

.d-table td {
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  padding: 10px 12px;
}

.d-table tbody tr:last-child td {
  border-bottom: 0;
}

.c-time {
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.c-text {
  width: 42%;
  max-width: 0;
}

.d-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  display: block;
  overflow: hidden;
}

.c-ms {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.c-blocks {
  white-space: nowrap;
}

.c-user {
  white-space: nowrap;
  max-width: 160px;
}

.d-req {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: inline-flex;
}

.d-req-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  max-width: 120px;
  overflow: hidden;
}

.d-faint {
  color: var(--faint);
}

.d-badge {
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  white-space: nowrap;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  display: inline-block;
}

.d-badge.gen {
  color: #aeb6ff;
  background: var(--accent-tint);
  border-color: #6e7bff66;
}

.d-badge.refine {
  color: #7dd3c0;
  background: #34d3991a;
  border-color: #34d3994d;
}

.d-badge.ok {
  color: var(--ok);
  background: #34d3991a;
  border-color: #34d39957;
}

.d-badge.fail {
  color: #fca5a5;
  background: #ef44441f;
  border-color: #ef444466;
}

.d-itag {
  color: var(--muted);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: 2px 7px;
  font-size: 11px;
}

.d-btag {
  color: var(--text);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-right: 4px;
  padding: 2px 6px;
  font-size: 10.5px;
  display: inline-block;
}

.d-btag.more {
  color: var(--muted);
}

.d-chip-mini {
  color: #aeb6ff;
  background: var(--accent-tint);
  vertical-align: middle;
  border: 1px solid #6e7bff4d;
  border-radius: 6px;
  margin-left: 7px;
  padding: 1px 6px;
  font-size: 10px;
  display: inline-block;
}

.d-err-inline {
  color: #fca5a5;
  margin-left: 7px;
  font-size: 10.5px;
  display: inline-block;
}

.d-empty {
  color: var(--muted);
  text-align: center;
  padding: 44px 20px;
  font-size: 13px;
}

.d-pager {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  display: flex;
}

.d-pager-info {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.d-pager-btns {
  gap: 8px;
  display: flex;
}

.d-drawer-scrim {
  z-index: 60;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #04050780;
  justify-content: flex-end;
  animation: .18s scrimin;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes scrimin {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.d-drawer {
  background: var(--glass-1);
  width: min(560px, 100%);
  height: 100%;
  -webkit-backdrop-filter: blur(var(--blur-2)) saturate(160%);
  backdrop-filter: blur(var(--blur-2)) saturate(160%);
  border-left: 1px solid var(--line);
  box-shadow: var(--e3);
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  animation: .26s cubic-bezier(.2, .7, .2, 1) drawerin;
  display: flex;
  overflow: auto;
}

.d-drawer.wide {
  width: min(880px, 100%);
}

.d-drawer-scrim .d-drawer {
  flex-shrink: 0;
}

.d-eval-preview {
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-width: 0;
  height: 100%;
  padding: 18px 0 18px 18px;
  animation: .2s scrimin;
  display: flex;
}

.d-eval-stage {
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  display: flex;
  overflow: auto;
}

@media (max-width: 1100px) {
  .d-eval-preview {
    z-index: 1;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: #080a0ef0;
    padding: 14px;
    position: absolute;
    inset: 0;
  }
}

@keyframes drawerin {
  from {
    opacity: .4;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.d-drawer-head {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.d-drawer-title {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-drawer-when {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.d-drawer-body {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.d-kv {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.d-kv > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.d-kv > b {
  color: var(--text);
  word-break: break-word;
  font-size: 13px;
  font-weight: 600;
}

.d-kv-row {
  flex-wrap: wrap;
  gap: 18px;
  display: flex;
}

.d-kv-row .d-kv {
  flex: none;
}

.d-blocks {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
  display: flex;
}

.d-preview-h {
  color: var(--muted);
  letter-spacing: .02em;
  text-transform: uppercase;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.d-preview {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e1);
  background: #fff;
  height: 380px;
  position: relative;
  overflow: hidden;
}

.d-preview iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.d-preview-msg {
  color: var(--muted);
  background: var(--bg-2);
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px;
  font-size: 13px;
  display: flex;
  position: absolute;
  inset: 0;
}

.d-spec {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.d-spec-toggle {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  align-self: flex-start;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
}

.d-spec-toggle:hover {
  color: var(--text);
}

.d-spec-pre {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: #cdd3da;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 300px;
  margin: 0;
  padding: 12px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  line-height: 1.5;
  overflow: auto;
}

@media (max-width: 600px) {
  .d-root {
    padding: 16px 14px 48px;
  }

  .d-tablewrap {
    overflow-x: auto;
  }

  .d-table {
    min-width: 780px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .d-gate, .d-stat, .d-card, .d-drawer {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--panel);
  }

  .d-search, .d-gate input, .d-spec-pre, .d-bl-track, .d-itag, .d-btag {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--card);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .d-gate, .d-stat, .d-card, .d-drawer {
    background: var(--panel);
  }
}

.d-tabs {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  display: flex;
}

.d-tabs button {
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  border-radius: var(--r-pill);
  background: none;
  border: 0;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: color .15s, background .15s;
}

.d-tabs button:hover {
  color: var(--text);
}

.d-tabs button.on {
  color: var(--text);
  box-shadow: var(--e1),inset 0 1px 0 var(--edge);
  background: #ffffff1f;
}

.d-settings {
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  display: flex;
}

.d-eval {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.d-af {
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: 11px 14px;
  font-size: 12.5px;
  line-height: 1.6;
}

.d-af.on {
  color: #a7f3d0;
  background: #34d3991a;
  border-color: #34d3994d;
}

.d-af.off {
  color: #fcd9a5;
  background: #f59e0b1a;
  border-color: #f59e0b52;
}

.d-af b {
  font-weight: 700;
}

.d-af code {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 5px;
  font-size: 11.5px;
}

.d-set-card {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.d-set-desc {
  color: var(--muted);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
}

.d-set-desc b {
  color: var(--text);
  font-weight: 600;
}

.d-set-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.d-select {
  background: var(--glass-2);
  min-width: 0;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font: inherit;
  cursor: pointer;
  outline: none;
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color .15s;
}

.d-select:focus {
  border-color: var(--accent);
}

.d-select option {
  color: #111;
}

.d-set-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.d-set-save {
  width: auto;
  padding: 10px 28px;
}

.d-set-note {
  color: var(--muted);
  font-size: 12.5px;
}

.d-set-desc code {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 1px 5px;
  font-size: 11.5px;
}

.d-conc-list {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.d-conc-row {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  font-size: 12.5px;
  display: flex;
}

.d-conc-id {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  overflow: hidden;
}

.d-conc-n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.d-conc-use {
  color: var(--accent);
  font-size: 11px;
  font-style: normal;
}

.d-conc-input {
  background: var(--glass-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  font: inherit;
  text-align: right;
  font-variant-numeric: tabular-nums;
  outline: none;
  flex: 0 0 110px;
  padding: 7px 10px;
  font-size: 12.5px;
  transition: border-color .15s;
}

.d-conc-input:focus {
  border-color: var(--accent);
}

.d-conc-input::placeholder {
  color: var(--faint);
  opacity: 1;
}

.d-blk-tab {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.d-blk-toolbar {
  align-items: center;
  gap: 12px;
  display: flex;
}

.d-blk-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex: none;
  font-size: 12px;
}

.d-blk-cats {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.d-blk-cats .chip {
  font-variant-numeric: tabular-nums;
}

.d-blk-cats .chip.on {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--text);
  font-weight: 600;
}

.d-blk-grid {
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 10px;
  display: grid;
}

.d-blk-card {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e1),inset 0 1px 0 var(--edge);
  cursor: pointer;
  flex-direction: column;
  gap: 8px;
  padding: 13px 15px;
  transition: border-color .15s, transform .12s, background .15s;
  display: flex;
}

.d-blk-card:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.d-blk-card:active {
  transform: translateY(1px);
}

.d-blk-head {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-blk-type {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 700;
  overflow: hidden;
}

.d-blk-cat {
  color: #aeb6ff;
  background: var(--accent-tint);
  border-radius: var(--r-pill);
  border: 1px solid #6e7bff4d;
  flex: none;
  padding: 2px 8px;
  font-size: 10.5px;
}

.d-blk-sum {
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.d-blk-kw {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.d-blk-kwc {
  color: var(--faint);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 10px;
}

.d-blk-kwc.more {
  color: var(--muted);
}

.d-store-tab {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.d-store-sum {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-store-sum .chip {
  font-variant-numeric: tabular-nums;
}

.d-store-sum .chip.on {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--text);
  font-weight: 600;
}

.d-store-hint {
  color: var(--muted);
  font-size: 11.5px;
}

.d-store-hint a {
  color: #aeb6ff;
}

.d-store-card {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e1),inset 0 1px 0 var(--edge);
  flex-direction: column;
  gap: 9px;
  padding: 13px 15px;
  display: flex;
}

.d-store-card.is-hidden {
  opacity: .6;
}

.d-store-kind {
  color: var(--muted);
  flex: none;
  font-size: 10.5px;
}

.d-store-meta {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-store-plays {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.d-store-actions {
  gap: 7px;
  display: flex;
}

.d-store-actions .tbtn {
  text-align: center;
  flex: 1;
  justify-content: center;
  text-decoration: none;
}

.d-store-toggle {
  border-color: #f59e0b66;
}

.d-cp-h {
  color: var(--muted);
  margin: 6px 0;
  font-size: 12px;
  font-weight: 700;
}

.d-cp-new {
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.d-cp-new .d-conc-input {
  flex: 1;
  min-width: 0;
}

.d-cp-item {
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--glass-2);
  margin-bottom: 6px;
  overflow: hidden;
}

.d-cp-row {
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  display: flex;
}

.d-cp-name {
  text-align: left;
  min-width: 0;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  border: 0;
  flex: 1;
  overflow: hidden;
}

.d-cp-name code {
  font-size: 12px;
}

.d-cp-edit {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  display: flex;
}

.d-cp-prow {
  align-items: flex-start;
  gap: 6px;
  display: flex;
}

.d-cp-text {
  resize: vertical;
  min-width: 0;
  font: inherit;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 6px;
  flex: 1;
  padding: 6px 8px;
  font-size: 12.5px;
  line-height: 1.5;
}

.d-cp-imp {
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  flex: none;
  align-items: center;
  gap: 4px;
  padding-top: 6px;
  font-size: 11px;
  display: inline-flex;
}

.d-cp-imp input {
  accent-color: var(--accent);
  cursor: pointer;
}

.d-cp-actions {
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  display: flex;
}

.d-cp-view {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 0;
  max-height: 320px;
  padding: 8px 10px;
  display: flex;
  overflow: auto;
}

.d-cp-vrow {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.5;
}

.d-bd-type {
  color: var(--text);
  letter-spacing: -.01em;
  font-size: 15.5px;
  font-weight: 800;
}

.d-bd-summary {
  color: var(--text);
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.d-bd-meta {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
}

.d-bd-sec {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 7px;
  padding-top: 11px;
  display: flex;
}

.d-bd-h {
  color: var(--muted);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.d-bd-row {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.d-bd-key {
  color: var(--text);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  display: flex;
}

.d-bd-key b {
  font-weight: 600;
}

.d-bd-tag {
  color: #aeb6ff;
  background: var(--accent-tint);
  border: 1px solid #6e7bff4d;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 10.5px;
}

.d-bd-def {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
}

.d-bd-desc {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.d-bd-ex {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: #cdd3da;
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 8px;
  margin: 0;
  padding: 7px 9px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
}

.d-conn-card {
  flex-direction: column;
  gap: 9px;
  display: flex;
}

.d-conn-card.d-conn-dim {
  opacity: .62;
}

.d-conn-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.d-conn-title {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.d-conn-name {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: #aeb6ff;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 11px;
}

.d-conn-pill {
  letter-spacing: .01em;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 700;
}

.d-conn-pill.on {
  color: #a7f3d0;
  background: #34d39921;
  border: 1px solid #34d39952;
}

.d-conn-pill.nokey {
  color: #fcd9a5;
  background: #f59e0b1f;
  border: 1px solid #f59e0b57;
}

.d-conn-pill.off {
  color: #fca5a5;
  background: #ef44441f;
  border: 1px solid #ef44444d;
}

.d-conn-pill.client {
  color: #bfdbfe;
  background: #60a5fa21;
  border: 1px solid #60a5fa52;
}

.d-conn-provider {
  color: var(--faint);
  font-size: 11px;
}

.d-conn-actions {
  gap: 6px;
  display: inline-flex;
}

.d-conn-grid {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  display: flex;
}

.d-conn-field {
  color: var(--muted);
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  display: flex;
}

.d-conn-field .d-conc-input {
  text-align: left;
  flex: none;
  width: 128px;
}

.d-conn-keyfield .d-conn-key {
  width: 240px;
  font-family: ui-monospace, Menlo, monospace;
}

.d-conn-src {
  color: var(--faint);
  font-style: normal;
}

.d-conn-save {
  padding: 8px 18px;
}

.d-conn-foot {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 16px;
  display: flex;
}

.d-conn-test {
  max-height: 180px;
  overflow: auto;
}

.d-conn-test.ok {
  border-color: #34d3994d;
}

.d-conn-test.bad {
  color: #f3c4c4;
  border-color: #ef444452;
}

.d-ex-form {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.d-ex-row2 {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.d-ex-row2 .d-conn-field {
  flex: 1;
  min-width: 160px;
}

.d-ex-wide {
  width: 100%;
}

.d-ex-url {
  width: 100%;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
}

.d-ex-urlrow {
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-ex-urlrow .d-ex-url {
  flex: 1;
  min-width: 0;
}

.d-ex-suggest {
  white-space: nowrap;
  flex: none;
}

.d-ex-sel {
  height: 34px;
}

.d-ex-fields {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 7px;
  padding-top: 11px;
  display: flex;
}

.d-ex-fhead {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  display: flex;
}

.d-ex-frow {
  align-items: center;
  gap: 8px;
  display: flex;
}

.d-ex-fname {
  flex: 0 0 150px;
}

.d-ex-ftype {
  flex: 0 0 110px;
  height: 34px;
}

.d-ex-fdesc {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.d-ex-fdel {
  flex: none;
  padding: 6px 9px;
}

.d-ex-url-show {
  color: var(--muted);
  word-break: break-all;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
}

.d-ex-hint {
  color: var(--muted);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1.5;
}

.d-ex-drift {
  padding: 7px 10px;
  font-size: 11.5px;
}

.d-ex-warn {
  color: #fcd9a5;
  border-radius: var(--r-1);
  background: #f59e0b1a;
  border: 1px solid #f59e0b52;
  line-height: 1.5;
}

@media (prefers-reduced-transparency: reduce) {
  .d-tabs, .d-select, .d-blk-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--card);
  }
}

.store-root {
  flex-direction: column;
  gap: 16px;
  max-width: 1320px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 20px 64px;
  display: flex;
}

.store-top {
  align-items: center;
  gap: 14px;
  display: flex;
}

.store-back {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
}

.store-back b {
  color: var(--text);
  font-weight: 700;
}

.store-h1 {
  letter-spacing: -.01em;
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.store-cta {
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--e1);
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.store-cta.lg {
  margin-top: 6px;
  padding: 11px 22px;
  font-size: 14px;
}

.store-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.store-seg {
  flex: none;
}

.store-cats {
  flex-wrap: wrap;
  flex: 1;
  gap: 6px;
  display: flex;
}

.store-cats .chip.on {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--text);
  font-weight: 600;
}

.store-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex: none;
  font-size: 12px;
}

.store-err {
  color: #f3c4c4;
  border-radius: var(--r-2);
  background: #ef44441a;
  border: 1px solid #ef44444d;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
}

.store-spaces {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.ss-label {
  color: var(--muted);
  letter-spacing: .2px;
  font-size: 12px;
  font-weight: 700;
}

.ss-count {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
  font-weight: 600;
}

.ss-wrap {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.ss-item {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--text);
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  text-decoration: none;
  display: flex;
}

.ss-item:hover {
  border-color: var(--accent);
}

.ss-avatar {
  background: var(--accent);
  width: 26px;
  height: 26px;
  color: var(--accent-ink);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.ss-favicon {
  background: var(--glass-2);
  object-fit: contain;
  border-radius: 8px;
  flex: none;
  width: 26px;
  height: 26px;
}

.ss-more {
  border: 1px dashed var(--line);
  border-radius: var(--r-2);
  color: var(--muted);
  cursor: pointer;
  background: none;
  flex: none;
  align-items: center;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color .15s, color .15s;
  display: inline-flex;
}

.ss-more:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ss-host {
  font-weight: 700;
}

.ss-meta {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ss-warn {
  margin-left: 4px;
  font-size: 11px;
}

.store-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  display: grid;
}

.store-card {
  background: var(--glass-1);
  -webkit-backdrop-filter: blur(var(--blur-1)) saturate(150%);
  backdrop-filter: blur(var(--blur-1)) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--e1),inset 0 1px 0 var(--edge);
  flex-direction: column;
  transition: border-color .15s, transform .12s;
  display: flex;
  overflow: hidden;
}

.store-card:hover {
  border-color: var(--accent);
  box-shadow: var(--e2),inset 0 1px 0 var(--edge);
  transform: translateY(-2px);
}

.tile-frame {
  aspect-ratio: 4 / 3;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.tile-iframe {
  pointer-events: none;
  background: #fff;
  border: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.store-card:hover .tile-iframe {
  pointer-events: auto;
}

.tile-poster {
  background: linear-gradient(135deg,var(--bg-2),var(--panel));
  opacity: .7;
  justify-content: center;
  align-items: center;
  font-size: 42px;
  display: flex;
  position: absolute;
  inset: 0;
}

.sc-foot {
  flex-direction: column;
  gap: 6px;
  padding: 10px 13px;
  display: flex;
}

.sc-title {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 700;
  overflow: hidden;
}

.sc-meta {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  display: flex;
}

.sc-kind {
  color: #aeb6ff;
  background: var(--accent-tint);
  border-radius: var(--r-pill);
  border: 1px solid #6e7bff4d;
  padding: 2px 9px;
  font-size: 10.5px;
}

.sc-plays {
  font-variant-numeric: tabular-nums;
}

.sc-uniques {
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.sc-open {
  width: 28px;
  height: 28px;
  color: var(--text);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  flex: none;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  display: inline-flex;
}

.sc-open:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.sc-actions {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.sc-install {
  color: var(--text);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color .15s, background .15s, color .15s;
}

.sc-install:hover {
  border-color: var(--accent);
}

.sc-install.on {
  color: #aef0d0;
  background: #1fa37a29;
  border-color: #1fa37a73;
}

.db-actions {
  flex: none;
  align-items: center;
  gap: 8px;
  display: flex;
}

.db-actions .sc-install {
  color: #fff;
  background: #fff3;
  border-color: #ffffff47;
}

.db-actions .sc-install.on {
  color: #d6ffe9;
  background: #1fa37a52;
  border-color: #fff6;
}

.store-deck {
  scroll-snap-type: y mandatory;
  border-radius: var(--r-3);
  flex-direction: column;
  gap: 0;
  margin: 0 -20px;
  display: flex;
  overflow-y: auto;
}

.deck-item {
  scroll-snap-align: start;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex: none;
  position: relative;
}

.deck-item .tile-frame {
  aspect-ratio: auto;
  position: absolute;
  inset: 0;
}

.deck-item .tile-iframe {
  pointer-events: auto;
}

.deck-bar {
  color: #fff;
  background: linear-gradient(#0000, #0000008c);
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.db-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 3px #00000080;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
}

.db-meta {
  opacity: .9;
  flex: none;
  gap: 8px;
  font-size: 11px;
  display: flex;
}

.db-open {
  color: #fff;
  border-radius: var(--r-pill);
  background: #fff3;
  border: 1px solid #ffffff47;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  text-decoration: none;
  display: inline-flex;
}

.store-empty {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 48px 20px;
  display: flex;
}

.store-empty.sm {
  padding: 28px 20px;
}

.se-big {
  font-size: 48px;
}

.store-empty h2 {
  margin: 8px 0 0;
  font-size: 18px;
}

.store-empty p {
  color: var(--muted);
  max-width: 420px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.store-mine {
  text-align: left;
  width: 100%;
  max-width: 560px;
  margin-top: 28px;
}

.sm-h {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 12px;
}

.sm-list {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.sm-item {
  color: var(--text);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 13px;
  text-decoration: none;
  overflow: hidden;
}

.sm-item:hover {
  border-color: var(--accent);
}

.store-loading {
  text-align: center;
  color: var(--muted);
  padding: 18px;
  font-size: 13px;
}

.store-more {
  text-align: center;
  padding: 6px;
}

.chip.lg {
  padding: 9px 20px;
  font-size: 13.5px;
}

@media (max-width: 820px) {
  .store-root {
    gap: 12px;
    height: 100dvh;
    min-height: 0;
    padding: 14px 20px;
    overflow: hidden;
  }

  .store-h1 {
    font-size: 18px;
  }

  .store-deck {
    flex: 1;
    min-height: 0;
  }

  .deck-item {
    height: 100%;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .store-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--card);
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-card:hover {
    transform: none;
  }
}

.pub-toggle {
  color: var(--muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: inline-flex;
}

.pub-toggle input {
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}

.pub-toggle.disabled {
  opacity: .5;
  cursor: not-allowed;
}

.pub-toggle.disabled input {
  cursor: not-allowed;
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/