.character-page {
  position: relative;
  min-height: 100vh;
  color: #262626;
  background: #fff;
  isolation: isolate;
  color-scheme: light;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}
.character-page *,
.character-page *::before,
.character-page *::after { box-sizing: border-box; }
.character-page button,
.character-page a { -webkit-tap-highlight-color: transparent; }
.character-page button {
  border: 0;
  padding: 0;
  border-radius: 0;
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
}
.character-page :is(a, button):focus-visible { outline: 2px solid #8d3025; outline-offset: 5px; }
.character-page [hidden] { display: none !important; }
.character-page picture,
.character-page picture img { display: block; width: 100%; }
.character-page picture img { height: auto; max-width: none; }
.character-page .profession-intro {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: max(100px, calc(var(--header-height, 76px) + 24px)) 50px 60px;
  overflow: hidden;
  text-align: center;
}
.character-page .profession-intro-bg { position: absolute; inset: 0; z-index: -1; }
.character-page .profession-intro-bg picture,
.character-page .profession-intro-bg img { height: 100%; object-fit: cover; }
.character-page .profession-intro-inner { width: 100%; }
.character-page .profession-kicker { display: flex; align-items: center; justify-content: center; gap: 20px; color: #6f1914; font-size: 28px; line-height: 1; }
.character-page .profession-ornament { width: 170px; flex: 0 1 170px; }
.character-page .profession-heading h1 {
  margin: -5px 0 -15px;
  font-size: 84px;
  font-weight: 500;
  line-height: 1.5;
  background: linear-gradient(270deg, #000 33.18%, #6f1914 65.21%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.character-page .profession-intro-copy { margin: 28px auto 0; max-width: 1350px; color: #828181; font-size: 16px; line-height: 25px; letter-spacing: -.025em; }
.character-page .profession-intro-copy p { margin: 0; }
.character-page .profession-entries { display: flex; justify-content: center; gap: 20px; margin-top: 140px; }
.character-page .profession-entry { position: relative; display: flex; align-items: flex-end; flex: 0 0 282px; width: 282px; height: 406px; text-decoration: none; }
.character-page .profession-entry-normal,
.character-page .profession-entry-muted { position: absolute; inset: 0; transition: opacity .5s; pointer-events: none; }
.character-page .profession-entry-muted { opacity: 0; }
.character-page .profession-entry-hover { position: relative; display: block; flex-shrink: 0; z-index: 2; opacity: 0; transform: scale(.9); transform-origin: 50% bottom; transition: opacity .5s, transform .5s; pointer-events: none; }
.character-page .profession-warrior .profession-entry-hover { width: 584px; margin-left: -198px; }
.character-page .profession-taoist .profession-entry-hover { width: 681px; margin-left: -277px; }
.character-page .profession-sorcerer .profession-entry-hover { width: 563px; margin-left: -260px; }
.character-page .profession-entry-name { position: absolute; bottom: 58px; left: 0; right: 0; z-index: 3; font-size: 38px; font-weight: 500; background: linear-gradient(270deg, #8d8d8d 19.53%, #d9d9d9 37.64%, #fff 48.88%, #d9d9d9 61.62%, #8d8d8d 78.85%); background-clip: text; -webkit-background-clip: text; color: transparent; }
@media (hover: hover) {
  .character-page .profession-entries:hover .profession-entry-muted { opacity: 1; }
  .character-page .profession-entry:hover { z-index: 2; }
  .character-page .profession-entry:hover .profession-entry-hover { opacity: 1; transform: scale(1); }
}
.character-page .profession-entries:focus-within .profession-entry-muted { opacity: 1; }
.character-page .profession-entry:focus-visible { z-index: 2; }
.character-page .profession-entry:focus-visible .profession-entry-hover { opacity: 1; transform: scale(1); }
.character-page .profession-noscript { margin: 30px 0 0; font-size: 14px; }
.character-page .profession-details { position: fixed; inset: var(--header-height, 76px) 0 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; background: #fff; outline: none; }
.character-page .profession-panels { position: relative; display: grid; min-height: 100%; }
.character-page .profession-panel { --profession-color: #3a3d5c; grid-area: 1 / 1; position: relative; min-width: 0; min-height: 100%; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s, visibility 0s .5s; }.character-page .profession-panel.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .5s; }
.character-page .profession-taoist { --profession-color: #3a5c5b; }
.character-page .profession-sorcerer { --profession-color: #5c3a52; }
.character-page .profession-cover { position: absolute; inset: 0; }
.character-page .profession-cover picture,
.character-page .profession-cover img { height: 100%; object-fit: cover; object-position: center; }
.character-page .profession-mobile-wash { display: none; }
.character-page .profession-panel-inner { position: relative; display: flex; align-items: center; min-height: 100%; padding: 40px 0 40px 252px; }
.character-page .profession-info { position: relative; width: 500px; max-width: 100%; color: var(--profession-color); }
.character-page .profession-role { margin: 0 0 8px; font-size: 24px; line-height: 34px; letter-spacing: -.025em; text-shadow: -1px 0 #ddd, 0 1px #ddd, 1px 0 #ddd, 0 -1px #ddd; }
.character-page .profession-info h2 { position: relative; margin: 0 0 26px; padding-bottom: 24px; font-size: 102px; font-weight: 700; line-height: 120px; letter-spacing: -.025em; }
.character-page .profession-info h2::before { content: ''; position: absolute; left: 0; bottom: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--profession-color); }
.character-page .profession-info h2::after { content: ''; position: absolute; left: 5px; bottom: 2px; width: 392px; max-width: calc(100% - 5px); height: 2px; background: linear-gradient(90deg, var(--profession-color), transparent); }
.character-page .profession-description { display: grid; gap: 17px; color: #565656; font-size: 20px; line-height: 30px; text-shadow: -1px 0 #ddd, 0 1px #ddd, 1px 0 #ddd, 0 -1px #ddd; overflow-wrap: anywhere; }
.character-page .profession-description p { margin: 0; }
.character-page .profession-back { position: fixed; left: 124px; top: calc(var(--header-height, 76px) + 62px); z-index: 3; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 18px; color: #000; }
.character-page .profession-back > span { width: 38px; }
.character-page .profession-pagination { position: fixed; top: calc(50% + var(--header-height, 76px) / 2); left: 60px; z-index: 3; display: flex; flex-direction: column; gap: 32px; transform: translateY(-50%); }
.character-page .profession-pagination::before,
.character-page .profession-pagination::after { content: ''; position: absolute; left: 9px; width: 2px; height: 148px; pointer-events: none; }
.character-page .profession-pagination::before { top: -150px; background: linear-gradient(to top, #000, transparent); }
.character-page .profession-pagination::after { bottom: -150px; background: linear-gradient(to bottom, #000, transparent); }
.character-page .profession-pagination button { position: relative; padding-left: 28px; text-align: left; min-height: 24px; font-size: 16px; color: #000; }
.character-page .profession-pagination button::before { content: ''; position: absolute; left: 9px; top: 25px; width: 2px; height: 32px; background: #000; }
.character-page .profession-pagination button:last-child::before { display: none; }
.character-page .profession-pagination button::after { content: ''; position: absolute; left: 6px; top: 8px; width: 9px; height: 9px; background: #000; transform: rotate(45deg); }
.character-page .profession-pagination button.is-active { font-weight: 700; }
.character-page .profession-pagination button.is-active::after { display: none; }
.character-page .profession-page-marker { display: none; position: absolute; left: 0; top: 3px; width: 20px; }
.character-page .is-active > .profession-page-marker { display: block; }
.character-page .profession-avatar,
.character-page .profession-step { display: none; }
.character-page .profession-live { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 769px) and (max-width: 1200px) {
  .character-page .profession-entry { flex-basis: 240px; width: 240px; height: 346px; }
  .character-page .profession-panel-inner { padding-left: 160px; }
  .character-page .profession-info { width: 420px; }
  .character-page .profession-role { font-size: 20px; }
  .character-page .profession-info h2 { font-size: 86px; line-height: 100px; }
  .character-page .profession-description { font-size: 17px; line-height: 26px; }
  .character-page .profession-pagination { left: 30px; }
  .character-page .profession-back { left: 80px; }
}
@media (max-width: 768px) {
  .character-page .profession-intro { padding: max(124px, calc(var(--header-height, 60px) + 40px)) 20px 50px; }
  .character-page .profession-kicker { gap: 10px; font-size: 14px; }
  .character-page .profession-kicker > span:nth-child(2) { flex-shrink: 0; }
  .character-page .profession-ornament { width: 85px; flex-basis: 85px; }
  .character-page .profession-heading h1 { margin: -2px 0 -7px; font-size: 38px; }
  .character-page .profession-intro-copy { margin-top: 20px; font-size: 12px; line-height: 1.5; }
  .character-page .profession-entries { display: grid; gap: 0; margin-top: 50px; }
  .character-page .profession-entry { display: block; width: 280px; height: 150px; }
  .character-page .profession-entry-normal { top: auto; bottom: 0; }
  .character-page .profession-warrior .profession-entry-normal { left: -4px; width: 312px; }
  .character-page .profession-sorcerer .profession-entry-normal { left: -4px; }
  .character-page .profession-entry-muted,
  .character-page .profession-entry-hover { display: none; }
  .character-page .profession-entry-name { display: flex; align-items: center; justify-content: center; top: 4px; bottom: 36px; right: auto; width: 150px; font-size: 28px; line-height: 1; }
  .character-page .profession-taoist .profession-entry-name { left: auto; right: 0; }
  .character-page .profession-details { scrollbar-width: none; }
  .character-page .profession-details::-webkit-scrollbar { display: none; }
  .character-page .profession-panels { min-height: max(100%, 830px); }
  .character-page .profession-cover { top: calc(-1 * var(--header-height, 60px)); height: 667px; overflow: hidden; }
  .character-page .profession-cover picture,
  .character-page .profession-cover img { position: absolute; left: 50%; width: 800px; height: 667px; transform: translateX(-50%); object-fit: contain; }
  .character-page .profession-cover img { left: 0; transform: none; }
  .character-page .profession-mobile-wash { display: block; position: absolute; top: calc(30px - var(--header-height, 60px)); left: 0; right: 0; height: 667px; overflow: hidden; }
  .character-page .profession-mobile-wash picture { position: absolute; left: 50%; width: 800px; transform: translateX(-50%); }
  .character-page .profession-panel-inner { justify-content: center; align-items: flex-start; padding: 390px 20px 150px; text-align: center; }
  .character-page .profession-info { width: 100%; }
  .character-page .profession-role { margin-bottom: 8px; font-size: 15px; line-height: 19px; text-shadow: none; }
  .character-page .profession-info h2 { margin-bottom: 20px; padding-bottom: 15px; font-size: 64px; line-height: 80px; }
  .character-page .profession-info h2::before { width: 4px; height: 4px; }
  .character-page .profession-info h2::after { left: 3px; bottom: 1px; width: calc(100% - 3px); }
  .character-page .profession-description { gap: 12px; font-size: 13px; line-height: 19px; text-shadow: none; }
  .character-page .profession-back { left: 25px; top: calc(var(--header-height, 60px) + 12px); gap: 8px; font-size: 17px; color: #fff; }
  .character-page .profession-back > span { width: 28px; }
  .character-page .profession-pagination { left: 0; right: 0; top: auto; bottom: max(16px, env(safe-area-inset-bottom)); flex-direction: row; justify-content: center; gap: 10px; transform: none; }
  .character-page .profession-pagination button { width: 68px; min-height: 68px; padding: 0; filter: grayscale(1); }
  .character-page .profession-pagination button.is-active { filter: none; }
  .character-page .profession-pagination::before,
  .character-page .profession-pagination::after,
  .character-page .profession-pagination button::before,
  .character-page .profession-pagination button::after,
  .character-page .profession-page-marker,
  .character-page .is-active > .profession-page-marker,
  .character-page .profession-page-name { display: none; }
  .character-page .profession-avatar { display: block; }
  .character-page .profession-step { position: absolute; top: 456px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; }
  .character-page .profession-step > span { display: block; width: 25px; }
  .character-page .profession-prev { left: 22px; transform: rotate(180deg); }
  .character-page .profession-next { right: 22px; }
  .character-page .profession-step:disabled { opacity: .25; cursor: default; }
}
@media (prefers-reduced-motion: reduce) {
  .character-page .profession-entry-normal,
  .character-page .profession-entry-muted,
  .character-page .profession-entry-hover,
  .character-page .profession-panel { transition: none; }
}
