body { background: #d4d8dd; margin: 0; font: 12px Verdana, Arial, sans-serif; color: #333; }
.wrap { box-sizing: border-box; width: 1120px; max-width: calc(100% - 24px); margin: 12px auto; }
.banner { background: linear-gradient(#3a5a8c, #1e3a63); color: #fff; padding: 14px 20px; border: 1px solid #16294a; }
.banner h1 { margin: 0; font-size: 22px; font-family: "Trebuchet MS", sans-serif; }
.tagline { margin: 2px 0 0; color: #aec4e5; font-size: 10px; font-style: italic; }
.navbar { background: #e8ecf2; border: 1px solid #98a5b8; border-top: 0; padding: 5px 10px; font-size: 11px; }
table.boards { width: 100%; border: 1px solid #98a5b8; border-collapse: collapse; margin-top: 12px; background: #fff; }
table.boards td, table.boards th { border: 1px solid #c5cddb; padding: 6px 9px; text-align: left; }
tr.thead th { background: linear-gradient(#3a5a8c, #2a4a7c); color: #fff; font-size: 11px; }
table.boards tr:nth-child(even) td { background: #f0f3f8; }
.boardlink { font-weight: bold; font-size: 13px; }
.desc, .small { font-size: 10px; color: #667; }
.num { text-align: center; width: 60px; }
a { color: #2a4a7c; }
table.post { width: 100%; border: 1px solid #98a5b8; border-collapse: collapse; margin-top: 10px; background: #fff; }
.userpanel { width: 140px; background: #e8ecf2; border-right: 1px solid #c5cddb; padding: 8px; vertical-align: top; font-size: 10px; }
.username { font-weight: bold; font-size: 12px; }
.rank { color: #883333; font-size: 10px; margin: 2px 0; }
.stars { color: #d4a017; letter-spacing: 2px; }
.pips.pos { color: #128a12; }
.pips.neg { color: #a11; }
.userpanel img { margin: 6px 0; border: 1px solid #98a5b8; }
.postbody { padding: 8px 12px; vertical-align: top; }
.postdate { font-size: 10px; color: #667; border-bottom: 1px solid #e0e4ea; padding-bottom: 4px; margin-bottom: 8px; }
.content { line-height: 1.5; overflow-wrap: anywhere; }
blockquote { background: #f0f3f8; border: 1px solid #c5cddb; margin: 8px 16px; padding: 6px 10px; font-size: 11px; }
blockquote cite { display: block; font-weight: bold; font-style: normal; margin-bottom: 4px; }
.bbcode-code { overflow-x: auto; background: #f5f5f5; border: 1px solid #c5cddb; padding: 6px 8px; font: 11px "Courier New", monospace; white-space: pre-wrap; }
.sig { color: #888; font-size: 10px; margin-top: 12px; }
.sig hr { border: 0; border-top: 1px solid #ccc; width: 200px; margin-left: 0; }
.whosonline, .notice, .profile { background: #fff; border: 1px solid #98a5b8; margin-top: 12px; padding: 8px 12px; font-size: 11px; }
.profile { padding: 12px 16px; }
.profile h2 { margin: 0 0 8px; font-size: 15px; }
.profile img { border: 1px solid #98a5b8; }
.profile .userstats { margin-top: 8px; }
.soul-gate { display: inline-block; margin-top: 12px; padding: 5px 10px; border: 1px solid #72839c; background: linear-gradient(#fff, #d8e0ec); color: #283f66; font: bold 10px Verdana, Arial, sans-serif; text-decoration: none; box-shadow: 1px 1px 0 #c2c8d1; }
.soul-gate span { padding: 0 3px; color: #6f5d2d; }
.soul-gate:hover, .soul-gate:focus { background: #fff7cd; border-color: #9a8448; outline: 1px dotted #555; outline-offset: 2px; }
.soul-chamber { margin-top: 12px; border: 1px solid #98a5b8; background: #fff; font-size: 11px; }
.soul-head { padding: 5px 8px; background: linear-gradient(#3a5a8c, #2a4a7c); color: #fff; font-size: 11px; font-weight: bold; letter-spacing: 1px; }
.soul-notice { margin: 10px; padding: 8px 10px 8px 34px; border: 1px dashed #a99965; background: #fffbe8; color: #51492f; line-height: 1.5; }
.soul-notice:before { float: left; margin-left: -23px; color: #846f34; content: "[+]"; font: bold 10px "Courier New", monospace; }
.memory-vault { margin: 10px; border: 1px solid #c5cddb; }
.memory-fragment { margin: 0; padding: 9px 10px; border-bottom: 1px solid #d7dde7; background: #f7f9fc; }
.memory-fragment:nth-child(even) { background: #edf1f7; }
.memory-fragment:last-child { border-bottom: 0; }
.memory-fragment p { margin: 0 0 6px; color: #333; font: 12px/1.45 Verdana, Arial, sans-serif; }
.memory-fragment div { color: #777; font: 9px Verdana, Arial, sans-serif; }
.memory-empty { margin: 0; padding: 16px 10px; background: #f7f9fc; color: #777; text-align: center; font-style: italic; }
.soul-return { display: inline-block; margin: 0 10px 10px; color: #2a4a7c; font: 10px Verdana, Arial, sans-serif; }
.crumb { font-size: 13px; margin: 12px 0 0; }
.fakebtn { display: inline-block; background: linear-gradient(#f5f8fc, #d5ddea); border: 1px solid #98a5b8; padding: 3px 12px; font-size: 11px; font-weight: bold; text-decoration: none; margin-top: 10px; }
.pagelinks { font-size: 11px; margin: 8px 0; display: flex; gap: 2px; align-items: center; }
.pagelinks a, .pagelinks .cur { display: inline-block; padding: 2px 6px; border: 1px solid #98a5b8; text-decoration: none; background: linear-gradient(#f5f8fc, #e8ecf2); }
.pagelinks a:hover { background: linear-gradient(#fff, #d5ddea); }
.pagelinks .cur { font-weight: bold; background: #4a76a8; color: #fff; border-color: #3a6698; }
.pagelinks .ellip { padding: 2px 4px; }
.topicactions { margin-top: 8px; }
.footer { text-align: center; font-size: 10px; color: #778; margin: 16px 0; }
.postimg { max-width: min(400px, 100%); height: auto; border: 1px solid #98a5b8; margin: 6px 0; }
.smiley { vertical-align: middle; }
table.pagecols { width: 100%; border-collapse: collapse; }
td.maincol { vertical-align: top; }
td.sidecol { width: 220px; vertical-align: top; padding-left: 12px; }
.sidebox { background: #fff; border: 1px solid #98a5b8; margin-top: 12px; font-size: 10px; word-wrap: break-word; }
.sidehead { background: linear-gradient(#3a5a8c, #2a4a7c); color: #fff; font-size: 11px; font-weight: bold; padding: 4px 8px; }
.sideitem { padding: 4px 8px; border-top: 1px solid #e0e4ea; }
.sidehead + .sideitem { border-top: 0; }
.sideitem.shout { font-size: 10px; }
.themebar { margin-top: 14px; text-align: right; color: #667; font-size: 10px; }
.themebar select { border: 1px solid #98a5b8; background: #fff; color: #333; font: 10px Verdana, Arial, sans-serif; }

/* The homepage palette, fitted to GabeBB's deliberately old forum furniture. */
.theme-friendly body { background: #e7e3d6; color: #29271f; font: 13px Georgia, "Times New Roman", serif; }
.theme-friendly .wrap { box-sizing: border-box; padding: 8px 12px; background: #f8f6ed; border: 1px solid #8c8978; box-shadow: 4px 4px 0 #c5c0ae; }
.theme-friendly .banner { background: #eeece1; color: #37372b; border-color: #8c8978; border-bottom: 3px double #8c8978; }
.theme-friendly .banner h1 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }
.theme-friendly .tagline { color: #77715f; }
.theme-friendly .navbar { background: #5c624b; color: #f4f0dc; border-color: #454a37; }
.theme-friendly .navbar a { color: #fffbed; }
.theme-friendly a { color: #5c251f; }
.theme-friendly table.boards,
.theme-friendly table.post,
.theme-friendly .whosonline,
.theme-friendly .notice,
.theme-friendly .profile,
.theme-friendly .sidebox { background: #fffef8; border-color: #aaa58f; }
.theme-friendly table.boards td,
.theme-friendly table.boards th { border-color: #c9c5b2; }
.theme-friendly tr.thead th,
.theme-friendly .sidehead { background: #666b50; color: #fffbed; }
.theme-friendly table.boards tr:nth-child(even) td,
.theme-friendly blockquote { background: #efede2; }
.theme-friendly .desc,
.theme-friendly .small,
.theme-friendly .postdate,
.theme-friendly .tagline,
.theme-friendly .sig,
.theme-friendly .themebar,
.theme-friendly .footer { color: #77715f; font-size: 11px; }
.theme-friendly .rank,
.theme-friendly .userpanel,
.theme-friendly .sidebox,
.theme-friendly .sideitem.shout { font-size: 11px; }
.theme-friendly .userpanel { background: #ebe9dc; border-color: #aaa58f; }
.theme-friendly .rank { color: #7b3028; }
.theme-friendly .userpanel img,
.theme-friendly .profile img,
.theme-friendly .postimg,
.theme-friendly blockquote { border-color: #aaa58f; }
.theme-friendly .postdate,
.theme-friendly .sideitem { border-color: #d2ceba; }
.theme-friendly .fakebtn,
.theme-friendly .pagelinks a { background: #ebe9dc; border-color: #99947e; color: #5c251f; }
.theme-friendly .pagelinks a:hover { background: #e1dcc7; }
.theme-friendly .pagelinks .cur { background: #5c624b; border-color: #454a37; color: #fffbed; }
.theme-friendly .sig hr { border-color: #aaa58f; }
.theme-friendly .soul-gate { border-color: #99947e; background: #ebe9dc; color: #5c251f; box-shadow: 1px 1px 0 #c5c0ae; }
.theme-friendly .soul-gate:hover { background: #fffbe8; }
.theme-friendly .soul-chamber, .theme-friendly .memory-vault { border-color: #aaa58f; background: #fffef8; }
.theme-friendly .soul-head { background: #666b50; color: #fffbed; }
.theme-friendly .soul-notice { border-color: #aaa06f; background: #f8f3d9; }
.theme-friendly .memory-fragment { border-color: #d2ceba; background: #fffef8; }
.theme-friendly .memory-fragment:nth-child(even) { background: #efede2; }
.theme-friendly .memory-fragment p { color: #29271f; font-family: Georgia, "Times New Roman", serif; font-size: 13px; }
.theme-friendly .soul-return { color: #5c251f; }
.theme-friendly .themebar select { background: #f8f6ed; border-color: #8c8978; color: #37372b; font: 11px Georgia, "Times New Roman", serif; }

/* Homepage splash */
body.homepage { background: #e7e3d6; margin: 0; color: #29271f; font: 13px Georgia, "Times New Roman", serif; }
.hp-wrap { width: 740px; margin: 34px auto; background: #f8f6ed; border: 1px solid #8c8978; box-shadow: 4px 4px 0 #c5c0ae; }
.hp-topline { padding: 5px 10px; border-bottom: 1px solid #8c8978; color: #676352; font: 9px Verdana, Arial, sans-serif; letter-spacing: 2px; text-align: center; }
.hp-header { display: flex; align-items: center; gap: 22px; padding: 29px 42px 25px; background: #eeece1; border-bottom: 3px double #8c8978; }
.hp-header h1 { margin: 0; color: #37372b; font: normal 34px/0.92 Georgia, "Times New Roman", serif; letter-spacing: -1px; }
.hp-header p { margin: 9px 0 0; color: #77715f; font-size: 11px; font-style: italic; }
.hp-seal { position: relative; width: 72px; height: 72px; flex: 0 0 72px; border: 1px solid #696958; border-radius: 50%; color: #535443; text-align: center; transform: rotate(-7deg); }
.hp-seal:before, .hp-seal:after { content: ""; position: absolute; inset: 8px; border: 1px solid #9a9985; transform: rotate(45deg); }
.hp-seal:after { transform: rotate(0); border-radius: 50%; }
.hp-seal span { position: relative; z-index: 1; display: block; font-size: 28px; line-height: 72px; }
.hp-status { padding: 5px 8px; background: #5c624b; color: #f4f0dc; font: 9px Verdana, Arial, sans-serif; letter-spacing: 1px; text-align: center; }
.hp-body { width: 100%; border-collapse: collapse; }
.hp-body td { vertical-align: top; }
.hp-main { padding: 30px 42px 38px; line-height: 1.55; }
.hp-main p { margin: 0 0 15px; }
.hp-date { color: #716b55; font: bold 9px Verdana, Arial, sans-serif; letter-spacing: 1px; }
.hp-lead { font-size: 17px; font-style: italic; }
.hp-main blockquote { margin: 24px 15px; padding: 10px 18px; background: transparent; border: 0; border-left: 2px solid #89866f; color: #4d4b3d; font-size: 14px; }
.hp-main blockquote cite { margin-top: 4px; color: #8a856e; font-size: 10px; font-weight: normal; }
.hp-enter a { color: #5c251f; font-size: 15px; font-weight: bold; }
.hp-enter a:hover { color: #8b1810; background: #e7dfc4; }
.hp-warning { padding-top: 14px; border-top: 1px dotted #aaa58f; color: #77715f; font-size: 10px; }
.hp-side { width: 150px; padding: 28px 20px; background: #ebe9dc; border-left: 1px solid #aaa58f; color: #625f50; font: 10px/1.7 Verdana, Arial, sans-serif; }
.hp-side a { color: #4d522d; }
.hp-sidehead { margin: 0 0 5px; padding-bottom: 2px; border-bottom: 1px solid #aaa58f; color: #4b4b3d; font-weight: bold; letter-spacing: 1px; }
.hp-side p + .hp-sidehead { margin-top: 24px; }
.hp-footer { display: flex; justify-content: space-between; padding: 6px 10px; border-top: 3px double #8c8978; color: #77715f; font: 9px Verdana, Arial, sans-serif; }

@media (max-width: 780px) {
  .hp-wrap { width: auto; margin: 12px; }
  .hp-header { padding: 24px; }
  .hp-header h1 { font-size: 28px; }
  .hp-main { padding: 25px; }
  .hp-side { width: 125px; padding: 24px 15px; }
  .hp-footer { display: block; text-align: center; }
  .hp-footer span { display: block; margin: 2px; }
}

@media (max-width: 760px) {
  .wrap { width: auto; max-width: none; margin: 0; }
  .banner { padding: 12px 14px; }
  .banner h1 { font-size: 19px; }
  .navbar { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 7px 10px; line-height: 1.8; }
  .navbar a { display: inline-block; min-height: 24px; }
  table.pagecols, .pagecols tbody, .pagecols > tbody > tr, td.maincol, td.sidecol { display: block; width: auto; }
  td.maincol { min-width: 0; }
  td.sidecol { padding-left: 0; }
  .sidecol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .sidebox { min-width: 0; margin-top: 0; }
  table.post, .post tbody, .post tr { display: block; }
  .userpanel {
    box-sizing: border-box; display: grid; grid-template-columns: 64px minmax(0, 1fr); width: auto;
    min-height: 80px; column-gap: 10px; padding: 7px 9px; border-right: 0; border-bottom: 1px solid #c5cddb;
  }
  .userpanel > .username, .userpanel > .rank, .userpanel > .stars, .userpanel > .userstats { grid-column: 2; }
  .userpanel > img { grid-column: 1; grid-row: 1 / span 4; width: 56px; height: 56px; margin: 0; }
  .userpanel > .userstats { margin-top: 2px; }
  .postbody { box-sizing: border-box; display: block; width: 100%; padding: 9px 10px 11px; }
  blockquote { margin: 8px 4px; }
  .bbcode-code { max-width: 100%; box-sizing: border-box; }
  table.boards { display: block; max-width: 100%; overflow-x: auto; }
  table.board-index, table.topic-list { display: table; width: 100%; table-layout: fixed; overflow: visible; font-size: 14px; }
  .board-index td, .board-index th, .topic-list td, .topic-list th { padding: 10px 8px; }
  .board-index .boardlink, .topic-list td:first-child a { font-size: 15px; line-height: 1.35; }
  .board-index .desc { font-size: 11px; line-height: 1.4; }
  .board-index th:nth-child(2), .board-index th:nth-child(3),
  .board-index td:nth-child(2), .board-index td:nth-child(3),
  .topic-list th:nth-child(3), .topic-list td:nth-child(3) { width: 52px; }
  .topic-list th:nth-child(2), .topic-list td:nth-child(2),
  .topic-list th:nth-child(4), .topic-list td:nth-child(4),
  .feed-table th:nth-child(2), .feed-table td:nth-child(2),
  .rep-table th:nth-child(4), .rep-table td:nth-child(4) { display: none; }
  .usage-members th:nth-child(2), .usage-members td:nth-child(2),
  .usage-members th:nth-child(3), .usage-members td:nth-child(3),
  .usage-members th:nth-child(5), .usage-members td:nth-child(5) { display: none; }
  .num { width: 48px; }
  .crumb { padding: 0 8px; font-size: 12px; overflow-wrap: anywhere; }
  .topicactions, .pagelinks { padding-right: 8px; padding-left: 8px; }
  .fakebtn { padding: 7px 14px; }
  .pagelinks { flex-wrap: wrap; gap: 4px; }
  .pagelinks a, .pagelinks .cur { min-width: 22px; min-height: 22px; padding: 5px; text-align: center; }
  .whosonline, .notice, .profile { margin-right: 0; margin-left: 0; }
  .themebar { padding: 0 8px; }
  .themebar select { min-height: 36px; }
  .footer { padding: 0 8px 12px; }
  .theme-friendly .wrap { padding: 6px; border-right: 0; border-left: 0; box-shadow: none; }
}

@media (max-width: 520px) {
  .sidecol { display: block; }
  .sidebox { margin-top: 8px; }
  .board-index .desc { display: none; }
  .banner h1 { font-size: 17px; }
  .tagline { font-size: 9px; }
  .profile { padding: 10px; }
  .soul-gate { box-sizing: border-box; width: 100%; padding: 10px 8px; text-align: center; }
  .soul-notice, .memory-vault { margin: 8px; }
  .sig hr { max-width: 60%; }
  .hp-wrap { margin: 6px; }
  .hp-topline { padding: 5px 6px; font-size: 8px; letter-spacing: 1px; }
  .hp-header { align-items: flex-start; gap: 16px; }
  .hp-seal { width: 55px; height: 55px; flex-basis: 55px; }
  .hp-seal span { line-height: 55px; }
  .hp-header { padding: 18px 16px; }
  .hp-header h1 { font-size: 22px; }
  .hp-status { letter-spacing: 0; }
  .hp-body, .hp-body tbody, .hp-body tr, .hp-body td { display: block; }
  .hp-main { padding: 20px 16px 24px; }
  .hp-main blockquote { margin: 18px 4px; padding: 8px 12px; }
  .hp-side { box-sizing: border-box; width: 100%; border-top: 1px solid #aaa58f; border-left: 0; }
}
