#profileView .profile-card.portrait-result-card {
  position: relative;
  overflow: hidden;
  background-color: #080312;
}

#profileView .profile-readable-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(#090909, #090909) 0 45px / 100% calc(100% - 45px) no-repeat;
  background-color: #090909;
}

#profileView .profile-readable-panel::before {
  background: #090909;
}

.risk-power-panel .risk-power-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.risk-power-panel .risk-power-head h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.risk-power-panel .risk-power-head > strong {
  flex: 0 0 auto;
  font-size: 0.65rem;
  letter-spacing: 0;
  border: 1px solid #414141;
  padding: 5px 10px;
  margin-top: 10px;
  font-weight: 400;
  border-radius: 4px;
  color: #bababa;
}

.risk-power-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.risk-power-tags > div {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 12px;
}

.risk-power-tags span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.65rem;
}

.risk-power-tags strong {
  display: inline-block;
  margin: 0 10px 0 0;
  font-size: 0.7rem;
}

.risk-power-tags a {
  display: inline-block;
  margin: 0 6px 6px 0;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.risk-power-tags p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.65rem;
  line-height: 1.65;
}

.risk-theme-map {
  margin-top: 14px;
}

@media (max-width: 720px) {
  .risk-power-panel .risk-power-head,
  .risk-power-tags {
    display: grid;
    grid-template-columns: 1fr;
  }
}

#profileView .profile-card.portrait-result-card::before {
  content: "";
  position: absolute;
  inset: 45px 0 0;
  z-index: 0;
  background: var(--profile-final-background);
  background-color: var(--profile-final-background-color, #080312);
  background-size: var(--profile-final-background-size, auto);
  background-position: var(--profile-final-background-position, 0 0);
  background-repeat: var(--profile-final-background-repeat, repeat);
  box-shadow: inset 0 0 220px rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

#profileView .profile-card.portrait-result-card::after {
  content: none;
}

#profileView .profile-card.portrait-result-card .hazard-strip {
  display: none;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-00"] {
  --final-card-u: 5px;
  --final-card-c1: #ededee;
  --final-card-c2: #000000;
  --final-card-c3: #1e1e1e;
  --profile-final-background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    conic-gradient(from 122deg at 50% 85.15%, var(--final-card-c2) 0 58deg, var(--final-card-c3) 0 116deg, transparent 0 100%),
    conic-gradient(from 122deg at 50% 72.5%, var(--final-card-c1) 0 116deg, transparent 0 100%),
    conic-gradient(from 58deg at 82.85% 50%, var(--final-card-c3) 0 64deg, transparent 0 100%),
    conic-gradient(from 58deg at 66.87% 50%, var(--final-card-c1) 0 64deg, var(--final-card-c2) 0 130deg, transparent 0 100%),
    conic-gradient(from 238deg at 17.15% 50%, var(--final-card-c2) 0 64deg, transparent 0 100%),
    conic-gradient(from 172deg at 33.13% 50%, var(--final-card-c3) 0 66deg, var(--final-card-c1) 0 130deg, transparent 0 100%),
    linear-gradient(98deg, var(--final-card-c3) 0 15%, transparent calc(15% + 1px) 100%),
    linear-gradient(-98deg, var(--final-card-c2) 0 15%, transparent calc(15% + 1px) 100%),
    conic-gradient(from -58deg at 50.25% 14.85%, var(--final-card-c3) 0 58deg, var(--final-card-c2) 0 116deg, transparent 0 100%),
    conic-gradient(from -58deg at 50% 28.125%, var(--final-card-c1) 0 116deg, transparent 0 100%),
    linear-gradient(90deg, var(--final-card-c2) 0 50%, var(--final-card-c3) 0 100%);
  --profile-final-background-size:
    auto,
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8),
    calc(var(--final-card-u) * 16.9) calc(var(--final-card-u) * 12.8);
  --profile-final-background-position: 0 0, 50%, 50%, 50%, 50%, 50%, 50%, 50%, 50%, 50%, 50%, 50%;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-01"] {
  --profile-final-background:
    radial-gradient(25% 25% at 25% 25%, #180a22 99%, transparent 101%),
    radial-gradient(25% 25% at 25% 25%, #180a22 99%, transparent 101%),
    radial-gradient(50% 50%, #5b42f3 98%, transparent),
    repeating-conic-gradient(#5b42f3 0 50%, #180a22 0 100%);
  --profile-final-background-size: 120px 120px, 120px 120px, 60px 60px, 120px 60px;
  --profile-final-background-position: 60px 60px, 0 0, 0 0, 30px 0;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-02"] {
  --profile-final-background:
    linear-gradient(45deg, rgb(248, 255, 182) 25%, transparent 25%, transparent 75%, rgb(248, 255, 182) 75%, rgb(248, 255, 182)),
    linear-gradient(135deg, rgb(248, 255, 182) 25%, rgb(0, 3, 49) 25%, rgb(0, 3, 49) 75%, rgb(248, 255, 182) 75%, rgb(248, 255, 182));
  --profile-final-background-size: 90px 90px;
  --profile-final-background-position: 0 0, 135px 135px;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-03"] {
  --profile-final-background:
    linear-gradient(145deg, #7f727b 10%, #d6b4c2 10.5% 19%, transparent 19.5% 80.5%, #d6b4c2 81% 89.5%, #baa0ab 90%),
    linear-gradient(145deg, #7f727b 10%, #d6b4c2 10.5% 19%, transparent 19.5% 80.5%, #d6b4c2 81% 89.5%, #baa0ab 90%),
    linear-gradient(35deg, #7f727b 10%, #d6b4c2 10.5% 19%, transparent 19.5% 80.5%, #d6b4c2 81% 89.5%, #baa0ab 90%),
    linear-gradient(35deg, #7f727b 10%, #d6b4c2 10.5% 19%, transparent 19.5% 80.5%, #d6b4c2 81% 89.5%, #baa0ab 90%),
    conic-gradient(from -90deg at 37.5% 50%, transparent 75%, #7f727b 0),
    conic-gradient(from -90deg at 37.5% 50%, transparent 75%, #baa0ab 0),
    linear-gradient(90deg, #baa0ab 38%, #7f727b 0 50%, #baa0ab 0 62%, #7f727b 0);
  --profile-final-background-size: 222px 148px;
  --profile-final-background-position: 0 0, 111px 222px, 0 0, 111px 222px, 27.75px 0, 111px 0, 0 0;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-04"] {
  --profile-final-background:
    radial-gradient(circle at 22% 18%, rgba(245, 255, 255, 0.12) 0 2px, transparent 3px 34px),
    radial-gradient(circle at 78% 72%, rgba(248, 200, 74, 0.14) 0 2px, transparent 3px 46px),
    repeating-radial-gradient(ellipse at 50% 50%, rgba(175, 255, 255, 0.12) 0 1px, transparent 2px 15px),
    linear-gradient(135deg, rgb(52, 65, 73), #111820 48%, #05080d);
  --profile-final-background-size: 90px 90px, 130px 130px, 180px 180px, auto;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-05"] {
  --profile-final-background:
    linear-gradient(135deg, #18181b 25%, transparent 25%),
    linear-gradient(225deg, #18181b 25%, transparent 25%),
    linear-gradient(315deg, #18181b 25%, transparent 25%),
    linear-gradient(45deg, #18181b 25%, transparent 25%),
    linear-gradient(90deg, #3b82f6 50%, transparent 50%),
    linear-gradient(180deg, #3b82f6 50%, #2563eb 50%);
  --profile-final-background-color: #1e293b;
  --profile-final-background-size:
    40px 40px,
    40px 40px,
    40px 40px,
    40px 40px,
    40px 40px,
    100% 100%;
  --profile-final-background-position:
    -20px 0,
    -20px 0,
    0 0,
    0 0,
    0 0,
    0 0;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-06"] {
  --profile-final-background:
    linear-gradient(45deg, rgb(72, 85, 99) 25%, transparent 25%, transparent 75%, rgb(72, 85, 99) 75%),
    linear-gradient(45deg, transparent 25%, rgb(255, 206, 84) 25%, rgb(255, 206, 84) 75%, transparent 75%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    linear-gradient(rgb(255, 206, 84), rgb(255, 206, 84));
  --profile-final-background-size: 80px 80px, 80px 80px, 100% 100%, auto;
  --profile-final-background-position: 0 0, 40px 40px, 0 0, 0 0;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-07"] {
  --profile-final-background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 20% 18%, rgba(175, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 84% 70%, rgba(157, 78, 221, 0.2), transparent 28%),
    linear-gradient(145deg, rgb(0, 0, 0), rgba(35, 35, 35, 0.92), rgb(50, 50, 50));
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-08"] {
  --profile-final-background:
    repeating-linear-gradient(90deg, #111111 1%, transparent 1% 2%, #111111 2% 3%),
    repeating-linear-gradient(0deg, #111111 1%, transparent 1% 2%, #111111 2% 3%),
    repeating-radial-gradient(ellipse at 0% 0%, white 10%, transparent 10% 20%, white 20% 30%),
    repeating-radial-gradient(ellipse at 100% 100%, white 10%, transparent 10% 20%, white 20% 30%),
    linear-gradient(gray, gray);
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-09"] {
  --profile-final-background:
    linear-gradient(32deg, rgba(8, 8, 8, 0.74) 30px, transparent),
    linear-gradient(#111111, #111111);
  --profile-final-background-size: 60px 60px, auto;
  --profile-final-background-position: -5px -5px, 0 0;
}

#profileView .profile-card.portrait-result-card[data-profile-background="profile-bg-10"] {
  --profile-final-background:
    radial-gradient(circle at 50% 50%, rgba(175, 255, 255, 0.13), transparent 58%),
    repeating-radial-gradient(circle, #000 0 5px, transparent 6px 30px),
    linear-gradient(#101010, #101010);
  --profile-final-background-size: 100% 100%, 30px 30px, auto;
}

#profileView .profile-card.portrait-result-card > .hazard-strip,
#profileView .profile-card.portrait-result-card > .phase-head,
#profileView .profile-card.portrait-result-card > .phase-portrait-card,
#profileView .profile-card.portrait-result-card > .portrait-card-copy {
  position: relative;
  z-index: 2;
}

#profileView .profile-card.portrait-result-card > .hazard-strip {
  position: absolute;
  z-index: 1;
}

#profileView .profile-card.portrait-result-card > .phase-portrait-card,
#profileView .profile-card.portrait-result-card > .portrait-card-copy {
  box-sizing: border-box;
  width: min(430px, 100%);
  border: 20px solid #000;
  background: #000;
}

#profileView .profile-card.portrait-result-card > .phase-portrait-card {
  margin-bottom: 0;
  padding: var(--portrait-frame-inset);
}

#profileView .profile-card.portrait-result-card > .phase-portrait-card::after {
  content: "";
  position: absolute;
  inset: var(--portrait-border-inset);
  z-index: 1;
  clip-path: var(--portrait-shape);
  pointer-events: none;
  background: conic-gradient(
    from var(--portrait-border-angle),
    transparent 0deg 20deg,
    #fff4b8 36deg,
    #f8c84a 54deg,
    #9d4edd 86deg,
    transparent 112deg 180deg,
    #6d28d9 214deg,
    #f4b942 252deg,
    transparent 292deg 360deg
  );
  box-shadow: 0 0 16px rgba(248, 200, 74, 0.55), 0 0 24px rgba(157, 78, 221, 0.38), inset 0 0 14px rgba(255, 244, 184, 0.24);
  animation: portraitBorderFlow 2.8s linear infinite;
}

#profileView .profile-card.portrait-result-card > .portrait-card-copy {
  margin-top: -10px;
  border-top: 0;
}

#profileView .profile-card.portrait-result-card > .phase-head {
  justify-content: center;
  padding-right: 78px;
  padding-left: 78px;
  text-align: center;
}

#profileView .profile-card.portrait-result-card > .phase-head > div {
  justify-content: center;
}

#profileView .profile-card.portrait-result-card > .phase-head h2 {
  max-width: 100%;
  text-align: center;
}

#profileView #rankList {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#profileView #rankList .rank-item {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 6px;
  min-width: 0;
}

#profileView #rankList .rank-title,
#profileView #rankList .rank-meta,
#profileView #rankList .rank-score {
  min-width: 0;
  overflow-wrap: anywhere;
}

#profileView #rankList .rank-score {
  justify-self: start;
  font-size: 0.8125rem;
}

#profileView #strategyAnchorList.rank-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
}

#profileView #strategyAnchorList.rank-list.compact .rank-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#profileView #strategyAnchorList .rank-title,
#profileView #strategyAnchorList .rank-meta,
#profileView #strategyAnchorList .rank-score {
  min-width: 0;
  overflow-wrap: anywhere;
}

#profileView #strategyAnchorList .rank-score {
  justify-self: end;
  align-self: center;
  font-size: 0.62rem;color: #5ee8ff;
  white-space: nowrap;
}

#profileView .phase-code-main {
  color: #ffd45a;
  background:
    radial-gradient(circle at 18% 50%, #fff9c8 0 9%, transparent 10% 24%),
    linear-gradient(115deg, #f7a400 0%, #ffe27a 22%, #fff7be 38%, #f2b400 55%, #ffcf33 72%, #fff1a8 100%);
  background-size: 180% 160%, 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: profileGoldCodeFlow 1.7s ease-in-out infinite;
}

#profileView .phase-code-core {
  min-width: min(8em, 100%);
}

#profileView .phase-portrait-title {
  width: min(86%, 330px);
}

#profileView .phase-portrait-title .title {
  justify-content: center;
  gap: 1px;
}

#profileView .phase-code-sub {
  color: #f8c84a;
  background: linear-gradient(90deg, #fff4b8 0%, #f8c84a 32%, #9d4edd 62%, #fff4b8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 7px rgba(248, 200, 74, 0.48));
  animation: profileGoldCodeFlow 1s linear infinite reverse;
}

#profileView .profile-narrative p:first-child {
  color: #cfcfcf;
  font-size: 0.62rem;
  line-height: 1.7;text-align: justify;
  text-align-last: left;
  text-justify: inter-ideographic;
  word-break: break-all;
}

#profileView .profile-core-tension {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px dashed rgba(248, 200, 74, 0.44);
  background: linear-gradient(135deg, rgba(248, 200, 74, 0.08), rgba(8, 3, 18, 0.86));
  padding: 12px;
  box-shadow: inset 0 0 18px rgba(248, 200, 74, 0.08), 0 0 18px rgba(0, 0, 0, 0.28);
  border-radius: 6px;
}

#profileView .profile-core-tension-loader {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 0.2fr);
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 46%),
    rgba(8, 3, 18, 0.66);
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  flex: 0 0 auto;
  user-select: none;
  overflow: hidden;
}

#profileView .profile-core-tension-loader-ring {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  inset: 0;
  margin-bottom: 0;
  border-radius: 50%;
  background-color: transparent;
  color: inherit;
  animation: profileTensionLoaderRotate 2s linear infinite;
  z-index: 0;
  opacity: 0.64;
}

#profileView .profile-core-tension-loader-letter {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 0;
  border: none;
  border-radius: 50ch;
  color: #fff;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  opacity: 1;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.88);
  transform: translateY(0);
  animation: profileTensionLoaderLetterWhite 2s infinite;
}

#profileView .profile-core-tension-loader-letter:nth-child(1) {
  animation-delay: 0s;
}

#profileView .profile-core-tension-loader-letter:nth-child(2) {
  animation-delay: 0.1s;
}

#profileView .profile-core-tension-loader-letter:nth-child(3) {
  animation-delay: 0.2s;
}

#profileView .profile-core-tension-loader-letter:nth-child(4) {
  animation-delay: 0.3s;
}

#profileView .profile-core-tension > strong {
  color: #03fbfb;
  font-size: 0.65rem;
  line-height: 1.6;
}

#profileView .profile-core-tension-persona {
  grid-template-columns: auto minmax(0, 1fr);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(8, 3, 18, 0.9) 48%),
    #080312;
}

#profileView .profile-core-tension-persona > span {
  display: block;
  margin-bottom: 0;
  color: #ff9307;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.55;
  white-space: normal;
}

#profileView #profileNarrativePanel {
  overflow: hidden;
}

#profileView #profileNarrativePanel .profile-mini-biography-head {
  position: absolute;
  top: 8px;
  left: 15px;
  z-index: 4;
  max-width: calc(100% - 50px);
  min-height: 29px;
  margin: 0;
  align-items: center;
}

#profileView #profileNarrativePanel .profile-mini-biography-head .scene-tag {
  margin: 0;
}

#profileView #profileNarrativePanel .profile-narrative strong {
  color: #f5ffff;
  font-weight: 900;
}

#profileView #profileNarrativePanel .profile-core-tension-persona .profile-core-tension-emphasis {
  display: inline;
  color: #ffc166;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  white-space: normal;
}

#profileView .persona-skill-tag-copy {
  max-width: 760px;
  color: rgba(245, 255, 255, 0.78);
  font-size: 0.65rem;
}

#profileView .strategy-map {
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(248, 200, 74, 0.28);
  background: radial-gradient(circle at 50% 45%, rgba(248, 200, 74, 0.08), rgba(8, 3, 18, 0.88) 58%);
  border-radius: 6px;margin-top: 10px;margin-bottom: 10px;
}

#profileView #strategyPanel #strategyStatus:empty {
  padding-top: 15px;
}

#profileView .strategy-insight-grid {
  right: 12px;
  bottom: 12px;
  width: min(38%, 300px);
}

#profileView .strategy-insight-block {
  border-color: rgba(248, 200, 74, 0.24);
  background: rgba(8, 3, 18, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#profileView .strategy-insight-block > span {
  color: rgba(248, 200, 74, 0.78);
}

#profileView .strategy-mini-list a {
  color: #facc15;
}

@media (max-width: 760px) {
	#profileView #strategyAnchorList.rank-list.compact{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
 
}
  #profileView #strategyAnchorList.rank-list.compact .rank-item {
    
  }

  #profileView #strategyAnchorList .rank-title {
    font-size: 0.65rem;
    line-height: 1.25;font-weight: 400;
  }

  #profileView #strategyAnchorList .rank-meta {
    font-size: 0.64rem;
    line-height: 1.35;
  }

  #profileView #strategyAnchorList .rank-score {
    font-size: 0.62rem;
  }
	.rank-list{display: initial;}
  #profileView .strategy-insight-grid {
    right: 8px;
    bottom: 8px;
    width: min(68%, 250px);
  }
}

#profileView .strategy-you-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0;
  place-items: center;
  width: 156px;
  min-height: 112px;
  color: #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;margin-top: 20px;
}

#profileView .strategy-you-label {
  position: relative;
  z-index: 2;
  color: #f5ffff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 8px rgba(240, 40, 253, 0.8), 0 0 12px rgba(43, 222, 172, 0.8);
}

#profileView .strategy-you-meta {
  position: relative;
  z-index: 2;
  max-width: 156px;
  border: 1px solid rgba(175, 255, 255, 0.32);
  background: rgba(8, 3, 18, 0.78);
  color: #afffff;
  padding: 4px 6px;
  font-size: 0.5625rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 0 12px rgba(43, 222, 172, 0.22);
}

#profileView .strategy-you-pyramid {
  position: relative;
  display: block;
  width: 96px;
  height: 96px;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) scale(0.52);
}

#profileView .strategy-you-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: profileYouSpin 4s linear infinite;
}

#profileView .strategy-you-side {
  position: absolute;
  inset: 0;
  width: 78px;
  height: 78px;
  margin: auto;
  transform-origin: center top;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

#profileView .strategy-you-side1 {
  background: conic-gradient(#2bdeac, #f028fd, #d8cce6, #2f2585);
  transform: rotateZ(-30deg) rotateY(90deg);
}

#profileView .strategy-you-side2 {
  background: conic-gradient(#2f2585, #d8cce6, #f028fd, #2bdeac);
  transform: rotateZ(30deg) rotateY(90deg);
}

#profileView .strategy-you-side3 {
  background: conic-gradient(#2f2585, #d8cce6, #f028fd, #2bdeac);
  transform: rotateX(30deg);
}

#profileView .strategy-you-side4 {
  background: conic-gradient(#2bdeac, #f028fd, #d8cce6, #2f2585);
  transform: rotateX(-30deg);
}

#profileView .strategy-you-shadow {
  position: absolute;
  inset: 0;
  width: 68px;
  height: 68px;
  margin: auto;
  background: #8b5ad5;
  filter: blur(12px);
  transform: rotateX(90deg) translateZ(-40px);
}

@media (max-width: 520px) {
  #profileView .strategy-map {
   margin-bottom: 12px;margin-top: 12px;
  }

  #profileView .strategy-you-marker {
    width: 132px;
    min-height: 96px;
    margin-top: 12px;
  }

  #profileView .strategy-you-label {
    font-size: 0.62rem;
  }

  #profileView .strategy-you-meta {
    max-width: 128px;
    padding: 3px 5px;
    font-size: 0.45rem;border-radius: 4px;font-weight: 400;
  }

  #profileView .strategy-you-pyramid {
    width: 82px;
    height: 82px;
    transform: rotateX(-20deg) scale(0.48);
  }
}

#profileView .member-claim-panel .member-claim-grid {
  grid-template-columns: 18em auto;
  align-items: end;
  justify-content: start;
  width: fit-content;
  max-width: 100%;
}

#profileView .member-claim-panel .member-claim-grid label {
  display: flex;
  flex-direction: column;
  width: 18em;
  max-width: 100%;
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 1rem;
}

#profileView .member-claim-panel .member-claim-grid[data-member-state="authenticated"] {
  grid-template-columns: auto;
}

#profileView .member-claim-panel .member-claim-grid[data-member-state="authenticated"] label {
  display: none;
}

#profileView .member-claim-panel .member-claim-grid label span {
  display: none;
}

#profileView .member-claim-panel .member-claim-grid input {
  appearance: none;
  border: 0;
  background: #080312;
  color: #fff;
  padding: 0.45em;
  font-size: 0.8rem;
  image-rendering: pixelated;
  outline: none;
  text-shadow: 1px 1px #000;
  box-shadow:
    0 0 0 0.15em #000,
    0 0 0 0.3em #fff,
    0 0 0 0.45em #000,
    0 0.3em 0 0 #d1451e,
    0 0.3em 0 0.15em #000;
  transition: all 0.15s steps(1);border-radius: 2px;
}

#profileView .member-claim-panel .member-claim-grid input::placeholder {
  color: #fff;
  opacity: 0.64;
}

#profileView .member-claim-panel .member-claim-grid input:focus {
  background: #000000;
  box-shadow:
    0 0 0 0.15em #000,
    0 0 0 0.3em #fff,
    0 0 0 0.45em #000,
    0 0.2em 0 0 #00cc66,
    0 0.2em 0 0.15em #000;
}

#profileView .member-claim-panel #memberClaimBtn {
  width: fit-content;
  white-space: nowrap;
  min-height: 0;
  margin-top: 0;
  border: 0;
  background: #ff6b35;
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  font-weight: 900;
  text-shadow: 1px 1px #000;
  box-shadow:
    0 0 0 0.15em #000,
    0 0 0 0.3em #fff,
    0 0 0 0.45em #000,
    0 0.3em 0 0 #d1451e,
    0 0.3em 0 0.15em #000;
  clip-path: none;border-radius: 2px;
}

#profileView .member-claim-panel #memberClaimBtn::before,
#profileView .member-claim-panel #memberClaimBtn::after {
  content: none;
}

#profileView .member-claim-panel #memberClaimBtn:hover,
#profileView .member-claim-panel #memberClaimBtn:focus-visible {
  background: #ff8c42;
  color: #fff;
}

#profileView .member-claim-panel #memberClaimBtn:active {
  transform: translateY(0.1em);
  box-shadow:
    0 0 0 0.15em #000,
    0 0 0 0.3em #fff,
    0 0 0 0.45em #000,
    0 0.18em 0 0 #d1451e,
    0 0.18em 0 0.15em #000;
}

@keyframes profileGoldCodeFlow {
  0% {
    background-position: 0% 46%, 0% 50%;
  }

  50% {
    background-position: 110% 58%, 100% 50%;
  }

  100% {
    background-position: 220% 46%, 200% 50%;
  }
}

@keyframes profileTensionLoaderRotate {
  0% {
    transform: rotate(90deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 30px 0 #ad5fff inset,
      0 60px 60px 0 #471eec inset;
  }

  50% {
    transform: rotate(270deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 10px 0 #d60a47 inset,
      0 40px 60px 0 #311e80 inset;
  }

  100% {
    transform: rotate(450deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 30px 0 #ad5fff inset,
      0 60px 60px 0 #471eec inset;
  }
}

@keyframes profileTensionLoaderLetter {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  20% {
    opacity: 1;
    transform: scale(1.15);
  }

  40% {
    opacity: 0.7;
    transform: translateY(0);
  }
}

@keyframes profileTensionLoaderLetterWhite {
  0%,
  100% {
    color: #fff;
    opacity: 1;
    transform: translateY(0);
  }

  20% {
    color: #fff;
    opacity: 1;
    transform: scale(1.15);
  }

  40% {
    color: #fff;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes profileSceneFloating {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes profileSceneCardRotation {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes profileYouSpin {
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes profileGlitchInput {
  0%, 100% {
    transform: translate(0);
  }

  25% {
    transform: translate(-1px, 1px);
  }

  50% {
    transform: translate(1px, -1px);
  }

  75% {
    transform: translate(-1px, -1px);
  }
}

@media (max-width: 480px) {
	
	#profileView .profile-card.portrait-result-card > .phase-head.phase-head-centered {
  display: none !important;
}

	#profileView .profile-card.portrait-result-card > .phase-head h2 {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

  #profileView .profile-card.portrait-result-card::before {
    inset: 45px 0 0;
    background: #080312;
    background-image: none;
    background-size: auto;
    background-position: 0 0;
    background-repeat: no-repeat;
    box-shadow: none;
  }

  #profileView .profile-card.portrait-result-card[data-profile-background] {
    --profile-final-background: #080312;
    --profile-final-background-size: auto;
    --profile-final-background-position: 0 0;
    --profile-final-background-repeat: no-repeat;
  }

  #profileView .profile-card.portrait-result-card > .phase-portrait-card,
  #profileView .profile-card.portrait-result-card > .portrait-card-copy {
    width: calc(100% + 36px);
    max-width: none;
    margin-right: -18px;
    margin-left: -18px;margin-bottom: -30px;
  }

  #profileView .profile-card.portrait-result-card > .phase-portrait-card {
    margin-top: -16px;
    margin-bottom: 0;
  }

  #profileView .profile-card.portrait-result-card > .portrait-card-copy {
    margin-top: 0;
  }

  #profileView .member-claim-panel .member-claim-grid {
    grid-template-columns: minmax(0, 1fr) auto;

    width: 100%;
  }

  #profileView .member-claim-panel #memberClaimBtn {
    width: fit-content;
    padding-right: 0.8em;
    padding-left: 0.8em;
    font-size: 0.8rem;
	margin-left: 5px;
    margin-top: -10px;
  }
  
  #profileView .profile-core-tension-persona > span {
  font-size: 0.55rem;line-height: 1.68;
}
}
