@font-face {
  font-family: GothamPro;
  src: url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Bold.eot);
  src: url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Bold.woff2) format("woff2"),
  url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Bold.woff) format("woff"),
  url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Bold.ttf) format("truetype"),
  url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Bold.eot?#iefix) format("embedded-opentype");
  font-weight: 600;
  font-style: normal
}
@font-face {
  font-family: GothamPro;
  src: url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Light.eot);
  src: url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Light.woff2) format("woff2"),
  url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Light.woff) format("woff"),
  url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Light.ttf) format("truetype"),
  url(https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/fonts/GothamRounded-Light.eot?#iefix) format("embedded-opentype");
  font-weight: 100;
  font-style: normal
}
:root {
  /* the 3D view and its colors are designed for light; stop browsers
     (Samsung Internet, Chrome auto dark) from inverting them */
  color-scheme:only light;
  --primary:#003B70;
  --accent:#D4AF37;
  --bg:#f4f6f9;
  --text:#1a1a1a;
  /* light glass of the floating controls (UI board B) */
  --glass:rgba(255,255,255,0.72);
  --glass-border:rgba(0,0,0,0.08);
  --on-glass:#1c1c1e;
  --label:#3a3d42;
  --ring-gap:#fff;
  --ring:#1c1c1e;
  --blue:#0A5BC4;
  --edge-top:max(16px, env(safe-area-inset-top));
  --edge-left:max(16px, env(safe-area-inset-left));
  --edge-right:max(14px, env(safe-area-inset-right));
  --edge-bottom:max(34px, calc(env(safe-area-inset-bottom) + 16px));
}

*{box-sizing:border-box;margin:0;padding:0;font-family:system-ui,-apple-system}

/* the viewer fills the page; everything else floats over it. Nothing here
   is position:fixed, so the onboarding veil (.cache) and the loader stack
   over the controls */
body{
  position:relative;
  background:var(--bg);
  height:100vh;
  height:100dvh;              /* follows the mobile browser bars */
  overflow:hidden;
  color:var(--on-glass);
  -webkit-tap-highlight-color:transparent;
}
button{font-family:inherit;color:inherit;cursor:pointer;border:none;background:none}
svg{display:block;flex:none}

.glass{
  background:var(--glass);
  -webkit-backdrop-filter:blur(24px);
  backdrop-filter:blur(24px);
  border:0.5px solid var(--glass-border);
  box-shadow:0 2px 12px rgba(0,0,0,0.08);
  color:var(--on-glass);
}
.round{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}

/* VIEWER */
.viewer{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 40%, #ffffff, #e9edf2);
  cursor:grab;
}
.viewer:active{cursor:grabbing}
.viewer canvas{display:block}

/* subtle vignette */
.viewer::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle,transparent 60%,rgba(0,0,0,0.05));
}

/* TOP BAR: logo, Reset, View in AR */
.topbar{
  position:absolute;
  z-index:1;
  top:var(--edge-top);
  left:var(--edge-left);
  right:var(--edge-left);
  display:flex;
  align-items:center;
  gap:10px;
}
.logo{height:22px;margin-right:auto}
.actions{display:flex;align-items:center;gap:10px}
.arbtn{
  height:40px;
  padding:0 16px 0 12px;
  border-radius:20px;
  background:var(--blue);
  color:#fff;
  font-size:15px;
  font-weight:600;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:7px;
  box-shadow:0 2px 10px rgba(10,91,196,0.3);
}
.reset:active,.tool:active .round{background:rgba(255,255,255,0.95)}
.arbtn:active{background:#084ca3}

/* product name and reference, top left */
.title{
  position:absolute;
  z-index:1;
  top:calc(var(--edge-top) + 56px);
  left:calc(var(--edge-left) + 4px);
  right:84px;
  pointer-events:none;
}
.product-title{
  font-size:24px;
  font-weight:700;
  letter-spacing:-0.4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.title p{margin-top:2px;font-size:14px;color:#5b5f66}

/* TOOLS: a column on the right, icon and short name */
.tools{
  position:absolute;
  z-index:1;
  right:var(--edge-right);
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.tool{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:56px}
.tool .round{width:46px;height:46px;transition:background .2s,color .2s}
.tool > span:last-child{
  font-size:11px;
  font-weight:600;
  color:var(--label);
  text-shadow:0 1px 0 rgba(255,255,255,0.6);
  white-space:nowrap;
}
.tool.active .round{background:var(--blue);color:#fff;border-color:transparent}

/* BOTTOM: finish and part options (lever…) */
.bottom{
  position:absolute;
  z-index:1;
  left:0;
  right:0;
  bottom:var(--edge-bottom);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:flex-end;
  gap:12px;
  padding:0 14px;
  pointer-events:none;
}
.group{display:flex;flex-direction:column;align-items:center;gap:7px;pointer-events:auto}
.lab{
  font-size:11px;
  font-weight:700;
  letter-spacing:0.5px;
  text-transform:uppercase;
  color:var(--label);
  white-space:nowrap;
}
.lab i{font-style:normal;font-weight:600;color:#8a8f97}
.caps{
  display:flex;
  align-items:center;
  gap:12px;
  height:60px;
  padding:8px 12px;
  border-radius:999px;
}

/* finish swatches */
.material{
  width:28px;
  height:28px;
  border-radius:50%;
  position:relative;
  transition:width .2s,height .2s;
}
.material::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  box-shadow:inset 0 1px 3px rgba(255,255,255,0.6),inset 0 -2px 4px rgba(0,0,0,0.12);
}
.material.active{width:32px;height:32px;box-shadow:0 0 0 2px var(--ring-gap),0 0 0 4px var(--ring)}

/* PART OPTIONS (js/index.js buildOptionButtons): an SVG icon per version */
.caps.choices{gap:6px;padding:5px 6px;border-radius:18px}
.choice{
  width:48px;
  height:48px;
  border-radius:13px;
  background:rgba(255,255,255,0.6);
  color:var(--on-glass);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:600;
  transition:box-shadow .2s,background .2s;
}
.choice img{display:block;width:30px;height:30px;object-fit:contain}
.choice[aria-checked="true"]{background:#fff;box-shadow:0 0 0 2px var(--ring-gap),0 0 0 4px var(--ring)}
.choice:disabled{opacity:0.45;cursor:default}

/* LOADER */
.loader{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.9);
  z-index:5;
}

.loader span{
  margin-top:10px;
  animation:pulse 1.2s infinite;
}

@keyframes pulse{
  0%,100%{opacity:.4}
  50%{opacity:1}
}

/* AR OVERLAY (computer: QR code; a click closes it) */
.ar-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.85);
  color:#fff;
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  z-index:10;
  text-align:center;
  cursor:pointer;
}

/* ONBOARDING: a veil, and a capsule above the finishes. The controls the
   current step talks about come over the veil (.tour) */
.cache{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.3);
  z-index:2;
}
.tools.tour,.bottom.tour{z-index:3}
.tool.tour .round{box-shadow:0 0 0 3px var(--blue),0 2px 12px rgba(0,0,0,0.08)}

.info{
  position:absolute;
  z-index:3;
  bottom:calc(var(--edge-bottom) + 108px);
  left:50%;
  width:max-content;
  max-width:calc(100% - 140px);
  padding:9px 14px 7px;
  border-radius:16px;
  font-size:14px;
  font-weight:500;
  line-height:1.3;
  text-align:center;
  transform:translateX(-50%);
  animation:float 2s infinite ease-in-out;
}

@keyframes float{
  0%,100%{transform:translate(-50%,0)}
  50%{transform:translate(-50%,-6px)}
}

.footer{
  display:flex;
  justify-content:space-between;
  gap:24px;
  margin-top:6px;
}

.footer button{font-size:13px;font-weight:600;padding:2px 0}
.footer .next{color:var(--blue)}
.footer .skip{color:#8a8f97}

/* AR EXPORT LOADER */
#loadingAR{
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.7);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  color:white;
  font-size:20px;
  font-family:sans-serif;
}

/* ========================= */
/* COMPUTER                  */
/* ========================= */
@media (min-width: 769px) {
  :root{--edge-top:20px;--edge-left:28px;--edge-right:28px;--edge-bottom:30px}
  .logo{height:26px}
  .title{top:84px;left:32px}
  .product-title{font-size:30px}
  .bottom{gap:16px}
  .info{bottom:auto;top:24px}
  .reset:hover,.tool:hover .round{background:rgba(255,255,255,0.95)}
  .tool.active:hover .round{background:var(--blue)}
}

/* narrow phones (320-360px) */
@media (max-width: 360px) {
  .logo{height:18px}
  .arbtn{font-size:14px;padding:0 12px 0 10px}
  .product-title{font-size:21px}
  .caps{gap:10px;padding:8px 10px}
  .bottom{gap:10px;padding:0 8px}
  .info{max-width:calc(100% - 100px)}
}

/* short screens (phones in landscape): smaller tools without names, so the
   column fits between the top bar and the bottom */
@media (max-height: 500px) {
  :root{--edge-top:max(10px, env(safe-area-inset-top));--edge-bottom:max(12px, env(safe-area-inset-bottom))}
  .title{top:calc(var(--edge-top) + 48px)}
  .product-title{font-size:20px}
  .tools{gap:8px}
  .tool .round{width:40px;height:40px}
  .tool > span:last-child{display:none}
  .caps{height:52px;padding:6px 10px}
  .caps.choices{padding:4px 5px}
  .choice{width:42px;height:42px;border-radius:11px}
  .info{bottom:auto;top:calc(var(--edge-top) + 4px)}
}
/* Android AR photo overlay (js/ar-photo.js), as the UI boards: dark glass
   controls over the camera, close top left, message capsule top centre,
   finishes and the photo row at the bottom */
#arPhoto{
  position:fixed;
  inset:0;
  z-index:10001;
  color:#fff;
  background:transparent;
  -webkit-tap-highlight-color:transparent;
  --arp-bottom:calc(40px + env(safe-area-inset-bottom));
}
#arPhoto[hidden]{display:none}
#arPhoto button{font-family:inherit;color:inherit;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#arPhoto svg{display:block;flex:none}
#arPhoto .arp-glass{background:rgba(28,28,30,0.55);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:0.5px solid rgba(255,255,255,0.18)}
#arPhoto .arp-close{position:absolute;top:56px;left:16px;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}
#arPhoto .arp-hint{position:absolute;top:60px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 144px);padding:8px 14px;border-radius:16px;font-size:14px;font-weight:500;line-height:1.3;letter-spacing:-0.1px;text-align:center}
#arPhoto .arp-hint.arp-toast{display:flex;align-items:center;gap:6px;padding-left:10px;white-space:nowrap}
#arPhoto .arp-toast svg{color:#34C759}
/* "Can't see the faucet?" in the middle of the screen, No | Yes as a phone alert */
#arPhoto .arp-ask{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:calc(100% - 72px);max-width:300px;border-radius:20px;overflow:hidden;text-align:center;padding:20px 18px 0}
#arPhoto .arp-ask[hidden]{display:none}
#arPhoto .arp-ask h2{font-size:17px;font-weight:600;letter-spacing:-0.2px}
#arPhoto .arp-ask p{margin-top:6px;font-size:14px;line-height:1.4;color:rgba(255,255,255,0.85)}
#arPhoto .arp-ask div{display:flex;margin:16px -18px 0;border-top:0.5px solid rgba(255,255,255,0.25)}
#arPhoto .arp-ask button{flex:1;height:46px;border:none;background:none;font-size:17px}
#arPhoto .arp-ask button + button{border-left:0.5px solid rgba(255,255,255,0.25);font-weight:600;color:#64A8FF}

/* finish name and swatches */
#arPhoto .arp-finish-bar{position:absolute;bottom:calc(var(--arp-bottom) + 108px);left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}
#arPhoto .arp-finish-name{font-size:12px;font-weight:600;letter-spacing:0.4px;text-transform:uppercase;text-shadow:0 1px 3px rgba(0,0,0,0.6)}
#arPhoto .arp-finishes{display:flex;align-items:center;gap:14px;padding:7px 12px;border-radius:999px;pointer-events:auto}
#arPhoto .arp-finish{width:26px;height:26px;border-radius:50%;border:none;padding:0}
#arPhoto .arp-finish[aria-pressed="true"]{width:30px;height:30px;box-shadow:0 0 0 2px rgba(28,28,30,0.9),0 0 0 4px #fff}

/* bottom row: thumbnail | turn left | shutter | turn right | reposition */
#arPhoto .arp-controls{position:absolute;bottom:var(--arp-bottom);left:0;right:0;padding:0 22px;display:flex;align-items:center;justify-content:space-between}
#arPhoto .arp-round{width:50px;height:50px;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center}
#arPhoto .arp-round:active{background:rgba(255,255,255,0.3)}
#arPhoto .arp-round:disabled{background:rgba(28,28,30,0.35);border-color:rgba(255,255,255,0.12);color:rgba(255,255,255,0.4)}
#arPhoto .arp-shoot{width:78px;height:78px;border-radius:50%;border:4px solid #fff;background:transparent;padding:4px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 12px rgba(0,0,0,0.25)}
#arPhoto .arp-shoot span{width:62px;height:62px;border-radius:50%;background:#fff;transition:transform .1s}
#arPhoto .arp-shoot:active span{transform:scale(0.9)}
#arPhoto .arp-shoot:disabled{border-color:rgba(255,255,255,0.45);box-shadow:none}
#arPhoto .arp-shoot:disabled span{background:rgba(255,255,255,0.4);transform:none}
#arPhoto .arp-thumb{position:relative;width:50px;height:50px;border-radius:12px;padding:0;border:1.5px solid rgba(255,255,255,0.35);background:rgba(28,28,30,0.35);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
#arPhoto .arp-thumb img,#arPhoto .arp-thumb b{display:none}
#arPhoto .arp-thumb.arp-has-photo{border:2px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,0.35)}
#arPhoto .arp-has-photo img{display:block;width:100%;height:100%;border-radius:10px;object-fit:cover}
/* narrow phones (320-360 px): the row of five has to fit */
@media (max-width: 360px) {
  #arPhoto .arp-controls{padding:0 12px}
  #arPhoto .arp-round,#arPhoto .arp-thumb{width:44px;height:44px}
  #arPhoto .arp-shoot{width:70px;height:70px}
  #arPhoto .arp-shoot span{width:54px;height:54px}
}
#arPhoto .arp-has-photo b{display:flex;position:absolute;top:-8px;right:-8px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#fff;color:#111;font-size:12px;font-weight:700;align-items:center;justify-content:center}

/* floor search guide: a frame over a floor swept by a light line and a
   phone moving side to side, until ARCore finds the floor; nothing else */
#arPhoto .arp-scan{display:none;position:fixed;inset:0;flex-direction:column;align-items:center;justify-content:center;gap:30px;pointer-events:none}
#arPhoto.arp-scanning .arp-scan{display:flex}
#arPhoto.arp-scanning .arp-hint,
#arPhoto.arp-scanning .arp-finish-bar,
#arPhoto.arp-scanning .arp-controls{display:none}
#arPhoto .arp-scan p{margin:0;max-width:calc(100% - 80px);padding:10px 16px;border-radius:18px;font-size:15px;font-weight:500;line-height:1.35;letter-spacing:-0.1px;text-align:center}
#arPhoto .arp-scan-frame{position:relative;width:min(62vw,240px);aspect-ratio:1}
#arPhoto .arp-scan-frame i{position:absolute;width:40px;height:40px;border:3px solid #fff}
#arPhoto .arp-scan-frame i:nth-child(1){top:0;left:0;border-right:none;border-bottom:none;border-top-left-radius:22px}
#arPhoto .arp-scan-frame i:nth-child(2){top:0;right:0;border-left:none;border-bottom:none;border-top-right-radius:22px}
#arPhoto .arp-scan-frame i:nth-child(3){bottom:0;left:0;border-right:none;border-top:none;border-bottom-left-radius:22px}
#arPhoto .arp-scan-frame i:nth-child(4){bottom:0;right:0;border-left:none;border-top:none;border-bottom-right-radius:22px}
#arPhoto .arp-scan-floor{position:absolute;left:12.5%;right:12.5%;bottom:15%;height:54%;overflow:hidden;transform:perspective(420px) rotateX(55deg);transform-origin:50% 100%;border-radius:8px;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,0.6) 0 1.5px,transparent 1.5px 20%),repeating-linear-gradient(0deg,rgba(255,255,255,0.6) 0 1.5px,transparent 1.5px 20%);
  -webkit-mask:linear-gradient(to top,#000 50%,transparent);mask:linear-gradient(to top,#000 50%,transparent)}
#arPhoto .arp-scan-line{position:absolute;left:0;right:0;height:35%;background:linear-gradient(to bottom,transparent,rgba(255,255,255,0.95),transparent);animation:arp-sweep 1.8s ease-in-out infinite}
#arPhoto .arp-scan-phone{position:absolute;left:50%;top:12%;width:30px;margin-left:-15px;animation:arp-pan 2.4s ease-in-out infinite}
@keyframes arp-sweep{from{top:100%}to{top:-35%}}
@keyframes arp-pan{0%,100%{transform:translateX(-56px) rotate(-8deg)}50%{transform:translateX(56px) rotate(8deg)}}
@media (prefers-reduced-motion:reduce){#arPhoto .arp-scan-line,#arPhoto .arp-scan-phone{animation-duration:6s}}
#arPhoto .arp-flash{position:fixed;inset:0;background:#fff;opacity:0;pointer-events:none;transition:opacity .25s}

/* shown while the AR session starts: blurred and darkened page, then camera */
#arPhoto .arp-loading{display:none;position:fixed;inset:0;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:rgba(0,0,0,0.45);-webkit-backdrop-filter:blur(22px) brightness(0.6);backdrop-filter:blur(22px) brightness(0.6)}
#arPhoto.arp-starting .arp-loading{display:flex}
#arPhoto.arp-starting > :not(.arp-loading,.arp-close){visibility:hidden}
#arPhoto .arp-loading p{margin:0;padding:0 24px;font-size:15px;font-weight:500;letter-spacing:-0.1px;color:rgba(255,255,255,0.9);text-align:center}
#arPhoto .arp-spinner{animation:arp-spin 1s steps(12) infinite}
#arPhoto .arp-loading-logo{position:absolute;bottom:calc(52px + env(safe-area-inset-bottom));left:50%;width:96px;margin-left:-48px;filter:brightness(0) invert(1);opacity:0.55}
@keyframes arp-spin{to{transform:rotate(360deg)}}

/* "Your photos": during AR over the camera, seen through a dark veil (the
   session keeps running); after AR (.arp-review) on a solid background */
#arPhoto .arp-sheet{display:none;position:fixed;inset:0;flex-direction:column;padding:56px 0 var(--arp-bottom);background:rgba(0,0,0,0.6)}
#arPhoto.arp-sheet-open .arp-sheet{display:flex}
#arPhoto.arp-review .arp-sheet{background:#0B0B0C}
#arPhoto.arp-sheet-open > :not(.arp-sheet,.arp-flash){display:none}
#arPhoto .arp-sheet-top{display:flex;justify-content:space-between;align-items:center;height:40px;padding:0 16px}
#arPhoto .arp-back,#arPhoto .arp-done{height:36px;border:none;border-radius:18px;background:rgba(255,255,255,0.12);font-size:15px;font-weight:600;display:flex;align-items:center}
#arPhoto .arp-back{gap:4px;padding:0 14px 0 10px;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
#arPhoto .arp-done{margin-left:auto;padding:0 14px}
#arPhoto.arp-review .arp-back,#arPhoto:not(.arp-review) .arp-done{display:none}
#arPhoto .arp-sheet h2{margin:12px 20px 0;font-size:32px;font-weight:700;letter-spacing:-0.6px}
#arPhoto .arp-sub{margin:4px 20px 0;font-size:15px;color:rgba(255,255,255,0.68)}
#arPhoto .arp-grid{flex:0 1 auto;min-height:0;overflow-y:auto;margin-top:20px;padding:0 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-content:start}
#arPhoto .arp-grid img{display:block;width:100%;aspect-ratio:118/214;border-radius:10px;object-fit:cover}
#arPhoto .arp-note{margin:16px 20px 0;font-size:13px;line-height:1.45;color:rgba(255,255,255,0.55)}
#arPhoto .arp-actions{margin-top:auto;padding:20px 20px 0;display:flex;flex-direction:column;gap:10px}
#arPhoto .arp-actions button{height:52px;border:none;border-radius:26px;font-size:17px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;background:rgba(255,255,255,0.12)}
#arPhoto .arp-actions .arp-share{background:#0A5BC4}

/* Android without WebXR AR (js/index.js showNoARMessage): phone-style alert */
#noAR{display:none;position:fixed;inset:0;z-index:10002;align-items:center;justify-content:center;padding:0 36px;background:rgba(0,0,0,0.38)}
#noAR [role="alertdialog"]{width:100%;max-width:320px;border-radius:22px;background:rgba(250,250,250,0.94);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);overflow:hidden;text-align:center;color:#111;padding:22px 20px 0;display:flex;flex-direction:column;align-items:center;gap:8px}
#noAR svg{color:#0A5BC4}
#noAR h2{font-size:17px;font-weight:600;letter-spacing:-0.2px}
#noAR p{font-size:14px;line-height:1.45;color:#3c3c43}
#noAR button,#noAR a{align-self:stretch;margin:10px -20px 0;height:48px;border:none;border-top:0.5px solid rgba(60,60,67,0.3);background:transparent;color:#0A5BC4;font-size:17px;font-weight:600;font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;text-decoration:none}
/* links ("Open in Chrome", "Update Chrome"…) first, then a plain closing button */
#noAR a + a,#noAR a + button{margin-top:0}
#noAR a + button{font-weight:400}

/* Samsung Internet only (js/index.js showChromeBanner) */
#chromeBanner{position:fixed;left:10px;right:10px;z-index:1000;display:flex;align-items:center;gap:10px;padding:10px 8px 10px 14px;border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,0.18);font-size:13px;line-height:1.35;color:#222}
#chromeBanner div{flex:1;min-width:0}
#chromeBanner b{display:block;font-size:14px}
#chromeBanner a{flex:none;padding:7px 14px;border-radius:16px;background:#0A5BC4;color:#fff;font-weight:600;text-decoration:none}
#chromeBanner button{flex:none;width:32px;height:32px;border:none;background:transparent;color:#888;display:flex;align-items:center;justify-content:center;cursor:pointer}
@media (min-width: 769px){#chromeBanner{left:auto;width:360px}}
/* translated messages break lines with \n */
#ARDesktop p{white-space:pre-line}
