@import url('fonts/inter.css');
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;font-family:Inter,Arial,sans-serif;color:#292928}button{font:inherit;cursor:pointer;border:0;color:inherit}button:focus-visible{outline:3px solid #65c7bf;outline-offset:2px}#scene{position:absolute;inset:0 10% 0 0;background:#f4fbfc}#scene>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}.arrow{position:absolute;top:calc(50% - 20px);width:40px;height:40px;border-radius:50%;background:white;font-size:28px;font-weight:300;line-height:35px}.prev{left:20px}.next{right:20px}#customise{position:absolute;right:20px;bottom:20px;background:white;height:40px;width:152px;border-radius:25px;box-shadow:0 2px 4px #0002}#rail{position:absolute;inset:0 0 0 90%;padding:20px 1%;display:flex;flex-direction:column;gap:30px;background:white}#rail button{padding:0;position:relative;width:100%;height:12vh;flex-shrink:0;background:#eee;box-shadow:0 2px 4px #0002}#rail img{width:100%;height:100%;object-fit:cover}#rail span{position:absolute;right:0;bottom:0;background:#fffd;padding:9px;font-size:23px;line-height:25px}#backdrop{position:fixed;inset:0;background:#0009;display:flex;align-items:flex-end;z-index:5}#backdrop[hidden]{display:none}#dialog{height:75%;width:100%;background:white;display:flex;flex-direction:column;border-radius:4px 4px 0 0;overflow:hidden}header{position:relative;flex-shrink:0;height:66px;background:#fafafa;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 3px #0002;z-index:1}h1{font-size:18px;font-weight:500;margin:0}#close{position:absolute;right:20px;top:14px;background:transparent;font-size:28px;width:32px;height:36px}#choices{padding:20px;overflow-y:auto;flex:1;display:grid;align-content:start;gap:20px;scrollbar-color:#666 #eee;scrollbar-width:thin}#choices.view{grid-template-columns:1fr}#choices.surround{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#choices.blend{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.choice{position:relative;background:#dcfff0;padding:0;width:100%;border-radius:2px;overflow:hidden;border:3px solid transparent;aspect-ratio:1}.view .choice{height:220px;aspect-ratio:auto}.choice.selected{border-color:#65c7bf}.choice img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.choice span{position:absolute;bottom:0;left:0;right:0;padding:5px 0;background:#0009;color:white;font-size:14px}.choice.selected span{background:#0006}footer{border-top:1px solid #ddd;padding:20px 20px 16px;flex-shrink:0;background:#fff}.actions{display:flex;gap:5px}.actions button{height:40px;border-radius:2px;background:#292928;color:white;font-weight:500}#next{flex:1}#back{width:56px;font-size:26px}#dots{display:flex;gap:8px;justify-content:center;padding-top:16px}#dots span{width:16px;height:8px;border-radius:8px;background:#ddd}#dots .active{width:48px;background:#444}#tabs{height:54px;flex-shrink:0;display:flex}#tabs[hidden]{display:none}#tabs button{width:50%;background:white;border-bottom:2px solid #ddd;font-size:18px}#tabs button.active{border-color:#65c7bf}@media(min-width:1440px){#backdrop{align-items:center;justify-content:flex-end;padding-right:12%}#dialog{width:450px;height:80%;border-radius:4px}}@media(max-width:767px){#scene{inset:0 0 15%}#rail{inset:85% 0 0;padding:28px 0;justify-content:center;flex-direction:row;gap:14px;box-shadow:0 -2px 4px #0002}#rail button{width:72px;height:72px}#rail span{font-size:17px;line-height:18px;padding:6px}#customise{display:none}}
#scene{overflow:hidden}#scene>img{width:100vw}#rail img{object-fit:fill}#rail{background:#fafafa}#close{font-weight:400}#choices{border-bottom:20px solid white;padding-bottom:0}.choice span{font-weight:500}#next{font-weight:500}
@media(max-width:767px){#scene>img{height:100%;width:100vw}}
@media(max-width:767px){#scene>img{object-position:left center}}

.arrow{display:flex;align-items:center;justify-content:center}#intro{position:fixed;inset:0;z-index:10;background:#000c;color:white}#intro .skip{position:absolute;right:20px;top:20px;background:transparent;color:white;font-size:14px}#intro p{position:absolute;bottom:calc(15% + 10px);left:20px;right:20px;text-align:center;font-size:16px;font-weight:600;line-height:24px;margin:0}#intro .start{position:absolute;left:calc(50% - 130px);top:calc(85% + 18px);padding:10px;width:90px;height:90px;background:white}#intro .start img{width:70px;height:70px}

/* Match the original selector geometry at desktop and mobile sizes. */
#dialog{border-radius:5px;min-height:0}
header{height:65px;padding:10px 50px 10px 10px;margin-bottom:2px}
#close{right:10px;top:12.5px;width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center}
#close svg{width:24px;height:24px}
#choices{min-height:0;border-bottom:0}
#choices.surround{border-bottom:20px solid white;gap:15px}
#choices.blend{column-gap:15px;row-gap:10px}
.choice{border:0;border-radius:3px;flex-shrink:0}
.choice.selected:after{content:"";position:absolute;inset:0;border:3px solid #65c7bf;border-radius:3px;pointer-events:none}
.choice span,.choice.selected span{height:25px;padding:0;display:flex;align-items:center;justify-content:center;background:#070707a5}
.view .choice span{height:30px;background:#07070771}
.actions button{font-size:16px}
#dots{padding-left:16px}
#tabs{height:56px;padding:4px}
#tabs button{border-bottom-color:transparent;color:#57636c}
#tabs button.active{color:#14181b;border-bottom-color:#65c7bf}
@media(min-width:1440px){#backdrop{padding-right:calc((100vw - 450px)*.175)}#dialog{height:80%;min-height:min(500px,100%);border-radius:5px}}

#choices{grid-auto-rows:max-content;align-items:start}
.blend .choice span{height:auto;min-height:17px;line-height:17px}

/* The original mobile canvas is viewport-height, centered behind the bottom rail. */
@media(max-width:767px){#scene>img{height:100vh;top:50%;transform:translateY(-50%)}}

#intro.complete{background:linear-gradient(to bottom,#000c 85%,transparent 85%)}#intro.complete p{bottom:calc(15% + 44px)}

/* The scene arrows and horizontal finger gesture reveal the edges of the same perspective. */
#scene{--scene-pan:50%;touch-action:none;cursor:grab}
#scene.panning{cursor:grabbing}
#scene>img{object-position:var(--scene-pan) center;transition:object-position .28s ease}
#scene.panning>img{transition:none}
@media(max-width:767px){#scene{--scene-pan:0%}#scene>img{object-position:var(--scene-pan) center}}
