/* ================================================================
   GIRI STUDIO — Bois Légendaire
   ================================================================ */

/* ── LAYOUT GLOBAL ── */
[data-theme="wood-legendary"] #view-giri-studio {
[data-theme="wood-legendary"] #view-giri-studio .gs-wrap {
  background: transparent !important;
}
  background-color: transparent !important;
  background-image: none !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
}

[data-theme="wood-legendary"] #view-giri-studio .gs-layout {
  background: transparent !important;
}

/* ── SIDEBAR ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-sidebar {
  background-color: rgba(255,248,220,0.92) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  border-right: 1px solid rgba(212,164,76,0.22) !important;
  box-shadow: 6px 0 24px rgba(0,0,0,0.55), 12px 0 40px rgba(0,0,0,0.28), 2px 0 6px rgba(90,45,10,0.45) !important;
  position: relative !important;
  z-index: 2 !important;
  border-top-left-radius: 14px !important;
}

[data-theme="wood-legendary"] #view-giri-studio .gs-section {
  background-color: rgba(255,248,220,0.10) !important;
  border: 1px solid rgba(212,164,76,0.16) !important;
  border-radius: 10px !important;
  margin-bottom: 6px !important;
}

#view-giri-studio .gs-section-title {
  text-align: center !important;
}

/* ── Tabs centred ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-tabs {
  justify-content: center !important;
  background-color: transparent !important;
  background-image: none !important;
  position: relative !important;
  z-index: 3 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.50), 0 3px 8px rgba(60,25,0,0.35), 0 -5px 16px rgba(0,0,0,0.40), 0 -2px 6px rgba(60,25,0,0.30) !important;
}

[data-theme="wood-legendary"] #view-giri-studio .gs-section-title {
  color: #F0C060 !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-shadow:
    0 0 8px rgba(240,180,60,0.55),
    0 1px 2px rgba(0,0,0,0.70) !important;
}

/* ── SOURCE GRID (boutons source) ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-source-btn {
  background-color: rgba(255,248,225,0.88) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(212,164,76,0.40) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-source-btn:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.35) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-source-btn.active,
[data-theme="wood-legendary"] #view-giri-studio .gs-source-btn.selected {
  border-color: rgba(212,164,76,0.80) !important;
  box-shadow: 0 0 0 2px rgba(212,164,76,0.55), 0 3px 10px rgba(0,0,0,0.30) !important;
}

/* ── SPEED + FILTER BUTTONS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-speed-btn {
  background-color: rgba(255,248,225,0.82) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(212,164,76,0.32) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-speed-btn.active {
  border-color: rgba(212,164,76,0.80) !important;
  box-shadow: 0 0 0 2px rgba(212,164,76,0.50) !important;
}

/* ── FILTER ROWS (sliders) ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-filter-row label,
[data-theme="wood-legendary"] #view-giri-studio .gs-filter-controls label {
  color: #2A1200 !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-filter-row span,
[data-theme="wood-legendary"] #view-giri-studio .gs-filter-controls span {
  color: #6B3A10 !important;
}

/* ── MAIN AREA ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-main {
  background: transparent !important;
}

/* ── STATUS BAR ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-status-bar {
  background-color: rgba(12,5,0,0.95) !important;
  background-image: url('textures/wood-dark.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #F5EAD5 !important;
  border-bottom: 1px solid rgba(212,164,76,0.20) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.45) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-status-bar * {
  color: #F5EAD5 !important;
}

/* ── BADGE COMPTEUR ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-badge {
  background-color: rgba(212,164,76,0.90) !important;
  color: #1A0800 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35) !important;
}

/* ── TAB BUTTONS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-btn {
  background-color: rgba(160,105,35,0.70) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(212,164,76,0.22) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.30), 0 1px 4px rgba(90,45,10,0.25), inset 0 1px 0 rgba(255,235,160,0.35) !important;
  transition: box-shadow 0.2s, transform 0.15s !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-btn.active {
  background-color: rgba(255,248,220,0.90) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  color: #1A0800 !important;
  font-weight: 700 !important;
  border-color: rgba(212,164,76,0.55) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 22px rgba(0,0,0,0.40), 0 2px 6px rgba(90,45,10,0.35), inset 0 1px 0 rgba(255,240,170,0.60), 0 0 0 1px rgba(212,164,76,0.45) !important;
}

[data-theme="wood-legendary"] #view-giri-studio .gs-tab-btn:hover:not(.active) {
  box-shadow: 0 6px 20px rgba(0,0,0,0.38), 0 2px 6px rgba(90,45,10,0.30), inset 0 1px 0 rgba(255,235,160,0.45) !important;
  transform: translateY(-1px) !important;
}
/* ── TAB PANELS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-panel {
  background-color: transparent !important;
  background-image: none !important; /* transparent panel */
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  border: 1px solid rgba(212,164,76,0.18) !important;
}

/* ── PREVIEW AREA ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-preview-wrap {
  background-color: rgba(8,3,0,0.95) !important;
  border: 1px solid rgba(212,164,76,0.22) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.55) !important;
}

/* ── CLIPS HEADER + SUB-HEADER ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-clips-header,
[data-theme="wood-legendary"] #view-giri-studio .gs-sub-header {
  background-color: rgba(120,72,20,0.75) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #F5EAD5 !important;
  border-bottom: 1px solid rgba(212,164,76,0.20) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-clips-header *,
[data-theme="wood-legendary"] #view-giri-studio .gs-sub-header * {
  color: #F5EAD5 !important;
}

/* ── EXPORT SECTION ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-export-section {
  background-color: rgba(140,85,25,0.50) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  border: 1px solid rgba(212,164,76,0.25) !important;
  border-radius: 12px !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-export-info,
[data-theme="wood-legendary"] #view-giri-studio .gs-export-note {
  color: #F5EAD5 !important;
}

/* ── FORM GROUPS (export labels/inputs) ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-form-group label {
  color: #F5EAD5 !important;
  font-weight: 600 !important;
}

/* ── ICON BUTTONS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-icon-btn {
  background-color: rgba(255,248,220,0.82) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
  border: 1px solid rgba(212,164,76,0.35) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-icon-btn:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.32) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-icon-btn--danger {
  background-color: rgba(192,64,40,0.15) !important;
  background-image: none !important;
  color: #E05030 !important;
  border-color: rgba(220,80,50,0.35) !important;
}

/* ── SMALL BUTTONS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-btn--sm {
  background-color: rgba(255,248,220,0.82) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(212,164,76,0.35) !important;
}

/* ── EXPORT MP4 BUTTON ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-btn--export-mp4 {
  background-color: rgba(255,248,220,0.92) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(212,164,76,0.48) !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,235,160,0.45) !important;
}

/* ── BTN ROW (row de boutons record) ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-btn-row {
  background: transparent !important;
}

/* ── ANNOTATION TOOLS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-annot-tools {
  background-color: rgba(140,85,25,0.50) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  border: 1px solid rgba(212,164,76,0.22) !important;
  border-radius: 10px !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-annot-row label {
  color: #2A1200 !important;
}

/* ── AUDIO INFO ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-audio-info {
  color: #6B3A10 !important;
}

/* ── PLACEHOLDER ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-record-placeholder {
  color: #DCC8A8 !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-placeholder-icon {
  opacity: 0.55 !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-placeholder-text {
  color: #F5EAD5 !important;
  font-weight: 600 !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-placeholder-sub {
  color: #F5EAD5 !important;
}

/* ── CLIPS ACTIONS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-clips-actions {
  background: transparent !important;
  border-top: 1px solid rgba(212,164,76,0.18) !important;
}

/* ── PRO / LIMIT BADGE ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-pro-badge,
[data-theme="wood-legendary"] #view-giri-studio .gs-limit-badge {
  background-color: rgba(212,164,76,0.85) !important;
  color: #1A0800 !important;
  font-weight: 700 !important;
}

/* ── SUB-TEXTAREA ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-sub-textarea {
  background-color: rgba(20,8,0,0.55) !important;
  border: 1px solid rgba(212,164,76,0.28) !important;
  color: #F2E8D8 !important;
}

/* ── GENERAL TEXT ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-main *:not(button):not(input):not(select):not(textarea):not(.gs-clip-title):not(.gs-clip-meta) {
  color: #F2E8D8;
}

/* ── BOUTONS PAUSE + STOP — bien visibles ── */
[data-theme=wood-legendary] #view-giri-studio #gs-btn-pause {
  background-color: rgba(200,140,20,0.92) !important;
  background-image: url('textures/wood-medium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #FFF8E0 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(212,164,76,0.65) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(180,120,0,0.50), 0 2px 6px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,235,120,0.45) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
[data-theme=wood-legendary] #view-giri-studio #gs-btn-pause:hover:not(:disabled) {
  box-shadow: 0 6px 22px rgba(180,120,0,0.65), 0 2px 8px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,240,140,0.55) !important;
  transform: translateY(-1px) !important;
}

[data-theme=wood-legendary] #view-giri-studio #gs-btn-stop {
  background-color: rgba(180,40,20,0.90) !important;
  background-image: none !important;
  color: #FFE8E0 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(220,80,50,0.65) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(180,40,20,0.55), 0 2px 6px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,160,140,0.30) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
[data-theme=wood-legendary] #view-giri-studio #gs-btn-stop:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(200,50,20,0.65), 0 2px 8px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,180,160,0.35) !important;
  transform: translateY(-1px) !important;
}

/* ── CENTRAGE TEXTE DANS TOUS LES BOUTONS ── */
[data-theme=wood-legendary] #view-giri-studio .gs-btn,
[data-theme=wood-legendary] #view-giri-studio .gs-tab-btn,
[data-theme=wood-legendary] #view-giri-studio .gs-source-btn,
[data-theme=wood-legendary] #view-giri-studio .gs-speed-btn,
[data-theme=wood-legendary] #view-giri-studio .gs-icon-btn,
[data-theme=wood-legendary] #view-giri-studio .gs-btn--sm,
[data-theme=wood-legendary] #view-giri-studio .gs-extra-btn {
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}

/* ── BOUTONS PAUSE + STOP — bien visibles ── */
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-pause {
  background-color: rgba(200,140,20,0.92) !important;
  background-image: url('textures/wood-medium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #FFF8E0 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(212,164,76,0.65) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(180,120,0,0.50), 0 2px 6px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,235,120,0.45) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-pause:hover:not(:disabled) {
  box-shadow: 0 6px 22px rgba(180,120,0,0.65), 0 2px 8px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,240,140,0.55) !important;
  transform: translateY(-1px) !important;
}
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-stop {
  background-color: rgba(180,40,20,0.90) !important;
  background-image: none !important;
  color: #FFE8E0 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(220,80,50,0.65) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(180,40,20,0.55), 0 2px 6px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,160,140,0.30) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-stop:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(200,50,20,0.65), 0 2px 8px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,180,160,0.35) !important;
  transform: translateY(-1px) !important;
}

/* ── CENTRAGE TEXTE DANS TOUS LES BOUTONS ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-btn,
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-btn,
[data-theme="wood-legendary"] #view-giri-studio .gs-source-btn,
[data-theme="wood-legendary"] #view-giri-studio .gs-speed-btn,
[data-theme="wood-legendary"] #view-giri-studio .gs-icon-btn,
[data-theme="wood-legendary"] #view-giri-studio .gs-btn--sm {
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}

/* ── Sidebar : centrage textes + boutons ── */
#view-giri-studio .gs-sidebar .gs-btn,
#view-giri-studio .gs-sidebar .gs-toggle-btn {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
#view-giri-studio .gs-sidebar .gs-btn-row .gs-btn {
  width: auto !important;
  flex: 1 !important;
}
#view-giri-studio .gs-sidebar .gs-source-btn,
#view-giri-studio .gs-sidebar .gs-speed-btn {
  text-align: center !important;
  justify-content: center !important;
}
#view-giri-studio .gs-sidebar .gs-toggle-label {
  justify-content: center !important;
  width: 100% !important;
}
#view-giri-studio .gs-sidebar .gs-filter-row {
  justify-content: center !important;
}
#view-giri-studio .gs-sidebar .gs-filter-row > span {
  text-align: center !important;
  flex-shrink: 0 !important;
}
#view-giri-studio .gs-sidebar .gs-speed-row {
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}
#view-giri-studio .gs-sidebar .gs-annot-tools {
  align-items: center !important;
}
#view-giri-studio .gs-sidebar .gs-tool-row {
  justify-content: center !important;
}

/* ── Clips header : angles arrondis + "0 clips" décalé du bord ── */
#view-giri-studio .gs-clips-header {
  border-radius: 10px !important;
  padding: 8px 12px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
#view-giri-studio .gs-clips-header > span {
  padding-left: 4px !important;
}

/* ── SOUS-TITRES + TÉLÉCHARGER → texte noir ── */
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-subtitles,
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-export-webm,
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-export-mp4 {
  color: #000000 !important;
}

/* ── PANEL SOUS-TITRES — plus clair ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-panel[data-panel="subtitles"] {
  background-color: rgba(255,248,220,0.88) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-panel[data-panel="subtitles"] .gs-sub-header {
  background-color: rgba(255,245,210,0.85) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-panel[data-panel="subtitles"] .gs-sub-header * {
  color: #2A1200 !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-sub-textarea {
  background-color: rgba(255,252,235,0.75) !important;
  background-image: none !important;
  border: 1px solid rgba(212,164,76,0.35) !important;
  color: #1A0800 !important;
}

/* ── EXPORT — textes marron foncé ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-export-info,
[data-theme="wood-legendary"] #view-giri-studio .gs-export-info p,
[data-theme="wood-legendary"] #view-giri-studio .gs-export-info * {
  color: #2A1200 !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-export-note,
[data-theme="wood-legendary"] #view-giri-studio .gs-export-note p,
[data-theme="wood-legendary"] #view-giri-studio .gs-export-note * {
  color: #2A1200 !important;
}

/* ── Ombre tabs → tous panels (z-index sur panels) ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-panels {
  position: relative !important;
  z-index: 2 !important;
}

/* ── AUTO-SHORTS — zone drop + bouton ── */
[data-theme="wood-legendary"] #view-giri-studio .as-upload-zone {
  background-color: rgba(210,165,80,0.60) !important;
  background-image: url('textures/wood-light.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  border: 2px dashed rgba(212,164,76,0.65) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,235,160,0.25) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .as-upload-zone .as-upload-title {
  color: #2A1200 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,235,160,0.40) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .as-upload-zone .as-upload-hint {
  color: #1A0800 !important;
  font-weight: 500 !important;
}

[data-theme="wood-legendary"] #view-giri-studio .as-upload-btn {
  background-color: rgba(255,248,220,0.97) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #1A0800 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(212,164,76,0.55) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,240,160,0.55) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .as-upload-btn:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,245,170,0.65) !important;
  transform: translateY(-1px) !important;
}

/* ── Onglets : pleine hauteur + 100% largeur ── */
#view-giri-studio .gs-tabs {
  align-items: stretch !important;
  padding: 0 !important;
}
#view-giri-studio .gs-tab-btn {
  flex: 1 !important;
  align-self: stretch !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

[data-theme="wood-legendary"] #view-giri-studio #gs-record-area {
  border-top-right-radius: 14px !important;
}

/* ── Sidebar : masquer icônes dans les boutons pour centrage parfait ── */
#view-giri-studio .gs-sidebar .gs-btn > i,
#view-giri-studio .gs-sidebar .gs-btn > svg,
#view-giri-studio .gs-sidebar .gs-toggle-btn > i,
#view-giri-studio .gs-sidebar .gs-toggle-btn > svg {
  display: none !important;
}

/* ── BOUTON ANNOTER (bas sidebar) ── */
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-annot {
  background-color: rgba(255,248,220,0.97) !important;
  background-image: url('textures/wood-light-premium.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #2A1200 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(212,164,76,0.50) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,235,160,0.50) !important;
}
[data-theme="wood-legendary"] #view-giri-studio #gs-btn-annot:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,240,170,0.60) !important;
  transform: translateY(-1px) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-tab-btn[data-tab="auto-shorts"] {
  color: #FFFFFF !important;
}

[data-theme="wood-legendary"] #view-giri-studio .gs-clips-actions .gs-btn--secondary {
  background-color: rgba(185,125,45,0.88) !important;
  background-image: url('textures/wood-body.jpg?v=1774293320') !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  color: #FFF8E0 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(212,164,76,0.45) !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,220,120,0.30) !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-clips-actions .gs-btn--secondary:hover {
  box-shadow: 0 5px 18px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,230,140,0.40) !important;
  transform: translateY(-1px) !important;
}

/* ── Clips : masquer icônes dans les boutons pour centrage parfait ── */
#view-giri-studio .gs-clips-header .gs-btn > i,
#view-giri-studio .gs-clips-header .gs-btn > svg,
#view-giri-studio .gs-clips-actions .gs-btn > i,
#view-giri-studio .gs-clips-actions .gs-btn > svg {
  display: none !important;
}
#view-giri-studio .gs-clips-actions .gs-btn {
  justify-content: center !important;
}

/* ── Source buttons : hauteur réduite ── */
#view-giri-studio .gs-sidebar .gs-source-btn {
  padding: 5px 4px !important;
  font-size: 11px !important;
  gap: 2px !important;
  min-height: 0 !important;
}
#view-giri-studio .gs-sidebar .gs-source-btn svg,
#view-giri-studio .gs-sidebar .gs-source-btn i {
  display: none !important;
}

/* ── Barre onglets : fond transparent ── */
#view-giri-studio .gs-tabs {
  background: transparent !important;
}

/* ── Bouton aide ? : visible et premium ── */
[data-theme="wood-legendary"] #view-giri-studio .gs-header-right .gs-icon-btn {
  background: linear-gradient(135deg, #d4a017, #b8860b) !important;
  background-image: none !important;
  color: #fff !important;
  border: 1px solid rgba(255,200,60,0.6) !important;
  box-shadow: 0 2px 8px rgba(180,130,0,0.45), 0 0 12px rgba(240,180,40,0.25) !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-header-right .gs-icon-btn svg {
  display: none !important;
}
[data-theme="wood-legendary"] #view-giri-studio .gs-header-right .gs-icon-btn::after {
  content: '?' !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1 !important;
  font-family: Georgia, serif !important;
}
