:root{color-scheme:light;--bg:#fff;--panel:#fff;--line:#d9d9d9;--line-strong:#1a1a1a;--text:#1a1a1a;--muted:#6b6b6b;--soft:#f3f3f3;--heart:#8a8a8a;--navbg:rgba(255,255,255,.88);--dotline:rgba(0,0,0,.25);--count-on:#bdbdbd;--shadow:0 20px 60px rgba(0,0,0,.25)}
:root[data-theme="dark"]{color-scheme:dark;--bg:#111;--panel:#181818;--line:#2f2f2f;--line-strong:#8a8a8a;--text:#f5f5f5;--muted:#9b9b9b;--soft:#1b1b1b;--heart:#aaa;--navbg:rgba(0,0,0,.65);--dotline:rgba(255,255,255,.35);--count-on:#555;--shadow:0 20px 60px rgba(0,0,0,.6)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Jost,"Helvetica Neue",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:400}
.topbar{max-width:1500px;margin:auto;padding:44px 24px 28px;display:flex;justify-content:space-between;gap:24px;align-items:end}
.eyebrow{font-size:12px;letter-spacing:.22em;color:var(--muted);margin-bottom:10px}
h1{margin:0;font-weight:300;font-size:clamp(36px,5vw,58px);line-height:1;letter-spacing:-.01em}
.topbar p{margin:14px 0 0;color:var(--muted);font-size:16px;letter-spacing:.02em}
.actions{display:flex;gap:10px;flex-wrap:wrap}
button{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:6px;padding:11px 18px;font:inherit;font-size:15px;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
button:hover{border-color:var(--line-strong)}
#themeBtn{width:42px;padding:0;display:inline-flex;align-items:center;justify-content:center}
#themeBtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#themeBtn .sun{display:none}
:root[data-theme="dark"] #themeBtn .sun{display:block}
:root[data-theme="dark"] #themeBtn .moon{display:none}
main{max-width:1500px;margin:auto;padding:0 24px 56px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:28px 22px}
.card{position:relative;display:block}
.cardOpen{display:block;width:100%;border:0;padding:0;background:transparent;text-align:left;border-radius:0;color:inherit}
.cardOpen:hover{border:0}
.imgwrap{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:2px;background:var(--soft)}
.imgwrap img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.card:hover img{transform:scale(1.03)}
.meta{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px 38px 0 2px;font-size:15px;color:var(--text)}
.cardDetails{font-size:13px;line-height:1.35;color:var(--muted)}
.heart{position:absolute;right:-6px;bottom:-4px;width:42px;height:40px;padding:0;border:0;background:transparent;border-radius:999px;color:var(--heart);font-size:19px;line-height:1;display:flex;align-items:center;justify-content:center}
.heart:hover{border:0;color:var(--text)}
.card.favorite .heart{color:var(--text)}
dialog{width:min(94vw,720px);max-height:92vh;overflow:auto;border:0;background:var(--panel);color:var(--text);border-radius:8px;padding:14px;box-shadow:var(--shadow)}
dialog::backdrop{background:rgba(20,20,20,.6)}
dialog img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;border-radius:2px;background:var(--soft);transition:opacity .15s ease}
dialog img.loading{filter:blur(6px);transform:scale(1.01)}
.stage{position:relative}
.nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:999px;padding:0;font-size:28px;line-height:1;background:var(--navbg);border-color:var(--line);z-index:2}
.prev{left:8px}.next{right:8px}
.close{position:fixed;top:18px;right:18px;width:42px;height:42px;border-radius:999px;padding:0;font-size:27px;background:var(--panel);border-color:var(--line);z-index:4}
.viewerBar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 2px}
.viewerBar strong{font-weight:500;font-size:17px}
.status{color:var(--muted);text-align:center;margin:28px 0 0}
.status:empty{display:none}
button:focus-visible{outline:2px solid var(--text);outline-offset:2px}
button:disabled{opacity:.4;cursor:not-allowed}
.dot{width:14px;height:14px;border-radius:50%;border:1px solid var(--dotline);flex:none;display:inline-block}
.dot.sm{width:10px;height:10px}
.ttl{display:inline-flex;align-items:center;gap:8px}
@media(max-width:700px){
  .topbar{flex-direction:row;align-items:center;gap:12px;padding:16px 14px 14px}
  .eyebrow{font-size:10px;margin-bottom:6px}
  h1{font-size:30px;white-space:nowrap}
  .topbar p{display:none}
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
  main{padding-left:14px;padding-right:14px}
  .actions{flex-wrap:nowrap;gap:8px;flex:none}
  .actions button{padding:10px 14px;font-size:14px;white-space:nowrap}
  .actions #themeBtn{padding:0;flex:0 0 42px;height:42px}
  #randomBtn{height:42px}
}

/* ---- Movimiento sutil ---- */
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.gallery.anim .card{animation:rise .55s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i,0)*45ms)}
.gallery.leaving{opacity:0;transform:translateY(4px);transition:opacity .13s ease,transform .13s ease}
.actions button,.fchip,.opt,.viewerBar button{transition:background .15s,border-color .15s,color .15s,transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .18s}
.actions button:hover:not(:disabled),.fgroup:not(.is-active) .fchip:hover,.viewerBar button:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.08)}
.actions button:active:not(:disabled),.fchip:active,.viewerBar button:active{transform:translateY(0) scale(.97);box-shadow:none}
.heart{transition:transform .2s ease,color .15s}
.heart:hover{transform:scale(1.18)}
@media(prefers-reduced-motion:no-preference){
  html.theme-anim,html.theme-anim *{transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease!important}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ---- Pestañas Mis outfits / Explorar ---- */
.tabs{max-width:1500px;margin:0 auto;padding:0 24px;display:flex;gap:28px;border-bottom:1px solid var(--line)}
.tab{border:0;border-radius:0;background:transparent;padding:12px 2px;font-size:16px;letter-spacing:.02em;color:var(--muted);position:relative}
.tab:hover{border:0;color:var(--text)}
.tab.active{color:var(--text)}
.tab::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--text);transform:scaleX(0);transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.tab.active::after{transform:scaleX(1)}
main{padding-top:24px}
.viewerInfo{display:flex;flex-direction:column;gap:3px;min-width:0}
.source{font-size:13px;color:var(--muted);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.source[href]{text-decoration:underline;text-underline-offset:3px}
a.source[href]:hover{color:var(--text)}
@media(max-width:700px){.tabs{padding:0 14px;gap:24px}}

/* ---- Botón de azar con icono (solo móvil) ---- */
#randomBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#randomBtn .shuf{display:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#randomBtn .lbl-short{display:none}
@media(max-width:700px){
  #randomBtn .shuf{display:block}
  #randomBtn .lbl-long{display:none}
  #randomBtn .lbl-short{display:inline}
}

/* ---- Barra de filtros compacta ---- */
.filterbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 24px}
.fchips{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.fwrap{position:relative;min-width:0;max-width:100%}
.fwrap[hidden]{display:none}
.fgroup{display:inline-flex;align-items:stretch;max-width:100%;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);transition:background .15s,border-color .15s,color .15s,transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .18s}
.fgroup:hover{border-color:var(--line-strong)}
.fchip{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;border:0;background:transparent;color:inherit;border-radius:999px;padding:9px 14px 9px 15px;font-size:15px;white-space:nowrap}
.fchip:hover{border:0}
.fgroup .fchip{padding-right:12px}
.fgroup.is-active .fchip{padding-right:6px}
.flabel{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ficon{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ficon .pt{fill:currentColor;stroke:none}
.chev{width:14px;height:14px;flex:none;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.fchip[aria-expanded="true"] .chev{transform:rotate(180deg)}
.fdot{width:14px;height:14px;border-radius:50%;border:1px solid var(--dotline);flex:none}
.fdot[hidden]{display:none}
.fx{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;border:0;border-radius:999px;background:transparent;color:inherit;padding:0}
.fx[hidden]{display:none}
.fx:hover{border:0}
.fx svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
/* activo: mismo lenguaje que el chip activo anterior (relleno invertido) */
.fgroup.is-active,.fchip.fav.active{background:var(--text);color:var(--bg);border-color:var(--text)}
.fgroup.is-active .chev{stroke:var(--count-on)}
.fgroup.is-active .fx:hover{opacity:.7}
.fchip.fav{border:1px solid var(--line);background:var(--panel)}
.fchip.fav:hover{border-color:var(--line-strong)}
.fchip.fav.active{border-color:var(--text);background:var(--text)}
.fchip.fav.active .ficon{fill:currentColor}
.fchip:focus-visible,.fx:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.fgroup.is-active .fchip:focus-visible,.fgroup.is-active .fx:focus-visible,.fchip.fav.active:focus-visible{outline-color:var(--text);outline-offset:3px}
.fmeta{margin-left:auto;flex:none;display:flex;align-items:center;gap:16px;font-size:14px;color:var(--muted);letter-spacing:.02em}
.fcount b{font-weight:500;color:var(--text)}
.clearAll{border:0;background:transparent;padding:4px 2px;font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;border-radius:4px}
.clearAll:hover{border:0;color:var(--text)}
.clearAll[hidden]{display:none}

/* ---- Paneles de opciones ---- */
.fpanel{position:absolute;z-index:30;top:calc(100% + 8px);left:0;width:300px;max-height:min(70vh,440px);overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:6px;box-shadow:var(--shadow);animation:pop .16s cubic-bezier(.2,.7,.2,1)}
.fpanel[hidden]{display:none}
@keyframes pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.sheetHead{display:flex;align-items:center;gap:10px;padding:8px 10px 6px}
.sheetGrip{display:none}
.sheetTitle{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-right:auto}
.sheetClear{border:0;background:transparent;padding:2px;font-size:13px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;border-radius:4px}
.sheetClear:hover{border:0;color:var(--text)}
.sheetClear[hidden]{display:none}
.sheetClose{display:none;border:0;background:transparent;padding:0;width:34px;height:34px;align-items:center;justify-content:center;border-radius:999px}
.sheetClose svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.opts{display:flex;flex-direction:column;gap:2px}
.opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;border-radius:6px;background:transparent;padding:10px 10px;font-size:15px}
.opt:hover:not(:disabled){border:0;background:var(--soft)}
.opt .olabel{flex:1;min-width:0}
.opt .count{font-size:13px;color:var(--muted);min-width:1.5em;text-align:right}
.opt .tick{width:16px;height:16px;flex:none;fill:none;stroke:var(--text);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.opt.on{background:var(--soft)}
.opt.on .tick{opacity:1}
.opt .dot{width:16px;height:16px}
.opt:disabled{opacity:.35}
.scrim{position:fixed;inset:0;z-index:40;background:rgba(10,10,10,.55);animation:fade .2s ease}
.scrim[hidden]{display:none}
@keyframes fade{from{opacity:0}to{opacity:1}}
body.sheet-open{overflow:hidden}

@media(min-width:701px){.scrim{display:none!important}}
@media(max-width:700px){
  .filterbar{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:16px}
  .fchips{overflow-x:auto;padding:4px;scroll-padding-inline:4px}
  .fwrap{display:flex;flex:none}
  .fgroup{min-width:0}
  .fgroup.is-active .chev{display:none}   /* con filtro activo la × sustituye al chevron: chips más angostos */
  .fgroup.is-active .fchip{padding-right:4px}
  .fchip.fav{flex:none}
  .fchip.fav{padding:9px 12px}
  .fchip{font-size:14px;padding-left:13px}
  .fmeta{margin-left:0;justify-content:space-between;font-size:13px;min-height:22px}
  .clearAll{font-size:13px}
  .fwrap{position:static}   /* la hoja se ancla a la pantalla, no al chip */
  .fpanel{position:fixed;z-index:50;top:auto;left:0;right:0;bottom:0;width:auto;max-height:80vh;border-radius:18px 18px 0 0;border-width:1px 0 0;padding:0 10px calc(14px + env(safe-area-inset-bottom));animation:sheetUp .26s cubic-bezier(.2,.8,.2,1);transition:transform .2s ease}
  @keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}
  .sheetHead{position:sticky;top:0;background:var(--panel);padding:20px 8px 8px;touch-action:none;z-index:1}
  .sheetGrip{display:block;position:absolute;top:8px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:var(--line-strong);opacity:.5}
  .sheetTitle{font-size:12px}
  .sheetClose{display:inline-flex}
  .opt{padding:13px 10px;font-size:16px;min-height:50px}
  .opt .dot{width:20px;height:20px}
  .opt .count{font-size:14px}
}
@media(max-width:360px){
  .fgroup.is-active .ficon{display:none}   /* el valor activo ya se explica solo */
  .fgroup.is-active .fchip{padding-left:11px;gap:6px}
  .fchips{gap:6px}
  h1{font-size:26px}
  .topbar{gap:8px}
  #randomBtn .lbl-short{display:none}   /* solo icono; el aria-label conserva el texto */
  #randomBtn{width:42px;padding:0!important}
}

/* ---- Camisa / Corbata ---- */
.subTitle{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding:10px 10px 6px}
.opts.seg{flex-direction:row;gap:8px;padding:0 4px 4px}
.opts.seg .opt{flex:1;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;min-height:0}
.opts.seg .opt:hover:not(:disabled){border-color:var(--line-strong)}
.opts.seg .opt .olabel{flex:none}
.opts.seg .opt .tick{display:none}
.opts.seg .opt.on{background:var(--text);color:var(--bg);border-color:var(--text)}
.opts.seg .opt.on .count{color:var(--count-on)}
.sheetDone{display:none}
.details{font-size:13px;color:var(--muted);letter-spacing:.01em}
.details[hidden]{display:none}
#tiePanel .opts:not(.seg){max-height:none}
@media(min-width:701px){#tiePanel{width:320px}}
@media(max-width:700px){
  .opts.seg .opt{padding:12px;font-size:15px}
  .sheetDone{display:block;position:sticky;bottom:0;width:100%;margin-top:10px;padding:14px;border-radius:999px;background:var(--text);color:var(--bg);border-color:var(--text);font-size:15px}
  .sheetDone:hover{border-color:var(--text)}
}
.fgroup.is-active .fdot{border-color:rgba(128,128,128,.7)}

/* ---- Comparar outfits ---- */
#compareToggle{border:1px solid var(--line);background:var(--panel);border-radius:999px;padding:9px 16px;flex:none}
#compareToggle[hidden]{display:none!important}
#compareToggle.active{background:var(--text);color:var(--bg);border-color:var(--text)}
#compareToggle:hover{border-color:var(--line-strong)}
#compareToggle.active:hover{border-color:var(--text)}
.pick{position:absolute;top:10px;left:10px;z-index:2;width:22px;height:22px;border-radius:50%;border:1px solid rgba(255,255,255,.92);background:rgba(17,17,17,.42);color:#fff;font-size:11px;font-weight:500;line-height:1;display:none;align-items:center;justify-content:center;pointer-events:none}
.gallery.comparing .pick{display:flex}
.gallery.comparing .card.selected .pick{background:#f5f5f5;color:#111;border-color:#f5f5f5}
.gallery.comparing .card.selected .imgwrap{box-shadow:0 0 0 1px var(--text)}
body.compare-mode main{padding-bottom:108px}
.compareBar{position:fixed;z-index:20;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:18px;max-width:calc(100vw - 24px);padding:10px 10px 10px 18px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow)}
.compareBar[hidden]{display:none!important}
#compareCount{font-size:14px;color:var(--muted);letter-spacing:.02em;white-space:nowrap}
.compareBarActions{display:flex;align-items:center;gap:8px}
#compareCancel{border:0;background:transparent;color:var(--muted);padding:8px 10px}
#compareCancel:hover{border:0;color:var(--text)}
#compareGo{background:var(--text);color:var(--bg);border-color:var(--text);border-radius:999px;padding:10px 16px}
#compareGo:hover{border-color:var(--text)}
dialog#compare{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:36px 40px 40px;background:var(--bg);color:var(--text);box-shadow:none;overflow:auto}
dialog#compare[open]{display:flex;flex-direction:column}
.compareTop,.compareStage{width:min(1240px,100%);margin-left:auto;margin-right:auto}
.compareTop{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;flex:none}
.compareTop h2{margin:0;font-weight:300;font-size:clamp(32px,4vw,48px);letter-spacing:-.01em;line-height:1}
.compareTop p{margin:12px 0 0;color:var(--muted);font-size:16px;letter-spacing:.02em;max-width:38em}
.compareTopActions{display:flex;gap:8px;flex:none}
.compareStage{flex:1;display:flex;align-items:flex-start;justify-content:center;min-height:0}
.compareCols{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.compareCol{display:flex;flex-direction:column;align-items:center;min-width:0}
.comparePhoto{width:min(100%,calc((100dvh - 270px) * 3 / 4));aspect-ratio:3/4;border-radius:4px;overflow:hidden;background:var(--soft);border:1px solid var(--line)}
dialog#compare .comparePhoto img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;display:block;border-radius:0;background:transparent}
.compareMeta{margin-top:14px;font-size:16px;text-align:center}
.compareActions{display:flex;justify-content:center;gap:8px;margin-top:12px}
.comparePicker{position:fixed;inset:0;z-index:6;display:flex;flex-direction:column;gap:18px;padding:28px 32px 32px;background:var(--bg);color:var(--text)}
.comparePicker[hidden]{display:none!important}
.comparePickerTop{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;width:min(1240px,100%);margin:0 auto}
.comparePickerTop h3{margin:0;font-weight:400;font-size:22px;letter-spacing:-.01em}
.comparePickerTop p{margin:6px 0 0;color:var(--muted);font-size:14px}
.comparePickerGrid{width:min(1240px,100%);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:18px 14px;overflow:auto;padding:2px 2px 8px}
.compareChoice{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;border:0;background:transparent;padding:0;text-align:left;color:inherit;border-radius:4px}
.compareChoice:hover{border:0}
.compareChoiceImg{display:block;width:100%;aspect-ratio:3/4;overflow:hidden;border-radius:4px;background:var(--soft);border:1px solid var(--line)}
dialog#compare .compareChoiceImg img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;display:block;border-radius:0;background:transparent}
.compareChoice.is-current .compareChoiceImg{box-shadow:0 0 0 1px var(--text)}
.compareNow{font-size:12px;color:var(--muted);letter-spacing:.02em}
@media(max-width:700px){
  #compareToggle{padding:8px 12px;font-size:14px}
  .compareBar{left:12px;right:12px;bottom:calc(16px + env(safe-area-inset-bottom));transform:none;width:auto;border-radius:16px;justify-content:space-between;gap:10px;padding:8px 8px 8px 14px}
  #compareCount{white-space:normal;line-height:1.25}
  body.compare-mode main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
  #compareGo,#compareCancel{padding:10px 12px;font-size:14px}
  dialog#compare{padding:16px 12px 18px}
  .compareTop{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:14px}
  .compareTop h2{font-size:30px}
  .compareTop p{font-size:14px;margin-top:8px}
  .compareTopActions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .compareTopActions button{padding:10px 8px;font-size:14px;white-space:normal;line-height:1.2}
  .compareCols{gap:10px}
  .comparePhoto{width:100%}
  .compareMeta{margin-top:8px;font-size:14px}
  .compareActions{width:100%;margin-top:8px;gap:6px}
  .compareActions button{flex:1;min-width:0;padding:8px 4px;font-size:12.5px;white-space:nowrap}
  .comparePicker{padding:16px 12px 16px}
  .comparePickerTop{align-items:center}
  .comparePickerTop h3{font-size:20px}
  .comparePickerGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
  .pick{top:8px;left:8px;width:20px;height:20px;font-size:10px}
}
@media(min-width:701px) and (max-width:900px){
  .compareBar{bottom:calc(16px + env(safe-area-inset-bottom))}
  body.compare-mode main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
}

@media(max-width:700px){
  .fgroup:not(.is-active) .chev{display:none}
  .fgroup:not(.is-active) .fchip{padding:10px 12px}
  .fchip.fav{padding:10px 14px}
  .ficon{width:18px;height:18px}
  .sheetDone{box-shadow:0 0 0 8px var(--panel)}
}
