/* War Point Updates r6 edits (Oct 27, 2026, Rocky 7:08-7:16 PM): tag-as-tab frame, rounded blocks, no media in feed,
   full-screen button on tap, clickable links, new-look modals, red bigger headings + top spacing, account pages, side logo. */
html:root{--wpu-r:8px;--wpu-tagh:26px}
html:root,html[data-theme]{--wpu-red:#DC1414}
/* 9) side-by-side header logo, swaps with the theme */
html body .site-header .brand img,html body .article-header>a img,html body .account-header img{content:url("/wpu-logo-side-light-20261027.png")!important;height:44px!important;width:142px!important;max-width:none!important;object-fit:contain!important;border-radius:0!important}
html[data-theme="dark"] body .site-header .brand img,html[data-theme="dark"] body .article-header>a img,html[data-theme="dark"] body .account-header img{content:url("/wpu-logo-side-dark-20261027.png")!important}
@media (min-width:900px){html body .site-header .brand img,html body .article-header>a img{height:56px!important;width:181px!important}}

/* 1) the red tag sits on top like a tab; the frame starts at the tag's bottom edge */
html body .update-card,html body #home #updates .update-card{position:relative;border:0!important;background:transparent!important;padding:0 16px 16px!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
html body .update-card::before,html body #home .update-card::before,html body #home #updates .update-card::before{display:block!important;content:""!important;position:absolute!important;left:0!important;right:0!important;top:var(--wpu-tagh)!important;bottom:0!important;width:auto!important;max-width:none!important;height:auto!important;opacity:1!important;transform:none!important;border:1.5px solid var(--wpu-red)!important;border-radius:0 var(--wpu-r) var(--wpu-r) var(--wpu-r)!important;background:var(--wpu-block,#fff)!important;background-image:none!important;z-index:0!important;pointer-events:none!important}
html body .update-card>*{position:relative;z-index:1}
html body .update-card>.wpu-tagline{margin:0 -16px 12px!important;width:calc(100% + 32px)!important;height:var(--wpu-tagh)}
html body .update-card>.wpu-tagline:after{display:none!important}
html body .update-card>.wpu-tagline .wpu-tag,html body .article-main article>.wpu-tagline .wpu-tag{height:var(--wpu-tagh);box-sizing:border-box;padding-top:0;padding-bottom:0}
html body .article-main article{position:relative;border:0!important;padding:0 16px 16px!important;background:transparent!important}
html body .article-main article::before{content:"";position:absolute;left:0;right:0;top:var(--wpu-tagh);bottom:0;border:1.5px solid var(--wpu-red);border-radius:0 var(--wpu-r) var(--wpu-r) var(--wpu-r);pointer-events:none;z-index:0}
html body .article-main article>*{position:relative;z-index:1}
html body .article-main article>.wpu-tagline{margin:0 -16px 12px!important;width:calc(100% + 32px)!important;height:var(--wpu-tagh)}
html body .article-main article>.wpu-tagline:after{display:none!important}
html body.wpu-textpage .article-main article::before{display:none}
html body.wpu-textpage .article-main article{padding:0!important}
@media (min-width:700px){html body .update-card{padding:0 24px 18px!important}html body .update-card>.wpu-tagline{margin:0 -24px 12px!important;width:calc(100% + 48px)!important}}
/* section labels (LIVE UPDATES, STAY CONNECTED, CONTACT US, COMMENTS): line runs out of the tag's bottom */
html body .wpu-tagline{align-items:flex-end!important}
html body .wpu-tag{border-radius:var(--wpu-r) var(--wpu-r) 0 0!important}

/* 2) a little rounding on every block */
html body :is(button,.btn,a.btn,.filter-chip,input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select,.menu-panel,.link-card,.links-grid a,.channel-card,.social-card,.contact-card,.share-post-button,.comment,.comment-compose,.post-comments,.note,.box,.panel,.card,fieldset,.info-row,.switch-row,.wpu-media,.wpu-media>img,.wpu-media>video,.article-photo,.wpu-viewer-x,.wpu-support-panel,.wpu-support-btn,[class*="support"] :is(textarea,input,button)){border-radius:var(--wpu-r)!important}
html body :is(#home,#links,#contact,#support,.site-header,.article-header,main,footer) :is(button,.filter-chip,input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select,.btn,a.btn,.wpu-toggle,.menu-toggle,#refresh,.share-post-button){border-radius:var(--wpu-r)!important}
html body .wpu-page :is(.note,.box,.settings form,.comment,.item,.status,.account-status,.card-block,fieldset,.panel,#mine .row,li.c,input:not([type=checkbox]):not([type=radio]),textarea,select,button:not(.wpu-toggle):not(.menu-toggle):not(.pw-toggle),.btn,a.btn,.ok-btn),html body .wpu-page :is(main,.card) :is(button:not(.pw-toggle):not(.menu-toggle):not(.wpu-toggle),.btn,.ok-btn.primary,.red,a.btn,.ok-btn,input,textarea,select){border-radius:var(--wpu-r)!important}
html body .wpu-fs{border-radius:var(--wpu-r)!important}
html body .wpu-media{overflow:hidden}

/* 3) feed: no attachments shown (the post page still has them; Media filter unchanged) */
html body .update-card .wpu-card-media,html body .update-card .wpu-cm-count{display:none!important}
/* post page: the full-screen button shows once the photo/video is touched */
html body .article-main .wpu-media .wpu-fs{opacity:0;pointer-events:none;transition:opacity .18s}
html body .article-main .wpu-media.wpu-show .wpu-fs{opacity:1;pointer-events:auto}
@media (hover:hover) and (pointer:fine){html body .article-main .wpu-media:hover .wpu-fs{opacity:1;pointer-events:auto}}
html body .article-main .wpu-media>img{cursor:pointer}

/* 4) links inside post text */
html body a.wpu-autolink{color:var(--wpu-red)!important;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;word-break:break-word;font-weight:inherit}

/* 5) popups (Contact us, Advertise, requests) in the new look */
html body .wpu-r6-modal{background:rgba(0,0,0,.55)!important}
html body .wpu-r6-modal>div{background:var(--wpu-block,#fff)!important;color:var(--wpu-text,#0a0a0a)!important;border:1.5px solid var(--wpu-frame,#0a0a0a)!important;border-radius:var(--wpu-r)!important;font-family:"WPU Saira",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;box-shadow:0 10px 40px rgba(0,0,0,.25)!important}
html body .wpu-r6-modal>div :is(h2,h3){color:var(--wpu-red)!important;font-weight:800!important;font-size:24px!important;letter-spacing:-.01em}
html body .wpu-r6-modal>div :is(p,label,span,li,div,strong){color:var(--wpu-text,#0a0a0a)!important;font-family:inherit!important}
html body .wpu-r6-modal>div p{color:var(--wpu-muted,#5f5f5f)!important}
html body .wpu-r6-modal>div p.wpu-r6-msg{color:var(--wpu-red)!important}
html body .wpu-r6-modal>div :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:var(--wpu-block,#fff)!important;color:var(--wpu-text,#0a0a0a)!important;-webkit-text-fill-color:var(--wpu-text,#0a0a0a);border:1.5px solid var(--wpu-frame,#0a0a0a)!important;border-radius:var(--wpu-r)!important;font-family:inherit!important}
html body .wpu-r6-modal>div :is(input,textarea)::placeholder{color:var(--wpu-muted,#5f5f5f)!important;-webkit-text-fill-color:var(--wpu-muted,#5f5f5f)}
html body .wpu-r6-modal>div :is(input,textarea,select):focus{outline:2px solid var(--wpu-red)!important;outline-offset:1px}
html body .wpu-r6-modal>div button{font-family:inherit!important;border-radius:var(--wpu-r)!important}
html body .wpu-r6-modal>div button.wpu-r6-primary{background:var(--wpu-red)!important;color:#fff!important;border:1.5px solid var(--wpu-red)!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em}
html body .wpu-r6-modal>div button.wpu-r6-secondary{background:var(--wpu-block,#fff)!important;color:var(--wpu-text,#0a0a0a)!important;border:1.5px solid var(--wpu-frame,#0a0a0a)!important;font-weight:700!important}
html body .wpu-r6-modal>div a{color:var(--wpu-red)!important}
html body .wpu-r6-modal input[type=checkbox],html body .wpu-r6-modal input[type=radio]{accent-color:var(--wpu-red)}

/* 6) text pages: red, bigger headings and more room at the top */
html body.wpu-page :is(main,.policy-wrap) h1,html body.wpu-page :is(main,.policy-wrap) h1 *,html body.wpu-textpage .article-main h1{color:var(--wpu-red)!important;font-size:36px!important;line-height:1.1!important;font-weight:800!important}
html body.wpu-page :is(main,.policy-wrap) :is(h2,h3),html body.wpu-textpage .article-main :is(h2,h3){color:var(--wpu-red)!important;font-size:25px!important;line-height:1.2!important;font-weight:800!important;margin-top:30px!important}
html body.wpu-page .policy-wrap,html body.wpu-page main,html body.wpu-textpage .article-main{padding-top:40px!important}
html body.wpu-page :is(main,.policy-wrap)>h1:first-child,html body.wpu-page .policy-wrap h1{margin-top:0!important;margin-bottom:16px!important}
html body.wpu-page .policy-wrap .effective{margin-top:0!important;margin-bottom:22px!important}
html body.wpu-textpage .article-main h1{margin:0 0 18px!important}
html body.wpu-page main .account-logo{margin-top:0}

/* 7) account pages: blocks with a frame, red labels, no stray line, no old colors */
html body.acct main h2{border-top:0!important;border-bottom:0!important;padding-top:0!important}
html body.acct main hr{display:none!important}
html body.acct .info-row{background:var(--wpu-block)!important;border:1.5px solid var(--wpu-frame)!important;padding:12px 12px 12px 14px!important;margin:0 0 12px!important;align-items:center}
html body.acct .info-row .lbl{color:var(--wpu-red)!important;text-transform:uppercase;letter-spacing:.06em;font-size:12px!important;font-weight:800!important}
html body.acct .info-row strong{color:var(--wpu-text)!important;font-weight:700}
html body.acct main .info-row button.small{flex:0 0 auto!important;width:auto!important;min-width:84px!important;max-width:none!important;height:42px!important;min-height:42px!important;padding:0 18px!important}
html body.acct .settings form{padding:14px!important;margin:-4px 0 14px!important}
/* 8) emails page: framed rows, red switches */
html body.acct .switch-row{background:var(--wpu-block)!important;border:1.5px solid var(--wpu-frame)!important;padding:14px!important;margin:0 0 12px!important}
html body.acct .switch-row strong{color:var(--wpu-red)!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em}
html body.acct .switch .slider{background:var(--wpu-soft,#ececec)!important;border:1.5px solid var(--wpu-frame)!important;box-shadow:none!important}
html body.acct .switch .slider:before,html body.acct .switch .slider::before{background:var(--wpu-frame)!important;box-shadow:none!important}
html body.acct .switch input:checked+.slider{background:var(--wpu-red)!important;border-color:var(--wpu-red)!important}
html body.acct .switch input:checked+.slider:before,html body.acct .switch input:checked+.slider::before{background:#fff!important}
html body.acct .switch input:focus-visible+.slider{outline:2px solid var(--wpu-red);outline-offset:2px}
html body.acct #msg.toast,html body.acct .toast{background:var(--wpu-block)!important;color:var(--wpu-text)!important;border:1.5px solid var(--wpu-frame)!important;border-radius:var(--wpu-r)!important}
html body.acct main button.wpu-r6-danger,html body.acct.acct main button#delete-account.wpu-r6-danger[data-wpu-delete-account]{background:var(--wpu-block)!important;color:var(--wpu-red)!important;-webkit-text-fill-color:var(--wpu-red);border:1.5px solid var(--wpu-red)!important}
/* about / contact */
html body.wpu-textpage .article-main article>.wpu-tagline{margin:0 0 16px!important;width:100%!important}
html body.wpu-textpage .article-main article>.wpu-tagline:after{display:block!important}
html body .wpu-r6-modal>div button{display:block!important;width:100%!important;min-height:46px;margin:10px 0 0!important;padding:12px!important;font-size:16px!important}
