/*
 * RoyaleBeast Responsive Layout Authority V6.1.5
 * Fluid layout guard for desktop / laptop / tablet / phone.
 * Loaded LAST so it can safely normalize older V5/V6 visual layers.
 * V6.1.5: restore desktop homepage HUD to anchored bottom-right + preserve responsive layout.
 * No backend/session/database behavior is changed here.
 */

:root{
  --rb-fluid-gutter:clamp(12px,2.8vw,40px);
  --rb-fluid-wide:min(1920px,calc(100% - (var(--rb-fluid-gutter) * 2)));
  --rb-fluid-content:min(1760px,calc(100% - (var(--rb-fluid-gutter) * 2)));
}

html{width:100%;max-width:100%;overflow-x:hidden}
body.rnet-v5,body.rnet-2026{width:100%;max-width:100%;overflow-x:hidden}
body.rnet-v5 .v5-header-shell>*,body.rnet-v5 .v5-command-layout>*,body.rnet-v5 .v5-featured-card>*,
body.rnet-v5 .v5-stat-card>*,body.rnet-v5 .v5-service-grid>*,body.rnet-v5 .v5-member-quickbar>*,
body.rnet-subpage-2026 main>*,body.rnet-subpage-2026 form>*,body.rnet-admin-2026 main>*{min-width:0}
body.rnet-v5 img,body.rnet-v5 video,body.rnet-2026 img,body.rnet-2026 video{max-width:100%}
body.rnet-v5 img,body.rnet-2026 img{height:auto}
body.rnet-v5 input,body.rnet-v5 select,body.rnet-v5 textarea,body.rnet-v5 button,
body.rnet-2026 input,body.rnet-2026 select,body.rnet-2026 textarea,body.rnet-2026 button{max-width:100%}
body.rnet-v5 h1,body.rnet-v5 h2,body.rnet-v5 h3,
body.rnet-2026 h1,body.rnet-2026 h2,body.rnet-2026 h3{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
body.rnet-v5 p,body.rnet-2026 p{overflow-wrap:break-word}

/* Fluid content rails: no fixed desktop canvas. */
body.rnet-v5 .v5-home-container{width:var(--rb-fluid-wide)!important;max-width:1920px!important}
body.rnet-v5 .container{width:var(--rb-fluid-content)!important;max-width:1760px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.rnet-subpage-2026 .rnet-service-shell{width:min(1220px,calc(100% - (var(--rb-fluid-gutter) * 2)))!important}
body.rnet-subpage-2026 .creator-wrap{width:min(1180px,calc(100% - (var(--rb-fluid-gutter) * 2)))!important}

/* Header: desktop when there is room, hamburger before content can collide. */
body.rnet-v5 .v5-header-shell{width:min(1760px,calc(100vw - 36px))!important;max-width:1760px!important}
body.rnet-v5 .v5-mobile-menu{width:min(1760px,calc(100vw - 20px));max-height:calc(100dvh - 92px);overflow-y:auto;overscroll-behavior:contain}

@media(max-width:1180px){
  body.rnet-v5 .v5-header,body.rnet-v5 .v5-header.is-scrolled{padding:8px 10px 0!important}
  body.rnet-v5 .v5-header .v5-header-shell,body.rnet-v5 .v5-header.is-scrolled .v5-header-shell{
    width:100%!important;max-width:none!important;height:64px!important;padding:0 13px!important;gap:12px!important;border-radius:12px!important
  }
  body.rnet-v5 .v5-nav{display:none!important}
  body.rnet-v5 .v5-mobile-btn{display:block!important;flex:0 0 38px}
  body.rnet-v5 .v5-header-actions{margin-left:auto!important}
  body.rnet-v5 .v5-brand-copy{display:flex!important}
  body.rnet-v5 .v5-brand-mark{width:47px!important;height:56px!important}
  body.rnet-v5 .v5-brand img{height:54px!important;width:auto!important}
  body.rnet-v5 .v5-account-chip{display:none!important}
  body.rnet-v5 .v5-home{margin-top:-72px!important;padding-top:72px!important}
}
@media(min-width:1181px){
  body.rnet-v5 .v5-mobile-menu{display:none!important}
}
@media(max-width:720px){
  body.rnet-v5 .v5-header-actions .v5-logout,
  body.rnet-v5 .v5-header-actions .v5-login,
  body.rnet-v5 .v5-header-actions .v5-header-cta{display:none!important}
  body.rnet-v5 .v5-header-shell{padding-left:10px!important;padding-right:10px!important}
  body.rnet-v5 .v5-mobile-menu.is-open{grid-template-columns:1fr!important;padding:8px 12px 14px!important}
  body.rnet-v5 .v5-mobile-menu a{padding:10px 8px!important;font-size:11px!important}
}
@media(max-width:420px){
  body.rnet-v5 .v5-brand-copy strong{font-size:8.5px!important;letter-spacing:.8px!important}
  body.rnet-v5 .v5-brand-copy small{font-size:6px!important;letter-spacing:2px!important}
  body.rnet-v5 .v5-brand{gap:6px!important}
  body.rnet-v5 .v5-brand-mark{width:42px!important}
  body.rnet-v5 .v5-brand img{height:50px!important}
}

/* Home/member dashboard: columns collapse before they become cramped. */
body.rnet-v5 .v5-command-layout{grid-template-columns:minmax(0,1.55fr) minmax(300px,.62fr)!important}
body.rnet-v5 .v5-stat-deck{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.rnet-v5 .v5-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.rnet-v5 .v5-featured-card{grid-template-columns:minmax(235px,300px) minmax(0,1fr)!important;min-height:0!important}
body.rnet-v5 .v5-slider{height:clamp(260px,27vw,355px)!important;min-height:0!important}
body.rnet-v5 .v5-slider .slide{height:100%!important;min-height:0!important;background-size:cover!important;background-position:center center!important}
body.rnet-v5 .v5-slide-label{left:clamp(14px,2vw,22px)!important;bottom:clamp(13px,2vw,20px)!important}
body.rnet-v5 .v5-slider .slider-prev,body.rnet-v5 .v5-slider .slider-next{width:clamp(32px,3vw,38px)!important;height:clamp(32px,3vw,38px)!important}
body.rnet-v5 .v5-member-quickbar{max-width:100%}
body.rnet-v5 .v5-member-quicklinks{flex-wrap:wrap!important}

@media(max-width:1180px){
  body.rnet-v5 .v5-command-layout{grid-template-columns:1fr!important}
  body.rnet-v5 .v5-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rnet-v5 .v5-featured-card{grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important}
  body.rnet-v5 .v5-leaderboard{min-height:0!important}
}
@media(max-width:900px){
  body.rnet-v5 .v5-home-container{width:min(100% - 28px,1920px)!important}
  body.rnet-v5 .v5-stat-deck{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rnet-v5 .v5-featured-card{grid-template-columns:1fr!important}
  body.rnet-v5 .v5-featured-copy{padding:clamp(20px,4vw,28px)!important}
  body.rnet-v5 .v5-slider{height:clamp(230px,47vw,330px)!important}
  body.rnet-v5 .v5-section-heading{gap:16px!important}
}
@media(max-width:600px){
  body.rnet-v5 .v5-home-container{width:min(100% - 20px,1920px)!important}
  body.rnet-v5 .v5-section{padding:42px 0!important}
  body.rnet-v5 .v5-stat-deck{grid-template-columns:1fr!important}
  body.rnet-v5 .v5-service-grid{grid-template-columns:1fr!important}
  body.rnet-v5 .v5-slider{height:clamp(210px,56vw,285px)!important}
  body.rnet-v5 .v5-featured-copy h2{font-size:clamp(21px,7vw,27px)!important}
  body.rnet-v5 .v5-section-heading{align-items:flex-start!important;flex-direction:column!important}
  body.rnet-v5 .v5-section-heading>p{text-align:left!important;max-width:none!important}
  body.rnet-v5 .v5-member-quicklinks{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  body.rnet-v5 .v5-member-quicklinks a{width:100%;text-align:center}
}

/* Guest landing: keep cinematic one-screen layout when it physically fits. */
body.rnet-v5.rnet-2026.v5-guest-landing{
  width:100%!important;min-height:100vh!important;min-height:100dvh!important;
  overflow:hidden!important;overscroll-behavior:none
}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-header,
body.rnet-v5.rnet-2026.v5-guest-landing .v5-header.is-scrolled{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1000!important}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-home{margin:0!important;padding:0!important;width:100%!important;height:100vh!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero{
  width:100%!important;height:100vh!important;height:100dvh!important;min-height:0!important;max-height:none!important;
  margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important
}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-inner{
  width:min(1920px,calc(100% - clamp(48px,7vw,120px)))!important;height:100%!important;
  padding-top:72px!important;gap:clamp(24px,4vw,64px)!important;align-items:center!important
}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy{width:min(690px,58%)!important;max-width:690px!important;padding:clamp(28px,6vh,70px) 0 28px!important}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy h1{font-size:clamp(42px,4.65vw,76px)!important}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy p{font-size:clamp(12px,1.05vw,15px)!important;line-height:1.6!important}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud{width:clamp(286px,25vw,360px)!important;margin-bottom:0!important;right:clamp(24px,4vw,58px)!important;bottom:clamp(24px,4vh,42px)!important}

/* V6.1.5 homepage HUD authority.
   Premium V6 layers intentionally use position:relative on this card; that makes the
   card participate in the hero flex row and can leave it visually 'senget'/too central.
   On desktop/laptop restore the original anchored bottom-right placement. */
@media(min-width:901px){
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-inner{position:relative!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud{
    position:absolute!important;
    left:auto!important;
    right:clamp(26px,3.6vw,58px)!important;
    bottom:clamp(20px,3.8vh,38px)!important;
    margin:0!important;
    align-self:auto!important;
    transform:none!important;
    z-index:8!important
  }
}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-frame{inset:clamp(82px,8vw,96px) clamp(12px,2vw,28px) clamp(10px,2vw,20px)!important}
body.rnet-v5.rnet-2026.v5-guest-landing .v5-footer{display:none!important}

/* Laptop / compact desktop height: scale composition instead of letting it run out of frame. */
@media(min-width:901px) and (max-height:760px){
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-inner{padding-top:58px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy{padding-top:30px!important;padding-bottom:16px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy h1{font-size:clamp(36px,4vw,56px)!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy>p{margin-top:13px!important;line-height:1.48!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-actions{margin-top:15px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-signature{margin-top:18px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud{bottom:18px!important;width:280px!important}
}

/* Tablet/phone: stack copy and HUD, keep touch targets clear. */
@media(max-width:900px){
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-inner{width:calc(100% - 28px)!important;padding-top:82px!important;align-items:flex-start!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy{width:100%!important;max-width:640px!important;padding:clamp(36px,8vh,68px) clamp(10px,2vw,20px) 190px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy h1{font-size:clamp(36px,9.4vw,54px)!important;line-height:.99!important;letter-spacing:-1.2px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy>p{max-width:540px!important;margin-top:14px!important;font-size:12.5px!important;line-height:1.5!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-actions{margin-top:16px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-signature{display:none!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud{left:clamp(16px,3vw,28px)!important;right:clamp(16px,3vw,28px)!important;bottom:clamp(12px,2.5vh,22px)!important;width:auto!important;max-width:none!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-frame{inset:78px 10px 10px!important;border-radius:14px!important}
}
@media(max-width:600px){
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-inner{width:calc(100% - 18px)!important;padding-top:72px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy{padding:34px 10px 154px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy h1{font-size:clamp(32px,10.7vw,44px)!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-eyebrow{margin-bottom:10px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy>p{font-size:11.5px!important;line-height:1.48!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-btn{min-height:36px!important;padding:0 14px!important;font-size:8px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud-head{padding:8px 10px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud-grid>div{padding:7px 9px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud-grid span{display:none!important}
}

/* Very short phones / landscape phones: allow vertical scrolling rather than clipping. */
@media(max-height:680px) and (max-width:900px){
  html:has(body.rnet-v5.rnet-2026.v5-guest-landing){height:auto!important;overflow-y:auto!important}
  body.rnet-v5.rnet-2026.v5-guest-landing{height:auto!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-home{height:auto!important;min-height:720px!important;overflow:visible!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero{height:auto!important;min-height:720px!important;overflow:hidden!important}
}


/* Large desktop / 2K / 4K: use the available canvas instead of leaving a tiny 1360px island. */
@media(min-width:1600px){
  :root{--rb-fluid-gutter:clamp(36px,4vw,88px)}
  body.rnet-v5 .v5-home-container{width:min(92vw,1920px)!important}
  body.rnet-v5 .v5-header-shell{width:min(92vw,1760px)!important;max-width:1760px!important}
  body.rnet-v5 .v5-stat-deck{gap:clamp(12px,1vw,20px)!important}
  body.rnet-v5 .v5-stat-card{min-height:clamp(122px,7vw,154px)!important;padding:clamp(18px,1.35vw,28px)!important}
  body.rnet-v5 .v5-stat-card strong{font-size:clamp(19px,1.15vw,27px)!important}
  body.rnet-v5 .v5-stat-card p{font-size:clamp(11px,.68vw,14px)!important}
  body.rnet-v5 .v5-command-layout{grid-template-columns:minmax(0,1.7fr) minmax(340px,.56fr)!important;gap:clamp(16px,1.2vw,24px)!important}
  body.rnet-v5 .v5-featured-card{grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important}
  body.rnet-v5 .v5-featured-copy{padding:clamp(30px,2vw,42px)!important}
  body.rnet-v5 .v5-featured-copy h2{font-size:clamp(28px,1.65vw,36px)!important}
  body.rnet-v5 .v5-featured-copy p{font-size:clamp(11px,.72vw,14px)!important}
  body.rnet-v5 .v5-slider{height:clamp(330px,22vw,440px)!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-inner{width:min(92vw,1920px)!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy{width:min(760px,48%)!important;max-width:760px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy h1{font-size:clamp(58px,3.45vw,92px)!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-copy p{font-size:clamp(14px,.82vw,17px)!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-nation-hud{width:clamp(330px,20vw,420px)!important}
}
@media(min-width:2400px){
  body.rnet-v5 .v5-home-container{width:min(88vw,2140px)!important;max-width:2140px!important}
  body.rnet-v5 .v5-header-shell{width:min(88vw,1960px)!important;max-width:1960px!important}
  body.rnet-v5.rnet-2026.v5-guest-landing .v5-hero-inner{width:min(88vw,2100px)!important}
  body.rnet-v5 .v5-slider{height:clamp(380px,18vw,500px)!important}
}

/* Subpages/auth: keep cards inside viewport and avoid iOS input zoom. */
body.rnet-subpage-2026 main.container{width:min(100% - (var(--rb-fluid-gutter) * 2),1320px)!important}
body.rnet-subpage-2026 .rnet-auth-card{max-width:min(100%,520px)!important}
body.rnet-subpage-2026 .elite-ranking-shell{width:min(1180px,calc(100% - (var(--rb-fluid-gutter) * 2)))!important;margin-left:auto!important;margin-right:auto!important}
body.rnet-subpage-2026 .elite-table-scroll,body.rnet-subpage-2026 .creator-rank-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.rnet-subpage-2026 .rb-profile-panel{width:min(940px,calc(100vw - 22px))!important}

@media(max-width:820px){
  body.rnet-subpage-2026 main.container{width:calc(100% - 20px)!important}
  body.rnet-subpage-2026 .elite-ranking-shell{width:calc(100% - 20px)!important;padding:clamp(16px,4vw,28px)!important}
  body.rnet-subpage-2026 .creator-hero-grid,body.rnet-subpage-2026 .creator-apply-wrap{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  body.rnet-subpage-2026 main.container{width:calc(100% - 16px)!important;padding-top:32px!important;padding-bottom:32px!important}
  body.rnet-subpage-2026 .rnet-auth-card{padding:22px 16px!important;border-radius:14px!important}
  body.rnet-subpage-2026 input:not([type=checkbox]):not([type=radio]),body.rnet-subpage-2026 select,body.rnet-subpage-2026 textarea{font-size:16px!important}
  body.rnet-subpage-2026 .rnet-code-input{font-size:24px!important;letter-spacing:.18em!important}
  body.rnet-subpage-2026 .redeem-copy,body.rnet-subpage-2026 .redeem-form{padding:20px!important}
  body.rnet-subpage-2026 .treasure-page .treasure-box{grid-template-columns:82px minmax(0,1fr)!important;gap:10px!important;padding:12px!important}
  body.rnet-subpage-2026 .treasure-page .treasure-box img{width:78px!important;height:78px!important}
}
@media(max-width:390px){
  body.rnet-subpage-2026 .point-shop-page .rps-balance-grid{grid-template-columns:1fr!important}
  body.rnet-subpage-2026 .daily-reward-page .daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Admin panel: responsive shell and horizontally scrollable navigation on small screens. */
body.rnet-admin-2026>header{position:sticky;top:0;z-index:200;padding:12px!important}
body.rnet-admin-2026>header>div{width:min(1280px,100%);max-width:1280px}
body.rnet-admin-2026>main{width:min(1280px,100%)!important;max-width:1280px!important;padding:clamp(12px,2vw,24px)!important}
body.rnet-admin-2026 table{max-width:100%}
body.rnet-admin-2026 img,body.rnet-admin-2026 video{max-width:100%;height:auto}
@media(max-width:900px){
  body.rnet-admin-2026>header>div{display:block!important}
  body.rnet-admin-2026>header h1{font-size:20px!important;margin:0 0 10px!important}
  body.rnet-admin-2026>header nav{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  body.rnet-admin-2026>header nav>a,body.rnet-admin-2026>header nav>form{flex:0 0 auto;white-space:nowrap}
}
@media(max-width:520px){
  body.rnet-admin-2026>header{padding:9px!important}
  body.rnet-admin-2026>main{padding:10px!important}
  body.rnet-admin-2026 .grid-cols-2{grid-template-columns:1fr!important}
  body.rnet-admin-2026 input,body.rnet-admin-2026 select,body.rnet-admin-2026 textarea{font-size:16px!important;max-width:100%}
}

/* Landscape phones: preserve content access and keep fixed overlays from covering the page. */
@media(max-width:900px) and (orientation:landscape){
  body.rnet-v5 .v5-mobile-menu{max-height:calc(100dvh - 78px)}
  body.rnet-subpage-2026 .rb-profile-panel{max-height:calc(100dvh - 16px)!important}
}

@media(prefers-reduced-motion:reduce){
  body.rnet-v5 .slider-track{transition:none!important}
}

/* ================================================================
   V6.1.3 — SUBPAGE POSITION + TITLE MASTER LOCK
   Keeps member/service pages centered on one rail and prevents the
   forged ROYAL WHEEL style titles from splitting letter-by-letter.
   ================================================================ */
body.rnet-v5.rnet-2026 .rb-metal-title,
body.rnet-v5.rnet-2026 .hero-title,
body.rnet-v5.rnet-2026 .elite-rank-title,
body.rnet-v5.rnet-2026 .rnet-service-title,
body.rnet-v5.rnet-2026 .rps-title,
body.rnet-v5.rnet-2026 .daily-head h1,
body.rnet-v5.rnet-2026 .treasure-welcome h1,
body.rnet-v5.rnet-2026 .redeem-copy h1,
body.rnet-v5.rnet-2026.royal-wheel-page .rw-brand,
body.rnet-v5.rnet-2026.royal-wheel-page .rw-event h1,
body.rnet-v5.rnet-2026.royal-wheel-page .rw-wheel-title strong{
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

/* Consistent centered rail for the broken member pages shown in V6.1.2. */
body.rnet-v5.rnet-2026.security-activity-page main.security-shell,
body.rnet-v5.rnet-2026.download-page main.download-shell{
  width:min(1220px,calc(100% - (var(--rb-fluid-gutter) * 2)))!important;
  max-width:1220px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.rnet-v5.rnet-2026.security-activity-page .hero-card,
body.rnet-v5.rnet-2026.download-page .hero-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* SECURITY ACTIVITY: fixed two-column desktop header, clean stack on smaller screens. */
body.rnet-v5.rnet-2026.security-activity-page .security-overview-card{padding:clamp(22px,2.25vw,32px)!important}
body.rnet-v5.rnet-2026.security-activity-page .security-overview-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(440px,.82fr)!important;
  align-items:center!important;
  gap:clamp(22px,3vw,44px)!important;
}
body.rnet-v5.rnet-2026.security-activity-page .security-overview-copy{min-width:0;max-width:560px}
body.rnet-v5.rnet-2026.security-activity-page .security-title{
  margin:0 0 8px!important;
  white-space:nowrap!important;
  font-size:clamp(32px,3vw,44px)!important;
  line-height:1.03!important;
}
body.rnet-v5.rnet-2026.security-activity-page .security-overview-copy .hero-sub{max-width:520px!important;line-height:1.65!important}
body.rnet-v5.rnet-2026.security-activity-page .security-meta-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  min-width:0!important;
}
body.rnet-v5.rnet-2026.security-activity-page .security-meta-card{min-width:0!important;overflow:hidden!important}
body.rnet-v5.rnet-2026.security-activity-page .security-meta-value{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
body.rnet-v5.rnet-2026.security-activity-page .security-activity-card{padding:clamp(20px,2vw,30px)!important}

/* DOWNLOADS: full content width; cards fill the grid instead of being capped to 520px. */
body.rnet-v5.rnet-2026.download-page .download-hero{margin:0 0 28px!important}
body.rnet-v5.rnet-2026.download-page .download-hero .hero-wrap{display:block!important;max-width:none!important;padding:0!important}
body.rnet-v5.rnet-2026.download-page .download-hero-card{text-align:center!important;padding:clamp(22px,2.3vw,32px)!important}
body.rnet-v5.rnet-2026.download-page .download-title{
  margin:0!important;
  white-space:nowrap!important;
  font-size:clamp(32px,3vw,44px)!important;
  line-height:1.03!important;
}
body.rnet-v5.rnet-2026.download-page .download-section{margin-top:30px!important}
body.rnet-v5.rnet-2026.download-page .download-section-title{
  margin:0 0 16px!important;
  font-family:var(--rbm-serif,Georgia,"Times New Roman",serif)!important;
  font-weight:900!important;
  font-size:clamp(24px,2vw,31px)!important;
  line-height:1.06!important;
  letter-spacing:.02em!important;
  color:#a34b1c!important;
  background:var(--rbm-face)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.36px var(--rbm-stroke)!important;
  text-shadow:var(--rbm-shadow-mid)!important;
}
body.rnet-v5.rnet-2026.download-page .download-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
body.rnet-v5.rnet-2026.download-page .download-card{padding:20px!important;min-width:0!important}
body.rnet-v5.rnet-2026.download-page .download-card-title{
  margin:0 0 7px!important;
  font-family:var(--rbm-serif,Georgia,"Times New Roman",serif)!important;
  font-weight:900!important;
  font-size:clamp(20px,1.65vw,26px)!important;
  line-height:1.08!important;
  letter-spacing:.018em!important;
  color:#a34b1c!important;
  background:var(--rbm-face)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.3px var(--rbm-stroke)!important;
  text-shadow:var(--rbm-shadow-small)!important;
}
body.rnet-v5.rnet-2026.download-page .download-card .hero-sub{min-height:38px!important}

/* POINT SHOP: align with the same visual rail and lock main title geometry. */
body.rnet-v5.rnet-2026.point-shop-page .rps-wrap{width:min(1220px,calc(100% - (var(--rb-fluid-gutter) * 2)))!important;max-width:1220px!important}
body.rnet-v5.rnet-2026.point-shop-page .rps-head,
body.rnet-v5.rnet-2026.point-shop-page .rps-grid{max-width:1160px!important;width:100%!important}
body.rnet-v5.rnet-2026.point-shop-page .rps-title{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}

/* ROYAL WHEEL master title: same approved face, stable position, no wrap. */
body.rnet-v5.rnet-2026.royal-wheel-page .rw-shell-site{width:min(1280px,calc(100% - 32px))!important;margin-left:auto!important;margin-right:auto!important}
body.rnet-v5.rnet-2026.royal-wheel-page .rw-brand-lockup{min-width:0!important;align-items:center!important}
body.rnet-v5.rnet-2026.royal-wheel-page .rw-brand{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;flex:0 1 auto!important}

@media(max-width:980px){
  body.rnet-v5.rnet-2026.security-activity-page .security-overview-grid{grid-template-columns:1fr!important}
  body.rnet-v5.rnet-2026.security-activity-page .security-overview-copy{max-width:none}
  body.rnet-v5.rnet-2026.download-page .download-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  body.rnet-v5.rnet-2026.security-activity-page main.security-shell,
  body.rnet-v5.rnet-2026.download-page main.download-shell{width:calc(100% - 18px)!important}
  body.rnet-v5.rnet-2026.security-activity-page .security-title,
  body.rnet-v5.rnet-2026.download-page .download-title,
  body.rnet-v5.rnet-2026.point-shop-page .rps-title{white-space:normal!important;font-size:clamp(28px,9vw,36px)!important}
  body.rnet-v5.rnet-2026.security-activity-page .security-meta-grid{grid-template-columns:1fr!important}
  body.rnet-v5.rnet-2026.download-page .download-grid{grid-template-columns:1fr!important}
  body.rnet-v5.rnet-2026.download-page .download-card .hero-sub{min-height:0!important}
  body.rnet-v5.rnet-2026.royal-wheel-page .rw-shell-site{width:calc(100% - 14px)!important}
}

