:root{--forest:#07351f;--forest-2:#0d482a;--green:#4F7942;--green-light:#5f8b4e;--gold:#d6a62e;--gold-light:#f2cf65;--cream:#f7f0e5;--ink:#20352a;--muted:#667268;--line:#dfd5c6}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"Source Sans 3",Arial,sans-serif}
a{color:inherit}
.topbar{height:76px;background:#052d1b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,76px);border-bottom:2px solid rgba(214,166,46,.65)}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-family:"Cinzel",Georgia,serif;font-weight:800;font-size:clamp(17px,2vw,25px)}
.brand img{width:54px;height:54px;object-fit:contain}
.search-toggle{border:0;background:none;color:white;padding:8px;cursor:pointer}
.search-toggle svg,.search-area form svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.hero-banner{width:100%;height:clamp(190px,25vw,340px);overflow:hidden;background:#062b19}
.hero-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 50%}
.welcome{text-align:center;padding:22px 20px 4px}
.welcome h1{margin:0;color:#073b25;font:800 clamp(32px,5vw,56px)/1.12 "Cinzel",Georgia,serif}
.laurel{color:#bd8a20;font-size:.8em;padding:0 .14em}
.welcome p{font-size:clamp(16px,2vw,21px);line-height:1.35;margin:12px 0 10px}
.ornament{display:flex;align-items:center;justify-content:center;gap:14px;color:#bd8a20;font-size:27px}
.ornament span{width:min(18vw,160px);height:1px;background:#bd8a20}
.search-area{max-width:1060px;margin:18px auto 28px;padding:0 22px}
.search-area form{height:54px;display:flex;align-items:center;gap:14px;padding:5px 6px 5px 18px;background:#fff;border:1px solid #d7d0c7;border-radius:28px;box-shadow:0 3px 9px #34291b18}
.search-area form svg{flex:0 0 auto;color:#173d2a}
.search-area input{min-width:0;flex:1;border:0;outline:0;font:500 17px "Source Sans 3",Arial,sans-serif;color:var(--ink);background:transparent}
.search-area input::placeholder{color:#7b817d}
.search-area form button{border:0;border-radius:24px;background:#07502b;color:white;padding:10px 28px;font:700 15px "Source Sans 3",Arial,sans-serif;cursor:pointer}
.search-results{margin:10px 12px 0;padding:12px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 10px #0000000d}
.search-results[hidden]{display:none}
.search-result{display:block;padding:10px 4px;text-decoration:none;border-bottom:1px solid #eee6db}
.search-result:last-child{border-bottom:0}
.search-result:hover{color:#2e6a3b}
.search-result small{display:block;color:var(--muted);font-size:12px}
.category-grid{max-width:1260px;margin:0 auto;padding:0 28px 58px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.category-card{background:#fffaf2;border:1px solid #e2d8ca;border-radius:17px;overflow:hidden;box-shadow:0 4px 10px #392a1b18}
.category-head{min-height:116px;display:flex;align-items:center;gap:18px;padding:19px 22px;background:linear-gradient(110deg,#0b4b29,#062f1d);color:white;cursor:pointer;list-style:none}
.category-head::-webkit-details-marker{display:none}
.category-icon{width:66px;flex:0 0 66px;text-align:center;font-size:42px;filter:drop-shadow(0 2px 2px #0006)}
.category-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.category-copy strong{font:700 clamp(17px,1.8vw,23px)/1.15 "Cinzel",Georgia,serif}
.category-copy small{font:500 15px/1.3 "Source Sans 3",Arial,sans-serif;color:#f4eee3}
.arrow{font:400 34px/1 Arial,sans-serif;color:var(--gold-light);transition:transform .2s}
.category-card[open] .arrow{transform:rotate(90deg)}
.category-guides{padding:8px 22px 14px;background:#fffaf2}
.guide-entry{display:block;padding:12px 5px;color:#234a30;text-decoration:none;border-bottom:1px solid #e9e0d4;font-size:16px}
.guide-entry:last-child{border-bottom:0}
.guide-entry:hover{color:#8b6417}
.list-status{margin:8px 4px;color:var(--muted);font-size:14px}
.restricted-entry{font-weight:600}
.site-footer{background:#052d1b;color:#f8f0df;padding:23px clamp(18px,4vw,55px) 15px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;border-top:2px solid #b78a2d}
.footer-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font:700 18px "Cinzel",Georgia,serif;white-space:nowrap}
.footer-brand img{width:52px;height:52px;object-fit:contain}
.motto{display:flex;align-items:center;justify-content:center;gap:14px;color:#f0d17b;font:700 12px "Cinzel",Georgia,serif;letter-spacing:1.5px;text-align:center}
.motto span{font-size:28px}
.footer-links{display:flex;align-items:center;gap:18px}
.discord-link{border:1px solid var(--gold);border-radius:22px;padding:9px 16px;text-decoration:none;font-weight:600;white-space:nowrap}
.discord-link[hidden]{display:none}
.coffee-link{font-size:13px;color:#d9d3c7;text-decoration:none;white-space:nowrap;border-bottom:1px solid #8f743c;padding:8px 3px}
.coffee-link:hover{color:#fff}
.footer-credit{grid-column:1/-1;text-align:center;color:#aeb9ac;font-size:11px;margin:0}
.guide-page,.leadership-page,.editor-page{width:min(100% - 36px,960px);margin:34px auto;padding:26px;background:#fffaf2;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px #0000000c}
.guide-actions,.page-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.guide-actions a,.page-actions a,.page-actions button{color:#315c38;text-decoration:none;font-weight:700}
#guideContent{line-height:1.7;overflow-wrap:anywhere}
#guideContent h1,#guideContent h2,#guideContent h3{font-family:"Cinzel",Georgia,serif;color:#173e28}
#guideContent img{max-width:100%;height:auto}
#guideContent table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
#guideContent th,#guideContent td{padding:9px;border:1px solid var(--line)}
.editor-page input,.editor-page select,.editor-page textarea{display:block;width:100%;padding:12px;margin:8px 0 18px;border:1px solid #ccd5c8;border-radius:7px;font:inherit}
.editor-page textarea{min-height:400px;resize:vertical;font-family:monospace}
.editor-page button{padding:11px 18px;margin:5px 5px 5px 0;border:0;border-radius:7px;background:var(--green);color:white;font-weight:bold;cursor:pointer}
#preview{min-height:300px;padding:20px;border:1px solid var(--line);border-radius:7px;background:white;line-height:1.7;overflow-wrap:anywhere}
#preview img{max-width:100%;height:auto}
.hidden{display:none!important}
@media(max-width:760px){
 .topbar{height:66px;padding:0 17px}.brand{font-size:18px;gap:8px}.brand img{width:43px;height:43px}
 .hero-banner{height:clamp(145px,38vw,230px)}.hero-banner img{object-position:center}
 .welcome{padding:18px 16px 0}.welcome h1{font-size:clamp(27px,7vw,39px)}.welcome p{font-size:16px}.desktop-break{display:none}
 .search-area{margin:14px auto 18px;padding:0 15px}.search-area form{height:52px;padding-left:14px}.search-area input{font-size:15px}.search-area form button{display:none}
 .category-grid{grid-template-columns:1fr;padding:0 14px 34px;gap:12px}
 .category-head{min-height:104px;padding:14px 15px;gap:13px;border-radius:0}
 .category-icon{width:54px;flex-basis:54px;font-size:34px}
 .category-copy strong{font-size:17px}.category-copy small{font-size:14px}
 .arrow{font-size:30px}.category-card{border-radius:13px}
 .category-guides{padding:6px 16px 12px}
 .site-footer{grid-template-columns:1fr;justify-items:center;gap:12px;padding:19px 14px 13px}
 .footer-brand{font-size:17px}.footer-brand img{width:44px;height:44px}
 .motto{font-size:10px;gap:8px;letter-spacing:1px}.motto span{font-size:22px}
 .footer-links{gap:14px;flex-wrap:wrap;justify-content:center}.discord-link{font-size:13px}.coffee-link{font-size:12px}
 .guide-page,.leadership-page,.editor-page{width:calc(100% - 24px);margin:18px auto;padding:17px}
}
@media(min-width:761px) and (max-width:980px){.category-grid{padding-inline:18px;gap:14px}.category-head{padding:16px;gap:12px}.category-icon{width:52px;flex-basis:52px;font-size:35px}}
