/* Diamond Edit AI V12 — funcionalidade primeiro, preto obsidiana / dourado / azul elétrico */
:root{--v12-gold:#e8b86d;--v12-blue:#2088df;--v12-surface:#090e16}
.photo-preset,.filter-preset{transition:border-color .15s ease,background .15s ease,transform .15s ease}
.photo-preset:active,.filter-preset:active{transform:scale(.97)}
.photo-tool-section .panel-heading,.properties-panel .panel-heading{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px}
.photo-tool-section .panel-heading strong,.properties-panel .panel-heading strong{margin-right:auto;min-width:96px}
.photo-tool-section .mini-reset,.properties-panel .mini-reset{font-size:11px;min-height:31px;padding:4px 10px;border:1px solid #7f5e35;border-radius:9px;color:#f5ce8f;background:#201a13;white-space:nowrap}
.photo-properties .ctrl input[type=color]{min-width:66px;width:100%;height:45px;cursor:pointer;padding:4px;background:#161b27;border:1px solid #4d6076;border-radius:9px}
.photo-control-grid,.control-set{min-width:0}
.photo-control,.properties-panel .ctrl{min-width:0}
.photo-control label output,.properties-panel output{min-width:48px;text-align:right;font-variant-numeric:tabular-nums}
.photo-mobile-dock{scrollbar-width:none}
.photo-mobile-dock::-webkit-scrollbar{display:none}
.photo-mobile-dock button{white-space:nowrap}
.ai-chip{font-weight:600}
@media(max-width:620px){
  .mode-photo .photo-mobile-dock{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:2px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding-inline:7px!important}
  .mode-photo .photo-mobile-dock button{flex:0 0 64px!important;width:64px;min-width:64px!important;scroll-snap-align:center;padding:3px 1px!important}
  .mode-photo .photo-mobile-dock button span{font-size:21px!important}
  .mode-photo .photo-mobile-dock button small{font-size:10px!important}
  .mode-photo .photo-properties{height:clamp(238px,39dvh,365px)!important;max-height:49dvh!important;padding:12px 14px 18px!important;overscroll-behavior:contain}
  .mode-photo .photo-control-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .mode-photo .photo-control{margin-bottom:5px!important}
  .mode-photo .photo-properties .panel-heading{margin-bottom:13px!important}
  .mode-photo .photo-properties .photo-tool-section{padding-bottom:8px}
  .mode-photo .photo-properties .photo-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mode-editor .properties-panel .tab-row .tab{flex:0 0 72px!important;min-width:72px!important;width:72px!important}
  .mode-editor .properties-panel .tab-row{scroll-snap-type:x proximity}
  .mode-editor .properties-panel .tab-row .tab{scroll-snap-align:center}
  body.v11-video-expanded .mode-editor .properties-panel{height:clamp(250px,46dvh,440px)!important}
  .mode-editor .properties-panel .panel-heading{margin-bottom:11px!important}
  .mode-editor .properties-panel .control-set{gap:13px}
  .mode-editor .properties-panel .ctrl input[type=range],.mode-photo .photo-control input[type=range]{min-height:33px;cursor:pointer;touch-action:pan-y}
  .mode-photo .photo-stage-view,.mode-editor .preview-area{background:#070d16}
  .photo-stage-view canvas,.preview-area canvas{image-rendering:auto}
}
