/* ── EDITOR SHELL ── */
.editor-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 400px;
  gap: 0;
  background: #F7F0E6;
}

/* ── EDITOR HEADER ── */
.editor-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: var(--fg, #1A1208);
  border-bottom: 1px solid var(--border, #D4C4B0);
}
.editor-header-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold, #C9963E);
}
.editor-header-logo span { color: var(--accent, #7D1F2A); }
.editor-header-actions { display: flex; gap: 12px; }
.creator-chip-mount { display: inline-flex; align-items: center; margin-right: 6px; }
.editor-header-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.18); }
.editor-header-actions a.player-name-link { text-decoration: none; color: inherit; }
.editor-header-actions a.player-name-link:hover .pic-name { text-decoration: underline; text-underline-offset: 3px; }
.btn-header {
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}
.btn-header:hover { opacity: 0.85; }
.btn-preview-header  { background: var(--gold, #C9963E); color: #fff; }
.btn-analytics-header { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); text-decoration: none; display: inline-flex; align-items: center; }
.btn-analytics-header:hover { background: rgba(255,255,255,0.25); color: #fff; }
.btn-templates-header { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); text-decoration: none; display: inline-flex; align-items: center; }
.btn-templates-header:hover { background: rgba(255,255,255,0.25); color: #fff; }
.btn-share-export-header { background: #388E3C; color: #fff; }
.btn-share-header    { background: #1565C0; color: #fff; }
.btn-save-header     { background: var(--accent, #7D1F2A); color: #fff; }
.btn-history-header { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.85); font-size: 0.82rem; padding: 7px 14px; }
.btn-history-header:hover:enabled { background: rgba(255,255,255,0.20); color: #fff; }
.btn-history-header:disabled { opacity: 0.35; cursor: not-allowed; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.45); }

/* ── EDITOR PANEL (left) ── */
.editor-panel {
  padding: 28px 32px;
  overflow-y: auto;
  border-right: 1px solid var(--border, #D4C4B0);
}

/* Theme Section */
.theme-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted, #6B5344);
  font-weight: 600;
  margin-bottom: 14px;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.theme-thumb {
  border: 2px solid var(--border, #D4C4B0);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  position: relative;
}
.theme-thumb:hover {
  border-color: var(--gold, #C9963E);
  box-shadow: 0 4px 14px rgba(201,150,62,0.2);
  transform: translateY(-1px);
}
.theme-thumb.active {
  border-color: var(--accent, #7D1F2A);
  box-shadow: 0 4px 14px rgba(125,31,42,0.25);
}
.theme-thumb-preview {
  height: 44px;
  border-radius: 5px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.thumb-swatch-bar {
  height: 10px;
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}
.thumb-swatch { flex: 1; }
.thumb-corner { width: 16px; height: 16px; border-radius: 2px; position: absolute; }
.thumb-corner-tl { top: 3px; left: 3px; }
.thumb-corner-br { bottom: 3px; right: 3px; }
.theme-thumb-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: #1A1208;
  margin-bottom: 2px;
}
.theme-thumb-desc {
  font-size: 0.68rem;
  color: #6B5344;
  line-height: 1.3;
}

/* Editor form */
.editor-form { margin-top: 32px; }
.form-section { margin-bottom: 28px; }
.form-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1A1208;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border, #D4C4B0);
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6B5344;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border, #D4C4B0);
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #2D1F14;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-input:focus {
  border-color: var(--accent, #7D1F2A);
  box-shadow: 0 0 0 3px rgba(125,31,42,0.12);
}

/* ── BOARD PREVIEW (right) ── */
.board-preview-col {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #EDE4D3;
}
.board-preview-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6B5344;
  font-weight: 600;
  margin-bottom: 16px;
  align-self: flex-start;
}
.board-preview-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  padding: 14px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.board-preview-wrap[data-theme="classic"]     { background: #2C1810; border: 3px solid #8B6914; }
.board-preview-wrap[data-theme="luxuryGold"] { background: #0A0A0A; border: 2px solid #D4AF37; }
.board-preview-wrap[data-theme="cartoon"]    { background: #FF6B35; border: 4px solid #1A535C; }
.board-preview-wrap[data-theme="vintageMoney"]{ background: #3B2F1E; border: 3px double #8B7355; }
.board-preview-wrap[data-theme="modernMinimal"]{ background: #FFFFFF; border: 2px solid #111111; }
.board-preview-wrap[data-theme="casino"]     { background: #0D4A0D; border: 4px solid #B71C1C; }
.board-preview-wrap[data-theme="fairyTale"]  { background: #2D1B69; border: 3px solid #FFD700; }
.board-preview-wrap[data-theme="sports"]     { background: #1B5E20; border: 3px solid #FFFFFF; }

.board-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3px;
  font-size: 0.52rem;
  border-radius: 3px;
  text-align: center;
}
.cell-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.72rem;
}
.board-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.center-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 0.62rem;
  text-align: center;
  line-height: 1.3;
}
.theme-badge {
  margin-top: 14px;
  padding: 5px 14px;
  background: #7D1F2A;
  color: #fff;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Empty-state tip overlay (shown when no properties have been edited yet) */
.empty-tip-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border-radius: inherit;
  background: rgba(15,8,4,0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 5;
  color: #E2BA6A;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
}
.empty-tip-overlay.hidden { display: none; }
.empty-tip-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.empty-tip-text {
  max-width: 240px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #F4E5C2;
  margin: 0;
}
.empty-tip-cta {
  background: #7D1F2A;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.empty-tip-cta:hover { background: #962535; }
.empty-tip-cta:active { transform: translateY(1px); }
.empty-tip-dismiss {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: #E2BA6A;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0.7;
  font-family: inherit;
}
.empty-tip-dismiss:hover { opacity: 1; background: rgba(255,255,255,0.08); }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border, #D4C4B0);
  border-radius: 10px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  min-height: 90px;
}
.upload-zone:hover, .upload-zone:focus {
  border-color: var(--accent, #7D1F2A);
  background: #FFF8F8;
  outline: none;
}
.upload-zone.drag-over {
  border-color: var(--accent, #7D1F2A);
  background: #FFF0F0;
}
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #6B5344;
}
.upload-placeholder svg { opacity: 0.5; }
.upload-placeholder span { font-size: 0.82rem; text-align: center; }
.upload-placeholder span strong { color: var(--accent, #7D1F2A); cursor: pointer; }
.upload-hint { font-size: 0.7rem !important; color: #A89880 !important; }
.upload-preview {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border, #D4C4B0);
}
.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.upload-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0,0,0,0.65);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}
.upload-remove-btn:hover { background: rgba(0,0,0,0.85); }

/* ── Share Cover Picker (Publish step) ── */
.share-cover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.share-cover-thumb {
  border: 1.5px solid var(--border, #D4C4B0);
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
}
.share-cover-thumb:hover { border-color: var(--accent, #7D1F2A); }
.share-cover-thumb.active {
  border-color: var(--accent, #7D1F2A);
  box-shadow: 0 0 0 2px rgba(198,40,40,0.2);
}
.share-cover-thumb-art {
  border-radius: 5px;
  height: 42px;
  width: 100%;
  display: block;
}
.share-cover-thumb-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1A1208;
  text-align: center;
  margin-top: 4px;
  line-height: 1.2;
}
.share-cover-upload-zone .upload-preview img {
  border-radius: 6px;
}

/* ── Property Editor Section ── */
.property-editor-section {
  margin-top: 32px;
  border-top: 1px solid var(--border, #D4C4B0);
  padding-top: 20px;
}
.property-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.btn-reset-all {
  padding: 5px 14px;
  border: 1.5px solid var(--border, #D4C4B0);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6B5344;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-reset-all:hover {
  border-color: #7D1F2A;
  color: #7D1F2A;
}
.property-editor-hint {
  font-size: 0.72rem;
  color: #A89880;
  margin-bottom: 18px;
}
.prop-group {
  margin-bottom: 20px;
  border: 1.5px solid var(--border, #D4C4B0);
  border-radius: 8px;
  overflow: hidden;
}
.prop-group-label {
  display: block;
  padding: 6px 12px;
  background: var(--border, #D4C4B0);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B5344;
}
.prop-field {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  align-items: center;
  gap: 0;
  border-top: 1px solid #E8DDD0;
  padding: 6px 8px;
  background: #fff;
  transition: background 0.1s;
}
.prop-field:hover { background: #FDFAF5; }
.prop-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1A1208;
  padding-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prop-input {
  width: 100%;
  padding: 5px 8px;
  border: 1.5px solid transparent;
  border-radius: 5px;
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  color: #2D1F14;
  background: #F9F4EE;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.prop-input:focus {
  border-color: #7D1F2A;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(125,31,42,0.1);
}
.prop-reset {
  width: 28px;
  height: 28px;
  border: 1.5px solid #E8DDD0;
  border-radius: 50%;
  background: transparent;
  color: #A89880;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
  margin-left: 6px;
}
.prop-reset:hover {
  border-color: #7D1F2A;
  color: #7D1F2A;
}
.tile-art-btn {
  height: 28px;
  padding: 0 10px;
  border: 1.5px solid #E8DDD0;
  border-radius: 14px;
  background: #F9F4EE;
  color: #6B5344;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
  margin-left: 6px;
}
.tile-art-btn:hover { border-color: #7D1F2A; color: #1A1208; }
.tile-art-btn[disabled] { opacity: 0.7; cursor: progress; }
.tile-art-btn-has { background: #fff; }
.tile-art-clear {
  width: 24px;
  height: 24px;
  border: 1.5px solid #E8DDD0;
  border-radius: 50%;
  background: #fff;
  color: #7D1F2A;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 4px;
}
.tile-art-clear:hover { background: #7D1F2A; color: #fff; border-color: #7D1F2A; }
.tile-art-thumb {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: #E8DDD0;
  border: 1px solid #D4C4B0;
}
.tile-art-spinner {
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid rgba(0,0,0,0.15);
  border-top-color: #7D1F2A;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.board-cell { position: relative; overflow: hidden; }
.cell-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.cell-art-band {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26%;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}
.board-cell .cell-art-img + .cell-name,
.board-cell .cell-art-img ~ .cell-price { z-index: 2; }

/* ── Money Editor Section ── */
.money-section { margin-top: 32px; border-top: 1px solid var(--border, #D4C4B0); padding-top: 20px; }
.money-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.money-card {
  border: 1.5px solid var(--border, #D4C4B0);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.15s;
}
.money-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.money-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #F9F4EE;
  border-bottom: 1px solid var(--border, #D4C4B0);
}
.money-preview-color {
  width: 36px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.money-preview-value {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1A1208;
  flex: 1;
}
.money-preview-label {
  font-size: 0.72rem;
  color: #6B5344;
  font-style: italic;
}
.money-card-body { padding: 8px 10px 10px; }
.money-field { margin-bottom: 8px; }
.money-field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B5344;
  margin-bottom: 4px;
}
.money-name-input {
  width: 100%;
  padding: 5px 8px;
  border: 1.5px solid var(--border, #D4C4B0);
  border-radius: 5px;
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  color: #2D1F14;
  background: #F9F4EE;
  outline: none;
  transition: border-color 0.15s;
}
.money-name-input:focus { border-color: #7D1F2A; background: #fff; box-shadow: 0 0 0 3px rgba(125,31,42,0.1); }
.money-face-zone {
  border: 2px dashed var(--border, #D4C4B0);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #F9F4EE;
  transition: border-color 0.15s, background 0.15s;
  min-height: 52px;
}
.money-face-zone:hover, .money-face-zone:focus {
  border-color: #7D1F2A;
  background: #FFF8F8;
  outline: none;
}
.money-face-placeholder {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #A89880;
  font-size: 0.72rem;
}
.money-face-placeholder svg { flex-shrink: 0; opacity: 0.6; }
.money-face-preview-img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border, #D4C4B0);
}
.money-face-remove {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s;
}
.money-face-remove:hover { background: rgba(0,0,0,0.8); }

/* ── Card Editor Section ── */
.card-section { margin-top: 32px; border-top: 1px solid var(--border, #D4C4B0); padding-top: 20px; }
.card-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 14px;
}
.card-col { display: flex; flex-direction: column; gap: 0; }
.card-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px 8px 0 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}
.chance-header { background: #C9963E; }
.cc-header     { background: #1565C0; }
.card-col-icon { font-size: 1rem; line-height: 1; }
.card-list { display: flex; flex-direction: column; gap: 0; }
.card-item {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border, #D4C4B0);
  border-top: none;
  background: #fff;
  transition: background 0.1s;
}
.card-item:first-child { border-top: 1.5px solid var(--border, #D4C4B0); border-radius: 0 8px 0 0; }
.card-item:last-child  { border-radius: 0 0 8px 8px; }
.card-item:first-child:last-child { border-radius: 8px; }
.card-item:hover { background: #FDFAF5; }
.card-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #A89880;
  padding: 0 4px;
  border-right: 1px solid var(--border, #D4C4B0);
  height: 100%;
  min-height: 52px;
  background: #F9F4EE;
}
.chance-header ~ .card-list .card-num { background: #FFF9EC; }
.cc-header ~ .card-list .card-num     { background: #EEF4FF; }
.card-textarea {
  width: 100%;
  padding: 7px 8px;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #2D1F14;
  resize: vertical;
  min-height: 52px;
  outline: none;
  line-height: 1.4;
  transition: background 0.15s;
}
.card-textarea:focus { background: #FFF; }
.card-reset-btn {
  width: 28px;
  height: 28px;
  border: 1.5px solid #E8DDD0;
  border-radius: 50%;
  background: transparent;
  color: #A89880;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
  margin-right: 8px;
}
.card-reset-btn:hover { border-color: #7D1F2A; color: #7D1F2A; }
.card-section .btn-reset-all { margin-top: 10px; align-self: flex-start; }

/* ── Play Modal ── */
.play-tab.active {
  color: #7D1F2A !important;
  border-bottom-color: #7D1F2A !important;
}
.play-cell-hl {
  box-shadow: 0 0 0 3px #FFD700, 0 0 12px rgba(255,215,0,0.6) !important;
  z-index: 5 !important;
}
.play-msg-box { display: flex; align-items: center; }
.info-msg  { background: #F5F5F5; color: #2D1F14; }
.chest-msg { background: #EEF4FF; color: #1565C0; }
.jail-msg  { background: #FFF0E6; color: #7D1F2A; }
.game-over-msg { background: #FFEBEE; color: #C62828; font-weight: 700; }
#play-close-btn:hover {
  border-color: #7D1F2A; color: #7D1F2A; background: #FFF8F8;
}

/* Responsive */
@media (max-width: 900px) {
  .editor-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }
  .editor-panel { border-right: none; border-bottom: 1px solid var(--border, #D4C4B0); }
  .board-preview-col { padding: 24px; }
}