/* 웰페어고 멀티트랙 영상 편집 스튜디오 — 프로 다크 NLE 인터페이스 */

:root {
  --ve-bg: #0c1017;
  --ve-panel: #131924;
  --ve-panel-2: #1a2230;
  --ve-panel-3: #232d3f;
  --ve-border: #2a3548;
  --ve-text: #f1f5f9;
  --ve-muted: #94a3b8;
  --ve-accent: #2563eb;
  --ve-accent-2: #06b6d4;
  --ve-danger: #ef4444;
  --ve-success: #10b981;
  --ve-playhead: #f43f5e;
}

body.video-studio-page .top {
  background: #10151f;
  border-bottom-color: #243043;
  color: #f1f5f9;
}

body.video-studio-page .top nav a:hover,
body.video-studio-page .top nav [aria-current] {
  color: #38bdf8;
}

.ve-shell {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 55px);
  min-height: 660px;
  background: var(--ve-bg);
  color: var(--ve-text);
  overflow: hidden;
  user-select: none;
}

.ve-shell [hidden],
.ve-modal[hidden],
.ve-modal [hidden] {
  display: none !important;
}

/* === Top Bar === */
.ve-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px;
  background: var(--ve-panel);
  border-bottom: 1px solid var(--ve-border);
  flex-wrap: wrap;
}

.ve-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ve-title-input {
  width: 190px;
  height: 31px;
  padding: 0 10px;
  border: 1px solid var(--ve-border);
  border-radius: 7px;
  background: var(--ve-panel-2);
  color: var(--ve-text);
  font-size: 0.85rem;
  font-weight: 700;
}

.ve-select {
  height: 31px;
  padding: 0 9px;
  border: 1px solid var(--ve-border);
  border-radius: 7px;
  background: var(--ve-panel-2);
  color: var(--ve-text);
  font-size: 0.82rem;
  font-weight: 600;
  width: auto;
}

.ve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 31px;
  padding: 0 11px;
  border: 1px solid var(--ve-border);
  border-radius: 7px;
  background: var(--ve-panel-2);
  color: var(--ve-text);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.13s, border-color 0.13s;
}

.ve-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ve-btn:hover:not(:disabled) {
  background: var(--ve-panel-3);
  border-color: #475569;
}

.ve-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.ve-btn.is-active {
  background: #172554;
  border-color: #3b82f6;
  color: #93c5fd;
}

.ve-btn-primary {
  background: var(--ve-accent);
  border-color: var(--ve-accent);
  color: #fff;
}

.ve-btn-primary:hover:not(:disabled) {
  background: #1d4ed8;
}

.ve-btn-cyan {
  background: #0891b2;
  border-color: #0891b2;
  color: #fff;
}

.ve-btn-cyan:hover:not(:disabled) {
  background: #0e7490;
}

.ve-btn-danger {
  color: #fca5a5;
  border-color: #7f1d1d;
}

.ve-btn-danger:hover:not(:disabled) {
  background: #450a0a;
}

.ve-btn-sm {
  height: 27px;
  padding: 0 8px;
  font-size: 0.77rem;
}

.ve-sep {
  width: 1px;
  height: 20px;
  background: var(--ve-border);
  margin: 0 2px;
}

/* === Upper 3-Pane Editor Deck (Assets | Preview | Inspector) === */
.ve-deck {
  flex: 1;
  min-height: 280px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 310px;
  border-bottom: 1px solid var(--ve-border);
  overflow: hidden;
}

/* Left Asset Browser */
.ve-assets {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  background: var(--ve-panel);
  border-right: 1px solid var(--ve-border);
  min-height: 0;
}

.ve-asset-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 5px;
  background: #0f141e;
  border-right: 1px solid var(--ve-border);
  overflow-y: auto;
}

.ve-atab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ve-muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.ve-atab svg {
  width: 17px;
  height: 17px;
}

.ve-atab:hover {
  color: var(--ve-text);
  background: var(--ve-panel-2);
}

.ve-atab.is-active {
  background: #172554;
  border-color: #2563eb;
  color: #60a5fa;
}

.ve-asset-body {
  padding: 10px;
  overflow-y: auto;
  min-height: 0;
}

.ve-apane[hidden] {
  display: none;
}

.ve-apane h2 {
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0 0 9px;
  color: #e2e8f0;
}

.ve-drop-upload {
  border: 1.5px dashed #3b82f6;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 10px;
  cursor: pointer;
}

.ve-drop-upload strong {
  display: block;
  font-size: 0.83rem;
  color: #93c5fd;
}

.ve-drop-upload small {
  color: var(--ve-muted);
  font-size: 0.74rem;
}

.ve-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ve-media-card {
  border: 1px solid var(--ve-border);
  border-radius: 9px;
  background: var(--ve-panel-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ve-media-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #0b0f16;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ve-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ve-media-dur {
  position: absolute;
  right: 4px;
  bottom: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
}

.ve-media-foot {
  padding: 5px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.ve-media-foot span {
  font-size: 0.74rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

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

.ve-preset-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--ve-border);
  border-radius: 8px;
  background: var(--ve-panel-2);
  color: var(--ve-text);
  text-align: left;
  font-size: 0.79rem;
}

.ve-preset-item:hover {
  border-color: #38bdf8;
  background: var(--ve-panel-3);
}

.ve-preset-item small {
  display: block;
  color: var(--ve-muted);
  font-size: 0.71rem;
  margin-top: 2px;
}

.ve-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ve-sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ve-sticker-btn {
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--ve-border);
  border-radius: 8px;
  background: var(--ve-panel-2);
  display: grid;
  place-items: center;
}

.ve-sticker-btn:hover {
  border-color: #38bdf8;
  background: var(--ve-panel-3);
}

.ve-sticker-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Center Preview Player */
.ve-preview-pane {
  display: flex;
  flex-direction: column;
  background: #090c12;
  min-width: 0;
  min-height: 0;
}

.ve-preview-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.ve-canvas-wrap {
  position: relative;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.7);
  border: 1px solid #263142;
  background: #000;
}

#vePreviewCanvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

#vePreviewOverlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.ve-transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px;
  background: var(--ve-panel);
  border-top: 1px solid var(--ve-border);
}

.ve-timecode {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.84rem;
  font-weight: 700;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
}

.ve-timecode span {
  color: var(--ve-muted);
  font-weight: 500;
}

/* Right Inspector */
.ve-inspector {
  background: var(--ve-panel);
  border-left: 1px solid var(--ve-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ve-insp-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ve-border);
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ve-insp-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  min-height: 0;
}

.ve-sec {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #202938;
}

.ve-sec:last-child {
  border-bottom: 0;
}

.ve-sec h3 {
  font-size: 0.79rem;
  font-weight: 800;
  color: #93c5fd;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ve-slider {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  align-items: center;
  margin-bottom: 8px;
}

.ve-slider label {
  font-size: 0.77rem;
  color: #cbd5e1;
  font-weight: 600;
}

.ve-slider output {
  font-size: 0.74rem;
  color: #38bdf8;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ve-slider input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  accent-color: #2563eb;
}

.ve-field {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 0.77rem;
  font-weight: 600;
  color: #cbd5e1;
}

.ve-field input,
.ve-field select,
.ve-field textarea {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--ve-border);
  border-radius: 7px;
  background: var(--ve-panel-2);
  color: var(--ve-text);
  font-size: 0.81rem;
  font-family: inherit;
}

.ve-field textarea {
  resize: vertical;
  min-height: 54px;
}

.ve-kf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.ve-kf-chip {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: #172554;
  border: 1px solid #3b82f6;
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ve-empty-insp {
  color: var(--ve-muted);
  font-size: 0.81rem;
  line-height: 1.6;
  text-align: center;
  padding: 26px 8px;
}

/* === Bottom Multi-Track Timeline === */
.ve-timeline-dock {
  height: 270px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  background: var(--ve-panel);
}

.ve-tl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 12px;
  background: #0f141e;
  border-bottom: 1px solid var(--ve-border);
  flex-wrap: wrap;
}

.ve-tl-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  overflow: hidden;
}

.ve-tl-headers {
  background: #111722;
  border-right: 1px solid var(--ve-border);
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
}

.ve-tl-corner {
  height: 28px;
  border-bottom: 1px solid var(--ve-border);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ve-muted);
  flex-shrink: 0;
}

.ve-track-head {
  height: 50px;
  border-bottom: 1px solid #1f2937;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-shrink: 0;
}

.ve-track-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ve-track-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ve-track-dot.video { background: #3b82f6; }
.ve-track-dot.overlay { background: #06b6d4; }
.ve-track-dot.text { background: #f59e0b; }
.ve-track-dot.audio { background: #10b981; }

.ve-track-btns {
  display: flex;
  gap: 3px;
}

.ve-icon-mini {
  width: 22px;
  height: 22px;
  border: 1px solid #2b3648;
  border-radius: 5px;
  background: var(--ve-panel-2);
  color: var(--ve-muted);
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  padding: 0;
}

.ve-icon-mini.is-on {
  background: #7f1d1d;
  border-color: #ef4444;
  color: #fecaca;
}

.ve-tl-scroll {
  position: relative;
  overflow: auto;
  background: #0b0f16;
}

.ve-tl-canvas-inner {
  position: relative;
  min-width: 100%;
}

.ve-ruler {
  position: sticky;
  top: 0;
  z-index: 6;
  height: 28px;
  background: #121824;
  border-bottom: 1px solid var(--ve-border);
  cursor: pointer;
}

.ve-ruler canvas {
  display: block;
}

.ve-tracks-lanes {
  position: relative;
}

.ve-lane {
  position: relative;
  height: 50px;
  border-bottom: 1px solid #1b2434;
}

.ve-clip {
  position: absolute;
  top: 5px;
  height: 40px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: grab;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.ve-clip:active {
  cursor: grabbing;
}

.ve-clip.type-video,
.ve-clip.type-image,
.ve-clip.type-colorcard {
  background: linear-gradient(180deg, #1d4ed8, #1e3a8a);
}

.ve-clip.type-sticker {
  background: linear-gradient(180deg, #0891b2, #155e75);
}

.ve-clip.type-text {
  background: linear-gradient(180deg, #d97706, #92400e);
}

.ve-clip.type-audio {
  background: linear-gradient(180deg, #059669, #065f46);
}

.ve-clip.is-selected {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #38bdf8, 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 4;
}

.ve-clip-label {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.ve-clip-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  pointer-events: none;
}

.ve-clip-thumb {
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.38;
  pointer-events: none;
}

.ve-trim-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  z-index: 4;
  cursor: ew-resize;
  background: rgba(255, 255, 255, 0.14);
}

.ve-trim-handle:hover {
  background: rgba(56, 189, 248, 0.85);
}

.ve-trim-handle.left { left: 0; }
.ve-trim-handle.right { right: 0; }

.ve-clip-kf {
  position: absolute;
  bottom: 3px;
  width: 8px;
  height: 8px;
  background: #fde047;
  border: 1px solid #0f172a;
  transform: translateX(-50%) rotate(45deg);
  z-index: 5;
  pointer-events: none;
}

.ve-clip-trans {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #06b6d4;
  color: #082f49;
  font-size: 0.68rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  z-index: 5;
  border: 1px solid #fff;
}

/* Playhead & Snap Guide */
.ve-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ve-playhead);
  z-index: 10;
  pointer-events: none;
}

.ve-playhead::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  width: 14px;
  height: 14px;
  background: var(--ve-playhead);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}

.ve-snap-line {
  position: absolute;
  top: 28px;
  bottom: 0;
  width: 1.5px;
  background: #38bdf8;
  z-index: 9;
  pointer-events: none;
}

.ve-snap-line[hidden] {
  display: none;
}

/* Export & Notice Modal */
.ve-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 8, 14, 0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ve-modal[hidden] {
  display: none;
}

.ve-modal-card {
  width: min(490px, 100%);
  background: #141b27;
  color: var(--ve-text);
  border: 1px solid var(--ve-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.ve-modal-card h3 {
  margin: 0 0 14px;
  font-size: 1.12rem;
}

.ve-progress-bar {
  width: 100%;
  height: 10px;
  background: #1f2937;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 6px;
}

.ve-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  transition: width 0.12s;
}

.ve-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #38bdf8;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.ve-toast:empty {
  display: none;
}

.ve-license-note {
  font-size: 0.74rem;
  color: var(--ve-muted);
  line-height: 1.55;
  background: #0f141e;
  border: 1px solid var(--ve-border);
  border-radius: 8px;
  padding: 9px;
  margin-top: 8px;
}

.ve-license-note a {
  color: #38bdf8;
  text-decoration: underline;
}

/* === Multi-Track Studio Upgrades === */
.ve-autosave-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.ve-insp-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 6px 8px;
  background: #0f141e;
  border-bottom: 1px solid var(--ve-border);
}

.ve-itab {
  padding: 5px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ve-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.ve-itab:hover {
  background: var(--ve-panel-2);
  color: var(--ve-text);
}

.ve-itab.is-active {
  background: #172554;
  border-color: #2563eb;
  color: #93c5fd;
}

/* Live Audio VU Level Meter */
.ve-vu-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--ve-muted);
}

.ve-vu-meter {
  width: 68px;
  height: 10px;
  background: #0b0f16;
  border: 1px solid var(--ve-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 1px;
}

.ve-vu-bar {
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #facc15 72%, #ef4444 100%);
  border-radius: 2px;
  transition: width 0.05s linear;
}

/* Multi-frame Filmstrip inside Video Clips */
.ve-clip-strip {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  opacity: 0.42;
  pointer-events: none;
}

.ve-clip-strip img {
  flex: 1 0 0;
  min-width: 34px;
  height: 100%;
  object-fit: cover;
  border-right: 1px solid rgba(0, 0, 0, 0.35);
}

/* Timeline Markers */
.ve-marker-pin {
  position: absolute;
  top: 2px;
  width: 10px;
  height: 24px;
  transform: translateX(-50%);
  z-index: 8;
  cursor: pointer;
}

.ve-marker-pin::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #22d3ee;
  border: 1px solid #083344;
  transform: rotate(45deg);
}

.ve-marker-pin::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 2px;
  height: 14px;
  background: rgba(34, 211, 238, 0.7);
}

/* Right-click Context Menu */
.ve-ctx-menu {
  position: fixed;
  z-index: 70;
  min-width: 186px;
  background: #141b27;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ve-ctx-menu[hidden] {
  display: none !important;
}

.ve-ctx-item {
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ve-text);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ve-ctx-item:hover {
  background: #232d3f;
}

.ve-ctx-item.danger {
  color: #fca5a5;
}

.ve-ctx-item.danger:hover {
  background: #450a0a;
}

.ve-ctx-sep {
  height: 1px;
  background: #253045;
  margin: 3px 4px;
}

/* AI Auto-Caption Card inside Subtitle Panel */
.ve-ai-card {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.18), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.ve-ai-card strong {
  display: block;
  font-size: 0.82rem;
  color: #e0f2fe;
  margin-bottom: 4px;
}

.ve-ai-card small {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .ve-shell {
    height: auto;
    overflow: visible;
  }
  .ve-deck {
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-rows: 420px auto;
  }
  .ve-inspector {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--ve-border);
  }
}

@media (max-width: 720px) {
  .ve-deck {
    grid-template-columns: 1fr;
    grid-template-rows: 340px auto auto;
  }
  .ve-assets {
    border-right: 0;
    border-bottom: 1px solid var(--ve-border);
  }
}
