:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--bg: #101020;--surface: rgba(255,255,255,.1);--surface-strong: rgba(255,255,255,.18);--text: #fff8ff;--muted: #f0dff3;--accent: #ff6fb3;--accent-2: #61d9ff;--accent-3: #ffe66d;--accent-soft: rgba(255, 111, 179, .2);--border: rgba(255,255,255,.12);--shadow: 0 28px 90px rgba(46, 12, 64, .34)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:radial-gradient(circle at 15% 12%,rgba(255,230,109,.23),transparent 28%),radial-gradient(circle at 82% 8%,rgba(97,217,255,.2),transparent 28%),radial-gradient(circle at 72% 78%,rgba(255,111,179,.22),transparent 32%),linear-gradient(135deg,#23133f 0%,#183a59 48%,#48245c 100%);color:var(--text)}body{margin:0;font-family:inherit;line-height:1.5;overflow-x:hidden}body.dark-theme{background:radial-gradient(circle at 20% 8%,rgba(124,97,255,.3),transparent 30%),radial-gradient(circle at 75% 18%,rgba(67,216,255,.2),transparent 28%),linear-gradient(135deg,#070a18 0%,#11162c 55%,#241634 100%)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}section{padding:60px 24px}.container{max-width:1200px;margin:0 auto}.glass-card{background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--shadow);border-radius:24px}.grid{display:grid;gap:24px}.button-primary{background:linear-gradient(135deg,#ff6fb3,#ff9a6c 48%,#ffe66d);border:none;color:#34103a;border-radius:999px;padding:14px 24px;font-weight:900;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;box-shadow:0 16px 44px #ff6fb352,0 0 0 6px #ffffff14}.button-primary:hover{transform:translateY(-2px) scale(1.01);filter:saturate(1.08);box-shadow:0 20px 52px #ff6fb36b,0 0 0 8px #ffffff1a}.ghost-button{border:1px solid rgba(255,255,255,.24);color:#fff;border-radius:999px;padding:13px 22px;font-weight:800;background:rgba(255,255,255,.08);transition:transform .2s ease,background .2s ease}.ghost-button:hover{background:rgba(255,255,255,.16);transform:translateY(-2px)}@media (max-width: 900px){section{padding:48px 18px}}app-editor-page .editor-shell,app-editor-page .editor-grid,app-editor-page .template-container{width:100%;min-width:0}app-editor-page .editor-grid,app-editor-page .template-container{display:grid;gap:32px;align-items:start;grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr)}app-editor-page .template-container{max-width:1400px;margin:0 auto}app-editor-page .gift-preview-panel,app-editor-page .editor-toolbar,app-editor-page .preview-actions,app-editor-page .checkout-card,app-editor-page .toolbar-group,app-editor-page .gift-message,app-editor-page .animated-stage,app-editor-page .scene,app-editor-page .real-calculator,app-editor-page .puzzle-preview,app-editor-page .vows-card,app-editor-page .meter-card,app-editor-page .quiz-card,app-editor-page .finale-card,app-editor-page .cinematic-card,app-editor-page .train-card,app-editor-page .romantic-card,app-editor-page .cake-card,app-editor-page .greeting-card,app-editor-page .secret-words-container,app-editor-page .counter-card,app-editor-page .fortune-wheel-container,app-editor-page .grand-letter,app-editor-page .final-content,app-editor-page .proposal-card,app-editor-page .proposal-success,app-editor-page .question-card{min-width:0;max-width:100%}app-editor-page .gift-preview-panel{padding:24px;overflow:hidden}app-editor-page .animated-stage{position:relative;overflow:hidden}app-editor-page .gift-preview-panel *,app-editor-page .editor-toolbar *,app-editor-page .checkout-card *,app-editor-page .gift-message *,app-editor-page .scene *,app-editor-page .real-calculator *,app-editor-page .puzzle-preview *,app-editor-page .vows-card *,app-editor-page .meter-card *,app-editor-page .quiz-card *,app-editor-page .finale-card *,app-editor-page .cinematic-card *,app-editor-page .train-card *,app-editor-page .romantic-card *,app-editor-page .cake-card *,app-editor-page .greeting-card *,app-editor-page .secret-words-container *,app-editor-page .counter-card *,app-editor-page .fortune-wheel-container *,app-editor-page .grand-letter *,app-editor-page .final-content *,app-editor-page .proposal-card *,app-editor-page .proposal-success *,app-editor-page .question-card *,app-editor-page .letter-envelope-container *,app-editor-page .flower-envelope-container *,app-editor-page .elegant-envelope-container *,app-editor-page .valentine-envelope-container *,app-editor-page .memory-tree *,app-editor-page .phone-mockup *,app-editor-page .scratch-card-wrapper *,app-editor-page .terminal-card *,app-editor-page .hologram-card *,app-editor-page .magic-content *{max-width:100%}app-editor-page .animated-stage *,app-editor-page .gift-message *,app-editor-page .editor-toolbar *,app-editor-page .checkout-card *{box-sizing:border-box}app-editor-page img,app-editor-page video,app-editor-page canvas,app-editor-page svg{max-width:100%;height:auto}app-editor-page input,app-editor-page textarea,app-editor-page select,app-editor-page button{max-width:100%}app-editor-page .scene,app-editor-page .real-calculator,app-editor-page .puzzle-preview,app-editor-page .vows-card,app-editor-page .meter-card,app-editor-page .quiz-card,app-editor-page .finale-card,app-editor-page .cinematic-card,app-editor-page .train-card,app-editor-page .romantic-card,app-editor-page .cake-card,app-editor-page .greeting-card,app-editor-page .secret-words-container,app-editor-page .counter-card,app-editor-page .fortune-wheel-container,app-editor-page .grand-letter,app-editor-page .final-content,app-editor-page .proposal-card,app-editor-page .proposal-success,app-editor-page .question-card,app-editor-page .letter-envelope-container,app-editor-page .flower-envelope-container,app-editor-page .elegant-envelope-container,app-editor-page .valentine-envelope-container,app-editor-page .memory-tree,app-editor-page .phone-mockup,app-editor-page .scratch-card-wrapper,app-editor-page .terminal-card,app-editor-page .hologram-card,app-editor-page .magic-content{width:min(100%,100%);min-width:0;margin-inline:auto}@media (max-width: 1024px){app-editor-page .editor-grid,app-editor-page .template-container{grid-template-columns:1fr}app-editor-page .gift-preview-panel,app-editor-page .editor-toolbar{width:100%}}@media (max-width: 768px){app-editor-page .gift-preview-panel{padding:12px;border-radius:20px;overflow:visible}app-editor-page .animated-stage{min-height:520px;padding:24px 0 36px;border-radius:20px;overflow:visible;transform:scale(.88);transform-origin:top center}app-editor-page .editor-toolbar{padding:20px;gap:20px;border-radius:24px}app-editor-page .preview-actions{flex-direction:column;gap:10px;margin-top:20px}app-editor-page .preview-actions button{width:100%}app-editor-page .style-grid{grid-template-columns:1fr}app-editor-page .checkout-card>div,app-editor-page .sound-card div{flex-direction:column;align-items:flex-start;gap:10px}app-editor-page .gift-message{width:min(95vw,560px);padding:30px 20px}app-editor-page .preview-actions,app-editor-page .preview-actions button,app-editor-page .editor-toolbar button,app-editor-page .checkout-card button{position:relative;z-index:10;pointer-events:auto}app-editor-page .gift-box,app-editor-page .real-calculator,app-editor-page .train-card,app-editor-page .proposal-card,app-editor-page .proposal-success,app-editor-page .final-content,app-editor-page .grand-letter,app-editor-page .question-card,app-editor-page .vows-card,app-editor-page .meter-card,app-editor-page .quiz-card,app-editor-page .finale-card,app-editor-page .cinematic-card,app-editor-page .romantic-card,app-editor-page .cake-card,app-editor-page .greeting-card,app-editor-page .secret-words-container,app-editor-page .counter-card,app-editor-page .fortune-wheel-container{width:min(95vw,420px);margin-inline:auto}app-editor-page .gift-preview-panel *,app-editor-page .editor-toolbar *,app-editor-page .checkout-card *,app-editor-page .animated-stage *{max-width:100%}}
