/* Auggie's house. One long scroll, six rooms. Jewel palette: the environment is dark and rich,
   the clothes are the brightest color on screen. Proposed values, easy to retune here. */
:root {
  --night:#04140f;
  --emerald-deep:#082b22;
  --emerald:#0d4a3b;
  --peacock:#0a5560;
  --teal:#1f8f8d;
  --brass:#b8943f;
  --brass-lt:#e0c277;
  --marble:#f3f6f5;
  --walnut:#2a1c13;
  --walnut-lt:#46301f;
  --ink:#ffffff;
  --muted:#b7cdc7;
  --line:rgba(224,194,119,.35);
  --glass:rgba(4,20,15,.62);
  --pad:clamp(12px, 3vw, 36px);
  --serif:Spectral, Georgia, serif;
  --sans:'Public Sans', sans-serif;
  --mono:'IBM Plex Mono', monospace;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { background:var(--night); color:var(--ink); font:16px/1.6 var(--sans); overflow-x:hidden; }
img { max-width:100%; display:block; }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--brass-lt); outline-offset:3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } * { animation:none !important; transition:none !important; } }

/* ---- Rooms and layers ---- */
.room { position:relative; min-height:100vh; overflow:hidden; isolation:isolate; }
.layer { position:absolute; left:0; right:0; top:-22%; bottom:-22%; will-change:transform; pointer-events:none; }
.content { position:relative; z-index:5; padding:clamp(64px,11vh,120px) var(--pad) clamp(56px,9vh,100px); }
.room-title { font-family:var(--serif); font-weight:300; font-size:clamp(34px,5.4vw,68px); line-height:1.08; }
.room-sub { font-family:var(--serif); font-style:italic; font-weight:300; font-size:clamp(18px,2.1vw,24px); color:var(--brass-lt); margin:6px 0 18px; }
.eyebrow { font:600 12px var(--sans); letter-spacing:.28em; text-transform:uppercase; color:var(--brass-lt); }
.glass { background:var(--glass); border:1px solid var(--line); border-radius:6px; padding:16px; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.say { font-family:var(--serif); font-style:italic; font-weight:300; font-size:20px; line-height:1.4; }
.sign { font-family:var(--serif); font-style:italic; font-weight:300; color:var(--brass-lt); margin-top:8px; font-size:15px; }

button, .btn { display:inline-block; background:transparent; color:var(--ink); border:1px solid var(--brass-lt); border-radius:2px; padding:13px 24px; font:600 13px var(--sans); letter-spacing:.18em; text-transform:uppercase; cursor:pointer; text-decoration:none; transition:background .25s, color .25s; }
button:hover, .btn:hover { background:var(--brass-lt); color:var(--night); }
button:disabled { opacity:.5; cursor:default; }
button.quiet, .btn.quiet { border-color:var(--line); color:var(--muted); }

/* ---- Velvet curtains between rooms ---- */
.curtain { position:relative; z-index:6; height:clamp(90px,16vh,170px); margin-top:-1px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), transparent 35%, rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg, #06414a 0 22px, #0e6d76 22px 38px, #0a5059 38px 70px, #052f36 70px 82px);
  border-bottom:2px solid var(--brass); box-shadow:0 14px 28px rgba(0,0,0,.5); }
.curtain::after { content:''; position:absolute; left:0; right:0; bottom:-1px; height:10px;
  background:radial-gradient(circle at 50% 100%, var(--brass-lt) 0 3px, transparent 4px) 0 0/48px 10px repeat-x; opacity:.85; }

/* ---- Navigation: where you are, and doors to every room ---- */
.where { position:fixed; top:14px; left:var(--pad); z-index:50; display:flex; align-items:center; gap:10px; font:600 11px var(--sans); letter-spacing:.24em; text-transform:uppercase; color:var(--brass-lt); text-shadow:0 1px 8px #000; pointer-events:none; }
.where svg { width:26px; height:26px; }
.where svg rect { fill:var(--brass-lt); }
.doors { position:fixed; right:14px; top:50%; transform:translateY(-50%); z-index:50; display:flex; flex-direction:column; gap:14px; }
.doors a { position:relative; width:11px; height:11px; border:1px solid var(--brass-lt); border-radius:50%; background:transparent; display:block; }
.doors a.on { background:var(--brass-lt); }
.doors a span { position:absolute; right:22px; top:50%; transform:translateY(-50%); white-space:nowrap; font:600 11px var(--sans); letter-spacing:.2em; text-transform:uppercase; color:var(--ink); background:var(--glass); padding:4px 10px; border-radius:2px; opacity:0; pointer-events:none; transition:opacity .2s; }
.doors a:hover span, .doors a:focus-visible span { opacity:1; }
@media (max-width:719px) { .doors { top:auto; bottom:12px; right:50%; transform:translateX(50%); flex-direction:row; background:var(--glass); padding:9px 14px; border-radius:20px; border:1px solid var(--line); } .doors a span { display:none; } }

/* ---- 1. The Grand Gallery ---- */
#gallery { background:linear-gradient(180deg, #04140f, #082b22); }
.hero { position:relative; min-height:100svh; display:grid; place-items:center; text-align:center; overflow:hidden; }
#gallery .bg { background:url('rooms/grand-gallery.webp') center/cover no-repeat; top:-12%; bottom:-12%; }
#gallery .shade { background:radial-gradient(ellipse at 50% 55%, rgba(4,20,15,.2), rgba(4,20,15,.82) 80%), linear-gradient(180deg, rgba(4,20,15,.45), transparent 30%, rgba(4,20,15,.75)); top:0; bottom:0; }
#gallery .content { max-width:1000px; }
#gallery .eyebrow { text-shadow:0 2px 14px #000; }
#gallery h1 { font-family:var(--serif); font-weight:300; font-size:clamp(42px,8.4vw,112px); line-height:1.02; text-shadow:0 4px 40px rgba(0,0,0,.65); margin:14px 0 18px; }
#gallery .lede { font-family:var(--serif); font-style:italic; font-weight:300; font-size:clamp(19px,2.4vw,29px); color:#fff; text-shadow:0 2px 20px rgba(0,0,0,.8); max-width:30ch; margin:0 auto 34px; }

/* Auggie, lower on each page. His portraits have white backgrounds, so each one stands in a lit marble niche.
   Transparent PNGs can replace the niche later. */
.host { position:relative; flex:none; width:clamp(150px,17vw,250px); aspect-ratio:3/4; padding:7px; border-radius:50% 50% 4px 4px / 28% 28% 4px 4px;
  background:linear-gradient(135deg, var(--brass-lt), var(--brass) 45%, #6e5522 70%, var(--brass-lt)); box-shadow:0 24px 50px rgba(0,0,0,.6); }
.host .niche { width:100%; height:100%; overflow:hidden; border-radius:50% 50% 2px 2px / 27% 27% 2px 2px; background:radial-gradient(ellipse at 50% 30%, #ffffff, #e9efed 70%, #cdd8d4); }
.host img { width:100%; height:100%; object-fit:cover; object-position:50% 12%; mix-blend-mode:multiply; }
.hostline { display:flex; justify-content:flex-end; margin-top:44px; padding-right:34px; }
@media (max-width:719px) { .hostline { padding-right:0; justify-content:center; } .host { width:170px; } }

.welcome { position:relative; z-index:5; display:flex; flex-wrap:wrap; gap:clamp(28px,6vw,90px); align-items:center; justify-content:center; padding:clamp(70px,13vh,150px) var(--pad); }
.welcome .host { width:clamp(210px,24vw,340px); }
.speech { max-width:34ch; }
.speech .line { font-family:var(--serif); font-weight:300; font-size:clamp(20px,2.4vw,30px); line-height:1.35; margin:0 0 .6em; opacity:0; transform:translateY(14px); transition:opacity .9s ease, transform .9s ease; }
.speech .line.in { opacity:1; transform:none; }
.speech .hi { font-style:italic; color:var(--brass-lt); font-size:clamp(32px,4.2vw,56px); line-height:1.1; }
.speech .btn { margin-top:14px; }
@media (prefers-reduced-motion: reduce) { .speech .line { opacity:1; transform:none; } }
.cue { position:absolute; bottom:22px; left:50%; transform:translateX(-50%); z-index:6; font:600 11px var(--sans); letter-spacing:.3em; text-transform:uppercase; color:var(--brass-lt); text-align:center; }
.cue::after { content:''; display:block; width:1px; height:34px; margin:8px auto 0; background:linear-gradient(var(--brass-lt), transparent); animation:drip 2s ease-in-out infinite; }
@keyframes drip { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---- 2. The Wardrobe Wing ---- */
#wardrobe { background:var(--emerald-deep); }
/* Room image: public/rooms/wardrobe-wing.jpg, under a dark wash so the clothes stay the brightest thing. */
#wardrobe .wall { background:
  linear-gradient(180deg, rgba(4,20,15,.55), rgba(4,20,15,.78) 55%, rgba(4,20,15,.9)),
  url('rooms/wardrobe-wing.jpg') center/cover no-repeat,
  repeating-linear-gradient(90deg, transparent 0 calc(25% - 3px), rgba(224,194,119,.28) calc(25% - 3px) 25%),
  linear-gradient(180deg, #0b3a2e, #06241c 70%, #04140f); }
#wardrobe .floor { top:auto; height:34%; bottom:-8%; background:linear-gradient(180deg, transparent, rgba(243,246,245,.14) 40%, rgba(243,246,245,.3)); }
#wardrobe .tools { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:6px 0 4px; }
#out { margin-top:16px; max-width:560px; }
#out img { border-radius:4px; margin-bottom:12px; max-height:46vh; object-fit:contain; }
dl.tags { display:grid; grid-template-columns:auto 1fr; gap:4px 14px; margin:14px 0 0; font-size:14px; }
dl.tags dt { color:var(--muted); }
dl.tags dd { font-family:var(--mono); }
input[type=text], select { width:100%; font:inherit; padding:10px; border:1px solid var(--line); border-radius:2px; background:rgba(4,20,15,.7); color:var(--ink); margin:8px 0; }
select { width:auto; min-width:190px; margin:0; }
#empty { font-family:var(--serif); font-style:italic; font-weight:300; font-size:24px; margin-top:34px; }
.rail { margin-top:34px; }
.rail h2 { font-family:var(--serif); font-weight:500; font-size:26px; display:flex; align-items:baseline; gap:10px; }
.rail h2 span { font:400 13px var(--mono); color:var(--brass-lt); }
.row { position:relative; display:flex; gap:14px; overflow-x:auto; padding:0 0 14px; margin-top:8px; scroll-snap-type:x proximity; }
.row::before { content:''; position:absolute; left:0; right:0; top:3px; height:4px; border-radius:2px; background:linear-gradient(180deg, var(--brass-lt), var(--brass) 60%, #6e5522); box-shadow:0 3px 8px rgba(0,0,0,.5); }
.rail.shelf .row { padding-bottom:26px; }
.rail.shelf .row::before { top:auto; bottom:6px; height:14px; border-radius:2px; background:linear-gradient(180deg, var(--walnut-lt), var(--walnut)); box-shadow:0 8px 14px rgba(0,0,0,.6), inset 0 1px 0 rgba(224,194,119,.4); }
.tile { position:relative; flex:none; width:150px; scroll-snap-align:start; background:none; color:var(--ink); border:0; padding:0; text-align:left; font:inherit; letter-spacing:0; text-transform:none; }
.tile:hover { background:none; color:var(--ink); }
@media (min-width:720px) { .tile { width:200px; } }
.tile svg.hang { display:block; margin:0 auto; width:40px; height:26px; color:var(--brass-lt); }
.tile .ph { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:3px; border:1px solid var(--line); margin-top:2px; background:rgba(4,20,15,.5); box-shadow:0 10px 22px rgba(0,0,0,.45); transition:transform .3s; }
.rail.shelf .tile { margin-top:12px; }
.tile:hover .ph { transform:translateY(-4px); }
.tile .t { display:block; margin-top:8px; font-size:14px; font-weight:600; line-height:1.3; }
.tile .c { display:block; font-size:13px; color:var(--muted); }
.tile .q { display:block; margin-top:2px; font-family:var(--serif); font-style:italic; font-size:14px; color:var(--brass-lt); }

dialog { border:1px solid var(--line); border-radius:6px; background:#06241c; color:var(--ink); width:min(580px, calc(100% - 24px)); max-height:calc(100% - 24px); padding:18px; margin:auto; overflow:auto; }
dialog::backdrop { background:rgba(2,10,8,.78); }
dialog img { width:100%; max-height:50vh; object-fit:contain; border-radius:4px; margin-bottom:12px; }
.dlg-actions { display:flex; justify-content:flex-end; margin-top:16px; }

/* ---- Auggie's Favorites ---- */
#favorites { background:var(--walnut); }
#favorites .wall { background:linear-gradient(180deg, #170e08, #0b3a2e 55%, #06241c); }
.fav-set { margin-top:36px; }
.fav-set h3 { font-family:var(--serif); font-weight:500; font-size:clamp(24px,3vw,34px); }
.fav-set .blurb { font-family:var(--serif); font-style:italic; font-weight:300; color:var(--brass-lt); margin:2px 0 14px; }
.fav-row { display:flex; flex-wrap:wrap; gap:22px; }
.fav { width:clamp(170px,24vw,280px); }
.fav .pic { padding:8px; background:linear-gradient(135deg, var(--brass-lt), var(--brass) 45%, #6e5522 70%, var(--brass-lt)); box-shadow:0 20px 40px rgba(0,0,0,.6); }
.fav .pic img { width:100%; aspect-ratio:4/5; object-fit:cover; background:#031510; }
.fav .t { margin-top:10px; font-size:14px; font-weight:600; }
.fav .line { font-family:var(--serif); font-style:italic; font-weight:300; font-size:17px; line-height:1.4; margin-top:2px; }
#fav-hint { margin-top:28px; color:var(--brass-lt); }

/* ---- 3. The Mirror Hall ---- */
#mirror { background:var(--night); }
.mirror-hero { position:relative; min-height:78svh; display:grid; place-items:center; text-align:center; overflow:hidden; }
.mirror-hero .bg { background:url('rooms/mirror-hero.jpg') center/cover no-repeat; top:-12%; bottom:-12%; }
.mirror-hero .shade { background:radial-gradient(ellipse at 50% 55%, rgba(4,20,15,.15), rgba(4,20,15,.7) 85%), linear-gradient(180deg, rgba(4,20,15,.5), transparent 35%, rgba(4,20,15,.85)); top:0; bottom:0; }
.mirror-hero h2 { text-shadow:0 4px 40px rgba(0,0,0,.7); }
.mirror-hero .room-sub { text-shadow:0 2px 20px rgba(0,0,0,.8); color:#fff; }

/* The stage: the gilded mirror image, with their reflection in its glass. Auggie stands beside it, never in front. */
.stage { position:relative; background:#1b1204; }
.stage-bg { display:block; width:100%; height:auto; }
.glass-live { position:absolute; left:36.9%; top:21.9%; width:30.3%; height:52.3%; overflow:hidden; display:grid; place-items:center; text-align:center;
  background:radial-gradient(ellipse at 50% 40%, rgba(255,246,214,.92), rgba(250,226,160,.82) 70%, rgba(228,190,110,.78)); border-radius:10px; }
.glass-live img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:50% 100%; }
.glass-live .gloss { position:absolute; inset:0; pointer-events:none; background:linear-gradient(120deg, rgba(255,255,255,.35), transparent 35%, transparent 65%, rgba(255,255,255,.22)); }
.glass-live .gloss::after { content:''; position:absolute; top:-30%; left:-60%; width:35%; height:160%; background:linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform:rotate(18deg); animation:sweep 8s ease-in-out infinite; }
@keyframes sweep { 0%,60%{left:-60%} 100%{left:130%} }
.glass-live .glass-empty { position:relative; z-index:1; color:#3b2a0c; padding:12px; font-size:clamp(14px,1.6vw,22px); }
.stage .host { position:absolute; left:6%; bottom:5%; width:clamp(120px,14vw,220px); }
.views { position:absolute; left:50%; bottom:3%; transform:translateX(-50%); display:flex; gap:8px; z-index:3; }
.views button { padding:8px 14px; font-size:11px; background:rgba(4,20,15,.7); }
.mirror-below { display:flex; flex-direction:column; align-items:center; text-align:center; }
#mirror-board { justify-content:center; width:100%; }
.photo-panel { max-width:620px; width:100%; margin-top:26px; text-align:left; }
.photo-panel p { font-size:14px; color:var(--muted); margin-bottom:12px; }
.muted { color:var(--muted); font-size:14px; }
.render-tools { display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:center; margin-top:18px; }
#render-msg { margin-top:12px; font-size:18px; }
#preview-note { margin-top:8px; }
.consent { display:flex; gap:10px; align-items:flex-start; margin:0 0 14px; font-size:14px; color:var(--ink); cursor:pointer; }
.consent input { margin-top:4px; width:18px; height:18px; accent-color:var(--brass-lt); flex:none; }
.badge { position:absolute; top:10px; right:10px; z-index:3; padding:4px 10px; font:600 11px var(--sans); letter-spacing:.2em; text-transform:uppercase; background:rgba(4,20,15,.82); color:var(--brass-lt); border:1px solid var(--brass-lt); border-radius:2px; }
.photo-panel .tools { display:flex; flex-wrap:wrap; gap:10px; }
@media (max-width:899px) {
  .stage-bg { height:34vh; object-fit:cover; }
  .glass-live { position:relative; left:auto; top:auto; width:min(340px,86vw); height:auto; aspect-ratio:3/5; margin:-70px auto 0; z-index:2; border:10px solid var(--brass); border-radius:170px 170px 6px 6px; box-shadow:0 24px 50px rgba(0,0,0,.6); }
  .stage .host { position:relative; left:auto; bottom:auto; margin:26px auto 26px; width:170px; }
  .stage { padding-bottom:1px; }
  .views { position:static; transform:none; justify-content:center; margin-top:14px; }
}

/* ---- 4. The Styling Atelier ---- */
#atelier { background:var(--emerald-deep); }
#atelier .wall { background:
  linear-gradient(180deg, rgba(4,20,15,.6), rgba(4,20,15,.82)),
  url('rooms/atelier.jpg') center/cover no-repeat,
  linear-gradient(180deg, #082b22, #0d4a3b 60%, #0a3a2f); }
#atelier .table { top:auto; height:30%; bottom:-6%; background:linear-gradient(180deg, var(--walnut-lt), var(--walnut) 40%, #170e08); border-top:3px solid var(--brass); }
.swatches { display:flex; gap:8px; margin:0 0 18px; }
.swatches i { width:48px; height:64px; border-radius:2px; box-shadow:0 6px 14px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.12); }
.controls { display:flex; flex-wrap:wrap; gap:14px; align-items:flex-end; }
label.f { display:flex; flex-direction:column; font-size:12px; color:var(--muted); letter-spacing:.14em; text-transform:uppercase; gap:4px; }

/* ---- 5. The Runway ---- */
#runway { background:#020a08; }
#runway .spots { background:
  conic-gradient(from 168deg at 20% -10%, transparent 0 4deg, rgba(224,194,119,.2) 8deg, transparent 14deg),
  conic-gradient(from 180deg at 50% -10%, transparent 0 4deg, rgba(255,255,255,.18) 8deg, transparent 14deg),
  conic-gradient(from 188deg at 80% -10%, transparent 0 4deg, rgba(224,194,119,.2) 8deg, transparent 14deg),
  linear-gradient(180deg, rgba(2,10,8,.5), rgba(2,10,8,.84)),
  url('rooms/runway.jpg') center/cover no-repeat,
  radial-gradient(ellipse at 50% 0%, #0b3a2e, #020a08 70%); }
#runway .catwalk { top:auto; height:46%; bottom:-10%; background:linear-gradient(180deg, transparent, rgba(243,246,245,.16) 50%, rgba(243,246,245,.34)); clip-path:polygon(34% 0, 66% 0, 100% 100%, 0 100%); }
.look { margin-top:30px; padding-top:20px; border-top:1px solid var(--line); animation:rise .6s ease-out both; }
@keyframes rise { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }
.look h3 { font-family:var(--serif); font-weight:500; font-size:26px; }
.look .meta { color:var(--brass-lt); font-size:12px; letter-spacing:.2em; text-transform:uppercase; }
.board { display:flex; gap:14px; overflow-x:auto; margin:14px 0; padding-bottom:6px; }
.piece { flex:none; width:150px; }
@media (min-width:720px) { .piece { width:220px; } }
.piece img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:3px; border:1px solid var(--line); box-shadow:0 14px 30px rgba(0,0,0,.55); }
.piece .t { display:block; margin-top:8px; font-size:14px; font-weight:600; line-height:1.3; }
.piece .c { display:block; font-size:13px; color:var(--muted); }

/* ---- 6. The Style Archive ---- */
#archive { background:var(--walnut); }
#archive .wall { background:
  repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 90px),
  linear-gradient(180deg, #3a2819, var(--walnut) 60%, #170e08); }
.frames { display:flex; flex-wrap:wrap; gap:18px; margin-top:22px; }
.frame { width:clamp(140px,22vw,260px); aspect-ratio:4/5; padding:10px; background:linear-gradient(135deg, var(--brass-lt), var(--brass) 50%, #6e5522); box-shadow:0 20px 40px rgba(0,0,0,.6); }
.frame > div { width:100%; height:100%; background:linear-gradient(180deg, #06241c, #031510); display:grid; place-items:center; text-align:center; padding:10px; color:var(--muted); font-family:var(--serif); font-style:italic; }
.fwrap { width:clamp(160px,24vw,280px); }
.fwrap .frame { width:100%; }
.fwrap .frame > div { padding:0; display:block; }
.collage { display:grid; grid-template-columns:1fr 1fr; grid-auto-rows:1fr; gap:2px; width:100%; height:100%; }
.collage img { width:100%; height:100%; object-fit:cover; }
.fwrap .cap { margin:10px 2px 8px; font-size:13px; color:var(--muted); line-height:1.4; }
.fwrap .cap b { display:block; font-family:var(--serif); font-weight:500; font-size:19px; color:var(--ink); }
.fwrap button { padding:8px 14px; font-size:11px; }
.verdict { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
button.chosen { background:var(--brass-lt); color:var(--night); border-color:var(--brass-lt); }

/* ---- Auggie's voice and the chat ---- */
button.hear { padding:8px 14px; font-size:11px; margin:0 8px 8px 0; }
.ask-open { position:fixed; right:16px; bottom:16px; z-index:55; background:var(--glass); border-color:var(--brass-lt); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
@media (max-width:719px) { .ask-open { bottom:64px; right:12px; } }
.chat { position:fixed; right:16px; bottom:16px; z-index:70; width:min(400px, calc(100vw - 24px)); height:min(72vh, 580px); display:flex; flex-direction:column; background:#06241c; border:1px solid var(--line); border-radius:8px; box-shadow:0 24px 60px rgba(0,0,0,.65); overflow:hidden; }
.chat[hidden] { display:none; }
.chat header { display:flex; gap:12px; align-items:center; padding:12px 14px; border-bottom:1px solid var(--line); background:linear-gradient(135deg, rgba(10,85,96,.5), rgba(8,43,34,.6)); }
.chat header img { width:44px; height:44px; border-radius:50%; object-fit:cover; object-position:50% 8%; background:#fff; border:2px solid var(--brass-lt); flex:none; }
.chat header div { flex:1; min-width:0; }
.chat header b { display:block; font-family:var(--serif); font-weight:500; font-size:20px; line-height:1.1; }
.chat header span { font-size:12px; color:var(--muted); }
.chat header button { padding:8px 12px; font-size:11px; }
#chat-log { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; }
.msg { max-width:88%; padding:10px 13px; border-radius:10px; font-size:15px; line-height:1.45; }
.msg p { margin:0; }
.msg.auggie { align-self:flex-start; background:rgba(10,85,96,.45); border:1px solid rgba(224,194,119,.25); font-family:var(--serif); font-size:17px; }
.msg.you { align-self:flex-end; background:rgba(255,255,255,.1); }
.msg button.hear { margin:8px 0 0; }
#chat-form { display:flex; gap:8px; padding:12px; border-top:1px solid var(--line); }
#chat-form input { flex:1; margin:0; }
#chat-form button { padding:10px 16px; }
#chat-left { padding:0 14px 10px; margin:0; text-align:right; }

/* ---- Tap Auggie ---- */
.host { cursor:pointer; transition:transform .25s ease; }
.host:hover { transform:translateY(-3px); }
.host:focus-visible { outline:2px solid var(--brass-lt); outline-offset:6px; }
.welcome .host:not(.tapped)::after { content:'Tap me'; position:absolute; left:50%; bottom:-30px; transform:translateX(-50%); font:600 11px var(--sans); letter-spacing:.24em; text-transform:uppercase; color:var(--brass-lt); white-space:nowrap; }
.bubble { position:absolute; left:0; bottom:calc(100% + 14px); z-index:30; width:min(320px, 78vw); padding:12px 15px; background:#06241c; border:1px solid var(--brass-lt); border-radius:10px; box-shadow:0 18px 40px rgba(0,0,0,.6); cursor:default; text-align:left; font-family:var(--serif); font-style:italic; font-weight:300; font-size:17px; line-height:1.4; color:var(--ink); }
.bubble p { margin:0; }
.bubble::after { content:''; position:absolute; left:34px; bottom:-8px; width:14px; height:14px; background:#06241c; border-right:1px solid var(--brass-lt); border-bottom:1px solid var(--brass-lt); transform:rotate(45deg); }
.hostline .bubble { left:auto; right:0; }
.hostline .bubble::after { left:auto; right:34px; }
@media (max-width:719px) { .hostline .bubble { left:50%; right:auto; transform:translateX(-50%); } .hostline .bubble::after { left:50%; right:auto; margin-left:-7px; } }

/* ---- Sign-in ---- */
.acct-wrap { position:fixed; top:12px; right:16px; z-index:55; display:flex; gap:10px; align-items:center; }
.acct-wrap .muted { text-shadow:0 1px 8px #000; max-width:34vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.acct-wrap button { padding:8px 14px; font-size:11px; background:var(--glass); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
@media (max-width:719px) { .acct-wrap .muted { display:none; } }
input[type=email] { width:100%; padding:10px; border:1px solid var(--line); border-radius:2px; background:rgba(4,20,15,.7); color:var(--ink); font:inherit; margin:8px 0; }

/* ---- Hiring ---- */
.test-tag { margin-left:10px; padding:3px 8px; border:1px solid var(--brass-lt); color:var(--brass-lt); letter-spacing:.12em; font-size:10px; }
.acct-wrap button#hire-open, .acct-wrap button#manage { border-color:var(--brass-lt); color:var(--ink); }
dialog { overflow-x:hidden; }
#hire .eyebrow { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
#hire .test-tag { margin-left:0; }
