/* Ghostring Purple — unified full viewport theme, 2026-10-18 */
:root{--ghost-deep:#170729;--ghost-dark:#2b0d48;--ghost-panel:#401367;--ghost-purple:#8538eb;--ghost-bright:#a96aff;--ghost-light:#e9d5ff;--ghost-line:#9a52ff;--primary:#8538eb;--primary-color:#8538eb;--gold:#b887ff;--gold2:#c9a4ff;--orange:#8538eb;--amber:#a96aff;--wine:#2b0d48;--wine2:#170729}
*,*::before,*::after{box-sizing:border-box}
html{width:100%;min-height:100%;margin:0!important;background:#170729 url('assets/images/ghostring-bg.jpg') center center / cover fixed no-repeat!important}
body{width:100%;min-height:100vh;margin:0!important;background:transparent!important;background-image:none!important;overflow-x:hidden!important}
/* Keep background visible behind layouts without changing content behavior. */
body::before{content:"";position:fixed;inset:0;background:linear-gradient(180deg,rgba(18,4,34,.09),rgba(18,4,34,.18));pointer-events:none;z-index:-1}
body>.wrapper,body>.page-wrap,body>.container,body>.container-fluid,body>.main-container,body>.main-wrapper,body>.content-wrapper,body>.header_table{background-color:transparent!important}
.wrapper,.page-wrap,.container-wide,.main-container,.content-wrapper,.header_table{max-width:100%!important}
.container-wide{width:min(100% - 32px,1600px)!important;margin-inline:auto!important}
.page-wrap{min-height:100vh;padding-inline:clamp(12px,2vw,36px)!important}
/* Panels, cards and form shells */
.card:not(.home-summary-card),.panel,.well,.ui.segment,.ui.segments>.segment,.ro-panel,.section,.hero,.bossCard,.box-sv,.table-wrap{border-color:rgba(169,106,255,.75)!important}
.card:not(.home-summary-card),.panel,.well,.ui.segment,.ui.segments>.segment,.ro-panel,.section,.hero,.bossCard,.box-sv{background-color:rgba(43,13,72,.94)!important;color:#f6ecff!important}
.card-header,.panel-heading,.modal-header,.table thead th{background-color:#481476!important;color:#f1dfff!important;border-color:#a96aff!important}
h1,h2,h3,h4,h5,h6{color:#f3e7ff}
a{transition:color .2s,border-color .2s}
a:hover{color:#d7baff}
input:focus,select:focus,textarea:focus{outline-color:#a96aff!important;border-color:#a96aff!important}
.btn-warning,.btn-primary,.btn-success,button[type=submit],input[type=submit]{background:linear-gradient(180deg,#a96aff,#6c25b7)!important;border-color:#c49aff!important;color:#fff!important}
/* Fluid home grids, no fixed 1000px canvas */
.allnews-row{width:min(100% - 32px,1600px)!important;max-width:100%!important;justify-content:center}
.allnews-col{max-width:100%!important}
.home-summary-grid{max-width:calc(100vw - 24px)!important}
img,video,iframe{max-width:100%}
/* Donation login centered without giant blank top gap */
body:has(#loginForm) .container{width:100%!important;max-width:100%!important;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px!important}
body:has(#loginForm) #loginForm{width:min(100%,560px)!important}
body:has(#loginForm) #loginForm .row{margin:0!important;display:block!important}
body:has(#loginForm) #loginForm .col-md-6{max-width:100%!important;width:100%!important;margin:0!important;padding:0!important}
body:has(#loginForm) #loginForm .card{border:2px solid #a96aff!important;border-radius:14px!important;overflow:hidden}
body:has(#loginForm) #loginForm .card-body{background:#32104f!important}
body:has(#loginForm) #loginForm .card-footer{background:#250b3d!important}
/* Mobile background remains edge-to-edge; avoid fixed attachment bugs */
@media(max-width:768px){html{background-attachment:scroll!important;background-position:center top!important} .page-wrap{padding-top:24px!important;padding-bottom:36px!important}.container-wide{width:calc(100% - 20px)!important}}
