@font-face {
  font-family: 'W3 Friz';
  src: url('/warcraft/friz.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'W3 Nimrod';
  src: url('/warcraft/nimrod.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}

body.wc-chain-theme {
  --primary: #fcd312;
  --primary-deep: #baa337;
  --on-primary: #110f05;
  --display: 'W3 Friz', 'W3 Nimrod', Georgia, 'Times New Roman', serif;
  --body: 'W3 Friz', 'W3 Nimrod', Georgia, 'Times New Roman', serif;
  --text: #e6e4da;
  --text-dim: #d6d4c8;
  --text-faint: #b5b6ac;
  --border: #8c752b66;
  --border-strong: #c3a54399;
  background: #050b10;
  font-family: var(--body);
  font-size: 17px;
}

body.wc-chain-theme > .wc-scene {
  position: fixed;
  inset: 0;
  height: 100lvh;
  z-index: -1;
  opacity: 1;
  background-position: center;
  background-size: cover;
}

.wc-chain-theme .backdrop { display: none; }
.wc-chain-theme main { position: relative; }
.wc-chain-theme .wc-hero { background: transparent; }
.wc-chain-theme .wc-hero h1 .t2 { color: #fcd312; }
.wc-chain-theme .wc-hero .lead { font-size: 18px; line-height: 1.65; }

.wc-chain-theme .topbar {
  z-index: 60;
  min-height: 62px;
  background: linear-gradient(#030404d9, #050606ed), url('/warcraft/bg-undead.webp');
  border: 0;
  box-shadow: 0 2px 22px #000b;
}

.wc-chain-theme .topbar::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 24px;
  background: url('/warcraft/undead-divider.png') center / auto 24px repeat-x;
  pointer-events: none;
}

.wc-chain-theme .topbar .brand { font-family: var(--display); font-size: 19px; color: #eee9d9; }
.wc-chain-theme .nav a { font-family: var(--body); font-size: 15px; }
.wc-chain-theme .nav a:hover { color: #fcd312; }
.wc-chain-theme .topbar .btn.sm { color: #fcd312; font-family: var(--display); font-size: 15px; }

.wc-chain-theme .wc-hanging-section {
  position: relative;
  padding: 136px 0 38px;
  background: transparent;
}

.wc-chain-theme .wc-hanging-frame {
  position: relative;
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
  transform: translateY(var(--wc-panel-shift, 0px)) rotate(var(--wc-panel-tilt, 0deg));
  transform-origin: 50% -110px;
}

.wc-chain-theme .wc-hanging-frame::after {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: 4;
  border: 28.8px solid transparent;
  border-image: url('/warcraft/frame-undead.png') 64 / 28.8px round;
  pointer-events: none;
}

.wc-chain-theme .wc-hanging-panel {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px 34px 36px;
  background: rgb(5 8 8 / .82);
  border: 0;
  border-radius: 0;
  box-shadow: 0 16px 48px #0008, inset 0 0 55px #0007;
}

.wc-chain-theme .wc-hanging-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .3;
  background: url('/warcraft/bg-undead.webp') 0 0 / 153.6px;
  pointer-events: none;
}

.wc-chain-theme .wc-chain-rig {
  --cx: min(250px, 28vw);
  position: absolute;
  top: -110px;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 3;
  pointer-events: none;
}

.wc-chain-theme .wc-chain {
  position: absolute;
  top: 0;
  bottom: -1px;
  width: 25px;
  background: url('/warcraft/chain-roc.png') center top / 25px 26px repeat-y;
  filter: drop-shadow(2px 2px 3px #0009);
}

.wc-chain-theme .wc-chain-left { left: calc(50% - var(--cx) - 12.5px); }
.wc-chain-theme .wc-chain-right { right: calc(50% - var(--cx) - 12.5px); }
.wc-chain-theme .wc-chain::after {
  content: '';
  position: absolute;
  width: 39px;
  height: 29px;
  bottom: -7px;
  left: -7px;
  background: url('/warcraft/shackle-roc.png') center / 39px 29px no-repeat;
}

.wc-chain-theme .wc-hanging-panel .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.wc-chain-theme .wc-hanging-panel h2 {
  max-width: none;
  margin: 0 0 22px;
  color: #fcd312;
  text-align: center;
  font: 400 clamp(30px, 3.3vw, 43px) / 1.15 var(--display);
  letter-spacing: 0;
  text-shadow: 0 2px 4px #000;
}

.wc-chain-theme .wc-hanging-panel h3 {
  color: #fcd312;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.wc-chain-theme .wc-hanging-panel .sec-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 28px;
}
.wc-chain-theme .wc-hanging-panel .sec-head > div { width: 100%; }
.wc-chain-theme .wc-hanging-panel .sec-head h2 { margin-bottom: 14px; }
.wc-chain-theme .wc-hanging-panel :is(.sec-head p, .lead) { margin-inline: auto; text-align: center; }
.wc-chain-theme .wc-hanging-panel p { font-size: 17px; line-height: 1.6; }
.wc-chain-theme .wc-hanging-panel a:not(.btn, .chip, .htile, .finder-row, .creator-thumb) { color: #e4cd79; }

.wc-chain-theme .wc-hanging-panel :is(.tile, .card, .edge, .link-card, .warn) {
  border: 1px solid #b9991a;
  border-radius: 0;
  background: linear-gradient(135deg, #29291dd9, #090c0df5 65%);
  box-shadow: inset 0 0 0 2px #0005, 0 3px 14px #0005;
}
.wc-chain-theme .wc-hanging-panel :is(.tile, .card, .edge) { padding: 24px 22px; }
.wc-chain-theme .wc-hanging-panel :is(.tile, .card, .edge):hover { border-color: #fcd312; }
.wc-chain-theme .wc-hanging-panel .edge p { margin-bottom: 0; }
.wc-chain-theme .wc-hanging-panel .edges { gap: 24px; }
.wc-chain-theme .wc-hanging-panel :is(.bento, .cards) { gap: 22px; }
.wc-chain-theme .wc-hanging-panel .tile.ai { background: linear-gradient(120deg, #24281edd, #090d0cf5); }
.wc-chain-theme .wc-hanging-panel .chip { border: 1px solid #8c782f; background: #0b0f0dd9; color: #e1cd81; font-size: 15px; }
.wc-chain-theme .wc-hanging-panel .search { border-color: #8a7841; background: #070a0de8; }
.wc-chain-theme .wc-hanging-panel .search input { font: 17px var(--body); }
.wc-chain-theme .wc-hanging-panel .finder-row { background: #090d0ce8; border-color: #716538; border-radius: 0; }
.wc-chain-theme .wc-hanging-panel .finder-row b { font-size: 16px; }
.wc-chain-theme .wc-hanging-panel .show-tab { font-family: var(--body); border: 1px solid #7b6a2d; background: #090c0de0; color: #dfca80; }
.wc-chain-theme .wc-hanging-panel .show-tab[aria-selected='true'] { border-color: #fcd312; background: #443c1c; color: #ffe16b; }
.wc-chain-theme .wc-hanging-panel :is(.win, .compare-wrap, .trust-grid) { border-color: #8c793e; border-radius: 0; }
.wc-chain-theme .wc-hanging-panel .trust-grid > div { background: #0c110ee8; border-color: #665827; }
.wc-chain-theme .wc-hanging-panel .trust-grid b { color: #ead170; font: 400 22px/1.25 var(--display); }
.wc-chain-theme .wc-hanging-panel .compare-wrap { background: #090d0de8; }
.wc-chain-theme .wc-hanging-panel .compare thead th { font-family: var(--body); color: #e9d482; }
.wc-chain-theme .wc-hanging-panel .compare td:last-child { background: #c8a5300c; }
.wc-chain-theme .wc-hanging-panel .faq { border-color: #8b77394d; }
.wc-chain-theme .wc-hanging-panel .faq summary { color: #ead58d; font-size: 18px; }
.wc-chain-theme .wc-hanging-panel .final-box { padding: 12px; border: 0; border-radius: 0; background: transparent; }
.wc-chain-theme .foot { position: relative; background: #050808eb; border-top: 1px solid #8a7338; }

@media (min-resolution: 1.5dppx) {
  .wc-chain-theme .wc-chain { background-image: url('/warcraft/chain-roc@2x.png'); }
  .wc-chain-theme .wc-chain::after { background-image: url('/warcraft/shackle-roc@2x.png'); }
}

@media (max-width: 860px) {
  .wc-chain-theme .wc-hanging-section { padding-top: 112px; }
  .wc-chain-theme .wc-hanging-frame { width: calc(100% - 40px); }
  .wc-chain-theme .wc-hanging-panel { padding: 30px 24px; }
  .wc-chain-theme .wc-chain-rig { top: -88px; height: 88px; --cx: min(210px, 27vw); }
  .wc-chain-theme .wc-hanging-frame { transform-origin: 50% -88px; }
  .wc-chain-theme .topbar .brand { font-size: 16px; }
  .wc-chain-theme .wc-hanging-panel .edges { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 540px) {
  .wc-chain-theme .wc-hanging-section { padding: 98px 0 24px; }
  .wc-chain-theme .wc-hanging-frame { width: calc(100% - 30px); }
  .wc-chain-theme .wc-hanging-frame::after { inset: -4px; border-width: 21px; border-image-width: 21px; }
  .wc-chain-theme .wc-hanging-panel { padding: 27px 19px 25px; }
  .wc-chain-theme .wc-chain-rig { top: -76px; height: 76px; }
  .wc-chain-theme .wc-hanging-panel h2 { font-size: 31px; margin-bottom: 20px; }
  .wc-chain-theme .wc-hanging-panel h3 { font-size: 23px; }
  .wc-chain-theme .wc-hanging-panel :is(.tile, .card, .edge) { padding: 21px 18px; }
  .wc-chain-theme .wc-hanging-panel :is(.bento, .cards) { gap: 16px; }
  .wc-chain-theme .wc-hanging-panel .final-box { padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .wc-chain-theme .wc-hanging-frame { transform: none; }
}
