:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#070b12;color:#f2f4fa;font-synthesis:none;color-scheme:dark;--bg:#070b12;--panel:#0e1521;--panel-2:#121d2b;--border:#243144;--gold:#e6b96d;--gold-2:#b98537;--blue:#208dff;--muted:#8f9aaf;--white:#f5f6f9}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #4ab6ff;outline-offset:2px}button,input,select{min-height:38px}input[type=range]{min-height:24px;accent-color:#e8b765;width:100%}input[type=text],input[type=number],select{background:#0a111d;color:var(--white);border:1px solid #354255;border-radius:9px;padding:10px 12px;width:100%}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(175deg,#0c131f,#070c14 68%);border-right:1px solid #273246;padding:26px 15px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:4px;padding:5px 6px 30px}.brand-icon{width:67px;height:58px;object-fit:cover;mix-blend-mode:screen}.brand div{display:flex;flex-direction:column;line-height:1.05;letter-spacing:2px}.brand strong{font-size:16px;color:#f4d18f}.brand strong em{font-style:normal;color:#2797ff}.brand small{font-size:8px;letter-spacing:2.6px;margin-top:6px;color:#a3b0bd}.sidebar-label{font-size:10px;letter-spacing:1.8px;color:#738096;margin:8px 11px 11px}.nav{display:flex;flex-direction:column;gap:5px}.nav-link{width:100%;display:flex;align-items:center;gap:11px;padding:10px 13px;text-align:left;border:1px solid transparent;background:transparent;color:#aab4c7;border-radius:11px;font-size:13px;transition:.2s}.nav-link:hover{background:#142033;color:white}.nav-link.active{color:#f8d79c;border-color:#8a632f70;background:linear-gradient(90deg,#302719,#171b25)}.ni{display:inline-grid;place-items:center;min-width:20px;font-size:21px;line-height:1.1}.tiny-pill{font-size:9px;margin-left:auto;padding:3px 5px;border:1px solid #596779;border-radius:99px;color:#a3b2ca}.sidebar-bottom{margin-top:auto}.sidebar-note{padding:13px;display:flex;gap:9px;border:1px solid #25354b;background:#101b2a;border-radius:12px;margin:12px 2px}.sidebar-note b{display:block;font-size:11px}.sidebar-note small{color:#91a0b7;font-size:10px}.dot{width:9px;height:9px;background:#e4b764;border-radius:50%;flex:none;margin-top:4px;box-shadow:0 0 12px #e4b764}.content-shell{min-width:0}.topbar{height:72px;padding:0 clamp(20px,3vw,48px);border-bottom:1px solid #1b2738;display:flex;justify-content:space-between;align-items:center;background:#0a0f18}.topbar-title{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.topbar-separator,.topbar-muted{color:#64738d}.topbar-actions{display:flex;gap:14px;align-items:center}.build-chip{font-size:10px;letter-spacing:1.2px;color:#cda65f;border:1px solid #6b5130;border-radius:99px;padding:7px 10px}.icon-button{width:34px;height:34px;min-height:34px;border:1px solid #344156;background:#141e2e;border-radius:50%;color:#dae2ef}.user-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid #e6b96d;background:#28303b;color:#efc779;font-size:14px;font-weight:800}.mobile-logo{display:none}main{padding:clamp(18px,3vw,43px);max-width:1700px;margin:auto}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:750;letter-spacing:2.2px;color:#deb56d;margin:0 0 12px}.heading-xl{font-size:clamp(27px,3.1vw,45px);line-height:1.14;margin:0 0 14px;letter-spacing:-1.3px}.heading-lg{font-size:23px;margin:0 0 7px;letter-spacing:-.3px}.muted{color:var(--muted)}.lead{color:#acb8cb;line-height:1.7;font-size:14px;max-width:650px}.gold{color:#f1c475}.page-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.page-header h1{margin:0 0 7px;font-size:29px}.page-header p{margin:0;color:#a1adc1;font-size:14px}.btn{border:1px solid #3a4557;border-radius:11px;padding:11px 16px;background:#182434;color:#ecf1f7;font-size:13px;font-weight:700;display:inline-flex;gap:9px;align-items:center;justify-content:center;transition:.18s;text-decoration:none;min-height:43px}.btn:hover{filter:brightness(1.13);transform:translateY(-1px)}.btn-gold{color:#201506;background:linear-gradient(135deg,#ffe3a4,#e6b765 50%,#b98137);border-color:#f1ca82;box-shadow:0 8px 24px #c9944128}.btn-outline{border-color:#866534;background:#211d18;color:#f8ca82}.btn-blue{border-color:#1975d7;background:#132b49;color:#67bcff}.btn-small{padding:7px 12px;min-height:34px;font-size:11px}.hero{border:1px solid #6e5632aa;border-radius:20px;min-height:300px;padding:clamp(22px,3vw,43px);background:radial-gradient(circle at 78% 36%,#203e67dd,transparent 30%),radial-gradient(circle at 85% 80%,#9a6d2a40,transparent 38%),linear-gradient(120deg,#111821,#0b1019 72%);position:relative;overflow:hidden;display:flex;align-items:center}.hero:after{content:'◇';font-size:340px;position:absolute;right:4%;top:-64px;line-height:1;color:#e0b35e0c;transform:rotate(-12deg);pointer-events:none}.hero::before{content:'';height:170px;width:170px;border:2px solid #e8b96926;border-radius:50%;position:absolute;right:10%;top:12%;box-shadow:0 0 90px #1688ff45}.hero-copy{position:relative;z-index:2;max-width:680px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:25px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:31px 0 15px;gap:10px}.section-head h2{font-size:17px;margin:0}.text-link{background:none;border:0;color:#dcb26d;font-size:12px;font-weight:700}.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tile,.project-card,.template-card,.ai-card,.info-card{background:linear-gradient(155deg,#141e2c,#0d141f);border:1px solid #293a4e;border-radius:16px;padding:21px;min-width:0}.tile{min-height:163px;text-align:left;position:relative}.tile .glyph{display:inline-grid;place-items:center;width:44px;height:44px;background:#162943;border:1px solid #245a93;color:#54aefb;border-radius:12px;font-size:24px}.tile h3{font-size:15px;margin:13px 0 7px}.tile p{color:#a4aec0;font-size:12px;line-height:1.55;margin:0}.tile:hover,.project-card:hover,.template-card:hover{border-color:#a7834b}.tile.bright{border-color:#9d763c;background:linear-gradient(155deg,#342818,#18171d)}.tile.bright .glyph{background:#47391e;border-color:#b69052;color:#f1c16b}.projects-grid,.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.project-card{display:flex;flex-direction:column;gap:14px;padding:16px}.project-preview{height:105px;border:1px solid #334055;background:radial-gradient(ellipse at 50% 34%,#335b7a,#141c2b 70%);border-radius:10px;display:grid;place-items:center;color:#cfab71;font-size:35px}.project-name{font-size:14px;font-weight:750}.project-meta{font-size:11px;color:#9ba9bd}.project-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.empty-state{border:1px dashed #344158;border-radius:16px;padding:42px 24px;text-align:center;background:#101722;grid-column:1/-1}.empty-state .empty-icon{font-size:45px;color:#c79b56}.empty-state p{max-width:470px;margin:10px auto 18px}.template-card{padding:0;overflow:hidden;cursor:pointer}.template-visual{height:130px;background:radial-gradient(circle at 55% 40%,#285580,#121d2b 65%);display:grid;place-items:center;color:#f7c87a;font-size:31px}.template-card:nth-child(even) .template-visual{background:radial-gradient(circle at 50% 40%,#62471d,#121923 70%)}.template-bottom{padding:15px}.template-bottom h3{font-size:14px;margin:0 0 5px}.template-bottom p{font-size:11px;color:#a5b0c0;margin:0}.ai-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.ai-card{display:flex;flex-direction:column;gap:12px;min-height:201px}.ai-top{display:flex;justify-content:space-between;gap:8px}.ai-symbol{width:43px;height:43px;display:grid;place-items:center;color:#58b5ff;background:#162b47;border-radius:11px;font-size:22px}.status{font-size:10px;border-radius:99px;background:#242e3b;border:1px solid #526073;color:#c8d0df;padding:5px 9px;height:fit-content;white-space:nowrap}.ai-card h3{font-size:15px;margin:0}.ai-card p{margin:0;color:#9daac0;font-size:12px;line-height:1.6;flex:1}.ai-card button{align-self:flex-start}.info-panel{background:#121c2b;border:1px solid #2c3c54;border-radius:14px;padding:18px;line-height:1.6;font-size:13px;color:#b8c5d7}.info-panel strong{color:#f2cc8b}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.info-card h3{margin:0 0 9px}.info-card p{margin:0;color:#a1afc1;line-height:1.7;font-size:13px}.editor-top{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.editor-top-left{display:flex;align-items:center;gap:10px;min-width:270px;flex:1}.editor-top-left input{max-width:320px;color:#f3d49e;font-weight:700;background:transparent}.editor-actions{display:flex;gap:9px;flex-wrap:wrap}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px}.stage-panel,.properties-panel,.timeline-panel{border:1px solid #29394d;border-radius:16px;background:linear-gradient(155deg,#111b29,#0b121d);padding:16px}.stage-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:12px;color:#b7c4d8}.stage-header select{width:auto;min-height:30px;font-size:12px}.preview-area{min-height:400px;display:grid;place-items:center;background:radial-gradient(circle at 50%,#16243a,#05070c 73%);border:1px solid #1e2b3d;border-radius:12px;overflow:hidden;position:relative}.preview-area canvas{display:block;background:#070b13;max-width:100%;max-height:450px;width:auto;height:auto;box-shadow:0 14px 40px #0009}.preview-empty{position:absolute;inset:0;background:#090f1aef;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;gap:13px}.preview-empty h3{margin:0;font-size:17px}.preview-empty p{margin:0 0 6px;font-size:12px;color:#9aa9bf;max-width:320px;line-height:1.55}.preview-empty .drop-icon{font-size:38px;color:#f5c476}.preview-area.drag-over{outline:2px dashed #e7bb6d;outline-offset:-8px}.transport{display:flex;align-items:center;justify-content:center;gap:15px;margin:12px auto}.transport .play{border:1px solid #bd8a3d;background:#c79543;color:#12151b;border-radius:50%;width:42px;height:42px;min-height:42px;font-size:16px}.transport button:not(.play){background:none;color:#d0d9e6;border:0;font-size:17px}.transport-time{color:#9aa7bb;font-variant-numeric:tabular-nums;font-size:11px}.seek-row{display:flex;align-items:center;gap:12px}.seek-row input{flex:1}.timeline-panel{margin-top:17px}.timeline-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:15px}.timeline-track{height:67px;border:1px solid #436186;border-radius:9px;background:repeating-linear-gradient(90deg,#173859 0px,#173859 15px,#254b70 15px,#254b70 18px);display:flex;align-items:center;justify-content:center;color:#a4c9eb;font-size:12px;position:relative;overflow:hidden}.timeline-track .track-fill{position:absolute;top:0;bottom:0;left:0;width:0;background:#eab86b24;border-right:2px solid #ebbd74;pointer-events:none}.timeline-track span{position:relative;z-index:1}.timeline-help{color:#7f90a7;font-size:11px;margin:8px 0 0}.properties-panel{align-self:start}.properties-panel h3{font-size:15px;margin:1px 0 15px}.tab-row{display:flex;gap:5px;margin-bottom:18px;border-bottom:1px solid #283649;padding-bottom:10px}.tab{flex:1;border:1px solid transparent;border-radius:9px;padding:8px 5px;background:#101a2a;color:#a2b0c3;font-size:11px}.tab.selected{color:#f4cb86;background:#302717;border-color:#795d39}.control-set{display:flex;flex-direction:column;gap:17px}.ctrl>label{font-size:12px;display:flex;justify-content:space-between;margin-bottom:9px;color:#cbd4e1}.ctrl>label output{color:#e4ba73}.ctrl-note{font-size:11px;line-height:1.6;color:#8496b0}.trim-controls{display:grid;grid-template-columns:1fr 1fr;gap:11px}.trim-controls label{font-size:11px;color:#a9b5c5;display:block;margin-bottom:7px}.trim-controls input{font-size:12px}.properties-footer{margin-top:21px;border-top:1px solid #263a4f;padding-top:17px;color:#8ca0b6;font-size:11px;line-height:1.7}.mobile-hint{display:none}.modal-backdrop{position:fixed;inset:0;background:#03060bdc;z-index:50;display:grid;place-items:center;padding:18px}.modal-backdrop.hidden{display:none}.modal{width:min(470px,100%);padding:27px;border:1px solid #8b6b3e;background:linear-gradient(140deg,#182438,#0b111c);border-radius:18px;box-shadow:0 30px 100px #000c}.modal h2{font-size:22px;margin:0 0 11px;color:#f1cc91}.modal p{font-size:13px;line-height:1.7;color:#bdc7d7}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;flex-wrap:wrap}.modal label{font-size:12px;display:block;margin:16px 0 6px;color:#becbdd}.modal .inline-details{padding:11px;border-radius:9px;background:#111d2c;border:1px solid #354760;color:#bac9df;font-size:12px;line-height:1.6}.toast{position:fixed;bottom:25px;right:25px;max-width:350px;z-index:100;background:#1d334b;color:#eef7ff;border:1px solid #487ca9;padding:14px 16px;border-radius:12px;box-shadow:0 12px 30px #0008;display:none;font-size:12px;line-height:1.5}.toast.show{display:block}.footer-copy{text-align:center;color:#6b7b91;font-size:11px;padding:22px}.subtle-line{height:1px;background:#273449;margin:14px 0}@media(max-width:1180px){.ai-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile-grid,.projects-grid,.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-layout{grid-template-columns:minmax(0,1fr) 280px}}@media(max-width:900px){.shell{grid-template-columns:72px minmax(0,1fr)}.sidebar{padding:18px 7px}.brand{justify-content:center;padding:3px 0 24px}.brand-icon{width:57px}.brand div,.sidebar-label,.nav-link:not(.active){font-size:0}.nav-link{justify-content:center;padding:12px 5px;font-size:0}.nav-link .ni{font-size:22px}.nav-link .tiny-pill,.sidebar-note,.brand div{display:none}.editor-layout{grid-template-columns:1fr}.preview-area{min-height:360px}.properties-panel{max-width:none}}@media(max-width:620px){.shell{display:block;padding-bottom:67px}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:66px;z-index:25;padding:6px;background:#08101af6;border-right:0;border-top:1px solid #273749;flex-direction:row;align-items:center}.brand,.sidebar-label,.sidebar-bottom{display:none}.nav{width:100%;display:flex;flex-direction:row;justify-content:space-around;gap:0}.nav-link,.nav-link:not(.active){width:20%;max-width:75px;border-radius:9px;justify-content:center;padding:7px 0;font-size:0;min-height:50px}.nav-link .ni{font-size:22px}.nav-link .tiny-pill{display:none}.nav-link.active{border-color:#795c2b}.topbar{height:59px;padding:0 18px}.mobile-logo{display:inline;width:37px;height:32px;object-fit:cover;mix-blend-mode:screen}.topbar-title{gap:6px;font-size:11px}.build-chip{display:none}.topbar-actions{gap:7px}main{padding:20px 14px}.hero{padding:24px 20px;min-height:265px}.hero:after{font-size:160px;top:25px;right:-15px}.hero::before{width:105px;height:105px;right:2%}.heading-xl{font-size:29px}.lead{font-size:13px}.tile-grid,.projects-grid,.template-grid,.ai-grid,.info-grid{grid-template-columns:1fr 1fr;gap:9px}.tile,.ai-card{padding:14px;min-height:165px}.tile h3,.ai-card h3{font-size:13px}.tile p,.ai-card p{font-size:11px}.ai-card{min-height:215px}.ai-top{flex-wrap:wrap}.project-card{padding:10px}.project-preview{height:75px}.project-controls{flex-direction:column}.page-header{align-items:flex-start;flex-direction:column}.page-header h1{font-size:23px}.editor-top-left{min-width:180px}.editor-top-left input{max-width:240px}.preview-area{min-height:320px}.preview-area canvas{max-height:350px}.stage-panel,.properties-panel,.timeline-panel{padding:11px}.mobile-hint{display:block;color:#8292a8;font-size:11px;line-height:1.6}.footer-copy{font-size:10px}}@media(max-width:370px){.tile-grid,.projects-grid,.template-grid,.ai-grid{grid-template-columns:1fr}.hero-actions .btn{width:100%}}

/* Diamond Edit AI v0.2 — navegação mobile-first */
.mobile-dashboard-brand{display:none}
.lab-chip{border:1px solid #72572e;background:#2a2118;color:#e4bd75;border-radius:30px;padding:5px 9px;font-size:10px;letter-spacing:1px}
.blue-glyph{color:#45a9ff!important;border-color:#284a7d!important;background:#142b4d!important}
.blue-text{color:#6ab8ff!important}
.tile-cta{display:block;margin-top:11px;color:#ecc47a;font-size:11px;font-weight:700}
.format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:820px}
.format-option{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:185px;border:1px solid #3b4a60;border-radius:17px;background:linear-gradient(150deg,#152034,#090f19);color:#f4f5f8;justify-content:center;gap:9px;padding:20px 12px}
.format-option.featured{border-color:#e2b468;background:linear-gradient(150deg,#32271b,#111b2b 78%)}
.format-option:active{transform:scale(.985)}
.format-icon{border:1px solid #687080;display:grid;place-items:center;color:#f0c779;font-size:48px;height:71px;width:92px;border-radius:12px;background:linear-gradient(145deg,#1a3049,#101723)}
.format-icon.landscape{width:105px;font-size:50px}.format-icon.square{width:73px}
.format-option strong{font-size:15px}.format-option small{font-size:12px;color:#aab8c8}
.format-arrow{color:#efc47b;font-size:12px;font-weight:700;margin-top:5px}
.flow-note{color:#8c9bb1;font-size:12px;margin-top:24px;line-height:1.6}
.mobile-tools{margin-top:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.mobile-tools .mobile-hint{color:#8b9db5;line-height:1.6;max-width:490px;font-size:11px}
.nav-name{display:inline}
@media(max-width:620px){
 html{scroll-padding-top:80px;-webkit-text-size-adjust:100%}
 body{overscroll-behavior-y:contain}
 button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 button,input,select{min-height:44px}
 input[type=text],input[type=number],select{font-size:16px}
 .shell{padding-bottom:calc(73px + env(safe-area-inset-bottom,0px))}
 .sidebar{height:calc(70px + env(safe-area-inset-bottom,0px));padding:5px 5px calc(5px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#10192af5,#080c15fb);box-shadow:0 -6px 30px #0007}
 .nav{height:100%;align-items:center}
 .nav-link,.nav-link:not(.active){width:20%;max-width:none;min-height:56px;display:flex;flex-direction:column;justify-content:center;gap:1px;padding:4px 1px;font-size:10px;line-height:1.1;text-align:center;border:0}
 .nav-link .ni{font-size:23px;height:26px;line-height:26px}
 .nav-link.active{border:0;background:#251f1b;color:#e8ba70;border-radius:12px}
 .nav-name{display:block;white-space:nowrap;font-size:10px;font-weight:600}
 .topbar{position:sticky;top:0;z-index:15;height:57px;padding:0 15px;background:#0a111be9;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid #2b3646}
 .topbar-title{font-size:12px;font-weight:750}.topbar-muted{display:none}.topbar-separator{display:none}
 main{padding:14px 13px 38px;min-height:calc(100vh - 148px)}
 .mobile-dashboard-brand{display:flex;align-items:center;gap:7px;margin-bottom:14px;padding:0 4px}
 .mobile-dashboard-brand img{width:49px;height:49px;object-fit:cover;mix-blend-mode:screen}
 .mobile-dashboard-brand>div{display:flex;flex:1;flex-direction:column;line-height:1.02;letter-spacing:1.7px}
 .mobile-dashboard-brand strong{font-size:16px;color:#f0cb8d}
 .mobile-dashboard-brand strong span{color:#389eff}
 .mobile-dashboard-brand small{font-size:8px;letter-spacing:2.8px;color:#8c9eb4;margin-top:5px}
 .hero{min-height:255px;padding:23px 18px;border-radius:18px;background:radial-gradient(circle at 93% 7%,#183c70 0,transparent 44%),linear-gradient(145deg,#1a2737,#101521 62%,#090e17);border:1px solid #927247;overflow:hidden}
 .hero::before{background-image:url('assets/simbolo-diamond-silhueta.png');background-size:contain;background-repeat:no-repeat;background-position:center;width:170px;height:170px;right:-33px;top:-35px;opacity:.19;mix-blend-mode:screen}
 .hero::after{display:none}
 .hero .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:11px;max-width:230px}
 .hero .heading-xl{font-size:30px;line-height:1.12;letter-spacing:-.6px;margin:0 0 13px}
 .hero .lead{font-size:12px;line-height:1.6;max-width:275px;margin:0 0 17px;color:#c2ccdc}
 .hero .hero-actions{margin-top:0}
 .btn-create{width:100%;justify-content:space-between;font-size:14px;box-shadow:0 8px 24px #b5863633}
 .btn-create span{margin-left:12px}
 .dashboard-section{margin-top:25px}
 .section-head h2{font-size:17px;letter-spacing:-.2px}
 .dashboard-tiles{grid-template-columns:1fr 1fr;gap:11px}
 .dashboard-tiles .tile{min-height:163px;border-radius:15px;background:linear-gradient(150deg,#172437,#101723);border:1px solid #354355;padding:15px 12px;display:flex;flex-direction:column;text-align:left}
 .dashboard-tiles .tile.bright{border-color:#a37a40;background:linear-gradient(150deg,#342a20,#111925)}
 .dashboard-tiles .tile .glyph{margin:0;width:44px;height:43px;border-radius:11px;font-size:27px}
 .dashboard-tiles .tile h3{font-size:14px;margin:11px 0 5px}
 .dashboard-tiles .tile p{font-size:11px;line-height:1.45;flex:1}
 .dashboard-tiles .tile-cta{margin-top:9px}
 .dashboard-recent{grid-template-columns:1fr;gap:11px}
 .dashboard-recent .project-card{display:grid;grid-template-columns:68px 1fr;align-items:center;gap:10px;padding:10px;min-height:100px}
 .dashboard-recent .project-preview{height:72px;grid-row:span 2}
 .dashboard-recent .project-controls{grid-column:2;flex-direction:row;margin:0}
 .dashboard-recent .project-controls .btn{min-height:33px}
 .projects-grid:not(.dashboard-recent){grid-template-columns:1fr;gap:10px}
 .projects-grid:not(.dashboard-recent) .project-card{display:grid;grid-template-columns:75px 1fr;gap:10px;min-height:116px}
 .projects-grid:not(.dashboard-recent) .project-preview{height:88px;grid-row:span 2}
 .projects-grid:not(.dashboard-recent) .project-controls{grid-column:2;flex-direction:row}
 .project-meta{font-size:11px}.project-name{font-size:13px}
 .empty-state{padding:27px 16px}
 .format-grid{grid-template-columns:1fr 1fr;gap:10px}
 .format-option{min-height:192px;padding:18px 7px}
 .format-option strong{font-size:13px}.format-option small{font-size:11px}
 .ai-grid{grid-template-columns:1fr 1fr;gap:10px}
 .ai-card{min-height:194px;padding:12px}
 .ai-card h3{font-size:13px}.ai-card p{font-size:11px}
 .info-grid{grid-template-columns:1fr}
 .editor-top{margin-bottom:12px;gap:8px}
 .editor-top-left{width:100%;flex:auto;min-width:0}
 .editor-top-left input{max-width:none;font-size:14px;min-height:42px}
 .editor-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
 .editor-actions .btn{min-height:45px;font-size:12px;padding:8px 6px}
 .editor-layout{display:flex;flex-direction:column;gap:11px}
 .stage-panel,.properties-panel,.timeline-panel{border-radius:14px;padding:10px}
 .stage-header{margin-bottom:9px}
 .stage-header select{font-size:12px;min-height:38px;max-width:158px;padding:7px 3px}
 .preview-area{min-height:315px;max-height:410px;padding:8px}
 .preview-area canvas{max-height:375px;max-width:100%;height:auto;width:auto;object-fit:contain}
 .transport{margin:6px auto;gap:26px}
 .transport .play{width:46px;height:46px;min-height:46px}
 .seek-row{padding:0 4px 8px}
 .timeline-panel{margin-top:10px}
 .timeline-top{flex-wrap:wrap;gap:5px}
 .timeline-top #clip-name{max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .timeline-track{height:55px}
 .trim-controls input{padding:8px;font-size:16px}
 .properties-panel h3{font-size:14px}
 .tab-row{gap:6px;position:relative}
 .tab{min-height:43px;font-size:12px}
 .control-set{gap:20px}
 .ctrl>label{font-size:13px}
 .ctrl input[type=range]{min-height:33px;touch-action:pan-y}
 .properties-footer{font-size:10px}
 .mobile-tools{display:flex;flex-direction:column;align-items:stretch;margin-top:12px;gap:5px}
 .mobile-tools .btn{width:100%}
 .mobile-tools .mobile-hint{display:block;font-size:11px;line-height:1.6;margin:8px 0}
 .modal-backdrop{align-items:end;padding:0 0 env(safe-area-inset-bottom,0px)}
 .modal{width:100%;border-radius:22px 22px 0 0;padding:25px 20px max(20px,env(safe-area-inset-bottom,0px));max-height:85dvh;overflow-y:auto}
 .modal-actions{display:flex;flex-direction:column-reverse;align-items:stretch}
 .modal-actions button{min-height:46px;width:100%}
 .toast{left:14px;right:14px;bottom:calc(82px + env(safe-area-inset-bottom,0px));max-width:none;font-size:12px}
}

/* Diamond Edit AI V0.3 — marca, abertura e jornada Foto/Vídeo */
.splash-screen{position:fixed;inset:0;z-index:250;background:radial-gradient(ellipse at 50% 30%,#132a4a 0,transparent 42%),radial-gradient(ellipse at 52% 58%,#48311844 0,transparent 45%),#030509;display:flex;justify-content:center;align-items:center;overflow:hidden;transition:opacity .5s ease,visibility .5s ease}
.splash-screen:before,.splash-screen:after{content:"";position:absolute;height:1px;width:180%;left:-40%;transform:rotate(-32deg);background:linear-gradient(90deg,transparent,#2d77ca91,#d6af6b88,transparent);top:26%;box-shadow:0 0 45px #2575c7}
.splash-screen:after{transform:rotate(34deg);top:82%;opacity:.6}
.splash-hidden{opacity:0;visibility:hidden;pointer-events:none}
.splash-active{overflow:hidden}
.splash-active .shell{visibility:hidden}
.splash-center{z-index:1;display:flex;align-items:center;flex-direction:column;position:relative;text-align:center;filter:drop-shadow(0 0 14px #20589c55);padding:22px}
.splash-mark{width:clamp(160px,48vw,265px);aspect-ratio:1;object-fit:contain;mix-blend-mode:screen;animation:markGlow 2.6s ease-in-out infinite alternate}
.splash-wordmark{display:flex;flex-direction:column;line-height:.98;letter-spacing:6px;font-weight:900;font-size:clamp(29px,9vw,56px);text-shadow:0 0 20px #ac763f5e;color:#ebc280}
.splash-wordmark em{font-style:normal;color:#4ba8ff;text-shadow:0 0 13px #007dfa99}
.splash-center p{font-size:10px;letter-spacing:3.2px;color:#d5dce6;margin:17px 0 41px}
.splash-progress{height:5px;width:min(58vw,230px);border:1px solid #766145;background:#151d2b;border-radius:20px;overflow:hidden;box-shadow:0 0 18px #e8b9653b}
.splash-progress>div{height:100%;background:linear-gradient(90deg,#bc853f,#f8df9f,#3b9dff);width:10%;border-radius:20px;animation:loadApp 1.65s ease-in-out both}
.splash-center small{letter-spacing:2.6px;font-size:9px;color:#9babbc;margin-top:15px}
.skip-intro{z-index:2;position:absolute;bottom:calc(35px + env(safe-area-inset-bottom,0px));right:22px;border:0;background:transparent;color:#c7a568;font-size:12px}
@keyframes loadApp{0%{width:4%}42%{width:43%}80%{width:86%}100%{width:100%}}@keyframes markGlow{0%{filter:brightness(.95)}100%{filter:brightness(1.16)}}
.shell.mode-chooser,.shell.mode-photo{display:block}
.mode-chooser .sidebar,.mode-photo .sidebar,.mode-chooser .topbar,.mode-photo .topbar{display:none!important}
.mode-chooser .content-shell,.mode-photo .content-shell{width:100%}
.mode-chooser main{padding:0;min-height:100dvh}
.mode-photo main{padding:clamp(16px,4vw,38px);max-width:1400px;margin:auto}
.chooser-page{position:relative;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:44px max(18px,4vw) 30px;text-align:center;overflow:hidden;background:radial-gradient(circle at 50% -8%,#19416d99 0,transparent 32%),radial-gradient(circle at 50% 65%,#39281352 0,transparent 53%),linear-gradient(160deg,#06080f,#0b1320 62%,#060a11)}
.chooser-page::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(140deg,transparent 0,transparent 175px,#ba8f3c16 176px,transparent 178px);mask-image:linear-gradient(120deg,#0006,transparent 70%)}
.chooser-halo{width:135px;height:135px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#b38c4433,transparent 70%);filter:drop-shadow(0 0 18px #2e78d654)}
.chooser-halo img{width:140px;height:140px;object-fit:contain;mix-blend-mode:screen}
.chooser-wordmark{display:flex;flex-direction:column;gap:0;color:#f4cb83;letter-spacing:3.8px;font-size:33px;font-weight:950;line-height:1}
.chooser-wordmark span{font-size:25px;letter-spacing:4px}.chooser-wordmark b{color:#35a5ff}
.chooser-kicker{font-size:9px;letter-spacing:2.6px;color:#8dabc6;margin:6px 0 13px}
.chooser-page h1{font-size:clamp(29px,6vw,49px);font-weight:780;line-height:1.12;margin:5px 0;color:white;letter-spacing:-1.4px}
.chooser-page h1 span{color:#e9bd78}
.chooser-intro{font-size:14px;color:#adb9cc;max-width:510px;line-height:1.6;margin:0 0 21px}
.mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:min(820px,100%);z-index:1}
.mode-card{display:flex;flex-direction:column;gap:10px;align-items:flex-start;text-align:left;background:linear-gradient(144deg,#132944,#101724 74%);color:#fff;border:1px solid #456288;border-radius:22px;padding:20px;position:relative;min-height:255px;box-shadow:0 17px 50px #0005;transition:transform .2s ease,border-color .2s ease}
.mode-card:active{transform:scale(.99)}.mode-card:hover{border-color:#e5b564}
.mode-card.photo-mode{background:linear-gradient(144deg,#342819,#101724 74%);border-color:#766245}
.mode-illustration{width:100%;height:108px;display:grid;place-items:center;border-radius:13px;background:radial-gradient(ellipse,#183e7299,#071222);border:1px solid #33517a}
.photo-mode .mode-illustration{background:radial-gradient(ellipse,#59412499,#151018);border-color:#785e32}
.mode-illustration span{display:grid;place-items:center;height:69px;width:76px;border:1px solid #4bb1ff;border-radius:14px;font-size:36px;color:#41adff;box-shadow:0 0 28px #218dfb35,inset 0 0 19px #2494ff22}
.photo-mode .mode-illustration span{color:#f2c271;border-color:#f2c271;box-shadow:0 0 28px #d89e4435,inset 0 0 19px #d89e4422}
.mode-info{display:flex;flex-direction:column;gap:5px;width:100%}.mode-info strong{font-size:23px;color:#f7f6f4}.mode-info small{font-size:12px;line-height:1.5;color:#afbbcd}.mode-info em{font-size:12px;color:#e4b869;font-style:normal;font-weight:700;padding-top:8px}
.chooser-footer{font-size:10px;letter-spacing:1.2px;color:#aab7c8;margin-top:29px;line-height:2}.chooser-footer small{font-size:10px;color:#73879d;letter-spacing:0}
.mode-switch-inline,.photo-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.mode-switch-inline>span{font-size:10px;letter-spacing:1.5px;color:#a5b3c8}
.mode-switch-inline .btn{padding:8px 13px;font-size:12px}
.photo-heading .mini-tag{color:#d9b36a;letter-spacing:1.2px;font-size:10px;border:1px solid #725c3d;padding:7px 10px;border-radius:99px}
.photo-page-header{margin-bottom:20px}
.photo-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,330px);gap:15px}
.photo-stage,.photo-properties{background:linear-gradient(160deg,#111d2c,#0b121c);border:1px solid #2d3e51;border-radius:16px;padding:18px}
.photo-stage-header{display:flex;gap:12px;justify-content:space-between;align-items:center;color:#e6c17c;font-size:12px;letter-spacing:1px;margin-bottom:13px}
.photo-stage-header>span{color:#9baabf;font-size:11px;overflow:hidden;max-width:52%;white-space:nowrap;text-overflow:ellipsis}
.photo-stage-view{display:flex;align-items:center;justify-content:center;min-height:390px;background:radial-gradient(ellipse at center,#15243a,#070e19);border:1px dashed #3d4c60;border-radius:13px;position:relative;overflow:hidden;padding:14px}
.photo-stage-view canvas{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;box-shadow:0 12px 30px #0009;object-fit:contain}
.photo-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;padding:32px;position:absolute;inset:0;justify-content:center}
.photo-empty strong{font-size:17px}.photo-empty p{font-size:12px;color:#a6b5ca}.photo-placeholder{font-size:67px;color:#e3b368;line-height:1}
.photo-stage-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin-top:14px}
.photo-properties h3{font-size:18px;color:#e8c27c;margin:0 0 10px}.photo-properties>p{font-size:12px;color:#a4b2c5;line-height:1.5;margin-bottom:26px}
.photo-properties .ctrl{margin-bottom:19px}
.photo-properties .inline-details{font-size:11px;line-height:1.6;margin-top:24px}
@media(max-width:700px){.photo-workspace{grid-template-columns:1fr}.photo-stage-view{min-height:310px}.photo-stage-view canvas{max-height:380px}}
@media(max-width:620px){.mode-chooser .shell,.mode-photo .shell{padding-bottom:0}.mode-chooser main,.mode-photo main{min-height:100dvh}.chooser-page{padding:30px 17px 23px;justify-content:flex-start}.chooser-halo{margin-top:6px;width:113px;height:113px}.chooser-halo img{width:124px;height:124px}.chooser-wordmark{font-size:27px;letter-spacing:3px}.chooser-wordmark span{font-size:21px}.chooser-kicker{margin:4px 0 18px}.chooser-page h1{font-size:30px}.chooser-intro{font-size:12px;max-width:340px;margin-bottom:12px}.mode-options{grid-template-columns:1fr;gap:12px;width:min(440px,100%)}.mode-card{min-height:142px;display:grid;grid-template-columns:118px 1fr;gap:13px;align-items:center;padding:12px 14px;border-radius:16px}.mode-illustration{height:112px}.mode-illustration span{width:60px;height:60px;font-size:32px}.mode-info strong{font-size:21px}.mode-info small{font-size:11px}.mode-info em{font-size:11px;padding-top:5px}.chooser-footer{margin-top:20px;font-size:9px}.mode-photo main{padding:18px 12px 30px}.photo-page-header{margin-top:0}.photo-page-header .btn{width:100%}.photo-stage,.photo-properties{padding:12px}.photo-stage-view{min-height:310px;padding:7px}.photo-stage-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photo-stage-actions .btn:first-child{grid-column:span 2}.photo-stage-actions .btn{min-height:45px;font-size:12px}.photo-heading .btn{font-size:11px}.mode-switch-inline{margin:0 0 8px}.mode-switch-inline .btn{min-height:40px}.splash-center p{margin-bottom:34px}}
@media(max-width:355px){.chooser-page{padding:15px 12px}.chooser-halo,.chooser-halo img{height:90px;width:90px}.chooser-kicker{margin-bottom:5px}.mode-card{grid-template-columns:95px 1fr;min-height:127px}.mode-illustration{height:95px}.chooser-intro{margin-bottom:2px}.chooser-footer{margin-top:9px}}
@media(prefers-reduced-motion:reduce){.splash-mark,.splash-progress>div{animation:none}.splash-progress>div{width:100%}}


/* V0.4 — abertura cinematográfica Diamond, otimizada para iPhone */
.splash-screen{isolation:isolate;background:radial-gradient(ellipse at 50% 32%,#0d2442 0,transparent 51%),radial-gradient(ellipse at 46% 72%,#2a1c0d80 0,transparent 51%),#020408}
.splash-screen::before,.splash-screen::after{opacity:.34}
.splash-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.splash-grid{position:absolute;inset:-30%;opacity:.15;transform:perspective(550px) rotateX(65deg) scale(1.8);transform-origin:50% 100%;background-image:linear-gradient(#2583c94a 1px,transparent 1px),linear-gradient(90deg,#2583c94a 1px,transparent 1px);background-size:44px 44px;animation:gridBreath 8s ease-in-out infinite alternate}
.splash-aurora{position:absolute;inset:-25%;background:conic-gradient(from 210deg at 50% 48%,transparent 5%,#1376d01c 21%,transparent 40%,#f3be6212 62%,transparent 80%,#0068d01d 95%);filter:blur(48px);animation:auroraTurn 18s linear infinite}
.energy-beam{position:absolute;width:150%;height:1px;left:-25%;background:linear-gradient(90deg,transparent,#237fe1aa,#fae0a68c,transparent);box-shadow:0 0 19px 1px #187dfd75;opacity:.38;transform-origin:center;animation:beamGlow 5.2s ease-in-out infinite alternate}
.beam-one{top:27%;transform:rotate(-24deg)}.beam-two{top:69%;transform:rotate(29deg);animation-delay:1.4s;opacity:.24}.beam-three{top:86%;transform:rotate(-11deg);animation-delay:2.3s;opacity:.18}
.splash-orbit{position:absolute;top:50%;left:50%;width:min(90vw,520px);aspect-ratio:1;border-radius:50%;border:1px solid #3a8fd720;transform:translate(-50%,-50%) rotate(-19deg);box-shadow:inset 0 0 45px #1373be0a,0 0 45px #1876e010;animation:orbitTurn 22s linear infinite}
.orbit-two{width:min(115vw,700px);border-color:#e8b86816;animation-duration:29s;animation-direction:reverse}
.intro-particles{position:absolute;inset:0}.intro-particles i{position:absolute;left:var(--x);top:var(--y);width:2px;height:2px;border-radius:50%;background:#b9d9ff;box-shadow:0 0 8px 2px #207fe7;opacity:0;animation:particleFloat var(--t) ease-in-out var(--d) infinite}
.splash-center{width:100%;z-index:2;pointer-events:none;filter:none;transform:translateY(-14px);transition:transform .38s ease,opacity .38s ease}
.splash-kicker{display:flex;align-items:center;gap:10px;color:#d3b77c;letter-spacing:3px;font-size:9px;font-weight:650;text-shadow:0 0 20px #8a631c5c}
.intro-dot{height:5px;width:5px;background:#258cff;border-radius:50%;box-shadow:0 0 9px 2px #3b93fe;animation:markGlow 1s ease-in-out infinite alternate}
.splash-diamond-frame{position:relative;display:grid;place-items:center;margin:20px auto 16px;width:clamp(190px,56vw,302px);aspect-ratio:1}
.splash-diamond-ring{position:absolute;inset:5%;border-radius:50%;border:1px solid #d9ad5942;box-shadow:0 0 42px #1867b12b,inset 0 0 28px #b8862c1c;animation:ringPulse 3.2s ease-in-out infinite alternate}
.splash-mark{position:relative;width:100%;height:100%;filter:drop-shadow(0 0 35px #1d7ac776);animation:diamondLevitate 4.5s ease-in-out infinite}
.splash-wordmark{font-size:clamp(34px,10vw,59px);line-height:1.03;letter-spacing:clamp(2px,1vw,7px);text-shadow:0 2px 24px #a56f276a}
.splash-wordmark em{text-shadow:0 0 22px #318af6b2}
.splash-tagline{margin:18px 0 35px!important;color:#c2cfe0!important;font-size:10px!important;letter-spacing:2.3px!important}.splash-tagline span{color:#e4b464}
.intro-loading{transition:opacity .55s ease,transform .55s ease;display:flex;flex-direction:column;align-items:center;gap:12px}.intro-loading small{margin-top:0!important}
.splash-progress{width:min(55vw,230px);height:4px}.splash-progress>div{animation-duration:1.55s}
.splash-ready .intro-loading{opacity:.30;transform:translateY(4px)}
.splash-bottom{position:absolute;bottom:calc(19px + env(safe-area-inset-bottom,0px));left:0;right:0;text-align:center;color:#879bb8;letter-spacing:1.8px;font-size:9px;z-index:3;pointer-events:none}.intro-split{color:#d4ac64;margin:0 6px}
.intro-tap-surface{position:absolute;inset:0;width:100%;height:100%;cursor:pointer;background:transparent;border:0;color:#f5dbac;z-index:5;display:flex;align-items:flex-end;justify-content:center;padding:0 14px calc(70px + env(safe-area-inset-bottom,0px));-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.intro-tap-surface:focus-visible{outline:3px solid #e1b86c;outline-offset:-8px}
.tap-cta{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;border:1px solid #9c774cba;background:linear-gradient(100deg,#161d2bea,#211a13ee);border-radius:999px;padding:13px 20px;min-height:49px;box-shadow:0 0 35px #286db03a,0 8px 35px #000a;letter-spacing:1.4px;font-weight:750;font-size:11px;transition:transform .2s ease,box-shadow .2s ease;max-width:360px;width:100%;animation:ctaBreathe 2.7s ease-in-out infinite alternate}
.tap-cta small{display:block;flex-basis:100%;color:#9eafc7;letter-spacing:.55px;font-weight:400;font-size:10px;margin:0;text-transform:none}
.tap-cta-icon{color:#308ff0;text-shadow:0 0 15px #2783e8}.tap-cta-arrow{color:#e5b96c;font-size:15px}
.intro-tap-surface:active .tap-cta{transform:scale(.975);box-shadow:0 0 26px #367fe67a}
.splash-exiting .splash-center{opacity:0;transform:scale(1.045)}
.splash-exiting .splash-atmosphere{filter:brightness(1.55);transition:filter .25s ease}
.splash-exiting .tap-cta{opacity:0;transition:opacity .18s ease}
@keyframes particleFloat{0%{opacity:0;transform:translate3d(0,10px,0)}35%{opacity:.9}70%{opacity:.35}100%{opacity:0;transform:translate3d(8px,-30px,0)}}
@keyframes auroraTurn{to{transform:rotate(360deg)}}
@keyframes orbitTurn{to{transform:translate(-50%,-50%) rotate(341deg)}}
@keyframes beamGlow{from{opacity:.1}to{opacity:.55}}
@keyframes gridBreath{from{opacity:.06}to{opacity:.19}}
@keyframes ringPulse{from{opacity:.55;transform:scale(.94)}to{opacity:1;transform:scale(1.075)}}
@keyframes diamondLevitate{0%,100%{transform:translateY(3px);filter:drop-shadow(0 0 23px #1e77d855)}50%{transform:translateY(-9px);filter:drop-shadow(0 0 40px #3389df99)}}
@keyframes ctaBreathe{from{border-color:#98714a;box-shadow:0 0 25px #2669bc20,0 8px 32px #0008}to{border-color:#efc87c;box-shadow:0 0 32px #236fb754,0 8px 35px #000a}}
@media(max-width:620px){.splash-diamond-frame{margin:17px auto 12px}.splash-tagline{margin-bottom:25px!important}.splash-kicker{font-size:8px;letter-spacing:2.1px}.splash-wordmark{font-size:clamp(32px,10vw,46px)}.intro-tap-surface{padding-bottom:calc(65px + env(safe-area-inset-bottom,0px))}}
@media(max-height:700px){.splash-diamond-frame{width:clamp(130px,33vh,230px);margin:8px auto}.splash-tagline{margin:9px 0 18px!important}.splash-center{transform:translateY(-15px)}.intro-tap-surface{padding-bottom:calc(47px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.splash-grid,.splash-aurora,.energy-beam,.splash-orbit,.intro-particles i,.splash-mark,.splash-diamond-ring,.intro-dot,.tap-cta{animation:none!important}.splash-exiting .splash-center{transform:none}}
