:root {
  --bg: #07080c;
  --surface: rgba(12, 14, 20, 0.78);
  --surface-strong: rgba(10, 11, 16, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --surface-soft-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --accent: #ff5f3d;
  --accent-2: #ff9a3d;
  --accent-glow: rgba(255, 95, 61, 0.28);
  --text: #f5f1eb;
  --muted: rgba(245, 241, 235, 0.62);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  overflow: hidden;
}

body {
  color: var(--text);
  font-family: "Outfit", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.65;
  z-index: 999;
}

.font-display {
  font-family: "Syne", sans-serif;
}

#app {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.blob-a,
.blob-b {
  position: fixed;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.blob-a {
  width: 58vw;
  height: 58vw;
  min-width: 340px;
  min-height: 340px;
  background: radial-gradient(circle, rgba(255, 95, 61, 0.18) 0%, transparent 72%);
  top: -18vw;
  left: -12vw;
}

.blob-b {
  width: 46vw;
  height: 46vw;
  min-width: 280px;
  min-height: 280px;
  background: radial-gradient(circle, rgba(255, 154, 61, 0.14) 0%, transparent 74%);
  right: -12vw;
  bottom: -16vw;
}

.app-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.ghost-chip,
.start-recording-btn,
.primary-share-btn,
.export-action-btn,
.overlay-icon-btn,
.topic-pill,
.count-pill,
.mode-segment-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.ghost-chip,
.overlay-icon-btn,
.topic-pill,
.count-pill,
.mode-segment-btn,
.export-action-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ghost-chip:active,
.overlay-icon-btn:active,
.topic-pill:active,
.count-pill:active,
.mode-segment-btn:active,
.export-action-btn:active,
.start-recording-btn:active,
.primary-share-btn:active {
  transform: scale(0.98);
}

.panel-kicker,
.home-field-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.section-copy,
.home-copy,
.home-brand-copy,
.lucky-copy,
.export-copy,
.notice-chip {
  color: var(--muted);
}

.home-screen {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.home-camera-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-camera-feed,
.home-camera-fallback {
  width: 100%;
  height: 100%;
}

.home-camera-feed {
  object-fit: cover;
  transform: scaleX(-1);
  filter: saturate(1.08) contrast(1.02);
}

.home-camera-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 95, 61, 0.22), transparent 34%),
    linear-gradient(180deg, #11131b 0%, #07080c 100%);
}

.home-camera-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(255, 95, 61, 0.32);
}

.home-camera-copy {
  margin: 0;
  color: rgba(245, 241, 235, 0.84);
  font-size: 0.95rem;
}

.home-camera-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 9, 0.42) 0%, rgba(4, 5, 9, 0.14) 24%, rgba(4, 5, 9, 0.52) 68%, rgba(4, 5, 9, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 5, 9, 0.46) 0%, transparent 35%, transparent 65%, rgba(4, 5, 9, 0.46) 100%);
}

.home-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(18px + var(--safe-top)) 18px calc(18px + var(--safe-bottom));
}

.home-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.home-brand-mark {
  font-size: clamp(2.15rem, 8vw, 3.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.brand-dot {
  color: var(--accent);
}

.home-brand-copy {
  margin: 8px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ghost-chip {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.home-panel {
  width: min(100%, 520px);
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 18px;
  max-height: calc(100vh - 120px - var(--safe-top) - var(--safe-bottom));
  max-height: calc(100dvh - 120px - var(--safe-top) - var(--safe-bottom));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(12, 14, 20, 0.66), rgba(12, 14, 20, 0.88)),
    radial-gradient(circle at top, rgba(255, 95, 61, 0.16), transparent 36%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.home-panel-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none;
}

.home-panel-body::-webkit-scrollbar {
  display: none;
}

.home-title {
  margin: 0;
  font-size: clamp(2.1rem, 8vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.home-copy {
  margin: -6px 0 4px;
  font-size: 0.96rem;
  line-height: 1.45;
}

.home-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-input-big {
  width: 100%;
  min-height: 62px;
  padding: 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 1.18rem;
  outline: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.topic-input-big::placeholder {
  color: rgba(245, 241, 235, 0.44);
}

.topic-input-big:focus {
  border-color: rgba(255, 95, 61, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(255, 95, 61, 0.12);
}

.topic-pill-row,
.count-pill-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.topic-pill-row::-webkit-scrollbar,
.count-pill-row::-webkit-scrollbar {
  display: none;
}

.topic-pill,
.count-pill {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.topic-pill:hover,
.count-pill:hover,
.mode-segment-btn:hover,
.export-action-btn:hover,
.ghost-chip:hover,
.overlay-icon-btn:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.1);
}

.home-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compact-section {
  gap: 8px;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-value-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 95, 61, 0.18);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.count-pill.active,
.mode-segment-btn.active {
  background: linear-gradient(135deg, rgba(255, 95, 61, 0.95), rgba(255, 154, 61, 0.92));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 95, 61, 0.22);
}

.count-stepper {
  display: grid;
  grid-template-columns: auto repeat(8, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: center;
}

.stepper-btn {
  min-height: 42px;
  min-width: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.count-pill.compact {
  min-height: 42px;
  padding: 8px 0;
  justify-content: center;
}

.mode-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mode-segment-btn {
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.home-controls-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-control-chip {
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.voiceover-chip {
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
}

.voiceover-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.voiceover-status.off {
  color: var(--muted);
}

.voiceover-status-dot,
.home-preview-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255, 95, 61, 0.14);
}

.voiceover-status.off .voiceover-status-dot {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.home-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 14, 20, 0), rgba(12, 14, 20, 0.6));
}

.home-preview-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(245, 241, 235, 0.8);
}

.home-preview-indicator {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.home-preview-indicator.live {
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255, 95, 61, 0.14);
}

.start-recording-btn,
.primary-share-btn {
  width: 100%;
  min-height: 60px;
  padding: 14px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 42px rgba(255, 95, 61, 0.28);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.start-recording-btn.small {
  min-height: 50px;
  border-radius: 18px;
}

.start-recording-btn:disabled,
.primary-share-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.start-recording-btn:hover:not(:disabled),
.primary-share-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 24px 52px rgba(255, 95, 61, 0.34);
}

.error-chip,
.notice-chip {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.error-chip {
  border: 1px solid rgba(248, 113, 113, 0.34);
  background: rgba(127, 29, 29, 0.32);
  color: #fecaca;
}

.notice-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.lucky-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 6, 9, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lucky-modal {
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.lucky-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lucky-title {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  line-height: 1;
}

.lucky-copy {
  margin: -6px 0 0;
  font-size: 0.84rem;
  color: rgba(245, 241, 235, 0.68);
}

.lucky-option-topic {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.lucky-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lucky-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 241, 235, 0.84);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lucky-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(48vh, 420px);
  overflow-y: auto;
  padding-right: 2px;
}

.lucky-option {
  width: 100%;
  min-height: 82px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.lucky-option-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lucky-option-kicker {
  color: rgba(245, 241, 235, 0.54);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lucky-option-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 95, 61, 0.18);
  color: #ffd0c5;
  font-size: 0.68rem;
  font-weight: 700;
}

.lucky-option.selected,
.lucky-option:hover:not(:disabled) {
  border-color: rgba(255, 95, 61, 0.44);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 95, 61, 0.14) inset;
  transform: translateY(-1px);
}

.lucky-option.recommended {
  border-color: rgba(255, 95, 61, 0.24);
}

.lucky-option:disabled {
  opacity: 0.72;
  cursor: default;
}

.lucky-shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 95, 61, 0.14) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 0.75s linear infinite;
}

.lucky-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 10px;
  margin-top: 2px;
}

.ghost-chip.large {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  border-radius: 18px;
}

.loading-screen,
.export-screen {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-screen {
  padding: 24px;
}

.loading-shell {
  width: min(100%, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  text-align: center;
}

.loading-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid rgba(255, 95, 61, 0.16);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
}

.loading-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.loading-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.loading-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.export-screen {
  padding: calc(12px + var(--safe-top)) 12px calc(12px + var(--safe-bottom));
  align-items: stretch;
}

.export-video-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.export-stage-video {
  width: min(100%, 560px);
  height: 100%;
  max-height: calc(100vh - 220px - var(--safe-top) - var(--safe-bottom));
  max-height: calc(100dvh - 220px - var(--safe-top) - var(--safe-bottom));
  border-radius: 28px;
  background: #000;
  object-fit: contain;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44);
}

.export-stage-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0) 0%, rgba(7, 8, 12, 0.86) 100%);
  pointer-events: none;
}

.export-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px;
}

.overlay-icon-btn,
.export-meta-pill {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.export-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 241, 235, 0.92);
  border: 1px solid var(--border);
  background: rgba(10, 11, 16, 0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.export-bottom-sheet {
  width: min(100%, 640px);
  margin: auto auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px calc(18px + var(--safe-bottom));
  border-radius: 28px 28px 0 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 20, 0.74), rgba(12, 14, 20, 0.96)),
    radial-gradient(circle at top, rgba(255, 95, 61, 0.12), transparent 38%);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.export-title {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  line-height: 1;
}

.export-copy {
  margin: -2px 0 2px;
  font-size: 0.9rem;
  line-height: 1.48;
}

.export-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.export-action-btn {
  min-height: 50px;
  padding: 12px 10px;
  border-radius: 18px;
  font-size: 0.86rem;
  font-weight: 700;
}

.export-secondary-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.upload-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 10px 2px 0;
}

.upload-link:hover {
  text-decoration: underline;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fadeup {
  animation: fadeUp 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 901px) {
  .home-overlay {
    padding: calc(26px + var(--safe-top)) 28px calc(28px + var(--safe-bottom));
  }

  .home-panel {
    align-self: flex-end;
    margin-right: clamp(10px, 7vw, 96px);
  }
}

@media (max-width: 900px) {
  .home-overlay {
    padding: calc(14px + var(--safe-top)) 14px calc(14px + var(--safe-bottom));
  }

  .home-header {
    align-items: center;
  }

  .home-panel {
    width: 100%;
    padding: 18px 16px;
    max-height: calc(100vh - 92px - var(--safe-top) - var(--safe-bottom));
    max-height: calc(100dvh - 92px - var(--safe-top) - var(--safe-bottom));
    border-radius: 24px;
  }

  .home-controls-row,
  .export-action-grid {
    grid-template-columns: 1fr;
  }

  .count-stepper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .count-stepper .stepper-btn:first-child {
    grid-column: 1 / 2;
  }

  .count-stepper .stepper-btn:last-child {
    grid-column: 5 / 6;
  }

  .export-screen {
    padding-left: 10px;
    padding-right: 10px;
  }

  .export-stage-video {
    width: 100%;
    max-height: calc(100vh - 260px - var(--safe-top) - var(--safe-bottom));
    max-height: calc(100dvh - 260px - var(--safe-top) - var(--safe-bottom));
    border-radius: 22px;
  }

  .export-bottom-sheet {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 24px 24px 0 0;
  }

  .export-secondary-row {
    flex-direction: column;
  }

  .ghost-chip,
  .overlay-icon-btn,
  .topic-pill,
  .count-pill,
  .mode-segment-btn,
  .export-action-btn,
  .start-recording-btn,
  .primary-share-btn,
  .topic-input-big {
    font-size: 16px;
  }
}
