/* ════════════════════════════════════════════════════
   SHOT — MOBILE APP STYLES
════════════════════════════════════════════════════ */

/* Layout */
.app-shell {
  display: grid; grid-template-columns: 280px 1fr 320px;
  height: calc(100vh - 56px); margin-top: 56px;
}
@media (max-width: 1280px) {
  .app-shell { grid-template-columns: 240px 1fr 280px; }
}
@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-shell .app-side, .app-shell .app-aside { display: none; }
}

.app-side {
  border-right: 1px solid var(--border);
  background: var(--bg-primary);
  display: flex; flex-direction: column; overflow: hidden;
}
.app-side-head { padding: 22px 22px 14px; border-bottom: 1px solid var(--border); }
.app-side-eyebrow {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px;
}
.app-side-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--text-1); letter-spacing: -0.01em; line-height: 1;
}
.app-side-sub { font-size: 11px; color: var(--text-4); margin-top: 6px; }
.app-side-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.app-side-group {
  font-family: var(--font-display); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4);
  padding: 14px 22px 6px;
}
.app-side-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 22px;
  font-size: 13px; color: var(--text-2); cursor: pointer;
  transition: background 0.15s, color 0.15s; position: relative;
  border-left: 2px solid transparent;
}
.app-side-item:hover { background: var(--bg-hover); color: var(--text-1); }
.app-side-item.on {
  color: var(--orange); border-left-color: var(--orange);
  background: rgba(232,105,74,0.06);
}
.app-side-item .num {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-4); width: 18px; flex-shrink: 0;
}
.app-side-item.on .num { color: var(--orange); }

/* Center stage */
.app-stage {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 50%, var(--bg-hover) 0, transparent 70%),
    var(--bg-page);
}
.app-stage::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--border) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.4; pointer-events: none;
}

/* Aside (right) */
.app-aside {
  border-left: 1px solid var(--border);
  background: var(--bg-primary);
  padding: 22px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
}
.aside-block { }
.aside-eyebrow {
  font-family: var(--font-display); font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-4);
  margin-bottom: 8px;
}
.aside-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--text-1); letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 10px;
}
.aside-desc { font-size: 12px; color: var(--text-3); line-height: 1.6; }
.aside-keys { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.aside-key {
  display: flex; gap: 10px; padding: 8px 12px; border-radius: 8px;
  background: var(--bg-surface); border: 1px solid var(--border);
  font-size: 11px; color: var(--text-2); align-items: flex-start;
}
.aside-key .k {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  background: var(--bg-card); border: 1px solid var(--border-md);
  border-radius: 4px; padding: 1px 6px; color: var(--text-1); flex-shrink: 0;
}

.aside-flow {
  border-top: 1px solid var(--border); padding-top: 16px;
}
.aside-flow-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-3); padding: 4px 0;
}
.aside-flow-arrow {
  width: 10px; height: 10px; border-top: 1.5px solid var(--orange);
  border-right: 1.5px solid var(--orange); transform: rotate(45deg) translate(-2px, 2px);
  flex-shrink: 0;
}

/* ── PHONE FRAME ── */
.phone-frame {
  width: 390px; height: 800px;
  border-radius: 48px;
  background: var(--bg-primary);
  border: 2px solid var(--border-md);
  box-shadow:
    var(--shadow),
    inset 0 0 0 6px rgba(0,0,0,0.15);
  padding: 12px;
  position: relative; flex-shrink: 0;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden; position: relative;
  background: var(--bg-primary);
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px;
  background: #000; border-radius: 16px;
  z-index: 100;
}

/* Status bar */
.statusbar {
  height: 44px; padding: 14px 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0; position: relative; z-index: 5;
}
.statusbar-time {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--text-1);
}
.statusbar-icons { display: flex; gap: 5px; align-items: center; }
.sbar-icon { width: 16px; height: 11px; background: var(--text-1); border-radius: 2px; opacity: 0.9; }
.sbar-icon.signal {
  width: 18px; background: transparent;
  display: flex; align-items: flex-end; gap: 1px;
}
.sbar-icon.signal i {
  width: 3px; background: var(--text-1); border-radius: 1px;
}
.sbar-icon.wifi {
  width: 16px; background: transparent;
  border: 1.5px solid transparent;
  border-top-color: var(--text-1);
  border-radius: 50% 50% 0 0;
}
.sbar-icon.bat {
  width: 26px; height: 12px; border: 1.5px solid var(--text-1); background: transparent;
  border-radius: 3px; position: relative;
}
.sbar-icon.bat::after {
  content: ''; position: absolute; right: -3px; top: 3px;
  width: 2px; height: 4px; background: var(--text-1); border-radius: 0 1px 1px 0;
}
.sbar-icon.bat::before {
  content: ''; position: absolute; inset: 1.5px;
  background: var(--text-1); border-radius: 1px;
  width: calc(100% - 6px);
}

/* Bottom nav */
.bnav {
  height: 88px; padding-bottom: 32px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  display: flex; align-items: stretch;
  flex-shrink: 0; z-index: 30;
}
.bnav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  cursor: pointer; padding-top: 8px;
  transition: transform 0.2s var(--ease-spring);
  border: none; background: transparent;
}
.bnav-item:hover { transform: translateY(-2px); }
.bnav-icon-wrap {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.bnav-lbl {
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  color: var(--text-4); letter-spacing: 0.04em;
}
.bnav-item.on .bnav-lbl { color: var(--orange); }
.bnav-item.on .bnav-icon-wrap svg { stroke: var(--orange); fill: rgba(232,105,74,0.1); }
.bnav-item .bnav-icon-wrap svg { stroke: var(--text-4); fill: none; }

.bnav-center {
  position: relative;
}
.bnav-center-btn {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 300; border: 4px solid var(--bg-primary);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(232,105,74,0.4);
  transition: transform 0.2s var(--ease-spring);
}
.bnav-center-btn:hover { transform: translateX(-50%) scale(1.08); }

/* Screen body */
.screen {
  flex: 1; overflow-y: auto; position: relative;
  animation: slide-up-screen 0.32s var(--ease-out);
}
.screen::-webkit-scrollbar { width: 0; }

/* App nav (top within phone) */
.app-topnav {
  display: flex; align-items: center; gap: 12px; padding: 6px 18px 12px;
  background: var(--bg-primary);
  flex-shrink: 0; z-index: 20; position: relative;
}
.app-topnav.compact { padding-bottom: 6px; }
.app-back {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s;
  flex-shrink: 0;
}
.app-back:hover { background: var(--bg-hover); }
.app-back::after {
  content: ''; width: 8px; height: 8px;
  border-left: 2px solid var(--text-1); border-bottom: 2px solid var(--text-1);
  transform: rotate(45deg) translate(2px, -2px);
}
.app-top-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  color: var(--text-1); flex: 1; letter-spacing: -0.01em;
  text-align: center;
}
.app-top-action {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}

/* Common cards */
.bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s;
}
.bar-card:hover, .bar-card:active { transform: translateY(-2px); border-color: var(--orange); }
.bar-card-img {
  height: 130px; position: relative;
}
.bar-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55));
}
.live-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  height: 22px; padding: 0 9px; border-radius: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff;
  display: flex; align-items: center; gap: 5px;
}
.live-badge.orange { background: var(--orange); }
.live-badge.green { background: var(--green); }
.live-badge.yellow { background: var(--amb-anime); color: #1C1C1A; }
.live-pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse-live 1.5s infinite; }

.bar-card-info-overlay {
  position: absolute; bottom: 10px; left: 12px; right: 12px; z-index: 1; color: #fff;
}
.bar-card-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 900;
  line-height: 1; letter-spacing: -0.01em;
}
.bar-card-meta { font-size: 11px; opacity: 0.85; margin-top: 2px; display: flex; gap: 8px; align-items: center; }
.bar-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.bar-card-body { padding: 12px 14px; }
.bar-card-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.score-num {
  font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--text-1);
}
.score-num em { color: var(--orange); font-style: inherit; font-size: 13px; }
.bar-card-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.tag-mini {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 5px;
  background: var(--bg-surface); color: var(--text-3);
}

/* MAP */
.map-area {
  background: var(--map-bg);
  position: relative; overflow: hidden;
  flex: 1;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--map-street) 0, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, var(--map-street) 0, transparent 1px, transparent 48px);
}
.map-road {
  position: absolute; background: var(--map-street);
}
.map-bld {
  position: absolute; background: var(--map-build); border-radius: 4px;
}
.map-river {
  position: absolute; left: -10%; right: -10%; height: 50px; top: 55%;
  background: linear-gradient(to bottom, transparent, var(--green-300) 30%, var(--green-300) 70%, transparent);
  opacity: 0.25;
  transform: rotate(-3deg);
}
[data-theme="light"] .map-river { opacity: 0.4; }

.pin {
  position: absolute;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; border: 2px solid #fff;
  cursor: pointer; transition: transform 0.2s var(--ease-spring);
  transform: translate(-50%, -50%);
  z-index: 5;
}
.pin:hover { transform: translate(-50%,-50%) scale(1.2); z-index: 10; }
.pin.calm   { background: var(--amb-calm); }
.pin.anime  { background: var(--amb-anime); color: #1C1C1A; }
.pin.hot    { background: var(--amb-hot); animation: pulse-live 2s infinite; }
.pin.fire   { background: var(--amb-fire); animation: pulse-live 1.4s infinite; }
.pin.event  { background: var(--green); }
.pin.me {
  background: var(--text-1); color: var(--bg-primary);
  width: 22px; height: 22px;
  box-shadow: 0 0 0 4px rgba(58,90,64,0.3);
}

/* Search overlay (on map) */
.map-search {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 10;
}
.search-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.search-box {
  flex: 1; height: 46px;
  background: var(--bg-primary); border-radius: 14px;
  border: 1px solid var(--border-md);
  display: flex; align-items: center; padding: 0 14px; gap: 10px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: border-color 0.2s;
}
.search-box:hover { border-color: var(--orange); }
.search-circle {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--text-4); position: relative; flex-shrink: 0;
}
.search-circle::after {
  content: ''; position: absolute; right: -3px; bottom: -3px;
  width: 5px; height: 1.5px; background: var(--text-4); transform: rotate(45deg);
}
.search-txt { font-size: 13px; color: var(--text-4); flex: 1; }
.filter-btn {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--orange); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); cursor: pointer;
  color: #fff;
}
.pills { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  height: 30px; padding: 0 13px; border-radius: 15px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  border: 1px solid var(--border-md);
  background: var(--bg-primary); color: var(--text-2);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.pill:hover { border-color: var(--orange); color: var(--orange); }
.pill.on { background: var(--orange); color: #fff; border-color: var(--orange); }
.pill.on-g { background: var(--green); color: #fff; border-color: var(--green); }

/* Bottom sheet (over map) */
.bsheet {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--bg-primary);
  border-radius: 22px 22px 0 0;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
  padding-top: 10px; padding-bottom: 14px;
}
.bsheet-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--border-md); margin: 0 auto 14px;
}
.bsheet-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--text-1); padding: 0 16px; letter-spacing: -0.01em;
}
.bsheet-sub { font-size: 12px; color: var(--text-3); padding: 0 16px; margin-bottom: 12px; }
.bmini-scroll {
  display: flex; gap: 10px; padding: 0 16px 6px;
  overflow-x: auto;
}
.bmini-scroll::-webkit-scrollbar { display: none; }
.bmini {
  width: 150px; flex-shrink: 0; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; cursor: pointer;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s;
}
.bmini:hover { transform: translateY(-2px); border-color: var(--orange); }
.bmini-img {
  height: 80px; position: relative;
}
.bmini-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}
.bmini-info { padding: 8px 10px; }
.bmini-name {
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  color: var(--text-1); line-height: 1.05; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bmini-meta { font-size: 10px; color: var(--text-4); display: flex; gap: 6px; align-items: center; }
.bmini-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* FEED */
.feed-list { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 16px; }
.feed-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 16px 8px;
}
.feed-section-title {
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  color: var(--text-1); letter-spacing: 0.04em; text-transform: uppercase;
}
.feed-section-action {
  font-size: 11px; color: var(--orange); font-weight: 700; cursor: pointer;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* Stories strip */
.stories-strip {
  display: flex; gap: 12px; padding: 8px 16px 16px;
  overflow-x: auto;
}
.stories-strip::-webkit-scrollbar { display: none; }
.story-item-strip {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; cursor: pointer; flex-shrink: 0;
}
.story-ring {
  width: 60px; height: 60px; border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--orange), var(--orange-500));
  transition: transform 0.2s var(--ease-spring);
}
.story-ring:hover { transform: scale(1.06); }
.story-ring.seen { background: var(--border-md); }
.story-ring.add { background: transparent; border: 2px dashed var(--border-md); }
.story-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-card); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; color: var(--text-1);
  font-size: 14px;
  position: relative;
  border: 2px solid var(--bg-primary);
}
.story-ring.add .story-inner {
  color: var(--orange); font-size: 22px; font-weight: 300; border-style: dashed; border-color: var(--border-md);
}
.story-name {
  font-size: 10px; color: var(--text-2); max-width: 64px;
  text-align: center; line-height: 1.2; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* BAR DETAIL */
.bar-hero {
  height: 280px; position: relative; overflow: hidden; flex-shrink: 0;
}
.bar-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.7));
}
.bar-hero-back, .bar-hero-action {
  position: absolute; top: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(0,0,0,0.35); display: flex; align-items: center;
  justify-content: center; cursor: pointer; backdrop-filter: blur(8px);
  color: #fff;
}
.bar-hero-back { left: 14px; }
.bar-hero-action { right: 14px; }
.bar-hero-live {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 3;
  height: 28px; padding: 0 12px; border-radius: 8px;
  background: var(--orange);
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; color: #fff;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.bar-hero-bottom {
  position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 2; color: #fff;
}
.bar-hero-tags { display: flex; gap: 6px; margin-bottom: 8px; }
.bar-hero-tags .tag-mini { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
.bar-hero-name {
  font-family: var(--font-display); font-size: 38px; font-weight: 900;
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 6px;
}
.bar-hero-meta { font-size: 13px; opacity: 0.92; display: flex; gap: 8px; align-items: center; }
.bar-hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.bar-section { padding: 16px 18px; border-bottom: 1px solid var(--border); }
.bar-section:last-child { border-bottom: none; padding-bottom: 28px; }
.bar-section-head {
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4);
  margin-bottom: 12px;
}

/* Score bars (vibe meter) */
.scores { display: flex; flex-direction: column; gap: 10px; }
.score-row { display: flex; align-items: center; gap: 10px; }
.score-lbl { font-size: 11px; color: var(--text-3); width: 70px; flex-shrink: 0; font-weight: 600; }
.score-track {
  flex: 1; height: 6px; border-radius: 3px;
  background: var(--bg-surface); overflow: hidden;
}
.score-fill {
  height: 100%; border-radius: 3px; background: var(--orange);
  transition: width 0.8s var(--ease-out);
}
.score-fill.g { background: var(--green); }
.score-val { font-size: 12px; font-weight: 700; color: var(--text-1); width: 32px; text-align: right; font-family: var(--font-display); }

/* Friends-here strip */
.friends-here {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-surface); border-radius: 12px;
  padding: 10px 12px;
}
.friends-here-stack {
  display: flex;
}
.friends-here-stack .av {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg-surface); margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 11px; font-weight: 900; color: #fff;
}
.friends-here-stack .av:first-child { margin-left: 0; }
.friends-here-txt { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.friends-here-txt strong { color: var(--text-1); font-weight: 700; }

/* Phone CTA full-width buttons */
.phone-cta {
  height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  cursor: pointer; transition: transform 0.2s var(--ease-spring), opacity 0.2s;
  border: none;
}
.phone-cta:hover { transform: scale(1.02); opacity: 0.94; }
.phone-cta.orange { background: var(--orange); box-shadow: 0 6px 16px rgba(232,105,74,0.3); }
.phone-cta.green  { background: var(--green); box-shadow: 0 6px 16px rgba(58,90,64,0.25); }
.phone-cta.ghost  { background: transparent; color: var(--text-2); border: 1.5px solid var(--border-md); }

/* Review */
.review {
  background: var(--bg-surface); border-radius: 14px;
  padding: 14px;
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 900; color: #fff;
}
.review-name { font-size: 13px; font-weight: 700; color: var(--text-1); }
.review-date { font-size: 11px; color: var(--text-4); margin-top: 1px; }
.review-stars { display: flex; gap: 2px; margin-left: auto; }
.star-tiny { width: 12px; height: 12px; background: var(--orange); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') center/contain no-repeat; }
.star-tiny.off { background: var(--border-md); }
.review-txt { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.review-reply {
  margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  background: var(--bg-card); border-left: 2px solid var(--green);
}
.review-reply-lbl { font-size: 9px; font-weight: 800; color: var(--green-200); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.review-reply-txt { font-size: 12px; color: var(--text-3); }
[data-theme="light"] .review-reply-lbl { color: var(--green); }

/* Events */
.event-list { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 16px; }
.event-card {
  display: flex; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px; cursor: pointer;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s;
}
.event-card:hover { transform: translateY(-2px); border-color: var(--orange); }
.event-date-block {
  width: 64px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 0;
  color: #fff;
}
.event-date-block.orange { background: var(--orange); }
.event-date-block.green  { background: var(--green); }
.event-date-day {
  font-family: var(--font-display); font-size: 26px; font-weight: 900; line-height: 1;
}
.event-date-month {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; opacity: 0.9; margin-top: 2px;
}
.event-info { flex: 1; min-width: 0; }
.event-title { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--text-1); line-height: 1.05; margin-bottom: 4px; }
.event-meta { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.event-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-4); display: inline-block; margin: 0 6px; vertical-align: middle; }
.event-foot { display: flex; align-items: center; gap: 10px; }
.event-rsvp-count {
  font-size: 11px; color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
}
.event-rsvp-stack { display: flex; }
.event-rsvp-stack .av {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--bg-card); margin-left: -6px;
}
.event-rsvp-stack .av:first-child { margin-left: 0; }
.event-tag {
  margin-left: auto; height: 22px; padding: 0 9px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center;
}
.event-tag.bde { background: rgba(58,90,64,0.18); color: var(--green-200); }
[data-theme="light"] .event-tag.bde { color: var(--green); }
.event-tag.promo { background: rgba(232,105,74,0.15); color: var(--orange-300); }

/* PROFILE */
.profile-hero {
  padding: 24px 18px 18px; background: var(--bg-primary);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--border);
}
.profile-av {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 38px; font-weight: 900;
  border: 3px solid var(--orange);
}
.profile-name { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--text-1); letter-spacing: -0.01em; line-height: 1; }
.profile-handle { font-size: 13px; color: var(--text-4); }
.profile-bio { font-size: 13px; color: var(--text-2); text-align: center; line-height: 1.55; max-width: 280px; margin-top: 2px; }
.profile-stats {
  display: flex; align-items: center; gap: 18px; margin-top: 6px;
}
.profile-stat { text-align: center; cursor: pointer; }
.profile-stat-val { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--text-1); line-height: 1; }
.profile-stat-lbl { font-size: 10px; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-top: 4px; }
.profile-actions { display: flex; gap: 8px; margin-top: 4px; width: 100%; }
.profile-actions .phone-cta { flex: 1; height: 42px; font-size: 13px; }

.profile-tabs {
  display: flex; padding: 0 18px; border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
}
.profile-tab {
  flex: 1; padding: 12px 0; text-align: center;
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  color: var(--text-4); letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.profile-tab.on { color: var(--orange); border-bottom-color: var(--orange); }

.profile-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 3px; padding: 3px;
}
.profile-grid-item {
  aspect-ratio: 1;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.profile-grid-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6));
}
.profile-grid-bar {
  position: absolute; bottom: 6px; left: 8px; right: 8px; z-index: 1; color: #fff;
  font-family: var(--font-display); font-size: 11px; font-weight: 800; line-height: 1;
}

/* Onboarding */
.onb-stage {
  flex: 1; display: flex; flex-direction: column;
  padding: 40px 28px 28px;
}
.onb-vis { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.onb-title {
  font-family: var(--font-display); font-size: 40px; font-weight: 900;
  color: var(--text-1); letter-spacing: -0.02em; line-height: 0.95;
  margin-bottom: 14px;
}
.onb-title em { color: var(--orange); font-style: inherit; }
.onb-desc { font-size: 14px; color: var(--text-3); line-height: 1.65; }
.onb-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 18px; }
.onb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-md); transition: all 0.2s; }
.onb-dot.on { width: 24px; background: var(--orange); border-radius: 4px; }
.onb-cta-row { display: flex; gap: 10px; }

/* Form fields */
.field { margin-bottom: 14px; }
.field-lbl {
  font-size: 11px; font-weight: 700; color: var(--text-4);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
  display: block;
}
.field-in {
  width: 100%; height: 50px;
  background: var(--bg-surface); border: 1.5px solid var(--border-md);
  border-radius: 14px; padding: 0 16px;
  font-family: var(--font-body); font-size: 15px; color: var(--text-1);
  transition: border-color 0.2s;
}
.field-in:focus { outline: none; border-color: var(--orange); background: var(--bg-primary); }
.field-in::placeholder { color: var(--text-4); }

.code-row { display: flex; gap: 10px; }
.code-cell {
  flex: 1; height: 60px;
  background: var(--bg-surface); border: 1.5px solid var(--border-md);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--text-1);
}
.code-cell.filled { border-color: var(--orange); background: var(--bg-primary); }

/* Interests */
.interest-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.interest-chip {
  background: var(--bg-surface); border: 1.5px solid var(--border-md);
  border-radius: 14px; padding: 16px 14px;
  cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.interest-chip:hover { border-color: var(--orange); }
.interest-chip.on { background: rgba(232,105,74,0.1); border-color: var(--orange); }
.interest-chip-icon { font-size: 26px; margin-bottom: 6px; }
.interest-chip-lbl { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-1); letter-spacing: 0.04em; }

/* Check-in flow */
.checkin-bar-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: center;
  margin-bottom: 18px;
}
.checkin-bar-img {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
}
.checkin-bar-name { font-family: var(--font-display); font-size: 17px; font-weight: 900; color: var(--text-1); line-height: 1.1; }
.checkin-bar-addr { font-size: 11px; color: var(--text-4); margin-top: 2px; }

.vibe-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.vibe-opt {
  background: var(--bg-surface); border: 1.5px solid var(--border-md);
  border-radius: 14px; padding: 16px 12px;
  cursor: pointer; transition: all 0.2s;
  text-align: left;
}
.vibe-opt:hover { border-color: var(--orange); }
.vibe-opt.on { background: rgba(232,105,74,0.1); border-color: var(--orange); }
.vibe-opt-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.vibe-opt-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.vibe-opt-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--text-1); }
.vibe-opt-desc { font-size: 11px; color: var(--text-4); }

.friend-pick-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.friend-pick-row:last-child { border-bottom: none; }
.friend-pick-av {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 900; color: #fff;
}
.friend-pick-name { font-size: 14px; font-weight: 700; color: var(--text-1); flex: 1; }
.friend-pick-handle { font-size: 11px; color: var(--text-4); }
.friend-pick-check {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border-md);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.friend-pick-check.on { background: var(--orange); border-color: var(--orange); }
.friend-pick-check.on::after {
  content: ''; width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, 0);
}

/* Check-in success */
.success-stage {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 0 32px; text-align: center; gap: 22px;
}
.success-burst {
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 50px; position: relative;
  box-shadow: 0 0 0 8px rgba(232,105,74,0.15), 0 0 0 22px rgba(232,105,74,0.08);
}
.success-burst::after { content: '🍻'; }
.success-title {
  font-family: var(--font-display); font-size: 36px; font-weight: 900;
  color: var(--text-1); letter-spacing: -0.02em; line-height: 1;
}
.success-desc { font-size: 14px; color: var(--text-3); line-height: 1.6; max-width: 280px; }

/* Story viewer */
.story-viewer {
  flex: 1; background: #000; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.story-bars {
  display: flex; gap: 4px; padding: 12px 14px;
}
.story-bar {
  flex: 1; height: 3px; border-radius: 1.5px; background: rgba(255,255,255,0.3); overflow: hidden;
}
.story-bar .fill {
  height: 100%; background: #fff; width: 0;
  transition: width 0.2s linear;
}
.story-bar.done .fill { width: 100%; }
.story-bar.active .fill { width: 45%; }

.story-header {
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  position: relative; z-index: 2; color: #fff;
}
.story-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 900; color: #fff;
  border: 2px solid #fff;
}
.story-bar-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #fff; }
.story-time { font-size: 11px; opacity: 0.7; margin-top: 1px; }
.story-close {
  margin-left: auto; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex;
  align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; line-height: 1; color: #fff;
}

.story-body {
  flex: 1; position: relative; display: flex; align-items: flex-end;
  padding: 22px;
}
.story-img {
  position: absolute; inset: 0;
}
.story-caption {
  position: relative; z-index: 1; color: #fff;
  font-family: var(--font-display); font-size: 26px; font-weight: 900; line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.story-caption-sub { font-size: 13px; opacity: 0.92; margin-top: 6px; font-family: var(--font-body); font-weight: 500; }

.story-reply {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 14px 14px 24px; display: flex; align-items: center; gap: 8px;
}
.story-reply-in {
  flex: 1; height: 42px; padding: 0 16px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 21px; font-size: 13px; color: #fff; backdrop-filter: blur(12px);
  display: flex; align-items: center;
}

/* Notifications */
.notif-list { padding: 6px 0 16px; }
.notif-row {
  display: flex; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--border); align-items: flex-start;
  cursor: pointer; transition: background 0.15s;
}
.notif-row:hover { background: var(--bg-hover); }
.notif-row.unread { background: rgba(232,105,74,0.04); }
.notif-icon-bubble {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 16px;
}
.notif-icon-bubble.o { background: var(--orange); }
.notif-icon-bubble.g { background: var(--green); }
.notif-icon-bubble.n { background: var(--bg-surface); color: var(--text-2); }
.notif-body { flex: 1; min-width: 0; }
.notif-txt { font-size: 13px; color: var(--text-2); line-height: 1.45; }
.notif-txt strong { color: var(--text-1); font-weight: 700; }
.notif-time { font-size: 11px; color: var(--text-4); margin-top: 4px; }
.notif-dot-unread { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 6px; flex-shrink: 0; }
.notif-day {
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  color: var(--text-4); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 18px 6px;
}

/* Search */
.search-input-wrap {
  display: flex; align-items: center; gap: 10px; padding: 4px 18px 14px;
}
.search-input {
  flex: 1; height: 46px;
  background: var(--bg-surface); border: 1.5px solid var(--border-md);
  border-radius: 14px; padding: 0 14px 0 42px;
  font-size: 14px; color: var(--text-1);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236B6860" stroke-width="2.5" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>');
  background-repeat: no-repeat;
  background-position: 14px center;
}
.search-input:focus { outline: none; border-color: var(--orange); }
.search-cancel {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--orange); letter-spacing: 0.04em; cursor: pointer;
}
.search-section {
  padding: 12px 18px 6px;
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4);
  display: flex; justify-content: space-between; align-items: center;
}
.search-section-action { font-size: 10px; color: var(--orange); cursor: pointer; }
.search-row-item {
  display: flex; gap: 12px; align-items: center; padding: 10px 18px;
  cursor: pointer; transition: background 0.15s;
}
.search-row-item:hover { background: var(--bg-hover); }
.search-row-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-surface); flex-shrink: 0;
}
.search-row-name { font-size: 14px; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.search-row-sub { font-size: 11px; color: var(--text-4); margin-top: 2px; }

/* Filter chips */
.filter-section { padding: 6px 18px 0; }
.filter-section-title {
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4);
  margin-bottom: 10px;
}
.filter-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }

/* Settings */
.settings-list { padding: 6px 0 24px; }
.settings-group {
  margin-top: 8px;
}
.settings-group-lbl {
  font-family: var(--font-display); font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4);
  padding: 16px 18px 8px;
}
.settings-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; cursor: pointer;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
}
.settings-row:hover { background: var(--bg-hover); }
.settings-row-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); flex-shrink: 0;
}
.settings-row-icon.o { background: rgba(232,105,74,0.15); color: var(--orange); }
.settings-row-icon.g { background: rgba(58,90,64,0.18); color: var(--green-200); }
[data-theme="light"] .settings-row-icon.g { color: var(--green); }
.settings-row-lbl { flex: 1; font-size: 14px; font-weight: 600; color: var(--text-1); }
.settings-row-val { font-size: 12px; color: var(--text-4); }
.settings-row-arrow {
  width: 7px; height: 7px;
  border-right: 2px solid var(--text-4); border-top: 2px solid var(--text-4);
  transform: rotate(45deg); flex-shrink: 0;
}
.settings-switch {
  width: 44px; height: 26px; border-radius: 13px;
  background: var(--bg-surface); border: 1px solid var(--border-md);
  position: relative; cursor: pointer;
  transition: background 0.2s;
}
.settings-switch.on { background: var(--orange); border-color: var(--orange); }
.settings-switch-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform 0.25s var(--ease-spring);
}
.settings-switch.on .settings-switch-thumb { transform: translateX(18px); }

/* Event detail */
.event-detail-hero {
  height: 280px; position: relative; flex-shrink: 0; overflow: hidden;
}
.event-detail-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.75));
}
.event-detail-tag {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 3;
  background: var(--green); color: #fff;
  height: 26px; padding: 0 12px; border-radius: 8px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.event-detail-bottom {
  position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 2; color: #fff;
}
.event-detail-name {
  font-family: var(--font-display); font-size: 36px; font-weight: 900;
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 6px;
}
.event-detail-meta { font-size: 13px; opacity: 0.92; }
.event-info-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.event-info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-surface); color: var(--orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.event-info-lbl { font-size: 11px; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.event-info-val { font-size: 14px; color: var(--text-1); font-weight: 600; margin-top: 2px; }

.attendees-list { display: flex; gap: 8px; padding: 14px 18px; flex-wrap: wrap; }
.attendee-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 900; color: #fff;
  border: 2px solid var(--bg-primary);
}
.attendee-more {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-surface); border: 2px solid var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text-2);
}

/* Story create */
.story-create-stage {
  flex: 1; position: relative;
  background: var(--photo-grad);
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.story-create-stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 14px);
}
.story-create-top {
  position: relative; z-index: 1; padding: 14px;
  display: flex; gap: 8px; justify-content: space-between;
}
.story-create-tool {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
}
.story-create-toolbar { display: flex; gap: 8px; }
.story-create-center {
  position: relative; z-index: 1;
  text-align: center; color: #fff;
}
.story-create-overlay-text {
  font-family: var(--font-display); font-size: 38px; font-weight: 900;
  letter-spacing: -0.02em; line-height: 1;
  padding: 0 32px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.story-create-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: rgba(0,0,0,0.5); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #fff; backdrop-filter: blur(8px);
  margin-bottom: 14px;
}
.story-create-bottom {
  position: relative; z-index: 1; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.story-create-bottombar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 8px 12px;
}
.story-create-share {
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  color: #fff; letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px; flex: 1;
}
.story-create-share-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
}
.story-create-capture {
  width: 72px; height: 72px; border-radius: 50%;
  border: 4px solid #fff; padding: 4px;
  margin: 0 auto;
  cursor: pointer;
}
.story-create-capture-inner {
  width: 100%; height: 100%; border-radius: 50%; background: #fff;
}

/* Friends */
.friend-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.15s;
}
.friend-row:hover { background: var(--bg-hover); }
.friend-row-av {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 900; color: #fff;
  position: relative; flex-shrink: 0;
}
.friend-row-av .live-dot {
  position: absolute; bottom: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--bg-primary);
  animation: pulse-live 2s infinite;
}
.friend-row-name { font-size: 14px; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.friend-row-status { font-size: 11px; color: var(--text-4); margin-top: 2px; }
.friend-row-status .live { color: var(--orange); font-weight: 700; }
.friend-row-action {
  margin-left: auto; height: 32px; padding: 0 12px; border-radius: 9px;
  background: var(--bg-surface); border: 1px solid var(--border-md);
  font-size: 11px; font-weight: 700; color: var(--text-2); cursor: pointer;
  font-family: var(--font-body); letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; align-items: center;
}
.friend-row-action.add { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Splash */
.splash-stage {
  flex: 1; background: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.splash-stage::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,105,74,0.25), transparent 70%);
  pointer-events: none;
}
.splash-stage::after {
  content: '';
  position: absolute; bottom: -30%; left: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(143,181,149,0.18), transparent 70%);
  pointer-events: none;
}
.splash-logo {
  font-family: var(--font-display); font-size: 110px; font-weight: 900;
  font-style: italic; color: #fff; transform: rotate(-3deg); line-height: 0.9;
  letter-spacing: -0.04em; margin-bottom: 6px;
  z-index: 1;
}
.splash-logo em { color: var(--orange); font-style: inherit; }
.splash-tagline {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.65); letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 1;
}
.splash-loader {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
}

/* Edit profile */
.edit-av-wrap {
  display: flex; flex-direction: column; align-items: center; padding: 18px 0;
  position: relative;
}
.edit-av {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 40px; font-weight: 900;
  border: 3px solid var(--orange); position: relative;
}
.edit-av-camera {
  position: absolute; bottom: 4px; right: 4px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: #fff; border: 3px solid var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
}
.edit-av-change {
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  color: var(--orange); letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 12px; cursor: pointer;
}
