:root {
  --bg: #eff3ec;
  --paper: rgba(252, 251, 247, 0.9);
  --paper-solid: #fcfbf7;
  --paper-soft: rgba(255, 253, 249, 0.86);
  --ink: #2d2626;
  --muted: #6b6771;
  --line: rgba(27, 34, 48, 0.12);
  --line-strong: rgba(27, 34, 48, 0.24);
  --salmon: #ef7a5c;
  --teal: #3ca99b;
  --acid: #d8ea4f;
  --sky: #6bb0ff;
  --sand: #f3d8b4;
  --mint: #dceee7;
  --shadow: 0 28px 78px rgba(53, 42, 33, 0.12);
  --shadow-soft: 0 18px 48px rgba(53, 42, 33, 0.08);
  --width: min(1200px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(243, 208, 133, 0.26), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(189, 231, 226, 0.24), transparent 28%),
    radial-gradient(circle at 76% 74%, rgba(219, 230, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f7f1 0%, var(--bg) 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body.is-profile-open {
  overflow: hidden;
}

a,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page-wash,
.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-wash {
  background:
    radial-gradient(circle at 14% 11%, rgba(255, 243, 198, 0.68), transparent 19%),
    radial-gradient(circle at 82% 16%, rgba(221, 245, 239, 0.34), transparent 24%),
    radial-gradient(circle at 72% 82%, rgba(255, 227, 214, 0.22), transparent 22%);
}

.page-grain {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(87, 64, 50, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 64, 50, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 68%, transparent 100%);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.92);
  box-shadow: var(--shadow-soft);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.market-topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  width: var(--width);
  margin: 14px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(252, 250, 246, 0.74);
  box-shadow: 0 18px 48px rgba(53, 42, 33, 0.08);
  backdrop-filter: blur(14px);
}

.brand-tag,
.market-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.brand-tag {
  color: var(--ink);
  background: rgba(216, 234, 79, 0.18);
}

.market-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.market-nav a:hover,
.market-nav a:focus-visible,
.brand-tag:hover,
.brand-tag:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 252, 246, 0.94);
  color: var(--ink);
  transform: translateY(-1px);
}

.market-nav a:focus-visible,
.brand-tag:focus-visible,
.profile-card:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(239, 122, 92, 0.36);
  outline-offset: 3px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: var(--width);
  margin: 0 auto;
  padding: 24px 0 64px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 46px 48px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 244, 186, 0.44), transparent 26%),
    radial-gradient(circle at 78% 22%, rgba(216, 240, 238, 0.52), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 34%),
    var(--paper);
  box-shadow: var(--shadow);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 32%);
}

.hero-schedule {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  max-height: 760px;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(27, 34, 48, 0.08);
  box-shadow: 0 20px 58px rgba(53, 42, 33, 0.12);
}

.hero-board {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-topline {
  position: relative;
  display: block;
}

.date-sticker {
  display: grid;
  gap: 3px;
  width: fit-content;
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 24px;
  background: rgba(216, 234, 79, 0.18);
  box-shadow: 0 12px 32px rgba(53, 42, 33, 0.08);
}

.date-sticker strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 34px;
  line-height: 1;
}

.date-sticker span,
.location-ribbon {
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-title-block {
  display: grid;
  justify-items: start;
  align-content: center;
}

.hero-title-block h1 {
  max-width: none;
  margin-top: 22px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(56px, 7.2vw, 108px);
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-title-block p {
  margin-top: 16px;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}

.location-ribbon {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 22px;
  padding: 0 14px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.78);
  color: var(--ink);
}

.section-block {
  position: relative;
  margin-top: 42px;
  scroll-margin-top: 104px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head-with-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
}

.section-kicker,
.hold-tip,
.note-time,
.card-id,
.chip-row span,
.wish-head strong,
.team-footer span,
.team-footer b,
.team-zone-title span,
.profile-kicker,
.profile-gate-label,
.contact-box span {
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 10px;
}

.section-head h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hold-tip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(239, 122, 92, 0.12);
  color: #b95d46;
}

.stats-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* 满宽一行：组队进度 / 想获得 / 新朋友老朋友，撑满整行不留空列 */
.stat-row-fill {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.stat-card {
  min-height: 188px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, rgba(216, 234, 79, 0.26) 0%, rgba(216, 234, 79, 0) 30%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(252, 250, 246, 0.78)),
    var(--paper);
  box-shadow: var(--shadow);
}

.stat-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 13px;
  font-weight: 700;
}

.stat-card-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
  grid-row: span 2;
  background:
    repeating-linear-gradient(
      -26deg,
      transparent 0,
      transparent 24px,
      rgba(255, 203, 89, 0.14) 24px,
      rgba(255, 203, 89, 0.14) 32px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(229, 242, 255, 0.88));
}

.stat-card-main strong {
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 108px;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

.stat-card-main span {
  margin-top: 14px;
  color: rgba(23, 23, 23, 0.74);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.stat-card-wide {
  min-height: 188px;
}

.stat-card-cloud {
  grid-column: 1 / -1;
}

.stat-cloud-wall {
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.stat-cloud-scroll {
  display: flex;
  max-height: 430px;
  padding: 2px 6px 12px 2px;
  overflow-y: auto;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 12px;
  scroll-behavior: smooth;
}

.stat-cloud-scroll::-webkit-scrollbar {
  width: 10px;
}

.stat-cloud-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(27, 34, 48, 0.06);
}

.stat-cloud-scroll::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 252, 246, 0.9);
  border-radius: 999px;
  background: rgba(27, 34, 48, 0.24);
}

.stat-cloud-details {
  margin-top: 14px;
}

.stat-cloud-details summary {
  display: inline-flex;
  min-height: 36px;
  padding: 0 14px;
  align-items: center;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.86);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.stat-cloud-details summary::-webkit-details-marker {
  display: none;
}

.stat-cloud-wall-all {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(27, 34, 48, 0.18);
}

.stat-cloud-item {
  flex: 0 1 auto;
  max-width: min(430px, 100%);
  padding: 12px 14px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.74);
  box-shadow: 0 14px 34px rgba(53, 42, 33, 0.08);
  transform: rotate(var(--tilt));
}

.stat-cloud-item:nth-child(2n) {
  max-width: min(330px, 100%);
}

.stat-cloud-item:nth-child(3n) {
  max-width: min(520px, 100%);
}

.stat-cloud-item:nth-child(4n) {
  margin-top: 18px;
}

.stat-cloud-item:nth-child(5n) {
  margin-top: 8px;
}

.stat-cloud-item strong {
  display: block;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  line-height: 1.12;
}

.stat-cloud-item p {
  margin: 8px 0 10px;
  color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.stat-cloud-item span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(27, 34, 48, 0.08);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.8);
  color: rgba(23, 23, 23, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.stat-cloud-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.stat-cloud-item:nth-child(3n) p {
  font-size: 17px;
}

.stat-cloud-item:nth-child(5n) p {
  font-size: 14px;
}

.stat-bar-row {
  display: grid;
  gap: 8px;
}

.stat-bar-row + .stat-bar-row {
  margin-top: 12px;
}

.stat-bar-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.stat-bar-label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stat-bar-label b {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.stat-bar-track {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.78);
}

.stat-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 234, 79, 0.92), rgba(107, 176, 255, 0.76));
}

.stat-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.stat-trio {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.stat-card-mbti {
  grid-column: 1 / -1;
}

/* 16 型排名：前三放大 + 其余横排一行一行 */
.mbti-rank {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mbti-rank-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mbti-rank-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mbti-rank-hero {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(27, 34, 48, 0.16);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(216, 234, 79, 0.24), rgba(255, 253, 249, 0.92));
}

.mbti-rank-hero-1 {
  border-color: rgba(185, 93, 70, 0.4);
  background: linear-gradient(180deg, rgba(216, 234, 79, 0.5), rgba(255, 253, 249, 0.92));
  box-shadow: 0 10px 26px rgba(53, 42, 33, 0.08);
}

.mbti-rank-medal {
  font-size: 15px;
  line-height: 1;
}

.mbti-rank-type {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.mbti-rank-hero-1 .mbti-rank-type {
  font-size: clamp(24px, 2vw, 32px);
}

.mbti-rank-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.mbti-rank-count i {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 800;
}

.mbti-rank-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mbti-rank-row {
  display: grid;
  grid-template-columns: 22px 52px minmax(40px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.mbti-rank-no {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.mbti-rank-row-type {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 900;
}

.mbti-rank-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(27, 34, 48, 0.07);
}

.mbti-rank-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 234, 79, 0.92), rgba(107, 176, 255, 0.72));
}

.mbti-rank-row-num {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.mbti-rank-row-num i {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
}

/* 四轴 + 16型排名 左右两列（vivi 2026-07-04：两块并排，别上下堆） */
.mbti-duo {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 20px 30px;
  align-items: stretch;
  margin-bottom: 16px;
}

.mbti-axes-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  padding-right: 30px;
  border-right: 1px dashed rgba(27, 34, 48, 0.18);
}

.mbti-axes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

@media (max-width: 860px) {
  .mbti-duo {
    grid-template-columns: 1fr;
  }

  .mbti-axes-panel {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(27, 34, 48, 0.18);
  }
}

/* 粗横条：胜方填充亮色、大字压在条内；败方灰底小字。四条撑满左列高度 */
.mbti-bar {
  position: relative;
  flex: 1;
  min-height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.72);
}

.mbti-bar-fill {
  display: flex;
  align-items: center;
  height: 100%;
  min-width: fit-content;
  padding: 0 16px;
  border-radius: 8px 0 0 8px;
  border-right: 2.5px solid rgba(107, 176, 255, 0.55);
  background: linear-gradient(90deg, rgba(216, 234, 79, 0.34), rgba(107, 176, 255, 0.3));
}

.mbti-bar[data-axis="0"] .mbti-bar-fill { border-right-color: rgba(107, 176, 255, 0.6); background: linear-gradient(90deg, rgba(216, 234, 79, 0.36), rgba(107, 176, 255, 0.32)); }
.mbti-bar[data-axis="1"] .mbti-bar-fill { border-right-color: rgba(60, 169, 155, 0.55); background: linear-gradient(90deg, rgba(182, 227, 79, 0.34), rgba(60, 169, 155, 0.28)); }
.mbti-bar[data-axis="2"] .mbti-bar-fill { border-right-color: rgba(239, 122, 92, 0.55); background: linear-gradient(90deg, rgba(246, 211, 74, 0.34), rgba(239, 122, 92, 0.28)); }
.mbti-bar[data-axis="3"] .mbti-bar-fill { border-right-color: rgba(201, 180, 40, 0.55); background: linear-gradient(90deg, rgba(255, 211, 77, 0.36), rgba(216, 234, 79, 0.4)); }

.mbti-bar-major {
  white-space: nowrap;
  font-size: 17px;
  font-weight: 900;
  color: #1c2230;
  letter-spacing: 0.01em;
}

.mbti-bar-major b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 24px;
  font-weight: 900;
  margin-right: 3px;
}

.mbti-bar-major em {
  font-style: normal;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 900;
  margin-left: 6px;
  opacity: 0.7;
}

.mbti-bar-minor {
  position: absolute;
  right: 14px;
  white-space: nowrap;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  color: rgba(45, 38, 38, 0.5);
}

.mbti-temperaments {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(27, 34, 48, 0.18);
}

.mbti-sub-label {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mbti-temp-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
}

.mbti-temp-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(53, 42, 33, 0.07);
}

/* 最多那块：左半整块放大 + 巨型水印字 + 徽标，一眼揪出主力色组 */
.mbti-temp-tile.is-top {
  grid-column: 1;
  grid-row: 1 / span 3;
  border-width: 2px;
  justify-content: center;
  padding: 20px 22px;
}

.mbti-temp-flag {
  align-self: flex-start;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-solid);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mbti-temp-water {
  position: absolute;
  right: -8px;
  bottom: -26px;
  z-index: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 104px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(45, 38, 38, 0.06);
  pointer-events: none;
}

.mbti-temp-tile:not(.is-top) .mbti-temp-water {
  display: none;
}

.mbti-temp-head {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.mbti-temp-tile.is-top .mbti-temp-head {
  font-size: 16px;
}

.mbti-temp-head b {
  margin-right: 4px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 900;
}

.mbti-temp-tile.is-top .mbti-temp-head b {
  font-size: 20px;
}

.mbti-temp-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mbti-temp-num strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.mbti-temp-tile.is-top .mbti-temp-num strong {
  font-size: 72px;
}

.mbti-temp-num i {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.mbti-temp-tile.is-top .mbti-temp-num i {
  font-size: 18px;
}

.mbti-temp-nt {
  border-color: rgba(164, 141, 214, 0.52);
  background: linear-gradient(180deg, rgba(164, 141, 214, 0.3), rgba(255, 253, 249, 0.92));
}

.mbti-temp-nf {
  border-color: rgba(60, 169, 155, 0.5);
  background: linear-gradient(180deg, rgba(60, 169, 155, 0.26), rgba(255, 253, 249, 0.92));
}

.mbti-temp-sj {
  border-color: rgba(107, 176, 255, 0.52);
  background: linear-gradient(180deg, rgba(107, 176, 255, 0.3), rgba(255, 253, 249, 0.92));
}

.mbti-temp-sp {
  border-color: rgba(200, 168, 40, 0.55);
  background: linear-gradient(180deg, rgba(216, 234, 79, 0.46), rgba(255, 253, 249, 0.92));
}

.mbti-temp-stack {
  display: flex;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(27, 34, 48, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.8);
}

.mbti-temp-stack i {
  display: block;
  height: 100%;
}

.mbti-temp-stack .seg-nt {
  background: rgba(164, 141, 214, 0.85);
}

.mbti-temp-stack .seg-nf {
  background: rgba(60, 169, 155, 0.72);
}

.mbti-temp-stack .seg-sj {
  background: rgba(107, 176, 255, 0.8);
}

.mbti-temp-stack .seg-sp {
  background: rgba(216, 234, 79, 0.95);
}

.stat-bar-pct {
  margin-left: 1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mbti-podium {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 14px;
}

.mbti-podium-lead {
  flex: 1.7 1 165px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 20px;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(216, 234, 79, 0.55), rgba(255, 252, 246, 0.5));
}

.mbti-podium-rank {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.mbti-podium-type {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--ink);
}

.mbti-podium-count {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.mbti-podium-count i {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.mbti-podium-item {
  flex: 1 1 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border: 1px solid rgba(27, 34, 48, 0.12);
  border-radius: 10px;
  background: rgba(216, 234, 79, 0.22);
}

.mbti-podium-item b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.mbti-podium-item span {
  color: rgba(23, 23, 23, 0.7);
  font-size: 14px;
  font-weight: 800;
}

.mbti-podium-item span i {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.mbti-normal {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  margin-bottom: 12px;
}

.mbti-normal-item {
  padding: 5px 12px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
  color: rgba(23, 23, 23, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.mbti-normal-item b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 800;
  color: var(--ink);
}

.mbti-tail {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.stat-card-split {
  display: flex;
  flex-direction: column;
}

.stat-card-split .split-stat {
  flex: 1;
  justify-content: center;
}

.split-stat {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split-stat-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.split-stat-cell strong {
  display: block;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 0.9;
}

.split-stat-cell span {
  display: block;
  margin-top: 8px;
  color: rgba(23, 23, 23, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.split-stat-cell-right {
  text-align: right;
}

.split-stat-bar {
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(107, 176, 255, 0.24);
}

.split-stat-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 234, 79, 0.95), rgba(107, 176, 255, 0.82));
}

.split-stat-note {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 700;
}

.agenda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
/* Vol.04 单日赛：只有一个 day 时铺满整行，三个时段（上午/下午/晚上）横排 */
.agenda-grid:has(> .agenda-day:only-child) {
  grid-template-columns: 1fr;
}
.agenda-day:only-child .agenda-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px) {
  .agenda-day:only-child .agenda-slots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .agenda-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== 日程聚焦模式（投屏介绍用）：点 DAY/时段/卡片 → 其余变暗，卡片再放大 ===== */
.agenda-day-head,
.agenda-slot-head,
.agenda-note {
  cursor: pointer;
}

.agenda-day-head,
.agenda-slot,
.agenda-note {
  transition:
    opacity 240ms ease,
    filter 240ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

/* 聚焦开启：默认全部压暗 */
.agenda-focus-active .agenda-day-head,
.agenda-focus-active .agenda-slot {
  opacity: 0.22;
  filter: saturate(0.4);
}

/* 命中目标的整块（天/时段）恢复 */
.agenda-focus-active .agenda-day-head.agenda-focus-target,
.agenda-focus-active .agenda-slot.agenda-focus-target {
  opacity: 1;
  filter: none;
}

/* 单卡聚焦：所在时段块恢复可见，但块内兄弟卡片仍压暗 */
.agenda-focus-active .agenda-slot:has(.agenda-note.agenda-focus-target) {
  opacity: 1;
  filter: none;
}

.agenda-focus-active .agenda-slot:has(.agenda-note.agenda-focus-target) .agenda-note:not(.agenda-focus-target) {
  opacity: 0.22;
  filter: saturate(0.4);
}

.agenda-focus-active .agenda-slot:has(.agenda-note.agenda-focus-target) .agenda-slot-head {
  opacity: 0.35;
}

/* 被点的那张卡：放大 + 抬起 */
.agenda-note.agenda-focus-target {
  position: relative;
  z-index: 5;
  transform: scale(1.06);
  box-shadow: 0 30px 70px rgba(53, 42, 33, 0.22);
}

.agenda-day {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agenda-day-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid rgba(27, 34, 48, 0.18);
}

.agenda-day-head span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border: 1px solid rgba(27, 34, 48, 0.16);
  border-radius: 999px;
  background: rgba(216, 234, 79, 0.4);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.agenda-day-day2 .agenda-day-head span {
  background: rgba(107, 176, 255, 0.3);
}

.agenda-day-head h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.agenda-day-head p {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.agenda-slots {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agenda-slot-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.agenda-slot-icon {
  font-size: 15px;
}

.agenda-slot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-slot-list .agenda-note {
  break-inside: avoid;
  margin-bottom: 0;
}

.intro-note,
.wish-note,
.team-note {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.agenda-note {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.88);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.agenda-note-time {
  padding-top: 2px;
}

.agenda-note-body {
  min-width: 0;
}

.agenda-live-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 2px 9px;
  border: 1px solid rgba(107, 176, 255, 0.55);
  border-radius: 999px;
  background: rgba(107, 176, 255, 0.16);
  color: #2f6fc2;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.agenda-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 2px;
  font-size: 13px;
  font-weight: 900;
  color: #b95d46;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 140ms ease;
}

.agenda-link:hover {
  border-bottom-color: #b95d46;
}

.agenda-note-featured {
  border-color: rgba(185, 93, 70, 0.42);
  background:
    linear-gradient(180deg, rgba(216, 234, 79, 0.22), rgba(255, 252, 246, 0.94));
  box-shadow: 0 12px 32px rgba(185, 93, 70, 0.1);
}

.agenda-note-featured::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #b95d46;
}

.agenda-note-featured .note-time {
  border-color: rgba(185, 93, 70, 0.36);
  background: rgba(216, 234, 79, 0.5);
}

.agenda-note-featured h3 {
  color: #7c3d2b;
}

.note-time {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(27, 34, 48, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.9);
  color: var(--ink);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.agenda-note h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: 0;
}

.agenda-note-body > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.agenda-note p,
.intro-note p,
.wish-note p,
.team-note p {
  overflow-wrap: anywhere;
}

.intro-wall,
.wish-wall {
  columns: 3 320px;
  column-gap: 14px;
}

.intro-note,
.wish-note {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  padding: 18px;
  break-inside: avoid;
  cursor: pointer;
  background: var(--paper);
}

.intro-note:hover,
.intro-note:focus-visible,
.wish-note:hover,
.wish-note:focus-visible,
.team-note:hover,
.team-note:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 28px 74px rgba(27, 34, 48, 0.18);
  transform: translateY(-2px);
}

.intro-note {
  min-height: 212px;
}

.intro-note h3 {
  margin-top: 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.card-id {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 9px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.68);
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chip-row span,
.wish-head strong,
.team-footer span,
.team-footer b,
.team-zone-title span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(27, 34, 48, 0.09);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
}

.wish-note {
  min-height: 188px;
}

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

.wish-head span {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.wish-head strong {
  flex: 0 0 auto;
  background: rgba(216, 234, 79, 0.24);
  color: var(--ink);
}

.wish-note p {
  margin-top: 18px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.people-wall {
  columns: 3 300px;
  column-gap: 14px;
}

.people-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 980px;
  margin-top: 14px;
}

.people-note span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(27, 34, 48, 0.09);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.76);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.people-note .people-note-edit {
  border-color: rgba(185, 93, 70, 0.26);
  background: rgba(239, 122, 92, 0.14);
  color: #b95d46;
  box-shadow: 0 10px 28px rgba(185, 93, 70, 0.12);
}

.people-note .people-note-highlight {
  border-color: rgba(185, 93, 70, 0.48);
  background: linear-gradient(135deg, rgba(255, 241, 118, 0.92), rgba(239, 122, 92, 0.18));
  color: #7b2f1c;
  box-shadow:
    0 0 0 3px rgba(255, 241, 118, 0.24),
    0 12px 30px rgba(185, 93, 70, 0.16);
}

.people-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.7);
}

.people-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.people-filter-label {
  flex-shrink: 0;
  min-width: 48px;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.people-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.people-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(27, 34, 48, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.9);
  color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.people-filter-chip b {
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 900;
}

.people-filter-chip i {
  margin-left: 4px;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.people-filter-chip:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.people-filter-chip.is-active {
  border-color: rgba(27, 34, 48, 0.7);
  background: var(--ink);
  color: var(--paper-solid);
}

.people-filter-chip.is-active i {
  color: rgba(255, 253, 249, 0.75);
}

.people-filter-chip-nt.is-active {
  border-color: rgba(164, 141, 214, 0.9);
  background: rgba(164, 141, 214, 0.9);
  color: #fff;
}

.people-filter-chip-nf.is-active {
  border-color: rgba(60, 169, 155, 0.95);
  background: rgba(60, 169, 155, 0.9);
  color: #fff;
}

.people-filter-chip-sj.is-active {
  border-color: rgba(107, 176, 255, 0.95);
  background: rgba(107, 176, 255, 0.85);
  color: #fff;
}

.people-filter-chip-sp.is-active {
  border-color: rgba(200, 168, 40, 0.95);
  background: rgba(216, 234, 79, 0.95);
  color: #4a3a12;
}

.people-filter-status {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.people-card {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-height: 0;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  break-inside: avoid;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.people-card:hover,
.people-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 28px 74px rgba(27, 34, 48, 0.18);
  transform: translateY(-2px);
}

.people-card[data-temperament="NT"] {
  background:
    linear-gradient(180deg, rgba(164, 141, 214, 0.22), rgba(255, 253, 249, 0.94)),
    var(--paper);
  border-color: rgba(164, 141, 214, 0.42);
}

.people-card[data-temperament="NF"] {
  background:
    linear-gradient(180deg, rgba(60, 169, 155, 0.2), rgba(255, 253, 249, 0.94)),
    var(--paper);
  border-color: rgba(60, 169, 155, 0.42);
}

.people-card[data-temperament="SJ"] {
  background:
    linear-gradient(180deg, rgba(107, 176, 255, 0.22), rgba(255, 253, 249, 0.94)),
    var(--paper);
  border-color: rgba(107, 176, 255, 0.42);
}

.people-card[data-temperament="SP"] {
  background:
    linear-gradient(180deg, rgba(216, 234, 79, 0.36), rgba(255, 253, 249, 0.94)),
    var(--paper);
  border-color: rgba(216, 234, 79, 0.62);
}

.people-card[data-temperament="unknown"] {
  background: var(--paper);
  border-color: var(--line);
}

.people-card[hidden] {
  display: none !important;
}

.people-card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.people-card h3 {
  min-width: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.people-card-topline span,
.people-field span,
.people-tags span {
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.people-card-topline span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(27, 34, 48, 0.09);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.76);
}

.people-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -6px;
}

.people-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(27, 34, 48, 0.09);
  border-radius: 999px;
  background: rgba(216, 234, 79, 0.2);
  color: rgba(23, 23, 23, 0.7);
}

.people-field {
  display: grid;
  gap: 8px;
}

.people-field p {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.people-build-field {
  padding-top: 14px;
  border-top: 1px solid rgba(27, 34, 48, 0.09);
}

.people-team-field {
  position: relative;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.65);
  box-shadow: inset 0 -12px 24px rgba(255, 255, 255, 0.22);
}

.people-team-field span {
  color: var(--ink);
}

.people-team-field p {
  font-size: 16px;
  line-height: 1.5;
}

.people-card[data-temperament="NT"] .people-team-field {
  border-color: rgba(164, 141, 214, 0.55);
  background: rgba(164, 141, 214, 0.28);
}

.people-card[data-temperament="NF"] .people-team-field {
  border-color: rgba(60, 169, 155, 0.55);
  background: rgba(60, 169, 155, 0.22);
}

.people-card[data-temperament="SJ"] .people-team-field {
  border-color: rgba(107, 176, 255, 0.55);
  background: rgba(107, 176, 255, 0.28);
}

.people-card[data-temperament="SP"] .people-team-field {
  border-color: rgba(200, 168, 40, 0.55);
  background: rgba(216, 234, 79, 0.5);
}

.team-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.team-zone {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.team-zone-title {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.team-zone-title h3 {
  min-height: 58px;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: 0;
}

.team-zone-title span {
  justify-self: start;
  background: rgba(216, 234, 79, 0.2);
  color: var(--ink);
}

.team-note-stack {
  display: grid;
  gap: 12px;
}

.team-note {
  min-height: 166px;
  padding: 15px;
  cursor: grab;
  background: var(--paper);
}

.team-note.is-pressing,
.intro-note.is-pressing,
.wish-note.is-pressing,
.people-card.is-pressing {
  border-color: rgba(239, 122, 92, 0.72);
  box-shadow: 0 18px 54px rgba(239, 122, 92, 0.22);
  transform: translateY(1px);
}

.team-need {
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.48;
}

.team-footer {
  display: flex;
  gap: 7px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.team-footer b {
  background: rgba(239, 122, 92, 0.13);
  color: #b95d46;
}

.team-mode-tag {
  background: rgba(107, 176, 255, 0.16) !important;
}

.awards-section {
  padding-bottom: 10px;
}

.award-system {
  display: grid;
  gap: 16px;
}

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

.award-hl-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 234, 79, 0.34), transparent 56%),
    linear-gradient(135deg, rgba(255, 250, 235, 0.96), rgba(255, 252, 246, 0.9));
  box-shadow: var(--shadow-soft);
}

.award-hl-item b {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 900;
  line-height: 1;
  color: #b95d46;
  letter-spacing: -0.01em;
}

.award-hl-item span {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.award-rules {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 14px;
}

.award-rule-group {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(252, 250, 246, 0.78)),
    var(--paper);
  box-shadow: var(--shadow-soft);
}

.award-rule-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: #b95d46;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.award-rule-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #b95d46;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.award-rule-group ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.award-rule-group li {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.award-rule-group li b {
  color: #b95d46;
  font-weight: 900;
}

@media (max-width: 760px) {
  .award-rules { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .award-hl-item { padding: 16px 12px; }
  .award-hl-item b { font-size: clamp(24px, 6.6vw, 30px); letter-spacing: 0; }
  .award-hl-item span { font-size: 12px; }
}

.award-system-note {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid rgba(27, 34, 48, 0.09);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.76);
  color: rgba(23, 23, 23, 0.68);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.award-rule-note {
  border-radius: 8px;
  border-color: rgba(239, 122, 92, 0.22);
  background: rgba(255, 252, 246, 0.9);
  color: rgba(23, 23, 23, 0.76);
}

.award-card-grid {
  display: grid;
  gap: 22px;
}

.award-group {
  display: grid;
  gap: 14px;
}

.award-group-head,
.award-track-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.award-group-kicker {
  margin: 0;
  color: #b95d46;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.award-group-count {
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 600;
}

.award-row {
  display: grid;
  gap: 14px;
}

.award-row-special {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.award-track {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border: 2px solid rgba(42, 37, 37, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(216, 234, 79, 0.26), transparent 48%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(252, 254, 245, 0.92));
  box-shadow: var(--shadow);
}

.award-track[data-track="evolve"] {
  background:
    radial-gradient(circle at 16% 12%, rgba(121, 199, 125, 0.24), transparent 48%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(248, 254, 246, 0.92));
}

.award-podium {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.award-podium li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(27, 34, 48, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.86);
}

.award-podium li.is-first {
  border-color: rgba(185, 93, 70, 0.4);
  background:
    repeating-linear-gradient(-26deg, transparent 0, transparent 22px, rgba(255, 203, 89, 0.16) 22px, rgba(255, 203, 89, 0.16) 30px),
    linear-gradient(135deg, rgba(255, 250, 235, 0.96), rgba(255, 252, 246, 0.9));
  box-shadow: 0 0 0 3px rgba(216, 234, 79, 0.34);
}

.award-rank {
  flex: 0 0 auto;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.award-podium li.is-first .award-rank {
  font-size: 42px;
}

.award-rank-name {
  min-width: 0;
  white-space: nowrap;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.award-podium li.is-first .award-rank-name {
  font-size: 26px;
}

.award-rank-bonus {
  flex: 0 0 auto;
  color: #b95d46;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 40px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -1px;
}

.award-podium li.is-first .award-rank-bonus {
  font-size: 48px;
}

.award-rank-bonus small {
  display: block;
  margin-top: 4px;
  color: rgba(23, 23, 23, 0.5);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: right;
}

.award-card {
  --award-accent: #f2c75c;
  --award-glow-a: rgba(255, 240, 179, 0.72);
  --award-glow-b: rgba(186, 244, 242, 0.56);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 246px;
  padding: 22px;
  border: 2px solid rgba(42, 37, 37, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 16%, var(--award-glow-a), transparent 42%),
    radial-gradient(circle at 88% 24%, var(--award-glow-b), transparent 44%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(252, 254, 245, 0.92));
  box-shadow: var(--shadow);
}

.award-card::before,
.award-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.award-card::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62), transparent 50%),
    repeating-linear-gradient(
      -27deg,
      transparent 0,
      transparent 34px,
      rgba(255, 236, 192, 0.24) 34px,
      rgba(255, 236, 192, 0.24) 42px
    );
}

.award-card::after {
  right: -44px;
  top: 42px;
  width: 146px;
  height: 102px;
  border: 4px solid color-mix(in srgb, var(--award-accent) 54%, transparent);
  border-radius: 999px;
  opacity: 0.56;
  transform: rotate(-24deg);
}

.award-card > *,
.award-lane-copy,
.award-copy {
  position: relative;
  z-index: 1;
}

.award-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
}

.award-lane-kicker {
  margin: 0 0 14px;
  color: #b95d46;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.award-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.award-card[data-tone="grand"] {
  --award-accent: #f2c75c;
  --award-glow-a: rgba(255, 240, 179, 0.72);
  --award-glow-b: rgba(186, 244, 242, 0.58);
  background:
    repeating-linear-gradient(
      -26deg,
      transparent 0,
      transparent 28px,
      rgba(255, 236, 192, 0.46) 28px,
      rgba(255, 236, 192, 0.46) 36px
    ),
    radial-gradient(circle at 20% 16%, var(--award-glow-a), transparent 42%),
    radial-gradient(circle at 88% 24%, var(--award-glow-b), transparent 44%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(252, 254, 245, 0.92));
}

.award-card[data-tone="beauty"] {
  --award-accent: #f2b5ca;
  --award-glow-a: rgba(255, 217, 217, 0.62);
  --award-glow-b: rgba(236, 242, 255, 0.72);
}

.award-card[data-tone="beauty"]::after {
  right: -34px;
  top: 30px;
  width: 134px;
  height: 134px;
  border-color: rgba(255, 210, 203, 0.62);
  border-radius: 999px;
  box-shadow: -72px 122px 0 -48px rgba(255, 217, 132, 0.78);
  transform: rotate(-6deg);
}

.award-card[data-tone="wild"] {
  --award-accent: #cdef68;
  --award-glow-a: rgba(232, 255, 213, 0.66);
  --award-glow-b: rgba(242, 255, 226, 0.72);
}

.award-card[data-tone="wild"]::after {
  right: -22px;
  top: 36px;
  width: 136px;
  height: 118px;
  border-color: rgba(154, 154, 154, 0.52);
  border-radius: 18px;
  border-style: dashed;
  box-shadow: -92px 118px 0 -50px rgba(216, 251, 103, 0.72);
  transform: rotate(-8deg);
}

.award-card[data-tone="creative"] {
  --award-accent: #8e74d6;
  --award-glow-a: rgba(244, 217, 207, 0.7);
  --award-glow-b: rgba(198, 238, 240, 0.68);
}

.award-card[data-tone="creative"]::after {
  right: -22px;
  top: 48px;
  width: 118px;
  height: 118px;
  border: 0;
  border-radius: 999px;
  background: rgba(216, 255, 97, 0.62);
  box-shadow: -82px -24px 0 -42px rgba(156, 122, 233, 0.74);
  transform: rotate(9deg);
}

.award-card[data-tone="evolve"] {
  --award-accent: #79c77d;
  --award-glow-a: rgba(232, 255, 213, 0.68);
  --award-glow-b: rgba(244, 240, 255, 0.72);
}

.award-card[data-tone="evolve"]::after {
  right: -18px;
  top: 42px;
  width: 150px;
  height: 106px;
  border: 0;
  border-radius: 0;
  opacity: 0.72;
  background:
    linear-gradient(#8ad36f, #8ad36f) 0 72px / 54px 16px no-repeat,
    linear-gradient(#8ad36f, #8ad36f) 48px 44px / 54px 16px no-repeat,
    linear-gradient(#8ad36f, #8ad36f) 96px 18px / 56px 16px no-repeat,
    radial-gradient(circle at 50px 40px, transparent 0 54px, rgba(220, 208, 255, 0.72) 56px 60px, transparent 62px);
  transform: rotate(-5deg);
}

.award-card[data-tone="useful"] {
  --award-accent: #6bb0ff;
  --award-glow-a: rgba(207, 231, 255, 0.72);
  --award-glow-b: rgba(214, 240, 255, 0.66);
}

.award-card[data-tone="nova"] {
  --award-accent: #ef9a5c;
  --award-glow-a: rgba(255, 226, 199, 0.72);
  --award-glow-b: rgba(255, 240, 214, 0.66);
}

.award-card[data-tone="tech"] {
  --award-accent: #3ca99b;
  --award-glow-a: rgba(199, 240, 232, 0.72);
  --award-glow-b: rgba(214, 245, 255, 0.62);
}

.award-card[data-tone="biz"] {
  --award-accent: #c9a227;
  --award-glow-a: rgba(255, 238, 184, 0.72);
  --award-glow-b: rgba(232, 245, 206, 0.62);
}

.award-card-sponsor {
  border-style: dashed;
  border-color: rgba(185, 93, 70, 0.42);
}

.award-card-sponsor .award-lane-kicker {
  color: #8a58ff;
}

.award-prize {
  display: block;
  margin-top: auto;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.award-by {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid rgba(27, 34, 48, 0.12);
  border-radius: 999px;
  background: rgba(138, 88, 255, 0.12);
  color: #5a3aa6;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 700;
}

.award-total-note {
  border-color: rgba(185, 93, 70, 0.3);
  background: rgba(216, 234, 79, 0.18);
  color: rgba(23, 23, 23, 0.82);
}

.award-total-note strong {
  color: #b95d46;
  font-size: 1.1em;
}

.award-emoji {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.award-copy,
.award-lane-copy {
  margin: 0;
  color: rgba(23, 23, 23, 0.72);
  font-weight: 800;
  line-height: 1.5;
}

.award-copy {
  font-family: "IBM Plex Mono", "Noto Sans SC", ui-monospace, monospace;
  font-size: 15px;
}

.award-copy {
  margin-top: auto;
}

.award-bonus {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  border: 2px solid rgba(23, 23, 23, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(216, 234, 79, 0.9), rgba(255, 252, 246, 0.86) 64%),
    var(--paper-solid);
  box-shadow: 0 8px 0 rgba(53, 42, 33, 0.1);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.1;
}

.award-bonus strong {
  color: #b95d46;
  font-size: 1.32em;
  line-height: 1;
}

.award-lane-copy {
  margin: 12px 0 18px;
  max-width: 18em;
  font-size: 14px;
}

.sponsor-section {
  padding-bottom: 70px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
}

.sponsor-card {
  position: relative;
  min-height: 420px;
  padding: 34px;
  overflow: hidden;
  border: 3px solid rgba(23, 23, 23, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 18%, rgba(216, 234, 79, 0.2) 0%, rgba(216, 234, 79, 0) 30%),
    radial-gradient(circle at 28% 8%, rgba(239, 122, 92, 0.16) 0%, rgba(239, 122, 92, 0) 28%),
    linear-gradient(145deg, rgba(255, 252, 246, 0.96), rgba(250, 247, 239, 0.9));
  box-shadow: 18px 18px 0 rgba(53, 42, 33, 0.14), var(--shadow);
  color: var(--ink);
  text-decoration: none;
}

.sponsor-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(23, 23, 23, 0.16);
  border-radius: 14px;
  pointer-events: none;
}

.sponsor-card-opendev {
  background:
    radial-gradient(circle at 18% 88%, rgba(216, 234, 79, 0.28) 0%, rgba(216, 234, 79, 0) 30%),
    radial-gradient(circle at 76% 16%, rgba(107, 176, 255, 0.16) 0%, rgba(107, 176, 255, 0) 28%),
    linear-gradient(145deg, rgba(255, 252, 246, 0.96), rgba(255, 241, 238, 0.92));
}

.sponsor-card-eazo {
  background:
    radial-gradient(circle at 86% 14%, rgba(107, 176, 255, 0.18) 0%, rgba(107, 176, 255, 0) 30%),
    radial-gradient(circle at 18% 14%, rgba(216, 234, 79, 0.16) 0%, rgba(216, 234, 79, 0) 26%),
    linear-gradient(145deg, rgba(255, 252, 246, 0.96), rgba(239, 249, 245, 0.9));
}

.sponsor-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 2px solid rgba(23, 23, 23, 0.22);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.78);
  color: var(--ink);
  font-weight: 900;
}

.sponsor-arrow {
  position: absolute;
  top: 34px;
  right: 34px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid rgba(23, 23, 23, 0.22);
  border-radius: 999px;
  background: rgba(216, 234, 79, 0.92);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 30px;
  font-weight: 900;
}

.sponsor-card h3 {
  position: relative;
  z-index: 1;
  max-width: 8ch;
  margin: 44px 0 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 0;
}

.sponsor-card p,
.sponsor-card ul {
  position: relative;
  z-index: 1;
}

.sponsor-card p {
  max-width: 650px;
  margin: 0 0 18px;
  color: rgba(23, 23, 23, 0.72);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.sponsor-code {
  display: inline-flex;
  max-width: none;
  padding: 8px 14px;
  border: 2px solid rgba(23, 23, 23, 0.18);
  border-radius: 14px;
  background: rgba(255, 203, 89, 0.72);
}

.sponsor-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
  color: rgba(23, 23, 23, 0.74);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.52;
}

.team-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(45, 38, 38, 0.36);
  backdrop-filter: blur(10px);
}

.profile-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 244, 186, 0.44), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 34%),
    var(--paper-solid);
  box-shadow: var(--shadow);
}

.profile-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(27, 34, 48, 0.12);
  border-radius: 999px;
  background: rgba(239, 122, 92, 0.14);
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.profile-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(216, 234, 79, 0.22);
  color: var(--ink);
}

.profile-title {
  margin: 18px 58px 12px 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: 0;
}

.profile-gate-desc,
.profile-one-line {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}

.profile-gate-form {
  display: grid;
  gap: 12px;
}

.profile-gate-label {
  color: var(--muted);
}

.profile-gate-input {
  width: 100%;
  min-height: 54px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 252, 246, 0.86);
  color: var(--ink);
  font-size: 22px;
}

.profile-gate-error {
  margin: 0;
  color: #b95d46;
  font-weight: 700;
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-submit,
.profile-cancel {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(27, 34, 48, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(53, 42, 33, 0.08);
  cursor: pointer;
}

.profile-submit {
  border-color: rgba(94, 108, 12, 0.28);
  background: #d8ea4f;
  color: #2d2a23;
  font-weight: 800;
}

.profile-cancel {
  background: rgba(255, 252, 246, 0.82);
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.profile-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(27, 34, 48, 0.09);
  border-radius: 12px;
  background: rgba(255, 252, 246, 0.62);
}

.profile-row dt,
.profile-row dd {
  margin: 0;
}

.profile-row dt {
  color: var(--muted);
  font-weight: 700;
}

.profile-row dd {
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.contact-box {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(27, 34, 48, 0.09);
  border-radius: 14px;
  background: rgba(107, 176, 255, 0.14);
}

.contact-box span,
.contact-box strong {
  display: block;
}

.contact-box strong {
  margin-top: 8px;
  font-size: 26px;
  overflow-wrap: anywhere;
}

@media (max-width: 1240px) {
  .team-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --width: min(100vw - 32px, 1200px);
  }

  .agenda-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .market-topbar {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }

  .market-nav {
    justify-content: flex-start;
  }

  .hero-section {
    min-height: auto;
    padding: 24px;
  }

  .date-sticker {
    width: fit-content;
  }

  .stats-grid,
  .team-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-row-fill {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-trio {
    grid-template-columns: 1fr;
  }

  .mbti-temp-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }

  .stat-cloud-item {
    max-width: min(360px, 100%);
  }

  .people-wall {
    columns: 2 280px;
  }

  .award-row-special {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --width: min(100vw - 24px, 1200px);
  }

  .page-shell {
    padding: 16px 0 42px;
  }

  .market-topbar {
    position: static;
    margin-top: 10px;
  }

  .brand-tag,
  .market-nav a {
    min-height: 44px;
    padding: 0 11px;
    font-size: 11px;
  }

  .hero-section {
    padding: 14px;
    border-radius: 26px;
  }

  .hero-schedule {
    border-radius: 18px;
  }

  .section-block {
    margin-top: 34px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .hero-title-block h1 {
    font-size: clamp(36px, 12vw, 44px);
  }

  .stats-grid,
  .team-board {
    grid-template-columns: 1fr;
  }

  .stat-row-fill {
    grid-template-columns: 1fr;
  }

  .agenda-grid {
    grid-template-columns: 1fr;
  }

  .agenda-slot-list {
    columns: 1;
  }

  .agenda-day-head {
    padding: 2px 0 10px;
  }

  .agenda-day-head h3 {
    font-size: 22px;
  }

  .agenda-day-head p {
    margin-left: 0;
    width: 100%;
  }

  .agenda-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
  }

  .agenda-note-featured::before {
    top: 12px;
    bottom: 12px;
  }

  .stat-trio {
    grid-template-columns: 1fr;
  }

  .mbti-podium-type {
    font-size: 28px;
  }

  .mbti-podium-count {
    font-size: 25px;
  }

  .award-row-special {
    grid-template-columns: 1fr;
  }

  .award-tracks {
    grid-template-columns: 1fr;
  }

  .award-podium li {
    padding: 14px 16px;
    gap: 12px;
  }

  .award-rank-bonus,
  .award-podium li.is-first .award-rank-bonus {
    font-size: 34px;
  }

  .people-wall {
    columns: 1;
  }

  .award-card {
    min-height: auto;
    padding: 22px;
  }

  .award-card-title {
    gap: 12px;
    min-height: 62px;
  }

  .award-card h3 {
    font-size: clamp(18px, 5vw, 22px);
  }

  .award-card[data-tone="creative"]::after,
  .award-card[data-tone="evolve"]::after {
    opacity: 0.34;
  }

  .award-lane-copy {
    font-size: 16px;
  }

  .stat-card-main strong {
    font-size: 82px;
  }

  .stat-cloud-item,
  .stat-cloud-item:nth-child(2n),
  .stat-cloud-item:nth-child(3n) {
    max-width: 100%;
    margin-top: 0;
    transform: none;
  }

  .sponsor-card {
    padding: 24px;
    box-shadow: 10px 10px 0 rgba(53, 42, 33, 0.12), var(--shadow);
  }

  .sponsor-card::before {
    inset: 12px;
  }

  .sponsor-arrow {
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .sponsor-card h3 {
    margin-top: 34px;
    font-size: 48px;
  }

  .sponsor-card p {
    font-size: 17px;
  }

  .sponsor-card ul {
    font-size: 15px;
  }

  .intro-wall,
  .wish-wall {
    columns: 1;
  }

  .agenda-note,
  .intro-note,
  .wish-note,
  .people-card,
  .award-card,
  .team-note {
    box-shadow: var(--shadow-soft);
  }

  .profile-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .profile-title {
    font-size: 30px;
  }

  .profile-row {
    grid-template-columns: 1fr;
  }
}

/* ---- matching rules ---- */
.encore-archive {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 999px;
  background: rgba(216, 234, 79, 0.2);
  color: var(--ink);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.encore-archive:hover {
  background: rgba(216, 234, 79, 0.36);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

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

.encore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(252, 250, 246, 0.78)),
    var(--paper);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
}
.encore-card:nth-child(1) { background: linear-gradient(180deg, rgba(60, 169, 155, 0.13), rgba(252, 250, 246, 0.9)), var(--paper); }
.encore-card:nth-child(2) { background: linear-gradient(180deg, rgba(239, 122, 92, 0.15), rgba(252, 250, 246, 0.9)), var(--paper); }
.encore-card:nth-child(3) { background: linear-gradient(180deg, rgba(107, 176, 255, 0.18), rgba(252, 250, 246, 0.9)), var(--paper); }

.encore-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.encore-card h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0;
}

.encore-card > p {
  margin-top: auto;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.encore-card-link {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.encore-card-link:hover,
.encore-card-link:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(27, 34, 48, 0.16);
  transform: translateY(-2px);
}

.encore-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.86);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .encore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .encore-grid { grid-template-columns: 1fr; }
}

/* ---- acknowledgements ---- */
.thanks-section { padding-bottom: 70px; }

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

.thanks-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 234, 79, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(252, 250, 246, 0.82)),
    var(--paper);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.thanks-card:hover,
a.thanks-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 22px 56px rgba(27, 34, 48, 0.14);
  transform: translateY(-2px);
}

.thanks-card-info {
  background:
    radial-gradient(circle at 18% 12%, rgba(107, 176, 255, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(250, 252, 248, 0.82)),
    var(--paper);
}

.thanks-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid rgba(27, 34, 48, 0.12);
  border-radius: 999px;
  background: rgba(216, 234, 79, 0.22);
  color: var(--ink);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 11px;
  font-weight: 700;
}
.thanks-card-info .thanks-tag { background: rgba(107, 176, 255, 0.18); }

.thanks-card h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.thanks-role {
  color: #b95d46;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.thanks-card ul {
  margin: 4px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.thanks-card-info ul { list-style: none; padding-left: 0; }

.thanks-card li {
  color: rgba(23, 23, 23, 0.78);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

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

/* ═══ 报名→确认 漏斗卡(2026-07-04 加) ═══ */
.stat-card-funnel { justify-content: center; gap: 14px; }
.stat-card-funnel .funnel-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 4px;
}
.stat-card-funnel .funnel-step { display: flex; flex-direction: column; align-items: flex-start; }
.stat-card-funnel .funnel-step strong {
  font-size: 54px;
  line-height: 1;
  font-family: inherit;
}
.stat-card-funnel .funnel-step span { font-size: 13px; opacity: 0.75; margin-top: 4px; }
.stat-card-funnel .funnel-step-hot strong { color: var(--red, #d0442c); font-size: 72px; }
.stat-card-funnel .funnel-arrow { font-size: 30px; font-weight: 900; opacity: 0.55; }
.stat-card-funnel .funnel-split {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 2px dashed rgba(45, 38, 38, 0.25);
}
.stat-card-funnel .funnel-split em {
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

/* ═══ 赛前速报·确认表口径(2026-07-04 加) ═══ */
.pulse-note-line {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12.5px;
}
.pulse-big .pulse-num {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 76px;
  font-weight: 900;
  line-height: 0.9;
}
.pulse-big .pulse-num em {
  font-style: normal;
  font-size: 26px;
  font-weight: 900;
}
.pulse-big .pulse-num.pulse-hot {
  color: var(--red, #d0442c);
}
.pulse-note {
  margin: 12px 0 0;
  color: rgba(23, 23, 23, 0.74);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.pulse-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}
.pulse-quotes em {
  padding: 3px 9px;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.92);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}
.pulse-wide {
  grid-column: 1 / -1;
  min-height: auto;
}
.pulse-wide .pulse-conclusion {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 12px 0 0;
  color: rgba(23, 23, 23, 0.78);
  font-size: 13.5px;
  font-weight: 700;
}

/* 人群画像四色块：一行排完 */
.pulse-persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pulse-persona {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(27, 34, 48, 0.14);
  border-radius: 10px;
}

.pulse-persona-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.pulse-persona-num {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.pulse-persona-num strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.pulse-persona-num i {
  font-style: normal;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.pulse-persona-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(27, 34, 48, 0.08);
}

.pulse-persona-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.pulse-persona-nf {
  border-color: rgba(60, 169, 155, 0.45);
  background: linear-gradient(180deg, rgba(60, 169, 155, 0.16), rgba(255, 253, 249, 0.9));
}
.pulse-persona-nf .pulse-persona-track i { background: rgba(60, 169, 155, 0.85); }

.pulse-persona-nt {
  border-color: rgba(164, 141, 214, 0.45);
  background: linear-gradient(180deg, rgba(164, 141, 214, 0.18), rgba(255, 253, 249, 0.9));
}
.pulse-persona-nt .pulse-persona-track i { background: rgba(164, 141, 214, 0.85); }

.pulse-persona-sj {
  border-color: rgba(107, 176, 255, 0.5);
  background: linear-gradient(180deg, rgba(107, 176, 255, 0.18), rgba(255, 253, 249, 0.9));
}
.pulse-persona-sj .pulse-persona-track i { background: rgba(107, 176, 255, 0.85); }

.pulse-persona-sp {
  border-color: rgba(200, 168, 40, 0.5);
  background: linear-gradient(180deg, rgba(216, 234, 79, 0.32), rgba(255, 253, 249, 0.9));
}
.pulse-persona-sp .pulse-persona-track i { background: rgba(216, 234, 79, 0.95); }

@media (max-width: 900px) {
  .pulse-persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pulse-persona-name {
    white-space: normal;
  }
}

/* 极窄屏：卡片可能被 pulse 区的跨列布局挤窄，四色块退化为单列横条 */
@media (max-width: 640px) {
  #pulse .stat-card {
    grid-column: auto !important;
  }
  .pulse-persona-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pulse-persona {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name num"
      "track track";
    align-items: center;
    gap: 6px 10px;
    padding: 10px 14px;
  }
  .pulse-persona-name {
    grid-area: name;
  }
  .pulse-persona-num {
    grid-area: num;
  }
  .pulse-persona-num strong {
    font-size: 26px;
  }
  .pulse-persona-track {
    grid-area: track;
  }
}

/* 今日分享嘉宾板块 */
.speakers-note {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

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

.speaker-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.speaker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.speaker-role {
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #b95d46;
}

.speaker-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
}

.speaker-nf .speaker-badge { background: #3ca99b; }
.speaker-nt .speaker-badge { background: #a48dd6; }

.speaker-name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
}

.speaker-name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 3px solid rgba(185, 93, 70, 0.45);
  transition: border-color 140ms ease;
}

.speaker-name a:hover {
  border-bottom-color: #b95d46;
}

.speaker-name a i {
  font-style: normal;
  font-size: 20px;
  color: #b95d46;
}

.speaker-topic {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: rgba(23, 23, 23, 0.8);
}

.speaker-nf {
  border-color: rgba(60, 169, 155, 0.45);
  background: linear-gradient(180deg, rgba(60, 169, 155, 0.16), rgba(255, 253, 249, 0.92));
}

.speaker-nt {
  border-color: rgba(164, 141, 214, 0.48);
  background: linear-gradient(180deg, rgba(164, 141, 214, 0.18), rgba(255, 253, 249, 0.92));
}

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

/* ═══ 确认表信息上墙(2026-07-04):slogan / 组队徽标 / 撕标签吐槽墙 ═══ */.people-slogan {
  margin: 8px 0 2px;
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.people-teamed {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  white-space: nowrap;
}
.people-teamed-no { background: var(--acid); }
.people-teamed-yes { background: var(--mint); opacity: 0.75; }

.stereo-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.stereo-wall {
  display: grid;
  gap: 18px;
}

/* 每个色组一整块：左侧粗色条 + 该组专属底色，四组一眼分得开 */
.stereo-group {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--stereo-tint, rgba(255, 253, 249, 0.6));
}
.stereo-group::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--stereo-color, var(--line-strong));
}
.stereo-group-nt { --stereo-color: #8a6fc9; --stereo-tint: rgba(164, 141, 214, 0.13); --stereo-ink: #5f47a0; }
.stereo-group-nf { --stereo-color: #2f9d8e; --stereo-tint: rgba(60, 169, 155, 0.12); --stereo-ink: #22766a; }
.stereo-group-sj { --stereo-color: #5a9bf0; --stereo-tint: rgba(107, 176, 255, 0.13); --stereo-ink: #366fc0; }
.stereo-group-sp { --stereo-color: #c2b428; --stereo-tint: rgba(216, 206, 63, 0.16); --stereo-ink: #857a13; }
.stereo-group-unknown { --stereo-color: #9a97a2; --stereo-tint: rgba(27, 34, 48, 0.04); --stereo-ink: #6b6771; }

.stereo-group-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 20px 15px 26px;
  background: color-mix(in srgb, var(--stereo-color) 15%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--stereo-color) 30%, transparent);
}
.stereo-group-head b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--stereo-color);
}
.stereo-group-head span { font-size: 16px; font-weight: 900; color: var(--stereo-ink); }
.stereo-group-head .stereo-group-sub {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 800;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  color: color-mix(in srgb, var(--stereo-ink) 78%, transparent);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--stereo-color) 36%, transparent);
  background: rgba(255, 255, 255, 0.45);
}
.stereo-group-head i {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--stereo-ink);
  font-family: "IBM Plex Mono", monospace;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

/* 组内按 MBTI 分行：左标签牌 + 右侧吐槽卡流式排 */
.stereo-rows {
  display: flex;
  flex-direction: column;
}
.stereo-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 20px 13px 26px;
}
.stereo-row + .stereo-row {
  border-top: 1px dashed color-mix(in srgb, var(--stereo-color) 26%, transparent);
}
/* Vol.04 心愿墙/自画像墙：无类型标签牌，卡片区吃满整行 */
.stereo-row-flat {
  grid-template-columns: minmax(0, 1fr);
}
.stereo-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  align-self: start;
  position: sticky;
  top: 8px;
  padding: 6px 0 7px;
  border-radius: 12px;
  background: var(--stereo-color);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--stereo-color) 40%, transparent);
}
.stereo-type i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.85;
}
.stereo-row-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px 9px;
}
.stereo-card {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 9px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid color-mix(in srgb, var(--stereo-color) 45%, transparent);
  box-shadow: 0 2px 5px rgba(27, 34, 48, 0.05);
}
/* 墙顶"怎么玩"说明条 */
.stereo-howto {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 11px 16px;
  border: 2px dashed rgba(27, 34, 48, 0.28);
  border-radius: 14px;
  background: rgba(216, 234, 79, 0.16);
}
.stereo-howto b { font-size: 14.5px; }
.stereo-howto span { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* 回到顶部浮钮:左下角,避开右下签到浮窗 */
#back-to-top {
  position: fixed;
  left: 14px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 52px;
  height: 52px;
  padding: 6px 0 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.94);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
#back-to-top span {
  font-size: 9.5px;
  font-weight: 800;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  color: var(--muted);
}
#back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover { background: #fffdf6; transform: translateY(-1px); }

/* 好奇心流向开场梗 */
.curio-joke {
  margin: 12px 0 0;
  padding: 12px 16px;
  border: 2px dashed rgba(60, 169, 155, 0.5);
  border-radius: 14px;
  background: rgba(220, 238, 231, 0.5);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.65;
}

/* 长按点赞：蓄力时卡片底部长出色条，满格 +1 弹一下 */
.stereo-card[data-like-key] {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}
.stereo-card[data-like-key]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: calc(var(--charge, 0) * 100%);
  background: var(--stereo-color, #b95d46);
  transition: width 40ms linear;
  pointer-events: none;
}
.stereo-card.is-charging {
  transform: scale(0.985);
}
.stereo-card.is-pulse {
  animation: stereo-like-pop 360ms cubic-bezier(0.24, 1.4, 0.44, 1);
}
.stereo-card.is-liked {
  outline: 2px solid rgba(185, 93, 70, 0.5);
  outline-offset: 1px;
}
@keyframes stereo-like-pop {
  0% { transform: scale(1); }
  38% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.stereo-like {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--stereo-ink, #b95d46);
  white-space: nowrap;
}
.stereo-like.is-mine {
  color: #b9264a;
}
/* 我眼中的我 = 粉色 💗 */
#portrait-wall .stereo-card.is-liked {
  outline-color: rgba(214, 96, 140, 0.55);
}
#portrait-wall .stereo-like.is-mine {
  color: #d6608c;
}

.stereo-card blockquote {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  white-space: pre-line;
}
@media (max-width: 640px) {
  .stereo-group-head { padding: 13px 16px 13px 22px; }
  .stereo-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px 14px 22px;
  }
  .stereo-type {
    position: static;
    flex-direction: row;
    align-self: start;
    gap: 6px;
    padding: 4px 12px;
  }
}

/* 好奇心流向图 */
.curio-rank {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.72);
}
.curio-rank-kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}
.curio-rank-row {
  display: grid;
  grid-template-columns: 22px 64px minmax(140px, 1fr);
  grid-template-areas: "idx chip bar" ". . src";
  align-items: center;
  gap: 4px 10px;
}
.curio-rank-idx {
  grid-area: idx;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.curio-rank-chip {
  grid-area: chip;
  padding: 4px 0;
  border-radius: 7px;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.curio-rank-bar {
  grid-area: bar;
  position: relative;
  display: flex;
  align-items: center;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(27, 34, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.8);
}
.curio-rank-fill {
  position: absolute;
  inset: 0 auto 0 0;
  opacity: 0.4;
  border-radius: inherit;
}
.curio-rank-count {
  position: relative;
  padding-left: 12px;
  font-size: 13px;
  font-weight: 900;
}
.curio-rank-src {
  grid-area: src;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.curio-src {
  padding: 1px 7px;
  border: 1px solid rgba(27, 34, 48, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.9);
  font-family: "IBM Plex Mono", monospace;
}
.curio-src b { color: var(--red, #d0442c); }
.curio-rank-tail {
  margin: 2px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(27, 34, 48, 0.14);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.curio-details { margin-top: 12px; }
.curio-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px dashed rgba(27, 34, 48, 0.24);
  border-radius: 12px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 800;
  user-select: none;
}
.curio-details summary:hover { background: rgba(255, 252, 246, 0.85); }
.curio-details[open] summary { margin-bottom: 10px; }
.curio-details-hint { color: var(--muted); font-size: 12px; font-weight: 700; }
.curio-flow {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.6);
}
.curio-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.curio-svg {
  display: block;
  width: 100%;
  min-width: 620px;
}
.curio-node-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  fill: #fff;
}
.curio-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* 主卡改纯确认口径(去漏斗) */
.stat-card-confirmed .confirmed-split {
  display: flex;
  gap: 16px;
  margin: 6px 0 10px;
}
.stat-card-confirmed .confirmed-split em {
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

/* MBTI 轴百分比小字 */
.mbti-axis-pct {
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 4px;
}

/* ===== 现场签到浮窗 ===== */
.checkin-wrap{position:fixed;top:72px;right:16px;z-index:120;transform:rotate(1.5deg)}
.checkin-wrap[hidden]{display:none}
.checkin-float{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 16px 12px;background:var(--paper-solid);border:2px solid var(--ink);border-radius:14px;box-shadow:3px 4px 0 rgba(45,38,38,.22);text-decoration:none;color:var(--ink);transition:transform 140ms ease,box-shadow 140ms ease}
.checkin-float:hover,.checkin-float:focus-visible{transform:translateY(-2px);box-shadow:4px 6px 0 rgba(45,38,38,.26)}
.checkin-close{position:absolute;top:-10px;right:-10px;z-index:1;width:26px;height:26px;display:flex;align-items:center;justify-content:center;padding:0;border:2px solid var(--ink);border-radius:999px;background:var(--paper-solid);color:var(--ink);font-size:18px;font-weight:700;line-height:1;cursor:pointer;box-shadow:2px 2px 0 rgba(45,38,38,.22)}
.checkin-close:hover,.checkin-close:focus-visible{background:var(--ink);color:var(--paper-solid)}
.checkin-head{font-family:"IBM Plex Mono","Noto Sans SC",monospace;font-size:18px;font-weight:700;letter-spacing:.12em}
.checkin-qr{display:block;width:192px;height:192px;border-radius:8px;border:1px solid rgba(45,38,38,.25);background:#fff}
.checkin-tip{font-size:13px;color:rgba(45,38,38,.62);letter-spacing:.06em}
@media (max-width:720px){
  .checkin-wrap{top:auto;bottom:16px;right:12px;transform:none}
  .checkin-float{flex-direction:row;gap:8px;padding:8px 12px;border-radius:999px}
  .checkin-qr{width:40px;height:40px}
  .checkin-tip{display:none}
  .checkin-head{font-size:13px}
}
