/* 3D museum HUD, overlays and information popup */

:root { --timber: #2b160c; --gold: #c9a24b; --gold-2: #e8cf8e; --cream: #f6efe3; --paper: #fffaf2; --ink: #2b2420; --emerald: #1f5c4a; --wa: #1f8a5b; --serif: var(--font-heading); --sans: var(--font-body); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #1a0f08; color: var(--cream); font: 15px/1.5 var(--sans); -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
#stage { position: fixed; inset: 0; }
#stage canvas { display: block; }

/* ---------- HUD */
.hud { position: fixed; z-index: 10; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-top { top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: max(12px, env(safe-area-inset-top)) 16px 0; }
.hud-brand { background: rgba(26,15,8,.72); backdrop-filter: blur(6px); border: 1px solid rgba(201,162,75,.35); border-radius: 10px; padding: 8px 14px; display: flex; flex-direction: column; max-width: 60vw; }
.hud-brand b { font-family: var(--serif); color: var(--color-gold); font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-brand span { font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-actions { display: flex; gap: 8px; }
.hud-btn { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(201,162,75,.45); background: rgba(26,15,8,.72); backdrop-filter: blur(6px); color: var(--gold-2); font-weight: 600; font-size: 14px; }
.hud-btn:hover { background: rgba(60,35,18,.85); }
.hud-btn.vr { background: var(--emerald); border-color: #3c8c72; color: #fff; }
.hud-stops { bottom: max(14px, env(safe-area-inset-bottom)); left: 0; right: 0; display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
.hud-stops > :first-child { margin-left: auto; } .hud-stops > :last-child { margin-right: auto; } /* centred when it fits, scrollable when it does not (8 galleries) */
@media (min-width: 900px) { .hud-stops { flex-wrap: wrap; row-gap: 8px; overflow: visible; padding: 0 120px; justify-content: center; } .hud-stops > :first-child, .hud-stops > :last-child { margin-left: 0; margin-right: 0; } }
.hud-stops::-webkit-scrollbar { display: none; }
.hud-stops .chip { flex: none; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(201,162,75,.45); background: rgba(26,15,8,.75); backdrop-filter: blur(6px); color: var(--cream); font-size: 13px; font-weight: 600; white-space: nowrap; }
.hud-stops .chip:hover { border-color: var(--gold-2); color: var(--gold-2); }
.hud-stops .chip.exit { color: var(--gold-2); }
.hud-stops .chip.go { background: rgba(31,92,74,.85); border-color: #3c8c72; }
@media (max-width: 640px) { .hud-stops { justify-content: flex-start; } .hud-brand { min-width: 0; flex: 1 1 auto; } .hud-brand b { font-size: 13px; } .hud-actions { gap: 6px; flex-shrink: 0; } .hud-btn { min-width: 36px; height: 36px; padding: 0 9px; font-size: 13px; } }
@media (max-width: 400px) { .hud-actions { flex-wrap: wrap; justify-content: flex-end; max-width: 128px; } }

.toast { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -10px); background: rgba(26,15,8,.9); border: 1px solid rgba(201,162,75,.5); color: var(--gold-2); padding: 10px 18px; border-radius: 99px; font-size: 14px; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; z-index: 30; max-width: calc(100vw - 32px); text-align: center; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- overlays */
.overlay { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(ellipse at center, rgba(43,22,12,.55), rgba(18,10,5,.88)); }
.loader { background: #1a0f08; transition: opacity .4s; }
.loader.out { opacity: 0; pointer-events: none; }
.intro-card, .loader-card { text-align: center; max-width: 560px; }
.intro-card { background: rgba(26,15,8,.82); border: 1px solid rgba(201,162,75,.4); border-radius: 16px; padding: 36px 32px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.5); position: relative; }
.intro-card::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(201,162,75,.18); border-radius: 12px; pointer-events: none; }
.intro-card h1 { font-family: var(--serif); color: var(--color-gold); font-weight: 700; font-size: clamp(24px, 4vw, 34px); margin: 12px 0 10px; }
.intro-card p { opacity: .85; margin: 0 0 22px; }
.intro-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-gold { background: linear-gradient(180deg, #d9b866, #b8913a); color: #2b160c; border: 0; border-radius: 10px; padding: 12px 26px; font-weight: 600; font-size: 15px; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--emerald); color: #fff; border: 1px solid #3c8c72; border-radius: 10px; padding: 12px 22px; font-weight: 600; }
.intro-hint { font-size: 13px; opacity: .65 !important; margin: 20px 0 0 !important; }
.intro-orn { width: 56px; height: 56px; margin: 0 auto; background: url('shared/favicon.svg') center/contain no-repeat; }
.intro-orn.spin { animation: spin 3s linear infinite; }
.intro-logo { display: block; width: min(240px, 46vw); height: auto; margin: -6px auto 4px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.intro-card h1 { font-size: clamp(20px, 3.2vw, 26px); }
.loader-logo { display: block; width: min(200px, 44vw); height: auto; margin: 0 auto 10px; animation: logo-breathe 2.4s ease-in-out infinite; }
@keyframes logo-breathe { 0%, 100% { opacity: .82; transform: scale(.985); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .loader-logo { animation: none; } }
.bar { height: 4px; width: 220px; margin: 14px auto 0; background: rgba(201,162,75,.2); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 8%; background: var(--gold); transition: width .3s; }
#loader-msg { color: var(--gold-2); font-family: var(--serif); font-size: 17px; margin: 16px 0 0; }
#loader-error { margin-top: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- information popup */
.pop-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(15,8,4,.45); display: flex; justify-content: flex-end; opacity: 0; transition: opacity .18s; }
.pop-wrap.in { opacity: 1; }
.pop { position: relative; width: min(980px, 100%); height: 100%; background: var(--paper); color: var(--ink); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); box-shadow: -20px 0 60px rgba(0,0,0,.35); transform: translateX(30px); transition: transform .2s; }
.pop-wrap.in .pop { transform: none; }
.pop-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(43,22,12,.82); color: #fff; font-size: 24px; line-height: 1; }
.pop-media { background: #24150b; display: flex; flex-direction: column; min-height: 0; }
.pop-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; }
.pop-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .2s; user-select: none; }
.pop-stage img.loading { opacity: .35; }
.pop-stage.is-empty { background: #24150b url('shared/favicon.svg') center/96px no-repeat; opacity: .9; }
@media (max-width: 760px) { .pop:has(.is-empty) { grid-template-rows: 22vh minmax(0, 1fr); } }
.pop-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(232,207,142,.4); background: rgba(26,15,8,.6); color: var(--gold-2); font-size: 26px; line-height: 1; }
.pop-nav.prev { left: 12px; } .pop-nav.next { right: 12px; }
.pop-count { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(26,15,8,.7); color: var(--gold-2); font-size: 12px; padding: 2px 10px; border-radius: 99px; }
.pop-thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; background: #1d1009; }
.pop-thumb { flex: none; width: 62px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; opacity: .6; }
.pop-thumb.active { border-color: var(--gold); opacity: 1; }
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pop-body { padding: 32px 30px 28px; overflow-y: auto; }
.pop-label { display: inline-block; font-size: 11px; letter-spacing: .12em; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.pop-label.is-museum { background: var(--timber); color: var(--gold-2); }
.pop-label.is-guest { background: var(--emerald); color: #fff; }
.pop-body h2 { font-family: var(--serif); font-weight: 700; color: #3b2516; font-size: 28px; line-height: 1.2; margin: 14px 0 8px; }
.pop-sub { color: #6b5b4b; margin: 0 0 12px; }
.pop-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 14px 0 16px; font-size: 14px; }
.pop-meta dt { color: #8a7660; } .pop-meta dd { margin: 0; font-weight: 500; }
.pop-desc { white-space: pre-line; color: #3d332b; }
.pop-designer { display: flex; gap: 12px; align-items: flex-start; background: #f3e9d8; border-radius: 10px; padding: 12px; margin: 18px 0; }
.pop-designer img, .pop-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.pop-avatar { display: flex; align-items: center; justify-content: center; background: var(--timber); color: var(--gold-2); font-family: var(--serif); font-size: 22px; }
.pop-designer b { display: block; color: #3b2516; } .pop-designer small { color: #6b5b4b; } .pop-designer p { margin: 6px 0 0; font-size: 13px; color: #5a4b3e; }
.pop-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.pop-wa { display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 10px; font-weight: 600; border: 0; }
.pop-wa:hover { filter: brightness(1.08); }
.pop-btn { background: #fff; border: 1px solid #d8c6a6; color: #3b2516; padding: 11px 18px; border-radius: 10px; font-weight: 500; }
.pop-link { margin-top: 22px; background: none; border: 0; padding: 0; color: #8a7660; text-decoration: underline; font-size: 13px; }
.pop-muted { color: #8a7660; font-size: 14px; }
.pop-report label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #6b5b4b; margin-bottom: 12px; }
.pop-report input, .pop-report textarea { font: inherit; padding: 9px 11px; border: 1px solid #d8c6a6; border-radius: 8px; background: #fff; color: var(--ink); }
.pop-report h3 { font-family: var(--serif); color: #3b2516; margin: 0 0 4px; }
@media (max-width: 760px) {
  .pop-wrap { align-items: flex-end; }
  .pop { height: 92vh; grid-template-columns: 1fr; grid-template-rows: 42vh minmax(0, 1fr); border-radius: 16px 16px 0 0; transform: translateY(30px); }
  .pop-media { border-radius: 16px 16px 0 0; overflow: hidden; }
  .pop-thumbs { display: none; }
  .pop-body { padding: 20px 18px 28px; }
  .pop-body h2 { font-size: 23px; }
}

/* ---------- 3D viewer */
.viewer-wrap { position: fixed; inset: 0; z-index: 60; background: #24150b; }
.viewer3d { position: absolute; inset: 0; }
.viewer-hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--gold-2); opacity: .8; font-size: 13px; margin: 0; pointer-events: none; }
.viewer-fs { position: absolute; top: 12px; right: 62px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(43,22,12,.82); color: #fff; font-size: 18px; }

.intro-info { margin: 14px auto 0; display: inline-block; background: none; border: 0; border-bottom: 1px dashed rgba(232,207,142,.55); padding: 2px 0; color: var(--gold-2); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.intro-info:hover { color: #fff; border-bottom-color: #fff; }

/* designer / company details behind the ⓘ button */
.pop-titlebar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pop-titlebar h2 { flex: 1; }
.pop-info-btn { flex: none; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 99px; border: 1px solid #d8c6a6; background: #fff; color: #5a4330; font: 600 13px/1 var(--font-body); cursor: pointer; }
.pop-info-btn:hover, .pop-info-btn.on { background: #3b2516; color: var(--gold-2); border-color: #3b2516; }
.pop-i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #c9a24b; color: #2b160c; font: italic 700 14px/1 Georgia, serif; }
.pop-credit { background: #f3e9d8; border: 1px solid #e6d5b6; border-radius: 12px; padding: 14px; margin: 6px 0 14px; display: grid; gap: 12px; animation: popIn .18s ease-out; }
.pop-credit[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pop-credit-row { display: flex; align-items: center; gap: 12px; }
.pop-credit-row small { display: block; color: #8a7660; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pop-credit-row b { color: #3b2516; font-weight: 600; }
.pop-credit-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; }
.pop-credit-logo { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; background: #fff; padding: 4px; flex: none; }
.pop-avatar.is-square { border-radius: 8px; }
.pop-credit-links { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #e3d1b0; padding-top: 12px; }
.pop-credit-link { color: #6b4a22; text-decoration: none; font-weight: 500; word-break: break-all; }
.pop-credit-link:hover { text-decoration: underline; }
.pop-credit-wa { display: flex; align-items: center; gap: 10px; color: #17784e; font-weight: 600; text-decoration: none; }
.pop-credit-wa svg { flex: none; }
.pop-credit-wa small { display: block; color: #5f7f6f; font-weight: 400; font-size: 12.5px; }
.pop-credit-wa:hover span { text-decoration: underline; }

.pop-credit-wabtn { align-self: flex-start; padding: 10px 16px; }
.pop-credit-wabtn span { display: flex; flex-direction: column; line-height: 1.25; }
.pop-credit-wabtn small { font-weight: 400; font-size: 12px; opacity: .9; }

/* 0.8.0 – gallery games and video window */
.game-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(12, 6, 2, .72); backdrop-filter: blur(3px); padding: 12px; }
.game-overlay[hidden] { display: none; }
.game-frame { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.game-canvas { width: min(96vw, calc(92vh * 1400 / 880)); height: auto; aspect-ratio: 1400 / 880; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.55); touch-action: none; cursor: pointer; }
.game-video { width: min(96vw, 1100px); background: #120a05; border: 2px solid #c9a24b; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.game-video-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; color: #f6e2a6; font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.game-video-close { background: #7a1628; color: #fff; border: 0; border-radius: 10px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }
.game-video video { display: block; width: 100%; max-height: 78vh; background: #000; }

/* ---------- Lobby Information Counter (0.9.0) */
.hud-stops .chip.info { border-color: var(--gold); color: var(--gold-2); }
.info-wrap { position: fixed; inset: 0; z-index: 55; background: rgba(15,8,4,.55); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .18s; }
.info-wrap.in { opacity: 1; }
.info-box { width: min(960px, 100%); height: min(860px, 100%); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: translateY(14px); transition: transform .2s; }
.info-wrap.in .info-box { transform: none; }
.info-head { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px 70px 18px 28px; background: linear-gradient(135deg, #2b160c, #4a2615 60%, #5a1d24); color: var(--color-ivory); border-bottom: 3px solid var(--gold); }
.info-kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); opacity: .85; }
.info-head h2 { margin: 2px 0 4px; font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--color-gold); }
.info-head p { margin: 0; font-size: 14px; opacity: .85; }
.info-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(232,207,142,.4); background: rgba(0,0,0,.25); color: #fff; font-size: 24px; line-height: 1; }
.info-close:hover { background: rgba(0,0,0,.45); }
.info-tabs { display: flex; gap: 4px; padding: 0 18px; background: #f3e9d8; border-bottom: 1px solid #e3d3b8; overflow-x: auto; scrollbar-width: none; flex: none; }
.info-tabs::-webkit-scrollbar { display: none; }
.info-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px 12px; border: 0; border-bottom: 3px solid transparent; background: none; color: #6b5340; font-weight: 600; font-size: 14px; }
.info-tab:hover { color: #3b2516; }
.info-tab.on { color: var(--color-burgundy); border-bottom-color: var(--color-burgundy); }
.info-tab-ico { font-size: 15px; color: var(--gold); }
.info-panel { flex: 1; overflow-y: auto; padding: 26px 28px 30px; -webkit-overflow-scrolling: touch; }
.info-panel:focus-visible { outline-offset: -4px; }
.info-sec { max-width: 820px; margin: 0 auto; }
.info-h { font-family: var(--serif); color: #3b2516; font-size: 21px; margin: 6px 0 14px; }
.info-h:not(:first-child) { margin-top: 30px; }
.info-muted { color: #7a6650; font-size: 14px; margin: 0 0 18px; }
.info-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-price { position: relative; border: 1px solid #e3d3b8; border-radius: 14px; padding: 22px 22px 18px; background: #fff; }
.info-price::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 14px 14px 0 0; background: var(--emerald); }
.info-price.mannequin::before { background: var(--color-burgundy); }
.info-price-ico { color: var(--gold); float: right; margin: -4px -4px 0 8px; }
.info-price h3 { margin: 0; font-family: var(--serif); font-size: 21px; color: #3b2516; }
.info-price-amt { margin: 8px 0 6px; color: #6b5b4b; font-size: 14px; }
.info-price-amt b { font-family: var(--serif); font-size: 38px; color: var(--color-burgundy); line-height: 1; }
.info-price-lead { margin: 0 0 12px; font-size: 14px; color: #4a3d32; }
.info-ticks { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: #3d332b; }
.info-ticks li { position: relative; padding-left: 22px; margin: 6px 0; }
.info-ticks li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 12px; }
.info-notes { margin: 22px 0 0; padding: 16px 18px 16px 34px; background: #f6efe3; border-radius: 12px; font-size: 13.5px; color: #4a3d32; }
.info-notes li { margin: 4px 0; }
.info-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.info-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; }
.info-btn.gold { background: var(--color-burgundy); color: #fff; border-color: #5a1626; }
.info-btn.gold:hover { filter: brightness(1.1); }
.info-btn.gold:disabled { opacity: .6; cursor: progress; }
.info-btn.ghost { background: #fff; color: #3b2516; border-color: #d8c6a6; }
.info-btn.ghost:hover { border-color: var(--gold); }
.info-req { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0; }
.info-req > div { padding: 12px 14px; border-left: 3px solid var(--gold); background: #fbf5ea; border-radius: 0 8px 8px 0; }
.info-req dt { font-weight: 700; color: #3b2516; font-size: 14px; }
.info-req dd { margin: 3px 0 0; font-size: 13.5px; color: #4a3d32; }
.info-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.info-steps li { display: flex; gap: 14px; position: relative; padding-bottom: 16px; }
.info-steps li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: #e3d3b8; }
.info-step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--color-burgundy); color: var(--color-gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 17px; border: 2px solid var(--gold); position: relative; z-index: 1; }
.info-steps b { display: block; color: #3b2516; margin-top: 6px; }
.info-steps p { margin: 2px 0 0; font-size: 13.5px; color: #4a3d32; }
.info-term { border: 1px solid #e3d3b8; border-radius: 10px; margin: 0 0 10px; background: #fff; }
.info-term summary { cursor: pointer; padding: 13px 16px; font-weight: 700; color: #3b2516; font-family: var(--serif); font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.info-term summary::-webkit-details-marker { display: none; }
.info-term summary::after { content: '+'; color: var(--gold); font-family: var(--sans); font-weight: 600; }
.info-term[open] summary::after { content: '–'; }
.info-term ul { margin: 0; padding: 0 18px 14px 36px; font-size: 13.5px; color: #3d332b; }
.info-term li { margin: 5px 0; }
.info-foot { margin: 18px 0 0; font-size: 12px; color: #8a7660; }
.info-foot a { color: inherit; }
.info-form { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #5a4b3e; }
.info-field input, .info-field select, .info-field textarea { font: 400 15px/1.4 var(--sans); padding: 10px 12px; border: 1px solid #d8c6a6; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.info-field textarea { resize: vertical; min-height: 110px; }
.info-field input:focus, .info-field select:focus, .info-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.2); }
.info-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #4a3d32; }
.info-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--color-burgundy); flex: none; }
.info-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.info-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #fbe9ea; color: #8a1c2b; font-size: 14px; }
.info-sent { text-align: center; padding: 40px 0; }
.info-sent-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--emerald); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; }
.info-sent p { max-width: 480px; margin: 0 auto 20px; color: #3d332b; }
.info-direct-row { margin-top: 22px; padding-top: 16px; border-top: 1px solid #eadcc4; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: #6b5b4b; }
.info-direct { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 99px; border: 1px solid #d8c6a6; color: #3b2516; text-decoration: none; font-weight: 600; background: #fff; }
.info-direct.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
@media (max-width: 760px) {
  .info-wrap { padding: 0; align-items: stretch; }
  .info-box { height: 100%; border-radius: 0; }
  .info-head { padding: max(16px, env(safe-area-inset-top)) 62px 14px 18px; }
  .info-head h2 { font-size: 24px; }
  .info-head p { font-size: 13px; }
  .info-tabs { padding: 0 8px; }
  .info-tab { padding: 12px 11px 10px; font-size: 13px; gap: 6px; }
  .info-panel { padding: 18px 16px max(24px, env(safe-area-inset-bottom)); }
  .info-prices, .info-req, .info-row { grid-template-columns: 1fr; }
  .info-price-amt b { font-size: 32px; }
  .info-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .info-wrap, .info-box { transition: none; } }

/* ---------- Share (0.10.0) */
.pop-share { display: inline-flex; align-items: center; gap: 8px; }
#btn-share svg { display: block; margin: 0 auto; }
.share-wrap { position: fixed; inset: 0; z-index: 70; background: rgba(15,8,4,.5); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .15s; }
.share-wrap.in { opacity: 1; }
.share-box { width: min(440px, 100%); background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 24px 70px rgba(0,0,0,.45); border-top: 4px solid var(--gold); }
.share-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.share-head b { display: block; font-family: var(--serif); font-size: 21px; color: #3b2516; }
.share-head small { display: block; color: #7a6650; font-size: 13px; margin-top: 2px; }
.share-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e3d3b8; background: #fff; font-size: 22px; line-height: 1; color: #3b2516; flex: none; }
.share-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border-radius: 12px; text-decoration: none; color: #3b2516; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.share-opt:hover, .share-opt:focus-visible { background: #f6efe3; border-color: #e3d3b8; }
.share-ico { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: #3b2516; }
.share-opt.is-wa .share-ico { background: #1f8a5b; } .share-opt.is-fb .share-ico { background: #1877f2; } .share-opt.is-x .share-ico { background: #111; } .share-opt.is-tg .share-ico { background: #229ed9; } .share-opt.is-mail .share-ico { background: var(--color-burgundy); }
.share-row { display: flex; gap: 8px; margin-top: 14px; }
.share-url { flex: 1; min-width: 0; font: 13px/1.3 var(--sans); padding: 10px 12px; border: 1px solid #d8c6a6; border-radius: 10px; background: #fff; color: #3d332b; }
.share-copy { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--color-burgundy); color: #fff; font-weight: 600; font-size: 14px; }
.share-copy .share-ico { width: auto; height: auto; background: none; }
.share-copy .share-ico svg { width: 18px; height: 18px; }
.share-copied { display: block; min-height: 18px; margin-top: 6px; font-size: 13px; color: var(--emerald); }
.share-more { margin-top: 4px; background: none; border: 0; padding: 4px 0; color: #7a6650; text-decoration: underline; font-size: 13px; }
@media (max-width: 420px) { .share-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; } .share-ico { width: 40px; height: 40px; } .share-opt { font-size: 11px; } }
