/* RW4D theme: a readable midnight/red/gold marketplace variation layered on the reference. */
:root{--ink:#1f2733;--rust:#a52837;--gold:#f0b649;--shadow:0 8px 26px rgba(24,30,42,.13)}
html{scroll-padding-top:84px}
body{background:#fff;color:#1f2733;overflow-x:hidden}
a{color:#994020}
.skip{position:absolute;left:-9999px;top:8px;padding:9px;background:#fff;color:#111;z-index:90}.skip:focus{left:8px}
.tinybar{background:#171b26;border-bottom-color:#edb84b}
.site-id{letter-spacing:.025em}
.masthead{background:linear-gradient(130deg,#171b27 0%,#272536 60%,#3e2433 100%);border-bottom-color:#3e3645}
.brandmark{flex-basis:245px;max-width:245px}
.brandmark img{width:245px;height:82px;object-fit:contain;object-position:left center;filter:drop-shadow(0 2px 3px rgba(0,0,0,.18))}
.hamburger{background:#f9e4ba;border-color:#edbd64;color:#25222b;font-weight:800}
.searchform{background:#fff;border-color:#e0be7a}
.searchform button{background:#9c2b35}
.searchform button:hover{background:#78202b}
.top-action{background:#8c3038!important;border-color:#b85458!important}
.category-nav{background:#222531;border-bottom-color:#c99b4a}
.category-inner a{color:#f5f2ef}
.category-inner a:hover,.category-inner a[aria-current=page]{background:#a0343b;color:#fff}
.sticky-top-nav{position:sticky;top:0;z-index:31;background:#8c2330;color:#fff;border-bottom:2px solid #e7b859;box-shadow:0 5px 14px rgba(38,20,25,.16)}
.sticky-top-inner{min-height:43px;display:flex;align-items:center;gap:4px}
.sticky-top-nav a{display:inline-flex;justify-content:center;align-items:center;color:#fff;padding:11px 16px;font-size:12px;font-weight:900;letter-spacing:.045em;white-space:nowrap;border-right:1px solid rgba(255,255,255,.16)}
.sticky-top-nav a:hover,.sticky-top-nav a:focus-visible{background:#5e1422;text-decoration:none}
.topnav-title{font-size:11px;letter-spacing:.045em;margin-left:auto;color:#ffe9bd;font-weight:700}
.market-ribbon{background:linear-gradient(98deg,#202532,#312735,#51272b);border-bottom-color:#e1ae45}
.ribbon-copy strong{color:#ffd68c}
.ribbon-actions a,.ribbon-actions a:first-child{background:#f1c35c;color:#251a14}
.ribbon-actions a:first-child{background:#f4dcb1;color:#3b2220}
.announcement{background:#fff7e7;border-color:#eddaae;border-left-color:#c43842}
.ann-label{background:#9b2f36}
.announcement .ticker span{animation-duration:32s}
.page-title{border-left-color:#d5a44b;color:#272632}
.red-tag{background:#9c3039}
.meta-row{background:#f8f6f5}
.hero-frame{border-color:#dbab52;background:#1c1d25}
.hero-image{object-fit:cover}
.gallery-label{border-left-color:#ffc45e}
.summary{background:linear-gradient(120deg,#222e45,#563543);border-color:#4d3850}
.panel-head{background:linear-gradient(115deg,#242a3a,#623541);border-bottom-color:#edb84b}
.slogan{color:#ad3d3b}
.btn-red{background:linear-gradient(180deg,#c13a48,#8b2431);border-color:#812530;box-shadow:0 3px 0 #681a26}
.btn-gold{background:linear-gradient(180deg,#ffe0a0,#ecb84c);border-color:#b4832d}
.btn-outline{border-color:#d2ad68}
.colorbox{border-radius:7px}
.colorbox a{color:#fff}
.colorbox p{line-height:1.85}
.tone-navy{background:#283952}.tone-teal{background:#225b63}.tone-burgundy{background:#773849}.tone-plum{background:#553e67}.tone-forest{background:#265746}.tone-indigo{background:#3c4f81}.tone-rust{background:#8b5026}.tone-charcoal{background:#354356}
.story-tabs a:first-child{border-color:#b33141;color:#9b2735}
.section-heading{border-left-color:#c33e46;background:#f8f5f3}
.content-card:nth-child(3n+1){background:#fffaf7}.content-card:nth-child(3n+2){background:#f8fafb}.content-card:nth-child(3n+3){background:#fbf9f5}
.content-card .strip{background:#cf4050}
.content-card:nth-child(3n+2) .strip{background:#e0a94d}
.content-card:nth-child(3n+3) .strip{background:#346875}
.content-card small,.content-card span{color:#993e3b}
.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.full-directory{width:100%;margin:6px 0 12px}
.visual-gallery{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.visual-gallery figure{margin:0;border:1px solid #e1d8cc;background:#fcf8f3;padding:10px;border-radius:8px}
.visual-gallery img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:5px}
.visual-gallery figcaption{font-size:12px;color:#5c5760;padding:11px 2px 3px;font-weight:750}
.group-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;border-left:5px solid #ac303e;background:#f8f5f3;padding:11px 14px;margin:28px 0 14px;border-radius:3px}
.group-heading h2{font-size:20px;margin:0}.group-heading a{font-size:12px;font-weight:800;white-space:nowrap}
.directory-hero{max-width:480px;margin:20px auto 20px}.directory-group[hidden]{display:none!important}
.article-hero{max-width:460px;margin:17px auto 24px}.article-hero .gallery-label span{display:none}
.article-body .intro,.explain{color:#596775;line-height:1.9}
.article-body .colorbox p{font-size:15px}
.article-body .tipnote{margin-top:19px}
.article-info{background:#f8f6f3;border-left:4px solid #cca253}
.utility-faq{margin:28px 0}
.official-link{display:inline-block;margin-top:9px;font-size:12px;font-weight:800;color:#ffd887!important}
.footer-main{background:#1e2330;border-top-color:#d4a34b}
.sticky-actions{background:#1b202c;border-color:#e4b34e;z-index:48}
.sticky-actions a{background:#354054}
.sticky-actions a:nth-child(2){background:#a52c3e}
.sticky-actions a:nth-child(3){background:#a57227}
.sticky-actions a:nth-child(4){background:#28625f}
.notfound-body{max-width:720px;padding-top:16vh;min-height:65vh}.notfound-body .summary{text-align:center}.notfound-body .summary h1{color:#fff}
@media(max-width:980px){.brandmark{flex-basis:205px}.brandmark img{width:205px;height:72px}.topnav-title{display:none}}
@media(max-width:740px){html{scroll-padding-top:55px}.brandmark{flex-basis:185px;min-width:185px}.brandmark img{width:190px;height:65px}.mast-inner{min-height:78px}.category-nav{display:none}.category-nav.mobile-open{display:block}.category-inner a{background:#252a37}.sticky-top-inner{justify-content:space-between}.sticky-top-nav a{flex:1;padding:12px 6px;font-size:11px;border-right-color:rgba(255,255,255,.17)}.category-nav.mobile-open{position:relative;z-index:32}.card-grid{grid-template-columns:1fr 1fr}.visual-gallery{grid-template-columns:1fr 1fr;gap:9px}.group-heading h2{font-size:16px}.article-hero{max-width:100%}}
@media(max-width:430px){.brandmark{flex-basis:152px;min-width:152px}.brandmark img{width:163px;height:56px}.visual-gallery,.card-grid{grid-template-columns:1fr}.group-heading{display:block}.group-heading a{display:inline-block;margin-top:5px}.tiny-links .top-action{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
