/* Common MadWars frame: compact gold monitoring and the approved master style. */
:root{--realm-shell-width:1320px;--realm-shell-gold:#d6b467;--realm-shell-line:#ba97463d}html{scrollbar-gutter:stable}
body[data-theme=modern] .page-frame{padding:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 0,#28322b29,transparent 650px),#0b0f0e;color:#c8c6bc}
body[data-theme=modern] .realm-shell-header{flex:none;background:linear-gradient(180deg,#141815,#0c100f);border-bottom:1px solid #b79a4b45;box-shadow:0 5px 28px #0004;position:relative;z-index:5}
body[data-theme=modern] .realm-shell-header .realm-tools{width:min(var(--realm-shell-width),calc(100% - 64px));min-height:78px;height:78px;margin:0 auto;padding:0;gap:30px;flex-wrap:nowrap;border:0;background:none}
body[data-theme=modern] .realm-shell-header .realm-wordmark{width:210px;min-width:210px;font-size:31px;padding-left:47px;line-height:1;align-self:center;color:#e2c27b}
body[data-theme=modern] .realm-shell-header .realm-wordmark span{font-size:24px}body[data-theme=modern] .realm-shell-header .realm-wordmark small{font-size:8px;letter-spacing:5px;margin-top:7px;color:#a18b54}body[data-theme=modern] .realm-shell-header .brand-crest{width:33px;height:41px;top:0}
body[data-theme=modern] .realm-shell-header .classic-main-nav{height:78px;max-width:none;margin:0 auto;padding:0;gap:30px;align-items:stretch;border:0;flex:0 1 auto}
body[data-theme=modern] .realm-shell-header .classic-main-nav a{position:relative;display:flex;align-items:center;padding:1px 0 0;white-space:nowrap;border-bottom:2px solid transparent;font:13px Arial,sans-serif;color:#bcbdb4;transition:color .18s,border-color .18s}
body[data-theme=modern] .realm-shell-header .classic-main-nav a:hover{color:#f4d58e}body[data-theme=modern] .realm-shell-header .classic-main-nav a[aria-current=page]{color:#f2d792;border-color:#d5b15f}
body[data-theme=modern] .realm-shell-header .classic-main-nav a[aria-current=page]:after{content:'';position:absolute;left:40%;right:40%;bottom:-3px;height:4px;background:#f8dfa2;filter:blur(2px);box-shadow:0 0 8px #e9c26a}
body[data-theme=modern] .realm-shell-header #open-registration{flex:none;min-width:148px;height:37px;padding:0 15px;background:linear-gradient(#28281e,#171d17);border:1px solid #ae914c;color:#e4c781;font:11px Arial,sans-serif;white-space:nowrap;box-shadow:inset 0 1px #f8d89a13}body[data-theme=modern] .realm-shell-header #open-registration span{margin-left:15px;color:#bca16b}
body[data-theme=modern] .realm-shell-header #realm-services{display:grid!important;grid-template-columns:145px minmax(0,1fr) 28px;align-items:center;width:min(var(--realm-shell-width),calc(100% - 64px));height:51px;margin:0 auto;padding:0;border:0;border-top:1px solid #9b895025;background:none;box-shadow:none;font-family:Arial,sans-serif}
.realm-monitor-label{font:11px Arial,sans-serif;white-space:nowrap;color:#aaa995}.realm-monitor-label i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#8e886a;margin-left:7px;vertical-align:2px}#realm-services[data-state=reachable] .realm-monitor-label i{background:#bbd56b;box-shadow:0 0 8px #b2d15d77}
body[data-theme=modern] .realm-shell-header #service-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;min-width:0}
body[data-theme=modern] .realm-shell-header .service-card{height:42px;min-width:0;display:flex;align-items:center;gap:5px;position:relative;padding:0 13px 0 19px;background:none;border:0;border-left:1px solid #ad9c552b;border-radius:0;overflow:hidden}
body[data-theme=modern] .realm-shell-header .service-card h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:#d6d0b9;font:10px/18px Arial,sans-serif;flex:0 1 auto}
body[data-theme=modern] .realm-shell-header .service-card p{margin:0;color:#999b88;font:9px/18px Arial,sans-serif;letter-spacing:0;flex:none}body[data-theme=modern] .realm-shell-header .service-card p:before{content:'·';margin-right:4px;color:#a88c4e}
body[data-theme=modern] .realm-shell-header .service-card :is(b,small){position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-theme=modern] .realm-shell-header .service-sparkline{position:relative;height:22px;min-width:0;flex:0 0 53px;margin-left:auto}body[data-theme=modern] .realm-shell-header .service-sparkline svg{display:block;width:100%;height:22px;overflow:visible}
body[data-theme=modern] .realm-shell-header .service-sparkline>span{position:absolute;left:0;top:5px;color:#7a8069;font:7px/12px Arial,sans-serif;letter-spacing:0;max-width:100%;overflow:hidden;white-space:nowrap;pointer-events:none}
.service-chart-guide{fill:none;stroke:#b8c47918;stroke-width:1;vector-effect:non-scaling-stroke}.service-chart-line{fill:none;stroke:#b9cd6b;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 2px #a5bc6355)}.service-chart-area{fill:#bdcd7214;stroke:none}.service-chart-point{fill:#c9da83;stroke:#c9da8320;stroke-width:3;vector-effect:non-scaling-stroke}
body[data-theme=modern] .realm-shell-header .service-light{position:absolute;left:9px;top:19px;right:auto;width:4px;height:4px;border-radius:50%;background:#8b835f;box-shadow:none;transition:background .25s,box-shadow .25s}
body[data-theme=modern] .realm-shell-header .service-card[data-state=reachable] .service-light{background:#bbd56b;box-shadow:0 0 6px #b2d15d77}body[data-theme=modern] .realm-shell-header .service-card[data-state=unreachable] .service-light{background:#db8c6a;box-shadow:0 0 7px #db8c6a44}body[data-theme=modern] .realm-shell-header .service-card[data-state=unused] .service-light{background:#6d7065}
body[data-theme=modern] .realm-shell-header .service-monitor-meta{height:42px;display:flex;align-items:center;justify-content:flex-end;gap:0;font-size:10px;white-space:nowrap}
body[data-theme=modern] .realm-shell-header :is(#realm-summary,#service-notice){position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-theme=modern] .realm-shell-header #refresh-services{height:30px;min-width:28px;width:28px;padding:0;border:0;background:none;color:#a99963;font-size:0;white-space:nowrap}body[data-theme=modern] .realm-shell-header #refresh-services span{display:inline-block;font:18px/30px Arial,sans-serif;margin:0}body[data-theme=modern] .realm-shell-header #refresh-services:disabled{opacity:.45}
body[data-theme=modern] .page-frame>.realm-hero{display:none!important}body[data-theme=modern] .realm-page-footer{width:100%;flex:none;margin-top:auto;background:linear-gradient(#101411,#0a0e0c);border-top:1px solid #b89a4a80}body[data-theme=modern] .realm-page-footer .bottom-bar{display:none!important}
body[data-theme=modern] .realm-page-footer .modern-footer{width:min(var(--realm-shell-width),calc(100% - 64px));min-height:130px;display:flex;align-items:center;justify-content:space-between;gap:32px;margin:0 auto;padding:30px 0;border:0;text-align:left}
body[data-theme=modern] .realm-page-footer .realm-wordmark{position:relative;display:block;width:205px;min-width:205px;padding:0 0 0 44px;font:26px/1 Georgia,serif;letter-spacing:1px;color:#dfbc6e;text-decoration:none}body[data-theme=modern] .realm-page-footer .realm-wordmark .brand-crest{display:block;position:absolute;left:0;top:0;width:31px;height:39px}
body[data-theme=modern] .realm-page-footer .realm-wordmark small{display:block;width:auto;margin:8px 0 0;font:7px Arial,sans-serif;letter-spacing:5px;color:#a18d55}
body[data-theme=modern] .realm-page-footer .modern-footer .realm-footer-motto{font:italic 14px/1.6 Georgia,serif;color:#a39b7b;border-left:1px solid #b39c532b;padding-left:32px;margin:0;flex:1;white-space:nowrap}
body[data-theme=modern] .realm-page-footer .realm-footer-links{display:flex;align-items:center;gap:30px;padding:0}body[data-theme=modern] .realm-page-footer .modern-footer :is(a,button){margin:0;font:12px/1.4 Arial,sans-serif;text-decoration:none;color:#c1baa2;background:none;border:0;padding:0;white-space:nowrap}body[data-theme=modern] .realm-page-footer .modern-footer :is(a,button):hover{color:#f2d58b}body[data-theme=modern] .realm-page-footer .modern-footer .realm-wordmark{font:26px/1 Georgia,serif;color:#dfbc6e;padding-left:44px}
@media(max-width:1150px){body[data-theme=modern] .realm-shell-header .realm-tools{gap:20px}body[data-theme=modern] .realm-shell-header .classic-main-nav{gap:22px}body[data-theme=modern] .realm-shell-header .realm-wordmark{width:185px;min-width:185px}body[data-theme=modern] .realm-shell-header #realm-services{grid-template-columns:125px minmax(0,1fr) 24px}.realm-monitor-label{font-size:10px}body[data-theme=modern] .realm-shell-header .service-card{padding-right:8px;gap:3px}body[data-theme=modern] .realm-shell-header .service-card h3{font-size:9px}body[data-theme=modern] .realm-shell-header .service-card p{font-size:8px}body[data-theme=modern] .realm-shell-header .service-sparkline{flex-basis:40px}body[data-theme=modern] .realm-page-footer .modern-footer{gap:22px}body[data-theme=modern] .realm-page-footer .realm-footer-links{gap:21px}body[data-theme=modern] .realm-page-footer .modern-footer .realm-footer-motto{font-size:12px;padding-left:22px}}
@media(max-width:760px){body[data-theme=modern] .realm-shell-header .realm-tools{display:flex!important;width:calc(100% - 28px)!important;height:126px;min-height:126px;flex-wrap:wrap;gap:0 10px!important;padding:14px 0 0!important}body[data-theme=modern] .realm-shell-header .realm-wordmark{width:170px;min-width:170px;font-size:26px;padding-left:39px}body[data-theme=modern] .realm-shell-header .realm-wordmark span{font-size:20px}body[data-theme=modern] .realm-shell-header .realm-wordmark small{font-size:7px;letter-spacing:4px}body[data-theme=modern] .realm-shell-header .brand-crest{width:28px;height:35px}body[data-theme=modern] .realm-shell-header #open-registration{margin-left:auto;min-width:115px;font-size:9px;padding:0 8px;height:34px}body[data-theme=modern] .realm-shell-header #open-registration span{margin-left:4px}body[data-theme=modern] .realm-shell-header .classic-main-nav{order:3;flex:0 0 100%;width:100%;height:50px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:4px 0 0;justify-items:stretch}body[data-theme=modern] .realm-shell-header .classic-main-nav a{justify-content:center;font-size:10px}body[data-theme=modern] .realm-shell-header #realm-services{width:calc(100% - 28px);margin:0 auto!important;padding:0;grid-template-columns:minmax(0,1fr) 24px;height:82px}.realm-monitor-label{display:none}body[data-theme=modern] .realm-shell-header #service-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}body[data-theme=modern] .realm-shell-header .service-card{height:36px;padding-left:12px;padding-right:8px;border-left:0}body[data-theme=modern] .realm-shell-header .service-card:nth-child(even){border-left:1px solid #ad9c552b}body[data-theme=modern] .realm-shell-header .service-light{left:2px;top:16px}body[data-theme=modern] .realm-shell-header .service-card h3{font-size:8px}body[data-theme=modern] .realm-shell-header .service-card p{font-size:7px}body[data-theme=modern] .realm-shell-header .service-sparkline{flex-basis:30px}body[data-theme=modern] .realm-shell-header .service-sparkline>span{font-size:6px}body[data-theme=modern] .realm-page-footer .modern-footer{width:calc(100% - 28px);display:flex;flex-wrap:wrap;justify-content:center;gap:24px;padding:27px 0}body[data-theme=modern] .realm-page-footer .realm-footer-brand{flex:0 0 100%;display:flex;justify-content:center}body[data-theme=modern] .realm-page-footer .modern-footer .realm-footer-motto{border:0;padding:0;flex:0 0 100%;text-align:center}body[data-theme=modern] .realm-page-footer .realm-footer-links{gap:20px;flex-wrap:wrap;justify-content:center}body[data-theme=modern] .realm-page-footer .modern-footer :is(a,button){font-size:11px}}
@media(prefers-reduced-motion:reduce){body[data-theme=modern] .realm-shell-header :is(a,.service-card,.service-light){transition:none!important}}

/* Motion marks live TCP observations; it never adds or changes graph samples. */
@media(min-width:1151px){body[data-theme=modern] .realm-shell-header .service-card h3{font-size:11px;color:#e2dcc5}body[data-theme=modern] .realm-shell-header .service-card p{font-size:10px;color:#adb19c}.realm-monitor-label{font-size:12px;color:#bdbca7}}
@media(min-width:1151px){body[data-theme=modern] .realm-shell-header .classic-main-nav a{font-size:16px}body[data-theme=modern] .realm-shell-header #open-registration{font-size:13px;min-width:170px}body[data-theme=modern] .realm-shell-header .service-card{padding-right:10px;gap:4px}body[data-theme=modern] .realm-shell-header .service-card h3{font-size:13px}body[data-theme=modern] .realm-shell-header .service-card p{font-size:11px}body[data-theme=modern] .realm-shell-header .service-sparkline{flex-basis:41px}.realm-monitor-label{font-size:13px}}
@media(min-width:761px) and (max-width:1150px){body[data-theme=modern] .realm-shell-header .service-card h3{font-size:10px}body[data-theme=modern] .realm-shell-header .service-card p{font-size:9px}}
body[data-theme=modern] .realm-shell-header .service-card[data-state=reachable] .service-light{width:5px;height:5px;top:18.5px;animation:service-status-breathe 2.8s ease-out infinite}
#realm-services[data-state=reachable] .realm-monitor-label i{animation:service-summary-breathe 3.8s ease-in-out infinite}
.service-chart-live{fill:#e4f3ab;stroke:#c6e48299;stroke-width:1.5;filter:drop-shadow(0 0 2px #b8d57799)}
.service-chart-live-ring{fill:none;stroke:#cee88e;stroke-width:1;vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:service-chart-beacon 2.8s ease-out infinite}
.service-chart-reveal{stroke-dasharray:1;animation:service-chart-arrive .75s ease-out both}
#realm-services[data-checking=true] #refresh-services span{animation:service-refresh-turn .85s linear infinite}
#realm-services[data-paused=true] :is(.service-light,.realm-monitor-label i,.service-chart-live-ring,.service-chart-reveal,#refresh-services span){animation-play-state:paused!important}
@keyframes service-status-breathe{0%,100%{box-shadow:0 0 0 0 #c1dc7433,0 0 5px #b7d36a88}60%{box-shadow:0 0 0 4px #c1dc7400,0 0 9px #b7d36abb}}
@keyframes service-summary-breathe{0%,100%{opacity:.7;box-shadow:0 0 5px #b2d15d44}50%{opacity:1;box-shadow:0 0 10px #c9df8099}}
@keyframes service-chart-beacon{0%{opacity:.65;transform:scale(.65)}70%,100%{opacity:0;transform:scale(1.8)}}
@keyframes service-chart-arrive{from{stroke-dashoffset:1;opacity:.5}to{stroke-dashoffset:0;opacity:1}}
@keyframes service-refresh-turn{to{transform:rotate(360deg)}}
@media(max-width:760px){body[data-theme=modern] .realm-shell-header .service-card[data-state=reachable] .service-light{top:15.5px}}
@media(prefers-reduced-motion:reduce){#realm-services :is(.service-light,.realm-monitor-label i,.service-chart-live-ring,.service-chart-reveal,#refresh-services span){animation:none!important}.service-chart-reveal{stroke-dasharray:none}.service-chart-live-ring{display:none}}
