.topbar { background: var(--purple); }
.topbar .container { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 36px; height: 36px; }
.searchbox { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 3px 3px 3px 14px; background: #fff; border: 2px solid #fff; border-radius: 10px; }
.searchbox.ai { border-color: var(--yellow); }
.searchbox input { flex: 1 1 0; min-width: 0; height: 40px; border: 0; outline: none; background: none; }
.searchbox .btn { min-height: 40px; padding: 0 14px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; color: #fff; }
.nav a.btn-yellow { color: var(--ink); padding: 0 16px; }
.hero { display: flex; flex-wrap: wrap; gap: 14px; }
.hero > * { min-height: 130px; padding: 20px 24px; border-radius: 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hero .main-tile { flex: 2 1 420px; background: var(--purple); color: #fff; }
.hero .main-tile strong { font-size: 24px; line-height: 1.3; }
.hero a { flex: 1 1 200px; min-height: 84px; background: var(--ground); color: var(--ink); }
.hero a strong { font-size: 18px; }
.detail { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.detail > * { flex: 1 1 360px; min-width: 0; }
.detail .photo-main { aspect-ratio: 4 / 3; border-radius: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 2.5px solid transparent; border-radius: 10px; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--purple); }
.thumbs .photo { border-radius: 7px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.facts > div { padding: 12px; background: var(--ground); border-radius: 8px; }
.narrow { max-width: 560px; margin: 0 auto; }
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 320px; max-height: 60vh; overflow-y: auto; padding: 12px; background: var(--ground); border-radius: 10px; }
.bubble { max-width: 75%; padding: 10px 14px; border-radius: 10px; background: #fff; align-self: flex-start; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: var(--purple); color: #fff; }
.bubble.offer { background: #fff; color: var(--ink); border: 1.5px solid var(--purple); }
.bubble img { display: block; width: 200px; max-width: 100%; border-radius: 8px; }
.banner { padding: 18px 16px; border-radius: 10px; background: var(--purple); color: #fff; }
.balance { font-size: 36px; font-weight: 700; line-height: 1.2; }
.picked { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.stars button { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; color: var(--muted); }
.stars button[aria-pressed="true"] { color: #b7791f; }
footer.site { border-top: 1px solid var(--line); }
footer.site .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
