/* DIAMOND EDIT AI V23 — mobile workstation polish and clear caption fallback. */
:root{--v23-ink:#06101d;--v23-gold:#edc188;--v23-blue:#50bfff}
.mode-editor .editor-top,.mode-photo .photo-heading{background:linear-gradient(112deg,#081624,#0e2235)!important;box-shadow:inset 0 1px #ffffff1c,0 3px 20px #0005!important}
.mode-editor .editor-actions .btn,.mode-photo .photo-heading>.btn,.mode-photo .photo-heading>label{transition:transform .2s ease,box-shadow .2s ease}
.mode-editor .editor-actions .btn:active,.mode-photo .photo-heading label:active{transform:scale(.96)}
.mode-editor .properties-panel .v19-tool-caption,.mode-photo .photo-properties .v19-tool-caption{background:linear-gradient(100deg,#102a3e,#071b2b)!important}
.mode-editor .editor-layout .tab-row button,.mode-photo .photo-mobile-dock button{border-radius:12px!important}
.mode-editor .editor-layout .tab-row button.selected,.mode-photo .photo-mobile-dock button.active{background:linear-gradient(155deg,#3a3530,#183551)!important}
.mode-editor #control-panel .v23-trim-guide{font-size:12px;line-height:1.55;color:#b9c9da;margin:4px 2px 8px}
.mode-editor #control-panel .v23-trim-now{display:flex;justify-content:space-between;align-items:center;padding:7px 10px;border:1px solid #38526b;border-radius:10px;background:#071728;color:#b8d0e5;font-size:12px}
.mode-editor #control-panel .v23-trim-now output{color:#f4cc94;font-variant-numeric:tabular-nums;font-size:16px;font-weight:800}
.mode-editor #control-panel .v23-cut-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:8px;margin:9px 0!important}
.mode-editor #control-panel .v23-cut-actions .btn{min-width:0;white-space:nowrap;min-height:40px}
.mode-editor .v23-trim-details,.mode-editor .v23-subtitle-paste{border:1px solid #35536c;background:#071725;border-radius:12px;margin:10px 0;overflow:hidden}
.mode-editor .v23-trim-details summary,.mode-editor .v23-subtitle-paste summary{list-style:none;cursor:pointer;padding:12px 13px;color:#f0cc97;font-size:13px;font-weight:750}
.mode-editor .v23-trim-details summary:after,.mode-editor .v23-subtitle-paste summary:after{content:'⌄';float:right;font-size:17px}
.mode-editor .v23-trim-details[open] summary:after,.mode-editor .v23-subtitle-paste[open] summary:after{content:'⌃'}
.mode-editor .v23-trim-sliders{padding:2px 13px 12px;display:grid;gap:13px}
.mode-editor .v23-trim-range label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#c9d5e6}
.mode-editor .v23-trim-range output{font-variant-numeric:tabular-nums;font-weight:750;color:#e7c18e}
.mode-editor .v23-trim-range input[type=range]{width:100%;accent-color:#efbc74;touch-action:pan-x}
.mode-editor .v23-subtitle-paste{padding:0 0 12px}
.mode-editor .v23-subtitle-paste textarea{width:calc(100% - 22px);margin:0 11px;border-radius:9px;min-height:95px;background:#07101e;color:#e6edfa;border:1px solid #496478;padding:9px;font-family:ui-monospace,monospace;font-size:12px}
.mode-editor .v23-subtitle-paste p{font-size:11px;line-height:1.5;color:#b9c8d6;padding:0 12px}
.mode-editor .v23-subtitle-paste .btn{margin:8px 11px 0;width:calc(100% - 22px)}
.mode-editor .v23-caption-info{font-size:12px;line-height:1.5;color:#9cbdcf;padding:8px 0}
.mode-editor .v23-caption-actions .btn{min-height:39px;white-space:normal}
.mode-editor .v23-transcribe{border:1px solid #385b72;border-radius:12px;padding:12px;background:linear-gradient(140deg,#0d2b3c,#0a1726)}
.mode-editor .v23-transcribe strong{display:block;color:#f2d39c;font-size:13px;margin-bottom:4px}
.mode-editor .v23-transcribe .btn{margin:5px 0 8px}
.mode-editor .v23-transcribe small{display:block;color:#a4c4d7;line-height:1.45}
@media(max-width:650px){
 body .mode-editor .editor-top,body .mode-photo .photo-heading{gap:4px!important;border-radius:12px!important;padding:4px 6px!important;overflow:visible!important;min-width:0!important}
 body .mode-editor .editor-top-left{flex:1 1 auto!important;min-width:0!important;overflow:hidden}
 body .mode-editor .editor-actions{flex:0 0 auto!important;gap:4px!important}
 body .mode-editor .editor-top .editor-actions .btn,body .mode-editor .editor-top .editor-actions label,body .mode-photo .photo-heading .btn,body .mode-photo .photo-heading label{font-size:11px!important;min-height:36px!important;height:36px!important;border-radius:9px!important;padding:5px 8px!important;white-space:nowrap!important}
 body .mode-editor .editor-top .editor-actions span{display:inline!important}
 body .mode-editor .editor-mobile-back{min-width:32px!important;width:32px!important;max-width:32px!important}
 body .mode-editor .v20-workspace-icon{display:none!important}
 body .mode-editor .v20-editor-name{min-width:0!important;max-width:100%!important;overflow:hidden!important}
 body .mode-editor #project-name{width:100%!important;max-width:100%!important;font-size:11px!important}
 body .mode-editor .v20-editor-name small{font-size:8px!important;white-space:nowrap!important;letter-spacing:.05em!important}
 body .mode-editor .editor-layout>.stage-panel{flex-basis:clamp(265px,46dvh,460px)!important;max-height:clamp(265px,46dvh,460px)!important}
 body .mode-photo .photo-workspace>.photo-stage{flex-basis:clamp(275px,49dvh,485px)!important;max-height:clamp(275px,49dvh,485px)!important}
 body .mode-editor .stage-header,body .mode-photo .photo-stage-header{gap:4px!important}
 body .mode-editor .stage-header label{max-width:46%!important;font-size:10px!important}
 body .mode-editor .stage-header strong,body .mode-photo .photo-stage-header strong{font-size:10px!important}
 body .mode-editor .v19-preview-toggle,body .mode-photo .v19-preview-toggle{min-width:65px!important;min-height:28px!important;font-size:10px!important}
 body .mode-editor .editor-layout>.v20-group-switch,body .mode-photo .photo-workspace>.v20-group-switch{height:34px!important;min-height:34px!important;max-height:34px!important;flex-basis:34px!important}
 body .mode-editor .editor-layout>.tab-row,body .mode-photo .photo-workspace>.photo-mobile-dock{height:56px!important;max-height:56px!important;min-height:56px!important;flex-basis:56px!important;gap:5px!important;background:#061321!important}
 body .mode-editor .editor-layout>.tab-row .tab,body .mode-photo .photo-workspace>.photo-mobile-dock button{min-width:66px!important;width:66px!important;flex-basis:66px!important;min-height:46px!important;height:46px!important;max-height:46px!important;border-radius:9px!important}
 body .mode-editor .editor-layout>.properties-panel,body .mode-photo .photo-workspace>.photo-properties{padding:6px 10px calc(8px + env(safe-area-inset-bottom,0px))!important}
 body .mode-editor .properties-panel .v19-tool-caption,body .mode-photo .photo-properties .v19-tool-caption{min-height:30px!important;height:30px!important;margin-bottom:5px!important}
 body .mode-editor #control-panel .v23-trim-guide{font-size:11px}
 body .mode-editor .v23-caption-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 body .mode-editor .v23-caption-actions .btn{min-width:0!important;width:100%!important;font-size:11px!important;padding:7px 5px!important}
 body .mode-editor .v23-trim-details{margin:6px 0}
 body .mode-editor .v23-trim-details summary{padding:8px 10px}
 body .mode-editor .v23-cut-actions .btn{min-height:36px!important;font-size:12px!important}
 body .mode-photo .photo-stage-actions{gap:4px!important}
 body .mode-photo .photo-stage-actions .btn{flex:1!important;padding:2px 5px!important}
 body .mode-photo .photo-heading>.v20-editor-name{flex:1 1 auto;min-width:0;overflow:hidden}
}
@media(max-width:650px) and (max-height:730px){
 body .mode-editor .editor-layout>.stage-panel{flex-basis:clamp(232px,42dvh,320px)!important;max-height:clamp(232px,42dvh,320px)!important}
 body .mode-photo .photo-workspace>.photo-stage{flex-basis:clamp(240px,43dvh,335px)!important;max-height:clamp(240px,43dvh,335px)!important}
}
/* Opening: restrained activation shimmer with bright center and crisp contrast. */
.splash-diamond-frame{perspective:700px}
.splash-mark{will-change:transform,filter}
.splash-diamond-frame:before{content:'';position:absolute;inset:-22%;background:conic-gradient(from 90deg,transparent 0 30%,#f0c87924 39%,transparent 46%,#298fd329 67%,transparent 76%);border-radius:50%;filter:blur(9px);pointer-events:none;animation:v23-activation 10s linear infinite}
.splash-wordmark{letter-spacing:.035em}
.tap-cta{background:linear-gradient(118deg,#172333,#122b3c 52%,#2b221c)!important;border:1px solid #e2b973!important;box-shadow:0 0 28px #d9ab6040,0 12px 37px #0009,inset 0 1px #fff4!important}
@keyframes v23-activation{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.splash-diamond-frame:before{animation:none}}
