: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}
}

@media(max-width:780px) and (orientation:landscape){
  :root{--gps-composer-max:84px;--gps-mobile-edge:10px;--gps-mobile-gap:6px}
  .gps-mobile__workspace{padding-top:4px;padding-bottom:4px}
  .gps-mobile-intro{display:none}
  .gps-mobile-upload{min-height:180px;aspect-ratio:16/8;border-radius:18px}
  .gps-mobile-upload__empty strong{font-size:16px}
  .gps-mobile-upload__plus{width:52px;height:52px;--gps-plus-size:24px}
  .gps-mobile-ideas,.gps-mobile-example{margin-top:10px}
  .gps-mobile-example__card figure{aspect-ratio:16/8}
  .gps-mobile-shortcuts button{height:40px;font-size:12px}
  .gps-mobile-composer__bubble{min-height:50px;padding:4px 5px 4px 12px;border-radius:17px}
  .gps-mobile-composer__row textarea{min-height:40px;height:40px;padding-top:8px;padding-bottom:5px}
  .gps-mobile-send{width:40px;height:40px;flex-basis:40px;border-radius:12px}
}


/* 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.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}
}

@media (orientation:landscape) and (max-height:600px) and (pointer:coarse){
  html,body{width:100%;height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:auto;background:linear-gradient(180deg,#fff 0,#f8fafc 62%,#f3f6f9 100%)}
  body{min-height:100dvh}
  .gps-mobile{display:none!important}
  .app-shell{display:block!important;min-height:100dvh}
  .hero-copy.desktop-only{display:block!important}
  .trust-row.desktop-only{display:grid!important}
  .hero-gallery.desktop-only{display:flex!important}
  .signin-btn.desktop-only{display:block!important}
  .package-note.desktop-only{display:grid!important}
  .faq.desktop-only{display:block!important}

  .topbar{
    height:58px;gap:12px;
    padding-left:max(14px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right))
  }
  .brand{gap:8px}.brand-mark{width:34px;height:34px}.brand>strong{font-size:14px}
  .desktop-nav{display:none}
  .top-actions{margin-left:auto;gap:7px}
  .language-switch{padding:2px}.language-switch button{font-size:11px;padding:5px 8px}
  .signin-btn{height:32px;padding:0 13px;border-radius:9px;font-size:12px}

  .section-wrap{
    padding-left:max(14px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right))
  }
  .hero{
    grid-template-columns:minmax(285px,.88fr) minmax(0,1.12fr);
    grid-template-rows:auto auto auto;
    gap:10px 12px;padding-top:12px;padding-bottom:12px
  }
  .hero-copy h1{font-size:clamp(30px,4.8vw,38px);margin:0 0 8px;line-height:.96}
  .hero-copy p{font-size:12px;line-height:1.35}
  .creator-card{padding:11px;border-radius:14px}
  .creator-head h2{font-size:17px}.creator-head p{font-size:11px;margin-bottom:8px}
  .upload-zone{min-height:60px;padding:8px 10px;border-radius:11px}
  .upload-icon{width:34px;height:34px;font-size:20px}
  .upload-copy{gap:8px}.upload-copy strong{font-size:12px}.upload-copy small{font-size:9px}
  .preview-item{width:44px;height:44px;border-radius:8px}
  .prompt-box{margin-top:7px;padding:8px 10px 17px;border-radius:11px}
  .prompt-box>span{font-size:10px}.prompt-box textarea{min-height:36px;font-size:11px}
  .create-btn{height:38px;margin-top:7px;font-size:13px;border-radius:9px}
  .trust-row{gap:7px;padding-top:0}.trust-row>div{grid-template-columns:19px 1fr}.trust-row>div>span{font-size:17px}.trust-row b{font-size:9px}.trust-row small{font-size:8px}

  .hero-gallery{gap:7px}
  .desktop-focus{aspect-ratio:1.55/1;border-radius:13px}
  .desktop-focus__label{top:9px;min-width:45px;padding:5px 9px;font-size:10px}
  .desktop-focus__label--before{left:9px}.desktop-focus__label--after{right:9px}
  .desktop-focus__divider{width:2px}
  .desktop-focus__divider span{width:30px;height:30px;font-size:15px}
  .desktop-photo-strip{gap:6px}
  .desktop-photo-thumb{border-radius:9px}

  .scenarios,.examples,.packages{padding-top:6px;padding-bottom:8px}
  .section-heading{margin-bottom:7px}.section-heading h2{font-size:20px}
  .scenario-card{height:120px}
  .compare-card{height:105px}
  .package-card,.package-note{min-height:105px}
  .faq{padding-top:6px}
}

/* DESKTOP 80 — editor-first workspace. Portrait mobile remains on the existing mobile UI. */
@media all{
  :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}
}

@media (orientation:landscape) and (min-width:500px) and (max-height:600px){
  html,body{height:100%;min-height:0;overflow:hidden}
  .gps-desktop-topbar{
    height:48px;padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))
  }
  .gps-desktop-topbar .brand-mark{width:30px;height:30px}.gps-desktop-topbar .brand>strong{font-size:13px}
  .gps-desktop-topbar .language-switch{padding:2px}.gps-desktop-topbar .language-switch button{padding:5px 7px;font-size:10px}
  .gps-desktop-topbar .signin-btn{height:32px;padding:0 11px;border-radius:10px;font-size:11px}
  .gps-desktop-page{height:calc(100dvh - 48px);padding:0;overflow:hidden}
  .gps-desktop-workspace{
    width:100%;height:100%;max-width:none;margin:0;padding-top:8px;padding-bottom:8px;
    padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))
  }
  .gps-desktop-editor{height:100%;grid-template-columns:minmax(0,3fr) minmax(270px,2fr);gap:10px}
  .gps-desktop-stage-column{height:100%;min-height:0;gap:5px}
  .gps-desktop-editor .desktop-focus{flex:1 1 auto;min-height:0;max-height:none;aspect-ratio:auto;border-radius:17px}
  .desktop-focus__upload>span{width:50px;height:50px;font-size:30px}.desktop-focus__upload>b{font-size:14px}.desktop-focus__upload>small{font-size:9px}
  .desktop-focus__label{top:8px!important;min-width:44px;padding:5px 8px!important;font-size:9px!important}
  .desktop-focus__label--before{left:8px!important}.desktop-focus__label--after{right:8px!important}
  .gps-desktop-editor .desktop-focus__divider span{width:32px;height:32px;font-size:14px}
  .gps-desktop-result-actions{min-height:30px}
  .gps-desktop-secondary{height:30px;border-radius:9px;padding:0 9px}.gps-desktop-secondary b{font-size:9px}.gps-desktop-fullscreen{width:32px}
  .gps-desktop-control-panel{height:100%;min-height:0;padding:10px;border-radius:16px;overflow-y:auto;overscroll-behavior:contain}
  .gps-desktop-control-head{margin-bottom:7px}.gps-desktop-control-head>strong{font-size:11px}.desktop-editor-meta .photo-count{font-size:9px}
  .gps-desktop-editor .desktop-photo-strip{gap:5px}.gps-desktop-editor .desktop-photo-thumb{border-radius:8px}
  .desktop-photo-thumb.is-placeholder.is-add-slot>span{width:25px;height:25px;font-size:17px}
  .gps-desktop-prompt{margin:auto 0 6px;padding:9px 10px 8px;border-radius:13px}
  .gps-desktop-prompt>span{margin-bottom:4px;font-size:10px}
  .gps-desktop-prompt textarea{min-height:38px;height:38px;max-height:88px;font-size:12px;line-height:1.35}
  .gps-desktop-control-panel .desktop-credit-info{min-height:12px;margin-bottom:4px;font-size:8px}
  .gps-desktop-create{height:42px;border-radius:12px;font-size:12px}
  .gps-desktop-examples,.gps-desktop-footer{display:none!important}
}


/* DESKTOP 80 LANDSCAPE PHONE OVERRIDES — portrait Mobile 79 stays untouched. */
@media (orientation:landscape) and (min-width:500px) and (max-width:780px){
  .gps-mobile{display:none!important}
  .app-shell{display:block!important}
  .desktop-only{display:block!important}
  html,body{width:100%;height:100%;min-height:0;overflow:hidden}
  .gps-auth-modal[open]{display:block}
}

/* 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 89 — final full-screen home layout. */
@media(max-width:780px) and (orientation:portrait){
  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}
@media (orientation:landscape) and (pointer:coarse) and (max-height:600px){
  html,body{width:100%;height:100%;min-height:0;overflow:hidden;background:#f7f8fb}
  .gps-mobile,.app-shell{display:none!important}
  .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
  }
  .gps-portrait-lock__phone{
    width:46px;height:72px;border:3px solid #2c3440;border-radius:12px;
    position:relative;display:block;margin-bottom:4px
  }
  .gps-portrait-lock__phone::after{
    content:"";position:absolute;left:50%;bottom:5px;width:5px;height:5px;
    transform:translateX(-50%);border-radius:50%;background:#2c3440
  }
  .gps-portrait-lock strong{font-size:20px;line-height:1.15;font-weight:850;letter-spacing:-.025em}
  .gps-portrait-lock p{max-width:320px;margin:0;color:#8d95a1;font-size:13px;line-height:1.4;font-weight:600}
}

/* DESKTOP 95 — desktop branch must stay visible on every device used to preview it. */
.app-shell{display:block!important;min-height:100vh;min-height:100dvh}
.gps-mobile,.gps-portrait-lock{display:none!important}
@media(max-width:780px){
  html,body{min-width:980px;overflow-x:auto;overflow-y:auto}
  .app-shell{display:block!important;min-width:980px}
}

/* DESKTOP 108 — restore normal page scrolling on mouse and touch. */
@media (min-width:781px){
  html,body{
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
  }
  .gps-desktop-page{overflow:visible!important}
  .desktop-focus__compare-range,.gps-example-slider input{touch-action:pan-y}
}
@media (orientation:landscape) and (min-width:781px) and (max-height:600px){
  html,body{
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .gps-desktop-page{
    height:auto!important;
    min-height:calc(100dvh - 48px);
    overflow:visible!important;
  }
  .gps-desktop-workspace{
    height:auto!important;
    min-height:calc(100dvh - 48px);
  }
  .gps-desktop-editor{height:auto!important;min-height:calc(100dvh - 64px)}
  .gps-desktop-stage-column{height:auto!important}
  .gps-desktop-control-panel{height:auto!important;overflow:visible!important}
  .gps-desktop-editor .desktop-focus{min-height:420px!important;aspect-ratio:16/10!important}
}

/* DESKTOP 109 — examples stay visible in requested desktop mode on phones/tablets. */
@media (orientation:landscape) and (min-width:781px) and (max-height:600px){
  .gps-desktop-examples{display:block!important}
}


/* DESKTOP 110 — unified fluid responsive layout for every viewport/orientation. */
html,body{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
}
body{min-height:100dvh!important}
.app-shell{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:100dvh!important;
}
.gps-mobile,.gps-portrait-lock{display:none!important}
.gps-desktop-page{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  padding-bottom:clamp(20px,4vw,40px)!important;
}
.section-wrap{
  width:100%!important;
  max-width:1600px!important;
  margin-inline:auto!important;
  padding-left:clamp(12px,2vw,26px)!important;
  padding-right:clamp(12px,2vw,26px)!important;
}
.gps-desktop-topbar{
  min-height:52px;
  height:clamp(52px,7vh,64px)!important;
  padding-left:max(clamp(12px,2vw,26px),env(safe-area-inset-left))!important;
  padding-right:max(clamp(12px,2vw,26px),env(safe-area-inset-right))!important;
}
.gps-desktop-workspace{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding-top:clamp(10px,2vw,22px)!important;
  padding-bottom:clamp(12px,2vw,20px)!important;
}
.gps-desktop-editor{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  grid-template-columns:minmax(0,2fr) minmax(280px,1fr)!important;
  gap:clamp(12px,1.5vw,20px)!important;
  align-items:start!important;
}
.gps-desktop-stage-column{
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
}
.gps-desktop-editor .desktop-focus{
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16/10!important;
}
.gps-desktop-control-panel{
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  overflow:visible!important;
  align-self:stretch!important;
}
.gps-desktop-prompt{margin-top:clamp(14px,2vw,28px)!important}
.gps-desktop-examples{
  display:block!important;
  width:100%!important;
  padding-top:clamp(12px,2vw,24px)!important;
  padding-bottom:clamp(16px,2.5vw,28px)!important;
}
.gps-example-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))!important;
  gap:clamp(8px,1vw,12px)!important;
}
.gps-example-slider{
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/3!important;
}
.gps-desktop-footer{display:block!important}
.desktop-focus__compare-range,.gps-example-slider input{touch-action:pan-y!important}

@media (max-width:1100px){
  .gps-desktop-editor{
    grid-template-columns:minmax(0,1.55fr) minmax(260px,.9fr)!important;
  }
  .gps-desktop-control-panel{padding:14px!important}
  .gps-desktop-editor .desktop-photo-strip{gap:6px!important}
}

@media (max-width:860px){
  .gps-desktop-editor{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  .gps-desktop-stage-column,.gps-desktop-control-panel{width:100%!important}
  .gps-desktop-control-panel{
    padding:clamp(12px,2vw,18px)!important;
    border-radius:18px!important;
  }
  .gps-desktop-prompt{margin-top:14px!important}
  .gps-example-grid{
    grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))!important;
  }
}

@media (max-width:560px){
  .gps-desktop-topbar .brand>strong{font-size:14px!important}
  .gps-desktop-topbar .brand-mark{width:32px!important;height:32px!important}
  .gps-desktop-topbar .signin-btn{height:34px!important;padding:0 10px!important;font-size:11px!important}
  .gps-desktop-topbar .language-switch button{padding:5px 7px!important;font-size:10px!important}
  .gps-desktop-editor .desktop-focus{border-radius:16px!important}
  .desktop-focus__upload>span{width:56px!important;height:56px!important;font-size:34px!important}
  .desktop-focus__upload>b{font-size:15px!important}
  .gps-desktop-editor .desktop-photo-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .gps-desktop-create{height:48px!important}
  .gps-example-grid{grid-template-columns:1fr 1fr!important}
  .gps-desktop-footer .section-wrap{min-height:58px!important}
}

@media (max-width:390px){
  .section-wrap{
    padding-left:max(8px,env(safe-area-inset-left))!important;
    padding-right:max(8px,env(safe-area-inset-right))!important;
  }
  .gps-desktop-topbar .brand>strong{display:none!important}
  .gps-example-grid{grid-template-columns:1fr!important}
}

@media (max-height:520px){
  .gps-desktop-topbar{height:48px!important;min-height:48px!important}
  .gps-desktop-workspace{padding-top:8px!important}
  .gps-desktop-editor .desktop-focus{aspect-ratio:16/9!important}
  .gps-desktop-control-panel{padding:10px!important}
  .gps-desktop-prompt textarea{max-height:88px!important}
}


/* DESKTOP 111 — responsive top navigation placeholders. */
.gps-desktop-topbar{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:clamp(10px,1.6vw,24px)!important;
}
.gps-desktop-quicknav{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(6px,.8vw,10px);
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.gps-desktop-quicknav::-webkit-scrollbar{display:none}
.gps-desktop-quicknav button{
  flex:0 0 auto;
  height:38px;
  padding:0 clamp(11px,1.1vw,16px);
  border:1px solid rgba(31,41,55,.08);
  border-radius:12px;
  background:#fff;
  color:#303846;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(31,38,50,.035);
  transition:background .15s ease,transform .15s ease,border-color .15s ease;
}
.gps-desktop-quicknav button:hover{
  background:#f7f8fb;
  border-color:#d8dde5;
  transform:translateY(-1px);
}
.gps-desktop-topbar .top-actions{margin-left:0!important}
@media(max-width:1050px){
  .gps-desktop-topbar{gap:10px!important}
  .gps-desktop-topbar .brand>strong{font-size:14px!important}
  .gps-desktop-quicknav{justify-content:flex-start}
  .gps-desktop-quicknav button{height:34px;padding:0 10px;font-size:11px}
}
@media(max-width:760px){
  .gps-desktop-topbar{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  .gps-desktop-topbar .brand{grid-column:1;grid-row:1}
  .gps-desktop-topbar .top-actions{grid-column:2;grid-row:1}
  .gps-desktop-quicknav{
    grid-column:1/-1;
    grid-row:2;
    justify-content:flex-start;
    width:100%;
    padding-top:2px;
  }
}


/* DESKTOP 112 — photo slots inside the main upload stage. */
.gps-desktop-strip-row--focus{
  position:absolute;
  z-index:11;
  left:50%;
  bottom:clamp(12px,2vw,20px);
  width:min(82%,560px);
  transform:translateX(-50%);
  margin:0!important;
  pointer-events:auto;
}
.gps-desktop-strip-row--focus .desktop-photo-strip{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:clamp(6px,1vw,10px)!important;
}
.gps-desktop-strip-row--focus .desktop-photo-thumb{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1!important;
  border-radius:12px!important;
  background:rgba(250,251,252,.94)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
@media(max-width:560px){
  .gps-desktop-strip-row--focus{
    width:92%;
    bottom:10px;
  }
  .gps-desktop-strip-row--focus .desktop-photo-strip{
    gap:6px!important;
  }
  .gps-desktop-strip-row--focus .desktop-photo-thumb{
    border-radius:10px!important;
  }
}


/* DESKTOP 114 — clear left/right arrows inside compare handles. */
.desktop-focus__divider span,.gps-example-divider span{
  padding:0!important;
  letter-spacing:0!important;
}
.desktop-focus__divider span svg,.gps-example-divider span svg{
  display:block;
  width:58%;
  height:auto;
  overflow:visible;
}


/* DESKTOP 115 — smooth compare drag + Android keyboard-safe gesture. */
.desktop-focus__compare-range,.gps-example-slider input[type="range"]{
  touch-action:none!important;
  user-select:none;
  -webkit-user-select:none;
}
.gps-desktop-editor .desktop-focus__half--after,.gps-example-after{
  will-change:clip-path;
}
.desktop-focus__divider,.gps-example-divider{
  will-change:left;
}


/* DESKTOP 116 — vertical page scroll through example compare cards. */
.gps-example-slider{
  touch-action:pan-y!important;
}
.gps-example-slider input[type="range"]{
  pointer-events:none;
  touch-action:pan-y!important;
}


/* DESKTOP 117 — reliable draggable compare handle while page remains scrollable. */
.gps-example-divider{
  width:40px!important;
  transform:translateX(-20px)!important;
  background:transparent!important;
  pointer-events:auto!important;
  touch-action:none!important;
}
.gps-example-divider::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:2px;
  transform:translateX(-1px);
  background:rgba(255,255,255,.95);
}
.gps-example-divider span{
  pointer-events:auto!important;
  touch-action:none!important;
}

/* DESKTOP 119 — allow native pinch zoom without breaking compare drag. */
.gps-desktop-editor .desktop-focus{touch-action:pinch-zoom!important}
.desktop-focus__compare-range{touch-action:pinch-zoom!important}
.gps-example-slider{touch-action:pan-y pinch-zoom!important}
.gps-example-slider input[type="range"]{touch-action:pan-y pinch-zoom!important}

/* DESKTOP 128 — only the white + circle opens photo picker. */
.desktop-focus__upload{
  pointer-events:none!important;
  cursor:default!important;
}
.desktop-focus__upload>span{
  pointer-events:auto!important;
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent;
}
.desktop-focus__upload>b,
.desktop-focus__upload>small{
  pointer-events:none!important;
}


/* DESKTOP 129 — iOS single-tap upload circle; disable sticky hover on touch. */
@media (hover:none), (pointer:coarse){
  .desktop-focus__upload:hover>span{
    transform:none!important;
    background:rgba(255,255,255,.78)!important;
  }
}


/* DESKTOP 130 — native file label for reliable first-tap picker on iOS. */
.desktop-focus__upload>span{display:none!important}
.desktop-focus__upload-circle{
  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;color:#273d57;
  pointer-events:auto!important;cursor:pointer!important;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  transition:transform .16s ease,background .16s ease;
}
@media (max-width:560px){
  .desktop-focus__upload-circle{width:56px!important;height:56px!important;font-size:34px!important}
}
@media (hover:hover) and (pointer:fine){
  .desktop-focus__upload-circle:hover{transform:scale(1.04);background:#fff}
}


/* DESKTOP 131 — real file input sits directly over the white + circle. */
.desktop-focus__upload-circle{
  position:relative!important;
  overflow:hidden;
}
.desktop-focus__upload-circle>span{
  position:relative;
  z-index:1;
  pointer-events:none;
}
.desktop-focus__native-file{
  position:absolute!important;
  z-index:2!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  display:block!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}


/* DESKTOP 132 — fresh native picker per tap, matching proven Mobile 107 iOS behavior. */
.desktop-focus__upload-circle{
  position:relative!important;
  overflow:visible!important;
  border:0!important;
  padding:0!important;
  font-family:inherit;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
.desktop-focus__upload-circle:active{transform:scale(.94)}
.desktop-focus__native-file{display:none!important}

/* DESKTOP 133 — keep prompt bubble visually stable on iOS focus changes. */
html.gps-platform-ios .gps-desktop-prompt:focus-within{
  border-color:#dfe4ea!important;
  box-shadow:0 7px 22px rgba(31,38,50,.04)!important;
}


/* DESKTOP 134 — iOS direct touchstart picker + stable prompt touch visuals. */
html.gps-platform-ios .gps-desktop-prompt,
html.gps-platform-ios .gps-desktop-prompt textarea{
  -webkit-tap-highlight-color:transparent!important;
}
html.gps-platform-ios .gps-desktop-prompt textarea{
  background:transparent!important;
}


/* DESKTOP 137 — unified multi-photo picker and add-more control. */
.gps-desktop-editor .desktop-photo-thumb.is-placeholder.is-add-slot{
  pointer-events:none!important;
  cursor:default!important;
  display:grid!important;
  place-items:center!important;
}
.desktop-photo-add-circle{
  width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;
  display:grid;place-items:center;background:#fff;color:#394b61;
  box-shadow:0 3px 10px rgba(31,38,50,.10);font:500 22px/1 Arial,sans-serif;
  pointer-events:auto!important;cursor:pointer!important;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
.desktop-photo-add-circle:active{transform:scale(.94)}
@media (hover:hover) and (pointer:fine){
  .desktop-photo-add-circle:hover{background:#f5f7fa}
}

/* DESKTOP 145: real profile and balance navigation with mobile auth dialog. */
.gps-auth-modal[open]{display:block!important}
.gps-auth-account-view-title{margin:4px 38px 10px;color:#1b2029;font-size:23px;line-height:1.2;font-weight:850;text-align:center}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-avatar,
.gps-auth-modal[data-auth-view="balance"] .gps-auth-account__eyebrow,
.gps-auth-modal[data-auth-view="balance"] .gps-auth-secure,
.gps-auth-modal[data-auth-view="balance"] .gps-auth-logout{display:none!important}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card{margin-top:14px}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card>strong{font-size:23px}

/* DESKTOP 146 — square before-after viewer on portrait phones. */
@media (max-width:600px) and (orientation:portrait){
  .gps-desktop-editor .desktop-focus{aspect-ratio:1/1!important}
}


/* DESKTOP 147 — pricing catalog in the existing account balance view. */
.gps-auth-modal[open]{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.gps-auth-modal:not([data-auth-view="balance"]) .gps-auth-pricing{display:none!important}
.gps-auth-pricing{width:100%;text-align:left}
.gps-auth-pricing h3{margin:8px 0 12px;font-size:17px;color:#202838}
.gps-auth-pricing-list{display:grid;gap:8px}
.gps-auth-pricing-row{padding:12px;border:1px solid #e4e8ef;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff}
.gps-auth-pricing-row>div{display:grid;gap:5px}
.gps-auth-pricing-row strong{font-size:13px;color:#242b3a}
.gps-auth-pricing-row b{font-size:16px;color:#5865f2}
.gps-auth-pricing-row button{border:0;border-radius:11px;background:#eceef3;color:#878f9c;padding:9px 11px;font-weight:800;font-size:11px;white-space:nowrap}
.gps-auth-pricing-empty{margin:0;padding:14px;background:#f6f7fa;border-radius:12px;color:#89919e;font-size:12px;text-align:center}
.gps-auth-pricing-note{margin:10px 2px 0!important;font-size:11px!important;color:#8e96a3!important;line-height:1.4!important;text-align:left}


/* DESKTOP 161: active Examples link, identical appearance to quicknav buttons. */
.gps-desktop-quicknav .gps-examples-nav{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;height:38px;padding:0 clamp(11px,1.1vw,16px);
  border:1px solid rgba(31,41,55,.08);border-radius:12px;
  background:#fff;color:#303846;font-size:12px;font-weight:800;
  text-decoration:none;cursor:pointer;box-shadow:0 4px 12px rgba(31,38,50,.035);
  transition:background .15s ease,transform .15s ease,border-color .15s ease;
}
.gps-desktop-quicknav .gps-examples-nav:hover{background:#f7f8fb;border-color:#d8dde5;transform:translateY(-1px)}
@media(max-width:1050px){.gps-desktop-quicknav .gps-examples-nav{height:34px;padding:0 10px;font-size:11px}}

/* DESKTOP 165 — custom pricing package titles and quantities. */
.gps-auth-pricing-row>div .gps-auth-pricing-quantity{font-size:11px;font-weight:650;color:#7c8798}


/* DESKTOP 166 — prevent Safari auto-zoom when the user focuses the prompt.
   iOS automatically magnifies editable text smaller than 16 CSS px.
   Keep pinch zoom, focus behavior, and layout dimensions unchanged. */
html.gps-platform-ios #promptInput,
html.gps-platform-ios #promptInput:focus {
  font-size:16px!important;
}


/* 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 170 — readable labels without cutting off Profile on phones.
   Editable text fields remain at 16px to prevent Safari focus zoom. */
.gps-desktop-quicknav > button,
.gps-desktop-quicknav > a.gps-examples-nav {
  font-size: 14px !important;
  white-space: nowrap;
}
@media (max-width:760px) {
  .gps-desktop-quicknav { gap:5px; }
  .gps-desktop-quicknav > button,
  .gps-desktop-quicknav > a.gps-examples-nav {
    font-size:13px !important;
    padding-left:8px;
    padding-right:8px;
  }
}


/* RESPONSIVE HEADER 171
   Fluid layout depends on available CSS-pixel width rather than device/OS.
   On narrower Android viewports restore the brand hidden by an old breakpoint.
   Leave 16px editable inputs untouched to prevent focus-induced Safari zoom.
*/
.brand-mark{
  position:relative;
  flex:0 0 auto;
}
.gps-brand-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#314e78;
  font:900 clamp(8px,2.4vw,11px)/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:-.07em;
  pointer-events:none;
}
.gps-desktop-topbar .brand-mark img,
.gps-desktop-footer .brand-mark img{
  position:relative;
  z-index:1;
  background:#fff;
}
@media (max-width:760px){
  .gps-desktop-quicknav{
    gap:clamp(3px,.9vw,5px)!important;
    justify-content:space-between;
  }
  .gps-desktop-quicknav > button,
  .gps-desktop-quicknav > a.gps-examples-nav{
    font-size:clamp(10px,3vw,13px)!important;
    padding-inline:clamp(4px,1.3vw,8px)!important;
    white-space:nowrap;
    min-width:0;
  }
}
@media (max-width:390px){
  .gps-desktop-topbar .brand{
    min-width:0;
    gap:clamp(5px,1.7vw,8px)!important;
  }
  .gps-desktop-topbar .brand>strong{
    display:block!important;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    font-size:clamp(11px,3.25vw,14px)!important;
  }
  .gps-desktop-topbar .brand-mark{
    width:30px!important;
    height:30px!important;
  }
  .gps-desktop-topbar{
    padding-left:max(10px,env(safe-area-inset-left))!important;
    padding-right:max(10px,env(safe-area-inset-right))!important;
  }
}


/* ORIENTATION QUICKNAV 172 — adapt to available viewport width.
   Portrait: the four controls expand to occupy the full row with tiny gaps,
   while preserving the minimum width necessary to show their text.
   Landscape phone: compact, content-sized controls packed to the left.
   Other pages, input sizes, click handlers and sliders are untouched. */
@media (orientation:portrait) and (max-width:760px){
  .gps-desktop-quicknav{
    justify-content:flex-start!important;
    gap:clamp(2px,.8vw,5px)!important;
    width:100%!important;
  }
  .gps-desktop-quicknav > button,
  .gps-desktop-quicknav > a.gps-examples-nav{
    flex:1 1 auto!important;
    min-width:max-content!important;
    width:auto!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    height:38px!important;
    font-size:clamp(10px,2.9vw,13px)!important;
    padding-inline:clamp(3px,1.1vw,7px)!important;
    white-space:nowrap!important;
  }
}
@media (orientation:landscape) and (max-width:1200px) and (max-height:600px){
  .gps-desktop-quicknav{
    justify-content:flex-start!important;
    gap:5px!important;
  }
  .gps-desktop-quicknav > button,
  .gps-desktop-quicknav > a.gps-examples-nav{
    flex:0 0 auto!important;
    min-width:0!important;
    width:auto!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:32px!important;
    padding:0 9px!important;
    font-size:clamp(11px,1.2vw,12px)!important;
    white-space:nowrap!important;
  }
}


/* VERTICAL GESTURE RESTORE 173.
   The large photo stage must not trap a one-finger vertical page swipe.
   Keep horizontal Before/After dragging under JS control and allow pinch zoom.
   Previously both were limited to pinch-zoom only (Desktop 119).
   In empty and uploaded-photo states the compare range is hidden. */
.gps-desktop-editor .desktop-focus,
.gps-desktop-editor .desktop-focus__compare-range {
  touch-action: pan-y pinch-zoom !important;
}


/* DESKTOP 174 — unified tap feedback on Android and iOS.
   Remove the browser's colored tap rectangles/ovals on touch devices.
   Preserve focus-visible feedback for keyboard accessibility. */
@media (hover:none), (pointer:coarse) {
  .app-shell button,
  .app-shell a,
  .app-shell [role="button"],
  .app-shell label[for] {
    -webkit-tap-highlight-color:transparent!important;
  }
  .app-shell button:focus:not(:focus-visible),
  .app-shell a:focus:not(:focus-visible),
  .app-shell [role="button"]:focus:not(:focus-visible){
    outline:none!important;
  }
  .gps-desktop-quicknav > button,
  .gps-desktop-quicknav > a.gps-examples-nav,
  .desktop-focus__upload-circle {
    -webkit-appearance:none!important;
    appearance:none!important;
    background-clip:padding-box;
  }
  .gps-desktop-quicknav > button:hover,
  .gps-desktop-quicknav > a.gps-examples-nav:hover {
    background:#fff!important;
    border-color:rgba(31,41,55,.08)!important;
    transform:none!important;
  }
  .gps-desktop-quicknav > button:active,
  .gps-desktop-quicknav > a.gps-examples-nav:active {
    background:#f2f4fa!important;
    transform:scale(.985)!important;
  }
  .desktop-focus__upload-circle {
    border-radius:50%!important;
    overflow:hidden!important;
  }
}
.app-shell button:focus-visible,
.app-shell a:focus-visible {
  outline:2px solid #5865f2;
  outline-offset:-3px;
}


/* MOBILE SPACING 177.
   Keep the full-size square upload/result viewer and all inputs unchanged.
   The previously reserved results toolbar and hidden credit line created
   empty vertical space in the portrait workflow. Show them when needed. */
@media (orientation:portrait) and (max-width:860px){
  .gps-desktop-stage-column > .gps-desktop-result-actions:not(:has(> button:not([hidden]))) {
    display:none!important;
    min-height:0!important;
  }
  .gps-desktop-control-panel .desktop-credit-info[hidden] {
    display:none!important;
    min-height:0!important;
    margin:0!important;
  }
  .gps-desktop-control-panel .gps-desktop-control-head {
    margin-bottom:7px!important;
  }
  .gps-desktop-control-panel .gps-desktop-prompt {
    margin-top:8px!important;
    margin-bottom:10px!important;
  }
}


/* DOCUMENT DEMO 178 — sixth Before/After card, same original swipe handler.
   No change to the five existing comparisons or their media. */
.gps-document-demo { isolation:isolate; background:#fff !important; }
.gps-document-demo .gps-example-before,
.gps-document-demo .gps-example-after img {
  object-fit:contain!important;
  background:#f3f5fa;
}
.gps-document-formats {
  position:absolute;
  z-index:7;
  bottom:0;
  left:0;
  right:0;
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(3px,.7vw,8px);
  padding:5px 6px;
  box-sizing:border-box;
  background:rgba(255,255,255,.96);
  border-top:1px solid #e2e6ee;
  box-shadow:0 -1px 6px rgba(255,255,255,.3);
  pointer-events:none;
}
.gps-document-formats-title{
  white-space:nowrap;
  min-width:0;
  color:#283246;
  font-size:clamp(8px,1vw,11px);
  line-height:1.2;
  font-weight:800;
  margin-right:auto;
}
.gps-document-format{
  flex:0 0 auto;
  min-width:clamp(17px,2.1vw,25px);
  height:clamp(17px,2.1vw,25px);
  padding:0 3px;
  border-radius:5px;
  display:inline-grid;
  place-items:center;
  color:white;
  font:800 clamp(9px,1.1vw,12px)/1 Arial,sans-serif;
  letter-spacing:-.03em;
  box-shadow:0 1px 3px rgba(0,0,0,.13);
}
.gps-document-format--pdf{background:#e53232}
.gps-document-format--word{background:#2267ca}
.gps-document-format--excel{background:#168b55}
.gps-document-format--ppt{background:#e4682d}
@media (max-width:560px){
  .gps-document-formats{gap:3px;min-height:26px;padding:3px 5px}
  .gps-document-formats-title{font-size:9px;}
  .gps-document-format{min-width:17px;height:19px;border-radius:4px;font-size:10px;padding:0 2px}
}


/* SIX CARD GRID 179: 3x2 desktop, 2x3 portrait phones.
   Restores the approved two-column examples gallery on narrow screens. */
@media (min-width:861px) {
  .gps-desktop-examples .gps-example-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:560px) and (orientation:portrait){
  .gps-desktop-examples .gps-example-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(7px,1.6vw,10px)!important;
  }
}
@media (max-width:560px){
  .gps-document-formats-title{font-size:0!important}
  .gps-document-formats-title::after{content:"Пример";font-size:9px}
}


/* 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}
}


/* One-shot camera/file choice: desktop only, no preference saved. */
.gps-upload-dialog{
  box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-width:460px;
  margin:auto;padding:0;border:1px solid #d7dfeb;border-radius:20px;
  background:#fff;color:#152d4c;box-shadow:0 20px 65px rgba(8,25,52,.25);
  font-family:inherit;
}
.gps-upload-dialog::backdrop{background:rgba(13,26,43,.53)}
.gps-upload-dialog[open]{display:block}
.gps-upload-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 22px 12px}
.gps-upload-dialog__head strong{font-size:18px;font-weight:750;line-height:1.3}
.gps-upload-dialog__close{border:0;background:transparent;cursor:pointer;color:#55657a;font-size:26px;line-height:1;padding:4px 7px;border-radius:8px}
.gps-upload-dialog__close:hover{background:#f1f4f9}
.gps-upload-dialog__options{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 22px 24px}
.gps-upload-dialog__option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:136px;
  padding:18px 8px;background:#f6f9fd;border:1px solid #d9e3ee;border-radius:15px;
  color:#254b7b;cursor:pointer;font-family:inherit;font-size:15px;font-weight:650}
.gps-upload-dialog__option:hover,.gps-upload-dialog__option:focus-visible{background:#eaf3ff;border-color:#88b6ee}
.gps-upload-dialog__option svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gps-upload-dialog__camera{padding:8px 22px 22px}
.gps-upload-dialog__camera[hidden],.gps-upload-dialog__options[hidden]{display:none!important}
.gps-upload-dialog__camera video{display:block;width:100%;max-height:340px;aspect-ratio:4/3;
  background:#172536;object-fit:contain;border-radius:12px}
.gps-upload-dialog__message{min-height:22px;margin:10px 0 4px;text-align:center;font-size:13px;color:#536478}
.gps-upload-dialog__actions{display:flex;justify-content:space-between;gap:12px;padding-top:10px}
.gps-upload-dialog__actions button{border-radius:11px;padding:11px 17px;font-size:14px;font-family:inherit;font-weight:650;cursor:pointer}
.gps-upload-dialog__back{background:#fff;border:1px solid #d0ddeb;color:#254467}
.gps-upload-dialog__capture{background:#1669cf;color:white;border:1px solid #1669cf;flex:1}
.gps-upload-dialog__capture:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:480px){.gps-upload-dialog__head{padding:16px 16px 10px}
 .gps-upload-dialog__options{padding:10px 16px 18px}.gps-upload-dialog__camera{padding:8px 16px 18px}}


/* Desktop 190: align the white control card with the visual upload/result stage.
   Hide the unused results toolbar at all viewport sizes. When there are visible
   result actions, keep them below the viewer, while the white card ends at the
   viewer's lower edge. Mobile layouts stay vertically stacked. */
.gps-desktop-stage-column > .gps-desktop-result-actions:not(:has(> button:not([hidden]))) {
  display:none!important;
  min-height:0!important;
}
@media (min-width:861px) {
  .gps-desktop-editor:has(.gps-desktop-result-actions > button:not([hidden]))
  .gps-desktop-control-panel {
    height:calc(100% - 47px)!important;
    align-self:start!important;
  }
}
@media (min-width:861px) and (orientation:landscape) and (max-height:600px) {
  .gps-desktop-editor:has(.gps-desktop-result-actions > button:not([hidden]))
  .gps-desktop-control-panel {
    height:calc(100% - 35px)!important;
  }
}


/* SEO MAIN 191 — visible semantic content below the editor, tuned for RU search intent. */
.gps-seo-main{padding-top:28px;padding-bottom:44px;color:#1d2736}
.gps-seo-hero{max-width:1040px;margin:0 auto 26px;text-align:center}
.gps-seo-hero h1{margin:0;font-size:clamp(28px,3vw,44px);line-height:1.12;letter-spacing:-.035em;color:#17263a}
.gps-seo-hero p{max-width:920px;margin:14px auto 0;color:#536276;font-size:15px;line-height:1.7}
.gps-seo-section{margin-top:18px;padding:24px;border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 12px 36px rgba(31,48,76,.055)}
.gps-seo-section h2{margin:0 0 14px;font-size:23px;line-height:1.25;letter-spacing:-.02em;color:#1d2d44}
.gps-seo-section p{margin:9px 0 0;color:#536276;font-size:14px;line-height:1.7}
.gps-seo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gps-seo-grid article{padding:17px;border:1px solid #e6ebf2;border-radius:16px;background:#f8fafc}
.gps-seo-grid h3{margin:0 0 8px;font-size:15px;line-height:1.35;color:#263a55}
.gps-seo-grid p{margin:0;font-size:12.5px;line-height:1.62;color:#627086}
.gps-seo-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gps-seo-two-column>.gps-seo-section{height:100%}
.gps-seo-how ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;counter-reset:gpsSeoStep;margin:0;padding:0}
.gps-seo-how li{counter-increment:gpsSeoStep;padding:16px;border-radius:15px;background:#f8fafc;border:1px solid #e7ecf3;color:#58677a;font-size:12.5px;line-height:1.6}
.gps-seo-how li::before{content:counter(gpsSeoStep);display:grid;place-items:center;width:28px;height:28px;margin-bottom:9px;border-radius:9px;background:#eaf1ff;color:#395b9d;font-weight:800}
.gps-seo-how strong{color:#273a55}
.gps-seo-faq details{border-top:1px solid #e8edf3}
.gps-seo-faq details:first-of-type{border-top:0}
.gps-seo-faq summary{cursor:pointer;padding:15px 2px;color:#2a3b54;font-size:14px;font-weight:720;list-style:none}
.gps-seo-faq summary::-webkit-details-marker{display:none}
.gps-seo-faq summary::after{content:'+';float:right;color:#7c8ba0;font-size:20px;font-weight:500;line-height:1}
.gps-seo-faq details[open] summary::after{content:'–'}
.gps-seo-faq details p{margin:-4px 28px 14px 2px}
@media(max-width:860px){
  .gps-seo-main{padding:22px 16px 34px}
  .gps-seo-hero{text-align:left;margin-bottom:18px}
  .gps-seo-hero h1{font-size:27px}
  .gps-seo-hero p{font-size:13.5px;line-height:1.65}
  .gps-seo-section{padding:18px;border-radius:18px}
  .gps-seo-section h2{font-size:20px}
  .gps-seo-grid,.gps-seo-two-column,.gps-seo-how ol{grid-template-columns:1fr}
  .gps-seo-grid{gap:9px}
}





/* 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}

/* 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}

/* Balance modal: plain close cross, without circular background. */
.gps-auth-modal .gps-auth-modal-close,
.gps-auth-modal .gps-auth-modal-close:hover,
.gps-auth-modal .gps-auth-modal-close:active,
.gps-auth-modal .gps-auth-modal-close:focus {
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Desktop balance window: all five tariffs fit a normal laptop viewport. */
@media (min-width:650px){
  .gps-auth-modal[open][data-auth-view="balance"]{
    width:min(660px,calc(100vw - 36px))!important;
    max-width:660px!important;
    padding:clamp(12px,2.6vh,20px)!important;
    max-height:calc(100dvh - 20px);
    overflow-y:auto; /* Fallback when the viewport is unusually short. */
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-card{
    max-width:none!important;width:100%;padding:4px 2px 0;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-account{
    gap:clamp(5px,1.2vh,9px);
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-account-view-title{
    margin:0 38px 2px;font-size:22px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card{
    margin:5px 0 2px;padding:12px 16px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing h3{
    margin:5px 0 9px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row{
    min-width:0;padding:10px 11px;gap:8px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row:last-child:nth-child(odd){
    grid-column:1/-1;
  }
}
@media (min-width:650px) and (max-height:620px){
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-account{gap:4px;padding:0}
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-account-view-title{font-size:20px}
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card{padding:9px 12px;margin:1px 0}
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing h3{margin:2px 0 6px}
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-list{gap:6px}
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row{padding:7px 9px}
}


/* Site offer link beside tariffs and in the public footer. */
.gps-auth-modal[data-auth-view="balance"] .gps-auth-offer-note{
  width:100%;margin:10px 0 0;padding:0 2px;
  font-size:11px;line-height:1.45;color:#697589;text-align:left;
}
.gps-auth-offer-note a,.gps-site-legal-link{color:#4d5cce;text-underline-offset:3px}
.gps-site-legal-link{font-size:12px;font-weight:650;text-decoration:underline}

/* Keep navigation stationary under the mouse; hover changes only its color. */
@media (hover:hover) and (pointer:fine) {
  .gps-desktop-quicknav > button:hover,
  .gps-desktop-quicknav > a.gps-examples-nav:hover {
    transform:none!important;
  }
}


/* PROFILE v209 — light editorial styling matching the main photo editor.
   Scoped to the profile dialog only; balance checkout styles are untouched. */
.gps-auth-modal[data-auth-view="profile"]{
  width:min(490px,calc(100vw - 32px));
  max-height:calc(100dvh - 24px);
  padding:clamp(16px,3vh,25px)!important;
  border:1px solid #e9ecf4;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 54px rgba(40,56,88,.14);
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-card{
  width:100%;
  padding:4px 2px 2px;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-account{
  gap:8px;
  padding:0;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-account-view-title{
  margin:2px 38px 8px;
  font-size:clamp(22px,3.1vw,26px);
  color:#253149;
  letter-spacing:-.025em;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-avatar{
  width:56px;height:56px;
  margin:3px auto 6px;
  border-radius:17px;
  background:linear-gradient(140deg,#edf2ff,#e8e5ff);
  color:#5865e9;
  border:1px solid #dde4ff;
  box-shadow:0 6px 16px rgba(87,101,242,.09);
  font-size:22px;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-account__eyebrow{
  color:#758398;
  font-size:10.5px;
  letter-spacing:.09em;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-account>strong{
  color:#233047;
  font-size:clamp(14px,2.1vw,17px);
  font-weight:780;
  letter-spacing:-.015em;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-balance-card{
  margin:12px 0 4px;
  padding:16px 18px;
  border:1px solid #e2e8ff;
  border-radius:17px;
  background:linear-gradient(110deg,#f6f8ff,#f0f2ff);
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-balance-card>span{
  color:#5c6781;
  font-size:12px;
  font-weight:700;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-balance-card>strong{
  color:#394dc3;
  font-size:19px;
  font-weight:850;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-secure{
  margin:3px 10px 12px;
  font-size:11.5px;
  line-height:1.5;
  color:#708096;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-profile-actions{
  gap:9px;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-feedback-toggle{
  width:100%;
  height:46px;
  border:0!important;
  border-radius:14px;
  background:linear-gradient(110deg,#5d8fed,#745cf1)!important;
  color:#fff!important;
  font-size:13.5px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(87,101,242,.17)!important;
  transition:filter .15s ease,box-shadow .15s ease;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-feedback-toggle:hover{
  filter:brightness(1.04);
  transform:none!important;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-feedback-form{
  background:#f8faff;
  border:1px solid #e3e8f7;
  box-shadow:none;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-logout{
  height:38px!important;
  padding:0 10px!important;
  border:0!important;
  background:transparent!important;
  color:#657087!important;
  border-radius:12px!important;
  box-shadow:none!important;
  font-size:12.5px!important;
  font-weight:700!important;
  transition:background .15s ease,color .15s ease;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-logout:hover{
  background:#f5f7fc!important;
  color:#34445c!important;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-delete{
  height:42px!important;
  border:1px solid #f0dfe5!important;
  border-radius:12px!important;
  background:#fffafb!important;
  color:#b65567!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:720!important;
  transition:background .15s ease,border-color .15s ease;
}
.gps-auth-modal[data-auth-view="profile"] .gps-auth-delete:hover{
  background:#fff3f5!important;
  border-color:#ebc9d1!important;
  transform:none!important;
}
@media(max-height:700px){
  .gps-auth-modal[data-auth-view="profile"] .gps-auth-account{gap:6px}
  .gps-auth-modal[data-auth-view="profile"] .gps-auth-avatar{width:48px;height:48px;margin:0 auto 3px}
  .gps-auth-modal[data-auth-view="profile"] .gps-auth-balance-card{padding:12px 15px;margin:6px 0 2px}
  .gps-auth-modal[data-auth-view="profile"] .gps-auth-secure{margin:2px 10px 6px}
}


/* BALANCE v211 — cohesive light account UI. Presentation only, no checkout changes. */
.gps-auth-modal[open][data-auth-view="balance"]{
  border:1px solid #e5eaf6;
  border-radius:24px;
  background:#fff;
  box-shadow:0 20px 56px rgba(39,54,88,.15);
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-account{
  gap:clamp(5px,1vh,8px);
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-account-view-title{
  color:#253149;
  font-size:clamp(21px,2.8vw,25px);
  letter-spacing:-.025em;
  font-weight:850;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-account>strong[data-auth-email-view]{
  color:#4c5971;
  font-size:clamp(12px,1.75vw,15px);
  font-weight:700;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card{
  background:linear-gradient(110deg,#f6f8ff,#eef2ff);
  border:1px solid #e2e8ff;
  border-radius:16px;
  box-shadow:none;
  padding:13px 16px;
  margin:8px 0 4px;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card>span{
  color:#5d6b83;
  font-weight:720;
  font-size:12.5px;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card>strong{
  color:#384dc2;
  font-size:22px;
  font-weight:860;
  white-space:nowrap;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing h3{
  margin:7px 0 10px;
  color:#283449;
  font-size:17px;
  font-weight:830;
  letter-spacing:-.015em;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-list{
  gap:10px;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row{
  min-width:0;
  min-height:79px;
  gap:10px;
  padding:12px 14px;
  border:1px solid #dfe5f3;
  border-radius:16px;
  background:#fbfcff;
  box-shadow:0 3px 11px rgba(49,70,122,.035);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row:hover{
  border-color:#b9c6f7;
  box-shadow:0 5px 15px rgba(65,79,173,.07);
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row>div{
  min-width:0;gap:4px;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row strong{
  color:#283449;
  font-size:13.5px;
  line-height:1.28;
  font-weight:820;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row b{
  color:#5263d9;
  font-size:19px;
  line-height:1.2;
  font-weight:850;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row button{
  flex:0 0 auto;
  min-width:92px;
  height:39px;
  padding:0 14px;
  border-radius:11px;
  font-size:12px;
  font-weight:800;
  transition:filter .15s ease,box-shadow .15s ease;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row button:not(:disabled){
  background:linear-gradient(110deg,#5d8fed,#745cf1);
  color:#fff;
  box-shadow:0 5px 13px rgba(88,101,242,.16);
  cursor:pointer;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row button:not(:disabled):hover{
  filter:brightness(1.06);
  box-shadow:0 7px 16px rgba(88,101,242,.20);
  transform:none;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row button:disabled{
  background:#eceff5;
  color:#818ca1;
  box-shadow:none;
  cursor:default;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row:last-child:nth-child(odd){
  background:linear-gradient(110deg,#f8faff,#f2f4ff);
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-offer-note{
  box-sizing:border-box;
  margin:11px 0 0;
  padding:11px 4px 0;
  border-top:1px solid #e8edf6;
  text-align:center;
  font-size:12px;
  line-height:1.5;
  color:#68758c;
}
.gps-auth-modal[data-auth-view="balance"] .gps-auth-offer-note a{
  color:#4b59cd;
  font-weight:700;
  text-underline-offset:3px;
}
@media(min-width:650px) and (max-height:700px){
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card{
    padding:10px 13px;margin:5px 0 2px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing h3{margin:4px 0 8px}
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-list{gap:7px}
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row{
    min-height:66px;padding:8px 11px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row button{
    height:35px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-offer-note{
    margin-top:7px;padding-top:8px;
  }
}
@media(max-width:649px){
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row{
    min-height:68px;padding:9px 12px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-pricing-row button{
    min-width:84px;height:38px;
  }
  .gps-auth-modal[data-auth-view="balance"] .gps-auth-balance-card>strong{
    font-size:19px;
  }
}


/* DESKTOP 218 — fullscreen Before / After stays synchronized with the main slider. */
.gps-photo-viewer__compare{position:relative;--gps-viewer-compare:50%;touch-action:none}
.gps-photo-viewer__compare img{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  object-fit:contain;object-position:center;pointer-events:none
}
.gps-photo-viewer__compare .gps-photo-viewer__after{
  clip-path:inset(0 0 0 var(--gps-viewer-compare))
}
.gps-photo-viewer__divider{
  position:absolute;z-index:3;top:0;bottom:0;left:var(--gps-viewer-compare);width:2px;
  transform:translateX(-1px);background:#fff;box-shadow:0 0 12px rgba(0,0,0,.24);
  pointer-events:none
}
.gps-photo-viewer__divider span{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  background:#fff;color:#293342;box-shadow:0 4px 18px rgba(0,0,0,.3)
}
.gps-photo-viewer__divider svg{width:28px;height:14px}
.gps-photo-viewer__label{
  position:absolute;z-index:4;top:16px;padding:7px 12px;border-radius:100px;
  background:rgba(17,24,39,.7);color:#fff;font-size:12px;font-weight:800;
  pointer-events:none;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
.gps-photo-viewer__label--before{left:14px}
.gps-photo-viewer__label--after{right:14px}
.gps-photo-viewer__compare-range{
  position:absolute;z-index:6;inset:0;width:100%;height:100%;margin:0;
  opacity:0;cursor:ew-resize;touch-action:none;-webkit-tap-highlight-color:transparent
}
.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{width:21px;height:21px;flex:0 0 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}
.gps-photo-viewer__compare-range:focus-visible{outline:2px solid #a5adff;outline-offset:-4px}
@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 4px}
 .gps-photo-viewer__actions button b{font-size:12px}
}


/* DESKTOP 219 — slider moves only after holding its round handle. */
.gps-desktop-editor .desktop-focus.gps-compare-holding .desktop-focus__divider span,
.gps-photo-viewer__stage.gps-compare-holding .gps-photo-viewer__divider span{
  box-shadow:0 0 0 5px rgba(88,101,242,.20),0 6px 20px rgba(0,0,0,.24);
  transform:translate(-50%,-50%) scale(1.06);
}
.gps-desktop-editor .desktop-focus.gps-compare-holding,
.gps-photo-viewer__stage.gps-compare-holding{cursor:ew-resize}


/* DESKTOP 220 — six example sliders: only hold the circular arrow to drag. */
.gps-example-slider .gps-example-divider{
  pointer-events:none!important;
}
.gps-example-slider .gps-example-divider span{
  pointer-events:auto!important;
  touch-action:pan-y pinch-zoom!important;
  cursor:grab;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  -webkit-user-select:none;
}
.gps-example-slider.gps-example-holding .gps-example-divider span{
  cursor:grabbing;
  box-shadow:0 0 0 5px rgba(88,101,242,.20),0 6px 18px rgba(0,0,0,.22);
  transform:translate(-50%,-50%) scale(1.06);
}
@media(pointer:coarse){
  .gps-example-slider .gps-example-divider span{width:42px;height:42px}
}

/* DESKTOP 221 — light theme SEO card alignment.
   Mirrors the proven dark-theme geometry fix without recoloring light cards.
   Old height:100% plus top margin caused a protruding 18px box and seams. */
html:not([data-gps-theme="dark"]) .gps-seo-two-column {
  margin-top:22px!important;
  gap:20px!important;
  align-items:stretch!important;
}
html:not([data-gps-theme="dark"]) .gps-seo-two-column > .gps-seo-section {
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  align-self:stretch;
}
html:not([data-gps-theme="dark"]) .gps-seo-two-column + .gps-seo-section {
  margin-top:22px!important;
}
html:not([data-gps-theme="dark"]) .gps-seo-section {
  border-radius:22px!important;
  overflow:hidden;
  background-clip:padding-box;
}
html:not([data-gps-theme="dark"]) .gps-seo-grid article,
html:not([data-gps-theme="dark"]) .gps-seo-how li {
  border-radius:16px!important;
  overflow:hidden;
  background-clip:padding-box;
}
html:not([data-gps-theme="dark"]) .gps-seo-grid,
html:not([data-gps-theme="dark"]) .gps-seo-how ol {
  gap:16px!important;
}
@media(max-width:860px) {
  html:not([data-gps-theme="dark"]) .gps-seo-two-column {
    margin-top:18px!important;
    gap:15px!important;
  }
  html:not([data-gps-theme="dark"]) .gps-seo-grid,
  html:not([data-gps-theme="dark"]) .gps-seo-how ol {
    gap:13px!important;
  }
  html:not([data-gps-theme="dark"]) .gps-seo-section {
    border-radius:18px!important;
  }
}

/* GPS SEO GUIDE LINK 2026-10-28 — replaces duplicate FAQ on homepage. */
.gps-seo-guide-cta{
  display:flex;
  justify-content:center;
  margin:24px 0 0;
  text-align:center;
}
.gps-seo-guide-cta>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 22px;
  border-radius:14px;
  border:1px solid #dfe4fb;
  background:#eef1ff;
  color:#424cbd;
  font-size:14px;
  font-weight:800;
  line-height:1.45;
  text-decoration:none;
  box-shadow:0 5px 16px rgba(35,45,93,.05);
  transition:background .15s,border-color .15s;
}
.gps-seo-guide-cta>a:hover{background:#e3e8ff;border-color:#bfc8f4}
.gps-seo-guide-cta>a:focus-visible{outline:2px solid #5969ed;outline-offset:3px}
html[data-gps-theme="dark"] .gps-seo-guide-cta>a{
  color:#eee7ff;
  background:#292642;
  border-color:#61587f;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
}
html[data-gps-theme="dark"] .gps-seo-guide-cta>a:hover{
  background:#343052;
  border-color:#8e7dab;
}
@media(max-width:760px){
  .gps-seo-guide-cta{margin-top:18px}
  .gps-seo-guide-cta>a{
    width:100%;
    min-height:48px;
    padding:12px 14px;
    font-size:13px;
  }
}

/* GPS 2026-10-31: stable, responsive legal footer in light and dark themes. */
.gps-desktop-footer .section-wrap{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,auto) max-content;
  align-items:center!important;
  column-gap:clamp(18px,2vw,30px)!important;
  row-gap:12px!important;
  min-height:82px!important;
  padding-top:18px!important;
  padding-bottom:18px!important;
}
.gps-desktop-footer .section-wrap > .brand{
  display:inline-flex!important;
  align-items:center;
  min-width:0;
  width:max-content;
  max-width:100%;
  text-decoration:none!important;
}
.gps-desktop-footer .section-wrap > .brand strong{
  display:block;
  font-size:clamp(15px,1.4vw,19px)!important;
  font-weight:780!important;
  line-height:1.3!important;
  white-space:nowrap;
}
.gps-desktop-footer .gps-footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:8px clamp(13px,1.7vw,24px);
  min-width:0;
}
.gps-desktop-footer .gps-footer-links > .gps-site-legal-link{
  display:inline-block;
  flex:0 0 auto;
  width:auto;
  max-width:100%;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.5!important;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  text-decoration:none!important;
  color:#4d5cce;
}
.gps-desktop-footer .gps-footer-links > .gps-site-legal-link:hover,
.gps-desktop-footer .gps-footer-links > .gps-site-legal-link:focus-visible{
  text-decoration:underline!important;
  text-underline-offset:3px;
}
.gps-desktop-footer .section-wrap > .gps-footer-copyright{
  margin:0!important;
  justify-self:end;
  font-size:11px!important;
  line-height:1.45!important;
  color:#7e8799;
  white-space:nowrap;
}
html[data-gps-theme="dark"] .gps-desktop-footer .gps-footer-links > .gps-site-legal-link{
  color:#c8bdf0!important;
}
html[data-gps-theme="dark"] .gps-desktop-footer .section-wrap > .gps-footer-copyright{
  color:#a5afc5!important;
}
@media(max-width:1060px){
  .gps-desktop-footer .section-wrap{
    grid-template-columns:minmax(0,1fr) minmax(0,2fr);
    row-gap:11px!important;
  }
  .gps-desktop-footer .section-wrap > .gps-footer-copyright{
    grid-column:1/-1;
    justify-self:end;
  }
}
@media(max-width:700px){
  .gps-desktop-footer .section-wrap{
    grid-template-columns:minmax(0,1fr);
    padding-top:22px!important;
    padding-bottom:22px!important;
    row-gap:14px!important;
  }
  .gps-desktop-footer .gps-footer-links{
    justify-content:flex-start;
    column-gap:18px;
    row-gap:12px;
  }
  .gps-desktop-footer .section-wrap > .gps-footer-copyright{
    grid-column:1;
    justify-self:start;
  }
}


/* 2026-11-10: visible, accessible reset control over the photo stage.
   iPhone Safari uses the responsive desktop workbench on the main URL. */
.gps-desktop-editor #gpsDesktopRestart{
  position:absolute;
  z-index:11;
  top:12px;
  right:12px;
  left:auto;
  transform:none;
  height:38px;
  max-width:calc(100% - 24px);
  padding:0 14px;
  background:rgba(19,26,42,.84);
  color:#fff;
  border:1px solid rgba(255,255,255,.23);
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:750;
  box-shadow:0 5px 18px rgba(0,0,0,.20);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  cursor:pointer;
}
.gps-desktop-editor #gpsDesktopRestart[hidden]{display:none!important}
.gps-desktop-editor #gpsDesktopRestart:disabled{opacity:.5;cursor:not-allowed}
.gps-desktop-editor #gpsDesktopRestart b{font-size:12px;white-space:nowrap}
.gps-desktop-editor #gpsDesktopRestart span{font-size:18px;line-height:1}
.gps-desktop-editor #gpsDesktopRestart:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}
@media(max-width:520px){
  .gps-desktop-editor #gpsDesktopRestart{top:10px;right:10px;height:34px;padding:0 11px}
  .gps-desktop-editor #gpsDesktopRestart b{font-size:11px}
}



/* GPS examples-to-SEO spacing — compact, keep SEO content unchanged. */
@media (max-width:860px){
  .gps-desktop-examples{padding-bottom:12px!important}
  .gps-seo-main{padding-top:8px!important}
  .gps-seo-main > .gps-seo-section:first-child{margin-top:0!important}
}
@media (min-width:861px){
  .gps-desktop-examples{padding-bottom:18px!important}
  .gps-seo-main{padding-top:12px!important}
  .gps-seo-main > .gps-seo-section:first-child{margin-top:0!important}
}
