/* WoW Onchain, cinematic theme (approved mockup B, 2026-10-08): real 1.12 fonts, the logo, real
   buttons, tooltip borders and item icons from the user's own install (/wow/; the user accepted the risk of
   shipping them), over full-bleed art. Loaded after site.css; the original content, sections,
   docs parchment and Auction House stay as they were. */

@font-face { font-family: "Friz Quadrata"; src: url("/wow/fonts/FRIZQT.ttf") format("truetype"); font-display: block; }
@font-face { font-family: "Morpheus"; src: url("/wow/fonts/MORPHEUS.ttf") format("truetype"); font-display: block; }

:root {
  --f-ui: "Friz Quadrata", "Della Respira", Georgia, serif;
  --f-title: "Morpheus", "Grenze Gotisch", Georgia, serif;
  --f-mark: "Morpheus", Georgia, serif;
  --f-num: "Friz Quadrata", Georgia, serif;
  --bar-h: 0px;
  --panel: rgba(8, 8, 16, .88);
}
body { background: #000; font-size: 16px; line-height: 1.55; }
h1, h2, h3, h4 { font-weight: 400; }
.display { font: 400 clamp(44px, 5vw, 76px)/1.04 var(--f-title); }
.display em { font-style: normal; color: #ffd100; }
.section-head h2 { font-weight: 400; }
.kicker { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #ffd100; }
.lede { font-size: 18px; max-width: 56ch; }
.lede b { color: #ffd100; font-weight: 400; }

/* ------------------------------------------------------------ header: text links top-left, the logo top-right, over the art */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 60; background: none; border: 0; box-shadow: none; }
.topbar-in { max-width: none; min-height: 0; padding: 24px 52px; justify-content: flex-start; }
.topbar .brand, .topbar .actionbar, .topbar .buffs { display: none !important; }
.toplinks { display: flex; gap: 34px; margin: 0; }
.toplinks a { font: 15px var(--f-ui); color: #ffd100; text-decoration: none; text-shadow: 0 1px 2px #000, 0 0 6px #000; }
.toplinks a:hover, .toplinks a[aria-current="page"] { color: #fff; }
.toplogo { position: absolute; z-index: 61; top: 16px; right: 34px; width: clamp(220px, 23vw, 390px); }
.toplogo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,.85)); }
.toplogo.nologo { display: none; }
.sysmsg { top: 70px; }
html { scroll-padding-top: 20px; }

/* ------------------------------------------------------------ every page opens on full-bleed art */
.band { min-height: 74vh; border-bottom: 0; box-shadow: none; }
.band > .art img { object-position: 70% 32%; }
.band::after { z-index: 0; background:
  linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.7) 30%, rgba(0,0,0,.22) 54%, rgba(0,0,0,0) 70%),
  linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 18%),
  radial-gradient(ellipse at 88% 12%, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%),
  linear-gradient(0deg, #000 0%, rgba(0,0,0,.5) 22%, rgba(0,0,0,0) 44%); }
.band-in { padding: 170px 52px 60px; max-width: none; }
.band-in .btn-row { margin-top: 6px; gap: 16px; }
.band.home { min-height: 100vh; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.band.home > .art img { animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .band.home > .art img { animation: none; } }
.band.home .band-in { padding-bottom: 26px; }
.band.home .ca-row { justify-content: flex-start; margin-top: 18px; }
.strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 52px 40px; }
.tile, .frame, .ca-chip { position: relative; isolation: isolate; border: 16px solid transparent; border-image: url("/wow/ui/tip-border-nine.png") 16 / 16px; border-radius: 0; box-shadow: none; }
.tile::before, .frame::before, .ca-chip::before { content: ""; position: absolute; inset: -11px; z-index: -1; border-radius: 4px; background: var(--panel); }
.tile { padding: 0 4px; }
.tile .t { color: #ffd100; font-size: 13px; }
.tile .v { color: #fff; font-size: 16px; }
.tile .s { color: #9d9d9d; font-size: 12.5px; }

/* docs: the cover and the chapter band are the same cinematic header */
.docs-cover { min-height: 62vh; border-bottom: 0; }
.docs-cover::after { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,0) 70%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 45%), linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 18%); }
.docs-cover .cover-text { padding-top: 160px; }
.docs-band { height: 300px; border-bottom: 0; }
.docs-band::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 40%, #000 100%); }

/* ------------------------------------------------------------ panels: dark, in the real tooltip border */
.frame { padding: 8px 10px 10px; }
.frame.gold { border-image-source: url("/wow/ui/tip-border-nine.png"); }
.frame:has(> .frame-title) { margin-top: 0; padding-top: 8px; }
.frame-title { position: static; transform: none; height: auto; padding: 0 0 10px; justify-content: flex-start; border: 0; border-image: none; }
.frame-title > span, .frame-title > h2 { font: 400 26px/1.1 var(--f-title); color: #ffd100; padding: 0; text-shadow: 0 1px 2px #000; }
.ca-chip { padding: 0 2px 0 6px; margin: -6px 0; }

/* ------------------------------------------------------------ buttons: UI-Panel-Button and the glue button */
.btn { position: relative; border-radius: 0; border: 0; border-style: solid; border-width: 0 12px; box-shadow: none; background: none;
  border-image: url("/wow/ui/btn-up-c.png") 0 12 fill / 0 12px stretch;
  min-height: 30px; padding: 7px 10px 6px; font: 15px/1 var(--f-ui); color: #ffd100; text-shadow: 0 1px 0 #000; }
.btn:hover { color: #fff; box-shadow: none; filter: brightness(1.12); }
.btn:active { background: none; border-image-source: url("/wow/ui/btn-down-c.png"); padding-top: 8px; padding-bottom: 5px; }
.btn.small { font-size: 13px; min-height: 24px; padding: 4px 8px 3px; }
.btn.ghost { background: none; }
.btn[disabled], .btn[aria-disabled="true"] { filter: grayscale(.9) brightness(.7); }
.btn-glue { min-height: 58px; min-width: 230px; border-width: 0 32px; padding: 0 10px; font-size: 21px; letter-spacing: 0;
  border-image: url("/wow/ui/glue-btn-up-c.png") 0 34 fill / 0 32px stretch; box-shadow: none; }
.btn-glue:hover { box-shadow: none; filter: brightness(1.15); }
.btn-glue:active { border-image-source: url("/wow/ui/glue-btn-down-c.png"); }

/* ------------------------------------------------------------ inputs and tooltips */
.input { border-radius: 0; border: 0; border-style: solid; border-width: 0 8px; box-shadow: none; background: none;
  border-image: url("/wow/ui/input-c.png") 0 8 fill / 0 8px stretch; padding: 5px 4px; }
.tip { position: relative; isolation: isolate; border: 16px solid transparent; border-image: url("/wow/ui/tip-border-nine.png") 16 / 16px;
  border-radius: 0; box-shadow: none; background: none; padding: 0 2px; font: 13.5px/1.35 var(--f-ui); }
.tip::before { content: ""; position: absolute; inset: -11px; z-index: -1; border-radius: 4px; background: rgba(9, 9, 25, .92); }

/* ------------------------------------------------------------ the real item icons */
.ico { overflow: hidden; border-radius: 0; }
.ico .wi { width: 100%; height: 100%; display: block; }

/* ------------------------------------------------------------ phones */
@media (max-width: 900px) {
  .topbar-in { padding: 16px 18px; }
  .toplinks { gap: 18px; flex-wrap: wrap; }
  .toplogo { position: absolute; top: 58px; right: auto; left: 50%; transform: translateX(-50%); width: min(300px, 74vw); }
  .band { min-height: 0; }
  .band-in { padding: calc(58px + 50vw) 18px 28px; }
  .strip { grid-template-columns: 1fr 1fr; padding: 0 18px 28px; }
}

/* the Mithril coin (generated for the project, 2026-10-08): money amounts everywhere on the site */
.coin { background-image: url("/img/mithril/coin-64.png"); }
