:root{
  --accent:#5865F2;--accent2:#6D78F7;--ink:#111318;--muted:#71757f;--line:#e6e9ee;--soft:#f6f8fa;--panel:#fff;
  --shadow:0 18px 60px rgba(31,38,50,.10);--radius:24px;--max:1400px
}
*{box-sizing:border-box}
html{background:#f7f9fb;overscroll-behavior-y:none;overflow-x:hidden;-webkit-text-size-adjust:100%}
body{margin:0;overflow-x:hidden;overscroll-behavior-y:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#fff 0,#f8fafc 62%,#f3f6f9 100%);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;min-height:100vh}
button,input,textarea{font:inherit}.app-shell{min-height:100vh;min-height:100dvh}.section-wrap{max-width:var(--max);margin:0 auto;padding-left:max(28px,env(safe-area-inset-left));padding-right:max(28px,env(safe-area-inset-right))}
.topbar{height:74px;display:flex;align-items:center;gap:28px;padding-left:max(28px,calc((100vw - var(--max))/2 + 28px),env(safe-area-inset-left));padding-right:max(28px,calc((100vw - var(--max))/2 + 28px),env(safe-area-inset-right));position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(17,19,24,.06)}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);white-space:nowrap}.brand-mark{width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#fff;border:1px solid var(--line);box-shadow:0 6px 18px rgba(22,28,40,.08)}.brand-mark img{width:100%;height:100%;object-fit:cover}.brand>strong{font-size:18px;letter-spacing:-.025em;font-weight:800}
.desktop-nav{display:flex;gap:27px;margin-left:auto}.desktop-nav a{text-decoration:none;color:#4d5460;font-size:14px;font-weight:700}.desktop-nav a:hover{color:var(--accent)}
.top-actions{display:flex;align-items:center;gap:10px}.language-switch{display:flex;padding:3px;background:#f7f8fa;border:1px solid var(--line);border-radius:999px}.language-switch button{border:0;background:transparent;color:#8a9099;font-weight:800;font-size:13px;padding:7px 10px;border-radius:999px;cursor:pointer}.language-switch button.active{background:#fff;color:var(--accent);box-shadow:0 4px 12px rgba(25,29,38,.08)}.signin-btn{border:0;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;border-radius:10px;height:38px;padding:0 20px;font-weight:800;cursor:pointer}
.hero{display:grid;grid-template-columns:minmax(390px,.92fr) minmax(0,1.18fr);grid-template-rows:auto auto auto;gap:16px clamp(18px,2vw,28px);padding-top:28px;padding-bottom:18px;align-items:start}.hero-copy{grid-column:1;grid-row:1}.hero-copy h1{font-size:clamp(42px,4vw,55px);line-height:.96;letter-spacing:-.055em;margin:4px 0 14px;max-width:610px}.hero-copy p{font-size:clamp(15px,1.4vw,18px);line-height:1.45;color:#626a75;margin:0;max-width:600px}
.creator-card{grid-column:1;grid-row:2;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 12px 36px rgba(24,31,44,.07)}.creator-head h2{font-size:23px;line-height:1.1;letter-spacing:-.035em;margin:0 0 5px}.creator-head p{font-size:14px;color:#68707b;margin:0 0 13px;line-height:1.45}
.upload-zone{border:1.5px dashed #cfd5dd;border-radius:14px;min-height:76px;padding:12px 14px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fbfcfd;transition:.18s}.upload-zone:hover,.upload-zone.dragging{border-color:var(--accent);background:#f7f8ff}.upload-copy{display:flex;cursor:pointer;align-items:center;justify-content:center;gap:12px;text-align:left}.upload-copy>div{display:grid;gap:3px}.upload-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:#28476f;font-size:24px}.upload-copy strong{font-size:15px}.upload-copy small{font-size:11px;color:#85909d}.photo-count{text-align:right;color:#9399a2;font-size:11px;font-weight:700;margin-top:4px}.preview-strip{display:none}.preview-strip.active{display:flex;gap:7px;margin-right:12px}.upload-zone.is-full{cursor:default;border-style:solid;border-color:#dfe3e8;background:#fff}.upload-zone.is-full:hover{border-color:#dfe3e8;background:#fff}.upload-zone.is-full .preview-strip.active{margin-right:0}.preview-item{position:relative;width:58px;height:58px;border-radius:10px;overflow:hidden;background:#eceff3}.preview-item img{width:100%;height:100%;object-fit:cover}.preview-remove{position:absolute;top:3px;right:3px;border:0;background:rgba(17,19,24,.74);color:#fff;width:19px;height:19px;border-radius:50%;line-height:18px;padding:0;cursor:pointer}
.prompt-box{display:block;position:relative;border:1px solid #dfe3e8;border-radius:14px;margin-top:10px;padding:11px 12px 23px;background:#fff}.prompt-box>span{display:block;font-size:12px;font-weight:800;margin-bottom:5px;color:#454d58}.prompt-box textarea{display:block;width:100%;min-height:50px;resize:none;border:0;outline:0;font-size:13px;line-height:1.45;color:var(--ink);background:transparent}.prompt-box textarea::placeholder{color:#a1a7b0}.prompt-box>small{position:absolute;right:12px;bottom:7px;color:#9ca1aa;font-size:10px;font-weight:700}.create-btn{margin-top:11px;width:100%;height:48px;border:0;border-radius:10px;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));font-size:16px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;box-shadow:0 12px 24px rgba(88,101,242,.20)}
.trust-row{grid-column:1;grid-row:3;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:4px 4px 0}.trust-row>div{display:grid;grid-template-columns:25px 1fr;align-items:center;column-gap:6px}.trust-row>div>span{font-size:22px;color:#294f79;grid-row:1/3}.trust-row b{font-size:11px}.trust-row small{font-size:9px;color:#828a95}
.hero-gallery{grid-column:2;grid-row:1/4;display:flex;flex-direction:column;gap:10px;min-width:0;align-self:start}
.desktop-focus{position:relative;overflow:hidden;width:100%;aspect-ratio:3/2;border-radius:18px;background:#e9edf1;box-shadow:0 10px 30px rgba(31,38,50,.055)}
.desktop-focus__half{position:absolute;top:0;bottom:0;width:50%;overflow:hidden;background:#eef1f5}
.desktop-focus__half--before{left:0}.desktop-focus__half--after{right:0}
.desktop-focus__half img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center}
.desktop-focus__label{position:absolute;top:16px;z-index:4;min-width:58px;padding:7px 13px;border-radius:999px;background:rgba(17,19,24,.72);color:#fff;font-size:12px;font-weight:850;text-align:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.desktop-focus__label--before{left:16px}.desktop-focus__label--after{right:16px}
.desktop-focus__divider{position:absolute;z-index:5;left:50%;top:0;bottom:0;width:3px;transform:translateX(-50%);background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05)}
.desktop-focus__divider span{position:absolute;left:50%;top:50%;width:38px;height:38px;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;background:#fff;color:#1c2330;font-size:19px;font-weight:900;letter-spacing:-4px;padding-right:4px;box-shadow:0 5px 16px rgba(0,0,0,.16)}
.desktop-focus__generating{position:absolute;z-index:8;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;background:rgba(238,241,245,.78);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);font-size:14px;font-weight:800;color:#374151}.desktop-focus__generating[hidden]{display:none}.desktop-focus__spinner{width:24px;height:24px;border:3px solid rgba(88,101,242,.22);border-top-color:var(--accent);border-radius:50%;animation:gpsDesktopSpin .8s linear infinite}@keyframes gpsDesktopSpin{to{transform:rotate(360deg)}}
.desktop-focus__restart{position:absolute;z-index:7;top:12px;left:50%;transform:translateX(-50%);height:34px;padding:0 14px;border:0;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:7px;background:rgba(17,24,39,.72);color:#fff;box-shadow:0 3px 12px rgba(0,0,0,.14);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:pointer}.desktop-focus__restart[hidden]{display:none}.desktop-focus__restart b{font-size:12px}.desktop-focus.is-empty .desktop-focus__half,.desktop-focus.is-empty .desktop-focus__label,.desktop-focus.is-empty .desktop-focus__divider{display:none}
.desktop-focus.has-result .desktop-focus__half{cursor:pointer}.desktop-credit-info{margin-top:4px;display:flex;justify-content:flex-end;gap:8px;font-size:10px;color:#737b87}.desktop-credit-info[hidden]{display:none}.desktop-credit-info strong{color:#b45309}.create-btn:disabled{opacity:.72;cursor:default}.preview-remove:disabled{display:none}
.desktop-focus.has-upload:not(.has-result) .desktop-focus__half--after,.desktop-focus.has-upload:not(.has-result) .desktop-focus__label,.desktop-focus.has-upload:not(.has-result) .desktop-focus__divider{display:none}
.desktop-focus.has-upload:not(.has-result) .desktop-focus__half--before{width:100%}
.desktop-focus.has-upload .desktop-focus__half img{object-fit:contain;background:#eef1f5}
.desktop-photo-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%}
.desktop-photo-thumb{position:relative;min-width:0;aspect-ratio:1;border:0;border-radius:14px;overflow:hidden;padding:0;background:#eef1f5;box-shadow:0 5px 16px rgba(31,38,50,.045);cursor:pointer}
.desktop-photo-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.desktop-photo-thumb.is-active{box-shadow:0 0 0 3px rgba(88,101,242,.34),0 6px 18px rgba(31,38,50,.08)}
.desktop-photo-thumb.is-empty,.desktop-photo-thumb.is-placeholder{cursor:default;border:1px dashed #d8dde5;background:linear-gradient(145deg,#f8f9fb,#eef1f5)}
.scenario-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 43%,rgba(10,12,17,.68))}.scenario-card span{position:absolute;z-index:2;left:13px;right:10px;bottom:11px;color:#fff;display:grid;gap:2px}
.scenarios,.examples,.packages{padding-top:8px;padding-bottom:10px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 10px}.section-heading h2{font-size:25px;line-height:1.1;letter-spacing:-.035em;margin:0}.section-heading p{margin:4px 0 0;color:#747b86;font-size:12px}.text-link{border:0;background:transparent;color:#5e7291;font-weight:800;font-size:12px;cursor:pointer;padding:5px}
.scenario-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.scenario-card{height:150px;position:relative;overflow:hidden;border:0;border-radius:12px;padding:0;background:#e8ebef;cursor:pointer;text-align:left}.scenario-card img{width:100%;height:100%;object-fit:cover;display:block}.scenario-card b{font-size:15px;line-height:1.15}.scenario-card small{font-size:10px;color:rgba(255,255,255,.88)}
.compare-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.compare-card{display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden;border-radius:12px;height:126px;background:#edf0f4;border:1px solid #e1e5ea}.compare-half{position:relative;overflow:hidden}.compare-half img{width:100%;height:100%;object-fit:cover;display:block}.compare-half span{position:absolute;left:8px;bottom:7px;background:rgba(255,255,255,.93);border-radius:999px;padding:3px 7px;font-size:9px;font-weight:850}.compare-divider{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#718096;font-size:11px;font-weight:900;box-shadow:0 5px 14px rgba(0,0,0,.12)}
.package-grid{display:grid;grid-template-columns:repeat(4,1fr) 1.35fr;gap:9px}.package-card,.package-note{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 14px;min-height:118px}.package-card strong{display:block;font-size:27px;line-height:1}.package-card>span{display:block;font-size:11px;color:#69717c;margin-top:4px}.package-card>b{display:block;font-size:17px;margin-top:10px}.package-card button{margin-top:10px;border:0;background:#f7f8fa;border-radius:8px;height:31px;width:100%;font-size:11px;font-weight:800;color:#36404d;cursor:pointer}.package-card.featured{border-color:#c9ceff}.package-card.featured button{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff}.package-card em{position:absolute;top:9px;right:9px;background:#eef0ff;color:var(--accent);border-radius:999px;padding:4px 7px;font-size:9px;font-style:normal;font-weight:850}.package-note{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-content:center;column-gap:8px}.package-note>span{font-size:30px;grid-row:1/3}.package-note>b{font-size:12px}.package-note>p{font-size:10px;color:#747d89;margin:3px 0 0;line-height:1.4}
.faq{padding-top:10px;padding-bottom:20px}.faq-strip{border-top:1px solid #dfe3e9;display:flex;justify-content:center;gap:28px;padding:18px 0;color:#536072}.faq-strip span{color:#2d4e73}.faq-strip b{font-size:12px;margin-right:18px}.footer{text-align:center;color:#8b919a;font-size:11px;padding:8px 20px 30px}.mobile-nav{display:none}
.modal{border:0;border-radius:24px;padding:28px;max-width:390px;text-align:center;box-shadow:0 30px 100px rgba(0,0,0,.24)}.modal::backdrop{background:rgba(17,19,24,.35);backdrop-filter:blur(6px)}.modal-icon{width:58px;height:58px;margin:0 auto 10px;display:grid;place-items:center;border-radius:50%;background:#eef0ff;color:var(--accent);font-size:26px}.modal h3{font-size:24px;margin:8px 0}.modal p{color:#6d737c;line-height:1.55}.modal button{border:0;background:var(--ink);color:#fff;height:46px;padding:0 28px;border-radius:12px;font-weight:800}
@media(max-width:900px) and (orientation:portrait){.desktop-nav{display:none}.topbar{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}.hero{grid-template-columns:1fr}.hero-gallery{display:none}.creator-card{grid-column:1}.scenario-grid{grid-template-columns:repeat(3,1fr)}.compare-grid{grid-template-columns:repeat(2,1fr)}.package-grid{grid-template-columns:repeat(2,1fr)}.package-note{display:none}}

/* MOBILE 11 — stable shared layout + two verified platform fixes.
   Base layout stays identical on iOS and Android.
   Android only: preserve natural full-size upload behavior by pre-positioning scroll before focus.
   iOS composer: isolate the input bubble paint layer to prevent focus/keyboard flash. */
.gps-mobile{display:none}

@media(max-width:780px){
  :root{
    --gps-mobile-edge:14px;
    --gps-mobile-gap:9px;
    --gps-composer-max:168px;
  }

  html,body{
    width:100%;height:100%;margin:0;overflow:hidden;background:#f7f8fb;
    overscroll-behavior:none;-webkit-text-size-adjust:100%
  }
  body{min-height:0;padding:0}
  .app-shell{display:none!important}
  .desktop-only{display:none!important}

  .gps-mobile{
    display:block;width:100%;height:100%;min-height:0;overflow:hidden;
    background:#f7f8fb;color:#111318;-webkit-font-smoothing:antialiased
  }
  .gps-mobile__screen{
    width:100%;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;
    padding-top:max(6px,env(safe-area-inset-top));
    padding-bottom:max(6px,env(safe-area-inset-bottom))
  }
  .gps-mobile__workspace{
    flex:1 1 auto;min-height:0;width:100%;max-width:720px;margin:0 auto;
    display:flex;flex-direction:column;gap:var(--gps-mobile-gap);overflow:hidden;
    padding:8px var(--gps-mobile-edge)
  }

  /* Everything above the bottom composer is one ordinary scroll area. When the keyboard
     opens, this area simply becomes shorter. Nothing is repositioned by JavaScript. */
  .gps-mobile__content{
    flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 0 8px
  }
  .gps-mobile__content::-webkit-scrollbar{display:none}

  .gps-mobile-intro{padding:6px 2px 12px;text-align:center}
  .gps-mobile-intro h1{margin:0;color:#121722;font-size:27px;line-height:1.08;font-weight:850;letter-spacing:-.045em}
  .gps-mobile-intro p{margin:7px 0 0;color:#8d95a1;font-size:14px;line-height:1.35;font-weight:600}

  .gps-mobile-upload{
    position:relative;width:100%;aspect-ratio:1/1;min-height:250px;max-height:520px;overflow:hidden;
    background:#fff;border:1px solid rgba(24,32,44,.09);border-radius:26px;
    box-shadow:0 10px 30px rgba(31,38,50,.055);contain:paint
  }
  .gps-mobile-upload__preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
  .gps-mobile-upload__empty{
    position:absolute;inset:0;z-index:2;display:grid;align-content:center;justify-items:center;gap:10px;
    pointer-events:none;color:#1c2330
  }
  .gps-mobile-upload__plus{
    --gps-plus-size:28px;--gps-plus-stroke:3px;
    pointer-events:auto;position:relative;width:66px;height:66px;border:0;border-radius:50%;display:block;
    background:#f2f4f8;color:#26364d;font-size:0;line-height:0;padding:0;
    cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
    transition:transform .12s ease,background .15s ease,box-shadow .15s ease
  }
  .gps-mobile-upload__plus::before,.gps-mobile-upload__plus::after{
    content:"";position:absolute;left:50%;top:50%;border-radius:999px;background:currentColor;
    transform:translate(-50%,-50%);pointer-events:none
  }
  .gps-mobile-upload__plus::before{width:var(--gps-plus-size);height:var(--gps-plus-stroke)}
  .gps-mobile-upload__plus::after{width:var(--gps-plus-stroke);height:var(--gps-plus-size)}
  .gps-mobile-upload__plus:active{transform:scale(.94)}
  .gps-mobile-upload__empty strong{font-size:20px;line-height:1.1;font-weight:800;letter-spacing:-.025em;pointer-events:none}
  .gps-mobile-upload__empty small{font-size:13px;line-height:1.2;font-weight:650;color:#a0a7b1;pointer-events:none}
  .gps-mobile-upload.has-photo .gps-mobile-upload__empty{inset:auto auto 12px 12px;display:block}
  .gps-mobile-upload.has-photo .gps-mobile-upload__empty strong,.gps-mobile-upload.has-photo .gps-mobile-upload__empty small{display:none}
  .gps-mobile-upload.has-photo .gps-mobile-upload__plus{
    --gps-plus-size:20px;--gps-plus-stroke:2px;
    width:46px;height:46px;color:#fff;background:rgba(17,24,39,.64);
    box-shadow:0 4px 14px rgba(0,0,0,.13);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)
  }
  .gps-mobile-upload.is-full .gps-mobile-upload__plus{display:none}
  .gps-mobile-upload__count{
    position:absolute;right:12px;top:12px;z-index:4;min-width:42px;height:30px;padding:0 10px;border-radius:999px;
    display:grid;place-items:center;background:rgba(17,24,39,.72);color:#fff;font-size:12px;font-weight:800;
    letter-spacing:.01em;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
  }

  .gps-mobile-ideas,.gps-mobile-example{margin-top:16px}
  .gps-mobile-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px 9px}
  .gps-mobile-section-head h2{margin:0;color:#1b2029;font-size:16px;line-height:1.2;font-weight:800;letter-spacing:-.025em}
  .gps-mobile-section-head span{color:#9aa1ab;font-size:12px;font-weight:700}

  .gps-mobile-chips{
    display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:1px 2px 4px;scrollbar-width:none;
    scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch
  }
  .gps-mobile-chips::-webkit-scrollbar{display:none}
  .gps-mobile-chips button{
    flex:0 0 auto;height:40px;padding:0 15px;border:1px solid rgba(31,38,50,.08);border-radius:15px;
    background:#fff;color:#343a45;font-size:13px;font-weight:700;white-space:nowrap;scroll-snap-align:start;
    box-shadow:0 4px 14px rgba(31,38,50,.035);touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-chips button:active{transform:scale(.98)}

  .gps-mobile-example{padding-bottom:8px}
  .gps-mobile-example__card{
    position:relative;display:grid;grid-template-columns:1fr 1fr;gap:2px;overflow:hidden;border-radius:22px;
    background:#fff;border:1px solid rgba(31,38,50,.08);box-shadow:0 8px 24px rgba(31,38,50,.05)
  }
  .gps-mobile-example__card figure{position:relative;margin:0;min-width:0;aspect-ratio:4/5;overflow:hidden;background:#eceff3}
  .gps-mobile-example__card img{width:100%;height:100%;object-fit:cover;display:block}
  .gps-mobile-example__card figcaption{
    position:absolute;left:9px;bottom:9px;margin:0;padding:5px 9px;border-radius:999px;
    background:rgba(17,24,39,.68);color:#fff;font-size:11px;font-weight:800;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
  }
  .gps-mobile-example__divider{
    position:absolute;left:50%;top:50%;z-index:3;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;
    display:grid;place-items:center;background:#fff;color:#293344;border:1px solid rgba(31,38,50,.08);font-size:17px;font-weight:800;
    box-shadow:0 5px 14px rgba(20,26,36,.12)
  }

  /* Shortcuts + composer stay one indivisible normal-flow bottom block: this is the stable 06 behavior. */
  .gps-mobile__composer-block{
    flex:0 0 auto;min-width:0;width:100%;display:flex;flex-direction:column;gap:8px;background:#f7f8fb
  }
  .gps-mobile-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0}
  .gps-mobile-shortcuts button{
    min-width:0;height:46px;padding:0 5px;border:1px solid rgba(31,38,50,.07);border-radius:16px;
    background:#f0f2f5;color:#343a45;font-size:13px;font-weight:700;letter-spacing:-.018em;white-space:nowrap;
    box-shadow:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
    transition:transform .12s ease,background .12s ease,color .12s ease
  }
  .gps-mobile-shortcuts button.active{background:#e2e6eb;color:#151a22;border-color:rgba(31,38,50,.08)}
  .gps-mobile-shortcuts button:active{transform:scale(.98)}

  .gps-mobile-composer{flex:0 0 auto;width:100%;margin:0;padding:0;position:static}
  .gps-mobile-composer__bubble{
    width:100%;min-height:58px;display:flex;background:#fff;border:1px solid rgba(28,36,48,.09);
    border-radius:20px;padding:5px 6px 5px 14px;overflow:hidden;box-shadow:0 8px 24px rgba(29,36,48,.065);
    -webkit-tap-highlight-color:transparent;transform:translateZ(0);-webkit-transform:translateZ(0);
    backface-visibility:hidden;-webkit-backface-visibility:hidden
  }
  .gps-mobile-composer__row{width:100%;min-width:0;display:flex;align-items:flex-end;gap:8px}
  .gps-mobile-composer__row textarea{
    display:block;flex:1 1 auto;min-width:0;width:100%;height:46px;min-height:46px;max-height:var(--gps-composer-max);
    margin:0;padding:11px 2px 7px;border:0;outline:0;resize:none;overflow-y:hidden;overflow-x:hidden;
    background:transparent;color:#14171c;
    font:500 17px/1.42 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    letter-spacing:-.012em;white-space:pre-wrap;overflow-wrap:anywhere;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-composer__row textarea::placeholder{color:#9aa1ab}
  .gps-mobile-send{
    flex:0 0 46px;width:46px;height:46px;border:1px solid rgba(31,38,50,.08);border-radius:14px;display:grid;
    place-items:center;background:#fff;color:#9aa1ab;font-size:21px;line-height:1;padding:0 0 1px 2px;
    box-shadow:0 4px 13px rgba(29,36,48,.055);touch-action:manipulation;-webkit-tap-highlight-color:transparent;
    transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .12s ease
  }
  .gps-mobile-send.is-ready{background:#5865F2;color:#fff;border-color:#5865F2;box-shadow:0 7px 17px rgba(88,101,242,.22)}
  .gps-mobile-send:active{transform:scale(.96)}
}

@media(max-width:380px){
  :root{--gps-mobile-edge:10px;--gps-mobile-gap:7px}
  .gps-mobile-intro h1{font-size:24px}
  .gps-mobile-upload{border-radius:22px;min-height:230px}
  .gps-mobile-shortcuts{gap:5px}
  .gps-mobile-shortcuts button{height:44px;font-size:12px;border-radius:15px}
}




/* MOBILE 12 — simple home and navigation skeleton.
   Stable mobile keyboard/composer architecture from 11 remains unchanged. */
@media(max-width:780px){
  .gps-mobile-view-stack{flex:1 1 auto;min-height:0;width:100%;overflow:hidden}
  .gps-mobile-view{width:100%;height:100%;min-height:0;display:none;flex-direction:column;overflow:hidden}
  .gps-mobile-view.is-active{display:flex}
  .gps-mobile-view[hidden]{display:none!important}

  .gps-mobile-tools{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 2px;padding:0 1px 6px
  }
  .gps-mobile-tools button{
    min-width:0;min-height:68px;border:1px solid rgba(31,38,50,.08);border-radius:18px;padding:8px 5px;
    background:#fff;color:#252c38;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
    font:700 12px/1.15 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    text-align:center;box-shadow:0 5px 16px rgba(31,38,50,.04);touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-tools button span{
    width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:#f1f3f6;color:#344054;
    font-size:16px;font-weight:800;line-height:1
  }
  .gps-mobile-tools button b{font:inherit;font-weight:750}
  .gps-mobile-tools button:active{transform:scale(.98);background:#f7f8fa}

  .gps-mobile-page-head{
    flex:0 0 auto;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:6px;padding:6px 0 12px;
    border-bottom:1px solid rgba(31,38,50,.07)
  }
  .gps-mobile-page-head>div{grid-column:2;text-align:center;min-width:0}
  .gps-mobile-page-head h1{margin:0;color:#151a22;font-size:21px;line-height:1.15;font-weight:850;letter-spacing:-.035em}
  .gps-mobile-page-head p{margin:4px 0 0;color:#929aa6;font-size:11px;line-height:1.25;font-weight:600}
  .gps-mobile-back{
    grid-column:1;grid-row:1;width:40px;height:40px;border:1px solid rgba(31,38,50,.08);border-radius:14px;
    background:#fff;color:#202733;font-size:31px;font-weight:400;line-height:34px;padding:0 1px 3px 0;
    box-shadow:0 4px 12px rgba(31,38,50,.035);touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-back:active{transform:scale(.96)}

  .gps-mobile-page-scroll{
    flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;padding:14px 0 10px
  }
  .gps-mobile-page-scroll::-webkit-scrollbar{display:none}
  .gps-mobile-page-placeholder{
    min-height:260px;border:1px solid rgba(31,38,50,.08);border-radius:22px;background:#fff;
    display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 24px;
    box-shadow:0 7px 22px rgba(31,38,50,.04)
  }
  .gps-mobile-page-placeholder>span{
    width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#f1f3f6;
    color:#344054;font-size:22px;font-weight:850;margin-bottom:12px
  }
  .gps-mobile-page-placeholder h2{margin:0;color:#202630;font-size:18px;font-weight:850;letter-spacing:-.025em}
  .gps-mobile-page-placeholder p{max-width:280px;margin:8px 0 0;color:#858e9a;font-size:13px;line-height:1.45;font-weight:550}

  .gps-mobile--subpage .gps-mobile-composer{display:none}
}
@media(max-width:380px){
  .gps-mobile-tools{gap:6px}
  .gps-mobile-tools button{min-height:64px;font-size:11px;border-radius:16px}
}

/* MOBILE 13 — ready requests catalog only. */
@media(max-width:780px){
  .gps-prompt-search{
    height:48px;display:flex;align-items:center;gap:8px;margin:0 0 15px;padding:0 13px;
    border:1px solid rgba(31,38,50,.08);border-radius:16px;background:#fff;
    box-shadow:0 5px 16px rgba(31,38,50,.035)
  }
  .gps-prompt-search span{color:#9098a5;font-size:21px;line-height:1}
  .gps-prompt-search input{
    width:100%;min-width:0;border:0;outline:0;background:transparent;color:#171b23;
    font:600 15px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif
  }
  .gps-prompt-search input::placeholder{color:#a2a9b3}
  .gps-prompt-groups{display:grid;gap:18px}
  .gps-prompt-groups section{display:grid;gap:7px}
  .gps-prompt-groups section[hidden]{display:none!important}
  .gps-prompt-groups h2{
    margin:0 2px 2px;color:#202630;font-size:16px;line-height:1.2;font-weight:850;letter-spacing:-.025em
  }
  .gps-prompt-groups button{
    width:100%;min-height:48px;border:1px solid rgba(31,38,50,.07);border-radius:15px;padding:11px 38px 11px 13px;
    background:#fff;color:#353c48;position:relative;text-align:left;
    font:650 13px/1.32 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    box-shadow:0 4px 13px rgba(31,38,50,.03);touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-prompt-groups button::after{
    content:"›";position:absolute;right:14px;top:50%;transform:translateY(-52%);
    color:#a1a8b2;font-size:23px;font-weight:400
  }
  .gps-prompt-groups button:active{background:#f4f5f7;transform:scale(.995)}
  .gps-prompt-groups button[hidden]{display:none!important}
  .gps-prompt-empty{margin:38px 0;text-align:center;color:#9ba2ad;font-size:14px;font-weight:650}
}
/* MOBILE 14 — compact long prompt after preset selection; expands only for editing, collapses on blur. */

/* MOBILE 15 — preset prompt resets to the original one-row composer height while unfocused. */


/* MOBILE 17 — preset text uses the same native autosize path as typed text. */
/* MOBILE 18 — preset returns Home first, then reuses the native input autosize path after layout is visible. */


/* MOBILE 19 — scalable i18n controls. */
@media(max-width:780px){
  .gps-mobile-intro{position:relative}
  .gps-mobile-language{
    position:absolute;top:0;right:2px;width:58px;height:28px;margin:0;
    border:1px solid rgba(31,38,50,.08);border-radius:10px;padding:0 5px;
    background:#f0f2f5;color:#4f5865;text-align:center;
    font:750 11px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    outline:0;-webkit-tap-highlight-color:transparent
  }
  html[dir="rtl"] .gps-mobile-language{right:auto;left:2px}
}

/* MOBILE 20 — multi-photo stack and future Before / After result stage. */
@media(max-width:780px){
  .gps-mobile-upload [hidden]{display:none!important}
  .gps-mobile-upload__single{position:absolute;inset:0;overflow:hidden}
  .gps-mobile-upload__thumbs{
    position:absolute;z-index:6;top:52px;right:12px;
    display:flex;flex-direction:column;gap:8px
  }
  html[dir="rtl"] .gps-mobile-upload__thumbs{right:auto;left:12px}
  .gps-mobile-upload__thumb{
    position:relative;width:58px;height:58px;border-radius:14px
  }
  .gps-mobile-upload__thumb-select{
    width:58px;height:58px;margin:0;padding:0;border:2px solid rgba(255,255,255,.9);border-radius:14px;
    overflow:hidden;background:#fff;box-shadow:0 5px 15px rgba(12,18,28,.18);
    touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-upload__thumb-select img{width:100%;height:100%;display:block;object-fit:cover}
  .gps-mobile-upload__thumb.is-active .gps-mobile-upload__thumb-select{
    border-color:#fff;box-shadow:0 0 0 2px #5865F2,0 6px 16px rgba(12,18,28,.22)
  }
  .gps-mobile-upload__thumb-remove{
    position:absolute;z-index:2;top:-6px;right:-6px;width:22px;height:22px;margin:0;padding:0;border:2px solid #fff;
    border-radius:50%;display:grid;place-items:center;background:rgba(20,24,31,.82);color:#fff;
    font:700 15px/1 Arial,sans-serif;box-shadow:0 2px 7px rgba(0,0,0,.18);
    touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  html[dir="rtl"] .gps-mobile-upload__thumb-remove{right:auto;left:-6px}

  .gps-mobile-upload__remove-current{
    position:absolute;z-index:7;top:14px;left:14px;width:38px;height:38px;margin:0;padding:0;
    border:2px solid rgba(255,255,255,.9);border-radius:50%;display:grid;place-items:center;
    background:rgba(20,24,31,.76);color:#fff;font:700 24px/1 Arial,sans-serif;
    box-shadow:0 3px 10px rgba(0,0,0,.18);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
    touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  html[dir="rtl"] .gps-mobile-upload__remove-current{left:auto;right:14px}

  .gps-mobile-upload.is-generating .gps-mobile-upload__empty,
  .gps-mobile-upload.has-result .gps-mobile-upload__empty,
  .gps-mobile-upload.has-result .gps-mobile-upload__count{display:none}

  .gps-mobile-generating{
    position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
    background:rgba(17,24,39,.34);color:#fff;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)
  }
  .gps-mobile-generating__spinner{
    width:38px;height:38px;border:3px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;
    animation:gps-mobile-spin .85s linear infinite
  }
  .gps-mobile-generating strong{
    padding:8px 12px;border-radius:999px;background:rgba(17,24,39,.58);
    font-size:13px;line-height:1;font-weight:800;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
  }
  @keyframes gps-mobile-spin{to{transform:rotate(360deg)}}

  .gps-mobile-compare{
    position:absolute;inset:0;z-index:5;display:grid;grid-template-columns:1fr 1fr;background:#e9ecf0
  }
  .gps-mobile-compare__side{position:relative;min-width:0;overflow:hidden;background:#e8ebef}
  .gps-mobile-compare__side img{width:100%;height:100%;display:block;object-fit:cover}
  .gps-mobile-compare__side span{
    position:absolute;z-index:2;top:12px;left:12px;padding:6px 10px;border-radius:999px;
    background:rgba(17,24,39,.68);color:#fff;font-size:11px;line-height:1;font-weight:800;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
  }
  .gps-mobile-compare__side[data-photo-side="after"] span{left:auto;right:12px}
  html[dir="rtl"] .gps-mobile-compare__side[data-photo-side="before"] span{left:auto;right:12px}
  html[dir="rtl"] .gps-mobile-compare__side[data-photo-side="after"] span{right:auto;left:12px}
  .gps-mobile-compare__divider{
    position:absolute;z-index:3;left:50%;top:0;bottom:0;width:2px;transform:translateX(-1px);
    background:rgba(255,255,255,.92);box-shadow:0 0 8px rgba(0,0,0,.15)
  }
  .gps-mobile-new-photo{
    position:absolute;z-index:9;left:50%;top:10px;transform:translateX(-50%);
    height:34px;padding:0 12px;border:0;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:5px;
    background:rgba(17,24,39,.72);color:#fff;box-shadow:0 3px 12px rgba(0,0,0,.14);
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-new-photo span{font-size:18px;line-height:1;font-weight:500}
  .gps-mobile-new-photo b{font-size:11px;line-height:1;font-weight:800;white-space:nowrap}
  .gps-mobile-new-photo:active{background:rgba(17,24,39,.86)}
  .gps-mobile-new-photo:disabled{opacity:.58;pointer-events:none}
  .gps-mobile-result-tabs{
    position:absolute;z-index:7;left:50%;bottom:12px;transform:translateX(-50%);
    display:flex;align-items:center;gap:8px;padding:5px;border-radius:16px;
    background:rgba(17,24,39,.48);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
  }
  .gps-mobile-result-tab{
    position:relative;width:48px;height:48px;padding:0;border:2px solid rgba(255,255,255,.72);border-radius:12px;
    overflow:hidden;background:#fff;box-shadow:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-result-tab img{width:100%;height:100%;display:block;object-fit:cover}
  .gps-mobile-result-tab span{
    position:absolute;right:3px;bottom:3px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;
    display:grid;place-items:center;background:rgba(17,24,39,.78);color:#fff;font-size:9px;font-weight:800
  }
  .gps-mobile-result-tab.is-active{border-color:#fff;box-shadow:0 0 0 2px #5865F2}
}

/* MOBILE 21 — tool icons only; button geometry stays exactly as in MOBILE 12/20. */
@media(max-width:780px){
  .gps-mobile-tools button .gps-mobile-tool-icon{
    width:28px;height:28px;border-radius:0;background:transparent;color:#2c3442;
    display:grid;place-items:center
  }
  .gps-mobile-tools button .gps-mobile-tool-icon svg{
    width:28px;height:28px;display:block;fill:none;stroke:currentColor;stroke-width:2.4;
    stroke-linecap:round;stroke-linejoin:round
  }
  .gps-mobile-tools button .gps-mobile-tool-icon svg circle[cy="22.5"]{fill:currentColor;stroke:none}
}

/* MOBILE 22 — corrected magic-wand icon; button geometry unchanged. */

/* MOBILE 23 — prompts icon B: document/list with sparkle; geometry unchanged. */


/* MOBILE 24 — real Before/After examples + How it works. */
@media(max-width:780px){
  .gps-mobile-examples-list{display:grid;gap:14px;padding-bottom:6px}
  .gps-mobile-example-pair{
    position:relative;display:grid;grid-template-columns:1fr 1fr;gap:2px;overflow:hidden;
    border:1px solid rgba(31,38,50,.08);border-radius:22px;background:#fff;
    box-shadow:0 7px 22px rgba(31,38,50,.045)
  }
  .gps-mobile-example-pair>div{
    position:relative;min-width:0;aspect-ratio:3/4;overflow:hidden;background:#eceff3
  }
  .gps-mobile-example-pair img{width:100%;height:100%;display:block;object-fit:cover}
  .gps-mobile-example-pair span{
    position:absolute;left:9px;bottom:9px;z-index:2;padding:5px 9px;border-radius:999px;
    background:rgba(17,24,39,.68);color:#fff;font-size:10px;line-height:1;font-weight:800;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
  }
  .gps-mobile-example-pair>div+div span{left:auto;right:9px}
  .gps-mobile-example-pair::after{
    content:"";position:absolute;left:50%;top:0;bottom:0;z-index:2;width:2px;transform:translateX(-1px);
    background:rgba(255,255,255,.92);box-shadow:0 0 7px rgba(0,0,0,.13);pointer-events:none
  }

  .gps-mobile-how{display:grid;gap:14px;padding-bottom:6px}
  .gps-mobile-how__steps{
    list-style:none;margin:0;padding:0;display:grid;gap:9px
  }
  .gps-mobile-how__steps li{
    display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;
    padding:14px;border:1px solid rgba(31,38,50,.08);border-radius:18px;background:#fff;
    box-shadow:0 5px 16px rgba(31,38,50,.035)
  }
  .gps-mobile-how__steps li>span{
    width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
    background:#f0f2f5;color:#293241;font-size:16px;line-height:1;font-weight:850
  }
  .gps-mobile-how__steps h2{
    margin:1px 0 4px;color:#202630;font-size:15px;line-height:1.2;font-weight:850;letter-spacing:-.02em
  }
  .gps-mobile-how__steps p{
    margin:0;color:#7f8895;font-size:12px;line-height:1.45;font-weight:560
  }
  .gps-mobile-how__tips{
    padding:15px;border:1px solid rgba(31,38,50,.08);border-radius:18px;background:#f5f6f8
  }
  .gps-mobile-how__tips h2{
    margin:0 0 9px;color:#202630;font-size:15px;line-height:1.2;font-weight:850;letter-spacing:-.02em
  }
  .gps-mobile-how__tips p{
    position:relative;margin:7px 0 0;padding-left:17px;color:#66707e;font-size:12px;line-height:1.45;font-weight:560
  }
  .gps-mobile-how__tips p::before{
    content:"";position:absolute;left:2px;top:.52em;width:5px;height:5px;border-radius:50%;background:#2d3748
  }
  html[dir="rtl"] .gps-mobile-how__tips p{padding-left:0;padding-right:17px}
  html[dir="rtl"] .gps-mobile-how__tips p::before{left:auto;right:2px}
}


/* MOBILE 25 — exact user-uploaded examples. One source photo, eight real results. */
@media(max-width:780px){
  .gps-mobile-example-card{
    overflow:hidden;border:1px solid rgba(31,38,50,.08);border-radius:22px;background:#fff;
    box-shadow:0 7px 22px rgba(31,38,50,.045)
  }
  .gps-mobile-example-card .gps-mobile-example-pair{
    border:0;border-radius:0;box-shadow:none
  }
  .gps-mobile-example-card h2{
    margin:0;padding:11px 13px 12px;color:#202630;font-size:14px;line-height:1.2;
    font-weight:850;letter-spacing:-.02em
  }
}


/* MOBILE 26 — empty example slots; images will be managed later from admin. */
@media(max-width:780px){
  .gps-mobile-example-card{background:transparent;border:0;box-shadow:none;overflow:visible}
  .gps-mobile-example-pair{
    display:grid;grid-template-columns:1fr 1fr;gap:10px;background:transparent;border:0;box-shadow:none;overflow:visible
  }
  .gps-mobile-example-pair::after{display:none}
  .gps-mobile-example-slot{
    position:relative;aspect-ratio:1/1;border:1.5px dashed rgba(41,50,65,.22);border-radius:18px;
    background:#f7f8fa;overflow:hidden
  }
  .gps-mobile-example-slot span{
    position:absolute;left:10px;bottom:10px;padding:5px 9px;border-radius:999px;
    background:#2d3441;color:#fff;font-size:10px;line-height:1;font-weight:800
  }
  .gps-mobile-example-slot[data-example-slot$="-after"] span{left:auto;right:10px}
}

/* WEB 29 — account authentication UI. */
.gps-auth-card{width:100%;max-width:430px;margin:18px auto 0;padding:22px;border:1px solid rgba(31,38,50,.08);border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(31,38,50,.05)}
.gps-auth-card label{display:grid;gap:7px;text-align:left;color:#343b47;font-size:12px;font-weight:800}
.gps-auth-card input{width:100%;height:48px;border:1px solid #dfe3e9;border-radius:13px;background:#fff;color:#151a22;padding:0 13px;font:600 16px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;outline:none}
.gps-auth-card input:focus{border-color:#5865F2;box-shadow:0 0 0 3px rgba(88,101,242,.10)}
.gps-auth-email-step,.gps-auth-code-step{display:grid;gap:12px}
.gps-auth-card button[data-auth-send],.gps-auth-card button[data-auth-verify],.gps-auth-card button[data-auth-logout]{width:100%;height:48px;border:0;border-radius:13px;background:#5865F2;color:#fff;font-size:14px;font-weight:850;padding:0 18px;cursor:pointer}
.gps-auth-card button:disabled{opacity:.45;cursor:default}
.gps-auth-link{border:0!important;background:transparent!important;color:#6f7783!important;height:auto!important;padding:4px!important;font-size:12px!important;font-weight:750!important}
.gps-auth-code-sent,.gps-auth-status{margin:0;color:#7e8793;font-size:12px;line-height:1.4;text-align:center}
.gps-auth-status:not(:empty){margin-top:12px}
.gps-auth-account{display:grid;justify-items:center;gap:10px;text-align:center}
.gps-auth-account>strong{font-size:16px;word-break:break-word}
.gps-auth-account>p{margin:0;color:#6f7783;font-size:13px}
.gps-auth-avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#f1f3f6;color:#313947;font-size:23px;font-weight:900}
.gps-auth-modal{width:min(430px,calc(100vw - 32px));box-sizing:border-box;position:relative}
.gps-auth-modal .gps-auth-card{padding:0;border:0;box-shadow:none;margin:0}
.gps-auth-modal-close{position:absolute!important;right:12px;top:10px;width:34px!important;height:34px!important;padding:0!important;border-radius:50%!important;background:#f2f4f7!important;color:#3a414c!important;font-size:22px!important;line-height:1!important}
@media(max-width:780px){
  .gps-auth-card{margin:14px auto 20px;padding:18px;border-radius:20px}
  .gps-auth-modal{display:none}
}

/* WEB 30 — modern sign-in / registration UX. */
[data-auth-surface] [hidden]{display:none!important}
.gps-auth-card{
  width:100%;max-width:460px;margin:18px auto 24px;padding:20px;
  border:1px solid rgba(31,38,50,.07);border-radius:26px;background:#fff;
  box-shadow:0 14px 36px rgba(31,38,50,.07);box-sizing:border-box
}
.gps-auth-google{display:grid;gap:14px;margin:0 0 18px}
.gps-auth-google__button{min-height:44px;display:flex;justify-content:center}
.gps-auth-separator{display:flex;align-items:center;gap:12px;color:#a0a7b1;font-size:11px;font-weight:750;text-align:center}
.gps-auth-separator::before,.gps-auth-separator::after{content:"";height:1px;flex:1;background:#eceff3}
.gps-auth-separator span{white-space:nowrap}
.gps-auth-tabs{
  display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 22px;
  border-radius:16px;background:#f1f3f6
}
.gps-auth-tabs button{
  height:42px;border:0!important;border-radius:12px!important;background:transparent!important;
  color:#7b8390!important;font-size:14px!important;font-weight:800!important;padding:0 12px!important;
  box-shadow:none!important;cursor:pointer
}
.gps-auth-tabs button.is-active{
  background:#fff!important;color:#1c2330!important;
  box-shadow:0 3px 10px rgba(31,38,50,.08)!important
}
.gps-auth-hero{text-align:center;margin:4px 0 22px}
.gps-auth-hero__mark,.gps-auth-avatar{
  width:58px;height:58px;margin:0 auto 12px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(145deg,#202733,#394253);color:#fff;font-size:22px;font-weight:900;
  box-shadow:0 8px 20px rgba(31,38,50,.16)
}
.gps-auth-hero h2{margin:0;color:#171c25;font-size:23px;line-height:1.15;font-weight:850;letter-spacing:-.035em}
.gps-auth-hero p{max-width:330px;margin:8px auto 0;color:#8b93a0;font-size:13px;line-height:1.45;font-weight:600}
.gps-auth-email-step,.gps-auth-code-step{display:grid;gap:13px}
.gps-auth-card label{display:grid;gap:7px;color:#353c48;font-size:12px;font-weight:800;text-align:left}
.gps-auth-card input[type="email"]{
  width:100%;height:52px;border:1px solid #dfe3e9;border-radius:15px;background:#fbfcfd;
  color:#151a22;padding:0 15px;font:650 16px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  outline:none;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease
}
.gps-auth-card input[type="email"]:focus{background:#fff;border-color:#5865F2;box-shadow:0 0 0 4px rgba(88,101,242,.09)}
.gps-auth-primary{
  width:100%!important;height:52px!important;border:0!important;border-radius:15px!important;
  background:#5865F2!important;color:#fff!important;font-size:15px!important;font-weight:850!important;
  padding:0 18px!important;box-shadow:0 8px 18px rgba(88,101,242,.18)!important;cursor:pointer
}
.gps-auth-primary:active{transform:scale(.99)}
.gps-auth-primary:disabled{opacity:.42;box-shadow:none!important;cursor:default}
.gps-auth-terms{margin:0 6px;color:#9aa1ab;font-size:10.5px;line-height:1.45;text-align:center}
.gps-auth-change,.gps-auth-resend{
  border:0!important;background:transparent!important;box-shadow:none!important;height:auto!important;
  padding:3px!important;color:#737c89!important;font-size:12px!important;font-weight:750!important;cursor:pointer
}
.gps-auth-code-step>h2{margin:2px 0 0;text-align:center;color:#171c25;font-size:22px;line-height:1.15;font-weight:850}
.gps-auth-code-sent{margin:-3px 0 4px;color:#8a929e;font-size:12px;line-height:1.4;text-align:center}
.gps-auth-otp{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:4px 0 2px}
.gps-auth-otp input{
  width:100%;min-width:0;height:56px;border:1px solid #dfe3e9;border-radius:13px;background:#fbfcfd;
  color:#171c25;text-align:center;padding:0;outline:none;font:800 23px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-variant-numeric:tabular-nums;box-sizing:border-box
}
.gps-auth-otp input:focus{background:#fff;border-color:#5865F2;box-shadow:0 0 0 3px rgba(88,101,242,.09)}
.gps-auth-status{min-height:17px;margin:12px 2px 0;color:#7e8793;font-size:11.5px;line-height:1.4;text-align:center}
.gps-auth-account{display:grid;justify-items:center;gap:9px;text-align:center;padding:4px 0}
.gps-auth-account__eyebrow{color:#9aa1ab;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.gps-auth-account>strong{max-width:100%;color:#1b2029;font-size:17px;word-break:break-word}
.gps-auth-balance-card{
  width:100%;margin:9px 0 2px;padding:16px 17px;border-radius:18px;background:#f5f7f9;
  display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;text-align:left
}
.gps-auth-balance-card>span{color:#727b88;font-size:12px;font-weight:750}
.gps-auth-balance-card>strong{color:#1d2430;font-size:15px;font-weight:850}
.gps-auth-credit-rule{margin:2px 8px 5px;color:#7f8792;font-size:11px;line-height:1.35;font-weight:750}
.gps-auth-secure{margin:2px 8px 7px;color:#9aa1ab;font-size:10.5px;line-height:1.45}
.gps-auth-logout{
  width:100%!important;height:48px!important;border:1px solid rgba(233,84,78,.20)!important;border-radius:14px!important;
  background:#fff7f6!important;color:#d94943!important;font-size:14px!important;font-weight:820!important;box-shadow:none!important
}
.gps-auth-modal{width:min(470px,calc(100vw - 32px));padding:20px!important;box-sizing:border-box}
.gps-auth-modal .gps-auth-card{margin:0;padding:8px 2px 2px;border:0;box-shadow:none}
.gps-auth-modal-close{
  position:absolute!important;right:12px;top:10px;z-index:4;width:34px!important;height:34px!important;
  border:0!important;border-radius:50%!important;background:#f1f3f6!important;color:#3d4551!important;
  padding:0!important;font-size:21px!important;line-height:1!important;box-shadow:none!important
}
@media(max-width:780px){
  .gps-auth-card{margin:14px auto 18px;padding:18px;border-radius:24px;box-shadow:0 10px 28px rgba(31,38,50,.055)}
  .gps-auth-tabs{margin-bottom:19px}
  .gps-auth-hero{margin-bottom:19px}
  .gps-auth-modal{display:none}
}
@media(max-width:380px){
  .gps-auth-card{padding:15px}
  .gps-auth-otp{gap:5px}
  .gps-auth-otp input{height:50px;border-radius:11px;font-size:21px}
}

/* WEB 42 — full-screen photo viewer. Main layout geometry is unchanged. */
.gps-photo-viewer[hidden]{display:none!important}
.gps-photo-viewer{
  position:fixed;inset:0;z-index:20000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;
  width:100%;height:100dvh;background:#050506;color:#fff;overflow:hidden;overscroll-behavior:contain
}
.gps-photo-viewer__top{
  position:relative;z-index:2;display:flex;align-items:center;justify-content:center;min-height:58px;
  padding:calc(8px + env(safe-area-inset-top)) 18px 8px;background:rgba(5,5,6,.72);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
.gps-photo-viewer__top strong{font-size:15px;line-height:1.2;font-weight:750}
.gps-photo-viewer__close{
  position:absolute;left:14px;bottom:8px;width:40px;height:40px;padding:0;border:0;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.14);color:#fff;font-size:30px;
  line-height:1;font-weight:300;-webkit-tap-highlight-color:transparent
}
.gps-photo-viewer__stage{
  min-height:0;display:grid;place-items:center;overflow:hidden;background:#050506;touch-action:pinch-zoom
}
.gps-photo-viewer__stage img{
  width:100%;height:100%;display:block;object-fit:contain;object-position:center
}
.gps-photo-viewer__actions{
  display:grid;grid-template-columns:1fr;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(18,18,20,.76);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)
}
.gps-photo-viewer__actions button{
  min-height:54px;border:0;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:9px;
  background:rgba(255,255,255,.14);color:#fff;font:inherit;-webkit-tap-highlight-color:transparent
}
.gps-photo-viewer__actions button:active{background:rgba(255,255,255,.22)}
.gps-photo-viewer__actions svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.gps-photo-viewer__actions b{font-size:15px;line-height:1;font-weight:750}
body.gps-photo-viewer-open{overflow:hidden}
.gps-photo-viewer__actions button:disabled{opacity:.55}

/* WEB 46.1 FIX — restore saved mobile view before first paint. */
@media(max-width:780px){
  html[data-gps-initial-view] #gpsMobile .gps-mobile-view[data-mobile-view="home"]{display:none!important}
  html[data-gps-initial-view="profile"] #gpsMobile .gps-mobile-view[data-mobile-view="profile"][hidden],
  html[data-gps-initial-view="examples"] #gpsMobile .gps-mobile-view[data-mobile-view="examples"][hidden],
  html[data-gps-initial-view="prompts"] #gpsMobile .gps-mobile-view[data-mobile-view="prompts"][hidden],
  html[data-gps-initial-view="how"] #gpsMobile .gps-mobile-view[data-mobile-view="how"][hidden]{display:flex!important}
  html[data-gps-initial-view] #gpsMobile .gps-mobile-composer{display:none!important}
}

/* WEB 46.1c — never flash the signed-out form while restoring an existing profile. */
@media(max-width:780px){
  html[data-gps-auth-pending="1"] #gpsMobile [data-mobile-view="profile"] [data-auth-logged-out]{display:none!important}
}


/* WEB 62 — generation credit visibility and insufficient-balance guidance. */
@media(max-width:780px){
  .gps-mobile-upload.is-credit-unavailable{
    border-color:rgba(216,63,69,.78);box-shadow:0 0 0 2px rgba(216,63,69,.18),0 10px 30px rgba(31,38,50,.055)
  }
  .gps-mobile-upload__thumb.is-credit-unavailable .gps-mobile-upload__thumb-select{
    border-color:#e24a50;box-shadow:0 0 0 2px rgba(226,74,80,.34),0 6px 16px rgba(12,18,28,.22)
  }
}
.gps-credit-modal{width:min(430px,calc(100vw - 30px));box-sizing:border-box;padding:24px!important}
.gps-credit-modal__icon{
  width:54px;height:54px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;
  background:#fff0f1;color:#d83f45;font-size:24px;font-weight:900
}
.gps-credit-modal__rule{margin:8px 0 0!important;color:#202630!important;font-weight:800}
.gps-credit-modal__actions{margin-top:18px;display:grid;grid-template-columns:1fr;gap:9px}
.gps-credit-modal__actions button{width:100%;margin:0}
.gps-credit-modal__remove{background:#eef1f5!important;color:#222a35!important}
.gps-credit-modal__buy{background:#202630!important;color:#fff!important}

/* WEB 64 — desktop workbench + responsive desktop/phone-landscape layout. */
@media (max-width:1180px) and (min-width:781px){
  .topbar{gap:16px}
  .brand>strong{font-size:16px}
  .desktop-nav{gap:16px}
  .desktop-nav a{font-size:12px}
  .hero{grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);gap:14px 18px;padding-top:22px}
  .hero-copy h1{font-size:clamp(38px,4.6vw,48px)}
  .hero-copy p{font-size:15px}
  .creator-card{padding:15px}
  .creator-head h2{font-size:21px}
  .desktop-photo-strip{gap:8px}
  .desktop-photo-thumb{border-radius:12px}
}
@media (max-width:980px) and (min-width:781px){
  .desktop-nav{display:none}
  .topbar{justify-content:space-between}
  .top-actions{margin-left:auto}
}
@media (min-width:1600px){
  .desktop-focus{border-radius:20px}
  .desktop-photo-thumb{border-radius:15px}
}



/* DESKTOP 80 — editor-first workspace. Portrait mobile remains on the existing mobile UI. */
@media (min-width:781px){
  :root{--max:1600px}
  html{scroll-behavior:smooth}
  body{background:#f5f7fa}
  .gps-mobile{display:none!important}
  .app-shell{display:block!important;min-height:100vh;min-height:100dvh}
  .desktop-only{display:block}
  .section-wrap{max-width:var(--max);padding-left:max(26px,env(safe-area-inset-left));padding-right:max(26px,env(safe-area-inset-right))}
  .gps-desktop-topbar{
    height:64px;position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;
    padding-left:max(26px,calc((100vw - var(--max))/2 + 26px),env(safe-area-inset-left));
    padding-right:max(26px,calc((100vw - var(--max))/2 + 26px),env(safe-area-inset-right));
    background:rgba(255,255,255,.88);border-bottom:1px solid rgba(17,24,39,.06);
    backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)
  }
  .gps-desktop-topbar .brand{gap:9px}.gps-desktop-topbar .brand-mark{width:36px;height:36px}.gps-desktop-topbar .brand>strong{font-size:16px}
  .gps-desktop-topbar .top-actions{margin-left:auto}.gps-desktop-topbar .signin-btn{height:38px;border-radius:12px;padding:0 16px}
  .desktop-nav{display:none!important}

  .gps-desktop-page{padding:0 0 32px}
  .gps-desktop-workspace{padding-top:22px;padding-bottom:18px}
  .gps-desktop-editor{
    width:100%;min-width:0;display:grid!important;
    grid-template-columns:minmax(0,2.12fr) minmax(300px,1fr);
    gap:18px;align-items:stretch
  }
  .desktop-upload-compat{display:none!important}
  .gps-desktop-stage-column{min-width:0;display:flex;flex-direction:column;gap:9px}
  .gps-desktop-editor .desktop-focus{
    --gps-compare:50%;
    position:relative;width:100%;min-height:500px;max-height:760px;aspect-ratio:16/10;
    overflow:hidden;border:1px solid rgba(31,41,55,.08);border-radius:26px;
    background:linear-gradient(145deg,#edf1f5,#e7ebf0);
    box-shadow:0 18px 48px rgba(24,32,44,.08)
  }
  .gps-desktop-editor .desktop-focus__half{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#e9edf2}
  .gps-desktop-editor .desktop-focus__half--before{left:0}
  .gps-desktop-editor .desktop-focus__half--after{right:auto;clip-path:inset(0 0 0 var(--gps-compare))}
  .gps-desktop-editor .desktop-focus__half img{width:100%;height:100%;display:block;object-fit:contain;object-position:center;background:#e9edf2}
  .gps-desktop-editor .desktop-focus__divider{
    position:absolute;z-index:8;left:var(--gps-compare);top:0;bottom:0;width:2px;transform:translateX(-1px);
    background:rgba(255,255,255,.96);box-shadow:0 0 0 1px rgba(0,0,0,.04),0 0 16px rgba(0,0,0,.10);pointer-events:none
  }
  .gps-desktop-editor .desktop-focus__divider span{
    position:absolute;left:50%;top:50%;width:42px;height:42px;transform:translate(-50%,-50%);
    display:grid;place-items:center;border-radius:50%;background:#fff;color:#293342;font-size:18px;font-weight:900;
    letter-spacing:-4px;padding-right:4px;box-shadow:0 7px 20px rgba(0,0,0,.16)
  }
  .desktop-focus__compare-range{
    position:absolute;z-index:10;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;
    touch-action:none;-webkit-tap-highlight-color:transparent
  }
  .desktop-focus:not(.has-result) .desktop-focus__compare-range{display:none}
  .desktop-focus__label{top:16px;z-index:9;min-width:58px;padding:7px 12px;font-size:11px}
  .desktop-focus__label--before{left:16px}.desktop-focus__label--after{right:16px}
  .desktop-focus__upload{
    position:absolute;inset:0;z-index:7;width:100%;border:0;background:transparent;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#273d57;cursor:pointer
  }
  .desktop-focus__upload>span{
    width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.78);
    box-shadow:0 10px 28px rgba(47,69,96,.08);font-size:42px;line-height:1;font-weight:450;
    transition:transform .16s ease,background .16s ease
  }
  .desktop-focus__upload>b{font-size:18px}.desktop-focus__upload>small{font-size:11px;color:#8b95a2;font-weight:650}
  .desktop-focus__upload:hover>span{transform:scale(1.04);background:#fff}
  .desktop-focus:not(.is-empty) .desktop-focus__upload{display:none}
  .desktop-focus.is-empty .desktop-focus__half,.desktop-focus.is-empty .desktop-focus__label,.desktop-focus.is-empty .desktop-focus__divider{display:none}
  .desktop-focus.has-upload:not(.has-result) .desktop-focus__half--after,.desktop-focus.has-upload:not(.has-result) .desktop-focus__label,.desktop-focus.has-upload:not(.has-result) .desktop-focus__divider{display:none}
  .desktop-focus.has-upload:not(.has-result) .desktop-focus__half--before{display:block}
  .desktop-focus.dragging{border-color:#7582ff;box-shadow:0 0 0 4px rgba(88,101,242,.10),0 18px 48px rgba(24,32,44,.09)}
  .desktop-focus__generating{
    position:absolute;z-index:12;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;
    background:rgba(28,36,48,.20);color:#fff;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);overflow:hidden
  }
  .desktop-focus__generating[hidden]{display:none}
  .desktop-focus__generating strong{position:relative;z-index:2;padding:8px 12px;border-radius:999px;background:rgba(20,27,38,.62);font-size:13px}
  .desktop-focus__spinner{position:relative;z-index:2;width:23px;height:23px;border:3px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;animation:gpsDesktopSpin .8s linear infinite}
  .desktop-focus__scan{
    position:absolute;z-index:1;top:0;bottom:0;width:26%;left:-30%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);transform:skewX(-12deg);
    animation:gpsDesktopScan 1.7s ease-in-out infinite
  }
  @keyframes gpsDesktopScan{0%{left:-32%}100%{left:108%}}
  @keyframes gpsDesktopSpin{to{transform:rotate(360deg)}}

  .gps-desktop-result-actions{min-height:38px;display:flex;align-items:center;justify-content:flex-end;gap:8px}
  .gps-desktop-secondary{
    height:36px;padding:0 12px;border:1px solid rgba(31,41,55,.09);border-radius:12px;background:#fff;color:#485261;
    display:flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 4px 12px rgba(31,38,50,.035);cursor:pointer
  }
  .gps-desktop-secondary[hidden]{display:none!important}.gps-desktop-secondary b{font-size:11px}.gps-desktop-secondary span{font-size:16px}
  .gps-desktop-fullscreen{width:38px;padding:0;font-size:18px}

  .gps-desktop-control-panel{
    min-width:0;display:flex;flex-direction:column;align-self:stretch;padding:18px;
    border:1px solid rgba(31,41,55,.075);border-radius:24px;background:rgba(255,255,255,.94);
    box-shadow:0 16px 42px rgba(24,32,44,.06)
  }
  .gps-desktop-control-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
  .gps-desktop-control-head>strong{font-size:13px;color:#313a47}.desktop-editor-meta{display:block;padding:0}
  .desktop-editor-meta .photo-count{margin:0;color:#8a929e;font-size:11px;font-weight:750}
  .gps-desktop-strip-row{display:block}
  .gps-desktop-editor .desktop-photo-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%}
  .gps-desktop-editor .desktop-photo-thumb{
    width:100%;height:auto;aspect-ratio:1;border:0;border-radius:12px;overflow:hidden;padding:0;background:#f1f3f6;box-shadow:none
  }
  .gps-desktop-editor .desktop-photo-thumb img{width:100%;height:100%;display:block;object-fit:cover}
  .desktop-photo-thumb.is-placeholder.is-add-slot{
    cursor:pointer;display:grid;place-items:center;border:1.5px dashed #d7dde6;background:#fafbfc
  }
  .desktop-photo-thumb.is-placeholder.is-add-slot>span{
    width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;color:#394b61;font-size:22px
  }
  .desktop-photo-thumb.is-active{box-shadow:0 0 0 3px rgba(88,101,242,.34)}
  .gps-desktop-prompt{
    margin:auto 0 10px;padding:14px 15px 12px;display:block;border:1px solid #dfe4ea;border-radius:18px;background:#fff;
    box-shadow:0 7px 22px rgba(31,38,50,.04);transition:border-color .16s ease,box-shadow .16s ease
  }
  .gps-desktop-prompt:focus-within{border-color:#8f99f5;box-shadow:0 0 0 4px rgba(88,101,242,.08)}
  .gps-desktop-prompt>span{display:block;margin:0 0 7px;color:#363f4c;font-size:12px;font-weight:820}
  .gps-desktop-prompt textarea{
    display:block;width:100%;min-height:54px;height:54px;max-height:158px;padding:0;border:0;outline:0;resize:none;overflow-y:hidden;
    background:transparent;color:#161b23;font-size:14px;line-height:1.5
  }
  .gps-desktop-prompt textarea::placeholder{color:#a2a9b3}
  .gps-desktop-control-panel .desktop-credit-info{
    min-height:18px;margin:0 1px 8px;display:flex;justify-content:space-between;gap:8px;color:#8a929d;font-size:10px
  }
  .gps-desktop-control-panel .desktop-credit-info[hidden]{visibility:hidden;display:flex}
  .gps-desktop-control-panel .desktop-credit-info strong{color:#b45309}
  .gps-desktop-create{
    flex:0 0 auto;margin:0;width:100%;height:54px;border-radius:16px;font-size:15px;
    background:linear-gradient(110deg,#287cf5 0%,#5865f2 52%,#8a2cf5 100%);
    box-shadow:0 12px 28px rgba(88,101,242,.20)
  }
  .gps-desktop-create:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 15px 32px rgba(88,101,242,.26)}
  .gps-desktop-create:disabled{opacity:.46;box-shadow:none}

  .gps-desktop-examples{padding-top:20px;padding-bottom:22px}
  .gps-desktop-examples .section-heading{margin-bottom:12px}.gps-desktop-examples .section-heading h2{font-size:24px}
  .gps-example-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
  .gps-example-slider{
    --gps-example-split:50%;position:relative;height:190px;overflow:hidden;border-radius:18px;
    border:1px solid rgba(31,41,55,.08);background:#e9edf2;box-shadow:0 8px 24px rgba(31,38,50,.045)
  }
  .gps-example-slider>img,.gps-example-after,.gps-example-after img{position:absolute;inset:0;width:100%;height:100%}
  .gps-example-slider img{display:block;object-fit:cover}
  .gps-example-after{clip-path:inset(0 0 0 var(--gps-example-split));overflow:hidden}
  .gps-example-divider{
    position:absolute;z-index:4;left:var(--gps-example-split);top:0;bottom:0;width:2px;transform:translateX(-1px);
    background:rgba(255,255,255,.95);pointer-events:none
  }
  .gps-example-divider span{
    position:absolute;left:50%;top:50%;width:32px;height:32px;transform:translate(-50%,-50%);display:grid;place-items:center;
    border-radius:50%;background:#fff;color:#344054;font-size:14px;font-weight:900;letter-spacing:-3px;padding-right:3px;
    box-shadow:0 5px 14px rgba(0,0,0,.14)
  }
  .gps-example-label{
    position:absolute;z-index:5;top:10px;padding:5px 8px;border-radius:999px;background:rgba(17,24,39,.64);color:#fff;
    font-size:9px;font-weight:800;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);pointer-events:none
  }
  .gps-example-label--before{left:10px}.gps-example-label--after{right:10px}
  .gps-example-slider input{position:absolute;z-index:6;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:none}
  .gps-desktop-footer{margin-top:8px;border-top:1px solid #e3e7ec;background:#fff}
  .gps-desktop-footer .section-wrap{min-height:72px;display:flex;align-items:center;gap:18px}
  .gps-desktop-footer .brand-mark{width:28px;height:28px}.gps-desktop-footer .brand>strong{font-size:13px}.gps-desktop-footer .section-wrap>span{margin-left:auto;color:#969da7;font-size:10px}
}

@media (min-width:781px) and (max-width:1180px){
  .gps-desktop-editor{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:14px}
  .gps-desktop-editor .desktop-focus{min-height:420px}
  .gps-example-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gps-example-slider{height:170px}
}




/* DESKTOP 80 LANDSCAPE PHONE OVERRIDES — portrait Mobile 79 stays untouched. */


/* MOBILE EXAMPLES FIX — preserve the complete source frame, never crop heads or edges. */
@media(max-width:780px){
  .gps-mobile-example-pair>div{
    aspect-ratio:auto;
    min-height:0;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#f1f3f6
  }
  .gps-mobile-example-pair img{
    width:100%;
    height:auto;
    max-width:100%;
    max-height:none;
    display:block;
    object-fit:contain;
    object-position:center center
  }
}
/* MOBILE BALANCE — purchase screen. */
@media(max-width:780px){
  .gps-mobile-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gps-mobile-balance-shop{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:2px 0 4px}
  .gps-mobile-balance-package{
    position:relative;min-height:170px;padding:16px 14px 14px;border:1px solid rgba(31,38,50,.08);border-radius:20px;
    background:#fff;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 7px 22px rgba(31,38,50,.04)
  }
  .gps-mobile-balance-package>div{display:grid;gap:3px}
  .gps-mobile-balance-package strong{font-size:30px;line-height:1;font-weight:900;letter-spacing:-.04em}
  .gps-mobile-balance-package span{color:#858e9a;font-size:11px;font-weight:700}
  .gps-mobile-balance-package>b{margin-top:12px;font-size:18px;line-height:1;font-weight:850}
  .gps-mobile-balance-package button{
    width:100%;height:40px;margin-top:auto;border:0;border-radius:12px;background:#202630;color:#fff;
    font-size:12px;font-weight:850;touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-balance-package.is-popular{border-color:#c9ceff;box-shadow:0 8px 24px rgba(88,101,242,.08)}
  .gps-mobile-balance-package.is-popular button{background:#5865F2}
  .gps-mobile-balance-package em{
    position:absolute;top:10px;right:10px;padding:4px 7px;border-radius:999px;background:#eef0ff;color:#5865F2;
    font-size:9px;font-style:normal;font-weight:850
  }
  .gps-mobile-balance-note{margin:12px 8px 4px;color:#9199a5;font-size:11px;line-height:1.45;text-align:center;font-weight:600}
}
@media(max-width:380px){
  .gps-mobile-balance-shop{gap:8px}
  .gps-mobile-balance-package{min-height:158px;padding:14px 12px 12px}
  .gps-mobile-balance-package strong{font-size:27px}
}

/* MOBILE 100 — portrait mobile layout stays active while Android keyboard resizes the viewport. */
@media(max-width:780px){
  html,body{height:100%;min-height:0}
  .gps-mobile,.gps-mobile__screen{height:100dvh;min-height:0}
  .gps-mobile__workspace{
    height:100%;min-height:0;max-width:430px;
    display:flex;flex-direction:column;gap:8px;
    overflow:hidden;
    padding:6px 16px 6px;
  }
  .gps-mobile:not(.gps-mobile--subpage) .gps-mobile-view-stack{
    flex:1 1 auto;min-height:0;height:auto;overflow:hidden;
  }
  .gps-mobile:not(.gps-mobile--subpage) .gps-mobile-view[data-mobile-view="home"]{
    height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;
  }
  .gps-mobile:not(.gps-mobile--subpage) .gps-mobile-view[data-mobile-view="home"] .gps-mobile__content{
    flex:1 1 auto;min-height:0;
    display:flex;flex-direction:column;gap:8px;
    overflow:hidden;padding:0;
  }
  .gps-mobile-intro{flex:0 0 auto;padding:0 2px 4px}
  .gps-mobile-intro h1{font-size:25px;line-height:1.05}
  .gps-mobile-intro p{margin-top:4px;font-size:13px;line-height:1.25}
  .gps-mobile-upload{
    flex:1 1 auto;min-height:0;max-height:none;
    aspect-ratio:auto;border-radius:24px;
  }
  .gps-mobile-tools{
    flex:0 0 auto;gap:8px;margin:0;padding:0;
  }
  .gps-mobile-tools button{min-height:58px;border-radius:17px;padding:6px 5px;gap:4px}
  .gps-mobile-tools button span{width:26px;height:26px;border-radius:9px}
  .gps-mobile__composer-block{
    flex:0 0 auto;display:flex;flex-direction:column;gap:8px;
  }
  .gps-mobile-composer{flex:0 0 auto}
  .gps-mobile-composer__bubble{
    min-height:54px;border-radius:18px;padding:5px 6px 5px 13px;
  }
  .gps-mobile-composer__row textarea{
    height:42px;min-height:42px;padding:9px 2px 6px;font-size:16px;
  }
  .gps-mobile-send{width:42px;height:42px;flex-basis:42px;border-radius:13px;font-size:20px}
  .gps-mobile-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
  .gps-mobile-shortcuts button{height:42px;border-radius:15px;font-size:12px}
}
/* MOBILE 90 — language selector on every mobile subpage. */
@media(max-width:780px){
  .gps-mobile-page-language{
    grid-column:3;grid-row:1;
    justify-self:end;align-self:center;
    width:58px;height:28px;margin:0;
    border:1px solid rgba(31,38,50,.08);border-radius:10px;padding:0 5px;
    background:#f0f2f5;color:#4f5865;text-align:center;
    font:750 11px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    outline:0;-webkit-tap-highlight-color:transparent
  }
}

/* MOBILE 92 — profile card starts at the same vertical offset as Balance cards. */
@media(max-width:780px){
  .gps-mobile-view[data-mobile-view="profile"] .gps-auth-card{margin:2px auto 18px}
}
/* MOBILE 93 — portrait-only mobile web guard. */
.gps-portrait-lock{display:none}


/* MOBILE 99 — physical-orientation guard.
   Virtual keyboard resize must never be interpreted as a phone rotation. */
.gps-portrait-lock{display:none}
html.gps-real-landscape,html.gps-real-landscape body{
  width:100%;height:100%;min-height:0;overflow:hidden;background:#f7f8fb
}
html.gps-real-landscape .gps-mobile,
html.gps-real-landscape .app-shell{display:none!important}
html.gps-real-landscape .gps-portrait-lock{
  position:fixed;inset:0;z-index:99999;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;padding:24px;text-align:center;background:#f7f8fb;color:#171c25
}
html.gps-real-landscape .gps-portrait-lock__phone{
  width:46px;height:72px;border:3px solid #2c3440;border-radius:12px;
  position:relative;display:block;margin-bottom:4px
}
html.gps-real-landscape .gps-portrait-lock__phone::after{
  content:"";position:absolute;left:50%;bottom:5px;width:5px;height:5px;
  transform:translateX(-50%);border-radius:50%;background:#2c3440
}
html.gps-real-landscape .gps-portrait-lock strong{
  font-size:20px;line-height:1.15;font-weight:850;letter-spacing:-.025em
}
html.gps-real-landscape .gps-portrait-lock p{
  max-width:320px;margin:0;color:#8d95a1;font-size:13px;line-height:1.4;font-weight:600
}



/* ALL DEVICES — standardize editable form text to 16px, including future
   dynamically inserted fields. Prevents Safari focus magnification without
   restricting pinch-zoom, resizing the surrounding UI or affecting sliders.
   OTP digits already use a larger text size and are intentionally excluded. */
input[type="text"]:not([data-auth-digit]),
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input:not([type]):not([data-auth-digit]),
textarea,
select,
[contenteditable="true"],
[contenteditable=""],
[role="textbox"]:not(input):not(textarea) {
  font-size:16px!important;
}


/* NAV LABEL FONT 168 — compact shortcuts; all editable fields remain 16px. */
.gps-mobile-tools button[data-mobile-route="examples"] b,
.gps-mobile-tools button[data-mobile-route="how"] b,
.gps-mobile-shortcuts button[data-main-nav="balance"],
.gps-mobile-shortcuts button[data-main-nav="profile"] {
  font-size: 13px !important;
  line-height: 1.2;
}


/* GPS PDF single-document mode: photo before/after stays untouched. */
.gps-document-card[hidden]{display:none!important}
.gps-document-card{
  position:absolute;inset:14px;z-index:7;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:10px;text-align:center;padding:24px 18px;
  border:1px solid #d9e1ed;border-radius:18px;
  background:linear-gradient(145deg,#f4f7fc,#e6edf8);color:#182c4b;
}
.gps-document-card__icon{
  display:grid;place-items:center;width:65px;height:80px;border:2px solid #697fae;
  border-radius:8px;background:#fff;box-shadow:0 5px 18px #122e5922;
  color:#2a4d90;font-size:21px;font-weight:900;letter-spacing:.025em;
}
.gps-document-card__name{max-width:100%;font-size:16px;overflow-wrap:anywhere;line-height:1.3}
.gps-document-card__status{margin:0;max-width:380px;font-size:13px;line-height:1.4;color:#435675}
.gps-document-card__limit{max-width:380px;font-size:11px;line-height:1.45;color:#748198}
.gps-document-card__download{
  border:0;border-radius:12px;background:#344dc6;color:#fff;padding:12px 20px;
  font-weight:750;font-size:13px;cursor:pointer;max-width:100%;
}
.gps-document-card__download:disabled{opacity:.6}
.gps-document-card__remove{
  position:absolute;top:10px;right:10px;border:0;background:#fff;border-radius:50%;
  width:31px;height:31px;color:#46536c;font-size:22px;cursor:pointer;
}
.gps-pdf-preview-tag{display:grid;place-items:center;min-width:48px;min-height:48px;border-radius:9px;background:#f2f5ff;color:#3753af;font-weight:850;font-size:12px}
.gps-mobile-upload.is-document .gps-mobile-upload__single,
.gps-mobile-upload.is-document .gps-mobile-compare,
.gps-mobile-upload.is-document .gps-mobile-upload__empty,
.gps-mobile-upload.is-document .gps-mobile-upload__count{display:none!important}
.gps-desktop-editor .desktop-focus.is-document .desktop-focus__half,
.gps-desktop-editor .desktop-focus.is-document .desktop-focus__label,
.gps-desktop-editor .desktop-focus.is-document .desktop-focus__divider,
.gps-desktop-editor .desktop-focus.is-document .desktop-focus__compare-range,
.gps-desktop-editor .desktop-focus.is-document .desktop-focus__upload{display:none!important}
@media(max-width:480px){
  .gps-document-card{inset:9px;padding:16px 10px;gap:7px;border-radius:14px}
  .gps-document-card__icon{width:48px;height:60px;font-size:16px}
  .gps-document-card__name{font-size:13px}
  .gps-document-card__status{font-size:11px}
  .gps-document-card__limit{font-size:10px}
  .gps-document-card__download{padding:10px 12px;font-size:12px}
}


@media(max-height:760px){
  .gps-mobile-intro-logo{width:34px;height:34px;margin-bottom:4px}
}


/* PROFILE ACTIONS — feedback, sign out, account deletion. */
.gps-auth-profile-actions{width:100%;display:grid;gap:9px}
.gps-auth-feedback-toggle,
.gps-auth-delete{
  width:100%;height:48px;border-radius:14px;font-size:14px;font-weight:820;cursor:pointer;box-shadow:none
}
.gps-auth-feedback-toggle{border:1px solid #dfe3e9;background:#f7f8fa;color:#2d3542}
.gps-auth-delete{border:1px solid rgba(233,84,78,.20);background:#fff;color:#d94943}
.gps-auth-feedback-form{
  width:100%;padding:11px;border:1px solid #e3e6eb;border-radius:14px;background:#fafbfc;box-sizing:border-box
}
.gps-auth-feedback-form[hidden]{display:none!important}
.gps-auth-feedback-form textarea{
  display:block;width:100%;min-height:96px;resize:vertical;box-sizing:border-box;
  border:1px solid #dfe3e9;border-radius:11px;background:#fff;color:#1d2430;
  padding:11px 12px;outline:none;font:500 14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.gps-auth-feedback-form textarea:focus{border-color:#5865F2;box-shadow:0 0 0 3px rgba(88,101,242,.08)}
.gps-auth-feedback-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.gps-auth-feedback-buttons button{
  height:40px;border:0;border-radius:10px;font-size:13px;font-weight:800;cursor:pointer
}
.gps-auth-feedback-buttons [data-auth-feedback-send]{background:#5865F2;color:#fff}
.gps-auth-feedback-buttons [data-auth-feedback-cancel]{background:#eceff3;color:#505866}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-profile-actions{display:none!important}

/* MOBILE TOOLS SINGLE 178 — only Examples remains after removing How it works. */
.gps-mobile-tools{grid-template-columns:1fr!important}

/* Insufficient balance: payment CTA and independent close control. */
.gps-notice-dialog{position:relative;box-sizing:border-box;width:min(390px,calc(100vw - 32px));}
.gps-notice-dialog .gps-notice-dismiss{
  position:absolute;top:10px;right:10px;display:grid;place-items:center;
  width:36px;height:36px;padding:0;border:0;border-radius:50%;
  background:transparent;color:#58616f;font-size:26px;font-weight:400;line-height:1;
}
.gps-notice-dialog .gps-notice-pay{
  width:100%;height:46px;margin:14px 0 0;padding:0 18px;border-radius:12px;
  background:#273247;color:#fff;font-weight:800;
}
.gps-notice-dialog .gps-notice-dismiss[hidden],
.gps-notice-dialog .gps-notice-pay[hidden]{display:none}
.gps-notice-dialog.gps-notice-payment #gpsNoticeClose{display:none}
.gps-notice-dialog.gps-notice-payment #gpsNoticeText{padding:12px 4px 0;color:#293346}

.gps-credit-modal{position:relative}
.gps-credit-modal #gpsCreditClose{
  position:absolute;top:10px;right:10px;display:grid;place-items:center;
  width:36px;height:36px;padding:0;border-radius:50%;
  background:transparent;color:#58616f;font-size:26px;font-weight:400;line-height:1;
}


/* Visible acceptance text below package list; no checkbox. */
.gps-mobile-offer-note{
  margin:12px 3px 8px;font-size:12px;line-height:1.48;color:#697589;
}
.gps-mobile-offer-note a,.gps-mobile-legal-footer a{
  color:#4d5cce;text-underline-offset:3px;
}
.gps-mobile-legal-footer{
  margin:12px 0 22px;text-align:center;font-size:12px;
}


/* MOBILE 189: photo save buttons, isolated from generation/payment layouts. */
@media(max-width:780px){
  .gps-mobile-result-actions[hidden],.gps-mobile-result-actions small[hidden]{display:none!important}
  .gps-mobile-result-actions{flex:0 0 auto;display:flex;flex-direction:column;gap:5px}
  .gps-mobile-save-photo{
    width:100%;min-height:50px;padding:0 16px;display:flex;align-items:center;
    justify-content:center;gap:10px;border:0;border-radius:16px;
    background:#5865f2;color:#fff;box-shadow:0 5px 16px rgba(88,101,242,.20);
    font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  .gps-mobile-save-photo svg{width:22px;height:22px;fill:none;stroke:currentColor;
    stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .gps-mobile-save-photo b{font-size:15px;font-weight:800}
  .gps-mobile-save-photo:active:not(:disabled){background:#4653d9}
  .gps-mobile-save-photo:disabled{opacity:.58}
  .gps-mobile-result-actions small{color:#838b96;text-align:center;font-size:11px;line-height:1.3;font-weight:600}
  .gps-mobile-save-photo:focus-visible,.gps-photo-viewer__actions button:focus-visible{
    outline:3px solid #a5adff;outline-offset:2px}
}
.gps-photo-viewer__actions{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.gps-photo-viewer__actions button{min-width:0;padding:0 8px;gap:7px}
.gps-photo-viewer__actions button svg{flex:0 0 21px;width:21px;height:21px}
.gps-photo-viewer__actions button b{font-size:14px;white-space:nowrap}
.gps-photo-viewer__actions .gps-photo-viewer__save{background:#5865f2}
.gps-photo-viewer__actions .gps-photo-viewer__save:active{background:#4653d9}
@media(max-width:350px){
  .gps-photo-viewer__actions{gap:8px;padding-left:10px;padding-right:10px}
  .gps-photo-viewer__actions button{gap:5px;padding:0 5px}
  .gps-photo-viewer__actions button b{font-size:12px}
}

/* GPS ABOUT MOBILE NAV 2026-10-28 — same 2-column tool-card styling. */
@media(max-width:780px){
  .gps-mobile-tools > a.gps-mobile-tool-about{
    min-width:0;min-height:58px;border:1px solid rgba(31,38,50,.08);
    border-radius:17px;padding:6px 5px;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:4px;text-align:center;
    background:#fff;color:#252c38;text-decoration:none;
    font:700 13px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    box-shadow:0 5px 16px rgba(31,38,50,.04);
    touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  }
  .gps-mobile-tools > a.gps-mobile-tool-about .gps-mobile-about-icon{
    width:26px;height:26px;display:grid;place-items:center;
    border-radius:9px;background:#f1f3f6;color:#344054;
    font-size:19px;font-weight:850;line-height:1;
  }
  .gps-mobile-tools > a.gps-mobile-tool-about b{font:inherit;font-weight:750}
  .gps-mobile-tools > a.gps-mobile-tool-about:active{transform:scale(.98)}
  html[data-gps-theme="dark"] .gps-mobile-tools > a.gps-mobile-tool-about{
    color:#f1edfa!important;background:#1d2333!important;
    border-color:#42465e!important;
  }
  html[data-gps-theme="dark"] .gps-mobile-tools > a.gps-mobile-tool-about .gps-mobile-about-icon{
    color:#f1edfa;background:#2d344a;
  }
}

/* GPS SEO MOBILE HEADINGS 2026-10-29: preserve visual design after H1 > H2 fix. */
.gps-mobile-page-head h2{margin:0;color:#151a22;font-size:21px;line-height:1.15;font-weight:850;letter-spacing:-.035em}
html[data-gps-theme="dark"] .gps-mobile-page-head h2{color:#fff7ff!important}
@media(max-width:390px){.gps-mobile-page-head h2{font-size:19px}}

/* Checkout v195: resumable mobile purchase intent. */
.gps-mobile-purchase-intent[hidden]{display:none!important}
.gps-mobile-purchase-intent{margin:4px 0 12px;padding:16px 18px;border:1px solid #8874c9;border-radius:17px;background:linear-gradient(130deg,rgba(111,85,191,.18),rgba(82,91,160,.09));color:inherit;line-height:1.45}
.gps-mobile-purchase-intent strong{font-size:15px}
.gps-mobile-purchase-intent p{font-size:13px;margin:7px 0;color:inherit}
.gps-mobile-purchase-intent button{background:transparent;border:0;padding:5px 0;color:#bca8ff;font-size:13px;font-weight:750;text-decoration:underline;cursor:pointer}
.gps-mobile-balance-package.gps-package-selected{border-color:#ac93ed}
.gps-mobile-pricing-retry{min-height:48px;border:1px solid #9580d0;border-radius:12px;background:#312a4b;color:#fff;font-weight:750}
.gps-mobile-balance-package button:disabled{opacity:.7;cursor:wait}

/* Checkout touch accessibility: 46px minimum tap area for every package. */
.gps-mobile-balance-package button{height:46px;min-height:46px;font-size:14px}
