:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --ink: #172033;
  --muted: #697386;
  --line: #e6edf5;
  --pink: #ff5c8a;
  --rose: #fff1f5;
  --blue: #2563eb;
  --green: #12b886;
  --amber: #f59f00;
  --red: #ef4444;
  --shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.phone {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 12px 178px;
}

.mobile-browser {
  min-height: 100dvh;
  overscroll-behavior-y: contain;
  -webkit-text-size-adjust: 100%;
}

.mobile-browser .phone {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: calc(178px + env(safe-area-inset-bottom));
}

.mobile-browser button,
.mobile-browser input {
  -webkit-tap-highlight-color: transparent;
}

[data-view][hidden] {
  display: none !important;
}

[data-view]:not([hidden]) + [data-view]:not([hidden]) {
  margin-top: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 124px;
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #ffe0ea;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #fff7fb 68%, #f4f8ff);
  box-shadow: var(--shadow);
}

.hero-copy p,
.tag {
  margin: 0 0 6px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy span,
.muted,
.intro p,
.two-col p,
.step p,
.intel-list p,
.unlocked-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-copy span {
  display: block;
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
}

.hero-image,
.photo-slot {
  display: grid;
  place-items: center;
  border: 1px dashed #ffc2d4;
  border-radius: 8px;
  color: #b4536e;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(255, 92, 138, 0.13)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, 0.58) 12px 24px);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.hero-image {
  min-height: 128px;
}

.hero-scene {
  position: relative;
  overflow: hidden;
  padding: 8px;
  color: #7c2d4e;
  border: 1px solid rgba(255, 194, 212, 0.75);
  background: linear-gradient(180deg, #fffaf4, #fff);
}

.hero-scene img {
  width: 100%;
  height: 100%;
  max-height: 112px;
  object-fit: contain;
  filter: saturate(0.92) contrast(0.98);
}

.hero-scene span {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #7c2d4e;
  background: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  line-height: 1;
  transform: translateX(-50%);
  box-shadow: 0 6px 14px rgba(23, 32, 51, 0.08);
}

.photo-slot.wide {
  height: 158px;
  margin: 12px 0;
}

.photo-slot.small {
  height: 96px;
  margin-bottom: 10px;
}

.premium-shot {
  position: relative;
  overflow: hidden;
}

.premium-shot::after {
  content: "热度 / 光线 / 排队 / 补给";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 32, 51, 0.72);
  font-size: 11px;
}

.premium-shot {
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 66% 42%, rgba(239, 68, 68, 0.78), transparent 12%),
    radial-gradient(circle at 31% 62%, rgba(18, 184, 134, 0.7), transparent 14%),
    linear-gradient(35deg, transparent 0 44%, rgba(59, 130, 246, 0.42) 45% 51%, transparent 52%),
    linear-gradient(145deg, #e0f2fe 0%, #fff1f5 48%, #fef3c7 100%);
}

.premium-shot span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.58);
  color: #fff;
}

.map-art-card {
  position: relative;
  margin: 12px 0;
  border: 0;
  border-radius: 14px;
  background: #fffdf8;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
}

.map-art-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.map-art-card div {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.map-art-card strong,
.map-art-card span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-art-card strong {
  color: var(--ink);
  font-size: 13px;
}

.map-art-card span {
  color: #b4536e;
  font-size: 12px;
  font-weight: 800;
}

.route-switch {
  margin-top: 22px;
  border: 0;
  background: linear-gradient(180deg, #f8fbff, #fff 68%);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.05);
}

.route-switch-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.route-switch-tabs button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #334155;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.route-switch-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #ff5c8a, #f97316);
}

.route-switch-panel {
  display: grid;
  gap: 10px;
}

.region-board-shell {
  margin-top: 18px;
}

.region-entry-card {
  display: grid;
  gap: 10px;
  max-width: 280px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
}

.region-entry-card__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.region-entry-card__head p {
  margin: 0 0 4px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.region-entry-card__head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.region-entry-card__head span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #9f1239;
  background: #fff1f5;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.region-entry-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.region-entry-card button {
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff5c8a, #f97316);
  font-weight: 900;
}

.region-launch-strip {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.region-board {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(23, 32, 51, 0.08);
}

.region-board-shell .section-head {
  margin-bottom: 12px;
}

.region-board__intro {
  display: none;
}

.region-hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(23, 32, 51, 0.08);
}

.region-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.region-hero-image figcaption {
  padding: 8px 10px;
  color: #9f1239;
  background: #fff7ed;
  font-size: 12px;
  font-weight: 900;
}

.route-hotspots {
  position: absolute;
  inset: 0 0 34px;
  pointer-events: none;
}

.route-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 32, 51, 0.62);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(23, 32, 51, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.route-hotspot.active {
  background: #ff5c8a;
  box-shadow: 0 0 0 4px rgba(255, 92, 138, 0.18), 0 12px 24px rgba(255, 92, 138, 0.24);
}

.region-board__summary {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.region-map {
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.region-map__frame {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.75), transparent 16%),
    linear-gradient(145deg, rgba(255, 92, 138, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.region-map__road {
  position: absolute;
  inset: 18% 10% auto 10%;
  height: 46%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(23, 32, 51, 0.08) 12% 13%, transparent 13% 24%, rgba(23, 32, 51, 0.08) 24% 25%, transparent 25% 100%),
    linear-gradient(135deg, rgba(255, 92, 138, 0.12), rgba(37, 99, 235, 0.08));
  transform: rotate(-12deg);
}

.region-map__label {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 32, 51, 0.66);
  font-size: 11px;
  font-weight: 900;
}

.region-map__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 10px 18px rgba(23, 32, 51, 0.12);
  transform: translate(-50%, -50%);
}

.region-map__pin i {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 32, 51, 0.72);
  font-size: 10px;
  font-style: normal;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.region-map__pin span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.region-spot-detail {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(255, 92, 138, 0.2);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.1);
}

.region-spot-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.region-spot-detail__head p {
  margin: 0 0 3px;
  color: #9f1239;
  font-size: 11px;
  font-weight: 900;
}

.region-spot-detail__head h3 {
  font-size: 17px;
}

.region-spot-detail__head > span {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.region-spot-detail__head .spot-card--danger {
  color: #991b1b;
  background: #fee2e2;
}

.region-spot-detail__head .spot-card--warn {
  color: #92400e;
  background: #fef3c7;
}

.region-spot-detail__head .spot-card--ok {
  color: #047857;
  background: #d1fae5;
}

.region-spot-detail__desc {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.region-spot-detail__tip {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff7ed;
}

.region-spot-detail__tip strong {
  color: #9f1239;
  font-size: 12px;
}

.region-spot-detail__tip span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.region-map__pin--south {
  color: #9f1239;
  background: #fff1f5;
}

.region-map__pin--yuzhong {
  color: #4338ca;
  background: #eef2ff;
}

.region-map__pin--jiangbei {
  color: #0f766e;
  background: #ecfeff;
}

.region-board--south {
  background: linear-gradient(180deg, #fff1f5, #ffffff 62%);
}

.region-board--yuzhong {
  background: linear-gradient(180deg, #eef2ff, #ffffff 62%);
}

.region-board--jiangbei {
  background: linear-gradient(180deg, #ecfeff, #ffffff 62%);
}

.region-board__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.region-board__head p {
  margin: 0 0 4px;
  color: #ff5c8a;
  font-size: 12px;
  font-weight: 900;
}

.region-board__head h3 {
  margin: 0;
  font-size: 18px;
}

.region-board__head span {
  padding: 6px 8px;
  border-radius: 999px;
  color: #9f1239;
  background: #fff1f5;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.region-board__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 2px -2px 0;
  padding: 2px 2px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.region-board__chips::-webkit-scrollbar {
  display: none;
}

.region-board__chips button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: #475569;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
  font-size: 12px;
  font-weight: 800;
}

.region-board__cards {
  display: grid;
  gap: 8px;
}

.region-board__cards button {
  min-height: 66px;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.06);
}

.region-board__cards strong {
  display: block;
  font-size: 14px;
}

.region-board__cards span {
  display: block;
  margin-top: 4px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.region-board__cards .featured {
  color: #fff;
  background: linear-gradient(135deg, #ff5c8a, #f97316);
  box-shadow: 0 12px 22px rgba(255, 92, 138, 0.22);
}

.region-board__cards .featured span {
  color: rgba(255, 255, 255, 0.88);
}

.region-board__cards em {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.region-board__cards em b {
  font-size: 10px;
}

.region-board__cards em small {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

 .region-itinerary,
.region-supplies {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.region-itinerary > strong,
.region-supplies > strong {
  color: #172033;
  font-size: 14px;
}

.region-itinerary article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  align-items: start;
}

.region-itinerary b {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 999px;
  color: #fff;
  background: #ff5c8a;
  font-size: 11px;
}

.region-itinerary span,
.region-supplies span {
  display: block;
  color: #172033;
  font-size: 13px;
  font-weight: 900;
}

.region-itinerary p,
.region-supplies p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.region-supplies article {
  padding: 9px 10px;
  border-radius: 12px;
  background: #f8fafc;
}

.spot-card--danger em {
  color: #991b1b;
  background: #fee2e2;
}

.spot-card--warn em {
  color: #92400e;
  background: #fef3c7;
}

.spot-card--ok em {
  color: #047857;
  background: #d1fae5;
}

.region-pay-nudge {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #fff1f5);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.14);
}

.region-pay-nudge strong {
  color: #9f1239;
  font-size: 13px;
}

.region-pay-nudge span {
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.region-pay-nudge button {
  min-height: 36px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff5c8a, #f97316);
  font-size: 12px;
  font-weight: 900;
}

.mini-map {
  height: 220px;
  border-radius: 14px;
}

.mini-map--yuzhong,
.mini-map--jiangbei {
  height: 220px;
  border-radius: 14px;
}

.mini-map--yuzhong {
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.1), transparent 45%),
    linear-gradient(180deg, #eef2ff, #fff8fb);
}

.mini-map--jiangbei {
  background:
    linear-gradient(135deg, rgba(18, 184, 134, 0.12), transparent 45%),
    linear-gradient(180deg, #ecfeff, #fff7ed);
}

.info-ribbon {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 92, 138, 0.08);
  color: #9f1239;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
}

.ribbon-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.ribbon-user i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #f9a8d4, #a855f7);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.info-ribbon span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-fab {
  position: fixed;
  left: calc(50% - min(50%, 215px) + 14px);
  bottom: 92px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.2);
}

.report-fab i {
  font-style: normal;
}

.stay-rank {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fff 68%);
}

.stay-rank .section-head {
  margin-bottom: 8px;
}

.stay-rank-entry,
.stay-rank-list {
  display: grid;
  gap: 8px;
}

.stay-rank-entry,
.stay-rank-list button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.stay-rank-entry {
  width: 100%;
  min-height: 64px;
}

.stay-rank-entry p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sheet-rank-list {
  margin-top: 12px;
}

.stay-rank-entry b,
.stay-rank-list b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #f59f00;
  font-size: 13px;
}

.stay-rank-entry strong,
.stay-rank-list strong {
  display: block;
  font-size: 13px;
}

.stay-rank-entry p,
.stay-rank-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.stay-rank-entry span,
.stay-rank-list span {
  padding: 5px 7px;
  border-radius: 999px;
  color: #92400e;
  background: #fffbeb;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.core-zone-grid {
  display: grid;
  gap: 8px;
}

.core-zone-grid button {
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  text-align: left;
}

.core-zone-grid strong,
.core-zone-grid span {
  display: block;
}

.core-zone-grid strong {
  font-size: 15px;
}

.core-zone-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.core-zone-grid .featured {
  color: #fff;
  background: linear-gradient(135deg, #ff4f87, #ff7a59);
  box-shadow: 0 10px 22px rgba(255, 92, 138, 0.22);
}

.core-zone-grid .featured span {
  color: rgba(255, 255, 255, 0.88);
}

.social-ticker {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid #ffe0ea;
  border-radius: 8px;
  color: #865468;
  background: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  overflow: hidden;
}

.social-ticker span,
.social-ticker b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-ticker b {
  color: var(--pink);
}

.notice {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: #445066;
  font-size: 13px;
}

.notice i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(18, 184, 134, 0.12);
}

.tester-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #ffe0ea;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff8fb, #fff7ed);
}

.tester-card p {
  margin: 0 0 4px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.tester-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.tester-card button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--pink);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-tag i,
.location-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(18, 184, 134, 0.42);
  animation: pulse 1.6s ease-out infinite;
}

.live-sub {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(18, 184, 134, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(18, 184, 134, 0);
  }
}

.live-panel,
.section,
.two-col article {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}

.live-panel {
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.08), rgba(18, 184, 134, 0.08) 48%, rgba(245, 159, 0, 0.08)),
    #fff;
  box-shadow: 0 18px 38px rgba(23, 32, 51, 0.12);
}

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

.section-head > span,
#payState {
  padding: 5px 8px;
  border-radius: 999px;
  color: #b4536e;
  background: var(--rose);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 15px;
}

.live-panel button,
.pay,
.route-preview button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff5c8a, #a855f7);
  font-weight: 800;
  white-space: nowrap;
}

.live-report-entry {
  width: 100%;
  margin: 12px 0 0;
  background: linear-gradient(135deg, #12b886, #0ea5e9) !important;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.16);
}

#unlockTop {
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.18);
  animation: pulseButton 2.2s ease-in-out infinite;
}

.trial-unlock-btn {
  display: grid;
  gap: 2px;
  align-content: center;
  min-width: 112px;
  line-height: 1.1;
}

.trial-unlock-btn span {
  font-size: 10px;
  opacity: 0.9;
}

.trial-unlock-btn del {
  opacity: 0.72;
}

.trial-price-anchor {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 12px 0 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 138, 0.12);
}

.trial-price-anchor strong,
.trial-price-anchor span {
  display: block;
}

.trial-price-anchor strong {
  color: #9f1239;
  font-size: 12px;
}

.trial-price-anchor span {
  color: #475569;
  font-size: 11px;
  line-height: 1.35;
}

@keyframes pulseButton {
  50% {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(168, 85, 247, 0.28);
  }
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.status-grid article {
  min-height: 78px;
  padding: 10px;
  border-radius: 8px;
  background: #f8fbfd;
}

.status-grid span,
.status-grid em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.status-grid strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 17px;
}

.danger {
  color: var(--red);
}

.warn {
  color: var(--amber);
}

.ok {
  color: var(--green);
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.district {
  min-height: 68px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  text-align: left;
}

.district strong,
.district span {
  display: block;
}

.district strong {
  font-size: 14px;
}

.district span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.district.featured {
  color: #fff;
  background: linear-gradient(135deg, #ff4f87, #ff7a59);
  box-shadow: 0 10px 22px rgba(255, 92, 138, 0.22);
}

.district.featured span {
  color: rgba(255, 255, 255, 0.86);
}

.focus {
  padding-bottom: 0;
  overflow: hidden;
}

.mini-map {
  position: relative;
  height: 268px;
  margin: 0 -14px;
  background:
    radial-gradient(circle at 56% 34%, rgba(239, 68, 68, 0.22), transparent 12%),
    radial-gradient(circle at 38% 28%, rgba(18, 184, 134, 0.2), transparent 13%),
    linear-gradient(165deg, transparent 0 42%, rgba(59, 130, 246, 0.2) 43% 48%, transparent 49%),
    radial-gradient(ellipse at 58% 62%, rgba(59, 130, 246, 0.2) 0 26%, transparent 27%),
    linear-gradient(180deg, #ecfeff, #fff7ed);
}

.mini-map::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 45%;
  height: 96px;
  border: 22px solid rgba(96, 165, 250, 0.18);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 6px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.18);
}

.hot {
  background: var(--red);
}

.warm {
  background: var(--amber);
}

.calm {
  background: var(--green);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 14px;
  color: var(--muted);
  font-size: 11px;
}

.map-legend span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.map-legend b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.red {
  background: var(--red);
}

.yellow {
  background: var(--amber);
}

.green {
  background: var(--green);
}

.paid-preview {
  border-color: #ffd4df;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.value-row span {
  padding: 8px 6px;
  border-radius: 8px;
  color: #b4536e;
  background: var(--rose);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.route-preview {
  display: grid;
  gap: 8px;
}

.route-intel-link {
  grid-column: 2 / -1;
  min-height: auto;
  padding: 8px 10px;
  border-radius: 8px;
  color: #7c2d4e;
  background: #fff7fb;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.monthly-rank {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fff 62%);
}

.transit-guide,
.rescue-points,
.safety-route {
  margin-top: 24px;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(23, 32, 51, 0.06);
}

.transit-guide {
  background: linear-gradient(180deg, #f1f7ff, #fff 70%);
}

.rescue-points {
  background: linear-gradient(180deg, #ecfeff, #fff 70%);
}

.rescue-grid {
  display: grid;
  gap: 8px;
}

.rescue-grid article {
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.08);
}

.rescue-grid strong {
  display: block;
  color: #075985;
  font-size: 13px;
}

.rescue-grid p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.transit-list {
  display: grid;
  gap: 8px;
}

.transit-list button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.transit-list i,
.safety-list i {
  font-style: normal;
  font-size: 18px;
}

.transit-list button > span {
  min-width: 0;
}

.transit-list strong {
  display: block;
  color: #1d4ed8;
  font-size: 13px;
}

.transit-list em {
  display: block;
  margin-top: 4px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  font-style: normal;
}

.transit-list b,
.safety-list span,
.safety-list button {
  padding: 5px 8px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.transit-steps {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.transit-steps article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  border-radius: 8px;
  background: #f8fbfd;
}

.transit-steps b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}

.transit-steps strong {
  display: block;
  font-size: 13px;
}

.transit-steps span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.minor-mode {
  border-color: #fecdd3;
  background: linear-gradient(180deg, #fff1f5, #fff 66%);
}

.safety-route {
  background: linear-gradient(180deg, #fff1f5, #fff 70%);
}

.safety-list,
.safety-rules {
  display: grid;
  gap: 8px;
}

.safety-list article,
.safety-rules article,
.minor-mode {
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 92, 138, 0.1);
}

.safety-list article {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
}

.safety-list strong,
.safety-rules strong,
.minor-mode strong {
  display: block;
  color: #9d2f63;
  font-size: 13px;
}

.safety-list p,
.safety-rules p,
.minor-mode p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.safety-list button {
  border: 0;
  color: #9f1239;
  background: #fff1f5;
}

.rank-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}

.rank-tabs button {
  min-height: 36px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  color: #92400e;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.rank-tabs button.active {
  color: #fff;
  background: #f59f00;
}

.rank-list {
  display: none;
  gap: 8px;
}

.rank-list.active {
  display: grid;
}

.rank-list article {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fff;
}

.rank-list b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #f59f00;
  font-size: 13px;
}

.rank-list strong {
  display: block;
  font-size: 13px;
}

.rank-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.rank-list article > span {
  padding: 5px 7px;
  border-radius: 999px;
  color: #92400e;
  background: #fffbeb;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  border-radius: 8px;
  background: #f8fbfd;
  overflow: hidden;
}

.step span,
.step em {
  color: var(--pink);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.step strong {
  display: block;
  font-size: 13px;
}

.step p {
  margin: 3px 0 0;
}

.step.locked::after {
  content: "实时判断已锁";
  position: absolute;
  inset: auto 10px 10px auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 32, 51, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.step.locked p {
  max-width: 150px;
}

.fomo-line {
  display: inline-block;
  max-width: 188px !important;
  margin-top: 5px !important;
  padding: 4px 6px;
  border-radius: 6px;
  color: #b91c1c !important;
  background: linear-gradient(90deg, #fee2e2, rgba(254, 226, 226, 0.2));
  filter: blur(0.35px);
  font-weight: 800;
}

.cta-badge {
  justify-self: end;
  margin: -2px 2px 0 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: #9f1239;
  background: #fff1f5;
  font-size: 11px;
  font-weight: 800;
}

.unlocked-note {
  margin: 2px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: #f0fdf4;
  color: #0f766e;
}

.intel-list {
  display: grid;
  gap: 8px;
}

.intel-list article {
  padding: 11px;
  border-radius: 8px;
  background: #f8fbfd;
}

.intel-list strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.intel-list p {
  margin: 3px 0 0;
}

.locked-intel {
  border: 1px dashed #ffc2d4;
  background: #fff8fb !important;
}

.locked-intel p {
  color: #b91c1c;
  font-weight: 800;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
}

.report-panel {
  border-color: #ffd4df;
  background:
    linear-gradient(180deg, rgba(255, 241, 245, 0.9), rgba(255, 255, 255, 0.94) 46%),
    var(--card);
  box-shadow: var(--shadow);
}

.location-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  align-items: center;
  margin: -2px 0 12px;
  padding: 10px;
  border: 1px solid #ffd4df;
  border-radius: 8px;
  background: #fff8fb;
}

.location-pill strong {
  font-size: 13px;
}

.location-pill span {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.report-lead {
  margin: -4px 0 12px;
  color: #7d4d61;
  font-size: 13px;
  line-height: 1.45;
}

.report-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.report-field strong {
  font-size: 13px;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.choice-row button {
  min-height: 38px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #445066;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.choice-row button.active {
  font-weight: 900;
  box-shadow: inset 0 0 0 1px currentColor;
}

.choice-row button.active[data-tone="good"] {
  border-color: #93c5fd;
  color: #1d4ed8;
  background: #eff6ff;
}

.choice-row button.active[data-tone="mid"] {
  border-color: #facc15;
  color: #a16207;
  background: #fef9c3;
}

.choice-row button.active[data-tone="bad"] {
  border-color: #fca5a5;
  color: #b91c1c;
  background: #fef2f2;
}

.upload-box {
  position: relative;
  display: grid;
  place-items: center;
  height: 96px;
  margin-top: 12px;
  border: 1px dashed #ffc2d4;
  border-radius: 8px;
  color: #b4536e;
  background: #fff8fb;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

 .upload-box span {
  position: relative;
  z-index: 1;
 }

 .upload-box.has-image {
  border-style: solid;
  color: #9f1239;
  background: #fff1f5;
 }

 .report-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
 }

 .upload-box.has-image span {
  align-self: end;
  width: 100%;
  padding: 26px 10px 10px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(88, 28, 56, 0.78));
 }

.quick-note {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.submit-report {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff5c8a, #8b5cf6);
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(255, 92, 138, 0.24);
}

 .submit-report:disabled {
  opacity: 0.72;
  box-shadow: none;
 }

.report-result {
  margin: 10px 0 0;
  padding: 10px;
  border-radius: 8px;
  color: #7d4d61;
  background: #fff8fb;
  font-size: 12px;
  line-height: 1.45;
}

.report-result.success {
  color: #9f1239;
  background: #fff1f5;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.two-col article {
  margin-top: 0;
}

.buddy-hero-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  border-color: #f2d1c3;
  background: linear-gradient(135deg, #fff7ed, #fff1f5 62%, #fefce8);
}

.buddy-hero-card .photo-slot {
  min-height: 98px;
  margin: 0;
}

.buddy-hero-card h2,
.buddy-hero-card p {
  margin: 0;
}

.buddy-hero-card h2 {
  margin-top: 4px;
  font-size: 19px;
  line-height: 1.18;
}

.buddy-hero-card div > p:last-child {
  margin-top: 6px;
  color: #7d4d61;
  font-size: 13px;
  line-height: 1.5;
}

.buddy-hero-card button {
  grid-column: 1 / -1;
  min-height: 42px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #a04a2f, #ff5c8a);
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(160, 74, 47, 0.18);
}

.buddy-panel {
  border-color: #dbeafe;
  background: linear-gradient(180deg, #eff6ff, #fff 58%);
}

.buddy-hero-card + .buddy-panel {
  margin-top: 8px !important;
}

.match-label {
  margin: 2px 0 8px;
  color: #7d4d61;
  font-size: 12px;
  font-weight: 900;
}

.buddy-code-block {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.buddy-code-block > strong {
  color: #1e3a8a;
  font-size: 12px;
}

.gen-tabs,
.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gen-tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #2563eb;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.gen-tabs button.active {
  color: #fff;
  background: #2563eb;
}

.safety-rules {
  margin-bottom: 10px;
}

.member-tags button {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #31507d;
  background: #fff;
  border: 1px solid #dbeafe;
  font-size: 11px;
  font-weight: 800;
}

.member-tags button.active {
  color: #fff;
  border-color: #ff5c8a;
  background: linear-gradient(135deg, #ff5c8a, #8b5cf6);
  box-shadow: 0 8px 16px rgba(255, 92, 138, 0.18);
}

.buddy-list {
  display: grid;
  gap: 10px;
}

.buddy-list article {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid #e0edff;
}

.buddy-list strong {
  color: #172033;
  font-size: 14px;
}

.buddy-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.buddy-group-no {
  justify-self: start;
  padding: 6px 8px;
  border-radius: 999px;
  color: #be185d;
  background: #fff1f5;
  border: 1px solid #fbcfe8;
  font-size: 11px;
  font-weight: 900;
}

.buddy-list button,
.profile-actions button {
  min-height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.buddy-gate-panel {
  display: grid;
  gap: 12px;
}

.buddy-gate-panel .muted {
  margin-bottom: 0;
}

.buddy-gate-block {
  display: grid;
  gap: 8px;
}

.buddy-gate-block > strong {
  color: #172033;
  font-size: 13px;
}

.buddy-gate-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.buddy-gate-options button {
  min-height: 38px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: #2563eb;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.buddy-gate-options button.active {
  color: #fff;
  border-color: #2563eb;
  background: #2563eb;
}

.buddy-gate-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: #475569;
  background: #f8fbfd;
  font-size: 12px;
  line-height: 1.5;
}

.buddy-gate-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #2563eb;
}

.buddy-gate-block input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: #172033;
  background: #fff;
}

.buddy-gate-result {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.buddy-gate-result.review {
  background: #fff7ed;
  border-color: #fed7aa;
}

.buddy-gate-result strong {
  color: #166534;
  font-size: 14px;
}

.buddy-gate-result.review strong {
  color: #9a3412;
}

.buddy-gate-result p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.buddy-passcode {
  padding: 9px;
  border-radius: 8px;
  color: #be185d;
  background: #fff1f5;
  font-size: 12px;
  font-weight: 900;
}

.buddy-group-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.buddy-group-line b {
  color: #2563eb;
  font-size: 12px;
}

.buddy-group-line span {
  color: #172033;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
}

.buddy-entry {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
}

.buddy-qr {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  color: #2563eb;
  background:
    linear-gradient(90deg, #2563eb 2px, transparent 2px) 0 0 / 12px 12px,
    linear-gradient(#2563eb 2px, transparent 2px) 0 0 / 12px 12px,
    #fff;
  font-size: 11px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.buddy-entry b {
  display: block;
  color: #172033;
  font-size: 13px;
}

.buddy-entry span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.buddy-gate-submit {
  width: 100%;
}

.buddy-copy-code {
  min-height: 38px;
  border-radius: 8px;
  color: #fff;
  background: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.mine-panel {
  border-color: #d1fae5;
  background: linear-gradient(180deg, #ecfdf5, #fff 60%);
}

.mine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mine-grid article {
  min-height: 72px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d1fae5;
}

.mine-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.mine-grid strong {
  display: block;
  margin-top: 6px;
  color: #047857;
  font-size: 15px;
}

.trial-vip-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin-top: 12px;
  padding: 16px;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(250, 204, 21, 0.42), transparent 22%),
    linear-gradient(135deg, #111827, #3f1d38 52%, #b45309);
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.18);
}

.trial-vip-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -38px auto;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.trial-vip-card p,
.trial-vip-card h3,
.trial-vip-card span {
  position: relative;
  margin: 0;
}

.trial-vip-card p {
  color: #fde68a;
  font-size: 11px;
  font-weight: 900;
}

.trial-vip-card h3 {
  margin-top: 5px;
  font-size: 18px;
}

.trial-vip-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.trial-vip-card b {
  position: relative;
  color: #fde68a;
  font-size: 11px;
  white-space: nowrap;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.mine-head {
  align-items: flex-start;
  gap: 12px;
}

.mine-head > div {
  min-width: 0;
}

.settings-btn {
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #fbcfe8;
  border-radius: 50%;
  color: #be185d;
  background: #fff;
  font-size: 16px;
  line-height: 1;
  margin-top: 3px;
  padding: 0;
  box-shadow: 0 8px 18px rgba(244, 114, 182, 0.12);
}

.settings-btn:active {
  transform: translateY(1px);
}

.profile-sheet-body .settings-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.profile-sheet-body .settings-row span {
  min-width: 0;
}

.profile-sheet-body .settings-row p {
  margin-right: 0;
}

.profile-sheet-body .row-arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff1f2;
  color: #be185d;
  font-size: 18px;
  font-weight: 800;
}

.profile-sheet-body .settings-note {
  padding: 12px;
  border: 1px solid #fce7f3;
  border-radius: 8px;
  background: #fff7fb;
}

.profile-sheet-body .settings-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.profile-sheet-body .settings-note p {
  margin: 0;
  color: #7c2d12;
  font-size: 12px;
  line-height: 1.7;
}

.profile-sheet-body .policy-card {
  padding: 12px;
  border: 1px solid #fbcfe8;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7fb, #fff7ed);
}

.profile-sheet-body .policy-card p {
  margin: 0;
  color: #7d4d61;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.profile-sheet-body article strong {
  color: #831843;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #d1fae5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.badge-wall {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #e9d5ff;
  border-radius: 8px;
  background: #fff;
}

.badge-wall-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.badge-wall-head strong {
  color: var(--ink);
  font-size: 13px;
}

.badge-wall-head span {
  color: #8b5cf6;
  font-size: 11px;
  font-weight: 900;
}

.badge-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.badge-item {
  display: grid;
  gap: 5px;
  place-items: center;
  min-height: 68px;
  padding: 8px 4px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.badge-item i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e7eb;
  filter: grayscale(1);
  font-style: normal;
}

.badge-item span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.profile-avatar {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #2563eb);
  font-size: 18px;
  font-weight: 900;
}

.profile-copy {
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-name-row strong {
  color: var(--ink);
  font-size: 15px;
}

.profile-name-row span,
.profile-name-row b {
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.profile-name-row span {
  color: #be185d;
  background: #fce7f3;
}

.profile-name-row b {
  color: #047857;
  background: #d1fae5;
}

.profile-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.clickable-stat {
  cursor: pointer;
}

.clickable-stat strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.clickable-stat i {
  font-style: normal;
  color: #fb7185;
  font-size: 18px;
  line-height: 1;
}

.profile-actions .primary-action {
  position: relative;
  background: linear-gradient(135deg, #fb3f7f, #2563eb);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.16);
}

.profile-actions .primary-action span {
  position: absolute;
  top: -7px;
  right: 8px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #fff;
  background: #f97316;
  font-size: 9px;
}

.profile-actions .ghost-action {
  color: #be185d;
  border: 1px solid #f9a8d4;
  background: #fff;
}

.minor-mode {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.minor-mode > div {
  min-width: 0;
}

.safety-toggle {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.2s ease;
}

.safety-toggle span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease;
}

.safety-toggle.is-on {
  background: #fb7185;
}

.safety-toggle.is-on span {
  transform: translateX(20px);
}

.tool-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.tool-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 10px;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  text-align: left;
  background: #fff;
}

.tool-list button:first-child {
  border-color: #fecdd3;
  background: #fff1f2;
}

.tool-list strong {
  color: var(--ink);
  font-size: 13px;
}

.tool-list span {
  max-width: 132px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.profile-sheet-body {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.profile-sheet-body article,
.profile-sheet-body button {
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.profile-sheet-body strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.profile-sheet-body p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.profile-sheet-body span {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 6px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-size: 10px;
  font-weight: 900;
}

.minor-mode--active {
  box-shadow:
    inset 0 0 0 1px rgba(255, 92, 138, 0.18),
    0 14px 28px rgba(255, 92, 138, 0.12);
}

.panic-fab {
  position: fixed;
  right: calc(50% - min(50%, 215px) + 14px);
  bottom: 92px;
  z-index: 7;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #f97316);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.22);
}

.panic-actions {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.panic-actions button {
  min-height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--pink);
  font-weight: 900;
}

.panic-actions button:last-child {
  background: var(--blue);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 30;
  width: min(calc(100% - 32px), 398px);
  padding: 11px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.profile-actions button:first-child {
  background: var(--pink);
}

.ticket-slot,
.compare-slot {
  position: relative;
  overflow: hidden;
}

.ticket-slot {
  border: 0;
  color: #7c2d12;
  background:
    radial-gradient(circle at 0 50%, #fff7ed 0 8px, transparent 9px),
    radial-gradient(circle at 100% 50%, #fff7ed 0 8px, transparent 9px),
    linear-gradient(90deg, transparent 0 15%, rgba(255, 255, 255, 0.74) 15% 16.5%, transparent 16.5%),
    linear-gradient(135deg, #fff7ed, #fed7aa 52%, #f9a8d4);
}

.ticket-slot::before {
  content: "";
  position: absolute;
  left: 16%;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(124, 45, 18, 0.18);
}

.ticket-slot::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 46px;
  height: 22px;
  background: repeating-linear-gradient(90deg, #7c2d12 0 3px, transparent 3px 6px);
  opacity: 0.55;
}

 .ticket-slot .ticket-kicker {
  position: absolute;
  left: 10px;
  top: 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
 }

 .ticket-slot .ticket-copy {
  position: absolute;
  left: 10px;
  bottom: 36px;
  right: 48px;
  font-size: 11px;
  font-weight: 900;
  color: #9f1239;
 }

 .ticket-slot .ticket-code {
  position: absolute;
  right: 11px;
  bottom: 11px;
  width: 48px;
  height: 18px;
  background: repeating-linear-gradient(90deg, #7c2d12 0 3px, transparent 3px 6px);
  opacity: 0.58;
 }

.compare-slot {
  border: 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(185, 28, 28, 0.78) 0 50%, rgba(15, 118, 110, 0.78) 50%),
    linear-gradient(135deg, #fecaca 0 50%, #bbf7d0 50%);
}

.compare-slot::before,
.compare-slot::after {
  position: absolute;
  top: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 900;
}

.compare-slot::before {
  content: "×";
  left: 18px;
  color: #b91c1c;
}

.compare-slot::after {
  content: "✓";
  right: 18px;
  color: #0f766e;
}

.founder-note {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fff 68%);
}

.founder-note h2 {
  color: #92400e;
}

.tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 430px);
  height: 72px;
  padding: 8px 10px 10px;
  gap: 7px;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.mobile-browser .tabs {
  height: calc(72px + env(safe-area-inset-bottom));
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.tabs button {
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.tabs .active {
  background: var(--rose);
  color: var(--pink);
  box-shadow: inset 0 0 0 1px #ffd4df;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.36);
}

.sheet.open {
  display: flex;
}

.panel {
  position: relative;
  width: min(100%, 430px);
  max-height: 84vh;
  overflow: auto;
  padding: 20px 16px;
  border-radius: 16px 16px 0 0;
  background: #fff;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #667085;
  font-size: 22px;
}

.unlock-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.unlock-list span {
  padding: 10px;
  border-radius: 8px;
  background: #f8fbfd;
  color: #445066;
  font-size: 13px;
}

.unlock-list .price-compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, #fff7fb, #f8fbfd);
  box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.14);
}

.price-compare small {
  min-width: 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.price-compare del {
  color: #94a3b8;
  text-decoration-color: #94a3b8;
  text-decoration-thickness: 2px;
}

.price-compare b {
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 14px 0;
}

.plans button,
.panel input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plans button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 10px 12px;
  font-weight: 900;
}

.plans .selected {
  border-color: #ffc2d4;
  color: var(--pink);
  background: #fff3f7;
  font-weight: 800;
}

.plans del {
  color: #94a3b8;
  margin-right: 4px;
  text-decoration-color: #94a3b8;
  text-decoration-thickness: 2px;
}

.plan-old {
  color: #94a3b8;
  font-size: 15px;
}

.plan-free {
  color: var(--pink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.trial-pay-note {
  margin: -2px 0 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.panel input {
  width: 100%;
  padding: 0 12px;
  margin-bottom: 12px;
}

.district-detail-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.district-detail-list span {
  padding: 10px;
  border-radius: 8px;
  background: #f8fbfd;
  font-size: 13px;
}

@media (max-width: 360px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .status-grid,
  .value-row,
  .choice-row,
  .stay-rank-entry,
  .stay-rank-list button,
  .mine-grid,
  .profile-actions,
  .rank-list article,
  .two-col {
    grid-template-columns: 1fr;
  }

  .rank-list article > span {
    justify-self: start;
  }

  .unlock-list .price-compare,
  .plans button {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* v2 polish: keep the map focused and make the paid value legible at a glance. */
.hero {
  position: relative;
}

.help-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid #ffd1df;
  border-radius: 50%;
  color: #b4536e;
  background: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1;
}

.help-icon:hover,
.help-icon:focus-visible {
  color: #9f1239;
  border-color: var(--pink);
}

.hero-copy {
  padding-right: 14px;
}

.live-panel {
  background: linear-gradient(145deg, #fff4f8, #f7efff);
  border-color: #f4c7d9;
}

.live-panel .section-head {
  margin-bottom: 12px;
}

.live-panel .status-grid {
  margin-top: 0;
}

.live-panel .trial-price-anchor {
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.86);
}

.live-panel > .trial-unlock-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  font-size: 16px;
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.18);
}

.trial-free-note {
  margin: 7px 0 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.map-art-card {
  isolation: isolate;
}

.map-bubbles {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.map-bubbles button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #7c2d4e;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 12px rgba(23, 32, 51, 0.12);
  font-size: 11px;
  font-weight: 900;
}

.map-bubbles button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5c8a, #f97316);
}

.route-category-tabs {
  padding: 8px 0 2px;
}

.category-scroll {
  display: flex;
  gap: 8px;
  padding: 0 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.category-scroll button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #fde2eb;
  border-radius: 999px;
  color: #7d4d61;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(23, 32, 51, 0.06);
}

.category-scroll button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5c8a, #f97316);
  box-shadow: 0 10px 18px rgba(255, 92, 138, 0.18);
}

.compact-route-head {
  margin-bottom: 0;
}

.route-switch {
  padding-top: 12px;
  padding-bottom: 12px;
}

.choice-row button.active[data-tone="good"] {
  border-color: #fb7185;
  color: #be185d;
  background: #fff1f5;
}

.choice-row button.active[data-tone="mid"] {
  border-color: #f59e0b;
  color: #b45309;
  background: #fff7ed;
}

.choice-row button.active[data-tone="bad"] {
  border-color: #f97316;
  color: #c2410c;
  background: #fff1e9;
}
