:root{--tg-bg-color:#0f0f1a;--tg-text-color:#fff;--tg-hint-color:#a1a1aa;--tg-link-color:#6366f1;--tg-button-color:#6366f1;--tg-button-text-color:#fff;--tg-secondary-bg-color:#1a1a2e}.dashboard-root{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);background-color:#0f0f1a!important}html,body{overscroll-behavior:none;-webkit-overflow-scrolling:touch;background-color:#0f0f1a!important}.dashboard-root header,.dashboard-root main{background-color:#0f0f1a!important}.dashboard-root main:has(.chat-page){flex-direction:column;min-height:0;display:flex;overflow:hidden!important}.dashboard-root ::-webkit-scrollbar{display:none}.dashboard-root{-ms-overflow-style:none;scrollbar-width:none}.dashboard-root button,.dashboard-root a,.dashboard-root [role=button]{-webkit-tap-highlight-color:transparent;min-height:44px}.dashboard-root{-webkit-user-select:none;user-select:none}.dashboard-root input,.dashboard-root textarea,.dashboard-root .prose,.dashboard-root .whitespace-pre-wrap,.dashboard-root .chat-user-bubble,.dashboard-root .chat-ai-bubble,.dashboard-root .chat-markdown{-webkit-user-select:text;user-select:text}.dashboard-root input,.dashboard-root textarea,.dashboard-root select{font-size:16px!important}@media (hover:none){.dashboard-root .card:hover{box-shadow:none!important;transform:none!important}}.dashboard-root .card:active{transition:transform .1s;transform:scale(.98)}.tg-quick-actions{grid-template-columns:repeat(2,1fr);gap:12px;padding:16px;display:grid}.tg-quick-action-card{background:rgb(var(--card));border:1px solid rgb(var(--border));color:rgb(var(--foreground));border-radius:16px;flex-direction:column;justify-content:center;align-items:center;padding:20px 16px;text-decoration:none;transition:all .2s;display:flex}.tg-quick-action-card:active{background:rgb(var(--accent)/.1);transform:scale(.97)}.tg-quick-action-icon{border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:12px;display:flex}.tg-quick-action-title{text-align:center;font-size:14px;font-weight:600}.tg-quick-action-desc{color:rgb(var(--muted-foreground));text-align:center;margin-top:4px;font-size:12px}.tg-section-header{color:rgb(var(--muted-foreground));text-transform:uppercase;letter-spacing:.5px;padding:16px 16px 8px;font-size:13px;font-weight:600}.tg-list-item{border-bottom:1px solid rgb(var(--border));color:rgb(var(--foreground));align-items:center;padding:12px 16px;text-decoration:none;display:flex}.tg-list-item:last-child{border-bottom:none}.tg-list-item:active{background:rgb(var(--accent)/.1)}.tg-result-card{background:rgb(var(--card));border:1px solid rgb(var(--border));border-radius:16px;margin:16px;overflow:hidden}.tg-result-image{aspect-ratio:1;object-fit:cover;width:100%}.tg-result-actions{gap:8px;padding:12px;display:flex}.tg-skeleton{background:linear-gradient(90deg,rgb(var(--card))0%,rgb(var(--secondary))50%,rgb(var(--card))100%);background-size:200% 100%;animation:1.5s ease-in-out infinite skeleton-shimmer}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.tg-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:48px 24px;display:flex}.tg-empty-icon{opacity:.5;width:64px;height:64px;margin-bottom:16px}.tg-empty-title{margin-bottom:8px;font-size:18px;font-weight:600}.tg-empty-desc{color:rgb(var(--muted-foreground));font-size:14px}.safe-area-bottom{padding-bottom:max(env(safe-area-inset-bottom),16px)}@keyframes onboarding-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.onboarding-slide-enter{animation:.3s ease-out onboarding-fade-in}.dashboard-root textarea:focus,.dashboard-root input:focus{z-index:100;position:relative}.dashboard-root main{scroll-behavior:smooth}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.dashboard-root .backdrop-blur-sm{-webkit-backdrop-filter:none!important;background-color:rgb(var(--card))!important}}@media (prefers-reduced-motion:reduce){.dashboard-root .backdrop-blur-sm{-webkit-backdrop-filter:none!important;background-color:rgb(var(--card))!important}}.stories-carousel{padding:6px 0}.stories-scroll{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:8px;padding:0;scroll-padding-left:16px;display:flex;overflow-x:auto}.stories-scroll::-webkit-scrollbar{display:none}.stories-scroll:before,.stories-scroll:after{content:"";flex-shrink:0;width:8px}.stories-card{scroll-snap-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:12px;flex:0 0 calc(43.4783vw - 20.8696px);max-width:200px;height:100px;padding:0;transition:transform .15s;position:relative;overflow:hidden}.stories-card:active{transform:scale(.96)}.stories-card-img{object-fit:cover;opacity:.8;width:100%;height:100%;position:absolute;inset:0}.stories-card-overlay{background:linear-gradient(#0000 0% 10%,#000000de 100%);flex-direction:column;justify-content:space-between;padding:8px;display:flex;position:absolute;inset:0}.stories-badge{color:#fff;text-transform:uppercase;letter-spacing:.6px;border-radius:5px;align-self:flex-start;align-items:center;gap:3px;padding:2px 5px;font-size:7px;font-weight:800;display:inline-flex}.stories-badge-icon{width:8px;height:8px}.stories-card-title{color:#fff;-webkit-line-clamp:2;text-align:left;text-shadow:0 1px 3px #00000080;-webkit-box-orient:vertical;font-size:13px;font-weight:700;line-height:1.2;display:-webkit-box;overflow:hidden}.stories-card-subtitle{color:#ffffffba;white-space:nowrap;text-overflow:ellipsis;text-align:left;text-shadow:0 1px 3px #00000080;font-size:10px;font-weight:400;line-height:1.2;display:block;overflow:hidden}.stories-card-skeleton{border-radius:12px;flex:0 0 calc(43.4783vw - 20.8696px);max-width:200px;height:100px}.stories-dots{justify-content:center;gap:4px;padding:6px 0 0;display:flex}.stories-dot{background:#ffffff40;border-radius:50%;width:5px;height:5px;transition:all .2s}.stories-dot-active{background:#fffc;border-radius:3px;width:14px}.hero-block-wrapper{padding:8px 16px}.hero-block{cursor:pointer;-webkit-tap-highlight-color:transparent;border:1px solid #ffffff1a;border-radius:16px;height:200px;transition:transform .15s;position:relative;overflow:hidden}.hero-block:active{transform:scale(.98)}.hero-block-img{object-fit:cover;width:100%;height:200px;display:block}.hero-block-overlay{background:linear-gradient(#0f0f1a00 0%,#0f0f1a33 40%,#0f0f1acc 70%,#0f0f1afa 100%);flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0}.hero-block-label{color:#a78bfa;text-transform:uppercase;letter-spacing:1.2px;-webkit-backdrop-filter:blur(4px);background:#0000008c;border-radius:6px;align-self:flex-start;align-items:center;gap:5px;margin:16px 20px 0;padding:3px 8px 3px 6px;font-size:10px;font-weight:700;display:inline-flex}.hero-block-label-dot{background-color:#a78bfa;border-radius:100px;flex-shrink:0;width:6px;height:6px}.hero-block-content{flex-direction:column;gap:10px;padding:0 20px 16px;display:flex}.hero-block-text{flex-direction:column;gap:3px;display:flex}.hero-block-title{color:#fff;white-space:pre-line;text-shadow:0 2px 8px #0009,0 1px 3px #0006;max-width:280px;font-size:22px;font-weight:800;line-height:1.1}.hero-block-subtitle{color:#d1d5db;text-shadow:0 1px 4px #00000080;max-width:300px;font-size:12px;font-weight:400;line-height:1.3}.hero-block-subtitle blockquote,.story-rich-text blockquote{color:#ffffffb3;border-left:3px solid #6366f1;margin:4px 0;padding-left:10px;font-style:italic}.hero-block-actions{align-items:center;gap:10px;display:flex}.hero-block-cta{color:#fff;cursor:pointer;text-shadow:0 1px 3px #0000004d;background:linear-gradient(#8b5cf6,#6366f1);border:none;border-radius:14px;align-items:center;gap:6px;padding:10px 20px;font-size:14px;font-weight:600;display:inline-flex;box-shadow:0 4px 16px #8b5cf640}.hero-block-price{color:#9ca3af;font-size:13px;font-weight:500}.hero-block-skeleton{border-radius:16px;height:200px;margin:8px 16px}body.page-no-navbar .tg-navbar{display:none!important}body.page-no-navbar .dashboard-root>main{flex-direction:column!important;min-height:0!important;padding-bottom:0!important;display:flex!important;overflow:hidden!important}.tg-navbar{z-index:50;background:#0f0f1a;border-top:1px solid #ffffff10;height:80px;position:fixed;bottom:0;left:0;right:0}.tg-navbar-row{justify-content:space-around;align-items:center;height:64px;margin-top:4px;padding:0 8px;display:flex}.tg-nav-tab{-webkit-tap-highlight-color:transparent;flex-direction:column;flex:1;align-items:center;gap:5px;text-decoration:none;display:flex}.tg-nav-tab-icon{width:24px;height:24px}.tg-nav-tab-label{color:#6b7280;font-size:12px;font-weight:500}.tg-nav-tab-active .tg-nav-tab-icon{color:#8b5cf6}.tg-nav-tab-active .tg-nav-tab-label{color:#8b5cf6;font-weight:600}.tg-nav-spacer{opacity:0;flex:1;height:10px}.tg-nav-cta-wrap{flex-direction:column;align-items:center;gap:4px;width:68px;display:flex;position:absolute;top:-18px;left:50%;transform:translate(-50%)}.nav-center-btn{cursor:pointer;-webkit-tap-highlight-color:transparent;background:linear-gradient(135deg,#8b5cf6 0%,#6366f1 50%,#7c3aed 100%);border:none;border-radius:28px;justify-content:center;align-items:center;width:56px;height:56px;transition:transform .15s;display:flex;box-shadow:0 4px 16px #8b5cf640}.nav-center-btn:active{transform:scale(.92)}.tg-nav-cta-label{color:#8b5cf6;font-size:12px;font-weight:600}.create-sheet-backdrop{z-index:9998;-webkit-tap-highlight-color:transparent;background:#000000ab;position:fixed;inset:0}.create-sheet{z-index:9999;background:#1a1a2e;border-radius:24px 24px 0 0;flex-direction:column;gap:16px;height:420px;padding:0 20px 20px;transition:transform .3s cubic-bezier(.32,.72,0,1);display:flex;position:fixed;bottom:0;left:0;right:0;transform:translateY(100%)}.create-sheet.create-sheet-open{transform:translateY(0)}.create-sheet-handle{background:#ffffff30;border-radius:2px;width:40px;height:4px;margin:12px auto 0}.create-sheet-header{justify-content:space-between;align-items:center;display:flex}.create-sheet-title{color:#fff;font-size:20px;font-weight:700}.create-sheet-close{color:#ffffff80;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#ffffff15;border:none;border-radius:14px;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.create-sheet-close:active{background:#ffffff26}.create-sheet-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.create-sheet-card{color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:16px;flex-direction:column;justify-content:space-between;height:110px;padding:14px;text-decoration:none;transition:transform .15s;display:flex}.create-sheet-card:active{transform:scale(.96)}.create-sheet-card-icon{color:#fff;width:28px;height:28px}.create-sheet-card-text{flex-direction:column;gap:2px;display:flex}.create-sheet-card-label{color:#fff;font-size:15px;font-weight:700;line-height:1.2}.create-sheet-card-desc{color:#ffffffba;font-size:10px;font-weight:500;line-height:1.3}.home-templates-section{flex-direction:column;gap:12px;padding:4px 0 16px;display:flex}.home-section-header{justify-content:space-between;align-items:center;width:100%;padding:0 16px;display:flex}.home-section-title{color:#fff;font-size:16px;font-weight:700}.home-section-link{color:#8b5cf6;-webkit-tap-highlight-color:transparent;align-items:center;gap:2px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.bottom-sheet-backdrop{z-index:9998;-webkit-tap-highlight-color:transparent;background:#00000080;position:fixed;inset:0}.bottom-sheet{z-index:9999;background:#1a1a2e;border-radius:24px 24px 0 0;flex-direction:column;transition:transform .3s cubic-bezier(.32,.72,0,1);display:flex;position:fixed;bottom:0;left:0;right:0;overflow:hidden;transform:translateY(100%)}.bottom-sheet.bottom-sheet-open{transform:translateY(0)}.bottom-sheet-handle{background:#ffffff30;border-radius:3px;flex-shrink:0;width:40px;height:5px;margin:14px auto 0}.bottom-sheet-header{flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 16px 0;display:flex}.bottom-sheet-title{color:#fff;font-size:20px;font-weight:600}.bottom-sheet-close{color:#fff9;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#ffffff15;border:none;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.bottom-sheet-close:active{background:#ffffff26}@supports (-webkit-touch-callout:none){.dashboard-root textarea,.dashboard-root input[type=text],.dashboard-root input[type=search]{appearance:none;font-size:16px!important}}.error-sheet-body{flex-direction:column;align-items:center;gap:20px;padding:16px 24px 24px;display:flex}.error-sheet-icon{border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;display:flex}.error-sheet-icon--red{background:#ef44441f}.error-sheet-icon--amber{background:#f59e0b1f}.error-sheet-text{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.error-sheet-title{color:#fff;text-align:center;font-family:Inter,sans-serif;font-size:17px;font-weight:600}.error-sheet-desc{color:#ffffff80;text-align:center;white-space:pre-line;font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:1.5}.error-sheet-refund{color:#10b981;background:#10b98114;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;height:40px;font-family:Inter,sans-serif;font-size:13px;font-weight:500;display:flex}.error-sheet-buttons{flex-direction:column;gap:10px;width:100%;display:flex}.error-sheet-btn{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;font-family:Inter,sans-serif;font-size:15px;transition:opacity .15s;display:flex}.error-sheet-btn:active{opacity:.8}.error-sheet-btn--primary{color:#fff;background:#8b5cf6;height:48px;font-weight:600}.error-sheet-btn--amber{color:#000;background:#f59e0b;height:48px;font-weight:600}.error-sheet-btn--ghost{color:#ffffff59;background:#ffffff08;height:44px;font-weight:500}
