:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e0d4;
  --paper-light: #fbfaf6;
  --ink: #171a17;
  --muted: #6f746d;
  --line: rgba(23, 26, 23, 0.12);
  --forest: #143f35;
  --forest-2: #1f594a;
  --mint: #cfe5da;
  --coral: #e66b50;
  --peach: #f5c9b5;
  --blue: #b8d8e2;
  --lilac: #d8d2ea;
  --yellow: #f1d67a;
  --white: #fff;
  --shadow: 0 18px 50px rgba(25, 29, 25, 0.11);
  --soft-shadow: 0 8px 24px rgba(25, 29, 25, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --leather: #35251f;
  --gold: #e0c292;
  --lining: #ede1ce;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 210, 234, 0.55), transparent 27%),
    radial-gradient(circle at 80% 76%, rgba(207, 229, 218, 0.65), transparent 29%),
    #e7e3da;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 8vw, 140px);
  padding: 34px;
  overflow: hidden;
}

.prototype-notes {
  width: min(430px, 34vw);
  align-self: center;
}

.prototype-brand {
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}

.prototype-notes h1 {
  max-width: 410px;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.prototype-notes p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.prototype-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 66px;
  color: var(--muted);
}

.prototype-tip > span {
  width: 34px;
  height: 1px;
  background: var(--ink);
}

.phone-shell {
  position: relative;
  width: 430px;
  height: min(932px, calc(100vh - 36px));
  min-height: min(700px, calc(100vh - 36px));
  overflow: hidden;
  border: 8px solid #171917;
  border-radius: 48px;
  background: var(--paper);
  box-shadow: 0 38px 90px rgba(23, 26, 23, 0.27), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.phone-sensor {
  display: none;
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 100;
  width: 112px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #171917;
}

.status-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 90;
  height: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 21px 7px;
  color: var(--ink);
  background: linear-gradient(var(--paper) 72%, rgba(244, 240, 232, 0));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.signal {
  height: 10px;
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
}

.signal i {
  width: 2px;
  background: currentColor;
  border-radius: 2px;
}

.signal i:nth-child(1) { height: 4px; }
.signal i:nth-child(2) { height: 6px; }
.signal i:nth-child(3) { height: 8px; }
.signal i:nth-child(4) { height: 10px; }

.wifi {
  font-size: 12px;
  transform: rotate(-45deg);
}

.battery {
  width: 18px;
  height: 9px;
  padding: 1px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.battery::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 4px;
  margin: 1px 0 0 2px;
  border-radius: 0 2px 2px 0;
  background: currentColor;
}

.battery i {
  display: block;
  width: 11px;
  height: 100%;
  border-radius: 1px;
  background: currentColor;
}

.app-screen {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 36px 0 104px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: var(--paper);
}

.app-screen::-webkit-scrollbar,
.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.page {
  min-height: 100%;
  animation: page-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.page-pad {
  padding: 0 18px;
}

.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
}

.eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--forest-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-top h1,
.page-title {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.icon-btn,
.plain-btn,
.pill-btn,
.primary-btn,
.secondary-btn,
.chip,
.nav-item,
.bookmark-btn,
.seg-btn,
.text-btn {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(23, 26, 23, 0.08);
}

.icon-btn svg,
.nav-icon svg,
.nav-orb svg,
.inline-icon svg,
.search-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-trigger {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  margin: 4px 0 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.67);
  color: #7c7e78;
  text-align: left;
  box-shadow: 0 6px 18px rgba(28, 35, 28, 0.03);
}

.search-trigger .shortcut {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 8px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 10px;
}

.mood-intro {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(20, 63, 53, 0.16);
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: white;
}

.mood-intro::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -42px;
  width: 150px;
  height: 150px;
  border: 30px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.mood-intro h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.mood-intro p {
  position: relative;
  z-index: 1;
  margin: 7px 0 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.chips,
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mood-intro .chips {
  position: relative;
  z-index: 1;
}

.chip {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
  transition: 0.2s ease;
}

.mood-intro .chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.chip.is-active,
.chip:active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.mood-intro .chip.is-active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--forest);
}

.section {
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.section-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.text-btn {
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.daily-card {
  overflow: hidden;
  border-radius: 28px;
  background: #deddd4;
  box-shadow: var(--soft-shadow);
}

.daily-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e5dd;
}

.daily-poster img,
.perfume-image img,
.detail-poster img,
.mini-poster img,
.duel-image img,
.passport-cover img,
.search-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.image-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(245, 241, 233, 0.9);
  backdrop-filter: blur(10px);
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.image-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.bookmark-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 241, 233, 0.92);
  backdrop-filter: blur(10px);
}

.bookmark-btn svg {
  width: 19px;
  height: 19px;
  fill: transparent;
  stroke: var(--ink);
  stroke-width: 1.8;
}

.bookmark-btn.is-saved svg {
  fill: var(--coral);
  stroke: var(--coral);
}

.daily-info {
  padding: 17px 18px 19px;
  background: var(--paper-light);
}

.brand-line {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.daily-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.daily-name-row h3 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.round-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}

.round-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.daily-quote {
  margin: 11px 0 14px;
  color: #575c56;
  font-size: 13px;
  line-height: 1.6;
}

.recommend-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.recommend-feedback > span {
  margin-right: auto;
  color: var(--muted);
  font-size: 10px;
}

.tiny-feedback {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  cursor: pointer;
}

.tiny-feedback.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: #62675f;
  font-size: 10px;
}

.horizontal-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 161px;
  gap: 11px;
  overflow-x: auto;
  margin: 0 -18px;
  padding: 0 18px 8px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.mini-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.64);
  scroll-snap-align: start;
  cursor: pointer;
}

.mini-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e4e1db;
}

.mini-copy {
  padding: 10px 11px 12px;
}

.mini-copy strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-copy span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-strip {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 10px;
}

.play-teaser {
  min-height: 156px;
  padding: 17px;
  overflow: hidden;
  position: relative;
  border: 0;
  border-radius: 22px;
  text-align: left;
  cursor: pointer;
}

.play-teaser:first-child {
  background: var(--lilac);
}

.play-teaser:last-child {
  background: var(--blue);
}

.play-teaser .play-index {
  display: block;
  margin-bottom: 26px;
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.play-teaser strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 105px;
  font-size: 16px;
  line-height: 1.2;
}

.play-teaser small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 7px;
  color: rgba(23, 26, 23, 0.64);
  font-size: 10px;
}

.play-teaser::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -29px;
  width: 100px;
  height: 100px;
  border: 20px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.qa-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 7px 22px rgba(20, 35, 28, 0.04);
}

.qa-meta,
.review-meta {
  display: flex;
  align-items: center;
  gap: 9px;
}

.avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.avatar.coral { background: var(--peach); }
.avatar.blue { background: var(--blue); }
.avatar.lilac { background: var(--lilac); }

.qa-author {
  min-width: 0;
  flex: 1;
}

.qa-author strong {
  display: block;
  font-size: 12px;
}

.qa-author span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
}

.qa-card h3 {
  margin: 14px 0 7px;
  font-size: 16px;
  line-height: 1.45;
}

.qa-card > p,
.reply-preview {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.qa-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 15px;
}

.qa-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.qa-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.qa-action.answer {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.bottom-nav {
  position: absolute;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  height: 88px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 12px 8px 16px;
  border-top: 1px solid rgba(23, 26, 23, 0.07);
  background: rgba(251, 250, 246, 0.93);
  backdrop-filter: blur(18px) saturate(1.2);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 1px 0 0;
  background: transparent;
  color: #969891;
  font-size: 9px;
}

.nav-item.is-active {
  color: var(--forest);
  font-weight: 700;
}

.nav-icon {
  height: 25px;
  display: grid;
  place-items: center;
}

.nav-play {
  margin-top: -26px;
}

.nav-orb {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  border: 5px solid var(--paper-light);
  border-radius: 50%;
  background: var(--coral);
  color: white;
  box-shadow: 0 8px 20px rgba(180, 66, 42, 0.25);
}

.nav-orb svg {
  width: 23px;
  height: 23px;
}

/* library */
.library-head {
  position: sticky;
  top: -36px;
  z-index: 20;
  padding: 36px 18px 13px;
  background: rgba(244, 240, 232, 0.92);
  backdrop-filter: blur(18px);
}

.library-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 5px 0 13px;
}

.library-summary h1 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.library-summary span {
  color: var(--muted);
  font-size: 10px;
}

.filter-row {
  margin: 0 -18px;
  padding: 0 18px 2px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 18px 26px;
}

.perfume-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 23, 0.1);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.perfume-card:active {
  transform: scale(0.985);
}

.perfume-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e5e2da;
}

.perfume-card .bookmark-btn {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
}

.perfume-copy {
  padding: 11px 11px 13px;
}

.perfume-copy h3 {
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perfume-copy .brand-line {
  overflow: hidden;
  margin-top: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perfume-copy .tag-row {
  flex-wrap: nowrap;
  overflow: hidden;
  margin-top: 9px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-state b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 17px;
}

/* play */
.play-page {
  background: var(--forest);
  color: white;
}

.play-page .page-top {
  padding: 0 18px;
}

.play-page .eyebrow,
.play-page .page-top .text-btn {
  color: var(--yellow);
}

.play-hero {
  position: relative;
  min-height: 220px;
  padding: 24px 18px 28px;
  overflow: hidden;
}

.play-hero::before,
.play-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.play-hero::before {
  width: 214px;
  height: 214px;
  right: -50px;
  top: -14px;
  background: var(--coral);
}

.play-hero::after {
  width: 125px;
  height: 125px;
  right: 22px;
  top: 31px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.play-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 9px 0 12px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.play-hero p {
  position: relative;
  z-index: 1;
  max-width: 230px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.play-list {
  padding: 21px 18px 34px;
  border-radius: 30px 30px 0 0;
  background: var(--paper);
  color: var(--ink);
}

.featured-game {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 23px;
  border: 0;
  border-radius: 26px;
  background: var(--yellow);
  text-align: left;
  cursor: pointer;
}

.featured-game .game-number,
.game-card .game-number {
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.featured-game h2 {
  max-width: 230px;
  margin: 38px 0 8px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.12;
}

.featured-game p {
  max-width: 210px;
  margin: 0;
  color: rgba(23, 26, 23, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.featured-game .orbit {
  position: absolute;
  right: -27px;
  top: 33px;
  width: 137px;
  height: 137px;
  border: 1px solid rgba(23, 26, 23, 0.25);
  border-radius: 50%;
}

.featured-game .orbit::before,
.featured-game .orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--coral);
}

.featured-game .orbit::before {
  width: 43px;
  height: 43px;
  left: -14px;
  bottom: 14px;
}

.featured-game .orbit::after {
  width: 18px;
  height: 18px;
  right: 22px;
  top: -7px;
  background: var(--forest);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 11px;
}

.game-card {
  min-height: 166px;
  padding: 16px;
  border: 0;
  border-radius: 21px;
  background: var(--paper-light);
  text-align: left;
  cursor: pointer;
}

.game-card:nth-child(4n + 1) { background: var(--peach); }
.game-card:nth-child(4n + 2) { background: var(--blue); }
.game-card:nth-child(4n + 3) { background: var(--lilac); }
.game-card:nth-child(4n + 4) { background: var(--mint); }

.game-card .game-glyph {
  display: block;
  margin: 14px 0 18px;
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1;
}

.game-card strong {
  display: block;
  font-size: 14px;
}

.game-card small {
  display: block;
  margin-top: 5px;
  color: rgba(23, 26, 23, 0.58);
  font-size: 10px;
  line-height: 1.35;
}

/* community */
.community-banner {
  margin: 5px 18px 0;
  padding: 18px;
  border-radius: 23px;
  background: var(--coral);
  color: white;
}

.community-banner strong {
  display: block;
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
}

.community-banner p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.community-banner .everyone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  font-size: 10px;
  font-weight: 700;
}

.community-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 18px;
  padding: 4px;
  border-radius: 14px;
  background: var(--paper-deep);
}

.seg-btn {
  min-height: 35px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.seg-btn.is-active {
  background: var(--paper-light);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(23, 26, 23, 0.07);
}

.community-feed {
  display: grid;
  gap: 11px;
  padding: 0 18px 30px;
}

.reply-preview {
  margin-top: 13px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--paper);
}

.reply-preview b {
  color: var(--ink);
}

.review-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.review-visual {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 148px;
}

.review-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-copy {
  padding: 14px;
}

.review-copy .review-title {
  margin: 11px 0 6px;
  font-size: 15px;
  line-height: 1.4;
}

.review-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.topic-card {
  padding: 20px;
  border-radius: 22px;
  background: var(--forest);
  color: white;
}

.topic-card:nth-child(even) { background: var(--lilac); color: var(--ink); }
.topic-card span { font-size: 10px; opacity: 0.65; }
.topic-card h3 { margin: 13px 0 7px; font-size: 18px; }
.topic-card p { margin: 0; font-size: 11px; line-height: 1.5; opacity: 0.7; }

.fab {
  position: absolute;
  z-index: 70;
  right: 20px;
  bottom: 105px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 24px rgba(23, 26, 23, 0.25);
  cursor: pointer;
}

.fab svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* profile */
.profile-page {
  background:
    radial-gradient(circle at 90% 0, rgba(241, 214, 122, 0.38), transparent 25%),
    var(--paper);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 7px;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--forest);
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 24px;
  transform: rotate(-4deg);
}

.profile-identity h2 {
  margin: 0 0 4px;
  font-size: 19px;
}

.profile-identity p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.passport-card {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 21px;
  border-radius: 27px;
  background: var(--forest);
  color: white;
}

.passport-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  top: -74px;
  border: 34px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.passport-label {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.passport-card h2 {
  margin: 23px 0 7px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 26px;
  font-weight: 500;
}

.passport-card > p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
  line-height: 1.55;
}

.passport-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.12);
}

.passport-count {
  padding: 12px 8px;
  border: 0;
  background: rgba(0, 0, 0, 0.1);
  color: white;
  text-align: center;
  cursor: pointer;
}

.passport-count strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 20px;
}

.passport-count span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.dna-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.68);
}

.dna-row {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  font-size: 10px;
}

.dna-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-deep);
}

.dna-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--forest);
}

.dna-row:nth-child(3) .dna-track i { background: var(--coral); }
.dna-row:nth-child(4) .dna-track i { background: #7b82b8; }
.dna-row:nth-child(5) .dna-track i { background: #d1a930; }

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

.collection-card {
  padding: 13px 10px;
  border: 0;
  border-radius: 17px;
  background: var(--paper-light);
  text-align: left;
  cursor: pointer;
}

.collection-card:nth-child(2) { background: var(--peach); }
.collection-card:nth-child(3) { background: var(--blue); }
.collection-card strong { display: block; font-size: 18px; }
.collection-card span { display: block; margin-top: 14px; font-size: 10px; }

.taste-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.taste-box {
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.taste-box span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.taste-box p {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

/* overlays and detail */
.overlay {
  position: absolute;
  z-index: 120;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: rgba(12, 18, 15, 0.42);
  backdrop-filter: blur(4px);
  animation: fade-in 0.2s ease;
}

.overlay.full {
  display: block;
  background: var(--paper);
  backdrop-filter: none;
}

.overlay.full .detail-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

@keyframes fade-in { from { opacity: 0; } }

.sheet {
  width: 100%;
  max-height: 86%;
  overflow-y: auto;
  padding: 10px 18px 24px;
  border-radius: 30px 30px 0 0;
  background: var(--paper-light);
  box-shadow: 0 -18px 50px rgba(23, 26, 23, 0.13);
  animation: sheet-up 0.34s cubic-bezier(0.16, 0.9, 0.3, 1);
}

@keyframes sheet-up { from { transform: translateY(30%); opacity: 0; } }

.sheet-grabber {
  width: 40px;
  height: 4px;
  margin: 1px auto 17px;
  border-radius: 999px;
  background: #d4d1ca;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sheet-head h2 {
  margin: 0;
  font-size: 20px;
}

.close-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--paper-deep);
  cursor: pointer;
}

.close-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.detail-page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding-bottom: 90px;
  scrollbar-width: none;
  background: var(--paper);
  animation: detail-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes detail-in { from { transform: translateX(24px); opacity: 0; } }

.detail-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  height: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 16px 9px;
  background: linear-gradient(var(--paper) 72%, rgba(244, 240, 232, 0));
}

.detail-topbar .icon-btn { background: rgba(255, 255, 255, 0.87); }

.detail-poster {
  width: calc(100% - 36px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 4px 18px 0;
  border-radius: 25px;
  background: #e4e1da;
}

.detail-body {
  padding: 20px 18px 28px;
}

.detail-body h1 {
  margin: 4px 0 4px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.detail-quote {
  margin: 17px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--coral);
  color: #50564f;
  font-family: Georgia, "Songti SC", serif;
  font-size: 14px;
  line-height: 1.7;
}

.state-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 20px;
}

.state-btn {
  min-height: 41px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.state-btn.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.note-pyramid {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.note-level {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.7);
}

.note-level:nth-child(2) { margin-inline: 10px; }
.note-level:nth-child(3) { margin-inline: 21px; }

.note-level b {
  color: var(--coral);
  font-size: 10px;
}

.note-level span {
  font-size: 11px;
  line-height: 1.45;
}

.quick-poll {
  padding: 17px;
  border-radius: 20px;
  background: var(--lilac);
}

.quick-poll h3 { margin: 0 0 12px; font-size: 15px; }

.poll-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.poll-btn {
  min-height: 38px;
  border: 1px solid rgba(23, 26, 23, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  cursor: pointer;
}

.poll-btn.is-voted {
  background: var(--ink);
  color: white;
}

.detail-footer {
  position: sticky;
  z-index: 12;
  bottom: 0;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 9px;
  padding: 10px 18px 16px;
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(18px);
}

.secondary-btn,
.primary-btn {
  min-height: 48px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 700;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: white;
}

.primary-btn {
  background: var(--ink);
  color: white;
}

.primary-btn.coral { background: var(--coral); }
.primary-btn.forest { background: var(--forest); }
.primary-btn:disabled { opacity: 0.4; cursor: default; }

/* search */
.search-page {
  position: absolute;
  inset: 0;
  z-index: 120;
  overflow-y: auto;
  padding: 38px 18px 28px;
  background: var(--paper);
  animation: detail-in 0.3s ease;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 9px;
}

.search-input-wrap {
  height: 46px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}

.search-input-wrap input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.search-cancel {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 12px;
  cursor: pointer;
}

.search-caption {
  margin: 24px 0 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.search-results {
  display: grid;
  gap: 9px;
}

.search-result {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.search-thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: #e5e2da;
}

.search-result h3 { margin: 0; font-size: 13px; }
.search-result p { margin: 4px 0 7px; color: var(--muted); font-size: 10px; }
.search-result .round-arrow { width: 29px; height: 29px; }

/* form and games */
.field {
  margin-top: 14px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.field textarea,
.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  outline: 0;
  color: var(--ink);
}

.field textarea {
  min-height: 112px;
  resize: none;
  padding: 13px;
  line-height: 1.55;
}

.field input {
  height: 45px;
  padding: 0 13px;
}

.form-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.answer-context {
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--paper-deep);
  color: #4f554e;
  font-size: 11px;
  line-height: 1.5;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 9px;
  margin-top: 19px;
}

.choice-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.choice-btn {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
}

.choice-btn.is-selected {
  border-color: var(--forest);
  background: var(--mint);
  color: var(--forest);
  font-weight: 700;
}

.game-sheet-head {
  margin-bottom: 17px;
}

.game-sheet-head .game-number {
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.game-sheet-head h2 {
  margin: 5px 0 7px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 500;
}

.game-sheet-head p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.blind-visual {
  position: relative;
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 21px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.62), transparent 22%),
    linear-gradient(145deg, var(--lilac), var(--blue));
}

.blind-bottle {
  width: 76px;
  height: 112px;
  border: 2px solid var(--ink);
  border-radius: 11px 11px 18px 18px;
  box-shadow: inset 0 -28px 0 rgba(23, 26, 23, 0.13);
}

.blind-bottle::before {
  content: "";
  display: block;
  width: 34px;
  height: 28px;
  margin: -30px auto 0;
  border-radius: 5px 5px 0 0;
  background: var(--ink);
}

.blind-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 35px;
}

.blind-result {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--mint);
}

.blind-result img {
  width: 92px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 12px;
}

.blind-result h3 { margin: 0 0 5px; font-size: 17px; }
.blind-result p { margin: 0; color: #496056; font-size: 10px; line-height: 1.5; }

.duel-grid {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 6px;
  align-items: center;
}

.duel-vs {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: Georgia, serif;
  font-size: 9px;
}

.duel-card {
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  text-align: center;
  cursor: pointer;
}

.duel-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: #e6e3dc;
}

.duel-card strong { display: block; margin: 8px 0 3px; font-size: 11px; }
.duel-card span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.duel-card.is-voted { border: 2px solid var(--coral); background: #fff7f4; }

.vote-bar {
  height: 5px;
  overflow: hidden;
  margin-top: 15px;
  border-radius: 999px;
  background: var(--blue);
}

.vote-bar i { display: block; height: 100%; background: var(--coral); transition: width 0.5s ease; }

.quiz-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 17px;
}

.quiz-progress i {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: var(--paper-deep);
}

.quiz-progress i.done { background: var(--coral); }

.quiz-result {
  padding: 22px;
  border-radius: 22px;
  background: var(--forest);
  color: white;
  text-align: center;
}

.quiz-result .result-mark {
  font-family: Georgia, serif;
  font-size: 46px;
  color: var(--yellow);
}

.quiz-result h3 { margin: 9px 0 7px; font-size: 22px; }
.quiz-result p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.6; }

.roulette {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 50%;
  background: conic-gradient(var(--yellow) 0 25%, var(--peach) 0 50%, var(--blue) 0 75%, var(--lilac) 0);
  border: 8px solid white;
  box-shadow: 0 0 0 1px var(--line);
  text-align: center;
}

.roulette-inner {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 50%;
  background: var(--paper-light);
  box-shadow: var(--soft-shadow);
}

.roulette-inner strong { font-size: 18px; }
.roulette-inner span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }

.same-note-cards {
  display: grid;
  gap: 8px;
}

.same-note-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: white;
  cursor: pointer;
}

.same-note-card img {
  width: 64px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 10px;
}

.same-note-card strong { font-size: 12px; }
.same-note-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }

.flip-card {
  min-height: 215px;
  display: grid;
  place-items: center;
  padding: 25px;
  border-radius: 23px;
  background: var(--blue);
  text-align: center;
  cursor: pointer;
}

.flip-card strong { display: block; font-family: Georgia, "Songti SC", serif; font-size: 24px; }
.flip-card p { max-width: 260px; margin: 12px auto 0; color: #41545a; font-size: 12px; line-height: 1.6; }
.flip-hint { display: block; margin-top: 25px; color: rgba(23,26,23,.5); font-size: 9px; }

.buy-link-card {
  padding: 18px;
  border-radius: 19px;
  background: var(--mint);
}

.buy-link-card strong { display: block; font-size: 15px; }
.buy-link-card p { margin: 7px 0 14px; color: #51645b; font-size: 11px; line-height: 1.5; }

.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--forest);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  word-break: break-all;
}

.copy-row button {
  flex: 0 0 auto;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.compose-options,
.setting-list,
.notification-list {
  display: grid;
  gap: 9px;
}

.compose-option,
.setting-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr 20px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  text-align: left;
  cursor: pointer;
}

.compose-option > svg,
.setting-list button > svg {
  width: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
}

.compose-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: Georgia, serif;
  font-size: 19px;
}

.compose-icon.coral { background: var(--peach); }
.compose-icon.green { background: var(--mint); }
.compose-option strong,
.setting-list strong { display: block; font-size: 13px; }
.compose-option small,
.setting-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }

.creator-route {
  overflow: hidden;
  border-radius: 22px;
  background: var(--forest);
  color: white;
}

.route-hero {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.route-mark {
  position: absolute;
  right: -8px;
  top: -22px;
  color: rgba(255, 255, 255, 0.07);
  font-family: Georgia, serif;
  font-size: 94px;
}

.route-hero .eyebrow { color: var(--yellow); }
.route-hero h3 { position: relative; margin: 23px 0 7px; font-size: 20px; }
.route-hero p { position: relative; margin: 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.55; }

.route-line {
  display: grid;
  padding: 6px 13px 14px;
}

.route-line button {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  padding: 11px 8px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}

.route-line button b {
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 11px;
}

.route-line button > span { font-size: 12px; font-weight: 700; }
.route-line button small { display: block; margin-top: 3px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 400; }

.setting-list button {
  grid-template-columns: 1fr 20px;
}

.setting-list button > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.notification-list article {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border-radius: 16px;
  background: white;
}

.notification-list p {
  margin: 1px 0 0;
  color: #50564f;
  font-size: 11px;
  line-height: 1.5;
}

.notification-list p b { color: var(--ink); }
.notification-list p small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }

.toast {
  position: absolute;
  z-index: 200;
  left: 50%;
  bottom: 106px;
  max-width: 82%;
  padding: 10px 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(23, 26, 23, 0.9);
  color: white;
  box-shadow: var(--soft-shadow);
  font-size: 11px;
  text-align: center;
  animation: toast-in 0.25s ease;
}

@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

.hidden { display: none !important; }

/* Fragrance passport: warm paper, stitched leather and collectible postage. */
.phone-shell { flex-shrink: 0; height: min(932px, calc(100dvh - 68px)); min-height: 0; }
.app-screen { overscroll-behavior: contain; }
.page { overflow-wrap: anywhere; }
button { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; opacity: .55; }
.nav-item { font-size: 12px; }
.eyebrow, .section-kicker, .brand-line, .tag, .play-index, .game-number { font-size: 12px; }
.text-btn, .chip, .form-help, .search-caption, .toast { font-size: 14px; }
.primary-btn, .secondary-btn, .field input, .field textarea { font-size: 16px; }
.sheet .field label { font-size: 14px; }
.page-top h1 { font-size: 25px; letter-spacing: -.04em; }
.featured-game { width: 100%; }
.club-mark { width: 46px; height: 46px; border: 1px solid #9b8870; border-radius: 50%; background: transparent; color: #725b41; font: 20px Georgia, serif; display: grid; place-content: center; }
.club-mark span { display: block; font: 12px sans-serif; }
.header-actions { display: flex; align-items: center; gap: 5px; }
.daily-selection > .recommend-feedback { justify-content: flex-end; margin-top: 13px; padding: 10px 0; }
.daily-selection > .recommend-feedback > span { margin-right: auto; font-size: 12px; }
.daily-selection > .recommend-feedback button { font-size: 12px; min-height: 35px; }
.editorial-label { display: block; font-size: 12px; letter-spacing: .1em; color: #806b52; }
.library-invitation { margin-top: 16px; padding: 0; }
.library-invitation .search-trigger { margin: 0; background: var(--paper-light); border: 1px solid #d9d4c9; min-height: 48px; font-size: 14px; border-radius: 14px; }
.wish-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 2px; border: 0; background: transparent; color: #766650; text-align: left; font-size: 14px; line-height: 1.7; cursor: pointer; }
.wish-inline b { color: var(--forest); margin-left: 7px; font-weight: 650; }
.wish-inline svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.library-wish { font-size: 14px; padding-bottom: 0; }
.library-wish b { display: block; margin-left: 0; }
.pocket-passport { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 14px 12px; border: 1px solid #d1c5b2; border-radius: 16px; background: #ece5d8; margin: 8px 0 26px; }
.pocket-identity { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; text-align: left; min-width: 0; }
.pocket-identity strong { display: block; font-size: 14px; }
.pocket-identity small { display: block; margin-top: 5px; color: #6f6455; font-size: 12px; }
.pocket-icon { display: grid; place-items: center; width: 33px; height: 42px; border-radius: 3px 8px 8px 3px; background: var(--leather); color: var(--gold); flex-shrink: 0; }
.pocket-icon svg { width: 22px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.pocket-check { padding: 10px 9px; white-space: nowrap; border: 0; border-radius: 9px; background: var(--forest); color: white; font-size: 12px; }
.pocket-check.is-done { color: var(--forest); background: #d8e0d5; }
.selection-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.mood-chips { flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding: 12px 0 16px; }
.mood-chips .chip { padding: 8px 12px; flex-shrink: 0; }
.scent-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper-light); border: 1px solid var(--line); border-radius: 17px; padding: 10px; gap: 14px; align-items: center; }
.feature-image { border: 0; padding: 0; display: block; width: 100%; background: white; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; }
.feature-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.feature-copy { padding: 6px 0; min-width: 0; }
.feature-copy h3 { font-size: 21px; line-height: 1.25; margin: 6px 0 10px; }
.feature-copy h3 button, .wardrobe-copy h3 button { background: none; padding: 0; border: 0; text-align: left; font: inherit; }
.feature-copy p { font-size: 14px; line-height: 1.65; color: #6f6e63; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature-copy .tag { padding: 4px 6px; font-size: 12px; }
.want-button { width: 100%; display: flex; gap: 5px; align-items: center; justify-content: center; padding: 10px 0; margin-top: 16px; background: var(--forest); color: white; border: 0; border-radius: 8px; font-size: 14px; }
.want-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.want-button.is-active { background: #dce5db; color: var(--forest); }
.perfume-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perfume-duo .perfume-image { aspect-ratio: 3 / 4; }
.perfume-duo .perfume-copy { padding: 12px 10px; }
.perfume-copy h3 { font-size: 17px; }
.perfume-duo .brand-line { line-height: 1.5; }
.play-teaser small { font-size: 12px; line-height: 1.6; }
.passport-page { background: var(--paper); }
.passport-cover { position: relative; isolation: isolate; padding: 23px 23px 22px 28px; border: 1px solid #231811; border-radius: 8px 24px 24px 8px; color: var(--gold); background: radial-gradient(ellipse at 85% 0, #604838 0, transparent 65%), linear-gradient(95deg, #241912 1%, #483326 4%, #35251f 8%, #3e2d23 100%); box-shadow: 0 13px 25px #2c201222, inset 5px 0 5px #120c0940, inset 0 1px 1px #ffffff25; }
.passport-cover::before { content: ""; position: absolute; inset: 9px 10px 10px 16px; border: 1px dashed #bc976365; border-radius: 4px 15px 15px 4px; z-index: -1; pointer-events: none; }
.cover-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .07em; }
.cover-top > span { max-width: 60%; }
.cover-top button { padding: 5px 0; border: 0; background: none; color: #ead6b5; display: flex; align-items: center; gap: 3px; font-size: 12px; white-space: nowrap; }
.cover-top svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.passport-emblem { margin: 20px auto 13px; width: 54px; height: 54px; border: 1px solid #d7b58080; outline: 1px solid #d7b58035; outline-offset: 4px; border-radius: 50%; display: grid; place-items: center; color: #ebd3a8; }
.passport-emblem svg { width: 30px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1; }
.cover-title { text-align: center; text-shadow: 0 1px #140d09; }
.cover-title > span { font-size: 12px; letter-spacing: .13em; }
.cover-title h2 { font-family: "Songti SC", Georgia, serif; font-weight: 500; font-size: 23px; margin: 9px 0 22px; }
.cover-member { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.cover-owner { display: block; color: #d0b99c; font-size: 12px; margin-bottom: 7px; }
.cover-member strong { display: block; font-size: 19px; color: #f6e4c6; font-weight: 600; }
.cover-member strong b { font-family: Georgia, serif; font-size: 26px; margin-right: 5px; font-weight: 400; }
.cover-seal { display: block; flex-shrink: 0; padding-left: 12px; border-left: 1px solid #d7b58044; text-align: center; font-size: 29px; font-family: Georgia, serif; }
.cover-seal small { display: block; margin-top: 3px; font: 12px sans-serif; }
.member-progress { width: 100%; padding: 17px 0 0; border: 0; background: none; text-align: left; color: #e2c8a4; }
.member-progress > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; line-height: 1.5; }
.member-progress b { font-weight: 500; white-space: nowrap; }
.member-progress > i { display: block; height: 4px; background: #bca98b29; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.member-progress em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ba945b, #f1dbad); transition: width .4s ease; }
.passport-ticket { margin: -1px 8px 0; position: relative; background: var(--lining); border: 1px solid #d7c7ac; border-top: 0; padding: 19px 14px 16px; display: flex; align-items: center; gap: 9px; justify-content: space-between; border-radius: 0 0 14px 14px; box-shadow: 0 4px 0 -1px #e1d5c1; }
.passport-ticket .editorial-label { font-size: 12px; letter-spacing: .035em; }
.passport-ticket strong { display: block; font-size: 16px; margin: 8px 0 5px; line-height: 1.5; }
.passport-ticket small { color: #70614d; font-size: 12px; line-height: 1.5; display: block; }
.checkin-cta { flex-shrink: 0; display: grid; justify-items: center; gap: 6px; font-size: 14px; border: 1px solid #a79375; background: #fffaf0; width: 78px; min-height: 76px; padding: 10px 5px; border-radius: 50%; color: #665139; transform: rotate(-7deg); }
.checkin-cta svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.checkin-cta.is-done { color: var(--forest); border-color: var(--forest); background: #f3f4e7; }
.personal-collections { margin-top: 30px; }
.collection-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #d7d7c9; border-radius: 16px; overflow: hidden; background: #faf9f3; padding: 5px; gap: 4px; }
.collection-tabs > button { min-width: 0; padding: 13px 3px 11px; border: 0; border-radius: 10px; color: #686b5f; background: none; display: grid; justify-items: center; gap: 9px; cursor: pointer; }
.collection-tabs > button > span { display: flex; align-items: center; gap: 7px; }
.collection-tabs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.collection-tabs b { font: 24px Georgia, serif; }
.collection-tabs strong { font-size: 14px; font-weight: 500; }
.collection-tabs .is-active { color: white; background: var(--forest); }
.collection-caption { font-size: 14px; margin: 16px 1px 12px; color: var(--muted); }
.wardrobe-list { display: grid; gap: 12px; }
.wardrobe-card { overflow: hidden; border-radius: 16px; background: #fafaf6; border: 1px solid #deded2; }
.wardrobe-main { display: flex; align-items: center; gap: 12px; padding: 12px; }
.wardrobe-photo { padding: 0; width: 66px; aspect-ratio: 3 / 4; border: 0; border-radius: 7px; background: white; flex-shrink: 0; overflow: hidden; }
.wardrobe-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wardrobe-copy { min-width: 0; flex: 1; }
.wardrobe-copy h3 { font-size: 17px; margin: 5px 0 10px; }
.wardrobe-copy .tag-row { gap: 4px; }
.wardrobe-copy .tag { padding: 4px 6px; }
.wardrobe-main .subtle { width: 28px; height: 32px; background: transparent; color: #738578; flex-shrink: 0; }
.owner-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: #5a6b3c; background: #edf0dd; border: 1px solid #d8dec4; border-radius: 5px; font-size: 12px; font-weight: 500; line-height: 1.4; }
.owner-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.owner-invitation { border-top: 1px solid #e2e4d6; background: #eff0e6; padding: 13px; }
.owner-invitation p { font-size: 14px; color: #4d5843; margin: 0 0 13px; line-height: 1.6; overflow-wrap: anywhere; }
.owner-invitation > div { display: flex; gap: 10px; }
.owner-invitation button { flex: 1; display: flex; justify-content: center; align-items: center; gap: 4px; border: 1px solid #d0d6c5; border-radius: 8px; background: #fafbf4; color: #41573b; padding: 10px 3px; font-size: 12px; min-height: 40px; }
.owner-invitation button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.collection-empty { text-align: center; padding: 25px 14px; border: 1px dashed #c9cebf; border-radius: 14px; }
.collection-empty > svg { display: block; width: 30px; height: 30px; margin: 0 auto 15px; fill: none; stroke: #6c876c; stroke-width: 1.3; }
.collection-empty b { font-size: 16px; }
.collection-empty p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.add-to-wardrobe { display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px; gap: 7px; background: none; border: 1px dashed #c3c9b8; margin-top: 12px; border-radius: 10px; color: #647156; font-size: 14px; }
.add-to-wardrobe svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.stamp-album { padding-top: 9px; }
.stamp-album .section-head { align-items: end; }
.stamp-album .section-title small { font-size: 14px; color: #827962; margin-left: 5px; font-weight: 400; }
.stamp-album .section-kicker { font-size: 12px; letter-spacing: .03em; }
.album-caption { color: #7b7364; font-size: 14px; margin: 0 0 17px; }
.stamp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 10px; }
.scent-stamp { --stamp-paper: var(--paper); position: relative; display: block; min-width: 0; padding: 10px 8px 12px; color: #3f5144; border: 0; background: #e5ece0; text-align: center; cursor: pointer; box-shadow: inset 0 0 0 1px #aebbab; }
.scent-stamp::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 5px 0, var(--stamp-paper) 3px, transparent 3.4px) top left / 10px 4px repeat-x, radial-gradient(circle at 5px 4px, var(--stamp-paper) 3px, transparent 3.4px) bottom left / 10px 4px repeat-x, radial-gradient(circle at 0 5px, var(--stamp-paper) 3px, transparent 3.4px) top left / 4px 10px repeat-y, radial-gradient(circle at 4px 5px, var(--stamp-paper) 3px, transparent 3.4px) top right / 4px 10px repeat-y; }
.sheet .scent-stamp { --stamp-paper: var(--paper-light); }
.scent-stamp:nth-child(3n+2) { background-color: #f0e1dd; color: #81594a; box-shadow: inset 0 0 0 1px #c5aa9b; }
.scent-stamp:nth-child(3n) { background-color: #e4e8ed; color: #587284; box-shadow: inset 0 0 0 1px #a3b4c1; }
.stamp-series { display: block; min-height: 29px; font-family: Georgia, serif; font-size: 12px; line-height: 1.3; }
.stamp-art { display: block; position: relative; width: 100%; aspect-ratio: 3 / 4; margin: 3px 0 8px; border: 1px solid #c5c9bf; background: #fffefa; }
.stamp-art > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.scent-stamp > strong { font-size: 14px; line-height: 1.4; font-weight: 600; display: block; }
.stamp-date { display: block; font-size: 12px; line-height: 1.4; margin-top: 5px; }
.stamp-ink { position: absolute; bottom: 5px; right: -3px; border: 1.5px solid #885744; border-radius: 50%; width: 44px; height: 44px; padding-top: 7px; color: #885744; font-size: 12px; line-height: 1.1; transform: rotate(-19deg); background: #fffc; box-shadow: 0 0 0 2px #ffffffa0; }
.stamp-ink small { font-size: 12px; }
.scent-stamp.is-locked { background: #e9e5db; color: #766f60; box-shadow: inset 0 0 0 1px #d0c9ba; }
.is-locked .stamp-art img { filter: grayscale(1); opacity: .32; }
.stamp-lock { position: absolute; inset: 0; display: grid; place-items: center; }
.stamp-lock svg { width: 30px; height: 30px; border: 1px solid #a39c8b; border-radius: 50%; padding: 5px; fill: none; stroke: #7d725e; stroke-width: 1.3; background: #faf7ee; }
.album-expand { width: 100%; padding: 17px; margin-top: 9px; display: flex; align-items: center; justify-content: center; gap: 7px; background: none; border: 0; color: #7e694b; font-size: 14px; }
.album-expand svg, .my-wishes-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.scent-labels { padding: 14px 16px; background: #eae8db; border-radius: 12px; }
.scent-labels > span { font-size: 12px; color: #7c765d; }
.scent-labels > div { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.scent-labels b { padding: 5px 8px; border: 1px solid #bec6af; background: #f5f6eb; border-radius: 5px; color: #5e704b; font-size: 12px; font-weight: 500; }
.my-wishes-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 16px; margin-top: 24px; width: 100%; background: #ebe4da; border: 1px solid #d9cebc; border-radius: 12px; color: #75624d; font-size: 16px; }
.my-wishes-link > span { display: flex; align-items: center; gap: 9px; }
.my-wishes-link b { font-family: Georgia, serif; font-weight: 400; }
.dna-card .form-help { margin-top: 0; }
.dna-row { grid-template-columns: 35px 1fr 36px; font-size: 14px; }
.dna-row b { font-size: 12px; }
.detail-collection-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 20px 0 15px; }
.detail-collection-actions button { display: grid; justify-items: center; gap: 7px; padding: 12px 2px; border: 1px solid #d4d8cd; border-radius: 10px; background: #fafbf6; font-size: 14px; }
.detail-collection-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.detail-collection-actions .is-active { color: var(--forest); background: #e1eadc; border-color: #a5b49d; }
.detail-owner { display: grid; gap: 10px; justify-items: start; padding: 16px; background: #e9ecd9; border-radius: 13px; }
.detail-owner strong { font-size: 15px; line-height: 1.7; font-weight: 550; }
.detail-owner button, .detail-stamp-link { border: 0; padding: 0; background: none; color: #536740; display: flex; gap: 7px; align-items: center; font-size: 14px; text-align: left; }
.detail-owner svg, .detail-stamp-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; flex-shrink: 0; }
.detail-stamp-link { line-height: 1.5; padding: 15px; width: 100%; border: 1px dashed #b8c5ab; border-radius: 12px; }
.new-sheet { padding: 0 22px 26px; }
.sheet-heading { color: var(--forest); padding: 5px 0 20px; }
.sheet-heading h2 { font-size: 28px; margin: 11px 0 10px; line-height: 1.4; font-family: Georgia, "Songti SC", serif; font-weight: 500; }
.sheet-heading p { color: #786e5f; font-size: 14px; margin: 0; line-height: 1.7; }
.new-sheet .sheet-head { margin-bottom: 4px; }
.new-sheet .sheet-head h2 { font-size: 20px; }
.new-sheet .form-actions .primary-btn svg { width: 16px; height: 16px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.5; }
.new-sheet h3 { font-size: 17px; }
.sheet { overscroll-behavior: contain; padding-bottom: max(26px, env(safe-area-inset-bottom)); }
.wish-reasons { gap: 7px; margin: 9px 0 12px; }
.wish-reasons .chip { font-size: 14px; }
.wish-list { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 20px; }
.wish-list h3 { font-size: 17px; margin-top: 0; }
.wish-note { padding: 15px; background: #ede7d9; border: 1px solid #d8cebc; border-radius: 12px; margin-top: 10px; }
.wish-note > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wish-note strong { font-size: 16px; }
.wish-note small { font-size: 12px; color: #86775f; white-space: nowrap; }
.wish-note p { font-size: 14px; line-height: 1.7; margin: 10px 0 0; color: #6b6657; overflow-wrap: anywhere; }
.private-note { color: #7e7769; font-size: 12px; line-height: 1.7; margin: 14px 0; }
.picker-search { display: block; width: 100%; padding: 14px; border: 1px solid #cdcbbb; border-radius: 11px; background: #fffef7; margin: 15px 0; font-size: 16px; }
.picker-list { display: grid; gap: 10px; }
.picker-item { padding: 10px; display: flex; align-items: center; gap: 12px; border: 1px solid #dddccf; border-radius: 12px; background: #fdfcf6; text-align: left; }
.picker-item img { width: 49px; height: 65px; object-fit: contain; background: white; border-radius: 6px; }
.picker-item > span { flex: 1; min-width: 0; }
.picker-item strong { display: block; font-size: 16px; }
.picker-item small { display: block; margin-top: 6px; color: #7d7c6d; font-size: 12px; }
.picker-item b { font-size: 12px; color: #60734c; font-weight: 500; }
.picker-item.is-picked { border-color: #7b916b; background: #eff2e3; }
.stamp-focus { max-width: 185px; margin: 8px auto 23px; }
.stamp-focus .scent-stamp { width: 100%; padding: 13px 12px; cursor: default; pointer-events: none; }
.stamp-focus .stamp-series { min-height: 20px; }
.stamp-focus .stamp-art { max-height: 175px; }
.stamp-focus .stamp-ink { width: 58px; height: 58px; padding-top: 12px; font-size: 16px; }
.stamp-success .scent-stamp { animation: stamp-land .45s ease both; }
@keyframes stamp-land { from { opacity: 0; transform: scale(1.25) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(-3deg); } }
.reward-pill { display: inline-flex; padding: 7px 12px; border-radius: 99px; color: var(--forest); background: #e3ecd9; font-size: 14px; margin-top: 14px; }
.upload-label { display: block; border: 1px dashed #acb596; border-radius: 13px; padding: 20px; background: #f2f3e9; color: #66734d; text-align: center; cursor: pointer; }
.upload-label svg { display: block; margin: 0 auto 10px; width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.upload-label strong { font-size: 16px; font-weight: 500; }
.upload-label small { display: block; margin-top: 7px; font-size: 12px; line-height: 1.6; }
.photo-preview { margin-bottom: 13px; }
.photo-preview img { display: block; width: 100%; height: 180px; object-fit: contain; border-radius: 12px; background: #eae9df; }
.photo-preview p { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; }
.upload-label:focus-within { outline: 2px solid var(--forest); outline-offset: 3px; }
.member-ladder { display: grid; gap: 0; margin: 20px 0; }
.member-ladder > div { display: flex; gap: 14px; align-items: center; padding: 16px 10px; border-bottom: 1px solid var(--line); }
.member-ladder b { font: 22px Georgia, serif; color: #a18a64; }
.member-ladder strong { font-size: 16px; }
.member-ladder span { margin-left: auto; font-size: 12px; color: #7a806d; }
.member-ladder .is-current { border-radius: 10px; color: var(--forest); background: #e9eddd; }
.reward-rules { margin: 16px 0; padding: 0; list-style: none; }
.reward-rules li { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; line-height: 1.5; padding: 10px 0; border-bottom: 1px dashed #d5d4c3; }
.reward-rules b { color: var(--forest); white-space: nowrap; }
.form-error { padding: 12px; margin-bottom: 10px; background: #fae9df; color: #8d412e; border-radius: 8px; font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
  body { padding: 18px; }
  .prototype-notes { display: none; }
  .phone-shell { height: min(932px, calc(100dvh - 36px)); }
}

@media (max-width: 540px) {
  body {
    display: block;
    min-height: 100dvh;
    padding: 0;
    background: var(--paper);
    overflow: hidden;
  }

  .phone-shell {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .bottom-nav { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .page-pad { padding-left: 16px; padding-right: 16px; }
  .pocket-passport { gap: 6px; padding: 12px 8px; }
  .pocket-identity strong { font-size: 12px; }
  .pocket-icon { display: none; }
  .passport-cover { padding: 22px 18px 20px 23px; }
  .cover-member strong { font-size: 17px; }
  .cover-member strong b { font-size: 23px; }
  .passport-ticket { padding: 16px 10px; margin-left: 4px; margin-right: 4px; }
  .checkin-cta { width: 64px; min-height: 64px; font-size: 12px; }
  .passport-ticket .editorial-label { font-size: 12px; letter-spacing: 0; }
  .stamp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scent-feature { gap: 10px; }
  .owner-invitation > div { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
