@font-face {
  font-family: "RocoBlack";
  src: url("assets/字体/Rocofontblack-Regular .ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "RocoName";
  src: url("../../ttf/dundun.xHd_Ee5-.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "RocoDesc";
  src: url("../../ttf/fzlant.D5FI9Et0.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  width: 1080px;
  background: #f6b92a;
  color: #333;
  font-family: "RocoDesc", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.share-page {
  position: relative;
  width: 1080px;
  min-height: 100vh;
  background: #f6b92a;
  padding: 95px 30px 28px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nav-logo {
  position: absolute;
  top: 12px;
  left: 30px;
  z-index: 2;
  height: 71px;
}

.nav-logo img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-bar {
  position: absolute;
  top: 7px;
  right: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-title {
  font-family: "RocoName", "PingFang SC", sans-serif;
  font-size: 72px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.nav-badge {
  width: 76px;
  height: 76px;
  background: #fffcf7;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-badge span {
  font-family: "RocoName", sans-serif;
  font-size: 28px;
  color: #f6b92a;
  line-height: 1.1;
}

.panel {
  position: relative;
  background: #fffcf7;
  border-radius: 25px;
  padding: 30px 30px 40px;
}

.team-overview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 92px;
  margin-bottom: 8px;
  padding: 0 26px 0 18px;
  overflow: hidden;
  background: #29292b;
  border-radius: 22px;
}

.ov-star {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 120px;
  height: 120px;
  opacity: .22;
  transform: translateY(-50%);
  pointer-events: none;
  object-fit: contain;
}

.ov-magic {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

.ov-magic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ov-text {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.ov-mode {
  font-family: "RocoName", sans-serif;
  font-size: 34px;
  color: #fff;
  line-height: 1;
}

.ov-sub, .ov-code {
  font-family: "RocoDesc", sans-serif;
  font-size: 18px;
  color: #ebe8e1;
  line-height: 1;
}

.ov-code {
  max-width: 690px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .74;
}

.ov-count {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-left: auto;
  color: #f6b92a;
  font-family: "RocoName", sans-serif;
}

.ov-count .n {
  font-size: 44px;
  line-height: 1;
}

.ov-count .u {
  font-size: 20px;
  color: #ebe8e1;
}

.section-title-area {
  position: relative;
  padding: 14px 0 6px;
}

.bg-text {
  overflow: hidden;
  color: #edece8;
  font-family: "RocoBlack", sans-serif;
  font-size: 96px;
  line-height: 1;
  opacity: .25;
  white-space: nowrap;
}

.main-title {
  position: absolute;
  top: 18px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  color: #29292b;
  font-family: "RocoName", sans-serif;
  font-size: 46px;
  line-height: 1.1;
}

.main-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 40px;
  background: #a687d5;
  border-radius: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pet-card {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  padding: 16px 18px 14px;
  background: #f5ede0;
  border-left: 6px solid var(--el, #a687d5);
  border-radius: 22px;
}

.star-deco {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 170px;
  height: 170px;
  opacity: .10;
  pointer-events: none;
  transform: rotate(15deg);
}

.star-deco img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.illust-wrap {
  width: 172px;
  height: 156px;
  flex-shrink: 0;
  overflow: hidden;
}

.illust-card {
  position: relative;
  width: 340px;
  height: 308px;
  transform: scale(.505);
  transform-origin: top left;
}

.wax-seal {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 80px;
  height: 84px;
}

.wax-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pet-number {
  position: absolute;
  left: 40px;
  top: 42px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "RocoName", "RocoBlack", sans-serif;
  line-height: 1;
  text-shadow: 0 3px 3px rgba(0, 0, 0, .5);
  white-space: nowrap;
  transform: translate(-50%, -50%) matrix(1.988566142732, -.21355256022812, .21355256022812, 1.988566142732, 0, 0);
}

.pet-number .n-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.pet-number .n-label, .pet-number .n-dot {
  color: #fff;
  font-size: 24px;
  line-height: .8;
  -webkit-text-stroke: 2px #d86c08;
  paint-order: stroke fill;
}

.pet-number .n-label {
  margin-left: 4px;
}

.pet-number .n-dot {
  margin-left: 1px;
}

.pet-number .n-id {
  margin-top: -2px;
  color: #fff;
  font-size: 20px;
  line-height: .8;
  letter-spacing: 0;
  -webkit-text-stroke: 2px #d86c08;
  paint-order: stroke fill;
}

.illust-frame {
  position: absolute;
  left: 36px;
  top: 31px;
  z-index: 1;
  width: 219px;
  height: 274px;
}

.frame-bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pet-illust {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 197px;
  height: 259px;
  overflow: visible;
}

.pet-illust img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: url(#contourStroke);
  transform: scale(1.18);
  transform-origin: bottom center;
}

.info-col {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding-top: 2px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pet-name {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  color: #3d3d3b;
  font-family: "RocoName", sans-serif;
  font-size: 34px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.type-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ti-ico {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.el-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 12px 3px 5px;
  gap: 7px;
  color: #fffcf7;
  border-radius: 15px;
  font-family: "RocoDesc", sans-serif;
  font-size: 17px;
  line-height: 1;
}

.el-pill.personality {
  background: #5b5b5e;
}

.el-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  color: #5b5b5e;
  background: #fffcf7;
  border-radius: 999px;
  font-family: "RocoName", sans-serif;
  font-size: 15px;
  white-space: nowrap;
}

.el-lbl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: .95;
}

.nat-pair {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nat-arr {
  margin-left: 2px;
  font-size: 12px;
}

.nat-arr.up {
  color: #3fb96a;
}

.nat-arr.down {
  color: #e05a5a;
}

.iv-block {
  margin-top: 1px;
}

.iv-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #474747;
  font-family: "RocoName", sans-serif;
  font-size: 17px;
  line-height: 1;
}

.iv-head::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--el, #a687d5);
  border-radius: 2px;
}

.iv-bars {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7px;
}

.iv-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 26px;
  overflow: hidden;
  color: #fff;
  background: var(--el, #a687d5);
  border-radius: 8px;
  font-family: "RocoName", sans-serif;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.skills-block {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

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

.skill-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 7px 4px 6px;
  background: #fffcf7;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}

.skill-icon-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.sk-ico {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.sk-name {
  max-width: 100%;
  overflow: hidden;
  color: #333;
  font-family: "RocoDesc", sans-serif;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 60px;
  margin-top: 18px;
  padding: 0 30px;
}

.footer-logo img {
  height: 22px;
  opacity: .7;
}

.footer-team {
  color: #474747;
  font-family: "RocoDesc", sans-serif;
  font-size: 18px;
  opacity: .7;
}

.footer-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-stars span {
  display: block;
  width: 16px;
  height: 16px;
  background: #f6b92a;
  clip-path: polygon(50% 0, 64% 35%, 100% 38%, 72% 60%, 80% 100%, 50% 78%, 20% 100%, 28% 60%, 0 38%, 36% 35%);
  opacity: .8;
}
