#entryView.team-panel {
  border: 1px dashed #141414;
  border-radius: 0;
  background:
    linear-gradient(135deg, #090909 25%, #1a1a1a 25%, #1a1a1a 50%, #090909 50%, #090909 75%, #1a1a1a 75%, #1a1a1a) top / 40px 45px repeat-x,
    linear-gradient(#ffffff, #ffffff) 0 45px / 100% calc(100% - 45px) no-repeat;
  background-color: #141414;
  box-shadow: rgba(142, 142, 142, 0.05) 0 30px 30px -10px;
}

#entryView.team-panel::before {
  display: block;
  background: #ffffff;
}

#roomView.team-panel,
#quizView.team-panel,
#resultView.team-panel {
  background:
    linear-gradient(135deg, #090909 25%, #1a1a1a 25%, #1a1a1a 50%, #090909 50%, #090909 75%, #1a1a1a 75%, #1a1a1a) top / 40px 45px repeat-x,
    linear-gradient(#ffffff, #ffffff) 0 45px / 100% calc(100% - 45px) no-repeat;
  background-color: #141414;
}

#resultView.team-panel {
  border-color: #101010;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.07) 75%, transparent 75%, transparent) top / 34px 34px repeat,
    #050505;
  color: #f4f4f4;
}

#roomView.team-panel::before,
#quizView.team-panel::before,
#resultView.team-panel::before {
  background: #ffffff;
}

#resultView.team-panel::before {
  background: #050505;
}

#resultView #profileView {
  display: grid;
  gap: 14px;
  width: 100%;
}

#resultView .team-private-card {
  display: block;
  width: 100%;
  max-width: none;
}

#resultView .team-private-card > #profileView {
  grid-column: auto;
}

#resultView #profileView .profile-card.portrait-result-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

#resultView .team-pair-result-card .phase-portrait-card {
  min-height: 0;
}

#profileView .team-pair-result-card.portrait-result-card > .phase-portrait-card,
#profileView .team-pair-result-card.portrait-result-card > .portrait-card-copy {
  width: 100%;
  max-width: 640px;
}

#resultView .team-pair-result-card .phase-portrait-content {
  min-height: 500px;
}

#resultView .team-profile-duo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 28px 70px;
  box-sizing: border-box;
}

#resultView .team-profile-duo-body .team-fit-portrait-card {
  aspect-ratio: 3 / 4;
  border: 0;
  background: #020202;
  box-shadow:
    0 0 0 0.35em #000,
    0 0 0 0.7em #fff,
    0 0 0 1.05em #000;
}

#resultView .team-profile-duo-score {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 82px;
  min-height: 82px;
  border: 1px solid #8ed500;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  text-align: center;
  box-shadow: 0 0 18px rgba(142, 213, 0, 0.28);
}

#resultView .team-profile-duo-score span,
#resultView .team-profile-duo-score em {
  color: #8ed500;
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 900;
}

#resultView .team-profile-duo-score strong {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

#resultView .persona-resource-bias {
  display: grid;
  gap: 4px;
  min-width: 96px;
  border: 1px solid rgba(175, 255, 255, 0.24);
  background: rgba(245, 255, 255, 0.06);
  padding: 10px;
}

#resultView .persona-resource-bias span,
#resultView .persona-resource-bias small {
  color: #afffff;
  font-size: 0.625rem;
  font-weight: 900;
}

#resultView .persona-resource-bias strong {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

#resultView .team-pair-dimension-graph {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#resultView .persona-skill-loadout {
  display: grid;
}

#resultView .persona-skill-node {
  border: 1px dashed rgba(175, 255, 255, 0.22);
  background: rgba(8, 3, 18, 0.48);
}

#resultView .persona-skill-node p {
  margin: 0;
  color: #d8f7fb;
  font-size: 0.6875rem;
  line-height: 1.55;
}

#resultView .persona-skill-node span {
  color: #afffff;
}

#resultView .team-pair-dimension-node .team-fit-meter {
  margin-top: 6px;
}

#resultView .team-fit-bridge,
#resultView .team-fit-link-state,
#resultView .team-fit-advice {
  border: 1px dashed rgba(175, 255, 255, 0.28);
  background: rgba(245, 255, 255, 0.06);
  padding: 12px;
}

#resultView .team-pair-readable-view {
  width: min(100%, 760px);
  max-width: 760px;
  min-width: 0;
  margin: 0 auto;
  gap: 16px;
  box-sizing: border-box;
}

#resultView .team-pair-readable-view *,
#resultView .team-pair-readable-view *::before,
#resultView .team-pair-readable-view *::after {
  box-sizing: border-box;
}

#resultView .team-pair-readable-view .profile-card.portrait-result-card,
#resultView .team-pair-readable-view .profile-readable-panel,
#resultView .team-pair-readable-view .member-claim-panel {
  width: 100%;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

#resultView .team-pair-readable-view .team-pair-result-card {
  min-width: 0;
  overflow: hidden;
}

#resultView .team-pair-readable-view .team-readable-panel,
#resultView .team-pair-readable-view .member-claim-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(183, 247, 255, 0.18);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.055) 50%, rgba(255, 255, 255, 0.055) 75%, transparent 75%, transparent) top / 34px 34px repeat-x,
    linear-gradient(#080b10, #080b10) 0 34px / 100% calc(100% - 34px) no-repeat;
  color: #f4f4f4;
  padding: 54px clamp(16px, 4vw, 30px) clamp(18px, 4vw, 28px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#resultView .team-pair-readable-view .team-readable-panel::before,
#resultView .team-pair-readable-view .member-claim-panel::before {
  background: #080b10;
}

#resultView .team-pair-readable-view .team-readable-panel .scene-tag,
#resultView .team-pair-readable-view .member-claim-panel .scene-tag {
  position: absolute;
  top: 9px;
  left: 14px;
  z-index: 2;
  margin: 0;
  color: #b7ff54;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0;
}

#resultView .team-pair-readable-view .profile-readable-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  line-height: 1.18;
}

#resultView .team-pair-readable-view .profile-narrative {
  display: grid;
  gap: 10px;
}

#resultView .team-pair-readable-view .profile-narrative p,
#resultView .team-pair-readable-view .share-intro,
#resultView .team-pair-readable-view .confirmation-detail dd {
  color: #d8f7fb;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.75;
}

#resultView .team-pair-readable-view .persona-skill-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

#resultView .team-pair-readable-view .persona-resource-bias {
  min-width: 118px;
  border: 1px solid rgba(183, 255, 84, 0.36);
  border-radius: 0;
  background: rgba(183, 255, 84, 0.08);
}

#resultView .team-pair-readable-view .persona-skill-loadout,
#resultView .team-pair-readable-view .team-pair-dimension-graph,
#resultView .team-pair-readable-view .profile-pressure-grid,
#resultView .team-pair-readable-view .persona-skill-evidence-list,
#resultView .team-pair-readable-view .confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

#resultView .team-pair-readable-view .team-pair-dimension-graph {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#resultView .team-pair-readable-view .persona-skill-detail,
#resultView .team-pair-readable-view .confirmation-detail {
  margin-top: 14px;
}

#resultView .team-pair-readable-view .persona-skill-node,
#resultView .team-pair-readable-view .profile-pressure-grid > div,
#resultView .team-pair-readable-view .persona-skill-evidence-card,
#resultView .team-pair-readable-view .confirmation-grid > div,
#resultView .team-pair-readable-view .confirmation-detail > div {
  min-width: 0;
  border: 1px solid rgba(183, 247, 255, 0.2);
  border-radius: 0;
  background: rgba(245, 255, 255, 0.065);
  padding: 13px 14px;
  color: #f4f4f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#resultView .team-pair-readable-view .persona-skill-node strong,
#resultView .team-pair-readable-view .profile-pressure-grid strong,
#resultView .team-pair-readable-view .persona-skill-evidence-card strong,
#resultView .team-pair-readable-view .confirmation-grid strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
}

#resultView .team-pair-readable-view .persona-skill-node span,
#resultView .team-pair-readable-view .profile-pressure-grid span,
#resultView .team-pair-readable-view .persona-skill-evidence-card span,
#resultView .team-pair-readable-view .confirmation-grid span,
#resultView .team-pair-readable-view .confirmation-detail dt {
  color: #00f5ff;
  font-size: 0.6875rem;
  font-weight: 900;
  line-height: 1.35;
}

#resultView .team-pair-readable-view .persona-skill-node p,
#resultView .team-pair-readable-view .persona-skill-node small,
#resultView .team-pair-readable-view .profile-pressure-grid p,
#resultView .team-pair-readable-view .persona-skill-evidence-card p,
#resultView .team-pair-readable-view .confirmation-grid p {
  margin: 6px 0 0;
  color: #d8f7fb;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.65;
}

#resultView .team-pair-readable-view .team-fit-bridge,
#resultView .team-pair-readable-view .team-fit-link-state,
#resultView .team-pair-readable-view .team-fit-advice {
  margin-top: 14px;
  border: 1px solid rgba(183, 247, 255, 0.22);
  background: rgba(2, 26, 25, 0.72);
}

#resultView .team-pair-readable-view .team-fit-advice ol {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
}

#resultView .team-v3-corpus-report .mbti-pk-shell {
  display: grid;
  gap: 20px;
}

#resultView .team-v3-corpus-stage,
#resultView .team-v3-corpus-section {
  margin: 0;
}

#resultView .team-v3-corpus-stage {
  display: grid;
  gap: 16px;
}

#resultView .team-v3-corpus-stage .mbti-pk-social-hero {
  margin-bottom: 2px;
}

#resultView .team-v3-corpus-stage .mbti-pk-social-hero p {
  color: #f4f4f5;
  font-size: 0.62rem;
  font-weight: 300;
  line-height: 1.82;
}

#resultView .team-v3-corpus-perspective-lines {
  margin-bottom: 0;
}

#resultView .team-v3-corpus-profile-grid {
  gap: 14px;
}

#resultView .team-v3-corpus-profile-card {
  padding-top: 20px;
}

#resultView .team-v3-corpus-profile-card .mbti-pk-avatar-wrap {
  width: 96px;
  height: 118px;
  margin-bottom: 2px;
}

#resultView .team-v3-corpus-profile-card .mbti-pk-avatar-wrap img {
  width: 96px;
  height: 118px;
  border-style: solid;
}

#resultView .team-v3-corpus-profile-card .mbti-pk-avatar-wrap::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -13px;
  width: 76px;
  height: 22px;
  border-radius: 999px;
  filter: blur(3px);
  transform: translateX(-50%);
}


#resultView .team-v3-corpus-avatar-pedestal {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -14px;
  display: block;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  filter: blur(4px);
  transform: translateX(-50%);
}



#resultView .team-v3-corpus-card-line {
  display: -webkit-box;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  color: #d4d4d8;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#resultView .team-v3-corpus-score {
  margin-top: 2px;
}

#resultView .team-v3-corpus-score .mbti-pk-score-left h3 {
  overflow-wrap: anywhere;
}

#resultView .team-v3-corpus-score .team-v3-ladder-copy {
  width: 100%;
}

#resultView .team-v3-corpus-stage-verdict {
  margin: 0;
  border-color: rgba(249, 115, 22, 0.24);
  background: rgba(124, 45, 18, 0.16);
}

#resultView .team-v3-corpus-stage-verdict p {
  color: #ffd1a6;
  font-size: 0.62rem;
  line-height: 1.7;
}

#resultView .team-v3-corpus-stage-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#resultView .team-v3-corpus-stage-meta article {
  display: grid;
  min-width: 0;
  gap: 6px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 5px;
  background: rgba(19, 78, 74, 0.1);
  padding: 13px 14px;
}

#resultView .team-v3-corpus-stage-meta span,
#resultView .team-v3-corpus-stage-meta strong,
#resultView .team-v3-corpus-rule p {
  margin: 0;
  overflow-wrap: anywhere;
}

#resultView .team-v3-corpus-stage-meta span {
  color: #5eead4;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.35;
}

#resultView .team-v3-corpus-stage-meta strong {
  color: #f4f4f5;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
}

#resultView .team-v3-corpus-side-grid {
  margin-top: 0;
}

#resultView .team-v3-corpus-side-card[data-active="1"] {
  border-color: rgba(20, 184, 166, 0.42);
  background: rgba(19, 78, 74, 0.18);
}

#resultView .team-v3-corpus-side-card[data-active="0"] {
  border-color: rgba(225, 29, 72, 0.3);
  background: rgba(136, 19, 55, 0.12);
}

#resultView .team-v3-corpus-rule {
  margin: 0;
}

#resultView .team-v3-corpus-rule p {
  color: #b7ff54;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.6;
}

#resultView .team-v3-corpus-list {
  display: grid;
  gap: 16px;
}

#resultView .team-v3-corpus-topic-panel {
  margin: 0;
}

#resultView .team-v3-corpus-topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#resultView .team-v3-corpus-topic-card {
  min-width: 0;
}

#resultView .team-v3-corpus-topic-card .mbti-pk-topic-atom-title {
  white-space: normal;
}

#resultView .team-v3-corpus-topic-card p.mbti-pk-full-line {
  color: rgba(245, 255, 255, 0.88);
  font-size: 0.62rem;
  font-weight: 300;
}

#resultView .team-v3-corpus-topic-relation-panel {
  margin: 0;
}

#resultView .team-v3-topic-relation-card {
}

#resultView .team-v3-topic-relation-card > span {
  color: #5eead4;
}

#resultView .team-v3-topic-relation-copy {
  margin: 0;
  color: #f4f4f5;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 360;padding-top: 10px;
}

#resultView .team-v3-topic-relation-copy b {
  color: #04ffff;
  font-weight: 400;
}

#resultView .team-v3-baseline-star-panel {
  margin: 0;
  border-color: rgba(94, 234, 212, 0.04);
}

#resultView .team-v3-baseline-star {
  display: grid;
  gap: 12px;
  min-width: 0;
}

#resultView .team-v3-baseline-map {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 5px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    #070a0f;
  overflow: hidden;
}

#resultView .team-v3-baseline-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#resultView .team-v3-baseline-lines path {
  fill: none;
  stroke: rgba(148, 163, 184, 0.26);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 9;
  transition: stroke 0.18s ease, stroke-width 0.18s ease, opacity 0.18s ease;
}

#resultView .team-v3-baseline-lines path.active,
#resultView .team-v3-baseline-lines path.hover {
  stroke: #b7ff54;
  stroke-width: 3;
  animation: team-v3-baseline-line-flow 1.8s linear infinite;
}

#resultView .team-v3-baseline-anchor,
#resultView .team-v3-baseline-center,
#resultView .team-v3-baseline-node,
#resultView .team-v3-baseline-switcher button {
  font: inherit;
}

#resultView .team-v3-baseline-anchor,
#resultView .team-v3-baseline-center,
#resultView .team-v3-baseline-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px dashed  rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  background: rgba(9, 12, 18, 0.88);
  color: #f8fafc;
  padding: 9px 10px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

#resultView .team-v3-baseline-anchor {
  cursor: default;
  pointer-events: none;
}

#resultView .team-v3-baseline-anchor:hover,
#resultView .team-v3-baseline-center:hover,
#resultView .team-v3-baseline-node:hover,
#resultView .team-v3-baseline-anchor:focus-visible,
#resultView .team-v3-baseline-center:focus-visible,
#resultView .team-v3-baseline-node:focus-visible,
#resultView .team-v3-baseline-anchor.active,
#resultView .team-v3-baseline-center.active,
#resultView .team-v3-baseline-node.active {
  border-color: var(--node-color, #5eead4);
  background: rgba(15, 23, 42, 0.96);
  transform: translateY(-2px);
  outline: none;
}

#resultView .team-v3-baseline-anchor span,
#resultView .team-v3-baseline-center span,
#resultView .team-v3-baseline-node span {
  color: var(--node-color, #5eead4);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

#resultView .team-v3-baseline-center span {
  color: #faffd6;
  font-size: 0.72rem;
  line-height: 1.2;
}

#resultView .team-v3-baseline-anchor strong,
#resultView .team-v3-baseline-center strong,
#resultView .team-v3-baseline-node strong {
  max-width: 120px;
  color: #ffffff;
  overflow-wrap: anywhere;
  font-size: 0.55rem;
  font-weight: 300;
  line-height: 1.5;padding-top: 3px;
}

#resultView .team-v3-baseline-anchor-left {
  --node-color: #5eead4;
  left: 11%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#resultView .team-v3-baseline-anchor-right {
  --node-color: #fb7185;
  left: 89%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#resultView .team-v3-baseline-center {
  --node-color: #b7ff54;
  left: 50%;
  top: 50%;
  border-color: rgba(183, 255, 84, 0.34);
  transform: translate(-50%, -50%);
}

#resultView .team-v3-baseline-center:hover,
#resultView .team-v3-baseline-center:focus-visible,
#resultView .team-v3-baseline-center.active {
  transform: translate(-50%, calc(-50% - 2px));
}

#resultView .team-v3-baseline-node[data-tone="teal"] { --node-color: #5eead4; }
#resultView .team-v3-baseline-node[data-tone="lime"] { --node-color: #b7ff54; }
#resultView .team-v3-baseline-node[data-tone="amber"] { --node-color: #fbbf24; }
#resultView .team-v3-baseline-node[data-tone="rose"] { --node-color: #fb7185; }

#resultView .team-v3-baseline-node-shared {
  left: 27%;
  top: 18%;
  transform: translate(-50%, -50%);
}

#resultView .team-v3-baseline-node-complement {
  left: 73%;
  top: 18%;
  transform: translate(-50%, -50%);
}

#resultView .team-v3-baseline-node-pressure {
  left: 27%;
  top: 82%;
  transform: translate(-50%, -50%);
}

#resultView .team-v3-baseline-node-protocol {
  left: 73%;
  top: 82%;
  transform: translate(-50%, -50%);
}

#resultView .team-v3-baseline-node:hover,
#resultView .team-v3-baseline-node:focus-visible,
#resultView .team-v3-baseline-node.active,
#resultView .team-v3-baseline-anchor-left:hover,
#resultView .team-v3-baseline-anchor-left:focus-visible,
#resultView .team-v3-baseline-anchor-left.active,
#resultView .team-v3-baseline-anchor-right:hover,
#resultView .team-v3-baseline-anchor-right:focus-visible,
#resultView .team-v3-baseline-anchor-right.active {
  transform: translate(-50%, calc(-50% - 2px));
}

#resultView .team-v3-baseline-detail-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#resultView .team-v3-baseline-star.is-bound .team-v3-baseline-detail-stack {
  grid-template-columns: minmax(0, 1fr);
}

#resultView .team-v3-baseline-detail[hidden] {
  display: none !important;
}

#resultView .team-v3-baseline-detail {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px dashed  rgba(94, 234, 212, 0.1);
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.16);
  padding: 14px 15px;
}

#resultView .team-v3-baseline-detail > span {
  width: fit-content;
  border: 1px dashed rgba(94, 234, 212, 0.42);
  border-radius: 4px;
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
  padding: 5px 9px;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.2;
}

#resultView .team-v3-baseline-detail h3 {
  margin: 0;
  color: #ecff09;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

#resultView .team-v3-baseline-detail p {
  display: block;
  margin: 0;
  color: #f4b47d;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.75;
}

#resultView .team-v3-baseline-detail p b {
  color: #ffffff;
  font-weight: 900;
}

#resultView .team-v3-baseline-detail em {
  display: block;
  border-left: 3px solid rgba(183, 255, 84, 0.72);
  border-radius: 6px;
  background: rgba(183, 255, 84, 0.08);
  color: #f8fafc;
  padding: 9px 10px;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.65;
}

#resultView .team-v3-baseline-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#resultView .team-v3-baseline-switcher button {
  min-height: 34px;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 7px;
  background: rgba(20, 184, 166, 0.12);
  color: #ccfbf1;
  cursor: pointer;
  padding: 8px 11px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

#resultView .team-v3-baseline-switcher button.active,
#resultView .team-v3-baseline-switcher button:focus-visible {
  border-color: rgba(183, 255, 84, 0.72);
  background: rgba(183, 255, 84, 0.16);
  color: #ffffff;
  outline: none;
}

@keyframes team-v3-baseline-line-flow {
  to {
    stroke-dashoffset: -34;
  }
}

#resultView .team-v3-corpus-section .mbti-pk-details-summary {
  align-items: flex-start;
}

#resultView .team-v3-corpus-topic-panel {
  --team-v3-section-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M128%2C24A104%2C104%2C0%2C1%2C0%2C232%2C128%2C104.11%2C104.11%2C0%2C0%2C0%2C128%2C24ZM40%2C128a88.1%2C88.1%2C0%2C0%2C1%2C88-88V216A88.1%2C88.1%2C0%2C0%2C1%2C40%2C128Z%22%2F%3E%3C%2Fsvg%3E");
}

#resultView .team-v3-corpus-topic-relation-panel {
  --team-v3-section-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M208%2C32H48A16%2C16%2C0%2C0%2C0%2C32%2C48V208a16%2C16%2C0%2C0%2C0%2C16%2C16H208a16%2C16%2C0%2C0%2C0%2C16-16V48A16%2C16%2C0%2C0%2C0%2C208%2C32Zm0%2C176H128V128H48V48h80v80h80v80Z%22%2F%3E%3C%2Fsvg%3E");
}

#resultView .team-v3-baseline-star-panel {
  --team-v3-section-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M231.19%2C195.51A8%2C8%2C0%2C0%2C1%2C224%2C200H136v40a8%2C8%2C0%2C0%2C1-16%2C0V200H32a8%2C8%2C0%2C0%2C1-6.31-12.91l46-59.09H48a8%2C8%2C0%2C0%2C1-6.34-12.88l80-104a8%2C8%2C0%2C0%2C1%2C12.68%2C0l80%2C104A8%2C8%2C0%2C0%2C1%2C208%2C128H184.36l45.95%2C59.09A8%2C8%2C0%2C0%2C1%2C231.19%2C195.51Z%22%2F%3E%3C%2Fsvg%3E");
}

#resultView .team-v3-corpus-section[data-field-key="shadowAwakening"] {
  --team-v3-section-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M213.85%2C125.46l-112%2C120a8%2C8%2C0%2C0%2C1-13.69-7l14.66-73.33L45.19%2C143.49a8%2C8%2C0%2C0%2C1-3-13l112-120a8%2C8%2C0%2C0%2C1%2C13.69%2C7L153.18%2C90.9l57.63%2C21.61a8%2C8%2C0%2C0%2C1%2C3%2C12.95Z%22%2F%3E%3C%2Fsvg%3E");
}

#resultView .team-v3-corpus-section[data-field-key="caution"] {
  --team-v3-section-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M201.21%2C128%2C231%2C76A8%2C8%2C0%2C0%2C0%2C224%2C64H164.65L135%2C12a8%2C8%2C0%2C0%2C0-13.9%2C0L91.33%2C64H32a8%2C8%2C0%2C0%2C0-6.95%2C12l29.72%2C52L25.05%2C180a8%2C8%2C0%2C0%2C0%2C7%2C12H91.33l29.72%2C52a8%2C8%2C0%2C0%2C0%2C13.9%2C0l29.7-52H224A8%2C8%2C0%2C0%2C0%2C231%2C180Zm-18.42%2C0-27.42%2C48-54.75%2C0L73.2%2C128l27.42-48%2C54.75%2C0Z%22%2F%3E%3C%2Fsvg%3E");
}

#resultView .team-v3-corpus-section[data-field-key="longTermRisk"] {
  --team-v3-section-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M216%2C32H152a8%2C8%2C0%2C0%2C0-6.34%2C3.12l-64%2C83.21L72%2C108.69a16%2C16%2C0%2C0%2C0-22.64%2C0l-12.69%2C12.7a16%2C16%2C0%2C0%2C0%2C0%2C22.63l20%2C20-28%2C28a16%2C16%2C0%2C0%2C0%2C0%2C22.63l12.69%2C12.68a16%2C16%2C0%2C0%2C0%2C22.62%2C0l28-28%2C20%2C20a16%2C16%2C0%2C0%2C0%2C22.64%2C0l12.69-12.7a16%2C16%2C0%2C0%2C0%2C0-22.63l-9.64-9.64%2C83.21-64A8%2C8%2C0%2C0%2C0%2C224%2C104V40A8%2C8%2C0%2C0%2C0%2C216%2C32ZM52.69%2C216%2C40%2C203.32l28-28L80.68%2C188Zm70.61-8L48%2C132.71%2C60.7%2C120%2C136%2C195.31ZM208%2C100.06l-81.74%2C62.88L115.32%2C152l50.34-50.34a8%2C8%2C0%2C0%2C0-11.32-11.31L104%2C140.68%2C93.07%2C129.74%2C155.94%2C48H208Z%22%2F%3E%3C%2Fsvg%3E");
}

#resultView .team-v3-corpus-topic-panel > .mbti-pk-details-summary,
#resultView .team-v3-corpus-topic-relation-panel > .mbti-pk-details-summary,
#resultView .team-v3-baseline-star-panel > .mbti-pk-details-summary,
#resultView .team-v3-corpus-section > .mbti-pk-details-summary {
  justify-content: flex-start;
}

#resultView .team-v3-corpus-topic-panel > .mbti-pk-details-summary > span,
#resultView .team-v3-corpus-topic-relation-panel > .mbti-pk-details-summary > span,
#resultView .team-v3-baseline-star-panel > .mbti-pk-details-summary > span,
#resultView .team-v3-corpus-section > .mbti-pk-details-summary > span {
  margin-right: auto;
}

#resultView .team-v3-corpus-topic-panel > .mbti-pk-details-summary::before,
#resultView .team-v3-corpus-topic-relation-panel > .mbti-pk-details-summary::before,
#resultView .team-v3-baseline-star-panel > .mbti-pk-details-summary::before,
#resultView .team-v3-corpus-section > .mbti-pk-details-summary::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  align-self: center;
  background: #dfff00;
  opacity: 0.92;
  -webkit-mask: var(--team-v3-section-icon) center / contain no-repeat;
  mask: var(--team-v3-section-icon) center / contain no-repeat;
}

#resultView .team-v3-corpus-section[open] .mbti-pk-details-summary {
  margin-bottom: 14px;
}

#resultView .team-v3-corpus-triptych {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

#resultView .team-v3-corpus-triptych.team-v3-corpus-single-side {
  grid-template-columns: 1fr;
}

#resultView .team-v3-corpus-text-card {
  display: grid;
  min-width: 0;
  gap: 12px;
}

#resultView .team-v3-corpus-text-card[data-side="raw"] {
  grid-column: 1 / -1;
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(113, 63, 18, 0.14);
}

#resultView .team-v3-corpus-text-card[data-active="1"] {
border-color: rgba(187, 11, 94, 0.24);
background: #000;
padding-top: 15px;

}

#resultView .team-v3-corpus-text-card[data-active="0"] {
  border-color: rgba(225, 29, 72, 0.28);
  background: rgba(136, 19, 55, 0.12);
}

#resultView .team-v3-boundary-text-card {
  display: grid;
  min-width: 0;
  gap: 15px;
  border: 1px dashed rgba(212, 212, 216, 0.22);
  border-radius: 6px;
  padding: 13px;
}

#resultView .team-v3-boundary-text-card[data-side="raw"] {
  grid-column: 1 / -1;
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(113, 63, 18, 0.14);
}

#resultView .team-v3-boundary-text-card[data-active="1"] {
  border-color: rgba(17, 174, 115, 0.14);
  background: #000;
}

#resultView .team-v3-boundary-text-card[data-active="0"] {
  border-color: rgba(225, 29, 72, 0.28);
  background: rgba(136, 19, 55, 0.12);
}

#resultView .team-v3-corpus-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(245, 255, 255, 0.88);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 300;line-height: 1.7;
}

#resultView .team-v3-corpus-section[data-field-key="caution"] .team-v3-corpus-text {
  color: #f4b47d;
}

#resultView .team-v3-smart-segment-gap {
  display: block;
  height: 10px;
  line-height: 0;
  pointer-events: none;
}

#resultView .team-v3-counterpart-totem {
  margin: 2px 0 0;
  border-color: #000;
  border-radius: 5px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#resultView .team-v3-counterpart-totem-mobile {
  display: none;
}

#resultView .team-v3-counterpart-totem .prototype-antigravity-canvas {
  opacity: 0.76;
}

#resultView .team-v3-counterpart-totem .prototype-totem-caption {
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 8.5%;
  display: grid;
  max-width: 68%;
  color: #5dff00;
  transform: translateY(-50%);
  pointer-events: none;
}

#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-code,
#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-title,
#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-definition {
  display: block;
  color: inherit;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-code,
#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-title {
  line-height: 1.15;
}

#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-code {
  font-size: 2rem;
  font-weight: 950;padding-bottom: 5px;
}

#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-title {
  font-size: 1.35rem;
  font-weight: 900;
}

#resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-definition {
  max-width: 42rem;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.45;
}

#resultView .team-v3-mobile-smart-copy {
  display: none;
}

#resultView .team-v3-baseline-detail .team-v3-mobile-smart-copy {
  display: none;
}

#resultView .team-v3-corpus-footer {
  margin-bottom: 0;
}

body.team-pair-report-mode .grid48-music {
  display: none !important;
}

@media (max-width: 640px) {
	#resultView .team-v3-baseline-detail{padding: 8px;}
  #resultView .team-v3-corpus-stage-meta,
  #resultView .team-v3-corpus-side-grid,
  #resultView .team-v3-corpus-profile-grid,
  #resultView .team-v3-corpus-triptych {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #resultView .team-v3-corpus-profile-card {
    min-height: 0;
  }

  #resultView .team-v3-corpus-stage .mbti-pk-social-hero p,
  #resultView .team-v3-topic-relation-copy,
  #resultView .team-v3-corpus-text {
    font-size: 0.6rem;color: #ccc;
  }

  #resultView .team-v3-counterpart-totem-desktop {
    display: none;
  }

  #resultView .team-v3-counterpart-totem-mobile {
    display: block;
    margin-top: 15px;
  }

  #resultView .team-v3-counterpart-totem-mobile + p {
    margin-top: 15px !important;
  }

  #resultView .team-v3-counterpart-totem .prototype-totem-caption {
    left: 7%;
    gap: 3px;
    max-width: 88%;
  }

  #resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-code {
    font-size: 1.25rem;
  }

  #resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-title {
    margin-top: -5px;
    font-size: 0.85rem;
    line-height: 1.25;
  }

  #resultView .team-v3-counterpart-totem .prototype-totem-caption .prototype-totem-definition {
    display: block;
    margin-top: 6px;
    font-size: 0.5rem;
    line-height: 1.35;
  }
}

#entryView.team-panel .hazard-strip {
  display: none;
}

#entryView.team-panel .scene-tag {
  position: absolute;
  top: 8px;
  left: 15px;
  z-index: 4;
  margin: 0;
  color: #b7ff54;
}

#entryView.team-panel > h2,
#entryView.team-panel > .intro-copy {
  max-width: 640px;
  margin-right: auto;
}

#entryView .team-mode-grid {
  --active-color: #1868e3;
  --inactive-color: #d3d3d6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 340px;
  padding-top: 5px;
  border: 0;
}

#entryView .team-mode-btn {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  max-width: 62px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #5f5d6b;
  padding: 0 14px;
  text-align: center;
  box-shadow: none;
  transition:
    background 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
	  box-shadow:
    0 8px 18px rgba(24, 104, 227, 0.12),
    inset 0 0 0 1px rgba(24, 104, 227, 0.05);
}

#entryView .team-mode-btn.active {
  background: #ffffff;
  color: var(--active-color);
  transform: translateY(-1px);
  box-shadow:
    0 8px 18px rgba(24, 104, 227, 0.22),
    inset 0 0 0 1px rgba(24, 104, 227, 0.12);
}

#entryView .team-mode-btn strong {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

#entryView .team-mode-btn span {
  display: none;
}

#entryView .intro-actions {
  justify-content: center;
}

.team-main-action,
#entryView #createRoomBtn {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: #0bdd12;
  color: #ffffff;
  clip-path: none;
  box-shadow:
    0 0.5px 0.5px #efefef,
    0 1px 0.5px rgba(239, 239, 239, 0.5);font-size: 0.8rem;
}

.team-main-action::before,
.team-main-action::after,
#entryView #createRoomBtn::before,
#entryView #createRoomBtn::after {
  display: none;
}

.team-main-action:hover,
#entryView #createRoomBtn:hover {
  background: #07b90d;
}

.team-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: #0bdd12;
  color: #ffffff;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0.5px 0.5px #efefef,
    0 1px 0.5px rgba(239, 239, 239, 0.5);
}

.team-inline-action:hover:not(:disabled),
.team-inline-action:focus-visible:not(:disabled) {
  background: #07b90d;
  outline: none;
}

.team-inline-action:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.team-copy-action,
.team-copy-action:hover {
  border: 2px solid #07b90d;
  background: #ffffff;
  color: #0bdd12;
}

.team-standalone-error {
  display: grid;
  min-height: 180px;
  align-content: center;
  border: 3px solid var(--ink);
  background: #ffffff;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 28px;
  color: var(--ink);
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.team-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.team-topic-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin: 18px auto 0;
  padding: 4px;
  border-radius: 5px;
  background: #fcfcfc;
}

.team-topic-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #9c1001;
  padding: 0 8px;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 400;
  box-shadow: none;
  cursor: pointer;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    color 0.16s;
}

.team-topic-tab.active {
  background: #ffffff;
  color: #ff7800;
}

.team-topic-tab-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: none;
}

.team-topic-tab.active .team-topic-tab-icon {
  filter: none;
}

.team-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px auto 0;
}

.team-entry-switch {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.team-entry-switch .team-inline-action {
  width: auto;
  min-width: 140px;
  margin-top: 0;
  text-decoration: none;
}

.team-topic-card {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 36px;
  border: 1px solid #ebebec;
  border-radius: 6px;
  background: #ffffff;
  color: #2b2b2f;
  padding: 8px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(43, 43, 47, 0.06);
  cursor: pointer;
  transition:
    border-color 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}

.team-topic-card:hover,
.team-topic-card:focus-visible {
  border-color: rgba(11, 221, 18, 0.45);
  box-shadow: 0 12px 28px rgba(43, 43, 47, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.team-topic-card.active {
  border-color: rgba(11, 221, 18, 0.72);
  background: #fbfffb;
  box-shadow: 0 12px 28px rgba(12, 143, 37, 0.14);
}

.team-topic-check {
  width: 10px;
  height: 10px;
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  background: #ffffff;
}

.team-topic-card.active .team-topic-check {
  border-color: #0bdd12;
  background:
    radial-gradient(circle at 50% 50%, #0bdd12 0 4px, transparent 5px),
    #ffffff;
}

.team-topic-card strong {
  color: #2b2b2f;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.team-mode-btn {
  display: grid;
  gap: 5px;
  min-height: 72px;
  border: 2px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  padding: 12px 10px;
  text-align: left;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.team-mode-btn.active {
  background: #080312;
  color: #afffff;
}

.team-mode-btn strong {
  font-size: 1.125rem;
  line-height: 1;
}

.team-mode-btn span {
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.25;
}

.team-form-grid,
.team-join-box,
.team-private-card,
.team-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.team-form-grid label,
.team-join-box label {
  display: grid;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 900;
}

.team-form-grid input,
.team-join-box input {
  width: 100%;
  border: 2px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  padding: 13px 12px;
  font: inherit;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}

.team-join-box {
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.team-join-box .team-inline-action {
  align-self: end;
  margin-top: 0;
}

.team-join-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}

.team-join-mini label {
  display: grid;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 900;
}

.team-join-mini input {
  width: 100%;
  border: 2px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  padding: 13px 12px;
  font: inherit;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}

.team-join-mini .team-inline-action {
  align-self: end;
  margin-top: 0;
}

.team-room-meta-row {
  display: grid;
  grid-template-columns: minmax(180px, max-content) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 18px;
}

.team-room-code {
  display: grid;
  gap: 4px;
  width: 100%;
  align-content: center;
  border: 1px solid #ffb05c;
  background: #ffffff;
  padding: 12px 16px;border-radius: 6px;
}

#roomTimer{color:#F60}
.team-room-code span,
.team-share-line,
#privateCard > article > span,
.team-public-hero span,
.team-public-grid span,
.team-consent-head span,
.team-member-list span {
	color: #00ae3a;
	font-size: 0.6rem;
	font-weight: 400;
	line-height: 1.85;
}

#privateCard > article > em,
.team-public-grid em {
  color: #5d6258;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.team-room-code strong {
  font-size: 1rem;
  line-height: 1.3;
}

#participantList strong {
  font-size: 0.7rem;
  line-height: 1.5;
}

.team-share-line {
  margin-top: 20px;
  overflow-wrap: anywhere;
}

.team-member-list,
.team-consent-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.team-member-list {
  margin-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-self: stretch;
}

.team-member-list article,
#privateCard > article,
.team-public-grid article,
.team-lock-card,
.team-public-hero {
  display: grid;
  gap: 1px;
  border: 1px dashed  #727272;
  background: #efefef;
  padding: 12px;
}

.team-member-list article {
  align-content: center;
  border-width: 1px;
  background: #efefef;
  color: #111111;
  padding: 12px;border-radius: 6px;
}

body.grid48-dark-egg #roomView .team-member-list article,
body.grid48-light-egg #roomView .team-member-list article {
  background: #efefef;
  color: #111111;
}

.team-secondary-link,
.team-secondary-action {
  background: #ffffff;
  color: var(--ink);
}

.team-danger-action {
  background: #ffe7e1;
  color: var(--ink);
}

#privateCard > article > img,
.team-public-grid article > img,
.team-squad-board article > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  background: #eef6ff;
  object-fit: cover;
}

.team-member-list strong,
#privateCard > article > strong,
.team-public-grid strong,
.team-public-hero strong,
.team-lock-card strong,
.team-consent-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.125rem;
  line-height: 1.25;
}

.team-member-list strong {
  font-size: 1.25rem;
  line-height: 1;
}

#roomView .intro-actions .team-main-action {
  display: inline-block;
  min-height: 0;
  border-radius: 7px;
  background: #07b90d;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

#roomView .intro-actions .team-main-action:hover:not(:disabled),
#roomView .intro-actions .team-main-action:focus-visible:not(:disabled) {
  border-color: #ff5252;
  background: #ffffff;
  color: #ff5252;
}

#roomView .intro-actions .team-main-action:active:not(:disabled) {
  background: #fcf414;
  box-shadow: none;
  transform: translateY(4px);
}

#roomView .intro-actions .team-main-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

#roomStatus {
  pointer-events: none;
}

.team-private-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#privateCard > .team-private-quality {
  background: #080312;
  color: #f5ffff;
}

#privateCard > .team-private-quality > span {
  color: #afffff;
}

#privateCard > .team-private-quality > em {
  color: #d8f7fb;
}

#privateCard > .team-private-quality[data-level="low"],
#privateCard > .team-private-quality[data-level="quick_preview"] {
  background: #2a100d;
}

#privateCard > .team-private-quality[data-level="watch"] {
  background: #2b2308;
}

.team-stage-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 12px 0 16px;
  border: 2px solid var(--ink);
  background: #eef6ff;
  padding: 12px 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

.team-stage-card img {
  width: 74px;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  background: #ffffff;
  object-fit: cover;
}

.team-stage-card[data-mode="final"] {
  background: #080312;
  color: #f5ffff;
}

.team-stage-card[data-mode="final"] img {
  border-color: #afffff;
  background: #111111;
}

.team-stage-card span,
.team-stage-card strong,
.team-stage-card em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-stage-card span {
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.25;
}

.team-stage-card[data-mode="final"] span {
  color: #afffff;
}

.team-stage-card strong {
  font-size: 1rem;
  line-height: 1.35;
}

.team-stage-card em {
  color: #5d6258;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.team-stage-card[data-mode="final"] em {
  color: #d8f7fb;
}

.team-consent-panel,
.team-public-panel {
  margin-top: 16px;
}

.team-consent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.team-consent-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-consent-list span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border: 1px dashed var(--ink);
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.team-consent-list button {
  min-height: 24px;
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  padding: 2px 8px;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 900;
  cursor: pointer;
}

.team-consent-list span.agreed {
  border-style: solid;
  background: #ffffff;
}

.team-consent-list span.rejected {
  border-style: solid;
  background: #ffe9e4;
}

.team-public-hero {
  margin-top: 12px;
  background: #080312;
  color: #afffff;
}

.team-pair-hero {
  background: #071f1d;
}

.team-triangle-hero {
  background: #191312;
}

.team-chaos-hero {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 8px, rgba(255, 255, 255, 0) 8px 16px),
    #080312;
}

.team-public-hero p,
.team-public-grid p,
.team-lock-card p,
.team-squad-board p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.5;
}

.team-public-hero span {
  color: #b7ff54;
}

.team-public-hero strong {
  font-size: 1.75rem;
}

.team-fit-report,
.team-fit-section,
.team-fit-note,
.team-fit-evidence,
.team-fit-psyche-evidence {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.team-private-card .team-fit-report {
  grid-column: 1 / -1;
}

#resultView .scene-tag,
#resultView #resultTitle,
#resultView #privateLine,
#resultView #resultStatus {
  color: #f4f4f4;
}

#resultView #resultTitle {
  letter-spacing: 0;
}

#resultView #privateLine,
#resultView #resultStatus {
  color: #b7f7ff;
}

.team-fit-hero,
.team-fit-members article,
.team-fit-section,
.team-fit-note,
.team-fit-link-state,
.team-fit-evidence,
.team-fit-psyche-evidence,
.team-fit-evidence-members article,
.team-fit-evidence-team article,
.team-fit-psyche-grid article,
.team-fit-strategies article {
  border: 3px solid var(--ink);
  background: #ffffff;
  padding: 14px 16px;
}

#resultView .team-fit-section,
#resultView .team-fit-note,
#resultView .team-fit-evidence,
#resultView .team-fit-psyche-evidence,
#resultView .team-fit-members article,
#resultView .team-fit-evidence-members article,
#resultView .team-fit-evidence-team article,
#resultView .team-fit-psyche-grid article,
#resultView .team-fit-strategies article {
  border: 1px solid rgba(183, 247, 255, 0.22);
  background: rgba(12, 14, 14, 0.96);
  color: #f4f4f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-fit-visual-hero {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(183, 247, 255, 0.26);
  background:
    linear-gradient(90deg, rgba(22, 106, 255, 0.9) 0 12px, transparent 12px calc(100% - 12px), rgba(22, 106, 255, 0.9) calc(100% - 12px)),
    linear-gradient(135deg, rgba(16, 97, 227, 0.95) 25%, rgba(5, 5, 5, 0.95) 25%, rgba(5, 5, 5, 0.95) 50%, rgba(16, 97, 227, 0.95) 50%, rgba(16, 97, 227, 0.95) 75%, rgba(5, 5, 5, 0.95) 75%) center / 30px 30px,
    #050505;
  padding: 18px clamp(18px, 5vw, 42px) 20px;
}

.team-fit-visual-header,
.team-fit-visual-footer {
  display: grid;
  gap: 6px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.team-fit-visual-header span,
.team-fit-visual-footer span {
  color: #b7ff54;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.35;
}

.team-fit-visual-header strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  line-height: 1.08;
}

.team-fit-visual-header p,
.team-fit-visual-footer p {
  margin: 0;
  color: #f4f4f4;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.55;
}

.team-fit-duo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2.5vw, 20px);
  max-width: 760px;
  margin: 0 auto;
  border: 10px solid #f5eefb;
  background: #050505;
  padding: clamp(12px, 2.5vw, 22px);
  box-shadow:
    0 0 0 5px #070707,
    0 18px 36px rgba(0, 0, 0, 0.42);
}

.team-fit-portrait-card {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(183, 247, 255, 0.28);
  background: #111;
}

.team-fit-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}

.team-fit-portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.team-fit-portrait-copy {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #ffffff;
}

.team-fit-portrait-copy span {
  color: #00f5ff;
  font-size: 0.6875rem;
  font-weight: 900;
  line-height: 1.3;
}

.team-fit-portrait-copy strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  line-height: 1.05;
}

.team-fit-portrait-copy p {
  margin: 0;
  min-width: 0;
  color: #f4f4f4;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
}

.team-fit-score-badge {
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 3px;
  width: 92px;
  min-height: 92px;
  border: 2px solid #b7ff54;
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  text-align: center;
  box-shadow:
    0 0 0 6px rgba(5, 5, 5, 0.9),
    0 0 22px rgba(183, 255, 84, 0.32);
}

.team-fit-score-badge span,
.team-fit-score-badge em {
  color: #b7ff54;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

.team-fit-score-badge strong {
  font-size: 1.55rem;
  line-height: 1;
}

.team-fit-hero {
  display: grid;
  gap: 8px;
  background: #071f1d;
  color: #f5ffff;
  text-align: center;
}

.team-fit-hero[data-level="low"] {
  background: #2a100d;
}

.team-fit-hero span,
.team-fit-section-head span,
.team-fit-members span,
.team-fit-strategies span {
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.35;
}

#resultView .team-fit-section-head {
  border-bottom-color: rgba(183, 247, 255, 0.22);
}

#resultView .team-fit-section-head span,
#resultView .team-fit-members span,
#resultView .team-fit-strategies span,
#resultView .team-fit-psyche-members > span,
#resultView .team-fit-evidence-team span,
#resultView .team-fit-psyche-grid span {
  color: #00f5ff;
}

#resultView .team-fit-members strong,
#resultView .team-fit-section-head strong,
#resultView .team-fit-note strong,
#resultView .team-fit-link-state strong,
#resultView .team-fit-evidence strong,
#resultView .team-fit-risk strong {
  color: #ffffff;
}

.team-fit-hero span {
  color: #afffff;
}

.team-fit-hero strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 2.75rem;
  line-height: 1;
}

.team-fit-hero strong em {
  color: #d8f7fb;
  font-size: 1.125rem;
  font-style: normal;
}

.team-fit-hero p,
.team-fit-hero small,
.team-fit-members p,
.team-fit-bridge p,
.team-fit-link-state p,
.team-fit-dimensions p,
.team-fit-risk p,
.team-fit-advice p,
.team-fit-evidence p,
.team-fit-psyche-evidence p,
.team-fit-note p,
.team-fit-strategies p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.55;
}

.team-fit-hero small {
  color: #afffff;
  font-size: 0.875rem;
}

.team-fit-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-fit-members article {
  display: grid;
  gap: 8px;
}

.team-fit-members strong,
.team-fit-section-head strong,
.team-fit-note strong,
.team-fit-link-state strong,
.team-fit-evidence strong,
.team-fit-risk strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.25rem;
  line-height: 1.3;
}

.team-fit-members em {
  display: block;
  color: #5d6258;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
}

.team-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-fit-tags b {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--ink);
  background: #fff6d6;
  padding: 3px 7px;
  overflow-wrap: anywhere;
  font-size: 0.6875rem;
  font-weight: 900;
  line-height: 1.25;
}

#resultView .team-fit-tags b {
  border-color: rgba(183, 247, 255, 0.24);
  background: rgba(0, 245, 255, 0.1);
  color: #b7f7ff;
}

.team-fit-members ul,
.team-fit-advice ol {
  margin: 6px 0 0;
  padding-left: 20px;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.55;
}

.team-fit-bridge,
.team-fit-link-state,
.team-fit-risk,
.team-fit-advice {
  display: grid;
  gap: 8px;
  border: 2px solid var(--ink);
  background: #eef6ff;
  padding: 12px 14px;
}

#resultView .team-fit-bridge,
#resultView .team-fit-link-state,
#resultView .team-fit-risk,
#resultView .team-fit-advice {
  border-color: rgba(183, 247, 255, 0.22);
  background: rgba(2, 26, 25, 0.88);
}

.team-fit-link-state {
  background: #f4fff1;
}

.team-fit-link-state[data-expired="1"] {
  background: #ffe9e4;
}

#resultView .team-fit-link-state[data-expired="1"],
#resultView .team-fit-risk[data-level="watch"] {
  background: rgba(64, 18, 15, 0.88);
}

.team-fit-link-state small,
.team-fit-evidence small {
  min-width: 0;
  color: #5d6258;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.45;
}

#resultView .team-fit-link-state small,
#resultView .team-fit-evidence small,
#resultView .team-fit-members em,
#resultView .team-fit-evidence-members b {
  color: #a8b7b7;
}

.team-fit-bridge strong {
  font-size: 1rem;
  line-height: 1.4;
}

.team-fit-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}

.team-fit-dimensions {
  display: grid;
  gap: 12px;
}

.team-fit-evidence-members,
.team-fit-evidence-team {
  display: grid;
  gap: 10px;
}

.team-fit-evidence-members {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-fit-evidence-members article,
.team-fit-evidence-team article {
  border-width: 2px;
  display: grid;
  gap: 6px;
}

.team-fit-evidence-members b {
  display: block;
  color: #5d6258;
  font-size: 0.75rem;
  line-height: 1.35;
}

.team-fit-evidence-team {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-fit-psyche-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-fit-psyche-members > span {
  flex: 0 0 100%;
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.35;
}

.team-fit-psyche-members b {
  border: 2px solid var(--ink);
  background: #f4fff1;
  padding: 8px 10px;
  font-size: 0.75rem;
  line-height: 1.35;
}

#resultView .team-fit-psyche-members b {
  border-color: rgba(183, 247, 255, 0.22);
  background: rgba(183, 255, 84, 0.08);
  color: #dfffd0;
}

.team-fit-psyche-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-fit-psyche-grid article {
  border-width: 2px;
  display: grid;
  gap: 6px;
}

.team-fit-evidence-team span,
.team-fit-psyche-grid span {
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.35;
}

.team-fit-evidence-missing {
  border: 2px solid var(--ink);
  background: #fff6d6;
  padding: 10px 12px;
}

#resultView .team-fit-evidence-missing {
  border-color: rgba(183, 255, 84, 0.25);
  background: rgba(183, 255, 84, 0.08);
}

.team-fit-dimensions article {
  display: grid;
  gap: 8px;
}

.team-fit-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.team-fit-meter-head strong,
.team-fit-meter-head span {
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.35;
}

.team-fit-meter {
  width: 100%;
  height: 14px;
  border: 2px solid var(--ink);
  background: #ffffff;
  overflow: hidden;
}

#resultView .team-fit-meter {
  border-color: rgba(183, 247, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.team-fit-meter i {
  display: block;
  height: 100%;
  background: #07b90d;
}

#resultView .team-fit-meter i {
  background: #b7ff54;
}

.team-fit-risk[data-level="watch"] {
  background: #ffe9e4;
}

.team-fit-strategies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-fit-strategies article {
  border-width: 2px;
  display: grid;
  gap: 6px;
}

.team-fit-strategies article.active {
  background: #fff6d6;
}

#resultView .team-fit-strategies article.active {
  border-color: rgba(183, 255, 84, 0.42);
  background: rgba(183, 255, 84, 0.09);
}

.team-fit-strategies strong {
  font-size: 1.5rem;
  line-height: 1.1;
}

.team-play-grid,
.team-squad-board {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.team-ecology-card {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  border: 2px solid var(--ink);
  background: #eef6ff;
  padding: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}

.team-ecology-card span {
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
}

.team-ecology-card strong {
  font-size: 1.0625rem;
  line-height: 1.45;
}

.team-ecology-card p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.55;
}

.team-play-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-play-grid article {
  display: grid;
  gap: 7px;
  border: 2px solid var(--ink);
  background: #fffdf3;
  padding: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

.team-play-grid article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.team-play-grid span {
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
}

.team-play-grid strong {
  font-size: 1rem;
  line-height: 1.45;
}

.team-squad-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-squad-board article {
  display: grid;
  gap: 7px;
  min-height: 108px;
  border: 2px solid var(--ink);
  background: #ffffff;
  padding: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

.team-squad-board span {
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
}

.team-squad-board strong {
  font-size: 1.125rem;
  line-height: 1.25;
}

.team-relations-panel,
.team-moves-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.team-relations-panel > span,
.team-moves-panel > span {
  color: #31352d;
  font-size: 0.75rem;
  font-weight: 900;
}

.team-relation-list {
  display: grid;
  gap: 10px;
}

.team-relation-list article {
  display: grid;
  gap: 5px;
  border: 2px solid var(--ink);
  background: #ffffff;
  padding: 12px;
}

.team-relation-list strong {
  font-size: 0.875rem;
  line-height: 1.35;
}

.team-relation-list p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.5;
}

.team-share-card {
  display: grid;
  gap: 13px;
  margin-top: 16px;
  border: 3px solid var(--ink);
  background: #080312;
  color: #f5ffff;
  padding: 16px;
  box-shadow: 5px 5px 0 var(--ink);
}

.team-share-head {
  display: grid;
  gap: 5px;
}

.team-share-head span,
.team-share-head em {
  color: #afffff;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.3;
}

.team-share-head strong {
  color: #ffffff;
  font-size: 1.875rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.team-share-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 8px;
}

.team-share-members article {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(175, 255, 255, 0.45);
  background: rgba(245, 255, 255, 0.08);
  padding: 7px;
}

.team-share-members img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(245, 255, 255, 0.72);
  object-fit: cover;
}

.team-share-members span,
.team-share-members strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #f5ffff;
  font-size: 0.6875rem;
  line-height: 1.2;
}

.team-share-members span {
  color: #afffff;
  font-weight: 900;
}

.team-share-members strong {
  font-weight: 1000;
}

.team-share-card p {
  margin: 0;
  color: #f5ffff;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.55;
}

.team-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-share-actions .team-inline-action {
  width: fit-content;
  margin-top: 0;
}

.team-moves-panel ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.team-moves-panel li {
  border: 2px solid var(--ink);
  background: #fffdf3;
  padding: 10px 11px;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1.45;
}

.team-sync-wait {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  border: 2px solid var(--ink);
  background: #ffffff;
  padding: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}

.team-sync-wait strong {
  font-size: 1.125rem;
  line-height: 1.2;
}

.team-sync-wait p {
  margin: 0;
  color: #31352d;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.55;
}

.team-sync-wait span,
.team-sync-wait em {
  color: #31352d;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.45;
}

@media (max-width: 480px) {
#entryView #createEntryPanel {
  margin-top: -15px;
}

.team-mode-grid,
.team-form-grid,
.team-topic-grid,
.team-room-meta-row,
.team-join-box,
.team-member-list,
.team-private-card,
.team-consent-list,
.team-public-grid,
.team-fit-duo-card,
.team-fit-members,
.team-fit-evidence-members,
.team-fit-evidence-team,
.team-fit-psyche-grid,
.team-fit-strategies,
.team-play-grid,
.team-squad-board {
  grid-template-columns: 1fr;
}

.team-fit-visual-hero {
  padding: 14px 12px 16px;
}

.team-fit-duo-card {
  gap: 10px;
  border-width: 7px;
  padding: 10px;
}

.team-fit-score-badge {
  order: -1;
  justify-self: center;
  width: 86px;
  min-height: 86px;
}

.team-fit-portrait-card {
  aspect-ratio: 4 / 5;
}

#profileView .team-pair-result-card.portrait-result-card > .phase-portrait-card,
#profileView .team-pair-result-card.portrait-result-card > .portrait-card-copy {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

#resultView .team-pair-result-card .phase-portrait-content {
  min-height: 940px;
}

#resultView .team-profile-duo-body {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 58px 18px 70px;
}

#resultView .team-profile-duo-score {
  order: -1;
  justify-self: center;
}

#resultView .team-profile-duo-body .team-fit-portrait-card {
  width: min(100%, 230px);
  justify-self: center;
}

#resultView .team-pair-dimension-graph {
  grid-template-columns: 1fr;
}

.team-fit-hero strong {
  font-size: 2.125rem;
}

.team-fit-section-head,
.team-fit-meter-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.team-room-code {
  width: 100%;
}

.team-room-code strong {
  font-size: 1rem;
}

.team-member-list strong {
  font-size: 1rem;
}

#roomView .intro-actions .team-main-action {
  font-size: 0.8rem;
}

.team-stage-card {
  grid-template-columns: 58px minmax(0, 1fr);
}

.team-stage-card img {
  width: 58px;
}

.team-topic-tabs {
}

#entryView .team-mode-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#entryView .team-mode-btn {
  min-height: 38px;
  padding: 0 8px;
}

.team-topic-card {
  grid-template-columns: 18px minmax(0, 1fr);
}

.team-topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#resultView .team-pair-readable-view {
  width: min(100%, 760px);
  max-width: 760px;
  gap: 12px;
}

#resultView,
#resultView .team-private-card,
#resultView .team-pair-readable-view {
  min-width: 0;
  overflow-x: hidden;
}

#resultView .team-pair-readable-view .profile-card.portrait-result-card {
  display: block;
  padding-top: 45px;
}

#resultView .team-pair-readable-view .team-pair-result-card.portrait-result-card > .phase-head {
  min-height: 45px;
  width: auto;
  max-width: none;
  margin: -45px 0 12px;
  padding-right: 58px;
  padding-left: 14px;
}

#resultView .team-pair-readable-view .team-pair-result-card.portrait-result-card > .phase-portrait-card,
#resultView .team-pair-readable-view .team-pair-result-card.portrait-result-card > .portrait-card-copy {
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

#resultView .team-pair-readable-view .team-pair-result-card.portrait-result-card > .phase-portrait-card {
  --portrait-frame-inset: 16px;
  --portrait-border-inset: 14px;
  aspect-ratio: auto;
  margin-top: 0;
  margin-bottom: 0;
  border-width: 12px;
  padding: var(--portrait-frame-inset);
}

#resultView .team-pair-readable-view .team-pair-result-card .phase-portrait-content {
  min-height: clamp(330px, 112vw, 520px);
}

#resultView .team-pair-readable-view .team-pair-result-card .phase-portrait-title,
#resultView .team-pair-readable-view .team-pair-result-card .phase-portrait-footer {
  width: calc(100% - 28px);
  max-width: calc(100% - 28px);
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
}

#resultView .team-pair-readable-view .team-pair-result-card .phase-portrait-title .title,
#resultView .team-pair-readable-view .team-pair-result-card .phase-portrait-footer .title {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

#resultView .team-pair-readable-view .team-profile-duo-body {
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  gap: 10px;
  padding: 58px 10px 66px;
}

#resultView .team-pair-readable-view .team-profile-duo-score {
  order: initial;
  width: 58px;
  min-height: 58px;
}

#resultView .team-pair-readable-view .team-profile-duo-score strong {
  font-size: 1rem;
}

#resultView .team-pair-readable-view .team-profile-duo-score span,
#resultView .team-pair-readable-view .team-profile-duo-score em {
  font-size: 0.5rem;
}

#resultView .team-pair-readable-view .team-profile-duo-body .team-fit-portrait-card {
  width: 100%;
  max-width: none;
  min-height: 0;
  justify-self: stretch;
  box-shadow:
    0 0 0 0.2em #000,
    0 0 0 0.4em #fff,
    0 0 0 0.6em #000;
}

#resultView .team-pair-readable-view .team-fit-portrait-copy {
  right: 6px;
  bottom: 6px;
  left: 6px;
  gap: 2px;
}

#resultView .team-pair-readable-view .team-fit-portrait-copy span,
#resultView .team-pair-readable-view .team-fit-portrait-copy p {
  font-size: 0.55rem;
  line-height: 1.25;
}

#resultView .team-pair-readable-view .team-fit-portrait-copy strong {
  font-size: 0.9rem;
}

#resultView .team-pair-readable-view .team-readable-panel,
#resultView .team-pair-readable-view .member-claim-panel {
  padding: 50px 14px 18px;
}

#resultView .team-pair-readable-view .persona-skill-head,
#resultView .team-pair-readable-view .persona-skill-loadout,
#resultView .team-pair-readable-view .team-pair-dimension-graph,
#resultView .team-pair-readable-view .profile-pressure-grid,
#resultView .team-pair-readable-view .persona-skill-evidence-list,
#resultView .team-pair-readable-view .confirmation-grid {
  grid-template-columns: 1fr;
}

#resultView .team-pair-readable-view .persona-resource-bias {
  width: 100%;
}
}

/* MBTI reference-style pair report rebuild */
#resultView.team-pk-report-view {
  border: 0;
  background: #000000;
  color: #f4f4f5;
  padding: 0;
  box-shadow: none;
}

body.team-pair-report-mode {
  background: #000000;
}

body.team-pair-report-mode .team-app,
body.team-pair-report-mode .shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.team-pair-report-mode .topbar,
body.team-pair-report-mode .site-footer {
  display: none;
}

body.team-pair-report-mode #resultView.team-pk-report-view {
  width: 100%;
  max-width: none;
  margin: 0;
}

#resultView.team-pk-report-view::before,
#resultView.team-pk-report-view > .hazard-strip,
#resultView.team-pk-report-view > .grid48-corner,
#resultView.team-pk-report-view > .scene-tag,
#resultView.team-pk-report-view > #resultTitle,
#resultView.team-pk-report-view > #privateLine,
#resultView.team-pk-report-view > #resultStatus {
  display: none;
}

#resultView.team-pk-report-view .team-private-card {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
}

#resultView.team-pk-report-view #consentPanel,
#resultView.team-pk-report-view #publicResultPanel {
  display: none;
}

.mbti-pk-report,
.mbti-pk-report * {
  box-sizing: border-box;
}

.mbti-pk-report {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #f4f4f5;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.mbti-pk-report a {
  color: inherit;
  text-decoration: none;
}

.mbti-pk-ambient {
  position: absolute;
  left: 50%;
  width: min(760px, 100%);
  height: 300px;
  border-radius: 999px;
  transform: translateX(-50%);
  filter: blur(100px);
  opacity: 0.72;
  pointer-events: none;
}

.mbti-pk-ambient-top {
  top: -90px;
  background: rgba(20, 184, 166, 0.12);
}

.mbti-pk-ambient-bottom {
  top: 52%;
  background: rgba(244, 63, 94, 0.12);
}

.mbti-pk-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  width: min(100%, 760px);
  min-width: 0;
  margin: 0 auto;
  padding: 24px 16px 0;
}

#resultView.team-pk-report-view .mbti-pk-shell > *,
#resultView.team-pk-report-view .mbti-pk-stage,
#resultView.team-pk-report-view .mbti-pk-panel,
#resultView.team-pk-report-view .mbti-pk-profile-grid,
#resultView.team-pk-report-view .mbti-pk-subtype-grid,
#resultView.team-pk-report-view .mbti-pk-tabpanels,
#resultView.team-pk-report-view .mbti-pk-tabpanel {
  min-width: 0;
}

.mbti-pk-header,
.mbti-pk-stage,
.mbti-pk-panel {
  background: rgba(24, 24, 27, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.mbti-pk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 84px;
  border-radius: 5px;
  padding: 18px 20px;
}

.mbti-pk-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.mbti-pk-brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 60px;
  border-radius: 5px;
  overflow: hidden;
}

.mbti-pk-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mbti-pk-brand h1 {
  margin: 0;
  background-clip: text;
  color: #fff;
  overflow-wrap: anywhere;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;padding-left: 5px;
}

.mbti-pk-brand p,
.mbti-pk-header small,
.mbti-pk-panel h2,
.mbti-pk-panel-kicker,
.mbti-pk-score-band span,
.mbti-pk-score-right span {
  margin: 0;
  color: #fffbde;
  font-size: 0.62rem;
  font-weight: 300;
  line-height: 1.55;font-family: Arial, Helvetica, sans-serif;
}

.mbti-pk-header small {
  display: none;
}

.mbti-pk-header-actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(100%, 320px);
}

.mbti-pk-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 34px;
  border: 1px solid rgba(63, 63, 70, 0.8);
  border-radius: 4px;
  background: rgba(24, 24, 27, 0.76);
  color: #2dd4bf;
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.mbti-pk-icon-button:hover {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(20, 184, 166, 0.08);
  color: #99f6e4;
}

.mbti-pk-mobile-menu {
  display: none;
  position: relative;
  flex: 0 0 auto;
}

.mbti-pk-mobile-menu summary {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(63, 63, 70, 0.8);
  border-radius: 5px;
  background: rgba(24, 24, 27, 0.76);
  cursor: pointer;
  list-style: none;
}

.mbti-pk-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mbti-pk-mobile-menu summary img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mbti-pk-mobile-menu:not([open]) nav {
  display: none;
}

.mbti-pk-mobile-menu nav {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 132px;
  border: 1px solid rgba(63, 63, 70, 0.3);
  border-radius: 4px;
  background: rgba(9, 9, 11, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  padding: 6px;
}

.mbti-pk-mobile-menu nav a {
  border-radius: 6px;
  color: #e4e4e7;
  padding: 10px 12px;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
}

.mbti-pk-mobile-menu nav a:hover {
  background: rgba(20, 184, 166, 0.12);
  color: #99f6e4;
}

.mbti-pk-mobile-menu summary:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.7);
  outline-offset: 2px;
}

.mbti-pk-stage {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  padding: 22px 22px 24px;
}

.mbti-pk-social-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.mbti-pk-social-hero span {
  width: fit-content;
  border: 1px dashed  rgba(20, 184, 166, 0.36);
  border-radius: 5px;
  background: rgba(19, 78, 74, 0.46);
  color: #5eead4;
  padding: 6px 9px;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.2;
}

.mbti-pk-social-hero h2 {
  margin: 0;
  color: #1dffdf;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 3.2vw, 1rem);
  font-weight: 700;
  line-height: 1.22;
}

.mbti-pk-social-hero p {
  margin: 0;
  color: #c4cb6f;
  overflow-wrap: anywhere;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.65;
}

.mbti-pk-social-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 18px;
}

.mbti-pk-social-lines article,
.mbti-pk-social-mirror-card {
  display: grid;
  min-width: 0;
  gap: 8px;
  border: 1px solid rgba(87, 86, 86, 0.12);
  border-radius: 4px;
  background: rgba(19, 78, 74, 0.12);
  padding: 14px 15px;
}

#resultView.team-pk-report-view .mbti-pk-social-lines article,
#resultView.team-pk-report-view .mbti-pk-social-mirror-card {
  border-width: 1px;
  background: rgba(19, 78, 74, 0.12);
  padding: 6px 15px;
  box-shadow: none;
}

.mbti-pk-social-lines article[data-role="partner"],
.mbti-pk-social-mirror-card[data-role="partner"] {
  border-color: rgba(225, 29, 72, 0.3);
  background: rgba(136, 19, 55, 0.12);
}

#resultView.team-pk-report-view .mbti-pk-social-lines article[data-role="partner"],
#resultView.team-pk-report-view .mbti-pk-social-mirror-card[data-role="partner"] {
  border-color: rgba(225, 29, 72, 0.12);
  background: rgba(136, 19, 55, 0.12);
}

.mbti-pk-social-lines span,
.mbti-pk-social-mirror-card span {
  color: #5eead4;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.35;
}

.mbti-pk-social-lines article[data-role="partner"] span,
.mbti-pk-social-mirror-card[data-role="partner"] span {
  color: #fb7185;
}

.mbti-pk-social-lines p,
.mbti-pk-social-mirror-card p,
.mbti-pk-social-mirror-card em {
  margin: 0;
  color: #f4f4f5;
  overflow-wrap: anywhere;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 400;padding: 3px;
}

.mbti-pk-social-lines b {
  margin-right: 6px;
  color: #5eead4;
  font-weight: 900;
}

.mbti-pk-social-lines article[data-role="partner"] b {
  color: #fb7185;
}

.mbti-pk-social-mirror-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mbti-pk-social-mirror-card h3 {
  margin: 0;
  color: #5eead4;
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.mbti-pk-social-mirror-card[data-role="partner"] h3 {
  color: #fb7185;
}

.mbti-pk-social-mirror-card p {
  color: #d4d4d8;
  font-weight: 700;
}

.mbti-pk-social-mirror-card b {
  color: #f4f4f5;
}

.mbti-pk-social-mirror-card em {
  color: #a7f3d0;
  font-size: 0.72rem;
}

.mbti-pk-social-mirror-card[data-role="partner"] em {
  color: #fecdd3;
}

.mbti-pk-live-badge {
  display: none;
}

.mbti-pk-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mbti-pk-profile-card {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, 0.88);
  border-radius: 5px;
  background: rgba(9, 9, 11, 0.8);
  padding: 18px 14px 14px;
  text-align: center;
}

#resultView.team-pk-report-view .mbti-pk-profile-card {
  border-width: 1px;
  background: rgba(9, 9, 11, 0.8);
  padding: 18px 14px 14px;
  box-shadow: none;
}

.mbti-pk-profile-card[data-role="self"] {
  border-color: rgba(19, 78, 74, 0.22);
}

.mbti-pk-profile-card[data-role="partner"] {
  border-color: rgba(136, 19, 55, 0.22);
}

.mbti-pk-avatar-wrap {
  position: relative;
  width: 100px;
  height: 120px;
}

.mbti-pk-avatar-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100px;
  height: 120px;
  border: 1px dashed  rgba(63, 63, 70, 0.82);
  border-radius: 4px;
  background: #18181b;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.mbti-pk-avatar-glow {
  position: absolute;
  inset: -5px;
  border-radius: 4px;
  opacity: 0.28;
  filter: blur(7px);
}

.mbti-pk-profile-card[data-role="self"] .mbti-pk-avatar-glow {
}

.mbti-pk-profile-card[data-role="partner"] .mbti-pk-avatar-glow {
}

.mbti-pk-profile-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  min-width: 0;
  margin-top: 14px;
}

.mbti-pk-chip-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.mbti-pk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px dashed rgba(20, 184, 166, 0.36);
  border-radius: 3px;
  background: rgba(19, 78, 74, 0.6);
  color: #5eead4;
  padding: 2px 7px;
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1;
}

.mbti-pk-chip.teal-soft {
  border-color: rgba(79, 70, 229, 0.34);
  background: rgba(49, 46, 129, 0.58);
  color: #a5b4fc;
}

.mbti-pk-chip.rose {
  border-color: rgba(225, 29, 72, 0.36);
  background: rgba(136, 19, 55, 0.58);
  color: #fda4af;
}

.mbti-pk-chip.rose-soft {
  border-color: rgba(249, 115, 22, 0.34);
  background: rgba(124, 45, 18, 0.58);
  color: #fdba74;
}

.mbti-pk-profile-copy h3 {
  width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  color: #f4f4f5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
}

.mbti-pk-profile-copy em {
  display: inline-flex;
  max-width: 100%;
  min-height: 20px;
  margin-top: 7px;
  border: 1px dashed  rgba(20, 184, 166, 0.28);
  border-radius: 4px;
  background: rgba(19, 78, 74, 0.38);
  color: #5eead4;
  padding: 6px;
  overflow-wrap: anywhere;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.mbti-pk-profile-card[data-role="partner"] .mbti-pk-profile-copy em {
  border-color: rgba(225, 29, 72, 0.28);
  background: rgba(136, 19, 55, 0.36);
  color: #fda4af;
}

.mbti-pk-stats {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  border-top: 1px solid rgba(24, 24, 27, 0.94);
  padding-top: 12px;
  text-align: left;
}

.mbti-pk-stat div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  color: #71717a;
  font-size: 0.55rem;
  font-weight: 400;
  line-height: 1.3;
}

.mbti-pk-stat b {
  flex: 0 0 auto;
  color: #d4d4d8;
  font-size: 0.45rem;
  font-weight: 300;
  line-height: 1.2;
  white-space: nowrap;
}

.mbti-pk-stat i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #18181b;
  overflow: hidden;
}

.mbti-pk-stat i::before {
  content: "";
  display: block;
  width: var(--stat);
  height: 100%;
  border-radius: inherit;
  background: #14b8a6;
}

.mbti-pk-profile-card[data-role="partner"] .mbti-pk-stat i::before {
  background: #f43f5e;
}

.mbti-pk-score-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  border: 1px dashed  rgba(212, 212, 216, 0.12);
  border-radius: 5px;
  background: rgba(9, 9, 11, 0.42);
  padding: 16px 18px;
}

.mbti-pk-score-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.mbti-pk-ring {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 58px;
}

.mbti-pk-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.45), rgba(249, 115, 22, 0.32));
  filter: blur(10px);
}

.mbti-pk-ring svg {
  position: absolute;
  inset: 0;
  width: 58px;
  height: 58px;
  transform: rotate(-90deg);
}

.mbti-pk-ring circle {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
}

.mbti-pk-ring circle + circle {
  stroke: #f43f5e;
  stroke-linecap: round;
  stroke-width: 5;
  transition: stroke-dashoffset 0.3s ease;
}

.mbti-pk-ring strong {
  position: relative;
  z-index: 1;
  color: #f4f4f5;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

.mbti-pk-score-left h3 {
  margin: 4px 0 0;
  color: #ffd700;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.25;
}

.mbti-pk-score-left p {
  display: inline-flex;
  min-height: 17px;
  margin: 6px 0 0;
  border: 1px dashed  rgba(225, 29, 72, 0.4);
  border-radius: 5px;
  background: rgba(136, 19, 55, 0.48);
  color: #fda4af;
  padding: 6px 9px;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.mbti-pk-score-right {
  flex: 0 0 auto;
  min-width: 120px;
  text-align: right;
}

.mbti-pk-score-right strong {
  display: block;
  margin-top: 3px;
  color: #a1a1aa;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.mbti-pk-score-right em {
  display: block;
  margin-top: 4px;
  color: #52525b;
  font-size: 0.6rem;
  font-style: normal;
}

.team-v3-report .mbti-pk-score-left {
  flex: 1 1 auto;
}

.team-v3-report .mbti-pk-score-left > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.team-v3-report .mbti-pk-score-left p {
  box-sizing: border-box;
}

.team-v3-corpus-score .mbti-pk-score-left {
  width: 100%;
}

.team-v3-ladder-copy {
  min-width: 0;
  max-width: 820px;
}

.team-v3-ladder-copy > span {
  display: block;
  color: #fffbde;
  overflow-wrap: anywhere;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.55;
}

.team-v3-corpus-score .team-v3-ladder-copy h3 {
  margin-top: 5px;
  color: #ffd700;
  font-size: 0.62rem;
  line-height: 1.45;
}

.team-v3-corpus-score .team-v3-ladder-copy p {
  display: block;
  width: 100%;
  max-width: 780px;
  min-height: 0;
  margin-top: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d4d4d8;
  padding: 0;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.5;
}

.mbti-pk-verdict {
  display: grid;
  gap: 0;
  margin-top: 15px;
  border: 1px dashed  rgba(120, 53, 15, 0.42);
  border-radius: 5px;
  background: rgba(120, 53, 15, 0.08);
  padding: 10px;
}

#resultView.team-pk-report-view .mbti-pk-verdict {
  border: 1px dashed  rgba(120, 53, 15, 0.42);
  background: rgba(120, 53, 15, 0.08);
  box-shadow: none;
}

.mbti-pk-verdict > p,
.mbti-pk-subtype-card p,
.mbti-pk-factor-card p,
.mbti-pk-scenario-card p,
.mbti-pk-guide-card p,
.mbti-pk-archive-panel p {
  margin: 0;
  color: #44ada8;
  overflow-wrap: anywhere;
  font-size: 0.6rem;
  font-weight: 300;
  line-height: 1.72;padding-left: 8px;
}

.mbti-pk-panel {
  border-radius: 5px;
  padding: 18px;
}

.mbti-pk-panel-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.mbti-pk-panel-head h2 {
  margin: 0;
}

.mbti-pk-panel-head p {
  margin: 0;
  color: #d4d4d8;
  overflow-wrap: anywhere;
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.72;
}

.team-combo-verdict-panel {
  border-color: rgba(45, 212, 191, 0.34);
  background: rgba(12, 48, 48, 0.34);
}

.team-combo-verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.team-combo-verdict-grid article {
  display: grid;
  min-width: 0;
  gap: 7px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 5px;
  background: rgba(8, 47, 73, 0.18);
  padding: 13px;
}

.team-combo-verdict-grid span,
.team-combo-potential {
  margin: 0;
  color: #99f6e4;
  overflow-wrap: anywhere;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.5;
}

.team-combo-verdict-grid strong {
  color: #fef08a;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.3;
}

.team-combo-verdict-grid p {
  margin: 0;
  color: #ffd1a6;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 300;
  line-height: 1.68;
}

.team-combo-potential {
  margin-top: 12px;
  border-left: 3px solid rgba(250, 204, 21, 0.78);
  padding-left: 10px;
  color: #fef3c7;
}

.mbti-pk-subtype-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.mbti-pk-subtype-card {
  min-width: 0;
  border: 1px solid rgba(19, 78, 74, 0.38);
  border-radius: 5px;
  background: rgba(19, 78, 74, 0.1);
  padding: 15px;
}

#resultView.team-pk-report-view .mbti-pk-subtype-card {
  border-width: 1px;
  background: rgba(19, 78, 74, 0.1);
  padding: 15px;
  box-shadow: none;
}

.mbti-pk-subtype-card[data-role="partner"] {
  background: rgba(136, 19, 55, 0.12);
}

#resultView.team-pk-report-view .mbti-pk-subtype-card[data-role="partner"] {
  background: rgba(136, 19, 55, 0.12);
}

.mbti-pk-subtype-card h3 {
  margin: 0;
  color: #5eead4;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
}

.mbti-pk-subtype-card[data-role="partner"] h3 {
  color: #fb7185;
}

.mbti-pk-subtype-card span {
  display: inline-flex;
  width: 80px;
  min-height: 28px;
  margin: 8px 0 10px;
  border: 1px solid rgba(20, 184, 166, 0.26);
  border-radius: 5px;
  background: rgba(19, 78, 74, 0.42);
  color: #2dd4bf;
  padding: 2px 7px;
  overflow-wrap: anywhere;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 2.5;
}

.mbti-pk-subtype-card[data-role="partner"] span {
  border-color: rgba(225, 29, 72, 0.28);
  background: rgba(136, 19, 55, 0.42);
  color: #fb7185;
}

.mbti-pk-personality-color {
  overflow: hidden;
}

.personality-color-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.personality-color-relation {
  flex: 0 0 auto;
  border: 1px solid rgba(250, 204, 21, 0.36);
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.2);
  color: #fde68a;
  padding: 7px 11px;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.personality-color-relation[data-tone="sync"] {
  border-color: rgba(94, 234, 212, 0.34);
  background: rgba(20, 184, 166, 0.14);
  color: #99f6e4;
}

.personality-color-relation[data-tone="friction"] {
  border-color: rgba(251, 113, 133, 0.34);
  background: rgba(244, 63, 94, 0.14);
  color: #fecdd3;
}

.personality-color-starfield {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 10px;
  border: 1px dashed rgba(63, 63, 70, 0.78);
  border-radius: 5px;
  background:
    radial-gradient(circle at 20% 24%, rgba(20, 184, 166, 0.14), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(244, 63, 94, 0.13), transparent 31%),
    linear-gradient(115deg, transparent 0 37%, rgba(255, 255, 255, 0.07) 44%, transparent 54% 100%),
    rgba(9, 9, 11, 0.34);
  padding: 12px;
}

.personality-color-canvas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.personality-color-canvas-card {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.personality-color-canvas-wrap {
  position: relative;
  min-height: 238px;
  border: 1px solid rgba(63, 63, 70, 0.72);
  border-radius: 5px;
  background: #09090b;
  overflow: hidden;
}

.personality-color-canvas {
  display: block;
  width: 100%;
  height: 238px;
  cursor: crosshair;
}

.personality-color-prism-label {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  text-align: center;
}

.personality-color-prism-label b {
  color: #f4f4f5;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.personality-color-prism-label em {
  max-width: 100%;
  color: #d4d4d8;
  overflow: hidden;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	

  .personality-color-canvas {
    animation: none;
    transition: none;
  }
}

.mbti-pk-analysis {
  border-radius: 5px;
  padding: 20px;
}

.mbti-pk-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mbti-pk-tabs::-webkit-scrollbar {
  display: none;
}

.mbti-pk-tab {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #71717a;
  padding: 8px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.mbti-pk-tab span {
  color: inherit;
  opacity: 0.82;
}

.mbti-pk-tab.active[data-tone="rose"] {
  border-color: rgba(190, 18, 60, 0.72);
  background: rgba(136, 19, 55, 0.78);
  color: #fda4af;
}

.mbti-pk-tab.active[data-tone="teal"] {
  border-color: rgba(15, 118, 110, 0.72);
  background: rgba(19, 78, 74, 0.78);
  color: #5eead4;
}

.mbti-pk-tab.active[data-tone="indigo"] {
  border-color: rgba(67, 56, 202, 0.72);
  background: rgba(49, 46, 129, 0.78);
  color: #c4b5fd;
}

.mbti-pk-tab.active[data-tone="amber"] {
  border-color: rgba(180, 83, 9, 0.62);
  background: rgba(120, 53, 15, 0.68);
  color: #fcd34d;
}

.mbti-pk-tabpanels {
  margin-top: 18px;
}

.mbti-pk-tabpanel {
  min-width: 0;
}

.mbti-pk-factor-list,
.mbti-pk-scenario-list,
.mbti-pk-guide-list,
.mbti-pk-topic-situation-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mbti-pk-member-biography .mbti-pk-topic-situation-list,
.mbti-pk-topic-personalization .mbti-pk-topic-situation-list,
.mbti-pk-topic-situation .mbti-pk-topic-situation-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mbti-pk-topic-situation-card {

  border: 1px dashed rgba(212, 212, 216, 0.12);
  padding: 2px 12px 10px 12px;
  border-radius: 5px;background: #000;
}



.mbti-pk-topic-situation-card > span {
  width: fit-content;
  color: #17f2e8;
  font-size: 0.6rem;
  font-weight: 800;
}

.mbti-pk-topic-situation-card p.mbti-pk-topic-atom-line {
  display: block;
  margin: 0;
  color: #f7ff00;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
}

.mbti-pk-topic-situation-card p.mbti-pk-topic-action-line,
.mbti-pk-topic-situation-card p.mbti-pk-topic-misread-line {
  display: block;
  grid-template-columns: none;
}

.mbti-pk-topic-situation-card p.mbti-pk-topic-misread-line {
  color: #f0abfc;
}

.mbti-pk-topic-atom-line .mbti-pk-topic-atom-title {
  display: inline-block;
  color: #ffe6e6;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
  padding-top: 5px;
  padding-bottom: 10px;
}

.mbti-pk-topic-situation-card p {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: #d4d4d8;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  line-height: 1.7;
}

.mbti-pk-topic-situation-card p.mbti-pk-topic-narrative {
  display: block;
  grid-template-columns: none;
  color: #e5e7eb;
  font-size: 0.62rem;
  line-height: 1.75;
  padding-top: 14px;
}

.mbti-pk-topic-situation-card p.mbti-pk-full-line {
  display: block;
}

.mbti-pk-topic-situation-card.hidden,
.mbti-pk-topic-extra.hidden {
  display: none;
}

.mbti-pk-topic-situation-card p.mbti-pk-system-interpretation {
  display: block;
  border-left: 3px solid rgba(45, 212, 191, 0.72);
  border-radius: 6px;
  background: rgba(20, 184, 166, 0.12);
  color: #f8fafc;
  padding: 11px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.7;
}

.mbti-pk-topic-more {
  flex: 0 0 auto;
  border: 1px solid rgba(45, 212, 191, 0.45);
  border-radius: 6px;
  background: rgba(20, 184, 166, 0.12);
  color: #99f6e4;
  cursor: pointer;
  padding: 7px 12px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.mbti-pk-topic-more:hover {
  border-color: rgba(45, 212, 191, 0.75);
  background: rgba(20, 184, 166, 0.2);
}

.mbti-pk-member-biography .mbti-pk-topic-situation-card p.mbti-pk-member-biography-opening {
  display: block;
  margin: 0;
  color: #e8f4bd;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.58;
  padding-top: 0;
  text-transform: none;padding-top: 15px;
}

.mbti-pk-topic-situation-card b {
  color: #8484ef;
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.6rem;
}

.mbti-pk-evidence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mbti-pk-evidence-head h2 {
  margin: 0;
}

.mbti-pk-evidence-head span {
  flex: 0 0 auto;
  color: #a1a1aa;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.35;
}

.mbti-pk-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  cursor: pointer;
  list-style: none;
}

.mbti-pk-details-summary::-webkit-details-marker {
  display: none;
}

.mbti-pk-details-summary span {
  color: #dfff00;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.3;
}

.mbti-pk-details-summary em {
  min-width: 0;
  color: #a1a1aa;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
}

.mbti-pk-evidence-chain[open] .mbti-pk-details-summary,
.mbti-pk-quality-panel[open] .mbti-pk-details-summary,
.mbti-pk-topic-situation[open] .mbti-pk-details-summary {
  margin-bottom: 12px;
}

.mbti-pk-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mbti-pk-evidence-card {
  display: grid;
  min-width: 0;
  gap: 8px;
  border: 1px dashed rgba(250, 204, 21, 0.26);
  border-radius: 5px;
  background: rgba(120, 53, 15, 0.1);
  padding: 14px 15px;
}

#resultView.team-pk-report-view .mbti-pk-evidence-card {
  border-width: 1px;
  border-color: rgba(250, 204, 21, 0.16);
  background: rgba(120, 53, 15, 0.1);
  box-shadow: none;
}

.mbti-pk-evidence-card span {
  color: #fcd34d;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.35;
}

.mbti-pk-evidence-card p {
  margin: 0;
  color: #9c9ca7;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  line-height: 1.35;
  padding: 5px 0;
}

.mbti-pk-evidence-card small {
  color: #fff;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.35;
}

.mbti-pk-misread-grid,
.mbti-pk-role-grid,
.mbti-pk-share-lines {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mbti-pk-misread-grid,
.mbti-pk-role-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mbti-pk-role-grid .mbti-pk-third-role {
  grid-column: 1 / -1;
}

.mbti-pk-misread-card,
.mbti-pk-role-card,
.mbti-pk-share-lines button,
.mbti-pk-quality-stats article {
  min-width: 0;
  border: 1px dashed  rgba(63, 63, 70, 0.78);
  border-radius: 5px;
  background: rgba(9, 9, 11, 0.34);
  padding: 10px 15px;
}

#resultView.team-pk-report-view .mbti-pk-misread-card,
#resultView.team-pk-report-view .mbti-pk-role-card,
#resultView.team-pk-report-view .mbti-pk-share-lines button,
#resultView.team-pk-report-view .mbti-pk-quality-stats article {
  border-width: 1px;
  box-shadow: none;
}

.mbti-pk-misread-card {
  border-color: rgba(225, 29, 72, 0.32);
  background: rgba(136, 19, 55, 0.1);
}

.mbti-pk-role-card {
  display: grid;
  gap: 8px;
  border-color: rgba(20, 184, 166, 0.3);
  background: rgba(19, 78, 74, 0.1);
}

.mbti-pk-action-contract .mbti-pk-role-card {
  align-content: start;
}

.mbti-pk-action-contract .mbti-pk-role-card h3 {
  color: #f4f4f5;
  font-size: 0.62rem;
  line-height: 1.55;
}

.mbti-pk-third-role {
  border-color: rgba(250, 204, 21, 0.28);
}

.mbti-pk-common-boundary {
  grid-column: 1 / -1;
  border-color: rgba(250, 204, 21, 0.2);
  background: rgba(120, 53, 15, 0.08);
}

.mbti-pk-third-role-profile {
  gap: 6px;
}

.mbti-pk-mini-list {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  padding-top: 0;
}

.mbti-pk-mini-list span {
  flex: 0 0 auto;
  color: #fcd34d;
  font-size: 0.62rem;
  line-height: 1.55;
  white-space: nowrap;
}

.mbti-pk-mini-list em {
  display: block;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d4d4d8;
  padding: 0;
  font-size: 0.63rem;
  line-height: 1.55;
}

.mbti-pk-misread-card span,
.mbti-pk-role-card span,
.mbti-pk-share-lines span,
.mbti-pk-quality-stats span {
  color: #0be3fa;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 900;
  margin-top:10.5px;
}

.mbti-pk-misread-card h3,
.mbti-pk-role-card h3 {
  margin: 0 0 1px;
  color: #ebff03;
  overflow-wrap: anywhere;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.85;
}

.mbti-pk-role-card h3 {
  color: #5eead4;
}

.mbti-pk-third-role h3 {
  color: #fcd34d;
}

.mbti-pk-misread-card p,
.mbti-pk-role-card p,
.mbti-pk-role-card small,
.mbti-pk-role-card em,
.mbti-pk-quality-warnings p {
  margin: 0;
  color: #d4d4d8;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-style: normal;
  line-height: 1.65;padding-top: 10px;
}

.mbti-pk-misread-card p + p {

}

.mbti-pk-misread-card b {
  color: #fafafa;
  font-weight: 900;
  margin-right: 6px;
}

.mbti-pk-role-card small {
  color: #99f6e4;
}

.mbti-pk-role-card em {
  color: #a1a1aa;
}

.mbti-pk-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mbti-pk-share-head h2 {
  margin: 0 0 5px;
}

.mbti-pk-share-copy,
.mbti-pk-share-lines button {
  cursor: pointer;
}

.mbti-pk-share-copy {
  flex: 0 0 auto;
  min-height: 25px;
  border: 1px solid rgba(250, 204, 21, 0.42);
  border-radius: 6px;
  background: rgba(120, 53, 15, 0.28);
  color: #fcd34d;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 900;
}

.mbti-pk-share-lines button {
  display: grid;
  gap: 8px;
  width: 100%;
  text-align: left;
  border-color: rgba(250, 204, 21, 0.16);
  background: rgba(120, 53, 15, 0.1);
}

.mbti-pk-share-lines strong {
  color: #f4f4f5;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1.65;
  font-weight: 800;
}


.mbti-pk-quality-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.mbti-pk-quality-stats > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #d4d4d8;
  overflow-x: auto;
  padding: 2px 0;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.55;
  white-space: nowrap;
}

.mbti-pk-quality-stats article {
  display: grid;
  gap: 5px;
  border-color: rgba(82, 82, 91, 0.7);
  padding: 11px 12px;
}

.mbti-pk-quality-stats strong {
  color: #f4f4f5;
  font-size: 0.8rem;
  line-height: 1.2;
}

.mbti-pk-quality-warnings {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mbti-pk-quality-warnings p {
  border: 1px dashed  rgba(250, 204, 21, 0.16);
  border-radius: 5px;
  background: rgba(120, 53, 15, 0.1);
  color: #fcd34d;
  padding: 10px 12px;
}

.mbti-pk-factor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  border: 1px dashed rgba(136, 19, 55, 0.42);
  border-radius: 5px;
  background: rgba(136, 19, 55, 0.12);
  padding: 10px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

#resultView.team-pk-report-view .mbti-pk-factor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-width: 1px;
  border-color: rgba(136, 19, 55, 0.42);
  background: rgba(136, 19, 55, 0.12);

  box-shadow: none;
}

#resultView.team-pk-report-view .mbti-pk-factor-card p {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0;
  text-align: left;
}

#resultView.team-pk-report-view .mbti-pk-factor-card span {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

.mbti-pk-factor-card[data-tone="teal"] {
  border-color: rgba(19, 78, 74, 0.44);
  background: rgba(19, 78, 74, 0.12);
}

#resultView.team-pk-report-view .mbti-pk-factor-card[data-tone="teal"] {
  border-color: rgba(19, 78, 74, 0.44);
  background: rgba(19, 78, 74, 0.12);
}

.mbti-pk-factor-card h3 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
  margin: 0;
  color: #fb7185;
  overflow-wrap: anywhere;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.35;
}

.mbti-pk-factor-card[data-tone="teal"] h3 {
  color: #5eead4;
}

.mbti-pk-factor-card h3 i {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #f43f5e;padding-left: 5px;
}

.mbti-pk-factor-card[data-tone="teal"] h3 i {
  background: #14b8a6;
}

.mbti-pk-factor-card span {
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px dashed  rgba(225, 29, 72, 0.38);
  border-radius: 6px;
  background: rgba(136, 19, 55, 0.5);
  color: #fb7185;
  padding: 5px 7px;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.mbti-pk-factor-card[data-tone="teal"] span {
  border-color: rgba(20, 184, 166, 0.38);
  background: rgba(19, 78, 74, 0.5);
  color: #2dd4bf;
}

.mbti-pk-scenario-card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(9, 9, 11, 0.56), rgba(24, 24, 27, 0.34));
  padding: 18px;
}

#resultView.team-pk-report-view .mbti-pk-scenario-card {
  border-width: 1px;
  border-color: rgba(39, 39, 42, 0.8);
  background: linear-gradient(90deg, rgba(9, 9, 11, 0.56), rgba(24, 24, 27, 0.34));
  padding: 18px;
  box-shadow: none;border-radius: 6px;
}

.mbti-pk-scenario-card > span {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid rgba(82, 82, 91, 0.72);
  border-radius: 5px;
  background: #27272a;
  color: #a1a1aa;
  padding: 2px 7px;
  font-size: 0.6rem;
  font-weight: 800;
}

.mbti-pk-scenario-card h3 {
  margin: 0;
  color: #9e9ef8;
  padding-right: 0;
  padding-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.35;
}

.mbti-pk-scenario-card small {
  display: block;
  margin: 5px 0;
  color: #818cf8;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.mbti-pk-scenario-card div:last-child small {
  color: #fb7185;
}

.mbti-pk-scenario-card p {
  border: 1px dashed rgba(39, 39, 42, 0.7);
  border-radius: 6px;
  background: rgba(9, 9, 11, 0.42);
  padding: 6px 12px;
  font-size:0.62rem;
}

.mbti-pk-scenario-card div:last-child p {
  border-color: rgba(136, 19, 55, 0.28);
  background: rgba(136, 19, 55, 0.12);
  color: #fda4af;
}

.mbti-pk-guide-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px dashed rgba(120, 53, 15, 0.42);
  border-radius: 5px;
  background: rgba(120, 53, 15, 0.12);
  padding: 14px 16px;
}

#resultView.team-pk-report-view .mbti-pk-guide-card {
  border-width: 1px;
  border-color: rgba(120, 53, 15, 0.22);
  background: rgba(120, 53, 15, 0.12);
  padding: 10px 16px;
  box-shadow: none;
}

.mbti-pk-guide-card span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(180, 83, 9, 0.42);
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.65);
  color: #fcd34d;
  font-size: 0.6rem;
  font-weight: 900;
}

.mbti-pk-trial-evolution,
.mbti-pk-protocol {
  display: grid;
  gap: 14px;
}

.mbti-pk-trial-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px dashed rgba(20, 184, 166, 0.24);
  border-radius: 5px;
  background: rgba(19, 78, 74, 0.12);
  padding: 14px;
}

.mbti-pk-trial-card p {
  margin: 0;
  color: #74ff00;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.65;
}

.mbti-pk-trial-card > span,
.mbti-pk-review-template > span,
.mbti-pk-protocol-grid span {
  color: #5eead4;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.35;
}

.mbti-pk-trial-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mbti-pk-trial-examples b {
  min-width: 0;
  border: 1px dashed rgba(20, 184, 166, 0.18);
  border-radius: 7px;
  background: rgba(9, 9, 11, 0.26);
  color: #d4d4d8;
  padding: 9px;
  overflow-wrap: anywhere;
  font-size: 0.63rem;
  font-weight: 700;margin-top: 15px;
  line-height: 1.45;
}

.mbti-pk-trial-grid,
.mbti-pk-protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mbti-pk-trial-grid article,
.mbti-pk-protocol-grid article,
.mbti-pk-next-decision,
.mbti-pk-review-template {
  min-width: 0;
  border: 1px dashed rgba(63, 63, 70, 0.68);
  border-radius: 5px;
  background: rgba(9, 9, 11, 0.3);
  padding: 12px;
}

.mbti-pk-trial-grid article:first-child {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(20, 83, 45, 0.12);
}

.mbti-pk-trial-grid article:last-child {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.12);
}

.mbti-pk-trial-grid h3 {
  margin: 0 0 8px;
  color: #fff3c6;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.35;
}

.mbti-pk-trial-grid p,
.mbti-pk-next-decision p,
.mbti-pk-protocol-grid p,
.mbti-pk-review-template p {
  margin: 0;
  color: #d4d4d8;
  overflow-wrap: anywhere;
  font-size: 0.62rem;
  line-height: 1.62;
}

.mbti-pk-trial-grid p + p,
.mbti-pk-next-decision p + p,
.mbti-pk-review-template p + p {
  margin-top: 7px;
}

.mbti-pk-next-decision {
  display: grid;
  gap: 4px;
  border-color: rgba(129, 140, 248, 0.22);
  background: rgba(49, 46, 129, 0.12);
}

.mbti-pk-next-decision b {
  color: #c4b5fd;
}

.mbti-pk-protocol-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mbti-pk-protocol-grid article {
  display: grid;
  gap: 8px;
  border-color: rgba(250, 204, 21, 0.18);
  background: rgba(120, 53, 15, 0.1);
}

.mbti-pk-protocol-grid span,
.mbti-pk-review-template > span {
  color: #fcd34d;
}

.mbti-pk-review-template {
  display: grid;
  gap: 8px;
  border-color: rgba(20, 184, 166, 0.2);
  background: rgba(19, 78, 74, 0.1);
}

.mbti-pk-archive-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 210px) auto;
  align-items: center;
  gap: 14px;
  border-radius: 5px;
}

.mbti-pk-archive-panel[data-report-member-center="authenticated"] {
  grid-template-columns: minmax(0, 1fr) auto;
}

.mbti-pk-archive-panel h2 {
  margin-bottom: 8px;
  color: #a1a1aa;
}

.mbti-pk-archive-panel label {
  display: block;
  min-width: 0;
}

.mbti-pk-archive-panel input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(63, 63, 70, 0.82);
  border-radius: 10px;
  background: rgba(9, 9, 11, 0.78);
  color: #f4f4f5;
  padding: 8px 12px;
  font-size: 0.78rem;
}

.mbti-pk-archive-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px dashed  rgba(20, 184, 166, 0.14);
  border-radius: 3px;
 background: rgba(4, 51, 46, 0.36);
  color: #5eead4;
  padding: 12px 14px;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.mbti-pk-archive-panel .member-claim-result {
  grid-column: 1 / -1;
  border: 1px solid rgba(63, 63, 70, 0.6);
  border-radius: 10px;
  background: rgba(9, 9, 11, 0.46);
  color: #d4d4d8;
  padding: 10px 12px;
  font-size: 0.62rem;
  line-height: 1.6;
}

.mbti-pk-footer {
  padding: 26px 16px 28px;
  text-align: center;
}

.mbti-pk-footer-meta {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.15;
}

.mbti-pk-footer-disclaimer {
  max-width: 760px;
  margin: 6px auto 0;
  color: #7f7f80;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.5;
}

.team-report-seo-summary {
  border: 1px solid rgba(39, 39, 42, 0.86);
  border-radius: 5px;
  background: rgba(9, 9, 11, 0.72);
  color: #e4e4e7;
  margin: 18px 0;
  padding: 18px;
}

.team-report-seo-summary p {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.82rem;
  line-height: 1.75;
}

.team-report-seo-summary h2 {
  margin: 8px 0;
  color: #f4f4f5;
  font-size: 1.15rem;
  line-height: 1.35;
}

@media (max-width: 640px) {
	#resultView .team-v3-corpus-topic-card p.mbti-pk-full-line {
  color: #a8a8a8;
}
  .mbti-pk-header{padding:0;border-radius:0;min-height:0;gap:0; background: transparent; box-shadow: none;backdrop-filter: none;border: 0}
  .mbti-pk-mobile-menu summary{background:0;border:0}
  .mbti-pk-mobile-menu nav{box-shadow:0;padding:0;min-width:100px;top: 35px;height: 56px;}
  .mbti-pk-mobile-menu nav a{padding: 3px 12px;font-size: 0.6rem;font-weight: 400;line-height: 2;}
  #resultView .team-v3-mobile-smart-source{display: none !important;}
  #resultView .team-v3-mobile-smart-copy,
  #resultView .team-v3-baseline-detail .team-v3-mobile-smart-copy{display: block;white-space: normal;}
  #resultView .team-v3-corpus-profile-grid{gap:6px;}
  #resultView .team-v3-corpus-score .mbti-pk-score-left h3{font-size: 0.6rem;}
  .team-v3-ladder-copy > span{font-size: 0.62rem;}
  .#resultView .team-v3-baseline-detail p{font-size: 0.55rem;}
  .mbti-pk-verdict{padding: 12px 5px;}
  #resultView.team-pk-report-view .team-v3-corpus-topic-grid{grid-template-columns: repeat(1, minmax(0, 1fr)) !important;}
  #resultView .team-v3-corpus-topic-relation-panel{background:none}
  .mbti-pk-shell {gap: 18px;padding: 10px 15px 15px 15px;}
#resultView .team-v3-baseline-detail p{font-size: 0.55rem;line-height: 1.7;color: #ffd7a3;padding: 3px;}
#entryView.team-panel .scene-tag {left: 10px;}


  .mbti-pk-header-actions {
    display: none;
  }

  .mbti-pk-mobile-menu {
    display: block;
  }

  .mbti-pk-brand {
    flex: 1 1 auto;
    max-width: calc(100% - 50px);
    gap: 10px;
  }

  .mbti-pk-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .mbti-pk-brand h1 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.94rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mbti-pk-stage {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 0 14px;
  }

  #resultView.team-pk-report-view .mbti-pk-social-hero span,
  .mbti-pk-social-hero span {
    display: none !important;
  }

  .mbti-pk-profile-grid {
    gap: 10px;
  }

  .mbti-pk-profile-card {
    border-radius: 16px;
    padding: 16px 8px 11px;
  }

  #resultView.team-pk-report-view .mbti-pk-profile-card {
    padding: 16px 8px 11px;border-radius: 4px;
  }

  .mbti-pk-avatar-wrap,
  .mbti-pk-avatar-wrap img {
    width: 74px;
    height: 74px;
  }

  .mbti-pk-profile-copy h3 {
    white-space: normal;
    font-size: 0.7rem;
  }

  .mbti-pk-score-band {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 12px;
  }

  .mbti-pk-score-left {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .mbti-pk-score-left > div:last-child {
    min-width: 0;
  }

  .mbti-pk-score-left p {
    display: block;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .mbti-pk-ring {
    width: 52px;
    height: 52px;margin-top: 5px;
  }

  .mbti-pk-ring svg {
    width: 52px;
    height: 52px;
  }

  .mbti-pk-score-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 10px;
    min-width: 0;
    border-top: 1px dashed rgba(63, 63, 70, 0.72);
    padding-top: 10px;
    text-align: left;
  }

  .mbti-pk-score-right strong {
    margin-top: 0;
    text-align: right;
  }

  .mbti-pk-score-right em {
    grid-column: 1 / -1;
    margin-top: 0;
    overflow-wrap: anywhere;
  }

  .mbti-pk-subtype-grid,
  .mbti-pk-evidence-grid,
  .mbti-pk-member-biography .mbti-pk-topic-situation-list,
  .mbti-pk-topic-personalization .mbti-pk-topic-situation-list,
  .mbti-pk-topic-situation .mbti-pk-topic-situation-list,
  .mbti-pk-misread-grid,
  .mbti-pk-role-grid,
  .mbti-pk-trial-examples,
  .mbti-pk-trial-grid,
  .mbti-pk-protocol-grid,
  .mbti-pk-quality-stats,
  .mbti-pk-archive-panel,
  .mbti-pk-archive-panel[data-report-member-center="authenticated"] {
    grid-template-columns: 1fr;
  }

  .mbti-pk-evidence-head,
  .mbti-pk-share-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .mbti-pk-share-copy {
    width: 100%;
  }

  .personality-color-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .personality-color-relation {
    font-size: 0.58rem;
  }

  .personality-color-starfield {
    padding: 8px;
  }

  .personality-color-canvas-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .personality-color-canvas-wrap {
    min-height: 212px;
  }

  .personality-color-canvas {
    height: 212px;
  }

  .mbti-pk-panel,
  .mbti-pk-analysis {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
  }

  #resultView .team-v3-baseline-map {
    min-height: 330px;
    aspect-ratio: 1 / 1;
  }

  #resultView .team-v3-baseline-anchor,
  #resultView .team-v3-baseline-center,
  #resultView .team-v3-baseline-node {
    padding: 8px;
  }

  #resultView .team-v3-baseline-anchor strong,
  #resultView .team-v3-baseline-center strong,
  #resultView .team-v3-baseline-node strong {
    max-width: 86px;
    font-size: 0.55rem;
  }

  #resultView .team-v3-baseline-anchor span,
  #resultView .team-v3-baseline-center span,
  #resultView .team-v3-baseline-node span {
    font-size: 0.55rem;
  }

  .team-v3-ladder-copy {
    max-width: none;
  }

  .team-v3-corpus-score .team-v3-ladder-copy p {
    max-width: none;
    font-size: 0.6rem;
	line-height: 1.5;padding: 0;
  }

  #resultView .team-v3-baseline-center span {
    font-size: 0.66rem;
  }

  #resultView .team-v3-baseline-anchor-left {
    left: 14%;
  }

  #resultView .team-v3-baseline-anchor-right {
    left: 86%;
  }

  #resultView .team-v3-baseline-center {
  }

  #resultView .team-v3-baseline-node-shared,
  #resultView .team-v3-baseline-node-pressure {
    left: 25%;
  }

  #resultView .team-v3-baseline-node-complement,
  #resultView .team-v3-baseline-node-protocol {
    left: 75%;
  }

  #resultView .team-v3-baseline-detail-stack {
    grid-template-columns: 1fr;
  }

  #resultView .team-v3-baseline-switcher {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  #resultView .team-v3-baseline-switcher button {
    flex: 0 0 auto;
  }

  .team-combo-verdict-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .team-combo-verdict-grid article {
    padding: 11px;
  }

  .mbti-pk-tabs {
    gap: 6px;
  }

  .mbti-pk-tab {
    padding: 8px 10px;
    font-size: 0.62rem;
  }

  .mbti-pk-factor-card div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 380px) {
	.mbti-pk-stat b{font-size: 0.45rem;}
  .mbti-pk-score-band {
    padding: 10px;
  }

  .mbti-pk-brand h1 {
    font-size: 0.86rem;
  }

  .mbti-pk-mobile-menu summary {
    width: 36px;
    height: 36px;
  }

  .mbti-pk-score-right {
    grid-template-columns: 1fr;
    min-width: 0;
    text-align: left;
  }

  .mbti-pk-score-right strong {
    text-align: left;
  }

  #resultView .team-v3-baseline-map {
    min-height: 300px;
  }

  #resultView .team-v3-baseline-anchor,
  #resultView .team-v3-baseline-center,
  #resultView .team-v3-baseline-node {
    min-width: 66px;
    min-height: 46px;
    padding: 6px;
  }

  #resultView .team-v3-baseline-anchor strong,
  #resultView .team-v3-baseline-center strong,
  #resultView .team-v3-baseline-node strong {
    max-width: 74px;
    font-size: 0.55rem;
  }

  #resultView .team-v3-baseline-node span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #resultView .team-v3-baseline-star *,
  #resultView .team-v3-baseline-star *::before,
  #resultView .team-v3-baseline-star *::after {
    animation: none !important;
    transition: none !important;
  }
}

#resultView.team-pk-report-view .team-v3-corpus-profile-card .mbti-pk-avatar-wrap {
  width: 96px !important;
  height: 118px !important;
}

#resultView.team-pk-report-view .team-v3-corpus-profile-card .mbti-pk-avatar-wrap img {
  width: 96px !important;
  height: 118px !important;
  object-fit: cover;
}

#resultView.team-pk-report-view .team-v3-corpus-profile-card .team-v3-corpus-avatar-pedestal {
  position: absolute !important;
  z-index: 0;
  left: 50%;
  bottom: -14px;
  display: block !important;
  width: 86px !important;
  height: 24px !important;
  border-radius: 999px;
  filter: blur(4px);
  transform: translateX(-50%);
}
