/* ==========================================================================
   DYNAMICWORK DESIGN SYSTEM TOKENS (REBRAND 2026) — Web Hosting Edition (100% Client-Side)
   Proprietary Interface of Dynamicwork Co., Ltd.
   Visual Experience Studio — Clarity in Motion
   ========================================================================== */

:root {
  --dw-black: #0E0E0E;
  --dw-graphite: #1A1A1A;
  --dw-surface-deep: #141414;
  --dw-steel-gray: #707070;
  --dw-soft-gray: #B8B8B8;
  --dw-white: #F5F5F5;
  --dw-orange: #E3791D;
  --dw-orange-bright: #F08A30;
  --dw-green: #004A2A;
  --dw-green-light: #0C6B43;

  --dw-border-subtle: rgba(245, 245, 245, 0.08);
  --dw-border-line: rgba(245, 245, 245, 0.14);
  --dw-border-hover-glow: rgba(227, 121, 29, 0.28);
  --dw-border-active: #E3791D;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1520px;
  --font-primary: 'Prompt', system-ui, -apple-system, sans-serif;
  --font-tech: 'Sora', 'Space Grotesk', monospace, sans-serif;

  --ease-dw: cubic-bezier(0.4, 0.0, 0.2, 1.0);
  --dur-hover: 0.25s;

  --shadow-01: 0 2px 6px rgba(0, 0, 0, 0.2);
  --shadow-02: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-03: 0 10px 40px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dw-black);
  background-image:
    radial-gradient(circle at 14% 12%, rgba(0, 74, 42, 0.32), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(227, 121, 29, 0.09), transparent 30%),
    radial-gradient(circle at 50% 92%, rgba(0, 74, 42, 0.18), transparent 45%);
  background-attachment: fixed;
  color: var(--dw-white);
  font-family: var(--font-primary);
  font-size: 14.5px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header & Brand Bar */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dw-border-subtle);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  padding: 7px;
  border-radius: var(--radius-md);
  background: var(--dw-graphite);
  border: 1px solid var(--dw-border-line);
  box-shadow: var(--shadow-01);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-hover) var(--ease-dw), box-shadow var(--dur-hover) var(--ease-dw);
}

.brand-logo-wrap:hover {
  border-color: var(--dw-orange);
  box-shadow: 0 0 20px rgba(227, 121, 29, 0.25);
}

.brand-logo-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-eyebrow {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dw-orange);
}

.brand-main-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dw-white);
  line-height: 1.25;
}

.brand-sub-tagline {
  font-size: 11.5px;
  color: var(--dw-soft-gray);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tech-badge {
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--dw-graphite);
  border: 1px solid var(--dw-border-subtle);
  color: var(--dw-soft-gray);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tech-badge strong {
  color: var(--dw-white);
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-badge.accent {
  border-color: rgba(227, 121, 29, 0.42);
  background: rgba(227, 121, 29, 0.12);
  color: var(--dw-orange);
}

/* Main Workspace Layout */
.workspace-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 32px 110px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 3-Column Streamlined Deck */
.control-deck {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1240px) {
  .control-deck {
    grid-template-columns: 1fr;
  }
}

.panel-card {
  background: var(--dw-graphite);
  border: 1px solid var(--dw-border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-02), inset 0 1px 0 rgba(245, 245, 245, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--dw-border-subtle);
  padding-bottom: 10px;
}

.panel-step-tag {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  color: var(--dw-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}

.panel-title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--dw-white);
  line-height: 1.3;
}

/* Step 01: Direct Browse Video Box */
.browse-hero-box {
  background: linear-gradient(135deg, rgba(227, 121, 29, 0.14), rgba(0, 74, 42, 0.2));
  border: 1.5px dashed rgba(227, 121, 29, 0.55);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.browse-hero-box.drag-active {
  border-color: var(--dw-orange-bright);
  background: rgba(227, 121, 29, 0.22);
}

.browse-video-btn {
  width: 100%;
  padding: 12px 16px;
  font-size: 14.5px;
}

.browse-sub-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.working-path-box {
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
}

.working-path-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow: hidden;
}

.working-path-row .path-label {
  color: var(--dw-soft-gray);
  white-space: nowrap;
  flex-shrink: 0;
}

.working-path-row .path-val {
  font-family: var(--font-tech);
  color: var(--dw-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.working-path-row .path-val.highlight {
  color: #5CE6A0;
  font-weight: 600;
}

/* Video List Cards */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}

.video-card {
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-subtle);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease-dw);
}

.video-card:hover {
  transform: translateY(-1px);
  border-color: var(--dw-border-hover-glow);
}

.video-card.active {
  border-color: var(--dw-orange);
  background: linear-gradient(135deg, rgba(227, 121, 29, 0.14), rgba(0, 74, 42, 0.16));
  box-shadow: 0 0 18px rgba(227, 121, 29, 0.15);
}

.video-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.video-card-check {
  accent-color: var(--dw-orange);
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.video-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dw-white);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-badge-frames {
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(112, 112, 112, 0.18);
  color: var(--dw-soft-gray);
  flex-shrink: 0;
}

.video-badge-frames.has-frames {
  background: rgba(0, 74, 42, 0.5);
  border: 1px solid rgba(12, 107, 67, 0.7);
  color: #5CE6A0;
}

.video-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--dw-soft-gray);
}

/* Step 02: Mode Switcher Tabs (4 Modes) */
.mode-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.mode-tab-btn {
  background: var(--dw-surface-deep);
  border: 1.5px solid var(--dw-border-line);
  border-radius: var(--radius-sm);
  color: var(--dw-soft-gray);
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s var(--ease-dw);
  user-select: none;
}

.mode-tab-btn small {
  display: block;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 400;
  color: var(--dw-steel-gray);
  margin-top: 2px;
}

.mode-tab-btn:hover {
  border-color: var(--dw-orange);
  color: var(--dw-white);
  background: rgba(227, 121, 29, 0.08);
}

.mode-tab-btn.active {
  background: var(--dw-orange);
  border-color: var(--dw-orange);
  color: var(--dw-black);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(227, 121, 29, 0.35);
}

.mode-tab-btn.active small {
  color: var(--dw-black);
  opacity: 0.85;
  font-weight: 500;
}

.mode-explain-banner {
  background: rgba(227, 121, 29, 0.1);
  border-left: 3px solid var(--dw-orange);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  font-size: 12px;
  color: var(--dw-white);
}

/* Controls & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--dw-soft-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.preset-btn {
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-line);
  border-radius: var(--radius-sm);
  color: var(--dw-soft-gray);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease-dw);
  text-align: center;
}

.preset-btn:hover {
  border-color: var(--dw-orange);
  color: var(--dw-white);
}

.preset-btn.active {
  background: rgba(227, 121, 29, 0.2);
  border-color: var(--dw-orange);
  color: var(--dw-orange);
  font-weight: 700;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 9px;
}

.dw-input,
.dw-select {
  width: 100%;
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-line);
  border-radius: var(--radius-sm);
  color: var(--dw-white);
  font-family: var(--font-tech);
  font-size: 12.5px;
  padding: 7px 9px;
  outline: none;
  transition: border-color var(--dur-hover) var(--ease-dw);
}

.dw-input:focus,
.dw-select:focus {
  border-color: var(--dw-orange);
  box-shadow: 0 0 0 2px rgba(227, 121, 29, 0.2);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dw-soft-gray);
  cursor: pointer;
  user-select: none;
}

.checkbox-row input[type="checkbox"] {
  accent-color: var(--dw-orange);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.estimation-box {
  background: rgba(0, 74, 42, 0.22);
  border: 1px solid rgba(12, 107, 67, 0.55);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.estimation-box .est-number {
  font-family: var(--font-tech);
  font-size: 16px;
  font-weight: 700;
  color: var(--dw-orange);
}

.capture-progress-box {
  display: none;
  background: rgba(227, 121, 29, 0.12);
  border: 1px solid var(--dw-orange);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.capture-progress-box.active {
  display: block;
}

.progress-bar-track {
  width: 100%;
  height: 7px;
  background: var(--dw-surface-deep);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--dw-orange), #5CE6A0);
  transition: width 0.15s ease;
}

/* Dynamicwork Buttons */
.btn-primary {
  background: var(--dw-orange);
  color: var(--dw-black);
  border: 2px solid var(--dw-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--dur-hover) var(--ease-dw);
  box-shadow: var(--shadow-01);
}

.btn-primary:hover:not(:disabled) {
  background: var(--dw-orange-bright);
  border-color: var(--dw-orange-bright);
  box-shadow: 0 0 22px rgba(227, 121, 29, 0.35);
}

.btn-primary .arrow-icon,
.btn-secondary .arrow-icon {
  display: inline-block;
  transition: transform var(--dur-hover) var(--ease-dw);
}

.btn-primary:hover:not(:disabled) .arrow-icon,
.btn-secondary:hover:not(:disabled) .arrow-icon {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--dw-white);
  border: 1.5px solid var(--dw-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--dur-hover) var(--ease-dw);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(227, 121, 29, 0.14);
  box-shadow: 0 0 18px rgba(227, 121, 29, 0.22);
}

.btn-ghost {
  background: rgba(245, 245, 245, 0.04);
  color: var(--dw-soft-gray);
  border: 1px solid var(--dw-border-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--dur-hover) var(--ease-dw);
}

.btn-ghost:hover:not(:disabled),
.btn-ghost.active {
  border-color: var(--dw-orange);
  color: var(--dw-white);
  background: rgba(227, 121, 29, 0.14);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* Video Preview & Scrubber Panel */
.video-player-wrap {
  background: var(--dw-black);
  border: 1px solid var(--dw-border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-timecode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-subtle);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-family: var(--font-tech);
  font-size: 12px;
}

.player-scrubber-btns-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.player-scrubber-btns-6 .btn-ghost {
  justify-content: center;
  padding: 6px 4px;
  font-size: 11.5px;
}

/* Overview Gallery Section */
.overview-section {
  background: var(--dw-graphite);
  border: 1px solid var(--dw-border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-02);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.overview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dw-border-subtle);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-tab-btn {
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-line);
  border-radius: var(--radius-sm);
  color: var(--dw-soft-gray);
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--dur-hover) var(--ease-dw);
}

.gallery-tab-btn:hover {
  border-color: var(--dw-orange);
  color: var(--dw-white);
}

.gallery-tab-btn.active {
  background: var(--dw-orange);
  border-color: var(--dw-orange);
  color: var(--dw-black);
  font-weight: 700;
}

/* Subfolder Switcher Bar */
.subfolder-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(0, 74, 42, 0.16);
  border: 1px solid rgba(12, 107, 67, 0.45);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.subfolder-label {
  font-size: 12px;
  font-weight: 600;
  color: #5CE6A0;
  margin-right: 4px;
}

.subfolder-pill {
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-line);
  border-radius: var(--radius-sm);
  color: var(--dw-soft-gray);
  font-family: var(--font-primary);
  font-size: 12px;
  padding: 5px 11px;
  cursor: pointer;
  transition: all 0.2s var(--ease-dw);
}

.subfolder-pill:hover {
  border-color: var(--dw-orange);
  color: var(--dw-white);
}

.subfolder-pill.active {
  background: var(--dw-orange);
  border-color: var(--dw-orange);
  color: var(--dw-black);
  font-weight: 700;
}

/* Thumbnail Grid Modes (Preserves True Aspect Ratio 9:16, 1:1, 16:9) */
.frames-grid {
  display: grid;
  gap: 14px;
  align-items: start;
}

.frames-grid.grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.frames-grid.grid-standard {
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
}

.frames-grid.grid-large {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.frame-card {
  background: var(--dw-surface-deep);
  border: 1px solid var(--dw-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-hover) var(--ease-dw);
}

.frame-card:hover {
  transform: translateY(-3px);
  border-color: var(--dw-border-hover-glow);
  box-shadow: var(--shadow-02);
}

.frame-card.selected-for-curate {
  border: 2px solid var(--dw-orange);
  box-shadow: 0 0 18px rgba(227, 121, 29, 0.35);
}

.frame-thumb-wrap {
  position: relative;
  background: var(--dw-black);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-thumb-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.frame-select-check {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: rgba(14, 14, 14, 0.85);
  border: 1.5px solid rgba(245, 245, 245, 0.35);
  color: var(--dw-white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.frame-select-check:hover {
  border-color: var(--dw-orange);
}

.frame-card.selected-for-curate .frame-select-check {
  background: var(--dw-orange);
  border-color: var(--dw-orange);
  color: var(--dw-black);
}

.frame-time-pill {
  position: absolute;
  top: 7px;
  right: 7px;
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(14, 14, 14, 0.85);
  border: 1px solid rgba(227, 121, 29, 0.45);
  color: var(--dw-orange);
}

.frame-video-pill {
  position: absolute;
  bottom: 6px;
  left: 6px;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: rgba(14, 14, 14, 0.85);
  color: var(--dw-soft-gray);
}

.frame-card-footer {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-tech);
  font-size: 11px;
}

.frame-filename {
  color: var(--dw-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frame-dl-btn {
  background: transparent;
  border: 1px solid var(--dw-border-line);
  border-radius: var(--radius-sm);
  color: var(--dw-soft-gray);
  font-size: 10.5px;
  padding: 2px 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.frame-dl-btn:hover {
  border-color: var(--dw-orange);
  color: var(--dw-orange);
}

.empty-gallery {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--dw-border-line);
  border-radius: var(--radius-md);
  color: var(--dw-soft-gray);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.empty-gallery-icon {
  font-size: 32px;
}

/* Sequence Curation Floating Dock */
.curation-dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 220;
  background: rgba(20, 20, 20, 0.96);
  backdrop-filter: blur(16px);
  border: 2px solid var(--dw-orange);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  box-shadow: var(--shadow-03), 0 0 30px rgba(227, 121, 29, 0.25);
  display: none;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 95vw;
}

.curation-dock.visible {
  display: flex;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--dw-graphite);
  border: 1.5px solid var(--dw-orange);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  box-shadow: var(--shadow-03);
  color: var(--dw-white);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success {
  border-color: #5CE6A0;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 40px;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 0;
  padding: 16px 0;
}

.lightbox-stage img {
  max-width: 85vw;
  max-height: 76vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--dw-border-line);
  box-shadow: var(--shadow-03);
  object-fit: contain;
}

.lightbox-nav-btn {
  background: var(--dw-graphite);
  border: 1px solid var(--dw-border-line);
  color: var(--dw-white);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  font-size: 20px;
  cursor: pointer;
}

.lightbox-nav-btn:hover {
  border-color: var(--dw-orange);
  color: var(--dw-orange);
}

.lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--dw-graphite);
  border: 1px solid var(--dw-border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 20px;
}

.studio-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px 48px;
  border-top: 1px solid var(--dw-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--dw-steel-gray);
  font-size: 12px;
}
