:root {
  color-scheme: light;
  --ink: #171712;
  --muted: #706f68;
  --paper: #f3f0e8;
  --surface: #fffdf7;
  --line: #d9d5ca;
  --accent: #ed5b2d;
  --accent-soft: #ffe2d7;
  --lime: #c9ee56;
  --green: #2f6d54;
  --danger: #a13a2f;
  --shadow: 0 18px 50px rgba(30, 28, 20, 0.14);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans TC",
    "PingFang TC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #e9e5db;
  color: var(--ink);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

.prototype-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 393px;
  justify-content: center;
  align-items: center;
  gap: 72px;
  padding: 44px;
}

.review-panel {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-panel h1 {
  margin: 12px 0 14px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.review-panel p {
  max-width: 32rem;
  font-size: 16px;
  line-height: 1.7;
  color: #5c5a53;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-button {
  appearance: none;
  border: 1px solid #c7c2b6;
  background: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.review-button.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.review-hint {
  font-size: 13px !important;
}

.phone {
  position: relative;
  width: 393px;
  height: min(852px, calc(100dvh - 40px));
  min-height: 680px;
  overflow: hidden;
  border: 9px solid #11110f;
  border-radius: 52px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dynamic-island {
  position: absolute;
  z-index: 50;
  top: 10px;
  left: 50%;
  width: 112px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #10100f;
  pointer-events: none;
}

.app {
  height: 100%;
  overflow: hidden;
  background: var(--paper);
}

html[data-runtime="production"] body {
  background: var(--paper);
}

html[data-runtime="production"] .prototype-shell {
  display: block;
  min-height: 100dvh;
  padding: 0;
}

html[data-runtime="production"] .review-panel {
  display: none;
}

html[data-runtime="production"] .phone {
  width: 100%;
  height: 100dvh;
  min-height: 620px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html[data-runtime="production"] .dynamic-island {
  display: none;
}

html[data-runtime="production"] .status-bar-space {
  height: max(18px, env(safe-area-inset-top));
}

.screen {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.status-bar-space {
  height: 48px;
}

.prototype-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: var(--cb-type-caption-min-size);
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 253, 247, 0.82);
}

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

.login-screen {
  display: flex;
  flex-direction: column;
  padding: 24px 22px max(26px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 86% 16%, rgba(233, 85, 50, 0.09), transparent 28%),
    var(--paper);
  color: var(--ink);
}

.login-screen .status-bar-space {
  height: 18px;
}

.login-hero {
  display: flex;
  justify-content: center;
  margin-top: clamp(30px, 8vh, 68px);
}

.login-app-icon {
  display: block;
  width: clamp(92px, 26vw, 112px);
  height: clamp(92px, 26vw, 112px);
  border-radius: 22%;
  box-shadow: 0 14px 30px rgba(35, 31, 20, 0.12);
}

.login-copy {
  margin-top: clamp(24px, 5vh, 42px);
}

.login-copy h1 {
  max-width: 370px;
  margin: 0 0 18px;
  font-size: clamp(30px, 8.7vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.login-copy h1 span {
  display: block;
  color: var(--accent);
  white-space: nowrap;
}

.login-copy p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.login-actions {
  margin-top: auto;
  padding-top: 24px;
}

.login-screen .primary-button {
  min-height: 56px;
  border-radius: var(--cb-radius-card);
  background: var(--accent);
  color: #fff;
}

.primary-button,
.secondary-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  background: var(--lime);
  color: var(--ink);
}

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

.permission-note {
  margin: 16px 4px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.error-screen {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 28px;
}

.error-illustration {
  display: grid;
  place-items: center;
  width: 100%;
  height: 260px;
  margin: 40px 0 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #e9e5d9;
  font-size: 74px;
}

.error-screen h2 {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.error-screen p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.error-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.app-frame {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 76px;
}

.app-content {
  min-height: 0;
  overflow: hidden;
}

.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

img.avatar {
  display: block;
  object-fit: cover;
}

.map-avatar {
  position: absolute;
  z-index: 20;
  top: 48px;
  right: 18px;
  cursor: pointer;
}

.tabbar {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 20px max(9px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(120, 116, 104, 0.2);
  background: rgba(255, 253, 247, 0.96);
}

.tab-button {
  border: 0;
  background: transparent;
  color: #85837c;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.tab-button span {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.tab-button.is-active {
  color: var(--ink);
}

.map-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #ebe7dc;
}

.map-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.google-map,
.fallback-map-layer {
  position: absolute;
  inset: 0;
}

.google-map {
  z-index: 1;
  opacity: 0;
  transition: opacity 160ms ease;
}

.fallback-map-layer {
  z-index: 2;
  transition: opacity 160ms ease;
}

.map-canvas.is-google-ready .google-map {
  opacity: 1;
}

.map-canvas.is-google-ready .fallback-map-layer {
  opacity: 0;
  pointer-events: none;
}

.has-venue-sheet .google-map {
  bottom: calc(min(390px, 48dvh) + 12px);
}

.has-poi-sheet .google-map {
  bottom: 208px;
}

.map-canvas svg {
  width: 100%;
  height: 100%;
}

.map-label {
  fill: #77746c;
  font-size: var(--cb-type-caption-min-size);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.station-label {
  fill: #54524c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--surface);
  border-radius: 50% 50% 50% 10%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(31, 29, 24, 0.24);
  rotate: -45deg;
  cursor: pointer;
}

.map-pin span {
  rotate: 45deg;
}

.map-pin.is-active {
  background: var(--accent);
  scale: 1.14;
}

.venue-pin {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  width: 58px;
  height: 52px;
  transform: translate(-50%, -50%);
  border: 4px solid var(--surface);
  border-radius: 18px 18px 18px 6px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 29, 24, 0.28);
  cursor: pointer;
}

.venue-pin span {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.venue-pin small {
  font-size: var(--cb-type-caption-min-size);
  font-weight: 800;
}

.venue-pin.is-active {
  background: var(--accent);
  scale: 1.08;
}

.google-map-marker {
  appearance: none;
  display: grid;
  place-items: center;
  border: 3px solid var(--surface);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 7px 18px rgba(31, 29, 24, 0.28);
  cursor: pointer;
}

.google-poi-marker {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 10%;
  rotate: -45deg;
}

.google-poi-marker span {
  rotate: 45deg;
  font-size: 12px;
  font-weight: 900;
}

.google-venue-marker {
  display: flex;
  width: 58px;
  height: 52px;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  border-width: 4px;
  border-radius: 18px 18px 18px 6px;
}

.google-venue-marker span {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.google-venue-marker small {
  font-size: var(--cb-type-caption-min-size);
  font-weight: 800;
}

.google-map-marker.is-active {
  background: var(--accent);
  scale: 1.08;
}

.google-user-location {
  position: relative;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2188f4;
  box-shadow: 0 0 0 8px rgba(33, 136, 244, 0.18);
}

.google-user-location span {
  position: absolute;
  inset: -11px;
  border: 2px solid rgba(33, 136, 244, 0.3);
  border-radius: 50%;
  animation: location-pulse 1.8s ease-out infinite;
}

.user-location {
  position: absolute;
  left: 44%;
  top: 72%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2188f4;
  box-shadow: 0 0 0 8px rgba(33, 136, 244, 0.18);
}

.user-location span {
  position: absolute;
  inset: -11px;
  border: 2px solid rgba(33, 136, 244, 0.3);
  border-radius: 50%;
  animation: location-pulse 1.8s ease-out infinite;
}

@keyframes location-pulse {
  from {
    transform: scale(0.45);
    opacity: 1;
  }
  to {
    transform: scale(1.25);
    opacity: 0;
  }
}

.locate-button {
  position: absolute;
  z-index: 14;
  right: 16px;
  bottom: 218px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(80, 77, 67, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 8px 22px rgba(31, 29, 24, 0.16);
  font-size: 25px;
  font-weight: 900;
  cursor: pointer;
}

.locate-button.is-active {
  color: #1676d2;
}

.has-venue-sheet .locate-button {
  bottom: min(420px, 53dvh);
}

.venue-sheet {
  position: absolute;
  z-index: 15;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  height: min(390px, 48dvh);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(80, 77, 67, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 44px rgba(31, 29, 24, 0.2);
}

.venue-sheet > .sheet-handle {
  flex: 0 0 auto;
  margin-top: 10px;
}

.venue-sheet-header {
  display: flex;
  flex: 0 0 auto;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 13px;
  border-bottom: 1px solid var(--line);
}

.venue-eyebrow {
  color: var(--accent);
  font-size: var(--cb-type-caption-min-size);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.venue-sheet-header h2 {
  margin: 3px 0 3px;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.venue-sheet-header p {
  margin: 0;
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
}

.panel-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f4f1e8;
  font-size: 20px;
  cursor: pointer;
}

.venue-navigation-row {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  margin: 10px 14px;
  padding: 0 0 0 2px;
}

.venue-navigation-row > div {
  display: flex;
  flex-direction: column;
}

.venue-navigation-row strong {
  font-size: 12px;
}

.venue-navigation-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
}

.venue-navigation-row .icon-button {
  width: 48px;
  min-height: 42px;
}

.venue-floor-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.venue-floor-list::-webkit-scrollbar {
  display: none;
}

.floor-group + .floor-group {
  border-top: 8px solid #efebe2;
}

.floor-heading {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #efebe2;
}

.floor-heading strong {
  font-size: 12px;
  font-weight: 950;
}

.floor-heading span {
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
}

.venue-store-row {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 8px;
  min-height: 66px;
  border: 0;
  border-bottom: 1px solid #ebe7dc;
  padding: 10px 14px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.venue-store-copy {
  min-width: 0;
}

.venue-store-copy strong,
.venue-store-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-store-copy strong {
  font-size: 13px;
}

.venue-store-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
}

.venue-store-meta {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.mini-member {
  border-radius: 999px;
  padding: 2px 5px;
  background: var(--ink);
  color: var(--lime);
  font-size: var(--cb-type-caption-min-size);
  font-weight: 900;
}

.mini-score,
.mini-status {
  font-size: var(--cb-type-caption-min-size);
  font-weight: 850;
}

.mini-score {
  color: var(--accent);
}

.mini-status {
  color: #77746c;
}

.mini-status.is-open {
  color: var(--green);
}

.row-arrow {
  color: #a09c92;
  font-size: 21px;
}

.poi-sheet {
  position: absolute;
  z-index: 15;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(80, 77, 67, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 16px 40px rgba(31, 29, 24, 0.16);
}

.venue-back,
.poi-location-line {
  display: block;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
  font-weight: 850;
}

.venue-back {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #d3cfc4;
}

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

.poi-meta,
.small-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.category-chip,
.member-chip {
  border-radius: 999px;
  padding: 5px 8px;
  background: #ebe8df;
  color: #4f4c45;
  font-size: var(--cb-type-caption-min-size);
  font-weight: 850;
}

.member-chip {
  background: var(--ink);
  color: var(--lime);
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #75726a;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.open-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #99958b;
}

.open-status.is-open {
  color: var(--green);
}

.open-status.is-open i {
  background: #2d9c6a;
  box-shadow: 0 0 0 3px rgba(45, 156, 106, 0.12);
}

.poi-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

.poi-title-row h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.official-score-pill {
  flex: 0 0 auto;
  border-radius: 10px;
  padding: 6px 8px;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

.official-score-pill small {
  display: block;
  margin-bottom: 1px;
  color: var(--accent);
  font-size: var(--cb-type-caption-min-size);
  letter-spacing: 0.06em;
}

.card-quick-info {
  display: flex;
  gap: 8px;
  margin: 9px 0 12px;
  color: #66635c;
  font-size: 11px;
}

.card-quick-info span + span::before {
  margin-right: 8px;
  color: #b0aca2;
  content: "·";
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
}

.compact-button {
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.icon-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: transparent;
  color: inherit;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
}

.detail-screen,
.simple-screen {
  padding-bottom: 28px;
  background: var(--paper);
}

.detail-hero {
  padding: 8px 18px 16px;
}

.back-button {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.detail-hero h1 {
  margin: 9px 0 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.detail-kickers {
  display: flex;
  gap: 6px;
}

.detail-kickers span {
  border-radius: 999px;
  padding: 5px 8px;
  background: #e5e1d7;
  color: #5e5b53;
  font-size: var(--cb-type-caption-min-size);
  font-weight: 850;
}

.detail-kickers span + span {
  background: var(--ink);
  color: var(--lime);
}

.store-facts {
  margin: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(80, 77, 67, 0.12);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(31, 29, 24, 0.08);
}

.fact-summary-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-bottom: 1px solid var(--line);
}

.rating-summary,
.status-summary {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
}

.rating-summary {
  border-right: 1px solid var(--line);
}

.rating-summary > span {
  color: var(--accent);
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.rating-summary small,
.status-summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
}

.status-summary .open-status {
  font-size: 13px;
}

.fact-list {
  padding: 5px 16px;
}

.fact-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e8e4da;
  font-size: 12px;
}

.fact-row:last-child {
  border-bottom: 0;
}

.fact-row span {
  color: var(--muted);
}

.fact-row strong {
  line-height: 1.45;
}

.address-row strong {
  font-size: 11px;
}

.navigation-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin: 4px 10px 10px;
  border-radius: 16px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.navigation-primary span {
  color: var(--lime);
  font-size: 20px;
}

.creator-review {
  margin: 26px 18px 0;
  padding: 20px;
  border-radius: 22px;
  background: #e5e1d7;
}

.creator-heading {
  display: grid;
  grid-template-columns: 40px 1fr 22px;
  align-items: center;
  gap: 10px;
}

.creator-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
  font-size: 15px;
  font-weight: 950;
}

.creator-heading div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.creator-heading span {
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
}

.creator-heading strong {
  margin-top: 2px;
  font-size: 13px;
}

.creator-review h2 {
  margin: 20px 0 9px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.creator-review p {
  margin: 0;
  color: #535149;
  font-size: 13px;
  line-height: 1.75;
}

.source-note {
  margin-top: 16px;
  color: #807d74;
  font-size: var(--cb-type-caption-min-size);
}

.disclosure {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--accent);
  font-size: var(--cb-type-caption-min-size);
  font-weight: 800;
}

.official-rating-card {
  margin: 0 18px;
  padding: 20px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
}

.official-review-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d2d0ca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.official-score-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.official-score {
  font-size: 58px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.score-max {
  color: #aaa8a1;
  font-size: 12px;
  font-weight: 700;
}

.official-verdict {
  max-width: 148px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-align: right;
}

.official-rating-card p {
  margin: 18px 0 0;
  color: #d2d0ca;
  font-size: 13px;
  line-height: 1.7;
}

.visit-meta {
  margin-top: 14px;
  color: #8f8d86;
  font-size: var(--cb-type-caption-min-size);
}

.content-section {
  margin: 26px 18px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 9px;
  background: var(--surface);
  color: #5f5c54;
  font-size: 11px;
  font-weight: 700;
}

.verified-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.reason-card {
  min-height: 154px;
  padding: 15px;
  border-radius: 18px;
}

.strength-card {
  background: #e7f4c4;
}

.caution-card {
  background: var(--accent-soft);
}

.reason-label {
  font-size: 11px;
  font-weight: 900;
}

.reason-card ul {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.reason-card li {
  position: relative;
  padding-left: 12px;
  color: #57554e;
  font-size: var(--cb-type-caption-min-size);
  line-height: 1.45;
}

.reason-card li::before {
  position: absolute;
  left: 0;
  content: "·";
  font-weight: 900;
}

.simple-screen {
  padding: 0 18px 28px;
}

.simple-screen h1 {
  margin: 20px 0 8px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.simple-screen > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.chat-visual {
  position: relative;
  height: 250px;
  margin: 28px 0 24px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
}

.chat-bubble {
  position: absolute;
  max-width: 220px;
  border-radius: 0;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.4;
}

.chat-bubble.one {
  top: 34px;
  left: 18px;
  background: #fff;
}

.chat-bubble.two {
  top: 110px;
  right: 18px;
  background: var(--lime);
}

.chat-bubble.three {
  bottom: 24px;
  left: 44px;
  background: var(--accent);
  color: #fff;
}

.explain-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.explain-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.explain-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.explain-item strong,
.explain-item span {
  display: block;
}

.explain-item strong {
  font-size: 13px;
}

.explain-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.profile-card .avatar {
  width: 50px;
  height: 50px;
}

.profile-card h2 {
  margin: 0 0 3px;
  font-size: 16px;
}

.member-status {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: var(--ink);
  color: var(--lime);
  font-size: 16px;
  font-weight: 900;
}

.benefit-row strong,
.benefit-row span {
  display: block;
}

.benefit-row strong {
  font-size: 13px;
}

.benefit-row div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--cb-type-caption-min-size);
  line-height: 1.45;
}

.platform-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
}

.platform-strip strong,
.platform-strip span {
  display: block;
}

.platform-strip strong {
  font-size: 12px;
}

.platform-strip div > span {
  margin-top: 4px;
  color: #aaa8a1;
  font-size: var(--cb-type-caption-min-size);
  line-height: 1.4;
}

.platform-chips {
  flex: 0 0 auto;
  display: flex;
  gap: 5px;
}

.platform-chips span {
  margin: 0;
  border: 1px solid #494841;
  border-radius: 0;
  padding: 5px 7px;
  color: var(--lime);
  font-size: var(--cb-type-caption-min-size);
  font-weight: 850;
}

.settings-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.discord-button {
  border-radius: 0;
  background: var(--ink);
  color: var(--surface);
}

.settings-button {
  width: 100%;
  padding: 15px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.toast {
  position: absolute;
  z-index: 100;
  right: 18px;
  bottom: 92px;
  left: 18px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

@media (max-width: 820px) {
  body {
    background: var(--paper);
  }

  .prototype-shell {
    display: block;
    min-height: 100dvh;
    padding: 0;
  }

  .review-panel {
    display: none;
  }

  .phone {
    width: 100%;
    height: 100dvh;
    min-height: 620px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .dynamic-island {
    display: none;
  }

  .status-bar-space {
    height: max(18px, env(safe-area-inset-top));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .map-pin,
  .screen,
  .modal-backdrop {
    animation: fade-in 180ms ease-out;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
      transform: translateY(4px);
    }
  }
}
