@font-face {
  font-family: "Noto Sans JP";
  src: url("assets/fonts/NotoSansJP-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans JP";
  src: url("assets/fonts/IBMPlexSansJP-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #09090b;
  --ink: #f8f7f2;
  --ink-dark: #111114;
  --muted: #b7b0ac;
  --muted-dark: #8a817d;
  --card: #18181b;
  --panel: #18181b;
  --panel-2: #1f1f24;
  --beer: #d99b32;
  --beer-light: #e8c06a;
  --foam: #fff7dc;
  --accent: #d42f3e;
  --accent-deep: #8e1d28;
  --accent-soft: rgba(212, 47, 62, 0.2);
  --green: #33c08f;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.46);
  --nav-h: 82px;
  --font-body: "Noto Sans JP", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "IBM Plex Sans JP", "Noto Sans JP", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-family: var(--font-body);
  background: var(--bg);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; background: var(--bg); overflow: hidden; }
body { color: var(--ink); }
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(255, 207, 99, 0.65); outline-offset: 3px; }

.app-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 640px;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 79, 109, 0.22), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 207, 99, 0.16), transparent 22%),
    #07070a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.screen-stack { height: 100%; }
.screen {
  display: none;
  height: 100%;
  padding: calc(env(safe-area-inset-top) + 18px) 18px calc(var(--nav-h) + env(safe-area-inset-bottom) + 18px);
  overflow-y: auto;
  scrollbar-width: none;
}
.screen::-webkit-scrollbar { display: none; }
.screen.is-active { display: block; }

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.brand-block { min-width: 0; }
.eyebrow {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.screen-title {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
}
.top-pill {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.home-hero {
  min-height: calc(100dvh - 190px);
  display: grid;
  align-content: start;
  gap: 18px;
}
.home-card {
  position: relative;
  min-height: 468px;
  margin-inline: -18px;
  padding: 18px 16px 20px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.98), transparent 22%),
    radial-gradient(circle at 88% 8%, rgba(255, 79, 109, 0.24), transparent 25%),
    linear-gradient(152deg, #f8f3eb 0%, #ffffff 50%, #ffe09c 100%);
  color: var(--ink-dark);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}
.home-card::before,
.home-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.home-card::before {
  width: 172px;
  height: 172px;
  right: -56px;
  top: -44px;
  background: rgba(255, 79, 109, 0.17);
}
.home-card::after {
  width: 230px;
  height: 230px;
  left: -92px;
  bottom: -104px;
  background: rgba(246, 178, 45, 0.2);
}
.home-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}
.home-heading {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(21px, 5.9vw, 26px);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: 0.05em;
}
.home-hint {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: grid;
  justify-items: center;
  gap: 5px;
  font-weight: 800;
}
.home-hint .hint-arrow {
  font-size: 21px;
  line-height: 1;
}
.home-hint .hint-push {
  font-size: 17px;
  letter-spacing: 0.08em;
}
.home-hint .hint-expire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.82;
}
.home-hint .hint-expire::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 1.6px solid currentColor;
  border-radius: 999px;
  background:
    linear-gradient(currentColor, currentColor) 50% 26% / 1.6px 34% no-repeat,
    linear-gradient(currentColor, currentColor) 62% 46% / 26% 1.6px no-repeat;
}
.beer-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(91.4vw, 402px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
  color: var(--ink-dark);
  background:
    radial-gradient(circle at 33% 20%, rgba(255, 255, 255, 0.98) 0 8%, transparent 9%),
    radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.88) 0 6%, transparent 7%),
    linear-gradient(160deg, #fff5c7 0%, #ffd75c 34%, #f5a018 64%, #d8750f 100%);
  box-shadow:
    inset 0 18px 30px rgba(255, 255, 255, 0.66),
    inset 0 -28px 34px rgba(104, 45, 0, 0.28),
    0 31px 62px rgba(246, 178, 45, 0.38),
    0 10px 25px rgba(255, 79, 109, 0.2),
    0 0 0 10px rgba(255, 255, 255, 0.82),
    0 0 0 21px rgba(255, 79, 109, 0.2);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.beer-cta::before,
.beer-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.beer-cta::before {
  z-index: -1;
  transform: translateY(16px) scale(0.92);
  background: rgba(78, 28, 0, 0.18);
  filter: blur(12px);
}
.beer-cta::after {
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 2px rgba(84, 38, 0, 0.1);
}
.beer-cta:active { transform: scale(0.965) translateY(3px); filter: saturate(1.1); }
.beer-cta.is-posted { background: linear-gradient(155deg, #fff8d8 0%, #ffd45b 46%, #ff655f 100%); }
.beer-cta.is-soft {
  background: #0d1a16 url("assets/soft-button.jpg") center / cover no-repeat;
  box-shadow:
    inset 0 18px 30px rgba(255, 255, 255, 0.7),
    inset 0 -28px 34px rgba(0, 74, 97, 0.22),
    0 31px 62px rgba(78, 199, 255, 0.34),
    0 10px 25px rgba(255, 79, 109, 0.16),
    0 0 0 10px rgba(255, 255, 255, 0.82),
    0 0 0 21px rgba(78, 199, 255, 0.18);
}
.beer-liquid {
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  bottom: 8%;
  height: 56%;
  border-radius: 0 0 999px 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.36), transparent 18%),
    linear-gradient(180deg, rgba(255, 214, 90, 0.92), rgba(232, 126, 13, 0.96));
  clip-path: ellipse(50% 56% at 50% 44%);
}
.beer-bubbles {
  position: absolute;
  z-index: 1;
  width: 62%;
  height: 24%;
  top: 15%;
  left: 19%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 8% 56%, var(--foam) 0 13%, transparent 14%),
    radial-gradient(circle at 25% 34%, var(--foam) 0 18%, transparent 19%),
    radial-gradient(circle at 48% 44%, var(--foam) 0 16%, transparent 17%),
    radial-gradient(circle at 70% 30%, var(--foam) 0 19%, transparent 20%),
    radial-gradient(circle at 88% 55%, var(--foam) 0 14%, transparent 15%);
  filter: drop-shadow(0 7px 0 rgba(255, 244, 196, 0.46));
}
.beer-face {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 136px;
  margin-bottom: 38px;
  filter: drop-shadow(0 12px 14px rgba(96, 44, 0, 0.22));
}
.beer-mug {
  position: absolute;
  inset: 20px 18px 0 7px;
  border: 7px solid rgba(48, 24, 0, 0.86);
  border-top: 0;
  border-radius: 14px 14px 24px 24px;
  background:
    linear-gradient(to bottom, var(--foam) 0 23%, transparent 24%),
    linear-gradient(90deg, rgba(255,255,255,0.56), transparent 18% 72%, rgba(109,55,0,0.2)),
    linear-gradient(to bottom, var(--beer-light), var(--beer) 68%, #de8315);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.18),
    inset 9px 0 0 rgba(255, 255, 255, 0.16);
}
.beer-mug::before,
.beer-mug::after {
  content: "";
  position: absolute;
  top: -22px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--foam);
  box-shadow: 26px 0 0 var(--foam), 52px 4px 0 var(--foam);
}
.beer-mug::before { left: -4px; }
.beer-mug::after {
  right: -39px;
  top: 24px;
  width: 37px;
  height: 52px;
  border: 7px solid rgba(57, 28, 0, 0.8);
  border-left: 0;
  background: transparent;
  border-radius: 0 24px 24px 0;
  box-shadow: none;
}
.beer-copy {
  position: absolute;
  z-index: 4;
  left: 12%;
  right: 12%;
  bottom: 27px;
  display: grid;
  gap: 5px;
  text-align: center;
}
.beer-copy strong {
  font-size: clamp(29px, 7.7vw, 36px);
  line-height: 0.9;
  font-weight: 1000;
  letter-spacing: 0;
}
.beer-copy span {
  justify-self: center;
  min-width: 62px;
  padding: 5px 11px;
  border-radius: 999px;
  color: rgba(16,16,20,0.78);
  background: rgba(255,255,255,0.58);
  font-size: 12px;
  font-weight: 1000;
}
.beer-cta.is-soft .beer-liquid {
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.48), transparent 18%),
    linear-gradient(180deg, rgba(204, 255, 247, 0.94), rgba(60, 186, 255, 0.96));
}
.beer-cta.is-soft .beer-bubbles {
  top: 12%;
  height: 30%;
  background:
    radial-gradient(circle at 12% 60%, rgba(255,255,255,0.92) 0 8%, transparent 9%),
    radial-gradient(circle at 30% 32%, rgba(255,255,255,0.92) 0 12%, transparent 13%),
    radial-gradient(circle at 52% 52%, rgba(255,255,255,0.86) 0 9%, transparent 10%),
    radial-gradient(circle at 72% 26%, rgba(255,255,255,0.9) 0 11%, transparent 12%),
    radial-gradient(circle at 88% 58%, rgba(255,255,255,0.88) 0 8%, transparent 9%);
  filter: drop-shadow(0 7px 0 rgba(196, 255, 246, 0.38));
}
.beer-cta.is-soft .beer-mug {
  inset: 18px 22px 0 18px;
  border-color: rgba(7, 54, 69, 0.86);
  border-radius: 18px 18px 30px 30px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.86) 0 16%, transparent 17%),
    linear-gradient(90deg, rgba(255,255,255,0.62), transparent 18% 72%, rgba(0,68,93,0.18)),
    linear-gradient(to bottom, #dffff8, #77e9ff 56%, #4da1ff);
}
.beer-cta.is-soft .beer-mug::before {
  left: 8px;
  top: -20px;
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.94);
  box-shadow: 22px -8px 0 rgba(255,255,255,0.92), 48px 2px 0 rgba(255,255,255,0.86);
}
.beer-cta.is-soft .beer-mug::after { display: none; }
.home-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.meta-tile {
  padding: 13px;
  border-radius: 20px;
  background: rgba(16, 16, 20, 0.08);
}
.meta-tile b { display: block; margin-bottom: 3px; font-size: 18px; }
.meta-tile span { color: var(--muted-dark); font-size: 12px; font-weight: 750; }

.stack { display: grid; gap: 14px; }
.feed-card {
  position: relative;
  min-height: 235px;
  width: min(81vw, 356px);
  margin-inline: auto;
  padding: 18px;
  border-radius: 34px;
  background: var(--card);
  color: var(--ink-dark);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feed-card.hot { background: linear-gradient(145deg, #fffaf1, #ffd2d9 56%, #ffb74c); }
.card-top, .person-row, .viewer-row, .setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.person-row { justify-content: flex-start; }
.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #101014, #ff4f6d);
  font-weight: 1000;
}
.avatar.small { width: 34px; height: 34px; font-size: 12px; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.green { background: linear-gradient(145deg, #0f5840, #35d19a); }
.avatar.gold { background: linear-gradient(145deg, #7b4000, #ffcf63); color: #2a1600; }
.person-name { margin: 0; font-size: 16px; font-weight: 950; }
.person-sub { margin: 2px 0 0; color: var(--muted-dark); font-size: 12px; font-weight: 750; }
.time-badge {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  background: #101014;
  font-size: 12px;
  font-weight: 950;
}
.card-signal {
  margin: 22px 0 18px;
  font-size: clamp(32px, 9vw, 47px);
  line-height: 0.9;
  font-weight: 1000;
  letter-spacing: 0;
}
.join-button, .primary-action, .soft-action, .send-button, .ghost-button {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 1000;
  letter-spacing: 0;
}
.join-button, .primary-action, .send-button {
  color: #fff;
  background: linear-gradient(135deg, #ff4f6d, #ff7a3d 58%, #f6b22d);
  box-shadow: 0 14px 30px rgba(255, 79, 109, 0.24);
}
.soft-action {
  color: var(--ink-dark);
  background: linear-gradient(135deg, #eaffff, #92f2de 48%, #71c8ff);
  box-shadow: 0 14px 30px rgba(78, 199, 255, 0.22);
}
.ghost-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}
.empty-state {
  padding: 28px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.match-card, .dark-card, .settings-card {
  padding: 17px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}
.match-card {
  background: linear-gradient(145deg, rgba(53, 209, 154, 0.22), rgba(255, 255, 255, 0.08));
}
.match-label { margin: 0 0 4px; color: var(--green); font-size: 12px; font-weight: 950; }
.match-title { margin: 0; font-size: 22px; font-weight: 1000; }
.message-list {
  display: grid;
  gap: 10px;
  min-height: 310px;
  align-content: end;
  padding: 8px 0;
}
.message {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 20px;
  color: var(--ink-dark);
  background: var(--card);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}
.message.mine {
  justify-self: end;
  color: #fff;
  background: linear-gradient(145deg, #ff4f6d, #f6b22d);
}
.message-form {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 9px;
  padding: 10px 0 0;
  background: linear-gradient(to top, var(--bg) 76%, transparent);
}
.message-input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}
.send-button { min-height: 54px; }

.dual-camera {
  position: relative;
  min-height: 470px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(160deg, #22252b, #0d0d10);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.camera-main, .camera-selfie, .story-photo {
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  background:
    linear-gradient(130deg, rgba(255, 207, 99, 0.9), rgba(255, 79, 109, 0.86) 50%, rgba(23, 23, 27, 0.95)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.16) 0 2px, transparent 2px 13px);
}
.camera-selfie {
  inset: auto 22px 24px auto;
  width: 118px;
  height: 155px;
  border: 4px solid #fff;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff2cb, #19191f 65%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}
.camera-timer {
  position: absolute;
  left: 28px;
  top: 28px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #101014;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 1000;
}
.cheers-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.cheers-actions .primary-action, .cheers-actions .ghost-button { min-height: 56px; }

.story-shell {
  position: relative;
  min-height: 500px;
  border-radius: 36px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}
.story-photo { inset: 0; border-radius: 0; }
.story-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 45%, rgba(0,0,0,0.58));
}
.story-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.story-name { margin: 0; font-weight: 1000; }
.story-time { margin: 2px 0 0; color: rgba(255,255,255,0.74); font-size: 12px; font-weight: 800; }
.viewer-list { display: grid; gap: 10px; margin-top: 14px; }
.viewer-row { justify-content: flex-start; padding: 12px; border-radius: 18px; background: rgba(255,255,255,0.08); }

.settings-card { display: grid; gap: 12px; }
.invite-card { margin-bottom: 12px; }
.notification-settings-card { gap: 0; }
.notification-preference-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 7px;
  color: var(--ink);
}
.notification-preference-heading b { font-size: 14px; }
.notification-preference-heading span { color: var(--muted); font-size: 11px; font-weight: 750; text-align: right; }
.notification-preference-row { min-height: 68px; }
.notification-preference-row.is-locked { opacity: 0.72; }
.notification-time-row { padding-left: 12px; }
.invite-form { display: grid; grid-template-columns: minmax(0, 1fr) 46px 82px; gap: 9px; }
.invite-input { min-width: 0; width: 100%; }
.invite-form[aria-busy="true"] { opacity: 0.72; }
.invite-form button:disabled,
.invite-form input:disabled { cursor: wait; }
.invite-scan-button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}
.invite-scan-button span {
  position: relative;
  width: 21px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
}
.invite-scan-button span::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 5px;
  width: 7px;
  height: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.invite-scan-button span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 999px;
}
.invite-code {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-weight: 1000;
  letter-spacing: 0;
}
.setting-row.no-arrow::after { display: none; }
.setting-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row:last-child { border-bottom: 0; }
.setting-copy { min-width: 0; }
.setting-copy b { display: block; margin-bottom: 3px; }
.setting-copy span { display: block; color: var(--muted); font-size: 12px; font-weight: 750; }
.switch {
  position: relative;
  flex: 0 0 auto;
  width: 62px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.switch::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  left: 5px;
  top: 5px;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease;
}
.switch.is-on { background: var(--accent); }
.switch.is-on::after { transform: translateX(18px); }
.switch:disabled { cursor: not-allowed; opacity: 0.48; }
.select-field {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 12px;
  color: var(--ink);
  background: var(--panel-2);
  font-weight: 900;
}
.select-field:disabled { cursor: not-allowed; opacity: 0.48; }
.subtle-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.subtle-actions button {
  min-height: 44px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  font-weight: 900;
}

.friend-list-help {
  margin: 0 2px 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
}

.friend-card-head { padding-top: 2px; }
.friend-visibility-row { align-items: center; }
.friend-card-head::after,
.friend-visibility-row::after { display: none; }
.settings-back { min-width: 56px; min-height: 44px; }
.subtle-actions button:disabled { cursor: default; opacity: 0.52; }

.report-dialog-backdrop {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
  padding: 18px 18px calc(env(safe-area-inset-bottom) + 18px);
  background: rgba(3, 4, 8, 0.76);
  backdrop-filter: blur(8px);
}

.report-dialog {
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.report-dialog h2 { margin: 5px 0 12px; font-size: 22px; line-height: 1.35; }
.report-flow-copy { color: var(--muted); font-size: 13px; font-weight: 750; line-height: 1.55; }
.report-flow-copy p { margin: 0 0 8px; }
.report-flow-copy ul { margin: 0; padding-left: 1.35em; }
.report-reasons { display: grid; gap: 8px; margin: 16px 0; }
.report-reason {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--panel-2);
  font-weight: 850;
  text-align: left;
}
.report-reason.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.report-dialog-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; }
.report-dialog-actions .row-action { width: 100%; }

.notice-link {
  min-width: 74px;
}

.notice-card {
  gap: 12px;
  border-color: rgba(255, 255, 255, 0.1);
}

.notice-card.is-unread {
  border-color: rgba(217, 155, 50, 0.46);
  box-shadow: 0 18px 40px rgba(217, 155, 50, 0.12);
}

.notice-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.notice-status {
  display: inline-grid;
  min-width: 44px;
  min-height: 28px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.notice-card.is-unread .notice-status {
  background: rgba(217, 155, 50, 0.18);
  color: var(--beer-light);
}

.notice-body {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.notice-card.is-read .notice-body {
  color: var(--muted);
}

.notice-read-action {
  justify-self: end;
}

.bottom-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom) + 10px);
  height: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(18, 18, 22, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36);
}
.nav-item {
  display: grid;
  place-items: center;
  gap: 3px;
  border-radius: 18px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
}
.nav-item.is-active { color: var(--ink-dark); background: #fff; }
.nav-glyph { position: relative; display: block; width: 18px; height: 18px; }
.home-glyph { border-radius: 999px; background: currentColor; }
.feed-glyph, .settings-glyph { border: 2px solid currentColor; border-radius: 5px; }
.feed-glyph::after, .settings-glyph::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; border-top: 2px solid currentColor; }
.talk-glyph { border-radius: 6px; border: 2px solid currentColor; }
.talk-glyph::after { content: ""; position: absolute; right: -2px; bottom: -5px; border: 5px solid transparent; border-top-color: currentColor; }
.cheers-glyph { border-radius: 4px 4px 8px 8px; border: 2px solid currentColor; border-top: 0; }
.cheers-glyph::before { content: ""; position: absolute; left: -2px; right: -2px; top: -4px; height: 7px; border-radius: 999px; background: currentColor; }

.toast {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 22px);
  z-index: 10;
  padding: 13px 15px;
  border-radius: 20px;
  color: #101014;
  background: #fff;
  font-weight: 950;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

.age-gate, .onboarding-gate {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 7, 10, 0.84);
  backdrop-filter: blur(16px);
}
.age-gate[hidden], .onboarding-gate[hidden] { display: none; }
.age-card {
  width: min(100%, 360px);
  padding: 24px;
  border-radius: 34px;
  color: var(--ink-dark);
  background: var(--card);
  box-shadow: var(--shadow);
}
.age-kicker { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 1000; }
.age-card h1 { margin: 0 0 9px; font-size: 28px; }
.age-card p { color: var(--muted-dark); font-weight: 800; }
.age-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.age-actions .primary-action,
.age-actions .soft-action { min-height: 54px; }

.onboarding-card {
  width: min(100%, 360px);
  padding: 22px;
  border-radius: 34px;
  color: var(--ink-dark);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.95), transparent 22%),
    linear-gradient(150deg, #fffaf0 0%, #ffffff 52%, #ffe9a8 100%);
  box-shadow: var(--shadow);
}
.onboarding-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border-radius: 36px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #111116, var(--accent));
  box-shadow: 0 18px 40px rgba(255, 79, 109, 0.28);
}
.onboarding-visual b {
  position: relative;
  z-index: 1;
  font-size: 42px;
  line-height: 1;
}
.onboarding-bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}
.onboarding-bubble.one { width: 56px; height: 56px; left: -16px; top: 18px; }
.onboarding-bubble.two { width: 34px; height: 34px; right: 18px; top: 16px; }
.onboarding-bubble.three {
  width: 76px;
  height: 76px;
  right: -26px;
  bottom: -22px;
  background: rgba(255, 207, 99, 0.42);
}
.onboarding-card h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}
.onboarding-body {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
}
.onboarding-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.onboarding-list span {
  padding: 11px 13px;
  border-radius: 16px;
  background: rgba(16, 16, 20, 0.07);
  font-size: 13px;
  font-weight: 950;
}
.onboarding-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 18px;
}
.onboarding-dots i {
  height: 7px;
  border-radius: 999px;
  background: rgba(16, 16, 20, 0.14);
}
.onboarding-dots i.is-active { background: var(--accent); }
.onboarding-action {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
}
.profile-setup-card { text-align: left; }
.profile-setup-card .age-kicker,
.profile-setup-card h1,
.profile-setup-card .onboarding-body { text-align: center; }
.profile-setup-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border: 1px solid rgba(16, 16, 20, 0.15);
  border-radius: 999px;
  background: rgba(16, 16, 20, 0.07);
}
.profile-setup-avatar .avatar { width: 72px; height: 72px; }
.profile-setup-avatar .profile-camera-icon { color: var(--muted-dark); }
.profile-setup-form { display: grid; gap: 10px; margin-top: 22px; }
.profile-setup-form label { color: var(--muted-dark); font-size: 13px; font-weight: 900; }
.profile-setup-form .onboarding-action { width: 100%; margin-top: 4px; }
.profile-setup-form[aria-busy="true"] { opacity: 0.72; }
.profile-setup-note { margin: 14px 0 0; color: var(--muted-dark); font-size: 12px; line-height: 1.5; text-align: center; }
.profile-setup-loading { margin-top: 22px; color: var(--muted-dark); font-weight: 800; text-align: center; }
.notification-setup-card { text-align: center; }
.notification-setup-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(212, 47, 62, 0.12);
  color: var(--accent);
}
.notification-setup-icon span {
  position: relative;
  width: 30px;
  height: 34px;
  border-radius: 16px 16px 10px 10px;
  background: currentColor;
}
.notification-setup-icon span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 6px;
  border-radius: 0 0 999px 999px;
  background: currentColor;
  transform: translateX(-50%);
}
.notification-setup-icon span::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 3px;
  width: 40px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}
.notification-setup-icon.is-muted { background: rgba(16, 16, 20, 0.08); color: var(--muted-dark); }
.notification-targets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 4px; text-align: left; }
.notification-targets span { padding: 13px; border: 1px solid rgba(16, 16, 20, 0.12); border-radius: 15px; background: rgba(16, 16, 20, 0.05); }
.notification-targets b,
.notification-targets small { display: block; }
.notification-targets b { font-size: 14px; }
.notification-targets small { margin-top: 4px; color: var(--muted-dark); font-size: 11px; line-height: 1.45; font-weight: 750; }
.notification-permission-note { margin: 14px 0 0; color: var(--muted-dark); font-size: 12px; line-height: 1.55; font-weight: 750; }
.notification-skip { margin: 12px auto 0; padding: 8px 14px; color: var(--muted-dark); font-size: 13px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.notification-result-card .onboarding-action { margin-top: 24px; }

@media (max-width: 360px) {
  .screen { padding-left: 14px; padding-right: 14px; }
  .beer-copy strong { font-size: 29px; }
  .bottom-nav { left: 8px; right: 8px; }
}
.file-button {
  display: grid;
  place-items: center;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.camera-main,
.camera-selfie,
.story-photo,
.story-selfie {
  background-position: center;
  background-size: cover;
}

.story-selfie {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  width: 112px;
  height: 148px;
  border: 4px solid #fff;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff2cb, #19191f 65%);
  background-position: center;
  background-size: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

.cheers-actions {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 360px) {
  .cheers-actions {
    grid-template-columns: 1fr;
  }
}
.row-action {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-dark);
  background: #fff;
  font-weight: 1000;
}

.row-action.danger {
  color: #fff;
  background: rgba(255, 79, 109, 0.72);
}





/* Mock v4 visual alignment: dark BeReal/Tinder-like beer board. */
.app-shell {
  background:
    linear-gradient(180deg, #101517 0%, #090b0c 42%, #140c09 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 24px 70px rgba(0, 0, 0, 0.48);
}
.screen {
  padding-top: calc(env(safe-area-inset-top) + 16px);
}
.top-bar {
  margin-bottom: 15px;
}
.eyebrow {
  color: rgba(255, 205, 108, 0.72);
  font-size: 11px;
}
.screen-title {
  color: #fff7df;
  font-size: 31px;
  line-height: 0.98;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}
.top-pill {
  color: #fff1c9;
  background: rgba(255, 178, 45, 0.13);
  border: 1px solid rgba(255, 207, 99, 0.2);
}
.home-hero {
  min-height: calc(100dvh - 176px);
  align-content: start;
}
.home-card {
  min-height: 474px;
  padding: 10px 16px 18px;
  color: #fff4da;
  background:
    linear-gradient(160deg, rgba(30, 38, 39, 0.98) 0%, rgba(31, 24, 19, 0.98) 44%, rgba(84, 45, 22, 0.98) 100%);
  border: 1px solid rgba(255, 207, 99, 0.12);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.home-card::before {
  right: -68px;
  top: -74px;
  background: rgba(246, 178, 45, 0.12);
}
.home-card::after {
  left: -86px;
  bottom: -112px;
  background: rgba(255, 79, 109, 0.12);
}
.home-status {
  color: rgba(255, 242, 203, 0.74);
  margin-bottom: 24px;
}
.beer-cta {
  width: min(91.4vw, 402px);
  background:
    radial-gradient(circle at 33% 20%, rgba(255, 255, 255, 0.95) 0 8%, transparent 9%),
    radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.82) 0 6%, transparent 7%),
    linear-gradient(160deg, #fff0b0 0%, #ffca4c 30%, #e9911d 62%, #954815 100%);
  box-shadow:
    inset 0 16px 30px rgba(255, 255, 255, 0.52),
    inset 0 -32px 38px rgba(73, 29, 0, 0.34),
    0 28px 58px rgba(246, 178, 45, 0.31),
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 0 9px rgba(255, 245, 214, 0.9),
    0 0 0 20px rgba(255, 79, 109, 0.2);
}
.beer-copy strong {
  color: #140b07;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}
.beer-copy span {
  color: #21110a;
  background: rgba(255, 247, 220, 0.72);
}
.stack { gap: 16px; }
.feed-card {
  min-height: 252px;
  color: #fff5dd;
  background:
    linear-gradient(155deg, rgba(27, 34, 35, 0.98), rgba(27, 19, 17, 0.98) 56%, rgba(71, 37, 20, 0.98));
  border: 1px solid rgba(255, 207, 99, 0.11);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.48);
}
.feed-card.hot {
  background:
    linear-gradient(145deg, #222c2c 0%, #382019 48%, #d98924 100%);
}
.person-sub { color: rgba(255, 236, 196, 0.62); }
.time-badge {
  color: #21110a;
  background: rgba(255, 244, 216, 0.9);
}
.card-signal {
  color: #fff3cd;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.34);
}
.join-button, .primary-action, .send-button {
  color: #180d08;
  background: linear-gradient(135deg, #fff1bd, #ffb22d 48%, #ff5b63 100%);
  box-shadow: 0 15px 32px rgba(255, 178, 45, 0.22);
}
.match-card, .dark-card, .settings-card, .empty-state {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.105);
}
.message {
  color: #fff4dd;
  background: rgba(255, 255, 255, 0.105);
}
.message.mine {
  color: #180d08;
  background: linear-gradient(135deg, #fff1bd, #ffb22d 54%, #ff6570);
}
.bottom-nav {
  height: 70px;
  background: rgba(10, 12, 13, 0.92);
  border-color: rgba(255, 207, 99, 0.12);
}
.nav-item.is-active {
  color: #201008;
  background: linear-gradient(135deg, #fff5cf, #ffbd42);
}
.age-card {
  border-radius: 32px;
  background: linear-gradient(160deg, #fff8e8, #ffd889);
}

/* Mock v4 correction pass: remove the fake white-card composition and lift the primary CTA. */
.home-hero {
  min-height: calc(100dvh - 150px);
  align-content: start;
  padding-top: 12px;
}
.home-card {
  min-height: auto;
  padding: 0 0 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.home-card::before,
.home-card::after { display: none; }
.home-status {
  width: min(79vw, 322px);
  margin: 0 auto 10px;
  padding: 0 4px;
  color: rgba(255, 241, 201, 0.66);
}
.beer-cta {
  margin-top: 0;
}
.home-card .beer-cta {
  transform: translateY(-4px);
}
.home-card .beer-cta:active {
  transform: translateY(-1px) scale(0.965);
}
.beer-face {
  transform: scale(1.08) translateY(-2px);
}
.beer-copy {
  bottom: 22px;
}
.beer-copy strong {
  font-size: clamp(31px, 8vw, 38px);
}
.feed-card {
  min-height: 224px;
  padding: 16px;
  border-radius: 30px;
}
.card-signal {
  margin: 17px 0 14px;
  font-size: clamp(31px, 8.4vw, 42px);
}
.bottom-nav {
  bottom: calc(env(safe-area-inset-bottom) + 12px);
}

/* Generated drink-image CTA: both age modes use an approved generated photo
   (adult: assets/beer-button.jpg, under-20: assets/soft-button.jpg — a
   lemon-lime soda that reads clearly non-alcoholic). Both derive from
   assets/generated. The CSS-drawn mug fallback stays in the stylesheet but is
   hidden whenever a photo is shown. */
.beer-cta:not(.is-soft) {
  background: #0d0805 url("assets/beer-button.jpg") center / cover no-repeat;
}
.beer-cta .beer-bubbles,
.beer-cta .beer-liquid,
.beer-cta .beer-face {
  display: none;
}
.beer-cta .beer-copy {
  bottom: auto;
  top: 50%;
  transform: translateY(-38%);
}
.beer-cta .beer-copy strong {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.65);
}
.beer-cta .beer-copy span {
  color: rgba(20, 12, 4, 0.86);
  background: rgba(255, 250, 235, 0.88);
}
.beer-cta.is-posted {
  filter: saturate(1.12) brightness(1.04);
}

/* 2026-07 design refinement: color, type, and material polish only. */
body {
  font-family: var(--font-body);
  font-weight: 400;
}

.screen-title,
.home-heading,
.home-hint,
.beer-copy,
.person-name,
.time-badge,
.card-signal,
.join-button,
.primary-action,
.soft-action,
.send-button,
.ghost-button,
.match-label,
.match-title,
.setting-copy b,
.select-field,
.row-action,
.subtle-actions button,
.nav-item,
.toast,
.age-kicker,
.age-card h1,
.onboarding-card h1,
.onboarding-visual b,
.top-pill,
.camera-timer,
.camera-placeholder,
.story-name,
.viewer-row b {
  font-family: var(--font-display);
  font-weight: 700;
}

.person-sub,
.setting-copy span,
.onboarding-body,
.age-card p,
.meta-tile span,
.message {
  font-family: var(--font-body);
  font-weight: 500;
}

button,
.join-button,
.primary-action,
.soft-action,
.send-button,
.ghost-button,
.row-action,
.subtle-actions button,
.nav-item {
  transition: transform 140ms ease, filter 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

button:active,
.join-button:active,
.primary-action:active,
.soft-action:active,
.send-button:active,
.ghost-button:active,
.row-action:active,
.subtle-actions button:active,
.nav-item:active {
  transform: scale(0.975);
  filter: brightness(0.94);
}

.app-shell {
  background:
    radial-gradient(circle at 20% 0%, rgba(232, 59, 74, 0.12), transparent 28%),
    radial-gradient(circle at 76% 20%, rgba(217, 155, 50, 0.08), transparent 28%),
    linear-gradient(180deg, #111113 0%, var(--bg) 38%, #0b0b0d 100%);
}

.eyebrow {
  color: rgba(232, 192, 106, 0.78);
}

.screen-title {
  color: var(--ink);
}

.top-pill {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
}

.home-status,
.home-heading,
.home-hint {
  color: var(--ink);
}

.home-status,
.home-hint .hint-expire {
  color: var(--muted);
}

.beer-cta {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 54px rgba(0, 0, 0, 0.5),
    0 0 0 9px rgba(255, 255, 255, 0.86),
    0 0 0 20px rgba(232, 59, 74, 0.16);
}

.feed-card,
.feed-card.hot {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feed-card.hot {
  box-shadow: var(--shadow), inset 0 1px 0 rgba(232, 192, 106, 0.1);
}

.avatar,
.avatar.green,
.avatar.gold {
  color: var(--ink);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.24), transparent 31%),
    linear-gradient(145deg, var(--avatar-a), var(--avatar-b));
  box-shadow:
    inset 0 0 0 1px var(--avatar-ring),
    0 8px 20px rgba(0, 0, 0, 0.24);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.person-sub {
  color: var(--muted);
}

.time-badge {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.card-signal {
  color: var(--ink);
  text-shadow: none;
}

.join-button,
.primary-action,
.send-button {
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 14px 30px var(--accent-soft);
}

.soft-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(128, 240, 215, 0.22);
  box-shadow: 0 12px 26px rgba(80, 180, 210, 0.12);
}

.ghost-button,
.empty-state,
.match-card,
.dark-card,
.settings-card {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.match-card {
  background:
    linear-gradient(145deg, rgba(51, 192, 143, 0.16), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.message {
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.message.mine {
  color: var(--ink);
  background: var(--accent-deep);
  border-color: rgba(255, 255, 255, 0.1);
}

.message-input {
  background: var(--panel-2);
  border-color: var(--line);
}

.dual-camera,
.story-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid var(--line);
}

.camera-main,
.camera-selfie,
.story-photo,
.story-selfie {
  display: grid;
  place-items: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.07), transparent 34%),
    linear-gradient(180deg, #1f1f24 0%, #111114 100%);
}

.camera-main::after,
.camera-selfie::after,
.story-photo::after,
.story-selfie::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 46%, transparent 0 42%, rgba(0, 0, 0, 0.32) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.camera-selfie,
.story-selfie {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

.camera-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(248, 247, 242, 0.72);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0;
}

.camera-placeholder svg {
  width: 46px;
  height: 46px;
  color: rgba(248, 247, 242, 0.58);
}

.camera-selfie .camera-placeholder,
.story-selfie .camera-placeholder {
  gap: 5px;
  font-size: 11px;
}

.camera-selfie .camera-placeholder svg,
.story-selfie .camera-placeholder svg {
  width: 30px;
  height: 30px;
}

.camera-timer {
  color: var(--ink);
  background: rgba(9, 9, 11, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.viewer-row {
  background: var(--panel);
  border: 1px solid var(--line);
}

.setting-row {
  position: relative;
}

.setting-row::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(248, 247, 242, 0.34);
  border-right: 2px solid rgba(248, 247, 242, 0.34);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.setting-row.no-arrow::after { display: none; }

.select-field,
.row-action,
.subtle-actions button {
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.row-action.danger {
  background: rgba(232, 59, 74, 0.18);
  border-color: rgba(232, 59, 74, 0.34);
}

.switch {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--line);
}

.switch.is-on {
  background: var(--accent);
}

.bottom-nav {
  background: rgba(18, 18, 21, 0.9);
  border-color: var(--line);
}

.nav-item.is-active {
  color: var(--ink);
  background: var(--accent);
}

.toast,
.age-card,
.onboarding-card {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.age-card p,
.onboarding-body,
.onboarding-list span {
  color: var(--muted);
}

.onboarding-visual {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, var(--panel-2), var(--accent-deep));
  box-shadow: 0 18px 38px var(--accent-soft);
}

.onboarding-list span,
.onboarding-dots i {
  background: rgba(255, 255, 255, 0.07);
}

.onboarding-dots i.is-active {
  background: var(--accent);
}

.empty-state-rich {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 156px;
}

.empty-state p {
  margin: 0;
  line-height: 1.55;
}

.empty-action {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 14px 30px var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 700;
}

.skeleton-card,
.skeleton-block,
.skeleton-circle,
.skeleton-lines i,
.skeleton-pill,
.skeleton-signal,
.skeleton-button,
.skeleton-message,
.skeleton-viewer {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.135), rgba(255, 255, 255, 0.055)),
    var(--panel-2);
  background-size: 220% 100%;
  animation: skeleton-pulse 1350ms ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0% { background-position: 120% 0; opacity: 0.58; }
  50% { opacity: 1; }
  100% { background-position: -120% 0; opacity: 0.58; }
}

.skeleton-card {
  color: transparent;
  border-color: var(--line);
}

.skeleton-circle {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.skeleton-lines {
  display: grid;
  gap: 8px;
}

.skeleton-lines i {
  display: block;
  width: 116px;
  height: 12px;
  border-radius: 999px;
}

.skeleton-lines i + i {
  width: 76px;
  height: 10px;
}

.skeleton-lines.wide i {
  width: 168px;
}

.skeleton-lines.wide i + i {
  width: 224px;
  max-width: 100%;
}

.skeleton-pill {
  display: block;
  width: 72px;
  height: 32px;
  border-radius: 999px;
}

.skeleton-signal {
  width: 70%;
  height: 82px;
  margin: 20px 0 17px;
  border-radius: 22px;
}

.skeleton-button {
  width: 100%;
  height: 54px;
  border-radius: 999px;
}

.skeleton-messages {
  align-content: end;
}

.skeleton-message {
  display: block;
  width: 68%;
  height: 44px;
  border-color: transparent;
}

.skeleton-message.short {
  width: 48%;
}

.skeleton-story .story-photo,
.skeleton-story .story-selfie {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.135), rgba(255, 255, 255, 0.055)),
    var(--panel-2);
  background-size: 220% 100%;
}

.skeleton-viewer {
  min-height: 50px;
}

.match-switcher {
  display: flex;
  gap: 8px;
  margin: -4px 0 12px;
  padding: 2px 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.match-switcher::-webkit-scrollbar {
  display: none;
}

.match-chip {
  flex: 0 0 auto;
  max-width: 168px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-chip.is-active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px var(--accent-soft);
}

/* Store direction pass: 02 follows the warm mock feed; 03/04 lean into BeReal-like immediacy. */
[data-panel="feed"] .stack {
  gap: 16px;
}

.feed-card,
.feed-card.hot {
  width: 100%;
  max-width: none;
  min-height: 228px;
  padding: 20px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 207, 99, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    #1a1716;
  border-color: rgba(232, 192, 106, 0.16);
}

.feed-card.hot {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 207, 99, 0.22), transparent 26%),
    linear-gradient(145deg, rgba(92, 44, 24, 0.96), rgba(24, 20, 18, 0.98) 60%),
    #211816;
}

.feed-card-aura {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 168px;
  height: 168px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(246, 178, 45, 0.28), transparent 68%);
  filter: blur(2px);
}

.feed-card .card-top,
.feed-card .card-body,
.feed-card .join-button {
  position: relative;
  z-index: 1;
}

.feed-card .avatar {
  width: 52px;
  height: 52px;
}

.feed-card .person-name {
  font-size: 18px;
}

.feed-card .person-sub {
  max-width: 178px;
  overflow: hidden;
  color: rgba(248, 247, 242, 0.66);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-card .time-badge {
  display: grid;
  gap: 1px;
  min-width: 92px;
  padding: 9px 12px;
  text-align: center;
  color: #24150d;
  background: #f7ecd5;
  border: 0;
}

.feed-card .time-badge span {
  font-size: 10px;
  line-height: 1;
}

.feed-card .time-badge b {
  font-size: 13px;
  line-height: 1.1;
}

.card-intent {
  margin: 16px 0 4px;
  color: rgba(248, 247, 242, 0.64);
  font-size: 12px;
  font-weight: 900;
}

.feed-card .card-signal {
  margin: 0 0 18px;
  font-size: clamp(38px, 11vw, 54px);
  line-height: 0.9;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

.feed-card .join-button {
  min-height: 58px;
  color: #1b120b;
  background: linear-gradient(135deg, #fff1b6, #ffb63b 48%, #ff655f);
  box-shadow: 0 18px 34px rgba(255, 105, 76, 0.2);
}

.feed-card .join-button span {
  display: inline-block;
  transform: translateY(-1px);
}

#app[data-screen="talk"] [data-panel="talk"].is-active,
#app[data-screen="cheers"] [data-panel="cheers"].is-active {
  display: flex;
  flex-direction: column;
}

.talk-room {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.bereal-match-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(51, 192, 143, 0.2), rgba(255, 255, 255, 0.035)),
    var(--panel-2);
}

.live-dot {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: #06100c;
  background: var(--green);
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
}

.bereal-chat {
  flex: 1;
  min-height: 300px;
  align-content: end;
  padding: 18px 0 8px;
}

.talk-now-copy {
  align-self: flex-end;
  max-width: 82%;
  margin: 4px 0 10px;
  padding: 12px 15px;
  border-radius: 999px;
  color: #21140b;
  background: linear-gradient(135deg, #fff1b6, #ffb43a 54%, #ff6d58);
  font-size: 13px;
  font-weight: 950;
}

.bereal-message-form {
  margin-top: auto;
  padding-top: 8px;
  grid-template-columns: 1fr 76px;
}

.cheers-shell {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.dual-camera {
  flex: 1;
  min-height: min(58dvh, 560px);
  border-radius: 40px;
}

.dual-camera.is-main,
.dual-camera.is-selfie,
.dual-camera.is-review {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    #09090b;
}

.dual-camera .camera-main {
  inset: 0;
  border-radius: 40px;
}

.dual-camera .camera-selfie {
  z-index: 3;
  right: 18px;
  bottom: 18px;
  width: min(34%, 132px);
  height: auto;
  aspect-ratio: 3 / 4;
  border-width: 3px;
  border-radius: 22px;
}

.dual-camera .camera-timer {
  z-index: 4;
  left: 16px;
  top: 16px;
  color: #19130d;
  background: rgba(255, 255, 255, 0.86);
}

.cheers-now-copy {
  margin: 12px 2px 0;
  color: rgba(248, 247, 242, 0.68);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.cheers-actions.is-capture {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  margin-top: 14px;
}

.cheers-actions.is-review {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 0;
}

.be-shutter {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 999px;
  color: #18100a;
  background: #f8f7f2;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.42);
}

.be-shutter span {
  width: 62px;
  height: 62px;
  border-radius: inherit;
  background: linear-gradient(135deg, #fff0b0, #ffb63b 52%, #ff625c);
}

.be-shutter b {
  display: none;
}

.compact-action {
  width: 100%;
  min-height: 54px;
  padding-inline: 12px;
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
}

/* Correction pass: feed uses the approved face-photo mock; cheers is camera-first, not upload-first. */
.feed-card,
.feed-card.hot {
  min-height: 268px;
  width: 86%;
  max-width: 374px;
  justify-self: center;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  color: #fff;
  background: #09090b;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
}

.feed-card.hot {
  background: #09090b;
}

.feed-photo,
.feed-scrim,
.feed-content {
  position: absolute;
  inset: 0;
}

.feed-photo {
  background-image: var(--feed-photo);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.feed-scrim {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.74) 34%, rgba(0, 0, 0, 0.3) 66%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, transparent 34%);
}

.feed-content {
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(74px, 1fr) auto auto;
  align-items: start;
  padding: 20px 18px 18px;
}

.feed-person-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.62);
}

.feed-person-name {
  font-size: 28px;
  line-height: 1;
}

.feed-person-age {
  font-size: 19px;
}

.feed-want-line {
  align-self: center;
  max-width: 60%;
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 1000;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.feed-time-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
  font-size: 18px;
  font-weight: 1000;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.feed-clock {
  position: relative;
  width: 25px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 999px;
}

.feed-clock::before,
.feed-clock::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform-origin: 50% 0;
}

.feed-clock::before {
  height: 8px;
  transform: translate(-50%, -1px) rotate(0deg);
}

.feed-clock::after {
  height: 7px;
  transform: translate(-50%, -1px) rotate(90deg);
}

.feed-card .join-button {
  justify-self: center;
  width: min(90%, 260px);
  min-height: 56px;
  margin-bottom: 4px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff625c, #ff343d);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38);
  font-size: 27px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  transform: none;
}

#app[data-screen="feed"] [data-panel="feed"].is-active {
  height: calc(100% - var(--nav-h) - env(safe-area-inset-bottom) - 26px);
  padding-bottom: 18px;
}

#app[data-screen="feed"] [data-panel="feed"] .stack {
  gap: 16px;
}

.dual-camera {
  background: #050506;
}

.dual-camera .camera-main,
.dual-camera .camera-selfie {
  overflow: hidden;
  background: #050506;
}

.dual-camera .camera-main {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dual-camera .camera-selfie {
  left: 18px;
  right: auto;
  top: 18px;
  bottom: auto;
  width: min(35%, 138px);
  border-color: rgba(255, 255, 255, 0.92);
}

.camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050506;
  opacity: 0;
}

.camera-video.is-live { opacity: 1; }

.camera-video::-webkit-media-controls,
.camera-video::-webkit-media-controls-enclosure,
.camera-video::-webkit-media-controls-panel,
.camera-video::-webkit-media-controls-overlay-play-button,
.camera-video::-webkit-media-controls-start-playback-button { display: none !important; opacity: 0 !important; }

.camera-preview-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.52);
  background: radial-gradient(circle at 50% 42%, #242429, #080809 70%);
}

.camera-preview-wait svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.camera-video.is-live + .camera-preview-wait { display: none; }

.camera-video.is-selfie-video {
  transform: scaleX(-1);
}

.camera-focus-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.camera-next-lens {
  position: absolute;
  inset: 0;
  display: block;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    #121214;
}

.be-shutter:disabled {
  opacity: 0.72;
}

.invite-code-row {
  align-items: center;
}

.invite-code {
  min-height: 48px;
  max-width: 172px;
  border-radius: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
}

button.invite-code {
  cursor: pointer;
}

.invite-code.is-loading,
.invite-code.is-error,
.invite-code.is-idle {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0;
}

.remote-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border-radius: 18px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.remote-status b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-weight: 700;
}

.remote-status span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.remote-status.is-error,
.remote-status.is-idle {
  border-color: rgba(212, 47, 62, 0.3);
}

.remote-status .row-action {
  width: auto;
  min-width: 76px;
}

.viewer-status {
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.seen-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(51, 192, 143, 0.16);
  border: 1px solid rgba(51, 192, 143, 0.28);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 360px) {
  .invite-code-row {
    align-items: flex-start;
  }

  .invite-code {
    max-width: 136px;
    font-size: 17px;
  }

  .remote-status {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Neon unification pass (2026-07-16): align the whole UI with the neon-sign
   app icon (navy #00052e, pink #ff2d8c, yellow #ffd82a, blue #25b4ff).
   Colors and glows only — geometry stays inside the visual:audit contract. */
:root {
  --bg: #070a24;
  --card: #12163a;
  --panel: #12163a;
  --panel-2: #1a1f4b;
  --line: rgba(130, 155, 255, 0.16);
  --muted: #a9aecb;
  --accent: #ff2d7c;
  --accent-deep: #99164e;
  --accent-soft: rgba(255, 45, 124, 0.24);
  --neon-blue: #35c0ff;
  --neon-yellow: #ffd23f;
  --shadow: 0 22px 56px rgba(2, 4, 24, 0.6);
}

html, body { background: var(--bg); }

.app-shell {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 45, 124, 0.16), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(53, 192, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #10143a 0%, var(--bg) 42%, #04061a 100%);
}

.eyebrow {
  color: var(--neon-blue);
  text-shadow: 0 0 12px rgba(53, 192, 255, 0.5);
}

.screen-title {
  text-shadow: 0 0 18px rgba(140, 170, 255, 0.22);
}

.age-kicker {
  text-shadow: 0 0 12px rgba(255, 45, 124, 0.5);
}

/* Home CTA: neon-tube gold ring instead of the muddy white/red halo. */
.beer-cta {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 58px rgba(2, 4, 24, 0.6),
    0 0 0 3px rgba(255, 214, 112, 0.85),
    0 0 30px rgba(255, 189, 56, 0.4);
}

.beer-cta.is-soft {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 58px rgba(2, 4, 24, 0.6),
    0 0 0 3px rgba(120, 224, 255, 0.8),
    0 0 30px rgba(53, 192, 255, 0.4);
}

.join-button,
.primary-action,
.send-button,
.empty-action {
  color: #fff;
  background: linear-gradient(180deg, #ff5c9d, var(--accent));
  box-shadow: 0 14px 30px var(--accent-soft), 0 0 18px rgba(255, 45, 124, 0.3);
}

.feed-card .join-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, #ff5c9d, #ff2d7c);
  box-shadow: 0 12px 24px rgba(2, 4, 24, 0.44), 0 0 20px rgba(255, 45, 124, 0.34);
}

.soft-action {
  border-color: rgba(53, 192, 255, 0.3);
  box-shadow: 0 12px 26px rgba(53, 192, 255, 0.14);
}

.talk-now-copy {
  color: #221305;
  background: linear-gradient(135deg, #fff3ae, var(--neon-yellow) 58%, #ffab2e);
  box-shadow: 0 0 16px rgba(255, 210, 63, 0.3);
}

.be-shutter span {
  background: linear-gradient(135deg, #fff3ae, var(--neon-yellow) 55%, #ffab2e);
  box-shadow: 0 0 18px rgba(255, 210, 63, 0.45);
}

.bottom-nav {
  background: rgba(11, 14, 42, 0.92);
  border-color: var(--line);
}

.nav-item.is-active {
  color: #fff;
  background: linear-gradient(180deg, #ff5c9d, var(--accent));
  box-shadow: 0 0 16px rgba(255, 45, 124, 0.4);
}

.feed-card,
.feed-card.hot {
  background: #0a0d28;
}

.dual-camera,
.dual-camera .camera-main,
.dual-camera .camera-selfie,
.camera-video {
  background: #05071c;
}

.dual-camera.is-main,
.dual-camera.is-selfie,
.dual-camera.is-review {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    #05071c;
}

.camera-main,
.camera-selfie,
.story-photo,
.story-selfie {
  background:
    radial-gradient(circle at 50% 44%, rgba(140, 170, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #1a1f4b 0%, #0d1130 100%);
}

.story-photo,
.story-selfie {
  background-position: center 58%;
  background-repeat: no-repeat;
  background-size: cover;
}

.camera-timer {
  background: rgba(7, 10, 36, 0.72);
}

.row-action.danger {
  background: rgba(255, 45, 124, 0.16);
  border-color: rgba(255, 45, 124, 0.34);
}

.remote-status.is-error,
.remote-status.is-idle {
  border-color: rgba(255, 45, 124, 0.32);
}

.home-status {
  color: var(--muted);
}

/* Recruitment editor, match list, and post-match cheers flow. */
.icon-button {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: var(--panel-2);
  font-size: 32px;
  line-height: 1;
}

.story-tray {
  margin: 0 -18px 12px;
  padding: 0 18px 12px;
  border-bottom: 1px solid var(--line);
}

.story-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 13px;
}

.story-tray-head span { color: var(--muted); }

.story-tray-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.story-tray-list::-webkit-scrollbar { display: none; }

.story-bubble {
  display: grid;
  flex: 0 0 68px;
  min-width: 0;
  justify-items: center;
  gap: 5px;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 11px;
}

.story-bubble > span:last-child {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-bubble-ring {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neon-yellow), var(--accent), var(--neon-blue));
}

.story-bubble-ring img,
.story-bubble-empty {
  width: 100%;
  height: 100%;
  border: 3px solid var(--bg);
  border-radius: inherit;
  object-fit: cover;
  background: var(--panel-2);
}

.story-tray + .home-hero {
  min-height: calc(100dvh - 250px);
  padding-top: 0;
}

.recruitment-editor-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

.recruitment-editor {
  display: grid;
  gap: 13px;
  padding-bottom: 12px;
}

.recruitment-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: #090b20;
}

.recruitment-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.recruitment-preview .feed-scrim { z-index: 1; }

.recruitment-preview > p {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 78%;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 1000;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.82);
}

.recruitment-preview-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 5px;
  color: var(--muted);
  text-align: center;
}

.recruitment-preview-empty b { color: #fff; font-size: 18px; }
.recruitment-preview-empty span { font-size: 12px; }
.field-label { color: var(--muted); font-size: 12px; font-weight: 900; }

.recruitment-message {
  width: 100%;
  min-height: 68px;
  resize: none;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #fff;
  background: var(--panel-2);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.recruitment-photo-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.recruitment-file-button,
.recruitment-photo-actions .ghost-button {
  min-height: 48px;
  border-radius: 14px;
}

.recruitment-file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.recruitment-adjustments {
  display: grid;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--panel-2);
}

.segmented-control button {
  min-height: 42px;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.segmented-control button.is-active {
  color: #fff;
  background: var(--accent);
}

.recruitment-range {
  display: grid;
  gap: 6px;
}

.recruitment-range > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.recruitment-range output { color: #fff; }
.recruitment-range input { width: 100%; accent-color: var(--accent); }
.recruitment-submit { min-height: 54px; }

/* Simplified recruitment and profile-icon presentation. */
.feed-card,
.feed-card.hot { background: #10152f; }
.feed-card.hot { background: #111838; }
.feed-photo { display: none; }
.feed-scrim {
  background:
    linear-gradient(135deg, rgba(255, 45, 124, 0.16), transparent 48%),
    linear-gradient(0deg, rgba(4, 7, 28, 0.76) 0%, transparent 58%);
}
.feed-profile-icon { position: absolute; z-index: 1; top: 22px; right: 22px; }
.feed-profile-icon .avatar {
  width: 108px;
  height: 108px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  font-size: 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}
.optional-message-intro {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.optional-message-intro b { font-size: 18px; }
.optional-message-intro span { color: var(--muted); font-size: 13px; }
.optional-message-button {
  min-height: 48px;
  margin-top: 6px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: var(--panel-2);
  font-weight: 800;
}
.home-optional-message { min-height: 44px; padding-inline: 14px; }
.profile-icon-card { margin-bottom: 12px; }
.profile-icon-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.profile-icon-preview .avatar { width: 54px; height: 54px; }
.profile-icon-picker { display: grid; place-items: center; cursor: pointer; }
.profile-icon-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.display-mode-row { align-items: center; }
.mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 174px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
}
.mode-selector button {
  min-height: 44px;
  padding: 0 9px;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}
.mode-selector button.is-active { color: #fff; background: var(--accent); }

.feed-photo { overflow: hidden; }
.feed-photo img {
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.talk-list {
  display: grid;
  gap: 8px;
}

.talk-list-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 11px;
  min-height: 76px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #fff;
  background: var(--panel);
  text-align: left;
}

.talk-list-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.talk-list-copy b,
.talk-list-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.talk-list-copy b { font-size: 16px; }
.talk-list-copy span,
.talk-list-time { color: var(--muted); font-size: 12px; }
.talk-list-meta {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 6px;
  min-width: 30px;
}
.talk-unread-badge,
.nav-unread-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #e63b4d;
  font-size: 11px;
  line-height: 1;
  font-weight: 1000;
  box-shadow: 0 5px 14px rgba(230, 59, 77, 0.38);
}
.nav-talk-item { position: relative; }
.nav-unread-badge {
  position: absolute;
  top: 4px;
  left: calc(50% + 7px);
  z-index: 2;
  border: 2px solid #121216;
}
.nav-item.is-active .nav-unread-badge { border-color: #fff; }
.nav-unread-badge[hidden] { display: none; }
.talk-list-arrow { font-size: 24px; }

.display-name-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 9px;
}
.display-name-input { min-width: 0; width: 100%; }

.profile-icon-row { grid-template-columns: 58px minmax(0, 1fr); }
.profile-icon-preview {
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
  overflow: hidden;
}
.profile-icon-preview .avatar { width: 58px; height: 58px; }
.profile-icon-preview.is-empty { border: 1px dashed rgba(255, 255, 255, 0.38); }
.profile-camera-icon {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}
.profile-camera-icon::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 6px;
  width: 9px;
  height: 5px;
  border-radius: 3px 3px 0 0;
  background: currentColor;
}
.profile-camera-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 999px;
}
.profile-name-copy { min-width: 0; }
.profile-name-line { display: flex; align-items: center; gap: 9px; }
.profile-name-change,
.profile-dialog-cancel {
  border: 0;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.profile-name-change {
  min-width: 44px;
  min-height: 44px;
  margin-block: -13px;
}
.profile-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}
.profile-dialog {
  width: min(100%, 380px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background: #1c1c21;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}
.profile-dialog h2 { margin: 4px 0 10px; font-size: 22px; }
.profile-dialog > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.profile-source-actions { display: grid; gap: 10px; }
.profile-source-button { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 54px; cursor: pointer; }
.profile-source-button .profile-camera-icon { width: 21px; height: 15px; }
.profile-source-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.profile-dialog-cancel { display: block; margin: 16px auto 0; color: var(--muted); }
.profile-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.profile-dialog-actions > * { min-height: 50px; }
.match-status-dialog > p:not(.eyebrow) { line-height: 1.7; }
.match-status-actions { grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1.6fr); }
.match-status-actions .danger-action {
  color: #fff;
  background: linear-gradient(180deg, #ff4a8d, var(--accent-deep));
  box-shadow: 0 14px 30px var(--accent-soft);
}
.irreversible-note {
  margin-top: -8px !important;
  color: #ff8db7 !important;
  font-size: 12px;
  font-weight: 850;
}
.talk-leave {
  color: #ff8db7;
  cursor: pointer;
}
.talk-leave:focus-visible { outline: 3px solid rgba(255, 45, 124, 0.34); outline-offset: 2px; }
.display-name-dialog-form { display: grid; gap: 4px; }
.profile-crop-stage {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 18px auto;
  border-radius: 18px;
  background: #09090b;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.profile-crop-stage:active { cursor: grabbing; }
.profile-crop-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  user-select: none;
  pointer-events: none;
}
.profile-crop-mask {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 80px rgba(0, 0, 0, 0.58), inset 0 0 0 2px rgba(255, 255, 255, 0.82);
  pointer-events: none;
}
.profile-zoom-control { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 800; }
.profile-zoom-control input { width: 100%; accent-color: var(--accent); }
.invite-qr { display: grid; justify-items: center; gap: 9px; margin: 4px 0 16px; color: var(--muted); font-size: 12px; text-align: center; }
.invite-qr-image { width: 160px; padding: 10px; border-radius: 18px; background: #fff; line-height: 0; }
.invite-qr-svg { display: block; width: 100%; height: auto; }

.friendless-feed-state {
  display: grid;
  gap: 16px;
  padding: 24px 18px;
}
.friendless-feed-state > p { margin: 0; line-height: 1.65; }
.friendless-feed-state .empty-action { margin-top: 0; }
.invite-share-panel {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 17px;
  border: 1px solid rgba(53, 192, 255, 0.25);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 45, 124, 0.18), transparent 42%),
    rgba(10, 14, 50, 0.9);
  box-shadow: inset 0 0 24px rgba(53, 192, 255, 0.05), 0 16px 34px rgba(2, 4, 24, 0.28);
  text-align: center;
}
.invite-share-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.invite-share-code {
  display: block;
  padding: 10px 8px 12px;
  color: var(--neon-yellow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(25px, 8vw, 34px);
  line-height: 1;
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px rgba(255, 210, 63, 0.48);
  overflow-wrap: anywhere;
}
.invite-share-code.is-loading,
.invite-share-code.is-error,
.invite-share-code.is-idle {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0;
  text-shadow: none;
}
.invite-share-actions {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 9px;
}
.invite-copy-button,
.invite-share-button {
  min-height: 48px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}
.invite-copy-button {
  color: #130b18;
  background: linear-gradient(135deg, var(--neon-yellow), #ff9e3d);
  box-shadow: 0 10px 24px rgba(255, 210, 63, 0.2);
}
.invite-share-button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #9b4dff);
  box-shadow: 0 10px 24px rgba(255, 45, 124, 0.2);
}
.invite-copy-button:disabled,
.invite-share-button:disabled { cursor: wait; opacity: 0.5; }
.invite-prompt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 24px 18px calc(env(safe-area-inset-bottom) + 18px);
  background: rgba(2, 3, 18, 0.78);
  backdrop-filter: blur(10px);
}
.invite-prompt {
  position: relative;
  width: min(100%, 390px);
  padding: 26px 20px 18px;
  border: 1px solid rgba(53, 192, 255, 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 45, 124, 0.22), transparent 36%),
    linear-gradient(165deg, #1b2054 0%, #0a0d2d 72%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.64), 0 0 36px rgba(53, 192, 255, 0.08);
}
.invite-prompt h2 {
  margin: 4px 36px 10px 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.38;
}
.invite-prompt-copy { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.invite-prompt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 24px;
  line-height: 1;
}
.invite-prompt-later {
  display: block;
  min-height: 44px;
  margin: 10px auto 0;
  padding: 8px 16px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
}

@media (min-width: 700px) {
  .invite-prompt-backdrop { place-items: center; }
}

.talk-room-title { min-width: 0; }
.talk-room-title .screen-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bereal-chat { min-height: 180px; }

.cheers-from-talk {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 68px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 210, 63, 0.32);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 210, 63, 0.09);
  text-align: left;
}

.cheers-from-talk-icon,
.cheers-locked-icon {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #19120a;
  background: var(--neon-yellow);
  font-size: 11px;
  font-weight: 1000;
}

.cheers-from-talk-icon { width: 48px; height: 48px; }
.cheers-from-talk > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.cheers-from-talk small { color: var(--muted); line-height: 1.25; }

.cheers-locked {
  display: grid;
  max-width: 340px;
  margin: auto;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.cheers-locked-icon { width: 76px; height: 76px; font-size: 16px; }
.cheers-locked h2 { margin: 0; font-size: 22px; }
.cheers-locked p { margin: 0 0 6px; color: var(--muted); line-height: 1.6; }
.cheers-locked .primary-action { width: min(100%, 260px); min-height: 52px; }

@media (max-width: 360px) {
  .story-tray { margin-inline: -14px; padding-inline: 14px; }
  .recruitment-preview > p { font-size: 21px; }
  .talk-list-item { grid-template-columns: 48px minmax(0, 1fr) auto 18px; }
}

/* Private talk photos and branded story exports. */
.talk-compose {
  display: block;
  padding-top: 8px;
}

.talk-compose-row {
  display: grid;
  grid-template-columns: 46px 46px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 7px;
}

.talk-media-button {
  min-height: 46px;
  padding: 0 6px;
  border: 1px solid rgba(0, 229, 255, 0.42);
  border-radius: 14px;
  color: #bdf8ff;
  background: rgba(0, 229, 255, 0.09);
  font-size: 11px;
  font-weight: 950;
}

.talk-camera-button {
  border-color: rgba(255, 45, 124, 0.44);
  color: #ffd2e2;
  background: rgba(255, 45, 124, 0.1);
}

.talk-compose .message-input,
.talk-compose .send-button { min-height: 48px; }

.talk-media-help {
  display: block;
  margin: 7px 4px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.talk-media-preview {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 16px;
  background: rgba(8, 12, 44, 0.94);
}

.talk-media-preview img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.talk-media-preview span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.talk-media-preview button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 20px;
}

.message.has-media {
  width: min(72%, 230px);
  padding: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.message.has-media.mine {
  background: linear-gradient(145deg, rgba(255, 45, 124, 0.82), rgba(246, 178, 45, 0.76));
}

.message-media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #070a24;
}

.message-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.message-copy,
.message.has-media small,
.message-media-unavailable {
  display: block;
  padding: 7px 9px 5px;
}

.message.is-pending { opacity: 0.72; }
.message.has-media small { padding-top: 3px; font-size: 10px; }
.message-media-unavailable { color: rgba(255, 255, 255, 0.74); font-size: 12px; }

.talk-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.talk-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 4, 18, 0.92);
}

.talk-image-lightbox img {
  position: relative;
  z-index: 1;
  max-width: min(100%, 820px);
  max-height: calc(100dvh - 48px);
  border: 1px solid rgba(0, 229, 255, 0.38);
  border-radius: 20px;
  box-shadow: 0 0 42px rgba(255, 45, 124, 0.24);
  object-fit: contain;
}

.talk-image-lightbox-close {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 16px);
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 26px;
}

.story-media-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.story-media-actions .ghost-button,
.story-media-actions .primary-action { min-height: 50px; }

.story-media-actions small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 360px) {
  .talk-compose-row { grid-template-columns: 42px 42px minmax(0, 1fr) 62px; gap: 5px; }
  .talk-media-button { padding: 0 3px; font-size: 10px; }
}
