/* Friendsweekend 2026 — styles. Mobile-first, dark forest/navy base. */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0b1420;
  --bg-2: #0f1c2e;
  --card: #16263c;
  --card-2: #1c3049;
  --line: #274161;
  --text: #eef4fb;
  --muted: #9fb2c9;
  --muted-2: #6f85a0;
  --accent: #3ddc97;      /* bright live-state green */
  --accent-2: #38bdf8;    /* cyan */
  --hot: #fb7185;         /* live/hot */
  --gold: #fcd34d;
  --silver: #cbd5e1;
  --bronze: #d69a6a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(0,0,0,.35);
  --nav-h: 66px;
  font-synthesis: none;
}
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #16304d 0%, var(--bg) 55%) fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--accent-2); }

/* ---------- Login gate ---------- */
#gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: radial-gradient(900px 500px at 50% 0%, #16304d, #08101b 70%);
}
.gate-card {
  width: min(420px, 100%); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 26px; text-align: center;
}
.gate-card .logo { font-size: 46px; }
.gate-card h1 { font-size: 1.5rem; margin: 6px 0 2px; }
.gate-card p.tag { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.gate-card input {
  width: 100%; text-align: center; font-size: 1rem;
  padding: 13px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); margin-bottom: 12px;
}
.gate-card .btn { width: 100%; }
.gate-hint { color: var(--muted-2); font-size: .78rem; margin-top: 14px; line-height: 1.6; }
.gate-err { color: var(--hot); font-size: .85rem; min-height: 1.2em; margin-bottom: 6px; }
.save-state { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.save-state.good { color: var(--accent); }
.save-state.bad { color: var(--hot); }

/* ---------- App shell ---------- */
#app { display: none; max-width: 900px; margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(11,20,32,.96), rgba(11,20,32,.72));
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.topbar .brand { font-weight: 800; letter-spacing: .2px; display: flex; align-items: center; gap: 8px; }
.topbar .brand small { color: var(--muted); font-weight: 600; }
.topbar .spacer { flex: 1; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); font-size: 1.05rem;
}
.icon-btn.badge { position: relative; }
.icon-btn.badge::after { content: attr(data-badge); position: absolute; top: -5px; right: -5px;
  background: var(--hot); color: #1a0a0f; font-size: .62rem; font-weight: 800;
  padding: 1px 5px; border-radius: 99px; }

.view { display: none; padding: 16px 16px 30px; }
.view.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Desktop top nav */
.desktop-nav { display: none; gap: 6px; }
.desktop-nav button { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.desktop-nav button.active { background: var(--card-2); color: var(--text); }

/* ---------- Cards & common ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.section-h { display: flex; align-items: center; gap: 8px; margin: 22px 2px 12px; }
.section-h h2 { font-size: 1.05rem; font-weight: 800; }
.section-h .hint { color: var(--muted); font-size: .8rem; margin-left: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 99px; background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }
.pill.live { background: rgba(251,113,133,.15); color: var(--hot); border-color: rgba(251,113,133,.35); }
.pill.green { background: rgba(61,220,151,.14); color: var(--accent); border-color: rgba(61,220,151,.3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(251,113,133,.5);} 70% { box-shadow: 0 0 0 8px rgba(251,113,133,0);} 100% { box-shadow: 0 0 0 0 rgba(251,113,133,0);} }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: .95rem;
  background: linear-gradient(135deg, var(--accent), #2bb37a); color: #06231a; }
.btn.secondary { background: var(--card-2); color: var(--text); border: 1px solid var(--line); }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn:active { transform: translateY(1px); }
.btn.block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 22px 20px; margin-bottom: 6px;
  background: linear-gradient(135deg, #123b57, #0d233b 70%); border: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(61,220,151,.18), transparent 60%); }
.hero h1 { font-size: 1.55rem; font-weight: 900; letter-spacing: .2px; position: relative; }
.hero .tag { color: var(--muted); font-size: .88rem; position: relative; margin-top: 2px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; position: relative; }
.countdown { display: flex; gap: 8px; margin-top: 16px; position: relative; }
.cd-box { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 0; text-align: center; flex: 1; }
.cd-box b { font-size: 1.35rem; display: block; font-variant-numeric: tabular-nums; }
.cd-box span { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-live { display: none; position: relative; margin-top: 14px; }

/* ---------- Dashboard grid ---------- */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.dash .tile { padding: 14px; }
.dash .tile.wide { grid-column: 1 / -1; }
.tile .k { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.tile .big { font-size: 1.05rem; font-weight: 800; margin-top: 6px; }
.tile .sub { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.mini-rank { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.mini-rank .medal { font-size: 1.1rem; width: 22px; text-align: center; }
.mini-rank img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); object-fit: cover; }
.mini-rank .nm { font-weight: 700; font-size: .9rem; flex: 1; }
.mini-rank .pts { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- Avatars ---------- */
.av { border-radius: 50%; object-fit: cover; background: var(--card-2); }
.av-ring { border-radius: 50%; padding: 2px; background: var(--line); display: inline-block; }

/* ---------- 3D House ---------- */
.house-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, #0e2136, #0a1626); }
#house-canvas { width: 100%; height: 340px; display: block; touch-action: none; }
.house-controls { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.house-controls button { background: rgba(10,20,34,.8); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; font-size: .82rem; color: var(--text); backdrop-filter: blur(6px); }
.house-hint { position: absolute; bottom: 8px; left: 10px; right: 10px; color: var(--muted); font-size: .72rem;
  background: rgba(10,20,34,.6); padding: 5px 9px; border-radius: 8px; backdrop-filter: blur(4px); }
.house-room-toast { position: absolute; top: 10px; left: 10px; max-width: 60%; background: rgba(10,20,34,.85);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: .8rem; display: none; }
.house-room-toast b { color: var(--accent); }
.house-fallback { display: none; padding: 24px; text-align: center; color: var(--muted); }
.house-avatars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.house-av { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column;
  align-items: center; pointer-events: auto; cursor: pointer; will-change: left, top; }
.house-av img { border-radius: 50%; border: 2px solid; object-fit: cover; background: #16263c;
  box-shadow: 0 3px 9px rgba(0,0,0,.55); display: block; }
.house-av .nm { margin-top: 2px; font-size: 10px; font-weight: 800; color: var(--text);
  background: rgba(8,16,26,.72); padding: 1px 6px; border-radius: 7px; white-space: nowrap; line-height: 1.4; }
.house-av:hover img { border-width: 3px; }
.house-av:active { transform: translate(-50%, -100%) scale(.92); }

/* ---------- Leaderboard ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.filters button { white-space: nowrap; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font-weight: 700; font-size: .82rem; }
.filters button.active { background: var(--accent); color: #06231a; border-color: transparent; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.lb-row:last-child { border-bottom: none; }
.lb-row:active { background: var(--card-2); }
.lb-rank { width: 30px; text-align: center; font-weight: 900; font-size: 1.05rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-row.top1 .lb-rank { color: var(--gold); } .lb-row.top2 .lb-rank { color: var(--silver); } .lb-row.top3 .lb-rank { color: var(--bronze); }
.lb-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); flex-shrink: 0; }
.lb-row.top1 .lb-av { border-color: var(--gold); } .lb-row.top2 .lb-av { border-color: var(--silver); } .lb-row.top3 .lb-av { border-color: var(--bronze); }
.lb-main { flex: 1; min-width: 0; }
.lb-name { font-weight: 800; font-size: .98rem; display: flex; align-items: center; gap: 7px; }
.lb-name .crown { font-size: .95rem; }
.lb-sub { color: var(--muted); font-size: .76rem; margin-top: 1px; }
.lb-move { font-size: .82rem; font-weight: 800; width: 34px; text-align: right; }
.lb-move.up { color: var(--accent); } .lb-move.down { color: var(--hot); } .lb-move.same { color: var(--muted-2); }
.lb-pts { font-weight: 900; font-size: 1.1rem; color: var(--text); width: 46px; text-align: right; font-variant-numeric: tabular-nums; }
.spoon { margin-top: 12px; text-align: center; color: var(--muted); font-size: .82rem; }
.spoon b { color: var(--bronze); }

/* ---------- Generic list rows ---------- */
.row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: none; }
.row .grow { flex: 1; min-width: 0; }
.row h3 { font-size: .96rem; font-weight: 800; }
.row p { color: var(--muted); font-size: .82rem; margin-top: 2px; }

/* ---------- Participants grid ---------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.person { padding: 14px; text-align: center; cursor: pointer; }
.person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid; }
.person h3 { font-size: .95rem; font-weight: 800; }
.person .rr { color: var(--muted); font-size: .76rem; margin-top: 2px; }
.person .pp { color: var(--accent); font-weight: 800; font-size: .82rem; margin-top: 6px; }

/* ---------- Games ---------- */
.game-card { padding: 15px; margin-bottom: 12px; }
.game-card .gh { display: flex; align-items: center; gap: 8px; }
.game-card h3 { font-size: 1rem; font-weight: 800; flex: 1; }
.game-card p { color: var(--muted); font-size: .85rem; margin: 8px 0 12px; }
.vs { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 0; }
.vs img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.vs .vslabel { font-weight: 900; color: var(--hot); }
.vs .who { text-align: center; font-size: .8rem; font-weight: 700; }

/* ---------- Voting ---------- */
.vote-card { padding: 16px; margin-bottom: 14px; }
.vote-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.vote-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; margin-top: 9px; background: var(--bg-2); position: relative; overflow: hidden; }
.vote-opt .bar { position: absolute; inset: 0 auto 0 0; background: rgba(61,220,151,.16); z-index: 0; transition: width .5s ease; }
.vote-opt .lbl, .vote-opt .pct { position: relative; z-index: 1; }
.vote-opt .lbl { font-weight: 700; flex: 1; }
.vote-opt .pct { color: var(--muted); font-weight: 800; font-size: .85rem; }
.vote-opt.win { border-color: var(--accent); }
.vote-opt.chosen { box-shadow: inset 0 0 0 1px var(--accent); }
.vote-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: .8rem; }
.vote-meta .grow { flex: 1; }

/* ---------- Agenda ---------- */
.agenda-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; }
.agenda-day-btn { flex-shrink: 0; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font-weight: 800; text-align: center; }
.agenda-day-btn small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted-2); }
.agenda-day-btn.active { background: var(--card-2); color: var(--text); border-color: var(--accent); }
.agenda-day-btn.today { box-shadow: 0 0 0 2px rgba(61,220,151,.3); }
.day-block { margin-bottom: 18px; opacity: .55; transition: opacity .3s, transform .3s; }
.day-block.current { opacity: 1; }
.day-block .day-title { font-size: 1rem; font-weight: 900; margin: 4px 2px 10px; display: flex; align-items: center; gap: 8px; }
.day-block.current .day-title { font-size: 1.25rem; }
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.ag-item { position: relative; padding: 10px 0 10px 4px; }
.ag-item::before { content: ""; position: absolute; left: -17px; top: 16px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--muted-2); }
.day-block.current .ag-item::before { border-color: var(--accent); }
.ag-item.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61,220,151,.2); }
.ag-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.day-block.current .ag-card.now { border-color: var(--accent); }
.ag-time { font-weight: 900; font-variant-numeric: tabular-nums; color: var(--accent-2); font-size: .9rem; }
.ag-card h4 { font-size: .96rem; font-weight: 800; margin: 2px 0; }
.ag-card p { color: var(--muted); font-size: .82rem; }
.ag-card .ag-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- Rules ---------- */
.rule-group { margin-bottom: 16px; }
.rule-group h3 { font-size: .95rem; font-weight: 900; color: var(--accent); margin: 0 2px 8px; }
.rule-list { counter-reset: none; }
.rule-item { display: flex; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.rule-item:last-child { border-bottom: none; }
.rule-item .n { font-weight: 900; color: var(--muted-2); font-variant-numeric: tabular-nums; min-width: 22px; }

/* ---------- Photos ---------- */
.uploadbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.slideshow { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 4/3; }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slideshow img.on { opacity: 1; }
.slideshow .ss-ctrl { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slideshow .ss-ctrl button { background: rgba(10,20,34,.7); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.photo-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: pointer; background: var(--card-2); }

/* ---------- Bottom nav ---------- */
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: flex; height: var(--nav-h); padding-bottom: env(safe-area-inset-bottom);
  background: linear-gradient(180deg, rgba(15,28,46,.9), rgba(11,20,32,.98));
  backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.bottomnav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted-2); font-size: .66rem; font-weight: 700; }
.bottomnav button .ic { font-size: 1.25rem; line-height: 1; }
.bottomnav button.active { color: var(--accent); }

/* ---------- Modal / sheet ---------- */
.sheet-back { position: fixed; inset: 0; z-index: 60; background: rgba(3,8,15,.7); backdrop-filter: blur(3px);
  display: none; align-items: flex-end; justify-content: center; }
.sheet-back.open { display: flex; }
.sheet { width: min(760px, 100%); max-height: 92vh; overflow-y: auto; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: var(--shadow);
  animation: slideup .28s ease; }
@keyframes slideup { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-handle { width: 44px; height: 4px; border-radius: 99px; background: var(--line); margin: 10px auto 4px; }
.sheet-close { position: sticky; top: 8px; margin-left: auto; margin-right: 12px; }
.sheet-body { padding: 6px 18px 26px; }

/* Profile detail */
.pd-head { display: flex; gap: 14px; align-items: center; padding: 8px 0 14px; }
.pd-head img { width: 92px; height: 92px; border-radius: 20px; object-fit: cover; border: 3px solid; }
.pd-head h2 { font-size: 1.3rem; font-weight: 900; }
.pd-head .pd-role { color: var(--muted); font-size: .85rem; }
.pd-full { text-align: center; margin: 6px 0; }
.pd-full img { max-height: 260px; margin: 0 auto; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-fact { padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.pd-fact .k { color: var(--muted-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.pd-fact .v { font-weight: 700; font-size: .9rem; margin-top: 3px; }
.pd-fact.wide { grid-column: 1 / -1; }
.pd-quote { font-style: italic; color: var(--text); background: var(--card); border-left: 3px solid; padding: 12px 14px; border-radius: 10px; margin: 6px 0 14px; }
.pd-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.pd-photos img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* Organizer only */
.org-note { background: rgba(252,211,77,.1); border: 1px solid rgba(252,211,77,.35); color: var(--gold);
  border-radius: 12px; padding: 10px 13px; font-size: .82rem; margin-bottom: 14px; display: flex; gap: 8px; }
.log-item { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.log-item:last-child { border-bottom: none; }
.log-item .lt { color: var(--muted-2); font-size: .72rem; }
.score-editor { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.score-editor input { width: 66px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); text-align: center; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .8rem; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); }

/* Toast */
#toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 18px); transform: translateX(-50%) translateY(20px);
  background: var(--card-2); border: 1px solid var(--line); color: var(--text); padding: 11px 18px; border-radius: 99px;
  font-size: .88rem; font-weight: 700; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s; z-index: 80; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Lightbox */
#lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: none; place-items: center; padding: 20px; }
#lightbox.open { display: grid; }
#lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }

/* Confetti canvas */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 85; display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .desktop-nav { display: flex; }
  .bottomnav { display: none; }
  body { padding-bottom: 30px; }
  #house-canvas { height: 440px; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .photo-grid { grid-template-columns: repeat(5, 1fr); }
  .dash { grid-template-columns: repeat(3, 1fr); }
  .sheet-back { align-items: center; }
  .sheet { border-radius: 22px; max-height: 88vh; }
}
