/* v18.10.67 · Beta polish (10 Nov 2026): phone layout, clothing-only custom design, burgundy brand in Style.
   Loaded last on the main app page. Remove this file to undo every rule here. */

/* 1 · Phones: the three-row header no longer stays pinned over the page while scrolling (it took 171 px of 812). */
@media (max-width:700px){
  aside.side{position:relative!important;top:auto!important}
  aside.side .brand{min-height:0}
}

/* 2 · Beta = clothing only: the non-clothing shortcut buttons (Gifts, Printing, Automotive …) are hidden.
   The categories themselves are also left out by the server while BETA_CLOTHING_ONLY is on. */
/* v18.10.68: all categories are open again, so the shortcut buttons show. */
/* .udw-custom-nav{display:none!important} */

/* 3 · Choice pickers on phones: arrows sit at the bottom of the stage, never over the middle of the picture. */
@media (max-width:700px){
  .u-gal-pick .u-gal-nav{top:auto!important;bottom:8px!important;transform:none!important}
  .u-gal-pick .u-gal-stage{padding-bottom:40px;box-sizing:content-box}
}

/* 4 · Brand: burgundy is the one accent in Style too (was pink-to-violet). */
body[data-section="style"]{--acc:#7a1f33!important;--acc2:#9b3349!important}
body[data-section="style"] button.primary,
.udw-visual-flow .u-gal-spot button.primary,
body[data-section="style"] .udw-visual-flow .u-gal-spot button.primary{background:#7a1f33!important;border-color:#7a1f33!important;color:#fff!important;box-shadow:0 10px 24px -12px rgba(122,31,51,.55)!important}
body[data-section="style"] button.primary:hover{background:#5e1726!important;border-color:#5e1726!important}
.udw-visual-progress button>b{background:#f4e4e7!important;color:#7a1f33!important}
.udw-visual-progress button[aria-current=step]>b{background:#7a1f33!important;color:#fff!important}
.udw-two-step .udw-visual-progress button[aria-current=step],.udw-visual-progress button[aria-current=step]{background:#f4e4e7!important;border-color:#7a1f33!important}
body[data-section="style"] .uc-studio-hero{background:repeating-linear-gradient(135deg,#ece3d4 0 14px,#f3ece0 14px 28px)!important;border-color:#e2d5c1!important}

/* 5 · Phones: the Style designer sat inside four padded frames, leaving the choices only ~245 px of a 375 px screen. */
@media (max-width:700px){
  #page-style.style-landing{padding-left:4px!important;padding-right:4px!important}
  #page-style .udw-studio{padding:10px 8px!important}
  #page-style .udw-designer{padding:10px 6px!important}
  #page-style .udw-choice-group{padding:8px 6px!important}
}
/* the picker's main button keeps white text on burgundy (an older rule painted it dark) */
:is(#page-style,#udw-style,#smart-fashion-selector) .u-gal-spot button.primary,
:is(#page-style,#udw-style,#smart-fashion-selector) .u-gal-spot button.primary *{color:#fff!important}

/* 6 · v18.10.68 · Smart Style / Food / Fitness / Property ideas: idea cards in the brand colours (burgundy, gold, ink)
   instead of the old pink-violet and neon gradients. */
.urp .u-gal-wallbox{background:#141821!important}
.urp .u-gw-tile.is-word{background:linear-gradient(150deg,#7a1f33,#3b0f1c)!important;color:#fff!important}
.urp .u-gw-tile.is-word:nth-child(3n+2){background:linear-gradient(150deg,#b8894a,#6e4f26)!important}
.urp .u-gw-tile.is-word:nth-child(3n+3){background:linear-gradient(150deg,#2a3142,#141821)!important}
.urp .u-gw-tile.is-on{outline:3px solid #F3EBDD!important;box-shadow:0 0 0 3px #F3EBDD!important}
.urp .u-gal-word{background:radial-gradient(110% 80% at 50% 0%,#7a1f33 0%,#2a121a 60%,#141821 100%)!important}
.urp .urp-steps span.on{background:#7a1f33!important;color:#fff!important}

/* 7 · v18.10.68 · Phone QA fixes (10 Nov 2026) */
/* 7a · Design Your Own: the step bars (Audience … Secondary, Fabric … Create) were cut off after step 3; they now scroll sideways */
#page-style #smart-fashion-selector[data-two-step] ol.u-progress,#page-style #smart-fashion-selector ol.u-progress{overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:4px}
#smart-fashion-selector ol.u-progress>li{scroll-snap-align:start}
/* 7b · Studio: the seven step buttons were squeezed to 44 px and their labels overlapped; they keep their width and the rail scrolls */
#vid-steps{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
#vid-steps .workflow-step{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;white-space:nowrap!important;padding-inline:12px!important;scroll-snap-align:start}
/* 7c · Studio: the page title was white on the light page */
#page-creator .hero h1{color:#141821!important;-webkit-text-fill-color:#141821!important}
/* 7d · Explore idea cards: the title under the picture was dark on the dark card */
.usc-card .usc-body h3{color:#F3EBDD!important}
@media (max-width:700px){
  /* 7e · the top menu scrolls sideways (Studio, Accounting); a soft fade on the right shows there is more */
  .ufx-nav{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-inline-end:28px}
  /* 7f · room at the bottom so the floating Help and Activity buttons never cover the last buttons on a page */
  main,.content{padding-bottom:120px}
  .udw-job-button,#udw-help{width:42px!important;height:42px!important;opacity:.92}
}

/* ---------- 8 · v18.10.69 brand colours everywhere (maroon #7a1f33 + gold #c9a24a) ---------- */
/* Replaces the old pink→violet / pink→orange gradients left in a dozen module style files. */
body button.primary:not(:disabled),body a.primary:not(.ust-btnlink),body .btn.primary,
body .uh-make,body #usc-band>button,body #uae-switch>button,body #usa-generate,body .generate-big{
  background:#7a1f33!important;background-image:none!important;color:#fff!important;border-color:#7a1f33!important;box-shadow:0 6px 18px rgba(122,31,51,.28)!important}
body button.primary:not(:disabled):hover,body .uh-make:hover,body #usc-band>button:hover,body #usa-generate:hover{background:#5e1726!important}
body button.primary:focus-visible{outline:3px solid #c9a24a!important;outline-offset:2px}
body button.primary:disabled{background:#7a1f33!important;background-image:none!important;color:#fff!important;opacity:.55}
/* gradient headings → gold */
body #uh-h,body .ucv-copy h2{background:linear-gradient(100deg,#7a1f33,#a5793a)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
body #uh-home{background:linear-gradient(120deg,#fbf6ec 0%,#f6ecd9 55%,#f1e4cc 100%)!important}
/* small kicker labels and tags */
body .usc-cat,body .usc-word i{color:#e3c27a!important;border-color:rgba(201,162,74,.55)!important}
body .uh-k{color:#7a1f33!important;border-color:rgba(122,31,51,.35)!important}
body .uo-k{color:#7a1f33!important;border-color:rgba(122,31,51,.35)!important}
body .udhen-creator-tabs .u-ico{background-color:#7a1f33!important;border-color:#7a1f33!important}
body .plan-badge{background:#c9a24a!important;background-image:none!important;color:#141821!important}

/* ---------- 9 · v18.10.113 Pricing: plans are now shown in QAR, so the plans and hero are visible again ---------- */

/* ---------- 10 · v18.10.69 phone header: one compact row of controls ---------- */
@media (max-width:640px){
  header.top{padding-top:4px!important;padding-bottom:4px!important;min-height:0!important;gap:6px!important}
  header.top button,header.top .ut-switch,header.top .ui18-switch{min-height:40px!important;height:40px!important;padding:0 10px!important;font-size:13px!important;line-height:1!important}
  header.top button:last-child{white-space:nowrap}
}
