@font-face { font-family: "Diablo Heavy WK"; src: url("fonts/diablo-heavy-wk.woff2") format("woff2"), url("fonts/diablo-heavy-wk.woff") format("woff"); font-display: swap; }
/* The Worldstone Keep: frost theme for the Reign of the Warlock section. Loaded after /style.css; same layout and fonts, cold palette. */
body.rotw {
  --frost-ink: #05090c; --frost-text: #c8d2d5; --frost-dim: #899ba2; --frost-blue: #9fcfde; --frost-bright: #d4f3fb;
  --frost-steel: #6f93a3; --frost-line: rgba(159, 207, 222, 0.24); --frost-edge: #2a3d47;
  color: var(--frost-text);
}
html:has(body.rotw) { background: #05090c url("images/frost-pattern.svg") repeat; }
body.rotw .wrap::before { background: radial-gradient(ellipse at 50% 8%, rgba(80, 140, 165, 0.12), transparent 45%), linear-gradient(rgba(0, 4, 7, 0.7), rgba(0, 4, 7, 0.9)); }
body.rotw .topbar { background: #05090c; }
body.rotw header {
  background: linear-gradient(rgba(3, 7, 10, 0.35), rgba(3, 7, 10, 0.72)), url("images/frost-masthead.jpg") center 42% / cover no-repeat;
}
body.rotw header::after { background: linear-gradient(90deg, transparent, #1f3540 18%, #9fcfde 50%, #1f3540 82%, transparent); box-shadow: 0 0 12px rgba(135, 204, 226, 0.2); }
body.rotw header h1 { font-family: "Diablo Heavy WK", "Cinzel", Georgia, serif; color: var(--frost-bright); text-shadow: 0 2px 2px #000, 0 0 18px rgba(135, 204, 226, 0.25); }
body.rotw header p { color: var(--frost-dim); }
body.rotw nav, body.rotw .topbar .subnav { border-bottom-color: var(--frost-edge); }
body.rotw a { color: var(--frost-blue); text-decoration-color: rgba(159, 207, 222, 0.4); }
body.rotw a:visited { color: #86b6c6; }
body.rotw a:hover, body.rotw a:focus-visible { color: var(--frost-bright); }
body.rotw h1, body.rotw h2, body.rotw h3 { text-shadow: 0 1px 0 #000, 0 0 12px rgba(159, 207, 222, 0.08); }
body.rotw h2 { color: var(--frost-blue); border-bottom-color: var(--frost-line); }
body.rotw h3 { color: var(--frost-steel); }
body.rotw h4 { color: var(--frost-dim); }
body.rotw table { background: rgba(7, 13, 17, 0.9); }
body.rotw th, body.rotw td { border-color: var(--frost-edge); }
body.rotw th { background: rgba(28, 48, 58, 0.55); color: var(--frost-bright); }
body.rotw tr.subhead td, body.rotw table.affixes tr.grp th, body.rotw tr.grp th { background: #0a161c; color: var(--frost-blue); }
body.rotw tr.partset td { background: #0a1a12; }
body.rotw tr.fullset td { background: #0e1a20; }
body.rotw .legend, body.rotw .p33note, body.rotw .p34note, body.rotw footer { color: var(--frost-dim); }
body.rotw footer { border-top-color: var(--frost-edge); }
body.rotw hr.section { border-top-color: var(--frost-edge); }
body.rotw .searchrow input { color: var(--frost-text); background: #08131a; border-color: var(--frost-edge); }
body.rotw ul.hits li { border-bottom-color: var(--frost-edge); }
body.rotw mark { background: #1f4250; color: var(--frost-bright); }
body.rotw .hitoggle { background: #0b161c; color: var(--frost-text); border-color: var(--frost-edge); }
body.rotw .hitoggle:hover { border-color: var(--frost-blue); }
body.rotw header .uotd-card { background: #071017; border-color: var(--frost-edge); }
body.rotw header .uotd-h { color: var(--frost-blue); border-bottom-color: var(--frost-edge); }
body.rotw .p33 { color: #e8a23a; }
body.rotw pre.code { background: #08131a; border: 1px solid var(--frost-edge); padding: 10px 12px; overflow-x: auto; font-size: 0.85em; line-height: 1.45; color: var(--frost-text); white-space: pre; }
body.rotw h3.set-title { color: #3fbf3f; font-family: "Cinzel", Georgia, serif; font-size: 1.25em; }
/* buttons and forms in the frost palette */
body.rotw .smallbutton a, body.rotw .smallbutton a:visited { color: #d4f3fb; background: linear-gradient(#1c3440, #08131a); border-color: #9fcfde; box-shadow: inset 1px 1px 0 #3d6070, 0 1px 4px #000; }
body.rotw .smallbutton a:hover { color: #fff; box-shadow: inset 1px 1px 0 #3d6070, 0 0 8px #9fcfde; }
body.rotw .buildform label { color: var(--frost-blue); }
body.rotw .buildform input[type=text], body.rotw .buildform input[type=email], body.rotw .buildform textarea { background: #08131a; color: var(--frost-text); border-color: var(--frost-edge); }
body.rotw .buildform input:focus, body.rotw .buildform textarea:focus { border-color: var(--frost-blue); }
body.rotw .buildform button { color: #d4f3fb; background: linear-gradient(#1c3440, #08131a); border-color: #9fcfde; }
body.rotw .smallbutton.left { text-align: left; margin: 0 0 18px; }
body.rotw .smallbutton a + a { margin-left: 8px; }
body.rotw ul.sitemap li { border-left-color: var(--frost-edge); }
body.rotw ul.sitemap li:last-child { border-left-color: transparent; }
body.rotw ul.sitemap li::before { border-color: var(--frost-steel); }
body.rotw .skilltree { background: radial-gradient(#11232c, #050c10); border-color: var(--frost-edge); }
body.rotw .skilltree line { stroke: var(--frost-steel); }
body.rotw .skilltree img { border-color: #1c3440; }
body.rotw .skilltree a:hover img, body.rotw .skilltree a:focus img { border-color: #d4f3fb; box-shadow: 0 0 8px #9fcfde; }
body.rotw .skilltree .lv { color: #d4f3fb; border-color: var(--frost-edge); }
