
:root{color-scheme:dark}html,body{background:#111310;color:#dddcd2;font-family:"Microsoft JhengHei",sans-serif;font-size:16px}a,a.forumtitle,a.topictitle{color:#d4b980}a:hover{color:#f1d9a7}.wrap{background:transparent;border:0;max-width:1200px;padding:0 24px}.headerbar{background:radial-gradient(ellipse at right,#75613a33,transparent 65%),#1d211a;color:#e4e0d1;padding:42px 30px;border:1px solid #454534;border-radius:0;margin:20px 0}.site_logo{display:none}.logo{display:none}.site-description h1{font-size:32px;letter-spacing:4px;color:#d2b77e}.site-description p{font-size:15px;color:#b6b8a8;margin-top:12px}.navbar,.panel,.post,.bg1,.bg2,.bg3,.forabg,.forumbg{background:#20231d!important;background-image:none!important;color:#deded2;border:1px solid #3c4033;border-radius:0}.navbar{padding:10px 20px}ul.topiclist li{color:#c4c8b9}ul.forums{background:#20231d}li.row{border-color:#3c4033}li.row:hover{background:#2a2f24}.forabg,.forumbg{padding:15px;margin:22px 0}.header dl dt,.header dl dd{color:#c9af7d!important;font-size:14px}li.row dl{padding:18px 0}.list-inner{font-size:14px;line-height:1.8}a.forumtitle{font-size:20px}.forum-title,.topic-title,h2,h3{color:#dfc48c}dl.icon{font-size:14px}.content{font-size:16px;color:#e2e3d7}.postbody .content{line-height:1.9}.postprofile{border-color:#484d3d}.button,input.button1,input.button2{background:#c1a672;color:#172013;border-color:#c1a672;text-shadow:none}.inputbox,select{background:#141811;color:#ddd;border-color:#62664f;padding:8px}fieldset label,fieldset dl,dl.details dd{color:#c8cbbb;font-size:14px}.copyright{color:#959e88}.dropdown .dropdown-contents{background:#252a20;border-color:#555b45}.dropdown li.separator{border-color:#555b45}.navigation a,.navigation a:visited{background:#2c3225;color:#d2c39e}.navigation .active-subsection a{background:#494634;color:white}.tabs .tab>a{background:#292f23;color:#c8cdbb}.tabs .activetab>a{background:#454b36;color:white}.post:target .content{color:inherit}.rules{background:#3b3525;color:#e2d6b8}.stat-block h3{border-color:#444938}.rainbow-hero{padding:30px 26px;border:1px solid #424735;background:#1a1e17;margin:20px 0}.rainbow-hero h2{font-size:28px;letter-spacing:2px;margin-bottom:10px}.rainbow-hero p{color:#bac1aa;font-size:15px}.rainbow-hero small{color:#aa986c;letter-spacing:2px}.pagination li a{background:#292f22;color:#d5bc80;border-color:#4a523d}.pagination li.active span{background:#b69d69;border-color:#b69d69;color:#151a12}blockquote{background:#1a1e16;border-color:#525a43;color:#cbd2bd}.attachbox{background:#1a1e16;border-color:#525a43}@media(max-width:700px){.wrap{padding:0 12px}.headerbar{padding:25px 16px}.site-description{display:block}.site-description h1{font-size:25px}.rainbow-hero h2{font-size:22px}}
.section-index ul.forums{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:transparent}.section-index .forabg{background:transparent!important;border:0;padding:0}.section-index ul.forums>li.row{background:#20231d;border:1px solid #3c4033;padding:12px 16px;min-height:150px}.section-index ul.forums>li.row:hover{border-color:#a38c5c;background:#292d24}.section-index ul.forums dl{padding:10px 0}.section-index ul.forums dt{width:100%;margin-right:0}.section-index ul.forums dd.topics,.section-index ul.forums dd.posts{display:none}.section-index ul.forums dd.lastpost{width:100%;margin:8px 0 0;border:0;padding-left:45px;font-size:12px;color:#a5ad97}.section-index .forabg .header dd{display:none}.section-index .forabg .header dt{width:100%;padding:16px 0;font-size:20px}.section-index .forabg .header dt a{color:#dcc491}.section-index ul.forums dd.lastpost span{padding:0}@media(max-width:700px){.section-index ul.forums{grid-template-columns:1fr}}
.section-index ul.forums{grid-template-columns:repeat(2,minmax(0,1fr))}.section-index ul.forums>li.row{min-width:0}.section-index ul.forums dt,.section-index ul.forums dd.lastpost{box-sizing:border-box;overflow-wrap:anywhere}.section-index ul.forums .list-inner{margin-right:0}@media(max-width:700px){.section-index ul.forums{grid-template-columns:minmax(0,1fr)}}

/* Rainbow character-poster local preview */
html,body{background:#0d0e12;color:#e8e2d6}.headerbar{background:#17181c;border-color:#3f382d;padding:24px 28px}.navbar,.panel,.post,.bg1,.bg2,.bg3,.forabg,.forumbg{background:#1b1c20!important;border-color:#3f382d}.section-index ul.forums>li.row{background:#1b1c20;border-color:#3f382d}.section-index ul.forums>li.row:hover{background:#25231f;border-color:#a78b58}.rainbow-hero{position:relative;overflow:hidden;min-height:330px;padding:0;background:#151416 url(images/rainbow-hero.jpg) right 34% / 78% auto no-repeat;border-color:#685236}.rainbow-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111216 0%,#111216ed 28%,#11121655 65%,#11121610),linear-gradient(0deg,#111216aa,transparent 50%)}.rainbow-hero-copy{position:relative;padding:46px 36px;max-width:580px}.rainbow-hero small{font-size:12px;letter-spacing:4px;color:#d2b37b}.rainbow-hero h2{font-size:46px;letter-spacing:9px;color:#efdbb6;margin:14px 0}.rainbow-hero p{color:#ded6c6;line-height:1.9}.rainbow-community-label{display:inline-block;color:#c6af83;border:1px solid #76603d;padding:5px 12px;font-size:12px;letter-spacing:2px;margin-top:12px}.site-description h1{color:#dec69b}.inputbox,select{background:#121317}.section-index ul.forums dd.lastpost{color:#aaa294}@media(max-width:700px){.rainbow-hero{min-height:310px;background-size:auto 100%;background-position:60% center}.rainbow-hero:before{background:linear-gradient(90deg,#111216eb,#11121665)}.rainbow-hero-copy{padding:32px 22px}.rainbow-hero h2{font-size:34px;letter-spacing:5px}.rainbow-hero p{font-size:13px}.headerbar{padding:22px 16px}}
.section-index ul.forums dd.lastpost{padding:4px 0 4px 45px;margin:8px 0 0;min-height:25px}.inputbox,.inputbox:hover,.inputbox:focus{background-color:#121317!important;color:#e8e2d6!important;border-color:#756c5b!important;box-shadow:none!important}.search-box .inputbox{box-shadow:none!important}

/* Coordinated Lucide board icons */
 .rainbow-board{background-image:none!important;position:relative}.rainbow-board:before{content:"";position:absolute;left:0;top:14px;width:38px;height:38px;border:1px solid #685637;border-radius:10px;background-color:#27231d;background-position:center;background-size:23px;background-repeat:no-repeat;pointer-events:none}.rainbow-board dt .list-inner{padding-left:54px!important}.rainbow-board .row-item-link{width:40px}.section-index ul.forums .rainbow-board dd.lastpost{padding-left:54px}.rainbow-board.forum_unread:before{border-color:#e1c18a;box-shadow:0 0 10px #c9a56233}
.rainbow-board[data-board-id="2"]:before{background-image:url(images/board-icons/megaphone.svg)}
.rainbow-board[data-board-id="3"]:before{background-image:url(images/board-icons/download.svg)}
.rainbow-board[data-board-id="4"]:before{background-image:url(images/board-icons/book-open.svg)}
.rainbow-board[data-board-id="5"]:before{background-image:url(images/board-icons/messages-square.svg)}
.rainbow-board[data-board-id="6"]:before{background-image:url(images/board-icons/shield.svg)}
.rainbow-board[data-board-id="7"]:before{background-image:url(images/board-icons/bug.svg)}

/* Member panel readability */
#cp-main h2,#cp-main h3,#cp-main dt,#cp-main label,#cp-main .panel{color:#e8e2d6!important}

/* Public profile contrast */
.section-memberlist dl.details dt,.section-memberlist dl.details dd,.section-memberlist .panel h3{color:#e8e2d6!important}

/* FAQ readable headings */
.faq dt,.faq h3,.section-faq .panel h2,.section-faq .panel h3,.section-help .panel h2,.section-help .panel h3{color:#dec69b!important}

/* Moderation table contrast */
#cp-main table.table1 th,#cp-main table.table1 td,#cp-main .table1 thead th{color:#e8e2d6!important}

/* Clear hierarchy for member settings */
#cp-main h2,#cp-main h3 {color:#f4d58e!important;}
#cp-main fieldset dt label {color:#f4d58e!important;font-weight:600;}
#cp-main fieldset dt span,#cp-main .panel p {color:#d8d5cd!important;}
#navigation #active-subsection a {background:#554a2f!important;color:#fff0c4!important;border-left:3px solid #e5c575;}

/* Readable online member details */
.rainbow-online-table td,.rainbow-online-table td.active,.rainbow-online-table td span{color:#e5e0d6!important;}
.rainbow-browser-details{clear:both;margin-top:8px;color:#ded8c8;}
.rainbow-browser-details summary{cursor:pointer;color:#e7ca8b;font-size:13px;}
.rainbow-browser-details p{color:#ded8c8;margin:8px 0 4px;}
.rainbow-browser-raw{overflow-wrap:anywhere;font-size:12px;color:#d5d2ca;line-height:1.6;}
/* Approved rainbow sword-shield brand mark: keep the poster unobstructed. */
.site-description .logo{display:block;float:left;margin:0 18px 0 0;padding:0;width:60px;height:76px}
.rainbow-brand-logo{display:block;width:60px;height:76px;object-fit:contain}
.site-description h1{line-height:1.4}
@media(max-width:700px){.site-description .logo{display:block;width:44px;height:58px;margin-right:12px}.rainbow-brand-logo{width:44px;height:58px}.site-description h1{font-size:23px;letter-spacing:2px}}

/* Post deletion confirmation remains readable on the dark theme. */
#confirm .message-title {color:#f4d58e!important;}
#confirm fieldset dt label,#confirm fieldset dt span,#confirm fieldset dd label,#confirm p {color:#e8e2d6!important;}
.phpbb_alert label,.phpbb_alert label strong,.phpbb_alert label span {color:#e8e2d6!important;}

/* Readable login and administrator reauthentication labels. */
#login .login-title {color:#f4d58e!important;}
#login fieldset dt label {color:#e8e2d6!important;}

/* Account service and sponsorship match the existing gold outline icons. */
.rainbow-board[data-board-id="8"]:before{background-image:url(images/board-icons/account-key.svg)}
.rainbow-board[data-board-id="9"]:before{background-image:url(images/board-icons/support-heart.svg)}

/* Rainbow readable author and profile metadata. */
.post .author,.post .author time,.post .author .responsive-hide,
.postprofile,.postprofile dd,.postprofile dt,.postprofile dd strong,
.postprofile .profile-rank,.postprofile .profile-posts,
.postprofile .profile-joined,.postprofile .profile-contact {color:#ded8c8!important;}
.postprofile a:not(.username-coloured),.post .author a:not(.username-coloured){color:#e7ca8b!important;}

/* Large, readable account service entry points. */
.rainbow-account-panel{margin:22px 0 28px;padding:30px;border:1px solid #b79754;border-top:4px solid #e6c780;border-radius:10px;background:linear-gradient(135deg,#27241d,#191a1e 70%);box-shadow:0 8px 24px #0004;}
.rainbow-account-panel .rainbow-account-heading{margin:0 0 10px;color:#f3d58d;font-size:27px;font-weight:700;line-height:1.4;}
.rainbow-account-panel .rainbow-account-description{margin:0 0 24px;color:#eee6d5;font-size:17px;line-height:1.7;}
.rainbow-account-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.rainbow-account-actions a.rainbow-account-action{display:flex;align-items:center;justify-content:center;min-height:72px;padding:16px 12px;border:1px solid #bd9b59;border-radius:7px;background:#29261f;color:#f3d58d!important;font-size:18px;font-weight:700;line-height:1.5;text-align:center;text-decoration:none;box-sizing:border-box;}
.rainbow-account-actions a.rainbow-account-primary{background:linear-gradient(#f0d79e,#c6a05a);color:#241b0d!important;border-color:#f0d79e;}
.rainbow-account-actions a:hover{border-color:#ffe4a5;box-shadow:0 0 0 2px #d5b87555;text-decoration:none;}
.rainbow-account-actions a:focus-visible{outline:3px solid #ffe4a5;outline-offset:4px;}
.rainbow-account-panel .rainbow-account-note{margin:20px 0 0;color:#d0c6b2;font-size:14px;line-height:1.7;}
@media(max-width:1000px){.rainbow-account-actions{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:500px){.rainbow-account-panel{padding:20px 16px;}.rainbow-account-panel .rainbow-account-heading{font-size:23px;}.rainbow-account-actions{grid-template-columns:1fr;}.rainbow-account-actions a.rainbow-account-action{min-height:60px;font-size:18px;}}

/* Registration agreement readability */
.content h2.sitename-title { color: #edcc8a; }
.agreement { color: #eee4d0; font-size: 15px; line-height: 1.85; }

/* Shared download, registration and Discord entrances. */
.rainbow-account-actions.rainbow-entry-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rainbow-community-entry { padding: 20px 24px; }
.rainbow-community-entry .rainbow-account-note { margin-bottom: 0; }
@media (max-width: 700px) {
 .rainbow-account-actions.rainbow-entry-actions { grid-template-columns: 1fr; }
}
/* Readable post content, including anchored posts. */
.post .postbody,.post .postbody .content,.post:target .postbody .content {color:#eee6d5!important;}
.post .postbody h3,.post .postbody h3 a {color:#f3d58d!important;}
.post .postbody .content a {color:#f3d58d;}
