/* ═══════════════════════════════════════════════════════════════
   LUCIDE TRACK CONFIGURATOR — Dark Industrial Luxury
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500&family=JetBrains+Mono:wght@300;400&display=swap');

:root {
  --gold:    #C9A96E;
  --gold2:   #E8CC88;
  --black:   #080808;
  --dark:    #0e0e0e;
  --dark2:   #141414;
  --dark3:   #1c1c1c;
  --mid:     #2a2a2a;
  --border:  #222222;
  --text:    #f0ede8;
  --muted:   #5a5a5a;
  --muted2:  #3a3a3a;
  --track-black: #1a1a1a;
  --track-glow:  rgba(201,169,110,.15);
  --green:   #4caf7d;
  --red:     #e05555;
  --blue:    #5b8fd4;
}

/* ── RESET ── */
#ltc-root *, #ltc-root *::before, #ltc-root *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
#ltc-root {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--black);
  color: var(--text);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* ── SCREEN SYSTEM ── */
.ltc-screen {
  display: none;
  width: 100%;
  min-height: 100vh;
  animation: ltcFadeIn .4s ease both;
}
.ltc-screen.active { display: flex; }
@keyframes ltcFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════
   SCREEN 1 — ROOM SETUP
   ══════════════════════════════════════════════ */
#ltc-s1 {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

/* Background grid pattern */
#ltc-s1::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.ltc-logo-bar {
  position: absolute; top: 28px; left: 32px;
  display: flex; align-items: center; gap: 16px;
}
.ltc-logo-bar svg { height: 28px; width: auto; }
.ltc-logo-bar span {
  font-size: 9px; letter-spacing: .3em; color: var(--muted);
  text-transform: uppercase; margin-top: 2px;
}

.ltc-s1-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 680px;
  text-align: center;
}

.ltc-eyebrow {
  font-size: 9px; letter-spacing: .4em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.ltc-eyebrow::before, .ltc-eyebrow::after {
  content: ''; height: 1px; width: 40px; background: var(--gold); opacity: .3;
}

.ltc-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  line-height: .9; letter-spacing: .02em;
  color: var(--text); margin-bottom: 8px;
}
.ltc-headline em {
  color: var(--gold); font-style: normal;
}
.ltc-sub {
  font-size: 13px; color: var(--muted); line-height: 1.7;
  margin-bottom: 56px; max-width: 400px; margin-left: auto; margin-right: auto;
}

/* Room input form */
.ltc-form-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
  text-align: left;
}

.ltc-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px;
}

.ltc-field label {
  display: block; font-size: 9px; letter-spacing: .22em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 10px;
}
.ltc-field input[type=number] {
  width: 100%; background: var(--dark3); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 300; padding: 16px 20px;
  outline: none; transition: border-color .2s;
  -moz-appearance: textfield;
}
.ltc-field input[type=number]::-webkit-inner-spin-button { display: none; }
.ltc-field input[type=number]:focus { border-color: var(--gold); }
.ltc-field-unit {
  font-size: 11px; color: var(--muted); margin-top: 8px; letter-spacing: .1em;
}

.ltc-color-pick {
  display: flex; gap: 12px; margin-bottom: 4px;
}
.ltc-color-opt {
  flex: 1; padding: 14px; border-radius: 8px; cursor: pointer;
  border: 2px solid var(--border); transition: all .2s;
  display: flex; align-items: center; gap: 12px; background: var(--dark3);
}
.ltc-color-opt:hover { border-color: var(--muted2); }
.ltc-color-opt.selected { border-color: var(--gold); background: rgba(201,169,110,.06); }
.ltc-color-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.1); flex-shrink: 0;
}
.ltc-color-dot.black { background: #111; border-color: #444; }
.ltc-color-dot.white { background: #e8e8e8; border-color: #aaa; }
.ltc-color-name { font-size: 12px; color: var(--text); letter-spacing: .06em; }
.ltc-color-sub  { font-size: 10px; color: var(--muted); }

/* Start button */
.ltc-btn-primary {
  width: 100%; padding: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: #000; border: none; border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: .1em;
  cursor: pointer; transition: all .25s; position: relative; overflow: hidden;
}
.ltc-btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background .2s;
}
.ltc-btn-primary:hover::after { background: rgba(255,255,255,.12); }
.ltc-btn-primary:active { transform: scale(.99); }

/* ══════════════════════════════════════════════
   SCREEN 2 — TRACK BUILDER
   ══════════════════════════════════════════════ */
#ltc-s2 {
  flex-direction: row;
  height: 100vh;
  overflow: hidden;
}

/* Left sidebar */
.ltc-sidebar {
  width: 280px; flex-shrink: 0;
  background: var(--dark2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}

.ltc-sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ltc-sidebar-title {
  font-size: 9px; letter-spacing: .28em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 4px;
}
.ltc-sidebar-sub { font-size: 11px; color: var(--muted); }

/* Tools */
.ltc-tools {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ltc-tool-label {
  font-size: 9px; letter-spacing: .22em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 10px;
}
.ltc-tool-row { display: flex; gap: 8px; }
.ltc-tool {
  flex: 1; padding: 12px 8px; border-radius: 6px;
  background: var(--dark3); border: 1px solid var(--border);
  cursor: pointer; transition: all .2s; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ltc-tool:hover { border-color: var(--muted2); }
.ltc-tool.active { border-color: var(--gold); background: rgba(201,169,110,.08); }
.ltc-tool svg { display: block; }
.ltc-tool span { font-size: 9px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.ltc-tool.active span { color: var(--gold); }

/* Erase tool */
.ltc-tool.erase.active { border-color: var(--red); background: rgba(224,85,85,.08); }
.ltc-tool.erase.active span { color: var(--red); }

/* Room info */
.ltc-room-info {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.ltc-room-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--text);
}
.ltc-room-badge span { color: var(--gold); }
.ltc-room-edit {
  font-size: 10px; color: var(--muted); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.ltc-room-edit:hover { color: var(--text); }

/* BOM list */
.ltc-bom {
  flex: 1; overflow-y: auto; padding: 12px;
}
.ltc-bom::-webkit-scrollbar { width: 3px; }
.ltc-bom::-webkit-scrollbar-thumb { background: var(--mid); }
.ltc-bom-empty {
  text-align: center; padding: 32px 16px;
  font-size: 11px; color: var(--muted2); line-height: 1.8;
}
.ltc-bom-section-title {
  font-size: 9px; letter-spacing: .22em; color: var(--muted);
  text-transform: uppercase; padding: 8px 4px 6px; border-top: 1px solid var(--border);
  margin-top: 8px;
}
.ltc-bom-section-title:first-child { border-top: none; margin-top: 0; }

.ltc-bom-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,.04);
}
.ltc-bom-item:last-child { border-bottom: none; }
.ltc-bom-qty {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--gold); min-width: 24px; flex-shrink: 0;
}
.ltc-bom-info { flex: 1; min-width: 0; }
.ltc-bom-name { font-size: 11px; color: var(--text); line-height: 1.3; }
.ltc-bom-sku  { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--muted); margin-top: 2px; }
.ltc-bom-price { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text); white-space: nowrap; }

/* Total */
.ltc-total {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--dark);
}
.ltc-total-row {
  display: flex; justify-content: space-between; align-items: center;
}
.ltc-total-label { font-size: 9px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.ltc-total-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; color: var(--gold);
}
.ltc-total-note { font-size: 10px; color: var(--muted2); margin-top: 4px; }

/* Warnings */
.ltc-warnings {
  padding: 8px 16px; flex-shrink: 0;
}
.ltc-warn {
  font-size: 10px; color: var(--red); padding: 6px 10px;
  background: rgba(224,85,85,.08); border: 1px solid rgba(224,85,85,.2);
  border-radius: 4px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px;
}

/* Main canvas area */
.ltc-canvas-area {
  flex: 1; position: relative; overflow: hidden;
  background: var(--black);
  display: flex; flex-direction: column;
}

.ltc-canvas-topbar {
  height: 48px; flex-shrink: 0;
  background: var(--dark2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; gap: 12px;
}
.ltc-canvas-info {
  font-size: 10px; color: var(--muted); letter-spacing: .06em;
  display: flex; align-items: center; gap: 16px;
}
.ltc-canvas-info-item { display: flex; align-items: center; gap: 6px; }
.ltc-canvas-info-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}
.ltc-canvas-info-dot.warn { background: var(--red); }

.ltc-btn-done {
  padding: 8px 24px;
  background: var(--gold); color: #000; border: none; border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: .08em;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.ltc-btn-done:hover { background: var(--gold2); }
.ltc-btn-done:disabled { opacity: .4; cursor: not-allowed; }

/* Canvas wrapper + grid */
.ltc-canvas-wrap {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}

canvas#ltc-grid { display: block; cursor: crosshair; }

/* Canvas legend */
.ltc-legend {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px;
  background: rgba(14,14,14,.9); border: 1px solid var(--border);
  border-radius: 20px; padding: 8px 20px; font-size: 10px; color: var(--muted);
  letter-spacing: .06em; pointer-events: none;
}
.ltc-legend-item { display: flex; align-items: center; gap: 6px; }
.ltc-legend-swatch {
  width: 20px; height: 4px; border-radius: 2px;
  background: var(--gold);
}
.ltc-legend-swatch.room { background: rgba(91,143,212,.3); height: 0; border: 1px solid rgba(91,143,212,.4); width: 20px; border-radius: 0; }

/* ══════════════════════════════════════════════
   SCREEN 3 — LIGHT PLACEMENT
   ══════════════════════════════════════════════ */
#ltc-s3 {
  flex-direction: row;
  height: 100vh;
  overflow: hidden;
}

/* Light panel */
.ltc-light-panel {
  width: 240px; flex-shrink: 0;
  background: var(--dark2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}

.ltc-light-section {
  padding: 14px 14px 8px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ltc-light-section-title {
  font-size: 9px; letter-spacing: .24em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 10px;
}

.ltc-light-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.ltc-light-card {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 8px 8px;
  cursor: grab; transition: all .2s;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  user-select: none;
}
.ltc-light-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.ltc-light-card:active { cursor: grabbing; transform: scale(.97); }
.ltc-light-card img {
  width: 48px; height: 48px; object-fit: contain;
  /* no filter — show real WC product image */
  pointer-events: none;
}
.ltc-light-card .ltc-light-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.ltc-light-card-name {
  font-size: 9px; letter-spacing: .1em; color: var(--muted);
  text-align: center; text-transform: uppercase;
}

/* Right BOM (S3) */
.ltc-s3-right {
  width: 280px; flex-shrink: 0;
  background: var(--dark2);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}

.ltc-finish-btns {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  flex-shrink: 0;
}
.ltc-btn-print {
  width: 100%; padding: 12px;
  background: none; border: 1px solid var(--border);
  color: var(--text); border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .08em;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ltc-btn-print:hover { border-color: var(--muted2); }
.ltc-btn-cart {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000; border: none; border-radius: 6px;
  font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: .1em;
  cursor: pointer; transition: all .2s;
}
.ltc-btn-cart:hover { filter: brightness(1.1); }

/* Placement canvas */
.ltc-place-wrap {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--black); padding: 40px;
}
canvas#ltc-place { display: block; }

/* Drag ghost */
#ltc-drag-ghost {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 40px; height: 40px; display: none;
  /* no filter — show real WC product image */ opacity: .8;
}

/* Snap indicator */
.ltc-snap-dot {
  position: absolute; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
  pointer-events: none; display: none;
  box-shadow: 0 0 12px var(--gold);
}

/* ══════════════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════════════ */
.ltc-step-indicator {
  position: absolute; top: 20px; right: 24px;
  display: flex; align-items: center; gap: 6px;
}
.ltc-step-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted2); transition: all .3s;
}
.ltc-step-dot.done { background: var(--gold); }
.ltc-step-dot.active { background: var(--gold); box-shadow: 0 0 8px var(--gold); width: 20px; border-radius: 3px; }

/* Back button */
.ltc-btn-back {
  background: none; border: 1px solid var(--border);
  color: var(--muted); padding: 6px 14px; border-radius: 4px;
  font-size: 11px; letter-spacing: .1em; cursor: pointer;
  transition: all .2s; display: flex; align-items: center; gap: 6px;
}
.ltc-btn-back:hover { border-color: var(--muted2); color: var(--text); }

/* Loading state */
.ltc-loading {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; color: var(--muted); letter-spacing: .1em;
}
.ltc-spinner {
  width: 14px; height: 14px; border: 1.5px solid var(--border);
  border-top-color: var(--gold); border-radius: 50%;
  animation: ltcSpin .6s linear infinite;
}
@keyframes ltcSpin { to { transform: rotate(360deg); } }

/* Tooltips */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--dark3); border: 1px solid var(--border);
  color: var(--text); font-size: 10px; padding: 4px 10px;
  border-radius: 4px; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .15s; letter-spacing: .04em;
}
[data-tip]:hover::after { opacity: 1; }

/* ── PRINT ── */
@media print {
  #ltc-root { background: #fff !important; color: #000 !important; }
  .ltc-light-panel, .ltc-sidebar, .ltc-canvas-topbar,
  .ltc-finish-btns, .ltc-tools { display: none !important; }
  .ltc-bom, .ltc-s3-right { overflow: visible !important; }
  #ltc-s2, #ltc-s3 { height: auto !important; flex-direction: column !important; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--mid); border-radius: 2px; }

/* ── RICH LIGHT CARDS ── */
.ltc-card-top {
  position: relative; width: 100%; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.ltc-card-img {
  width: 56px; height: 56px; object-fit: contain;
  transition: transform .2s;
}
.ltc-light-card:hover .ltc-card-img { transform: scale(1.08); }
.ltc-card-placeholder {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.ltc-3d-badge {
  position: absolute; top: 0; right: 0;
  background: linear-gradient(135deg, #C9A96E, #E8CC88);
  color: #000; font-size: 8px; font-weight: 700;
  letter-spacing: .08em; padding: 2px 5px; border-radius: 3px;
}
.ltc-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--gold); margin-top: 2px;
}
.ltc-light-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.ltc-light-section {
  padding: 12px 12px 4px;
  border-bottom: 1px solid var(--border);
}
.ltc-light-section:last-child { border-bottom: none; }

/* ── BOM thumbnails ── */
.ltc-bom-thumb {
  width: 36px; height: 36px; object-fit: contain;
  border-radius: 4px; background: #1a1a1a;
  flex-shrink: 0; padding: 2px;
}
.ltc-bom-thumb-empty {
  width: 32px; height: 32px; background: #111; border-radius: 4px; flex-shrink: 0;
}
.ltc-bom-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 4px; border-bottom: 1px solid rgba(255,255,255,.04);
}

/* ── model-viewer in card ── */
.ltc-card-mv {
  width: 100%; height: 96px; display: block;
  --poster-color: transparent;
  background: transparent;
}
.ltc-card-top {
  position: relative; width: 100%; height: 96px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ltc-card-img {
  width: 64px; height: 80px; object-fit: contain;
  transition: transform .2s;
  mix-blend-mode: normal;
}
.ltc-light-card:hover .ltc-card-img { transform: scale(1.08); }
.ltc-card-placeholder {
  width: 64px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.ltc-light-card {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 6px 8px;
  cursor: grab; transition: border-color .2s, transform .15s;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  user-select: none;
}
.ltc-light-card:hover { border-color: var(--gold); }
.ltc-light-card:active { cursor: grabbing; }
.ltc-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--gold); margin-top: 1px;
}

/* ── VIDEO CORNER ── */
#ltc-video-corner {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  border: 1px solid rgba(201,169,110,.2);
  z-index: 10;
  animation: ltcFadeIn 1.2s .5s ease both;
}
#ltc-video-label {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
  color: rgba(255,255,255,.8);
  font-size: 10px; letter-spacing: .12em;
  padding: 8px 12px;
  pointer-events: none;
}
#ltc-video-iframe {
  display: block;
  width: 280px; height: 158px;
  border: none;
}
@media (max-width: 600px) {
  #ltc-video-corner { display: none; }
}

/* ── Starter kit image in color picker ── */
.ltc-starter-img {
  width: 56px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border-radius: 6px;
}
.ltc-starter-img img { display: block; }
.ltc-color-opt {
  gap: 14px;
}

/* ── 2D/3D toggle ── */
.ltc-view-toggle {
  display: flex; gap: 2px;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 6px; padding: 2px;
}
.ltc-view-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 4px; border: none;
  background: none; color: var(--muted); cursor: pointer;
  font-size: 11px; letter-spacing: .08em; font-family: 'DM Sans',sans-serif;
  transition: all .2s;
}
.ltc-view-btn svg { flex-shrink: 0; }
.ltc-view-btn.active {
  background: var(--gold); color: #000;
}
.ltc-view-btn.active svg { stroke: #000; }

/* Starter kit bigger images */
.ltc-starter-img {
  width: 100px !important; height: 80px !important;
}
.ltc-color-opt { gap: 14px; align-items: center; }

/* Drag hint on grid */
.ltc-canvas-wrap::after {
  content: 'Ťahaj myšou pre nakreslenie lišty';
  position: absolute; bottom: 52px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; color: rgba(255,255,255,.2);
  letter-spacing: .1em; pointer-events: none;
  white-space: nowrap;
}

/* ── Ensure 2D/3D toggle visible in topbar ── */
.ltc-canvas-topbar {
  flex-wrap: wrap;
  min-height: 48px;
  height: auto;
}
.ltc-view-toggle {
  display: flex !important;
  visibility: visible !important;
}
#ltc-btn-2d, #ltc-btn-3d {
  display: flex !important;
}
