html,
body {
  font-family:
    "SF Pro Display",
    "SF Pro Text",
    "Avenir Next",
    "Helvetica Neue",
    ui-sans-serif,
    system-ui,
    sans-serif;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 118, 255, 0.12) 0, transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(255, 199, 96, 0.18) 0, transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fb 100%);
}

[x-cloak] {
  display: none !important;
}

.phone-frame {
  width: 390px;
  height: 844px;
  background: #050505;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 90px rgba(16, 24, 40, 0.16);
}

.phone-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border-radius: 36px;
}

.ios-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.ios-screen {
  flex: 1;
  min-height: 0;
}

.status-bar {
  height: 44px;
  padding: 12px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #101828;
}

.status-bar-dark {
  color: #ffffff;
}

.safe-bottom {
  padding-bottom: 28px;
}

.page-scroll {
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.page-scroll::-webkit-scrollbar {
  display: none;
}

.primary-button {
  height: 56px;
  border-radius: 18px;
  background: #2f76ff;
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.primary-button:active {
  transform: translateY(1px) scale(0.995);
}

.secondary-button {
  height: 56px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #eaecf0;
  color: #101828;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #eaecf0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plain-icon-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #101828;
}

.soft-icon-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-tab {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid #eaecf0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 10px;
}

.bottom-tab button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #98a2b3;
}

.bottom-tab button.active {
  color: #2f76ff;
}

.top-title {
  font-size: 31px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.page-title {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.screen-card {
  border: 1px solid #eef1f5;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfd 100%);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.06);
}

.mint-board {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 233, 144, 0.26) 0, transparent 20%),
    linear-gradient(180deg, #f4f9dd 0%, #edf5d6 100%);
}

.sticker-stage {
  border-radius: 30px;
  padding: 24px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #2f76ff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(47, 118, 255, 0.24);
}

.chip-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.word-chip {
  min-width: 178px;
  height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e9edf4;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.word-chip.is-blue {
  color: #2f76ff;
}

.word-chip.is-green {
  color: #36a269;
}

.camera-shell {
  background: #050505;
}

.camera-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: inherit;
  background: #050505;
}

.camera-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.camera-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 124px;
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.04), rgba(16, 24, 40, 0.12)),
    url("https://images.unsplash.com/photo-1552053831-71594a27632d?auto=format&fit=crop&w=1200&q=80") center 32%/cover no-repeat;
}

.camera-topbar {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recognition-photo {
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.02), rgba(16, 24, 40, 0.08)),
    url("https://images.unsplash.com/photo-1552053831-71594a27632d?auto=format&fit=crop&w=1200&q=80") center 38%/cover no-repeat;
}

.camera-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 124px;
  padding: 16px 28px 24px;
  background: #050505;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #ffffff;
}

.capture-ring {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.capture-ring::after {
  content: "";
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #ffffff;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.category-tab.active {
  background: #2f76ff;
  color: #ffffff;
}

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

.sticker-tile {
  border-radius: 22px;
  padding: 12px 10px 14px;
  background: #ffffff;
  border: 1px solid #eef1f5;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
  text-align: center;
}

.sticker-thumb {
  height: 122px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

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

.action-pill {
  min-height: 72px;
  border-radius: 22px;
  border: 1px solid #ebedf2;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.parent-tip {
  border-radius: 22px;
  background: #fff7df;
  padding: 14px 16px;
}

.idea-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f76ff;
  font-size: 11px;
  font-weight: 800;
}

.idea-card {
  border-radius: 24px;
  border: 1px solid #e8edf5;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
  padding: 14px;
}

.idea-card-active {
  border-color: #cfe0ff;
  box-shadow: 0 14px 32px rgba(47, 118, 255, 0.12);
}

.idea-badge {
  flex-shrink: 0;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f76ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.idea-badge-hidden {
  visibility: hidden;
}

.idea-thumb {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.age-card {
  width: 100%;
  text-align: left;
  border-radius: 18px;
  border: 1px solid #edf0f5;
  background: #ffffff;
  padding: 14px 16px;
}

.age-card-active {
  border-color: #bfd6ff;
  background: #f5f9ff;
}

.age-check {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #2f76ff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.age-check-hidden {
  visibility: hidden;
}

.profile-badge {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #101828;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-stage {
  display: block;
}

.profile-summary-card {
  border-radius: 24px;
  border: 1px solid #eef1f5;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 214, 102, 0.2) 0, transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 18px;
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.05);
}

.profile-summary-badge {
  margin-top: 14px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f76ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.settings-home {
  margin-top: 18px;
}

.drawer-block {
  border-radius: 22px;
  padding: 2px 2px 0;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.settings-tag {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f76ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.settings-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #98a2b3;
  padding: 0 2px;
}

.age-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-list {
  border-radius: 22px;
  border: 1px solid #eef1f5;
  overflow: hidden;
}

.settings-row {
  background: #ffffff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.settings-row + .settings-row {
  border-top: 1px solid #eef1f5;
}

.settings-value {
  color: #98a2b3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-value.is-on {
  color: #2f76ff;
  font-weight: 800;
}

.parent-footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  padding: 0 2px 2px;
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.22);
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  z-index: 30;
}

.profile-sheet {
  width: 100%;
  border-radius: 28px 28px 0 0;
  background: #ffffff;
  padding: 12px 18px 30px;
  box-shadow: 0 -16px 40px rgba(16, 24, 40, 0.14);
  max-height: 78%;
  overflow-y: auto;
}

.drawer-sheet-section {
  border-radius: 20px;
}

.sticker-cutout {
  filter: drop-shadow(0 12px 18px rgba(16, 24, 40, 0.12));
}

.word-blue {
  color: #2f76ff;
}

.word-green {
  color: #36a269;
}
