/*
 * Premium Luxury Agency CSS Style Sheet
 * Accent: Scarlet Crimson (#ff2a2a)
 * Theme: Midnight/Obsidian
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-color: #050505;
  --card-bg: rgba(15, 15, 15, 0.7);
  --accent-color: #ff2a2a;
  --accent-glow: rgba(255, 42, 42, 0.35);
  --accent-subtle: rgba(255, 42, 42, 0.12);
  --text-color: #ffffff;
  --text-muted: #8e8e93;
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Server-backed card developer tool */
.backend-header {
  margin-bottom: 24px;
}

.backend-root {
  width: min(1480px, 100%);
  margin: 0 auto 56px;
}

.backend-toolbar,
.backend-layout,
.backend-panel,
.backend-sidebar,
.backend-stage {
  position: relative;
  z-index: 2;
}

.backend-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(12, 16, 22, 0.92);
}

.backend-toolbar h2,
.backend-sidebar h2,
.backend-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0;
}

.backend-kicker {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.backend-toolbar-actions,
.backend-stage-toolbar,
.backend-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.backend-toolbar button,
.backend-stage-toolbar button,
.backend-inline-actions button,
.backend-primary,
.backend-danger {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  padding: 9px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.backend-toolbar button svg,
.backend-stage-toolbar button svg,
.backend-inline-actions button svg,
.backend-card-row svg {
  width: 15px;
  height: 15px;
}

.backend-toolbar button:hover,
.backend-stage-toolbar button:hover,
.backend-inline-actions button:hover {
  border-color: rgba(20, 224, 226, 0.42);
  background: rgba(20, 224, 226, 0.08);
}

.backend-primary {
  border-color: rgba(20, 224, 226, 0.5) !important;
  background: rgba(20, 224, 226, 0.16) !important;
}

.backend-danger {
  border-color: rgba(255, 75, 88, 0.34) !important;
  background: rgba(255, 75, 88, 0.09) !important;
}

.backend-layout {
  display: grid;
  grid-template-columns: 280px minmax(420px, 1fr) 380px;
  gap: 16px;
  align-items: start;
}

.backend-sidebar,
.backend-panel,
.backend-stage {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 13, 18, 0.94);
}

.backend-sidebar,
.backend-inspector {
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.backend-sidebar {
  padding: 16px;
}

.backend-sidebar-head,
.backend-panel-head {
  margin-bottom: 14px;
}

.backend-card-list {
  display: grid;
  gap: 8px;
}

.backend-card-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.backend-card-row.is-active {
  border-color: rgba(20, 224, 226, 0.58);
  background: rgba(20, 224, 226, 0.12);
}

.backend-card-row strong,
.backend-card-row small {
  display: block;
  letter-spacing: 0;
}

.backend-card-row strong {
  font-size: 0.86rem;
}

.backend-card-row small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
}

.backend-stage {
  min-height: 760px;
  padding: 14px;
}

.backend-stage-toolbar {
  min-height: 48px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.backend-spacer {
  flex: 1 1 auto;
}

.backend-canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(0, 0, 0, 0.22);
  background-size: 24px 24px;
}

.builder-canvas-frame {
  width: min(360px, 100%);
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
  touch-action: none;
}

.builder-layer,
.canvas-card-layer {
  position: absolute;
  box-sizing: border-box;
}

.builder-layer {
  cursor: move;
  user-select: none;
}

.builder-layer.is-locked {
  cursor: not-allowed;
}

.builder-layer.is-selected {
  outline: 2px solid #14e0e2;
  outline-offset: 3px;
}

.builder-selection-box {
  position: absolute;
  box-sizing: border-box;
  border: 1px dashed #14e0e2;
  pointer-events: none;
  z-index: 1000;
}

.builder-layer-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #071018;
  border-radius: 2px;
  background: #14e0e2;
  pointer-events: auto;
  cursor: pointer;
}

.builder-layer-handle-nw { left: -7px; top: -7px; cursor: nwse-resize; }
.builder-layer-handle-n { left: 50%; top: -7px; transform: translateX(-50%); cursor: ns-resize; }
.builder-layer-handle-ne { right: -7px; top: -7px; cursor: nesw-resize; }
.builder-layer-handle-e { right: -7px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.builder-layer-handle-se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.builder-layer-handle-s { left: 50%; bottom: -7px; transform: translateX(-50%); cursor: ns-resize; }
.builder-layer-handle-sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.builder-layer-handle-w { left: -7px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }

.builder-layer-text,
.canvas-card-text {
  white-space: pre-wrap;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.builder-layer-image,
.canvas-card-image {
  display: block;
}

.canvas-card-image-wrap,
.canvas-card-image-link {
  overflow: hidden;
}

.canvas-card-contact-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.canvas-card-contact-icon svg {
  width: 20px;
  height: 20px;
}

.canvas-card-contact-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.canvas-card-contact-copy small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.canvas-card-contact-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-layer-line,
.canvas-card-line {
  min-height: 2px;
}

.builder-layer-qr,
.canvas-card-qr {
  background: #ffffff;
}

.builder-canvas-frame.is-landscape {
  width: min(620px, 100%);
}

.canvas-card.is-landscape {
  width: min(92vw, 900px);
}

.backend-check-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.backend-check-row .backend-check {
  grid-column: auto;
}

.backend-kind-badge {
  display: inline-flex;
  margin-right: 4px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
  padding: 2px 6px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-replace-image],
[data-upload-background] {
  min-height: 40px;
  border: 1px solid rgba(20, 224, 226, 0.28);
  background: rgba(20, 224, 226, 0.08);
  color: #ffffff;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.backend-status {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1.5;
}

.site-legal-footer {
  width: min(1120px, 100%);
  margin: 18px auto 0;
  padding: 10px 0 16px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.site-legal-footer a,
.privacy-footer a,
.privacy-back-link,
.public-privacy-link {
  color: #14e0e2;
  text-decoration: none;
}

.site-legal-footer a:hover,
.privacy-footer a:hover,
.privacy-back-link:hover,
.public-privacy-link:hover {
  text-decoration: underline;
}

.public-legal-links {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.public-tanuki-corner {
  position: static;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(5, 8, 13, 0.44);
  padding: 6px 8px;
  backdrop-filter: blur(10px);
}

.public-tanuki-corner small {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.privacy-page {
  min-height: 100vh;
  display: block;
  padding: 28px 18px;
  background: #050a0f;
  color: rgba(255, 255, 255, 0.88);
}

.privacy-shell {
  width: min(820px, 100%);
  margin: 0 auto;
}

.privacy-header {
  padding: 42px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.privacy-eyebrow,
.privacy-meta {
  margin: 0;
  color: #14e0e2;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-header h1 {
  margin: 14px 0 12px;
  color: #ffffff;
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  line-height: 1;
}

.privacy-lede {
  max-width: 650px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

.privacy-callout {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 3px solid #14e0e2;
  background: rgba(20, 224, 226, 0.08);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.privacy-content {
  padding: 4px 0 30px;
}

.privacy-content h2 {
  margin: 30px 0 10px;
  color: #ffffff;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.privacy-content p,
.privacy-content li {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.privacy-content ul {
  padding-left: 1.2rem;
}

.privacy-content a {
  color: #14e0e2;
}

.privacy-disclaimer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}

.privacy-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}

@media (max-width: 560px) {
  .privacy-page {
    padding: 18px 14px 82px;
  }

  .privacy-header {
    padding-top: 32px;
  }

  .public-legal-links {
    right: 10px;
    bottom: 9px;
    gap: 8px;
    font-size: 0.62rem;
  }
}

.backend-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.backend-confirm-card {
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0b1016;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.backend-confirm-card h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.15rem;
}

.backend-confirm-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.55;
}

.backend-owner-link-card {
  width: min(100%, 560px);
}

.backend-owner-link-field {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.backend-owner-link-field span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backend-owner-link-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(20, 224, 226, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 10px 12px;
}

.backend-owner-link-status {
  min-height: 20px;
  margin-top: 12px !important;
  color: #14e0e2 !important;
}

.backend-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}

.backend-confirm-actions button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 9px 13px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.backend-confirm-actions button:hover {
  border-color: rgba(20, 224, 226, 0.55);
  background: rgba(20, 224, 226, 0.12);
}

.backend-inspector {
  display: grid;
  gap: 14px;
}

.backend-panel {
  padding: 16px;
}

.backend-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.backend-field,
.backend-check {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.backend-field-wide {
  grid-column: 1 / -1;
}

.backend-field span,
.backend-check span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.backend-field input,
.backend-field textarea,
.backend-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  padding: 10px;
  font-size: 0.84rem;
  outline: none;
}

.backend-field input[type="color"] {
  min-height: 40px;
  padding: 4px;
}

.backend-field textarea {
  min-height: 80px;
  resize: vertical;
}

.backend-field input:focus,
.backend-field textarea:focus,
.backend-field select:focus {
  border-color: rgba(20, 224, 226, 0.55);
  box-shadow: 0 0 0 3px rgba(20, 224, 226, 0.08);
}

.backend-check {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.backend-check input {
  width: 18px;
  height: 18px;
}

.backend-canvas-settings {
  margin-top: 16px;
}

.backend-muted {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.card-theme-canvas {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.canvas-card {
  width: min(88vw, calc(84dvh * var(--canvas-ratio, 0.5625)), var(--canvas-max-width, 420px));
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: var(--canvas-aspect, 9 / 16);
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.58);
}

.public-tanuki-corner {
  position: static;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.public-tanuki-corner:hover {
  color: #14e0e2;
  border-color: rgba(20, 224, 226, 0.34);
}

@media (max-width: 1180px) {
  .backend-layout {
    grid-template-columns: 240px minmax(360px, 1fr);
  }

  .backend-inspector {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }
}

@media (max-width: 760px) {
  .backend-toolbar,
  .backend-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .backend-inspector {
    grid-template-columns: 1fr;
  }

  .backend-sidebar {
    max-height: 320px;
  }

  .backend-canvas-wrap {
    min-height: 520px;
  }
}

.owner-editor-page {
  min-height: 100vh;
  display: block;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 224, 226, 0.12), transparent 34%),
    #05080d;
  color: rgba(255, 255, 255, 0.88);
}

.owner-editor-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.owner-editor-loading,
.owner-editor-error {
  width: min(620px, 100%);
  margin: 14vh auto 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 14, 21, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.owner-editor-loading h1,
.owner-editor-error h1 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.owner-editor-loading p,
.owner-editor-error p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.owner-editor-error a,
.owner-editor-header a,
.owner-editor-footer a {
  color: #14e0e2;
  text-decoration: none;
}

.owner-editor-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.owner-editor-header h1 {
  margin: 9px 0 7px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.owner-editor-header p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.owner-editor-header > a {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(20, 224, 226, 0.4);
  padding: 11px 14px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: 22px;
  padding: 24px 0;
  align-items: start;
}

.owner-editor-form,
.owner-editor-panel {
  display: grid;
  gap: 18px;
}

.owner-editor-panel,
.owner-preview-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 22, 0.88);
  padding: 22px;
}

.owner-editor-panel h2,
.owner-preview-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.owner-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.owner-field-grid label,
.owner-contact-row label {
  display: grid;
  gap: 7px;
}

.owner-field-grid label > span,
.owner-contact-row label > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.owner-field-grid input,
.owner-field-grid textarea,
.owner-contact-row input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  padding: 11px 12px;
  font: inherit;
}

.owner-field-grid input:focus,
.owner-field-grid textarea:focus,
.owner-contact-row input:focus {
  border-color: rgba(20, 224, 226, 0.7);
  box-shadow: 0 0 0 2px rgba(20, 224, 226, 0.12);
}

.owner-field-wide {
  grid-column: 1 / -1;
}

.owner-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.owner-panel-heading p,
.owner-preview-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  line-height: 1.5;
}

.owner-panel-heading button,
.owner-save-bar button {
  min-height: 40px;
  border: 1px solid rgba(20, 224, 226, 0.42);
  background: rgba(20, 224, 226, 0.12);
  color: #ffffff;
  padding: 10px 13px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

[data-owner-contacts] {
  display: grid;
  gap: 12px;
}

.owner-contact-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(160px, 1fr) minmax(220px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.owner-contact-row legend {
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-remove-contact {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #ff7a84;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.owner-save-bar {
  position: sticky;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(20, 224, 226, 0.26);
  background: rgba(5, 10, 15, 0.94);
  padding: 14px 16px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.owner-save-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.45;
}

.owner-save-bar button {
  flex: 0 0 auto;
  background: #14e0e2;
  color: #041012;
}

.owner-save-bar button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.owner-preview-panel {
  position: sticky;
  top: 20px;
}

.owner-preview-panel iframe {
  width: 100%;
  height: 650px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
}

.owner-editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 24px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

@media (max-width: 940px) {
  .owner-editor-layout {
    grid-template-columns: 1fr;
  }

  .owner-preview-panel {
    position: static;
  }

  .owner-preview-panel iframe {
    height: 620px;
  }

  .owner-contact-row {
    grid-template-columns: 1fr 1fr;
  }

  .owner-contact-url {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .owner-editor-page {
    padding: 16px;
  }

  .owner-editor-header,
  .owner-save-bar,
  .owner-editor-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-field-grid,
  .owner-contact-row {
    grid-template-columns: 1fr;
  }

  .owner-field-wide,
  .owner-contact-url {
    grid-column: auto;
  }

  .owner-preview-panel iframe {
    height: 540px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(255, 42, 42, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 40%);
}

/* Subtle background grain noise pattern */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Page Intro Anim */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* App Main Wrapper */
.app-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* The business card shell mimicking premium material */
.business-card-wrapper {
  perspective: 1000px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

.business-card {
  width: 375px;
  height: 667px;
  max-width: 90vw;
  max-height: 82vh;
  aspect-ratio: 9/16;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85), 
              0 0 50px rgba(255, 42, 42, 0.08),
              inset 0 0 0 1px var(--glass-border);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.business-card:hover {
  transform: translateY(-5px) scale(1.01) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.95), 
              0 0 60px rgba(255, 42, 42, 0.18),
              inset 0 0 0 1px rgba(255, 42, 42, 0.2);
}

/* Shimmer reflection effect on hover */
.business-card::before {
  content: '';
  position: absolute;
  top: 0; left: -150%; width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.business-card:hover::before {
  left: 150%;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sub-Branding Overlay for card text (if any required) */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-color);
  margin-bottom: 4px;
  opacity: 0.95;
}

.card-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 12px;
}

.card-meta-glow {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

/* Elegant Floating Action Buttons Group (Bottom Right) */
.floating-action-group {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 100;
}

/* Mobile responsive adjust for buttons */
@media (max-width: 480px) {
  .floating-action-group {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
}

.btn-float {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-float i, .btn-float svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

/* Hover & Active Effects */
.btn-float:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--accent-color);
  box-shadow: 0 15px 35px rgba(255, 42, 42, 0.15), 
              0 0 18px var(--accent-glow);
  color: var(--text-color);
}

.btn-float:hover i, .btn-float:hover svg {
  transform: scale(1.15);
}

/* Dynamic glow slide-up layer */
.btn-float::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, #b30000 100%);
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  border-radius: 50%;
}

.btn-float:hover::after {
  top: 0;
  border-radius: 0;
}

/* Tooltip on hover */
.btn-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.btn-float:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Home button for easy navigation on top left */
.home-btn-wrapper {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 100;
}

@media (max-width: 480px) {
  .home-btn-wrapper {
    top: 20px;
    left: 20px;
  }
}

.btn-home {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-home:hover {
  transform: translateX(4px);
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px rgba(255, 42, 42, 0.12);
  color: var(--text-color);
}

.btn-home svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.btn-home:hover svg {
  transform: translateX(-2px);
}

/* QR Button and QR Modal for Dynamic Sharing */
.qr-btn-wrapper {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 480px) {
  .qr-btn-wrapper {
    top: 20px;
    right: 20px;
  }
}

.btn-qr {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-qr-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  gap: 0;
}

.btn-qr:hover {
  transform: translateY(-2px);
  border-color: var(--qr-accent, var(--accent-color, #ff2a2a));
  box-shadow: 0 4px 20px rgba(255, 42, 42, 0.15);
  color: var(--text-color);
}

.btn-qr svg, .btn-qr i {
  width: 14px;
  height: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-qr:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-qr:hover svg, .btn-qr:hover i {
  transform: scale(1.2) rotate(5deg);
}

.card-save-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1080;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.card-save-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 50%;
  color: rgba(255,255,255,.86);
  background: rgba(7,12,18,.5);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: .5;
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}

.card-save-actions:hover .card-save-toggle,
.card-save-actions.is-open .card-save-toggle,
.card-save-toggle:focus-visible {
  opacity: 1;
  border-color: var(--accent-color, #ffd84d);
  transform: translateY(-2px);
  outline: none;
}

.card-save-menu {
  width: min(238px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(8,14,21,.94);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card-save-menu-title,
.card-save-menu-status {
  margin: 2px 4px 8px;
  color: rgba(255,255,255,.56);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-save-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  color: rgba(255,255,255,.82);
  background: transparent;
  font: inherit;
  font-size: .78rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.card-save-menu-item:hover,
.card-save-menu-item:focus-visible {
  color: #101820;
  background: var(--accent-color, #ffd84d);
  outline: none;
}

.card-save-menu-item-muted {
  color: rgba(255,255,255,.42);
}

.card-save-menu-item small {
  font-size: .58rem;
  letter-spacing: .02em;
  opacity: .75;
}

.card-save-menu-status {
  margin-top: 10px;
  margin-bottom: 2px;
  color: #ffd84d;
  letter-spacing: .02em;
  text-transform: none;
}

@media (max-width: 480px) {
  .card-save-actions { right: 14px; bottom: 14px; }
}

/* Glassmorphism QR Modal Overlay */
.qr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Inner Floating Card */
.qr-modal-card {
  background: #0d0d0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 28px;
  border-radius: 24px;
  width: 350px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 
              0 0 50px rgba(255, 42, 42, 0.05);
  transform: translateY(24px) scale(0.94);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s;
}

.qr-modal-overlay.active .qr-modal-card {
  transform: translateY(0) scale(1);
}

/* Custom individual branding color theme adaptation code */
.qr-modal-card::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%; width: 120%; height: 120%;
  background: radial-gradient(circle at 50% 50%, var(--qr-accent, var(--accent-color, #ff1a1a)) 0%, transparent 65%);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Top corner Close cross button */
.qr-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.qr-modal-close:hover {
  background: var(--qr-accent, var(--accent-color, #ff1a1a));
  border-color: var(--qr-accent, var(--accent-color, #ff1a1a));
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 15px rgba(255, 42, 42, 0.25);
}

.qr-modal-close svg {
  width: 14px;
  height: 14px;
}

/* Title text */
.qr-modal-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 6px;
  text-align: center;
  z-index: 2;
}

.qr-modal-subtitle {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--text-muted, #8e8e93);
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.02em;
  z-index: 2;
}

/* Clean, crisp high-end QR holding frame */
.qr-code-frame {
  background: #ffffff;
  padding: 14px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  margin-bottom: 26px;
  position: relative;
  width: 210px;
  height: 210px;
  z-index: 2;
  transition: transform 0.4s ease;
}

.qr-code-frame:hover {
  transform: scale(1.03);
}

.qr-code-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Action button at bottom */
.qr-modal-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.qr-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.qr-modal-action-btn:hover {
  background: var(--qr-accent, var(--accent-color, #ff1a1a));
  border-color: var(--qr-accent, var(--accent-color, #ff1a1a));
  box-shadow: 0 8px 24px rgba(255, 26, 26, 0.18);
  transform: translateY(-2px);
}

.qr-modal-action-btn svg {
  width: 14px;
  height: 14px;
}

/* HUB / SELECTION LANDING PAGE STYLING */
.hub-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-auth-locked {
  overflow: hidden;
}

.hub-auth-locked .hub-header,
.hub-auth-locked .hub-toolbar,
.hub-auth-locked .hub-grid,
.hub-auth-locked .hub-admin-panel,
.hub-auth-locked .hub-footer,
.hub-auth-locked .qr-btn-wrapper {
  visibility: hidden;
}

.hub-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 42, 42, 0.08) 0%, transparent 34%),
    rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hub-auth-card {
  width: min(100%, 420px);
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(15, 15, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 42, 42, 0.08);
  text-align: center;
}

.hub-auth-logo {
  width: min(100%, 180px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
}

.hub-auth-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 10px;
}

.hub-auth-copy {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hub-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hub-auth-label {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.8);
}

.hub-auth-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 14px 16px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hub-auth-input:focus {
  border-color: rgba(255, 42, 42, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 42, 42, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.hub-auth-button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2a2a 0%, #b30000 100%);
  color: #ffffff;
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hub-auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 42, 42, 0.24);
}

.hub-auth-error {
  min-height: 1.1rem;
  margin: 0;
  font-size: 0.8rem;
  color: #ff7c7c;
}

.hub-auth-overlay.is-hidden {
  display: none;
}

.hub-brandmark {
  display: block;
  width: min(100%, 240px);
  margin: 0 auto;
  height: auto;
  object-fit: contain;
}

.hub-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hub-title span {
  color: var(--accent-color);
  font-style: italic;
}

.hub-subtitle {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hub Grid system for Cards */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  padding: 20px 0 60px 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(1 * 0.1s);
}

@media (max-width: 968px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.hub-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 250px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hub-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 100% 100%, rgba(255, 42, 42, 0.06) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 42, 42, 0.4);
  box-shadow: 0 20px 40px rgba(255, 42, 42, 0.08), 
              0 0 30px rgba(255, 42, 42, 0.04);
}

.hub-item:hover::before {
  opacity: 1;
}

.hub-item-logo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}

.hub-item-logo:hover {
  transform: translateX(2px);
}

.hub-item-logo::after {
  content: 'QR';
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.72;
}

.hub-item-body {
  margin-top: auto;
}

.hub-item-visual {
  display: none;
}

.hub-item-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.hub-item:hover .hub-item-title {
  color: var(--accent-color);
}

.hub-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.hub-item-link {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.hub-item-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
}

.hub-item:hover .hub-item-link svg {
  transform: translateX(4px);
}

.hub-item-2ndlife {
  background: linear-gradient(180deg, rgba(14, 14, 15, 0.96) 0%, rgba(8, 8, 8, 0.98) 100%);
  border: 3px solid #ff1a1a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7),
              0 0 28px rgba(255, 26, 26, 0.12);
}

.hub-item-2ndlife::before {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 26, 26, 0.15) 0%, transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(255, 26, 26, 0.08) 0%, transparent 58%);
}

.hub-item-2ndlife::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 26, 26, 0.35);
  border-radius: 11px;
  pointer-events: none;
}

.hub-item-2ndlife .hub-item-logo {
  color: rgba(255, 255, 255, 0.72);
}

.hub-item-2ndlife .hub-item-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 112px;
  padding: 10px 8px 6px;
  position: relative;
  z-index: 1;
}

.hub-item-2ndlife .hub-item-visual img {
  width: 100%;
  max-width: 210px;
  max-height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(255, 26, 26, 0.22));
}

.hub-item-2ndlife .hub-item-body {
  position: relative;
  z-index: 1;
}

.hub-item-2ndlife .hub-item-title {
  color: #ffffff;
  margin-bottom: 6px;
}

.hub-item-2ndlife .hub-item-desc {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}

.hub-item-2ndlife .hub-item-link {
  color: #ffffff;
}

.hub-item-2ndlife:hover {
  border-color: #ff1a1a;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.82),
              0 0 42px rgba(255, 26, 26, 0.2);
}

.hub-item-2ndlife:hover .hub-item-title,
.hub-item-2ndlife:hover .hub-item-link {
  color: #ff1a1a;
}

.hub-item-2ndlife:hover .hub-item-desc {
  color: rgba(255, 255, 255, 0.86);
}

.hub-item-tanuki {
  background: linear-gradient(180deg, #faf9f6 0%, #f3f0e7 100%);
  border: 3px solid #073a25;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16),
              0 0 24px rgba(7, 58, 37, 0.08);
}

.hub-item-tanuki::before {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(207, 160, 53, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(7, 58, 37, 0.06) 0%, transparent 56%);
}

.hub-item-tanuki::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1.5px solid #073a25;
  border-radius: 11px;
  pointer-events: none;
}

.hub-item-tanuki .hub-item-logo {
  color: rgba(7, 58, 37, 0.68);
}

.hub-item-tanuki .hub-item-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 112px;
  padding: 8px 8px 4px;
  position: relative;
  z-index: 1;
}

.hub-item-tanuki .hub-item-visual img {
  width: 100%;
  max-width: 118px;
  max-height: 120px;
  object-fit: contain;
}

.hub-item-tanuki .hub-item-body {
  position: relative;
  z-index: 1;
}

.hub-item-tanuki .hub-item-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #073a25;
  margin-bottom: 6px;
}

.hub-item-tanuki .hub-item-desc {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #cfa035;
  margin-bottom: 12px;
}

.hub-item-tanuki .hub-item-link {
  color: #073a25;
}

.hub-item-tanuki:hover {
  border-color: #073a25;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.2),
              0 0 30px rgba(207, 160, 53, 0.16);
}

.hub-item-tanuki:hover .hub-item-title {
  color: #073a25;
}

.hub-item-tanuki:hover .hub-item-desc,
.hub-item-tanuki:hover .hub-item-link {
  color: #cfa035;
}

.hub-item-area0 {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border: 3px solid #ff1a1a;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16),
              0 0 26px rgba(255, 26, 26, 0.12);
}

.hub-item-area0::before {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 26, 26, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.04) 0%, transparent 52%);
}

.hub-item-area0::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(255, 26, 26, 0.96);
  border-radius: 11px;
  pointer-events: none;
}

.hub-item-area0 .hub-item-logo {
  color: rgba(0, 0, 0, 0.5);
}

.hub-item-area0 .hub-item-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 126px;
  padding: 18px 12px 4px;
  position: relative;
  z-index: 1;
}

.hub-item-area0 .hub-item-visual img {
  width: 100%;
  max-width: 172px;
  max-height: 132px;
  object-fit: contain;
}

.hub-item-area0 .hub-item-body {
  position: relative;
  z-index: 1;
}

.hub-item-area0 .hub-item-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #050505;
  margin-bottom: 8px;
}

.hub-item-area0 .hub-item-desc {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #050505;
  margin-bottom: 12px;
}

.hub-item-area0 .hub-item-link {
  color: #ff1a1a;
}

.hub-item-area0:hover {
  border-color: #ff1a1a;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18),
              0 0 34px rgba(255, 26, 26, 0.18);
}

.hub-item-area0:hover .hub-item-title,
.hub-item-area0:hover .hub-item-link {
  color: #ff1a1a;
}

.hub-item-excelsior {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  border: 3px solid #000000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.hub-item-excelsior::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.05) 0%, transparent 52%);
}

.hub-item-excelsior::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 11px;
  pointer-events: none;
}

.hub-item-excelsior .hub-item-logo {
  color: rgba(0, 0, 0, 0.46);
}

.hub-item-excelsior .hub-item-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 112px;
  padding: 10px 6px 2px;
  position: relative;
  z-index: 1;
}

.hub-item-excelsior .hub-item-visual img {
  width: 100%;
  max-width: 230px;
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.hub-item-excelsior .hub-item-body {
  position: relative;
  z-index: 1;
}

.hub-item-excelsior .hub-item-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 6px;
}

.hub-item-excelsior .hub-item-desc {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 12px;
}

.hub-item-excelsior .hub-item-link {
  color: #000000;
}

.hub-item-excelsior:hover {
  border-color: #000000;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.hub-item-excelsior:hover .hub-item-title,
.hub-item-excelsior:hover .hub-item-link {
  color: #111111;
}

.hub-item-trade {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 3px solid #ff1a1a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12),
              0 0 28px rgba(255, 26, 26, 0.12);
}

.hub-item-trade::before {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 26, 26, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.015) 0%, transparent 58%);
}

.hub-item-trade::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 26, 26, 0.35);
  border-radius: 11px;
  pointer-events: none;
}

.hub-item-trade .hub-item-logo {
  color: rgba(0, 0, 0, 0.46);
}

.hub-item-trade .hub-item-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 112px;
  padding: 6px 8px 0;
  position: relative;
  z-index: 1;
}

.hub-item-trade .hub-item-visual img {
  width: 100%;
  max-width: 160px;
  max-height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(255, 26, 26, 0.12));
}

.hub-item-trade .hub-item-body {
  position: relative;
  z-index: 1;
}

.hub-item-trade .hub-item-title {
  font-family: var(--font-serif);
  color: #111111;
  margin-bottom: 6px;
}

.hub-item-trade .hub-item-desc {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 12px;
}

.hub-item-trade .hub-item-link {
  color: #ff1a1a;
}

.hub-item-trade:hover {
  border-color: #ff1a1a;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16),
              0 0 38px rgba(255, 26, 26, 0.16);
}

.hub-item-trade:hover .hub-item-title {
  color: #111111;
}

.hub-item-trade:hover .hub-item-desc {
  color: #222222;
}

.hub-item-thub {
  background: linear-gradient(180deg, #fafafc 0%, #f2f3f5 100%);
  border: 3px solid #111111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.hub-item-thub::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, transparent 58%),
    radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.05) 0%, transparent 52%);
}

.hub-item-thub::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 11px;
  pointer-events: none;
}

.hub-item-thub .hub-item-logo {
  color: rgba(0, 0, 0, 0.46);
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

.hub-item-thub .hub-item-pattern {
  width: calc(100% + 48px);
  height: 88px;
  margin: -24px -24px 12px;
  background-image: url('/assets/logos/thub-header.png');
  background-size: cover;
  background-position: center top;
  clip-path: ellipse(115% 78% at 50% 8%);
  -webkit-clip-path: ellipse(115% 78% at 50% 8%);
  position: relative;
  z-index: 1;
}

.hub-item-thub .hub-item-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 112px;
  padding: 0 8px 2px;
  margin-top: -18px;
  position: relative;
  z-index: 1;
}

.hub-item-thub .hub-item-visual img {
  width: 100%;
  max-width: 180px;
  max-height: 116px;
  object-fit: contain;
}

.hub-item-thub .hub-item-body {
  position: relative;
  z-index: 1;
}

.hub-item-thub .hub-item-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 6px;
}

.hub-item-thub .hub-item-desc {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 12px;
}

.hub-item-thub .hub-item-link {
  color: #111111;
}

.hub-item-thub:hover {
  border-color: #111111;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.hub-item-thub:hover .hub-item-title,
.hub-item-thub:hover .hub-item-link {
  color: #111111;
}

.hub-item-thub:hover .hub-item-desc {
  color: #2563eb;
}

/* Footer styling */
.hub-footer {
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hub-footer a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

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

.hub-logout-btn {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  padding: 10px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hub-logout-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 42, 42, 0.35);
  background: rgba(255, 42, 42, 0.08);
  box-shadow: 0 10px 24px rgba(255, 42, 42, 0.12);
}

.hub-description {
  margin: 18px auto 0;
  max-width: 760px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hub-toolbar {
  width: min(1200px, 100%);
  margin: 0 auto 24px;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 15, 0.76);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.hub-toolbar-copy p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 680px;
}

.hub-toolbar-label,
.hub-admin-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

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

.hub-admin-btn,
.hub-admin-save,
.hub-admin-secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 12px 18px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hub-admin-btn:hover,
.hub-admin-save:hover,
.hub-admin-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 224, 226, 0.5);
  background: rgba(20, 224, 226, 0.08);
  box-shadow: 0 10px 24px rgba(20, 224, 226, 0.12);
}

.hub-admin-panel {
  width: min(1200px, 100%);
  margin: 0 auto 48px;
  position: relative;
  z-index: 2;
}

.hub-admin-columns {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
}

.hub-admin-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 20, 0.92);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.hub-admin-head {
  margin-bottom: 18px;
}

.hub-admin-head h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.hub-admin-grid {
  display: grid;
  gap: 14px;
}

.hub-admin-field,
.hub-admin-check {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.hub-admin-field span,
.hub-admin-check span,
.hub-admin-subgrid h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hub-admin-field input,
.hub-admin-field select,
.hub-admin-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 12px 14px;
  font-size: 0.95rem;
  outline: none;
}

.hub-admin-field textarea {
  resize: vertical;
  min-height: 100px;
}

.hub-admin-field input:focus,
.hub-admin-field select:focus,
.hub-admin-field textarea:focus {
  border-color: rgba(20, 224, 226, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 224, 226, 0.08);
}

.hub-admin-field-wide {
  grid-column: 1 / -1;
}

.hub-admin-check {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.hub-admin-check input {
  width: 18px;
  height: 18px;
}

.hub-admin-subgrid {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-admin-subgrid .hub-admin-field {
  margin-bottom: 0;
}

.hub-admin-subgrid input {
  margin-top: 8px;
}

.hub-item-actbound {
  background: linear-gradient(180deg, #07111d 0%, #091724 100%);
  border: 3px solid #14e0e2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42),
              0 0 30px rgba(20, 224, 226, 0.12);
}

.hub-item-actbound::before {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(20, 224, 226, 0.16) 0%, transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 58%);
}

.hub-item-actbound::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(20, 224, 226, 0.24);
  border-radius: 11px;
  pointer-events: none;
}

.hub-item-actbound .hub-item-logo {
  color: rgba(214, 233, 247, 0.72);
}

.hub-item-actbound .hub-item-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 112px;
  padding: 8px;
}

.hub-item-actbound .hub-item-visual img {
  width: 100%;
  max-width: 190px;
  max-height: 64px;
  object-fit: contain;
}

.hub-item-actbound .hub-item-title {
  color: #f7fbff;
  font-family: var(--font-sans);
  font-size: 1.42rem;
  font-weight: 700;
}

.hub-item-actbound .hub-item-desc,
.hub-item-actbound .hub-item-link {
  color: rgba(20, 224, 226, 0.88);
}

.card-theme-photo {
  background-size: cover;
  background-position: center;
}

.card-theme-photo-legacy {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-theme-2ndlife-classic {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 42, 28, 0.12) 0%, transparent 34%),
    linear-gradient(180deg, #0f0f10 0%, #080808 100%);
  border: 8px solid #ff2a1c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.82), 0 0 40px rgba(255, 42, 28, 0.18);
  padding: 18px;
}

.card-theme-2ndlife-classic::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 42, 28, 0.52);
  pointer-events: none;
}

.classic-2ndlife-shell {
  height: 100%;
  border-radius: 14px;
  padding: 28px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.22) 0%, rgba(10, 10, 10, 0.04) 100%);
}

.classic-2ndlife-logo {
  width: min(62%, 250px);
  margin: 6px auto 24px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(255, 42, 28, 0.14));
}

.classic-2ndlife-name {
  color: #ffffff;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0 auto 18px;
  position: relative;
}

.classic-2ndlife-name::before,
.classic-2ndlife-name::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 76px;
  height: 2px;
  background: #ff2a1c;
  transform: translateY(-50%);
}

.classic-2ndlife-name::before {
  right: calc(100% + 14px);
}

.classic-2ndlife-name::after {
  left: calc(100% + 14px);
}

.classic-2ndlife-rows {
  display: grid;
  gap: 0;
}

.classic-2ndlife-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.classic-2ndlife-row:first-child {
  border-top: none;
}

.classic-2ndlife-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #ff6455 0%, #ff2a1c 44%, #dd1208 100%);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 24px rgba(255, 42, 28, 0.28);
}

.classic-2ndlife-icon svg {
  width: 22px;
  height: 22px;
}

.classic-2ndlife-value {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  word-break: break-word;
}

.card-theme-trade-classic {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 82, 82, 0.16) 0%, transparent 36%),
    linear-gradient(180deg, #2a2323 0%, #171414 100%);
  border: 8px solid #ff2a2a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.82), 0 0 40px rgba(197, 22, 22, 0.16);
  padding: 18px;
}

.card-theme-area0 {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
  border: 4px solid #ff1a1a;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18),
              0 0 32px rgba(255, 26, 26, 0.2);
}

.area0-shell {
  width: 100%;
  min-height: 100%;
  border: 2px solid rgba(255, 26, 26, 0.95);
  border-radius: 30px;
  padding: 24px 22px 20px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 26, 26, 0.06) 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.area0-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}

.area0-logo {
  width: min(54%, 210px);
  height: auto;
  object-fit: contain;
}

.area0-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 5.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #050505;
  transform: translateX(0.11em);
}

.area0-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.area0-contact-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
}

.area0-contact-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.area0-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  border: 2.5px solid #ff1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff1a1a;
  position: relative;
}

.area0-contact-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -13px;
  width: 1px;
  height: 42px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.16);
}

.area0-contact-icon svg {
  width: 26px;
  height: 26px;
}

.area0-contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  min-width: 0;
}

.area0-contact-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff1a1a;
}

.area0-contact-value {
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 3.6vw, 1.12rem);
  font-weight: 800;
  line-height: 1.2;
  color: #050505;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .area0-shell {
    padding: 18px 14px 14px;
    gap: 10px;
  }

  .area0-logo {
    width: min(48%, 160px);
  }

  .area0-title {
    font-size: 1.34rem;
    letter-spacing: 0.16em;
  }

  .area0-contact-row {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 10px 10px 10px 12px;
    border-radius: 15px;
  }

  .area0-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .area0-contact-icon::after {
    right: -10px;
    height: 32px;
  }

  .area0-contact-icon svg {
    width: 22px;
    height: 22px;
  }

  .area0-contact-body {
    padding-left: 12px;
  }

  .area0-contact-value {
    font-size: 0.86rem;
  }
}

.card-theme-trade-classic::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1.5px solid rgba(197, 22, 22, 0.44);
  pointer-events: none;
}

.classic-trade-shell {
  height: 100%;
  border-radius: 14px;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.classic-trade-logo {
  width: min(62%, 250px);
  margin: 8px auto 28px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(197, 22, 22, 0.14));
}

.classic-trade-name {
  color: #ffffff;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0 auto 18px;
  position: relative;
}

.classic-trade-name::before,
.classic-trade-name::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 76px;
  height: 2px;
  background: #ff2a2a;
  transform: translateY(-50%);
}

.classic-trade-name::before {
  right: calc(100% + 14px);
}

.classic-trade-name::after {
  left: calc(100% + 14px);
}

.classic-trade-rows {
  display: grid;
  gap: 0;
}

.classic-trade-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.classic-trade-row:first-child {
  border-top: none;
}

.classic-trade-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #ff6455 0%, #ff2a2a 44%, #c51616 100%);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 24px rgba(197, 22, 22, 0.28);
}

.classic-trade-icon svg {
  width: 22px;
  height: 22px;
}

.classic-trade-value {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  word-break: break-word;
}

.card-theme-photo-overlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.4) 62%, rgba(0, 0, 0, 0.1) 100%);
}

.card-theme-photo-logo {
  width: min(56%, 220px);
  object-fit: contain;
  margin-bottom: auto;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));
}

.card-role {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 12px;
}

.card-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.card-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.card-cta-secondary {
  background: transparent;
}

.card-theme-tanuki {
  background: linear-gradient(180deg, #faf9f6 0%, #f2eee6 100%) !important;
  color: #1f241f;
  border: 8px solid #073a25;
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
}

.card-theme-tanuki::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  border: 1px solid #073a25;
  pointer-events: none;
}

.tanuki-logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 210px;
}

.tanuki-logo-box img {
  max-width: 175px;
  max-height: 180px;
  object-fit: contain;
}

.tanuki-brand {
  text-align: center;
  margin-bottom: 18px;
}

.tanuki-brand-main {
  color: #073a25;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tanuki-brand-sub {
  margin-top: 6px;
  color: #cfa035;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.tanuki-summary {
  color: #556055;
  margin-bottom: 18px;
}

.tanuki-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tanuki-row-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(7, 58, 37, 0.14);
}

.tanuki-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #cfa035;
  color: #073a25;
  box-shadow: 0 6px 16px rgba(207, 160, 53, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tanuki-icon-wrap svg {
  width: 17px;
  height: 17px;
}

.tanuki-row-body,
.card-contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.card-contact-value {
  font-size: 0.92rem;
  font-weight: 600;
}

.card-theme-clean,
.card-theme-thub {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f6 100%) !important;
  color: #111111;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.card-theme-clean-logo {
  width: min(70%, 260px);
  max-height: 120px;
  object-fit: contain;
  align-self: center;
  margin: 48px auto 28px;
}

.card-theme-clean-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-theme-clean-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.06;
}

.card-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.card-contact-row {
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.card-theme-excelsior {
  border: 3px solid #111111;
}

.card-theme-excelsior-profile {
  background: transparent !important;
  padding: 0;
  overflow: visible;
}

.excelsior-card-shell {
  width: 100%;
  height: 100%;
  background: #f8f8fa;
  border-radius: 28px;
  border: 10px solid #070707;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
}

.excelsior-card-shell::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.excelsior-card-logo {
  width: 240px;
  max-width: 62%;
  display: block;
  margin: 54px auto 48px;
  object-fit: contain;
}

.excelsior-card-copy {
  padding: 0 28px 28px;
}

.excelsior-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.excelsior-divider span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111111;
  position: relative;
}

.excelsior-divider span::before,
.excelsior-divider span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
}

.excelsior-divider span::before {
  right: calc(100% + 16px);
}

.excelsior-divider span::after {
  left: calc(100% + 16px);
}

.excelsior-card-name {
  text-align: center;
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 1.95rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 8px;
}

.excelsior-card-role {
  text-align: center;
  color: #6a6c73;
  font-size: 0.95rem;
  margin-bottom: 34px;
}

.excelsior-contact-list {
  display: grid;
  gap: 0;
}

.excelsior-contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  text-decoration: none;
  color: #111111;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.excelsior-contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.excelsior-contact-icon svg {
  width: 24px;
  height: 24px;
}

.excelsior-contact-value {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.card-theme-thub-banner {
  width: calc(100% + 48px);
  height: 100px;
  margin: -26px -24px 18px;
  background-image: url('/assets/logos/thub-header.png');
  background-size: cover;
  background-position: center;
}

.card-theme-thub {
  background: transparent !important;
  padding: 0;
  overflow: visible;
}

.thub-card-shell {
  width: 100%;
  height: 100%;
  background: #f7f7f9;
  border-radius: 28px;
  border: 10px solid #050505;
  overflow: hidden;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.36);
  display: flex;
  flex-direction: column;
  position: relative;
}

.thub-card-banner {
  height: 92px;
  background-image: url('/assets/logos/thub-header.png');
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.thub-card-logo {
  width: 160px;
  max-height: 178px;
  object-fit: contain;
  display: block;
  margin: -26px auto 8px;
  position: relative;
  z-index: 2;
}

.thub-card-copy {
  flex: 1;
  padding: 6px 22px 20px;
}

.thub-card-name {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 2.05rem;
  line-height: 1.04;
  font-weight: 800;
  color: #111111;
  text-align: center;
  margin-bottom: 8px;
}

.thub-card-role {
  color: #6a6c73;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.thub-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.thub-divider span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d91d1d;
  box-shadow: 0 0 0 3px rgba(75, 46, 131, 0.08);
}

.thub-contact-list {
  display: grid;
  gap: 14px;
}

.thub-contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #111111;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.thub-contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  flex-shrink: 0;
}

.thub-contact-icon svg {
  width: 23px;
  height: 23px;
}

.thub-contact-icon-company {
  background: #2f68f3;
}

.thub-contact-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.thub-contact-body strong {
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-word;
}

.thub-contact-body small {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #5d6168;
  white-space: pre-line;
}

@media (max-width: 420px) {
  .thub-card-logo {
    width: 142px;
  }

  .thub-card-name {
    font-size: 1.78rem;
  }

  .thub-contact-row {
    padding: 16px 14px;
  }
}

.thub-contact-body small {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #5d6168;
  white-space: pre-line;
}

.card-theme-actbound {
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 224, 226, 0.1) 0%, transparent 35%),
    linear-gradient(180deg, #06111b 0%, #091723 100%) !important;
  color: #f3f9fc;
  border: 2px solid rgba(20, 224, 226, 0.34);
  padding: 18px;
}

.card-theme-actbound::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(20, 224, 226, 0.16);
  pointer-events: none;
}

.actbound-grid {
  height: 100%;
  display: grid;
  gap: 0;
}

.actbound-brand {
  display: flex;
  flex-direction: column;
  min-height: 0;
  justify-content: flex-start;
}

.actbound-logo {
  width: min(60%, 220px);
  object-fit: contain;
  margin: 28px auto 18px;
}

.actbound-kicker {
  color: rgba(20, 224, 226, 0.8);
  letter-spacing: 0.22em;
  font-size: 0.64rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: left;
}

.actbound-brand h1 {
  font-size: 1.62rem;
  line-height: 1.02;
  margin-bottom: 4px;
}

.card-theme-actbound .card-role {
  margin-bottom: 12px;
  font-size: 0.72rem;
}

.actbound-contact-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 10px;
}

.actbound-contact-list .card-contact-row {
  padding: 8px 10px;
  border: 1px solid rgba(20, 224, 226, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.card-theme-actbound .card-contact-label {
  font-size: 0.62rem;
}

.card-theme-actbound .card-contact-value {
  font-size: 0.78rem;
}

.card-theme-actbound .card-cta-row {
  margin-top: auto;
  padding-top: 10px;
}

.card-theme-actbound .card-cta {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.66rem;
}

@media (max-width: 980px) {
  .hub-admin-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hub-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .actbound-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 760px) {
  .app-container {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 88px;
    padding-bottom: 32px;
  }

  .business-card {
    max-height: none;
  }
}

.business-card.card-theme-canvas {
  display: flex;
  width: min(88vw, calc(84dvh * var(--canvas-ratio, 0.5625)), var(--canvas-max-width, 420px));
  height: auto;
  aspect-ratio: var(--canvas-aspect, 9 / 16);
  align-items: center;
  justify-content: center;
  max-width: none;
  max-height: none;
  overflow: visible;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
  transition: none;
}

.business-card.card-theme-html {
  padding: 0;
  background: #050505;
}

.business-card.card-theme-html:hover {
  transform: none;
}

.html-card-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.business-card.card-theme-canvas:hover {
  transform: none;
  box-shadow: none !important;
}

.business-card.card-theme-canvas::before {
  display: none;
}

body.is-canvas-document .app-container {
  min-height: 100dvh;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4dvh, 48px) 20px max(92px, env(safe-area-inset-bottom));
}

body.is-canvas-document .business-card-wrapper,
body.is-canvas-document #card-root {
  display: grid;
  width: 100%;
  place-items: center;
}

/* Backend usability overrides */
.backend-header.hub-header {
  margin-bottom: 14px;
  max-width: 980px;
  animation: none;
}

.backend-header .hub-brandmark {
  display: none;
}

.backend-header .hub-title {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.backend-header .hub-subtitle {
  margin-top: 7px;
  font-size: 0.7rem;
}

.backend-header .hub-description {
  margin-top: 7px;
  max-width: 720px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.backend-root {
  margin-bottom: 20px;
}

.backend-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(16px);
}

.backend-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.backend-nav button {
  min-height: 34px;
  border-color: transparent;
  background: transparent;
}

.backend-nav button.is-active {
  border-color: rgba(20, 224, 226, 0.5);
  background: rgba(20, 224, 226, 0.14);
}

.backend-filterbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  gap: 10px;
  margin-bottom: 12px;
}

.backend-search,
.backend-select-filter {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 13, 18, 0.88);
  padding: 0 12px;
}

.backend-search svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.58);
}

.backend-search input,
.backend-select-filter select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font-size: 0.88rem;
}

.backend-select-filter span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.backend-layout {
  grid-template-columns: 260px minmax(420px, 1fr) 360px;
  gap: 12px;
}

.backend-ai-handoff {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: 16px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(20, 224, 226, 0.24);
  background:
    radial-gradient(circle at 4% 0%, rgba(20, 224, 226, 0.12), transparent 34%),
    rgba(10, 13, 18, 0.94);
}

.backend-ai-handoff-copy {
  align-self: start;
}

.backend-ai-handoff h2 {
  margin: 4px 0 10px;
  color: #ffffff;
  font-size: 1.12rem;
}

.backend-ai-handoff p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.55;
}

.backend-ai-handoff .backend-inline-actions {
  margin-bottom: 12px;
}

.backend-ai-note {
  padding: 10px 12px;
  border-left: 3px solid rgba(20, 224, 226, 0.65);
  background: rgba(20, 224, 226, 0.07);
}

.backend-ai-prompt-field textarea {
  min-height: 330px;
  resize: vertical;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  white-space: pre;
}

.builder-ready-design-frame {
  width: min(330px, 100%);
  max-height: calc(100vh - 270px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(20, 224, 226, 0.35);
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.builder-html-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.backend-sidebar,
.backend-inspector {
  max-height: calc(100vh - 142px);
}

.backend-stage {
  min-height: calc(100vh - 142px);
  padding: 12px;
}

.backend-stage-toolbar {
  min-height: 42px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.backend-canvas-wrap {
  min-height: calc(100vh - 250px);
  padding: 10px;
}

.builder-canvas-frame {
  width: min(330px, 100%);
  max-height: calc(100vh - 270px);
}

.backend-overview-head,
.backend-companies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.backend-overview-head {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 13, 18, 0.88);
}

.backend-overview-head h2 {
  margin: 0;
  font-size: 1rem;
}

.backend-overview-help {
  max-width: 760px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.45;
}

.backend-overview-head button {
  min-height: 38px;
  border: 1px solid rgba(20, 224, 226, 0.4);
  background: rgba(20, 224, 226, 0.12);
  color: #ffffff;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.backend-overview-grid.hub-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
}

.backend-overview-card {
  min-height: 310px;
  cursor: default;
  transition: opacity 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.backend-overview-card.is-dragging {
  opacity: 0.42;
  transform: scale(0.985);
}

.backend-overview-card.is-drop-before {
  box-shadow: inset 0 5px 0 #14e0e2, 0 24px 54px rgba(0, 0, 0, 0.34);
}

.backend-overview-card.is-drop-after {
  box-shadow: inset 0 -5px 0 #14e0e2, 0 24px 54px rgba(0, 0, 0, 0.34);
}

.backend-card-organizer {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 9;
  transform: translateX(-50%);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(6, 9, 14, 0.72);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.backend-card-drag-handle {
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.backend-card-drag-handle:active {
  cursor: grabbing;
}

body.is-organizing-cards,
body.is-organizing-cards * {
  cursor: grabbing !important;
  user-select: none !important;
}

.backend-card-drag-handle:hover {
  color: #14e0e2;
  background: rgba(20, 224, 226, 0.12);
}

.backend-card-drag-handle svg {
  width: 16px;
  height: 16px;
}

.backend-card-organizer label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 4px;
}

.backend-card-organizer label span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.backend-card-organizer input {
  width: 44px;
  height: 29px;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  appearance: textfield;
}

.backend-card-organizer input::-webkit-outer-spin-button,
.backend-card-organizer input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.backend-card-organizer input:focus {
  box-shadow: 0 0 0 2px rgba(20, 224, 226, 0.64);
}

.backend-card-label-chips {
  min-height: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 2px;
}

.backend-card-label-chips:empty {
  display: none;
}

.backend-card-label-chips span {
  border: 1px solid color-mix(in srgb, var(--label-color) 52%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--label-color) 13%, transparent);
  color: #ffffff;
  padding: 3px 7px;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.backend-overview-qr-trigger {
  appearance: none;
  -webkit-appearance: none;
}

.backend-overview-qr {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 4;
  min-width: 46px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.backend-card-settings {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 8;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(8, 10, 14, 0.46);
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.backend-card-settings svg {
  width: 16px;
  height: 16px;
}

.backend-card-settings:hover,
.backend-card-settings[aria-expanded="true"] {
  background: rgba(20, 224, 226, 0.18);
  border-color: rgba(20, 224, 226, 0.7);
  color: #14e0e2;
}

.backend-card-menu {
  position: absolute;
  top: 68px;
  right: 24px;
  z-index: 12;
  width: 228px;
  max-height: min(430px, calc(100vh - 120px));
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 10, 15, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.backend-card-menu button {
  width: 100%;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.backend-card-menu button:hover {
  background: rgba(20, 224, 226, 0.12);
}

.backend-card-menu button.is-danger {
  color: #ff7a84;
}

.backend-card-menu button.is-danger:hover {
  background: rgba(255, 75, 88, 0.12);
}

.backend-card-menu svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.backend-owner-share-button {
  position: relative;
  z-index: 3;
  width: fit-content;
  min-height: 34px;
  margin-top: 10px;
  border: 1px solid rgba(20, 224, 226, 0.34);
  border-radius: 999px;
  background: rgba(20, 224, 226, 0.1);
  color: inherit;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.backend-owner-share-button:hover {
  border-color: #14e0e2;
  color: #14e0e2;
}

.backend-owner-share-button svg {
  width: 14px;
  height: 14px;
}

.backend-card-menu-labels {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.backend-card-menu-labels > span {
  padding: 2px 8px 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.backend-card-menu-labels > small {
  padding: 5px 8px 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
}

.backend-card-label-option {
  min-height: 32px;
  display: grid;
  grid-template-columns: 16px 9px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  color: #ffffff;
  cursor: pointer;
}

.backend-card-label-option:hover {
  background: rgba(20, 224, 226, 0.1);
}

.backend-card-label-option input {
  width: 15px;
  height: 15px;
  accent-color: #14e0e2;
}

.backend-card-label-option i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.backend-card-label-option b {
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-card-new-label-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 5px;
  margin-top: 5px;
  padding: 0 5px 4px;
}

.backend-card-new-label-form input {
  width: 100%;
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  outline: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0 8px;
  font-size: 0.68rem;
}

.backend-card-new-label-form input:focus {
  border-color: rgba(20, 224, 226, 0.72);
}

.backend-card-new-label-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.backend-card-menu .backend-card-new-label-form button.backend-card-new-label {
  width: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0;
  justify-content: center;
  border: 1px solid rgba(20, 224, 226, 0.28);
  color: #14e0e2;
}

.backend-companies {
  align-items: start;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.backend-company-editor {
  min-height: 420px;
}

.backend-label-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.backend-login {
  width: min(100%, 460px);
  margin: 48px auto;
}

.backend-login-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 13, 18, 0.94);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.backend-login-card h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 1.35rem;
}

.backend-login-card form {
  display: grid;
  gap: 14px;
}

.backend-login-card button {
  min-height: 42px;
  border: 1px solid rgba(20, 224, 226, 0.45);
  color: #ffffff;
  cursor: pointer;
}

.backend-login-error {
  min-height: 1.2em;
  margin: 0;
  color: #ff7a84;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .backend-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .backend-layout {
    grid-template-columns: 230px minmax(360px, 1fr);
  }

  .backend-stage {
    min-height: 620px;
  }

  .backend-canvas-wrap {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .backend-root,
  .backend-toolbar,
  .backend-filterbar,
  .backend-layout,
  .backend-companies,
  .backend-stage,
  .backend-sidebar,
  .backend-inspector,
  .backend-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .backend-toolbar > *,
  .backend-filterbar > *,
  .backend-layout > *,
  .backend-companies > * {
    min-width: 0;
  }

  .backend-header.hub-header {
    margin-bottom: 10px;
  }

  .backend-header .hub-brandmark {
    width: 72px;
  }

  .backend-header .hub-description {
    display: none;
  }

  .backend-filterbar,
  .backend-layout,
  .backend-ai-handoff,
  .backend-companies,
  .backend-overview-grid.hub-grid {
    grid-template-columns: 1fr;
  }

  .backend-nav,
  .backend-stage-toolbar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .backend-toolbar-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .backend-toolbar button,
  .backend-stage-toolbar button {
    flex: 0 0 auto;
  }

  .backend-sidebar,
  .backend-inspector {
    max-height: none;
  }

  .backend-sidebar {
    max-height: 260px;
  }

  .backend-stage {
    min-height: auto;
  }

  .backend-canvas-wrap {
    min-height: 500px;
  }

  .builder-canvas-frame {
    width: min(84vw, 330px);
    max-height: 560px;
  }

  .backend-overview-card {
    min-height: 260px;
  }
}

/* Contact Shuffle Creator v2
 * Shared navy / signal-yellow language with www.contactshuffle.it.
 * The editor stays quiet at first glance; depth lives inside layers and inspectors.
 */
.creator-app {
  --creator-navy: #071726;
  --creator-blue: #0b2a46;
  --creator-blue-soft: #123b60;
  --creator-yellow: #ffd84d;
  --creator-paper: #f7f4ec;
  --creator-muted: #9eacb8;
  min-height: 100dvh;
  display: block;
  padding: 0 18px 24px;
  background:
    radial-gradient(circle at 75% -10%, rgba(33, 97, 150, 0.32), transparent 35%),
    linear-gradient(180deg, #071726 0%, #05111d 100%);
  color: var(--creator-paper);
}

.creator-app::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.creator-app .backend-header.hub-header {
  width: min(1760px, 100%);
  max-width: none;
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.creator-brand {
  display: inline-flex;
  width: min(320px, 100%);
  align-items: center;
  gap: 8px;
  color: var(--creator-paper);
  text-decoration: none;
}

.creator-brand-symbol,
.creator-brand-wordmark {
  display: block;
  overflow: hidden;
  background: transparent;
}

.creator-brand-symbol {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 18px;
}

.creator-brand-wordmark {
  width: 246px;
  aspect-ratio: 660 / 240;
}

.creator-brand-symbol img,
.creator-brand-wordmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-brand-symbol img {
  object-position: center;
}

.creator-brand-wordmark img {
  object-position: center 50%;
}

.creator-brand:hover .creator-brand-symbol,
.creator-brand:hover .creator-brand-wordmark {
  filter: brightness(1.08);
}

.creator-header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 216, 77, 0.26);
  border-radius: 999px;
  color: rgba(247, 244, 236, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-header-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--creator-yellow);
  box-shadow: 0 0 0 5px rgba(255, 216, 77, 0.1);
}

.creator-app .backend-root {
  width: min(1760px, 100%);
  margin: 14px auto 18px;
}

.creator-app .backend-toolbar {
  top: 8px;
  display: grid;
  grid-template-columns: minmax(180px, auto) auto minmax(360px, 1fr);
  gap: 18px;
  min-height: 62px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 23, 38, 0.9);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.creator-app .backend-toolbar > div:first-child .backend-kicker {
  margin: 0;
  color: var(--creator-yellow);
}

.creator-app .backend-toolbar > div:first-child h2 {
  margin-top: 3px;
  color: rgba(247, 244, 236, 0.62);
  font-size: 0.72rem;
  font-weight: 500;
}

.creator-app .backend-nav {
  justify-self: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.creator-app .backend-nav button,
.creator-app .backend-toolbar button,
.creator-app .backend-stage-toolbar button,
.creator-app .backend-inline-actions button {
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}

.creator-app .backend-nav button.is-active,
.creator-app .backend-nav button:hover {
  border-color: var(--creator-yellow);
  background: var(--creator-yellow);
  color: var(--creator-navy);
}

.creator-app .backend-toolbar-actions {
  justify-content: flex-end;
}

.creator-app .backend-primary {
  border-color: var(--creator-yellow) !important;
  background: var(--creator-yellow) !important;
  color: var(--creator-navy) !important;
}

.creator-layout {
  display: grid;
  grid-template-columns: 70px minmax(480px, 1fr) 360px;
  gap: 10px;
  align-items: stretch;
}

.creator-tool-rail,
.creator-app .creator-stage,
.creator-app .creator-inspector {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(7, 23, 38, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.creator-tool-rail {
  position: sticky;
  top: 80px;
  display: flex;
  max-height: calc(100dvh - 96px);
  align-self: start;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
}

.creator-tool-group {
  display: grid;
  width: 100%;
  gap: 5px;
}

.creator-tool-rail button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 50px;
  place-items: center;
  gap: 2px;
  padding: 7px 3px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: rgba(247, 244, 236, 0.62);
  cursor: pointer;
  touch-action: manipulation;
}

.creator-tool-rail button:hover,
.creator-tool-rail button.is-active {
  border-color: rgba(255, 216, 77, 0.34);
  background: rgba(255, 216, 77, 0.12);
  color: var(--creator-yellow);
}

.creator-tool-rail button.is-active::after {
  content: '';
  position: absolute;
  left: -9px;
  width: 3px;
  height: 24px;
  border-radius: 0 3px 3px 0;
  background: var(--creator-yellow);
}

.creator-tool-rail svg {
  width: 18px;
  height: 18px;
}

.creator-tool-rail span {
  font-size: 0.52rem;
  font-weight: 700;
}

.creator-tool-rule {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.creator-app .creator-stage {
  min-height: calc(100dvh - 178px);
  padding: 10px;
  overflow: hidden;
}

.creator-stage-toolbar {
  gap: 7px;
  min-height: 48px;
  margin: 0;
  padding: 0 2px 9px;
}

.creator-document-title {
  display: grid;
  min-width: 170px;
  gap: 2px;
}

.creator-document-title span {
  color: var(--creator-yellow);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.creator-document-title strong {
  overflow: hidden;
  color: var(--creator-paper);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-history,
.creator-zoom,
.creator-format-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.creator-history button,
.creator-zoom button,
.creator-format-switcher button {
  min-width: 34px;
  min-height: 32px !important;
  padding: 6px 8px !important;
  border: 0 !important;
}

.creator-format-switcher > span {
  padding: 0 5px 0 7px;
  color: rgba(247, 244, 236, 0.44);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.creator-format-switcher button span {
  display: none;
}

.creator-format-switcher button.is-active {
  background: var(--creator-yellow) !important;
  color: var(--creator-navy) !important;
}

.creator-format-switcher button svg {
  width: 16px;
  height: 16px;
}

.creator-history button:disabled {
  opacity: 0.25;
  cursor: default;
}

.creator-zoom span {
  min-width: 42px;
  color: rgba(247, 244, 236, 0.62);
  font: 0.61rem var(--font-mono);
  text-align: center;
}

.creator-canvas-wrap {
  position: relative;
  min-height: clamp(520px, calc(100dvh - 352px), 780px);
  overflow: auto;
  padding: 42px;
  border-radius: 15px;
  background:
    radial-gradient(circle at center, rgba(19, 59, 94, 0.6), rgba(4, 14, 24, 0.78) 65%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%);
  background-position: 0 0, 0 0, 12px 12px;
  background-size: auto, 24px 24px, 24px 24px;
}

.creator-canvas-wrap::before {
  content: 'WORKSPACE';
  position: absolute;
  top: 14px;
  left: 16px;
  color: rgba(247, 244, 236, 0.24);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.creator-app .builder-canvas-frame {
  width: min(390px, 100%);
  max-height: none;
  overflow: visible;
  transform: scale(var(--creator-zoom, 1));
  transform-origin: center center;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.creator-app .builder-canvas-frame.is-landscape {
  width: min(720px, 100%);
}

.creator-app .builder-canvas-frame.is-square {
  width: min(620px, 100%);
}

.builder-layer-drawing,
.canvas-card-drawing {
  display: block;
  pointer-events: none;
}

.creator-drawing-surface {
  position: absolute;
  inset: 0;
  z-index: 20000;
  cursor: crosshair;
  touch-action: none;
}

.creator-drawing-surface.is-eraser {
  cursor: cell;
}

.creator-app .builder-layer.is-selected {
  outline-color: var(--creator-yellow);
}

.creator-app .builder-selection-box {
  z-index: 19000 !important;
  border-color: var(--creator-yellow);
}

.creator-app .builder-layer-handle {
  width: 16px;
  height: 16px;
  border: 3px solid var(--creator-navy);
  border-radius: 50%;
  background: var(--creator-yellow);
}

.builder-layer-rotate {
  position: absolute;
  top: -42px;
  left: 50%;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 3px solid var(--creator-navy);
  border-radius: 50%;
  background: var(--creator-yellow);
  transform: translateX(-50%);
  pointer-events: auto;
  cursor: grab;
}

.builder-layer-rotate::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 1px;
  height: 22px;
  background: var(--creator-yellow);
}

.creator-app .creator-inspector {
  position: sticky;
  top: 80px;
  display: block;
  max-height: calc(100dvh - 96px);
  overflow: auto;
  padding: 10px;
}

.creator-app .creator-inspector > * + * {
  margin-top: 9px;
}

.creator-layer-stack {
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.creator-dock-head h2 {
  margin: 0;
  color: var(--creator-paper);
  font-size: 0.92rem;
}

.creator-dock-actions {
  display: flex;
  gap: 4px;
}

.creator-dock-actions button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--creator-paper);
}

.creator-dock-actions svg {
  width: 15px;
}

.creator-layer-hint {
  margin: 7px 0 10px;
  color: rgba(247, 244, 236, 0.38);
  font-size: 0.62rem;
  line-height: 1.45;
}

.creator-layer-list {
  display: grid;
  max-height: 310px;
  gap: 4px;
  overflow-y: auto;
}

.creator-layer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-layer-row.is-selected {
  border-color: rgba(255, 216, 77, 0.48);
  background: rgba(255, 216, 77, 0.09);
}

.creator-layer-row.is-dragging {
  opacity: 0.45;
}

.creator-layer-row.is-drop-target {
  border-color: var(--creator-yellow);
  box-shadow: inset 0 0 0 1px var(--creator-yellow);
}

.creator-layer-select {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--creator-paper);
  text-align: left;
}

.creator-layer-thumb {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.06) 75%),
    #0b2a46;
  background-size: 10px 10px;
}

.creator-layer-thumb svg {
  width: 15px;
  color: var(--creator-yellow);
}

.creator-layer-copy,
.creator-layer-copy strong,
.creator-layer-copy small {
  display: block;
  min-width: 0;
}

.creator-layer-copy strong,
.creator-layer-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-layer-copy strong {
  font-size: 0.71rem;
}

.creator-layer-copy small {
  margin-top: 3px;
  color: rgba(247, 244, 236, 0.38);
  font-size: 0.57rem;
  text-transform: capitalize;
}

.creator-layer-toggles {
  display: flex;
  align-items: center;
  gap: 1px;
  padding-right: 4px;
}

.creator-layer-toggles button {
  display: grid;
  width: 27px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(247, 244, 236, 0.38);
}

.creator-layer-toggles button:hover,
.creator-layer-toggles button.is-active {
  color: var(--creator-yellow);
  background: rgba(255, 216, 77, 0.09);
}

.creator-layer-toggles svg {
  width: 13px;
}

.creator-app .backend-panel {
  padding: 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-app .backend-field input,
.creator-app .backend-field textarea,
.creator-app .backend-field select,
.creator-app .backend-owner-link-field input {
  min-height: 39px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.creator-app .backend-field input:focus,
.creator-app .backend-field textarea:focus,
.creator-app .backend-field select:focus {
  border-color: var(--creator-yellow);
  box-shadow: 0 0 0 3px rgba(255, 216, 77, 0.09);
}

.creator-app .backend-check {
  min-height: 39px;
  border-radius: 10px;
}

.creator-app input[type='checkbox'] {
  accent-color: var(--creator-yellow);
}

.creator-app input[type='range'] {
  padding: 0;
  accent-color: var(--creator-yellow);
}

.creator-inspector-section,
.creator-document-settings,
.creator-import-handoff {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-inspector-section {
  margin: 14px 0;
}

.creator-inspector-section > summary,
.creator-document-settings > summary,
.creator-import-handoff > summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: var(--creator-paper);
  cursor: pointer;
  list-style: none;
}

.creator-inspector-section > summary::-webkit-details-marker,
.creator-document-settings > summary::-webkit-details-marker,
.creator-import-handoff > summary::-webkit-details-marker {
  display: none;
}

.creator-inspector-section > summary span,
.creator-document-settings > summary span,
.creator-import-handoff > summary span {
  font-size: 0.72rem;
  font-weight: 700;
}

.creator-inspector-section > summary small,
.creator-document-settings > summary small,
.creator-import-handoff > summary small {
  color: rgba(247, 244, 236, 0.38);
  font-size: 0.58rem;
}

.creator-inspector-section__body {
  padding: 0 12px 12px;
}

.creator-document-settings > .backend-panel {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.creator-layer-summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 216, 77, 0.07);
  color: rgba(247, 244, 236, 0.58);
  font-size: 0.65rem;
}

.creator-transform-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0;
}

.creator-transform-actions button,
.creator-palette-head button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(247, 244, 236, 0.68);
  font-size: 0.59rem;
  font-weight: 700;
}

.creator-transform-actions button:hover,
.creator-palette-head button:hover {
  border-color: rgba(255, 216, 77, 0.42);
  color: var(--creator-yellow);
}

.creator-transform-actions svg,
.creator-palette-head svg {
  width: 13px;
}

.creator-effects {
  margin-top: 10px;
  padding: 0 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(3, 14, 24, 0.42);
}

.creator-effects > summary {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--creator-paper);
  cursor: pointer;
  list-style: none;
}

.creator-effects > summary::-webkit-details-marker {
  display: none;
}

.creator-effects > summary span {
  font-size: 0.68rem;
  font-weight: 750;
}

.creator-effects > summary small {
  color: rgba(247, 244, 236, 0.35);
  font-size: 0.52rem;
}

.creator-palette-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: end;
}

.creator-palette-swatches {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 12px;
}

.creator-palette-swatches button {
  aspect-ratio: 1;
  min-width: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.creator-palette-swatches button:hover,
.creator-palette-swatches button.is-active {
  border-color: var(--creator-yellow);
  transform: translateY(-1px);
}

.creator-input-meter {
  margin: 10px 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 216, 77, 0.14);
  border-radius: 10px;
  background: rgba(255, 216, 77, 0.05);
  color: rgba(247, 244, 236, 0.55);
  font: 0.56rem var(--font-mono);
}

.creator-input-meter span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.creator-input-meter i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--creator-yellow);
  box-shadow: 0 0 0 4px rgba(255, 216, 77, 0.09);
}

.creator-library-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creator-library-actions button {
  min-width: 0;
  padding-inline: 6px;
  font-size: 0.55rem;
}

.creator-timeline {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 72px;
  gap: 10px;
  margin-top: 9px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(3, 14, 24, 0.7);
}

.creator-timeline-controls {
  display: grid;
  grid-template-columns: 32px 32px 1fr;
  align-items: center;
  gap: 4px;
}

.creator-timeline-controls button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--creator-paper);
}

.creator-timeline-controls svg {
  width: 13px;
}

.creator-timeline-controls span {
  color: var(--creator-paper);
  font-size: 0.68rem;
  font-weight: 700;
}

.creator-timeline-controls small {
  grid-column: 3;
  color: rgba(247, 244, 236, 0.34);
  font: 0.55rem var(--font-mono);
}

.creator-timeline-track {
  position: relative;
  min-height: 50px;
  overflow: hidden;
  border-radius: 9px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 10%),
    rgba(255, 255, 255, 0.02);
}

.creator-timeline-track > p {
  margin: 16px;
  color: rgba(247, 244, 236, 0.34);
  font-size: 0.65rem;
}

.creator-timeline-clip {
  position: absolute;
  top: 8px;
  left: var(--clip-left);
  width: var(--clip-width);
  min-width: 36px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 77, 0.35);
  border-radius: 7px;
  background: rgba(255, 216, 77, 0.12);
  color: var(--creator-paper);
  text-align: left;
}

.creator-timeline-clip.is-selected {
  border-color: var(--creator-yellow);
  background: var(--creator-yellow);
  color: var(--creator-navy);
}

.creator-timeline-clip span {
  display: block;
  overflow: hidden;
  padding: 0 8px;
  font-size: 0.56rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-import-handoff {
  display: block;
  margin-top: 10px;
  padding: 0;
  background: rgba(7, 23, 38, 0.78);
}

.creator-import-handoff__body {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: 16px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-import-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.creator-import-format-grid span {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(247, 244, 236, 0.58);
  font-size: 0.58rem;
  line-height: 1.35;
}

.creator-import-format-grid strong {
  color: var(--creator-yellow);
  font-size: 0.62rem;
}

.creator-app .backend-login-card {
  overflow: hidden;
  border: 1px solid rgba(255, 216, 77, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 216, 77, 0.1), transparent 34%),
    rgba(7, 23, 38, 0.96);
}

.creator-app .backend-login-card::before {
  content: 'CONTACT SHUFFLE';
  display: block;
  margin-bottom: 22px;
  color: var(--creator-yellow);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.creator-app .site-legal-footer a {
  color: var(--creator-yellow);
}

.builder-layer[data-animation],
.canvas-card-layer[data-animation] {
  animation-name: var(--tnk-animation-name);
  animation-duration: var(--tnk-animation-duration, 0.8s);
  animation-delay: var(--tnk-animation-delay, 0s);
  animation-timing-function: var(--tnk-animation-easing, ease-out);
  animation-iteration-count: var(--tnk-animation-iterations, 1);
  animation-fill-mode: both;
}

.creator-animation-paused .builder-layer[data-animation] {
  animation-play-state: paused;
}

@keyframes tnk-fade {
  from { opacity: 0; }
  to { opacity: var(--layer-opacity, 1); }
}

@keyframes tnk-slide-up {
  from { opacity: 0; transform: translateY(16%) rotate(var(--layer-rotation)); }
  to { opacity: var(--layer-opacity, 1); transform: translateY(0) rotate(var(--layer-rotation)); }
}

@keyframes tnk-slide-left {
  from { opacity: 0; transform: translateX(18%) rotate(var(--layer-rotation)); }
  to { opacity: var(--layer-opacity, 1); transform: translateX(0) rotate(var(--layer-rotation)); }
}

@keyframes tnk-drop {
  0% { opacity: 0; transform: translateY(-140%) scaleY(1.5) rotate(var(--layer-rotation)); }
  72% { opacity: var(--layer-opacity, 1); transform: translateY(5%) scaleY(0.9) rotate(var(--layer-rotation)); }
  100% { opacity: var(--layer-opacity, 1); transform: translateY(0) scaleY(1) rotate(var(--layer-rotation)); }
}

@keyframes tnk-scale {
  from { opacity: 0; transform: scale(0.72) rotate(var(--layer-rotation)); }
  to { opacity: var(--layer-opacity, 1); transform: scale(1) rotate(var(--layer-rotation)); }
}

@keyframes tnk-float {
  0%, 100% { transform: translateY(0) rotate(var(--layer-rotation)); }
  50% { transform: translateY(-6%) rotate(var(--layer-rotation)); }
}

@keyframes tnk-pulse {
  0%, 100% { transform: scale(1) rotate(var(--layer-rotation)); }
  50% { transform: scale(1.045) rotate(var(--layer-rotation)); }
}

@keyframes tnk-spin {
  from { transform: rotate(var(--layer-rotation)); }
  to { transform: rotate(calc(var(--layer-rotation) + 360deg)); }
}

@keyframes tnk-reveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: var(--layer-opacity, 1); }
}

body.creator-focus-mode {
  overflow: hidden;
  padding: 0 !important;
}

.creator-focus-mode .backend-header,
.creator-focus-mode .site-legal-footer,
.creator-focus-mode .backend-toolbar {
  display: none !important;
}

.creator-focus-mode .backend-root {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 0%, rgba(33, 97, 150, 0.28), transparent 42%),
    #05111d;
}

.creator-focus-mode .creator-layout {
  height: calc(100dvh - 16px);
  grid-template-columns: 74px minmax(0, 1fr) minmax(300px, 360px);
}

.creator-focus-mode .creator-tool-rail,
.creator-focus-mode .creator-inspector {
  top: 8px;
  max-height: calc(100dvh - 16px);
}

.creator-focus-mode .creator-stage {
  min-height: 0;
  height: calc(100dvh - 16px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.creator-focus-mode .creator-canvas-wrap {
  min-height: 0;
  height: 100%;
}

.creator-focus-mode .creator-import-handoff {
  display: none;
}

@media (max-width: 1240px) {
  .creator-layout {
    grid-template-columns: 66px minmax(420px, 1fr) 320px;
  }

  .creator-app .creator-inspector {
    grid-column: auto;
    max-height: calc(100dvh - 96px);
  }

  .creator-app .backend-toolbar {
    grid-template-columns: 1fr;
  }

  .creator-app .backend-nav {
    justify-self: start;
  }

  .creator-app .backend-toolbar-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .creator-app .backend-header.hub-header {
    grid-template-columns: 1fr auto;
  }

  .creator-layout {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .creator-app .creator-inspector {
    position: static;
    grid-column: 1 / -1;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-document-settings,
  .creator-layer-stack {
    align-self: start;
  }
}

@media (max-width: 700px) {
  .creator-app {
    padding: 0 8px 18px;
  }

  .creator-app .backend-header.hub-header {
    min-height: 72px;
    padding: 10px 2px;
  }

  .creator-header-status {
    display: none;
  }

  .creator-brand {
    width: min(100%, 300px);
  }

  .creator-brand-symbol {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .creator-brand-wordmark {
    width: min(228px, calc(100vw - 92px));
  }

  .creator-app .backend-toolbar {
    position: relative;
    top: 0;
    border-radius: 15px;
  }

  .creator-layout {
    grid-template-columns: 1fr;
  }

  .creator-tool-rail {
    position: sticky;
    top: 4px;
    z-index: 60;
    width: 100%;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    padding: 6px;
  }

  .creator-tool-group {
    display: flex;
    width: auto;
  }

  .creator-tool-rule {
    flex: 0 0 1px;
    width: 1px;
    height: 28px;
  }

  .creator-tool-rail button {
    width: 52px;
    min-width: 52px;
    min-height: 46px;
  }

  .creator-tool-rail button.is-active::after {
    inset: auto 14px -7px;
    width: auto;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }

  .creator-stage-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .creator-document-title {
    min-width: 130px;
  }

  .creator-canvas-wrap {
    min-height: 500px;
    padding: 38px 22px;
  }

  .creator-app .builder-canvas-frame {
    width: min(82vw, 390px);
  }

  .creator-timeline {
    grid-template-columns: 1fr;
  }

  .creator-app .creator-inspector {
    display: block;
  }

  .creator-import-handoff__body {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .creator-focus-mode .creator-layout {
    grid-template-columns: 66px minmax(0, 1fr) minmax(280px, 34vw);
  }

  .creator-focus-mode .creator-inspector {
    position: sticky;
    grid-column: auto;
    display: block;
    max-height: calc(100dvh - 16px);
  }
}

@media (pointer: coarse) {
  .creator-tool-rail button,
  .creator-app .backend-stage-toolbar button,
  .creator-app .backend-inline-actions button {
    min-height: 44px;
  }

  .creator-drawing-surface {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .builder-layer[data-animation],
  .canvas-card-layer[data-animation] {
    animation: none !important;
  }
}
