:root{--bg-color:#030303;--surface-color:#0c0c0c;--surface-glass:rgba(12,12,12,0.72);--border-color:rgba(255,255,255,0.08);--accent:#ffffff;--accent-dim:rgba(255,255,255,0.6);--input-border:rgba(255,255,255,0.15);--header-bg:rgba(3,3,3,0.72);--button-bg:#ffffff;--button-text:#000000;--step-number-color:rgba(255,255,255,0.05);--semantic-blue:#60a5fa;--semantic-green:#4ade80;--blue-accent:#2563eb;--country-panel-bg:#18191a;--country-field-bg:#242526;--country-hover-bg:rgba(255,255,255,0.08);--country-divider:rgba(255,255,255,0.13);--country-backdrop:rgba(0,0,0,0.58);--country-shadow:0 22px 70px rgba(0,0,0,0.48);--cursor-solid:#ffffff;--cursor-hover-bg:rgba(255,255,255,0.1);--cursor-hover-border:rgba(255,255,255,0.5)}html[data-theme=light]{--bg-color:#f4f5f7;--surface-color:#ffffff;--surface-glass:rgba(255,255,255,0.82);--border-color:rgba(15,23,42,0.13);--accent:#111827;--accent-dim:rgba(17,24,39,0.68);--input-border:rgba(15,23,42,0.22);--header-bg:rgba(244,245,247,0.8);--button-bg:#111827;--button-text:#ffffff;--step-number-color:rgba(17,24,39,0.07);--semantic-blue:#1d4ed8;--semantic-green:#15803d;--country-panel-bg:#ffffff;--country-field-bg:#f0f2f5;--country-hover-bg:rgba(15,23,42,0.07);--country-divider:rgba(15,23,42,0.14);--country-backdrop:rgba(15,23,42,0.38);--country-shadow:0 22px 70px rgba(15,23,42,0.2);--cursor-solid:#111827;--cursor-hover-bg:rgba(17,24,39,0.1);--cursor-hover-border:rgba(17,24,39,0.45)}*,:after,:before{box-sizing:border-box}body,html{background-color:var(--bg-color);color:var(--accent);font-family:Inter,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;margin:0;padding:0;overflow-x:hidden;scroll-behavior:smooth;cursor:none}.display-font,h1,h2,h3,h4,h5{font-family:Syne,Inter,-apple-system,PingFang SC,sans-serif}.noise:before{content:"";width:100vw;height:100vh;z-index:9999;opacity:.03;background:url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E')}.custom-cursor,.noise:before{position:fixed;top:0;left:0;pointer-events:none}.custom-cursor{width:16px;height:16px;border-radius:50%;background-color:var(--cursor-solid);z-index:20000;transform:translate(-50%,-50%);transition:width .4s cubic-bezier(.16,1,.3,1),height .4s cubic-bezier(.16,1,.3,1),background-color .3s}.custom-cursor.hover{width:70px;height:70px;background-color:var(--cursor-hover-bg);backdrop-filter:blur(4px);border:1px solid var(--cursor-hover-border)}::-webkit-scrollbar{width:0;background:transparent}.app-header{position:fixed;top:0;left:0;width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.5rem;padding:1.25rem clamp(1rem,3vw,3rem);color:var(--accent);background:linear-gradient(180deg,var(--header-bg),transparent);pointer-events:none;z-index:50}.account-controls,.app-brand,.primary-nav{pointer-events:auto}.app-brand{justify-self:start;color:var(--accent)}.primary-nav{justify-self:center;display:flex;align-items:center;gap:2rem;color:var(--accent)}.primary-nav a{color:inherit;text-decoration:none}.account-controls{justify-self:end;display:flex;align-items:center;gap:.65rem}.history-entry-button{min-width:7rem;min-height:2.25rem;padding:0 .85rem;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:.45rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--border-color);border-radius:999px;background:var(--surface-glass);color:var(--accent);font:inherit;font-size:.78rem;font-weight:650;line-height:1;white-space:nowrap;cursor:pointer;transition:border-color .2s ease,background-color .2s ease}.history-entry-button:hover{border-color:var(--semantic-blue);background:color-mix(in srgb,var(--surface-glass) 82%,var(--semantic-blue))}.history-entry-button:focus-visible{outline:2px solid var(--semantic-blue);outline-offset:2px}.history-entry-button svg{width:1rem;height:1rem;flex:0 0 auto}.history-entry-button span{display:inline-block;white-space:nowrap}.credit-badge{display:inline-flex;align-items:center;gap:.4rem;min-height:2.25rem;padding:0 .75rem;border:1px solid var(--border-color);border-radius:999px;background:var(--surface-glass);color:var(--accent);font-size:.75rem;font-weight:700;letter-spacing:.08em}.theme-toggle,.user-avatar{width:2.25rem;height:2.25rem;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid var(--border-color);border-radius:50%;background:var(--surface-glass);color:var(--accent)}.user-avatar{padding:0;font-family:Syne,sans-serif;font-size:.8rem;font-weight:800;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.user-avatar:hover,.user-avatar[aria-expanded=true]{border-color:var(--semantic-blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--semantic-blue) 18%,transparent)}.user-avatar:focus-visible{outline:2px solid var(--semantic-blue);outline-offset:2px}.user-menu-host{position:relative;display:inline-flex;flex:0 0 auto}.account-menu{position:absolute;top:calc(100% + .65rem);right:0;z-index:20;width:232px;padding:.75rem;display:grid;gap:.7rem;border:1px solid var(--border-color);border-radius:8px;background:var(--surface-color);color:var(--accent);box-shadow:0 18px 50px rgba(0,0,0,.32)}.account-menu[hidden]{display:none}.account-profile{display:grid;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.65rem;min-width:0}.account-menu-monogram{width:2rem;height:2rem;display:grid;place-items:center;border-radius:50%;background:var(--blue-accent);color:#ffffff;font-family:Syne,sans-serif;font-size:.72rem;font-weight:800}.account-profile-copy{min-width:0}.account-profile-copy span,.account-profile-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-profile-copy strong{font-size:.82rem;font-weight:700}.account-profile-copy span{margin-top:.18rem;color:var(--accent-dim);font-size:.7rem}.account-menu-credit{min-height:2.25rem;padding:0 .65rem;display:flex;align-items:center;gap:.5rem;border:1px solid var(--border-color);border-radius:6px;background:color-mix(in srgb,var(--surface-glass) 82%,transparent);color:var(--accent-dim);font-size:.72rem}.account-menu-credit i,.account-menu-credit svg{width:.9rem;height:.9rem;color:var(--semantic-blue)}.account-menu-credit strong{margin-left:auto;color:var(--accent);font-size:.78rem}.theme-toggle{cursor:pointer;transition:transform .25s ease,opacity .25s ease,background-color .25s ease}.theme-toggle:hover{transform:rotate(8deg) scale(1.04)}.theme-toggle:disabled{cursor:wait;opacity:.55}.theme-toggle i,.theme-toggle svg{width:1rem;height:1rem}.theme-reveal-overlay{position:fixed;inset:0;z-index:9998;pointer-events:none;will-change:clip-path}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2}.hero{position:relative;height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-title{font-size:clamp(3rem,12vw,12rem);font-weight:800;line-height:.9;text-transform:uppercase;text-align:center;color:#fff;pointer-events:none;letter-spacing:-.02em;text-shadow:0 0 40px rgba(0,0,0,.8)}.hero-subtitle,.hero-title{z-index:20;mix-blend-mode:normal}.hero-subtitle{position:absolute;bottom:6vh;left:5vw;font-size:1.1rem;max-width:450px;color:var(--accent);line-height:1.6;text-shadow:0 0 20px rgba(0,0,0,.9)}.hero-overlay{inset:0;background:radial-gradient(circle at center,transparent 0,rgba(0,0,0,.6) 100%);z-index:5}.hero-overlay,.parallax-container{position:absolute;pointer-events:none}.parallax-container{top:0;left:0;width:100%;height:100%;z-index:1}.parallax-img{position:absolute;-o-object-fit:cover;object-fit:cover;border-radius:0;filter:grayscale(80%) contrast(1.2) brightness(.4);transition:filter .8s ease;will-change:transform}.hero:hover .parallax-img{filter:grayscale(20%) contrast(1.1) brightness(.6)}.img-1{top:-5%;left:-5%;width:35vw;height:50vh}.img-2{bottom:-5%;right:-5%;width:45vw;height:60vh}.img-3{top:10%;right:5%;width:25vw;height:35vh}.img-4{bottom:5%;left:10%;width:30vw;height:40vh}.engine-section{position:relative;z-index:20;background-color:var(--bg-color);padding:15vh 5vw;display:flex;flex-direction:column;align-items:center}.bento-box{background:var(--surface-glass);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid var(--border-color);border-radius:0;padding:4rem;max-width:1200px;min-height:700px;overflow:hidden;transition:min-height .6s cubic-bezier(.19,1,.22,1)}#form-content,.bento-box{width:100%;position:relative}#form-content{transition:opacity .5s ease}.minimal-input{background:transparent;border:none;border-bottom:1px solid var(--input-border);color:var(--accent);font-size:1.1rem;padding:1rem 0;width:100%;transition:border-color .4s ease;border-radius:0;font-family:Inter,-apple-system,sans-serif}.minimal-input:focus{outline:none;border-bottom:1px solid var(--accent)}.minimal-input::-moz-placeholder{color:var(--accent-dim);opacity:.55}.minimal-input::placeholder{color:var(--accent-dim);opacity:.55}.engine-description-input{min-height:6rem;max-height:18rem;overflow-y:hidden}.engine-field-label{font-size:1.35rem;line-height:1.3;font-weight:650;color:var(--accent-dim)}.engine-field-label svg{width:1.3rem;height:1.3rem;flex:0 0 auto}select.minimal-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}select.minimal-input option{background-color:var(--surface-color);color:var(--accent)}.country-picker-host{width:100%}.country-trigger{width:100%;height:36px;padding:0 .75rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;border:1px solid var(--input-border);border-radius:6px;background:color-mix(in srgb,var(--surface-color) 84%,transparent);color:var(--accent);font:500 .9rem/1 Inter,-apple-system,PingFang SC,sans-serif;text-align:left;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.country-trigger:hover,.country-trigger[aria-expanded=true]{border-color:var(--semantic-blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--semantic-blue) 20%,transparent)}.country-apply:focus-visible,.country-close:focus-visible,.country-current:focus-visible,.country-option:focus-visible,.country-search:focus-visible,.country-trigger:focus-visible{outline:2px solid var(--semantic-blue);outline-offset:2px}.country-trigger i,.country-trigger svg{width:1rem;height:1rem;flex:0 0 auto;color:var(--accent-dim)}.country-picker-panel{position:fixed;z-index:5000;width:327px;height:312px;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--country-divider);border-radius:8px;background:var(--country-panel-bg);color:var(--accent);box-shadow:var(--country-shadow);font-family:Inter,-apple-system,PingFang SC,sans-serif}.country-picker-header{min-height:46px;padding:12px 14px 6px;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.country-picker-title{margin:0;font-family:inherit;font-size:1rem;font-weight:700;letter-spacing:0}.country-close{width:32px;height:32px;display:none;place-items:center;flex:0 0 auto;border:0;border-radius:50%;background:var(--country-field-bg);color:var(--accent);cursor:pointer}.country-close i,.country-close svg{width:1rem;height:1rem}.country-search-wrap{position:relative;margin:4px 12px 8px}.country-search-wrap>i,.country-search-wrap>svg{position:absolute;left:10px;top:50%;width:1rem;height:1rem;color:var(--accent-dim);transform:translateY(-50%);pointer-events:none}.country-search{width:100%;height:36px;padding:0 12px 0 34px;border:1px solid transparent;border-radius:7px;background:var(--country-field-bg);color:var(--accent);font:400 .875rem/1 Inter,-apple-system,PingFang SC,sans-serif}.country-search::-moz-placeholder{color:var(--accent-dim)}.country-search::placeholder{color:var(--accent-dim)}.country-search:focus{border-color:var(--semantic-blue)}.country-current{width:calc(100% - 24px);min-height:38px;margin:0 12px 6px;padding:0 10px;display:flex;align-items:center;gap:9px;border:0;border-radius:6px;background:transparent;color:var(--accent);font:500 .85rem/1.2 Inter,-apple-system,PingFang SC,sans-serif;text-align:left;cursor:pointer}.country-current:hover{background:var(--country-hover-bg)}.country-current i,.country-current svg{width:1rem;height:1rem;color:var(--semantic-blue)}.country-current-label{min-width:0;flex:1}.country-current-label small{display:block;margin-top:2px;color:var(--accent-dim);font-size:.68rem;font-weight:400}.country-option-list{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:4px 6px 8px;border-top:1px solid var(--country-divider);scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 35%,transparent) transparent}.country-option-list::-webkit-scrollbar{width:8px;background:transparent}.country-option-list::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--accent) 35%,transparent);background-clip:padding-box}.country-option{width:100%;min-height:34px;padding:0 9px;display:flex;align-items:center;gap:9px;border:0;border-radius:5px;background:transparent;color:var(--accent);font:400 .84rem/1.25 Inter,-apple-system,PingFang SC,sans-serif;text-align:left;cursor:pointer}.country-empty[hidden],.country-option[hidden]{display:none}.country-option:focus-visible,.country-option:hover{background:var(--country-hover-bg)}.country-option[aria-selected=true]{background:var(--blue-accent);color:#ffffff}.country-option-radio{width:14px;height:14px;display:grid;place-items:center;flex:0 0 auto;border:1.5px solid;border-radius:50%;opacity:.64}.country-option[aria-selected=true] .country-option-radio{opacity:1}.country-option[aria-selected=true] .country-option-radio:after{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.country-empty{padding:22px 12px;color:var(--accent-dim);font-size:.82rem;text-align:center}.country-apply-wrap{display:none}.country-layer-backdrop{position:fixed;inset:0;z-index:4999;background:var(--country-backdrop);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}@media (min-width:641px){.country-layer-backdrop{display:none!important}}body.country-sheet-open{overflow:hidden}.tag-pill{border:1px solid var(--input-border);color:var(--accent-dim);padding:.75rem 1.25rem;font-size:.9rem;border-radius:100px;cursor:pointer;transition:all .4s cubic-bezier(.16,1,.3,1);display:inline-flex;align-items:center;gap:.5rem}.tag-pill.active,.tag-pill:hover{background:var(--button-bg);color:var(--button-text);border-color:var(--button-bg)}.brand-icon{width:16px;height:16px;flex:0 0 auto;color:currentColor;opacity:.68;transition:all .4s cubic-bezier(.16,1,.3,1)}.tag-pill.active .brand-icon,.tag-pill:hover .brand-icon{opacity:1}.btn-submit{background:var(--button-bg);color:var(--button-text);text-transform:uppercase;font-family:Syne,-apple-system,sans-serif;font-weight:800;letter-spacing:.05em;padding:1.5rem;width:100%;border:none;cursor:pointer;position:relative;overflow:hidden;transition:color .4s;margin-top:3rem}.btn-submit:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:var(--blue-accent);transition:transform .6s cubic-bezier(.19,1,.22,1);z-index:0}.btn-submit:hover:before{transform:translateX(100%)}.btn-submit>.submit-content{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.25rem}.btn-submit:hover>.submit-content{color:#fff}.submit-action{min-width:0;align-items:center;gap:.8rem;padding-left:clamp(0rem,8vw,7rem)}.submit-action,.submit-action-copy{display:inline-flex;justify-content:center}.submit-action-copy{align-items:baseline;gap:.65rem}.submit-action-copy strong{font:800 .92rem/1.1 Syne,-apple-system,sans-serif;letter-spacing:.05em}.submit-action-copy small{color:color-mix(in srgb,currentColor 58%,transparent);font:650 .58rem/1 Inter,-apple-system,sans-serif;letter-spacing:.13em}.submit-arrow{width:1.05rem;height:1.05rem;flex:0 0 auto}.submit-credit{min-width:116px;min-height:42px;display:inline-flex;align-items:center;gap:.55rem;padding:.48rem .72rem;border-left:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:0;background:transparent;box-shadow:none;text-align:left}.submit-credit>svg{width:1.08rem;height:1.08rem;flex:0 0 auto;color:#f2b84b}.submit-credit-copy{display:grid;gap:.2rem}.submit-credit-copy small{opacity:.58;font:600 .55rem/1 Inter,-apple-system,sans-serif;letter-spacing:.08em}.submit-credit-copy strong{white-space:nowrap;font:800 .72rem/1 Inter,-apple-system,sans-serif;letter-spacing:.02em}.btn-submit:hover .submit-credit>svg{color:#ffe09b}@media (max-width:640px){.btn-submit{padding:1.1rem}.btn-submit>.submit-content{gap:.8rem}.submit-action{justify-content:flex-start;padding-left:0}.submit-action-copy{display:grid;gap:.25rem;text-align:left}.submit-action-copy strong{font-size:.78rem}.submit-credit{min-width:96px;padding:.4rem .55rem}.submit-credit-copy small{display:none}}#inline-loader{display:none;opacity:0;transition:opacity .6s ease;position:absolute;inset:0;padding:4rem;flex-direction:column;justify-content:center;pointer-events:none;z-index:10}.loader-line{width:100%;height:1px;background:var(--border-color);position:relative;overflow:hidden;margin:3rem 0}.loader-line:after{content:"";position:absolute;top:0;left:0;width:30%;height:100%;background:var(--accent);animation:lineScan 1.5s cubic-bezier(.65,0,.35,1) infinite}@keyframes lineScan{0%{transform:translateX(-100%)}to{transform:translateX(400%)}}.loading-text-container{height:30px;overflow:hidden;position:relative}.loading-text{font-family:Syne,-apple-system,sans-serif;font-size:1.25rem;color:var(--accent-dim);transform:translateY(100%);transition:transform .6s cubic-bezier(.19,1,.22,1);position:absolute;width:100%}.loading-text.visible{transform:translateY(0)}.loading-text.out{transform:translateY(-100%)}.results-wrapper{width:100%;display:none;opacity:0;transform:translateY(20px);transition:all .8s cubic-bezier(.19,1,.22,1)}.results-wrapper.show{display:block;opacity:1;transform:translateY(0)}.creative-showcase{background:var(--surface-color);border:1px solid var(--border-color);padding:3rem;margin-bottom:2rem;display:grid;grid-template-columns:1fr;gap:3rem}@media (min-width:1024px){.creative-showcase{grid-template-columns:1fr 1.2fr}}.creative-image-container{position:relative;width:100%;background:#080808;border:1px solid rgba(255,255,255,.1);overflow:hidden;border-radius:4px;display:flex;align-items:center;justify-content:center;padding:1rem}.creative-image{width:100%;height:min(62vh,620px);min-height:360px;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;border-radius:2px;box-shadow:0 25px 50px -12px rgba(0,0,0,.8)}.creative-image-fallback{width:100%;min-height:360px;display:grid;place-items:center;padding:2rem;border:1px dashed rgba(255,255,255,.2);color:rgba(255,255,255,.72);text-align:center}.creative-partial-fallback{align-content:center;gap:.8rem;color:var(--accent-dim)}.creative-copy-unavailable>svg,.creative-partial-fallback>svg{width:30px;height:30px;color:var(--semantic-blue)}.creative-copy-unavailable strong,.creative-partial-fallback strong{color:var(--accent);font-size:1rem}.creative-copy-unavailable span,.creative-partial-fallback span{max-width:24rem;color:var(--accent-dim);font-size:.82rem;line-height:1.6}.creative-copy-unavailable{min-height:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.8rem;padding:1.25rem;border:1px dashed var(--input-border);border-radius:4px;background:var(--surface-glass)}.creative-partial-retry{width:-moz-fit-content;width:fit-content;min-height:32px;margin-top:.25rem;padding:.35rem .7rem;font-size:.78rem}.creative-partial-retry:disabled{cursor:wait;opacity:.65}.creative-audience-options[hidden],.creative-image-fallback[hidden],.creative-loading[hidden]{display:none}.action-btn{background:var(--surface-glass);border:1px solid var(--border-color);color:var(--accent);padding:.25rem .5rem;border-radius:4px;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.action-btn:hover{background:var(--surface-color);border-color:var(--input-border)}.dash-card.creative-control-card{overflow:visible;z-index:10}.creative-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.75rem}.creative-picker-grid{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.creative-audience-picker{position:relative;min-width:0}.creative-audience-label{display:block;margin-bottom:.55rem;color:var(--accent-dim);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.creative-audience-trigger,.creative-generate{min-height:46px;border:1px solid var(--input-border);border-radius:5px;font:600 .88rem/1.25 Inter,-apple-system,PingFang SC,sans-serif;cursor:pointer}.creative-audience-trigger{height:46px;width:100%;padding:.75rem .9rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--input-bg);color:var(--accent);text-align:left}.creative-audience-trigger:disabled,.creative-guidance-field textarea:disabled{cursor:not-allowed;opacity:.62}.creative-audience-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creative-audience-trigger i,.creative-audience-trigger svg{width:1rem;height:1rem;flex:0 0 auto;transition:transform .2s ease}.creative-audience-trigger[aria-expanded=true] i,.creative-audience-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.creative-audience-options{margin-top:.55rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.creative-audience-option{min-width:0;min-height:44px;padding:.65rem .75rem;border:1px solid var(--border-color);border-radius:4px;background:var(--surface-glass);color:var(--accent-dim);font:500 .8rem/1.35 Inter,-apple-system,PingFang SC,sans-serif;text-align:left;cursor:pointer}.creative-audience-option:hover,.creative-audience-option[aria-selected=true]{border-color:var(--blue-accent);background:color-mix(in srgb,var(--blue-accent) 14%,var(--surface-color));color:var(--accent)}.creative-language-options{position:absolute;z-index:40;top:calc(100% + .55rem);left:0;right:0;max-height:300px;margin-top:0;padding:.55rem;overflow-y:auto;border:1px solid var(--input-border);border-radius:5px;background:var(--surface-color);box-shadow:0 18px 42px rgb(0 0 0/22%)}.creative-language-options .creative-audience-option{display:flex;flex-direction:column;gap:.18rem}.creative-audience-menu{right:auto;width:min(480px,calc(100vw - 2rem))}.creative-audience-menu .creative-audience-option{flex-direction:row;align-items:center;justify-content:space-between;gap:.65rem}.creative-audience-count{display:inline-flex;flex:0 0 auto;min-width:1.25rem;height:1.25rem;padding:0 .35rem;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--blue-accent) 42%,transparent);border-radius:999px;background:color-mix(in srgb,var(--blue-accent) 14%,transparent);color:var(--blue-accent);font-size:.68rem;font-weight:700;line-height:1}.creative-language-options small{color:var(--accent-dim);font-size:.68rem;font-weight:400}.creative-input-grid{grid-column:1/-1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);align-items:stretch;gap:.75rem}.creative-guidance-field{min-width:0;padding:.85rem;border:1px solid var(--border-color);border-radius:5px;background:color-mix(in srgb,var(--input-bg) 86%,transparent);position:relative;display:flex;flex-direction:column}.creative-guidance-field textarea{width:100%;min-height:108px;max-height:172px;padding:.75rem .85rem 1.65rem;resize:vertical;border:1px solid var(--input-border);border-radius:4px;outline:none;background:var(--surface-glass);color:var(--accent);font:400 .83rem/1.6 Inter,-apple-system,PingFang SC,sans-serif}.creative-audience-trigger:focus-visible,.creative-guidance-field textarea:focus,.creative-reference-upload-button:focus-within{border-color:var(--blue-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--blue-accent) 18%,transparent)}.creative-guidance-field>small{position:absolute;right:1.5rem;bottom:1.35rem;color:var(--accent-dim);font-size:.65rem}.creative-reference-fieldset{min-width:0;display:flex;flex-direction:column}.creative-reference-upload-button{width:100%;min-height:94px;padding:1rem;flex:1;position:relative;display:flex;align-items:center;gap:.95rem;border:1px solid var(--border-color);border-radius:14px;background:var(--surface-color);box-shadow:0 10px 35px rgb(0 0 0/8%);transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .2s ease}html:not([data-theme=light]) .creative-reference-upload-button{box-shadow:0 10px 35px rgb(0 0 0/25%)}.creative-reference-upload-button:hover:not([data-disabled=true]){border-color:var(--input-border);background:color-mix(in srgb,var(--surface-color) 92%,var(--accent) 8%);cursor:pointer}.creative-reference-upload-button:active:not([data-full=true]):not([data-disabled=true]){transform:scale(.995)}.creative-reference-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.creative-reference-preview-list{display:flex;flex:0 0 auto;gap:.5rem}.creative-reference-preview,.creative-reference-upload-icon{position:relative;width:62px;height:62px;flex:0 0 62px;overflow:hidden;border-radius:11px}.creative-reference-upload-icon{display:grid;place-items:center;border:1px dashed var(--input-border);background:color-mix(in srgb,var(--surface-color) 86%,var(--accent) 14%);color:var(--accent);cursor:pointer;transition:color .25s ease,background-color .25s ease,border-color .25s ease,transform .2s ease}.creative-reference-upload-icon svg{width:26px;height:26px}.creative-reference-preview{border:1px solid var(--border-color);background:color-mix(in srgb,var(--surface-color) 82%,var(--accent) 18%)}.creative-reference-preview>img{width:100%;height:100%;display:block;-o-object-fit:cover;object-fit:cover}.creative-reference-preview>span{position:absolute;inset:auto 4px 4px;padding:.12rem .3rem;overflow:hidden;border-radius:4px;background:rgb(0 0 0/68%);color:#ffffff;font-size:.55rem;font-weight:700;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}.creative-reference-restored{display:grid;place-items:center;color:var(--semantic-green)}.creative-reference-restored>svg{width:25px;height:25px}.creative-reference-remove{position:absolute;z-index:2;top:4px;right:4px;width:21px;height:21px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:rgb(0 0 0/68%);color:#ffffff;cursor:pointer;transition:background-color .2s ease,transform .2s ease}.creative-reference-remove:hover:not(:disabled){background:#e5484d;transform:scale(1.08)}.creative-reference-remove:disabled{cursor:not-allowed;opacity:.48}.creative-reference-remove svg{width:12px;height:12px}.creative-reference-upload-content{min-width:0;flex:1;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;border:0;outline:none;background:transparent;color:inherit;text-align:left;cursor:pointer}.creative-reference-upload-content strong{color:var(--accent);font-size:1rem;font-weight:700;line-height:1.3}.creative-reference-upload-content span{color:var(--accent-dim);font-size:.78rem;line-height:1.45}.creative-generate{grid-column:2;grid-row:1;padding:.75rem 1.1rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.22rem;border-color:var(--blue-accent);background:var(--blue-accent);color:#ffffff;white-space:nowrap}.creative-generate small{display:inline-flex;align-items:center;gap:.28rem;font-size:.66rem;font-weight:500;opacity:.76}.creative-generate small svg{width:.75rem;height:.75rem}.creative-generate:disabled{border-color:var(--border-color);background:var(--surface-glass);color:var(--accent-dim);cursor:not-allowed;opacity:.58}.creative-loading{min-height:190px;display:grid;place-items:center;text-align:center}.creative-loading-spinner{width:34px;height:34px;margin:0 auto 1rem;border:2px solid var(--border-color);border-top-color:var(--blue-accent);border-radius:50%;animation:creativeSpin .8s linear infinite}@keyframes creativeSpin{to{transform:rotate(1turn)}}.creative-result-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1.5rem}.creative-result-main{grid-column:span 12}.creative-result-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.creative-version-picker{display:inline-flex;align-items:center;gap:.6rem;color:var(--accent-dim);font-size:.72rem;font-weight:600}.creative-version-picker select{min-height:34px;max-width:230px;padding:.4rem 2rem .4rem .65rem;border:1px solid var(--input-border);border-radius:4px;background:var(--input-bg);color:var(--accent);font:inherit}.creative-input-summary{margin-top:1rem;padding:.8rem;display:grid;gap:.35rem;border:1px solid var(--border-color);border-radius:4px;background:var(--surface-glass);color:var(--accent-dim);font-size:.72rem}.creative-input-summary strong{color:var(--accent)}.creative-input-summary p{max-height:4.5em;overflow:auto;line-height:1.5;white-space:pre-wrap}.creative-result-note{grid-column:span 6}.creative-copy-layout{height:min(62vh,620px);min-height:520px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:1rem}.creative-copy-layout h2{margin-bottom:0}.creative-copy-scroll{min-height:0;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 38%,transparent) transparent;padding:1rem 1rem 1rem 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}.creative-copy-scroll::-webkit-scrollbar{width:6px;background:transparent}.creative-copy-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--accent) 38%,transparent)}.creative-copy-scroll:focus-visible{outline:2px solid var(--semantic-blue);outline-offset:3px}.creative-copy-footer{align-self:end}.creative-gallery{display:grid;gap:1.5rem}.creative-set-shell{position:relative;min-width:0}.creative-set-shell.is-locked{max-height:min(62vh,620px);overflow:hidden;border-radius:6px}.creative-set-lock{position:absolute;z-index:5;inset:38% 0 0;width:100%;border:0;cursor:pointer;color:var(--accent);background:transparent;display:flex;align-items:center;justify-content:center}.creative-set-lock-glass{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 0,color-mix(in srgb,var(--surface) 56%,transparent) 22%,color-mix(in srgb,var(--surface) 94%,transparent) 100%);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.creative-set-lock-label{position:relative;display:inline-flex;align-items:center;gap:.55rem;padding:.8rem 1.1rem;border:1px solid color-mix(in srgb,var(--accent) 40%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface) 78%,transparent);box-shadow:0 12px 30px rgb(0 0 0/16%);font-size:.9rem;font-weight:700}.creative-upgrade-dialog{position:fixed;z-index:10001;inset:0;display:grid;place-items:center;padding:1.5rem}.creative-upgrade-backdrop{position:absolute;inset:0;border:0;background:transparent;cursor:pointer}.creative-upgrade-panel{position:relative;z-index:1;width:min(100%,440px);padding:2rem;border:1px solid var(--border-color);border-radius:12px;background:var(--surface);color:var(--accent);box-shadow:0 26px 80px rgb(0 0 0/26%)}.creative-upgrade-panel h3{margin:1rem 0 .55rem;font-size:1.35rem;font-weight:800}.creative-upgrade-panel p{color:var(--accent-dim);line-height:1.7}.creative-upgrade-close{position:absolute;top:.8rem;right:.8rem;padding:.25rem;border:0;background:transparent;color:var(--accent-dim);cursor:pointer}.creative-upgrade-action{margin-top:1.25rem}.creative-set-failed{min-height:240px;display:flex;align-items:center;gap:1rem;color:var(--accent)}.creative-set-failed h3{margin-bottom:.35rem;font-weight:800}.creative-set-failed p{margin-bottom:1rem;color:var(--accent-dim)}.creative-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.5rem}.audience-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.audience-insight{min-width:0;padding:1rem;border:1px solid var(--border-color);border-radius:5px;background:var(--surface-glass)}.audience-insight h4{margin-bottom:.6rem;color:var(--accent);font-size:.95rem;font-weight:700;line-height:1.45}.audience-insight-meta{display:flex;flex-wrap:wrap;gap:.38rem;margin-bottom:.55rem}.audience-insight-meta span{padding:.2rem .42rem;border-radius:999px;background:color-mix(in srgb,var(--blue-accent) 12%,transparent);color:var(--semantic-blue);font-size:.68rem;line-height:1.2}.audience-insight p{color:var(--accent-dim);font-size:.78rem;line-height:1.55}.audience-disclaimer{margin-top:1rem;color:var(--accent-dim);font-size:.72rem;line-height:1.55}.toast{position:fixed;right:1.25rem;bottom:1.25rem;z-index:180;max-width:min(360px,calc(100vw - 2rem));padding:.8rem 1rem;border:1px solid var(--border-color);border-radius:6px;background:var(--accent);color:var(--bg-color);font-size:.84rem;font-weight:700;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease}.toast[data-visible=true]{opacity:1;transform:translateY(0)}.toast[data-tone=error]{background:#b91c1c;color:#ffffff}.dashboard-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1.5rem}.dash-card{background:var(--surface-color);border:1px solid var(--border-color);padding:2.5rem;position:relative;overflow:hidden}.col-span-4,.col-span-6,.col-span-8,.col-span-full{grid-column:span 12}@media (min-width:1024px){.col-span-4{grid-column:span 4}.col-span-8{grid-column:span 8}.col-span-6{grid-column:span 6}.creative-result-main{grid-column:span 12}.creative-result-note{grid-column:span 6}}.nav-tabs{display:flex;gap:3rem;border-bottom:1px solid var(--border-color);margin-bottom:4rem;overflow-x:auto}.tab{padding:1.5rem 0;color:var(--accent-dim);font-family:Syne,-apple-system,sans-serif;font-size:1.2rem;cursor:pointer;position:relative;transition:color .4s;white-space:nowrap}.tab.active{color:var(--accent)}.tab:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .4s cubic-bezier(.19,1,.22,1)}.tab.active:after{transform:scaleX(1)}.tab-pane{display:none;animation:fadeIn .6s cubic-bezier(.19,1,.22,1) forwards}.tab-pane.active{display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.data-value{font-family:Syne,sans-serif;font-size:3.5rem;font-weight:700;line-height:1;margin:1.5rem 0;color:var(--accent)}.data-label{font-size:.85rem;color:var(--accent-dim);letter-spacing:.1em;display:flex;font-family:Inter,sans-serif}.btn-outline,.data-label{text-transform:uppercase;align-items:center;gap:.75rem}.btn-outline{border:1px solid var(--border-color);padding:1rem 2rem;display:inline-flex;font-family:Syne,sans-serif;font-size:.95rem;letter-spacing:.05em;transition:all .4s cubic-bezier(.19,1,.22,1);cursor:pointer;background:transparent;color:var(--accent)}.btn-outline:hover{background:var(--button-bg);color:var(--button-text)}.how-to-section{padding:20vh 5vw;background:var(--surface-color);position:relative}.step-card{border-top:1px solid var(--border-color);padding-top:3rem;position:relative}.step-number{font-family:Syne,sans-serif;font-size:10rem;font-weight:800;color:var(--step-number-color);position:absolute;top:-2rem;right:0;line-height:1;transition:transform .6s cubic-bezier(.19,1,.22,1),color .6s}.step-card:hover .step-number{transform:translateY(-1rem);color:rgba(37,99,235,.1)}.faq-section{padding:20vh 5vw;background:var(--bg-color)}.faq-item{border-bottom:1px solid var(--border-color)}.faq-header{padding:3rem 0;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.faq-title{font-family:Syne,Inter,-apple-system,sans-serif;font-size:2.5rem;font-weight:600;color:var(--accent-dim);transition:color .4s ease}.faq-item.active .faq-title,.faq-item:hover .faq-title{color:var(--accent)}.faq-icon{transition:transform .6s cubic-bezier(.19,1,.22,1)}.faq-item.active .faq-icon{transform:rotate(180deg)}.faq-answer{overflow:hidden;max-height:0;transition:max-height .8s cubic-bezier(.19,1,.22,1)}.faq-item.active .faq-answer{max-height:360px}.faq-answer-content{padding-bottom:3rem;font-size:1.15rem;color:var(--accent-dim);line-height:1.8;max-width:800px}.market-verdict{display:block;margin-bottom:.8rem;color:var(--accent);font-size:1.2rem;font-weight:700}.conclusion-highlight{display:inline;padding:.12rem .35rem;border-radius:3px;background:color-mix(in srgb,var(--semantic-blue) 18%,transparent);color:var(--accent);font-weight:650;box-decoration-break:clone;-webkit-box-decoration-break:clone}.benchmark-profile-list{display:grid;gap:0;border-top:1px solid var(--border-color)}.benchmark-profile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.85rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--border-color)}.benchmark-profile-copy{min-width:0}.benchmark-profile-copy span,.benchmark-profile-copy strong{display:block}.benchmark-profile-copy strong{color:var(--accent);font-size:.92rem}.benchmark-profile-copy span{margin-top:.28rem;color:var(--accent-dim);font-size:.76rem;line-height:1.5}.benchmark-profile-link{width:2.25rem;height:2.25rem;display:grid;place-items:center;border:1px solid var(--border-color);border-radius:50%;color:var(--accent);transition:border-color .2s ease,color .2s ease,background-color .2s ease}.benchmark-profile-link:hover{border-color:var(--semantic-blue);background:color-mix(in srgb,var(--semantic-blue) 12%,transparent);color:var(--semantic-blue)}.benchmark-profile-link i,.benchmark-profile-link svg{width:1rem;height:1rem}#results{--result-text-primary:#e7ecf3;--result-text-secondary:#cbd5e1;--result-text-muted:#aeb8c8;--accent-dim:var(--result-text-muted)}#results .font-light{font-weight:400!important}#results .text-gray-300{color:var(--result-text-primary)!important}#results .text-gray-400{color:var(--result-text-secondary)!important}#results .text-gray-500{color:var(--result-text-muted)!important}#results .creative-copy-scroll{color:#d5dbe5!important;font-weight:400!important}html[data-theme=light] #results{--result-text-primary:#1f2937;--result-text-secondary:#374151;--result-text-muted:#4b5563;--accent-dim:var(--result-text-muted)}html[data-theme=light] #results .text-gray-300{color:var(--result-text-primary)!important}html[data-theme=light] #results .text-gray-400{color:var(--result-text-secondary)!important}html[data-theme=light] #results .text-gray-500{color:var(--result-text-muted)!important}html[data-theme=light] #results .creative-copy-scroll{color:var(--result-text-secondary)!important}html[data-theme=light] body .text-gray-200,html[data-theme=light] body .text-white{color:var(--accent)!important}html[data-theme=light] body .text-gray-300,html[data-theme=light] body .text-gray-400,html[data-theme=light] body .text-gray-500{color:var(--accent-dim)!important}html[data-theme=light] body .text-blue-400,html[data-theme=light] body .text-blue-500{color:var(--semantic-blue)!important}html[data-theme=light] body .text-green-400{color:var(--semantic-green)!important}html[data-theme=light] body .border-white\/10,html[data-theme=light] body .border-white\/20{border-color:var(--border-color)!important}html[data-theme=light] body .bg-black\/20,html[data-theme=light] body .bg-black\/30,html[data-theme=light] body .bg-black\/50,html[data-theme=light] body .bg-white\/5{background-color:rgba(255,255,255,.72)!important}html[data-theme=light] body .mix-blend-difference{mix-blend-mode:normal!important}html[data-theme=light] .brand-icon{opacity:.72}html[data-theme=light] .tag-pill.active .brand-icon,html[data-theme=light] .tag-pill:hover .brand-icon{opacity:1}html[data-theme=light] .creative-image-container{background:#111827}html[data-theme=light] .hero,html[data-theme=light] .hero .text-white,html[data-theme=light] .hero-subtitle{color:#ffffff!important}@media (max-width:640px){.country-picker-panel[data-country-sheet]{left:0;right:0;bottom:0;width:100%;height:min(78vh,680px);max-height:calc(100dvh - 48px);border-right:0;border-bottom:0;border-left:0;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom,0)}.country-picker-panel[data-country-sheet] .country-picker-header{min-height:54px;padding:12px 16px 8px}.country-picker-panel[data-country-sheet] .country-close{display:grid}.country-picker-panel[data-country-sheet] .country-search-wrap{margin-right:16px;margin-left:16px}.country-picker-panel[data-country-sheet] .country-current{width:calc(100% - 32px);margin-right:16px;margin-left:16px}.country-picker-panel[data-country-sheet] .country-option-list{padding-right:10px;padding-left:10px}.country-picker-panel[data-country-sheet] .country-option{min-height:42px;font-size:.9rem}.country-picker-panel[data-country-sheet] .country-apply-wrap{display:block;padding:10px 16px max(12px,env(safe-area-inset-bottom,0px));border-top:1px solid var(--country-divider);background:var(--country-panel-bg)}.country-apply{width:100%;min-height:44px;border:0;border-radius:7px;background:var(--blue-accent);color:#ffffff;font:700 .9rem/1 Inter,-apple-system,PingFang SC,sans-serif;cursor:pointer}.app-header{grid-template-columns:minmax(0,1fr) auto;gap:.75rem;padding:1rem}.primary-nav{display:none}.account-controls,.auth-entry-actions{gap:.45rem}.account-entry-button{height:2.15rem;min-height:2.15rem;padding:0 .8rem;font-size:.88rem}.credit-badge{min-height:2rem;padding:0 .55rem;font-size:.68rem}.theme-toggle,.user-avatar{width:2rem;height:2rem}.account-menu{width:min(232px,calc(100vw - 2rem))}.engine-section,.faq-section,.how-to-section{padding-left:1rem;padding-right:1rem}.bento-box,.creative-showcase,.dash-card{padding:1.5rem}.audience-insight-grid,.creative-audience-options,.creative-controls,.creative-input-grid,.creative-picker-grid{grid-template-columns:minmax(0,1fr)}.creative-generate{grid-column:1;grid-row:auto;width:100%;white-space:normal}.creative-reference-upload-button{min-height:86px;padding:.8rem;gap:.75rem}.creative-reference-preview,.creative-reference-upload-icon{width:56px;height:56px;flex-basis:56px}.creative-reference-upload-content strong{font-size:.92rem}.creative-reference-upload-content span{font-size:.72rem}.creative-result-heading{align-items:flex-start;flex-direction:column}.creative-version-picker,.creative-version-picker select{width:100%;max-width:none}.creative-result-note{grid-column:span 12}.creative-image{height:420px;min-height:0}.creative-copy-layout{height:480px;min-height:480px}#inline-loader{padding:1.5rem}.faq-title{font-size:1.6rem}}body.auth-page-open{overflow:hidden}.auth-gate[hidden],.auth-page[hidden]{display:none}.auth-page{--bg-color:#f4f5f7;--surface-color:#ffffff;--surface-glass:rgba(255,255,255,0.82);--border-color:rgba(15,23,42,0.13);--accent:#111827;--accent-dim:rgba(17,24,39,0.68);--input-border:rgba(15,23,42,0.22);--button-bg:#111827;--button-text:#ffffff;--semantic-blue:#1d4ed8;--semantic-green:#15803d;position:fixed;inset:0;z-index:220;min-height:100dvh;overflow-y:auto;background:var(--bg-color);color:var(--accent);isolation:isolate}.auth-page:before{z-index:-2;background:radial-gradient(circle at 14% 18%,color-mix(in srgb,var(--blue-accent) 24%,transparent),transparent 31%),radial-gradient(circle at 74% 76%,color-mix(in srgb,var(--semantic-blue) 12%,transparent),transparent 28%),var(--bg-color)}.auth-page:after,.auth-page:before{content:"";position:fixed;inset:0;pointer-events:none}.auth-page:after{z-index:-1;opacity:.22;background-image:linear-gradient(var(--border-color) 1px,transparent 1px),linear-gradient(90deg,var(--border-color) 1px,transparent 1px);background-size:72px 72px;-webkit-mask-image:radial-gradient(circle at 42% 44%,#000 0,transparent 72%);mask-image:radial-gradient(circle at 42% 44%,#000 0,transparent 72%)}.auth-shell{width:min(1600px,100%);min-height:100dvh;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr)}.auth-visual{position:relative;min-height:100dvh;overflow:hidden;padding:clamp(1.5rem,3vw,3rem);border-right:1px solid var(--border-color)}.auth-topbar{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:1rem}.auth-brand{color:var(--accent);font-family:Syne,sans-serif;font-size:1.5rem;font-weight:800;letter-spacing:-.05em;text-decoration:none}.auth-back,.auth-icon-button{min-height:2.5rem;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border:1px solid var(--border-color);background:var(--surface-glass);color:var(--accent);cursor:pointer;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.auth-back{padding:0 .9rem;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.auth-back svg,.auth-icon-button svg{width:1rem;height:1rem}.auth-visual-copy{position:relative;z-index:4;width:min(780px,92%);margin-top:clamp(7rem,15vh,11rem)}.auth-eyebrow{display:inline-flex;align-items:center;gap:.65rem;color:var(--semantic-blue);font-size:.72rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.auth-eyebrow:before{content:"";width:2.75rem;height:1px;background:currentColor}.auth-display{margin:1.6rem 0 1.8rem;font-family:Syne,sans-serif;font-size:clamp(4.25rem,8.7vw,9.5rem);font-weight:800;line-height:.78;letter-spacing:-.075em;text-transform:uppercase}.auth-display span{display:block;color:transparent;-webkit-text-stroke:1px color-mix(in srgb,var(--accent) 62%,transparent)}.auth-visual-description{max-width:570px;color:var(--accent-dim);font-size:clamp(1rem,1.4vw,1.2rem);font-weight:300;line-height:1.75}.auth-signal-stage{position:absolute;inset:0;pointer-events:none;overflow:hidden}.auth-orbit{position:absolute;width:min(48vw,700px);aspect-ratio:1;right:-15%;bottom:-24%;border:1px solid color-mix(in srgb,var(--accent) 16%,transparent);border-radius:50%;animation:authOrbit 18s linear infinite}.auth-orbit:after,.auth-orbit:before{content:"";position:absolute;border:1px solid color-mix(in srgb,var(--accent) 12%,transparent);border-radius:50%}.auth-orbit:before{inset:12%}.auth-orbit:after{inset:28%}.auth-orbit-node{position:absolute;top:49%;left:-7px;width:13px;height:13px;border:2px solid var(--bg-color);border-radius:50%;background:var(--semantic-blue);box-shadow:0 0 34px var(--semantic-blue)}.auth-scan-line{position:absolute;left:4%;right:4%;top:50%;height:1px;opacity:.55;background:linear-gradient(90deg,transparent,var(--semantic-blue),transparent);box-shadow:0 0 18px color-mix(in srgb,var(--semantic-blue) 60%,transparent);animation:authScan 7s cubic-bezier(.45,0,.55,1) infinite}.auth-signal-card{position:absolute;z-index:3;width:220px;padding:1rem;border:1px solid var(--border-color);background:color-mix(in srgb,var(--surface-glass) 78%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.auth-signal-card span,.auth-signal-card strong{display:block}.auth-signal-card strong{font-family:Syne,sans-serif;font-size:1.65rem}.auth-signal-card span{margin-top:.3rem;color:var(--accent-dim);font-size:.68rem;letter-spacing:.12em;text-transform:uppercase}.auth-signal-card[data-signal=one]{left:8%;bottom:7%}.auth-signal-card[data-signal=two]{right:7%;top:18%}.auth-form-zone{min-height:100dvh;display:grid;place-items:center;padding:clamp(1.5rem,4vw,5rem);background:color-mix(in srgb,var(--surface-color) 84%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.auth-panel{width:min(440px,100%)}.auth-panel-heading{margin-bottom:2.4rem}.auth-panel-heading h2{margin:0 0 .75rem;font-size:clamp(2.2rem,4vw,3.7rem);font-weight:800;line-height:.96;letter-spacing:-.055em}.auth-panel-heading p{margin:0;color:var(--accent-dim);font-size:.92rem;line-height:1.65}.auth-switcher{display:grid;grid-template-columns:1fr 1fr;margin-bottom:2rem;border-bottom:1px solid var(--border-color)}.auth-tab{position:relative;padding:1rem 0;border:0;background:transparent;color:var(--accent-dim);font:700 .78rem/1 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.auth-tab:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent);transform:scaleX(0);transition:transform .35s cubic-bezier(.16,1,.3,1)}.auth-tab[aria-selected=true]{color:var(--accent)}.auth-tab[aria-selected=true]:after{transform:scaleX(1)}.auth-form{display:grid;gap:1.15rem}.auth-field{position:relative}.auth-field label{display:block;margin-bottom:.6rem;color:var(--accent-dim);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.auth-input-wrap{position:relative}.auth-input-wrap>i,.auth-input-wrap>svg{position:absolute;left:0;top:50%;width:1rem;height:1rem;color:var(--accent-dim);transform:translateY(-50%);pointer-events:none}.auth-input{width:100%;height:3.2rem;padding:0 2.8rem 0 1.8rem;border:0;border-bottom:1px solid var(--input-border);border-radius:0;background:transparent;color:var(--accent);font:500 .95rem/1 Inter,sans-serif;transition:border-color .25s ease}.auth-input:focus{outline:none;border-color:var(--accent)}.auth-input::-moz-placeholder{color:color-mix(in srgb,var(--accent-dim) 68%,transparent)}.auth-input::placeholder{color:color-mix(in srgb,var(--accent-dim) 68%,transparent)}.auth-password-toggle{position:absolute;top:50%;right:0;width:2.4rem;height:2.4rem;display:grid;place-items:center;border:0;background:transparent;color:var(--accent-dim);transform:translateY(-50%);cursor:pointer}.auth-password-toggle svg{width:1rem;height:1rem}.auth-form-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.15rem;color:var(--accent-dim);font-size:.75rem}.auth-check{display:inline-flex;align-items:center;gap:.55rem;cursor:pointer}.auth-check input{width:.95rem;height:.95rem;accent-color:var(--blue-accent)}.auth-link-button{padding:0;border:0;background:transparent;color:var(--accent);font:inherit;cursor:pointer}.auth-submit{position:relative;width:100%;min-height:3.65rem;margin-top:.6rem;overflow:hidden;border:0;background:var(--button-bg);color:var(--button-text);font:800 .85rem/1 Syne,sans-serif;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}.auth-submit:before{content:"";position:absolute;inset:0;background:var(--blue-accent);transform:translateX(-102%);transition:transform .55s cubic-bezier(.16,1,.3,1)}.auth-submit:hover:before{transform:translateX(0)}.auth-submit span{position:relative;z-index:1;display:inline-flex;align-items:center;gap:.65rem}.auth-submit:hover span{color:#ffffff}.auth-submit svg{width:1rem;height:1rem}.auth-status{min-height:1.25rem;color:var(--accent-dim);font-size:.76rem;line-height:1.5}.auth-status[data-tone=error]{color:#f87171}.auth-status[data-tone=success]{color:var(--semantic-green)}.auth-secure-note{margin-top:1.6rem;padding-top:1rem;display:flex;align-items:flex-start;gap:.7rem;border-top:1px solid var(--border-color);color:var(--accent-dim);font-size:.68rem;line-height:1.6}.auth-secure-note svg{width:.95rem;height:.95rem;flex:0 0 auto;margin-top:.12rem;color:var(--semantic-blue)}.auth-register-only[hidden]{display:none}.auth-gate{position:fixed;inset:0;z-index:320;display:grid;place-items:center;padding:1rem;background:rgba(0,0,0,.56);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.auth-gate-dialog{width:min(420px,100%);padding:1.45rem;border:1px solid var(--border-color);background:var(--surface-color);color:var(--accent);box-shadow:0 28px 90px rgba(0,0,0,.48);animation:authDialogIn .42s cubic-bezier(.16,1,.3,1) both}.auth-gate-icon{width:2.8rem;height:2.8rem;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--semantic-blue) 52%,var(--border-color));border-radius:50%;color:var(--semantic-blue);background:color-mix(in srgb,var(--semantic-blue) 10%,transparent)}.auth-gate-icon svg{width:1.15rem;height:1.15rem}.auth-gate-dialog h3{margin:0;font-size:1.55rem;font-weight:800}.auth-gate-dialog p{margin:.75rem 0 1.4rem;color:var(--accent-dim);font-size:.86rem;line-height:1.7}.auth-gate-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:.65rem}.auth-gate-button{min-height:2.9rem;border:1px solid var(--border-color);background:transparent;color:var(--accent);font:700 .78rem/1 Inter,sans-serif;cursor:pointer}.auth-gate-button.primary{border-color:var(--button-bg);background:var(--button-bg);color:var(--button-text)}.auth-entry-actions{display:inline-flex;align-items:center;gap:.7rem}.account-entry-button{display:inline-flex;align-items:center;justify-content:center;width:auto;height:2.55rem;min-width:0;min-height:2.55rem;padding:0 1rem;border:1px solid var(--border-color);border-radius:999px;font-family:Inter,sans-serif;font-size:.95rem;font-weight:700;letter-spacing:0;white-space:nowrap;background:transparent;color:var(--accent);transition:transform .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}.account-entry-button:hover{transform:translateY(-1px)}.account-login-button{background:var(--button-bg);color:var(--button-text);border-color:var(--button-bg)}.account-register-button{background:color-mix(in srgb,var(--surface-glass) 96%,transparent);color:var(--accent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.account-entry-button svg{width:.95rem;height:.95rem}.account-menu-divider{height:1px;background:var(--border-color)}.account-logout{width:100%;min-height:2.35rem;padding:0 .65rem;display:flex;align-items:center;gap:.55rem;border:0;border-radius:5px;background:transparent;color:var(--accent-dim);font:600 .74rem/1 Inter,sans-serif;text-align:left;cursor:pointer}.account-logout:hover{background:var(--country-hover-bg);color:var(--accent)}.account-logout svg{width:.95rem;height:.95rem}.auth-gate-icon{width:auto;height:auto;display:block;margin-bottom:1.15rem;border:0;border-radius:0;background:transparent;color:var(--accent)}.auth-gate-brand{display:inline-block;font-family:Syne,sans-serif;font-size:1.5rem;font-weight:800;line-height:1;letter-spacing:-.05em}.auth-entry-actions{padding:0;border:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.account-login-button,.account-register-button{background:transparent!important;color:var(--accent)!important;box-shadow:none!important}.account-login-button:hover,.account-register-button:hover{background:color-mix(in srgb,var(--surface-glass) 54%,transparent)!important}.primary-nav{font-size:1.5rem!important;line-height:1}@keyframes authOrbit{to{transform:rotate(1turn)}}@keyframes authScan{0%,to{transform:translateY(-30vh);opacity:0}18%,82%{opacity:.55}50%{transform:translateY(31vh)}}@keyframes authDialogIn{0%{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@media (max-width:980px){.auth-shell{grid-template-columns:1fr}.auth-visual{min-height:42vh;border-right:0;border-bottom:1px solid var(--border-color)}.auth-visual-copy{margin-top:5rem}.auth-display{font-size:clamp(4rem,15vw,7rem)}.auth-form-zone{min-height:58vh}.auth-signal-card[data-signal=two]{display:none}}@media (max-width:640px){.auth-visual{min-height:36vh;padding:1rem}.auth-topbar .auth-back span{display:none}.auth-back{width:2.5rem;padding:0;border-radius:50%}.auth-visual-copy{width:100%;margin-top:4.5rem}.auth-eyebrow,.auth-signal-card,.auth-visual-description{display:none}.auth-display{margin-bottom:0;font-size:clamp(3.4rem,18vw,5.3rem)}.auth-form-zone{place-items:start center;min-height:64vh;padding:2.25rem 1.1rem 3rem}.auth-panel-heading{margin-bottom:1.5rem}.auth-panel-heading h2{font-size:2.25rem}.auth-gate-actions{grid-template-columns:1fr}.auth-switcher{width:100%;justify-content:space-between}.auth-tab{flex:1}.credit-badge[data-auth-credit][hidden]{display:none}}@media (prefers-reduced-motion:reduce){.auth-gate-dialog,.auth-orbit,.auth-scan-line{animation:none!important}::view-transition-new(root),::view-transition-old(root){animation-duration:.001ms!important}}body.history-page-open{overflow:hidden}.history-page{position:fixed;inset:0;z-index:238;min-height:100dvh;overflow-y:auto;background:var(--bg-color);color:var(--accent)}.history-header{position:sticky;top:0;z-index:20;min-height:72px;padding:0 clamp(1rem,3vw,3rem);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;border-bottom:1px solid var(--border-color);background:color-mix(in srgb,var(--bg-color) 88%,transparent);backdrop-filter:blur(22px)}.history-brand{justify-self:start;border:0;background:transparent;color:var(--accent);font-family:Syne,sans-serif;font-size:1.35rem;font-weight:800;letter-spacing:0;cursor:pointer}.history-header-actions,.history-header-button,.history-header-title,.history-new-button{display:flex;align-items:center}.history-header-title{gap:.5rem;color:var(--accent-dim);font-size:.72rem;font-weight:700}.history-header-button svg,.history-header-title svg,.history-new-button svg{width:.95rem;height:.95rem}.history-header-actions{justify-self:end;gap:.55rem}.history-header-button,.history-load-more,.history-new-button,.history-retry{min-height:38px;padding:0 .85rem;gap:.45rem;border:1px solid var(--border-color);border-radius:5px;background:var(--surface-glass);color:var(--accent);font-size:.73rem;font-weight:650;cursor:pointer}.history-new-button{border-color:var(--blue-accent);background:var(--blue-accent);color:#fff}.history-main{width:min(1760px,calc(100% - 2rem));margin:0 auto;padding:clamp(2.5rem,5vw,5rem) 0 4rem}.history-page-heading{margin-bottom:2rem;display:flex;align-items:end;justify-content:space-between;gap:2rem}.history-page-heading span,.history-rail-label{color:var(--semantic-blue);font-size:.64rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.history-page-heading h1{margin:.55rem 0 0;font-family:Syne,sans-serif;font-size:clamp(2.7rem,6vw,5.8rem);font-weight:800;line-height:.9;letter-spacing:0}.history-page-heading p{max-width:32rem;margin:0;color:var(--accent-dim);font-size:.82rem;line-height:1.7}.history-workspace{min-height:720px;display:grid;grid-template-columns:190px 340px minmax(620px,1fr);border:1px solid var(--border-color);background:color-mix(in srgb,var(--surface-glass) 58%,transparent);box-shadow:0 28px 90px rgba(0,0,0,.16)}.history-detail-panel,.history-filter-rail,.history-list-panel{min-width:0}.history-filter-rail{padding:1.1rem;border-right:1px solid var(--border-color)}.history-rail-label{margin:.35rem 0 .7rem;color:var(--accent-dim)}.history-country-label{margin-top:1.6rem}.history-filter-list{display:grid;gap:.25rem}.history-filter-button{width:100%;min-height:40px;padding:0 .65rem;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.55rem;border:0;border-radius:4px;background:transparent;color:var(--accent-dim);font-size:.73rem;text-align:left;cursor:pointer}.history-filter-button svg{width:.92rem;height:.92rem}.history-filter-button:hover,.history-filter-button[aria-pressed=true]{background:var(--country-hover-bg);color:var(--accent)}.history-filter-button[aria-pressed=true] svg{color:var(--semantic-blue)}.history-filter-count{color:var(--accent-dim);font-size:.62rem}.history-market-chips{display:flex;flex-wrap:wrap;gap:.4rem}.history-market-chip{min-height:29px;padding:0 .58rem;border:1px solid var(--border-color);border-radius:999px;background:transparent;color:var(--accent-dim);font-size:.66rem;cursor:pointer}.history-market-chip:hover,.history-market-chip[aria-pressed=true]{border-color:var(--semantic-blue);background:color-mix(in srgb,var(--semantic-blue) 10%,transparent);color:var(--accent)}.history-list-panel{border-right:1px solid var(--border-color);background:color-mix(in srgb,var(--surface-color) 38%,transparent)}.history-list-toolbar{position:sticky;top:0;z-index:3;min-height:76px;padding:.8rem;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.65rem;border-bottom:1px solid var(--border-color);background:color-mix(in srgb,var(--surface-color) 92%,transparent);backdrop-filter:blur(18px)}.history-search{position:relative;min-width:0}.history-search svg{position:absolute;left:.7rem;top:50%;width:.9rem;height:.9rem;color:var(--accent-dim);transform:translateY(-50%);pointer-events:none}.history-search input,.history-sort{width:100%;height:40px;border:1px solid var(--border-color);border-radius:4px;background:var(--surface-glass);color:var(--accent);font-size:.72rem}.history-search input{padding:0 .7rem 0 2.15rem}.history-sort{width:92px;padding:0 .5rem;cursor:pointer}.history-record-list{max-height:920px;overflow-y:auto;overscroll-behavior:contain}.history-record-item{position:relative;width:100%;min-height:154px;padding:1.05rem 1rem 1rem 1.25rem;display:grid;gap:.65rem;border:0;border-bottom:1px solid var(--border-color);background:transparent;color:var(--accent);text-align:left;cursor:pointer}.history-record-item:before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:var(--semantic-blue);transform:scaleY(0);transition:transform .2s ease}.history-record-item:hover,.history-record-item[aria-selected=true]{background:var(--country-hover-bg)}.history-record-item[aria-selected=true]:before{transform:scaleY(1)}.history-record-footer,.history-record-footer>div,.history-record-footer>span,.history-record-topline{display:flex;align-items:center}.history-record-topline{justify-content:space-between;gap:.6rem}.history-record-topline time{color:var(--accent-dim);font-size:.62rem}.history-record-status{display:inline-flex;align-items:center;gap:.38rem;color:var(--accent-dim);font-size:.65rem;font-weight:700}.history-record-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--semantic-green)}.history-record-status[data-status=processing]:before{background:var(--semantic-blue);animation:historyPulse 1.4s ease-in-out infinite}.history-record-status[data-status=failed]:before{background:#ef4444}.history-record-item h3{margin:0;font-size:1.02rem;line-height:1.35}.history-record-item>p{margin:0;display:-webkit-box;overflow:hidden;color:var(--accent-dim);font-size:.71rem;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.history-record-footer{justify-content:space-between;gap:.6rem;color:var(--accent-dim);font-size:.64rem}.history-record-footer>div,.history-record-footer>span{gap:.35rem}.history-record-footer svg{width:.78rem;height:.78rem}.history-record-footer em{padding:.2rem .38rem;border:1px solid var(--border-color);border-radius:999px;font-style:normal}.history-load-more{width:calc(100% - 1.6rem);margin:.8rem;justify-content:center}.history-load-more svg,.history-retry svg{width:.85rem;height:.85rem}.history-detail-panel{max-height:920px;overflow-y:auto;background:color-mix(in srgb,var(--surface-color) 58%,transparent)}.history-detail-kicker{padding:1.35rem 1.35rem 0;display:flex;justify-content:space-between;gap:1rem;color:var(--semantic-blue);font-size:.67rem;font-weight:750}.history-detail-title{margin:0;padding:.55rem 1.35rem 1.1rem;border-bottom:1px solid var(--border-color);font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.15}.history-report-content>.results-wrapper{padding:1.35rem}.history-report-content .results-wrapper>div:first-child{margin-bottom:1.4rem}.history-report-content .dashboard-grid{gap:1rem}.history-report-content .creative-showcase,.history-report-content .dash-card{padding:clamp(1rem,2vw,1.6rem)}.history-report-content .creative-image{height:min(48vh,470px);min-height:300px}.history-report-content .creative-copy-layout{height:auto;min-height:0}.history-report-content .creative-copy-scroll{max-height:none;overflow:visible}.history-empty,.history-task-state{min-height:320px;padding:2rem;display:grid;place-items:center;color:var(--accent-dim);text-align:center}.history-empty>div,.history-task-state{max-width:26rem}.history-empty svg,.history-task-state>svg{width:1.7rem;height:1.7rem;margin:0 auto 1rem;color:var(--semantic-blue)}.history-empty span,.history-empty strong,.history-task-state span,.history-task-state strong{display:block}.history-empty strong,.history-task-state strong{color:var(--accent);font-size:1rem}.history-empty span,.history-task-state span{margin-top:.55rem;font-size:.74rem;line-height:1.65}.history-retry{margin-top:1rem}.history-spin{animation:historySpin .85s linear infinite}@keyframes historySpin{to{transform:rotate(1turn)}}@keyframes historyPulse{0%,to{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}@media (max-width:1320px){.history-workspace{grid-template-columns:175px 310px minmax(520px,1fr)}}@media (max-width:1060px){.history-workspace{grid-template-columns:180px minmax(0,1fr)}.history-detail-panel{grid-column:1/-1;max-height:none;border-top:1px solid var(--border-color)}}@media (max-width:700px){.history-header{min-height:64px;grid-template-columns:1fr auto}.history-header-button span,.history-header-title,.history-new-button span{display:none}.history-header-button,.history-new-button{width:40px;padding:0;justify-content:center}.history-main{width:calc(100% - 1rem);padding-top:2.2rem}.history-page-heading{align-items:start;flex-direction:column}.history-page-heading h1{font-size:clamp(2.8rem,16vw,4.6rem)}.history-workspace{display:block;min-height:0}.history-filter-rail,.history-list-panel{border-right:0;border-bottom:1px solid var(--border-color)}.history-filter-list{grid-template-columns:repeat(2,minmax(0,1fr))}.history-detail-panel,.history-record-list{max-height:none}.history-list-toolbar{position:static}.history-report-content>.results-wrapper{padding:.75rem}.history-report-content .creative-image{height:360px;min-height:240px}}