/* 풍수아씨 — wine, gold, cream paper */
:root {
  --paper: #FCF6EC;
  --paper-deep: #EFE3D2;
  --paper-lift: #FFFCF5;
  --ink: #241F1B;
  --ink-soft: #7C6C5B;
  --ink-faint: #A6927B;
  --navy: #8C2F43;
  --navy-soft: #B33A4B;
  --navy-hover: #732536;
  --rose: #FAEDE9;
  --rose-deep: #B33A4B;
  --rose-card: #F6E0DA;
  --gold: #C9A063;
  --gold-soft: #EFE0C2;
  --gold-ink: #7A5C22;
  --cream: #FCF6EC;
  --card: #FFFCF5;
  --soft: #B08A54;
  --dark: #241F1B;
  --dark-fg: #F2E7D8;
  --rule: rgba(140, 47, 67, 0.14);
  --shadow: 0 14px 34px rgba(120, 70, 55, 0.10);
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --frame-max: 440px;
  --radius: 22px;
  --radius-sm: 18px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --serif: "Gowun Batang", "Noto Serif KR", "Batang", serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: var(--ink);
  background: #EFE3D2;
  font-family: var(--font);
  line-height: 1.65;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.chip:focus-visible,
.nav-item:focus-visible,
.tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
a { color: var(--navy); }

h1, h2, .wordmark, .brand-name, .premium-title, .tile-title,
.place-title, .home-intro h1, .glance-box .quote-line {
  font-family: var(--serif);
}

/* Desktop phone frame */
.phone-shell {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  background: #EFE3D2;
}
.phone {
  width: 100%;
  max-width: var(--frame-max);
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--paper);
  background-image: none;
  box-shadow: 0 0 0 1px rgba(140,47,67,.07), 0 24px 70px rgba(90,50,40,.14);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 480px) {
  .phone-shell { padding: 1.5rem 1rem; align-items: center; }
  .phone {
    min-height: min(860px, calc(100vh - 3rem));
    height: min(860px, calc(100vh - 3rem));
    border-radius: 28px;
  }
}

.app-main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.15rem 1.15rem calc(var(--nav-h) + var(--safe-b) + 1.15rem);
  -webkit-overflow-scrolling: touch;
}
.screen { display: none; animation: assiFade 0.45s ease both; }
.screen.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes assiBreathe { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes assiRipple { 0%{transform:scale(.6);opacity:.5} 100%{transform:scale(1.9);opacity:0} }
@keyframes assiFade { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes assiSweep { 0%{background-position:-140% 0} 100%{background-position:240% 0} }

/* Splash */
#screen-splash {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  padding: 2rem;
  text-align: center;
}
#screen-splash.hidden { display: none !important; }
.wordmark {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin: 0.9rem 0 0.35rem;
}
.splash-lockup {
  width: min(78%, 280px);
  height: auto;
  display: block;
  margin: 0 auto 1.1rem;
}
.splash-sub {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Character */
.char-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  position: relative;
}
.char-wrap.lg { width: 148px; height: 148px; }
.char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: transparent;
  display: block;
}
.char-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #FDF8EF 0%, transparent 45%),
    linear-gradient(160deg, #F7C9D6 0%, var(--navy-soft) 55%, #8F4E60 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.char-fallback.hidden,
.char-img.hidden { display: none; }

/* Home brand + intro */
.brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0.85rem;
}
.brand-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  transform: none;
  position: relative;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark::after {
  content: "";
  position: static;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  top: auto;
  left: auto;
  transform: none;
  display: block;
}
.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand-wordmark {
  height: 42px;
  width: auto;
  display: block;
}
.brand-row .account-chip { margin-left: auto; }

.home-intro {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0 0 1.15rem;
  padding: 0.35rem 0 0.15rem;
}
.home-intro::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,99,.24) 0%, rgba(201,160,99,0) 70%);
  pointer-events: none;
}
.home-kicker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--soft);
  margin: 0 0 0.15rem;
}
.kicker-rule {
  width: 14px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.home-intro h1 {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(28px, 7.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.42;
  color: var(--ink);
  margin: 12px 0 0;
}
.home-intro .lede {
  position: relative;
  margin: 13px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  font-weight: 400;
  max-width: 26em;
  color: var(--ink-soft);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.home-data {
  position: relative;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.7;
  color: var(--navy);
  word-break: keep-all;
}
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 1.1rem;
}
.entry-card {
  text-align: left;
  background: #FFFCF5;
  border: 1.5px solid rgba(140,47,67,.16);
  border-radius: 20px;
  padding: 16px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 118px;
  color: var(--ink);
}
.entry-card:hover { border-color: var(--navy); background: #FFFDF9; }
.entry-card:active { transform: scale(0.985); }
.entry-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.entry-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 1.15rem;
}
.report-card {
  background: #FFFCF5;
  border: 1.5px solid rgba(140,47,67,.14);
  border-radius: 18px;
  padding: 14px 13px 13px;
}
.report-num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
  font-weight: 700;
  margin-bottom: 6px;
}
.report-card h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.report-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.stamp-wrap { margin: 0 0 1.15rem; }
.stamp-lede {
  margin: -0.15rem 0 0.7rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.stamp-rail {
  display: flex;
  gap: 0.72rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.1rem 0.45rem;
  scrollbar-width: none;
}
.stamp-rail::-webkit-scrollbar { display: none; }
.stamp-item {
  flex: 0 0 auto;
  width: 72px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.stamp-dot {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.6px solid var(--navy);
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.stamp-item.is-on .stamp-dot { border-color: var(--gold); }
.stamp-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
.stamp-plus {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy-soft);
  line-height: 1;
}
.stamp-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.stamp-item.is-on .stamp-name { color: var(--navy); }

.home-hero-char {
  width: 148px;
  height: 186px;
  margin: 0;
}
.home-hero-char .char-img,
.home-hero-char .char-fallback {
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow);
}

.seal-pill {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--navy);
  background: rgba(212, 167, 106, 0.14);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  padding: 0.18rem 0.6rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  font-weight: 700;
}
h1 {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.45rem;
  line-height: 1.35;
  color: var(--ink);
}
h2 {
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}
h3 {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.lede {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.hero-block { text-align: center; margin-bottom: 1.25rem; }
.hero-block .lede { margin-top: 0.55rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.88rem 1.15rem;
  border-radius: 999px;
  border: 0;
  background: var(--navy);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 22px rgba(140,47,67,.2);
  transition: transform 0.12s ease, opacity 0.12s, background 0.12s;
}
.btn:hover { background: var(--navy-hover); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn-ghost {
  background: #FFFCF5;
  color: #6B6259;
  border: 1px solid rgba(140,47,67,.16);
  box-shadow: none;
}
.btn-ghost:hover { background: #FBF1E1; }
.btn-seal {
  background: var(--navy);
  border: 0;
  color: var(--cream);
}
.btn-gold {
  width: 100%;
  padding: 13px;
  font-size: 13.5px;
  font-weight: 500;
}
.btn-gold-on-dark {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}
.btn-gold-on-dark:hover { background: #DDB579; }
.btn-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.btn-row .btn { flex: 1; }
.btn-sm {
  width: auto;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

/* Premium wine/cream card */
.premium-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: linear-gradient(168deg, #FFFCF5, #FAF0DF);
  color: var(--ink);
  border-radius: 26px;
  padding: 0;
  margin-bottom: 0.35rem;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 14px 34px rgba(120,70,55,.1);
  border: 1px solid rgba(140,47,67,.16);
}
.premium-cover {
  position: relative;
  flex: 0 0 140px;
  background: radial-gradient(120% 100% at 50% 25%, #FBEDE9 0%, #F6E4D6 100%);
  overflow: hidden;
}
.premium-body {
  position: relative;
  z-index: 1;
  max-width: none;
  flex: 1 1 auto;
  min-width: 0;
  padding: 18px 18px 18px 16px;
}
.premium-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #B33A4B;
  margin: 0;
}
.premium-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 7px 0 0;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.premium-desc {
  font-family: var(--serif);
  font-size: 12.5px;
  color: var(--navy);
  margin: 9px 0 0;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.premium-body .btn { margin-top: 14px; }
.premium-char {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
  background: transparent;
  box-shadow: none;
}

/* Section heads with rule */
.sec-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.45rem 0 0.85rem;
}
.sec-head h3 {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}
.sec-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* 2-col tiles */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.notebook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tile {
  text-align: center;
  border-radius: 22px;
  padding: 0;
  min-height: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  transition: transform 0.12s ease, border-color 0.15s, background 0.15s;
  overflow: hidden;
  background: #FFFCF5;
  border: 1px solid rgba(140,47,67,.14);
  color: var(--ink);
}
.tile:hover { border-color: var(--navy); background: #FFFDF9; }
.tile:active { transform: scale(0.985); }
.tile-navy,
.tile-rose {
  background: #FFFCF5;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(140,47,67,.14);
}
.tile-white {
  background: #FFFCF5;
  border: 1px solid rgba(140,47,67,.14);
  color: var(--ink);
}
.tile-wide {
  grid-column: 1 / -1;
  min-height: 88px;
  justify-content: center;
}
.tile-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  font-weight: 700;
  margin-bottom: auto;
}
.tile-title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.38;
}
.tile-desc {
  font-size: 0.74rem;
  line-height: 1.45;
  opacity: 0.68;
}
.tile-navy .tile-desc, .tile-rose .tile-desc { color: var(--ink-soft); opacity: 1; }

/* Daily banner */
.daily-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFCF5;
  border: 1px solid rgba(140,47,67,.13);
  border-radius: 20px;
  padding: 14px 16px;
  margin: 14px 0 0;
  box-shadow: none;
  width: 100%;
  text-align: left;
}
.daily-banner:hover { background: #FBF1E1; }
.daily-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  overflow: hidden;
  background: #FAF2E5;
  position: relative;
  display: block;
}
.daily-banner-text { flex: 1; min-width: 0; }
.daily-banner-label {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--soft);
  margin: 0;
  font-family: var(--font);
}
#daily-quote {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}
.daily-chevron {
  flex: 0 0 auto;
  color: #C0A88C;
  font-size: 15px;
}
.chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--ink-faint);
}

.card-panel {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}
.card-panel.tap {
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.card-panel.tap:hover,
.card-panel.tap:focus-visible {
  border-color: rgba(40, 53, 77, 0.22);
  background: var(--paper-lift);
}
.card-panel .title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 0.2rem;
}
.card-panel .desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin: 1.2rem 0 0.55rem;
}

.daily-box {
  border: 1px solid var(--rule);
  padding: 0.85rem 1rem;
  margin: 0.85rem 0 0.4rem;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.daily-box .label {
  font-size: 0.78rem;
  font-family: var(--serif);
  color: var(--navy);
  margin: 0 0 0.25rem;
  font-weight: 700;
}
.daily-box p { margin: 0; font-size: 0.9rem; }

.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(140,47,67,.18);
  border-radius: 14px;
  background: #FDF8F0;
  padding: 13px 15px;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(40, 53, 77, 0.08);
}
.hint {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin: 0.35rem 0 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.9rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(140,47,67,.16);
  background: #FFFCF5;
  color: #5E5449;
  font-size: 12.5px;
}
.chip.active {
  border-color: var(--navy);
  background: #FAEDE9;
  color: var(--navy);
  font-weight: 500;
}
.chip.suggest {
  border-style: dashed;
  border-color: rgba(40, 53, 77, 0.22);
  color: var(--navy);
}

.house-grid-wrap { margin: 0.2rem 0 0.8rem; }
.house-grid-cap {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin: 0.15rem 0;
}
.house-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  max-width: 248px;
  margin: 0.2rem auto 0.25rem;
}
.house-cell {
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  color: var(--ink-faint);
  box-shadow: var(--shadow);
}
.house-cell.has-door {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
}
.house-cell.has-bed {
  border-color: var(--rose-deep);
  background: var(--rose-card);
  color: var(--ink);
  font-weight: 600;
}
.house-cell.has-desk {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--ink);
  font-weight: 600;
}
.why-order {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}
.why-order li { margin: 0.4rem 0; }
.why-ev { margin: 0.25rem 0 0.7rem; padding-left: 1.1rem; }
.why-ev li { margin: 0.2rem 0; }

/* Analyzing */
.analyze-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.analyze-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.5rem 0;
  color: var(--ink-faint);
  font-size: 0.92rem;
  opacity: 0.45;
  transition: opacity 0.25s, color 0.25s;
}
.analyze-list li.on {
  opacity: 1;
  color: var(--ink);
}
.analyze-list li.done { color: var(--navy); }
.analyze-list .mark {
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
  color: var(--gold);
}
.analyze-list li.spin .mark {
  color: var(--navy);
  animation: pulse 0.9s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Result */
.place-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.01em;
}
.place-meta {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 0 0 0.9rem;
}
.glance-box {
  background: linear-gradient(168deg, #FAEDE9, #FCF6EC);
  color: var(--ink);
  border-radius: 26px;
  padding: 22px;
  margin-bottom: 0.95rem;
  box-shadow: none;
  border: 1px solid rgba(140,47,67,.13);
}
.glance-art {
  width: 148px;
  height: 148px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 20%, #FBEDE9, #F4E1D2);
}
.glance-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 18%;
}
.glance-box .seal-pill {
  border: 0;
  color: #B33A4B;
  background: transparent;
  letter-spacing: .16em;
  padding: 0;
  margin-bottom: 9px;
}
.glance-box .quote-line {
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 0.45rem;
  line-height: 1.5;
  color: var(--ink);
}
.glance-box p { color: #5E5449; }
.glance-box .quote-line p,
.quote-line p {
  margin: 0 0 0.55em;
}
.glance-box .quote-line p:last-child,
.quote-line p:last-child {
  margin-bottom: 0;
}
.terrain-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin: 0.35rem 0 0.75rem;
}
.terrain-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  font-family: var(--serif);
}
.stars {
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 1rem;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  background: rgba(40, 53, 77, 0.08);
  color: var(--navy);
  margin-right: 0.25rem;
}
.result-card {
  border: 1px solid rgba(140,47,67,.13);
  border-radius: 22px;
  padding: 18px 19px;
  margin-bottom: 12px;
  background: #FFFCF5;
  box-shadow: none;
}
.result-card .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.result-card .head b {
  font-size: 0.9rem;
  color: var(--navy);
  font-family: var(--serif);
}
.result-card p {
  margin: 0;
  font-size: 0.9rem;
  white-space: pre-wrap;
}
.err {
  color: #8C3A2F;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}
.wait {
  text-align: center;
  color: var(--ink-soft);
  padding: 1rem 0;
}

/* Bottom sheet */
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(143, 78, 96, 0.34);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 31;
  max-height: 78%;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  padding: 0.85rem 1.15rem calc(1.2rem + var(--safe-b));
  transform: translateY(110%);
  transition: transform 0.28s ease;
  box-shadow: 0 -8px 30px rgba(143, 78, 96, 0.12);
}
.sheet.open { transform: translateY(0); }
.sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(143, 78, 96, 0.18);
  margin: 0 auto 0.75rem;
}
.sheet dl {
  margin: 0;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
}
.sheet dt { color: var(--ink-faint); }
.sheet dd { margin: 0; }
.hit-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Chat */
.chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 200px;
  margin-bottom: 0.75rem;
}
.bubble {
  max-width: 92%;
  padding: 0.7rem 0.9rem;
  border-radius: 18px;
  font-size: 0.9rem;
  white-space: pre-wrap;
}
.bubble.assi {
  align-self: flex-start;
  background: #FFFCF5;
  border: 1px solid rgba(140,47,67,.12);
  border-radius: 20px 20px 20px 6px;
  box-shadow: none;
  color: #3A322C;
}
.bubble.user {
  align-self: flex-end;
  background: var(--navy);
  color: var(--cream);
  border-radius: 20px 20px 6px 20px;
}
.chat-compose {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-compose input {
  flex: 1;
  border: 1px solid rgba(140,47,67,.18);
  border-radius: 999px;
  background: #FFFCF5;
  padding: 14px 16px;
  outline: none;
}
.chat-compose input:focus { border-color: var(--navy); }
.chat-compose .btn {
  width: auto;
  padding: 0.65rem 1rem;
  border-radius: 999px;
}

/* Compare */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.compare-col {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: #fff;
  font-size: 0.82rem;
  box-shadow: var(--shadow);
}
.compare-col .addr {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  word-break: break-all;
}
.verdict-box {
  margin-top: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--cream);
  font-size: 0.92rem;
}
.verdict-box .seal-pill {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

/* MY list */
.my-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.my-item-main {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
}
.my-item .t {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
}
.my-item .s { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.15rem; }
.my-item .my-glance {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink);
}
.my-share {
  flex-shrink: 0;
  border: 1px solid var(--gold-soft);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
}
#my-list-head {
  font-family: var(--serif);
  font-size: 0.98rem;
  margin: 1.1rem 0 0.6rem;
}
.empty-note {
  text-align: center;
  color: var(--ink-faint);
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Bottom nav */
.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 9px 8px calc(14px + var(--safe-b));
  background: rgba(252,246,236,.96);
  border-top: 1px solid rgba(140,47,67,.1);
  backdrop-filter: blur(14px);
  min-height: var(--nav-h);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 2px;
  color: #A6927B;
  font-size: 10.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: 12px;
}
.nav-ico {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.nav-item.active {
  color: var(--navy);
  font-weight: 700;
}
.nav-item.active .nav-ico { stroke-width: 2.05; }
.nav-item:hover { color: var(--navy); }

.top-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}
.top-bar .back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.top-bar h1 { font-size: 1.12rem; margin: 0; flex: 1; }
.top-share {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  background: #fff;
  letter-spacing: -0.01em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-bottom: 0.45rem;
}
.price-pill.free {
  background: #EFE0C2;
  border: 0;
  color: #8A6A2F;
}
.tile.tile-white {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #FFFCF5;
  text-align: center;
  align-items: stretch;
  gap: 0;
}
.tile-char {
  position: static;
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: 50% 40%;
  background: #FAF2E5;
  pointer-events: none;
  margin: 0;
}
.tile-cover {
  display: block;
  height: 112px;
  background-color: #FBEDE9;
  background-size: cover;
  background-position: 50% 40%;
}
.banner-char {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 96px;
  height: 118px;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  background: transparent;
}
.tile-title, .tile-desc, .tile-badge, .price-pill { position: relative; z-index: 1; }
.tile-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 12px 15px;
  flex: 1 1 auto;
}
.tile-title {
  display: block;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  min-height: 0;
  color: var(--ink);
}
.tile-desc {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  min-height: 0;
  color: #8B7B69;
  flex: 1 1 auto;
}
.tile-cta {
  margin-top: 4px;
  display: block;
  width: 100%;
  padding: 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 500;
}
.tile-cta.is-free,
.tile-cta.free {
  background: #EFE0C2;
  color: #7A5C22;
}
.daily-banner { position: relative; overflow: hidden; padding-right: 16px; }
.daily-banner-text,
#daily-quote {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.daily-banner .banner-char {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 38%;
  right: auto;
  bottom: auto;
}
.menu-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, #FFFCF5, #FAF0DF);
  border-radius: 26px;
  padding: 0;
  margin: 0 0 1rem;
  min-height: 0;
  border: 1px solid rgba(140,47,67,.14);
  box-shadow: none;
}
.menu-banner .price-pill { margin-bottom: 0.35rem; }
.menu-banner h2 {
  font-family: var(--serif);
  font-size: 1.12rem;
  margin: 0 0 0.25rem;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.menu-banner p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.menu-banner .banner-char { width: 128px; height: 156px; right: 4px; background: transparent; }
.screen[data-screen="chat"] .banner-char,
.screen[data-screen="compare"] .banner-char {
  background: transparent;
}
.screen[data-screen="my"] .menu-banner {
  background: #FAF2E5;
  border: 1px solid rgba(201,160,99,.34);
}
.screen[data-screen="my"] .banner-char {
  background: transparent;
}
.pay-sheet .pay-price {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.2rem 0 0.35rem;
}
.pay-sheet .pay-kicker { font-size: 0.78rem; color: var(--ink-soft); margin: 0; }
.pay-sheet[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}
.pay-sheet.open { visibility: visible; }
.pay-char {
  width: 140px;
  height: 168px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin: 0 auto 0.6rem;
  background: transparent;
}
.login-card .login-char,
.pay-sheet .pay-char {
  min-height: 148px;
}

.tile-price {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 800;
  color: #B8864A;
  position: relative;
  z-index: 1;
  padding-top: 0.55rem;
}
.consult-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0.9rem 0 0.2rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
}

.brand-row { justify-content: flex-start; }
.account-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 12px;
  font-weight: 400;
  color: var(--navy);
  background: none;
  border: 1px solid rgba(140,47,67,.35);
  border-radius: 999px;
  padding: 8px 15px;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-chip:hover { background: #F7EAE6; }
.chip-gear {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.set-list {
  display: grid;
  gap: 0.55rem;
}
.set-list button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  background: #FFFCF5;
  border: 1px solid rgba(140,47,67,.13);
  border-radius: 18px;
  padding: 15px 17px;
}
.set-list button:hover { background: #FBF1E1; }
.set-list b {
  font-size: 1rem;
  color: var(--navy);
}
.set-list span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.login-card {
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 6px 2px 1.3rem;
  box-shadow: none;
}
.screen[data-screen="login"]:not(.active) {
  display: block !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
.login-orb {
  margin: 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 20%, #FBEDE9, #F4E1D2);
  position: relative;
}
.login-char {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 16%;
  display: block;
  margin: 0;
  background: transparent;
  animation: assiBreathe 6s ease-in-out infinite;
  border-radius: 50%;
}
.login-card h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  margin: 20px 0 0;
  color: var(--ink);
}
.btn-google {
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  box-shadow: none;
  margin-top: 0.4rem;
}
.btn-google .g-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* Menu result extras */
.score-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.38rem 0;
  font-size: 0.84rem;
}
.score-row .lab {
  width: 5.4rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.score-row .bar {
  flex: 1;
  height: 8px;
  background: var(--paper-deep);
  border-radius: 999px;
  overflow: hidden;
}
.score-row .bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--rose-deep), var(--gold));
  border-radius: 999px;
}
.score-row .num {
  width: 2.1rem;
  text-align: right;
  font-weight: 700;
  color: var(--navy);
}
.verdict-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-weight: 800;
  font-size: 0.84rem;
  margin-bottom: 0.45rem;
  background: var(--rose);
  color: var(--navy);
}
.verdict-badge.good { background: #E4EFD9; color: #3D5A3A; }
.verdict-badge.ok { background: var(--rose); color: var(--navy); }
.verdict-badge.mid { background: #F3E9D6; color: #6A5340; }
.verdict-badge.warn { background: #F6E2D8; color: #8C3A2F; }
.one-liner {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0.45rem 0 0.7rem;
  line-height: 1.55;
}
.soft-list {
  margin: 0.25rem 0 0.7rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}
.soft-list li { margin: 0.2rem 0; }
.layout-box {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  white-space: pre-wrap;
  background: var(--paper-deep);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  margin: 0.4rem 0 0.7rem;
  color: var(--ink-soft);
}
.compare-pick {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  margin-bottom: 0.85rem;
}
.compare-pick .seal-pill {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.compare-pick .pick-banner {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
}
.compare-table {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: collapse;
  margin: 0.35rem 0 0.7rem;
}
.compare-table th,
.compare-table td {
  padding: 0.38rem 0.4rem;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.compare-table th { color: var(--ink-faint); font-weight: 600; }
.compare-table td.win { font-weight: 800; color: var(--navy); }
.gift-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0 0.7rem; }
.compat-score {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0.2rem 0 0.6rem;
}

.compare-col.pick {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}


/* QA / legal / account */
.legal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  justify-content: center;
  margin: 1rem 0 0.4rem;
  padding-top: 0.4rem;
}
.legal-foot {
  gap: 16px;
  padding-top: 26px;
}
.legal-foot button {
  font-size: 11.5px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(140,47,67,.3);
}
.legal-doc h2 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 1.1rem 0 0.4rem;
}
.legal-doc p, .legal-doc li {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0 0 0.55rem;
}
.legal-doc ul { padding-left: 1.1rem; margin: 0 0 0.7rem; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.45rem 0;
}
.check-row input { margin-top: 0.2rem; flex-shrink: 0; }
.account-card, .empty-box {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
  margin: 0 0 0.85rem;
}
.account-card h2 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.account-card .meta { font-size: 0.78rem; color: var(--ink-faint); margin: 0 0 0.7rem; }
.member-id-box { margin: 0 0 0.85rem; }
.member-id-box label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0 0 0.3rem;
}
.member-id-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.member-id-row code {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  background: #f6f3ee;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  word-break: break-all;
  user-select: all;
}
.member-id-row .btn { flex: 0 0 auto; margin: 0; }
.sticky-cta {
  position: sticky;
  bottom: 0;
  padding: 0.75rem 0 calc(0.5rem + var(--safe-b));
  background: linear-gradient(180deg, transparent, var(--paper) 28%);
  margin-top: 1.1rem;
}
.screen[data-screen] { padding-bottom: 0.4rem; }
.pay-note { font-size: 0.74rem; color: var(--ink-faint); text-align: center; margin: 0.35rem 0 0.7rem; }

.linkish {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  font: inherit;
}
.btn-google.is-off {
  opacity: 0.42;
  pointer-events: none;
}
/* last tile no longer spans — chat is a wide card */

.result-card .easy {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.why-chain {
  margin-top: 0.9rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--rule);
}
.why-chain p { margin: 0.35rem 0; }
.hit-list li { margin-bottom: 0.7rem; }
.hit-list p { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--ink-soft); }

mark.hl {
  background: #F6E08A;
  color: inherit;
  padding: 0 0.12em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.glance-box mark.hl {
  background: #F6E08A;
  color: inherit;
  border-bottom: 0;
  padding: 0 0.12em;
  border-radius: 2px;
}

/* assi plates stay clear */
.char-img, .tile-char, .banner-char, .premium-char, .login-char, .pay-char {
  background: transparent !important;
}

.tile-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.22rem;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: inherit;
  color: inherit;
}
.tile-sample {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(140,47,67,.16);
  font-size: 0.76rem;
  font-weight: 800;
}
.sample-banner {
  background: #fff;
  border: 1px solid rgba(140,47,67,.14);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  margin: 0 0 0.9rem;
}
.sample-banner p { margin: 0.35rem 0 0; font-size: 0.84rem; color: var(--ink-soft); word-break: keep-all; }

#btn-addr-sample {
  width: 100%;
  margin: 0.15rem 0 0.85rem;
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(140,47,67,.16);
  box-shadow: none;
  font-weight: 800;
}

.place-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.4rem 0 1rem; }
.place-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  width: 100%; text-align: left;
  background: #fff; border: 1px solid rgba(140,47,67,.16); border-radius: 16px;
  padding: 0.72rem 0.9rem; color: var(--ink); font-weight: 700;
}
.place-row:active { transform: scale(0.99); }
.place-row .meta { font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); }
.place-row.on { background: var(--navy); color: var(--cream); }
.place-row.on .meta { color: rgba(253,248,239,0.78); }
.place-guide { margin-top: 0.4rem; padding-bottom: 1.2rem; }
.place-empty { color: var(--ink-soft); font-size: 0.86rem; padding: 0.4rem 0.1rem 0.8rem; }

#btn-place-sample {
  width: 100%;
  margin: 0.15rem 0 0.85rem;
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(140,47,67,.16);
  box-shadow: none;
  font-weight: 800;
}

button.daily-banner {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.ask-log { margin: 0.4rem 0 0.85rem; }
.ask-turn {
  background: var(--paper-lift);
  border: 1px solid rgba(140,47,67,.16);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin: 0 0 0.55rem;
}
.ask-q {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: var(--navy);
}
.ask-a p, .bubble.assi p { margin: 0 0 0.45em; }
.ask-a p:last-child, .bubble.assi p:last-child { margin-bottom: 0; }
.my-asks {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.pay-guide {
  margin: 0.55rem 0 0.7rem;
  padding: 0.85rem 1rem 0.95rem;
  background: #fff;
  border: 1px solid rgba(140,47,67,.16);
  border-radius: 18px;
  text-align: left;
}
.pay-guide-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy, #1d2a4a);
}
.pay-guide ul {
  margin: 0 0 0.45rem;
  padding-left: 1.1rem;
}
.pay-guide li {
  margin: 0.18rem 0;
  font-size: 0.86rem;
  color: var(--ink);
}
.ask-meter {
  margin: 0.85rem 0 0.7rem;
  padding: 0.9rem 1rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(140,47,67,.16);
  border-radius: 18px;
}
.ask-meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
}
.ask-meter-top b { color: var(--navy, #1d2a4a); }
.ask-meter-top span { font-weight: 800; letter-spacing: 0.02em; }
.ask-meter-bar {
  height: 8px;
  margin: 0.45rem 0 0.4rem;
  background: #efe6d6;
  border-radius: 99px;
  overflow: hidden;
}
.ask-meter-bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 99px;
}
.ask-meter-left {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy, #1d2a4a);
}
.chips.ask-guide { margin: 0.2rem 0 0.75rem; }

.feat-strip { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.65rem 0 0.2rem; }
.feat-chip {
  display: inline-flex; align-items: baseline; gap: 0.28rem;
  background: #fff; border: 1px solid rgba(140,47,67,.16);
  border-radius: 999px; padding: 0.22rem 0.65rem; font-size: 0.78rem;
}
.feat-chip b { color: var(--navy, #1d2a4a); }
.conf-line, .front-line {
  margin: 0.45rem 0 0; font-size: 0.84rem; color: var(--ink-soft, #6b6256); line-height: 1.55;
}
.front-line { color: var(--navy, #1d2a4a); font-weight: 650; }

.merchant-foot {
  display: block;
  margin: 14px 0 12px;
  padding: 17px 19px;
  border: 1px solid rgba(36,31,27,.16);
  border-radius: 18px;
  background: transparent;
  font-style: normal;
  text-align: left;
}
.merchant-foot p {
  margin: 0 0 0;
  font-size: 11px;
  color: #5A5148;
  line-height: 2;
}
.merchant-foot p:last-child { margin-bottom: 0; }
.merchant-foot .merchant-wait { color: var(--ink-faint); }

.merchant-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }


/* ── Assi design: remaining screens ── */
.sec-head { margin: 28px 0 14px; }
.sec-head h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}
.sec-more {
  border: 0;
  background: none;
  padding: 0;
  font-size: 11.5px;
  color: #A6927B;
  white-space: nowrap;
}
.sec-more:hover { color: var(--navy); }

.chat-wide {
  margin: 16px 0 0;
  border-radius: 26px;
  overflow: hidden;
  background: #241F1B;
  color: #F2E7D8;
  display: flex;
  align-items: stretch;
}
.chat-wide-cover {
  position: relative;
  flex: 0 0 132px;
  overflow: hidden;
  background: #241F1B;
}
.chat-wide-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 18%;
}
.chat-wide-cover::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 44px;
  background: linear-gradient(to right, rgba(36,31,27,0), #241F1B 82%);
}
.chat-wide-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 18px 18px 18px 14px;
  display: flex;
  flex-direction: column;
}
.chat-wide-kicker {
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--gold);
  margin: 0;
}
.chat-wide-body h2 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  margin: 6px 0 0;
  color: #F2E7D8;
}
.chat-wide-body ul {
  list-style: none;
  margin: 11px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.chat-wide-body li {
  font-size: 11.5px;
  color: #C4B4A1;
  line-height: 1.55;
}
.chat-wide-body li::before {
  content: "· ";
  color: var(--gold);
}

.sample-block { padding: 26px 0 0; }
.sample-head {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.sample-lede {
  margin: 0 0 12px;
  font-size: 12px;
  color: #8B7B69;
}
.sample-teaser {
  width: 100%;
  text-align: left;
  padding: 19px;
  border: 1px dashed rgba(140,47,67,.28);
  border-radius: 22px;
  background: #FFFCF5;
  display: block;
}
.sample-teaser:hover { background: #FBF1E1; }
.sample-kicker {
  display: block;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--soft);
}
.sample-quote {
  display: block;
  font-family: var(--serif);
  font-size: 15.5px;
  margin-top: 9px;
  line-height: 1.75;
  color: #3A322C;
}
.sample-more {
  display: block;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--navy);
}

.all-groups { display: flex; flex-direction: column; gap: 26px; }
.all-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.all-group-head b {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}
.all-group-head i {
  flex: 1;
  height: 1px;
  background: rgba(140,47,67,.14);
}
.all-group-head em {
  font-style: normal;
  font-size: 10.5px;
  color: #A6927B;
  letter-spacing: .04em;
}
.all-row {
  width: 100%;
  text-align: left;
  padding: 13px 15px 13px 13px;
  border: 1px solid rgba(140,47,67,.14);
  border-radius: 22px;
  background: #FFFCF5;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.all-row:hover { border-color: var(--navy); background: #FBF1E1; }
.all-cover {
  flex: 0 0 72px;
  width: 72px;
  height: 82px;
  border-radius: 18px;
  background-size: cover;
  background-position: 50% 36%;
  overflow: hidden;
  display: block;
}
.all-copy { flex: 1 1 auto; min-width: 0; display: block; }
.all-name {
  display: block;
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}
.all-desc {
  display: block;
  font-size: 11.5px;
  color: #8B7B69;
  margin-top: 5px;
  line-height: 1.7;
}
.all-row .tile-cta {
  display: inline-block;
  width: auto;
  margin-top: 8px;
  padding: 6px 12px;
  font-size: 11px;
}

.progress-ticks {
  display: flex;
  gap: 5px;
  margin: 0 0 22px;
}
.progress-ticks i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(140,47,67,.15);
}
.progress-ticks i.on { background: var(--navy); }

.field-card {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(140,47,67,.14);
  border-radius: 22px;
  background: #FFFCF5;
}
.field-card label {
  letter-spacing: .14em;
  color: var(--soft);
  font-size: 10.5px;
}

.confirm-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background: #FAEDE9;
  border: 1px solid rgba(140,47,67,.13);
}
.confirm-hero img {
  flex: 0 0 66px;
  width: 66px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  object-position: 50% 30%;
  background: #F6E0DA;
}
.confirm-hero .place-title { margin: 0; color: var(--navy); font-size: 13px; font-family: var(--font); font-weight: 500; }
.confirm-hero .hint { margin: 4px 0 0; }

.analyze-hero {
  padding: 28px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.analyze-orb {
  position: relative;
  width: 230px;
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.analyze-ripple {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(201,160,99,.5);
  animation: assiRipple 3s ease-out infinite;
}
.analyze-ripple.d2 { animation-delay: 1s; }
.analyze-ripple.d3 { animation-delay: 2s; }
.analyze-face {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 20%, #FBEDE9, #F4E1D2);
}
.analyze-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  animation: assiBreathe 4s ease-in-out infinite;
}
.analyze-hero h1 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 26px 0 0;
  line-height: 1.55;
  text-align: center;
}
.analyze-sweep {
  margin: 26px auto 0;
  width: 100%;
  max-width: 280px;
  height: 4px;
  border-radius: 3px;
  background: #EEE2D0;
  overflow: hidden;
}
.analyze-sweep i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(201,160,99,0), #C9A063, rgba(201,160,99,0));
  background-size: 60% 100%;
  animation: assiSweep 1.7s linear infinite;
}
.analyze-list { max-width: 280px; margin-left: auto; margin-right: auto; }

.menu-hero { overflow: hidden; }
.menu-hero-art {
  position: relative;
  height: 170px;
  background: radial-gradient(120% 100% at 50% 18%, #FBEDE9, #F5E3D4);
  overflow: hidden;
}
.menu-hero-art .banner-char,
.menu-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 18%;
  right: auto;
  bottom: auto;
}
.menu-hero-copy {
  padding: 4px 22px 22px;
  text-align: center;
}
.menu-hero-copy h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 0;
  line-height: 1.45;
  color: var(--ink);
}
.menu-hero-copy p {
  font-size: 12px;
  color: #7C6C5B;
  line-height: 1.85;
  margin: 9px 0 0;
}
.menu-banner .price-pill { margin: 0; }

.greet-banner {
  padding: 16px 18px;
  border-radius: 24px;
  background: #FAEDE9;
  border: 1px solid rgba(140,47,67,.13);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 0;
}
.greet-thumb {
  flex: 0 0 80px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  background: #F6E0DA;
  position: relative;
  display: block;
}
.greet-thumb .banner-char,
.greet-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  right: auto;
  bottom: auto;
}
.greet-copy h2 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 7px 0 0;
  line-height: 1.45;
  color: var(--ink);
}
.screen[data-screen="my"] .greet-banner {
  background: #FAF2E5;
  border: 1px solid rgba(201,160,99,.34);
}

.compare-ab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.compare-ab .field {
  padding: 16px 15px;
  border: 1px solid rgba(140,47,67,.14);
  border-radius: 20px;
  background: #FFFCF5;
  margin-bottom: 0;
}
.compare-ab label {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--soft);
  letter-spacing: 0;
}

.set-hello {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 24px;
  background: #FAEDE9;
  border: 1px solid rgba(140,47,67,.13);
  margin-bottom: 16px;
}
.set-hello-art {
  flex: 0 0 66px;
  height: 74px;
  border-radius: 18px;
  overflow: hidden;
  background: #F6E0DA;
  position: relative;
  display: block;
}
.set-hello-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.set-hello .lede { margin: 0; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.set-dark {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: #241F1B;
  color: #D3C4B2;
  font-size: 12px;
  line-height: 1.95;
}
.set-dark-kicker {
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: .16em;
  margin: 0 0 8px;
}
.set-dark b { color: #F2E7D8; font-weight: 500; }
.set-support {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(140,47,67,.13);
  border-radius: 22px;
  background: #FFFCF5;
  font-size: 12px;
  color: #5E5449;
  line-height: 2;
}
.set-support h3 {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 8px;
}
.set-support p { margin: 0; }

.legal-doc > h2 {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  padding: 17px 19px 0;
  background: #FFFCF5;
  border: 1px solid rgba(140,47,67,.12);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}
.legal-doc > h2 + p,
.legal-doc > h2 + ul,
.legal-doc > h2 + div {
  margin: 0 0 11px;
  padding: 9px 19px 17px;
  background: #FFFCF5;
  border: 1px solid rgba(140,47,67,.12);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  font-size: 12.5px;
  line-height: 2;
  color: #5E5449;
}
.legal-doc > p:first-child {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: #7C6C5B;
  line-height: 1.95;
}

.verdict-box,
.compare-pick {
  background: #241F1B;
  color: #F2E7D8;
  border-radius: 24px;
}
.top-bar .back {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(140,47,67,.2);
  background: none;
  color: var(--navy);
}
.top-bar .back:hover { background: #F7EAE6; }
.top-bar h1 { font-family: var(--serif); }
.top-share {
  border: 1px solid rgba(140,47,67,.35);
  color: var(--navy);
  background: none;
  font-weight: 400;
}
.pay-sheet .pay-price { color: var(--navy); }
.pay-char {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 50%;
  margin: 0 auto 0.6rem;
}
.stamp-dot {
  border: 1.5px solid rgba(140,47,67,.28);
  background: #FFFCF5;
  box-shadow: none;
}
.stamp-item.is-on .stamp-dot { border-color: var(--gold); }
.wordmark { font-family: var(--serif); }
.char-fallback {
  background:
    radial-gradient(circle at 35% 30%, #FCF6EC 0%, transparent 45%),
    linear-gradient(160deg, #FAEDE9 0%, var(--navy-soft) 55%, var(--navy) 100%);
}
.section-label {
  letter-spacing: .14em;
  color: var(--soft);
  font-size: 10.5px;
}
#btn-addr-sample, #btn-place-sample {
  background: #FFFCF5;
  color: var(--navy);
  border: 1px solid rgba(140,47,67,.16);
  font-weight: 500;
}
a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(140,47,67,.3); }
.merchant-foot a { border-bottom: 1px solid rgba(140,47,67,.3); }

.feat-strip, .front-line, .conf-line { display: none; }

.tile-cover.kind-compare,
.tile-cover.kind-chat,
.all-cover.kind-compare,
.all-cover.kind-chat {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 58%;
}
.screen[data-screen="compare"] .menu-hero-art {
  height: 248px;
}
.screen[data-screen="compare"] .menu-hero-art img {
  object-fit: contain;
  object-position: 50% 50%;
}
.screen[data-screen="chat"] .greet-thumb img,
.screen[data-screen="my"] .greet-thumb img {
  object-fit: contain;
  object-position: 50% 30%;
}

.field-card input + label { display:block; margin-top:14px; }
.confirm-copy { min-width:0; flex:1; }
.confirm-hero .spot-name {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.spot-name-input {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0;
  margin: 0 0 0.15rem;
  color: inherit;
}
.spot-name-input::placeholder { color: var(--ink-faint); font-weight: 600; }
.my-item .t-sub { font-size: 0.72rem; color: var(--ink-faint); margin-top: 1px; }

.compare-ab .field input + label { display:block; margin-top:10px; }
#intent-place { margin: 0 0 14px; }
