.byob{width:min(1100px,100%);margin:0 auto;padding:0 clamp(1rem,4vw,3.5rem) 6rem;color:#351329;box-sizing:border-box}
.byob [hidden]{display:none!important}.byob *{box-sizing:border-box}.by-intro{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:clamp(1.5rem,5vw,4rem) 0 1.4rem;border-bottom:1px solid #bca9ad}
.by-intro p:first-child,.by-kicker{font-weight:800;letter-spacing:.13em;color:#843553}.by-intro h1,.by-review h2,.by-results h2{font-size:clamp(2.7rem,7vw,6rem);margin:0;line-height:.96;letter-spacing:-.05em}.by-intro h1 em,.by-results h2,.by-review h2{font-family:Georgia,serif;font-weight:500}.by-intro h1 em{color:#913e64}.by-intro p:last-child{max-width:34ch;line-height:1.45}.by-intro img{width:100%;height:clamp(12rem,30vw,20rem);object-fit:contain;mix-blend-mode:multiply}
.by-work,.by-review,.by-results{padding:1.25rem 0}.by-modes,.by-input-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.by-modes{border-bottom:1px solid #c4b4b6;margin-bottom:1.25rem}.byob button,.byob input,.byob select,.byob textarea{font:inherit}.byob button{cursor:pointer;color:inherit}.by-modes button,.by-link{background:none;border:0;padding:.65rem .45rem;font-weight:700}.by-modes button[aria-pressed=true]{box-shadow:inset 0 -3px #913e64}.by-work label,.by-goals label{display:block;font-weight:700}.by-work input,.byob select,.byob textarea{background:#fffaf2;color:#34142a;border:1px solid #ad989e;border-radius:3px;max-width:100%;padding:.62rem;display:block;margin:.5rem 0;width:100%}.by-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}.by-shelf button,.by-cards a{border:0;border-bottom:1px solid #bfa9ae;background:transparent;text-align:left;padding:.6rem 0;font-weight:700}.by-shelf button[aria-pressed=true]{border-bottom:3px solid #813054;color:#753150}.by-shelf img{width:100%;height:5.5rem;object-fit:contain;display:block;mix-blend-mode:multiply}.by-shelf small{display:block;color:#755266;font-size:.77rem}.by-link{text-decoration:underline;text-underline-offset:.2em}.by-picked{display:flex;gap:.4rem;flex-wrap:wrap}.by-picked button{border:1px solid #987587;background:none;border-radius:1.5rem;padding:.45rem .7rem}.by-review,.by-results{border-top:1px solid #bdaab0}.by-review h2,.by-results h2{font-size:clamp(2.2rem,5vw,4.2rem)}.by-goals{display:flex;gap:1rem;margin-top:1rem}.by-primary,.by-input-actions button:last-child{background:#351329;border:0;border-radius:3px;color:#fff3e6!important;padding:.7rem 1.2rem;font-weight:700}.by-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.by-cards article{border-top:1px solid #bca8ae;padding:.65rem 0}.by-cards img{display:block;width:100%;height:clamp(8rem,21vw,15rem);object-fit:contain;mix-blend-mode:multiply}.by-cards h3{font-size:1.25rem;margin:.4rem 0;line-height:1.15}.by-cards a{border:0;color:inherit;text-decoration:underline;text-underline-offset:.12em}.by-cards p{margin:.35rem 0;line-height:1.42}.by-cards small{color:#744258}.byob button:focus-visible,.byob a:focus-visible{outline:3px solid #943d66;outline-offset:2px}
@media(max-width:620px){.by-intro{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.by-intro img{height:10rem}.by-intro p:last-child{font-size:.94rem}.by-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}.by-modes{gap:0;justify-content:space-between}.by-modes button{font-size:.92rem}.by-shelf img{height:4.4rem}.by-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.by-goals{gap:.5rem;flex-wrap:wrap}.by-cards h3{font-size:1.09rem}}

.by-work .by-assisted{font-weight:500;display:flex;gap:.45rem;align-items:center}.by-work .by-assisted input{width:auto;margin:0}.by-review #by-variants label{display:block;margin-top:.7rem;font-weight:600}.by-review #by-variants select{max-width:28rem}

.by-check-picks{display:block;width:fit-content;margin:-.45rem 0 .85rem;font-weight:700;color:#783453;text-underline-offset:.2em}.by-review{scroll-margin-top:1.5rem}
.by-browse-level,.by-photo-actions,.by-save-actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.by-browse-level button{background:none;border:0;padding:.6rem 0;color:#715565}.by-browse-level button[aria-pressed=true]{color:#351329;font-weight:750;border-bottom:2px solid currentColor}.by-subgroup{max-width:27rem;margin:.6rem 0 1rem}.by-photo-actions{position:relative}.by-photo-actions label{cursor:pointer;border:1px solid #795369;padding:.75rem 1rem}.by-photo-actions input{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}.by-photo-actions label:has(+ input:focus-visible){outline:3px solid #943d66}.byob #by-save-panel{border-top:1px solid #bdaab0;padding:1.3rem 0}.byob #by-name{display:block;width:min(100%,27rem);background:#fffaf2;border:1px solid #ad989e;color:#351329;padding:.7rem;margin:.4rem 0 .75rem}.by-primary:disabled{opacity:.55}.byob textarea{resize:vertical}

.by-lineup{display:grid;place-items:center;min-width:0}
.by-intro .by-open-cabinet{display:block;width:100%;height:auto;max-height:22rem;object-fit:contain}
.by-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 1rem}
.by-modes button{display:flex;align-items:center;justify-content:center;gap:.6rem;padding:.8rem .3rem;min-height:48px;color:#76586b}
.by-modes button[aria-pressed=true]{color:#461531}
.by-work h2{margin:0;font:italic 500 clamp(1.75rem,3.4vw,2.8rem)/1.12 Georgia,serif;letter-spacing:-.04em}
.by-work [data-panel=photo] p{margin:.45rem 0 .9rem}
.by-photo-actions label{display:inline-flex;align-items:center;gap:.5rem;min-height:44px}
.by-photo-actions label:first-child{background:#351329;color:#fff3e6}
.by-cabinet-tools{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.by-cabinet-tools .by-link,.by-cabinet-tools .by-check-picks{padding:.25rem 0 .65rem;margin:0}
.by-categories{display:flex;gap:.65rem;overflow:auto;padding:.2rem .1rem .6rem;scrollbar-width:thin}
.by-categories button{border:0;background:transparent;white-space:nowrap;padding:.55rem .15rem;color:#755466}
.by-categories button[aria-pressed=true]{font-weight:750;text-decoration:underline;text-underline-offset:.25em;color:#351329}
.by-goals{display:grid;gap:.6rem}
.by-intents{border:0;padding:0;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:.25rem .75rem}
.by-intents legend{font-weight:700;margin:0 0 .4rem}
.by-intents label{position:relative;cursor:pointer}
.by-intents input{position:absolute;clip-path:inset(50%);width:1px;height:1px}
.by-intents span{display:inline-flex;align-items:center;padding:.4rem 0;min-height:44px;font-weight:500;color:#73566b}
.by-intents input:checked+span{color:#351329;box-shadow:inset 0 -2px currentColor;font-weight:750}
.by-intents input:focus-visible+span{outline:3px solid #943d66}
.by-filters,.by-filters label{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.by-filters{gap:1.2rem;margin:.25rem 0 .9rem}
.by-filters label{font-size:.9rem;font-weight:550}
.by-filters input[type=checkbox],.by-assisted input{accent-color:#703654}
.by-filters input[type=number]{width:8rem;border:0;border-bottom:1px solid #a28b94;background:transparent;color:inherit;padding:.5rem .25rem}
#by-feedback:empty{margin:0}
@media(max-width:600px){
.by-intro{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:0 .55rem;padding:1.2rem 0 .85rem}
.by-intro>div:first-child{display:contents}
.by-intro>div:first-child>p:first-child{grid-area:1/1;margin:0;font-size:.75rem}
.by-intro h1{grid-area:2/1;font-size:clamp(2rem,8.2vw,3.6rem)}
.by-lineup{grid-area:1/2/3/3}
.by-intro>div:first-child>p:last-child{grid-area:3/1/4/-1;margin:.8rem 0 0;max-width:50ch}
.by-work{padding:.55rem 0 1rem}
.by-modes button{gap:.35rem;font-size:.94rem}
.by-modes svg{width:1.25rem}
}

body.byob-page{background:#f7f0e6;color:#351329}
.byob-page .masthead{background:#2b0b21;color:#fff4e6}
.byob-page .by-open-cabinet{mix-blend-mode:normal}

.by-modes button{gap:.58rem;padding:.58rem .15rem;min-height:55px}
.by-modes button svg{width:clamp(1.75rem,5.8vw,2.35rem);height:auto;flex:none;stroke-width:1.65}

.by-currency-options select{max-width:17rem}
#by-currency-note{margin:.45rem 0;color:#73364f}
@media(max-width:600px){.by-modes button{gap:.35rem;font-size:.92rem}}

.by-visual{position:relative;display:grid;place-items:center;width:100%;height:clamp(10rem,22vw,17rem)}
.by-intro .by-visual img{width:100%;height:100%;object-fit:contain;max-height:inherit}
.by-example{margin:0 0 .85rem;max-width:43rem}
.by-work .by-example p{margin:.42rem 0 0;line-height:1.45}
.by-viewfinder{position:absolute;inset:27% 30% 33% 60%;background:linear-gradient(#fff3dc,#fff3dc) left top/25% 2px,linear-gradient(#fff3dc,#fff3dc) left top/2px 14%,linear-gradient(#fff3dc,#fff3dc) right top/25% 2px,linear-gradient(#fff3dc,#fff3dc) right top/2px 14%,linear-gradient(#fff3dc,#fff3dc) left bottom/25% 2px,linear-gradient(#fff3dc,#fff3dc) left bottom/2px 14%,linear-gradient(#fff3dc,#fff3dc) right bottom/25% 2px,linear-gradient(#fff3dc,#fff3dc) right bottom/2px 14%;background-repeat:no-repeat;pointer-events:none}
@media(max-width:600px){.by-visual{height:clamp(7.2rem,31vw,11.6rem)}}
.by-visual .by-open-cabinet{position:absolute;inset:0;max-height:100%;min-height:0;min-width:0}
.by-modes button span{white-space:nowrap}
@media(max-width:420px){.by-modes{grid-template-columns:1fr 1fr 1.15fr}.by-modes button{gap:.3rem;font-size:.89rem}.by-modes button svg{width:1.65rem}}
/* The camera view and its catalogue caption form one optical study. */
.by-lineup [data-visual=photo]{width:100%;height:clamp(13.5rem,25vw,18rem);isolation:isolate}
.by-intro [data-visual=photo] .by-open-cabinet{width:100%;height:80%;top:0;object-fit:contain}
.by-intro [data-visual=photo] .by-sample-bottle{position:absolute;left:50%;top:19%;transform:translateX(-50%);width:auto;height:45%;max-width:28%;object-fit:contain;mix-blend-mode:normal}
.by-visual .by-viewfinder{inset:16% 39% 34% 39%;opacity:.85}
#by-lens-caption{position:absolute;inset:auto 0 0;text-align:center;color:#351329;line-height:1.1}
#by-lens-caption small,#by-lens-caption strong{display:block}
#by-lens-caption small{font-size:.75rem;color:#81546c;margin-bottom:.18rem}
#by-lens-caption strong{font-size:clamp(.81rem,1.5vw,1.1rem)}
#by-camera-preview{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);width:auto;height:52%;max-width:55%;aspect-ratio:1;object-fit:cover;border-radius:50%}
.by-visual[data-scan] .by-sample-bottle{display:none}
.by-visual[data-scan=reading] .by-viewfinder{animation:by-scan 1.2s ease-in-out infinite alternate}
@keyframes by-scan{from{transform:translateY(-4px)}to{transform:translateY(4px)}}
@media(prefers-reduced-motion:reduce){.by-visual[data-scan=reading] .by-viewfinder{animation:none}}
.by-recognised{display:flex;gap:.8rem;flex-wrap:wrap}.by-recognised>div{display:flex;align-items:center;gap:.4rem;max-width:15rem}.by-recognised img{width:3rem;height:3rem;object-fit:contain;mix-blend-mode:multiply}
.by-record{width:min(100%,24rem);display:flex;align-items:center;justify-content:center;gap:.65rem;border:0;border-radius:.3rem;background:#36142b;color:#fff6e9!important;padding:1.05rem 1.15rem;min-height:56px;margin:.4rem 0 .8rem}
.by-record span{width:1rem;height:1rem;border-radius:50%;background:#ff7d9e}.by-record[aria-pressed=true] span{border-radius:.15rem}
#by-mic-status{font-size:.92rem;margin:.35rem 0 .65rem}#by-mic-status:empty{display:none}
.by-modes button svg{display:block;flex:0 0 1.8rem;width:1.8rem;height:1.8rem}
.by-categories,.by-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(8rem,1fr));gap:.45rem 1rem;padding:0;margin:.65rem 0 0;overflow:visible;align-items:start}
.by-categories button,.by-shelf button{display:grid;grid-template-rows:auto minmax(2.1em,auto);gap:.35rem;background:transparent;border:0;border-bottom:1px solid #d1bfc3;padding:.45rem .05rem .65rem;white-space:normal;text-align:left;width:100%;line-height:1.17;color:#39192f}
.by-categories button strong,.by-shelf .by-clue-name{font-size:.96rem;font-weight:650;overflow-wrap:anywhere}
.by-shelf button[aria-pressed=true]{color:#6c2045;box-shadow:inset 0 -3px #913e64}
.by-clue-art{display:grid;grid-template: minmax(0,1fr) / minmax(0,1fr);place-items:center;width:100%;height:5.6rem;position:relative}
.by-clue-art img,.by-categories .by-clue-art img,.by-shelf .by-clue-art img{width:100%;height:100%;max-height:5.6rem;object-fit:contain;mix-blend-mode:multiply}
.by-shelf .by-brand-mark img{max-width:94%;max-height:75%}
.by-brand-mark .by-ink-mark{filter:brightness(0) saturate(100%) invert(11%) sepia(17%) saturate(2006%) hue-rotate(266deg)}
.by-clue-art .by-roomy-photo{transform:scale(1.09)}
.by-shelf .by-type-only .by-clue-name{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
.by-clue-type span{font:italic 600 clamp(.86rem,1.4vw,1rem)/1.1 Georgia,serif;max-width:95%;text-align:center;overflow-wrap:anywhere;color:#784257}
.by-shelf button[aria-pressed=true] .by-clue-art:after{content:'✓';position:absolute;background:#432138;color:#fff5e9;top:0;right:0;padding:.15rem .25rem;font-size:.85rem;border-radius:2px}
.by-shelf-tools{display:flex;align-items:baseline;gap:1rem;justify-content:space-between;margin-top:.65rem}.by-shelf-tools h3{margin:0}
@media(max-width:600px){
  .by-lineup [data-visual=photo]{height:clamp(8.4rem,34vw,10rem)}
  #by-lens-caption small{font-size:.62rem}#by-lens-caption strong{font-size:.73rem}
  .by-categories,.by-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem .55rem}
  .by-clue-art{height:clamp(3.6rem,17vw,5rem)}.by-shelf .by-clue-art img,.by-categories .by-clue-art img{max-height:clamp(3.6rem,17vw,5rem)}
  .by-shelf .by-clue-name,.by-categories button strong{font-size:.84rem}
  .by-modes button svg{flex-basis:1.55rem;width:1.55rem;height:1.55rem}
}

@media(max-width:380px){.by-photo-actions{display:grid;grid-template-columns:max-content max-content;gap:.55rem}.by-photo-actions label{font-size:.85rem;padding:.72rem .8rem}.by-photo-actions label svg{width:1.1rem}}
@media(max-width:430px){
  .by-shelf[data-family=drinks]{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem 1rem}
  .by-shelf[data-family=drinks] .by-clue-art{height:clamp(5.2rem,24vw,6.4rem)}
  .by-shelf[data-family=drinks] .by-clue-art img{height:clamp(5.2rem,24vw,6.4rem);max-height:clamp(5.2rem,24vw,6.4rem)}
  .by-shelf[data-family=drinks] .by-brand-mark img{height:clamp(3.75rem,17.3vw,4.6rem);max-width:94%}
  .by-shelf[data-family=drinks] .by-clue-name{font-size:.92rem}
}

/* A camera is only opened by gesture. Its controls stay inside the safe area. */
#by-open-camera{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.75rem 1rem;min-height:46px;border:1px solid #351329;background:#351329;color:#fff4e6;font-weight:700}
#by-open-camera svg{width:1.35rem}
#by-lens{padding:0;border:0;margin:0;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;background:#231520;color:#fff5e8;color-scheme:dark}
#by-lens::backdrop{background:#190e16}
.by-lens-scene{position:relative;isolation:isolate;width:100%;height:100%;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}
.by-lens-scene video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-2;background:#1e141c}
.by-lens-scene header,.by-camera-controls{padding:1rem clamp(1rem,4vw,3rem);background:linear-gradient(#21121bed,transparent);display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.by-lens-scene header{padding-top:max(1rem,env(safe-area-inset-top))}
.by-lens-scene header h2{font:italic 500 clamp(1.7rem,5vw,2.7rem)/1 Georgia,serif}
.by-lens-scene button{min-height:46px;padding:.65rem 1rem;background:#311931;border:1px solid #bda7ad;border-radius:2rem;color:#fff7e7;font-weight:700}
.by-lens-scene button:focus-visible{outline:3px solid #ffe08b}
.by-camera-controls{background:linear-gradient(transparent,#190f17ef 40%);flex-wrap:wrap;justify-content:center;padding:2rem .9rem max(1.25rem,env(safe-area-inset-bottom))}
.by-camera-controls p{width:100%;text-align:center;margin:0 0 .25rem;line-height:1.45;color:inherit;font-weight:600;text-shadow:0 1px 6px #1b0c14}
.by-camera-controls #by-shutter{background:#fff4e3;color:#351329;border-color:#fff4e3}
.by-camera-controls button:disabled{opacity:.5}
.by-live-frame{align-self:center;justify-self:center;width:min(70%,50rem);height:70%;max-height:65vh;--corner:#ffdaa0;background:linear-gradient(var(--corner),var(--corner)) left top/2px 2rem,linear-gradient(var(--corner),var(--corner)) left top/2rem 2px,linear-gradient(var(--corner),var(--corner)) right top/2px 2rem,linear-gradient(var(--corner),var(--corner)) right top/2rem 2px,linear-gradient(var(--corner),var(--corner)) left bottom/2px 2rem,linear-gradient(var(--corner),var(--corner)) left bottom/2rem 2px,linear-gradient(var(--corner),var(--corner)) right bottom/2px 2rem,linear-gradient(var(--corner),var(--corner)) right bottom/2rem 2px;background-repeat:no-repeat;opacity:.3}
#by-lens[data-live=true] .by-live-frame{opacity:.95}
.byob:has([data-mode=speak][aria-pressed=true]) .by-intro,.byob:has([data-mode=browse][aria-pressed=true]) .by-intro{display:none}
.by-work .by-record{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:center;gap:clamp(.4rem,4vw,2.5rem);width:min(100%,41rem);min-height:9.2rem;margin:.7rem 0;padding:.8rem 1.05rem;background:radial-gradient(ellipse at 26% 85%,#79374a,transparent 52%),#321326;border:1px solid #633348;border-radius:.3rem;text-align:left}
.by-record .by-studio-mic,.by-record .by-studio-copy{background:none;border-radius:0;display:block;position:relative}
.by-record .by-studio-mic{width:4.4rem;height:8.7rem;overflow:hidden;flex:none}
.by-record .by-studio-mic img{display:block;position:absolute;bottom:0;left:0;width:17.4rem;max-width:none;height:auto}
.by-record .by-studio-copy{width:auto;height:auto}
.by-record .by-studio-copy small,.by-record .by-studio-copy b{display:block}
.by-record .by-studio-copy small{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#efbc9f;margin-bottom:.38rem}
.by-record .by-studio-copy b{font-size:clamp(1.2rem,4.8vw,1.8rem);line-height:1.1}
.by-record .by-wave{display:flex;align-items:center;gap:4px;height:2rem}
.by-wave i{background:#e897ac;width:3px;height:var(--h);border-radius:3px}
.by-record[aria-pressed=true] .by-wave i{animation:by-podcast-wave .7s var(--delay) ease-in-out infinite alternate}
@keyframes by-podcast-wave{from{transform:scaleY(.55)}to{transform:scaleY(1.9)}}
.by-map{position:relative;isolation:isolate;width:min(100%,34rem);height:clamp(10.6rem,38vw,14rem);margin:.7rem auto 0;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr;align-items:center;justify-items:center;overflow:hidden;color:#452439;background-color:#f2e6d0;background-image:repeating-radial-gradient(ellipse at -38% -82%,transparent 0 12px,#dacbad 13px,transparent 15px 23px),repeating-radial-gradient(ellipse at 113% 135%,transparent 0 22px,#d8c2a4a0 23px,transparent 25px 42px)}
.by-map button{z-index:1;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:.1rem;max-width:100%;min-height:44px;padding:.15rem .25rem;border:0;background:transparent;color:#3c2231;font-size:clamp(.72rem,2.6vw,.92rem);line-height:1.05;font-weight:700}
.by-map button img{width:clamp(2.1rem,6.8vw,3.65rem);height:clamp(1.65rem,5.3vw,2.75rem);object-fit:contain;mix-blend-mode:multiply}
.by-map button[aria-pressed=true] span{box-shadow:0 2px #7a284c;color:#6b1a41}
.by-map [data-bearing=bright]{grid-area:1/2}.by-map [data-bearing=spiced]{grid-area:2/3}.by-map [data-bearing=roasted]{grid-area:3/2}.by-map [data-bearing=green]{grid-area:2/1}
.by-dial{position:absolute;left:50%;top:50%;width:clamp(3.1rem,10vw,4.4rem);aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #96663e;border-radius:50%;background:repeating-conic-gradient(#a3704e 0deg 1deg,transparent 1deg 15deg);box-shadow:0 0 0 3px #f4e9d4,0 0 0 4px #b69c76}
.by-dial:before{position:absolute;content:"";border-radius:50%;inset:8%;background:#f7eddc}
.by-dial i{position:absolute;inset:8% 40%;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:linear-gradient(#7b2346 50%,#bd9975 50%);transform:rotate(var(--bearing,45deg));transition:transform .45s cubic-bezier(.22,.65,.3,1)}
.by-map-location{width:min(100%,34rem);margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:.2rem .1rem;min-height:1.8rem;gap:.4rem;color:#724b60;font-size:.84rem;font-weight:600}
.by-map-location button{min-height:44px;padding:.1rem .2rem}
@media(prefers-reduced-motion:reduce){.by-dial i{transition:none}.by-record[aria-pressed=true] .by-wave i{animation:none}}
.by-lens-scene video{object-fit:cover}
.by-lens-scene header h2,.by-lens-scene #by-close-camera{white-space:nowrap}
.by-map button{mix-blend-mode:multiply}
.by-cabinet-tools .by-link{white-space:nowrap}
@media(max-width:380px){
  .by-photo-actions{grid-template-columns:1fr 1fr}
  .by-photo-actions label,#by-open-camera{justify-content:center;padding:.65rem .38rem;font-size:.83rem;min-width:0}
  .by-lens-scene header h2{font-size:1.5rem}
  .by-lens-scene #by-close-camera{font-size:.86rem;padding:.5rem .7rem}
}
.by-map{touch-action:pan-y;background:#f3e7d2;height:clamp(12rem,38vw,15.5rem)}
.by-map:before{content:"";position:absolute;inset:-16%;z-index:-1;pointer-events:none;background: url('/assets/gifts/byob-compass-map.svg') center/cover no-repeat,radial-gradient(ellipse at 12% 40%,#dfd9bd,transparent 48%),radial-gradient(ellipse at 88% 65%,#ead1bd,transparent 52%);transform:translate(var(--mx,0),var(--my,0)) scale(var(--mz,1));transition:transform .55s cubic-bezier(.22,.65,.3,1)}
.by-map[data-region=bright]{--mx:0;--my:6%;--mz:1.08}.by-map[data-region=spiced]{--mx:-6%;--my:0;--mz:1.08}.by-map[data-region=roasted]{--mx:0;--my:-6%;--mz:1.08}.by-map[data-region=green]{--mx:6%;--my:0;--mz:1.08}
@media(prefers-reduced-motion:reduce){.by-map:before{transition:none}}

/* Cabinet entry shares the paper, burgundy ink and still-life treatment of the guide library. */
.by-station-title {padding:clamp(1.5rem,5vw,3.4rem) 0 .65rem}
.by-station-title h1 {margin:0;font-size:clamp(2.35rem,6vw,5.4rem);line-height:1;letter-spacing:-.055em}
.by-station-title h1 em {font-family:Georgia,serif;font-weight:500;color:#86405d}
.by-work .by-modes {max-width:46rem;margin-inline:auto}
.by-camera-poster,.by-recording-booth {position:relative;isolation:isolate;display:grid;justify-items:center;width:min(100%,53rem);margin:0 auto;overflow:hidden}
.by-camera-poster {min-height:min(70svh,37rem);padding:1.35rem clamp(1rem,5vw,3.8rem) 1.6rem;background:#f0e5d4}
.by-camera-poster::before,.by-camera-poster::after {content:"";position:absolute;pointer-events:none;inset:.65rem}
.by-camera-poster::before {border:1px solid #bda799}
.by-camera-poster::after {--line:linear-gradient(#64324b,#64324b);background:var(--line) left top/1.5rem 3px,var(--line) left top/3px 1.5rem,var(--line) right top/1.5rem 3px,var(--line) right top/3px 1.5rem,var(--line) left bottom/1.5rem 3px,var(--line) left bottom/3px 1.5rem,var(--line) right bottom/1.5rem 3px,var(--line) right bottom/3px 1.5rem;background-repeat:no-repeat}
.by-camera-copy,.by-recording-booth .by-example {width:100%;max-width:40rem;position:relative;z-index:1}
.by-camera-copy p,.by-recording-booth .by-example p {max-width:44ch;line-height:1.4}
.by-glass-frame {position:relative;width:100%;height:clamp(12rem,35svh,22rem);display:grid;place-items:center}
.by-glass-frame img,.by-glass-frame #by-camera-preview {position:static;transform:none;width:100%;height:100%;max-width:100%;min-height:0;object-fit:contain;border-radius:0}
.by-camera-poster[data-scan] .by-glass-frame img {display:none}
.by-camera-poster #by-lens-caption {position:static}
.by-camera-poster #by-lens-caption:not(:empty) {margin:.25rem}
.by-camera-poster .by-photo-actions {display:flex;flex-wrap:wrap;align-self:end;justify-content:center;gap:.45rem}
.by-camera-poster .by-photo-actions label {border-color:#63364b;color:#41182f}
.by-camera-poster #by-open-camera {color:#fff6e6}
.by-recording-booth {color:#fff1db;background:radial-gradient(ellipse at center bottom,#673848,#301326 85%);padding:1.3rem clamp(1rem,4.8vw,3rem) 1rem}
.by-recording-booth .by-example {align-self:start;margin:0}
.by-recording-booth .by-example h2,.by-recording-booth .by-example p {color:inherit}
.by-booth-mic {display:block;width:min(100%,35rem);height:clamp(14rem,43svh,29rem);object-fit:contain;object-position:center bottom;pointer-events:none}
.byob .by-record-action {display:inline-flex;align-items:center;justify-content:center;gap:.65rem;position:relative;min-height:52px;padding:.8rem 1.4rem;margin-top:.1rem;background:#fef2df;color:#361629;border:0;border-radius:2.5rem}
.by-record-action i {display:block;width:1.1rem;aspect-ratio:1;background:#ac3053;border-radius:50%}
.by-record-action[aria-pressed=true] i {border-radius:2px}
.by-work [data-panel=speak]>label[for=by-words] {display:block;margin:1rem 0 .3rem;font-weight:700}
.by-atlas-top {display:grid;grid-template-columns:1fr auto;align-items:center;gap:.7rem}
.by-atlas-top p {margin:.4rem 0;max-width:40ch}
.by-heading button {border:0;background:none;color:#542c43;font-size:.76rem;font-weight:700;min-height:44px;padding:.1rem;text-align:center}
.by-heading button:disabled {opacity:1;cursor:default}
.by-heading #by-heading-label {display:block}
.by-instrument {position:relative;width:clamp(4.8rem,14vw,8rem);aspect-ratio:1;display:block;margin:0 auto}
.by-instrument img {width:100%;height:100%;object-fit:contain}
.by-heading button[data-live=true] .by-instrument img {transform:rotate(var(--north,0deg))}
#by-heading-help:empty {display:none}
#by-heading-help {font-size:.86rem;margin:.4rem 0}
.byob .by-map {width:100%;height:auto;min-height:6.5rem;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;margin:.7rem 0 .15rem;padding:.55rem .2rem}
.byob .by-map [data-bearing] {grid-area:auto;min-height:65px;width:100%;gap:.3rem}
.byob .by-map-location {width:100%}
@media(max-width:600px){
 .byob {padding-bottom:6rem}
 .by-camera-poster,.by-recording-booth {width:calc(100% + 2rem);margin-inline:-1rem}
 .by-camera-poster {min-height:clamp(23rem,calc(100svh - 13rem),47rem);grid-template-rows:auto 1fr auto auto}
 .by-glass-frame {height:100%;min-height:12rem;max-height:47svh}
 .by-station-title {padding-top:1.1rem}
 .by-camera-poster,.by-recording-booth {padding-inline:1.45rem}
}

.byob :is(button,a,label){-webkit-tap-highlight-color:rgba(145,62,100,.12)}
/* Shelfie: an editorial invitation, followed by an explicit bottle review. */
.by-camera-poster{background:transparent;min-height:0;overflow:visible;padding:1.25rem 0 .5rem;width:100%;grid-template-columns:1fr 1fr;gap:1rem 2rem;text-align:left}
.by-camera-poster::before,.by-camera-poster::after{display:none}
.by-camera-copy h2{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.05;margin-bottom:.65rem}
.by-camera-copy .by-photo-how{font-weight:600;font-size:.78rem;line-height:1.7;color:#785264;margin:1rem 0}
.by-camera-poster .by-glass-frame{grid-column:2;grid-row:1 / 4;height:clamp(15rem,31vw,25rem);min-height:0;max-height:none}
.by-camera-poster .by-photo-actions{justify-content:flex-start;align-self:start}
.by-camera-poster #by-lens-caption{grid-column:1;text-align:left}
.by-camera-poster[data-scan] .by-glass-frame{height:20rem}
.by-photo-private{font-size:.78rem;color:#785264;line-height:1.5;margin:.7rem 0 1.2rem}
#by-photo-matches{border-top:1px solid #bda799;padding:1.4rem 0;scroll-margin-top:7rem}
#by-photo-matches h3{font-size:1.6rem;margin:0 0 .5rem}
#by-photo-note{max-width:55ch;font-size:1rem;line-height:1.5;margin-bottom:1rem}
.by-label-lookup{display:block;font-weight:700;margin:1.2rem 0 .5rem}.by-label-lookup span{display:block;font-weight:400;font-size:.85rem;color:#785264;margin-top:.25rem}
#by-photo-name{width:100%;padding:.8rem;background:#fffaf2;border:1px solid #987385;color:#351329;font-size:1rem;min-height:48px}
.by-photo-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.byob .by-photo-choice{display:flex;align-items:center;gap:.65rem;text-align:left;background:transparent;color:#351329;border:1px solid #bda799;padding:.6rem;min-height:85px}
.by-photo-choice img{width:3.5rem;height:4rem;object-fit:contain;mix-blend-mode:multiply}.by-photo-choice small{display:block;font-size:.75rem;font-weight:400;margin-top:.4rem}.by-photo-choice strong{font-size:.9rem}
.byob .by-photo-choice[aria-pressed=true]{border:2px solid #725038;background:#e9f0ca}.by-photo-choice[aria-pressed=true] small:before{content:'✓ ';font-weight:700}
.by-photo-search{display:grid;grid-template-columns:1fr 1fr;gap:.3rem}.byob .by-photo-search button{display:flex;align-items:center;gap:.6rem;text-align:left;color:#351329;background:transparent;border:0;border-bottom:1px solid #cdbeb6;border-radius:0;font-size:.9rem;min-height:60px;padding:.6rem}.by-photo-search img{width:2.5rem;height:3rem;object-fit:contain;mix-blend-mode:multiply}
.by-photo-review-actions{display:flex;gap:1.25rem;align-items:center;margin-top:1.2rem;flex-wrap:wrap}#by-confirm-photo:disabled{opacity:.5}
#by-crop{background:#f8f0e3;color:#351329;width:min(95vw,36rem);max-height:90dvh;border:0;padding:1.3rem;overflow:auto}#by-crop::backdrop{background:#250820c9}#by-crop header{display:flex;justify-content:space-between;align-items:center;gap:1rem}#by-crop-preview{display:block;width:100%;height:30dvh;object-fit:contain;background:#241c22}#by-crop label{display:grid;grid-template-columns:6rem 1fr;align-items:center;padding:.5rem 0;font-size:.9rem}#by-crop input{width:100%}#by-crop button{min-height:44px}#by-crop p{font-size:.9rem}
@media(max-width:650px){
 .by-camera-poster{width:100%;margin:0;padding:.75rem 0;grid-template-columns:1fr;gap:.5rem}
 .by-camera-copy h2{font-size:2.8rem}.by-camera-copy p{font-size:1rem;margin:.5rem 0}.by-camera-copy .by-photo-how{font-size:.73rem;margin:.65rem 0}
 .by-camera-poster .by-glass-frame{grid-column:1;grid-row:2;height:15rem;width:100%}.by-camera-poster[data-scan] .by-glass-frame{height:14rem}
 .by-camera-poster .by-photo-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-top:.5rem}
 .by-camera-poster #by-lens-caption{text-align:center}.by-camera-poster .by-photo-actions label,.by-camera-poster #by-open-camera{font-size:.88rem;padding:.8rem .4rem;justify-content:center}
 .by-photo-candidates{grid-template-columns:1fr 1fr}.by-photo-choice img{width:2.7rem}.by-photo-choice strong{font-size:.8rem}.by-photo-search{grid-template-columns:1fr}
}
