:root {
  --bg: #0c0e12;
  --bg-elev: #151922;
  --bg-panel: #1a1f2b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --muted: #9aa3b5;
  --accent: #b8f34d;
  --accent-ink: #12150a;
  --danger: #ff6b7a;
  --radius: 10px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

/* Keep author display:* rules from overriding the hidden attribute */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body {
  background-image:
    radial-gradient(ellipse 70% 45% at 8% -8%, rgba(184, 243, 77, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 92% 8%, rgba(184, 243, 77, 0.04), transparent 48%),
    linear-gradient(180deg, #0c0e12 0%, #090b0f 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 14, 18, 0.72);
}

body:not(.page-maker) .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 1.25rem;
  align-items: center;
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

/* Mid links stay left of the nav row; language + CTAs sit on the right */
.nav-links > a.hide-sm:not(.btn),
.nav-links > a:not(.btn):not(.hide-sm),
.nav-links > span.hide-sm {
  order: 1;
}

.nav-links > .lang-switch {
  order: 2;
  margin-left: auto;
}

.nav-links > .btn,
.nav-links > .nav-account-wrap {
  order: 3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

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

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

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn-block {
  width: 100%;
}

.hero-bleed {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #080a0f;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 48% at 74% 40%, rgba(184, 243, 77, 0.16), transparent 62%),
    radial-gradient(ellipse 42% 36% at 88% 72%, rgba(110, 200, 255, 0.1), transparent 58%),
    radial-gradient(ellipse 50% 40% at 18% 70%, rgba(184, 243, 77, 0.05), transparent 55%),
    linear-gradient(160deg, #0c1018 0%, #080a0f 48%, #0a0e14 100%);
  pointer-events: none;
}

.hero-visual > #hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 40%;
  opacity: 0.55;
  transform: scale(1.1);
  animation: oc-hero-drift 18s ease-in-out alternate infinite;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 22%, #000 48%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 22%, #000 48%, #000 100%);
}

.hero-pack {
  position: absolute;
  top: 2%;
  right: -4%;
  bottom: -2%;
  left: max(22rem, calc((100% - 1120px) / 2 + 34rem + 1rem));
  z-index: 2;
  pointer-events: none;
}

.hero-pack-frame {
  position: absolute;
  display: block;
  width: min(62vw, 860px);
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(184, 243, 77, 0.18),
    0 0 48px rgba(184, 243, 77, 0.08);
}

.hero-pack-frame--a {
  left: 2%;
  top: 4%;
  width: min(72vw, 880px);
  transform: rotate(-2deg) translate3d(0, 0, 0);
  z-index: 3;
  animation: oc-hero-float-a 10s ease-in-out alternate infinite;
}

.hero-pack-frame--b {
  left: 14%;
  top: 34%;
  width: min(56vw, 680px);
  transform: rotate(2.8deg);
  z-index: 2;
  animation: oc-hero-float-b 12s ease-in-out alternate infinite;
}

.hero-pack-frame--c {
  left: 36%;
  top: 54%;
  width: min(46vw, 540px);
  transform: rotate(-4deg);
  z-index: 1;
  animation: oc-hero-float-c 14s ease-in-out alternate infinite;
}

.hero-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8, 10, 14, 0.92) 0%, rgba(8, 10, 14, 0.55) 22%, rgba(8, 10, 14, 0.08) 42%, transparent 58%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.22) 0%, transparent 30%, rgba(8, 10, 14, 0.35) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
  max-width: 34rem;
  justify-self: start;
  margin-left: max(1.5rem, calc((100% - 1120px) / 2 + 1.5rem));
  animation: oc-rise 0.75s ease both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -2.5rem -2rem -2rem -2.5rem;
  z-index: -1;
  background: radial-gradient(ellipse at 30% 45%, rgba(8, 10, 14, 0.82) 0%, rgba(8, 10, 14, 0.35) 55%, transparent 78%);
  pointer-events: none;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin: 0 0 1.1rem;
  text-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.5;
  max-width: 28rem;
  margin: 0 0 1.85rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-ghost {
  background: rgba(12, 14, 18, 0.45);
  backdrop-filter: blur(8px);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.75rem 1.5rem;
}

.section-wide {
  max-width: 1240px;
}

.section-samples {
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: none;
}

.section-head-row > div {
  max-width: 40rem;
}

.section-head-row .btn {
  flex-shrink: 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
}

.section > p,
.section-head > p {
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 40rem;
}

.section-head > p {
  margin-bottom: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2.5rem;
  counter-reset: oc-step;
}

.steps li {
  position: relative;
  padding-top: 0.15rem;
  border-top: 2px solid rgba(184, 243, 77, 0.35);
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  margin: 0.95rem 0 0.45rem;
}

.steps span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.price-card {
  padding: 1.65rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.price-card-pro {
  border-color: rgba(184, 243, 77, 0.45);
  background: linear-gradient(160deg, rgba(184, 243, 77, 0.08), transparent 60%);
}

.price-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.page-pricing .pricing-main {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pricing-stage {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.75rem 0 3.5rem;
}

.pricing-intro {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.25rem;
}

.pricing-intro .hero-kicker {
  margin-bottom: 0.65rem;
}

.pricing-intro h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.pricing-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin: 0;
  align-items: stretch;
}

.plan-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 1rem;
  padding: 1.45rem 1.35rem 1.35rem;
  border: 1px solid var(--line);
  background: rgba(18, 22, 30, 0.72);
  border-radius: 14px;
}

.plan-card-pro {
  border-color: rgba(184, 243, 77, 0.5);
  background:
    linear-gradient(165deg, rgba(184, 243, 77, 0.1), transparent 45%),
    rgba(18, 22, 30, 0.85);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.plan-card-top {
  min-height: 5.5rem;
}

.plan-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.plan-card-sub {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.plan-quota {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.35rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.plan-quota strong {
  display: block;
  font-size: 0.98rem;
}

.plan-quota span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.plan-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  min-height: 1.75rem;
}

.plan-cta {
  width: 100%;
  justify-content: center;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0.95rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.plan-features li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.plan-features li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.plan-features li.is-on::before {
  content: "✓";
  background: rgba(184, 243, 77, 0.18);
  color: var(--accent);
}

.plan-features li.is-off {
  color: var(--muted);
}

.plan-features li.is-off::before {
  content: "×";
  background: rgba(255, 255, 255, 0.06);
  color: #8b93a5;
}

.price-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand .brand {
  margin-bottom: 0.45rem;
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  align-items: center;
  justify-content: flex-end;
}

/* —— Editor shell —— */
.editor-shell {
  --oc-panel-right: min(260px, 92vw);
  --oc-library-w: min(320px, calc(100vw - 72px));
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) var(--oc-panel-right);
  height: calc(100vh - 65px);
  max-height: calc(100vh - 65px);
  overflow: hidden;
  position: relative;
}

.maker-rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  border-right: 1px solid var(--line);
  background: #0a0c10;
  z-index: 25;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
}

.maker-rail::-webkit-scrollbar {
  display: none;
}

.rail-btn {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 0.55rem 0.2rem;
  cursor: pointer;
  font: inherit;
}

.rail-btn:hover,
.rail-btn[aria-pressed="true"] {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.rail-btn[aria-pressed="true"] {
  color: var(--accent);
}

.rail-ico {
  font-size: 1.15rem;
  line-height: 1;
}

.elements-library {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 0;
  overflow: auto;
  padding: 0 0.15rem 0.5rem;
}

.elements-parts-hint {
  margin: 0 0.2rem 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.elements-parts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 0.55rem;
}

.elements-part-card {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.45rem 0.35rem 0.5rem;
  cursor: pointer;
  font: inherit;
}

.elements-part-card:hover {
  border-color: rgba(184, 243, 77, 0.45);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.elements-part-card canvas {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.elements-part-card span {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: var(--muted);
}

.elements-group-sub {
  margin-top: 0.35rem;
  opacity: 0.85;
}

.elements-empty {
  margin: 0.5rem 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.elements-group {
  margin: 0.55rem 0.2rem 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.elements-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0.2rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.elements-row.is-selected {
  border-color: rgba(184, 243, 77, 0.55);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.elements-row.is-hidden {
  opacity: 0.55;
}

.elements-row-main,
.elements-eye {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.elements-row-main {
  text-align: left;
  padding: 0.55rem 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.elements-eye {
  width: 2.2rem;
  color: var(--muted);
  border-radius: 8px;
}

.elements-eye:hover,
.elements-row-main:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.rail-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.maker-library {
  position: absolute;
  top: 0;
  left: 72px;
  bottom: 0;
  width: var(--oc-library-w);
  z-index: 24;
  display: flex;
  flex-direction: column;
  background: rgba(10, 12, 16, 0.98);
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 36px rgba(0, 0, 0, 0.35);
  transform: translateX(-110%);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.editor-shell.library-open .maker-library {
  transform: translateX(0);
  pointer-events: auto;
}

.maker-library-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.maker-library-head strong {
  flex: 1;
  font-size: 0.95rem;
}

.lib-icon-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.lib-icon-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.maker-library-pane {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.65rem 0.65rem 1rem;
  scrollbar-width: none;
}

.maker-library-pane::-webkit-scrollbar {
  display: none;
}

.theme-filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.theme-packs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.1rem 0 0.5rem;
}

.theme-pack-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.theme-pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.theme-pack-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.theme-pack-title .pack-pro {
  margin-left: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-pack-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.1rem 0;
  white-space: nowrap;
}

.theme-pack-see-all:hover {
  color: var(--accent);
}

.theme-pack-see-all .chev {
  font-size: 0.85rem;
  line-height: 1;
}

.theme-pack-track {
  position: relative;
  min-width: 0;
}

.theme-pack-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0.05rem 0.1rem 0.15rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.theme-pack-items::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.theme-pack-items .theme-card {
  flex: 0 0 calc(50% - 0.25rem);
  width: calc(50% - 0.25rem);
}

.panel {
  background: var(--bg-panel);
  border-right: 1px solid var(--line);
  overflow: auto;
  min-height: 0;
}

.inspector-dock {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-left: 1px solid var(--line);
  background: #0a0c10;
  z-index: 20;
  overflow: hidden;
}

.inspector-download {
  flex-shrink: 0;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.inspector-download #btn-download {
  width: 100%;
  justify-content: center;
}

.inspector-defaults[hidden] {
  display: none !important;
}

.inspector-form {
  padding-top: 0.25rem;
}

.inspector-form .acc {
  margin: 0 0 0.35rem;
}

.inspector-dock > .panel-right {
  position: relative;
  inset: auto;
  flex: 1;
  width: 100%;
  min-height: 0;
  z-index: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.85rem 0.9rem 1.1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.inspector-dock > .panel-right::-webkit-scrollbar {
  width: 8px;
}

.inspector-dock > .panel-right::-webkit-scrollbar-track {
  background: transparent;
}

.inspector-dock > .panel-right::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

/* Swap panes inside the resident dock — never slide the column away. */
.inspector-dock > .panel-right[aria-hidden="true"] {
  display: none !important;
}

.editor-shell.text-editor-open #text-editor-panel,
.editor-shell.element-editor-open #element-editor-panel {
  display: flex;
  flex-direction: column;
  visibility: visible;
}

.form-in-library {
  padding: 0 0 1rem;
}

.text-editor-panel .text-editor-form,
.element-editor-panel .text-editor-form {
  padding-top: 0.55rem;
  flex: 1;
  min-height: 0;
}

.te-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.te-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}

.te-value {
  font-size: 0.78rem;
  color: var(--muted);
}

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

.te-align {
  display: flex;
  gap: 0.35rem;
}

.te-chip {
  flex: 1;
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-elev);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}

.te-chip svg {
  display: block;
}

.te-chip:hover,
.te-chip.is-active {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: transparent;
}

.te-row-2,
.te-row-3 {
  display: grid;
  gap: 0.4rem;
}

.te-row-2 {
  grid-template-columns: 1fr 1fr;
}

.te-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.te-mini {
  display: grid;
  gap: 0.2rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.te-mini input {
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
}

.te-color-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.4rem;
  align-items: center;
}

.te-color-row input[type="color"] {
  width: 44px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

.te-color-row input[type="text"] {
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
}

#te-opacity {
  width: 100%;
  accent-color: var(--accent);
}

#te-content {
  resize: none;
  overflow: hidden;
  min-height: 4.5rem;
  max-height: 12rem;
  scrollbar-width: none;
}

#te-content::-webkit-scrollbar {
  display: none;
}


.panel-right-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-right-head strong {
  font-size: 0.92rem;
}

.panel-head {
  padding: 1rem 1rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.theme-filters {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0 0 0.65rem;
}

.theme-filters input,
.theme-filters select {
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
}

.theme-empty {
  margin: 0;
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.theme-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.15rem 0 0.5rem;
}

.theme-card {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 10px;
  padding: 0.35rem;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.theme-card.active,
.theme-card:hover {
  border-color: rgba(184, 243, 77, 0.55);
}

.theme-card.theme-pro {
  opacity: 0.92;
}

.theme-card.theme-pro strong::after {
  content: "";
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.lang-trigger {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  line-height: 0;
}

.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.icon-globe {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.lang-menu-pop {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 40;
  min-width: 9.5rem;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 16, 20, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.15rem;
}

.lang-menu-pop a,
.lang-menu-pop button {
  color: var(--muted);
  text-decoration: none;
  text-align: left;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu-pop a:hover,
.lang-menu-pop button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-menu-pop a[aria-current="page"],
.lang-menu-pop button[aria-current="page"] {
  color: var(--accent-ink);
  background: var(--accent);
  font-weight: 600;
}

.lang-sep {
  display: none;
}

.theme-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  display: block;
  background: #121212;
}

.theme-copy strong {
  display: block;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-copy span {
  color: var(--muted);
  font-size: 0.68rem;
}

.theme-copy {
  padding: 0 0.35rem 0.35rem;
}

.preview-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #090b10;
  /* Keep canvas centered in the unobscured gap between library / right editor. */
  transition: padding-left 0.2s ease, padding-right 0.2s ease;
}

.editor-shell.library-open .preview-wrap {
  padding-left: var(--oc-library-w);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  flex-shrink: 0;
}

.btn-icon svg {
  display: block;
}

.toolbar-download {
  position: relative;
}

.toolbar-download-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 168px;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.toolbar-download-pop button {
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.toolbar-download-pop button:hover {
  background: rgba(184, 243, 77, 0.12);
}

.pack-preview {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  max-width: min(960px, 94vw);
  width: 94vw;
  max-height: 88vh;
}

.pack-preview::backdrop {
  background: rgba(6, 8, 12, 0.72);
}

.pack-preview-inner {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.pack-preview-head {
  padding: 1.1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.pack-preview-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.pack-preview-sub {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pack-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  overflow: auto;
}

.pack-preview-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-elev);
}

.pack-preview-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #12161f;
}

.pack-preview-file {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #15181f;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.pack-preview-card div:last-child {
  padding: 0.55rem 0.65rem 0.7rem;
}

.pack-preview-card strong {
  display: block;
  font-size: 0.82rem;
}

.pack-preview-card span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  word-break: break-all;
  margin-top: 0.2rem;
}

.pack-preview-loading {
  grid-column: 1 / -1;
  color: var(--muted);
  margin: 0.5rem 0;
}

.pack-preview-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-elev);
  border: 1px solid rgba(184, 243, 77, 0.45);
  color: var(--text);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(92vw, 420px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.acc {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.acc + .acc {
  margin-top: 0.15rem;
}

.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 0.75rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  user-select: none;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.acc[open] summary::after {
  content: "–";
}

.acc[open] summary {
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.acc-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.acc-body > .btn-tiny {
  align-self: flex-start;
}

.canvas-frame {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.canvas-scroll {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
  /* Infinite workspace — artboard is just one piece inside. */
  background-color: #f0f2f5;
  background-image: radial-gradient(rgba(15, 18, 28, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0;
}

.canvas-world {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  will-change: transform;
}

.canvas-chrome {
  position: absolute;
  top: auto;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 21, 28, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.chrome-group {
  display: inline-flex;
  align-items: center;
  gap: 0.05rem;
}

.chrome-divider {
  width: 1px;
  height: 1.15rem;
  margin: 0 0.28rem;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.chrome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.chrome-btn:hover:not(:disabled) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.chrome-btn.is-active,
.chrome-btn[aria-pressed="true"] {
  color: var(--accent-ink);
  background: var(--accent);
}

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

.canvas-scroll.is-hand-tool {
  cursor: grab;
}

.canvas-scroll.is-hand-tool.is-panning {
  cursor: grabbing;
}

.chrome-zoom-value {
  min-width: 3.1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  user-select: none;
}

.canvas-stage {
  width: 1920px;
  height: 1080px;
  border-radius: 10px;
  /* Handles / stickers may leave the artboard into the infinite void */
  overflow: visible;
  border: 1px solid rgba(15, 18, 28, 0.12);
  box-shadow:
    0 0 0 1px rgba(15, 18, 28, 0.04),
    0 18px 48px rgba(15, 18, 28, 0.12);
  /* Transparent — same white workspace as `.canvas-scroll` shows through clear pixels */
  background: transparent;
  position: relative;
}

.canvas-stage > canvas {
  border-radius: 10px;
}

.canvas-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.layout-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.layout-host .konvajs-content {
  width: 100% !important;
  height: 100% !important;
}

.hint-inline {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.sticker-library {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: none;
  overflow: visible;
  margin-bottom: 0.55rem;
}

.sticker-library::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.sticker-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

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

.sticker-row-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.sticker-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.1rem 0;
  white-space: nowrap;
}

.sticker-see-all:hover {
  color: var(--accent);
}

.sticker-see-all .chev {
  font-size: 0.65rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.sticker-row.is-expanded .sticker-see-all .chev {
  transform: rotate(180deg);
}

.sticker-row-track {
  position: relative;
  min-width: 0;
}

.sticker-row-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0.1rem 1.6rem 0.15rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sticker-row-items::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.sticker-row.is-expanded .sticker-row-items {
  flex-wrap: wrap;
  overflow: visible;
  padding-right: 0;
}

.sticker-row.is-expanded .sticker-scroll-next {
  display: none;
}

.sticker-scroll-next {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  width: 28px;
  height: 28px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: #f4f6fa;
  color: #111318;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}

.sticker-scroll-next:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.sticker-scroll-next[hidden] {
  display: none !important;
}

.sticker-card {
  flex: 0 0 56px;
  width: 56px;
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.15;
  text-align: center;
}

.sticker-card:hover {
  color: var(--text);
}

.sticker-card canvas {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #12151a;
  display: block;
}

.sticker-card span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-quick-add {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.text-quick-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.text-quick-btn:hover {
  border-color: rgba(184, 243, 77, 0.55);
  color: var(--accent);
}

.text-quick-ico {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(184, 243, 77, 0.14);
  color: var(--accent);
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}

.text-quick-ico-p {
  font-family: DM Sans, sans-serif;
  font-weight: 700;
}

.text-library {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.text-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.55rem 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.text-row-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.text-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.1rem 0;
  white-space: nowrap;
}

.text-see-all:hover {
  color: var(--accent);
}

.text-see-all .chev {
  font-size: 0.65rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.text-row.is-expanded .text-see-all .chev {
  transform: rotate(180deg);
}

.text-row-track {
  position: relative;
  min-width: 0;
}

.text-row-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0.1rem 1.6rem 0.15rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.text-row-items::-webkit-scrollbar {
  display: none;
}

.text-row.is-expanded .text-row-items {
  flex-wrap: wrap;
  overflow: visible;
  padding-right: 0;
}

.text-row.is-expanded .text-scroll-next {
  display: none;
}

.text-scroll-next {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  width: 28px;
  height: 28px;
  margin-top: -18px;
  border: 0;
  border-radius: 50%;
  background: #f4f6fa;
  color: #111318;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}

.text-scroll-next:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.text-scroll-next[hidden] {
  display: none !important;
}

.text-card {
  flex: 0 0 108px;
  width: 108px;
  display: grid;
  gap: 0.2rem;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.15;
  text-align: center;
}

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

.text-card canvas {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #12151a;
  display: block;
}

.text-card span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-tiny {
  font-size: 0.78rem;
  padding: 0.3rem 0.6rem;
}

.form {
  padding: 0.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  resize: vertical;
}

.panel-head.inset {
  padding: 0.75rem 0 0.15rem;
}

.field input[type="color"] {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-elev);
  padding: 0.2rem;
  cursor: pointer;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.92rem;
}

.export-box {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.hint-link {
  color: var(--accent);
  font-size: 0.85rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 760px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1.05rem;
  background: rgba(255, 255, 255, 0.02);
}

.faq-list details[open] {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
  margin-left: 1rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  color: var(--muted);
  margin: 0.7rem 0 0.15rem;
  line-height: 1.55;
  max-width: 62ch;
}

.guide-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.guide-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin: 0.4rem 0 1rem;
}

.guide-page .lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.guide-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-steps h2 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.guide-steps p {
  margin: 0;
  color: var(--muted);
}

.guide-steps code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--accent);
}

.guide-related {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.guide-related h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.guide-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.guide-related li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.guide-related a {
  color: var(--accent);
  font-weight: 600;
}

.guide-related span {
  color: var(--muted);
  font-size: 0.85rem;
}

.guide-note {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.obs-path-tool {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin: 1.5rem 0 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elev);
}

.obs-path-tool textarea {
  width: 100%;
  min-height: 180px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0c0e12;
  color: var(--text);
  resize: vertical;
}

.guide-note ul {
  color: var(--muted);
  padding-left: 1.2rem;
}

.site-footer a {
  color: var(--accent);
}

.btn-tiny {
  margin-top: 0.4rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem 1.1rem;
  align-items: start;
}

.sample-card {
  display: block;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
  animation: oc-rise 0.55s ease both;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.sample-card-feature {
  grid-column: span 2;
}

.sample-card:hover {
  transform: translateY(-3px);
  opacity: 0.96;
}

.sample-frame {
  /* Solid stage only — checkerboard stays in maker canvas, not CSS here */
  background: radial-gradient(ellipse at center, #1a1f28 0%, #0c0e12 70%);
}

.sample-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sample-card > div:last-child {
  padding: 0.7rem 0 0;
}

.sample-card strong {
  display: block;
  font-size: 0.95rem;
}

.sample-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.landing-packs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.landing-pack-row {
  min-width: 0;
}

.landing-pack-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.landing-pack-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.landing-pack-head a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.landing-pack-head a:hover {
  color: var(--accent);
}

.landing-pack-head .chev {
  margin-left: 0.15rem;
}

.landing-pack-items {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-card {
  display: block;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
  animation: oc-rise 0.55s ease both;
  min-width: 0;
}

.landing-pack-items .gallery-card:nth-child(1) { animation-delay: 0.04s; }
.landing-pack-items .gallery-card:nth-child(2) { animation-delay: 0.08s; }
.landing-pack-items .gallery-card:nth-child(3) { animation-delay: 0.12s; }
.landing-pack-items .gallery-card:nth-child(4) { animation-delay: 0.16s; }
.landing-pack-items .gallery-card:nth-child(5) { animation-delay: 0.2s; }
.landing-pack-items .gallery-card:nth-child(6) { animation-delay: 0.24s; }

.gallery-card:hover {
  transform: translateY(-3px);
  opacity: 0.96;
}

.gallery-card canvas {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  background: #121212;
}

.gallery-card div {
  padding: 0.65rem 0 0;
}

.gallery-card strong {
  display: block;
  font-size: 0.9rem;
}

.gallery-card span {
  color: var(--muted);
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

input[type="range"] {
  width: 100%;
}

input[type="file"] {
  width: 100%;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Landing motion */
@keyframes oc-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes oc-hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes oc-hero-float-a {
  from {
    transform: rotate(-2deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(-1.1deg) translate3d(-1%, -1.2%, 0);
  }
}

@keyframes oc-hero-float-b {
  from {
    transform: rotate(2.8deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(3.6deg) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes oc-hero-float-c {
  from {
    transform: rotate(-4deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(-2.8deg) translate3d(-0.8%, 1.4%, 0);
  }
}

.section {
  animation: oc-rise 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-visual > #hero-canvas,
  .hero-pack-frame,
  .section,
  .gallery-card,
  .sample-card,
  .toast {
    animation: none !important;
    transition: none !important;
  }

  .hero-visual > #hero-canvas {
    transform: none;
  }

  .hero-pack-frame--a {
    transform: rotate(-2deg);
  }

  .hero-pack-frame--b {
    transform: rotate(2.8deg);
  }

  .hero-pack-frame--c {
    transform: rotate(-4deg);
  }

  .gallery-card:hover,
  .sample-card:hover {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .landing-pack-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-pack-items .gallery-card:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-bleed {
    min-height: min(92svh, 860px);
    align-items: flex-end;
  }

  .hero-copy {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: auto;
    max-width: none;
    padding: 3.5rem 0 2.75rem;
  }

  .hero-pack {
    top: 2%;
    right: -12%;
    bottom: 36%;
    left: 6%;
  }

  .hero-pack-frame--a {
    width: min(88vw, 520px);
    left: 8%;
    top: 4%;
  }

  .hero-pack-frame--b {
    width: min(70vw, 400px);
    left: 28%;
    top: 30%;
  }

  .hero-pack-frame--c {
    display: none;
  }

  .hero-visual > #hero-canvas {
    opacity: 0.28;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-visual-shade {
    background:
      linear-gradient(180deg, rgba(8, 10, 14, 0.18) 0%, rgba(8, 10, 14, 0.45) 36%, rgba(8, 10, 14, 0.96) 78%);
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .samples-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sample-card-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .landing-pack-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-pack-items .gallery-card:nth-child(n + 4) {
    display: block;
  }

  .landing-pack-items .gallery-card:nth-child(n + 5) {
    display: none;
  }

  .steps,
  .price-grid,
  .plan-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .pricing-stage {
    padding-top: 1.75rem;
  }

  .pricing-intro {
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .plan-card-top,
  .plan-quota {
    min-height: 0;
  }

  @media (max-width: 560px) {
    .samples-grid {
      grid-template-columns: 1fr;
    }
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .nav-links .hide-sm {
    display: none;
  }

  .page-maker .editor-shell {
    --oc-panel-right: min(240px, 36vw);
    --oc-library-w: min(300px, calc(100vw - 64px - var(--oc-panel-right)));
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) var(--oc-panel-right);
    height: calc(100vh - 65px);
    max-height: calc(100vh - 65px);
    overflow: hidden;
  }

  .page-maker .preview-wrap {
    order: unset;
    position: relative;
    top: auto;
    z-index: 1;
    max-height: none;
    border-bottom: 0;
  }

  .page-maker .maker-library {
    left: 64px;
    width: var(--oc-library-w);
  }

  .page-maker .inspector-dock {
    grid-column: 3;
  }

  .page-maker .inspector-dock > .panel-right {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .page-maker .theme-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-maker .chrome-btn {
    width: 2rem;
    height: 2rem;
  }
}

/* —— Auth / Account (dewatermark passport card on OC charcoal) —— */
body.page-auth {
  background-image:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(184, 243, 77, 0.14), transparent 55%),
    linear-gradient(180deg, #0c0e12 0%, #090b0f 100%);
}

body.page-auth .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.auth-container {
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 3rem;
  background: transparent;
}

.auth-passport-card {
  width: min(100%, 420px);
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 20px;
  border: none;
  background: #fff;
  color: #111827;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  position: relative;
}

.login-passport-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.login-passport-modal[hidden] {
  display: none !important;
}

.login-passport-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(8px);
}

.login-passport-modal .login-passport-card {
  position: relative;
  z-index: 1;
  max-height: min(92vh, 720px);
  overflow: auto;
  animation: oc-rise 0.35s ease both;
}

body.login-modal-open {
  overflow: hidden;
}

.login-passport-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.login-passport-close:hover {
  background: #e5e7eb;
}

.auth-passport-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.auth-passport-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 0.95rem;
}

.auth-passport-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  text-align: center;
  color: #111827;
}

.auth-passport-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  color: #6b7280;
}

.auth-passport-foot,
.auth-passport-terms {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
  color: #6b7280;
}

.auth-passport-terms a {
  color: #374151;
  font-weight: 600;
  text-decoration: none;
}

.auth-passport-terms a:hover {
  color: #12150a;
  text-decoration: underline;
}

.auth-passport-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(184, 243, 77, 0.95);
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.auth-passport-google:hover:not(:disabled) {
  background: #fcfff5;
  box-shadow: 0 2px 10px rgba(184, 243, 77, 0.22);
}

.auth-google-slot {
  display: flex;
  justify-content: center;
  margin-top: 0.35rem;
}

.auth-passport-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: #9ca3af;
  font-size: 0.85rem;
}

.auth-passport-divider::before,
.auth-passport-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
}

.auth-passport-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-passport-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.auth-passport-input::placeholder {
  color: #9ca3af;
}

.auth-passport-input:focus {
  outline: 0;
  border-color: #b8f34d;
  box-shadow: 0 0 0 3px rgba(184, 243, 77, 0.28);
}

.auth-passport-input.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.12);
}

.user-name-input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0c0e12;
  color: var(--text);
  font: inherit;
}

.user-name-input:focus {
  outline: 2px solid rgba(184, 243, 77, 0.35);
  border-color: rgba(184, 243, 77, 0.55);
}

.auth-passport-submit {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(18, 21, 10, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, #d4ff7a 0%, #b8f34d 52%, #a6e63a 100%);
  color: #12150a;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 22px rgba(184, 243, 77, 0.28);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.auth-passport-submit:hover:not(:disabled) {
  filter: brightness(1.03);
}

.auth-passport-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-passport-error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.875rem;
  line-height: 1.45;
}

.auth-passport-error[hidden] {
  display: none !important;
}

.auth-passport-error:not([hidden])::before {
  content: "×";
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

.auth-passport-step--sent {
  position: relative;
  padding: 2.75rem 0 0;
  text-align: left;
}

.auth-passport-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.auth-passport-back:hover {
  background: #e5e7eb;
}

.auth-passport-sent-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  text-align: left;
}

.auth-passport-sent-text {
  margin: 0 0 1rem;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: break-word;
  text-align: left;
}

.auth-passport-sent-email {
  margin-bottom: 1rem;
  pointer-events: none;
  cursor: default;
  background: #f9fafb;
}

.auth-passport-sent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-account-wrap {
  position: relative;
}

.nav-avatar-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.nav-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 200px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  display: grid;
  gap: 0.25rem;
  z-index: 40;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.nav-user-meta {
  padding: 0.35rem 0.45rem 0.55rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.25rem;
}

.nav-user-meta strong {
  display: block;
  font-size: 0.9rem;
}

.nav-user-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  word-break: break-all;
}

.nav-user-menu a,
.nav-user-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-user-menu a:hover,
.nav-user-menu button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
}

.dashboard-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(18, 22, 30, 0.65);
  padding: 1.25rem;
}

.dashboard-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.dashboard-nav a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--muted);
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
  color: var(--text);
  background: rgba(184, 243, 77, 0.08);
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

.dashboard-section h1 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.user-info {
  display: grid;
  gap: 1rem;
}

.info-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.info-item label {
  min-width: 7.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.info-item-stack {
  flex-direction: column;
  align-items: stretch;
}

.avatar-container {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--bg-elev);
}

.user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-letter {
  font-weight: 800;
  color: var(--accent);
}

.linkish {
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.hint {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

@media (max-width: 720px) {
  .dashboard-card {
    grid-template-columns: 1fr;
  }

  .dashboard-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
  }
}
