/* WEEKLY CO. • THE REALM — screenshot-locked sitewide visual design
 * Silver Gothic masthead, black cathedral surfaces, warm gold actions,
 * violet glows. No changes to authentication, prices, odds or balances.
 * The already-approved screenshot homepage is deliberately excluded.
 */
body.weekly-chrome:not(:has(.wr-home)){
  color-scheme:dark;
  --bg:#09080b;--bg-soft:#110d13;--panel:#121014;--panel-2:#19141c;--panel-3:#221924;
  --text:#f8f1e8;--muted:#c2b4bc;--muted-2:#968694;
  --line:rgba(206,159,96,.25);--line-strong:rgba(237,190,111,.59);
  --purple:#b377ed;--purple-2:#e0afff;--purple-soft:rgba(159,82,226,.17);
  --gold:#f5d193;--gold-deep:#b37e40;--shadow:0 21px 57px #0009;
  --realm-ink:#08070a;--realm-panel:#151017;--realm-glass:#181219;
  --realm-gold:#f3ca83;--realm-glow:#b56ef3;--realm-border:#8e6c42;
  background:radial-gradient(ellipse at 90% 2%,#49265034,transparent 35%),#09080b;
  color:#f8f1e8;
}
body.weekly-chrome:not(:has(.wr-home)) .site-ambient{
  background:
    linear-gradient(180deg,#09070acc 0%,#0b090dcf 230px,#09080bf4 500px,#08070b 750px),
    url('/weekly-reference/cathedral-banner.webp') center top/1600px auto no-repeat,
    #09080b;
}
body.weekly-chrome:not(:has(.wr-home)) .ambient-grid{
  opacity:.055;
  background-size:85px 85px;
}
body.weekly-chrome:not(:has(.wr-home)) .ambient-orb{display:none}
body.weekly-chrome:not(:has(.wr-home)) .page-shell{
  width:min(1510px,calc(100% - 64px));
  margin:0 auto;
  padding:24px 0 102px;
  position:relative;
  z-index:1;
}
/* Global chrome — the same silver crest and gold active states as the front page */
body.weekly-chrome:not(:has(.wr-home)) .site-header{
  background:#0e0d10f5;
  border-bottom:1px solid #765434;
  box-shadow:0 4px 24px #000b;
  z-index:99;
}
body.weekly-chrome:not(:has(.wr-home)) .site-header.scrolled{
  background:#0b0a0dfb;border-bottom-color:#c09250
}
body.weekly-chrome:not(:has(.wr-home)) .header-inner{
  width:min(1535px,calc(100% - 80px));max-width:100%;
  height:70px;min-height:70px;gap:19px;
}
body.weekly-chrome:not(:has(.wr-home)) .brand{
  min-width:174px;gap:0;flex:0 0 174px;
}
body.weekly-chrome:not(:has(.wr-home)) .brand-mark{
  width:172px;height:67px;flex:0 0 172px;
  filter:drop-shadow(0 0 9px #ddd5c94a);
}
body.weekly-chrome:not(:has(.wr-home)) .brand-mark img{
  content:url('/weekly-reference/weekly-header-logo.webp');
  display:block;width:100%;height:67px;object-fit:contain;
}
body.weekly-chrome:not(:has(.wr-home)) .brand-copy{display:none}
body.weekly-chrome:not(:has(.wr-home)) .main-nav{
  padding:0;border:0;border-radius:0;background:transparent;
  box-shadow:none;gap:5px;
}
body.weekly-chrome:not(:has(.wr-home)) .main-nav>a,
body.weekly-chrome:not(:has(.wr-home)) .nav-dropdown>summary{
  color:#d6c8cc;background:transparent;border:0;border-bottom:2px solid transparent;
  padding:12px 11px;border-radius:2px;font-size:.78rem;font-weight:850;
}
body.weekly-chrome:not(:has(.wr-home)) .main-nav>a:hover,
body.weekly-chrome:not(:has(.wr-home)) .nav-dropdown>summary:hover{
  color:#ffe4ac;background:#2a1a2540;border-bottom-color:#a47a4a;
}
body.weekly-chrome:not(:has(.wr-home)) .main-nav>a.active,
body.weekly-chrome:not(:has(.wr-home)) .nav-dropdown>summary.active{
  color:#f9d692;background:transparent;border-bottom:2px solid #e1ad63;
  box-shadow:0 10px 16px -15px #ffda8c;
}
body.weekly-chrome:not(:has(.wr-home)) .nav-dropdown-panel,
body.weekly-chrome:not(:has(.wr-home)) .mobile-menu-panel,
body.weekly-chrome:not(:has(.wr-home)) .weekly-account-panel{
  background:#18121bf8;border:1px solid #76563f;
  box-shadow:0 20px 50px #000b;
}
body.weekly-chrome:not(:has(.wr-home)) .nav-dropdown-panel a,
body.weekly-chrome:not(:has(.wr-home)) .mobile-menu-panel a,
body.weekly-chrome:not(:has(.wr-home)) .weekly-account-panel a{color:#e8d8cf}
body.weekly-chrome:not(:has(.wr-home)) .nav-dropdown-panel a:hover,
body.weekly-chrome:not(:has(.wr-home)) .mobile-menu-panel a:hover,
body.weekly-chrome:not(:has(.wr-home)) .weekly-account-panel a:hover{
  background:#3c2930;color:#ffe5ac;
}
body.weekly-chrome:not(:has(.wr-home)) .header-search,
body.weekly-chrome:not(:has(.wr-home)) .header-news,
body.weekly-chrome:not(:has(.wr-home)) .header-mobile-menu>summary{
  background:#181519;border:1px solid #504047;border-radius:11px;color:#ded1d1;
}
body.weekly-chrome:not(:has(.wr-home)) .header-search:hover,
body.weekly-chrome:not(:has(.wr-home)) .header-news:hover,
body.weekly-chrome:not(:has(.wr-home)) .header-mobile-menu>summary:hover{
  background:#33242d;border-color:#b99360;color:#ffe3b4;
}
body.weekly-chrome:not(:has(.wr-home)) .header-join,
body.weekly-chrome:not(:has(.wr-home)) .weekly-header-signup{
  background:linear-gradient(166deg,#fff0bd,#e7be73 51%,#d09b49);
  color:#211615;border:1px solid #fbe0a0;
  box-shadow:0 0 20px #e4a95960,inset 0 1px 0 #fff9e8;
  font-weight:950;
}
body.weekly-chrome:not(:has(.wr-home)) .header-join:hover,
body.weekly-chrome:not(:has(.wr-home)) .weekly-header-signup:hover{
  color:#140e0c;background:linear-gradient(145deg,#fff7d5,#f2c77e);
  border-color:#fff0bb;box-shadow:0 0 24px #d9ab6d80;
}
body.weekly-chrome:not(:has(.wr-home)) .header-discord-symbol{color:#211615}
body.weekly-chrome:not(:has(.wr-home)) .header-admin{
  color:#f8d594;border-color:#8b6540;background:#21171c;
}
body.weekly-chrome:not(:has(.wr-home)) .weekly-header-login{
  background:#18141b;border:1px solid #675347;color:#e8d7d3;
}
body.weekly-chrome:not(:has(.wr-home)) .weekly-header-login:hover,
body.weekly-chrome:not(:has(.wr-home)) .weekly-header-login.active{
  border-color:#e6b66f;background:#342329;color:#ffe3b0;
}
body.weekly-chrome:not(:has(.wr-home)) .weekly-account-trigger{
  border:1px solid #715741;background:#19141a;color:#f8ead7;
}
body.weekly-chrome:not(:has(.wr-home)) .weekly-account-avatar{
  color:#28121c;background:linear-gradient(135deg,#ffd995,#bd84db);
}
body.weekly-chrome:not(:has(.wr-home)) .weekly-account-heading{
  border-bottom-color:#6d4d4a;
}
body.weekly-chrome:not(:has(.wr-home)) .weekly-account-heading small{
  color:#cfb695;
}
body.weekly-chrome:not(:has(.wr-home)) .mobile-bottom-nav{
  border-top:1px solid #826041;background:#130e14f5;
}
body.weekly-chrome:not(:has(.wr-home)) .mobile-bottom-nav a{color:#cebdc6}
body.weekly-chrome:not(:has(.wr-home)) .mobile-bottom-nav a.active{
  background:linear-gradient(135deg,#503a2d,#2d202c);
  color:#ffdda1;
}
body.weekly-chrome:not(:has(.wr-home)) .announcement-bar{
  background:#29201a;border-color:#af8152;color:#f9e6c6;
}
body.weekly-chrome:not(:has(.wr-home)) .announcement-icon{color:#f8cb79}
/* Typography, buttons, errors, inputs, shared page sections */
body.weekly-chrome:not(:has(.wr-home)) :is(.page-hero,.vip-hero,.admin-hero){
  border:1px solid #947147;border-top:2px solid #e2ac5b;
  color:#f8efde;
  background:
    linear-gradient(90deg,#0e0b12f5 0%,#14101cd9 40%,#140c17ac 100%),
    url('/weekly-reference/cathedral-banner.webp') center 44%/cover no-repeat,
    #17121c;
  box-shadow:0 18px 42px #0009,inset 0 1px 0 #e2b57032;
  border-radius:14px;
  overflow:hidden;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.page-hero,.vip-hero,.admin-hero) h1{
  color:#ffe3a9;font-family:Georgia,'Times New Roman',serif;
  text-shadow:0 0 18px #f1aa5336;
  letter-spacing:-.027em;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.page-hero,.vip-hero,.admin-hero) h1 span,
body.weekly-chrome:not(:has(.wr-home)) :is(.page-hero,.vip-hero,.admin-hero) h1 em{
  color:#e5b2ff;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.page-hero,.vip-hero,.admin-hero) p{
  color:#dccdd4;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.page-hero,.vip-hero,.admin-hero) .eyebrow,
body.weekly-chrome:not(:has(.wr-home)) .eyebrow{
  color:#e7ba7a;letter-spacing:.17em;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.section-head h2,.panel-heading h2,.manage-heading h2){
  color:#ffe6ba;font-family:Georgia,'Times New Roman',serif;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.page-hero-mark,.page-hero-star,.vip-hero-art){
  color:#f3c887;filter:drop-shadow(0 0 16px #cc8cbb55);
}
body.weekly-chrome:not(:has(.wr-home)) :is(.button.primary,.weekly-auth-submit){
  background:linear-gradient(135deg,#ffe6a1,#e9bd72,#c88f47);
  color:#201319;border:1px solid #ffe4a5;
  box-shadow:0 8px 24px #c8873b42,inset 0 1px 0 #fff8e6;
  font-weight:950;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.button.primary,.weekly-auth-submit):hover:not(:disabled){
  background:linear-gradient(135deg,#fff3c6,#f6ca80);
  border-color:#fff1b8;filter:brightness(1.05);
}
body.weekly-chrome:not(:has(.wr-home)) :is(.button.ghost,.discord-button,.auth-back){
  background:#241b26;color:#f3dbc9;border:1px solid #8a664d;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.button.ghost,.discord-button,.auth-back):hover{
  background:#392633;border-color:#e8b775;color:#ffe6b5;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.text-link,.section-link){
  color:#f0c68a;
}
body.weekly-chrome:not(:has(.wr-home)) :is(input,select,textarea):not([type=checkbox]):not([type=radio]){
  background:#100e14;color:#f9ede2;border-color:#705743;
  accent-color:#e5b86b;
}
body.weekly-chrome:not(:has(.wr-home)) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):focus{
  border-color:#e8bb7d;box-shadow:0 0 0 3px #d6a55428;outline-color:#e8bb7d;
}
body.weekly-chrome:not(:has(.wr-home)) :is(input,select,textarea)::placeholder{color:#8d8092}
body.weekly-chrome:not(:has(.wr-home)) :is(input[type=checkbox],input[type=radio]){accent-color:#dfb76f}
body.weekly-chrome:not(:has(.wr-home)) :is(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid #fce3a5;outline-offset:3px;
}
body.weekly-chrome:not(:has(.wr-home)) :is(.alert.error,.weekly-auth-error){background:#351a24;border-color:#ad5863;color:#ffbfc4}
body.weekly-chrome:not(:has(.wr-home)) :is(.alert.success,.weekly-auth-success){background:#183025;border-color:#508963;color:#b8f0c8}
/* Bottom footer */
body.weekly-chrome:not(:has(.wr-home)) .site-footer{
  color:#b6abb6;border-top:1px solid #755638;
  background:linear-gradient(180deg,#120d13,#09070b);
}
body.weekly-chrome:not(:has(.wr-home)) .footer-main{
  padding-top:22px;padding-bottom:17px;
}
body.weekly-chrome:not(:has(.wr-home)) .footer-brand .brand-mark{
  width:154px;height:63px;flex:0 0 154px;
}
body.weekly-chrome:not(:has(.wr-home)) .footer-brand .brand-mark img{
  content:url('/weekly-reference/weekly-header-logo.webp');
  width:100%;height:63px;
}
body.weekly-chrome:not(:has(.wr-home)) .footer-links a{color:#d4bfc3}
body.weekly-chrome:not(:has(.wr-home)) .footer-links a:hover{color:#ffdc99}
body.weekly-chrome:not(:has(.wr-home)) .footer-bottom{
  border-color:#3d2c2b;color:#a995a2;
}
body.weekly-chrome:not(:has(.wr-home)) ::selection{background:#9769a5;color:#fff3e8}
@media(max-width:1180px){
  body.weekly-chrome:not(:has(.wr-home)) .header-inner{width:calc(100% - 30px);gap:11px}
  body.weekly-chrome:not(:has(.wr-home)) .main-nav>a,
  body.weekly-chrome:not(:has(.wr-home)) .nav-dropdown>summary{padding:10px 7px}
  body.weekly-chrome:not(:has(.wr-home)) .brand{flex-basis:152px;min-width:152px}
  body.weekly-chrome:not(:has(.wr-home)) .brand-mark{width:150px;flex-basis:150px}
}
@media(max-width:780px){
  body.weekly-chrome:not(:has(.wr-home)) .page-shell{width:calc(100% - 28px)}
  body.weekly-chrome:not(:has(.wr-home)) .header-inner{width:calc(100% - 24px)}
  body.weekly-chrome:not(:has(.wr-home)) .brand{min-width:126px;flex-basis:126px}
  body.weekly-chrome:not(:has(.wr-home)) .brand-mark{width:126px;height:58px;flex-basis:126px}
  body.weekly-chrome:not(:has(.wr-home)) .brand-mark img{height:58px}
  body.weekly-chrome:not(:has(.wr-home)) .main-nav{display:none}
}
@media(max-width:480px){
  body.weekly-chrome:not(:has(.wr-home)) .header-inner{width:calc(100% - 16px);gap:6px}
  body.weekly-chrome:not(:has(.wr-home)) .brand{min-width:108px;flex-basis:108px}
  body.weekly-chrome:not(:has(.wr-home)) .brand-mark{width:108px;height:52px;flex-basis:108px}
  body.weekly-chrome:not(:has(.wr-home)) .brand-mark img{height:52px}
  body.weekly-chrome:not(:has(.wr-home)) .page-shell{width:calc(100% - 20px)}
  body.weekly-chrome:not(:has(.wr-home)) .footer-main{padding:20px 13px}
}
@media(prefers-reduced-motion:reduce){
  body.weekly-chrome:not(:has(.wr-home)) *{animation-duration:0.01ms!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}
}
