/* "glass" studio look for phones (Liquid Glass, picked in Shop settings): Apple's Liquid Glass on the web.
   - A colourful wallpaper sits behind the page, so the glass has light and colour to bend (glass over plain white
     only looks white). It is strongest at the top and bottom, where the floating bars sit, and calmer in the middle
     where people read. Max 2026-10-25: "I felt like it is not glassy enough"; 2026-10-26: "still not super glassy".
   - Scroll edges: what scrolls under the header, step bar and price bar is blurred and faded into the wallpaper
     before it reaches the glass, so the glass stays clear and colourful and its text stays readable over photos
     and black shirts.
   - Lens glass on the controls that float (header buttons, step bar, price bar, front/back switch, design toolbar,
     zoom button): nearly clear, so what scrolls underneath stays visible. Its body is a ::before layer (the blur, a
     faint fill, a thick bright edge and two crescent highlights where light enters and leaves the glass); ::after
     draws the specular rim, bright at the top-left and bottom-right corners and almost gone along the sides.
   - Chrome-based browsers (most Android phones) also bend what is behind the edges like a real lens: glass-lens.js
     builds an SVG displacement map per control and hands it over as --g-lens. Safari (every iPhone browser) cannot
     use SVG filters behind an element, so there --g-lens stays empty and the rest of the glass is the same.
   - Frosted glass on the cards (like iOS widgets over a wallpaper); glass buttons inside them carry the rim and
     highlights but no second blur (no glass on glass). The shirt photo and print preview stay solid so colours read true.
   - Colour only on the one primary action (Next is tinted glass). Yellow "add more" keeps its own colour.
   - Follows the device's light or dark mode. Reduce transparency = solid; Increase contrast = solid with outlines;
     Reduce motion = no grow-on-press.
   Phones only (under 768 px), like the other looks in studio-fun.css. */
@media (max-width:767px), (hover:none) and (pointer:coarse) and (max-width:1023px){

:root:root[data-look=glass]:not(.x){
  --g-fill:rgb(255 255 255 / .1); --g-fill-strong:rgb(255 255 255 / .78); --g-card:rgb(255 255 255 / .5); --g-btn:rgb(255 255 255 / .45);
  --g-sheen:rgb(255 255 255 / .3); --g-sheen-soft:rgb(255 255 255 / .22);
  --g-ring:linear-gradient(135deg, #FFF 0%, rgb(255 255 255 / .7) 9%, rgb(190 225 255 / .45) 20%, rgb(255 255 255 / .06) 40%, rgb(255 255 255 / .06) 60%, rgb(255 205 240 / .45) 80%, rgb(255 255 255 / .8) 91%, #FFF 100%);
  --g-depth:inset 0 0 0 .5px rgb(255 255 255 / .5), inset 1.5px 1.5px 0 -.5px #FFF, inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .8),
    inset 0 14px 18px -14px rgb(255 255 255 / .85), inset 0 -12px 16px -14px rgb(20 30 80 / .2), inset 0 0 20px rgb(255 255 255 / .26);
  --g-depth-sm:inset 0 0 0 .5px rgb(255 255 255 / .7), inset 1.5px 1.5px 0 -.5px #FFF, inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .8),
    inset 0 8px 10px -8px rgb(255 255 255 / .9), inset 0 -7px 10px -8px rgb(20 30 80 / .14);
  --g-edge:rgb(20 30 60 / .12);
  --g-lift:0 0 0 .5px var(--g-edge), 0 16px 36px -10px rgb(20 30 90 / .36), 0 4px 10px -2px rgb(0 0 0 / .08);
  --g-card-shadow:0 0 0 .5px rgb(20 30 60 / .07), 0 14px 34px -8px rgb(30 40 110 / .22);
  --g-blur:blur(4px) saturate(210%) brightness(1.08); --g-blur-card:blur(30px) saturate(210%) brightness(1.04);
  --g-halo:0 0 12px rgb(255 255 255 / .75);
  --g-tint:rgb(0 96 200 / .94); --g-on-tint:#FFFFFF; --g-tint-glow:rgb(0 104 214 / .42);
  --g-wall-1:rgb(0 122 255 / .82); --g-wall-2:rgb(175 82 222 / .72); --g-wall-3:rgb(255 149 0 / .62); --g-wall-4:rgb(52 199 89 / .52); --g-wall-5:rgb(255 45 85 / .42); --g-wall-6:rgb(90 200 250 / .5);
  --g-fade:color-mix(in srgb, var(--bg) 40%, transparent);
  --g-wall:
    radial-gradient(85% 34% at 0% 0%, var(--g-wall-1), transparent 72%),
    radial-gradient(70% 30% at 100% 6%, var(--g-wall-2), transparent 72%),
    radial-gradient(65% 30% at 0% 50%, var(--g-wall-5), transparent 72%),
    radial-gradient(65% 30% at 100% 56%, var(--g-wall-6), transparent 72%),
    radial-gradient(80% 32% at 100% 100%, var(--g-wall-3), transparent 72%),
    radial-gradient(80% 30% at 0% 100%, var(--g-wall-4), transparent 72%);
  --g-edge-base:color-mix(in srgb, var(--bg) 76%, transparent);
  --bar-h:96px; --r-lg:26px; --r-md:14px;
}
/* secondary text and links one step darker than the standard look: they sit on see-through glass, not white
   (Vintage keeps its own paper colours) */
:root:root[data-look=glass]:not([data-theme=vintage]):not(.x){ --text-2:#47474B; --text-3:#505055; --accent:#0058B8; }
@media (prefers-color-scheme:dark){ :root:root[data-look=glass]:not([data-theme=light]):not([data-theme=vintage]){
  --text-2:#BDBDC3; --text-3:#A9A9AF; --accent:#409CFF; --g-edge-base:color-mix(in srgb, var(--bg) 82%, transparent);
  --g-fill:rgb(30 30 36 / .18); --g-fill-strong:rgb(40 40 46 / .84); --g-card:rgb(28 28 34 / .48); --g-btn:rgb(255 255 255 / .08);
  --g-sheen:rgb(255 255 255 / .12); --g-sheen-soft:rgb(255 255 255 / .06);
  --g-ring:linear-gradient(135deg, rgb(255 255 255 / .9) 0%, rgb(255 255 255 / .45) 9%, rgb(150 200 255 / .3) 20%, rgb(255 255 255 / .04) 40%, rgb(255 255 255 / .04) 60%, rgb(255 170 230 / .3) 80%, rgb(255 255 255 / .5) 91%, rgb(255 255 255 / .8) 100%);
  --g-depth:inset 0 0 0 .5px rgb(255 255 255 / .16), inset 1.5px 1.5px 0 -.5px rgb(255 255 255 / .55), inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .32),
    inset 0 14px 18px -14px rgb(255 255 255 / .22), inset 0 -12px 16px -14px rgb(0 0 0 / .45), inset 0 0 20px rgb(255 255 255 / .06);
  --g-depth-sm:inset 0 0 0 .5px rgb(255 255 255 / .18), inset 1.5px 1.5px 0 -.5px rgb(255 255 255 / .5), inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .28),
    inset 0 8px 10px -8px rgb(255 255 255 / .16), inset 0 -7px 10px -8px rgb(0 0 0 / .4);
  --g-edge:rgb(0 0 0 / .5);
  --g-lift:0 0 0 .5px var(--g-edge), 0 16px 36px -10px rgb(0 0 0 / .7), 0 4px 10px -2px rgb(0 0 0 / .35);
  --g-card-shadow:0 0 0 .5px rgb(0 0 0 / .45), 0 14px 34px -8px rgb(0 0 0 / .5);
  --g-blur:blur(4px) saturate(220%) brightness(.84); --g-blur-card:blur(30px) saturate(190%) brightness(.86);
  --g-halo:0 0 12px rgb(0 0 0 / .6);
  --g-tint:rgb(64 156 255 / .94); --g-on-tint:#001A33; --g-tint-glow:rgb(64 156 255 / .42);
  --g-wall-1:rgb(0 122 255 / .66); --g-wall-2:rgb(175 82 222 / .58); --g-wall-3:rgb(255 149 0 / .36); --g-wall-4:rgb(52 199 89 / .32); --g-wall-5:rgb(255 45 85 / .36); --g-wall-6:rgb(90 200 250 / .3);
} }
:root:root:root[data-look=glass][data-theme=dark]{
  --text-2:#BDBDC3; --text-3:#A9A9AF; --accent:#409CFF; --g-edge-base:color-mix(in srgb, var(--bg) 82%, transparent);
  --g-fill:rgb(30 30 36 / .18); --g-fill-strong:rgb(40 40 46 / .84); --g-card:rgb(28 28 34 / .48); --g-btn:rgb(255 255 255 / .08);
  --g-sheen:rgb(255 255 255 / .12); --g-sheen-soft:rgb(255 255 255 / .06);
  --g-ring:linear-gradient(135deg, rgb(255 255 255 / .9) 0%, rgb(255 255 255 / .45) 9%, rgb(150 200 255 / .3) 20%, rgb(255 255 255 / .04) 40%, rgb(255 255 255 / .04) 60%, rgb(255 170 230 / .3) 80%, rgb(255 255 255 / .5) 91%, rgb(255 255 255 / .8) 100%);
  --g-depth:inset 0 0 0 .5px rgb(255 255 255 / .16), inset 1.5px 1.5px 0 -.5px rgb(255 255 255 / .55), inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .32),
    inset 0 14px 18px -14px rgb(255 255 255 / .22), inset 0 -12px 16px -14px rgb(0 0 0 / .45), inset 0 0 20px rgb(255 255 255 / .06);
  --g-depth-sm:inset 0 0 0 .5px rgb(255 255 255 / .18), inset 1.5px 1.5px 0 -.5px rgb(255 255 255 / .5), inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .28),
    inset 0 8px 10px -8px rgb(255 255 255 / .16), inset 0 -7px 10px -8px rgb(0 0 0 / .4);
  --g-edge:rgb(0 0 0 / .5);
  --g-lift:0 0 0 .5px var(--g-edge), 0 16px 36px -10px rgb(0 0 0 / .7), 0 4px 10px -2px rgb(0 0 0 / .35);
  --g-card-shadow:0 0 0 .5px rgb(0 0 0 / .45), 0 14px 34px -8px rgb(0 0 0 / .5);
  --g-blur:blur(4px) saturate(220%) brightness(.84); --g-blur-card:blur(30px) saturate(190%) brightness(.86);
  --g-halo:0 0 12px rgb(0 0 0 / .6);
  --g-tint:rgb(64 156 255 / .94); --g-on-tint:#001A33; --g-tint-glow:rgb(64 156 255 / .42);
  --g-wall-1:rgb(0 122 255 / .66); --g-wall-2:rgb(175 82 222 / .58); --g-wall-3:rgb(255 149 0 / .36); --g-wall-4:rgb(52 199 89 / .32); --g-wall-5:rgb(255 45 85 / .36); --g-wall-6:rgb(90 200 250 / .3);
}
/* the wallpaper: a fixed layer (iOS ignores background-attachment:fixed), so it stays put while the page scrolls.
   Bright colour at the top and bottom edges, behind the floating glass; softer in the middle. */
:root[data-look=glass] body{ background:var(--bg); }
:root[data-look=glass] body::before{ content:''; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:var(--g-wall); }

/* lens glass: the floating controls. The host only floats (outer shadow); the glass itself is ::before + ::after. */
:root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, body.wiz .qbar, body.wiz .cztog), :root[data-look=glass] #loctabs{
  border-color:transparent; background:none; -webkit-backdrop-filter:none; backdrop-filter:none; isolation:isolate; box-shadow:var(--g-lift);
  text-shadow:var(--g-halo); }
:root[data-look=glass] .hacts, :root[data-look=glass] body.wiz .qbar, :root[data-look=glass] #loctabs{ position:relative; }
:root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, body.wiz .qbar, body.wiz .cztog)::before, :root[data-look=glass] #loctabs::before{
  content:''; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none;
  background:
    linear-gradient(170deg, var(--g-sheen) 0%, transparent 38%),
    linear-gradient(var(--g-fill), var(--g-fill));
  -webkit-backdrop-filter:var(--g-blur); backdrop-filter:var(--g-lens,) var(--g-blur);
  box-shadow:var(--g-depth); }
/* the specular rim: a 1.5 px ring cut out of a corner-to-corner gradient */
:root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, body.wiz .qbar, body.wiz .cztog)::after, :root[data-look=glass] #loctabs::after{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; padding:1.5px; background:var(--g-ring);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* menus and the mode chooser hold more text, so they are more frosted (Apple: larger glass is less see-through) */
:root:root[data-look=glass] :is(.psmenu, .mmenu, .mpIn):not(.x){ border-color:transparent; border-radius:28px;
  background:
    linear-gradient(170deg, var(--g-sheen-soft) 0%, transparent 30%),
    linear-gradient(var(--g-fill-strong), var(--g-fill-strong));
  -webkit-backdrop-filter:blur(30px) saturate(200%); backdrop-filter:blur(30px) saturate(200%);
  box-shadow:var(--g-depth), var(--g-lift); }

/* frosted cards: the wallpaper glows through; the shirt well and the print preview stay solid */
:root[data-look=glass] :is(.panel, .mpCard){ border-color:transparent; border-radius:var(--r-lg);
  background:
    linear-gradient(170deg, var(--g-sheen-soft) 0%, transparent 24%),
    linear-gradient(var(--g-card), var(--g-card));
  -webkit-backdrop-filter:var(--g-blur-card); backdrop-filter:var(--g-blur-card);
  box-shadow:var(--g-depth), var(--g-card-shadow); }
:root[data-look=glass] .mpCard{ -webkit-backdrop-filter:none; backdrop-filter:none; }
:root[data-look=glass] .mpCard.mpSug{ border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft), var(--g-depth), var(--g-card-shadow); }

/* glass buttons in the content: highlights and a bright edge, no second blur; picked ones keep their own solid colours */
:root[data-look=glass] :is(#sizes .opt:not(.active), #platens .opt:not(.active), #qualities .opt:not(.active), .inkpick .opt:not(.active),
  .gtc[aria-checked=false], body.wiz .szc:not([aria-checked=true]), body.wiz .plc2:not([aria-pressed=true]), .qcell:not(.has),
  .btn.sec, .chip, .rtool, .side, #pvSeg){
  border-color:transparent;
  background:
    linear-gradient(170deg, var(--g-sheen) 0%, transparent 46%),
    linear-gradient(var(--g-btn), var(--g-btn));
  box-shadow:var(--g-depth-sm), 0 0 0 .5px var(--g-edge), 0 4px 12px -2px rgb(30 40 100 / .12); }
:root[data-look=glass] .opt, :root[data-look=glass] .gtc{ border-radius:14px; }

/* the shop's tagline sits straight on the wallpaper, so in light mode it takes the body text colour */
:root:root[data-look=glass]:not(.x) #tagline{ color:var(--text); }
@media (prefers-color-scheme:dark){ :root:root[data-look=glass]:not([data-theme=light]):not([data-theme=vintage]) #tagline{ color:var(--accent); } }
:root:root[data-look=glass][data-theme=dark] #tagline{ color:var(--accent); }

/* header: no bar, a soft scroll-edge fade; the buttons sit together in one glass capsule */
:root[data-look=glass] .top{ background:none; -webkit-backdrop-filter:none; backdrop-filter:none; border:0; box-shadow:none; }
:root[data-look=glass] .top::before{ content:''; position:absolute; inset:0 0 -18px; z-index:-1; pointer-events:none;
  background:linear-gradient(var(--g-fade), transparent);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  -webkit-mask-image:linear-gradient(#000 50%, transparent); mask-image:linear-gradient(#000 50%, transparent); }
:root[data-look=glass] .hacts{ gap:0; padding:2px; border-radius:999px; }
:root[data-look=glass] .hacts :is(.hbtn, .lang, .lang button){ background:none !important; box-shadow:none !important; border-color:transparent; }
:root[data-look=glass] .hacts .hbtn{ border-radius:999px; }

/* step bar: a floating capsule under the header, with the progress inside it */
:root[data-look=glass] .stepline.ps{ margin:4px 10px 0; min-height:56px; padding:4px 6px 8px 4px; border-radius:28px; }
:root[data-look=glass] .stepline .psback{ background:none; }
:root[data-look=glass] .psbars{ left:22px; right:22px; bottom:5px; height:3px; gap:3px; }
:root[data-look=glass] .psbars i{ border-radius:999px; }
:root[data-look=glass] .psbars i:not(.on){ background:rgb(127 127 140 / .28); }
:root[data-look=glass] .psthumb{ border-radius:20px; background:none; }

/* price bar: a floating capsule; Next is the one tinted glass button */
:root[data-look=glass] .mbar{ left:10px; right:10px; bottom:calc(10px + env(safe-area-inset-bottom)); min-height:64px; padding:6px 6px 6px 18px; border-radius:32px; }
:root[data-look=glass] .mbar .btn.pri{ min-height:52px; border-color:transparent; border-radius:26px; color:var(--g-on-tint);
  background:
    linear-gradient(170deg, rgb(255 255 255 / .26) 0%, rgb(255 255 255 / .06) 36%, transparent 48%),
    linear-gradient(var(--g-tint), var(--g-tint));
  box-shadow:inset 0 0 0 .5px rgb(255 255 255 / .45), inset 1.5px 1.5px 0 -.5px rgb(255 255 255 / .9), inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .55),
    inset 0 0 14px rgb(255 255 255 / .25), 0 8px 20px -4px var(--g-tint-glow); }
/* scroll edges (Apple's scroll edge effect): what scrolls under the header, the step bar and the price bar is
   blurred and faded into the wallpaper before it reaches the glass, so the glass stays clear and colourful while
   its text stays readable over photos and dark shirts. Each layer repaints the wallpaper at the viewport's size, so
   it lines up with the one behind the page. */
:root[data-look=glass] body.wiz .top::before{ display:none; }
:root[data-look=glass] body.wiz::after, :root[data-look=glass]:has(body.wiz)::after{ content:''; position:fixed; left:0; right:0; z-index:calc(var(--z-sticky) - 1); pointer-events:none;
  background:var(--g-wall), linear-gradient(var(--g-edge-base), var(--g-edge-base)); background-size:100vw 100vh; background-size:100vw 100dvh; background-repeat:no-repeat;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
:root[data-look=glass] body.wiz::after{ bottom:0; height:calc(64px + 34px + env(safe-area-inset-bottom)); background-position:0 100%;
  -webkit-mask-image:linear-gradient(transparent, #000 34px); mask-image:linear-gradient(transparent, #000 34px); }
:root[data-look=glass]:has(body.wiz)::after{ top:0; height:calc(var(--hh) + 64px); background-position:0 0;
  -webkit-mask-image:linear-gradient(#000 calc(100% - 16px), transparent); mask-image:linear-gradient(#000 calc(100% - 16px), transparent); }

/* front / back switch: a glass capsule; the picked side is a bright drop of glass inside it */
:root[data-look=glass] #loctabs{ padding:3px; border-radius:999px; }
:root[data-look=glass] #loctabs button{ border-radius:999px; background:none; }
:root[data-look=glass] #loctabs button[aria-checked=true]{ background:linear-gradient(170deg, rgb(255 255 255 / .98), rgb(255 255 255 / .7)); color:var(--text);
  box-shadow:var(--g-depth-sm), 0 2px 8px rgb(0 0 0 / .14); }
@media (prefers-color-scheme:dark){ :root[data-look=glass]:not([data-theme=light]):not([data-theme=vintage]) #loctabs button[aria-checked=true]{ background:rgb(255 255 255 / .2); color:#FFFFFF; } }
:root[data-look=glass][data-theme=dark] #loctabs button[aria-checked=true]{ background:rgb(255 255 255 / .2); color:#FFFFFF; }

/* quick buttons for the picked design: one glass toolbar, plain buttons inside (concentric corners) */
:root[data-look=glass] body.wiz .qbar{ gap:2px; padding:5px; border-radius:26px; }
:root[data-look=glass] body.wiz .qbar button{ border-radius:21px; background:none; }
:root[data-look=glass] body.wiz .qbar button:active{ background:rgb(255 255 255 / .3); }
/* zoom button over the shirt photo: more frosted than the bars, since it sits on the product itself */
:root[data-look=glass] body.wiz .cztog{ border-radius:999px; --g-fill:var(--g-btn); }

/* glass grows a little and brightens under the finger, like iOS */
@media (prefers-reduced-motion:no-preference){
  :root[data-look=glass] :is(.mbar .btn.pri, .hacts .hbtn, .hacts .lang button, #loctabs button, body.wiz .qbar button, body.wiz .cztog, .stepline .psback, #sizes .opt, .gtc, body.wiz .szc, body.wiz .plc2, .rtool){
    transition:transform 260ms var(--m-spring), filter 200ms var(--m-spring); }
  :root[data-look=glass] :is(.mbar .btn.pri, .hacts .hbtn, .hacts .lang button, #loctabs button, body.wiz .qbar button, body.wiz .cztog, .stepline .psback, #sizes .opt, .gtc, body.wiz .szc, body.wiz .plc2, .rtool):active{ transform:scale(1.07); filter:brightness(1.08); }
}

/* accessibility settings on the phone */
@media (prefers-reduced-transparency:reduce){
  :root[data-look=glass] body.wiz::after, :root[data-look=glass]:has(body.wiz)::after{ display:none; }
  :root[data-look=glass] .top{ background:var(--bg); }
  :root:root:root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, #loctabs, body.wiz .qbar, body.wiz .cztog, .psmenu, .mmenu, .mpIn, .panel){ background:var(--surface); border-color:var(--border); -webkit-backdrop-filter:none; backdrop-filter:none; }
  :root:root:root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, #loctabs, body.wiz .qbar, body.wiz .cztog)::before{ background:var(--surface); -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; }
  :root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, #loctabs, body.wiz .qbar, body.wiz .cztog)::after{ display:none; }
  :root[data-look=glass] .mbar .btn.pri{ background:var(--accent); color:var(--on-accent); }
  :root[data-look=glass] body::before{ display:none; }
}
@media (prefers-contrast:more){
  :root[data-look=glass] body.wiz::after, :root[data-look=glass]:has(body.wiz)::after{ display:none; }
  :root[data-look=glass] .top{ background:var(--bg); }
  :root:root:root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, #loctabs, body.wiz .qbar, body.wiz .cztog, .psmenu, .mmenu, .mpIn, .panel){ background:var(--surface); -webkit-backdrop-filter:none; backdrop-filter:none; border:1.5px solid var(--text); box-shadow:none; }
  :root:root:root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, #loctabs, body.wiz .qbar, body.wiz .cztog)::before{ background:var(--surface); -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; }
  :root[data-look=glass] :is(.hacts, .stepline.ps, .mbar, #loctabs, body.wiz .qbar, body.wiz .cztog)::after{ display:none; }
  :root[data-look=glass] .mbar .btn.pri{ background:var(--accent); color:var(--on-accent); }
  :root[data-look=glass] body::before{ display:none; }
}


/* sideways (the Duo's screens, phones on their side): the header scrolls away, so the top scroll edge covers only the
   step bar; short screens get slimmer capsules so the shirt keeps its height */
@media (orientation:landscape){
  :root[data-look=glass]:has(body.wiz)::after{ height:72px; }
}
@media (orientation:landscape) and (max-height:500px){
  :root:root[data-look=glass]:not(.x){ --bar-h:72px; }
  :root[data-look=glass] .stepline.ps{ margin-top:2px; min-height:48px; padding:2px 6px 6px 4px; }
  :root[data-look=glass] .mbar{ bottom:calc(6px + env(safe-area-inset-bottom)); min-height:52px; padding:4px 4px 4px 16px; }
  :root[data-look=glass] .mbar .btn.pri{ min-height:44px; }
  :root[data-look=glass] body.wiz::after{ height:calc(52px + 22px + env(safe-area-inset-bottom)); }
  :root[data-look=glass]:has(body.wiz)::after{ height:58px; }
}

}
