/* Quality pass, build slice 1 (17 Nov 2026): the site kit from the approved design rounds (canvas v25, Brand System v17).
   Loaded LAST on every page, only when the build switch VIALO_KIT=1 is on (tools/kit_head.html marks <html data-kit>).
   Off on main until his go, so the nightly keeps building today's site. Everything here is scoped to html[data-kit].
   Covers: Buy colour (ivory in dark, ink in light), photo stage, header, bottom tabs, footer, pressed state (tap flash off),
   page cross-fade + bottle glide (view transitions). Perfume page layout, search, home etc. come in slices 2-8. */

html[data-kit]{
  --k-stage:#d9d5ce;--k-stage-p:#ccc8c1;
  --k-buy:#f6f3ee;--k-on-buy:#05060f;--k-buy-p:#e2ded7;
  --k-deep:#05060f;--k-green:#5fd394;
}
html[data-kit][data-theme=light]{
  --k-stage:#ebe7e0;--k-stage-p:#dedad3;
  --k-buy:#05060f;--k-on-buy:#f6f3ee;--k-buy-p:#23273d;
}

/* ---- pressed state: no browser tap flash anywhere; tappables sink to 97% in 90 ms and let go in 160 ms ---- */
html[data-kit],html[data-kit] *{-webkit-tap-highlight-color:transparent}
html[data-kit] a:active,html[data-kit] button:active{opacity:1}   /* was a 70% fade (next.css) */
html[data-kit] :is(button,.btn,.ico,.tabs a,.dnav a,.chips a,.pg-chip,.pg-buy,.cbuy,.al-buy,.vpgb,.heart,.vheart,.vown,.tabsw a,.mapcard,.banner){transition:transform .16s ease,background-color .16s ease,color .16s ease,filter .16s ease}
html[data-kit] :is(button,.btn,.ico,.tabs a,.chips a,.pg-chip,.pg-buy,.cbuy,.al-buy,.vpgb,.vheart,.vown,.tabsw a,.mapcard,.banner):active{transform:scale(.97);transition-duration:90ms}

/* ---- Buy: one colour everywhere, ivory on deep space, ink on ivory (his call 16 Nov). Campaign cards keep warm. ---- */
html[data-kit] :is(.btn.buy,.pg-buy,.cbuy,.al-buy){background:var(--k-buy) !important;color:var(--k-on-buy) !important;border-color:var(--k-buy) !important}
html[data-kit] :is(.btn.buy,.pg-buy,.cbuy,.al-buy):active{background:var(--k-buy-p) !important;border-color:var(--k-buy-p) !important}

/* ---- photo stage: one warm grey 4:5 frame, the white shop photo blended in, no card box ---- */
html[data-kit] .tile,html[data-kit] .vgrid .tile{background:var(--k-stage);padding:0;border-radius:8px;transition:background-color .16s ease,transform .16s ease}
html[data-kit] .tile img,html[data-kit] .vgrid .tile img{width:100%;height:auto;max-height:100%;mix-blend-mode:multiply}
html[data-kit] .card>a:active .tile{background:var(--k-stage-p);transform:scale(.97);transition-duration:90ms}
html[data-kit] .badge,html[data-kit] .vgrid .badge{background:var(--k-deep);color:var(--k-green);border:0;font:700 12px/16px var(--sans);padding:3px 6px;z-index:1}
html[data-kit][data-theme=light] .badge{color:#5fd394}
/* no box or lift around a card; the photo stays still */
html[data-kit] .card,html[data-kit] .vgrid .card{background:none !important;box-shadow:none !important;transform:none}
html[data-kit] .card:hover .tile img,html[data-kit] .vgrid .card:hover .tile img{transform:none}
@media (hover:hover) and (pointer:fine){html[data-kit] .card>a:hover .tile{background:var(--k-stage-p)}}
/* text on the page ground: name and house never cut (two lines each), price with tabular figures */
html[data-kit] .card .name,html[data-kit] .vgrid .name{font:500 15px/20px var(--sans);-webkit-line-clamp:2;padding-right:0}
html[data-kit] .card .house,html[data-kit] .vgrid .house{font:400 13px/18px var(--data,Inter,sans-serif);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;padding-right:0}
html[data-kit] .card .price,html[data-kit] .vgrid .price{font:700 17px/22px var(--sans);font-variant-numeric:tabular-nums}
html[data-kit] .card .sub,html[data-kit] .vgrid .sub{padding-right:0;display:block;white-space:normal;overflow:visible;text-overflow:clip}
html[data-kit] .card .sub .vd,html[data-kit] .vgrid .sub .vd{display:inline-block;margin-right:6px;vertical-align:1px}
/* heart on the stage, top right (the stage is light in both themes, so it is ink) */
html[data-kit] .card .heart,html[data-kit] .vgrid .heart,html[data-kit] .card:has(.sub) .heart,html[data-kit] .vgrid .card:has(.sub) .heart,html[data-kit] .card:not(:has(.sub)) .heart{top:2px;right:2px;bottom:auto;color:#05060f;z-index:1}
html[data-kit] .card .heart svg{width:20px;height:20px}
html[data-kit] :is(.card,.vgrid .card) .heart.on{color:#E5484D !important}   /* review 17 Nov: the :has() position rules above out-ranked the red */
html[data-kit] .card>a{position:relative}
html[data-kit] .card,html[data-kit] .vgrid .card{padding:0;margin:0}   /* rails too, so the heart sits on the stage */

/* perfume page bottle (layout itself = slice 2): the same stage */
html[data-kit] #tiltInner,html[data-kit] #tiltInnerP{background:var(--k-stage);border-radius:12px;overflow:hidden}
html[data-kit] #tiltInner img,html[data-kit] #tiltInnerP img{mix-blend-mode:multiply;box-shadow:none !important;border-radius:0 !important}
/* small bottle frames that were white (similar perfumes, cheaper per ml, search and shop rows) */
html[data-kit] [style*="background: var(--v-white)"]{background:var(--k-stage) !important}
html[data-kit] [style*="background: var(--v-white)"] img,html[data-kit] .sp-thumb img,html[data-kit] .sp-pic img,html[data-kit] .cimg img{mix-blend-mode:multiply}
html[data-kit] .sp-thumb,html[data-kit] .sp-pic,html[data-kit] .cimg,html[data-kit] .houses .c{background:var(--k-stage) !important}
html[data-kit] .houses .c img{mix-blend-mode:multiply}   /* 17 Nov (his find): the white photo showed as a rectangle inside the stage circle */

/* ---- header: 56 px, Orbit logo left, at most three 44 px icons right ---- */
html[data-kit] .top .bar{display:flex;align-items:center;gap:0;height:56px;padding:0 6px 0 16px}
html[data-kit] .top .bar .logo{justify-content:flex-start;margin-right:auto}
html[data-kit] .top .bar>.ico.l,html[data-kit] .top .ico.mode,html[data-kit] .top .title{display:none !important}
html[data-kit] .top .kicons{display:flex}
html[data-kit] .top .dicons{display:none !important}
/* the header search field opens from the search icon on phones and tablets; pages with their own field show no icon */
@media (max-width:1023px){
  html[data-kit] .top .searchrow{display:none}
  html[data-kit] body.ksearch .top .searchrow{display:block}
  html[data-kit] body:has(#pc-search,#hq) .top .ico.srch{display:none}
}
@media (min-width:1024px){
  html[data-kit] .top .bar{height:68px;padding:0 var(--gut);gap:var(--s6)}
  html[data-kit] .top .bar .logo{margin-right:0}
  html[data-kit] .top .dnav{display:flex;margin-right:auto}
  html[data-kit] .top .dnav a.on{box-shadow:none;color:var(--ink)}
  html[data-kit] body[data-page=perfume] .top .dnav a{color:var(--muted)}   /* no tab highlighted on a perfume page */
  html[data-kit] .top .ico.srch{display:none}
}
/* 768-1023: the phone tab bar is hidden there (chrome.css), so the text tabs stay; same look as desktop, no blue underline */
@media (min-width:768px) and (max-width:1023px){html[data-kit] .top .dnav{display:flex;margin-left:auto}html[data-kit] .top .dnav a.on{box-shadow:none;color:var(--ink)}html[data-kit] body[data-page=perfume] .top .dnav a{color:var(--muted)}}

/* ---- bottom tabs (phone): Home, Explore, Universe, Saved ---- */
html[data-kit] .tabs a{font:500 11px/14px var(--sans);gap:3px;color:var(--muted)}
html[data-kit] .tabs a.on{color:var(--ink)}
html[data-kit] .tabs a.on svg{fill:none}
html[data-kit] .tabs svg{width:22px;height:22px}

/* ---- footer on every page: logo, one trust line, five links ---- */
html[data-kit] .foot{display:flex;flex-direction:column;justify-content:flex-start;gap:16px;margin-top:48px;padding:24px var(--gut) 28px;font:400 14px/20px var(--data,Inter,sans-serif);color:var(--muted)}
html[data-kit] .foot .fl img{height:19px;width:auto;display:block}   /* same wordmark size as the header (his find 17 Nov) */
@media (min-width:768px){html[data-kit] .foot .fl img{height:22px}}
html[data-kit] .foot .ft{max-width:640px}
html[data-kit] .foot .fk{display:flex;flex-wrap:wrap;gap:0 24px}
@media (min-width:1024px){html[data-kit] .foot{margin-top:64px}}   /* spacing pass: the footer sits a full section gap below the page */
html[data-kit] .foot .fk a{color:var(--muted);text-decoration:none !important;font:400 14px/20px var(--data,Inter,sans-serif);min-height:44px;display:inline-flex;align-items:center;padding:0}
html[data-kit] .foot .fl{padding:0 !important;display:inline-block}   /* QA 18 Nov: the wordmark sat 8 px inside the gutter on phones */
@media (hover:hover){html[data-kit] .foot .fk a:hover{color:var(--ink)}}

/* ---- motion: quiet cross-fade between pages, the bottle glides from the card to the perfume stage ---- */
@view-transition{navigation:auto}
html[data-kit]::view-transition-old(root),html[data-kit]::view-transition-new(root){animation-duration:180ms;animation-timing-function:ease}
html[data-kit]::view-transition-group(bottle){animation-duration:180ms;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
@media (max-width:1023px){html[data-kit] #tiltInnerP img{view-transition-name:bottle}}   /* the phone body runs to 1023 px */
@media (min-width:1024px){html[data-kit] #tiltInner img{view-transition-name:bottle}}
@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  html[data-kit] :is(button,.btn,.ico,.tabs a,.chips a,.pg-chip,.pg-buy,.cbuy,.al-buy,.tile):active{transform:none}
}

/* ---- slice 3: search ---- */
/* One field everywhere (K2): 50 px, 3 px corners, icon left, focus = a 1.5 px ink edge, never a glow. Suggestions: bottle on the
   stage, name, house, "from" lowest price; Perfumes, then Houses (a house name typed puts the house first); "See all results"
   opens /search/ (R2-2). shell.js VN.ksAttach adds .kfield, the clear button and .kslist. */
html[data-kit] label.search.kfield{height:50px;gap:12px;padding:0 4px 0 14px;border:1px solid var(--line);border-radius:3px;background:var(--panel);color:var(--muted);box-shadow:none}
html[data-kit] label.search.kfield:focus-within{border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}
html[data-kit] label.search.kfield>svg{width:20px;height:20px;flex:none}
html[data-kit] label.search.kfield input{font:400 16px/20px var(--data);color:var(--ink);outline:0;-webkit-appearance:none;appearance:none}
html[data-kit] label.search.kfield input:focus-visible{outline:0}
html[data-kit] label.search.kfield input::-webkit-search-cancel-button,html[data-kit] label.search.kfield input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
html[data-kit] label.search.kfield input::placeholder{color:var(--muted)}
html[data-kit] .kclear{width:40px;height:40px;flex:none;display:grid;place-items:center;padding:0;border:0;background:none;color:var(--muted)}
html[data-kit] .kclear[hidden]{display:none}
html[data-kit] .hsearch .search.kfield{background:var(--panel)}
/* the list: page ground, hairline, rows 68 px; the row under the keys or the pointer sits on the panel colour */
html[data-kit] :is(#res,#hsug,#ssug).kslist{background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:4px 0;overflow:hidden auto;overscroll-behavior:contain;box-shadow:0 18px 40px rgba(0,0,0,.35)}
html[data-kit][data-theme=light] :is(#res,#hsug,#ssug).kslist{box-shadow:0 18px 40px rgba(5,6,15,.12)}
html[data-kit] :is(#res,#hsug,#ssug).kslist a{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:68px;padding:0 16px;border:0;color:var(--ink);text-decoration:none;background:none}
html[data-kit] :is(#res,#hsug,#ssug).kslist a.on{background:var(--panel)}
@media (hover:hover) and (pointer:fine){html[data-kit] :is(#res,#hsug,#ssug).kslist a:hover{background:var(--panel)}}
html[data-kit] .kslist .ksec{padding:16px 16px 4px;font:500 13px/18px var(--data);color:var(--muted)}
html[data-kit] .kslist .ksp{width:44px;flex:none;aspect-ratio:4/5;border-radius:4px;background:var(--k-stage);display:flex;align-items:center;overflow:hidden}
html[data-kit] .kslist .ksp img{width:100%;height:auto;display:block;mix-blend-mode:multiply}
html[data-kit] :is(.kslist,.khs) .ksn{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
html[data-kit] :is(.kslist,.khs) .ksn b{font:500 15px/20px var(--sans);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html[data-kit] :is(.kslist,.khs) .ksn small{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .kslist .ksr{display:flex;flex-direction:column;align-items:flex-end;flex:none;max-width:42%;text-align:right}
html[data-kit] .kslist .ksr small{font:400 12px/16px var(--data);color:var(--muted)}
html[data-kit] .kslist .ksr b{font:700 16px/20px var(--sans);font-variant-numeric:tabular-nums}
html[data-kit] .kslist .ksr .nosale{font-size:12px !important;line-height:16px}
html[data-kit] :is(#res,#hsug,#ssug).kslist a.ksh{min-height:56px}
html[data-kit] :is(.kslist,.khs) .ksi{width:44px;height:44px;flex:none;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font:500 14px/18px var(--sans);color:var(--ink)}
html[data-kit] :is(#res,#hsug,#ssug).kslist a.ksall{display:flex;min-height:44px;margin:8px 16px 12px;padding:12px 0;font:500 15px/20px var(--sans);text-decoration:underline;text-underline-offset:4px}
html[data-kit] :is(#res,#hsug,#ssug).kslist a.ksall.on{background:none;text-decoration-thickness:2px}
html[data-kit] .kslist .ksmsg{padding:16px 16px 4px;font:400 15px/20px var(--data);color:var(--muted)}
html[data-kit] .kslist .ksmsg b{font:500 15px/20px var(--sans);color:var(--ink)}
/* header field: 50 px in the bar; phones get Cancel next to it (K2) */
html[data-kit] .top #res{top:56px}
html[data-kit] .kcancel{display:none;height:44px;flex:none;padding:0 4px;border:0;background:none;color:var(--ink);font:500 15px/20px var(--sans)}
@media (max-width:1023px){
  html[data-kit] body.ksearch .top .searchrow{display:flex;align-items:center;gap:8px;padding-top:4px}
  html[data-kit] body.ksearch .top .searchrow>label{flex:1;min-width:0}
  html[data-kit] body.ksearch .kcancel{display:block}
  html[data-kit] .top #res{top:62px;max-height:calc(100dvh - 150px)}
}
@media (min-width:1024px){html[data-kit] .top .searchrow{top:9px}}
/* the search page has its own field: no header field or search icon there */
html[data-kit] body[data-page=search] .top .searchrow,html[data-kit] body[data-page=search] .top .ico.srch{display:none !important}

/* ---- search results page (R2-2): best match with its prices at every shop, more with this name, houses ---- */
html[data-kit] .ksr{padding-top:12px;max-width:880px}
html[data-kit] #sform{position:relative;display:block;margin:0}
html[data-kit] #ssug{display:none;position:absolute;left:0;right:0;top:56px;z-index:30;max-height:min(70dvh,560px)}
html[data-kit] .ksr .micro2{display:block;margin:24px 0 12px;font:500 13px/18px var(--data);color:var(--muted)}
html[data-kit] .ksr .ksub{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .kbest{display:flex;gap:16px;color:inherit;text-decoration:none}
html[data-kit] .kstage{width:120px;flex:none;aspect-ratio:4/5;border-radius:8px;background:var(--k-stage);display:flex;align-items:center;overflow:hidden;transition:background-color .16s ease,transform .16s ease}
html[data-kit] .kstage img{width:100%;height:auto;display:block;mix-blend-mode:multiply}
html[data-kit] .kbest:active .kstage{background:var(--k-stage-p);transform:scale(.97);transition-duration:90ms}
html[data-kit] .kbt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding-top:4px}
html[data-kit] .kbt .kbn{font:500 22px/28px var(--sans);color:var(--ink)}
html[data-kit] .kbt .kfrom{margin-top:8px}
html[data-kit] .kbt .kbp{font:700 22px/26px var(--sans);font-variant-numeric:tabular-nums;color:var(--ink)}
html[data-kit] .kdot{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 6px 0 2px;vertical-align:0}
html[data-kit] .kshops{display:flex;flex-direction:column;margin-top:16px}
html[data-kit] .kshop{display:flex;align-items:center;height:40px;border-top:1px solid var(--line)}
html[data-kit] .kshop .klogo{width:84px;flex:none;display:flex;align-items:center;font:500 14px/18px var(--sans)}
html[data-kit] .kshop .klogo img{height:13px;width:auto;display:block}
html[data-kit][data-theme=light] .kshop .klogo img{filter:brightness(0)}
html[data-kit] .kshop .ksub{flex:1}
html[data-kit] .kshop b{font:700 16px/22px var(--sans);font-variant-numeric:tabular-nums}
html[data-kit] .kpulse,html[data-kit] .ksr-skel span{background:var(--panel);animation:kpulse 1.6s ease-in-out infinite}
html[data-kit] .kshop.kpulse{border-top-color:transparent;margin-top:1px;border-radius:3px}
html[data-kit] .ksr-skel{display:flex;flex-direction:column;gap:12px;margin-top:32px}
html[data-kit] .ksr-skel span{display:block;height:150px;border-radius:8px}
html[data-kit] .ksr-skel span+span{height:40px;border-radius:3px}
@keyframes kpulse{0%,100%{opacity:.55}50%{opacity:1}}
html[data-kit] .khd{display:flex;justify-content:space-between;align-items:baseline;margin:40px 0 16px}
html[data-kit] .kh2{margin:0;font:500 22px/28px var(--sans);color:var(--ink)}
html[data-kit] .ksr>#sout>.kh2,html[data-kit] #sout>.kh2{margin:40px 0 16px}
html[data-kit] .khs{display:flex;flex-direction:column;border-top:1px solid var(--line)}
html[data-kit] .khr{display:flex;align-items:center;gap:12px;min-height:56px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
html[data-kit] .kh1{margin:24px 0 8px;font:400 28px/34px var(--sans);letter-spacing:-.01em;color:var(--ink)}
@media (min-width:768px){html[data-kit] .kh1{font-size:34px;line-height:40px}}
html[data-kit] .kmore,html[data-kit] .kempty{margin:24px 0 16px;font:400 15px/22px var(--data);color:var(--muted);max-width:560px}
html[data-kit] .klinks{display:flex;flex-wrap:wrap;gap:8px}
html[data-kit] .kbtn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 16px;border:1px solid var(--line);border-radius:3px;background:none;color:var(--ink);font:500 15px/20px var(--sans);text-decoration:none}
html[data-kit] .kmorebtn{display:flex;margin:24px auto 0}
html[data-kit] .kerr{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding:12px 16px;border:1px solid var(--line);border-radius:3px;font:400 15px/20px var(--data);color:var(--muted)}
@media (prefers-reduced-motion:reduce){html[data-kit] .kpulse,html[data-kit] .ksr-skel span{animation:none}html[data-kit] .kbest:active .kstage{transform:none}}
html[data-kit] .kcomp{display:flex;width:100%;margin-top:16px}
html[data-kit] .kshops:empty{display:none}

/* 17 Nov (spacing pass finding): at 1024-1279 the header search field sat over the "Saved" tab. There it becomes the search
   icon (as on phones) and opens as a row under the bar; from 1280 the field sits in the bar as before. */
@media (min-width:1024px) and (max-width:1279px){
  html[data-kit] .top .searchrow{display:none;position:static;left:auto;top:auto;width:auto;transform:none;max-width:var(--max);margin:0 auto;padding:0 var(--gut) var(--s3)}
  html[data-kit] body.ksearch .top .searchrow{display:block}
  html[data-kit] .top .ico.srch{display:flex}
  html[data-kit] body:has(#pc-search,#hq) .top .ico.srch{display:none}
}

/* ---- slice 4: home ---- */
/* Board 3A, one idea per screen: one search, one real moment (one bottle at three shops, real prices from next-home*.json
   "moment"), deals (Black Friday while it runs), the Universe window. Built by the slice 4 script in landing/index.html. */
html.khs[data-kit] body[data-page=home] :is(#bfhome,.hero.live,#rows){display:none !important}
html.khs[data-kit] body[data-page=home] .top .searchrow{display:none !important}   /* one search on home: the page's own */
/* flicker fix: the sticky header and the phone tabs pass over the live particle stage; a backdrop blur there is redrawn every
   frame of the stage (and flickers over a WebGL frame in WebKit). Home gets the same colour without the blur. */
html.khs[data-kit] body[data-page=home] :is(.top,.tabs){-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(5,6,15,.97)}
html.khs[data-kit][data-theme=light] body[data-page=home] .top{background:rgba(246,243,238,.97)}
html.khs[data-kit][data-theme=light] body[data-page=home] .tabs{background:rgba(255,255,255,.97)}
html[data-kit] .kh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html[data-kit] .kh .k-lbl{display:block;font:500 13px/18px var(--data);letter-spacing:0;text-transform:none;color:var(--muted)}
/* the first screen's dust: one canvas behind the content (drawn once), the whole layer drifts slowly; dark only */
html[data-kit] .kh{position:relative;isolation:isolate}
html[data-kit] .kh-fd{position:absolute;z-index:-1;top:-30px;left:calc(50% - 50vw - 30px);width:calc(100vw + 60px);pointer-events:none;animation:khfdrift 46s ease-in-out infinite alternate;will-change:transform}
@keyframes khfdrift{from{transform:translate3d(0,0,0)}to{transform:translate3d(18px,-24px,0)}}
html[data-kit][data-theme=light] .kh-fd{display:none}
@media (prefers-reduced-motion:reduce){html[data-kit] .kh-fd{animation:none}}
/* 1 search */
html[data-kit] .kh-s{padding:4px 0 0}
html[data-kit] .kh-s .hsearch{margin:0;display:block}
html[data-kit] .kh-s #hgo{display:none}
html[data-kit] .kh-s .search.kfield{background:var(--panel)}
/* 2 the moment (board R4-H1 option A, his pick 17 Nov): phone = a 200 px band, title left and the small particle bottle
   right, then the photo and the rows side by side on clean ground; desktop = content column left (max 720 px), the live
   particle stage right, its bottle about 80% of the first screen's height */
/* 18 Nov: Black Friday as the focal point of the home while it runs: big title, one line, the Buy-colour button, then the row */
html[data-kit] .bfhome.bfx-on{min-height:0}
/* speed check 18 Nov: the hero jumped down when the Black Friday block and the moving row arrived (layout shift 0.09 on
   desktop, 0.14 on a slow phone). The empty block now holds their measured height (block + row + its 8 px gap) from the start. */
html[data-kit] body[data-page=home] .bfhome.reserve{min-height:629px}
@media (min-width:768px){html[data-kit] body[data-page=home] .bfhome.reserve{min-height:737px}}
@media (min-width:1024px){html[data-kit] body[data-page=home] .bfhome.reserve{min-height:780px}}
html[data-kit] .bfx{display:flex;flex-direction:column;gap:20px;padding:32px 0 24px}
html[data-kit] .bfx-l{display:block;font:500 13px/18px var(--data);color:var(--muted)}
html[data-kit] .bfx h2{margin:4px 0 8px;font:500 56px/56px var(--sans);letter-spacing:-.03em;color:var(--ink)}
html[data-kit] .bfx p{margin:0;font:400 16px/24px var(--data);color:var(--ink-2,var(--ink))}
html[data-kit] .bfx-b{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;margin-top:20px;height:52px;padding:0 24px;border-radius:3px;background:var(--k-buy);color:var(--k-on-buy);font:500 16px/20px var(--sans);text-decoration:none}
html[data-kit] .bfx-b:active{background:var(--k-buy-p);transform:scale(.98)}
@media (min-width:768px){html[data-kit] .bfx{padding:56px 0 32px}html[data-kit] .bfx-b{margin-top:24px}
  html[data-kit] .bfx h2{font-size:104px;line-height:96px;margin:8px 0 16px}html[data-kit] .bfx p{font-size:18px;line-height:26px}}
@media (min-width:1440px){html[data-kit] .bfx h2{font-size:136px;line-height:120px}}
/* 18 Nov: the moment as one section of the old home (no particle stage beside it) */
/* the moving row of shops and facts on the home (his ask 18 Nov) */
html[data-kit] .kstrip{position:relative;overflow:hidden;margin:8px calc(50% - 50vw) 0;width:100vw;max-width:100vw;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%)}
html[data-kit] .kst-t{display:flex;width:max-content;animation:kstmove 60s linear infinite}
html[data-kit] .kstrip:hover .kst-t,html[data-kit] .kstrip:focus-within .kst-t{animation-play-state:paused}
html[data-kit] .kst-g{display:flex;align-items:center;flex:none;height:56px}
html[data-kit] .kst-s{display:inline-flex;align-items:center;height:44px;padding:0 4px;flex:none}
html[data-kit] .kst-s img{display:block;height:14px;width:auto;opacity:.92}
html[data-kit][data-theme=light] .kst-s img{filter:brightness(0)}
html[data-kit] .kst-s b{font:700 14px/18px var(--sans);color:var(--ink)}
html[data-kit] .kst-s:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:3px}
html[data-kit] .kst-f{flex:none;display:inline-flex;align-items:center;gap:.3em;min-height:44px;font:400 14px/20px var(--data);color:var(--muted);white-space:nowrap}
html[data-kit] a.kst-f{text-decoration:none}html[data-kit] .kst-f b{font:500 15px/20px var(--sans);color:var(--ink)}html[data-kit] .kst-f b.g{color:var(--green)}
html[data-kit] a.kst-f:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:3px}
@media (hover:hover) and (pointer:fine){html[data-kit] a.kst-f:hover{color:var(--ink)}}
@media (min-width:1024px){html[data-kit] .kst-f b{font-size:17px}}
html[data-kit] .kst-d{flex:none;width:4px;height:4px;margin:0 28px;border-radius:50%;background:var(--line)}
@keyframes kstmove{to{transform:translateX(-50%)}}
@media (hover:hover) and (pointer:fine){html[data-kit] .kst-s:hover img{opacity:1}}
@media (min-width:1024px){html[data-kit] .kst-g{height:64px}html[data-kit] .kst-s img{height:16px}html[data-kit] .kst-f{font-size:15px}html[data-kit] .kst-d{margin:0 36px}}
@media (prefers-reduced-motion:reduce){html[data-kit] .kst-t{animation:none;width:auto;justify-content:center}html[data-kit] .kst-g{flex-wrap:wrap;justify-content:center;height:auto;padding:12px 16px;row-gap:4px}
  html[data-kit] .kst-g[aria-hidden]{display:none}html[data-kit] .kstrip{-webkit-mask-image:none;mask-image:none}}
html[data-kit] .khc-m{padding:40px 0 8px}
html[data-kit] .khc-m .km-hd{min-height:0;padding-right:0;margin-bottom:16px}
/* his note 18 Nov: the right half was empty on desktop. From 1280 px a second bottle sits beside the first (another house, the pick of a coming day); below that only the first shows. */
html[data-kit] .khc-two .khc-2{display:none}
@media (min-width:1280px){html[data-kit] .khc-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px}
  html[data-kit] .khc-two .khc-2{display:block}
  html[data-kit] .khc-two .km-t{font-size:32px;line-height:38px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  html[data-kit] .khc-two .km-body{gap:24px}html[data-kit] .khc-two .km-stage{width:220px;height:275px;padding:20px}
  html[data-kit] .khc-two .km-side{width:auto;flex:1;min-width:0}}
@media (min-width:1024px){html[data-kit] .khc-m{padding:64px 0 16px}html[data-kit] .khc-m .km-hd{margin-bottom:24px}}
html[data-kit] .kh-top{position:relative}
html[data-kit] .kh-col{position:relative;z-index:1}
html[data-kit] .kh-m{padding-top:24px}
html[data-kit] .kh-m.reserve{min-height:560px}
html[data-kit] .km-hd{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:200px;box-sizing:border-box;padding-right:calc(50% + 8px)}
html[data-kit] .km-t{margin:0;font:400 24px/30px var(--sans);letter-spacing:-.01em}
/* the stage holds only the bottle (text never sits on a stage, except the perfume-page breadcrumb); the bottle keeps a margin */
html[data-kit] .km-stage{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:8px;background:var(--k-stage);overflow:hidden}
html[data-kit] .km-stage img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;mix-blend-mode:multiply;display:block}
html[data-kit] .km-stage:active{background:var(--k-stage-p)}
html[data-kit] .km-h{display:block;margin-top:8px;font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .km-body{display:grid;grid-template-columns:132px minmax(0,1fr);column-gap:12px;align-items:start}
html[data-kit] .km-side{display:contents}
html[data-kit] .km-pic{grid-column:1;grid-row:1}
html[data-kit] .km-stage{width:132px;height:165px;padding:10px}
html[data-kit] .km-rows{grid-column:2;grid-row:1;display:flex;flex-direction:column;border-top:1px solid var(--line)}
html[data-kit] .km-save{grid-column:1 / -1}
html[data-kit] .km-ship{grid-column:1 / -1}
html[data-kit] .km-row{display:flex;align-items:center;height:52px;border-bottom:1px solid var(--line)}
html[data-kit] .km-logo{width:76px;flex:none;display:flex;align-items:center}
html[data-kit] .km-logo img{width:64px;height:auto;display:block}
html[data-kit] .km-logo b{font:700 13px/16px var(--sans)}
html[data-kit][data-theme=light] .km-logo img{filter:brightness(0)}
html[data-kit] .km-n{flex:1;min-width:0;font:500 12px/16px var(--data);color:var(--muted)}
html[data-kit] .km-n.lo{color:var(--green)}
html[data-kit] .km-p{font:700 17px/24px var(--sans);font-variant-numeric:tabular-nums}
html[data-kit] .km-save{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}
html[data-kit] .km-sl{font:500 17px/24px var(--sans)}
html[data-kit] .km-sv{color:var(--green);font-weight:700;font-variant-numeric:tabular-nums}
html[data-kit] .km-cmp{flex:none;padding:12px 0;min-height:44px;box-sizing:border-box;font:500 15px/20px var(--sans);text-decoration:underline;text-underline-offset:4px}
html[data-kit] .km-ship{margin:0;font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .kh-msg{margin:0;padding:24px 0;font:400 15px/22px var(--data);color:var(--muted)}
/* the live stage box: phone = right half of the 200 px band (search 54 px + 24 px above it); the still first, then the stage */
html[data-kit] .kh-pstage{position:absolute;z-index:0;top:78px;right:calc(var(--gut) * -1);width:calc(50% + var(--gut) - 8px);height:200px;overflow:hidden;contain:layout paint;pointer-events:none}
/* mix 2 "Scene" (his pick 17 Nov): today's hero backdrop (d3.jpg) behind the transparent stage, its horizon arc with the violet
   glow near the bottom of the box (the image is 118% of the box height, so its arc sits at about 86%); its left side fades into
   the page ground, and the stage itself fades in over its first 64 px, so the box has no edge */
html[data-kit] .kh-pstage::before{content:"";position:absolute;inset:0;z-index:-1;background:url(/next/bg/d3.jpg) 62% 0 / auto 118% no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent,#000 min(160px,40%)),linear-gradient(180deg,#000 80%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 min(160px,40%)),linear-gradient(180deg,#000 80%,transparent);mask-composite:intersect;pointer-events:none}
html[data-kit] .kh-pstage .kh-uf{-webkit-mask-image:linear-gradient(90deg,transparent,#000 64px);mask-image:linear-gradient(90deg,transparent,#000 64px)}
html[data-kit] .kh-pstage .kh-uf{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;opacity:0;transition:opacity 1.2s ease}
html[data-kit] .kh-pstage.ready .kh-uf{opacity:1}
/* the still: the stage's own small generic bottle where the stage draws it (centre, 60% of the box height), edges faded,
   breathing until the live one takes over */
html[data-kit] .kh-up{position:absolute;inset:0;z-index:0;transition:opacity .8s ease}
html[data-kit] .kh-up[hidden]{display:none}
html[data-kit] .kh-pstage.ready .kh-up{opacity:0}
html[data-kit] .kh-up img{position:absolute;left:50%;top:50.7%;height:60%;width:auto;aspect-ratio:1;translate:-50% -50%;display:block;-webkit-mask-image:radial-gradient(closest-side,#000 62%,transparent);mask-image:radial-gradient(closest-side,#000 62%,transparent);animation:khbreath 3.2s ease-in-out infinite alternate}
html[data-kit] .kh-upd{display:none !important}
@keyframes khbreath{from{transform:scale(1);opacity:.82}to{transform:scale(1.03);opacity:1}}
/* light mode (his review 17 Nov): the stage draws for ivory (?light=1, as the live home's hero), straight on the page ground:
   no dark panel, no box edge. The d3 backdrop (a dark sky) is left out; in its place a faint warm haze and a soft ink horizon
   arc, both fading out to the left like the dark one. */
html[data-kit][data-theme=light] .kh-pstage::before{background:radial-gradient(ellipse 60% 45% at 62% 88%,rgba(243,180,124,.22),rgba(243,180,124,0) 70%)}
html[data-kit][data-theme=light] .kh-pstage::after{content:"";position:absolute;z-index:-1;left:-40%;width:180%;top:86%;height:70%;border-radius:50%;border-top:1.5px solid rgba(63,79,224,.32);box-shadow:0 -6px 24px -10px rgba(123,63,224,.25);pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent 22%,#000 40%);mask-image:linear-gradient(90deg,transparent 22%,#000 40%)}
/* 3 deals: the kit cards in the rail; labels in sentence case, never spaced capitals */
html[data-kit] .kh-d{padding-top:28px}
html[data-kit] .kh-d.reserve{min-height:445px}
html[data-kit] .kh-d .hd{margin:24px 0 16px;align-items:flex-end}
html[data-kit] .kh-d .hd h2{font:500 28px/34px var(--sans);letter-spacing:-.01em}
html[data-kit] .kh-d .hd .k-lbl{margin-bottom:4px}
html[data-kit] .kh-d .hd a{font:500 15px/20px var(--sans);color:var(--ink);text-decoration:underline;text-underline-offset:4px}
/* 5 more rails below the Universe window: Popular right now, New in */
html[data-kit] .kh-r{padding-top:16px}
html[data-kit] .kh-r .hd{margin:32px 0 16px;align-items:flex-end}
html[data-kit] .kh-r .hd h2{font:500 28px/34px var(--sans);letter-spacing:-.01em}
html[data-kit] .kh-r .hd .k-lbl{margin-bottom:4px}
html[data-kit] .kh-r .hd a{font:500 15px/20px var(--sans);color:var(--ink);text-decoration:underline;text-underline-offset:4px}
@media (min-width:768px){html[data-kit] .kh-r{padding-top:32px}html[data-kit] .kh-r .hd h2{font-size:32px;line-height:38px}}
/* 4 the Universe window: a still of the universe and the link (the one live stage is on the first screen); dark in both
   themes, dust on its dark ground only */
html[data-kit] .kh-u{padding-top:56px}
html[data-kit] .kh-uw{position:relative;height:500px;margin:0 calc(var(--gut) * -1);background:#05060f;border-top:1px solid #1e2447;border-bottom:1px solid #1e2447;overflow:hidden;isolation:isolate;contain:layout paint}
html[data-kit] .kh-uwp{position:absolute;left:0;top:0;width:100%;height:340px;object-fit:cover;pointer-events:none}
html[data-kit] .kh-dust{position:absolute;inset:-30px;pointer-events:none;z-index:1;animation:khdrift 40s ease-in-out infinite alternate}
html[data-kit] .kh-dust i{position:absolute;aspect-ratio:1;border-radius:50%;background:#e7e7ea}
@keyframes khdrift{from{transform:translate3d(0,0,0)}to{transform:translate3d(14px,-26px,0)}}
html[data-kit][data-theme=light] .kh-dust{display:none}
html[data-kit] .kh-ut{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;flex-direction:column;gap:8px;padding:24px var(--gut);background:linear-gradient(180deg,rgba(5,6,15,0),#05060f 36px)}
html[data-kit] .kh-uh{margin:0;max-width:260px;font:400 28px/34px var(--sans);letter-spacing:-.01em;color:#f6f3ee}
html[data-kit] .kh-uh i{font-style:italic;color:#9b5cff}
html[data-kit] .kh-ut p{margin:0;max-width:320px;font:400 15px/22px var(--data);color:#e7e7ea}
html[data-kit] .kh-ul{align-self:flex-start;margin-top:6px;min-height:44px;display:inline-flex;align-items:center;font:500 16px/20px var(--sans);color:#f6f3ee;text-decoration:underline;text-underline-offset:4px}
html[data-kit] .kh-ul::after{content:"";position:absolute;inset:0}   /* the whole window opens the universe */
html[data-kit] .kh-ul:focus-visible{outline:2px solid #f6f3ee;outline-offset:3px}
@media (prefers-reduced-motion:reduce){html[data-kit] .kh-dust,html[data-kit] .kh-up img{animation:none}html[data-kit] .kh-uf{display:none}}
@media (min-width:768px){
  html[data-kit] .kh-d.reserve{min-height:490px}
  html[data-kit] .kh-d{padding-top:48px}
  html[data-kit] .kh-d .hd h2{font-size:32px;line-height:38px}
  html[data-kit] .kh-u{padding-top:72px}
  html[data-kit] .kh-uw{height:560px;margin:0;border:1px solid #1e2447;border-radius:8px}
  html[data-kit] .kh-uwp{height:100%}
  html[data-kit] .kh-ut{top:0;right:auto;width:min(520px,46%);justify-content:center;padding:48px;background:linear-gradient(90deg,#05060f 40%,rgba(5,6,15,0))}
  html[data-kit] .kh-uh{max-width:none;font-size:44px;line-height:50px}
  html[data-kit] .kh-ut p{font-size:17px;line-height:26px;max-width:380px}
}
/* desktop: the first screen fills the window under the header; the content column keeps 720 px on the left, the extra width
   goes to the stage (wider screens get fuller, not emptier) */
@media (min-width:1024px){
  /* his review 17 Nov: the first screen ends about 96 px above the window's bottom so the Black Friday title starts on it,
     the content column sits in its middle (no empty quarter), and the particle bottle is 25-30% smaller (?ks=0.6) */
  html[data-kit] .kh-top{min-height:clamp(600px,calc(100vh - 164px),780px);display:flex;align-items:flex-start}
  /* centred by a fixed top padding (the block is about 610 px tall), not by flex centring, so filling it never moves it */
  html[data-kit] .kh-col{width:100%;max-width:720px;padding-bottom:16px;padding-top:max(0px,calc((clamp(600px,calc(100vh - 164px),780px) - 610px) / 2))}
  html[data-kit] .kh-pstage .kh-up img{height:45%}
  html[data-kit] .kh-s{max-width:560px;padding-top:32px}
  html[data-kit] .kh-m{padding-top:40px}
  html[data-kit] .kh-m.reserve{min-height:496px}
  html[data-kit] .km-hd{min-height:0;padding-right:0;margin-bottom:24px}
  html[data-kit] .km-t{font-size:40px;line-height:44px;letter-spacing:-.015em}
  html[data-kit] .km-body{display:flex;gap:32px;align-items:flex-start}
  html[data-kit] .km-side{display:flex;flex-direction:column;gap:16px;width:400px}
  html[data-kit] .km-stage{width:272px;height:340px;padding:28px}
  html[data-kit] .km-row{height:64px}
  html[data-kit] .km-logo{width:92px}
  html[data-kit] .km-logo img{width:76px}
  html[data-kit] .km-n{font-size:13px;line-height:18px}
  html[data-kit] .km-p{font-size:20px;line-height:24px}
  html[data-kit] .km-save{margin-top:0}
  html[data-kit] .km-sl{font-size:18px;line-height:24px}
  html[data-kit] .kh-pstage{top:0;bottom:0;height:auto;left:min(760px,58%);right:calc(50% - 50vw);width:auto}
  html[data-kit] .kh-pstage .kh-upp{display:none !important}
  html[data-kit] .kh-pstage .kh-upd{display:block !important}
  html[data-kit][data-theme=light] .kh-pstage{background:none}
  html[data-kit] .kh-d{padding-top:8px}
  html[data-kit] .kh-uh{font-size:56px;line-height:62px}
}

/* ---- slice 5: shopping pages ---- */
/* Catalogue + deals views (R2-1), Black Friday (R2-3), house + Houses A to Z (R2-4), shops + shop page (R2-5), compare (R2-6).
   Shared parts here; page layouts live in styles.css (build_pages.py KIT_SHOP_CSS). All k- classes, only on kit pages (.kl). */
/* the page column: 16 px on phones; on desktop the content starts at the header's own left edge (as the perfume page) */
@media (max-width:1023px){html[data-kit] body:has(.kl) .desktopCat>div{padding-left:16px !important;padding-right:16px !important}}
@media (min-width:1024px){html[data-kit] .kl{--kl-in:calc(max(0px,(100% + 128px - var(--max,1320px)) / 2) + var(--gut,28px) - 64px);margin-left:var(--kl-in);margin-right:var(--kl-in)}}
html[data-kit] .kl{display:flex;flex-direction:column;gap:16px;padding-top:8px}
/* the catalogue has its own field (R2-1): no second one in the header, at any width */
html[data-kit] body:has(#kcat) .top .searchrow,html[data-kit] body:has(#kcat) .top .ico.srch{display:none !important}
html[data-kit] .kcrumb{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .kcrumb a{display:inline-block;padding:8px 0;color:var(--muted);text-decoration:none}
@media (hover:hover){html[data-kit] .kcrumb a:hover{color:var(--ink)}}
html[data-kit] .kmicro{margin:0;font:500 13px/18px var(--data);color:var(--muted)}
html[data-kit] .kh1{margin:0;font:400 34px/40px var(--sans);letter-spacing:-.01em;color:var(--ink);animation:none}
html[data-kit] .kh2{margin:0;font:500 22px/28px var(--sans);color:var(--ink)}
@media (min-width:1024px){html[data-kit] .kh1{font-size:56px;line-height:60px;letter-spacing:-.015em}html[data-kit] .kh2{font-size:24px;line-height:30px}}
html[data-kit] .ksub{margin:0;font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .klede{margin:0;max-width:640px;font:400 15px/22px var(--data);color:var(--soft)}
html[data-kit] .klbl{font:500 15px/20px var(--sans);color:var(--ink)}
html[data-kit] .kvh{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html[data-kit] .ku{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:500 15px/20px var(--sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
html[data-kit] .kdot{width:10px;height:10px;border-radius:50%;flex:none;display:inline-block}
/* buttons: secondary = hairline outline; the filled ink one is "Show perfumes" in the sheet */
html[data-kit] .kbtn2{box-sizing:border-box;height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border:1px solid var(--line);border-radius:3px;background:none;color:var(--ink);font:500 15px/20px var(--sans);text-decoration:none;cursor:pointer;white-space:nowrap}
html[data-kit] .kbtn2[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}
html[data-kit] .kcount{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--ink);color:var(--bg);font:700 12px/20px var(--sans);text-align:center}
html[data-kit] .kcount:empty,html[data-kit] .kcount[hidden]{display:none}
html[data-kit] .kink{flex:1;height:52px;border:0;border-radius:3px;background:var(--ink);color:var(--bg);font:700 16px/20px var(--sans);cursor:pointer}
html[data-kit] .kib{width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;background:none;color:var(--ink);cursor:pointer}
/* chips: 40 px, hairline, ink when chosen; a removable chip is 32 px with its x */
html[data-kit] .kchips{display:flex;flex-wrap:wrap;gap:8px}
html[data-kit] .kchips[hidden]{display:none}
html[data-kit] .kscroll{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
html[data-kit] .kscroll::-webkit-scrollbar{display:none}
@media (min-width:1024px){html[data-kit] .kscroll{flex-wrap:wrap;margin:0;padding:0}}
html[data-kit] :is(.kchip,.ksheet .vchip){box-sizing:border-box;flex:none;display:inline-flex;align-items:center;gap:8px;height:40px;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:3px;background:none;color:var(--ink);font:500 14px/18px var(--sans);white-space:nowrap;cursor:pointer;text-decoration:none}
html[data-kit] :is(.kchip,.ksheet .vchip)[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}
html[data-kit] .ksheet .vchip::after{display:none}
html[data-kit] .kchip.kon{height:32px;min-height:32px;padding:0 8px 0 10px;gap:6px;font-size:13px}
html[data-kit] .kchip.kon svg{color:var(--muted)}
html[data-kit] .kclear-all{min-height:32px;font-size:13px}
/* shop logos: the white files on dark, ink in light mode */
html[data-kit] .klogo{display:inline-flex;align-items:center;font:500 14px/18px var(--sans);color:var(--ink)}
html[data-kit] .klogo img{display:block;width:auto;max-width:100%;object-fit:contain;object-position:left center}   /* QA 18 Nov: the Niche Story logo ran 17 px into the text on phones */
html[data-kit][data-theme=light] :is(.klogo img,.kshop-h1 img){filter:brightness(0)}
html[data-kit] .kshopc[hidden]{display:none}
/* preview review 17 Nov: a chosen chip must read as ON. No grey hover / press tint over it (a tap leaves :hover stuck on phones),
   and the deals code's inline colours on shop buttons never win over the kit look */
html[data-kit] :is(.kchip,.ksheet .vchip,.kseg button){box-shadow:none !important}
html[data-kit] .kshopc{color:var(--ink) !important;border-color:var(--line) !important}
/* a chosen shop: a 2 px ink edge, the logo stays at full contrast (white on dark, ink on light; thin wordmarks went grey on a fill) */
html[data-kit] .kshopc[aria-pressed=true]{background:none !important;border-color:var(--ink) !important;box-shadow:inset 0 0 0 1px var(--ink) !important}
html[data-kit] .kshopc img{opacity:1}
/* every card on a kit page keeps its 4:5 stage before the photo arrives (rails sit outside .vgrid; no thin strips, no jump) */
html[data-kit] .kl .card .tile{position:relative;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden}
html[data-kit] .kl .card .tile img{display:block;width:100%;height:100%;object-fit:contain}
html[data-kit] .kl .card .tile .badge{position:absolute;left:8px;top:8px}
html[data-kit] .kl .krail .card .meta{padding:12px 2px 0}
/* Sort is its own small menu (his call 17 Nov): a short sheet from the bottom on phones, a dropdown under the button from 768 px */
html[data-kit] .ksortm{position:fixed;left:0;right:0;bottom:0;z-index:61;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);border-radius:16px 16px 0 0;border-top:1px solid var(--line);padding:4px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.4)}
html[data-kit] .ksortm[hidden],html[data-kit] .kscrim[hidden]{display:none}
html[data-kit] .ksortm-hd{display:flex;align-items:center;justify-content:space-between;margin:0 -10px 4px 0;padding:4px 0}
html[data-kit] .ksortm .kradio{min-height:48px}
html[data-kit] .ksortm:focus{outline:0}
@media (min-width:768px){
  html[data-kit] .ksortm{left:var(--kx,16px);top:var(--ky,120px);right:auto;bottom:auto;width:300px;padding:6px 16px;border:1px solid var(--line);border-radius:3px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
  html[data-kit][data-theme=light] .ksortm{box-shadow:0 18px 40px rgba(5,6,15,.12)}
  html[data-kit] .ksortm-hd{display:none}
  html[data-kit] .kscrim.ksort-scrim{background:transparent}}
/* the sheet covers the phone tab bar: it is moved to <body> when it opens (shop_kit.js), and the bar hides while it is open */
html[data-kit] body.ksheet-open .tabs{display:none !important}
/* view tabs (catalogue, shop "This week"): text tabs over one hairline, the chosen one inked */
html[data-kit] .ktabs{display:flex;gap:22px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
html[data-kit] .ktabs::-webkit-scrollbar{display:none}
html[data-kit] .ktab{flex:none;margin:0 0 -1px;padding:12px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted);font:500 15px/20px var(--sans);white-space:nowrap;cursor:pointer;box-shadow:none !important}
html[data-kit] .ktab[aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink)}
html[data-kit] .ktab small{margin-left:4px;font:400 13px/18px var(--data);color:var(--muted)}
/* the search field of a page (catalogue, Houses A to Z, shop): the K2 field */
html[data-kit] .kl label.search{box-sizing:border-box;height:50px;display:flex;align-items:center;gap:12px;padding:0 4px 0 14px;border:1px solid var(--line);border-radius:3px;background:var(--panel);color:var(--muted)}
html[data-kit] .kl label.search:focus-within{border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}
html[data-kit] .kl label.search>svg{width:20px;height:20px;flex:none}
html[data-kit] .kl label.search input{flex:1;min-width:0;height:100%;border:0;background:none;outline:0;color:var(--ink);font:400 16px/20px var(--data);-webkit-appearance:none;appearance:none}
html[data-kit] .kl label.search input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
html[data-kit] .kl label.search input::placeholder{color:var(--muted)}
/* its suggestion list on the catalogue (same rows as the header field, slice 3) */
html[data-kit] #kcres{display:none;position:absolute;left:0;right:0;top:56px;z-index:30;max-height:min(70dvh,560px)}
html[data-kit] #kcres.kslist{background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:4px 0;overflow:hidden auto;overscroll-behavior:contain;box-shadow:0 18px 40px rgba(0,0,0,.35)}
html[data-kit][data-theme=light] #kcres.kslist{box-shadow:0 18px 40px rgba(5,6,15,.12)}
html[data-kit] #kcres.kslist a{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:68px;padding:0 16px;color:var(--ink);text-decoration:none}
html[data-kit] #kcres.kslist a.on{background:var(--panel)}
@media (hover:hover) and (pointer:fine){html[data-kit] #kcres.kslist a:hover{background:var(--panel)}}
html[data-kit] #kcres.kslist a.ksh{min-height:56px}
html[data-kit] #kcres.kslist a.ksall{display:flex;min-height:44px;margin:8px 16px 12px;padding:12px 0;font:500 15px/20px var(--sans);text-decoration:underline;text-underline-offset:4px}
html[data-kit] #kcres.kslist a.ksall.on{background:none;text-decoration-thickness:2px}
/* plain rows (Houses A to Z, a shop's houses): name, count, chevron */
html[data-kit] .krow{display:flex;align-items:center;gap:12px;min-height:56px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
html[data-kit] .krow-n{flex:1;min-width:0;font:500 15px/20px var(--sans)}
html[data-kit] .krow svg{color:var(--muted);flex:none}
html[data-kit] .krow[hidden]{display:none}
/* the 7-column letter grid (C164) */
html[data-kit] .kaz{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
@media (min-width:768px){html[data-kit] .kaz{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));max-width:880px}}
html[data-kit] .kaz a{height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:3px;font:500 15px/20px var(--sans);color:var(--ink);text-decoration:none}
/* pages: the shared Previous / Next row in the kit look */
html[data-kit] .kl .vpg{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}
html[data-kit] .kl .vpgb{border-color:var(--line);background:none;color:var(--ink);font:500 15px/20px var(--sans)}
html[data-kit] .kl .vpg-n{font:400 13px/18px var(--data);color:var(--muted)}
/* one "Sort and filter" sheet: from the bottom on phones, from the right on wide screens */
html[data-kit] .kscrim{position:fixed;inset:0;background:var(--v-scrim);z-index:60}
html[data-kit] .ksheet{position:fixed;left:0;right:0;bottom:0;top:64px;z-index:61;flex-direction:column;background:var(--bg);color:var(--ink);border-radius:16px 16px 0 0;box-shadow:0 -10px 40px rgba(0,0,0,.4)}
/* the page body is its own layer under the sticky header, so the sheet opens below the header bar */
@media (min-width:768px){html[data-kit] .ksheet{top:56px;left:auto;width:440px;border-radius:0;border-left:1px solid var(--line)}}
@media (min-width:1024px){html[data-kit] .ksheet{top:68px}}
html[data-kit] .ksheet-hd{display:flex;align-items:center;justify-content:space-between;padding:8px 6px 8px 16px;border-bottom:1px solid var(--line)}
html[data-kit] .ksheet-bd{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 16px 24px;display:flex;flex-direction:column;gap:24px}
html[data-kit] .ksheet-ft{display:flex;align-items:center;gap:16px;padding:12px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg)}
html[data-kit] .ksec{display:flex;flex-direction:column;gap:12px}
html[data-kit] .ksec-h{display:flex;justify-content:space-between;align-items:baseline}
html[data-kit] .kfine{max-width:400px}
html[data-kit] .kradios{display:flex;flex-direction:column}
html[data-kit] .kradio{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:500 15px/20px var(--sans);text-align:left;cursor:pointer;box-shadow:none !important}
html[data-kit] .kradio i{width:22px;height:22px;flex:none;border-radius:50%;border:1.5px solid var(--muted);display:grid;place-items:center;box-sizing:border-box}
html[data-kit] .kradio[aria-pressed=true] i{border-color:var(--ink)}
html[data-kit] .kradio[aria-pressed=true] i::after{content:"";width:12px;height:12px;border-radius:50%;background:var(--ink)}
html[data-kit] .kseg{display:flex;border:1px solid var(--line);border-radius:3px;padding:3px}
html[data-kit] .kseg button{flex:1;height:38px;border:0;border-radius:2px;background:none;color:var(--ink);font:500 15px/20px var(--sans);cursor:pointer;box-shadow:none !important}
html[data-kit] .kseg button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
html[data-kit] .ktoggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:500 15px/20px var(--sans);text-align:left;cursor:pointer;box-shadow:none !important}
html[data-kit] .ktoggle i{position:relative;width:44px;height:26px;flex:none;border-radius:13px;border:1.5px solid var(--muted);box-sizing:border-box;transition:background-color .16s ease,border-color .16s ease}
html[data-kit] .ktoggle i::after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:var(--muted);transition:transform .16s ease,background-color .16s ease}
html[data-kit] .ktoggle[aria-checked=true] i{background:var(--ink);border-color:var(--ink)}
html[data-kit] .ktoggle[aria-checked=true] i::after{transform:translateX(18px);background:var(--bg)}
html[data-kit] .khist{display:flex;align-items:flex-end;gap:3px;height:36px}
html[data-kit] .kdual{position:relative;width:100%;height:36px}
html[data-kit] .kdual input{max-width:none !important;width:100% !important}
html[data-kit] .kdual-t,html[data-kit] .kdual-f{position:absolute;top:17px;height:2px}
html[data-kit] .kdual-t{left:0;right:0;background:var(--line)}
html[data-kit] .kdual-f{background:var(--ink)}
@media (prefers-reduced-motion:reduce){html[data-kit] :is(.ktoggle i,.ktoggle i::after){transition:none}}

@media (min-width:1280px){html[data-kit] .kh-d.reserve{min-height:496px}}

/* ---- R7 wide screens (board "Wide screens: content to 1600, bands edge to edge", canvas v37, his OK 17 Nov) ----
   1600 px and up only; phones, tablets and laptops keep every rule above. The content column grows from 1320 to 1600 and stays
   centred: --max = 1600 + two 64 px gutters, so the left edge is max(64, (window - 1600) / 2) on the header, the page and the
   footer alike (the .kl / .kd-wrap formula reads the same two variables). */
@media (min-width:1600px){
  html[data-kit]{--gut:64px;--max:1728px;--kwg:max(64px,calc((100vw - 1600px) / 2))}
  /* generated pages: their 1440 frame (inline style, padding 64) becomes the same 1600 column, so .kl / .kd-wrap need no inset */
  html[data-kit] .desktopCat>div{max-width:var(--max) !important}
  /* footer: the hairline runs the full window width, the content stays on the column (header bar already does) */
  html[data-kit] .foot{border-top:0;border-image:linear-gradient(var(--line),var(--line)) 1 0 0 0 / 1px 0 0 0 / 0 100vw}
  /* catalogue, house, shop and Black Friday grids: 6 across, gaps 24 across and 40 down */
  html[data-kit] .kl .vgrid,html[data-kit] .kl #bfgrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:40px 24px}
  /* home rails: 7 cards, gap 24 */
  html[data-kit] body[data-page=home] .rail{grid-template-columns:repeat(7,minmax(0,1fr));column-gap:24px}
  html[data-kit] body[data-page=home] .rail .card:nth-child(7){display:flex}
  /* home first screen (option A): the dark ground (stage box, dust) runs to the right window edge (rule at 1024 above); the
     stage draws its bottle in the middle of its frame, so the frame and the still stop at the column's right edge, which keeps
     the bottle in the right half of the 1600 column at any width; gathering particles fade out over the last 96 px, no hard cut */
  html[data-kit] .kh-pstage :is(.kh-uf,.kh-up){right:auto;width:calc(100% - var(--kwg))}
  html[data-kit] .kh-pstage .kh-uf{-webkit-mask-image:linear-gradient(90deg,transparent,#000 64px,#000 calc(100% - 96px),transparent);mask-image:linear-gradient(90deg,transparent,#000 64px,#000 calc(100% - 96px),transparent)}
  /* the lower Universe window runs edge to edge; its words start on the content edge */
  html[data-kit] .kh-uw{margin:0 calc(50% - 50vw);border-left:0;border-right:0;border-radius:0}
  html[data-kit] .kh-ut{width:calc(var(--kwg) + 560px);padding-left:var(--kwg);box-sizing:border-box}
  /* its still (750 px wide) stays at most the column width, so it is not blown up past 1600; its sides fade into the ground,
     where the dust carries on to the window edges */
  html[data-kit] .kh-uwp{left:50%;width:min(100%,1600px);translate:-50% 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
  /* perfume page: stage 760 x 830, decision panel at most 680 (shop rows and Buy do not grow), the gap takes the rest */
  html[data-kit] .kd-top{justify-content:space-between;gap:80px}
  html[data-kit] .kd-stage{flex:0 0 760px;width:760px;height:830px;aspect-ratio:auto}
  html[data-kit] .kd-panel{flex:0 1 680px;max-width:680px}
}
/* ---- slice 4: home, the Universe card (his review 17 Nov: as the live home's card, in the kit) ----
   A bordered box at every width (also on wide screens): words left, a still of the real universe right with its family names
   as small sentence-case labels in family colours. It drifts slowly (one transformed layer); dust on its dark ground. */
html[data-kit] .kh-uw{height:340px;margin:0;border:1px solid #1e2447;border-radius:8px;transition:border-color .18s ease}
/* phone: the universe on top, the words under it */
html[data-kit] .kh-map{position:absolute;top:-4%;left:50%;translate:-46% 0;aspect-ratio:2/1;height:66%;z-index:0;pointer-events:none;transform-origin:60% 50%;animation:khmap 48s ease-in-out infinite alternate;will-change:transform}
html[data-kit] .kh-map img{display:block;width:100%;height:100%}
@keyframes khmap{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-28px,10px,0) scale(1.07)}}
html[data-kit] .kh-fl{position:absolute;translate:-50% -50%;font:500 12px/16px var(--data);letter-spacing:0;text-transform:none;white-space:nowrap;opacity:.92;text-shadow:0 0 10px rgba(5,6,15,.9)}
html[data-kit] .kh-ut{top:auto;bottom:0;right:0;width:auto;justify-content:flex-end;gap:6px;padding:48px var(--gut) 16px;box-sizing:border-box;background:linear-gradient(180deg,rgba(5,6,15,0),#05060f 40px)}
html[data-kit] .kh-ut .k-lbl{color:#a3a6c2}
html[data-kit] .kh-uh{font:500 24px/30px var(--sans);max-width:none}
html[data-kit] .kh-ut p{font:400 15px/22px var(--data);max-width:300px}
html[data-kit] .kh-ul{margin-top:2px;font:500 15px/20px var(--sans)}
@media (hover:hover){html[data-kit] .kh-uw:hover{border-color:#8a8daa}html[data-kit] .kh-uw:hover .kh-ul{text-decoration-thickness:2px}}
@media (prefers-reduced-motion:reduce){html[data-kit] .kh-map{animation:none}}
@media (min-width:768px){
  html[data-kit] .kh-uw{height:320px;margin:0;border:1px solid #1e2447;border-radius:8px}
  html[data-kit] .kh-map{top:0;bottom:0;left:auto;right:-8%;translate:none;height:100%}
  html[data-kit] .kh-ut{top:0;right:auto;width:min(520px,50%);justify-content:center;padding:40px;background:linear-gradient(90deg,#05060f 45%,rgba(5,6,15,0))}
  html[data-kit] .kh-uh{font-size:32px;line-height:38px}
  html[data-kit] .kh-ut p{font-size:16px;line-height:24px}
  html[data-kit] .kh-fl{font-size:13px;line-height:18px}
}
@media (min-width:1024px){html[data-kit] .kh-uw{height:360px}html[data-kit] .kh-uh{font-size:36px;line-height:42px}}
@media (min-width:1600px){html[data-kit] .kh-uw{margin:0;border:1px solid #1e2447;border-radius:8px}html[data-kit] .kh-ut{width:min(560px,50%);padding-left:48px}}
/* ---- slice 4 (his review 17 Nov): search one tap away on pages with their own field (shell.js body.kpf / .kpf-off) ---- */
@media (max-width:1023px){html[data-kit] body.kpf.kpf-off .top .ico.srch{display:grid !important}}
@media (min-width:1024px){html[data-kit] body.kpf:not(.kpf-off) .top .searchrow{display:none !important}}
@media (min-width:1280px){html[data-kit] body.kpf.kpf-off .top .searchrow{display:block !important}}
/* QA 18 Nov: at 1024-1279 that field opened as a second row and made the sticky header 131 px tall. There the search icon
   shows instead (as on phones) and the row opens only when it is tapped. */
@media (min-width:1024px) and (max-width:1279px){
  html[data-kit] body.kpf.kpf-off:not(.ksearch) .top .searchrow{display:none !important}
  html[data-kit] body.kpf.kpf-off .top .ico.srch{display:flex !important}
}
/* ---- slice 4 (his review 17 Nov): the live site's hover effects, in kit colours, desktop pointer only, not under reduced motion.
   The 97% press state stays (it sits on the tile, the lift on the photo). ---- */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  /* cards: the bottle lifts a little on its stage (live: lift + 5% zoom), no box or shadow (kit) */
  html[data-kit] :is(.card,.vgrid .card)>a .tile img{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  html[data-kit] :is(.card,.vgrid .card)>a:hover .tile img{transform:translateY(-6px) scale(1.04)}
  html[data-kit] .card>a:hover .name{color:var(--ink)}
  /* text links (See all, Browse all, Compare, Open the universe): ink and a thicker underline, as the live card's link */
  html[data-kit] :is(.hd a,.km-cmp,.kh-ul,.ku,.ksall){transition:color .18s ease,text-decoration-thickness .18s ease}
  html[data-kit] :is(.hd a,.km-cmp,.kh-ul,.ku,.ksall):hover{color:var(--ink);text-decoration-thickness:2px}
  /* outline buttons and chips: the border lights up (live: #8a8daa) */
  html[data-kit] :is(.kbtn2,.kchip,.vpgb):hover{border-color:#8a8daa}
  /* the moment's photo stage answers like a card */
  html[data-kit] .km-stage img{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  html[data-kit] .km-stage:hover img{transform:translateY(-6px) scale(1.03)}
}
/* ---- slice 4 (his call 17 Nov): the Universe card runs the live universe (/nebula/?embed=1, index.html cardLive) over its
   still; the still and our labels fade out once the universe has drawn (its own labels show then). Desktop: right of the
   words; phone: the top two thirds, above the words. ---- */
/* the frame is at least 900 x 640 (as the live card's), so the universe draws its desktop view; the card crops it */
html[data-kit] .kh-live{position:absolute;left:50%;top:33%;width:max(100%,900px);height:640px;translate:-50% -50%;border:0;background:transparent;z-index:1;opacity:0;pointer-events:none;transition:opacity 1s ease}
html[data-kit] .kh-uw.live .kh-live{opacity:1}
html[data-kit] .kh-map{transition:opacity 1s ease}
html[data-kit] .kh-uw.live .kh-map{opacity:0;animation:none}
@media (min-width:768px){html[data-kit] .kh-live{left:67%;top:50%;width:max(66%,900px)}}

/* ---- slice 6b: explore ---- */
/* Board R3-2 (canvas v25): one search, the Universe as a small dark window, then real content: deals rail with photos (Black
   Friday while it runs), scent families as colour rows, the houses with the most perfumes priced, notes as chips, the shops by
   logo, the full catalogue link. Built by the KE script in landing/explore/index.html, only in builds with
   VIALO_KIT_EXPLORE=1; every rule sits under body.kx, which only that script sets. */
html[data-kit] body.kx .kx-top{display:flex;flex-direction:column;gap:14px;padding-top:24px}
html[data-kit] body.kx .kx-h1{margin:0;font:400 34px/40px var(--sans);letter-spacing:-.01em;color:var(--ink)}
html[data-kit] body.kx .kx-s{position:relative;display:block;margin:0}
html[data-kit] body.kx .kx-q{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html[data-kit] body.kx .kx-q [hidden]{display:none}
html[data-kit] body.kx .kx-cat{box-sizing:border-box;display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px;border-radius:3px;background:var(--ink);color:var(--bg);font:500 15px/20px var(--sans);text-decoration:none;white-space:nowrap;transition:transform .16s ease}
html[data-kit] body.kx .kx-cat:active{transform:scale(.98)}html[data-kit] body.kx .kx-cat:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media (max-width:599px){html[data-kit] body.kx .kx-cat{flex:1 1 100%;justify-content:center}}
html[data-kit] body.kx #hsug{display:none;position:absolute;left:0;right:0;top:56px;z-index:30;max-height:min(70dvh,560px)}
/* the Universe window: a still of the real universe, dark in both themes; the whole window is the link */
html[data-kit] body.kx .kx-u{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:200px;margin-top:22px;padding:18px;box-sizing:border-box;border:1px solid #1e2447;border-radius:8px;background:#05060f;overflow:hidden;isolation:isolate;text-decoration:none;transition:border-color .18s ease}
html[data-kit] body.kx .kx-ui{position:absolute;z-index:-2;left:50%;top:44%;height:150%;width:auto;max-width:none;translate:-46% -50%;pointer-events:none;animation:kxdrift 48s ease-in-out infinite alternate;will-change:transform}
@keyframes kxdrift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-18px,8px,0) scale(1.06)}}
html[data-kit] body.kx .kx-live{position:absolute;z-index:-2;left:50%;top:40%;width:max(100%,900px);height:640px;translate:-50% -50%;background:transparent;border:0;opacity:0;pointer-events:none;transition:opacity .8s ease}
html[data-kit] body.kx .kx-u.live .kx-live{opacity:1}html[data-kit] body.kx .kx-u.live .kx-ui{opacity:0;animation:none;transition:opacity .8s ease}
html[data-kit] body.kx .kx-u::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(5,6,15,0) 24%,rgba(5,6,15,.9) 72%);pointer-events:none}
html[data-kit] body.kx .kx-ut{display:flex;flex-direction:column;gap:6px}
html[data-kit] body.kx .kx-uh{font:500 22px/28px var(--sans);color:#f6f3ee}
html[data-kit] body.kx .kx-up{font:400 14px/20px var(--data);color:#e7e7ea}
html[data-kit] body.kx .kx-ul{align-self:flex-start;font:500 15px/20px var(--sans);color:#f6f3ee;text-decoration:underline;text-underline-offset:4px}
html[data-kit] body.kx .kx-u:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* sections: 32 px apart, heading 22/28, "See all" as an underlined ink link with a 44 px touch height */
html[data-kit] body.kx .kx-sec{padding-top:32px}
html[data-kit] body.kx .kx-sec .hd{margin:0 0 12px;align-items:flex-end}
html[data-kit] body.kx :is(.kx-h2,.kx-sec .hd h2){font:500 22px/28px var(--sans);letter-spacing:0;color:var(--ink)}
html[data-kit] body.kx .kx-sec .hd h2{margin:0}
html[data-kit] body.kx .kx-h2{margin:0 0 12px}
html[data-kit] body.kx .kx-sec .hd a{flex:none;min-width:44px;justify-content:flex-end;min-height:44px;margin:-12px 0;font:500 14px/20px var(--sans);color:var(--ink);text-decoration:underline;text-underline-offset:4px}
html[data-kit] body.kx .kx-sec .hd .k-lbl{display:block;margin-bottom:4px;font:500 13px/18px var(--data);letter-spacing:0;text-transform:none;color:var(--muted)}
html[data-kit] body.kx .kx-msg{margin:0;font:400 15px/22px var(--data);color:var(--muted)}
html[data-kit] body.kx .kx-d.reserve{min-height:330px}
html[data-kit] body.kx .kx-f.reserve{min-height:476px}
html[data-kit] body.kx .kx-h.reserve{min-height:170px}
html[data-kit] body.kx .kx-sh.reserve{min-height:178px}
@media (max-width:767px){html[data-kit] body.kx .rail .card{width:140px}html[data-kit] body.kx #hsug{max-height:calc(100dvh - 268px)}}   /* the list ends above the tab bar */
/* scent families: a row per family, its one colour as the dot; a hairline above and below each row */
html[data-kit] body.kx .kx-rows{display:grid;grid-template-columns:minmax(0,1fr);column-gap:32px;padding-top:1px}
html[data-kit] body.kx .kx-row{display:flex;align-items:center;gap:12px;min-height:56px;box-sizing:border-box;border-bottom:1px solid var(--line);box-shadow:0 -1px 0 var(--line);color:var(--ink);text-decoration:none;font:500 15px/20px var(--sans)}
html[data-kit] body.kx .kx-dot{width:10px;height:10px;border-radius:50%;flex:none}
html[data-kit] body.kx .kx-gl{flex:none;display:inline-flex;width:24px;justify-content:center}
html[data-kit] body.kx .kx-rn{flex:1;min-width:0}
html[data-kit] body.kx .kx-row>svg{flex:none;color:var(--muted)}
html[data-kit] body.kx .kx-tg{font-size:14px}
html[data-kit] body.kx .kx-tg[hidden]{display:none}
/* phones and tablets: 7 families and 8 notes, the rest opens in place; wide screens show all */
@media (max-width:1023px){html[data-kit] body.kx .kx-sec:not(.open) .kx-x{display:none}}
@media (min-width:1024px){html[data-kit] body.kx .kx-tg{display:none}}
/* houses: name and the real count */
html[data-kit] body.kx .kx-sub{display:block;margin:0 0 12px;font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] body.kx .kx-hg,html[data-kit] body.kx .kx-sg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-kit] body.kx .kx-ht{display:flex;flex-direction:column;justify-content:space-between;height:76px;box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);text-decoration:none}
html[data-kit] body.kx .kx-ht b{font:500 15px/20px var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-kit] body.kx .kx-ht span{font:400 13px/18px var(--data);color:var(--muted)}
/* notes: the kit chip (40 px, as on the board), with a 44 px touch height */
html[data-kit] body.kx .kx-chips{display:flex;flex-wrap:wrap;gap:8px}
html[data-kit] body.kx .kx-chips .kchip{position:relative}
html[data-kit] body.kx .kx-chips .kchip::after{content:"";position:absolute;inset:-2px 0}
html[data-kit] body.kx .kx-n .kx-tg{margin-top:4px}
/* shops: the logo alone (the white files; ink in light mode) */
html[data-kit] body.kx .kx-st{height:64px;box-sizing:border-box;display:grid;place-items:center;padding:0 12px;border:1px solid var(--line);border-radius:8px}
html[data-kit] body.kx .kx-st img{display:block;height:13px;width:auto;max-width:100%;object-fit:contain}
html[data-kit] body.kx .kx-st.deloox img{height:15px}
html[data-kit][data-theme=light] body.kx .kx-st img{filter:brightness(0)}
html[data-kit] body.kx .kx-all{margin-top:28px}
/* pressed and hover, as the rest of the kit */
html[data-kit] body.kx :is(.kx-ht,.kx-st){transition:transform .16s ease,border-color .18s ease}
html[data-kit] body.kx :is(.kx-ht,.kx-st):active{transform:scale(.97);transition-duration:90ms}
@media (hover:hover) and (pointer:fine){
  html[data-kit] body.kx :is(.kx-u,.kx-ht,.kx-st):hover{border-color:#8a8daa}
  html[data-kit] body.kx .kx-u:hover .kx-ul{text-decoration-thickness:2px}
  html[data-kit] body.kx .kx-row:hover>svg{color:var(--ink)}
}
@media (prefers-reduced-motion:reduce){html[data-kit] body.kx .kx-ui{animation:none}html[data-kit] body.kx :is(.kx-ht,.kx-st):active{transform:none}}
@media (min-width:768px){
  html[data-kit] body.kx .kx-top{padding-top:32px}
  html[data-kit] body.kx .kx-s{max-width:560px}
  /* the window: words left, the universe right */
  html[data-kit] body.kx .kx-u{height:240px;justify-content:center;padding:32px;margin-top:24px}
  html[data-kit] body.kx .kx-live{left:58%;top:50%;width:130%;height:1000px}
  html[data-kit] body.kx .kx-ui{left:auto;right:-6%;top:50%;height:140%;translate:0 -50%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 32%);mask-image:linear-gradient(90deg,transparent,#000 32%)}
  html[data-kit] body.kx .kx-u::after{background:linear-gradient(90deg,#05060f 26%,rgba(5,6,15,0) 68%)}
  html[data-kit] body.kx .kx-ut{max-width:340px}
  html[data-kit] body.kx .kx-sec{padding-top:48px}
  html[data-kit] body.kx .kx-hg{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  html[data-kit] body.kx .kx-sg{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  html[data-kit] body.kx .kx-rows{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-kit] body.kx .kx-d.reserve{min-height:400px}
  html[data-kit] body.kx .kx-f.reserve{min-height:290px}
  html[data-kit] body.kx .kx-sh.reserve{min-height:120px}
}
@media (min-width:1024px){
  html[data-kit] body.kx .kx-top{gap:24px;padding-top:48px}
  html[data-kit] body.kx .kx-h1{font-size:56px;line-height:60px;letter-spacing:-.015em}
  html[data-kit] body.kx .kx-u{height:280px;padding:48px;margin-top:32px}
  html[data-kit] body.kx .kx-uh{font-size:32px;line-height:38px}
  html[data-kit] body.kx .kx-up{font-size:16px;line-height:24px}
  html[data-kit] body.kx .kx-ut{gap:8px;max-width:400px}
  html[data-kit] body.kx .kx-sec{padding-top:64px}
  html[data-kit] body.kx .kx-sec .hd{margin-bottom:16px}
  html[data-kit] body.kx :is(.kx-h2,.kx-sec .hd h2){font-size:24px;line-height:30px}
  html[data-kit] body.kx .kx-h2{margin:0 0 16px}
  html[data-kit] body.kx .kx-sec .hd a{font-size:15px}
  html[data-kit] body.kx .kx-rows{grid-template-columns:repeat(3,minmax(0,1fr))}
  html[data-kit] body.kx .kx-hg{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
  html[data-kit] body.kx .kx-sg{gap:16px}
  html[data-kit] body.kx .kx-ht{height:88px;padding:16px}
  html[data-kit] body.kx .kx-st{height:80px}
  html[data-kit] body.kx .kx-st img{height:16px}
  html[data-kit] body.kx .kx-st.deloox img{height:18px}
  html[data-kit] body.kx .kx-all{margin-top:40px}
  html[data-kit] body.kx .kx-d.reserve{min-height:470px}
  html[data-kit] body.kx .kx-f.reserve{min-height:330px}
}
/* R7 wide screens: the rail shows 7, as the home's */
@media (min-width:1600px){
  html[data-kit] body.kx .rail{grid-template-columns:repeat(7,minmax(0,1fr));column-gap:24px}
  html[data-kit] body.kx .rail .card:nth-child(7){display:flex}
}
/* Top houses on Explore: 32 in one row to scroll (his ask 18 Nov); the right edge fades so it reads as "more this way" */
html[data-kit] body.kx #xh .houses{scroll-snap-type:x proximity;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 56px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 56px),transparent 100%);padding-right:40px}
html[data-kit] body.kx #xh .houses a{scroll-snap-align:start}
html[data-kit] body.kx #xh .houses em{white-space:normal;overflow:visible;text-overflow:clip;line-height:16px}   /* QA: 7 of 32 names were cut */
html[data-kit] body.kx .kx-ar{display:none}
@media (hover:hover) and (pointer:fine){html[data-kit] body.kx .kx-ar{display:inline-flex;gap:8px;margin-left:16px;vertical-align:middle}
  html[data-kit] body.kx .kx-ar button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;background:none;color:var(--ink);cursor:pointer}
  html[data-kit] body.kx .kx-ar button:hover{border-color:#8a8daa}html[data-kit] body.kx .kx-ar button:disabled{opacity:.35;cursor:default}}
/* QA: the family percentages of a house page were 2:1 to 3:1 on ivory */
html[data-kit][data-theme=light] .kmix-w span{filter:brightness(.5) saturate(1.5)}
/* QA: family glyphs kept their dark-theme colours and nearly vanished on ivory */
html[data-kit][data-theme=light] body.kx .kx-gl svg{filter:brightness(.55) saturate(1.5)}
/* QA: hover on the header links and icons, and on the filled buttons */
@media (hover:hover) and (pointer:fine){html[data-kit] .top .dnav a:hover{color:var(--ink)}html[data-kit] .top .kicons a:hover,html[data-kit] .top .kicons button:hover{opacity:.72}
  html[data-kit] body.kx .kx-cat:hover,html[data-kit] .bfx-b:hover{opacity:.88}html[data-kit] .card .heart:hover{transform:scale(1.08)}}
/* "Today" on the right of the Explore top (his note 18 Nov): wide screens only; below 1024 px the page is one column and the rows below say the same */
html[data-kit] body.kx .kx-tl{display:flex;flex-direction:column;gap:14px;min-width:0}
html[data-kit] body.kx .kx-today{display:none}
@media (min-width:1024px){
  html[data-kit] body.kx .kx-top{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:48px}
  html[data-kit] body.kx .kx-tl{gap:24px;flex:1 1 560px;max-width:640px}
  html[data-kit] body.kx .kx-today{display:flex;flex-direction:column;flex:0 1 480px;min-width:0;padding:16px 20px 8px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
  html[data-kit] body.kx .kx-today.reserve{min-height:236px}
  html[data-kit] body.kx .kx-th{margin:0 0 4px;font:500 15px/20px var(--sans);color:var(--ink)}
  html[data-kit] body.kx .kx-tr{display:flex;align-items:center;gap:14px;padding:10px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}
  html[data-kit] body.kx .kx-th+.kx-tr{border-top:0}
  html[data-kit] body.kx .kx-ts{flex:none;width:44px;height:55px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:var(--k-stage);overflow:hidden;transition:background-color .16s ease}
  html[data-kit] body.kx .kx-ts img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
  html[data-kit] body.kx .kx-tt{flex:1;min-width:0;display:flex;flex-direction:column}
  html[data-kit] body.kx .kx-tk{font:400 12px/16px var(--data);color:var(--muted)}
  html[data-kit] body.kx .kx-tn{font:500 15px/20px var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html[data-kit] body.kx .kx-thh{font:400 13px/18px var(--data);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html[data-kit] body.kx .kx-tv{flex:none;display:flex;flex-direction:column;align-items:flex-end;text-align:right}
  html[data-kit] body.kx .kx-tv b{font:700 16px/22px var(--sans);font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap}
  html[data-kit] body.kx .kx-tv b.g{color:var(--green)}
  html[data-kit] body.kx .kx-tv small{font:400 13px/18px var(--data);color:var(--muted);font-variant-numeric:tabular-nums}
  html[data-kit] body.kx .kx-tr:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:6px}
}
@media (hover:hover) and (pointer:fine){html[data-kit] body.kx .kx-tr:hover .kx-tn{text-decoration:underline;text-underline-offset:3px}html[data-kit] body.kx .kx-tr:hover .kx-ts{background:var(--k-stage-p)}}
/* his note 18 Nov (the Explore top felt empty): from 768 px a taller window with the universe closer and across the whole of it */
@media (min-width:768px){html[data-kit] body.kx .kx-u{height:300px}
  html[data-kit] body.kx .kx-u::after{background:linear-gradient(90deg,#05060f 14%,rgba(5,6,15,.55) 34%,rgba(5,6,15,0) 56%)}}
@media (min-width:1024px){html[data-kit] body.kx .kx-u{height:320px}}
/* ---- slice 6b: saved ---- */
/* Saved (board R3-3): Wishlist rows and Collection cards. Only on the kit Saved page (body.ks-saved, VIALO_KIT_SAVED=1);
   tabs, buttons, chips and cards are the shared kit parts above. */
html[data-kit] body.ks-saved .ks{display:flex;flex-direction:column;gap:14px;padding-top:24px;padding-bottom:40px}
html[data-kit] body.ks-saved :is(#ks-note,#ks-list,#ks-more):empty{display:none}
html[data-kit] body.ks-saved .ks-hd{display:flex;flex-direction:column;gap:4px}
html[data-kit] body.ks-saved .ks-lede{margin:0;font:400 15px/22px var(--data);color:var(--muted)}
html[data-kit] body.ks-saved .ks-tabs .ktab{min-height:44px;font-variant-numeric:tabular-nums}
/* signed out: one calm line */
html[data-kit] body.ks-saved .ks-note{margin:0;display:flex;align-items:center;gap:12px;min-height:48px;padding:0 14px;border:1px solid var(--line);border-radius:8px;color:var(--soft)}
html[data-kit] body.ks-saved .ks-note svg{flex:none;color:var(--ink)}
html[data-kit] body.ks-saved .ks-note span{flex:1;padding:12px 0;font:400 14px/20px var(--data)}
html[data-kit] body.ks-saved .ks-note .ku{flex:none;min-width:44px;justify-content:center;font-size:14px}
/* sort (the kit outline button over the page's own select), Sale, "Prices today" */
html[data-kit] body.ks-saved .ks-bar{display:flex;align-items:center;gap:8px}
html[data-kit] body.ks-saved .ks-bar[hidden]{display:none}
html[data-kit] body.ks-saved .ks-sort{position:relative}
html[data-kit] body.ks-saved .ks-sort select{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;opacity:0;cursor:pointer;font-size:16px;-webkit-appearance:none;appearance:none}
html[data-kit] body.ks-saved .ks-sort:focus-within{border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}
html[data-kit] body.ks-saved #ks-sale{height:44px;min-height:44px}
@media (max-width:359px){html[data-kit] body.ks-saved .ks-today{display:none}}   /* QA 18 Nov: 6 px of sideways scroll at 320 px */
html[data-kit] body.ks-saved .ks-today{margin-left:auto;font:400 13px/18px var(--data);color:var(--muted);white-space:nowrap}
/* wishlist rows: bottle on the stage, name, house, today's price and where, heart and alert state on the right */
html[data-kit] body.ks-saved .ks-rows{display:flex;flex-direction:column}
html[data-kit] body.ks-saved .ks-row{display:flex;gap:4px;border-bottom:1px solid var(--line)}
html[data-kit] body.ks-saved .ks-a{flex:1;min-width:0;display:flex;gap:12px;padding:12px 0;color:var(--ink);text-decoration:none}
html[data-kit] body.ks-saved .ks-ph{width:72px;flex:none;align-self:flex-start;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:var(--k-stage);transition:background-color .16s ease}
html[data-kit] body.ks-saved .ks-ph img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
html[data-kit] body.ks-saved :is(.ks-ph i,.ks-ini){font:500 22px/1 var(--sans);font-style:normal;color:#5a5f80}
html[data-kit] body.ks-saved .ks-a:active .ks-ph{background:var(--k-stage-p)}
html[data-kit] body.ks-saved .ks-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html[data-kit] body.ks-saved .ks-nm{font:500 15px/20px var(--sans);color:var(--ink)}
html[data-kit] body.ks-saved .ks-hs{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] body.ks-saved .ks-pl{margin-top:6px;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
html[data-kit] body.ks-saved .ks-pr{font:700 17px/22px var(--sans);font-variant-numeric:tabular-nums;color:var(--ink)}
html[data-kit] body.ks-saved :is(.ks-pl s,.ks-mt){font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] body.ks-saved .ks-low{font:500 12px/16px var(--data);color:var(--green)}
html[data-kit] body.ks-saved .ks-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;padding-top:6px}
html[data-kit] body.ks-saved .ks-side .heart{position:static;width:44px;height:44px;margin-right:-10px;color:var(--ink)}
html[data-kit] body.ks-saved .ks-side .heart.on{color:#E5484D}
html[data-kit] body.ks-saved .ks-side .heart.on svg{fill:currentColor}
html[data-kit] body.ks-saved .ks-al{display:inline-flex;align-items:center;gap:4px;font:500 11px/14px var(--data);color:var(--muted);white-space:nowrap}
html[data-kit] body.ks-saved a.ks-set{min-height:44px;padding:0 4px;text-decoration:underline;text-underline-offset:3px}
/* collection: the kit cards, "Owned" on the fact line, a quiet Remove under each */
html[data-kit] body.ks-saved .ks-grid{gap:20px 12px}
html[data-kit] body.ks-saved .ks-own{min-width:0;display:flex;flex-direction:column}
html[data-kit] body.ks-saved .ks-own .card{flex:1}
html[data-kit] body.ks-saved .ks-own .sub{white-space:normal}
html[data-kit] body.ks-saved .ks-rm{align-self:flex-start;font:400 13px/18px var(--data);color:var(--muted);text-underline-offset:3px}
html[data-kit] body.ks-saved .ks-h2{margin-top:18px}
html[data-kit] body.ks-saved #ks-more{display:flex;flex-direction:column;gap:12px}
/* nothing here yet */
html[data-kit] body.ks-saved .ks-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px 0}
html[data-kit] body.ks-saved .ks-empty p{margin:0 0 8px;max-width:420px;font:400 15px/22px var(--data);color:var(--muted)}
html[data-kit] body.ks-saved .ks-err{margin:0;padding:12px 16px;border:1px solid var(--line);border-radius:3px;font:400 15px/20px var(--data);color:var(--muted)}
@media (hover:hover) and (pointer:fine){
  html[data-kit] body.ks-saved .ks-a:hover .ks-ph{background:var(--k-stage-p)}
  html[data-kit] body.ks-saved :is(a.ks-set,.ks-rm):hover{color:var(--ink)}
}
@media (min-width:768px){
  html[data-kit] body.ks-saved .ks{gap:18px;padding-top:40px}
  html[data-kit] body.ks-saved .ks-note{max-width:560px}
  html[data-kit] body.ks-saved .ks-ph{width:88px}
  html[data-kit] body.ks-saved .ks-grid{gap:32px 16px}
}
@media (min-width:1024px){html[data-kit] body.ks-saved .ks-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}}
/* ---- slice 6b: account ---- */
/* Board R3-4 (Account, Price alerts, sign-in). Only pages built with VIALO_KIT_ACCOUNT=1 carry these classes:
   body.kacc = /account/, body.kalr = /alerts/, .ksin = the sign-in form (/next/signin.js: in the account page, or as a
   sheet over the alerts page). Theme tokens only, so dark and light both follow. Green only on the price-drop line. */
/* account */
html[data-kit] body.kacc main{max-width:calc(560px + 2*var(--gut))}
html[data-kit] body.kacc .kacc-col{display:flex;flex-direction:column;gap:22px;padding:24px 0 32px}
html[data-kit] body.kacc .kacc-h1{margin:0;font:400 34px/40px var(--sans);letter-spacing:-.01em;color:var(--ink)}
html[data-kit] body.kacc .kacc-sub{margin:4px 0 0;font:400 15px/22px var(--data);color:var(--muted);overflow-wrap:anywhere}
html[data-kit] body.kacc .kacc-sec{display:flex;flex-direction:column;margin:0}
html[data-kit] body.kacc .kacc-l{margin:0 0 10px;font:500 15px/20px var(--sans);color:var(--ink)}
html[data-kit] body.kacc .kacc-hint{margin:10px 0 0;font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] body.kacc .kacc-hint.first{margin-top:0}
html[data-kit] body.kacc .kacc-sel{position:relative;display:block;color:var(--ink)}
html[data-kit] body.kacc .kacc-sel select{box-sizing:border-box;width:100%;height:50px;margin:0;padding:0 44px 0 14px;border:1px solid var(--line);border-radius:3px;background:var(--panel);color:var(--ink);font:500 16px/20px var(--sans);-webkit-appearance:none;appearance:none;cursor:pointer}
html[data-kit] body.kacc .kacc-sel select:focus-visible{outline:0;border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}
html[data-kit] body.kacc .kacc-sel svg{position:absolute;right:14px;top:15px;pointer-events:none}
html[data-kit] body.kacc .kacc-seg{display:flex;border:1px solid var(--line);border-radius:3px;padding:3px}
html[data-kit] body.kacc .kacc-seg button{flex:1 1 auto;height:44px;padding:0 10px;border:0;border-radius:2px;background:none;color:var(--ink);font:500 15px/20px var(--sans);white-space:nowrap;cursor:pointer}
html[data-kit] body.kacc .kacc-seg button[aria-checked=true]{background:var(--ink);color:var(--bg)}
html[data-kit] body.kacc .kacc-seg button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
html[data-kit] body.kacc .kacc-row{display:flex;align-items:center;gap:12px;min-height:56px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;cursor:pointer}
html[data-kit] body.kacc .kacc-row.tall{min-height:64px}
html[data-kit] body.kacc .kacc-row>svg{flex:none}
html[data-kit] body.kacc .kacc-row .t{flex:1;min-width:0;display:flex;flex-direction:column;padding:8px 0}
html[data-kit] body.kacc .kacc-row b{font:500 15px/20px var(--sans);color:var(--ink)}
html[data-kit] body.kacc .kacc-row small{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] body.kacc .kacc-sw{-webkit-appearance:none;appearance:none;box-sizing:border-box;position:relative;flex:none;width:44px;height:26px;margin:0;border:1.5px solid var(--muted);border-radius:13px;background:none;cursor:pointer;transition:background-color .16s ease,border-color .16s ease}
html[data-kit] body.kacc .kacc-sw::before{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:var(--muted);transition:transform .16s ease,background-color .16s ease}
html[data-kit] body.kacc .kacc-sw:checked{background:var(--ink);border-color:var(--ink)}
html[data-kit] body.kacc .kacc-sw:checked::before{background:var(--bg);transform:translateX(18px)}
html[data-kit] body.kacc .kacc-sw:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
html[data-kit] body.kacc .kacc-sw:disabled{opacity:.5}
html[data-kit] body.kacc .kacc-end{display:flex;justify-content:space-between;align-items:center;gap:16px}
html[data-kit] body.kacc .kacc-u{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:500 15px/20px var(--sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
html[data-kit] body.kacc .kacc-u.q{color:var(--muted);font-size:14px}
html[data-kit] body.kacc .kacc-msg{min-height:20px;margin:-10px 0;font:500 14px/20px var(--data);color:var(--ink)}
html[data-kit] body.kacc .kacc-msg.ok{font-weight:400;color:var(--muted)}
html[data-kit] body.kacc .kacc-dz{gap:12px;padding:16px;border:1px solid var(--line);border-radius:3px}
html[data-kit] body.kacc .kacc-dz .kacc-l{margin:0}
html[data-kit] body.kacc .kacc-dp{margin:0;font:400 15px/22px var(--data);color:var(--soft)}
html[data-kit] body.kacc .kacc-del{height:52px;border:1px solid var(--ink);border-radius:3px;background:none;color:var(--ink);font:700 16px/20px var(--sans);cursor:pointer}
html[data-kit] body.kacc .kacc-dz .kacc-u{align-self:flex-start}
@media (prefers-reduced-motion:reduce){html[data-kit] body.kacc .kacc-sw,html[data-kit] body.kacc .kacc-sw::before{transition:none}}
/* sign-in form (page and sheet) */
html[data-kit] .ksin{display:flex;flex-direction:column;gap:14px}
html[data-kit] .ksin .ksin-hd{display:flex;justify-content:space-between;align-items:center;gap:12px}
html[data-kit] .ksin .ksin-t{margin:0;color:var(--ink)}
html[data-kit] .ksin h1.ksin-t{font:400 34px/40px var(--sans);letter-spacing:-.01em}
html[data-kit] .ksin h2.ksin-t{font:500 22px/28px var(--sans)}
html[data-kit] .ksin .ksin-x{width:44px;height:44px;flex:none;display:grid;place-items:center;margin-right:-10px;padding:0;border:0;background:none;color:var(--ink);cursor:pointer}
html[data-kit] .ksin .ksin-sub{margin:-8px 0 0;font:400 15px/22px var(--data);color:var(--soft)}
html[data-kit] .ksin .ksin-g .vg-btn{height:52px;border:1px solid var(--line);border-radius:3px;background:none;color:var(--ink);font:500 15px/20px var(--sans)}
html[data-kit] .ksin .ksin-g .vg-btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
html[data-kit] .ksin .ksin-or{display:flex;align-items:center;gap:10px;font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .ksin .ksin-or::before,html[data-kit] .ksin .ksin-or::after{content:'';flex:1;height:1px;background:var(--line)}
html[data-kit] .ksin .ksin-f{display:flex;flex-direction:column;gap:14px;margin:0}
html[data-kit] .ksin .ksin-fd{box-sizing:border-box;height:50px;display:flex;align-items:center;gap:10px;margin:0;padding:0 14px;border:1px solid var(--line);border-radius:3px;background:var(--panel);color:var(--muted)}
html[data-kit] .ksin .ksin-fd:focus-within{border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}
html[data-kit] .ksin .ksin-fd svg{flex:none}
html[data-kit] .ksin .ksin-fd input{flex:1;min-width:0;width:auto;height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;outline:0;font:400 16px/20px var(--data);color:var(--ink)}
html[data-kit] .ksin .ksin-fd input::placeholder{color:var(--muted);opacity:1}
html[data-kit] .ksin .ksin-fd input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 40px var(--panel) inset;caret-color:var(--ink)}
html[data-kit] .ksin .ksin-go{height:52px;margin:0;border:0;border-radius:3px;background:var(--ink);color:var(--bg);font:700 16px/20px var(--sans);cursor:pointer}
html[data-kit] .ksin .ksin-go:disabled{opacity:.6}
html[data-kit] .ksin .ksin-go:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
html[data-kit] .ksin .ksin-msg{font:500 14px/20px var(--data);color:var(--ink)}
html[data-kit] .ksin .ksin-msg.ok{font-weight:400;color:var(--soft)}
html[data-kit] .ksin .ksin-msg:empty{margin-top:-14px}
html[data-kit] .ksin .ksin-ln{display:flex;justify-content:space-between;flex-wrap:wrap;gap:0 16px;margin:-6px 0}
html[data-kit] .ksin .ksin-u{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:500 14px/20px var(--sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
html[data-kit] .ksin .ksin-terms{margin:0;font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .ksin .ksin-terms a{color:inherit;text-decoration:underline;text-underline-offset:3px}
html[data-kit] .ksin-wrap{position:fixed;inset:0;z-index:70;display:flex;align-items:flex-end;justify-content:center}
html[data-kit] .ksin-wrap .ksin-scrim{position:absolute;inset:0;background:rgba(5,6,15,.72);opacity:0;transition:opacity .2s ease}
html[data-kit][data-theme=light] .ksin-wrap .ksin-scrim{background:rgba(5,6,15,.4)}
html[data-kit] .ksin-wrap .ksin-sheet{position:relative;box-sizing:border-box;width:100%;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden auto;overscroll-behavior:contain;padding:8px 16px calc(20px + env(safe-area-inset-bottom));border-top:1px solid var(--line);border-radius:16px 16px 0 0;background:var(--bg);color:var(--ink);transform:translateY(100%);transition:transform .22s cubic-bezier(.2,.8,.2,1)}
html[data-kit] .ksin-wrap.on .ksin-scrim{opacity:1}
html[data-kit] .ksin-wrap.on .ksin-sheet{transform:none}
html[data-kit].ksin-lock,html[data-kit].ksin-lock body{overflow:hidden}
@media (min-width:768px){
  html[data-kit] .ksin-wrap{align-items:center}
  html[data-kit] .ksin-wrap .ksin-sheet{width:440px;padding:16px 24px 24px;border:1px solid var(--line);border-radius:16px;transform:translateY(16px);opacity:0;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .2s ease}
  html[data-kit] .ksin-wrap.on .ksin-sheet{opacity:1}
}
@media (prefers-reduced-motion:reduce){html[data-kit] .ksin-wrap .ksin-scrim,html[data-kit] .ksin-wrap .ksin-sheet{transition:none}}
/* price alerts */
html[data-kit] body.kalr main{max-width:calc(720px + 2*var(--gut))}
html[data-kit] body.kalr .kalr-col{display:flex;flex-direction:column;gap:14px;padding:24px 0 32px}
html[data-kit] body.kalr .kalr-h1{margin:0;font:400 34px/40px var(--sans);letter-spacing:-.01em;color:var(--ink)}
html[data-kit] body.kalr .kalr-sub{margin:4px 0 0;font:400 15px/22px var(--data);color:var(--muted)}
html[data-kit] body.kalr .kalr-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line)}
html[data-kit] body.kalr .kalr-tabs a{margin-bottom:-1px;padding:12px 0;border-bottom:2px solid transparent;font:500 15px/20px var(--sans);color:var(--muted);text-decoration:none;white-space:nowrap}
html[data-kit] body.kalr .kalr-tabs a.on{color:var(--ink);border-bottom-color:var(--ink)}
html[data-kit] body.kalr .kalr-it{display:flex;flex-direction:column;gap:12px;padding:12px 0 16px;border-bottom:1px solid var(--line)}
html[data-kit] body.kalr .kalr-it:first-child{padding-top:0}
html[data-kit] body.kalr .kalr-r{display:flex;gap:12px;color:var(--ink);text-decoration:none}
html[data-kit] body.kalr .kalr-st{width:72px;flex:none;aspect-ratio:4/5;display:flex;align-items:center;overflow:hidden;border-radius:6px;background:var(--k-stage)}
html[data-kit] body.kalr .kalr-st img{display:block;width:100%;height:auto;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
html[data-kit] body.kalr .kalr-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html[data-kit] body.kalr .kalr-nm{font:500 15px/20px var(--sans);color:var(--ink)}
html[data-kit] body.kalr .kalr-hs{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] body.kalr .kalr-pr{display:flex;align-items:baseline;gap:8px;margin-top:6px}
html[data-kit] body.kalr .kalr-pr b{font:700 17px/22px var(--sans);font-variant-numeric:tabular-nums;color:var(--ink)}
html[data-kit] body.kalr .kalr-pr s{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] body.kalr .kalr-mv{font:500 12px/16px var(--data);color:var(--green)}
html[data-kit] body.kalr .kalr-act{display:flex;gap:10px}
html[data-kit] body.kalr .al-buy{flex:1;min-width:0;box-sizing:border-box;height:52px;display:flex;align-items:center;justify-content:center;padding:0 12px;border-radius:3px;font:700 16px/20px var(--sans);text-align:center;text-decoration:none}
html[data-kit] body.kalr .al-buy:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
html[data-kit] body.kalr .kalr-see{flex:none;box-sizing:border-box;height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid var(--line);border-radius:3px;color:var(--ink);font:500 15px/20px var(--sans);text-decoration:none;white-space:nowrap}
html[data-kit] body.kalr .kalr-see.solo{flex:1}
html[data-kit] body.kalr .kalr-note{margin:6px 0 0;max-width:560px;font:400 15px/22px var(--data);color:var(--soft)}
html[data-kit] body.kalr :is(.kalr-note,.kalr-empty) a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
html[data-kit] body.kalr .kalr-go{box-sizing:border-box;height:52px;display:flex;align-items:center;justify-content:center;margin:14px 0 0;padding:0 28px;border-radius:3px;background:var(--ink);color:var(--bg);font:700 16px/20px var(--sans);text-decoration:none}
html[data-kit] body.kalr .kalr-empty{margin:22px 0 0}
html[data-kit] body.kalr .kalr-empty h2{margin:0 0 4px;font:500 22px/28px var(--sans);color:var(--ink)}
html[data-kit] body.kalr .kalr-empty p{margin:0;max-width:560px;font:400 15px/22px var(--data);color:var(--muted)}
html[data-kit] body.kalr .kalr-ft a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font:500 15px/20px var(--sans);text-decoration:underline;text-underline-offset:4px}
@media (min-width:768px){
  html[data-kit] body.kalr .kalr-it{flex-direction:row;align-items:center;gap:24px;padding:16px 0}
  html[data-kit] body.kalr .kalr-r{flex:1;min-width:0}
  html[data-kit] body.kalr .al-buy{flex:none;padding:0 20px}
  html[data-kit] body.kalr .kalr-see.solo{flex:none}
  html[data-kit] body.kalr .kalr-go{display:inline-flex}
}
@media (hover:hover) and (pointer:fine){
  html[data-kit] body.kalr .kalr-see:hover,html[data-kit] .ksin .ksin-g .vg-btn:hover{border-color:#8a8daa;background:none}
  html[data-kit] body.kalr .kalr-tabs a:hover,html[data-kit] body.kacc .kacc-u.q:hover{color:var(--ink)}
}
/* his note 18 Nov ("you removed all soul"): the violet italic word in the titles, a faint Universe glow behind the top of
   the page, the settings as panels, the empty alerts state as a framed card with the bell. Same tokens, both themes. */
html[data-kit] :is(body.kacc,body.kalr) main{position:relative;isolation:isolate}
html[data-kit] :is(body.kacc,body.kalr) main::before{content:'';position:absolute;z-index:-1;left:50%;top:-24px;width:min(1100px,100vw);height:420px;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(46% 60% at 30% 0,rgba(155,92,255,.2),rgba(155,92,255,0) 70%),radial-gradient(40% 55% at 74% 8%,rgba(88,104,255,.16),rgba(88,104,255,0) 70%)}
html[data-kit][data-theme=light] :is(body.kacc,body.kalr) main::before{opacity:.55}
html[data-kit] :is(.kacc-h1,.kalr-h1,h1.ksin-t) em{font-style:italic;color:var(--violet)}
html[data-kit][data-theme=light] :is(.kacc-h1,.kalr-h1,h1.ksin-t) em{color:#7a3fe0}
html[data-kit] body.kacc .kacc-sec{padding:18px 18px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
html[data-kit] body.kacc .kacc-sec .kacc-row:last-child{border-bottom:0;margin-bottom:-10px}
html[data-kit] body.kacc .kacc-sec .kacc-l+.kacc-row{margin-top:-8px}
html[data-kit] body.kacc .kacc-sel select,html[data-kit] body.kacc .kacc-seg{background:var(--bg)}
html[data-kit] body.kacc .kacc-row>svg:first-child{box-sizing:content-box;padding:9px;border:1px solid var(--line);border-radius:50%;color:var(--violet)}
html[data-kit][data-theme=light] body.kacc .kacc-row>svg:first-child{color:#7a3fe0}
html[data-kit] body.kacc .kacc-dz{border-radius:12px;background:var(--panel)}
html[data-kit] body.kalr .kalr-card{margin-top:6px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
html[data-kit] body.kalr .kalr-card .kalr-note{margin:0;color:var(--ink)}
html[data-kit] body.kalr .kalr-card .kalr-go{margin-top:16px}
html[data-kit] body.kalr .kalr-empty{display:flex;flex-direction:column;align-items:center;margin:10px 0 0;padding:32px 20px;border:1px dashed var(--line);border-radius:12px;text-align:center}
html[data-kit] body.kalr .kalr-bell{width:48px;height:48px;display:grid;place-items:center;margin-bottom:14px;border:1px solid var(--line);border-radius:50%;color:var(--violet)}
html[data-kit][data-theme=light] body.kalr .kalr-bell{color:#7a3fe0}
html[data-kit] body.kalr .kalr-ft{margin-top:6px}
@media (min-width:1024px){html[data-kit] :is(body.kacc .kacc-h1,body.kalr .kalr-h1,.ksin h1.ksin-t){font-size:56px;line-height:60px;letter-spacing:-.015em}}
/* ---- end slice 6b ---- */
/* ---- slice 7: small pages, cookie bar, states ---- */
/* Boards R4-1 (About), R4-2 (Privacy, Imprint, 404), R4-3 (states). Only in builds with VIALO_KIT_SMALL=1: build_site.sh
   removes this whole block otherwise, so the file is then exactly as before. Everything is scoped to .km (the reading pages
   written by build_pages.py _km_*), .kmbar (the offline / error bar, shell.js), .km-dym (empty search) and the home skeleton.
   Reading pages: one column on the page's own left edge (.kl), body 16/26 Inter, Satoshi headings, plain links.
   The cookie bar is styled in consent.js itself (it also runs on pages without this file). */
/* body:not(#km) only lifts these few rules over the generated pages' own phone fallback (styles.css: body:not(:has(#phoneCat)) ... !important) */
html[data-kit] .km{gap:12px;padding-top:24px;max-width:680px}
@media (max-width:1023px){html[data-kit] body:not(#km):has(.km) .desktopCat>div{padding-left:16px !important;padding-right:16px !important}}
html[data-kit] .km .km-sub{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .km .km-micro{font:500 13px/18px var(--data);color:var(--muted)}
html[data-kit] body:not(#km) .km h1.km-h1{margin:0;font:400 34px/40px var(--sans) !important;letter-spacing:-.01em;color:var(--ink)}
@media (min-width:1024px){html[data-kit] body:not(#km) .km h1.km-h1{font-size:56px !important;line-height:60px !important;letter-spacing:-.015em}}   /* QA 18 Nov: one title size on wide screens */
html[data-kit] body:not(#km) .km h2.km-h2{margin:14px 0 0;font:500 22px/28px var(--sans) !important;letter-spacing:0;color:var(--ink);scroll-margin-top:84px}
html[data-kit] body:not(#km) .km .km-lbl{margin:0;font:500 15px/20px var(--sans) !important;letter-spacing:0;color:var(--ink)}
html[data-kit] .km .km-p{margin:0;font:400 16px/26px var(--data);color:var(--soft);overflow-wrap:anywhere}
html[data-kit] .km .km-p a,html[data-kit] .km .km-sub a,html[data-kit] .km .km-back{color:var(--ink);text-decoration:underline !important;text-underline-offset:4px}
html[data-kit] .km .km-sub a{position:relative}
html[data-kit] .km .km-sub a::after{content:"";position:absolute;left:-8px;right:-8px;top:-14px;bottom:-14px}   /* a 44 px tap area for the one link in a small line */
html[data-kit] .km .km-p code{font:400 14px/22px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink)}
/* privacy: the short version in a panel, then "On this page" */
/* his call 18 Nov ("why are they on half the screen"): from 1024 px the small pages are centred, and a page with a
   contents list (Privacy) shows it in its own column beside the text, in view while you scroll. Lines stay readable (720 px). */
html[data-kit] .km-txt{display:flex;flex-direction:column;gap:12px}
@media (min-width:1024px){
  html[data-kit] .kl.km:not(.km-toc2){margin-left:auto;margin-right:auto}
  html[data-kit] .kl.km.km-toc2{display:grid;grid-template-columns:280px minmax(0,720px);column-gap:72px;row-gap:12px;max-width:1072px;margin-left:auto;margin-right:auto;align-items:start}
  html[data-kit] .km-toc2>.km-sub,html[data-kit] .km-toc2>h1{grid-column:1 / -1}
  html[data-kit] .km-toc2>h1{margin-bottom:20px !important}
  html[data-kit] .km-toc2>.km-toc{grid-column:1;grid-row:3 / span 2;position:sticky;top:92px;margin-top:0;max-height:calc(100vh - 116px);overflow:auto}
  html[data-kit] .km-toc2>.km-panel{grid-column:2;grid-row:3}
  html[data-kit] .km-toc2>.km-txt{grid-column:2;grid-row:4;margin-top:12px}
  html[data-kit] .km-toc2 .km-rows a svg{display:none}
  html[data-kit] .km-toc2>.km-txt>h2.km-h2:first-child{margin-top:0 !important}
}
html[data-kit] .km-panel{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
html[data-kit] .km-toc{display:flex;flex-direction:column;gap:12px;margin-top:10px}
html[data-kit] .km-rows{display:flex;flex-direction:column;border-top:1px solid var(--line)}
html[data-kit] .km-rows a{display:flex;align-items:center;gap:12px;min-height:44px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none !important;font:500 14px/20px var(--sans)}
html[data-kit] .km-rows a span{flex:1;min-width:0}
html[data-kit] .km-rows a small{font:400 13px/18px var(--data);color:var(--muted)}
html[data-kit] .km-rows a svg{flex:none;color:var(--muted)}
html[data-kit] .km-ways{margin-top:8px}
html[data-kit] .km-ways a{min-height:56px;font-size:15px}
@media (hover:hover) and (pointer:fine){html[data-kit] .km-rows a:hover{background:var(--panel)}}
/* about: the shops by logo (white files; ink in light mode), the contact button */
html[data-kit] .km-shops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-kit] .km-shops a{height:56px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px}
html[data-kit] .km-shops img{width:auto;display:block}
html[data-kit][data-theme=light] .km-shops img{filter:brightness(0)}
@media (hover:hover) and (pointer:fine){html[data-kit] .km-shops a:hover{background:var(--panel)}}
html[data-kit] .km .km-mail{align-self:flex-start;gap:8px;padding:0 14px;text-decoration:none !important}
html[data-kit] .km .km-addr{font:500 15px/22px var(--sans);color:var(--ink);user-select:all}   /* his call 18 Nov: the address is written out too */
@media (min-width:768px){html[data-kit] .km-shops{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* 404: one line, the search field, three ways back in */
html[data-kit] .km-404{gap:14px;padding-top:64px}
html[data-kit] .km-404 #sform{margin-top:8px}
html[data-kit] .km .km-back{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;margin-top:2px;font:500 15px/20px var(--sans)}
/* empty search (R4-3): the closest name as a plain question, then deals */
html[data-kit] .km-dym{margin:0 0 4px;font:400 15px/22px var(--data);color:var(--soft)}
html[data-kit] .km-dym a{display:inline-block;padding:11px 0;color:var(--ink);font:500 15px/22px var(--sans);text-decoration:underline;text-underline-offset:4px}
html[data-kit] #kmd{margin-top:20px}
html[data-kit] #sout>.kh1{margin:24px 0 8px}   /* air under the field (the later .kh1 rule of slice 5 had removed it) */
@media (max-width:767px){html[data-kit] #kmd .grid .card:nth-child(n+3){display:none}}
/* loading (R4-3): the home's waiting cards are empty stages with a slow soft pulse, no moving shine */
html[data-kit] .skel{background:var(--k-stage);animation:kpulse 1.6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){html[data-kit] .skel{animation:none;opacity:.55}}
/* offline / error bar (R4-3): one calm bar above the tab bar, Retry on the right (36 px high, 44 px tap area) */
html[data-kit] .kmbar{position:fixed;left:12px;right:12px;bottom:calc(var(--tab) + env(safe-area-inset-bottom) + 12px);z-index:70;display:flex;align-items:center;gap:12px;max-width:560px;margin:0 auto;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font:400 14px/20px var(--data)}
html[data-kit] body.notabs .kmbar{bottom:calc(env(safe-area-inset-bottom) + 12px)}
@media (min-width:768px){html[data-kit] .kmbar,html[data-kit] body.notabs .kmbar{bottom:28px}}
html[data-kit] .kmbar>svg{flex:none}
html[data-kit] .kmbar.err>svg{display:none}
html[data-kit] .kmbar span{flex:1;min-width:0}
html[data-kit] .kmbar button{position:relative;flex:none;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:3px;background:none;color:var(--ink);font:500 15px/20px var(--sans);cursor:pointer}
html[data-kit] .kmbar button::after{content:"";position:absolute;left:0;right:0;top:-4px;bottom:-4px}
html[data-kit] .kmbar button:disabled{opacity:.6}
