/* Built by Kyle Bargman, 2026-11-23.
   The Zelda Community look, matched to the live board (WoltLab style
   "Zelda Community 2026", read from the live pages): Open Sans 15px, grey
   #ccc text and white links on deep crimson, #1e0000 page, #590807 boxes in
   a 2px black frame with 6px corners, the striped red2.jpg title bars (the
   sidebar's centred in their own black frame, the categories' across the
   top), the menu bar #420001, the zeldacavern.net texture behind the crest,
   Cinzel for page titles. One look only: no light or dark. */
@font-face { font-family: 'Open Sans'; src: url('/font/families/Open%20Sans/OpenSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/font/families/Open%20Sans/OpenSans-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/font/families/Open%20Sans/OpenSans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/font/families/Open%20Sans/OpenSans-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/font/families/Cinzel/Cinzel-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/font/families/Cinzel/Cinzel-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root, html[data-mode="dark"], html[data-mode="light"] {
  --night: #1e0000;
  --panel: #590807;
  --panel-2: #4a0605;
  --line: #7a1a17;
  --line-soft: #4a0605;
  --gold: #cccccc;
  --gold-light: #ffffff;
  --gold-dim: #bbbbbb;
  --parchment: #cccccc;
  --faded: #bbbbbb;
  --link: #ffffff;
  --link-hover: #ffffff;
  --green: #ffffff;
  --red: #ff8a80;
  --serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans: 'Open Sans', 'Segoe UI', 'DejaVu Sans', Arial, sans-serif;
  --bar: #420001 url("https://zelda.community/styles/northfire/red2.jpg") repeat-x left center;
  --frame: 2px solid #000;
}

html, body { background: #1e0000; color: #cccccc; font-family: var(--sans); font-size: 15px; line-height: 1.48; }
body.zf { padding: 0; margin: 0; }
a, a:visited { color: #fff; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
strong, b { color: inherit; font-weight: 700; }
.zf-hide { display: none !important; }
.small { font-size: .87rem; }

/* ---------- the menu bar ---------- */
.zf-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: #420001; min-height: 51px; padding: 0 40px; position: relative; z-index: 5;
}
.zf-menu { display: flex; flex-wrap: wrap; }
.zf-menu a, .zf-user > a {
  display: inline-block; color: #fff; padding: 13px 15px; font-weight: 600; font-size: 15px; line-height: 25px;
}
.zf-menu a:hover, .zf-user > a:hover { background: #1e0000; text-decoration: none; }
.zf-menu a.active { box-shadow: inset 0 -3px 0 #c0281f; }
.zf-user { display: flex; align-items: center; gap: 2px; }
.zf-langs { display: inline-flex; margin: 0 14px 0 10px; background: #1e0000; border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 700; }
.zf-langs a, .zf-langs span { padding: 4px 12px; border-radius: 999px; color: #fff; }
.zf-langs .on { background: #7a1a17; }
.zf-langs a:hover { text-decoration: none; background: #590807; }
.zf-search { padding: 8px 10px !important; color: #fff; display: inline-flex !important; }

/* ---------- the crest ---------- */
.zf-header {
  background: #1e0000 url("https://www.zeldacavern.net/img/themes/headerbg-r1.jpg") center top repeat;
  text-align: center; padding: 6px 20px 0; border-bottom: 1px solid #000;
}
.zf-logo img { display: block; margin: 0 auto; max-width: 100%; max-height: 388px; width: auto; height: auto; }
.zf-band { background: #590807; height: 40px; border-bottom: 1px solid #2c0201; }
.zf-beta { text-align: center; font-size: 13px; color: #f5d2ce; background: #2c0201; padding: 5px 10px; }

/* ---------- the page and the boxes down the left ---------- */
.zf-page { background: #1e0000; padding: 30px 40px; display: block; }
.zf-page.zf-has-side { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 30px; align-items: start; }
.zf-main { min-width: 0; max-width: none; margin: 0; padding: 0; }
.zf-side { min-width: 0; }

.zf-sbox {
  background: #590807; border: var(--frame); border-radius: 6px; padding: 16px 18px; margin: 0 0 30px; font-size: 13px;
}
.zf-sbox-title, .forums h2.zf-sbox-title {
  margin: 0 0 14px; padding: 6px 10px; background: var(--bar); border: var(--frame);
  color: #ccc; font-family: var(--sans); font-size: 18px; font-weight: 400; text-align: center; text-transform: uppercase; letter-spacing: 0;
}
.zf-sbox p { margin: 0 0 10px; }
.zf-center { text-align: center; }
.zf-tlines { list-style: none; margin: 0; padding: 0; }
.zf-tline { display: grid; grid-template-columns: 24px 1fr; gap: 8px; margin: 0 0 12px; }
.zf-tline:last-child { margin-bottom: 0; }
.zf-tline-title { font-size: 15px; color: #fff; }
.zf-tline-meta { font-size: 12px; color: #bbb; }
.zf-me { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.zf-stats { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 0; font-size: 14px; }
.zf-stats dt { margin: 0; color: #ccc; }
.zf-stats dd { margin: 0; text-align: right; color: #fff; }

.zf-button, a.zf-button, .btn, a.btn, button.btn, .forums button[type=submit], .forums input[type=submit] {
  display: inline-block; background: #7a1a17; color: #fff !important; border: 0; border-radius: 8px;
  padding: 8px 18px; font: 400 15px/1.4 var(--sans); text-shadow: none; box-shadow: none; cursor: pointer;
}
.zf-button:hover, .btn:hover, .forums button[type=submit]:hover { background: #9e2420; text-decoration: none; }

/* ---------- the page title, notices ---------- */
.zf-main h1.page-title { font-family: var(--serif); font-weight: 600; font-size: 30px; color: #ccc; text-align: left;
  border: 0; margin: 0 0 20px; padding: 0; letter-spacing: 0; font-variant: normal; }
.zf-content-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin: 0 0 20px; }
.zf-title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; color: #ccc; margin: 0 0 6px; }
.zf-desc { color: #bbb; margin: 0; }
.zf-notice {
  background: #420100; border: 1px solid #7a1a17; border-radius: 8px; padding: 10px 20px 10px 48px; margin: 0 0 20px;
  position: relative; font-size: 14px;
}
.zf-notice::before {
  content: "i"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; border-radius: 50%; background: #ccc; color: #420100;
  font: 700 11px/15px Georgia, serif; text-align: center;
}

/* ---------- categories and boards ---------- */
.zf-cat { background: #590807; border: var(--frame); border-radius: 6px; margin: 0 0 30px; overflow: hidden; }
.zf-cat-title, .forums h2.zf-cat-title {
  margin: 0; padding: 8px 16px; background: var(--bar); border-bottom: var(--frame);
  color: #ccc; font-family: var(--sans); font-size: 17px; font-weight: 400; text-transform: uppercase; letter-spacing: 0; text-align: left;
}
.zf-boards { list-style: none; margin: 0; padding: 0 10px; }
.zf-board {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 380px; gap: 0 14px;
  padding: 18px 10px; border-top: 1px solid #4a0605; margin: 0;
}
.zf-board:first-child { border-top: 0; }
.zf-folder { width: 34px; height: 34px; color: #ccc; margin-top: 2px; }
.zf-board-main h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.4; }
.zf-board-main h3 a { color: #ccc; }
.zf-board-main h3 a:hover { color: #fff; }
.zf-board-desc { margin: 0 0 4px; font-size: 12px; color: #ccc; }
.zf-board-stats { margin: 0; font-size: 12px; color: #ccc; }
.zf-board-stats b { font-weight: 400; }
.zf-subs { margin: 8px 0 0; font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.zf-subs a { color: #ccc; display: inline-flex; align-items: center; gap: 5px; }
.zf-subs a:hover { color: #fff; }
.zf-folder-s { width: 15px; height: 15px; }
.zf-board-last { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid #4a0605; }
.zf-board-last li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; margin: 0 0 10px; }
.zf-board-last li:last-child { margin: 0; }
.zf-last-title { font-weight: 600; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.zf-last-meta { font-size: 12px; color: #bbb; }

/* avatars: round, as on the old board */
.favatar { border-radius: 50%; border: 0; box-shadow: none; background: #2c0201; }
.favatar-none { background: #7a1a17 !important; color: #fff !important; font-family: var(--sans) !important; font-weight: 600 !important; }
.fauthor .favatar { border-radius: 50%; }

/* ---------- other forum pages ---------- */
.forums .fbar { background: #590807; border: var(--frame); border-radius: 6px; outline: 0; box-shadow: none; }
.forums .card { background: #590807; border: var(--frame); border-radius: 6px; }
.forums h2 { font-family: var(--sans); color: #ccc; }
.forums table.ftable { background: #590807; border: var(--frame); border-radius: 6px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.forums table.ftable thead th { background: var(--bar); color: #ccc; border-bottom: var(--frame); font-weight: 400; text-transform: uppercase; font-size: 14px; padding: 8px 12px; }
.forums table.ftable td { border-top: 1px solid #4a0605; padding: 12px; }
.forums table.ftable tbody tr:hover { background: #640b0a; }
.forums .fboard { font-family: var(--sans); font-weight: 700; font-size: 16px; color: #ccc; }
.forums .ftag { color: #fff; border-color: #7a1a17; background: #420001; }
.forums .fpost { background: #590807; border: var(--frame); border-radius: 6px; box-shadow: none; }
.forums .fauthor { border-right-color: #4a0605; }
.forums .fauthor .ftitle { color: #fff; font-weight: 600; }
.forums .fmeta, .forums .fmeta a { color: #bbb; }
.forums blockquote, .forums .fquote { background: #420100; border: 1px solid #7a1a17; border-left: 4px solid #7a1a17; border-radius: 6px; color: #ccc; }
.forums pre, .forums code { background: #2c0201; border-color: #7a1a17; color: #eee; }
.forums input, .forums textarea, .forums select { background: #2c0201; color: #ccc; border: 1px solid #7a1a17; border-radius: 6px; }
.forums input:focus, .forums textarea:focus, .forums select:focus { background: #330302; border-color: #ccc; color: #fff; outline: 0; }
.muted, .forums .muted { color: #bbb; }

/* the copyright box, under the page */
.zf-copyright { background: #590807; border: var(--frame); border-radius: 6px; padding: 16px 18px; margin: 10px 0 0; text-align: center; font-size: 12px; }
.zf-copyright p { margin: 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .zf-board { grid-template-columns: 36px minmax(0, 1fr); }
  .zf-board-last { grid-column: 2; border-left: 0; padding: 10px 0 0; }
}
@media (max-width: 900px) {
  .zf-page.zf-has-side { display: flex; flex-direction: column-reverse; }
  .zf-page { padding: 20px 12px; }
  .zf-side { width: 100%; }
  .zf-top { padding: 0 8px; }
  .zf-menu a, .zf-user > a { padding: 10px 9px; font-size: 14px; }
  .zf-langs { margin: 0 6px; }
}
@media (max-width: 600px) {
  .zf-logo img { max-height: 170px; }
  .zf-band { height: 14px; }
  .zf-content-head { flex-direction: column; }
  .zf-title { font-size: 24px; }
  .zf-board { grid-template-columns: 28px minmax(0, 1fr); padding: 14px 4px; gap: 0 10px; }
  .zf-folder { width: 26px; height: 26px; }
  .zf-boards { padding: 0 6px; }
}
.forums .fme:empty { display: none; }

/* ---------- the breadcrumb in the crimson band, as on the old board (2026-11-23) ---------- */
.zf-band { height: auto; min-height: 40px; padding: 10px 40px; box-sizing: border-box; display: flex; align-items: center; }
.zf-crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 12px; color: #bbb; line-height: 18px; }
.zf-crumbs li { margin: 0; display: inline-flex; align-items: center; }
.zf-crumbs li + li::before { content: "/"; margin: 0 12px; color: #bbb; }
.zf-crumbs li:first-child::before {
  content: ""; width: 13px; height: 13px; margin-right: 8px;
  background: url("https://zelda.community/styles/northfire/zelda.gif") center / contain no-repeat;
}
.zf-crumbs a { color: #fff; }
.forums .fbar { display: none; }

/* ---------- your menu under your name ---------- */
.zf-um { position: relative; }
.zf-um summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; padding: 13px 15px; line-height: 25px; }
.zf-um summary::-webkit-details-marker { display: none; }
.zf-um summary:hover, .zf-um[open] summary { background: #1e0000; }
.zf-um summary .favatar { width: 24px !important; height: 24px !important; margin: 0; font-size: 11px !important; }
.zf-um ul {
  position: absolute; right: 0; top: 100%; z-index: 30; min-width: 230px; list-style: none; margin: 0; padding: 6px 0;
  background: #420001; border: 1px solid #7a1a17; border-top: 0; box-shadow: 0 8px 18px rgba(0, 0, 0, .6);
}
.zf-um li { margin: 0; }
.zf-um li a, .zf-um .zf-menu-link {
  display: block; width: 100%; text-align: left; padding: 8px 18px; color: #fff; font: 400 14px/1.4 var(--sans);
  background: none; border: 0; border-radius: 0; cursor: pointer;
}
.zf-um li a:hover, .zf-um .zf-menu-link:hover { background: #590807; text-decoration: none; }
.zf-ravens .fraven-count, .zf-um .fraven-count { background: #c0281f; color: #fff; font-size: 11px; }

/* ---------- Ravens in this look ---------- */
.forums .fraven { background: #590807; border: 2px solid #000; border-radius: 6px; }
.forums .fraven-new { background: #6e0f0c; border-color: #000; box-shadow: inset 4px 0 0 #c0281f; }
.forums a.fraven-card { color: #ccc; text-decoration: none; }
.forums a.fraven-card:hover { background: #640b0a; }
.forums .fraven-text, .forums .fraven-meta .fname { font-family: var(--sans); font-size: 15px; font-variant: normal; }
.forums .fraven-meta .fname { font-weight: 700; color: #fff; }
.forums .fraven-text { margin-top: 4px; }
.forums .fletter { background: #590807 url("https://zelda.community/styles/northfire/banner_texture.png"); border: 2px solid #000; border-radius: 6px; color: #ccc; box-shadow: none; }
.forums .fletter-from { font-family: var(--serif); color: #fff; }
.forums .fletter label { color: #ccc; }
.forums .fletter textarea, .forums .fletter input[type=text] { background: #2c0201; color: #eee; }
.forums .ftoolbar .fmd { background: #420001; color: #ddd; border: 1px solid #7a1a17; border-radius: 4px; }
.forums .ftabs a, .forums .ftabs span { border-color: #7a1a17; }
.forums .ftabs span[aria-current] { background: #7a1a17; color: #fff; }
.forums .btn.secondary, .forums button.btn.secondary { background: #420001; border: 1px solid #7a1a17; }
.forums button.flink, .forums .flink { background: none !important; padding: 0 !important; color: #ddd !important; border: 0; font-size: inherit; }
.forums .fflown { background: #420100; border: 1px solid #7a1a17; border-radius: 8px; }
.forums .note { background: #420100; border: 1px solid #7a1a17; border-left-width: 4px; border-radius: 6px; color: #ddd; }
@media (max-width: 900px) { .zf-band { padding: 8px 12px; } .zf-um summary { padding: 10px 9px; } }

/* ---------- the raven that carries a message: it flies across, wings beating (2026-11-23) ---------- */
.forums .fraven-ico { width: 1.6em; height: 1em; vertical-align: -0.15em; }
.zf-flight {
  position: relative; overflow: hidden; margin: 0 0 20px; padding: 46px 20px 12px;
  background: linear-gradient(#2c0201, #420100); border: 1px solid #7a1a17; border-radius: 8px; text-align: center;
}
.zf-flight p { margin: 0; color: #eee; font-style: italic; }
.zf-sky { position: absolute; left: 0; right: 0; top: 6px; height: 36px; }
.zf-flyer { position: absolute; left: -70px; top: 4px; width: 56px; height: 35px; color: #0b0000;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)); animation: zf-fly 3.2s cubic-bezier(.45, .05, .55, .95) .2s 1 forwards; }
.zf-wing { transform-box: fill-box; transform-origin: 30% 95%; animation: zf-flap .32s ease-in-out infinite alternate; }
.zf-wing-back { opacity: .55; animation-delay: .06s; }
@keyframes zf-flap { from { transform: scaleY(1) rotate(0deg); } to { transform: scaleY(-.55) rotate(6deg); } }
@keyframes zf-fly {
  0% { left: -70px; top: 14px; }
  30% { top: 2px; }
  60% { top: 10px; }
  100% { left: calc(100% + 70px); top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .zf-flyer { animation: none; left: calc(50% - 28px); }
  .zf-wing { animation: none; }
}
/* a bigger, clearer raven (2026-11-23) */
.zf-flight { padding-top: 74px; }
.zf-sky { height: 64px; }
.zf-flyer { width: 92px; height: 58px; left: -110px; color: #050000; filter: drop-shadow(0 0 2px rgba(255, 190, 180, .55)); animation-name: zf-fly2; }
@keyframes zf-fly2 {
  0% { left: -110px; top: 18px; }
  30% { top: 2px; }
  60% { top: 12px; }
  100% { left: calc(100% + 110px); top: 0; }
}
.forums .fname, .forums .fraven-head .fname { font-family: var(--sans); font-variant: normal; font-weight: 700; }
/* the wings beat from the shoulder (2026-11-23) */
.zf-flyer { width: 100px; height: 60px; color: #000; }
.zf-wing { transform-box: view-box; transform-origin: 44px 33px; animation: zf-flap2 .34s ease-in-out infinite alternate; }
.zf-wing-back { transform-origin: 56px 31px; opacity: .6; }
@keyframes zf-flap2 { from { transform: scaleY(1); } to { transform: scaleY(-.45); } }

/* ======== round 3 (2026-11-23): the old board's width, icons, user box, names, profiles ======== */
.zf-wrap { max-width: 1400px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.zf-top { padding: 0 20px; }
.zf-top-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.zf-band { padding: 10px 20px; }
.zf-page { max-width: 1400px; margin: 0 auto; padding: 30px 20px; box-sizing: border-box; }
.zf-page.zf-has-side { grid-template-columns: 300px minmax(0, 1fr); gap: 26px; }
html, body { background-color: #1e0000; }

/* icons in the menu bar */
.zf-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #fff; }
.zf-icon svg { width: 26px; height: 26px; }
.zf-icon:hover { background: #1e0000; }
.zf-badge { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #c0281f; color: #fff;
  font: 700 11px/18px var(--sans); text-align: center; box-shadow: 0 0 0 2px #420001; }
.zf-um summary { padding: 9px 12px; }
.zf-um summary .favatar { width: 32px !important; height: 32px !important; }
.zf-um-head { padding: 8px 18px 10px; font-weight: 700; color: #fff; border-bottom: 1px solid #7a1a17; margin-bottom: 4px !important; }

/* names as the old board coloured them */
.zf-name { color: #fff; }
.zf-u-webmaster, .zf-u-webmaster:visited { color: #28afb0 !important; font-weight: 700; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
.zf-u-admin, .zf-u-admin:visited { color: #b02928 !important; font-weight: 700; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
.zf-u-webmaster::before, .zf-u-admin::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 3px; vertical-align: -1px;
  background: url("https://zelda.community/styles/northfire/zelda.gif") center / contain no-repeat; }
.zf-rank-img { display: block; max-width: 100%; height: auto; margin: 3px 0; }

/* the user box */
.zf-userbox { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.zf-userbox-pic .favatar { width: 96px !important; height: 96px !important; font-size: 40px !important; }
.zf-userbox-name { font-size: 18px; line-height: 1.2; }
.zf-userbox .zf-stats { font-size: 13px; gap: 4px 8px; margin-top: 6px; }

/* the front page's buttons, folding categories, link boards */
.zf-actions { display: flex; justify-content: flex-end; gap: 6px; margin: -6px 0 16px; }
.zf-small-btn { display: inline-flex; align-items: center; gap: 6px; background: #420001 !important; color: #fff !important; border: 0; border-radius: 6px;
  padding: 5px 12px !important; font: 400 13px/1.4 var(--sans) !important; cursor: pointer; list-style: none; }
.zf-small-btn:hover { background: #640b0a !important; }
.zf-more { position: relative; }
.zf-more summary::-webkit-details-marker { display: none; }
.zf-more ul { position: absolute; right: 0; top: 110%; z-index: 20; list-style: none; margin: 0; padding: 6px 0; min-width: 200px; background: #420001; border: 1px solid #7a1a17; box-shadow: 0 8px 18px rgba(0,0,0,.6); }
.zf-more li { margin: 0; }
.zf-more li a { display: block; padding: 7px 16px; color: #fff; font-size: 14px; }
.zf-more li a:hover { background: #590807; text-decoration: none; }
.zf-cat-title { position: relative; }
.zf-collapse { position: absolute; right: 10px; top: 50%; width: 28px; height: 28px; margin-top: -14px; background: none !important; border: 0; cursor: pointer; padding: 0 !important; }
.zf-collapse::before { content: ""; position: absolute; left: 9px; top: 11px; width: 9px; height: 9px; border: solid #ccc; border-width: 2px 2px 0 0; transform: rotate(-45deg); transition: transform .15s; }
.zf-folded .zf-collapse::before { transform: rotate(135deg); top: 7px; }
.zf-folded .zf-boards { display: none; }
.zf-folded .zf-cat-title { border-bottom: 0; }
.zf-board-link .zf-board-main { grid-column: 2 / 4; }
.zf-globe { font-size: 12px; }
.zf-pick { list-style: none; margin: 0; padding: 10px 20px; columns: 2; }
.zf-pick li { margin: 0 0 6px; break-inside: avoid; }

/* tighter board rows, as on the old board */
.zf-board { padding: 14px 10px; grid-template-columns: 36px minmax(0, 1fr) 360px; }
.zf-board-main h3 { margin: 0 0 2px; }
.zf-board-desc { margin: 0 0 2px; line-height: 1.45; }
.zf-subs { margin-top: 6px; gap: 2px 12px; }
.zf-board-last li { margin: 0 0 8px; }

/* the sidebar on phones: behind a button, as on the old board */
.zf-side-t { position: absolute; opacity: 0; pointer-events: none; }
.zf-side-btn { display: none; }
@media (max-width: 900px) {
  .zf-page.zf-has-side { display: block; }
  .zf-side-btn { display: block; margin: 0 0 16px; padding: 10px 16px; background: #590807; border: 2px solid #000; border-radius: 6px; color: #fff; font-weight: 600; cursor: pointer; }
  .zf-side-btn::after { content: " \25BE"; }
  .zf-side { display: none; }
  .zf-side-t:checked ~ .zf-side { display: block; }
  .zf-side-t:checked + .zf-side-btn::after { content: " \25B4"; }
  .zf-side-t:focus-visible + .zf-side-btn { outline: 2px solid #fff; }
  .zf-icon { width: 40px; }
}

/* ---------- profiles (WoltLab 6 layout) ---------- */
.zf-profile-head { position: relative; margin: 0 0 20px; border: 2px solid #000; border-radius: 6px; overflow: hidden; background: #590807; }
.zf-cover { height: 280px; background: #2c0201 url("https://www.zeldacavern.net/img/themes/headerbg-r1.jpg") center / cover no-repeat; position: relative; }
.zf-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.zf-cover-edit { position: absolute; z-index: 2; right: 12px; top: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 5px 12px; border-radius: 6px; font-size: 13px; }
.zf-profile-bar { position: relative; z-index: 2; display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 20px; align-items: end; padding: 0 24px 16px; margin-top: -150px; }
.zf-profile-avatar .favatar { width: 136px !important; height: 136px !important; border: 4px solid #000 !important; font-size: 56px !important; }
.zf-profile-name { margin: 0; font-family: var(--sans); font-size: 30px; font-weight: 700; color: #fff; text-shadow: 0 2px 6px #000; line-height: 1.15; }
.zf-profile-name .zf-u-webmaster, .zf-profile-name .zf-u-admin { font-size: inherit; }
.zf-online { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 700; background: #2f8a3a; color: #fff; border-radius: 4px; padding: 1px 6px; text-shadow: none; }
.zf-profile-title { margin: 4px 0; color: #eee; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; text-shadow: 0 1px 3px #000; }
.zf-profile-title .zf-rank-img { display: inline-block; margin: 0; }
.zf-profile-meta { margin: 0; color: #ddd; font-size: 13px; text-shadow: 0 1px 3px #000; }
.zf-profile-buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.zf-button-on { background: #2c0201 !important; border: 1px solid #7a1a17 !important; }
.zf-profile-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0 24px; background: #4a0605; border-top: 1px solid #000; }
.zf-profile-stats > div { padding: 10px 22px 10px 0; margin-right: 22px; border-right: 1px solid #2c0201; }
.zf-profile-stats > div:last-child { border-right: 0; }
.zf-profile-stats dt { font-size: 12px; color: #bbb; margin: 0; }
.zf-profile-stats dd { font-size: 18px; color: #fff; margin: 0; font-weight: 600; }
.zf-tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0 10px; background: #420001; border: 2px solid #000; border-bottom: 0; border-radius: 6px 6px 0 0; }
.zf-tabs a, .zf-tabs span { padding: 11px 16px; color: #ccc; font-weight: 600; font-size: 14px; }
.zf-tabs a:hover { color: #fff; text-decoration: none; }
.zf-tabs span[aria-current] { color: #fff; box-shadow: inset 0 -3px 0 #c0281f; }
.zf-tab-body { border-radius: 0 0 6px 6px; margin-top: 0; }
.zf-pad { padding: 18px 20px; }
.zf-sub { font-family: var(--sans); font-size: 16px; color: #fff; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #4a0605; }
.zf-sub ~ .zf-sub { margin-top: 22px; }
.zf-about { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; }
.zf-about dt { color: #bbb; margin: 0; }
.zf-about dd { margin: 0; color: #fff; }
.zf-wall-form { display: grid; gap: 8px; margin: 0 0 18px; max-width: none; }
.zf-wall-form textarea { width: 100%; }
.zf-wall-form button { justify-self: end; }
.zf-comment-wrap { border-top: 1px solid #4a0605; padding: 14px 0; }
.zf-comment, .zf-response { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.zf-response { margin: 10px 0 0 52px; padding: 10px 12px; background: #4a0605; border-radius: 6px; }
.zf-comment-meta { margin: 0 0 4px; font-size: 13px; color: #bbb; }
.zf-respond { margin: 8px 0 0 52px; font-size: 13px; }
.zf-respond summary { cursor: pointer; color: #ddd; }
.zf-activity { list-style: none; margin: 0; padding: 0; }
.zf-activity li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #4a0605; }
.zf-activity li:first-child { border-top: 0; }
.zf-activity p { margin: 0 0 3px; }
.zf-activity-text { color: #ccc; font-size: 14px; }
.zf-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zf-people li { margin: 0; }
.zf-people a { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: #ddd; max-width: 80px; text-align: center; }
.zf-trophies { list-style: none; margin: 0; padding: 0; }
.zf-trophies li { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; }
.zf-trophy { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; font-size: 20px; border-radius: 50%; background: #171616; border: 2px solid #000; }
.zf-cover-preview { height: 160px; background: center / cover no-repeat; border: 2px solid #000; border-radius: 6px; margin: 0 0 12px; }
.zf-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 18px; }
.zf-edit .zf-cat { margin-bottom: 20px; }
.zf-member-list { list-style: none; margin: 0; padding: 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.zf-member-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 12px 8px; border-top: 1px solid #4a0605; margin: 0; }
.zf-member-name { font-weight: 700; color: #fff; }
.zf-member-title, .zf-member-meta { font-size: 12px; color: #bbb; }
.zf-members-search { display: flex; gap: 8px; margin: 0 0 14px; }
.zf-members-search input { flex: 1; max-width: 320px; }
@media (max-width: 700px) {
  .zf-cover { height: 180px; }
  .zf-profile-bar { grid-template-columns: 88px 1fr; margin-top: -70px; padding: 0 12px 12px; gap: 12px; }
  .zf-profile-buttons { grid-column: 1 / -1; justify-content: flex-start; }
  .zf-profile-avatar .favatar { width: 88px !important; height: 88px !important; }
  .zf-profile-name { font-size: 22px; }
  .zf-profile-stats { padding: 0 12px; }
  .zf-profile-stats > div { padding-right: 12px; margin-right: 12px; }
}
/* fixes (2026-11-23): buttons never wrap; names in boxes run along a line */
.zf-button, a.zf-button { white-space: nowrap; flex-shrink: 0; }
.zf-name { display: inline; }
.zf-smiley { height: 23px; width: auto; vertical-align: middle; }
.zf-stamp { height: auto; max-height: 100px; }

/* ---------- the profile as on the live board (2026-11-23, round 2) ---------- */
.zf-page.zf-has-side.zf-side-right { grid-template-columns: minmax(0, 1fr) 300px; }
.zf-side-right .zf-side { order: 2; }
.zf-side-right .zf-main { order: 1; }
.zf-profile-head { border: 0; background: none; overflow: visible; border-radius: 0; margin: 0 0 24px; }
.zf-cover { height: 200px; border-radius: 6px; border: 0; }
.zf-cover::after { height: 110px; border-radius: 0 0 6px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.zf-cover-edit { right: 10px; top: 12px; background: #590807; border-radius: 6px; padding: 6px 12px; font-size: 13px; }
.zf-cover-name { position: absolute; z-index: 2; left: 158px; right: 20px; bottom: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.zf-profile-name { font-family: var(--serif); font-weight: 600; font-size: 34px; color: #fff; text-shadow: 0 2px 6px #000; margin: 0; letter-spacing: .02em; }
.zf-cover-name .zf-rank-img { display: inline-block; margin: 0; }
.zf-rank-text { background: #7a1a17; color: #fff; border-radius: 4px; padding: 2px 8px; font-size: 13px; }
.zf-profile-bar { margin-top: 0; padding: 10px 0 0; grid-template-columns: 158px minmax(0, 1fr) auto; gap: 0 16px; align-items: start; }
.zf-profile-avatar { margin-top: -72px; padding-left: 10px; position: relative; z-index: 3; }
.zf-profile-avatar .favatar { width: 128px !important; height: 128px !important; border: 0 !important; }
.zf-profile-id p { margin: 0 0 3px; color: #ccc; font-size: 15px; line-height: 1.5; }
.zf-profile-nums b { color: #fff; font-weight: 700; }
.zf-profile-buttons { flex-direction: column; align-items: flex-end; gap: 10px; }
.zf-profile-small { display: flex; gap: 4px; }
.zf-tabs { background: #590807; border-radius: 6px 6px 0 0; padding: 16px 20px 0; border-bottom: 0; }
.zf-tabs a, .zf-tabs span { font-size: 20px; font-weight: 600; padding: 0 0 6px; margin-right: 20px; color: #ccc; }
.zf-tabs span[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 #fff; }
.zf-tab-body { border-top: 0; }
.zf-tab-body > .zf-pad { border-top: 1px solid #4a0605; margin: 0 20px; padding: 18px 0; }
.zf-count { display: inline-block; margin-left: 8px; padding: 0 6px; background: #ccc; color: #2c0201; border-radius: 3px; font-size: 13px; line-height: 20px; vertical-align: 2px; }
.zf-stack { display: flex; flex-wrap: wrap; padding-left: 8px; }
.zf-stack a { margin-left: -8px; }
.zf-stack .favatar { width: 48px !important; height: 48px !important; border: 2px solid #590807 !important; }
.zf-right { text-align: right; margin: 12px 0 0 !important; }
@media (max-width: 900px) {
  .zf-cover-name { left: 16px; bottom: 10px; }
  .zf-profile-name { font-size: 26px; }
  .zf-profile-bar { grid-template-columns: 1fr; }
  .zf-profile-avatar { margin-top: 10px; }
  .zf-profile-buttons { align-items: flex-start; }
  .zf-tabs a, .zf-tabs span { font-size: 16px; }
}
/* the user box exactly as the live board's (2026-11-23) */
.zf-userbox { grid-template-columns: 110px 1fr; gap: 16px; }
.zf-userbox-pic .favatar { width: 110px !important; height: 110px !important; }
.zf-userbox-name { font-size: 22px; }
.zf-userbox-name .zf-name::before { display: none; }
.zf-userbox .zf-stats { grid-template-columns: auto auto; font-size: 14px; gap: 5px 10px; }
.zf-userbox .zf-stats dt { color: #fff; white-space: nowrap; }
.zf-userbox .zf-stats dd { color: #ccc; }

/* ---------- text sizes as on the old board; no small capitals (2026-11-23) ---------- */
.zf-main { font-size: 15px; line-height: 1.5; }
.zf-main *, .zf-main input::placeholder, .zf-main textarea::placeholder { font-variant: normal !important; }
.zf-main input, .zf-main textarea, .zf-main select, .zf-main button { font-family: var(--sans) !important; }
.forums .fcontent, .forums .fcontent p, .forums .fraven-text { font-size: 15px; line-height: 1.55; }
.forums .fcontent p { margin: 0 0 .8em; }
.forums .fauthor { font-size: 12px; line-height: 1.45; }
.forums .fauthor .fname { font-size: 15px; font-family: var(--sans); }
.forums .fauthor .ftitle { font-size: 12px; margin: 1px 0 3px; background: none; border: 0; padding: 0; color: #ccc; font-weight: 400; }
.forums .fmeta, .forums .fmeta a, .forums .small, .forums small, .forums .muted.small { font-size: 12px; }
.forums label { font-size: 14px; font-weight: 600; }
.forums .fletter-from { display: none; }
.forums .fletter { background: #590807; padding: 16px 18px; }
.forums .fletter input[type=text], .forums .fform input[type=text], .forums .fform input[type=search] { font-size: 15px; padding: 7px 10px; }
.forums textarea { font-size: 15px; }
.forums .btn.secondary, .forums button.btn.secondary, .forums .fwatch-form .btn, .forums .factions .btn {
  background: #420001 !important; border: 0 !important; border-radius: 6px; padding: 5px 12px !important; font-size: 13px !important; }
.forums .btn.secondary:hover { background: #640b0a !important; }
.forums .ftag { font-size: 11px; }
.forums .fpost { gap: 0; }
.forums .fauthor .favatar { width: 96px !important; height: 96px !important; }
.zf-main h1.page-title { font-size: 28px; }
.forums h2 { font-size: 18px; }
.forums .note { font-size: 14px; padding: 8px 14px; }
/* the raven in the menu bar, and the line that says what Ravens are */
.zf-icon-raven svg { width: 34px; height: 22px; }
.zf-raven-about { margin: 0; color: #ccc; font-size: 14px; }
.zf-raven-about .fraven-ico { color: #fff; }
/* the user box fits its column (2026-11-23) */
.zf-userbox { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
.zf-userbox-pic .favatar { width: 88px !important; height: 88px !important; }
.zf-userbox-info { min-width: 0; }
.zf-userbox .zf-stats { grid-template-columns: minmax(0, 1fr) auto; font-size: 13px; }
.zf-userbox .zf-stats dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zf-userbox .zf-rank-img { max-width: 100%; }
/* sub-forums folded behind + / − (2026-11-23) */
.zf-subs-btn { margin: 6px 0 0; background: none !important; border: 0; padding: 0 !important; color: #ccc; font: 400 12px/1.4 var(--sans); cursor: pointer; }
.zf-subs-btn:hover { color: #fff; }
.zf-pm { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 4px; border-radius: 3px; background: #420001; color: #fff; font-weight: 700; line-height: 1; }
.zf-subs-closed { display: none; }
.zf-subs-btn + .zf-subs { margin-top: 6px; }
/* the profile header, smaller (owner, 2026-11-23) */
.zf-profile-id p { font-size: 13px; line-height: 1.5; margin: 0 0 2px; }
.zf-profile-nums { font-size: 13px; }
.zf-profile-name { font-size: 28px; }
.zf-cover-name .zf-rank-img { max-height: 22px; width: auto; }
.zf-online { font-size: 10px; }
.zf-profile-buttons .zf-button, .zf-profile-buttons .zf-small-btn, .zf-cover-edit { font-size: 13px !important; padding: 5px 12px !important; border-radius: 6px; }
.zf-profile-bar { padding-top: 8px; }
.zf-profile-avatar .favatar { width: 120px !important; height: 120px !important; }
.zf-profile-avatar { margin-top: -66px; }

/* ---------- a Raven exchange, read like posts (2026-11-23) ---------- */
.forums .zf-raven-msg { margin: 0 0 16px; }
.forums .zf-raven-new { box-shadow: inset 4px 0 0 #c0281f; }
.zf-new-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 3px; background: #c0281f; color: #fff; font-size: 11px; font-weight: 700; }
.zf-msg-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #4a0605; }
.zf-msg-foot form { margin: 0; }
.zf-edit-buttons { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.zf-reply { margin: 0 0 20px; background: #590807; border: 2px solid #000; border-radius: 6px; }
.zf-reply > summary { list-style: none; cursor: text; display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #bbb; }
.zf-reply > summary::-webkit-details-marker { display: none; }
.zf-reply > summary span { flex: 1; background: #2c0201; border: 1px solid #7a1a17; border-radius: 6px; padding: 8px 12px; }
.zf-reply[open] > summary span { display: none; }
.zf-reply[open] > summary { padding-bottom: 0; }
.zf-reply .fletter { border: 0; margin: 0; }
.zf-raven-people { list-style: none; margin: 0; padding: 0; }
.zf-raven-people li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; margin: 0 0 10px; }
.zf-raven-people .zf-left { opacity: .55; }
.zf-add-people { display: flex; gap: 6px; margin-top: 10px; }
.zf-add-people input { flex: 1; min-width: 0; background: #2c0201; color: #ccc; border: 1px solid #7a1a17; border-radius: 6px; padding: 5px 8px; font-size: 13px; }
.zf-side-links form { margin: 0; }
.zf-side-link { display: block; width: 100%; text-align: left; background: none !important; border: 0; color: #fff; padding: 6px 0 !important; font: 400 14px/1.4 var(--sans); cursor: pointer; }
.zf-side-link:hover { text-decoration: underline; }
/* the latest threads beside each board: a padded, darker box, titles kept inside it (owner, 2026-11-23) */
.zf-board-last { background: #420100; border: 1px solid #2c0201; border-left: 1px solid #2c0201; border-radius: 6px; padding: 10px 14px; min-width: 0; align-self: start; }
.zf-board-last li { grid-template-columns: 24px minmax(0, 1fr); }
.zf-board-last li > div { min-width: 0; }
.zf-last-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zf-last-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .zf-board-last { margin-top: 10px; padding: 10px 12px; } }
/* sidebar lists, smaller (owner, 2026-11-23) */
.zf-tline { gap: 8px; margin: 0 0 9px; }
.zf-tline-title { font-size: 13px; line-height: 1.35; }
.zf-tline-meta { font-size: 11px; margin-top: 1px; }
.zf-tline .zf-name::before { width: 10px; height: 10px; }
.zf-sbox { font-size: 13px; }
.zf-sbox-title, .forums h2.zf-sbox-title { font-size: 16px; padding: 5px 10px; }
.zf-last-title { font-size: 14px; }
.zf-last-meta { font-size: 11px; }
.zf-reply > summary span { flex: none; background: none; border: 0; padding: 0; }
.zf-reply > summary .zf-reply-hint { flex: 1; background: #2c0201; border: 1px solid #7a1a17; border-radius: 6px; padding: 8px 12px; }
.zf-reply[open] > summary .zf-reply-hint { display: none; }
.zf-reply > summary .favatar { width: 32px !important; height: 32px !important; flex: none; font-size: 14px !important; }
/* whole titles, wrapping inside the box: no "…" (owner, 2026-11-23) */
.zf-last-title, .zf-last-meta { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.35; }
.zf-board-last li { align-items: start; }
.zf-board-last li .favatar { margin-top: 2px; }
/* latest threads box: a thin black frame, and a thin black line between the two (owner, 2026-11-23) */
.zf-board-last { border: 1px solid #000; padding: 0 14px; }
.zf-board-last li { margin: 0; padding: 9px 0; }
.zf-board-last li + li { border-top: 1px solid #000; }
/* the owner's border: 2px solid #000 (2026-11-23) */
.zf-board-last { border: 2px solid #000; }
.zf-board-last li + li { border-top: 2px solid #000; }

/* ======== 2px solid #000 everywhere (owner's border, trial 2026-11-23) ======== */
.zf-notice { border: 2px solid #000; }
.zf-board { border-top: 2px solid #000; }
.zf-board:first-child { border-top: 0; }
.forums .fauthor { border-right: 2px solid #000; }
.forums .fmeta { border-bottom: 2px solid #000; }
.zf-msg-foot { border-top: 2px solid #000; }
.forums table.ftable td { border-top: 2px solid #000; border-bottom: 0; }
.forums table.ftable thead th { border-bottom: 2px solid #000; }
.zf-comment-wrap, .zf-activity li, .zf-member-list li { border-top: 2px solid #000; }
.zf-comment-wrap:first-of-type, .zf-activity li:first-child { border-top: 0; }
.zf-response { border: 2px solid #000; }
.zf-tab-body > .zf-pad { border-top: 2px solid #000; }
.zf-profile-stats > div { border-right: 2px solid #000; }
.zf-reply, .zf-flight, .forums .note, .forums .fflown, .zf-cover-preview { border: 2px solid #000; }
.zf-reply > summary .zf-reply-hint, .zf-add-people input { border: 2px solid #000; }
.forums input[type=text], .forums input[type=search], .forums input[type=password], .forums input[type=email], .forums input[type=date],
.forums textarea, .forums select, .zf-members-search input { border: 2px solid #000 !important; }
.forums input:focus, .forums textarea:focus, .forums select:focus { border-color: #c0281f !important; }
.forums blockquote, .forums .fquote { border: 2px solid #000; border-left: 4px solid #000; }
.forums pre, .forums code { border: 2px solid #000; }
.zf-um ul, .zf-more ul { border: 2px solid #000; }
.zf-um-head { border-bottom: 2px solid #000; }
.zf-langs { border: 2px solid #000; }
.zf-small-btn { border: 2px solid #000 !important; }
.zf-button, a.zf-button, .forums button[type=submit] { border: 2px solid #000 !important; }
.zf-band { border-bottom: 2px solid #000; }
.zf-top { border-bottom: 2px solid #000; }
.zf-header { border-bottom: 2px solid #000; }
.forums .ftoolbar .fmd { border: 2px solid #000; }
.forums .fcompose-box { border: 2px solid #000; }
.zf-trophy { border: 2px solid #000; }
.forums .fsig, .forums .fsignature, .forums .fsig-box { border-top: 2px solid #000 !important; }
.zf-profile-head .zf-cover { border: 2px solid #000; }
/* posts: no black lines inside, the frame only; smaller rank badges; room around the text (owner, 2026-11-23) */
.forums .fpost .fauthor { border-right: 1px solid #4a0605; }
.forums .fpost .fmeta { border-bottom: 1px solid #4a0605; }
.forums .fpost .zf-msg-foot { border-top: 1px solid #4a0605; }
.forums .fpost .fbody { padding: 0 24px 16px 22px; }
.forums .fpost .fmeta { margin: 0 -24px 14px -22px; padding: 8px 24px 8px 22px; }
.forums .fauthor .zf-rank-img, .zf-userbox .zf-rank-img { max-height: 20px; width: auto; max-width: 120px; }
.forums .fpost .fauthor { padding: 16px 12px; }
/* registration */
.zf-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.zf-register .zf-cat { margin-bottom: 20px; }
.zf-register label { display: block; max-width: 520px; }
.zf-register input[type=text], .zf-register input[type=email], .zf-register input[type=password] { width: 100%; }
.zf-reg-submit[disabled] { opacity: .5; cursor: wait; }

/* ---------- forms as the old board laid them out (2026-11-23) ---------- */
.zf-form .zf-cat { margin-bottom: 20px; }
.zf-row { display: grid; grid-template-columns: 240px minmax(0, 520px); gap: 0 24px; margin: 0 0 14px; align-items: start; }
.zf-row dt { margin: 0; text-align: right; padding-top: 6px; }
.zf-row dt label { font-size: 14px; font-weight: 600; color: #fff; }
.zf-row dd { margin: 0; }
.zf-row small { display: block; margin-top: 4px; font-size: 12px; color: #bbb; }
.zf-form input[type=text], .zf-form input[type=email], .zf-form input[type=password], .zf-form input[type=date], .zf-form select, .zf-form textarea {
  width: 100%; box-sizing: border-box; height: 34px; padding: 5px 10px; font: 400 14px/1.4 var(--sans); color: #eee;
  background: #2c0201; border: 2px solid #000 !important; border-radius: 6px; margin: 0; }
.zf-form textarea { height: auto; }
.zf-form input:focus, .zf-form textarea:focus { border-color: #c0281f !important; outline: 0; background: #330302; }
.zf-q { margin: 6px 0 8px; font-size: 14px; color: #fff; }
.zf-check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 400; color: #ccc; margin-top: 6px; }
.zf-pow-status { margin: 0; font-size: 12px; color: #bbb; }
.zf-form-submit { text-align: center; margin: 0 0 20px; }
.zf-form .zf-pad > p, .zf-row dd p { margin: 0 0 6px; font-size: 14px; }
@media (max-width: 700px) {
  .zf-row { grid-template-columns: 1fr; }
  .zf-row dt { text-align: left; padding: 0 0 4px; }
}
/* reactions, tags, prefixes as the old board (2026-11-23) */
.zf-react-img { width: 20px; height: 20px; vertical-align: middle; }
.forums .freact { background: #420001; border: 2px solid #000; border-radius: 6px; padding: 2px 7px; }
.forums .freact-mine { background: #7a1a17; }
.forums .freact-none { opacity: .55; }
.forums .freact-none:hover { opacity: 1; }
.zf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.zf-tag { display: inline-block; background: #420001; border: 2px solid #000; border-radius: 4px; padding: 1px 8px; font-size: 12px; color: #ddd; }
.zf-tag:hover { background: #640b0a; color: #fff; text-decoration: none; }
.zf-tagcloud { line-height: 1.5; margin: 0; }
.zf-tagcloud a { color: #fff; margin-right: 4px; }
.zf-taglist { list-style: none; margin: 0; padding: 10px 20px; }
.zf-taglist li { padding: 7px 0; border-top: 2px solid #000; margin: 0; }
.zf-taglist li:first-child { border-top: 0; }
.forums .ftag-topic { background: #ccc; color: #2c0201; border: 0; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 11px; border-radius: 3px; padding: 1px 6px; }

/* ======== phones and narrow screens: last, so nothing above overrides them (2026-11-23) ======== */
@media (max-width: 1100px) {
  .zf-board { grid-template-columns: 36px minmax(0, 1fr); }
  .zf-board-last { grid-column: 2; margin-top: 10px; }
  .zf-board-link .zf-board-main { grid-column: 2; }
}
@media (max-width: 700px) {
  .zf-page, .zf-page.zf-has-side { padding: 14px 8px; display: block; }
  .zf-board { grid-template-columns: 26px minmax(0, 1fr); gap: 0 10px; padding: 12px 4px; }
  .zf-folder { width: 24px; height: 24px; }
  .zf-board-last { grid-column: 1 / -1; padding: 0 10px; }
  .zf-boards { padding: 0 8px; }
  .zf-content-head { flex-direction: column; gap: 10px; }
  .zf-title { font-size: 22px; }
  .zf-notice { padding: 8px 12px 8px 40px; font-size: 13px; }
  .zf-actions { margin: 0 0 12px; }
  .zf-top { padding: 0 6px; }
  .zf-top-in { justify-content: center; }
  .zf-menu { justify-content: center; width: 100%; }
  .zf-menu a { padding: 8px 7px; font-size: 13px; }
  .zf-user { width: 100%; justify-content: center; flex-wrap: wrap; }
  .zf-band { padding: 6px 10px; }
  .zf-crumbs { font-size: 11px; }
  .forums .fpost { grid-template-columns: 1fr; }
  .forums .fpost .fauthor { border-right: 0; border-bottom: 1px solid #4a0605; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-align: left; }
  .forums .fpost .fauthor .favatar { width: 48px !important; height: 48px !important; }
  .forums .fpost .fbody { padding: 0 14px 12px; }
  .forums .fpost .fmeta { margin: 0 -14px 10px; padding: 6px 14px; }
  .zf-row { grid-template-columns: 1fr; }
  .zf-row dt { text-align: left; padding: 0 0 4px; }
  .zf-cover { height: 140px; }
  .zf-cover-name { left: 12px; }
  .zf-profile-name { font-size: 22px; }
  .zf-profile-bar { grid-template-columns: 1fr; padding: 8px 4px 0; }
  .zf-profile-avatar { margin-top: -40px; }
  .zf-profile-avatar .favatar { width: 80px !important; height: 80px !important; }
  .zf-profile-buttons { flex-direction: row; flex-wrap: wrap; align-items: flex-start; margin-top: 8px; }
  .zf-tabs a, .zf-tabs span { font-size: 15px; margin-right: 12px; }
}
/* polls in crimson (2026-11-23) */
.forums .fpoll { background: #590807; border: 2px solid #000; border-radius: 6px; }
.forums .fpoll-q { font-family: var(--sans); font-size: 16px; color: #fff; }
.forums .fpoll-bar, .forums .fpoll-track { background: #2c0201 !important; border: 2px solid #000; border-radius: 4px; }
.forums .fpoll-fill, .forums .fpoll-bar > span, .forums .fpoll-bar > div { background: linear-gradient(#c0281f, #7a1a17) !important; }
/* the admin panel and pages (2026-11-23) */
.zf-acp-menu { list-style: none; margin: 0; padding: 0; }
.zf-acp-menu li { margin: 0; }
.zf-acp-menu a { display: block; padding: 6px 8px; color: #ddd; font-size: 14px; border-radius: 4px; }
.zf-acp-menu a:hover { background: #420001; color: #fff; text-decoration: none; }
.zf-acp-menu a[aria-current] { background: #7a1a17; color: #fff; }
.zf-acp-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0 0 20px; }
.zf-acp-stats div { background: #590807; border: 2px solid #000; border-radius: 6px; padding: 12px 14px; }
.zf-acp-stats b { display: block; font-size: 24px; color: #fff; }
.zf-acp-stats span { font-size: 12px; color: #bbb; }
.zf-acp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.zf-acp-table th { text-align: left; color: #bbb; font-weight: 600; font-size: 12px; text-transform: uppercase; padding: 6px 8px; border-bottom: 2px solid #000; }
.zf-acp-table td { padding: 7px 8px; border-top: 1px solid #4a0605; }
.zf-acp-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.zf-acp-act { display: flex; gap: 6px; align-items: center; margin: 0; }
.zf-acp-act input { background: #2c0201; color: #eee; border: 2px solid #000; border-radius: 6px; padding: 4px 8px; font-size: 13px; }
.zf-acp-act input[type=number] { width: 70px; }
.zf-footer-links { margin: 8px 0 0; font-size: 12px; }
.zf-footer-links a { color: #fff; }
.zf-page-body { font-size: 15px; }
.zf-page-body h2, .zf-page-body h3 { font-family: var(--sans); color: #fff; }
.zf-notice p { margin: 0; }
.zf-alerts { list-style: none; margin: 0; padding: 6px 16px; }
.zf-alerts li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid #4a0605; margin: 0; }
.zf-alerts li:first-child { border-top: 0; }
.zf-alerts .zf-unread a { font-weight: 700; color: #fff; }
.zf-alerts .zf-unread { box-shadow: inset 3px 0 0 #c0281f; padding-left: 8px; }
.zf-avatar-row { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.zf-avatar-row form + form { grid-column: 2; }
.zf-ignored { list-style: none; margin: 0; padding: 0; }
.zf-ignored li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #4a0605; }
.zf-avatar-row .zf-row { grid-template-columns: 110px minmax(0, 420px); }
/* the IRC chat in the forum's colours (2026-11-23) */
#webchat.chatroom { --bg: #1e0000; --bg-band: #2c0201; --surface: #590807; --surface-2: #420001; --border: #000; --border-strong: #000;
  --text: #ccc; --text-strong: #fff; --muted: #bbb; --accent: #7a1a17; --accent-2: #9e2420; --accent-hot: #c0281f; --radius: 6px; }
#webchat.chatroom .wc-login label { color: #fff; }
#webchat.chatroom .wc-login input { background: #2c0201; color: #eee; border: 2px solid #000; border-radius: 6px; }

/* Built by Kyle Bargman, 2026-11-23: the blog as WoltLab's: article boxes, a framed entry, an author sidebar */
.zf-blog-list { display: flex; flex-direction: column; gap: 16px; }
.zf-blog-card { display: flex; gap: 16px; background: #590807; border: 2px solid #000; border-radius: 6px; padding: 14px 18px; }
.zf-blog-thumb { flex: none; }
.zf-blog-thumb img { width: 160px; height: 110px; object-fit: cover; border-radius: 4px; border: 2px solid #000; display: block; }
.zf-blog-card-main { min-width: 0; flex: 1; }
.zf-blog-card h3 { margin: 0 0 4px; font: 700 17px/1.35 var(--sans); font-variant: normal; text-transform: none; letter-spacing: 0; }
.zf-blog-card h3 a { color: #fff; }
.zf-blog-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; font-size: 13px; color: #aaa; }
.zf-blog-meta .favatar { width: 24px; height: 24px; }
.zf-blog-snip { margin: 0 0 6px; font-size: 14px; color: #ccc; }
.zf-blog-more { margin: 0; font-size: 13px; }
.zf-main h1.page-title.zf-blog-title { font: 700 24px/1.3 var(--sans); font-variant: normal; text-transform: none; color: #fff; }
.zf-blog-entry { background: #590807; }
.zf-blog-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 2px solid #000; background: rgba(0, 0, 0, .18); }
.zf-blog-head p { margin: 0; }
.zf-blog-head .zf-name { font-size: 15px; }
.zf-blog-pic { margin: 16px 20px 0; }
.zf-blog-pic img { max-height: 420px; }
.zf-blog-body { padding: 16px 24px 8px; font-size: 15px; }
.zf-blog-body .fimg { max-width: min(100%, 640px); }
.zf-blog-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 20px; border-top: 1px solid rgba(0, 0, 0, .45); }
.zf-blog-foot .factions { display: flex; gap: 6px; margin: 0; }
.zf-blog-author { text-align: center; }
.zf-blog-author .favatar { width: 96px; height: 96px; margin: 0 auto 6px; display: block; }
.zf-blog-author p { margin: 2px 0; }
.zf-blog-side-list { list-style: none; margin: 0; padding: 0; }
.zf-blog-side-list li { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(0, 0, 0, .35); font-size: 14px; }
.zf-blog-side-list li:last-child { border-bottom: 0; }
.zf-blog-side-list .zf-count { margin-left: auto; }
.zf-blog-more-list li { display: block; }
.zf-blog-more-list small { display: block; color: #999; font-size: 12px; }
.forums p.fpager.small { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0; }
@media (max-width: 700px) {
  .zf-blog-card { flex-direction: column; padding: 12px; }
  .zf-blog-thumb img { width: 100%; height: 160px; }
  .zf-blog-body { padding: 12px 14px 6px; }
}

/* Built by Kyle Bargman, 2026-11-23: page titles in the forum's own type (no carved capitals);
   avatars never squeezed; the blog's meta lines start at the left */
.zf-main h1.page-title { font: 700 24px/1.3 var(--sans) !important; font-variant: normal; text-transform: none; color: #fff; }
.favatar { flex: none; }
.forums .fraven-card > .favatar { width: 48px !important; height: 48px !important; object-fit: cover; }
.forums .fraven-body { min-width: 0; flex: 1; }
.zf-blog-meta, .zf-blog-head, .zf-blog-side-list li { justify-content: flex-start !important; text-align: left; }
.zf-blog-meta > *, .zf-blog-head > *, .zf-blog-side-list li > :not(.zf-count) { margin: 0 !important; }
.zf-blog-head > div { flex: 1; }
img.favatar { object-fit: cover; }

/* phones: the post's author as one tidy row, as WoltLab does: picture, name, title, rank */
@media (max-width: 700px) {
  .zf-main h1.page-title { font-size: 20px !important; }
  .forums .fpost .fauthor { display: grid !important; grid-template-columns: 44px 1fr; column-gap: 10px; row-gap: 1px; align-items: center; padding: 10px 14px !important; text-align: left; }
  .forums .fpost .fauthor > * { grid-column: 2; margin: 0; justify-self: start; }
  .forums .fpost .fauthor > a:first-child, .forums .fpost .fauthor > .favatar:first-child { grid-column: 1; grid-row: 1 / span 3; align-self: center; }
  .forums .fpost .fauthor .favatar { width: 44px !important; height: 44px !important; }
  .forums .fpost .fauthor > .small, .forums .fpost .fauthor > .freceived, .forums .fpost .fauthor > .fsend-raven,
  .forums .fpost .fauthor > .fignore-form, .forums .fpost .fauthor > .fnotecount { display: none !important; }
  .forums .fpost .fauthor .zf-rank-img { max-height: 16px; }
  .forums .fraven-card { padding: 10px 12px; gap: 10px; }
  .forums .fraven-card > .favatar { width: 40px !important; height: 40px !important; }
  .forums .fraven-text, .forums .fraven-meta .fname { font-size: 14px; }
  .forums .fcontent, .forums .fcontent p { font-size: 14px; }
}

/* Built by Kyle Bargman, 2026-11-23: the Administration, WoltLab's ACP in our colours */
.zf-acp-group { margin: 12px 0 4px; font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.zf-acp-group:first-child { margin-top: 0; }
.zf-acp-menu { list-style: none; margin: 0 0 6px; padding: 0; }
.zf-acp-menu a { display: block; padding: 4px 8px; border-radius: 4px; color: #ccc; font-size: 14px; }
.zf-acp-menu a:hover { background: rgba(0, 0, 0, .25); color: #fff; text-decoration: none; }
.zf-acp-menu a[aria-current] { background: #7a1a17; color: #fff; font-weight: 600; }
.zf-acp-menu span { display: inline-block; width: 1.4em; text-align: center; }
.zf-acp .zf-acp-box { margin: 0 0 20px; }
.zf-acp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.zf-acp-grid > form { min-width: 0; }
.zf-acp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 20px; }
.zf-acp-stats > div { background: #590807; border: 2px solid #000; border-radius: 6px; padding: 12px 14px; }
.zf-acp-stats b { display: block; font-size: 22px; color: #fff; line-height: 1.2; }
.zf-acp-stats span { font-size: 13px; color: #bbb; }
.zf-status { margin: 0; padding: 0; list-style: none; }
.zf-status li { padding: 6px 10px; margin: 0 0 6px; border-left: 4px solid #e0a030; background: rgba(0, 0, 0, .22); border-radius: 0 4px 4px 0; }
.zf-ok-line { margin: 0; color: #8fd48f; font-weight: 600; }
.zf-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; font-size: 14px; }
.zf-kv dt { color: #aaa; }
.zf-kv dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.zf-acp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.zf-acp-table th { text-align: left; padding: 6px 8px; border-bottom: 2px solid #000; color: #fff; font-weight: 600; white-space: nowrap; }
.zf-acp-table th a { color: #fff; }
.zf-acp-table th a.on::after { content: ' \25BE'; }
.zf-acp-table td { padding: 6px 8px; border-bottom: 1px solid rgba(0, 0, 0, .4); vertical-align: middle; }
.zf-acp-table tr:last-child td { border-bottom: 0; }
.zf-acp-table tbody tr:hover { background: rgba(0, 0, 0, .15); }
.zf-num { text-align: right; white-space: nowrap; }
.zf-ul-name { display: flex; align-items: center; gap: 8px; }
.zf-ul-name .zf-rank-img { display: block; max-height: 16px; margin-top: 2px; }
.zf-acp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.zf-acp-tabs a, .zf-acp-tabs span { padding: 5px 14px; border: 2px solid #000; border-radius: 4px; background: #3c0403; color: #ccc; font-size: 14px; }
.zf-acp-tabs span { background: #7a1a17; color: #fff; font-weight: 600; }
.zf-acp-tabs a:hover { color: #fff; text-decoration: none; background: #590807; }
.zf-acp-search { display: flex; gap: 8px; margin: 0 0 12px; max-width: 520px; }
.zf-acp-search input { flex: 1; }
.zf-count { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 4px; background: rgba(0, 0, 0, .35); color: #fff; font-size: 12px; text-align: center; text-transform: none; }
.zf-acp-user { display: flex; gap: 16px; align-items: center; background: #590807; border: 2px solid #000; border-radius: 6px; padding: 14px 18px; margin: 0 0 20px; }
.zf-acp-user .favatar { width: 72px !important; height: 72px !important; }
.zf-acp-user h2 { margin: 0 0 4px; font: 700 20px/1.3 var(--sans); display: flex; align-items: center; gap: 8px; }
.zf-acp-user p { margin: 2px 0; }
.zf-acp-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zf-acp-act { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.zf-acp-act input[type=number] { width: 80px; }
.zf-acp-act input[type=text] { width: 180px; }
.zf-acp-user-content { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.zf-acp-inputs input { width: 100%; }
.zf-acp-inputs td:first-child { width: 130px; }
.zf-barcell { width: 40%; }
.zf-bar { height: 10px; background: rgba(0, 0, 0, .35); border-radius: 5px; overflow: hidden; }
.zf-bar span { display: block; height: 100%; background: #c0281f; }
.zf-errlist { list-style: none; margin: 0 0 12px; padding: 0; max-height: 600px; overflow: auto; }
.zf-errlist li { padding: 4px 0; border-bottom: 1px solid rgba(0, 0, 0, .4); font-size: 12px; }
.zf-errlist code { white-space: pre-wrap; word-break: break-all; background: none; }
.zf-checks { list-style: none; margin: 0; padding: 0; }
.zf-checks li { padding: 3px 0; }
.zf-checks .ok { color: #8fd48f; }
.zf-checks .bad { color: #ff8a80; font-weight: 600; }
.zf-smiley-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.zf-smiley-grid > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; background: rgba(0, 0, 0, .2); border-radius: 4px; }
.zf-smiley-grid img { max-height: 32px; }
.zf-smiley-grid code { font-size: 11px; background: none; color: #bbb; text-align: center; word-break: break-all; }
.zf-thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 3px; border: 1px solid #000; display: block; }
.zf-trophy { font-size: 18px; }
.zf-acp .zf-row dd small { display: block; margin-top: 3px; color: #aaa; font-size: 12px; }
.zf-acp .zf-row textarea, .zf-acp .zf-row input[type=text], .zf-acp .zf-row input[type=email], .zf-acp .zf-row select { width: 100%; max-width: 640px; }
.zf-acp .zf-row input[type=number] { width: 120px; }
@media (max-width: 900px) {
  .zf-acp-grid { grid-template-columns: 1fr; }
  .zf-acp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .zf-acp-table { font-size: 13px; }
  .zf-userlist td:nth-child(4), .zf-userlist th:nth-child(4), .zf-userlist td:nth-child(5), .zf-userlist th:nth-child(5) { display: none; }
  .zf-acp-user { flex-direction: column; text-align: center; }
}
.zf-ul-name { justify-content: flex-start; text-align: left; }
.zf-ul-name > div { text-align: left; }
.zf-acp-user { justify-content: flex-start; }
.zf-acp-user > div { flex: 1; text-align: left; min-width: 0; }
.zf-acp-user h2 { justify-content: flex-start; }
.zf-acp-user .zf-rank-img { max-height: 20px; }
/* the staff permissions, in the Administration (Kyle Bargman, 2026-11-23) */
.zf-acp .fperm { margin: 0; padding: 0; background: none; border: 0; }
.zf-perm-who { margin: 0 0 12px; font-size: 16px; }
.zf-perm-group { display: flex; flex-wrap: wrap; gap: 6px 18px; border: 1px solid rgba(0, 0, 0, .5); border-radius: 4px; padding: 6px 12px 10px; margin: 0 0 12px; }
.zf-perm-group legend { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; padding: 0 6px; }
.zf-acp .fperm-item { font-size: 14px; padding: 2px 6px; }
.zf-acp .fperm-changed { background: rgba(224, 160, 48, .18); outline: 1px solid rgba(224, 160, 48, .55); }
.zf-acp .fperm-copy select { width: auto; }
.zf-ul-name .favatar, .zf-ul-name > div { margin: 0 !important; } .zf-ul-name { width: max-content; }
/* the Zelda Cavern pages editor (Kyle Bargman, 2026-11-23) */
.zf-site-crumbs { margin: 0 0 12px; font-size: 14px; color: #aaa; }
.zf-site-crumbs b { color: #fff; }
.zf-acp textarea.zf-site-code { width: 100%; min-height: 560px; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; tab-size: 4; white-space: pre; overflow: auto; background: #1a0000; color: #e8e8e8; border: 2px solid #000; border-radius: 4px; padding: 10px; }
.zf-site-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.zf-site-pics figure { margin: 0; background: rgba(0, 0, 0, .25); border-radius: 4px; padding: 6px; }
.zf-site-pics img { width: 100%; height: 100px; object-fit: contain; display: block; }
.zf-site-pics input { width: 100%; font-size: 11px; margin-top: 4px; }
.zf-acp textarea.zf-site-code { font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace !important; }

/* every form field the same: number boxes padded and centred like the rest, no spinner arrows;
   labels in the label size, never wrapping (Kyle Bargman, 2026-11-23) */
.zf-main input[type=number], .zf-main input[type=text], .zf-main input[type=email], .zf-main input[type=password], .zf-main input[type=search], .zf-main select {
  box-sizing: border-box; height: 36px; padding: 0 10px !important; font: 400 14px/34px var(--sans) !important; vertical-align: middle;
  background: #2c0201; color: #eee; border: 2px solid #000; border-radius: 4px; }
.zf-main input[type=number] { width: 120px; -moz-appearance: textfield; appearance: textfield; }
.zf-main input[type=number]::-webkit-outer-spin-button, .zf-main input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zf-main input:focus, .zf-main select:focus { border-color: #c0281f !important; outline: 0; }
.zf-row dt { font-size: 14px; font-weight: 600; color: #fff; padding-top: 8px; line-height: 1.35; }
.zf-acp .zf-row { grid-template-columns: 260px minmax(0, 1fr); }
.zf-row dd small { font-size: 12px; line-height: 1.45; }
.zf-row dd .zf-check { display: inline-flex; align-items: center; gap: 8px; padding-top: 8px; font-size: 14px; }
/* the announcement's form (Kyle Bargman, 2026-11-23) */
.zf-notice-form .fcompose-box { margin: 0 0 12px; }
.zf-notice-form textarea { width: 100%; box-sizing: border-box; }
.zf-notice-when { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; margin: 0 0 14px; }
.zf-notice-when label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #fff; }
.zf-main input[type=date], .zf-main input[type=time] { box-sizing: border-box; height: 36px; padding: 0 10px !important; font: 400 14px var(--sans) !important;
  background: #2c0201; color: #eee; border: 2px solid #000; border-radius: 4px; color-scheme: dark; }
.zf-main input[type=date] { width: 160px; }
.zf-main input[type=time] { width: 120px; }
.zf-notice-when select { min-width: 140px; }
.zf-past-notices { margin: 0; padding-left: 18px; }
.zf-past-notices li { padding: 3px 0; }
.zf-acp .zf-notice-form { max-width: none; margin: 0; padding: 0; background: none; border: 0; }
/* the board's thread list: headings line up with their columns; the pager as small boxes (Kyle Bargman, 2026-11-23) */
.forums table.ftable thead th:first-child, .forums table.ftable thead th.ftopic-col { text-align: left; }
.forums .fpager { justify-content: flex-start; gap: 4px; margin: 10px 0; font-size: 13px; }
.forums .fpager a, .forums .fpager b, .forums .fpager span.fpage { display: inline-block; min-width: 28px; padding: 3px 8px; text-align: center; border: 2px solid #000; border-radius: 4px; background: #3c0403; color: #ccc; line-height: 1.4; }
.forums .fpager a:hover { background: #590807; color: #fff; text-decoration: none; }
.forums .fpager b { background: #7a1a17; color: #fff; border-color: #000; }
.forums p.fpager.small a { min-width: 0; text-align: left; }
.forums table.ftable thead th:last-child { text-align: left; }
/* square avatars everywhere, as WoltLab's (owner, 2026-11-23) */
.favatar, img.favatar, .zf-main .favatar, .zf-um summary .favatar, .zf-profile-avatar .favatar, .zf-stack .favatar,
.zf-userbox-pic .favatar, .zf-blog-author .favatar, .zf-acp-user .favatar, .fauthor .favatar { border-radius: 3px !important; }
.zf-cover-name h1, .zf-cover-name h2, .zf-cover-name .zf-profile-name, .zf-cover-name .zf-name { font-family: var(--sans) !important; font-variant: normal !important; font-weight: 700; text-transform: none; }

/* the top bar: every icon a full-height square, its picture dead centre; our own tooltip,
   centred under the icon, in the forum's colours (Kyle Bargman, 2026-11-23) */
.zf-top-in { align-items: stretch; }
.zf-menu, .zf-user { align-self: stretch; align-items: stretch; }
.zf-user > a, .zf-user > .zf-icon, .zf-user > .zf-search, .zf-um summary { display: inline-flex !important; align-items: center; justify-content: center; height: 100%; min-height: 54px; box-sizing: border-box; }
.zf-user > .zf-langs { align-self: center; }
.zf-um { display: flex; align-items: stretch; }
.zf-icon { width: 54px; height: auto; padding: 0 !important; }
.zf-icon svg, .zf-search svg { display: block; margin: 0; }
.zf-icon-raven svg { width: 34px; height: 22px; }
.zf-search { width: 54px; padding: 0 !important; }
.zf-um summary { padding: 0 12px; }
.zf-um summary:hover, .zf-search:hover { background: #1e0000; }
[data-tip] { position: relative; }
[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 50;
  padding: 5px 10px; background: #1e0000; color: #fff; border: 2px solid #000; border-radius: 4px; font: 400 13px/1.3 var(--sans); white-space: nowrap;
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .12s; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; visibility: visible; }
.zf-um[open] summary::after { display: none; }
@media (max-width: 700px) { [data-tip]::after { display: none; } .zf-icon, .zf-search { width: 44px; } .zf-user > a, .zf-um summary { min-height: 46px; } }

/* the top bar's panels: notifications and ravens (Kyle Bargman, 2026-11-23) */
.zf-user { position: relative; }
.zf-panel { position: absolute; top: 100%; z-index: 60; width: 380px; max-width: calc(100vw - 16px); background: #3c0403; border: 2px solid #000; border-top: 0;
  border-radius: 0 0 6px 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .55); color: #ccc; text-align: left; }
.zf-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #000; }
.zf-panel-head b { color: #fff; font-size: 17px; font-weight: 600; }
.zf-panel-head form { margin: 0; }
.zf-panel-act { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 4px; background: none; color: #fff; font-size: 22px; cursor: pointer; text-decoration: none; }
.zf-panel-act:hover { background: #590807; text-decoration: none; }
.zf-panel-list { max-height: 420px; overflow-y: auto; }
.zf-panel-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; color: #ccc; text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, .35); }
.zf-panel-item:hover { background: #590807; text-decoration: none; }
.zf-panel-item.zf-unread { background: #4e0907; box-shadow: inset 3px 0 0 #c0281f; }
.zf-panel-item .favatar, .zf-panel-group { width: 48px !important; height: 48px !important; flex: none; }
.zf-panel-group { display: inline-flex; align-items: center; justify-content: center; color: #ccc; }
.zf-panel-group svg { width: 40px; height: 40px; }
.zf-panel-item span { display: flex; flex-direction: column; min-width: 0; }
.zf-panel-item b { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.zf-panel-item small { font-size: 12px; color: #aaa; line-height: 1.5; }
.zf-panel-empty { margin: 0; padding: 16px 14px; color: #aaa; font-size: 14px; }
.zf-panel-foot { display: block; padding: 10px; text-align: center; color: #ccc; border-top: 1px solid #000; font-size: 14px; }
.zf-panel-foot:hover { background: #590807; color: #fff; text-decoration: none; }
.zf-icon-open { background: #1e0000; }
.zf-icon-open::after { display: none !important; }
@media (max-width: 700px) { .zf-panel { position: fixed; top: 46px; left: 8px; right: 8px !important; width: auto; } }
/* the board manager, compact (Kyle Bargman, 2026-11-23) */
.zf-fold > summary { list-style: none; cursor: pointer; display: inline-flex; }
.zf-fold > summary::-webkit-details-marker { display: none; }
.zf-fold[open] > summary { background: #7a1a17; color: #fff; }
.zf-board-new { margin: 0 0 16px; align-items: flex-start; }
.zf-board-new .zf-fold[open] { flex-basis: 100%; }
.zf-board-new .zf-fold[open] > form, .zf-cat-edit[open] > form { margin-top: 10px; padding: 14px; background: #590807; border: 2px solid #000; border-radius: 6px; }
.zf-cat-edit { margin: 0 0 10px; }
.zf-board-table td { vertical-align: top; }
.zf-board-name a { color: #fff; font-weight: 600; }
.zf-board-name .ftag { font-size: 11px; }
.zf-board-edit { text-align: right; width: 1%; white-space: nowrap; }
.zf-board-edit .zf-fold[open] { white-space: normal; }
.zf-board-edit .zf-fold[open] > form { position: relative; margin-top: 8px; width: min(640px, 70vw); text-align: left; padding: 14px; background: #3c0403; border: 2px solid #000; border-radius: 6px; }
.zf-board-form .zf-row { grid-template-columns: 130px minmax(0, 1fr); }
.zf-board-table { table-layout: fixed; }
.zf-board-table th:nth-child(2), .zf-board-table th:nth-child(3), .zf-board-table th:nth-child(4) { width: 90px; }
.zf-board-table th:nth-child(5) { width: 100px; }
/* avatars sit where they're put: the old stylesheet centred every one on its own line, which pushed
   rows (panels, lists) apart; centred only where it should be (Kyle Bargman, 2026-11-23) */
.favatar { margin: 0 !important; }
.forums .fauthor > a:first-child > .favatar, .forums .fauthor > .favatar:first-child,
.zf-userbox-pic .favatar, .zf-blog-author .favatar { margin: 0 auto 6px !important; }
@media (max-width: 700px) { .forums .fpost .fauthor .favatar { margin: 0 !important; } }

/* the Ravens list, as the old board's conversations (Kyle Bargman, 2026-11-23) */
.zf-rl { padding: 16px 18px; }
.zf-rl-head { display: flex; align-items: center; gap: 16px; padding: 10px 14px; background: var(--bar); border: 2px solid #000; color: #fff; }
.zf-rl-sort { font-size: 15px; text-transform: uppercase; }
.zf-rl-bulk { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.zf-rl-bulk select { height: 30px !important; width: auto; }
.zf-rl-list { list-style: none; margin: 0; padding: 0; }
.zf-rl-row { display: grid; grid-template-columns: 22px 52px minmax(0, 1fr) 80px 200px; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid rgba(0, 0, 0, .55); }
.zf-rl-row:last-child { border-bottom: 0; }
.zf-rl-row:hover { background: rgba(0, 0, 0, .12); }
.zf-rl-new { box-shadow: inset 3px 0 0 #c0281f; background: rgba(192, 40, 31, .08); }
.zf-rl-row input[type=checkbox], .zf-rl-head input[type=checkbox] { width: 18px; height: 18px; margin: 0; }
.zf-rl-pic { position: relative; display: block; width: 48px; height: 48px; }
.zf-rl-pic .favatar { width: 48px !important; height: 48px !important; }
.zf-rl-pics { position: relative; display: block; }
.zf-rl-pics .favatar + .favatar { position: absolute; right: -6px; bottom: -6px; width: 24px !important; height: 24px !important; border: 2px solid #590807 !important; font-size: 10px !important; }
.zf-rl-subject { color: #fff; font-size: 17px; line-height: 1.3; }
.zf-rl-new .zf-rl-subject { font-weight: 700; }
.zf-rl-meta { font-size: 13px; color: #aaa; margin-top: 2px; }
.zf-rl-meta b { color: #ddd; font-weight: 600; }
.zf-rl-count { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 16px; color: #ccc; }
.zf-rl-count svg { width: 20px; height: 20px; }
.zf-rl-last { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zf-rl-last .favatar { width: 32px !important; height: 32px !important; }
.zf-rl-last div { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.zf-rl-last small { color: #aaa; font-size: 12px; }
@media (max-width: 700px) {
  .zf-rl { padding: 8px; }
  .zf-rl-row { grid-template-columns: 20px 40px minmax(0, 1fr); gap: 10px; }
  .zf-rl-pic, .zf-rl-pic .favatar { width: 40px !important; height: 40px !important; }
  .zf-rl-count, .zf-rl-last { display: none; }
  .zf-rl-bulk { flex-wrap: wrap; }
}

/* the main menu's drop-downs, as the old board's (Kyle Bargman, 2026-11-23) */
.zf-menu { display: flex; align-items: stretch; }
.zf-mi { position: relative; display: flex; }
.zf-mi > a { display: inline-flex; align-items: center; gap: 6px; }
.zf-caret { width: 9px; height: 6px; opacity: .85; }
.zf-mi-drop { position: absolute; top: 100%; left: 0; z-index: 70; min-width: 210px; margin: 0; padding: 6px 0; list-style: none;
  background: #3c0403; border: 2px solid #000; border-top: 0; border-radius: 0 0 6px 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .12s, transform .12s, visibility .12s; }
.zf-mi-sub:hover .zf-mi-drop, .zf-mi-sub:focus-within .zf-mi-drop { opacity: 1; visibility: visible; transform: none; }
.zf-mi-drop a { display: block; padding: 8px 18px; color: #ccc; font-size: 14px; white-space: nowrap; }
.zf-mi-drop a:hover { background: #590807; color: #fff; text-decoration: none; }
@media (max-width: 700px) { .zf-mi-drop, .zf-caret { display: none; } }
.zf-crumbs li[aria-current] span { color: #ddd; }
/* Ravens: the sidebar's folders and filter, the foot with numbered pages (Kyle Bargman, 2026-11-23) */
.zf-side-folders { list-style: none; margin: 0; padding: 0; }
.zf-side-folders li { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px; font-size: 15px; }
.zf-side-folders li.on a { color: #fff; font-weight: 700; }
.zf-side-folders a { color: #ddd; }
.zf-side-filter { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.zf-side-filter button { align-self: center; }
.zf-rl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.zf-rl-top .zf-raven-about { margin: 0; flex: 1; font-size: 14px; }
.zf-rl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.forums .fpager .fpager-arrow { font-size: 16px; }
.forums .fpager span { padding: 0 4px; color: #aaa; }
.zf-side input[type=text], .zf-side input[type=search], .zf-side select { box-sizing: border-box; width: 100%; height: 36px; padding: 0 10px; font: 400 14px var(--sans);
  background: #2c0201; color: #eee; border: 2px solid #000; border-radius: 4px; }
.zf-side input:focus { border-color: #c0281f; outline: 0; }
/* the tag page's thread table, as the old board's (Kyle Bargman, 2026-11-23) */
.zf-tl-head { display: grid; grid-template-columns: minmax(0, 1fr) 110px 210px; gap: 14px; padding: 10px 14px; background: var(--bar); border: 2px solid #000; color: #fff; text-transform: uppercase; font-size: 15px; }
.zf-tl-head span:nth-child(2) { text-align: center; }
.zf-tl-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 60px 50px 210px; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid rgba(0, 0, 0, .55); }
.zf-tl-row:last-child { border-bottom: 0; }
.zf-tl-row:hover { background: rgba(0, 0, 0, .12); }
.zf-tl-row > .favatar { width: 48px !important; height: 48px !important; }
.zf-tl-icons { display: flex; gap: 6px; justify-content: flex-end; color: #ccc; }
.zf-tl-row .zf-rl-meta a { color: #ddd; }
@media (max-width: 700px) {
  .zf-tl-head { display: none; }
  .zf-tl-row { grid-template-columns: 40px minmax(0, 1fr); }
  .zf-tl-row > .favatar { width: 40px !important; height: 40px !important; }
  .zf-tl-icons, .zf-tl-row .zf-rl-count, .zf-tl-row .zf-rl-last { display: none; }
}
.zf-tl-head { grid-template-columns: minmax(0, 1fr) 80px 210px; }
.zf-tl-row { grid-template-columns: 52px minmax(0, 1fr) 50px 80px 210px; }
.zf-tl-row .zf-rl-count { justify-content: center; }
/* aligned blocks from the old board's posts and signatures (Kyle Bargman, 2026-11-23) */
.falign-center { text-align: center; }
.falign-right { text-align: right; }
.falign-justify { text-align: justify; }
.fsig .fimg { max-height: 200px; cursor: default; }

/* posts as the old board's (Kyle Bargman, 2026-11-23): the author in a darker box with the numbers,
   a hatched bar with the date, Official Post and #n; the signature; reactions left, icon buttons right */
.forums .fpost.zf-post { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; padding: 24px; margin: 0 0 20px; }
.forums .zf-post .fauthor.zf-author { border: 0 !important; background: #3c0403; border-radius: 6px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; align-self: start; font-size: 14px; }
.forums .zf-author .favatar { width: 128px !important; height: 128px !important; margin: 0 auto 10px !important; }
.forums .zf-author .fname { font-size: 18px; margin: 0 0 4px; }
.forums .zf-author .zf-rank-img { max-height: 22px; margin: 2px auto 0; }
.forums .zf-author .ftitle { font-size: 13px; color: #ccc; }
.zf-astats { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; width: 100%; margin: 18px 0 0; font-size: 13px; text-align: left; }
.zf-astats dt { color: #fff; font-weight: 600; margin: 0; }
.zf-astats dd { margin: 0; text-align: right; color: #ddd; overflow-wrap: anywhere; }
.zf-astats dt.zf-af { color: #bbb; font-weight: 400; }
.zf-astats dd.zf-af-wide { grid-column: 1 / -1; text-align: right; margin-top: -4px; }
.forums .zf-author .fsend-raven, .forums .zf-author .fignore-form, .forums .zf-author .fnotecount { margin-top: 10px; font-size: 12px; }
.forums .zf-author .fignore-form { margin-top: 2px; }
.forums .zf-post .fbody { padding: 0 !important; display: flex; flex-direction: column; min-width: 0; }
.zf-post-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 18px; background: var(--bar); border: 2px solid #000; margin: 0 0 18px; font-size: 14px; }
.zf-post-date { color: #ccc; text-transform: uppercase; }
.zf-official { background: #3b6aa8; color: #fff; padding: 1px 8px; border-radius: 3px; font-size: 13px; text-transform: uppercase; }
.zf-post-edited { font-size: 12px; color: #aaa; }
.zf-post-edited a { color: #aaa; }
.zf-post-no { margin-left: auto; color: #ccc; font-size: 16px; }
.forums .zf-post .fcontent { flex: 1; min-height: 60px; }
.forums .zf-post .fsig { margin-top: 24px; padding-top: 12px; border-top: 1px solid #000 !important; }
.zf-post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.zf-post-reacts .freacts { margin: 0; }
.zf-post-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.zf-pgroup { display: flex; background: #3c0403; border-radius: 6px; overflow: visible; }
.zf-pgroup > *, .zf-pgroup form { display: flex; }
.zf-pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 40px; padding: 0 12px; border: 0; background: none; color: #ddd; cursor: pointer; font: 400 14px var(--sans); list-style: none; }
.zf-pbtn::-webkit-details-marker { display: none; }
.zf-pbtn svg { width: 18px; height: 18px; }
.zf-pbtn:hover, .zf-pbtn-on { background: #590807; color: #fff; text-decoration: none; }
.zf-pgroup > :first-child .zf-pbtn, .zf-pgroup > .zf-pbtn:first-child { border-radius: 6px 0 0 6px; }
.zf-pgroup > :last-child .zf-pbtn, .zf-pgroup > .zf-pbtn:last-child { border-radius: 0 6px 6px 0; }
.zf-react-pick { position: relative; }
.zf-react-pop { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 40; padding: 6px; background: #3c0403; border: 2px solid #000; border-radius: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
.zf-react-pop .freacts { display: flex; gap: 4px; flex-wrap: nowrap; margin: 0; }
.zf-react-pick[open] > summary { background: #590807; }
.zf-react-pick > summary::after { display: none; }
/* the thread's head */
.zf-thread-head { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; }
.zf-thread-head > .favatar { width: 64px !important; height: 64px !important; }
.zf-thread-head h1.page-title { margin: 0 0 4px !important; }
.zf-thread-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; font-size: 15px; color: #ccc; }
.zf-thread-meta span { display: inline-flex; align-items: center; gap: 6px; }
.zf-thread-meta svg { width: 18px; height: 18px; }
.zf-thread-meta a { color: #ccc; }
@media (max-width: 700px) {
  .forums .fpost.zf-post { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .forums .zf-post .fauthor.zf-author { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 4px 10px; padding: 10px; text-align: left; }
  .forums .zf-author .favatar { width: 44px !important; height: 44px !important; margin: 0 !important; }
  .zf-astats, .forums .zf-author .fsend-raven, .forums .zf-author .fignore-form { display: none !important; }
  .zf-post-head { padding: 8px 10px; margin-bottom: 10px; }
  .zf-thread-head > .favatar { width: 44px !important; height: 44px !important; }
  .zf-post-btns { gap: 8px; }
  .zf-pbtn { min-width: 38px; height: 36px; padding: 0 8px; }
}
@media (max-width: 700px) {
  .forums .zf-author .zf-rank-img { margin: 0 !important; align-self: center; }
  .forums .zf-author .fname { margin: 0; align-self: center; }
  .zf-post-edited { flex-basis: 100%; order: 3; }
}
@media (min-width: 701px) { .forums .fpost.zf-post { grid-template-columns: 250px minmax(0, 1fr); } }
.zf-astats dd { white-space: nowrap; }
.zf-astats dd.zf-af-wide { white-space: normal; }
.zf-astats dd { min-width: 0; overflow: hidden; text-overflow: clip; }
.zf-astats dd.zf-af-wide { white-space: normal; overflow-wrap: anywhere; }
/* hidden means hidden, whatever a button's style says (the live "new replies" bar showed empty; 2026-11-23) */
[hidden] { display: none !important; }
/* headings in the forum's own type, no carved capitals */
.zf-main h2:not(.zf-cat-title), .zf-main h3 { font-family: var(--sans) !important; font-variant: normal !important; text-transform: none; letter-spacing: 0; font-weight: 700; color: #fff; }
/* the author box's numbers and fields: one row each, label left, value right (owner, 2026-11-23) */
.zf-astats { display: block; }
.zf-arow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.zf-arow dt { flex: none; margin: 0; color: #fff; font-weight: 600; }
.zf-arow dd { margin: 0; text-align: right; white-space: nowrap; overflow: visible; min-width: 0; }
.zf-arow.zf-af dt { color: #bbb; font-weight: 400; }
.zf-arow.zf-af-wide { flex-wrap: wrap; }
.zf-arow.zf-af-wide dd { flex-basis: 100%; white-space: normal; overflow-wrap: anywhere; }

/* the editor, as the old board's (Kyle Bargman, 2026-11-23) */
.forums .fcompose-box.zf-editor { border: 2px solid #000; border-radius: 6px; background: #2c0201; overflow: visible; }
.zf-toolbar { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 6px 8px; background: #3c0403; border-bottom: 2px solid #000; border-radius: 4px 4px 0 0; }
.zf-tgroup { display: inline-flex; padding: 0 6px; border-right: 1px solid rgba(255, 255, 255, .12); }
.zf-tgroup:last-child { border-right: 0; }
.zf-tbtn, .forums .ftoolbar .zf-tbtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 32px; padding: 0; border: 0 !important; background: none !important;
  color: #ddd; border-radius: 4px; cursor: pointer; box-shadow: none !important; }
.zf-tbtn:hover { background: #590807 !important; color: #fff; }
.zf-tbtn svg { width: 18px; height: 18px; }
.forums .zf-editor textarea { display: block; width: 100%; box-sizing: border-box; min-height: 220px; border: 0 !important; border-radius: 0; background: #2c0201; padding: 12px 14px; font: 15px/1.55 var(--sans); color: #eee; resize: vertical; }
.forums .zf-editor textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px #7a1a17; }
.forums .zf-editor .fpreview { padding: 12px 14px; min-height: 220px; }
.zf-editor-tabs { display: flex; flex-wrap: wrap; align-items: stretch; border-top: 2px solid #000; background: #3c0403; border-radius: 0 0 4px 4px; }
.zf-editor-tabs > details { position: static; }
.zf-etab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; cursor: pointer; list-style: none; color: #ddd; font-size: 14px; border-right: 1px solid #000; background: none !important; border-radius: 0 !important; }
.zf-etab::-webkit-details-marker { display: none; }
.zf-etab:hover, details[open] > .zf-etab { background: #590807 !important; color: #fff; }
.zf-editor-tabs details[open] { flex-basis: 100%; order: -1; }
.zf-editor-tabs details[open] > :not(summary) { padding: 10px 14px; border-bottom: 1px solid #000; }
.zf-editor-tabs .fdraft-note { margin-left: auto; align-self: center; padding: 0 12px; }
.zf-editor-foot { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 16px 0 0; }
.zf-editor-foot .fcompose-tabs { display: flex; gap: 6px; }
.zf-editor-foot .fcompose-tabs .fctab-on { display: none; }
.zf-editor-foot .fcompose-tabs .fctab:not(.fctab-on) { display: inline-flex; }
/* the reply: your picture beside it */
.zf-reply-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; padding: 24px; margin: 20px 0; background: #590807; border: 2px solid #000; border-radius: 6px; }
.zf-reply-me { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 18px; background: #3c0403; border-radius: 6px; align-self: start; font-size: 17px; font-weight: 700; }
.zf-reply-me .favatar { width: 128px !important; height: 128px !important; }
.zf-warn { margin: 0 0 14px; padding: 12px 16px; background: #fbf6e2; color: #5c4b14; border-radius: 6px; font-size: 15px; }
.zf-warn a { color: #3d2f00; }
@media (max-width: 700px) {
  .zf-reply-wrap { grid-template-columns: 1fr; padding: 12px; gap: 10px; }
  .zf-reply-me { flex-direction: row; padding: 8px 10px; font-size: 15px; }
  .zf-reply-me .favatar { width: 36px !important; height: 36px !important; }
  .zf-etab { padding: 8px 12px; }
}
/* the tab strip under the box: tabs side by side, an open one's panel below them */
.forums .zf-editor { position: relative; }
.zf-editor-tabs > details { display: inline-block; }
.zf-editor-tabs details[open] { flex-basis: auto; order: 0; }
.zf-editor-tabs details[open] > :not(summary) { position: absolute; left: -2px; right: -2px; top: 100%; z-index: 20; margin-top: 0; padding: 12px 14px !important;
  background: #3c0403; border: 2px solid #000 !important; border-top: 0 !important; border-radius: 0 0 6px 6px; max-height: 260px; overflow: auto; box-shadow: 0 10px 20px rgba(0, 0, 0, .45); }
.zf-editor-tabs .fsmilies { display: flex; flex-wrap: wrap; gap: 4px; }
.zf-smiley-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 2px; background: none !important; border: 1px solid transparent !important; border-radius: 4px; cursor: pointer; }
.zf-smiley-btn:hover { background: #590807 !important; border-color: #000 !important; }
.zf-smiley-btn img { max-height: 30px; max-width: 40px; }
.zf-editor-tabs .fhelp-table { width: 100%; font-size: 13px; }
.forums .zf-editor-tabs { flex-direction: row !important; }
.forums .zf-editor-tabs > details.fpicker, .forums .zf-editor-tabs > details.fhelp { display: inline-block !important; position: static !important; width: auto !important; margin: 0 !important; flex: none; }
.forums .zf-editor-tabs > details > summary { border-top: 0; }
.forums .zf-editor-tabs .fpicker .fsmilies { max-width: none; margin: 0; }
/* the menu's icons (Kyle Bargman, 2026-11-23) */
.zf-mico { width: 20px; height: 20px; flex: none; }
.zf-mi > a { gap: 8px; }
/* member cards: Team, Users Online */
.zf-mcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.zf-mcard { display: flex; gap: 12px; align-items: center; padding: 12px; background: #3c0403; border-radius: 6px; }
.zf-mcard .favatar { width: 64px !important; height: 64px !important; }
.zf-mcard p { margin: 0 0 3px; }
.zf-mcard-name { font-size: 16px; font-weight: 700; }
.zf-mcard .zf-rank-img { max-height: 18px; display: block; margin: 2px 0; }
@media (max-width: 1100px) { .zf-menu .zf-mico { display: none; } }
/* the gallery, as the old board's Images and Videos (Kyle Bargman, 2026-11-23) */
.zf-gal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.zf-gal-head h1.page-title { margin: 0 !important; }
.zf-gal { padding: 18px 22px; }
.zf-gal-sort { display: flex; align-items: center; gap: 14px; padding: 0 0 10px; margin: 0 0 16px; border-bottom: 2px solid #ddd; font-size: 15px; }
.zf-gal-sort a { color: #bbb; }
.zf-gal-sort a.on { color: #fff; font-weight: 600; }
.zf-gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.zf-gal-tile { margin: 0; background: #3c0403; border-radius: 6px; overflow: hidden; }
.zf-gal-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.zf-gal-tile figcaption { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; font-size: 14px; }
.zf-gal-tile figcaption a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.zf-gal-tile figcaption span { color: #aaa; font-size: 12px; }
.zf-tagcloud a { display: inline-block; margin: 0 8px 4px 0; color: #ddd; line-height: 1.3; }
.zf-tagcloud a.on { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .zf-gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .zf-gal-grid { grid-template-columns: 1fr; } .zf-gal { padding: 10px; } }
/* the board manager's Edit: a full-width row under the board */
.zf-board-table tr.zf-edit-row { display: none; }
.zf-board-table tr:has(details[open]) + tr.zf-edit-row { display: table-row; }
.zf-board-table tr.zf-edit-row > td { padding: 4px 8px 16px; }
.zf-board-table tr.zf-edit-row .zf-board-form { padding: 14px; background: #3c0403; border: 2px solid #000; border-radius: 6px; }
.zf-board-table tr.zf-edit-row .zf-board-form .zf-row { grid-template-columns: 160px minmax(0, 1fr); }
/* the merge tool's preview */
.zf-merge-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0 0 14px; }
.zf-merge-card { padding: 12px 14px; background: #3c0403; border-radius: 6px; border: 2px solid #000; }
.zf-merge-card:first-child { border-color: #2e7d32; }
.zf-merge-card p { margin: 0 0 6px; text-transform: uppercase; font-size: 11px; }
.zf-merge-card .zf-astats { margin-top: 10px; }
/* buttons side by side are the same size */
.zf-board-new summary.zf-button { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; font-size: 15px; }
/* the triforce before a name is the Webmasters' alone (owner, 2026-11-23) */
.zf-u-admin::before { display: none !important; }
/* a page's sister pages, as tabs above it */
.zf-acp-pagetabs { margin: 0 0 18px; padding: 0 0 10px; border-bottom: 2px solid #000; }
/* two-step setup (Kyle Bargman, 2026-11-23) */
.zf-steps { margin: 0; padding-left: 20px; }
.zf-steps li { margin: 0 0 16px; }
.zf-qr { width: 220px; height: 220px; margin: 12px 0; padding: 8px; background: #fff; border-radius: 6px; }
.zf-qr svg { width: 100%; height: 100%; display: block; }
.zf-secret { font-size: 15px; letter-spacing: 1px; background: rgba(0, 0, 0, .3); padding: 2px 6px; border-radius: 4px; }
.zf-main input.zf-code { width: 150px; font-size: 20px !important; letter-spacing: 4px; text-align: center; }
.zf-backup-codes { columns: 2; max-width: 360px; font-size: 16px; }
.zf-backup-codes code { background: rgba(0, 0, 0, .3); padding: 2px 8px; border-radius: 4px; letter-spacing: 1px; }
/* the login page's "or", and the passkey button */
.zf-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: #aaa; font-size: 13px; }
.zf-or::before, .zf-or::after { content: ""; flex: 1; border-top: 1px solid rgba(255, 255, 255, .15); }
.zf-pk-login { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }
/* the top bar on one line on laptops too (Kyle Bargman, 2026-11-23) */
@media (max-width: 1440px) {
  .zf-menu .zf-mi > a { padding-left: 11px !important; padding-right: 11px !important; font-size: 15px; }
  .zf-icon, .zf-search { width: 46px; }
}
@media (max-width: 1280px) {
  .zf-menu .zf-mico { display: none; }
  .zf-langs a, .zf-langs span { padding: 4px 9px !important; font-size: 13px; }
}
.zf-notice-lab { margin: 10px 0 6px; font-size: 13px; font-weight: 600; color: #fff; }
.zf-ignore-list { list-style: none; margin: 0; padding: 0; columns: 2; } .zf-ignore-list li { padding: 3px 0; break-inside: avoid; } @media (max-width: 700px) { .zf-ignore-list { columns: 1; } }
/* the author box's rows in any width (ravens are narrower): a value that won't fit drops to its own line, right-aligned */
.zf-arow { flex-wrap: wrap; column-gap: 8px; }
.zf-arow dd { margin-left: auto !important; max-width: 100%; }
.zf-arow.zf-af-wide dd a { white-space: nowrap; }
.fauthor .zf-astats { min-width: 0; width: 100%; box-sizing: border-box; }
/* boxes (Kyle Bargman, 2026-11-23) */
.zf-box-table .zf-sort { width: 70px !important; }
.zf-box-group th { background: #3c0403; color: #fff; text-transform: uppercase; font-size: 12px; padding: 6px 8px; }
.zf-where { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; }
.zf-where-h { flex-basis: 100%; margin: 6px 0 2px; font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; }
.zf-where-more { margin-top: 6px; }
.zf-where-grid { margin-top: 8px; padding: 10px; background: #3c0403; border-radius: 6px; max-height: 360px; overflow: auto; }
.zf-where-grid .zf-check { font-size: 13px; width: 260px; }
.zf-box-wide { margin: 0 0 20px; }
.zf-box-body > :last-child { margin-bottom: 0; }
.zf-box-plain { padding: 12px; }
.zf-box-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.zf-box-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; display: block; }
/* Style and Logos */
.zf-color { display: inline-flex; align-items: center; gap: 10px; }
.zf-color input[type=color] { width: 54px; height: 34px; padding: 2px; border: 2px solid #000; border-radius: 4px; background: #2c0201; cursor: pointer; }
.zf-style-prev { display: block; max-height: 70px; max-width: 260px; margin: 0 0 6px; background: #1e0000; border: 1px solid #000; }
.zf-style-fav { max-height: 32px; }
.zf-style-file { margin-top: 6px; font-size: 13px; }
/* the Filebase, as the old board's (Kyle Bargman, 2026-11-23) */
.zf-desc { margin: 4px 0 0; color: #ccc; font-size: 15px; }
.zf-file-list { list-style: none; margin: 0; padding: 6px 18px; }
.zf-file { display: grid; grid-template-columns: 64px minmax(0, 1fr) 110px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, .5); }
.zf-file:last-child { border-bottom: 0; }
.zf-file-pic { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #3c0403; border-radius: 6px; overflow: hidden; color: #bbb; }
.zf-file-pic img { width: 100%; height: 100%; object-fit: cover; }
.zf-file-pic svg { width: 34px; height: 34px; }
.zf-file-title { color: #fff; font-size: 17px; font-weight: 600; }
.zf-file-ver { display: inline-block; padding: 0 7px; border-radius: 4px; background: #3c0403; border: 1px solid #000; font-size: 12px; color: #ddd; vertical-align: 2px; }
.zf-file-about { margin: 4px 0 0; font-size: 13px; color: #bbb; }
.zf-file-dl { display: flex; flex-direction: column; align-items: center; font-size: 18px; color: #fff; text-align: center; }
.zf-file-dl svg { width: 20px; height: 20px; color: #bbb; }
.zf-file-dl small { font-size: 11px; color: #aaa; text-transform: uppercase; }
.zf-files-set { margin: 10px 0 0; }
.zf-files-set[open] > form { margin-top: 10px; padding: 12px; background: #3c0403; border-radius: 6px; }
@media (max-width: 700px) { .zf-file { grid-template-columns: 48px minmax(0, 1fr); } .zf-file-pic { width: 48px; height: 48px; } .zf-file-dl { display: none; } .zf-file-list { padding: 4px 10px; } }

/* Built by Kyle Bargman, 2026-11-23: the file page's Download button, and
   comments inside a box (no second heading, a lighter reply box) */
.zf-dl-box .zf-dl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; padding: 10px 14px; font-size: 16px; }
.zf-dl-box .zf-dl-btn svg { width: 20px; height: 20px; flex: none; }
.zf-dl-box .zf-dl-name { margin: 8px 0 0; word-break: break-word; }
.zf-file-comments .fcomments > h2 { display: none; }
.zf-file-comments .fcomments { margin: 0; }
.zf-file-comments .zf-reply-wrap { margin: 12px 0 0; padding: 0; background: none; border: 0; }
@media (min-width: 701px) { .zf-file-comments .zf-reply-wrap { grid-template-columns: 200px minmax(0, 1fr); } }

/* Built by Kyle Bargman, 2026-11-23: long links and unbroken words wrap on a phone */
.fcontent, .fcontent a, .fsig, .zf-sig, .fcomment-body, .zf-astats dd, .zf-dl-name, .zf-cat-title { overflow-wrap: anywhere; }
.zf-blog-author .zf-rank-img, .zf-userbox-pic ~ .zf-rank-img, .zf-reply-me .zf-rank-img { display: block; margin: 6px auto; }
@media (max-width: 700px) {
  .zf-post-btns { margin-left: 0; max-width: 100%; }
  .zf-pgroup { flex-wrap: wrap; }
  .zf-react-pop { max-width: calc(100vw - 40px); }
  .zf-react-pop .freacts { flex-wrap: wrap; }
}

/* Built by Kyle Bargman, 2026-11-23: phones fold the main menu behind a button;
   opened, it is a list with each section's pages under it */
.zf-burger { display: none; }
@media (max-width: 700px) {
  .zf-top-in { justify-content: space-between !important; flex-wrap: wrap; align-items: center; }
  .zf-burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
  .zf-burger svg { width: 26px; height: 26px; }
  .zf-top.zf-menu-open .zf-burger { background: #1e0000; }
  .zf-user { width: auto !important; flex-wrap: nowrap !important; justify-content: flex-end !important; }
  .zf-menu { display: none !important; order: 3; width: 100%; flex-direction: column; padding: 4px 0 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .zf-top.zf-menu-open .zf-menu { display: flex !important; }
  .zf-menu .zf-mi { display: block; }
  .zf-menu .zf-mi > a { display: flex; align-items: center; gap: 10px; padding: 12px 14px !important; font-size: 16px !important; box-shadow: none !important; }
  .zf-menu .zf-mi > a.active { background: #1e0000; border-left: 3px solid #c0281f; }
  .zf-menu .zf-mico { display: inline-block !important; width: 20px; height: 20px; }
  .zf-menu .zf-caret { display: none; }
  .zf-menu .zf-mi-drop { display: block !important; position: static !important; margin: 0 0 4px; padding: 0 0 0 44px; list-style: none; opacity: 1 !important; visibility: visible !important; transform: none !important; background: none !important; border: 0 !important; box-shadow: none !important; min-width: 0; }
  .zf-menu .zf-mi-drop a { display: block; padding: 7px 10px !important; font-size: 14px !important; color: #ccc; }
}
@media (max-width: 700px) {
  .zf-top-in { flex-wrap: wrap; }
  .zf-user { flex: 1 1 auto; min-width: 0; gap: 0; }
  .zf-user > a { padding: 8px 7px !important; font-size: 14px; }
  .zf-langs { margin: 0 4px !important; }
  .zf-langs a, .zf-langs span { padding: 4px 8px !important; font-size: 12px; }
  .zf-icon, .zf-search { width: 40px !important; }
}
/* Built by Kyle Bargman, 2026-11-23: phones: the profile's name beside the picture, not under it;
   tab rows (sorting, sections) as small pills that wrap */
@media (max-width: 700px) {
  .zf-cover-name { left: 104px !important; right: 10px; bottom: 8px; gap: 6px; }
  .zf-cover-name .zf-profile-name { font-size: 20px; }
  .zf-cover-name .zf-rank-img { max-height: 18px; }
  .ftabs { flex-wrap: wrap; gap: 6px; }
  .ftabs a, .ftabs span { white-space: nowrap; padding: 5px 12px !important; font-size: 14px; }
}
/* Built by Kyle Bargman, 2026-11-23: phones: wide tables scroll sideways instead of breaking words;
   the avatar form stacks under the picture; the ravens' toolbar wraps */
@media (max-width: 700px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll .ftable { min-width: 560px; }
  .zf-avatar-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .zf-avatar-row form, .zf-avatar-row .zf-row { width: 100%; }
  .zf-avatar-row .zf-row { display: block; }
  .zf-avatar-row input[type=file] { max-width: 100%; }
  .zf-rl-bulk { display: flex; flex-wrap: wrap; gap: 6px; }
  .zf-right { text-align: left; }
}
@media (max-width: 700px) {
  .table-scroll .ftable td, .table-scroll .ftable th { white-space: nowrap; }
  .zf-rl-head { flex-wrap: wrap; gap: 8px; }
  .zf-rl-sort { white-space: nowrap; flex: 1 1 auto; }
  .zf-rl-bulk { flex-wrap: nowrap; align-items: center; }
}
/* Built by Kyle Bargman, 2026-11-23: the Administration on a phone: labels above their fields,
   tables scroll sideways inside their box, the staff's extra icon fits on the top bar */
@media (max-width: 700px) {
  .zf-acp .zf-row, .zf-board-form .zf-row, .zf-board-table tr.zf-edit-row .zf-board-form .zf-row { grid-template-columns: 1fr !important; }
  .zf-acp .zf-row dt { text-align: left; padding: 0 0 4px; }
  .zf-acp-box > .zf-pad { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .zf-acp-table { min-width: 560px; }
  .zf-acp-table td, .zf-acp-table th { white-space: nowrap; }
  .zf-acp-table td input[type=text] { min-width: 140px; }
  .zf-acp .zf-pad { padding-left: 12px !important; padding-right: 12px !important; }
  .zf-icon { width: 34px !important; }
  .zf-icon svg { width: 22px; height: 22px; }
  .zf-um summary .favatar { width: 30px !important; height: 30px !important; }
  .zf-burger { width: 38px; }
  .zf-search { width: 34px !important; }
  .zf-langs { margin: 0 2px !important; }
  .zf-langs a, .zf-langs span { padding: 4px 6px !important; }
}
.zf-file-comments .zf-reply-wrap { margin: 12px 0 0; padding: 0; background: none; border: 0; grid-template-columns: 200px minmax(0, 1fr); }

/* Built by Kyle Bargman, 2026-11-23 (security review): pictures in signatures stay modest;
   a picture from another site in a raven, a wall or a signature is a link to click */
.fsig img.fimg, .fsig .fcontent img.fimg { max-height: 200px; width: auto; }
.fimg-remote { display: inline-block; padding: 2px 8px; border: 1px solid #000; border-radius: 4px; background: rgba(0, 0, 0, .25); font-size: 13px; }

/* Built by Kyle Bargman, 2026-11-23: the user menu as the old board's: you at the top, groups with icons */
.zf-um ul { min-width: 300px; padding: 0 0 0 !important; }
.zf-um li.zf-um-me a { display: flex !important; align-items: center; gap: 14px; padding: 16px 18px !important; }
.zf-um li.zf-um-me a:hover { background: none !important; }
.zf-um li.zf-um-me .favatar { width: 64px !important; height: 64px !important; flex: none; margin: 0 !important; font-size: 26px !important; }
.zf-um-who { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.zf-um-who b { font-size: 17px; color: #fff; overflow-wrap: anywhere; }
.zf-um-who .zf-rank-img { margin: 0 !important; max-width: 160px; }
.zf-um-who small { color: #bbb; }
.zf-um-sep { height: 0; border-top: 2px solid #000; margin: 4px 0 !important; }
.zf-um li a:not(.zf-um-me a) { display: flex !important; align-items: center; gap: 14px; }
.zf-um-ico { width: 20px; height: 20px; flex: none; color: #ccc; }
.zf-um li a:hover .zf-um-ico { color: #fff; }
.zf-um li a > span:not([class]) { flex: 1 1 auto; }
.zf-um-out .zf-menu-link { width: 100%; text-align: center; justify-content: center; padding: 12px 18px !important; }
.zf-um li.zf-um-out { margin-top: -4px !important; }
@media (max-width: 700px) { .zf-um ul { min-width: 0; width: calc(100vw - 20px); max-width: 340px; } }
@media (max-width: 700px) { .zf-um ul { position: fixed !important; top: 50px !important; right: 10px !important; left: auto !important; max-height: calc(100vh - 70px); overflow-y: auto; } }
/* Built by Kyle Bargman, 2026-11-23: the member list as the old board's cards */
.zf-members-head .zf-title { display: flex; align-items: center; gap: 10px; }
.zf-members-head .zf-count { font: 600 13px var(--sans); background: #590807; color: #fff; padding: 2px 8px; border-radius: 4px; border: 2px solid #000; }
.zf-members-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.zf-members-bar .fpager { margin: 0; }
.zf-mcards { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.zf-mcard { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; background: #590807; border: 2px solid #000; border-radius: 6px; overflow: hidden; padding-bottom: 0; }
.zf-mcard-cover { display: block; width: 100%; height: 80px; background: linear-gradient(180deg, #5fb4e6 0%, #9fd6f3 60%, #d6f0fb 100%) center / cover no-repeat; }
.zf-members-total { font-size: 13px; font-weight: 600; background: #590807; border: 2px solid #000; border-radius: 4px; padding: 3px 9px; }
.zf-members-bar .fpager { margin-right: auto; }
.zf-mcard-pic { margin-top: -40px; }
.zf-mcard-pic .favatar { width: 80px !important; height: 80px !important; border: 3px solid #000 !important; font-size: 32px !important; margin: 0 !important; }
.zf-mcard-name { margin: 8px 10px 2px; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.zf-mcard-title { font-size: 12px; color: #ccc; margin: 0 10px 4px; overflow-wrap: anywhere; }
.zf-mcard .zf-rank-img { display: block; margin: 2px auto 6px !important; max-width: 90%; }
.zf-mcard-seen { margin: auto 0 10px; padding: 8px 12px 0; font-size: 12px; color: #bbb; width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; gap: 8px; }
.zf-mcard-seen dt, .zf-mcard-seen dd { margin: 0; }
.zf-mcard-seen dd { color: #fff; }
.zf-mcard-nums { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 0; border-top: 2px solid #000; background: #3c0403; }
.zf-mcard-nums > div { padding: 8px 4px; }
.zf-mcard-nums > div + div { border-left: 1px solid #000; }
.zf-mcard-nums dt { font-size: 11px; color: #bbb; margin: 0; }
.zf-mcard-nums dd { font-size: 15px; font-weight: 700; color: #fff; margin: 2px 0 0; }
.zf-online-dot { width: 9px; height: 9px; border-radius: 50%; background: #4caf50; display: inline-block; }
.zf-side-search input { width: 100%; box-sizing: border-box; }
.zf-side-people { list-style: none; margin: 0; padding: 0; }
.zf-side-people li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; }
.zf-side-people li + li { border-top: 1px solid rgba(0, 0, 0, .35); }
.zf-side-people .favatar { width: 32px !important; height: 32px !important; margin: 0 !important; flex: none; }
.zf-side-people div { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.zf-side-people small { font-size: 12px; color: #bbb; }
@media (max-width: 700px) { .zf-mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .zf-mcard-nums dd { font-size: 13px; } .zf-members-sort { width: 100%; } }
.zf-mcards > li.zf-mcard { padding: 0 !important; }
/* Built by Kyle Bargman, 2026-11-23: Recent Activities as the old board's */
.zf-act-box { padding: 0; }
.zf-act { list-style: none; margin: 0; padding: 0; }
.zf-act li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; margin: 0; padding: 14px 18px; }
.zf-act li + li { border-top: 2px solid #000; }
.zf-act .favatar { width: 48px !important; height: 48px !important; margin: 0 !important; }
.zf-act-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #3c0403; border-radius: 4px; }
.zf-act-what { font-size: 15px; color: #fff; }
.zf-act-what a { font-weight: 600; }
.zf-act-what .muted { color: #ccc !important; }
.zf-act-text { font-size: 14px; color: #ddd; margin-top: 4px; overflow-wrap: anywhere; }
.zf-act-when { font-size: 12px; color: #aaa; margin-top: 4px; }
.zf-act-more { margin-top: 12px; }
@media (max-width: 700px) { .zf-act li { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 10px 12px; } .zf-act .favatar, .zf-act-icon { width: 36px !important; height: 36px !important; font-size: 18px; } }
/* Built by Kyle Bargman, 2026-11-23: Search as the old board's */
.zf-search-box { padding: 16px 18px; margin: 0 0 18px; }
.zf-search-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.zf-search-row input[type=search] { flex: 1 1 320px; min-width: 0; }
.zf-search-row select { flex: 0 0 200px; }
.zf-search-adv { margin-top: 10px; }
.zf-search-adv summary { cursor: pointer; font-size: 13px; color: #ddd; }
.zf-search-adv .zf-search-row { margin-top: 10px; }
.zf-search-adv label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; flex: 1 1 220px; }
.zf-search-count { font: 400 20px var(--sans); margin: 0 0 10px; text-transform: none; }
.zf-results { padding: 0; }
.zf-result-list { list-style: none; margin: 0; padding: 0; }
.zf-result-list > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; margin: 0; padding: 14px 18px; }
.zf-result-list > li + li { border-top: 2px solid #000; }
.zf-result-list .favatar { width: 40px !important; height: 40px !important; margin: 0 !important; }
.zf-result-top { display: flex; align-items: baseline; gap: 8px; }
.zf-result-title { font-size: 16px; font-weight: 700; color: #fff; flex: 1 1 auto; overflow-wrap: anywhere; }
.zf-result-kind { font-size: 11px; color: #bbb; flex: none; }
.zf-result-meta { font-size: 12px; color: #bbb; margin: 2px 0 4px; }
.zf-result-text { margin: 0; font-size: 14px; color: #ddd; overflow-wrap: anywhere; }
@media (max-width: 700px) { .zf-search-row select { flex: 1 1 100%; } .zf-search-row .zf-button { flex: 1 1 100%; } .zf-result-list > li { padding: 10px 12px; grid-template-columns: 32px minmax(0, 1fr); } .zf-result-list .favatar { width: 32px !important; height: 32px !important; } }
.zf-search-adv label select, .zf-search-adv label input { flex: none !important; width: 100%; box-sizing: border-box; } .zf-search-adv .zf-search-row { align-items: flex-start; }
/* Built by Kyle Bargman, 2026-11-23: Act as a member, in a box */
.zf-as-box { max-width: 760px; }
.zf-as-form label { display: block; font-size: 14px; font-weight: 600; color: #fff; margin: 12px 0 6px; }
.zf-as-row { display: flex; gap: 10px; flex-wrap: wrap; }
.zf-as-row input { flex: 1 1 260px; min-width: 0; }
/* Built by Kyle Bargman, 2026-11-23: the staff pages, tidied */
.zf-menu-badge { position: static !important; margin-left: 6px; font-size: 11px; padding: 1px 6px; }
.zf-staff .zf-staff-box { margin: 0 0 18px; }
.zf-staff .zf-staff-box > .zf-pad { padding: 14px 18px; }
.zf-staff .zf-staff-box > .zf-pad > p:first-child.muted, .zf-staff .zf-staff-box > .zf-pad > p:only-child { margin: 0; }
.zf-staff ul.fdeleted-list, .zf-staff .zf-staff-box > .zf-pad > ul { list-style: none; margin: -14px -18px; padding: 0; }
.zf-staff ul.fdeleted-list > li, .zf-staff .zf-staff-box > .zf-pad > ul > li { margin: 0; padding: 10px 18px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.zf-staff ul.fdeleted-list > li + li, .zf-staff .zf-staff-box > .zf-pad > ul > li + li { border-top: 2px solid #000; }
.zf-staff ul.fdeleted-list > li > a:first-child, .zf-staff .zf-staff-box > .zf-pad > ul > li > a:first-child { font-weight: 600; color: #fff; }
.zf-staff .fdeleted-list blockquote { flex: 1 1 100%; margin: 2px 0; padding: 8px 10px; background: #3c0403; border-left: 3px solid #000; border-radius: 4px; font-size: 13px; }
.zf-staff .fdeleted-list form.finline { margin-left: auto; }
.zf-staff button.flink, .zf-staff .finline button.flink { display: inline-flex; align-items: center; padding: 4px 12px; background: #7a1a17; border: 2px solid #000; border-radius: 4px; color: #fff; font-size: 13px; cursor: pointer; text-decoration: none; }
.zf-staff button.flink:hover { background: #8d201c; }
.zf-staff > p, .zf-staff > form > p { font-size: 14px; }
.zf-staff .note { margin: 0 0 14px; }
.zf-staff table.ftable { width: 100%; }
.zf-staff .fwarn-form, .zf-staff form.fwarn { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.zf-staff .fform, .zf-staff form.fform { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.zf-staff table { margin-left: 0 !important; margin-right: 0 !important; }
.zf-staff .zf-staff-quote { margin: 6px 0 14px; padding: 10px 12px; background: #3c0403; border-left: 3px solid #000; border-radius: 4px; font-size: 14px; }
.zf-staff .fwp-warn { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.zf-staff .fwp-warn label { display: flex; flex-direction: column; align-items: stretch; gap: 4px; font-size: 13px; font-weight: 600; color: #fff; }
.zf-staff .fwp-warn select, .zf-staff .fwp-warn input[type=text], .zf-staff .fwp-warn input[type=number] { width: 100%; box-sizing: border-box; }
.zf-staff .fwp-warn .btn { justify-self: start; }
.zf-main .fform { margin-inline: 0; }
/* Built by Kyle Bargman, 2026-11-23: boards and threads as the old board's, with our pixel-art icons */
.zf-ico { width: 32px; height: 32px; image-rendering: pixelated; flex: none; }
.zf-ico-board { width: 30px; height: 36px; object-fit: contain; }
.zf-ico-s { width: 16px; height: 16px; image-rendering: pixelated; vertical-align: -2px; }
.zf-boards > .zf-board > .zf-ico { margin-top: 2px; }
.zf-board.zf-board-sub { padding-left: 48px; }
.zf-board.zf-board-sub .zf-board-main h3 { font-size: 15px; }
.zf-board-actions { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 12px; }
.zf-thread-box { padding: 0; }
.zf-threads { list-style: none; margin: 0; padding: 0; }
.zf-trow { display: grid; grid-template-columns: 36px minmax(0, 1fr) 150px 210px; gap: 14px; align-items: center; margin: 0; padding: 12px 18px; }
.zf-trow + .zf-trow { border-top: 2px solid #000; }
.zf-trow-pinned { background: rgba(0, 0, 0, .12); }
.zf-trow-icon { display: flex; }
.zf-trow-title { font-size: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.zf-trow-title > a { color: #ddd; font-weight: 400; overflow-wrap: anywhere; }
.zf-trow-new .zf-trow-title > a { color: #fff; font-weight: 700; }
.zf-trow-meta { font-size: 12px; color: #bbb; margin-top: 3px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.zf-trow-meta .favatar { width: 20px !important; height: 20px !important; margin: 0 !important; font-size: 10px !important; }
.zf-trow-pages a { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; border: 1px solid #000; border-radius: 3px; background: #3c0403; color: #ddd; text-align: center; font-size: 11px; }
.zf-trow-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; text-align: center; }
.zf-trow-stats dt { font-size: 11px; color: #bbb; margin: 0; }
.zf-trow-stats dd { font-size: 15px; color: #fff; margin: 0; font-weight: 600; }
.zf-trow-last { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; }
.zf-trow-last .favatar { width: 32px !important; height: 32px !important; margin: 0 !important; flex: none; }
.zf-trow-last > div { min-width: 0; }
.zf-trow-when { font-size: 12px; color: #bbb; }
@media (max-width: 900px) { .zf-trow { grid-template-columns: 36px minmax(0, 1fr) 120px; } .zf-trow-last { display: none; } }
@media (max-width: 600px) { .zf-trow { grid-template-columns: 32px minmax(0, 1fr); padding: 10px 12px; gap: 10px; } .zf-trow-stats { display: none; } .zf-board.zf-board-sub { padding-left: 24px; } }
/* Built by Kyle Bargman, 2026-11-23: hovering a board, its rupee turns green and glows (owner) */
.zf-ico-board { transition: filter .2s ease, transform .2s ease; }
.zf-board:hover .zf-ico-board, .zf-board:focus-within .zf-ico-board {
  content: url("icons/rupee-new.svg");
  filter: drop-shadow(0 0 4px rgba(80, 255, 140, .9)) drop-shadow(0 0 10px rgba(47, 210, 106, .6));
  transform: translateY(-2px) scale(1.08);
}
@media (prefers-reduced-motion: reduce) { .zf-board:hover .zf-ico-board { transform: none; } }
/* Built by Kyle Bargman, 2026-11-23: Notifications */
.zf-act-pic { position: relative; width: 48px; height: 48px; }
.zf-act-kind { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: #3c0403; border: 2px solid #000; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.zf-act li.zf-act-new { background: rgba(255, 255, 255, .05); box-shadow: inset 3px 0 0 #c0281f; }
.zf-act li.zf-act-new .zf-act-what a { font-weight: 700; color: #fff; }
.zf-notices-box .zf-count { font: 600 12px var(--sans); background: #c0281f; color: #fff; border-radius: 4px; padding: 1px 7px; margin-left: 6px; }
@media (max-width: 700px) { .zf-act-pic { width: 36px; height: 36px; } }
