:root {
  --cream: #F7EEEA;
  --blush: #F6D5D2;
  --rose: #E891A0;
  --rose-deep: #D96B80;
  --ink: #3F2F34;
  --mute: #8A6F76;
  --card: #FFF7F5;
  --line: rgba(63,47,52,.10);
  --ok: #7EB8A4;
  --shadow: 0 18px 40px rgba(63,47,52,.08);
  --radius: 22px;
  --pad: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%; width: 100%; max-width: 100%;
  overflow-x: hidden;
  background: var(--cream); color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
}
body {
  background:
    radial-gradient(900px 500px at 0% 0%, #F8D4CE 0%, transparent 55%),
    radial-gradient(800px 480px at 100% 10%, #F3E0D6 0%, transparent 50%),
    var(--cream);
}
#root, .hero, .site-nav, .features, .wrap { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.site-nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  padding: 12px var(--pad); max-width: 1120px; margin: 0 auto;
  width: 100%;
}
.logo { letter-spacing: .22em; font-size: 13px; font-weight: 650; }
.site-nav a { color: var(--mute); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a.on, .site-nav a:hover { color: var(--ink); }
.spacer { flex: 1; }
.btn {
  min-height: 44px; min-width: 44px; border: 0; border-radius: 999px;
  padding: 0 18px; cursor: pointer; background: #fff; color: var(--ink);
}
.btn.rose { background: var(--rose); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px;
  background: linear-gradient(180deg, #F3C9C4, #EED3C8);
  border-radius: 28px; overflow: hidden; min-height: 380px; margin: 8px auto 28px;
  max-width: 1120px;
}
.hero-copy { padding: 48px 40px; }
.hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(28px, 8vw, 64px); line-height: 1.02; }
.hero p { margin: 16px 0 24px; color: var(--mute); }
.hero-art {
  background:
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(63,47,52,.18)),
    radial-gradient(circle at 70% 30%, #F7D0C4, #C98B86 60%, #6E4A4A);
}
.features { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; max-width: 1120px; margin: 0 auto 48px; padding: 0 var(--pad); }
.feat { background: var(--card); border-radius: 18px; padding: 16px; min-height: 88px; box-shadow: var(--shadow); font-size: 14px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.chip { min-height: 40px; border: 0; border-radius: 999px; padding: 0 14px; background: #fff; cursor: pointer; }
.chip.on { background: var(--rose); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media {
  height: 180px; background: linear-gradient(160deg,#E7B3AD,#F3D6C8 50%,#C9DCE4);
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 8px;
}
.media.video { background: linear-gradient(160deg,#C98B7A,#F0C8B0 40%,#6A7D8A); }
.media.gallery { background: linear-gradient(160deg,#E8C48A,#F3E0C8); }
.media.text-ph { height: auto; min-height: 80px; background: #fff; display: block; padding: 16px; }
.badge { background: rgba(63,47,52,.55); color: #fff; border-radius: 999px; font-size: 11px; padding: 3px 8px; }
.meta { padding: 12px 14px 14px; }
.meta h3 { font-size: 14px; }
.meta p { color: var(--mute); font-size: 13px; margin: 4px 0 8px; }
.stars-inline { color: var(--rose-deep); font-size: 13px; }
.search { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: #fff; }
.legal { max-width: 720px; margin: 24px auto 80px; padding: 0 var(--pad); line-height: 1.55; }
.legal h1 { font-family: "Fraunces", Georgia, serif; font-weight: 500; margin-bottom: 12px; }
.legal h2 { margin: 22px 0 8px; font-size: 16px; }
.demo-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* app shell */
.app {
  max-width: 430px; margin: 0 auto; min-height: 100svh; position: relative;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg,#F8E4E0,#F7EEEA);
  overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.app-top { display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 16px 8px; }
.app-top .logo { letter-spacing: .2em; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; }
.feed { padding: 0 14px 20px; display: grid; gap: 16px; }
.feed-card { background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.feed-media { height: 260px; position: relative;
  background: linear-gradient(180deg,#E7A898,#F0D2C4 45%,#8AA0B0); }
.feed-media.gallery { height: 380px; background: linear-gradient(180deg,#E8C48A,#F6E4C8); }
.feed-media.text { height: auto; min-height: 220px; background: #fff; padding: 22px 18px 16px; }
.feed-media .count { position: absolute; top: 12px; left: 12px; background: rgba(63,47,52,.5); color: #fff;
  border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.who { display: flex; gap: 8px; align-items: center; padding: 10px 14px; font-size: 13px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-size: 11px; }
.stats { display: flex; gap: 12px; padding: 0 14px 14px; align-items: center; font-size: 13px; }
.dock {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom)); width: min(400px, calc(100% - 24px));
  background: rgba(255,247,245,.92); backdrop-filter: blur(16px);
  border-radius: 22px; display: grid; grid-template-columns: repeat(5,1fr);
  box-shadow: var(--shadow); padding: 6px;
}
.dock button { border: 0; background: transparent; min-height: 52px; font-size: 11px; color: var(--mute); }
.dock button.on { color: var(--ink); font-weight: 600; }
.dock .plus { background: var(--rose); color: #fff; border-radius: 16px; }

.overlay { position: fixed; inset: 0; background: rgba(63,47,52,.35); backdrop-filter: blur(10px);
  display: none; align-items: flex-end; justify-content: center; z-index: 20; }
.overlay.open { display: flex; }
.sheet { background: var(--card); width: min(430px, 100%); border-radius: 28px 28px 0 0; padding: 18px 18px 28px; }
.stars { display: flex; justify-content: center; gap: 8px; margin: 12px 0; }
.star { width: 48px; height: 48px; border: 0; background: transparent; font-size: 28px; color: #E2C4C4; }
.star.on { color: var(--rose-deep); }
.preview { text-align: center; color: var(--mute); min-height: 24px; }
.score-hero { text-align: center; padding: 40px 16px; }
.orb {
  width: 168px; height: 168px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-size: 42px;
  background: conic-gradient(from 220deg, var(--rose), #F3D0C8 40%, #fff);
  box-shadow: var(--shadow);
}
.ai-list { display: grid; gap: 8px; padding: 8px 16px 20px; }
.ai-row { background: var(--card); border-radius: 16px; padding: 12px 14px; }
.dd { text-align: center; padding: 36px 20px; }
.dd .heart { font-size: 64px; line-height: 1; }
.delta { font-size: 48px; font-family: "Fraunces", Georgia, serif; color: var(--rose-deep); }
.panel { padding: 12px 16px 24px; }
.field { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: #fff; margin: 8px 0; }
textarea.field { min-height: 88px; resize: vertical; }
.drop {
  border: 1.5px dashed rgba(217,107,128,.45); border-radius: 18px; min-height: 140px;
  display: grid; place-items: center; text-align: center; color: var(--mute); background: #fff; padding: 16px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 0 12px 20px;
    width: calc(100% - 24px);
  }
  .hero-copy { padding: 28px 20px 12px; }
  .hero h1 { font-size: clamp(28px, 9vw, 40px); }
  .hero-art { min-height: 140px; }
  .hero .btn { width: 100%; }
  .features { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .site-nav .hide-sm,
  .site-nav .btn { display: none; }
  .site-nav { justify-content: space-between; }
  .spacer { display: none; }
}

@media (max-width: 860px) {
  html, body { overflow-x: hidden; }
  .site-nav { gap: 6px; padding: 8px 12px; }
  .site-nav .hide-sm, .site-nav .desk-only { display: none !important; }
  .site-nav .btn.ghost { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin: 0 10px 16px; }
  .hero-copy { padding: 22px 18px 12px; }
  .hero h1 { font-size: 34px; line-height: 1.05; }
  .hero-art { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .btn { max-width: 100%; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr !important; min-height: 0; margin: 0 12px 20px; }
  .hero-copy { padding: 28px 20px 24px; }
  .hero-art { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .site-nav { gap: 8px; }
  .site-nav .hide-sm, .site-nav .btn { display: none !important; }
  .site-nav .logo { margin-right: auto; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 32px; }
  .features { grid-template-columns: 1fr; }
}
.cam {
  position: relative;
  min-height: 100svh;
  background: #1c1014;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: calc(8px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
  gap: 10px;
}
.cam-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}
.cam-top .logo { color: #fff; letter-spacing: .28em; font-size: 12px; }
.cam-top .icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
}
.cam-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background: #2a181c;
}
.cam-live, .cam video, .cam-video, #camLive {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.cam-note {
  position: absolute;
  left: 12px; right: 12px; bottom: 14px;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  pointer-events: none;
}
.cam-dock {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}
.heart-btn, .shutter {
  width: 76px; height: 76px; border-radius: 50%;
  border: 4px solid #fff;
  background: radial-gradient(circle at 32% 28%, #ffd4dc, #E891A0 58%, #c45d72);
  font-size: 30px;
  box-shadow: 0 10px 28px rgba(232,145,160,.4);
  position: relative;
  z-index: 5;
}
.heart-btn.rec, .shutter.rec, .shutter.hot {
  background: #ff4d6d;
  box-shadow: 0 0 0 6px rgba(255,77,109,.35);
}
.mode-slider {
  position: relative;
  left: auto; right: auto; bottom: auto;
  transform: none;
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 4px;
}
.mode, .mode-slider button {
  border: 0; background: transparent; color: #fff;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
}
.mode.on, .mode-slider button.on { background: #fff; color: #3F2F34; }
.cam-tools { display: flex; gap: 8px; }
.cam-tools .btn { background: rgba(255,255,255,.12); color: #fff; border: 0; }
.dock .heart {
  background: radial-gradient(circle at 35% 30%, #ffd0da, #E891A0);
  color: #fff; border-radius: 50%; width: 58px; height: 58px;
  font-size: 26px; justify-self: center;
  box-shadow: 0 8px 20px rgba(217,107,128,.35);
}


.timeline { padding: 12px 16px 96px; }
.timeline .row { background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 8px; }

.feed-media { position: relative; overflow: hidden; }
.feed-media img, .feed-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* framed camera — last rules win */
html, body { overflow-x: hidden; overflow-y: auto !important; max-width: 100vw; height: auto; }
.cam-root, .cam { overflow: hidden !important; }
.cam-root { padding: 0 !important; }
.cam {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(232,145,160,.28), transparent 55%),
    #1a1014 !important;
  z-index: 40;
}
.cam-top {
  position: relative !important;
  z-index: 5 !important;
  flex: 0 0 auto;
  padding: calc(10px + env(safe-area-inset-top)) 14px 8px !important;
}
.cam-live, .cam video.cam-live {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  flex: 1 1 auto !important;
  margin: 0 14px !important;
  border-radius: 28px !important;
  border: 0 solid transparent !important;
  box-shadow: none;
  object-fit: cover !important;
  background: #2a181c !important;
  pointer-events: none !important;
  min-height: 0 !important;
}
.cam-note {
  position: relative !important;
  left: auto !important; right: auto !important; bottom: auto !important;
  z-index: 5;
  padding: 8px 16px 4px !important;
}
.cam-dock {
  position: relative !important;
  left: auto !important; right: auto !important; bottom: auto !important;
  z-index: 6 !important;
  flex: 0 0 auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px calc(14px + env(safe-area-inset-bottom)) !important;
  background: linear-gradient(180deg, transparent, rgba(26,16,20,.55));
}
.heart-btn, .shutter {
  width: 78px !important; height: 78px !important;
  border-radius: 50% !important;
  border: 4px solid #fff !important;
  background: radial-gradient(circle at 35% 30%, #ffd0d8, #E891A0) !important;
  font-size: 30px !important;
  z-index: 7 !important;
}
.mode-slider { position: relative !important; left: auto !important; bottom: auto !important; transform: none !important; }

.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;display:block}

img.avatar { width:32px;height:32px;border-radius:50%;object-fit:cover; }

html, body { overflow-y: auto !important; height: auto !important; }
body.cam-open, .cam-root { overflow: hidden !important; height: 100svh !important; }
.app, .feed, .panel, #root { overflow: visible; }
.feed { padding-bottom: 120px; }
.cam-live, .cam video.cam-live {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 18px !important;
}
.cam-stage {
  margin: 0 14px;
  padding: 4px;
  border-radius: 24px;
  border: 0;
  background: #1a1014;
  flex: 1;
  min-height: 0;
  display: flex;
}

html, body { overflow-y: auto !important; height: auto !important; }
body.cam-lock, .cam-root, .cam { overflow: hidden !important; height: 100svh; }
.app, .feed, .wrap, .page, .timeline, .panel { overflow-x: hidden; overflow-y: visible; }
.feed, .timeline, .wrap, .panel { padding-bottom: 110px; }
.cam-stage, .cam-frame, .viewfinder {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.cam-live, .cam video { border-radius: 18px; }

.app, .page, .wrap, #root { overflow-x: hidden; }
.app { min-height: 100svh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0; }
.feed, .timeline, .grid { overflow: visible; padding-bottom: 110px; }
.dock { position: fixed; z-index: 20; }

.prof { padding: 0 16px 120px; }
.prof-cover { height: 92px; margin: 0 -16px 0; background: linear-gradient(180deg,#F4C4B0,#FBF4EE); }
.prof-head { display:flex; align-items:flex-end; justify-content:space-between; margin-top:-36px; }
.prof-photo, .prof-photo.letter {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; background: #E891A0; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:32px;
}
.prof-name { font-family: Fraunces, serif; font-weight: 500; font-size: 28px; margin: 10px 0 0; }
.prof-bio { line-height: 1.45; margin: 8px 0 14px; }
.prof-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:8px; margin-bottom:12px; }
.prof-stats div { background:#fff; border-radius:16px; padding:12px; text-align:center; }
.prof-stats span { display:block; font-size:12px; color:#8a6e74; }

.profile { padding: 0 16px 8px; }
.prof-cover { height: 92px; margin: 0 -16px; background: linear-gradient(120deg,#F8E8E6,#F4C4B0 55%,#E891A0); }
.prof-head { display: flex; align-items: flex-end; gap: 12px; margin-top: -28px; }
.prof-av, .prof-av.letter { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: #F8E8E6; }
.prof-av.letter { display: flex; align-items: center; justify-content: center; font-size: 28px; font-family: Fraunces, serif; }
.prof-id { flex: 1; min-width: 0; }
.prof-id h1 { margin: 0; font-family: Fraunces, serif; font-weight: 500; font-size: 22px; }
.prof-id p { margin: 2px 0 0; color: #8a6d74; font-size: 13px; }
.prof-bio { margin: 12px 0; line-height: 1.45; }
.prof-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.prof-stats div { background: #fff; border-radius: 16px; padding: 10px 8px; text-align: center; }
.prof-stats b { display: block; font-size: 18px; }
.prof-stats span { font-size: 11px; color: #8a6d74; }
.timeline-row { background: #fff; border-radius: 14px; padding: 12px; margin: 0 14px 8px; }

.profile { padding-bottom: 110px; }
.profile-cover { height: 120px; background: linear-gradient(120deg,#F4C4B0,#F2B8C0 40%,#E7A898); }
.profile-card { margin: -48px 16px 12px; background:#fff; border-radius:22px; padding:16px 16px 18px; box-shadow:0 10px 30px rgba(63,47,52,.08); text-align:center; }
.profile-av, .profile-av.letter { width:86px; height:86px; border-radius:50%; object-fit:cover; margin:-52px auto 8px; border:4px solid #fff; background:#F4C4B0; display:flex; align-items:center; justify-content:center; font-size:32px; font-weight:600; }
.profile-card h1 { font-family:Fraunces,serif; font-weight:500; font-size:26px; margin:4px 0 0; }
.profile-card .handle { color:#8a6f75; margin:2px 0 8px; }
.profile-card .bio { line-height:1.45; margin:0 0 10px; }
.orb.mini { width:72px; height:72px; margin:8px auto; display:flex; align-items:center; justify-content:center; border-radius:50%; background:conic-gradient(#E891A0 0 70%, #FBF4EE 0); font-weight:650; }
.p-stats { display:flex; justify-content:space-around; margin:12px 0; font-size:13px; }
.p-stats b { display:block; font-size:16px; }
.p-actions { display:flex; gap:8px; }
.p-actions .btn { flex:1; }

.profile { padding-bottom: 24px; }
.profile-cover { height: 120px; background: linear-gradient(180deg,#F4C4B0,#F8E4E0); }
.profile-card { margin: -48px 16px 16px; background:#fff; border-radius:24px; padding:16px; text-align:center; box-shadow: var(--shadow, 0 8px 30px rgba(63,47,52,.08)); }
.profile-ava, .profile-ava.letter { width:96px; height:96px; border-radius:50%; object-fit:cover; margin:-56px auto 8px; border:4px solid #fff; background:#F6D5D2; display:grid; place-items:center; font-size:36px; font-family:Fraunces,serif; }
.profile-card h1 { font-family:Fraunces,serif; font-weight:500; font-size:26px; margin:4px 0; }
.profile-bio { margin:8px 0 12px; color:#5c4a50; }
.profile-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:12px 0; }
.profile-stats div { background:#FBF4EE; border-radius:16px; padding:10px 6px; }
.profile-stats b { display:block; font-size:18px; }
.profile-stats span { font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:#8A6F76; }

.cam.snapish, .cam-root.snapish { background:#000; }
.cam.snapish { position:fixed; inset:0; display:block; overflow:hidden; }
.cam.snapish .cam-live {
  position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
  object-fit:cover !important; margin:0 !important; border:0 !important; border-radius:0 !important;
  z-index:0 !important;
}
.cam-hud-top { position:absolute; top:calc(8px + env(safe-area-inset-top)); left:10px; right:10px;
  z-index:5; display:flex; gap:8px; align-items:center; }
.hud-round { width:40px; height:40px; border:0; border-radius:50%; background:rgba(0,0,0,.35); color:#fff; }
.hud-spacer { flex:1; }
.cam-tools { position:absolute; right:10px; top:22%; z-index:5; display:flex; flex-direction:column; gap:10px; }
.cam-tools button { width:40px; height:40px; border:0; border-radius:50%; background:rgba(0,0,0,.35); color:#fff; }
.cam-tools button.on { background:#E891A0; }
.zoom-pill { position:absolute; left:50%; transform:translateX(-50%); bottom:168px; z-index:5;
  display:flex; gap:6px; background:rgba(0,0,0,.4); padding:4px 8px; border-radius:999px; }
.zoom-pill button { border:0; background:transparent; color:#fff; min-width:36px; }
.zoom-pill button.on { color:#F2C14E; font-weight:700; }
.cam.snapish .cam-note { position:absolute; left:0; right:0; bottom:148px; z-index:5; }
.cam-hud-bottom { position:absolute; left:0; right:0; bottom:calc(72px + env(safe-area-inset-bottom));
  z-index:6; display:flex; align-items:center; justify-content:space-around; }
.shutter-ring {
  width:76px; height:76px; border-radius:50%; border:4px solid #fff; background:transparent;
  box-shadow:0 0 0 3px rgba(0,0,0,.2);
}
.shutter-ring.rec { background:#E891A0; }
.hud-side, .hud-thumb {
  width:48px; height:48px; border-radius:16px; border:0; background:rgba(255,255,255,.18); color:#fff;
}
.hud-thumb { border-radius:50%; background-size:cover; background-position:center; }
.cam.snapish .mode-slider { position:absolute; left:50%; transform:translateX(-50%);
  bottom:calc(18px + env(safe-area-inset-bottom)); z-index:6; }

.cam.snap { background:#000; min-height:100svh; }
.cam.snap .cam-live { position:fixed; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.snap-top, .snap-side, .snap-bottom, .snap-zoom, .cam.snap .cam-note { position:fixed; z-index:3; }
.snap-top { top:calc(8px + env(safe-area-inset-top)); left:10px; right:10px; display:flex; gap:8px; align-items:center; }
.snap-spacer { flex:1; }
.s-ico { width:40px; height:40px; border:0; border-radius:50%; background:rgba(0,0,0,.35); color:#fff; font-size:16px; }
.s-ico.on { background:var(--rose); }
.snap-side { right:10px; top:22%; display:flex; flex-direction:column; gap:10px; }
.snap-zoom { left:50%; transform:translateX(-50%); bottom:210px; display:flex; gap:6px; background:rgba(0,0,0,.4); padding:4px; border-radius:999px; }
.snap-zoom button { border:0; background:transparent; color:#fff; min-width:36px; min-height:32px; border-radius:999px; }
.snap-zoom button.on { background:#fff; color:#111; font-weight:700; }
.cam.snap .cam-note { left:0; right:0; bottom:178px; text-align:center; color:#fff; }
.snap-bottom { left:0; right:0; bottom:calc(12px + env(safe-area-inset-bottom)); display:grid; justify-items:center; gap:8px; }
.shutter-ring { width:76px; height:76px; border-radius:50%; border:4px solid #fff; background:transparent; display:grid; place-items:center; }
.shutter-ring span { font-size:26px; }
.shutter-ring.rec { border-color:#ff4d6d; background:rgba(255,77,109,.25); }
.mem-btn, .txt-link { border:0; background:rgba(0,0,0,.35); color:#fff; border-radius:14px; min-height:36px; padding:0 12px; }
.recents { position:absolute; right:16px; bottom:88px; display:flex; gap:6px; }
.recents img { width:44px; height:44px; border-radius:50%; object-fit:cover; border:2px solid #fff; }
.cam.snap .mode-slider { position:static; transform:none; }

.cam.snapish, .cam.snap { position:fixed; inset:0; background:#0b0708; overflow:hidden; }
.cam.snapish .cam-live, .cam.snap .cam-live.bleed, .cam.snapish video {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border:0 !important; border-radius:0 !important; pointer-events:none;
}
.cam-hud-top { position:absolute; top:calc(8px + env(safe-area-inset-top)); left:10px; right:10px; display:flex; gap:8px; z-index:6; }
.hud-round { width:40px; height:40px; border-radius:50%; border:0; background:rgba(0,0,0,.35); color:#fff; }
.cam-tools { position:absolute; right:10px; top:22%; display:flex; flex-direction:column; gap:10px; z-index:6; }
.cam-tools button, .tool {
  width:42px; height:42px; border-radius:50%; border:0; background:rgba(0,0,0,.35); color:#fff; font-size:14px;
}
.cam-tools button.on, .tool.on { background:#E891A0; }
.zoom-pill { position:absolute; left:50%; transform:translateX(-50%); bottom:168px; display:flex; gap:6px;
  background:rgba(0,0,0,.4); border-radius:999px; padding:4px; z-index:6; }
.zoom-pill button { border:0; background:transparent; color:#fff; min-height:32px; padding:0 10px; border-radius:999px; }
.zoom-pill button.on { background:#fff; color:#111; }
.cam-hud-bottom, .snap-dock {
  position:absolute; left:0; right:0; bottom:calc(56px + env(safe-area-inset-bottom));
  display:flex; align-items:center; justify-content:space-around; z-index:6;
}
.shutter-ring {
  width:78px; height:78px; border-radius:50%; border:5px solid #fff; background:transparent;
  box-shadow:0 0 0 6px rgba(255,255,255,.15);
}
.shutter-ring.rec { background:#d94a5a; border-color:#d94a5a; }
.hud-side, .lib-btn { min-height:44px; border:0; background:rgba(0,0,0,.35); color:#fff; border-radius:999px; padding:0 14px; }
.hud-thumb { width:48px; height:48px; border-radius:50%; border:2px solid #fff; background:rgba(255,255,255,.2); overflow:hidden; }

.cam.snap { position:fixed; inset:0; background:#000; color:#fff; overflow:hidden; }
.cam.snap .cam-live { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.snap-top { position:absolute; top:calc(8px + env(safe-area-inset-top)); left:10px; right:10px; z-index:3; display:flex; align-items:center; gap:8px; }
.snap-title { margin-right:auto; letter-spacing:.2em; font-size:12px; }
.snap-ico { width:44px; height:44px; border:0; border-radius:50%; background:rgba(0,0,0,.35); color:#fff; }
.snap-ico.on { background:#E891A0; }
.snap-zoom { position:absolute; left:50%; bottom:168px; transform:translateX(-50%); z-index:3; display:flex; gap:6px; background:rgba(0,0,0,.4); padding:4px; border-radius:999px; }
.snap-zoom button { border:0; background:transparent; color:#fff; min-width:40px; min-height:36px; border-radius:999px; }
.snap-zoom button.on { background:#fff; color:#111; }
.cam.snap .cam-note { position:absolute; left:0; right:0; bottom:132px; z-index:3; text-align:center; color:#fff; text-shadow:0 1px 6px #000; }
.snap-bot { position:absolute; left:0; right:0; bottom:calc(18px + env(safe-area-inset-bottom)); z-index:4; display:flex; align-items:center; justify-content:space-around; padding:0 18px; }
.snap-mem { width:48px; height:48px; border-radius:14px; border:0; background:rgba(255,255,255,.18); color:#fff; font-size:22px; }
.snap-shutter { width:78px; height:78px; border-radius:50%; border:5px solid #fff; background:transparent; box-shadow:0 0 0 6px rgba(255,255,255,.15); }
.snap-shutter.rec { background:#ff3b5c; border-color:#ff3b5c; transform:scale(.92); }
.snap-recents { width:52px; height:52px; }
.snap-recents img { width:52px; height:52px; border-radius:50%; object-fit:cover; border:2px solid #fff; }
