:root {
  --ink: #f4e9d7;
  --ink-strong: #fff8ed;
  --muted: rgba(244, 233, 215, .58);
  --muted-strong: rgba(244, 233, 215, .74);
  --faint: rgba(244, 233, 215, .34);
  --line: rgba(255, 239, 215, .115);
  --line-strong: rgba(255, 239, 215, .2);
  --accent: #dda36a;
  --accent-bright: #f3c791;
  --accent-deep: #a96d3e;
  --olive: #a7b489;
  --panel: rgba(24, 19, 15, .64);
  --panel-deep: rgba(22, 17, 13, .9);
  --panel-warm: rgba(45, 33, 24, .7);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", "STSong", SimSun, serif;
  --font-sans: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --ease-out: cubic-bezier(.19, .86, .28, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

html {
  background: #110c09;
}

body {
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 51% 30%, #523728 0%, #2c1d14 37%, #18100b 70%, #0c0806 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font-family: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--accent-bright);
  outline-offset: 3px;
}

::selection {
  color: #1b130d;
  background: var(--accent-bright);
}

.app {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.scene-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  touch-action: none;
  cursor: grab;
}

.scene-stage.is-grabbing,
.scene-stage canvas.is-grabbing {
  cursor: grabbing;
}

.scene-stage.is-pointing,
.scene-stage canvas.is-pointing {
  cursor: pointer;
}

.scene-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.scene-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere-glow {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(ellipse at 56% 39%, rgba(255, 184, 114, .14) 0%, rgba(188, 112, 63, .06) 30%, transparent 63%),
    radial-gradient(ellipse at 13% 78%, rgba(162, 103, 58, .11) 0%, transparent 44%);
  mix-blend-mode: screen;
}

.atmosphere-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 51% 47%, transparent 35%, rgba(8, 6, 5, .17) 67%, rgba(6, 4, 3, .64) 100%),
    linear-gradient(180deg, rgba(8, 6, 5, .42) 0%, transparent 16%, transparent 79%, rgba(8, 6, 5, .42) 100%);
}

.atmosphere-grain {
  position: absolute;
  inset: 0;
  opacity: .035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* ——— Shared surfaces ——— */
.glass-panel {
  background:
    linear-gradient(145deg, rgba(57, 42, 31, .35) 0%, rgba(25, 19, 14, .74) 42%, rgba(17, 13, 10, .84) 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 34px 90px -36px rgba(0, 0, 0, .86),
    0 2px 0 rgba(255, 247, 233, .035) inset,
    0 0 0 1px rgba(19, 14, 10, .2);
  backdrop-filter: blur(24px) saturate(115%);
  -webkit-backdrop-filter: blur(24px) saturate(115%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow i {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--line-strong);
}

.eyebrow span {
  white-space: nowrap;
}

/* ——— Top bar ——— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .9s var(--ease-out) .15s, transform .9s var(--ease-out) .15s;
}

body.is-ready .topbar {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  pointer-events: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--accent-bright);
  border: 1px solid rgba(229, 179, 124, .3);
  border-radius: 50%;
  background: radial-gradient(circle at 37% 27%, rgba(112, 122, 86, .36), rgba(31, 29, 22, .55));
  box-shadow: 0 8px 25px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 245, 225, .12);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1;
}

.brand-en {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  line-height: 1;
}

.topbar-note {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(244, 233, 215, .44);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .18em;
  transform: translateX(-50%);
}

.note-line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 194, 148, .36));
}

.note-line:last-child {
  transform: scaleX(-1);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 0 12px;
  margin-right: 4px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .06em;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(24, 18, 13, .46);
  box-shadow: inset 0 1px 0 rgba(255, 246, 227, .04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aabd8a;
  box-shadow: 0 0 0 3px rgba(170, 189, 138, .09), 0 0 12px rgba(170, 189, 138, .55);
  animation: statusPulse 3.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: .72; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.06); }
}

.status-open {
  color: var(--ink);
}

.status-divider {
  width: 1px;
  height: 10px;
  background: var(--line-strong);
}

.status-hours {
  color: var(--muted);
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: rgba(244, 233, 215, .7);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(24, 18, 13, .44);
  box-shadow: inset 0 1px 0 rgba(255, 246, 227, .04);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}

.icon-btn:hover {
  color: var(--ink-strong);
  border-color: rgba(239, 191, 137, .32);
  background: rgba(49, 34, 24, .65);
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: translateY(0);
}

.icon-btn .icon {
  width: 17px;
  height: 17px;
}

.icon-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  z-index: 2;
  padding: 5px 8px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .06em;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(23, 17, 12, .9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity .2s, transform .2s;
}

.icon-btn[data-tooltip]:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

#sound-toggle .icon-sound-on,
#sound-toggle .sound-wave {
  display: none;
}

#sound-toggle.is-on {
  color: var(--accent-bright);
  border-color: rgba(238, 184, 123, .3);
}

#sound-toggle.is-on .icon-sound-off {
  display: none;
}

#sound-toggle.is-on .icon-sound-on {
  display: block;
}

#sound-toggle.is-on .sound-wave {
  position: absolute;
  right: 1px;
  bottom: 3px;
  display: flex;
  align-items: flex-end;
  gap: 1px;
  height: 7px;
}

.sound-wave i {
  width: 1.5px;
  height: 3px;
  background: var(--accent-bright);
  border-radius: 2px;
  animation: soundWave .9s ease-in-out infinite alternate;
}

.sound-wave i:nth-child(2) {
  height: 6px;
  animation-delay: .2s;
}

.sound-wave i:nth-child(3) {
  height: 4px;
  animation-delay: .45s;
}

@keyframes soundWave {
  from { transform: scaleY(.45); opacity: .5; }
  to { transform: scaleY(1); opacity: 1; }
}

/* ——— Directory ——— */
.directory {
  position: fixed;
  top: 104px;
  left: 30px;
  z-index: 18;
  width: 306px;
  padding: 21px 17px 14px;
  border-radius: 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .85s var(--ease-out) .28s, transform .85s var(--ease-out) .28s;
}

body.is-ready .directory {
  opacity: 1;
  transform: translateY(0);
}

.directory::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 195, 139, .36), transparent);
}

.directory-head {
  padding: 1px 5px 13px;
}

.directory-head h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.22;
}

.directory-head p {
  max-width: 238px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .035em;
  line-height: 1.7;
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 3px;
  border-top: 1px solid rgba(255, 239, 215, .075);
}

.area-item {
  position: relative;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 51px;
  padding: 8px 9px;
  color: var(--ink);
  text-align: left;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: background .28s var(--ease-soft), border-color .28s var(--ease-soft), transform .28s var(--ease-soft);
}

.area-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: var(--accent-bright);
  opacity: 0;
  transform: translateY(-50%);
  transition: height .3s var(--ease-out), opacity .3s;
}

.area-item:hover {
  border-color: rgba(255, 239, 215, .08);
  background: rgba(255, 241, 218, .035);
}

.area-item.is-active {
  border-color: rgba(226, 174, 117, .17);
  background:
    linear-gradient(90deg, rgba(210, 151, 92, .17), rgba(210, 151, 92, .03) 68%, transparent);
}

.area-item.is-active::before {
  height: 23px;
  opacity: 1;
}

.area-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: rgba(244, 233, 215, .43);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .03em;
  border: 1px solid rgba(255, 239, 215, .12);
  border-radius: 50%;
  transition: color .25s, border-color .25s, background .25s;
}

.area-item:hover .area-num {
  color: var(--muted-strong);
  border-color: rgba(255, 239, 215, .22);
}

.area-item.is-active .area-num {
  color: #24170e;
  border-color: var(--accent-bright);
  background: var(--accent-bright);
}

.area-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.area-name {
  color: rgba(251, 242, 229, .9);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1.25;
}

.area-item.is-active .area-name {
  color: var(--ink-strong);
}

.area-sub {
  overflow: hidden;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .06em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.area-arrow {
  color: rgba(244, 233, 215, .25);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  transition: color .25s, transform .25s;
}

.area-item:hover .area-arrow,
.area-item.is-active .area-arrow {
  color: var(--accent-bright);
  transform: translate(1px, -1px);
}

.area-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 9px 3px;
  color: rgba(244, 233, 215, .28);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: .13em;
  white-space: nowrap;
}

.area-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 239, 215, .08);
}

.area-item.is-support {
  border-color: rgba(229, 173, 115, .07);
  background: rgba(221, 163, 106, .022);
}

.area-item.is-support .area-num {
  color: rgba(226, 181, 125, .65);
}

.area-item.is-support .area-sub {
  color: rgba(225, 178, 120, .4);
}

.directory-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 12px 6px 1px;
  border-top: 1px solid rgba(255, 239, 215, .075);
}

.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: .08em;
  border: 0;
  background: none;
  cursor: pointer;
  transition: color .25s;
}

.overview-link svg {
  width: 13px;
  height: 13px;
}

.overview-link:hover {
  color: var(--accent-bright);
}

.directory-meta {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .045em;
  white-space: nowrap;
}

/* ——— Scene hotspots ——— */
.hotspots {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transition: opacity .85s var(--ease-out) .7s;
}

body.is-ready .hotspots {
  opacity: 1;
}

.hotspot {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: var(--ink);
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hotspot-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: rgba(248, 238, 223, .72);
  font-family: var(--font-mono);
  font-size: 7.5px;
  border: 1px solid rgba(241, 195, 144, .5);
  border-radius: 50%;
  background: rgba(27, 21, 15, .66);
  box-shadow: 0 0 0 4px rgba(29, 22, 16, .15), 0 5px 16px -7px rgba(0, 0, 0, .7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color .3s, background .3s, border-color .3s, transform .3s var(--ease-out);
}

.hotspot-pin::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(239, 190, 135, .12);
  border-radius: inherit;
  transition: border-color .3s, inset .3s;
}

.hotspot-label {
  padding: 5px 8px 5px 9px;
  color: rgba(248, 238, 223, .82);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
  border: 1px solid rgba(255, 239, 215, .11);
  border-radius: 6px;
  background: rgba(26, 20, 15, .54);
  box-shadow: 0 5px 16px -11px rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color .25s, border-color .25s, background .25s;
}

.hotspot:hover .hotspot-pin,
.hotspot:focus-visible .hotspot-pin,
.hotspot.is-active .hotspot-pin {
  color: #24180e;
  border-color: var(--accent-bright);
  background: var(--accent-bright);
  transform: scale(1.07);
}

.hotspot:hover .hotspot-pin::after,
.hotspot.is-active .hotspot-pin::after {
  inset: -7px;
  border-color: rgba(239, 190, 135, .34);
}

.hotspot:hover .hotspot-label,
.hotspot.is-active .hotspot-label {
  color: var(--ink-strong);
  border-color: rgba(239, 190, 135, .25);
  background: rgba(38, 28, 20, .8);
}

.hotspot.is-offscreen {
  opacity: 0;
  pointer-events: none;
}

/* ——— Detail panel ——— */
.detail-panel {
  position: fixed;
  top: 104px;
  right: 30px;
  z-index: 19;
  display: flex;
  flex-direction: column;
  width: 366px;
  max-height: calc(100vh - 194px);
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px) scale(.99);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility .45s;
}

.detail-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.detail-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 195, 139, .4), transparent);
  z-index: 1;
}

.detail-scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(25, 19, 14, .88) 0%, rgba(25, 19, 14, 0) 100%);
  border-radius: 22px 22px 0 0;
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(31, 23, 17, .58);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color .25s, border-color .25s, background .25s;
}

.detail-close:hover {
  color: var(--ink);
  border-color: rgba(239, 190, 135, .3);
  background: rgba(58, 40, 27, .7);
}

.detail-close svg {
  width: 13px;
  height: 13px;
}

.detail-scroll {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 23px 22px 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 173, 118, .3) transparent;
  overscroll-behavior: contain;
}

.detail-scroll::-webkit-scrollbar {
  width: 4px;
}

.detail-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.detail-scroll::-webkit-scrollbar-thumb {
  background: rgba(224, 173, 118, .24);
  border-radius: 4px;
}

.detail-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 36px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detail-kicker .kicker-line {
  width: 21px;
  height: 1px;
  background: rgba(221, 163, 106, .48);
}

.detail-heading {
  margin: 13px 0 0;
}

.detail-heading h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.1;
}

.detail-en {
  margin: 6px 0 0;
  color: rgba(244, 233, 215, .36);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.detail-desc {
  margin: 16px 0 17px;
  color: var(--muted-strong);
  font-size: 12.6px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.8;
}

.detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 13px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-stat {
  min-width: 0;
  padding: 0 10px;
  border-left: 1px solid rgba(255, 239, 215, .08);
}

.detail-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.detail-stat-value {
  display: block;
  overflow: hidden;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-stat-label {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.4px;
  letter-spacing: .04em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-section {
  margin-top: 20px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.section-head h3 {
  margin: 0;
  color: rgba(250, 241, 228, .86);
  font-size: 10.8px;
  font-weight: 500;
  letter-spacing: .12em;
}

.section-head span {
  color: rgba(244, 233, 215, .25);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.spec-list {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 239, 215, .075);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-name {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.spec-value {
  color: rgba(243, 216, 183, .78);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .01em;
  line-height: 1.55;
  text-align: right;
}

.product-chip-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 6px;
  color: var(--ink);
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background .22s, border-color .22s;
}

.product-chip:hover {
  border-color: rgba(255, 239, 215, .09);
  background: rgba(255, 241, 218, .04);
}

.chip-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--chip-tone, var(--accent));
  box-shadow: 0 0 8px color-mix(in srgb, var(--chip-tone, var(--accent)) 50%, transparent);
}

.chip-copy {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.chip-name {
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 11px;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip-price {
  flex-shrink: 0;
  color: rgba(238, 193, 142, .8);
  font-family: var(--font-mono);
  font-size: 9.2px;
}

.chip-price small {
  color: var(--faint);
  font-size: 6.5px;
}

.chip-arrow {
  flex: 0 0 auto;
  color: rgba(244, 233, 215, .22);
  font-size: 10px;
  transition: color .2s, transform .2s;
}

.product-chip:hover .chip-arrow {
  color: var(--accent-bright);
  transform: translate(1px, -1px);
}

.area-name-short {
  display: none;
}

.area-quote {
  margin: 4px 0 16px;
  padding: 11px 14px;
  color: rgba(244, 224, 197, .9);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .04em;
  line-height: 1.65;
  border-left: 2px solid rgba(215, 164, 101, .6);
  background: linear-gradient(90deg, rgba(217, 167, 104, .09), transparent 80%);
}

.detail-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 17px;
  padding: 10px 11px;
  color: rgba(235, 207, 175, .62);
  font-size: 9.2px;
  line-height: 1.65;
  border: 1px solid rgba(229, 173, 115, .12);
  border-radius: 8px;
  background: rgba(202, 142, 83, .045);
}

.detail-note svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--accent);
}

/* Contact & QR — intentionally legible enough to scan with a phone. */
.contact-module {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(221, 177, 120, .2);
  border-radius: 13px;
  background:
    radial-gradient(circle at 92% 10%, rgba(208, 146, 84, .16), transparent 45%),
    linear-gradient(145deg, rgba(67, 47, 32, .58), rgba(26, 19, 14, .7));
}

.contact-module::after {
  content: "";
  position: absolute;
  top: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 239, 215, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(255, 239, 215, .015), 0 0 0 32px rgba(255, 239, 215, .01);
  pointer-events: none;
}

.contact-quote {
  position: relative;
  z-index: 1;
  margin: 9px 0 15px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.55;
}

.contact-quote em {
  display: block;
  margin-top: 3px;
  color: var(--accent-bright);
  font-style: normal;
}

.contact-qr-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-qr-image {
  display: block;
  width: 146px;
  height: 146px;
  padding: 7px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 7px;
  background: #f7f4ed;
  box-shadow: 0 8px 24px -15px rgba(0, 0, 0, .8);
}

.contact-qr-copy {
  min-width: 0;
}

.contact-qr-copy strong {
  display: block;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .06em;
}

.contact-qr-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.contact-qr-copy span {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .05em;
}

.contact-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 239, 215, .08);
}

.empty-collection {
  padding: 12px 0 3px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.empty-collection strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(246, 224, 195, .78);
  font-weight: 400;
}

.empty-collection .contact-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 7px 10px;
  color: rgba(243, 199, 145, .82);
  font-size: 9px;
  letter-spacing: .05em;
  border: 1px solid rgba(221, 163, 106, .2);
  border-radius: 6px;
  background: rgba(221, 163, 106, .06);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.empty-collection .contact-inline:hover {
  color: var(--ink-strong);
  border-color: rgba(239, 190, 135, .35);
  background: rgba(221, 163, 106, .12);
}

/* Product contents, used by books, services and toolkit packs. */
.product-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.content-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  color: rgba(240, 220, 194, .72);
  font-size: 8.5px;
  letter-spacing: .025em;
  line-height: 1.2;
  border: 1px solid rgba(255, 239, 215, .1);
  border-radius: 99px;
  background: rgba(255, 244, 226, .028);
}

.content-count {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}

.price-free {
  color: var(--olive) !important;
}

.price-quote {
  font-family: var(--font-display);
}

.product-price.price-quote {
  font-size: 25px;
}

.tip-price.price-quote {
  font-size: 20px;
}

.chip-price.price-quote {
  font-family: var(--font-mono);
  font-size: 8.2px;
}

.product-unit-note {
  color: var(--faint);
  font-size: 8px;
  line-height: 1.5;
}

.product-tag.free {
  color: rgba(177, 195, 148, .9);
  border-color: rgba(154, 174, 126, .22);
  background: rgba(154, 174, 126, .07);
}

.detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 36px;
  margin-top: 18px;
  padding: 0 14px;
  color: rgba(244, 233, 215, .78);
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: .09em;
  border: 1px solid rgba(255, 239, 215, .14);
  border-radius: 8px;
  background: rgba(255, 246, 230, .035);
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}

.detail-back:hover {
  color: var(--ink-strong);
  border-color: rgba(239, 190, 135, .3);
  background: rgba(219, 158, 96, .08);
}

.detail-back svg {
  width: 12px;
  height: 12px;
}

.detail-actions {
  display: flex;
  gap: 7px;
  margin-top: 17px;
}

.detail-actions .detail-back {
  width: auto;
  flex: 1;
  margin-top: 0;
  white-space: nowrap;
}

.detail-actions .primary-btn {
  flex: 1;
  white-space: nowrap;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 15px;
  color: #271a10;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
  border: 1px solid rgba(255, 232, 202, .24);
  border-radius: 8px;
  background: linear-gradient(135deg, #ecc390, #d49b60);
  box-shadow: 0 7px 22px -13px rgba(237, 174, 108, .8), inset 0 1px 0 rgba(255, 251, 242, .35);
  cursor: pointer;
  white-space: nowrap;
  transition: filter .25s, transform .25s;
}

.primary-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.primary-btn span {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Product dossier */
.product-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 13px 0 16px;
  padding: 14px;
  border: 1px solid rgba(255, 239, 215, .095);
  border-radius: 13px;
  background:
    radial-gradient(circle at 14% 30%, color-mix(in srgb, var(--product-tone, #c17d4a) 22%, transparent), transparent 58%),
    rgba(255, 246, 231, .028);
}

.product-hero::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -32px;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(255, 239, 215, .095);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(255, 239, 215, .018), 0 0 0 33px rgba(255, 239, 215, .012);
}

.product-emblem {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--product-tone, #c17d4a) 70%, #ffe7c6);
  border: 1px solid rgba(255, 239, 215, .13);
  border-radius: 50%;
  background: rgba(25, 19, 14, .5);
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--product-tone, #c17d4a) 10%, transparent);
}

.product-emblem svg {
  width: 27px;
  height: 27px;
}

.product-hero-copy {
  min-width: 0;
}

.product-category {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-name {
  margin: 5px 0 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-en {
  margin: 5px 0 0;
  color: rgba(244, 233, 215, .3);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 1px 2px 14px;
}

.product-price {
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
}

.product-price .currency {
  margin-right: 2px;
  color: rgba(243, 199, 145, .66);
  font-family: var(--font-mono);
  font-size: 13px;
}

.product-unit {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}

.product-tag {
  margin-left: auto;
  padding: 4px 7px;
  color: rgba(238, 192, 141, .82);
  font-size: 7.5px;
  letter-spacing: .06em;
  border: 1px solid rgba(224, 166, 107, .19);
  border-radius: 4px;
  background: rgba(198, 132, 71, .07);
}

.product-story {
  margin: 0 0 17px;
  color: var(--muted-strong);
  font-size: 11.5px;
  line-height: 1.85;
}

.product-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 239, 215, .09);
  border-radius: 9px;
  background: rgba(255, 239, 215, .08);
}

.product-fact {
  padding: 9px 11px;
  background: rgba(22, 17, 13, .93);
}

.product-fact span {
  display: block;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: .06em;
}

.product-fact strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(245, 226, 202, .8);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ——— Bottom guide ——— */
.guide-dock {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 16;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 9px 12px 9px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22, 17, 13, .6);
  box-shadow: 0 16px 44px -28px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 245, 226, .035);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .8s var(--ease-out) .55s, transform .8s var(--ease-out) .55s;
}

body.is-ready .guide-dock {
  opacity: 1;
  transform: translate(-50%, 0);
}

.guide-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 13px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .09em;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.guide-spark {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(221, 163, 106, .6);
}

.guide-items {
  display: flex;
  align-items: center;
  gap: 0;
}

.guide-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  color: rgba(244, 233, 215, .54);
  font-size: 9px;
  letter-spacing: .035em;
  white-space: nowrap;
  border-left: 1px solid rgba(255, 239, 215, .07);
}

.guide-item:first-child {
  border-left: 0;
}

.guide-item svg {
  width: 12px;
  height: 12px;
  color: rgba(224, 173, 114, .58);
}

.guide-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 1px;
  padding: 5px 7px;
  color: rgba(243, 199, 145, .78);
  font-size: 8px;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 1px solid rgba(221, 163, 106, .17);
  border-radius: 5px;
  background: rgba(221, 163, 106, .055);
  cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}

.guide-more:hover {
  color: var(--ink-strong);
  border-color: rgba(238, 187, 130, .32);
  background: rgba(221, 163, 106, .1);
}

.guide-more span {
  display: grid;
  place-items: center;
  width: 11px;
  height: 11px;
  font-family: var(--font-mono);
  font-size: 7px;
  border: 1px solid rgba(243, 199, 145, .35);
  border-radius: 50%;
}

.mobile-hint {
  display: none;
}

/* ——— Hover product card ——— */
.product-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 316px;
  color: var(--ink);
  border: 1px solid rgba(255, 239, 215, .17);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(55, 40, 28, .58), rgba(24, 18, 13, .94) 55%, rgba(18, 13, 10, .97));
  box-shadow:
    0 30px 65px -27px rgba(0, 0, 0, .9),
    inset 0 1px 0 rgba(255, 247, 234, .07);
  backdrop-filter: blur(24px) saturate(115%);
  -webkit-backdrop-filter: blur(24px) saturate(115%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .17s var(--ease-soft), visibility .17s;
}

.product-tooltip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tip-tone, rgba(241, 194, 138, .7)), transparent);
}

.product-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

.tip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px 0;
}

.tip-category {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tip-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(169, 188, 141, .76);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .05em;
}

.tip-stock::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a9bc8d;
  box-shadow: 0 0 7px rgba(169, 188, 141, .6);
}

.tip-main {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px 9px;
}

.tip-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--tip-tone, #bf7d48) 60%, #fff0d9);
  border: 1px solid rgba(255, 239, 215, .12);
  border-radius: 50%;
  background: rgba(28, 21, 16, .44);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--tip-tone, #bf7d48) 11%, transparent);
}

.tip-icon svg {
  width: 20px;
  height: 20px;
}

.tip-title-wrap {
  min-width: 0;
  flex: 1;
}

.tip-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.24;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tip-en {
  overflow: hidden;
  margin: 4px 0 0;
  color: rgba(244, 233, 215, .3);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .11em;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tip-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0 14px 11px;
}

.tip-price {
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.tip-price .currency {
  margin-right: 1px;
  color: rgba(244, 200, 147, .62);
  font-family: var(--font-mono);
  font-size: 10px;
}

.tip-unit {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .03em;
}

.tip-tag {
  margin-left: auto;
  color: rgba(165, 183, 135, .8);
  font-size: 7px;
  letter-spacing: .04em;
}

.tip-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  padding: 10px 14px;
  color: var(--muted-strong);
  font-size: 10.8px;
  letter-spacing: .02em;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 239, 215, .075);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px 9px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .035em;
  border-top: 1px solid rgba(255, 239, 215, .07);
}

.tip-cta {
  color: rgba(233, 183, 125, .76);
}

/* ——— Toast ——— */
.toast {
  position: fixed;
  top: 92px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: rgba(244, 233, 215, .82);
  font-size: 9.5px;
  letter-spacing: .03em;
  border: 1px solid rgba(255, 239, 215, .14);
  border-radius: 7px;
  background: rgba(27, 21, 15, .86);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -5px);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ——— Loader ——— */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 43%, #34251a 0%, #1d140f 42%, #100b08 100%);
  transition: opacity .8s var(--ease-soft), visibility .8s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.loader-haze {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: hazeDrift 10s ease-in-out infinite alternate;
}

.loader-haze-a {
  top: 5%;
  left: 17%;
  width: 46vw;
  height: 46vw;
  background: rgba(176, 107, 59, .16);
}

.loader-haze-b {
  right: 12%;
  bottom: 2%;
  width: 34vw;
  height: 34vw;
  background: rgba(115, 122, 82, .1);
  animation-delay: -4s;
}

@keyframes hazeDrift {
  from { transform: translate3d(-2%, 2%, 0) scale(.96); }
  to { transform: translate3d(3%, -3%, 0) scale(1.05); }
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(440px, 86vw);
  padding-bottom: 16px;
  text-align: center;
}

.loader-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 23px;
  color: var(--accent-bright);
  animation: loaderBreathe 4s ease-in-out infinite;
}

.loader-icon svg {
  width: 74px;
  height: 74px;
}

@keyframes loaderBreathe {
  0%, 100% { opacity: .76; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.025); }
}

.loader-eyebrow {
  justify-content: center;
  color: rgba(244, 233, 215, .38);
}

.loader h1 {
  margin: 20px 0 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.7vw, 54px);
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.15;
  text-indent: .18em;
}

.loader-tagline {
  margin: 10px 0 30px;
  color: rgba(244, 233, 215, .49);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .22em;
}

.loader-track {
  position: relative;
  overflow: hidden;
  width: 226px;
  height: 2px;
  background: rgba(255, 239, 215, .1);
}

.loader-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 215, .12), transparent);
  transform: translateX(-100%);
  animation: trackShimmer 2.1s ease-in-out infinite;
}

@keyframes trackShimmer {
  60%, 100% { transform: translateX(100%); }
}

.loader-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #a97043, #f1c693);
  box-shadow: 0 0 10px rgba(240, 187, 127, .45);
  transition: width .45s var(--ease-out);
}

.loader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 226px;
  margin-top: 9px;
  color: rgba(244, 233, 215, .33);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .055em;
}

.loader-percent {
  color: rgba(244, 233, 215, .47);
}

.loader-foot {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(244, 233, 215, .28);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .16em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.loader-foot i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(221, 163, 106, .42);
}

/* ——— Modal / help ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, .61);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: fadeIn .35s var(--ease-soft);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 27px 29px 22px;
  color: var(--ink);
  border: 1px solid rgba(255, 239, 215, .15);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 90% 3%, rgba(192, 125, 72, .14), transparent 43%),
    linear-gradient(145deg, rgba(51, 37, 26, .95), rgba(24, 18, 13, .98) 55%, rgba(17, 12, 9, .99));
  box-shadow:
    0 38px 110px -30px rgba(0, 0, 0, .92),
    inset 0 1px 0 rgba(255, 247, 234, .07);
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 173, 118, .27) transparent;
  animation: modalIn .45s var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 239, 215, .1);
}

.modal-head h2 {
  margin: 11px 0 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1.2;
}

.modal-close {
  flex: 0 0 auto;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 18px 0 17px;
}

.help-step {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 15px;
  border: 1px solid rgba(255, 239, 215, .075);
  border-radius: 12px;
  background: rgba(255, 246, 232, .018);
}

.help-step::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 239, 215, .04);
  border-radius: 50%;
}

.help-index {
  position: absolute;
  top: 14px;
  right: 15px;
  color: rgba(221, 163, 106, .36);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .08em;
}

.help-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--accent);
  border: 1px solid rgba(221, 163, 106, .21);
  border-radius: 8px;
  background: rgba(221, 163, 106, .045);
}

.help-icon svg {
  width: 18px;
  height: 18px;
}

.help-step h3 {
  margin: 12px 0 0;
  color: rgba(249, 238, 223, .9);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

.help-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 239, 215, .1);
}

.shortcut-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: .03em;
}

.shortcut-row span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 15px;
  height: 16px;
  padding: 0 4px;
  color: rgba(244, 233, 215, .55);
  font-family: var(--font-mono);
  font-size: 6.5px;
  border: 1px solid rgba(255, 239, 215, .13);
  border-radius: 3px;
  background: rgba(255, 246, 230, .035);
}

/* ——— Error / no script ——— */
.error-panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #120d09;
}

.error-panel[hidden] {
  display: none;
}

.error-card {
  max-width: 460px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-deep);
}

.error-card h2 {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
}

.error-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.error-small {
  color: var(--faint) !important;
  font-family: var(--font-mono);
  font-size: 8px !important;
}

.noscript-note {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 16px;
  background: #140e0a;
}

/* ——— Responsive ——— */
@media (max-width: 1300px) {
  .topbar-note {
    display: none;
  }

  .guide-title {
    display: none;
  }

  .guide-dock {
    gap: 9px;
  }

  .directory {
    width: 286px;
  }

  .detail-panel {
    width: 334px;
  }
}

@media (max-width: 1080px) {
  .topbar {
    padding: 20px 20px 0;
  }

  .directory {
    top: 94px;
    left: 20px;
    width: 270px;
  }

  .detail-panel {
    top: 94px;
    right: 20px;
    width: 316px;
    max-height: calc(100vh - 170px);
  }

  .status-hours,
  .status-divider {
    display: none;
  }

  .guide-item {
    padding: 0 8px;
  }

  .guide-item:nth-child(2) {
    display: none;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 17px 16px 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark svg {
    width: 25px;
    height: 25px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-en {
    font-size: 6.5px;
  }

  .status-pill {
    height: 32px;
    padding: 0 10px;
    font-size: 7.5px;
  }

  .icon-btn {
    width: 33px;
    height: 33px;
  }

  .directory {
    top: 84px;
    left: 16px;
    width: 252px;
    padding: 17px 13px 12px;
  }

  .directory-head {
    padding: 0 4px 10px;
  }

  .directory-head h2 {
    font-size: 22px;
  }

  .directory-head p {
    font-size: 9.5px;
    margin-top: 6px;
  }

  .area-item {
    grid-template-columns: 24px minmax(0, 1fr) 12px;
    gap: 8px;
    min-height: 47px;
    padding: 7px 7px;
  }

  .area-num {
    width: 23px;
    height: 23px;
    font-size: 7px;
  }

  .area-name {
    font-size: 12px;
  }

  .area-sub {
    font-size: 6.5px;
  }

  .directory-foot {
    padding-top: 10px;
  }

  .directory-meta {
    display: none;
  }

  .detail-panel {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: 304px;
    max-height: min(62vh, 580px);
    transform: translateY(12px) scale(.99);
  }

  .detail-panel.is-open {
    transform: translateY(0) scale(1);
  }

  .hotspots {
    display: none;
  }

  .guide-dock {
    bottom: 16px;
    left: 16px;
    right: 16px;
    justify-content: space-between;
    transform: translateY(10px);
  }

  body.is-ready .guide-dock {
    transform: translateY(0);
  }

  .guide-items {
    justify-content: center;
    flex: 1;
  }

  .guide-more {
    flex: 0 0 auto;
  }

  .mobile-hint {
    position: fixed;
    top: 74px;
    left: 50%;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    color: rgba(244, 233, 215, .48);
    font-size: 7.5px;
    letter-spacing: .05em;
    white-space: nowrap;
    border: 1px solid rgba(255, 239, 215, .08);
    border-radius: 99px;
    background: rgba(22, 17, 13, .36);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .7s;
  }

  body.is-ready .mobile-hint {
    opacity: 1;
  }

  .mobile-hint.is-hidden {
    opacity: 0 !important;
  }

  .mobile-hint-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 10px;
    padding: 13px 12px 0;
  }

  .brand {
    gap: 9px;
  }

  .brand-en {
    display: none;
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: .1em;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-mark svg {
    width: 22px;
    height: 22px;
  }

  .top-actions {
    gap: 5px;
  }

  .status-pill {
    display: none;
  }

  .area-list {
    flex-direction: row;
    gap: 4px;
    overflow-x: hidden;
    padding: 0;
    border: 0;
    scrollbar-width: none;
  }

  .area-list::-webkit-scrollbar {
    display: none;
  }

  .area-item {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 4px;
    min-height: 35px;
    width: auto;
    padding: 5px 4px;
    border-radius: 9px;
    background: rgba(255, 241, 218, .025);
    border-color: rgba(255, 239, 215, .06);
  }

  .area-item::before,
  .area-arrow {
    display: none;
  }

  .area-num {
    display: none;
  }

  .area-copy {
    flex: 0 1 auto;
    gap: 0;
    min-width: 0;
  }

  .area-name {
    font-size: 10px;
    letter-spacing: .02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .area-name-full {
    display: none;
  }

  .area-name-short {
    display: inline;
  }

  .area-divider {
    display: none;
  }

  .area-sub {
    display: none;
  }

  .icon-btn {
    width: 30px;
    height: 30px;
  }

  .icon-btn .icon {
    width: 15px;
    height: 15px;
  }

  #help-toggle {
    display: grid;
  }

  #fullscreen-toggle {
    display: none;
  }

  .directory {
    top: auto;
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    padding: 9px;
    border-radius: 15px;
    background: rgba(24, 18, 13, .72);
  }

  .directory::before,
  .directory-head,
  .directory-foot {
    display: none;
  }

  .detail-panel {
    top: auto;
    right: 10px;
    bottom: calc(64px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: min(44vh, 430px);
    border-radius: 18px;
  }

  .detail-panel.is-contact {
    max-height: min(58vh, 540px);
  }

  body.has-detail .detail-panel {
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .detail-panel::before {
    border-radius: 18px 18px 0 0;
  }

  .detail-scroll {
    padding: 19px 17px 17px;
  }

  .detail-heading h2 {
    font-size: 29px;
  }

  .detail-desc {
    margin: 12px 0 14px;
    font-size: 10.5px;
    line-height: 1.75;
  }

  .detail-section {
    margin-top: 16px;
  }

  .detail-close {
    top: 13px;
    right: 13px;
    width: 28px;
    height: 28px;
  }

  .contact-module {
    padding: 13px;
  }

  .contact-quote {
    font-size: 18px;
  }

  .contact-qr-image {
    width: 132px;
    height: 132px;
  }

  .contact-qr-copy strong {
    font-size: 10px;
  }

  .contact-qr-copy p {
    font-size: 8.5px;
  }

  body.has-detail .directory {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }

  body.has-detail .guide-dock {
    display: none;
  }

  .mobile-hint {
    top: 59px;
  }

  .guide-dock {
    display: none;
  }

  .product-tooltip {
    display: none !important;
  }

  .modal {
    padding: 10px;
  }

  .modal-card {
    max-height: calc(100vh - 20px);
    padding: 21px 17px 17px;
    border-radius: 17px;
  }

  .modal-head h2 {
    font-size: 24px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px 0;
  }

  .help-step {
    padding: 13px 13px 12px;
  }

  .help-step h3 {
    margin-top: 9px;
  }

  .help-step p {
    font-size: 9px;
  }

  .help-icon {
    width: 27px;
    height: 27px;
  }

  .help-icon svg {
    width: 15px;
    height: 15px;
  }

  .modal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .shortcut-row {
    display: none;
  }

  .primary-btn {
    width: 100%;
  }

  .detail-actions .primary-btn {
    width: auto;
  }

  .loader h1 {
    letter-spacing: .13em;
    text-indent: .13em;
  }

  .loader-foot {
    bottom: 22px;
    letter-spacing: .1em;
    font-size: 6.5px;
  }

  .loader-tagline {
    margin-bottom: 25px;
  }

  .toast {
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom));
    font-size: 8.5px;
  }

  body.has-detail .toast {
    top: 88px;
    bottom: auto;
  }

  body.has-detail .mobile-hint {
    opacity: 0;
    visibility: hidden;
  }

  .status-divider {
    display: none;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 16px;
    letter-spacing: .055em;
  }

  .area-item {
    min-height: 34px;
  }

  .area-name {
    font-size: 8.5px;
  }
}

@media (hover: none) {
  .product-tooltip {
    display: none !important;
  }

  .guide-item {
    display: none;
  }

  .guide-item:first-child {
    display: inline-flex;
  }

  .guide-item:nth-child(3) {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   WANMO AI · TECH NOIR / CYAN THEME
   A deep-blue showroom interface with cyan and violet light, HUD lines,
   glass panels, and a colder material grade throughout the 3D store.
   ========================================================================== */

:root {
  --ink: #e6f8ff;
  --ink-strong: #f4fdff;
  --muted: rgba(205, 238, 250, .68);
  --muted-strong: rgba(218, 246, 255, .85);
  --faint: rgba(171, 218, 236, .42);
  --line: rgba(108, 226, 255, .16);
  --line-strong: rgba(124, 240, 255, .3);
  --accent: #59e9ff;
  --accent-bright: #b0faff;
  --accent-deep: #1b92bb;
  --olive: #7af5d5;
  --panel: rgba(4, 16, 27, .72);
  --panel-deep: rgba(2, 8, 15, .93);
  --panel-warm: rgba(8, 28, 41, .78);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", "STSong", "SimSun", serif;
}

html {
  background: #02060c;
}

body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 51% 27%, #0a2236 0%, #051321 38%, #020911 70%, #010408 100%);
}

::selection {
  color: #04111a;
  background: var(--accent-bright);
}

.tech-overlay {
  position: fixed;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(111, 226, 255, .018) 0, rgba(111, 226, 255, .018) 1px, transparent 1px, transparent 4px),
    linear-gradient(90deg, transparent 0, rgba(61, 203, 255, .025) 50%, transparent 100%),
    radial-gradient(ellipse at center, transparent 48%, rgba(0, 3, 9, .18) 100%);
  box-shadow: inset 0 0 0 1px rgba(101, 231, 255, .055);
}

.tech-overlay::before,
.tech-overlay::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-color: rgba(120, 240, 255, .32);
  border-style: solid;
}

.tech-overlay::before {
  top: 18px;
  left: 18px;
  border-width: 1px 0 0 1px;
}

.tech-overlay::after {
  right: 18px;
  bottom: 18px;
  border-width: 0 1px 1px 0;
}

.scene-atmosphere .atmosphere-glow {
  background:
    radial-gradient(ellipse at 51% 37%, rgba(48, 188, 255, .09), transparent 47%),
    radial-gradient(ellipse at 79% 52%, rgba(118, 88, 255, .07), transparent 40%),
    radial-gradient(ellipse at 42% 57%, rgba(91, 253, 221, .03), transparent 47%);
  mix-blend-mode: screen;
}

.scene-atmosphere .atmosphere-vignette {
  background:
    radial-gradient(ellipse at center, transparent 31%, rgba(0, 4, 10, .48) 73%, rgba(0, 2, 6, .82) 100%);
}

.scene-atmosphere .atmosphere-grain {
  opacity: .12;
}

.scene-stage canvas {
  filter: saturate(1.12) contrast(1.09) brightness(.96);
}

.glass-panel {
  border-color: rgba(103, 229, 255, .18);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(7, 24, 38, .82), rgba(2, 9, 17, .93));
  box-shadow:
    0 30px 80px rgba(0, 5, 12, .62),
    inset 0 1px 0 rgba(143, 244, 255, .07),
    0 0 44px rgba(33, 176, 255, .04);
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
}

/* Brand, status, top-right controls */
.brand-mark {
  color: #64eaff;
  border-color: rgba(105, 233, 255, .28);
  background: radial-gradient(circle at 37% 27%, rgba(27, 113, 127, .33), rgba(3, 17, 28, .7));
  box-shadow: 0 8px 25px -12px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(198, 251, 255, .15);
  filter: drop-shadow(0 0 7px rgba(64, 225, 255, .28));
}

.brand-name {
  color: #e9fcff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .11em;
  text-shadow: 0 0 24px rgba(67, 226, 255, .18);
}

.brand-en {
  color: rgba(136, 235, 253, .54);
  letter-spacing: .14em;
}

.topbar-note {
  color: rgba(177, 226, 243, .52);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
}

.note-line {
  background: linear-gradient(90deg, transparent, rgba(101, 226, 255, .4));
}

.note-line:last-child {
  background: linear-gradient(90deg, rgba(101, 226, 255, .4), transparent);
}

.status-pill {
  color: rgba(206, 250, 255, .88);
  border-color: rgba(85, 228, 255, .2);
  background: rgba(3, 20, 30, .62);
  box-shadow: inset 0 1px 0 rgba(141, 246, 255, .07), 0 0 24px rgba(46, 207, 255, .05);
}

.status-dot {
  background: #64f6d4;
  box-shadow: 0 0 11px rgba(81, 255, 218, .9);
}

.status-hours {
  color: rgba(188, 233, 247, .5);
}

.icon-btn {
  color: rgba(192, 240, 252, .7);
  border-color: rgba(102, 226, 255, .14);
  background: rgba(3, 15, 24, .56);
}

.icon-btn:hover {
  color: #d4fcff;
  border-color: rgba(114, 242, 255, .38);
  background: rgba(16, 48, 64, .5);
  box-shadow: 0 0 24px rgba(45, 210, 255, .1);
}

.icon-btn[data-tooltip]::after {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(3, 16, 26, .94);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .08em;
}

#sound-toggle.is-on {
  color: var(--accent-bright);
  border-color: rgba(102, 236, 255, .34);
}

/* Directory */
.directory {
  background-image:
    linear-gradient(rgba(99, 223, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 223, 255, .028) 1px, transparent 1px),
    linear-gradient(145deg, rgba(7, 24, 38, .88), rgba(2, 8, 16, .93));
  background-size: 28px 28px, 28px 28px, auto;
}

.directory::before {
  background: linear-gradient(90deg, transparent, rgba(88, 237, 255, .82), transparent);
}

.directory::after {
  content: "SYS 01  /  SECTOR MAP";
  position: absolute;
  right: 20px;
  bottom: 13px;
  color: rgba(113, 229, 250, .32);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .13em;
  pointer-events: none;
}

.eyebrow {
  color: rgba(132, 231, 251, .58);
}

.eyebrow i {
  background: linear-gradient(90deg, transparent, rgba(111, 240, 255, .56), transparent);
}

.directory-head h2,
.detail-heading h2,
.modal-head h2,
.product-name {
  color: #f0fdff;
  font-family: var(--font-display);
  letter-spacing: .04em;
  text-shadow: 0 0 30px rgba(59, 224, 255, .08);
}

.directory-head p,
.detail-desc,
.product-story {
  color: rgba(207, 239, 249, .72);
}

.area-item {
  color: var(--ink);
  border-color: rgba(110, 225, 255, .06);
  background: rgba(5, 22, 34, .24);
}

.area-item:hover {
  border-color: rgba(113, 236, 255, .22);
  background: rgba(19, 68, 84, .3);
}

.area-item.is-active {
  border-color: rgba(123, 244, 255, .32);
  background: linear-gradient(90deg, rgba(25, 128, 148, .3), rgba(9, 41, 56, .16));
  box-shadow: inset 2px 0 0 rgba(105, 242, 255, .8), 0 0 26px rgba(31, 186, 240, .06);
}

.area-num {
  color: rgba(106, 236, 255, .76);
}

.area-item:hover .area-num {
  color: var(--ink);
  border-color: rgba(113, 236, 255, .28);
}

.area-name {
  color: rgba(230, 250, 255, .94);
}

.area-item.is-active .area-name {
  color: var(--ink-strong);
}

.area-sub {
  color: rgba(144, 204, 224, .54);
}

.area-arrow {
  color: rgba(120, 220, 240, .37);
}

.area-item:hover .area-arrow,
.area-item.is-active .area-arrow {
  color: var(--accent-bright);
}

.area-divider {
  color: rgba(145, 222, 239, .36);
}

.area-divider-line {
  background: rgba(92, 220, 248, .11);
}

.area-item.is-support {
  border-color: rgba(104, 225, 251, .09);
  background: rgba(10, 42, 56, .19);
}

.area-item.is-support .area-num {
  color: rgba(115, 226, 249, .62);
}

.area-item.is-support .area-sub {
  color: rgba(136, 211, 231, .42);
}

.overview-link {
  color: rgba(165, 237, 250, .64);
}

.overview-link:hover {
  color: var(--ink-strong);
}

.directory-meta {
  color: rgba(168, 225, 241, .42);
}

.directory-foot {
  border-top-color: var(--line);
}

/* Scene markers */
.hotspot-pin {
  color: #b7fbff;
  border-color: rgba(113, 241, 255, .7);
  background: rgba(3, 21, 31, .95);
  box-shadow: 0 0 0 4px rgba(38, 194, 233, .05), 0 0 20px rgba(52, 219, 255, .23);
}

.hotspot-pin::after {
  border-color: rgba(103, 237, 255, .18);
}

.hotspot-label {
  color: rgba(229, 253, 255, .94);
  border-color: rgba(108, 237, 255, .25);
  background: rgba(3, 16, 26, .92);
  box-shadow: 0 8px 24px rgba(0, 7, 14, .45), 0 0 18px rgba(43, 201, 255, .05);
}

.hotspot:hover .hotspot-pin,
.hotspot:focus-visible .hotspot-pin,
.hotspot.is-active .hotspot-pin {
  color: #03212b;
  border-color: var(--accent-bright);
  background: var(--accent-bright);
  box-shadow: 0 0 0 5px rgba(39, 194, 227, .08), 0 0 26px rgba(64, 227, 255, .34);
}

.hotspot:hover .hotspot-pin::after,
.hotspot.is-active .hotspot-pin::after {
  border-color: rgba(119, 242, 255, .34);
}

.hotspot:hover .hotspot-label,
.hotspot.is-active .hotspot-label {
  color: var(--ink-strong);
  border-color: rgba(128, 244, 255, .46);
}

/* Bottom guide */
.guide-dock {
  border-color: rgba(100, 228, 255, .15);
  border-radius: 9px;
  background: rgba(3, 14, 23, .78);
  box-shadow: 0 18px 48px rgba(0, 5, 12, .46), inset 0 1px 0 rgba(123, 235, 255, .06);
}

.guide-title {
  color: rgba(143, 235, 252, .56);
}

.guide-spark {
  background: #65eeff;
  box-shadow: 0 0 12px rgba(78, 233, 255, .6);
}

.guide-item {
  color: rgba(185, 233, 246, .6);
}

.guide-more {
  color: rgba(175, 231, 244, .6);
  border-color: rgba(91, 220, 242, .13);
  background: rgba(9, 35, 47, .4);
}

.guide-more:hover {
  color: var(--ink-strong);
  border-color: rgba(122, 241, 255, .3);
  background: rgba(16, 58, 74, .52);
}

.guide-more span {
  border-color: rgba(116, 237, 255, .28);
}

.toast {
  color: rgba(228, 252, 255, .9);
  border-color: rgba(100, 231, 255, .22);
  background: rgba(3, 19, 29, .92);
  box-shadow: 0 14px 44px rgba(0, 5, 12, .5), 0 0 26px rgba(34, 190, 255, .07);
}

.mobile-hint {
  color: rgba(184, 235, 247, .62);
  border-color: rgba(97, 220, 244, .14);
  background: rgba(3, 16, 25, .76);
}

/* Hover cards */
.product-tooltip {
  color: var(--ink);
  border-color: rgba(101, 232, 255, .23);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(7, 27, 41, .77), rgba(2, 9, 17, .96) 55%, rgba(1, 6, 12, .98));
  box-shadow:
    0 30px 65px -27px rgba(0, 0, 0, .92),
    inset 0 1px 0 rgba(168, 247, 255, .1),
    0 0 34px rgba(30, 185, 235, .05);
}

.product-tooltip::before {
  background: linear-gradient(90deg, transparent, rgba(102, 240, 255, .78), transparent);
}

.tip-en {
  color: rgba(166, 226, 245, .38);
}

.tip-icon {
  color: color-mix(in srgb, var(--tip-tone, #3d9fb2) 52%, #d7fbff);
  border-color: rgba(111, 235, 255, .15);
  background: rgba(4, 21, 32, .58);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--tip-tone, #3d9fb2) 12%, transparent);
}

.tip-stock {
  color: rgba(159, 245, 221, .72);
}

.tip-stock::before {
  background: #7af5d5;
  box-shadow: 0 0 7px rgba(122, 245, 213, .58);
}

.tip-price .currency {
  color: rgba(137, 240, 255, .7);
}

.tip-tag {
  color: rgba(139, 236, 215, .72);
}

.tip-desc,
.tip-foot {
  border-top-color: rgba(107, 224, 245, .09);
}

.product-tag {
  color: rgba(152, 244, 255, .82);
  border-color: rgba(94, 230, 255, .2);
  background: rgba(22, 132, 155, .1);
}

.product-tag.free {
  color: rgba(137, 247, 220, .88);
  border-color: rgba(103, 235, 207, .22);
  background: rgba(54, 181, 148, .08);
}

.tip-price.price-quote,
.product-price.price-quote,
.price-quote {
  color: var(--accent-bright);
}

/* Detail panel & product dossiers */
.detail-panel {
  border-radius: 11px;
}

.detail-panel::before {
  background: linear-gradient(90deg, transparent, rgba(108, 239, 255, .55), transparent);
}

.detail-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  border-top: 1px solid rgba(113, 240, 255, .28);
  border-right: 1px solid rgba(113, 240, 255, .28);
  border-radius: 0 11px 0 0;
  pointer-events: none;
}

.detail-scrim {
  background: linear-gradient(180deg, rgba(3, 14, 23, .94) 0%, rgba(3, 14, 23, 0) 100%);
  border-radius: 11px 11px 0 0;
}

.detail-close {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(5, 24, 36, .72);
}

.detail-close:hover {
  color: var(--ink-strong);
  border-color: rgba(113, 238, 255, .35);
  background: rgba(15, 55, 70, .76);
}

.detail-scroll {
  scrollbar-color: rgba(107, 226, 251, .3) transparent;
}

.detail-scroll::-webkit-scrollbar-thumb {
  background: rgba(104, 230, 253, .26);
}

.detail-kicker {
  color: var(--accent);
}

.detail-kicker .kicker-line {
  background: rgba(102, 236, 255, .5);
}

.detail-en {
  color: rgba(160, 226, 244, .52);
}

.detail-stat-grid,
.detail-section,
.section-head,
.detail-note {
  border-color: var(--line);
}

.detail-stat-value {
  color: var(--ink-strong);
}

.detail-stat-label {
  color: var(--faint);
}

.detail-stat {
  border-right-color: rgba(107, 230, 255, .1);
}

.section-head h3 {
  color: rgba(232, 251, 255, .92);
}

.section-head span {
  color: rgba(141, 227, 247, .48);
}

.spec-row {
  border-bottom-color: rgba(108, 225, 247, .1);
}

.spec-name {
  color: var(--muted);
}

.spec-value {
  color: rgba(230, 252, 255, .86);
}

.product-chip {
  border-color: rgba(102, 231, 255, .11);
  background: rgba(9, 37, 51, .32);
}

.product-chip:hover {
  border-color: rgba(111, 240, 255, .28);
  background: rgba(20, 74, 91, .44);
}

.chip-name {
  color: rgba(227, 251, 255, .92);
}

.chip-price {
  color: rgba(134, 240, 255, .72);
}

.chip-price small {
  color: var(--faint);
}

.chip-arrow {
  color: rgba(150, 236, 251, .45);
}

.product-chip:hover .chip-arrow {
  color: var(--accent-bright);
}

.detail-note {
  color: rgba(201, 235, 246, .62);
  border-color: rgba(105, 225, 247, .11);
  background: rgba(23, 100, 119, .08);
}

.detail-note svg {
  color: var(--accent);
}

.detail-back {
  color: rgba(151, 232, 249, .7);
  border-color: var(--line);
  background: rgba(4, 23, 34, .38);
}

.detail-back:hover {
  color: var(--ink-strong);
  border-color: rgba(122, 242, 255, .32);
  background: rgba(12, 52, 67, .5);
}

.primary-btn {
  color: #031822;
  border-color: transparent;
  background: linear-gradient(135deg, #a8fbff 0%, #5be9ff 45%, #36c6e0 100%);
  box-shadow: 0 12px 30px rgba(40, 200, 235, .17), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.primary-btn:hover {
  background: linear-gradient(135deg, #c3fdff 0%, #7ef2ff 45%, #49d9ef 100%);
  box-shadow: 0 14px 36px rgba(40, 213, 246, .23), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.area-quote {
  color: rgba(222, 251, 255, .88);
  border-left-color: rgba(78, 229, 255, .6);
  background: linear-gradient(90deg, rgba(39, 183, 211, .13), transparent 82%);
}

.contact-module {
  border-color: rgba(104, 233, 255, .2);
  background:
    radial-gradient(circle at 92% 10%, rgba(34, 152, 182, .16), transparent 45%),
    linear-gradient(145deg, rgba(7, 33, 47, .72), rgba(2, 10, 18, .82));
}

.contact-module .eyebrow {
  color: rgba(145, 234, 252, .6);
}

.contact-quote {
  color: var(--ink-strong);
}

.contact-quote em {
  color: var(--accent-bright);
}

.contact-qr-image {
  background: #f7fbfd;
}

.contact-qr-copy strong {
  color: var(--ink);
}

.contact-qr-copy p {
  color: var(--muted);
}

.contact-qr-copy span {
  color: var(--accent);
}

.contact-foot {
  color: var(--faint);
  border-top-color: rgba(108, 228, 251, .1);
}

.content-tag {
  color: rgba(211, 246, 255, .7);
  border-color: rgba(104, 228, 251, .13);
  background: rgba(111, 230, 255, .035);
}

.content-count {
  color: var(--accent);
}

.empty-collection {
  color: var(--muted);
}

.empty-collection strong {
  color: rgba(228, 250, 255, .82);
}

.empty-collection .contact-inline {
  color: rgba(166, 245, 255, .82);
  border-color: rgba(99, 230, 255, .18);
  background: rgba(29, 143, 163, .1);
}

.empty-collection .contact-inline:hover {
  color: var(--ink-strong);
  border-color: rgba(114, 240, 255, .34);
  background: rgba(29, 163, 184, .16);
}

.product-hero {
  border-color: rgba(106, 229, 252, .12);
  background:
    radial-gradient(circle at 14% 30%, color-mix(in srgb, var(--product-tone, #2d93a8) 20%, transparent), transparent 58%),
    rgba(7, 32, 45, .34);
}

.product-hero::after {
  border-color: rgba(108, 231, 255, .1);
  box-shadow: 0 0 0 16px rgba(111, 236, 255, .02), 0 0 0 33px rgba(111, 236, 255, .012);
}

.product-emblem {
  color: color-mix(in srgb, var(--product-tone, #2d93a8) 50%, #e1fdff);
  border-color: rgba(113, 238, 255, .16);
  background: rgba(3, 20, 30, .55);
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--product-tone, #2d93a8) 13%, transparent);
}

.product-en {
  color: rgba(156, 224, 244, .35);
}

.product-price {
  color: var(--accent-bright);
}

.product-price .currency {
  color: rgba(132, 239, 255, .64);
}

.product-tag {
  margin-left: auto;
}

.product-facts {
  border-color: rgba(106, 231, 253, .1);
  background: rgba(102, 228, 252, .08);
}

.product-fact {
  background: rgba(2, 12, 20, .94);
}

.product-fact span {
  color: var(--faint);
}

.product-fact strong {
  color: rgba(224, 249, 255, .82);
}

/* Help modal */
.modal-backdrop {
  background: rgba(1, 7, 12, .72);
}

.modal-card {
  color: var(--ink);
  border-color: rgba(107, 235, 255, .2);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 90% 3%, rgba(35, 152, 184, .14), transparent 43%),
    linear-gradient(145deg, rgba(7, 28, 42, .97), rgba(1, 9, 16, .99) 55%, rgba(1, 6, 11, .995));
  box-shadow: 0 38px 110px -30px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(157, 247, 255, .1);
  scrollbar-color: rgba(103, 229, 252, .3) transparent;
}

.modal-head,
.modal-footer {
  border-color: rgba(103, 227, 252, .11);
}

.help-step {
  border-color: rgba(106, 232, 255, .1);
  background: rgba(14, 53, 68, .22);
}

.help-step::after {
  border-color: rgba(108, 233, 255, .07);
}

.help-index {
  color: rgba(104, 235, 255, .42);
}

.help-icon {
  color: var(--accent);
  border-color: rgba(101, 233, 255, .22);
  background: rgba(32, 160, 185, .09);
}

.help-step h3 {
  color: rgba(235, 253, 255, .9);
}

.shortcut-row {
  color: var(--faint);
}

kbd {
  color: rgba(203, 247, 255, .6);
  border-color: rgba(108, 231, 255, .16);
  background: rgba(22, 118, 137, .08);
}

/* Loader */
.loader {
  background:
    radial-gradient(ellipse at 50% 43%, #0a2638 0%, #05131f 42%, #01060b 100%);
}

.loader::after {
  opacity: .035;
}

.loader-haze-a {
  background: rgba(38, 175, 209, .16);
}

.loader-haze-b {
  background: rgba(88, 81, 197, .12);
}

.loader-eyebrow {
  color: rgba(170, 234, 250, .44);
}

.loader h1 {
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.7vw, 54px);
  font-weight: 500;
  letter-spacing: .16em;
  text-indent: .16em;
  text-shadow: 0 0 36px rgba(73, 225, 255, .17);
}

.loader-tagline {
  color: rgba(180, 232, 247, .56);
}

.loader-track {
  background: rgba(105, 230, 255, .1);
}

.loader-track::after {
  background: linear-gradient(90deg, transparent, rgba(146, 247, 255, .17), transparent);
}

.loader-track span {
  background: linear-gradient(90deg, #1288aa, #a4faff);
  box-shadow: 0 0 12px rgba(89, 237, 255, .55);
}

.loader-meta {
  color: rgba(174, 230, 246, .36);
}

.loader-percent {
  color: rgba(195, 245, 255, .55);
}

.loader-foot {
  color: rgba(174, 230, 246, .3);
}

.loader-foot i {
  background: rgba(98, 235, 255, .5);
}

/* Error state */
.error-panel {
  background: #02070d;
}

.error-card {
  border-color: var(--line);
  background: var(--panel-deep);
}

.noscript-note {
  background: #02070d;
}

@media (max-width: 720px) {
  .directory::after {
    display: none;
  }

  .detail-panel {
    border-radius: 13px;
  }

  .tech-overlay::before,
  .tech-overlay::after {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 16px;
    letter-spacing: .065em;
  }
}

/* Legibility pass for the dark HUD surface. */
.topbar-note {
  color: rgba(204, 240, 251, .63);
}

.brand-en {
  color: rgba(143, 233, 251, .62);
}

.status-hours {
  color: rgba(194, 233, 245, .62);
}

.status-pill {
  color: rgba(222, 252, 255, .92);
  background: rgba(3, 22, 33, .82);
}

.icon-btn {
  color: rgba(215, 248, 255, .88);
  border-color: rgba(109, 235, 255, .22);
  background: rgba(4, 22, 33, .72);
}

.icon-btn:hover {
  color: #ffffff;
  border-color: rgba(145, 250, 255, .55);
  background: rgba(15, 58, 74, .78);
}

.area-item {
  border-color: rgba(103, 226, 255, .09);
  background: rgba(7, 27, 41, .38);
}

.area-item:hover {
  border-color: rgba(119, 240, 255, .32);
  background: rgba(18, 69, 87, .42);
}

.area-item.is-active {
  border-color: rgba(135, 246, 255, .48);
  background:
    linear-gradient(90deg, rgba(28, 152, 174, .34), rgba(9, 44, 60, .2) 72%, transparent);
  box-shadow: inset 2px 0 0 #7ff4ff, 0 0 30px rgba(41, 210, 246, .08);
}

.area-item.is-active::before {
  box-shadow: 0 0 12px rgba(98, 243, 255, .7);
}

.area-name {
  color: rgba(238, 253, 255, .98);
}

.area-sub {
  color: rgba(161, 225, 241, .66);
}

.area-num {
  color: rgba(126, 241, 255, .88);
}

.area-arrow {
  color: rgba(137, 235, 251, .52);
}

.area-item.is-support .area-num {
  color: rgba(131, 232, 250, .72);
}

.area-item.is-support .area-sub {
  color: rgba(150, 219, 235, .52);
}

.area-divider {
  color: rgba(159, 230, 244, .45);
}

.directory-meta {
  color: rgba(180, 232, 245, .5);
}

.directory-foot {
  border-top-color: rgba(103, 226, 255, .12);
}

.overview-link {
  color: rgba(184, 242, 253, .76);
}

.guide-title {
  color: rgba(163, 239, 253, .7);
}

.guide-item {
  color: rgba(215, 247, 255, .82);
}

.guide-more {
  color: rgba(218, 248, 255, .84);
  border-color: rgba(121, 239, 255, .28);
  background: rgba(11, 43, 57, .68);
}

.guide-item svg {
  opacity: .9;
}

.directory-meta {
  color: rgba(188, 238, 250, .6);
}

.directory-foot {
  border-top-color: rgba(103, 226, 255, .14);
}

.area-sub {
  color: rgba(170, 230, 244, .7);
}

.guide-more:hover {
  border-color: rgba(139, 248, 255, .5);
  background: rgba(18, 71, 88, .78);
}

.product-tooltip {
  border-color: rgba(109, 235, 255, .32);
}

.hotspot-pin {
  box-shadow: 0 0 0 4px rgba(38, 194, 233, .06), 0 0 24px rgba(52, 219, 255, .32);
}

.hotspot-label {
  color: rgba(239, 254, 255, .96);
  background: rgba(3, 19, 29, .95);
}

/* Clickable free-book claim line. */
.claim-line {
  margin: 4px 0 16px;
  padding: 11px 12px;
  color: rgba(202, 240, 250, .74);
  font-size: 10.5px;
  line-height: 1.7;
  border: 1px solid rgba(103, 230, 255, .13);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(26, 129, 150, .12), rgba(4, 16, 26, .06));
}

.claim-link {
  display: inline;
  padding: 0;
  color: var(--accent-bright);
  font: inherit;
  line-height: inherit;
  vertical-align: baseline;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(89, 233, 255, .52);
  text-underline-offset: 3px;
  border: 0;
  background: none;
  cursor: pointer;
  transition: color .2s, text-shadow .2s, text-decoration-color .2s;
}

.claim-link::after {
  content: " ↗";
  display: inline-block;
  font-size: .82em;
  transform: translateY(-1px);
}

.claim-link:hover,
.claim-link:focus-visible {
  color: #f1feff;
  text-decoration-color: var(--accent-bright);
  text-shadow: 0 0 10px rgba(89, 233, 255, .35);
  outline: none;
}

.claim-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* ICP filing footer — small, fixed, and out of the way of the shop controls. */
.site-footer {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(102, 228, 255, .14);
  border-radius: 4px;
  background: rgba(3, 15, 24, .62);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.2;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-footer::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(99, 237, 255, .64);
  box-shadow: 0 0 7px rgba(80, 232, 255, .4);
}

.site-footer a {
  color: rgba(184, 232, 244, .62);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .site-footer {
    right: 14px;
    bottom: 74px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    padding: 3px 6px;
    font-size: 6.5px;
    background: rgba(3, 15, 24, .72);
  }

  body.has-detail .site-footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}


