@font-face {
  font-family: "OW Display Oblique";
  src: url("./BigNoodleTooOblique.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "OW Body";
  src: url("./Futura.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ow-ink: #252b35;
  --ow-ink-soft: #424b58;
  --ow-ivory: #f4f2eb;
  --ow-orange: #f49b28;
  --ow-line: #b9c0c7;
  font-family: "OW Body", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

body, button, input { font-family: "OW Body", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
body { letter-spacing: .012em; }

.brand, .brand-mark, .header-index, .eyebrow, .section-kicker,
.data-badge, .pretitle, .number-index, .number-unit,
.map-rank, .hero-rank, .snapshot-note, .winrate-heading,
.companion-heading, .form-help, .lookup-form label,
.total-grid span, .hero-player span, .site-footer {
  font-family: "OW Display", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .11em;
}

.hero h1, .hero-wordmark, .search-band h2, .section-head h2,
.statement h2, .best-hero h3, .closing h2, .hero-row h3,
.map-row h3, .highlight-card strong {
  font-family: "OW Display Oblique", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-synthesis: style;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.035em;
}

.hero-art strong, .number-card strong, .total-grid strong,
.winrate-row span:last-child, .best-hero>strong,
.highlight-card strong, .hero-side strong, .cube-face {
  font-family: "OW Display", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

body.has-report { background: var(--theme-color); }
body.has-report .site-header,
body.has-report .hero,
body.has-report .winrates,
body.has-report .closing,
body.has-report .site-footer { background: var(--theme-color); }

.site-header {
  min-height: 76px;
  height: auto;
  border-bottom: 4px solid var(--ow-orange);
  box-shadow: 0 4px 0 #20273140;
}
.brand { font-size: 18px; font-weight: 900; }
.brand-mark {
  width: 43px;
  height: 43px;
  border: 3px solid var(--ow-ink);
  outline: 2px solid #fff9;
  border-radius: 50%;
  background: var(--ow-orange) !important;
  color: var(--ow-ink) !important;
  font-size: 20px;
  transform: skew(-7deg);
}
.site-header nav { font-size: 13px; }
.site-header nav a { transition: color .18s ease; }
.site-header nav a:hover { color: var(--ow-orange) !important; }

.hero {
  border-bottom: 10px solid var(--ow-ink);
  min-height: 740px;
}
.hero::after {
  opacity: .2;
  background-image: repeating-linear-gradient(120deg, #fff7 0 1px, transparent 1px 16px);
  mask-image: linear-gradient(90deg, transparent 18%, #000 100%);
}
.hero-topline { border-bottom: 2px solid currentColor; padding-bottom: 14px; }
.eyebrow, .pretitle { font-size: 15px; font-weight: 900; }
.eyebrow i { width: 12px; height: 12px; background: var(--ow-orange) !important; border-radius: 2px; transform: skew(-15deg); }
.data-badge { border: 2px solid currentColor; border-radius: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); font-size: 13px; font-weight: 900; }
.hero h1 { font-size: clamp(56px, 6vw, 112px); line-height: .99; margin: 26px 0; text-shadow: 3px 3px 0 #ffffff25; }
.hero h1 em { opacity: 1 !important; }
.hero-lead { font-size: 15px; font-weight: 700; }
.hero-player { border-top-width: 3px; }
.hero-player strong { font-family: "OW Display", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 26px; }
.hero-side { border-left: 4px solid var(--ow-orange); padding-left: 16px; }
.hero-side p { font-weight: 800; }
.side-arrow { color: var(--ow-orange) !important; }
.cube-scene { filter: drop-shadow(0 20px 18px #18202a50); }
.cube-dock .cube-scene { filter: none; }

.search-band,
.numbers, .maps, .heroes, .companions, .highlights {
  position: relative;
  background: var(--ow-ivory) !important;
  color: var(--ow-ink) !important;
}
.search-band { border-top: 12px solid var(--ow-ink); border-bottom: 1px solid var(--ow-line); }
.search-band h2 { font-size: clamp(42px, 4.4vw, 76px); line-height: 1; }
.lookup-form { padding: 18px 20px 20px; border: 2px solid var(--ow-ink); background: #fff9; box-shadow: 8px 8px 0 #252b351c; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.lookup-form label { font-size: 14px; color: var(--ow-ink); }
.lookup-row { border-bottom: 3px solid var(--ow-ink); }
.lookup-row input { font-size: 17px; font-weight: 700; }
.lookup-row button, .closing-actions a {
  min-height: 48px;
  background: var(--ow-orange) !important;
  color: var(--ow-ink) !important;
  font-family: "OW Display Oblique", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .03em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: filter .18s ease, transform .18s ease;
}
.lookup-row button:hover, .closing-actions a:hover { filter: brightness(1.1); transform: translateY(-2px); }
.lookup-row button:focus-visible, .closing-actions a:focus-visible { outline: 3px solid var(--ow-ink); outline-offset: 3px; }
.snapshot-note { background: var(--ow-ink) !important; color: #fff !important; border-left: 6px solid var(--ow-orange); }

.section-head { border-bottom: 3px solid var(--ow-ink); padding-bottom: 18px; }
.section-head h2 { font-size: clamp(48px, 6vw, 96px); line-height: .96; }
.section-head h2::before { content: "///"; display: inline-block; margin-right: .18em; color: var(--ow-orange); font-family: "OW Display", sans-serif; font-style: normal; font-size: .55em; letter-spacing: -.05em; vertical-align: .2em; }
.section-head p { font-size: 14px; font-weight: 700; }
.period { color: var(--ow-orange) !important; }

.number-grid { gap: 12px; border: 0; background: none; }
.number-card {
  min-height: 260px;
  border: 2px solid var(--ow-ink);
  background: #fff !important;
  color: var(--ow-ink) !important;
  box-shadow: 7px 7px 0 #252b351f;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.number-card.featured { background: var(--ow-ink) !important; color: #fff !important; border-color: var(--ow-orange); }
.number-card strong { font-size: clamp(76px, 9vw, 150px); line-height: .8; letter-spacing: -.025em; font-weight: 400; }
.number-card.featured strong { color: var(--ow-orange); }
.number-card .number-unit { font-size: 19px; }
.number-card p { font-size: 16px; }
.duration-card strong { font-size: clamp(50px, 7vw, 110px); }
.total-intro { border-left: 5px solid var(--ow-orange); padding-left: 15px; font-weight: 800; }
.total-grid { gap: 8px; background: transparent; }
.total-grid>div { border: 1px solid var(--ow-line); background: #fff; padding: 18px; }
.total-grid span { color: var(--ow-ink-soft); font-size: 15px; }
.total-grid strong { font-size: clamp(30px, 3.3vw, 52px); font-weight: 400; }

.statement { border-top: 9px solid var(--ow-ink); border-bottom: 9px solid var(--ow-ink); background: var(--theme-color) !important; }
.statement h2 { font-size: clamp(60px, 8vw, 144px); line-height: .92; }
.statement-mark { color: var(--ow-orange); }
.maps { border-bottom: 1px solid var(--ow-line); }
.map-row { border: 3px solid var(--ow-ink); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.map-row::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--ow-orange); pointer-events: none; }
.map-row h3 { font-size: clamp(25px, 3vw, 48px); }
.map-rank { color: var(--ow-orange) !important; font-size: 24px; }

.best-hero { background: var(--ow-ink) !important; color: #fff !important; border-left: 8px solid var(--ow-orange); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.best-hero h3 { font-size: clamp(52px, 7vw, 104px); }
.best-hero>strong { color: var(--ow-orange); font-size: 26px; }
.best-hero .hero-avatar { border: 3px solid var(--ow-orange) !important; }

.winrates { position: relative; background: var(--theme-color) !important; border-top: 9px solid var(--ow-ink); border-bottom: 9px solid var(--ow-ink); }
.winrate-heading, .companion-heading { font-size: 15px; font-weight: 900; }
.winrate-row { border-top-width: 2px; }
.winrate-row span:last-child { font-size: clamp(25px, 3vw, 44px); font-weight: 400; }
.winrate-row .hero-identity { font-family: "OW Body", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 19px; font-weight: 800; }
.companion-row { border-bottom: 1px solid var(--ow-line); }
.companion-row span:first-child { color: var(--ow-orange) !important; }
.highlight-card { border: 2px solid var(--ow-line); background: #fff; box-shadow: 6px 6px 0 #252b3512; }
.highlight-card strong { font-size: clamp(44px, 5vw, 80px); line-height: 1; }

.closing { border-top: 10px solid var(--ow-ink); min-height: 550px; }
.closing h2 { font-size: clamp(68px, 10vw, 170px); line-height: .95; }
.closing blockquote { border-left: 6px solid var(--ow-orange) !important; font-weight: 800; }
.site-footer { border-top: 4px solid var(--ow-orange); }

@media (max-width: 680px) {
  .site-header { min-height: 62px; padding-inline: 16px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 34px; height: 34px; font-size: 15px; }
  .hero { min-height: 830px; }
  .hero h1 { font-size: clamp(48px, 10vw, 70px); white-space: normal; }
  .hero-side { display: none; }
  .search-band { gap: 26px; }
  .lookup-form { padding: 14px; }
  .lookup-row button { font-size: 18px; padding-inline: 10px; }
  .section-head h2 { font-size: clamp(43px, 11vw, 64px); }
  .number-grid { gap: 8px; }
  .number-card { min-height: 190px; padding: 18px; }
  .number-card strong { font-size: clamp(60px, 17vw, 94px); }
  .duration-card strong { font-size: clamp(42px, 11vw, 70px); }
  .total-grid>div { padding: 12px; }
  .total-grid strong { font-size: clamp(27px, 8vw, 38px); }
  .statement h2 { font-size: clamp(54px, 12vw, 86px); }
  .best-hero h3 { font-size: 58px; }
  .closing h2 { font-size: clamp(60px, 12vw, 96px); }
}

@media (prefers-reduced-motion: reduce) {
  .lookup-row button, .closing-actions a { transition: none; }
}
