:root{color-scheme:light;--ink:#312820;--muted:#6b5b4a;--wine:#63321e;--line:#d9caba;--paper:#fffdf9;--gold:#f5d7a1}
*{box-sizing:border-box}
body{margin:0;background:#eee8e0;color:var(--ink);min-height:100vh;font:15px/1.45 system-ui,sans-serif}
[hidden]{display:none!important}
a{color:var(--wine)}
button,input,textarea,select{font:inherit}
button,.button{display:inline-block;cursor:pointer;padding:.46rem .78rem;border:1px solid #ad8d6c;border-radius:4px;background:#f7eee1;color:var(--ink);text-decoration:none}
button:hover,.button:hover{background:#f0dcc1}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #9e562d;outline-offset:3px}
.masthead{background:#241a14;color:#fff4dd}
.mast-inner,.banner-inner,.forum{width:min(1200px,calc(100% - 32px));margin-inline:auto}
.mast-inner,.mast-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mast-inner{min-height:56px;padding:7px 0}
.brand{color:var(--gold);font:700 clamp(1rem,3vw,1.35rem) Georgia,serif;text-decoration:none;letter-spacing:.05em}
.languages{display:flex;gap:3px}
.languages button{background:#36271f;color:var(--gold);padding:.35rem .48rem;font:700 .75rem system-ui}
.languages button[aria-pressed=true]{background:var(--gold);color:var(--ink)}
.banner-inner{display:flex;align-items:end;min-height:148px;padding:20px 0;color:#fff0d3}
h1,h2,h3{margin:0 0 .6em}
h1{margin:0;font:400 clamp(2rem,5vw,3.15rem)/1.12 Georgia,serif;text-shadow:0 2px 8px #1d130c}
h2{font-size:clamp(1.28rem,4vw,1.8rem);overflow-wrap:anywhere}
.forum{margin-bottom:35px}
.forum-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;margin-bottom:16px;border-bottom:1px solid #cbb9a6}
#categories,.controls{display:flex;gap:.45rem;flex-wrap:wrap;align-items:center}
#categories a{padding:.55rem .7rem;text-decoration:none;color:var(--ink);font-weight:600}
#categories a[aria-current=true],#categories a:hover{color:var(--wine);box-shadow:inset 0 -2px #9e562d}
#account{position:relative}
#account .controls{margin:0}
.login{position:absolute;z-index:5;right:0;top:calc(100% + 8px);width:min(300px,75vw);padding:14px;background:var(--paper);border:1px solid var(--line);box-shadow:0 6px 18px #35271933;border-radius:5px}
.board-group{border:1px solid #b8a491;border-radius:5px;overflow:hidden;margin-bottom:16px;background:var(--paper)}
.board-group h2{margin:0;padding:.62rem .9rem;background:linear-gradient(#634430,#4a3023);color:#fff0d6;font-size:1rem;font-weight:650}
.board-table{width:100%;border-collapse:collapse;table-layout:fixed}
.board-table th,.board-table td{padding:.72rem .85rem;text-align:left}
.board-table thead th{font-size:.77rem;color:var(--muted);background:#f1e8dc}
.board-table thead th:nth-child(2),.board-table thead th:nth-child(3){width:90px;text-align:center}
.board-table thead th:last-child{width:26%}
.board-table tbody tr+tr{border-top:1px solid var(--line)}
.board-table tbody tr:nth-child(even){background:#faf4ec}
.board-table .count{text-align:center;font-variant-numeric:tabular-nums}
.board-table td:last-child{overflow-wrap:anywhere}
.board-name{display:flex;align-items:center;gap:12px}
.board-name a,.latest-link{color:var(--wine);font-weight:650;text-decoration:none}
.board-name a:hover,.latest-link:hover{text-decoration:underline}
.board-marker{flex:0 0 32px;width:32px;height:32px;position:relative;border-radius:50%;background:#eadbc7;border:1px solid #ccb493}
.board-marker::before{content:"";position:absolute;inset:8px 7px 9px;border:1.5px solid #80563a;border-radius:4px}
.board-marker::after{content:"";position:absolute;left:11px;bottom:6px;width:5px;height:5px;border-left:1.5px solid #80563a;transform:skewY(-35deg);background:#eadbc7}
.board-description,.meta{display:block;color:var(--muted);font-size:.86rem;margin-top:.22rem}
.discussion,.compose{border:1px solid var(--line);background:var(--paper);border-radius:5px;padding:clamp(13px,2vw,22px)}
.topic{display:block;padding:.85rem 0;border-top:1px solid var(--line);text-decoration:none;overflow-wrap:anywhere}
.topic:hover strong{text-decoration:underline}
.post{border-top:1px solid var(--line);padding:1rem 0}
.body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin:.75rem 0}
.discussion .controls{margin:.75rem 0}
.badge{background:#edd3a9;color:#532720;border-radius:4px;padding:.25em .45em;font-size:.85rem}
form{display:grid;gap:.7rem;margin:0 0 .85rem}
label{display:grid;gap:.3rem;font-size:.95rem}
input,textarea,select{width:100%;color:var(--ink);background:#fffdf7;border:1px solid #bb9870;border-radius:4px;padding:.55rem}
textarea{min-height:115px;resize:vertical}
form button{justify-self:start}
.compose{margin-top:1rem}
#message{margin:0 0 12px;padding:.65rem;border:1px solid #ad805c;background:#fff4dd;border-radius:4px}
@media(max-width:680px){
  .banner-inner{min-height:105px}
  .forum-toolbar{align-items:flex-start;padding-block:7px}
  #categories a{padding:.45rem .35rem}
  .board-table th,.board-table td{padding:.55rem .43rem}
  .board-table thead th:nth-child(2),.board-table thead th:nth-child(3){width:52px;font-size:.68rem}
  .board-table thead th:last-child,.board-table td:last-child{display:none}
  .board-name{gap:6px}
  .board-marker{flex-basis:26px;width:26px;height:26px}
  .board-marker::before{inset:6px 5px 7px}
  .board-marker::after{left:8px;bottom:5px}
}

body{background:linear-gradient(#3b2e25,#211a16 460px)}
.banner-inner{min-height:78px;padding:9px 0 16px}
h1{font-size:clamp(1.7rem,4vw,2.65rem);color:#f0d49d}
.forum{background:#cdbb9e;border-radius:7px;padding:0 16px 16px}
.forum-toolbar{margin:0 -16px 16px;padding:0 16px;min-height:43px;background:linear-gradient(#f3d99f,#dfba80);border-radius:7px 7px 0 0;border-bottom:1px solid #a98459}
#categories a[aria-current=true]{background:#f9eac9;box-shadow:none}
.board-group{padding:4px;border:1px solid #4f3827;background:#30241d}
.board-group h2{background:linear-gradient(#251e19,#33261e);color:#f1d195;padding:.48rem .6rem;font-weight:500}
.board-table{background:#ecd39d;border-radius:4px;overflow:hidden}
.board-table thead th{background:#e4c790;color:#594535}
.board-table tbody tr:nth-child(even){background:#e9cf98}
.board-table tbody tr+tr{border-color:#dabc87}
.board-marker,.board-marker::after{background:#e4c48d}
.board-marker{border-color:#c6a570}
@media(max-width:420px){.forum{padding-inline:8px}.forum-toolbar{margin-inline:-8px;padding-inline:8px}}
.forum-banner {
  background: linear-gradient(90deg, #241911ed, #2e211873 60%, #2b1d154d),
              #302219;
  border-bottom: 1px solid #936939;
}
.banner-inner { min-height: clamp(110px, 15vw, 205px); padding-bottom: clamp(16px, 3vw, 32px); }

/* Keep the page title available to screen readers. */
.forum-banner{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media (min-width:1050px) {
  body {
    position:relative;
    isolation:isolate;
    min-height:max(100vh,calc(56px + 66.667vw));
    background:url('c4-side-banners.png') center 56px / 100% auto no-repeat,
               linear-gradient(#3b2e25,#211a16 460px);
  }
  body::before {
    content:"";
    position:absolute;
    z-index:-1;
    pointer-events:none;
    inset:56px 0 auto auto;
    width:25%;
    height:66.667vw;
    background:url('c4-side-banners.png') calc(100% + clamp(30px,3vw,54px)) top / 100vw auto no-repeat;
  }
  .forum {width:min(1120px,58%);background:#cdbb9ee0}
}

.masthead {
  position:relative;
  background:radial-gradient(ellipse at 50% 0,#59412d,#30241c 68%,#211a15);
  box-shadow:inset 0 -1px #a37b47, inset 0 -4px #281c14;
}
.mast-inner{gap:8px}
.masthead .brand{color:#f0d095;text-shadow:0 2px 3px #1c130d;white-space:nowrap}
.masthead .button,.masthead .languages button{
  border-color:#9b754a;
  background:linear-gradient(#4c3728,#30221a);
  color:#f4ddae;
  box-shadow:inset 0 1px #f2c58c30;
}
.masthead .button:hover,.masthead .languages button:hover{background:#62472f}
.masthead .languages button[aria-pressed=true]{background:linear-gradient(#edce93,#c9a370);color:#2b1d15}
@media(min-width:1050px){.mast-inner{width:min(1120px,58%)}}
@media(max-width:380px){.mast-actions{gap:4px}.masthead .button{padding:.35rem .45rem;font-size:.83rem}}
