/* imageboard look (classic Yotsuba board palette), matching the 4chanpump reference */
:root{--bg:#ffffee;--fade:#fed6af;--text:#800000;--title:#800000;--link:#0000ee;--hover:#ff0000;--reply:#f0e0d6;--line:#d9bfb7;--name:#117743;--subj:#cc1105;--gt:#789922;--ql:#000080;--navsep:#bb8866;--pb-bg:#eeaa88;--pb-ink:#800000;--pb-line:#800000;--focus:#eeaa88}
html{-webkit-text-size-adjust:100%}
body{margin:5px 0 0;padding:0 5px;color:var(--text);font:10pt arial,helvetica,sans-serif;background:linear-gradient(var(--fade),var(--bg) 220px) no-repeat,var(--bg);min-height:100vh}
a,a:visited{color:var(--link);text-decoration:none}a:hover{color:var(--hover)!important}
hr{border:none;border-top:1px solid var(--line);height:0;clear:both}hr.abovePostForm{width:90%}
img{border:0}input,select,textarea,button{font:10pt arial,helvetica,sans-serif}
input[type=text]{border:1px solid #aaa;outline:none;padding:2px 4px 3px;background:#fff;color:#000;border-radius:0}
input:focus{border-color:var(--focus)!important}
button{padding:1px 6px}
.small{font-size:x-small}.b{font-weight:bold}

#boardNav,#boardNavFoot{font-size:9pt;color:var(--navsep);overflow:hidden}
#boardNav a,#boardNavFoot a{color:var(--text);padding:1px}
#boardNav a#logo{font:bold 15px Tahoma,Verdana,sans-serif;letter-spacing:-1px;color:var(--title);margin-right:8px;white-space:nowrap}
#logo img{width:20px;height:20px;vertical-align:-5px;margin-right:3px}
#navRight{float:right}#boardNav a.cur{font-weight:bold}

.boardBanner{text-align:center;clear:both}
#bannerCnt{border:1px solid var(--title);margin:5px auto;width:300px;max-width:100%;aspect-ratio:3/1;overflow:hidden;background:#fff}
#bannerCnt img{display:block;width:100%;height:100%;object-fit:cover}
.boardTitle{font:bold 28px Tahoma,sans-serif;letter-spacing:-2px;color:var(--title)}
.boardSubtitle{font-size:x-small}

.togglePostFormLink{font-size:22px;font-weight:bold;text-align:center}
.postingMode{background:#e04000;padding:1px;text-align:center;color:#fff;font-weight:bold;margin:4px 0}
table.postForm{border-spacing:1px;margin:4px auto 0;width:468px;max-width:100%}
table.postForm td{padding:0;vertical-align:middle}
table.postForm>tbody>tr>td:first-child{background:var(--pb-bg);color:var(--pb-ink);font-weight:bold;border:1px solid var(--pb-line);padding:0 5px;white-space:nowrap;width:1%}
table.postForm>tbody>tr:nth-last-child(2)>td:first-child,table.postForm>tbody>tr.rules>td{background:none!important;border:0!important}
table.postForm>tbody>tr.rules>td{font-weight:normal;padding:0;white-space:normal}
table.postForm input[type=text]{width:244px;max-width:100%}table.postForm input.tick{width:90px}
#url{width:300px!important}
.filerow{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.filerow img{width:40px;height:40px;object-fit:cover;border:1px solid #aaa}.filerow input[type=file]{max-width:220px}
.presets{font-size:9pt}.presets a.on{color:var(--text)!important;font-weight:bold}
ul.rules{margin:5px 0 0;padding:0}ul.rules li{font-size:11px;list-style:none}ul.rules li::before{content:"• "}
#postFormError{background:#e62020;color:#fff;font:bold 13px monospace;padding:3px 5px;margin-top:3px}
#postFormError:empty,#postStatus:empty{display:none}#postStatus{font-weight:bold;margin-top:3px}
.buyPv{font-size:x-small;margin-top:2px}.buyPv:empty{display:none}
.pvWrap{width:468px;max-width:100%;margin:6px auto 0}.pvWrap .pvLabel{font-size:x-small}

#blotter{width:468px;max-width:100%;margin:0 auto;border-spacing:1px}
#blotter td{vertical-align:top;font-size:11px;padding:0}#blotter .d{width:50px;text-align:center;white-space:nowrap}#blotter tfoot td{text-align:right}

/* posts */
.post{overflow:hidden;margin:4px 0}
.post.op .file{float:left;margin:3px 20px 5px 0}
.fileText{font-size:x-small;margin-bottom:2px}
.fileThumb img{max-width:250px;max-height:250px;display:block}
.postInfo{margin:2px 0}
.subject{color:var(--subj);font-weight:bold}.name{color:var(--name);font-weight:bold}
.postNum a{color:var(--text)}.plat{font-size:x-small;border:1px solid var(--line);padding:0 3px;margin-left:3px;background:#fff}
blockquote.postMessage{margin:13px 40px 13px 20px;word-wrap:break-word;white-space:pre-wrap}
.quote{color:var(--gt)}.quotelink{color:var(--ql)!important}
.reply{background:var(--reply);border:1px solid var(--line);border-left:0;border-top:0;display:inline-block;padding:2px 6px;max-width:100%}
.replyContainer{margin:4px 0}.sideArrows{color:#e0bfb7;float:left;margin-right:2px}

/* catalog + coins */
.ctrl{overflow:hidden}.ctrl .info{float:left}.ctrl .settings{float:right}.ctrl select{font-size:9pt}
.sectTitle{font:bold 20px Tahoma,sans-serif;letter-spacing:-1px;color:var(--title);text-align:center;margin:6px 0 4px}
.threads{text-align:center;padding-top:10px}
.thread{display:inline-block;vertical-align:top;width:165px;max-height:330px;margin:0 3px 15px;overflow:hidden;word-wrap:break-word;position:relative;cursor:pointer}
.thread img.thumb{max-width:150px;max-height:150px;box-shadow:0 0 5px rgba(0,0,0,.25);display:block;margin:0 auto 3px}
.thread .nothumb{width:150px;height:100px;margin:0 auto 3px;border:1px solid var(--line);display:grid;place-items:center;font-weight:bold;background:#fff}
.meta{font-size:x-small;font-weight:bold;cursor:help}
.teaser{font-size:9pt}.teaser b{color:var(--title)}
.thread .coined{position:absolute;top:2px;left:10px;background:#e04000;color:#fff;font-size:x-small;font-weight:bold;padding:0 3px}
.thread .turn{font-size:x-small;display:block;margin-top:2px}
.boardNote{text-align:center;font-size:11px;margin:6px 0}
.botBox{width:468px;max-width:100%;margin:6px auto}
.botBox input{width:200px}
.botBox pre{white-space:pre-wrap;font:12px monospace;background:#fff;border:1px solid var(--line);padding:4px;margin:4px 0}.botBox pre:empty{display:none}
.on-ok{color:var(--name);font-weight:bold}.on-off{color:#e62020;font-weight:bold}

.coinThread{margin:6px 0 10px}
.coinLinks{margin:6px 0}
.mcBig{font-size:13px;font-weight:bold}
.bar{display:inline-block;width:160px;height:8px;border:1px solid var(--title);background:#fff;vertical-align:middle;position:relative}
.bar i{position:absolute;inset:0 auto 0 0;background:var(--title)}

.footer{text-align:center;margin:10px 0 30px;color:var(--text)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.25);display:grid;place-items:center;z-index:20}.modal[hidden]{display:none}
.sheet{min-width:260px}.sheetTitle{color:var(--subj);font-weight:bold;margin-bottom:6px}
.wal{display:flex;align-items:center;gap:8px;width:100%;margin:3px 0;padding:4px;background:#fff;border:1px solid var(--line);cursor:pointer;text-align:left}
.wal img{width:24px;height:24px}.wal:hover{border-color:var(--title)}.r{text-align:right;margin-top:4px}
#toast{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);background:var(--reply);border:1px solid var(--title);color:var(--text);font-weight:bold;padding:4px 10px;z-index:30;max-width:90vw}#toast.bad{background:#e62020;color:#fff}
@media(max-width:520px){blockquote.postMessage{margin:8px 4px}.post.op .file{float:none}}

.ctrl .settings>span{margin-left:6px;white-space:nowrap}
.thread.big{width:270px;max-height:470px}.thread.big img.thumb{max-width:250px;max-height:250px}
.thread:hover .turn{color:var(--hover)}

[hidden]{display:none!important}

.ctrl .settings>span{margin-left:6px;white-space:nowrap}
.thread:hover .turn{color:var(--hover)}
.section{margin:4px 0 0}
.secHead{text-align:center;margin:8px 0 2px}
.secHead .boardTitle{font-size:22px;letter-spacing:-1px}
.secHead .boardTitle a{color:var(--title)!important}
.quick{width:468px;max-width:100%;margin:4px auto 6px;display:flex;gap:4px;justify-content:center;align-items:center;flex-wrap:wrap}
.quick span.lbl{background:var(--pb-bg);color:var(--pb-ink);font-weight:bold;border:1px solid var(--pb-line);padding:1px 5px}
.quick input{width:300px;max-width:60vw}
.secNote{text-align:center;font-size:11px;margin:2px 0 4px}
.how{font-size:x-small;text-align:center;margin-bottom:4px}
.botline{width:468px;max-width:100%;margin:4px auto;font-size:11px;text-align:center}
.botline .on-off,.botline .on-ok{font-weight:bold}
.botline pre{text-align:left}
