/* ======================================================================
   3D MALL — interior + exterior (pure CSS 3D)
   ====================================================================== */
#mallMount:empty { display: none; }
.mall-view {
  position: relative; height: calc(100vh - 68px); min-height: 480px; overflow: hidden;
  background: #f0ebe3; user-select: none; -webkit-user-select: none; touch-action: none;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
.mall-view .world, .mall-intro .world {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
}
.p3 { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: hidden; pointer-events: none; }
/* only shops and the "What's new" screen take clicks; decor must never steal them */
.p3.shop:not(.closed), .m-end .screen { pointer-events: auto; }
.fog::after {
  content: ''; position: absolute; inset: 0; background: #f0ebe3; opacity: var(--fog, 0); pointer-events: none;
}

/* ---------------- interior architecture ---------------- */
.m-floor {
  background-color: #ede7de;
  background-image:
    linear-gradient(90deg, transparent 37.6%, #cfc4b5 37.6%, #cfc4b5 38%, #e2d9cc 38%, #e2d9cc 62%, #cfc4b5 62%, #cfc4b5 62.4%, transparent 62.4%),
    linear-gradient(90deg, rgba(110,92,72,.09) 2px, transparent 2px),
    linear-gradient(rgba(110,92,72,.09) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,248,236,.95) 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 80%, rgba(255,248,236,.95) 100%);
  background-size: 100% 100%, 200px 200px, 200px 200px, 100% 100%;
}
.m-roof {
  background-color: #6f8bb0;
  background-image:
    linear-gradient(90deg, #efebe4 0 17%, transparent 17% 83%, #efebe4 83%),
    linear-gradient(90deg, #2f343c 4px, transparent 4px),
    linear-gradient(#2f343c 7px, transparent 7px),
    linear-gradient(90deg, #6e8aaf, #a9c0da 50%, #6e8aaf);
  background-size: 100% 100%, 110px 100%, 100% 140px, 100% 100%;
}
.m-soffit {
  background-color: #f6f3ee;
  background-image: radial-gradient(circle, #fff 0 7px, rgba(255,238,205,.95) 8px, rgba(255,238,205,0) 28px);
  background-size: 170px 140px;
}
.m-edge {
  background: linear-gradient(#ffffff, #ece8e2 70%, #ffdcae 86%, #fff6e6);
  box-shadow: 0 8px 22px rgba(255,196,128,.55);
}
.m-glass {
  background: linear-gradient(rgba(214,232,244,.16), rgba(214,232,244,.34));
  border-top: 7px solid #c9cdd3; box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  backface-visibility: visible;
}
.m-upper { background: #efebe5; }
.uf-fascia {
  position: absolute; left: 0; right: 0; top: 24px; height: 46px; background: #262a31;
  border-bottom: 3px solid var(--c); box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.uf-glass {
  position: absolute; left: 0; right: 0; top: 70px; bottom: 0; border: 5px solid #2c3038; border-bottom: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 136px, #2c3038 136px 141px),
    linear-gradient(115deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%),
    linear-gradient(#fffaf2, #f2e2ca);
}
.m-col {
  background: linear-gradient(90deg, #b9b0a2, #f8f5f0 32%, #fffdf9 42%, #e6dfd4 65%, #b4aa9b);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}
.m-wall {
  background-color: #efeae2;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.05) 2px, transparent 2px),
    linear-gradient(rgba(0,0,0,.05) 2px, transparent 2px),
    linear-gradient(#f6f2ec, #e6dfd4);
  background-size: 150px 100%, 100% 115px, 100% 100%;
  display: grid; place-items: center;
}
.m-banner {
  background: rgba(30,33,40,.92); color: #fff; display: grid; place-items: center;
  font-size: 28px; font-weight: 300; letter-spacing: 2px; border-bottom: 3px solid #ff6a00;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.m-banner b { font-weight: 700; color: #ffb27a; }
.m-banner::before, .m-banner::after { content: ''; position: absolute; bottom: 100%; width: 2px; height: 220px; background: #8b9098; }
.m-banner::before { left: 70px; } .m-banner::after { right: 70px; }

/* directory board + plaque on the entrance walls */
.dir-board {
  width: 380px; background: linear-gradient(160deg, #1e2229, #2b3039); color: #fff; border-radius: 10px;
  padding: 18px 20px; box-shadow: 0 18px 40px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.06);
}
.db-h { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.14); }
.db-mark, .pl-mark, .eb-mark, .hud-mark, .ho-mark, .xs-mark {
  display: inline-grid; place-items: center; background: #ff6a00; color: #fff; font-weight: 800; border-radius: 22%;
}
.db-mark { width: 34px; height: 34px; font-size: 20px; letter-spacing: 0; }
.db-r { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.db-r i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.db-r span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-r b { opacity: .5; font-size: 14px; font-weight: 600; }
.db-r em { font-style: normal; font-size: 12px; font-weight: 800; background: #e5183c; padding: 2px 7px; border-radius: 4px; letter-spacing: .5px; }
.db-more { opacity: .6; font-size: 15px; padding-top: 8px; }
.plaque {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 44px; border-radius: 8px;
  background: linear-gradient(135deg, #f7f7f5, #d9dcdf 45%, #f2f3f3 60%, #c9cdd2); color: #2a2d33;
  box-shadow: 0 16px 36px rgba(0,0,0,.18), inset 0 1px 0 #fff;
}
.pl-mark { width: 64px; height: 64px; font-size: 38px; }
.plaque b { font-size: 34px; letter-spacing: 1px; }
.plaque span:last-child { font-size: 17px; color: #5b616b; letter-spacing: .5px; }

/* ---------------- shop fronts ---------------- */
.shop { cursor: pointer; background: #efeae2; }
.shop .sf { position: absolute; inset: 0 26px; display: flex; flex-direction: column; }
.sf-fascia {
  height: 74px; flex: none; background: linear-gradient(#2a2e36, #1f2228); color: #fff;
  display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 3px solid var(--c);
  box-shadow: 0 6px 20px rgba(0,0,0,.12); transition: box-shadow .6s ease;
}
.sf-logo {
  width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--c); display: grid; place-items: center;
  font-weight: 800; font-size: 24px; box-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent);
}
.sf-name {
  flex: 1; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 0 12px rgba(255,255,255,.35);
}
.sf-new {
  flex: none; background: #e5183c; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1px; padding: 5px 10px; border-radius: 5px;
  box-shadow: 0 0 16px rgba(229,24,60,.6);
}
.shop:hover .sf-fascia { box-shadow: 0 0 44px color-mix(in srgb, var(--c) 70%, transparent); }
.sf-glazing { flex: 1; position: relative; border: 6px solid #2c3038; border-bottom: 0; overflow: hidden; }
.sf-interior {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 34% 35%, #fffdf8, #f6ead8 60%, #e7d3b6);
}
.sf-shelves {
  position: absolute; left: 8%; right: 40%; top: 10%; height: 34%;
  background: repeating-linear-gradient(transparent 0 38px, rgba(120,95,65,.25) 38px 42px);
  border-left: 3px solid rgba(120,95,65,.18); border-right: 3px solid rgba(120,95,65,.18); opacity: .7;
}
.sf-spot {
  position: absolute; left: 34%; top: 0; width: 70%; height: 100%; transform: translateX(-50%);
  background: linear-gradient(rgba(255,255,255,.95), rgba(255,250,235,0) 85%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); opacity: .55;
}
.sf-prod {
  position: absolute; left: 34%; bottom: 52px; height: 58%; aspect-ratio: 1; transform: translateX(-50%);
  object-fit: cover; border-radius: 8px; background: #fff; box-shadow: 0 18px 30px rgba(60,40,20,.28);
}
.sf-letter { display: grid; place-items: center; font-size: 110px; font-weight: 800; color: var(--c); }
.sf-plinth {
  position: absolute; left: 34%; bottom: 22px; width: 52%; height: 44px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #ffffff, #e9e1d4 70%, #cfc3b0); box-shadow: 0 10px 16px rgba(0,0,0,.12);
}
.sf-door { position: absolute; top: 0; right: 0; bottom: 0; width: 32%; border-left: 6px solid #2c3038; overflow: hidden;
  background: linear-gradient(#fff8ec, #f1dcbc); }
.sf-leaf {
  position: absolute; inset: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1);
  background: linear-gradient(115deg, rgba(220,238,252,.55), rgba(180,210,235,.25) 60%, rgba(220,238,252,.4));
  border-left: 4px solid #3a3f48; border-right: 4px solid #3a3f48;
}
.sf-leaf i { position: absolute; left: 14px; top: 38%; width: 6px; height: 90px; border-radius: 3px; background: linear-gradient(90deg, #9aa1ab, #eef0f3, #9aa1ab); }
.shop:hover .sf-leaf { transform: translateX(92%); }
.sf-reflect {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 54%, rgba(255,255,255,.22) 57%, rgba(255,255,255,0) 64%);
}
.sf-count {
  position: absolute; left: 16px; bottom: 14px; color: #3a3f48; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(255,255,255,.75); padding: 4px 10px; border-radius: 4px;
}
.sf-kick { height: 18px; flex: none; background: linear-gradient(#c4c8ce, #8d939c); }
.sf-closed { inset: 0 26px; }
.hoarding {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: #fff; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,106,0,.0) 0 40px, rgba(255,106,0,.07) 40px 80px),
    linear-gradient(#2a2e36, #1d2026);
}
.ho-mark { width: 58px; height: 58px; font-size: 32px; }
.hoarding b { font-size: 30px; font-weight: 300; letter-spacing: 8px; }
.hoarding span:last-child { font-size: 16px; opacity: .6; letter-spacing: 1px; }

/* benches, planters, trees */
.bench.bx-t { background: repeating-linear-gradient(90deg, #a5764b 0 16px, #8e6440 16px 18px); }
.bench.bx-f, .bench.bx-s { background: #7a5435; }
.bleg { background: #30343b; }
.planter.bx-f, .planter.bx-s { background: linear-gradient(#f3efe9, #d8d1c6); }
.planter.bx-t, .x-planter.bx-t {
  background:
    radial-gradient(circle at 25% 30%, #6fa45a 0 16%, transparent 17%),
    radial-gradient(circle at 70% 35%, #5d944b 0 18%, transparent 19%),
    radial-gradient(circle at 45% 70%, #4f8640 0 20%, transparent 21%),
    #3f6e33;
}
.tree { backface-visibility: visible; --l1: #7db562; --l2: #63a04e; --l3: #4c8a3c; --l4: #3c7430; }
.tree.dusk { --l1: #4e7a45; --l2: #3f6a3a; --l3: #33592f; --l4: #284a26; }
.tree.shrub { --l1: #86bd6a; --l2: #6aa653; }
.t-trunk {
  position: absolute; left: 50%; bottom: 0; width: 6%; height: 48%; transform: translateX(-50%);
  background: linear-gradient(90deg, #4a3524, #7a5a3e, #4a3524); border-radius: 3px;
}
.t-crown {
  position: absolute; left: 0; right: 0; top: 0; height: 74%;
  background:
    radial-gradient(circle at 50% 20%, var(--l1) 0 17%, transparent 19%),
    radial-gradient(circle at 27% 36%, var(--l2) 0 20%, transparent 22%),
    radial-gradient(circle at 73% 38%, var(--l2) 0 19%, transparent 21%),
    radial-gradient(circle at 38% 62%, var(--l3) 0 22%, transparent 24%),
    radial-gradient(circle at 66% 64%, var(--l3) 0 21%, transparent 23%),
    radial-gradient(circle at 50% 48%, var(--l4) 0 40%, transparent 42%);
}
.tree.shrub .t-trunk { display: none; }
.tree.shrub .t-crown { height: 100%; }

/* end wall + big screen */
.m-end {
  background-color: #ece6dd;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.045) 2px, transparent 2px),
    linear-gradient(#f5f1eb, #e3dbcf);
  background-size: 125px 100%, 100% 100%;
}
.end-brand {
  position: absolute; left: 0; right: 0; top: 120px; display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 50px; font-weight: 700; color: #2a2d33; letter-spacing: 1px;
}
.eb-mark { width: 64px; height: 64px; font-size: 38px; box-shadow: 0 0 30px rgba(255,106,0,.45); }
.screen {
  position: absolute; left: 50%; top: 430px; width: 700px; height: 300px; transform: translateX(-50%);
  background: #0c0d11; border: 8px solid #17191e; border-radius: 6px; overflow: hidden; cursor: pointer;
  box-shadow: 0 0 70px rgba(255,140,60,.28), 0 24px 40px rgba(0,0,0,.25);
}
.bb-label { position: absolute; top: 16px; right: 20px; z-index: 2; color: #ffb27a; font-weight: 700; letter-spacing: 5px; font-size: 14px; }
.bb-slide { position: absolute; inset: 0; display: flex; opacity: 0; transition: opacity .7s; }
.bb-slide.on { opacity: 1; }
.bb-img { width: 45%; background: #fff; }
.bb-img img { width: 100%; height: 100%; object-fit: cover; }
.bb-text { flex: 1; padding: 40px 30px 20px; color: #fff; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.bb-text h4 { margin: 0; font-size: 32px; font-weight: 600; line-height: 1.15; }
.bb-price { color: #ffb27a; font-size: 28px; font-weight: 700; }
.bb-cta { opacity: .6; font-size: 16px; letter-spacing: .5px; }
.bb-text .new-badge { align-self: flex-start; font-size: 14px; padding: 4px 10px; animation: none; }

/* lite mode for weak devices: drop the heaviest decoration so moving stays smooth */
.mall-view.lite { background: #efe9e1; }
/* keep the roof, ceiling and shop fronts; drop only the heavy extras (upper floor, glass, decor, fog, shadows) */
.mall-view.lite .m-upper, .mall-view.lite .m-glass, .mall-view.lite .m-edge,
.mall-view.lite .m-banner, .mall-view.lite .bench, .mall-view.lite .bleg, .mall-view.lite .planter,
.mall-view.lite .tree, .mall-view.lite .mall-vignette, .mall-view.lite .g-cast, .mall-view.lite .desk-glow,
.mall-view.lite .fog::after { display: none !important; }
.mall-view.lite .mall-hud * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* ---------------- inside a shop ---------------- */
.shop-view { background: #f6f1ea; }
.s-floor {
  background-color: #d9c4a4;
  background-image:
    repeating-linear-gradient(90deg, rgba(90,60,30,.10) 0 2px, transparent 2px 90px),
    repeating-linear-gradient(rgba(90,60,30,.07) 0 2px, transparent 2px 360px),
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,250,240,.35) 50%, rgba(255,255,255,0));
}
.s-ceil { background: radial-gradient(circle, #fff 0 8px, rgba(255,238,205,.95) 9px, rgba(255,238,205,0) 30px) 0 0 / 180px 160px, #f8f4ee; }
.s-wall { background: linear-gradient(#fbf8f3, #efe8de); border-top: 10px solid var(--c); }
.s-back {
  background: linear-gradient(#fbf8f3, #ece4d8); border-top: 10px solid var(--c);
  display: flex; flex-direction: column; align-items: center; padding-top: 26px; gap: 6px;
}
.sb-sign { display: flex; align-items: center; gap: 16px; background: #1f2228; color: #fff; padding: 12px 28px; border-radius: 10px; border-bottom: 5px solid var(--c); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 45%, transparent); }
.sb-logo { width: 46px; height: 46px; border-radius: 11px; background: var(--c); display: grid; place-items: center; font-weight: 800; font-size: 26px; }
.sb-name { font-size: 34px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; }
.sb-sub { color: #8a8f98; font-size: 15px; letter-spacing: 3px; text-transform: uppercase; }
.s-front {
  background: linear-gradient(115deg, rgba(220,238,252,.18), rgba(180,210,235,.08) 60%, rgba(220,238,252,.16));
  border: 10px solid #2c3038; display: grid; place-items: center; cursor: pointer;
}
.s-front span { background: #1f2228; color: #fff; padding: 10px 22px; border-radius: 99px; font-weight: 700; font-size: 22px; }
.s-rug { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--c) 22%, #f3e9dc) 0 55%, transparent 56%); opacity: .45; }
.s-counter.bx-f, .s-counter.bx-s { background: linear-gradient(#2a2e36, #1d2026); border-top: 4px solid var(--c); }
.s-counter.bx-t { background: #f5f1ea; }
.s-shelf { background: linear-gradient(#e6dccd, #c9bba6); border-radius: 3px; box-shadow: 0 6px 10px rgba(0,0,0,.12); }
.s-empty, .s-more { display: grid; place-items: center; text-align: center; background: #1f2228; color: #fff; border-radius: 12px; font-size: 24px; font-weight: 600; }
.s-more { font-size: 16px; background: rgba(31,34,40,.85); }
.p3.pcard { pointer-events: auto; cursor: pointer; }
.pc-in {
  position: absolute; inset: 0; background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 14px 30px rgba(60,40,20,.18); border: 3px solid #fff; transition: border-color .4s ease, box-shadow .4s ease;
}
.pcard:hover .pc-in { border-color: var(--c); box-shadow: 0 18px 40px rgba(60,40,20,.28), 0 0 30px color-mix(in srgb, var(--c) 40%, transparent); }
.pc-img { height: 200px; background: #f4f1ec; display: grid; place-items: center; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img span { font-size: 80px; font-weight: 800; color: var(--c); }
.pc-title { padding: 10px 14px 0; font-weight: 700; font-size: 18px; color: #1f2329; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-price { padding: 4px 14px; font-weight: 800; font-size: 20px; color: #ff6a00; }
.pc-new { position: absolute; top: 10px; left: 10px; z-index: 2; background: #e5183c; color: #fff; font-size: 13px; font-weight: 800; padding: 4px 9px; border-radius: 5px; }
.shop-exit {
  position: absolute; top: 14px; left: 14px; z-index: 3; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px;
  padding: 12px 22px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #ff8a3d, #ff6a00 60%, #e0560a);
  box-shadow: 0 8px 24px rgba(255,106,0,.45); transition: transform .3s ease;
}
.shop-exit:hover { transform: translateX(-3px); }
.mall-hud .hud-chip.shop-chip { left: auto; right: 16px; }
.mall-view.lite.shop-view .s-rug, .mall-view.lite.shop-view .s-shelf { display: none; }

/* ---------------- HUD ---------------- */
.mall-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(30,20,10,.22));
}
.mall-hud { position: absolute; inset: 0; pointer-events: none; font-size: 13px; }
.mall-hud > * { pointer-events: auto; }
.hud-chip, .hud-btn, .hud-hint, .hud-down {
  background: rgba(24,27,32,.72); color: #fff; border-radius: 999px; backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); letter-spacing: .2px;
}
.hud-chip { position: absolute; top: 16px; left: 16px; padding: 6px 16px 6px 6px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hud-mark { width: 26px; height: 26px; font-size: 14px; border-radius: 50%; }
.hud-sep { width: 1px; height: 14px; background: rgba(255,255,255,.3); }
.hud-right { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; }
.hud-btn { padding: 8px 16px; cursor: pointer; font-weight: 600; font-size: 13px; }
.hud-btn:hover, .hud-down:hover { background: #ff6a00; border-color: #ff6a00; }
.hud-dir {
  position: absolute; top: 62px; right: 16px; width: 270px; max-height: 62%; overflow-y: auto;
  background: rgba(255,255,255,.97); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.22); padding: 8px;
}
.hud-dir-title { font-weight: 700; padding: 10px 12px 6px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; }
.hud-dir button {
  display: flex; width: 100%; align-items: center; gap: 10px; border: 0; background: none;
  padding: 10px 12px; border-radius: 9px; cursor: pointer; text-align: left; font-weight: 600; font-size: 14px;
}
.hud-dir button:hover { background: var(--brand-soft); }
.hd-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.hd-name { flex: 1; }
.hud-dir .new-badge { animation: none; }
.hud-dir p { margin: 8px 12px; color: var(--muted); }
.hud-bottom { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.hud-hint { padding: 9px 18px; white-space: nowrap; }
.hud-walk {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: #ff6a00; color: #fff; font-size: 14px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,106,0,.45); touch-action: none;
}
.hud-walk:active { transform: scale(.92); }
.hud-down { position: absolute; bottom: 18px; right: 16px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: 13px; }
.mall-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .8s cubic-bezier(.4,0,.2,1); }
.mall-flash.on { opacity: 1; }

/* ======================================================================
   EXTERIOR — evening architectural scene
   ====================================================================== */
.mall-intro { position: absolute; inset: 0; z-index: 5; overflow: hidden; }
.mall-intro .sky {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 18% at 50% 50%, rgba(90,120,190,.35), rgba(90,120,190,0) 70%),
    linear-gradient(#02050d 0%, #060d20 20%, #0c1a38 38%, #1a2c55 47%, #2b3f6b 49.8%, #1a1f1d 50%);
}
.mall-intro .skyline { filter: brightness(.5) saturate(1.2); opacity: .9; }
.mall-intro .skyline.near { filter: brightness(.32); }
/* night sky: twinkling stars, falling stars, moon */
.star { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 4px rgba(255,255,255,.8); animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.shoot {
  position: absolute; width: 170px; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95));
  transform: rotate(-35deg); transform-origin: right center;
  animation: shoot 7s ease-in infinite;
}
.shoot::after { content: ''; position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(200,220,255,.9); }
@keyframes shoot {
  0% { opacity: 0; translate: 0 0; }
  3% { opacity: 1; }
  14% { opacity: 0; translate: -340px 240px; }
  100% { opacity: 0; translate: -340px 240px; }
}
.moon {
  position: absolute; left: 29%; top: 8%; width: 56px; height: 56px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 38%, rgba(160,160,150,.35) 0 9%, transparent 10%),
    radial-gradient(circle at 62% 30%, rgba(160,160,150,.28) 0 6%, transparent 7%),
    radial-gradient(circle at 58% 64%, rgba(160,160,150,.3) 0 12%, transparent 13%),
    radial-gradient(circle at 28% 70%, rgba(160,160,150,.22) 0 5%, transparent 6%),
    radial-gradient(circle at 40% 35%, #fffdf2, #f1ecd6 60%, #d9d2b5);
  box-shadow: 0 0 26px 8px rgba(255,250,220,.35), 0 0 80px 32px rgba(160,190,255,.16);
  animation: moonrise 2.4s ease-out both;
}
@keyframes moonrise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
/* Start button (appears after 3 seconds) */
.intro-start {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: #fff;
  opacity: 0; pointer-events: none; transition: opacity .7s ease, transform .7s ease;
}
.intro-start.ready { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(-6px); }
.intro-start.go { opacity: 0; pointer-events: none; transition-duration: .35s; }
.is-title { font-size: 18px; letter-spacing: 8px; text-transform: uppercase; opacity: .8; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.is-btn {
  border: 0; cursor: pointer; font: inherit; font-size: 30px; font-weight: 800; letter-spacing: 4px; color: #fff;
  padding: 22px 90px; text-transform: uppercase; border-radius: 999px; background: linear-gradient(135deg, #ff8a3d, #ff6a00 55%, #e0560a);
  box-shadow: 0 10px 30px rgba(255,106,0,.45), 0 0 0 0 rgba(255,140,60,.6); animation: start-pulse 2s ease-out infinite;
}
.is-btn:hover { filter: brightness(1.08); }
.is-btn { display: inline-flex; align-items: center; gap: 16px; }
/* the sparkle flashes bright once every 2 seconds, then softly dims */
.is-spark {
  display: inline-block; font-size: .95em; line-height: 1;
  animation: spark-bright 2s ease-in-out infinite; filter: brightness(.9) drop-shadow(0 0 0 rgba(255,240,180,0));
}
@keyframes spark-bright {
  0%, 100% { filter: brightness(.9) drop-shadow(0 0 0 rgba(255,240,180,0)); transform: scale(1) rotate(0deg); }
  12% { filter: brightness(1.9) drop-shadow(0 0 10px rgba(255,248,200,1)) drop-shadow(0 0 22px rgba(255,220,120,.9)); transform: scale(1.25) rotate(12deg); }
  30% { filter: brightness(1.2) drop-shadow(0 0 6px rgba(255,240,180,.6)); transform: scale(1.05) rotate(4deg); }
  55% { filter: brightness(.9) drop-shadow(0 0 0 rgba(255,240,180,0)); transform: scale(1) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .is-spark { animation: none; } }
.is-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes start-pulse { 0% { box-shadow: 0 10px 30px rgba(255,106,0,.45), 0 0 0 0 rgba(255,140,60,.55); } 100% { box-shadow: 0 10px 30px rgba(255,106,0,.45), 0 0 0 22px rgba(255,140,60,0); } }
.is-sub { font-size: 13px; opacity: .7; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) { .star, .shoot, .is-btn, .moon { animation: none; } .shoot { display: none; } }
.cloud {
  position: absolute; display: block; border-radius: 50%; filter: blur(18px); opacity: .28;
  background: linear-gradient(90deg, transparent, #f3c2a2 30%, #c79aae 70%, transparent); animation: drift 80s linear infinite;
}
.cloud.c1 { width: 720px; height: 26px; top: 33%; left: -4%; }
.cloud.c2 { width: 900px; height: 30px; top: 41%; left: 48%; animation-duration: 95s; }
.cloud.c3 { width: 520px; height: 18px; top: 24%; left: 30%; animation-duration: 90s; opacity: .18; }
@keyframes drift { to { transform: translateX(140px); } }

.skyline {
  position: absolute; left: -5%; right: -5%; bottom: 50%; height: 17%; opacity: .7;
  background:
    linear-gradient(90deg, #4a5878 0 22px, transparent 22px) 0 100% / 125px 62% repeat-x,
    linear-gradient(90deg, #44526f 0 34px, transparent 34px) 44px 100% / 170px 84% repeat-x,
    linear-gradient(90deg, #4e5c7b 0 16px, transparent 16px) 20px 100% / 95px 48% repeat-x,
    linear-gradient(90deg, #3f4c69 0 44px, transparent 44px) 76px 100% / 220px 70% repeat-x,
    linear-gradient(90deg, #3b4865 0 26px, transparent 26px) 145px 100% / 190px 100% repeat-x,
    linear-gradient(90deg, #55627f 0 58px, transparent 58px) 10px 100% / 140px 34% repeat-x;
}
.skyline.near {
  height: 11%; opacity: .9; background-position: 60px 100%, 10px 100%, 80px 100%, 0 100%, 30px 100%, 90px 100%;
  filter: brightness(.75);
}
.x-plaza {
  background-color: #a9a297;
  background-image:
    radial-gradient(ellipse 22% 9% at 50% 0%, rgba(255,206,150,.75), rgba(255,206,150,0)),
    radial-gradient(ellipse 34% 20% at 50% 0%, rgba(255,190,120,.3), rgba(255,190,120,0)),
    linear-gradient(90deg, transparent 45.5%, #c4bdb1 45.5%, #c4bdb1 54.5%, transparent 54.5%),
    linear-gradient(90deg, rgba(40,35,30,.16) 2px, transparent 2px),
    linear-gradient(rgba(40,35,30,.16) 2px, transparent 2px),
    linear-gradient(#b6aea2, #8f897f);
  background-size: 100% 100%, 100% 100%, 100% 100%, 50px 50px, 50px 50px, 100% 100%;
}
.x-road {
  background:
    linear-gradient(#d9d4ca 0 10px, transparent 10px calc(100% - 10px), #d9d4ca calc(100% - 10px)),
    linear-gradient(transparent 48.5%, #e8e2c8 48.5%, #e8e2c8 51.5%, transparent 51.5%) 0 0 / 120px 100%,
    linear-gradient(#34373c, #2a2d31);
}
.x-road { background-repeat: no-repeat, repeat-x, no-repeat; }
.x-atrium {
  background-color: #182337;
  background-image:
    linear-gradient(90deg, rgba(12,15,21,.95) 4px, transparent 4px),
    linear-gradient(rgba(12,15,21,.97) 0 18px, rgba(255,204,140,.62) 18px, rgba(255,204,140,.16) 140px, rgba(255,204,140,.05) 460px),
    linear-gradient(112deg, rgba(150,180,225,.32), rgba(150,180,225,0) 38%, rgba(255,255,255,.08) 60%, rgba(255,255,255,0) 74%);
  background-size: 100px 100%, 100% 460px, 100% 100%;
}
.x-sign {
  position: absolute; left: 0; right: 0; top: 300px; display: flex; align-items: center; justify-content: center; gap: 34px;
  color: #fff; font-size: 128px; font-weight: 700; letter-spacing: 2px; white-space: nowrap;
  text-shadow: 0 0 24px rgba(255,255,255,.75), 0 0 70px rgba(255,170,100,.65);
}
.x-mark {
  width: 150px; height: 150px; border-radius: 34px; background: #ff6a00; display: grid; place-items: center; font-size: 96px;
  box-shadow: 0 0 60px rgba(255,120,30,.9); text-shadow: none;
}
.x-crown { background: linear-gradient(#3a3f48, #1f2329); border-bottom: 4px solid #ffd2a0; box-shadow: 0 6px 24px rgba(255,190,120,.6); }
.x-frame { background: #15181d; }
.x-leaf { background: linear-gradient(115deg, rgba(210,232,250,.42), rgba(160,200,235,.16) 60%, rgba(210,232,250,.3)); border: 5px solid #15181d; }
.x-leaf i { position: absolute; top: 40%; width: 7px; height: 110px; border-radius: 4px; background: linear-gradient(90deg, #8f969f, #eef0f3, #8f969f); }
.x-inside {
  background:
    linear-gradient(transparent 0 46%, rgba(255,255,255,.75) 46.3%, rgba(255,255,255,0) 47%),
    radial-gradient(ellipse 22% 16% at 22% 70%, rgba(255,120,40,.55), transparent),
    radial-gradient(ellipse 20% 16% at 78% 68%, rgba(70,140,255,.4), transparent),
    linear-gradient(#f9eddb, #ffdcae 62%, #e8b47e);
}
.x-infloor {
  background:
    linear-gradient(90deg, rgba(110,92,72,.1) 2px, transparent 2px) 0 0 / 200px 200px,
    linear-gradient(rgba(110,92,72,.1) 2px, transparent 2px) 0 0 / 200px 200px,
    linear-gradient(#f3e6d2, #ead8bd);
}
.x-inwall { background: linear-gradient(#fbf0df, #f2d9b5); }
.x-inceil { background: radial-gradient(circle, #fff 0 8px, rgba(255,238,205,.9) 9px, transparent 26px) 0 0 / 160px 125px, #f7eee2; }
.x-wing {
  background-color: #cdbfaa;
  background-image:
    radial-gradient(ellipse 90px 420px at 50% 100%, rgba(255,214,160,.55), rgba(255,214,160,0)),
    linear-gradient(90deg, rgba(0,0,0,.08) 2px, transparent 2px),
    linear-gradient(rgba(0,0,0,.08) 2px, transparent 2px),
    linear-gradient(#b5a892, #d2c5b1 55%, #c0b29c);
  background-size: 260px 100%, 260px 100%, 100% 125px, 100% 100%;
}
.x-wing-side { filter: brightness(.82); }
.xw-cornice { position: absolute; left: 0; right: 0; top: 0; height: 48px; background: linear-gradient(#3a3f48, #23272e); border-bottom: 4px solid #ffcf98; box-shadow: 0 6px 22px rgba(255,190,120,.55); }
.xw-fins {
  position: absolute; left: 70px; right: 70px; top: 110px; height: 340px;
  background:
    repeating-linear-gradient(90deg, #d8cbb7 0 16px, transparent 16px 64px),
    linear-gradient(rgba(255,200,140,.45), rgba(255,200,140,.12)),
    #1c2433;
}
.xw-screen {
  position: absolute; left: 50%; top: 135px; width: 640px; height: 290px; transform: translateX(-50%);
  background: #08090c; border: 10px solid #15171c; display: flex; overflow: hidden;
  box-shadow: 0 0 70px rgba(255,150,80,.45);
}
.xs-media { width: 46%; background: #fff; display: grid; place-items: center; }
.xs-media img { width: 100%; height: 100%; object-fit: cover; }
.xs-media span, .xs-mark { width: 120px; height: 120px; font-size: 70px; }
.xs-mark { width: 84px; height: 84px; font-size: 48px; margin-bottom: 6px; }
.xs-media span { display: grid; place-items: center; background: #ff6a00; color: #fff; font-weight: 800; border-radius: 26px; }
.xs-copy { flex: 1; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px; }
.xs-copy small { color: #ffb27a; font-weight: 700; letter-spacing: 6px; font-size: 18px; }
.xs-copy b { font-size: 40px; line-height: 1.1; font-weight: 600; }
.xs-copy em { font-style: normal; opacity: .6; font-size: 20px; letter-spacing: 1px; }
.xw-ads { display: block; }
.xs-slide { position: absolute; inset: 0; display: flex; opacity: 0; transition: opacity .9s ease; }
.xs-slide.on { opacity: 1; }
.xw-screen-brand { background: linear-gradient(135deg, #ff6a00, #c2410c); }
.xw-shop {
  position: absolute; left: 70px; right: 70px; bottom: 0; height: 400px; border: 8px solid #1d2026; border-bottom: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 156px, #1d2026 156px 164px),
    linear-gradient(112deg, rgba(255,255,255,.22), rgba(255,255,255,0) 34%),
    linear-gradient(#fbe6c6, #f1c58c);
}
.xw-shop-band { position: absolute; left: 0; right: 0; top: 0; height: 56px; background: #23262d; border-bottom: 3px solid #ff6a00; }
.x-canopy {
  background-color: #e9e5df;
  background-image: radial-gradient(circle, #fff 0 9px, rgba(255,232,190,.9) 10px, rgba(255,232,190,0) 30px);
  background-size: 130px 100px;
}
.x-fascia {
  background: linear-gradient(#f5f5f4, #d6d8da); border-bottom: 4px solid #ff8a3d; box-shadow: 0 8px 30px rgba(255,170,100,.6);
  display: grid; place-items: center;
}
.x-fascia span { font-size: 20px; font-weight: 700; letter-spacing: 14px; color: #2a2d33; }
.x-col { background: linear-gradient(90deg, #3b4048, #b7bdc6 38%, #e6e9ed 48%, #7e858f 75%, #353a41); }
.x-planter.bx-f, .x-planter.bx-s { background: linear-gradient(#bdb3a4, #8d8478); }
.x-lamp { background: linear-gradient(90deg, #22252a, #5a606a, #22252a); }
.x-lamp i {
  position: absolute; left: 50%; top: 0; width: 70px; height: 12px; transform: translateX(-50%); border-radius: 6px; background: #2a2e35;
  box-shadow: 0 6px 30px 10px rgba(255,214,150,.55);
}
.x-lamp i::after {
  content: ''; position: absolute; left: 50%; top: 10px; width: 220px; height: 220px; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0, rgba(255,220,160,.55), rgba(255,220,160,0) 70%);
}
/* reception desk */
.desk-top { background: linear-gradient(90deg, #f7f4ef, #ffffff 40%, #ece6dc); box-shadow: inset 0 0 0 3px #d8cfc1; }
.desk-side { background: linear-gradient(#3a3f48, #23272e); }
.desk-front {
  background: linear-gradient(#2c3038, #1d2026); border-top: 4px solid #ff6a00;
  display: flex; align-items: center; justify-content: center; gap: 16px; color: #fff;
  box-shadow: inset 0 -10px 24px rgba(255,140,60,.18);
}
.dk-mark { width: 40px; height: 40px; border-radius: 10px; background: #ff6a00; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.dk-t { font-size: 20px; font-weight: 300; letter-spacing: 5px; }
.dk-k { font-size: 26px; font-weight: 600; opacity: .9; }
.desk-side { box-shadow: inset 0 4px 0 #ff6a00; }
.desk-glow { background: radial-gradient(ellipse at 50% 30%, rgba(255,150,70,.22), rgba(255,150,70,0) 70%); }

/* car park under the moon */
.x-park {
  background:
    linear-gradient(90deg, transparent 0 3px, transparent 3px) 0 0 / 100% 100%,
    repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 6px, transparent 6px 500px) 0 0 / 100% 72% no-repeat,
    linear-gradient(rgba(255,255,255,.85) 0 6px, transparent 6px calc(100% - 6px), rgba(255,255,255,.85) calc(100% - 6px)) 0 0 / 100% 72% no-repeat,
    linear-gradient(#2c3036, #23262b);
  border-radius: 6px;
}
.x-carshadow { background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.6), rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 72%); }
.x-car svg { display: block; filter: drop-shadow(0 0 18px rgba(255,120,90,.18)); }
.x-car-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 16px rgba(255,120,90,.15)); }
/* young driver seen through the tinted front window (drawn on top of the glass, kept faint) */
.x-driver {
  position: absolute; left: 43.5%; top: 9.5%; width: 5.6%; height: 19%; z-index: 2; opacity: .6; pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, #c99272 0 26%, transparent 27%),
    radial-gradient(ellipse 60% 34% at 50% 14%, #1b1410 0 58%, transparent 60%),
    radial-gradient(ellipse 62% 42% at 50% 100%, #2b3442 0 64%, transparent 66%);
}
.x-driver b { position: absolute; left: -95%; top: 58%; width: 70%; height: 30%; border: 2px solid rgba(0,0,0,.7); border-radius: 50%; }
.x-psign { background: linear-gradient(90deg, #4b5058, #8a9099, #4b5058) 50% 100% / 8px 72% no-repeat; }
.x-psign b {
  position: absolute; left: 0; right: 0; top: 0; height: 70px; border-radius: 10px; background: #1d4ed8; color: #fff;
  display: grid; place-items: center; font-size: 46px; font-weight: 800; border: 4px solid #fff; box-shadow: 0 0 20px rgba(80,140,255,.5);
}

/* greeters inside the entrance */
.g-figure img {
  width: 100%; height: 100%; display: block; transform-origin: 50% 92%;
  filter: saturate(1.04) drop-shadow(0 0 1px rgba(60,40,20,.25));
  animation: greet-sway 3.6s ease-in-out infinite;
}
/* welcome bubbles pop up when the visitor arrives at reception */
.x-bubble.g-bubble .xb { animation: none; opacity: 0; }
.mall-view.greeting .x-bubble.g-bubble .xb { animation: bubble-in .55s .1s cubic-bezier(.2,1.5,.4,1) forwards; }
.mall-view.greeting .x-bubble.g-bubble.tail-right .xb { animation-delay: .45s; }
.g-cast { opacity: .42; overflow: visible; }
.g-cast img {
  width: 100%; height: 100%; display: block;
  filter: brightness(0) blur(4px);
  -webkit-mask-image: linear-gradient(to top, #000 8%, rgba(0,0,0,.55) 40%, rgba(0,0,0,0) 92%);
  mask-image: linear-gradient(to top, #000 8%, rgba(0,0,0,.55) 40%, rgba(0,0,0,0) 92%);
}
.g-ambient { background: radial-gradient(ellipse at 50% 50%, rgba(50,35,20,.30), rgba(50,35,20,.12) 45%, rgba(50,35,20,0) 70%); }
.g-contact { background: radial-gradient(ellipse at 50% 50%, rgba(20,12,5,.62), rgba(20,12,5,.25) 45%, rgba(20,12,5,0) 72%); }
.x-greeter img {
  width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 100%;
  filter: saturate(1.05) brightness(.97) drop-shadow(0 0 10px rgba(255,200,140,.25));
  animation: greet-sway 3.6s ease-in-out infinite;
}
@keyframes greet-sway {
  0%, 100% { transform: rotate(-.6deg) scaleY(1); }
  50% { transform: rotate(.6deg) scaleY(1.006); }
}
.x-gshadow { background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.45), rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%); }
.x-bubble .xb {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 16px;
  background: #fff; color: #1f2329; font-size: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  opacity: 0; animation: bubble-in .5s 1.4s cubic-bezier(.2,1.4,.4,1) forwards;
}
.x-bubble .xb::after {
  content: ''; position: absolute; left: 30px; bottom: -12px; border: 12px solid transparent; border-bottom: 0; border-top-color: #fff;
}
.x-bubble.tail-right .xb::after { left: auto; right: 30px; }
.x-bubble.tail-right .xb { animation-delay: 1.8s; }
.x-bubble b { color: #ff6a00; }
.x-bubble span { font-family: "Segoe UI", Tahoma, sans-serif; font-weight: 600; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.8); } to { opacity: 1; transform: none; } }
.intro-white { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.intro-skip {
  position: absolute; bottom: 18px; right: 16px; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  background: rgba(24,27,32,.7); color: #fff; font-weight: 600; font-size: 13px; backdrop-filter: blur(8px);
}
.intro-skip:hover { background: #ff6a00; }

@media (max-width: 820px) {
  .mall-view { height: 72vh; }
  .hud-hint { display: none; }
  .hud-chip { font-size: 12px; }
  .hud-chip .hud-sep, .hud-right .hud-btn[data-act="replay"] { display: none; }
}
