/* Pebble's Day 0.1 (phase 1) styles. PLACEHOLDER LOOK: layout is final-ish (top bar, 5 pebble dots, scene ~55-60%, fixed card row), colours/art get restyled
   from the Designer's mockups in phase 3. All colours and sizes are tokens in :root; layout lives in the "layout" block only. No red anywhere. */
:root{font-family:ui-rounded,"SF Pro Rounded","Trebuchet MS",system-ui,-apple-system,sans-serif;
 --ink:#3b3a36;--bg:#f3ead8;--bg2:#efe2c9;--panel:rgba(255,255,255,.94);--shadow:0 6px 18px rgba(80,60,30,.16);--top:84px;
 --frame:#d8cbb0;--card:#fffaf0;--label:#f3ead8;--glow:#f5c76a;--glow2:rgba(245,199,106,.75);--sand:#e9c98f;--sand2:#c9a768;--dotedge:#a9a196;
 --go:#4e9b72;--go2:#2f6f4f;--goring:#f5c76a;--pill:#fff;--pillon:#f7d58f;
 --ch:clamp(150px,30dvh,330px);--ch4:clamp(250px,46dvh,560px);--cw:min(260px,calc(var(--ch)*.82));--gap:12px}
*{box-sizing:border-box}
html,body{margin:0;height:100%;overflow:hidden;overscroll-behavior:none}
body{height:100dvh;background:linear-gradient(var(--bg),var(--bg2));color:var(--ink);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
:focus-visible{outline:4px solid #2f6f7e;outline-offset:3px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:99}
/* shared top bar (Glow Trail) */
.topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;height:84px;position:relative;z-index:20}
.tools{display:flex;gap:8px}
.tool{width:68px;height:68px;border-radius:20px;border:0;background:var(--panel);box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;padding:4px;color:var(--ink)}
.tool small{font-size:.68rem;font-weight:800;margin-top:4px;white-space:nowrap}
.tool.home{width:84px;border:3px solid var(--sand2)}
.tool[aria-pressed=false]{opacity:.8}
@media (max-width:420px){.tools{gap:5px}.tool{width:62px}.tool.home{width:74px}}
@media (max-height:520px) and (orientation:landscape){.topbar{height:72px;padding:4px 10px}.tool{height:64px;width:64px}.tool.home{height:64px}:root{--top:72px}}
/* ---------- layout ---------- */
.stage{position:fixed;left:0;right:0;top:var(--top);bottom:0;outline:none;overflow:hidden;z-index:1;padding:0 10px calc(10px + env(safe-area-inset-bottom,0px))}
.screen{height:100%;display:flex;flex-direction:column;gap:8px;min-height:0}
.dots{flex:none;height:36px;display:flex;justify-content:center;align-items:center;gap:14px;pointer-events:none}
.dot{width:36px;height:24px;border-radius:50%;border:3px solid var(--dotedge);background:transparent;transition:background .5s,border-color .5s}
.dot.on{background:radial-gradient(circle at 40% 35%,#f8e6bd,var(--sand) 65%,var(--sand2));border-color:var(--sand2)}
.scene{flex:1 1 auto;min-height:0;position:relative;border-radius:24px;overflow:hidden;border:4px solid var(--frame);background:#fff}
.scene .bgsvg{position:absolute;inset:0;width:100%;height:100%;display:block}
.pebble,.calmfx{position:absolute;height:58%;aspect-ratio:1/1;left:50%;bottom:3%;transform:translateX(-50%);pointer-events:none}
.pebble svg,.calmfx svg{width:100%;height:100%;display:block;overflow:visible}
.phtag{position:absolute;top:6px;left:8px;font-size:.68rem;font-weight:700;padding:1px 6px;border:1.5px dashed #9b8a6e;border-radius:6px;background:rgba(255,255,255,.7);color:#6b5e48;pointer-events:none}
.choices{flex:none;height:var(--ch);display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,var(--cw)));grid-template-rows:minmax(0,1fr);justify-content:center;gap:var(--gap)}
.choices.g4{height:var(--ch4);grid-template-columns:repeat(2,minmax(0,min(260px,calc(var(--ch4)*.5 - 6px))));grid-template-rows:repeat(2,minmax(0,1fr))}
.card{position:relative;min-width:0;min-height:0;border-radius:22px;border:4px solid var(--frame);background:var(--card);display:flex;flex-direction:column;align-items:center;padding:6px 6px 8px;box-shadow:var(--shadow);transition:opacity .4s}
.card .pic{flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;pointer-events:none}
.card .pic svg{width:100%;height:100%;display:block}
.card .word{flex:none;font-weight:800;font-size:clamp(1rem,2.6dvh,1.5rem);background:var(--label);border-radius:999px;padding:2px 14px;margin-top:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.card .glowl{position:absolute;inset:-5px;border-radius:25px;box-shadow:0 0 0 6px var(--glow),0 0 26px 8px var(--glow2);opacity:0;transition:opacity .4s;pointer-events:none}
.card.glow .glowl{opacity:1}.card.flash .glowl{opacity:.75}.card.soft .glowl{opacity:.6}
.card.glow.pulse .glowl,.card.soft .glowl{animation:gpulse 1.8s ease-in-out infinite}
@keyframes gpulse{0%,100%{opacity:1}50%{opacity:.5}}
.card.faded{opacity:.42}
.card.hid{visibility:hidden}
.card.chosen{border-color:var(--sand2)}
/* ---------- Pebble motion ---------- */
.pebble.clue{animation:clue 1s ease-in-out 1}
@keyframes clue{0%,100%{transform:translateX(-50%) scale(1)}50%{transform:translateX(-50%) scale(1.07)}}
.pebble.hop{animation:hop .75s ease-in-out 2}
@keyframes hop{0%,100%{transform:translateX(-50%) translateY(0)}45%{transform:translateX(-50%) translateY(-14%)}}
.pebble[data-pose=scared] svg{animation:shake .25s ease-in-out 4}
@keyframes shake{0%,100%{transform:translateX(0)}50%{transform:translateX(2%)}}
.pebble[data-pose=happy] svg{animation:bounce 1.4s ease-in-out 2}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-3%)}}
/* moment key frame: .fa before, .fb after */
.scene .fa,.scene .fb{transition:opacity .5s}.scene .fb{opacity:0}.scene.f2 .fa{opacity:0}.scene.f2 .fb{opacity:1}
.scene .anim{transform-box:fill-box}
.scene .balloon{transition:transform 1.6s ease-in}.scene.f2 .balloon{transform:translate(30px,-280px)}
.scene .swing{transform-origin:50% 0;animation:swing 1.3s ease-in-out infinite alternate}@keyframes swing{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}
.scene.f2 .bubbles{animation:rise 2.4s ease-out 1 forwards}@keyframes rise{from{transform:translateY(40px);opacity:.3}to{transform:translateY(-10px);opacity:1}}
.scene .dog{transform-origin:50% 100%;transition:transform .4s}.scene.f2 .dog{transform:scale(1.06)}
.scene.soft .bgsvg{filter:saturate(.5) brightness(1.04);transition:filter 1s}
/* calm animations (3 s max, tap to skip) */
.fx{transform-box:fill-box;transform-origin:50% 50%}
.fx-pillow{animation:squeeze 1.5s ease-in-out 2}@keyframes squeeze{0%,100%{transform:scale(1,1)}50%{transform:scale(.86,1.06)}}
.fx-breath{animation:breath 3s ease-in-out 1}@keyframes breath{0%{transform:scale(.6)}50%{transform:scale(1.6)}100%{transform:scale(.6)}}
.fx-corner{animation:fadein .8s ease-out 1}@keyframes fadein{from{opacity:0}to{opacity:1}}
.fx-ball{animation:squish 1.5s ease-in-out 2}@keyframes squish{0%,100%{transform:scale(1,1)}50%{transform:scale(1.18,.78)}}
.fly{position:fixed;z-index:30;pointer-events:none;transition:transform .8s ease-in-out,opacity .4s}
.fly.peb{width:30px;height:20px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#f8e6bd,var(--sand) 65%,var(--sand2));border:2px solid var(--sand2)}
/* reward: stone skip + 3 ripples */
.stone{position:absolute;width:5%;aspect-ratio:3/2;border-radius:50%;background:#9da2a7;left:30%;bottom:16%;transition:left 1.4s linear,bottom 1.4s ease-out;z-index:2}
.stone.away{left:88%;bottom:12%}
.ripple{position:absolute;width:12%;aspect-ratio:3/1;border-radius:50%;border:3px solid #7fb6d0;opacity:0;transform:translate(-50%,50%) scale(.4);transition:opacity .5s,transform 1.2s}
.ripple.on{opacity:.9;transform:translate(-50%,50%) scale(1.3)}
/* ---------- main screen ---------- */
.screen.main .scene{flex:1 1 auto}
.mainctl{flex:none;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:4px}
.go{flex:none;display:inline-flex;align-items:center;justify-content:center;width:clamp(124px,22dvh,210px);height:clamp(124px,22dvh,210px);border-radius:50%;border:8px solid var(--goring);background:radial-gradient(circle at 40% 30%,#6bb88d,var(--go) 70%);box-shadow:0 8px 0 var(--go2),0 0 24px rgba(245,199,106,.45);padding:0;position:relative}
.go svg{width:42%;height:42%;fill:#fff;margin-left:6%}
.go:active{transform:translateY(4px);box-shadow:0 4px 0 var(--go2)}
.go::after{content:"";position:absolute;inset:-14px;border-radius:50%;box-shadow:0 0 0 5px rgba(245,199,106,.5);opacity:0;animation:gobreath 2.6s ease-in-out infinite;pointer-events:none}
@keyframes gobreath{50%{opacity:.9}}
.pills{display:flex;gap:14px;justify-content:center}
.pill{width:116px;height:72px;border-radius:36px;border:4px solid var(--frame);background:var(--pill);color:#6b5e48;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 4px 0 var(--frame)}
.pill svg{width:54px;height:44px}
.pill[aria-pressed=true]{background:var(--pillon);border-color:var(--sand2);color:#5a4210;box-shadow:0 4px 0 var(--sand2)}
.pill .tick{position:absolute;right:-6px;top:-8px;width:28px;height:28px;border-radius:50%;background:#fff;border:3px solid var(--go);display:none;align-items:center;justify-content:center}
.pill[aria-pressed=true] .tick{display:flex}
.pill small{position:absolute;left:-999px}
/* phones held sideways: scene left, cards / controls right (fit only; final landscape layout in phase 3) */
@media (max-height:520px) and (orientation:landscape){
 .screen{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px 12px}
 .dots{grid-column:1/-1;height:28px}.scene{grid-row:2;grid-column:1}
 .choices,.choices.g4{grid-row:2;grid-column:2;height:100%;align-self:stretch}
 .choices{--cw:200px}.mainctl{grid-row:2;grid-column:2;justify-content:center}}
/* reduced motion: no animations or tweens (frames still change) */
body.rm *,body.rm *::before,body.rm *::after{animation:none!important;transition:none!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
body.rm .pebble.clue,body.rm .pebble.hop{filter:drop-shadow(0 0 10px var(--glow))}
/* ---------- grown-up ---------- */
.overlay{position:fixed;inset:0;background:rgba(60,45,20,.5);display:grid;place-items:center;z-index:50;padding:12px}
.overlay[hidden]{display:none}
.overlay .card2{background:#fff;border-radius:24px;padding:20px;max-width:520px;width:100%;max-height:92vh;overflow:auto;color:var(--ink)}
.overlay h2{margin:.2em 0;font-size:1.5rem}
.row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.btn{min-height:64px;min-width:64px;padding:6px 20px;border-radius:999px;border:3px solid var(--go2);background:#fff;font-weight:800;font-size:1.1rem}
.btn.primary{background:var(--go2);color:#fff}
.set{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:60px;font-size:1.05rem;font-weight:700;border-bottom:1px solid #e6dccb}
.set input[type=checkbox]{width:34px;height:34px;flex:none}
.set select{font:inherit;min-height:48px;border-radius:12px;border:2px solid var(--go2);padding:4px 8px;max-width:60%}
.note{font-size:.95rem;font-weight:500;margin:.5em 0}
.hold{position:relative;overflow:hidden;width:100%;min-height:84px;margin:10px 0;font-size:1.3rem;touch-action:none;-webkit-user-select:none;user-select:none}
.holdfill{position:absolute;left:0;top:0;bottom:0;width:0;background:rgba(245,199,106,.5)}
.hold.holding .holdfill{width:100%;transition:width 3s linear}
.holdtxt{position:relative}
/* ---------- phase 2 ---------- */
.scene .fc{opacity:0;transition:opacity .6s}.scene.f3 .fa,.scene.f3 .fb{opacity:0}.scene.f3 .fc{opacity:1}
.scene .dim{transition:opacity 1.2s ease}/* soft dims only: nothing ever flashes */
.pebble.small,.zones.small{height:44%}
.face.grey{opacity:.5;transform:scale(.82);transform-box:fill-box;transform-origin:50% 50%}
.scene.kpulse .bgsvg{animation:kp 1s ease-in-out 1}@keyframes kp{50%{transform:scale(1.025)}}
.zones{position:absolute;height:58%;aspect-ratio:1/1;left:50%;bottom:3%;transform:translateX(-50%);pointer-events:none;z-index:3}
.zone{position:absolute;transform:translate(-50%,-50%);min-width:72px;min-height:72px;border-radius:50%;border:4px solid var(--glow);background:rgba(245,199,106,.22);box-shadow:0 0 18px 4px var(--glow2);padding:0;pointer-events:auto;opacity:.9}
.zone.glow{background:rgba(245,199,106,.45);animation:gpulse 1.4s ease-in-out infinite}
.zone.show{pointer-events:none;opacity:1;animation:gpulse 1.8s ease-in-out 2}
.zone[data-z=calm]{border-color:#bcd9c4;box-shadow:0 0 14px 3px rgba(160,205,175,.7);background:rgba(190,225,200,.25)}
.screen.round.zoning .choices{display:none}
@media (max-height:500px){.zone{min-width:64px;min-height:64px}}
/* ---------- phase 3: production art (Designer, assets/art via art-prod.js) ---------- */
.scene.prod{background:#f4ecdc}
.scene.prod .sq{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:100%;aspect-ratio:1/1}
.scene.prod .fr{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .3s ease}
.scene.prod .fr.plate,.scene.prod .fr.f2.steady{opacity:1;transition:none}/* m11: steady window light, no flash, no crossfade */
.scene.prod:not(.f2):not(.f3) .fr.f1{opacity:1}.scene.prod.f2:not(.f3) .fr.f2{opacity:1}.scene.prod.f3 .fr.f3{opacity:1}
.scene.prod.f3 .fr.f2.steady{opacity:0}
.scene.prod[data-f="1"] .fr.r1,.scene.prod[data-f="2"] .fr.r2,.scene.prod[data-f="3"] .fr.r3{opacity:1}
.scene.prod[data-f] .fr{transition:opacity .45s ease}
.pebble.pp{position:absolute;height:auto;aspect-ratio:auto;bottom:auto;transform:none;transform-origin:50% 92%;z-index:2}
.pebble.pp .pimg{width:100%;height:100%;display:block}
.pebble.pp.grey .pimg{filter:grayscale(.55) contrast(.88) brightness(1.04)}/* PLACEHOLDER: H5 face smaller + greyed (no art yet) */
.pebble.pp.clue{animation:clueP 1s ease-in-out 1}@keyframes clueP{50%{transform:scale(1.06)}}
.pebble.pp.hop{animation:hopP .75s ease-in-out 2}@keyframes hopP{45%{transform:translateY(-8%)}}
.pebble.pp[data-pose=scared] svg,.pebble.pp[data-pose=happy] svg{animation:none}
.scene.prod.kpulse .sq{animation:kp 1s ease-in-out 1}
.zones.pz{position:absolute;height:auto;aspect-ratio:auto;bottom:auto;transform:none;z-index:3}
.zones.pz .zg{position:absolute;inset:0;width:100%;height:100%;opacity:.95;pointer-events:none}
.zones.pz .zg.glow,.zones.pz .zg.show{animation:gpulse 1.4s ease-in-out infinite}
.zone.art{border-color:transparent;background:transparent;box-shadow:none}
.zone.art.glow{background:transparent}
.zone.ph{border:4px dashed var(--glow);background:rgba(245,199,106,.18)}/* PLACEHOLDER head-top zone (no Designer glow yet) */
.calmk{position:absolute;inset:0;z-index:4;pointer-events:none}
.calmk .kf{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .5s ease}.calmk .kf.on{opacity:1}
/* cards: the art carries frame + glow halo; the word is SVG text in the label strip */
.card.prod{border:0;background:none;box-shadow:none;padding:0;overflow:visible}
.card.prod .glowl,.card.prod .word{display:none}
.card.prod .pic{position:absolute;inset:0}
.card.prod .cardart{width:100%;height:100%;overflow:visible}
.card.prod .cglow{opacity:0;transition:opacity .35s}
.card.prod.glow .cglow{opacity:1}.card.prod.flash .cglow{opacity:.8}.card.prod.soft .cglow{opacity:.7}
.card.prod.glow.pulse .cglow,.card.prod.soft .cglow{animation:gpulse 1.8s ease-in-out infinite}
.card.prod .cword{font-family:Nunito,ui-rounded,"SF Pro Rounded","Trebuchet MS",system-ui,sans-serif;font-weight:800;font-size:36px;fill:#4a4036}
.card.prod.chosen .cglow{opacity:1}
.fly svg{width:100%;height:100%;overflow:visible}
/* main screen: the Designer's nook background + Pebble, GO + pills art */
.screen.main.prod{position:relative}
.mainbg{position:absolute;inset:0 -10px calc(-10px - env(safe-area-inset-bottom,0px));z-index:0;pointer-events:none}
.mainbg svg{width:100%;height:100%;display:block}
.screen.main.prod>*:not(.mainbg){position:relative;z-index:1}
.screen.main.prod .mainsc{flex:1 1 auto;border:0;background:none;overflow:visible}
.mainsc .mpeb{position:absolute;left:50%;bottom:4%;transform:translateX(-50%);height:min(78%,330px);aspect-ratio:300/260;max-width:100%;object-fit:contain}
.go.prod{border:0;background:none;box-shadow:none}.go.prod img{width:100%;height:100%;display:block;pointer-events:none}.go.prod::after{inset:2px}
.go.prod:active{transform:translateY(3px);box-shadow:none}
.pill.prod{width:128px;height:64px;border:0;background:none;box-shadow:none;padding:0}.pill.prod .pillimg{width:100%;height:100%;display:block;pointer-events:none}.pill.prod .tick{display:none!important}
.prodart .dot{border:0;width:38px;height:28px;background:url(assets/art/dot-empty.svg) center/contain no-repeat}
.prodart .dot.on{background:url(assets/art/dot-filled.svg) center/contain no-repeat}
/* tablet 820x1180 (Designer mockups): scene 760 wide; Easy 2-up cards 330x359 with a 36 gap (feelings + calm); Hard rows of 196x213 cards edge to edge (the art margin is the gap) */
@media (min-width:700px) and (min-height:900px){
 .choices{height:359px;grid-template-columns:repeat(var(--n,2),minmax(0,330px));grid-template-rows:minmax(0,1fr);gap:36px}
 .choices.g4{height:213px;grid-template-columns:repeat(var(--n,4),minmax(0,196px));grid-template-rows:minmax(0,1fr);gap:0;width:100%;max-width:784px;padding:0 6px;box-sizing:border-box}/* 0.2.2: 4 calm cards fit 768 wide (were 4x196 = 784 px, last card off-screen) */
 .screen.round .scene{max-width:760px;width:100%;align-self:center}}

/* ---- 0.1.0-p4 (Behaviorist NO-GO fixes) ---- */
/* the square fades in once fitted (no slide, no blank panel, no half-cut Pebble) */
.scene.prod .sq{opacity:0;transition:opacity .35s ease}.scene.prod .sq.fit{opacity:1}
.scene.prod{margin-left:auto;margin-right:auto;align-self:center;width:100%}
/* card intro: the card being named lifts slightly; it never glows (no pre-glow except E1) */
.card.flash .glowl,.card.prod.flash .cglow{opacity:0}
.card.flash{transform:translateY(-4px);transition:transform .2s ease,opacity .4s}
/* calm frame 1 (per feeling) -> k2: short crossfade */
.calmk.f1x .kf.k1,.calmk.f1x .kf.k2{transition-duration:.25s}
/* calm/feeling rows centred in every layout (Hard calm row was left-aligned on desktop) */
.choices{justify-content:center;justify-items:stretch;margin-left:auto;margin-right:auto}
/* tablet/desktop landscape: Hard cards (3-4) in ONE row of the same height as the Easy row, so the scene keeps the same size across steps and the row is never cut at the bottom (1024x640, 1280x800) */
@media (orientation:landscape) and (min-height:521px){
 .choices,.choices.g4{height:min(30vh,250px);grid-template-rows:minmax(0,1fr);gap:14px;padding-bottom:6px;box-sizing:border-box}
 .choices{grid-template-columns:repeat(var(--n,2),minmax(0,210px))}
 .choices.g4{grid-template-columns:repeat(var(--n,4),minmax(0,210px))}}

/* ---- 0.1.0-p5 ---- */
/* wrong-tap clue on a composite scene: a soft brightness pulse. (p4: the kp scale keyframe replaced the square's translateX(-50%), so the scene jumped left = blank strip) */
.scene.prod.kpulse .sq{animation:kpf 1s ease-in-out 1}@keyframes kpf{50%{filter:brightness(1.08) saturate(1.1)}}
/* the card copy that floats to Pebble carries no label (the label no longer looks like it shrinks) */
.fly .cword{display:none}
/* reward: first frame at full strength at once (no fade-in from white) */
.scene.prod.reward .sq{opacity:1;transition:none}.scene.prod.reward[data-f="1"] .fr.r1{transition:none}

/* 0.2.2: main room background: tall art on phones, widened art (assets/ui/main-bg-wide.svg) from aspect 3:5 up, so tablets/landscape show the whole room, not a zoomed floor */
.mainbg .bgwide{display:none}
@media (min-aspect-ratio:3/5){.mainbg .bgtall{display:none}.mainbg .bgwide{display:block}}

/* 0.2.3: difficulty toggle shows the word under the icon (like the Color Turn / Stepping Stones mode buttons: bold word, clear pressed state); tap target >= 96 px */
.pill .pword{display:block;font-weight:900;font-size:1.15rem;line-height:1;color:#6b5e48;pointer-events:none}
.pill[aria-pressed=true] .pword{color:#5a4210}
.pill{flex-direction:column;gap:4px;min-width:116px;min-height:96px;height:auto;padding:8px 10px}
.pill.prod{width:136px;min-height:96px;height:96px;padding:4px 4px 8px;border-radius:24px}
.pill.prod .pillimg{width:112px;height:56px;flex:none}
.pill.prod[aria-pressed=true]{background:rgba(255,246,220,.85);box-shadow:0 0 0 3px var(--sand2)}
/* 0.2.3.1 (Compass): GO + Easy/Hard toggle sit >= 20 px above the bottom edge at every size, plus the iPad/iPhone home-bar inset */
.screen.main .mainctl{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
