/* Zim's Lair: shared stylesheet for the board, archive, ban, 18+ and resting pages.
   Layout follows a modern 4chan thread page; colors are mid-2000s 4chan (Yotsuba). */
body{background:transparent}
/* Same as the in-world screen: peach (#FED6AF) fading to cream (#FFFFEE) over the top quarter, fixed to the window */
html{min-height:100%;background:#FFFFEE linear-gradient(to bottom,#FED6AF 0%,#FFFFEE 25%,#FFFFEE 100%) fixed no-repeat;background-size:100% 100vh}
body{color:#800000;font-family:arial,helvetica,sans-serif;font-size:10pt;margin:0;padding:0 5px;}
a{color:#0000EE;text-decoration:none}a:hover{color:#DD0000}
hr{border:none;border-top:1px solid #D9BFB7;height:0;clear:left}
/* Wide screens: keep the page beside the full-height mascot (she's ~47% as wide as the screen is tall). */
@media (min-width:901px){
  body{padding-right:calc(47vh + 8px)}
  /* Header bits (banner, title, Post a Reply, news) center on the whole screen, not just beside her */
  body .boardBanner,body .fullCenter{margin-right:calc(-47vh - 8px)}
}
/* --- modern 4chan thread layout, mid-2000s Yotsuba colors --- */
#togglePostFormLink{text-align:center;font:bold 18px/1.4 arial,helvetica,sans-serif;margin:8px 0}
#postForm{margin:6px 0 10px}
#news{margin:6px auto 4px;font-size:9pt;border-spacing:6px 1px;max-width:100%}
#news td:first-child{font-weight:700;white-space:nowrap;vertical-align:top}
.navLinks{font-size:10pt;margin:4px 0;overflow:hidden}
.navLinks label{cursor:pointer}.navLinks input{margin:0 2px 0 0;vertical-align:-2px}
.threadStats,.navLinks .liveStats{float:right;color:#800000}
#liveStatus{color:#707070;font-size:9pt;margin-left:6px}
#nextUpdate{color:#707070;font-size:9pt;font-variant-numeric:tabular-nums;margin-left:4px}
#nextUpdate:empty{display:none}
.subject{color:#CC1105;font-weight:700}
.post.op{display:block;overflow:visible}
.post.op .postMessage{margin:10px 40px 10px 20px}
.file{margin:2px 0 0}
.fileText{font-size:9pt;margin:0 0 2px}
.fileThumb{float:left;margin:3px 20px 5px 20px}
.fileThumb img{display:block;max-width:250px;max-height:250px;width:auto;height:auto}
.thread::after{content:"";display:block;clear:both}
.emptyNote{color:#707070;font-style:italic;margin:8px 0 8px 20px;clear:both}
#replies:not(:empty)+.emptyNote{display:none}
#replies{clear:both}
/* "12 older posts not shown. [Load 12 more]" above the replies (4chan's "posts omitted" line) */
#olderPosts{clear:both;color:#707070;margin:6px 0 2px 20px;font-size:10pt}
.boardlist{font-size:9pt;color:#B86;padding:2px 0}.boardlist a{color:#800}.boardlist a:hover{color:#E00}
.navRight{float:right}
.boardBanner{text-align:center;clear:both;margin:4px 0 0}
.banner{display:block;width:420px;max-width:100%;height:auto;margin:6px auto 0}
.liveStats{font-size:9pt;color:#800000}.liveStats b{color:#117743}
.liveDot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2a2;margin-right:4px;vertical-align:0;box-shadow:0 0 4px #2a2}
.liveDot.web{background:#34345C;box-shadow:0 0 4px #66c}
.liveDot.off{background:#bbb;box-shadow:none}
.mascot{position:fixed;right:0;bottom:0;height:min(62vh,640px);width:auto;z-index:-1;pointer-events:none;user-select:none}
.mascot.full{top:0;height:100vh;height:100dvh;max-width:100vw;object-fit:contain;object-position:right bottom}
@media (max-width:900px){.mascot,.mascot.full{top:auto;height:38vh;opacity:.35}}
.boardTitle{font-family:Tahoma,sans-serif;font-size:28px;font-weight:700;letter-spacing:-2px;margin-top:0;color:#AF0A0F}
.boardSubtitle{font-size:10px;color:#800}
table.postForm{margin:0 auto;border-spacing:1px}
table.postForm>tbody>tr>td:first-child{background:#EA8;color:#800;font-weight:700;border:1px solid #800;padding:0 5px;font-size:10pt}
table.postForm input[type=text],table.postForm textarea{border:1px solid #AAA;font-family:arial,helvetica,sans-serif;font-size:10pt;margin:0;padding:2px 4px 3px;width:292px;box-sizing:border-box}
table.postForm textarea{height:108px;min-width:292px}
table.postForm input[type=submit]{margin:0;font-size:10pt}
.rules{width:468px;max-width:100%;margin:6px auto 0;font-size:10px}.rules ul{padding:0 0 0 18px;margin:0}
.thread{margin:0 0 4px;clear:both}
.postContainer{margin:4px 0}
.opContainer{display:block}
.replyContainer{display:table}
.sideArrows{color:#E0BFB7;display:table-cell;margin-right:2px;padding-right:2px;vertical-align:top}
.post{margin:4px 0;overflow:hidden}
.post.reply{background:#F0E0D6;border:1px solid #D9BFB7;border-left:none;border-top:none;display:table;padding:2px;max-width:100%}
.postInfo{display:block;width:100%}
.post.reply .postInfo{width:auto;padding:0 4px}
.nameBlock{display:inline-block}
.name{color:#117743;font-weight:700}
.dateTime{white-space:nowrap}
.postNum a{color:#800;text-decoration:none}.postNum a:hover{color:#E00}
.reportLink{font-size:9px;color:#707070;text-decoration:none;margin-left:4px}.reportLink:hover{color:#E00}.reportLink.done{color:#AF0A0F;pointer-events:none}
.postMessage{margin:13px 40px 13px 40px;word-wrap:break-word;overflow-wrap:anywhere}
.quote{color:#789922}
a.quotelink{color:#000080;text-decoration:underline}a.quotelink:hover{color:red}
.flair{font-size:9px;font-weight:700;padding:0 3px;border-radius:2px;vertical-align:1px}
.flair.vrc{background:#34345C;color:#fff}.flair.web{background:#EA8;color:#800}
.post.highlight{background:#F0C0B0!important;border-color:#D99F91!important}
.post.fresh{animation:fresh 2s ease-out}@keyframes fresh{from{background:#ffd4a8}}
.footer{text-align:center;margin-top:8px}
.absBotText{font-size:9px;color:#B86;margin:10px 0 20px}
.archiveNote{text-align:center;margin:8px 0;font-size:10pt}
body.noMascot{padding-right:5px!important}
body.noMascot .boardBanner{margin-right:0!important}
.banPage{text-align:center;margin:10px 0}
.banHammer{display:block;margin:6px auto 4px;width:min(520px,90vw);height:auto}
.banPage .banBox{text-align:left}
.banBox{max-width:560px;margin:18px auto;background:#F0E0D6;border:1px solid #D9BFB7;padding:10px 18px 14px;font-size:10pt}
.banTitle{font:700 20px Tahoma,sans-serif;color:#AF0A0F;margin:4px 0 10px;letter-spacing:-1px}
.banReason{background:#FFFFEE;border:1px solid #D9BFB7;padding:8px 10px;font-weight:700;color:#AF0A0F}
.banFoot{color:#707070;font-size:9pt;margin-bottom:0}
.ageButtons{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:14px 0 2px}
.ageButtons button{font:bold 11pt arial,helvetica,sans-serif;padding:7px 18px;border:1px solid #800;border-radius:2px;cursor:pointer}
.ageAccept{background:#EA8;color:#800}.ageAccept:hover{background:#F0B898}
.ageDecline{background:#F0E0D6;color:#707070;border-color:#D9BFB7!important}.ageDecline:hover{color:#800}
.ageDeclined{text-align:center;margin:60px 0 40px}
.ageDeclinedTitle{font:700 44px Tahoma,sans-serif;color:#AF0A0F;letter-spacing:-2px;margin-bottom:12px}
table.archiveTable{margin:10px auto;border-collapse:collapse;min-width:min(620px,100%);font-size:10pt}
table.archiveTable th{background:#EA8;color:#800;border:1px solid #800;padding:2px 8px}
table.archiveTable td{background:#F0E0D6;border:1px solid #D9BFB7;padding:3px 8px;text-align:center}
table.archiveTable td.empty{color:#707070;font-style:italic}
.pagelist{background:#F0E0D6;border:1px solid #D9BFB7;border-left:none;border-top:none;display:inline-block;padding:4px 8px;margin:4px 0;font-size:10pt}
#formStatus{font-size:9pt;color:#AF0A0F}
#charCount{font-size:9pt;color:#707070}#charCount.full{color:#AF0A0F;font-weight:700}
.del{font-size:9pt;color:#AF0A0F}
@media (max-width:600px){
  table.postForm input[type=text],table.postForm textarea{width:100%;min-width:0}
  table.postForm{width:100%}
  .postMessage{margin:8px 10px}
  .navRight{float:none}
  .boardTitle{font-size:22px}
}
