/* «За красотой!» — пастель: пудрово-розовый, молочный, слоновая кость, лёгкое шампань-золото. Стекло поверх фото салона. */
:root {
  --powder: #f3dcdc; --milk: #faf6f2; --ivory: #f4ede6; --sand: #e9dfd5; --gold: #c9a77c; --rose: #c98f93;
  --ink: #4a3b38; --muted: #8f7f7a; --line: rgba(120, 90, 85, .14);
  --glass: rgba(252, 248, 245, .78); --glass-strong: rgba(252, 248, 245, .9);
  --head: 'Cormorant Garamond', Georgia, serif; --body: 'Manrope', system-ui, sans-serif;
  --proj-w: clamp(300px, 25vw, 440px); --chat-w: clamp(280px, 21vw, 380px); --bar-h: 88px; --gap: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--body); color: var(--ink); background: #ece4dc; overflow: hidden; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; }

.world { position: fixed; inset: 0; overflow: hidden; background: linear-gradient(180deg, #efe3df 0%, #ece4de 55%, #e7e0d9 100%); --px: 0; --py: 0; }

/* ── Сцена ── */
.scene-wrap { position: absolute; inset: 0; overflow: hidden; }
.scene { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.scene-base { width: 100%; height: 100%; user-select: none; }
#roomsLayer { position: absolute; inset: 0; }
.room { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); border: 0; padding: 0; background: none; border-radius: 999px 999px 4px 4px / 24% 24% 4px 4px; outline: none; }
.room-light { position: absolute; inset: 0; border-radius: inherit; background-image: url(../assets/scene/lobby-on.webp); background-repeat: no-repeat; background-size: var(--bw) auto; background-position: var(--bx) var(--by);
  opacity: 0; transition: opacity .45s ease; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.room.on .room-light { opacity: 1; }
.room::after { content: ""; position: absolute; left: 6%; right: 6%; top: 2%; height: 64%; border-radius: inherit; box-shadow: 0 0 60px 14px rgba(255, 228, 190, 0); transition: box-shadow .45s; pointer-events: none; }
.room.on::after { box-shadow: 0 0 70px 18px rgba(255, 228, 190, .35); }
.room-tag { position: absolute; left: 50%; top: -14px; transform: translate(-50%, -100%) translateY(6px); white-space: nowrap; padding: .42rem .95rem; border-radius: 999px; background: var(--glass-strong);
  font-family: var(--head); font-size: clamp(1rem, 1.25vw, 1.35rem); font-weight: 600; color: var(--ink); box-shadow: 0 6px 18px rgba(90, 60, 55, .14); opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.room.on .room-tag, .room:focus-visible .room-tag { opacity: 1; transform: translate(-50%, -100%); }
.room:focus-visible { box-shadow: 0 0 0 3px rgba(201, 143, 147, .7); }

/* ── В гримёрке ── */
.in-room .room-tag { opacity: 0 !important; pointer-events: none; }
.room-hd { position: absolute; opacity: 0; transition: opacity .6s ease; pointer-events: none; user-select: none; }
.room-hd.on { opacity: 1; }
.in-room .room:not(.on) { pointer-events: none; }
.back-lobby { position: absolute; z-index: 6; top: 18px; left: calc(var(--gap) * 3 + var(--proj-w) + var(--chat-w) + 6px); padding: .6rem 1.1rem; border: 0; border-radius: 999px; background: var(--glass-strong);
  font-weight: 700; box-shadow: 0 8px 22px rgba(90, 60, 55, .16); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .4s .3s, transform .4s .3s; }
.in-room .back-lobby { opacity: 1; transform: none; pointer-events: auto; }
.shelves { position: absolute; z-index: 5; right: 24px; top: 70px; bottom: calc(var(--bar-h) + var(--gap) * 2 + 8px); width: min(300px, 22vw); display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; overflow-y: auto; padding: 4px; }
.shelves[hidden] { display: none; }
.shelf { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 12px 14px; border: 0; border-radius: 18px; text-align: left;
  background: rgba(252, 248, 245, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 26px rgba(90, 60, 55, .14), inset 0 0 0 1px rgba(255, 255, 255, .7);
  animation: shelfIn .5s calc(.35s + var(--i) * .08s) both; transition: transform .2s, box-shadow .2s; }
.shelf:hover { transform: translateX(-4px); box-shadow: 0 14px 30px rgba(90, 60, 55, .2), inset 0 0 0 1px rgba(255, 255, 255, .8); }
.shelf.on { box-shadow: 0 0 0 2px var(--rose), 0 14px 30px rgba(90, 60, 55, .2); }
.shelf-label { font-family: var(--head); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.shelf-goods { display: flex; gap: 6px; align-items: flex-end; position: relative; z-index: 1; }
.shelf-goods img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 12px; padding: 3px; box-shadow: 0 2px 6px rgba(90, 60, 55, .1); }
.shelf-board { position: absolute; left: 10px; right: 10px; bottom: 9px; height: 5px; border-radius: 3px; background: linear-gradient(180deg, #e7d2bf, #cfb08f); box-shadow: 0 3px 6px rgba(90, 60, 55, .18); }

/* витрина в проекторе */
.proj-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 2px 2px 8px; }
.proj-head b { font-family: var(--head); font-size: 1.25rem; } .proj-head small { color: var(--muted); }
.linkbtn { margin-left: auto; border: 0; background: none; color: var(--rose); font-weight: 700; font-size: .85rem; padding: 0; }
.proj-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px 4px 8px 2px; scroll-behavior: smooth; }
.pitem.row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 14px; background: rgba(255, 255, 255, .7); cursor: pointer; transition: background .2s, transform .2s; }
.pitem.row:hover { background: #fff; transform: translateX(3px); }
.pitem.row img { width: 48px; height: 48px; object-fit: contain; flex: none; background: #fff; border-radius: 10px; }
.pitem.row.rec { box-shadow: inset 0 0 0 2px rgba(201, 143, 147, .55); }
.row-name { flex: 1; font-size: .9rem; font-weight: 600; line-height: 1.25; }
.heart { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--milk); color: var(--rose); font-size: 1.1rem; }
.heart.on { background: var(--powder); }
.pitem.focus { flex: none; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 2px rgba(201, 143, 147, .5), 0 12px 30px rgba(90, 60, 55, .14); animation: focusIn .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.pitem.focus .proj-text { max-height: 34vh; flex: none; }
.proj-single { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.proj-single .proj-text { flex: 1; }
.proj-stage.big { height: clamp(200px, 32vh, 340px); }
.rec-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: .25rem .6rem; border-radius: 999px; background: var(--rose); color: #fff; font-size: .75rem; font-weight: 700; }

/* раскрытая карточка и описание от Mary Kay */
.proj-title { padding: 12px 4px 4px; } .proj-title h2 { font-family: var(--head); font-size: clamp(1.35rem, 1.6vw, 1.75rem); font-weight: 600; line-height: 1.15; margin: 0 0 4px; }
.not-this { display: block; margin: 8px auto 0; color: var(--muted); font-weight: 600; }
.proj-single { justify-content: flex-start; }
.proj-read { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; padding: 18px; background: #fbf8f5; border-radius: inherit; animation: readIn .35s ease both; }
.read-head { display: flex; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.read-head img { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 14px; flex: none; }
.read-head small { color: var(--rose); font-weight: 700; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
.read-head h3 { font-family: var(--head); font-size: 1.35rem; margin: 2px 0; line-height: 1.15; }
.read-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 2px; }

/* средства на столиках */
.shelf-layer { position: absolute; inset: 0; pointer-events: none; }
.shelf-item { position: absolute; padding: 0; border: 0; background: none; pointer-events: auto; transform-origin: 50% 100%; transition: transform .25s ease, filter .25s; }
.shelf-item img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 2px 1.5px rgba(80, 50, 45, .35)) drop-shadow(0 0 0.5px rgba(80, 50, 45, .25)); }
.shelf-item::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -1.5%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(80, 50, 45, .28), transparent); z-index: -1; }
.shelf-item:hover, .shelf-item:focus-visible { transform: translateY(-4%) scale(1.12); filter: brightness(1.05); }

/* рамка «новинка дня» */
.novelty { position: absolute; border: 0; padding: 0; background: none; overflow: visible; }
.novelty img { position: absolute; left: 0; top: 0; transform-origin: 0 0; object-fit: contain; background: #fbf8f5; }
.novelty::after { content: "новинка дня"; position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); white-space: nowrap; padding: .25rem .6rem; border-radius: 999px; background: var(--glass-strong); font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--rose); box-shadow: 0 4px 12px rgba(90, 60, 55, .12); }
.novelty:hover img { filter: brightness(1.05); }

/* ── Ольга ── */
.host { position: absolute; z-index: 4; border: 0; padding: 0; background: none; transform: translate3d(calc(var(--px) * -22px), calc(var(--py) * -10px), 0); }
.host-oval { position: absolute; inset: 0 0 34px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(252, 248, 245, .85), 0 0 0 7px rgba(201, 167, 124, .55), 0 24px 50px rgba(90, 60, 55, .28); animation: sway 7s ease-in-out infinite; transform-origin: 50% 100%; }
.host-oval img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; animation: breathe 5.5s ease-in-out infinite; transform-origin: 50% 70%; }
.host-name { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; padding: .38rem 1rem; border-radius: 999px; background: var(--glass-strong); font-weight: 700; font-size: .95rem; box-shadow: 0 6px 16px rgba(90, 60, 55, .14); }
.host-name small { font-weight: 500; color: var(--muted); margin-left: .3rem; }
.host:hover .host-oval { box-shadow: 0 0 0 6px rgba(252, 248, 245, .95), 0 0 0 8px rgba(201, 143, 147, .7), 0 26px 56px rgba(90, 60, 55, .32); }
.host.wave .host-oval { animation: wave .9s ease-in-out, sway 7s ease-in-out .9s infinite; }

/* ── Панели (стекло) ── */
.projector, .chat { position: absolute; z-index: 4; top: var(--gap); bottom: calc(var(--bar-h) + var(--gap) * 2); background: var(--glass); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-radius: 26px; box-shadow: 0 24px 60px rgba(90, 60, 55, .16), inset 0 0 0 1px rgba(255, 255, 255, .7); transform: translate3d(calc(var(--px) * -3px), calc(var(--py) * -2px), 0); }
.projector { left: var(--gap); width: var(--proj-w); display: flex; flex-direction: column; overflow: hidden; }
.chat { left: calc(var(--gap) * 2 + var(--proj-w)); width: var(--chat-w); display: flex; flex-direction: column; overflow: hidden; }

.brand { padding: 18px 22px 10px; display: flex; flex-direction: column; }
.proj-close { display: none; position: absolute; right: 12px; top: 10px; z-index: 2; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; background: #fff; font-size: 1.4rem; box-shadow: 0 2px 8px rgba(90,60,55,.15); }
.projector { position: absolute; }
.brand-logo { width: min(210px, 70%); height: auto; }
.brand-sub { font-size: .74rem; color: var(--muted); margin-top: 4px; }

.proj-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 4px 18px 16px; }
.proj-empty { color: var(--muted); font-size: 1.05rem; line-height: 1.5; margin: auto 0; text-align: center; }
.proj-stage { position: relative; flex: none; height: clamp(180px, 34vh, 360px); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; animation: projIn .5s ease both; }
.proj-img { max-width: 92%; max-height: 92%; object-fit: contain; }
.proj-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.proj-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(120, 90, 85, .25); }
.proj-dots button.on { background: var(--rose); }
.proj-text { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 4px 6px; animation: projIn .5s .05s ease both; }
.proj-text h2 { font-family: var(--head); font-size: clamp(1.35rem, 1.6vw, 1.75rem); font-weight: 600; line-height: 1.15; margin: 0 0 6px; }
.proj-meta { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.proj-desc { margin: 0; font-size: .98rem; line-height: 1.55; white-space: pre-line; }
.proj-link { display: inline-block; margin-top: 10px; color: var(--rose); font-weight: 700; font-size: .92rem; }
.proj-actions { display: flex; gap: 10px; padding-top: 10px; }
.proj-thumbs { display: flex; gap: 8px; padding-top: 12px; overflow-x: auto; }
.thumb { flex: none; width: 58px; height: 58px; padding: 4px; border: 2px solid transparent; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(90, 60, 55, .08); }
.thumb.on { border-color: var(--rose); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }

.btn { flex: 1; border: 1px solid var(--line); background: #fff; padding: .8rem .7rem; border-radius: 16px; font-weight: 700; font-size: clamp(.86rem, .9vw, .98rem); white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(90, 60, 55, .12); }
.btn.primary { background: linear-gradient(180deg, #d9a3a6, #c98f93); color: #fff; border-color: transparent; }
.btn:disabled { opacity: .7; transform: none; box-shadow: none; }
.btn.wide { flex-basis: 100%; }

/* чат */
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(201, 167, 124, .5); flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.who { display: flex; flex-direction: column; } .who b { font-size: 1.08rem; } .who small { color: var(--muted); font-size: .82rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 94%; animation: rise .35s both; }
.msg p { margin: 0; padding: .8rem 1rem; border-radius: 18px; font-size: 1.08rem; line-height: 1.45; }
.msg.bot p { background: #fff; border-top-left-radius: 6px; box-shadow: 0 2px 8px rgba(90, 60, 55, .06); }
.msg.me { align-self: flex-end; } .msg.me p { background: #7d5f5c; color: #fffaf6; border-top-right-radius: 6px; }
.msg.hint { align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--rose); padding-left: 6px; }
.msg.typing { display: flex; gap: 5px; padding: .9rem 1rem; background: #fff; border-radius: 18px; width: max-content; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: dot 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; }
.chip { border: 1px solid var(--line); background: var(--milk); padding: .5rem .85rem; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.chip:hover { background: var(--powder); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: .8rem 1.1rem; font: inherit; font-size: 1.02rem; background: #fff; color: var(--ink); }
.chat-input button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: linear-gradient(180deg, #d9a3a6, #c98f93); color: #fff; font-size: 1.05rem; flex: none; }

/* ── Нижняя панель ── */
.bottombar { position: absolute; z-index: 5; left: var(--gap); right: var(--gap); bottom: var(--gap); height: var(--bar-h); display: flex; align-items: center; gap: 14px; padding: 10px 14px;
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 22px; box-shadow: 0 14px 40px rgba(90, 60, 55, .14), inset 0 0 0 1px rgba(255, 255, 255, .7); }
.favs { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; max-width: calc(var(--proj-w) + var(--chat-w) + var(--gap) - 14px); padding-right: 14px; border-right: 1px solid var(--line); height: 100%; }
.bar-title { font-family: var(--head); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.fav-items { display: flex; gap: 8px; overflow-x: auto; min-width: 0; max-width: calc(5 * 64px + 4 * 8px); scrollbar-width: thin; }
.fav { flex: none; width: 60px; height: 60px; padding: 5px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 3px 10px rgba(90, 60, 55, .1); transition: transform .2s; }
.fav:hover { transform: translateY(-3px) scale(1.06); }
.fav img { width: 100%; height: 100%; object-fit: contain; }
.fav.pop { animation: pop .6s; }
.fav-empty { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.cart-btn { flex: none; border: 0; border-radius: 16px; padding: .8rem 1.1rem; background: linear-gradient(180deg, #d9a3a6, #c98f93); color: #fff; font-weight: 700; white-space: nowrap; }
.topics { flex: 1; display: flex; gap: 8px; overflow-x: auto; min-width: 0; scrollbar-width: thin; }
.topic { flex: none; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--milk); padding: .7rem 1rem; border-radius: 16px; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: background .2s, transform .2s; }
.topic:hover { background: var(--powder); transform: translateY(-2px); }
.topic-ico { color: var(--rose); font-size: 1.05rem; }

.ai-note { position: absolute; z-index: 2; right: 18px; top: 10px; margin: 0; max-width: 40ch; text-align: right; font-size: .7rem; color: rgba(90, 70, 65, .7); }

/* ── Окно корзины ── */
.modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(74, 59, 56, .32); backdrop-filter: blur(4px); padding: 16px; }
.modal[hidden] { display: none; }
.sheet { width: min(540px, 100%); max-height: 90vh; overflow: auto; background: var(--milk); border-radius: 24px; padding: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .22); animation: rise .3s both; }
.sheet h3 { font-family: var(--head); font-size: 1.9rem; margin: 0 0 12px; }
.sheet-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-row { display: flex; align-items: center; gap: 10px; padding: 8px; background: #fff; border-radius: 16px; }
.cart-row img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.cart-name { flex: 1; font-weight: 600; font-size: .95rem; }
.qty { display: flex; align-items: center; gap: 8px; } .qty button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--milk); }
.remove { width: 34px; height: 34px; border: 0; background: none; font-size: 1.4rem; color: var(--muted); }
.cart-msg { font-size: .98rem; line-height: 1.45; }

@keyframes shelfIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes focusIn { from { opacity: .3; transform: scale(.6); } }
@keyframes readIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes projIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
@keyframes pop { 0% { transform: scale(.2); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes sway { 0%, 100% { transform: rotate(-0.8deg); } 50% { transform: rotate(0.8deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.018); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg) translateY(-6px); } 60% { transform: rotate(2.5deg) translateY(-3px); } }

/* ── Телефон: сцена сверху, проектор и чат ниже, нижняя панель как на компьютере ── */
@media (max-width: 820px) {
  :root { --bar-h: 116px; --gap: 8px; }
  .brand { display: none; }
  .projector { top: auto; left: var(--gap); right: var(--gap); width: auto; bottom: calc(var(--bar-h) + var(--gap) * 2); height: min(70vh, 600px); z-index: 6;
    transform: translateY(calc(100% + var(--bar-h) + 40px)); visibility: hidden; pointer-events: none; transition: transform .4s cubic-bezier(.3,1.2,.5,1), visibility 0s .4s; background: var(--glass-strong); }
  .projector.open { transform: none; visibility: visible; pointer-events: auto; transition: transform .4s cubic-bezier(.3,1.2,.5,1); }
  .proj-close { display: grid; }
  .proj-stage { height: 30vh; }
  .chat { top: auto; left: var(--gap); right: var(--gap); width: auto; height: 40vh; transform: none; }
  .msg p { font-size: 1rem; }
  .chat-head { padding: 10px 14px; } .avatar { width: 38px; height: 38px; }
  .bottombar { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 8px 10px; }
  .favs { border-right: 0; padding-right: 0; height: auto; max-width: none; }
  .fav { width: 46px; height: 46px; } .bar-title { font-size: 1rem; } .fav-empty { font-size: .8rem; }
  .cart-btn { padding: .55rem .8rem; font-size: .85rem; }
  .topics { flex: none; }
  .topic { padding: .45rem .75rem; font-size: .85rem; border-radius: 12px; }
  .chat-quick { flex-wrap: nowrap; overflow-x: auto; } .chip { flex: none; }
  .ai-note { display: none; }
  .host-name { font-size: .8rem; padding: .25rem .7rem; } .host-name small { display: none; }
  .room-tag { font-size: .8rem; padding: .25rem .55rem; }
  .shelves { left: 8px; right: 8px; top: 8px; bottom: auto; width: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .shelf { flex: none; padding: 6px 10px 10px; } .shelf-label { font-size: 1rem; } .shelf-goods img { width: 34px; height: 34px; }
  .back-lobby { left: auto; right: 10px; top: auto; bottom: calc(var(--bar-h) + 40vh + 24px); }
  .novelty::after { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .scene, .host, .projector, .chat { transform: none !important; } }
