/* BCRP public-site refresh — scoped to body.pubRefresh (public routes only).
   Does not restyle SOP inner accordion bodies (.sopSection, .docsSopSection content). */
body.pubRefresh{--pr-radius:20px;--pr-ease:cubic-bezier(.2,.7,.2,1);--pr-display:"Big Shoulders Display",Inter,system-ui,sans-serif;--pr-section-space:clamp(44px,4.8vw,60px);--pr-section-head-space:22px;--pr-section-stack-space:26px;--pr-collection-gap:18px}

/* Navigation */
body.pubRefresh .nav .links a{min-height:40px}
body.pubRefresh .links a[aria-current="page"],
body.pubRefresh .links a[aria-current="location"],
body.pubRefresh .navGroup[data-current-section="true"]>a,
body.pubRefresh .navBrowseTrigger[data-current-section="true"]{border-color:var(--accent);color:var(--text);background:var(--accent-soft);font-weight:950;box-shadow:inset 0 -2px 0 var(--accent)}
body.pubRefresh .navDrop{border-radius:16px;padding:8px;backdrop-filter:blur(14px)}
body.pubRefresh .navDrop a{position:relative;padding-left:16px}
body.pubRefresh .navDrop a[aria-current="page"]:before,
body.pubRefresh .navDrop a[aria-current="location"]:before{content:"";position:absolute;left:6px;top:30%;bottom:30%;width:3px;border-radius:3px;background:var(--accent)}
body.pubRefresh a:focus-visible,body.pubRefresh button:focus-visible,body.pubRefresh summary:focus-visible,body.pubRefresh input:focus-visible,body.pubRefresh select:focus-visible,body.pubRefresh textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:10px}

/* Banners & heroes */
body.pubRefresh .pageBanner{min-height:clamp(360px,42vh,480px)}
body.pubRefresh .pageBanner .bg{background-size:cover;background-position:center 42%;transform:scale(1.02);transition:transform 1.2s var(--pr-ease)}
body.pubRefresh .prPage--storebanner .pageBanner .bg[style*="community-store-banner.jpg"]{
  background-position:left 42%;
  transform:scale(1.24);
  transform-origin:left center;
}
@media(max-width:560px){
  body.pubRefresh .prPage--storebanner .pageBanner .bg[style*="community-store-banner.jpg"]{
    background-position:left center;
    transform:scale(1.02);
  }
}
body.pubRefresh .pageBanner .tint{background:linear-gradient(0deg,var(--bg) 2%,rgba(2,6,23,.62) 48%,rgba(2,6,23,.28)),linear-gradient(90deg,rgba(2,6,23,.55),transparent 65%)}
body.pubRefresh .pageBanner .eyebrow{display:inline-flex;align-items:center;gap:10px}
body.pubRefresh .pageBanner .eyebrow:before{content:"";width:28px;height:2px;background:var(--accent)}
body.pubRefresh .pageBanner h1{font-size:clamp(42px,5.6vw,72px);letter-spacing:.01em;text-wrap:balance}
body.pubRefresh .pageBanner .lead{max-width:min(100%,64ch)}
body.pubRefresh .section h2{text-wrap:balance}
body.pubRefresh .sectionHead{padding-bottom:14px;border-bottom:1px solid var(--line)}

/* Surfaces */
body.pubRefresh .card,body.pubRefresh .docCard,body.pubRefresh .departmentChoice,body.pubRefresh .tierCard,body.pubRefresh .spotCard,body.pubRefresh .linkHub a.hubBtn{border-radius:var(--pr-radius);transition:transform .2s var(--pr-ease),border-color .2s ease,box-shadow .2s ease}
body.pubRefresh a.card:hover,body.pubRefresh .docCard:hover,body.pubRefresh .departmentChoice:hover,body.pubRefresh .linkHub a.hubBtn:hover{transform:translateY(-3px);box-shadow:0 18px 44px var(--accent-soft)}
body.pubRefresh .card h3,body.pubRefresh .docCard h3{letter-spacing:-.02em;line-height:1.2}
body.pubRefresh .btn{min-height:42px;padding:10px 16px;letter-spacing:.01em}
body.pubRefresh .btn.primary:hover{filter:brightness(1.06)}
body.pubRefresh .grid,body.pubRefresh .divGrid,body.pubRefresh .docList{gap:18px}

/* Department family */
body.pubRefresh[data-pub-family="departments"] .departmentChoice{min-height:210px;background:radial-gradient(circle at 100% 0%,var(--accent-soft),transparent 45%),linear-gradient(150deg,var(--panel),var(--panel2))}
body.pubRefresh[data-pub-family="departments"] .departmentChoice h3{font-family:var(--pr-display)}
body.pubRefresh[data-pub-family="departments"] .divGrid .card{border-left:3px solid var(--accent)}
body.pubRefresh[data-pub-family="departments"] .divGrid .card:before{display:none}
body.pubRefresh .departmentFlowStep{display:inline-flex;align-items:center;gap:8px}
body.pubRefresh .departmentFlowStep:before{content:"";width:18px;height:2px;background:var(--accent)}
body.pubRefresh .departmentDocsIntro.departmentHero{position:relative;overflow:hidden}
body.pubRefresh .departmentDocsIntro.departmentHero:after{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--accent)}
body.pubRefresh .rosterSheet>summary{transition:background .2s ease}

/* Games / community */
body.pubRefresh[data-pub-family="games"] .card,body.pubRefresh[data-pub-family="community"] .card{background:linear-gradient(170deg,var(--panel),var(--panel2))}
body.pubRefresh[data-pub-family="community"] .tierCard.hot{transform:translateY(-6px)}
body.pubRefresh .gallery img,body.pubRefresh .gallery video{transition:transform .3s var(--pr-ease)}
body.pubRefresh .gallery img:hover{transform:scale(1.02)}
body.pubRefresh .tableWrap{border-radius:var(--pr-radius)}
body.pubRefresh .gxPlatformCards{display:none;list-style:none;margin:0;padding:0}
body.pubRefresh .gxPlatformCard{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 8px 22px rgba(2,8,23,.06)}
body.pubRefresh .gxPlatformCard h3{margin:0 0 12px;font-size:18px}
body.pubRefresh .gxPlatformAvailability{display:grid;gap:8px;margin:0}
body.pubRefresh .gxPlatformAvailability>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:var(--panel2)}
body.pubRefresh .gxPlatformAvailability dt{font-size:13px;font-weight:850}
body.pubRefresh .gxPlatformAvailability dd{margin:0}
body.pubRefresh .gxPlatformKey{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px}
body.pubRefresh .gxPlatformNote{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.5}
body.pubRefresh .gxPlatformNote strong{color:var(--text)}
body.pubRefresh .gxCell{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:4px 8px;border:1px solid currentColor;border-radius:999px;font-size:11px;font-weight:850;line-height:1.15;white-space:nowrap}
body.pubRefresh .gxCellIcon{font-size:13px;font-weight:950;line-height:1}
body.pubRefresh .gxCellYes{color:#059669;background:rgba(16,185,129,.10)}
body.pubRefresh .gxCellNo{color:var(--muted);background:rgba(148,163,184,.08)}
body.pubRefresh .gxCellPlan{color:#b45309;background:rgba(245,158,11,.12)}
body.pubRefresh .gxCellPlan small{font-size:10px;font-weight:750}
html:not([data-theme="light"]) body.pubRefresh .gxCellYes{color:#34d399}
html:not([data-theme="light"]) body.pubRefresh .gxCellPlan{color:#fbbf24}
body.pubRefresh .lbTable tbody tr:hover td{background:var(--accent-soft)}

/* Docs outer shells only */
body.pubRefresh .docsMode .docsDepartmentLibrary,body.docsMode.pubRefresh .docsDepartmentLibrary{border-radius:18px}
body.docsMode.pubRefresh .departmentLibraryMast h1{font-family:var(--pr-display);text-transform:uppercase;letter-spacing:.02em;font-size:clamp(28px,3.6vw,40px)}
body.docsMode.pubRefresh .docsDepartmentLibraryCard{border-radius:14px}

/* Empty states */
body.pubRefresh .rosterEmpty,body.pubRefresh .emptyState{padding:22px;border:1px dashed var(--line);border-radius:16px;color:var(--muted);text-align:center;background:var(--panel2)}

/* Light theme */
html[data-theme="light"] body.pubRefresh .pageBanner .tint{background:linear-gradient(0deg,var(--bg) 2%,rgba(15,23,42,.5) 50%,rgba(15,23,42,.22))}
html[data-theme="light"] body.pubRefresh .card,html[data-theme="light"] body.pubRefresh .departmentChoice{box-shadow:0 10px 30px rgba(15,23,42,.07)}
html[data-theme="light"] body.pubRefresh[data-pub-family="departments"] .departmentChoice{background:radial-gradient(circle at 100% 0%,var(--accent-soft),transparent 45%),#fff}

/* Phone */
@media(max-width:560px){
  body.pubRefresh .pageBanner{min-height:300px}
  body.pubRefresh .pageBanner .wrap{padding-top:84px;padding-bottom:26px}
  body.pubRefresh .pageBanner h1{font-size:clamp(36px,9.5vw,48px);line-height:.98}
  body.pubRefresh .pageBanner .lead{max-width:40ch}
  body.pubRefresh .pageBanner .bg{background-position:center center}
  body.pubRefresh .prPage--eventsbanner .pageBanner,
  body.pubRefresh .prPage--newsbanner .pageBanner{min-height:0}
  body.pubRefresh .prPage--eventsbanner .pageBanner .wrap,
  body.pubRefresh .prPage--newsbanner .pageBanner .wrap{padding-top:64px;padding-bottom:18px}
  body.pubRefresh .prPage--eventsbanner .prCrumbs ol,
  body.pubRefresh .prPage--newsbanner .prCrumbs ol{margin-bottom:10px}
  body.pubRefresh .prPage--eventsbanner .pageBanner h1,
  body.pubRefresh .prPage--newsbanner .pageBanner h1{margin:8px 0 6px}
  body.pubRefresh .prPage--eventsbanner .pageBanner .lead,
  body.pubRefresh .prPage--newsbanner .pageBanner .lead{margin-bottom:0;padding:10px 12px}
  body.pubRefresh .prPage--eventsbanner>section.section:first-of-type,
  body.pubRefresh .prPage--newsbanner>section.section:first-of-type{padding-top:24px}
  body.pubRefresh .wrap{padding:0 16px}
  body.pubRefresh .actions .btn{flex:1 1 100%}
  body.pubRefresh .section{padding:42px 0}
}

@media(prefers-reduced-motion:reduce){
  body.pubRefresh *,body.pubRefresh *:before{transition:none!important;animation:none!important}
  body.pubRefresh .pageBanner .bg{transform:none}
  body.pubRefresh a.card:hover,body.pubRefresh .docCard:hover,body.pubRefresh .departmentChoice:hover{transform:none}
}

/* ===== v2: shared shells, game guides, departments ===== */
.prCrumbs ol{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px;padding:0;list-style:none;font-size:12px;font-weight:750;letter-spacing:.04em}
.prCrumbs li{color:var(--muted)}
.prCrumbs li+li:before{content:"/";margin-right:6px;opacity:.5}
.prCrumbs a{color:var(--muted);text-decoration:none}
.prCrumbs a:hover{color:var(--accent)}
.prCrumbs [aria-current="page"]{position:relative;display:inline-block;color:var(--text);font-weight:950}
.prCrumbs [aria-current="page"]:after{content:"";position:absolute;right:0;bottom:-3px;left:0;height:2px;border-radius:2px;background:var(--accent)}
.prBanner .prCrumbs li,.prBanner .prCrumbs a,.prGameHero .prCrumbs a{color:#cbd5e1}
.prBanner .prCrumbs [aria-current]{color:#fff}
.prBannerActions{margin-top:18px}
.prBanner .lead,html[data-theme="light"] .prBanner .lead{color:#f8fafc;max-width:760px;padding:12px 16px;border:1px solid rgba(203,213,225,.18);border-radius:12px;background:rgba(2,6,23,.78);text-shadow:none}

/* Events and News lead directly into their content, so keep those photo
   headers shorter than the general public-page banners. */
body.pubRefresh .prPage--eventsbanner .pageBanner,
body.pubRefresh .prPage--newsbanner .pageBanner{min-height:clamp(290px,32vh,370px)}
body.pubRefresh .prPage--eventsbanner .pageBanner .wrap,
body.pubRefresh .prPage--newsbanner .pageBanner .wrap{padding-top:88px;padding-bottom:24px}
body.pubRefresh .prPage--eventsbanner>section.section:first-of-type,
body.pubRefresh .prPage--newsbanner>section.section:first-of-type{padding-top:36px}

/* Sticky in-page subnav */
.prSubnav{position:sticky;top:var(--pub-nav-height,74px);z-index:15;background:color-mix(in srgb,var(--bg) 86%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.prSubnav nav{display:flex;gap:4px;overflow-x:auto;padding:10px 0;scrollbar-width:none}
.prSubnav nav::-webkit-scrollbar{display:none}
.prSubnav a{flex:none;padding:8px 13px;border-radius:999px;color:var(--muted);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.prSubnav a:hover{color:var(--text);background:var(--accent-soft)}
.prPage [id]{scroll-margin-top:calc(var(--pub-nav-height,74px) + 74px)}

/* pageShell hero (no tall sidebar) */
.prHero{position:relative;padding:72px 0 44px;overflow:hidden;border-bottom:1px solid var(--line)}
.prHero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 85% 0%,var(--accent-soft),transparent 55%),repeating-linear-gradient(90deg,transparent 0 79px,var(--line) 79px 80px);mask-image:linear-gradient(180deg,#000,transparent 92%)}
.prHero h1{font-family:var(--pr-display,"Big Shoulders Display",sans-serif);font-weight:900;text-transform:uppercase;font-size:clamp(46px,7vw,96px);line-height:.9;letter-spacing:.005em;margin:10px 0 14px;max-width:16ch}
.prHero .lead{max-width:680px}
.prStart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:34px 0 0;padding:0;list-style:none;counter-reset:prs;border:1px solid var(--line);border-radius:18px;background:var(--panel);overflow:hidden}
.prStart li{counter-increment:prs;padding:16px 18px;border-left:1px solid var(--line);display:grid;gap:2px}
.prStart li:first-child{border-left:0}
.prStart li:before{content:counter(prs,decimal-leading-zero);color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.14em}
.prStart b{font-size:15px}
.prStart span{color:var(--muted);font-size:13px}
.prStart a{color:var(--accent)}

/* Game guides */
.prGame{--g1:#22d3ee;--g2:#0e7490}
.prGame--gta-roleplay{--g1:#f59e0b;--g2:#be123c}
.prGame--minecraft{--g1:#84cc16;--g2:#4d7c0f}
.prGame--rdr2{--g1:#dc2626;--g2:#7c2d12}
.prGame--fortnite{--g1:#a78bfa;--g2:#0ea5e9}
.prGameHero{position:relative;isolation:isolate;overflow:hidden;padding:80px 0 46px;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 90% 10%,color-mix(in srgb,var(--g1) 26%,transparent),transparent 55%),linear-gradient(160deg,color-mix(in srgb,var(--g2) 22%,var(--bg)),var(--bg) 70%)}
.prGameArt{position:absolute;right:-2vw;bottom:-4vw;z-index:-1;pointer-events:none}
.prGameArt span{font-family:"Big Shoulders Display",sans-serif;font-weight:900;font-size:clamp(160px,30vw,420px);line-height:.8;color:transparent;-webkit-text-stroke:2px color-mix(in srgb,var(--g1) 45%,transparent);opacity:.7}
.prGameTag{display:flex;align-items:center;gap:12px}
.prGameTag .eyebrow{color:var(--g1)}
.prGameHero h1{font-family:"Big Shoulders Display",sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(50px,8vw,112px);line-height:.88;margin:14px 0 14px;max-width:12ch}
.prGame .prGameHero .btn.primary{background:var(--g1);border-color:var(--g1);color:#0b0f19}
.prFacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:32px 0 0;max-width:880px;border-top:1px solid var(--line)}
.prFacts div{padding:14px 18px 0 0}
.prFacts dt{font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--g1)}
.prFacts dd{margin:4px 0 0;font-weight:700;font-size:14px}
.prFacts dd.prPlatformList{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.prPlatformChip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 8px;border:1px solid color-mix(in srgb,var(--g1) 30%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--g1) 7%,var(--panel));font-size:12px;line-height:1.25}
.prPlatformChip--planned{border-style:dashed;color:var(--muted)}
.prPlatformStatus{color:var(--g1);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.prGame .prSubnav a:hover{background:color-mix(in srgb,var(--g1) 16%,transparent)}
.prGuide{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.prGuideStep{display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;align-items:start;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--panel);transition:border-color .2s ease}
.prGuideStep:hover,.prGuideStep:target{border-color:var(--g1)}
.prGuideNum{font-family:"Big Shoulders Display",sans-serif;font-weight:900;font-size:48px;line-height:.9;color:var(--g1)}
.prGuideStep h3{margin:0 0 6px;font-size:22px;letter-spacing:-.02em}
.prGuideStep p{margin:0 0 14px;color:var(--muted);max-width:62ch}
.prGame .prGuideStep .btn.primary{background:var(--g1);border-color:var(--g1);color:#0b0f19}
.prRelated{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.prRelatedCard{display:grid;gap:6px;padding:22px;border:1px solid var(--line);border-top:3px solid var(--g1);border-radius:18px;background:var(--panel);text-decoration:none;transition:transform .2s ease}
.prRelatedCard:hover{transform:translateY(-3px)}
.prRelatedCard b{font-size:19px}
.prRelatedCard>span:last-child{color:var(--muted);font-size:13px}
.prMono{display:inline-grid;place-items:center;min-width:44px;height:28px;padding:0 8px;border:1px solid currentColor;border-radius:8px;font-family:"Big Shoulders Display",sans-serif;font-weight:900;font-size:15px;letter-spacing:.08em;color:var(--g1,var(--accent));justify-self:start}

@media(min-width:1100px){
  .prGuide{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}

/* Departments index */
.prDeptGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.prDeptCard{grid-column:span 2;position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:360px;border-radius:22px;overflow:hidden;border:1px solid var(--line);text-decoration:none;color:#fff}
.prDeptCard--lead{grid-column:span 6;min-height:400px}
.prDeptCard:nth-child(2),.prDeptCard:nth-child(3),.prDeptCard:nth-child(4),.prDeptCard:nth-child(5){grid-column:span 3}
.prDeptCard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s ease}
.prDeptCard:hover img{transform:scale(1.05)}
.prDeptShade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(2,6,23,.88) 10%,rgba(2,6,23,.3) 52%,rgba(2,6,23,.04))}
.prDeptTxt{display:grid;gap:8px;padding:26px;max-width:640px}
.prDeptTxt .prMono{color:#67e8f9}
.prDeptTxt h3{margin:0;font-family:"Big Shoulders Display",sans-serif;font-weight:900;font-size:clamp(30px,3.4vw,46px);text-transform:uppercase;line-height:.95}
.prDeptTxt p{margin:0;color:#dbe4f0;font-size:14px}
.prDeptMeta{font-size:12px;color:#94a3b8;font-weight:750}
.prDeptGo{font-weight:900;font-size:13px;color:#67e8f9}
.prDeptGo:after{content:" \2192";transition:margin .2s ease}
.prDeptCard:hover .prDeptGo:after{margin-left:6px}
.prPaths{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.prPaths a{display:grid;gap:4px;padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:14px;background:var(--panel);text-decoration:none;transition:transform .2s ease,border-color .2s ease}
.prPaths a:hover{transform:translateY(-2px);border-color:var(--accent)}
.prPaths b{font-size:16px}
.prPaths span{color:var(--muted);font-size:13px;word-break:break-word}

/* Department landing */
.prJump{display:flex;flex-wrap:wrap;gap:6px;max-width:560px;justify-content:flex-end}
.prJump a{padding:6px 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;font-weight:800;text-decoration:none}
.prJump a:hover{color:var(--accent);border-color:var(--accent)}
.prDivGrid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.prDiv{padding:0!important;display:flex;flex-direction:column}
.prDiv:before{display:none}
.prDivImg{width:100%;height:170px;object-fit:cover;display:block}
.prDivBody{padding:22px;display:grid;gap:6px;align-content:start;flex:1}
.prDivNum{font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--accent)}
.prDiv h3{margin:0;font-size:20px}
.prDiv p{margin:0 0 8px}
.prDiv .btn{justify-self:start}
.prDiv:target{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}
.prJoin{border-left:4px solid var(--accent)}
.prDeptSwitch{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.prDeptSwitch a{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--panel);text-decoration:none;font-weight:800;font-size:14px}
.prDeptSwitch a:hover{border-color:var(--accent)}
.prDeptSwitch a[aria-current]{border-color:var(--accent);background:var(--accent-soft)}
.prDeptSwitch .prMono{flex:none}

/* Marketing pages via shared banner */
.prPage--aboutbanner .grid.wide .card,.prPage--civbusiness .grid.wide .card{border-left:3px solid var(--accent)}
.prPage--aboutbanner .grid.wide .card:before,.prPage--civbusiness .grid.wide .card:before{display:none}
body.pubRefresh .prPage--aboutbanner .aboutTeamCard--leadership{--team-accent:#0e7490}
body.pubRefresh .prPage--aboutbanner .aboutTeamCard--staff{--team-accent:#b45309}
body.pubRefresh .prPage--aboutbanner .aboutTeamCard--development{--team-accent:#6d28d9}
html:not([data-theme="light"]) body.pubRefresh .prPage--aboutbanner .aboutTeamCard--leadership{--team-accent:#67e8f9}
html:not([data-theme="light"]) body.pubRefresh .prPage--aboutbanner .aboutTeamCard--staff{--team-accent:#fbbf24}
html:not([data-theme="light"]) body.pubRefresh .prPage--aboutbanner .aboutTeamCard--development{--team-accent:#c4b5fd}
body.pubRefresh .prPage--aboutbanner .aboutTeamGrid .aboutTeamCard{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  min-height:212px;
  padding:20px;
  border-left:4px solid var(--team-accent);
  background:linear-gradient(145deg,color-mix(in srgb,var(--team-accent) 7%,var(--panel)),var(--panel) 58%);
}
body.pubRefresh .aboutTeamMarker{display:flex;align-items:center;gap:10px;margin-bottom:2px}
body.pubRefresh .aboutTeamNumber{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid color-mix(in srgb,var(--team-accent) 36%,var(--line));
  border-radius:12px;
  background:color-mix(in srgb,var(--team-accent) 12%,var(--panel));
  color:var(--team-accent);
  font-family:var(--pr-display);
  font-size:23px;
  font-weight:900;
  line-height:1;
}
body.pubRefresh .aboutTeamFocus{
  color:var(--team-accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.1em;
  line-height:1.4;
  text-transform:uppercase;
}
body.pubRefresh .prPage--aboutbanner .aboutTeamCard h3{
  margin:0;
  font-size:21px;
}
body.pubRefresh .prPage--aboutbanner .aboutTeamCard p{
  margin:0;
  color:var(--muted);
}
body.pubRefresh .prPage--aboutbanner .aboutStoryGrid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
body.pubRefresh .prPage--aboutbanner .aboutMission{
  position:relative;
  display:grid;
  grid-column:1/-1;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  overflow:hidden;
  padding:clamp(24px,4vw,42px);
  border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));
  border-left:5px solid var(--accent);
  border-radius:22px;
  background:radial-gradient(circle at 92% 12%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 32%),linear-gradient(140deg,color-mix(in srgb,var(--accent) 8%,var(--panel)),var(--panel) 62%);
  box-shadow:0 18px 42px rgba(15,23,42,.08);
}
body.pubRefresh .prPage--aboutbanner .aboutMissionContent{max-width:880px}
body.pubRefresh .prPage--aboutbanner .aboutMission h2{
  margin:8px 0 12px;
  font-family:var(--pr-display);
  font-size:clamp(28px,3vw,40px);
  line-height:1;
  text-transform:uppercase;
}
body.pubRefresh .prPage--aboutbanner .aboutMission p{
  margin:0;
  color:var(--muted);
  font-size:clamp(17px,1.8vw,21px);
  line-height:1.65;
}
body.pubRefresh .prPage--aboutbanner .aboutMissionStamp{
  display:grid;
  place-content:center;
  width:126px;
  height:126px;
  border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));
  border-radius:50%;
  background:color-mix(in srgb,var(--accent) 10%,var(--panel));
  color:var(--accent);
  text-align:center;
}
body.pubRefresh .prPage--aboutbanner .aboutMissionStamp strong{
  font-family:var(--pr-display);
  font-size:34px;
  font-weight:900;
  line-height:1;
}
body.pubRefresh .prPage--aboutbanner .aboutMissionStamp span{
  margin-top:5px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.pubRefresh .prPage--aboutbanner .aboutHistory,
body.pubRefresh .prPage--aboutbanner .aboutPartners{
  padding:22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
body.pubRefresh .prPage--aboutbanner .aboutHistory{grid-column:span 8}
body.pubRefresh .prPage--aboutbanner .aboutPartners{
  display:flex;
  grid-column:span 4;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  border-top:3px solid color-mix(in srgb,var(--accent) 58%,var(--line));
}
body.pubRefresh .prPage--aboutbanner .aboutHistory h2,
body.pubRefresh .prPage--aboutbanner .aboutPartners h2{
  margin:7px 0 0;
  font-family:var(--pr-display);
  font-size:clamp(22px,2.4vw,30px);
  line-height:1.08;
  text-transform:uppercase;
}
body.pubRefresh .prPage--aboutbanner .aboutHistoryCopy,
body.pubRefresh .prPage--aboutbanner .aboutPartners p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}
body.pubRefresh .prPage--aboutbanner .aboutPartners .btn{margin-top:auto}
body.pubRefresh .prPage--aboutbanner .aboutTimeline{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:20px 0 0;
  padding:0;
  list-style:none;
}
body.pubRefresh .prPage--aboutbanner .aboutTimelineStep{
  position:relative;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-rows:34px auto;
  align-items:center;
  gap:8px 10px;
  min-width:0;
}
body.pubRefresh .prPage--aboutbanner .aboutTimelineMarker{
  position:relative;
  z-index:1;
  display:grid;
  grid-column:1;
  grid-row:1;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid color-mix(in srgb,var(--accent) 36%,var(--line));
  border-radius:50%;
  background:var(--panel);
  color:var(--accent);
  font-family:var(--pr-display);
  font-size:16px;
  font-weight:900;
  line-height:1;
}
body.pubRefresh .prPage--aboutbanner .aboutTimelineLabel{
  grid-column:1/-1;
  grid-row:2;
  color:var(--text);
  font-size:12px;
  font-weight:850;
  line-height:1.45;
}
body.pubRefresh .prPage--aboutbanner .aboutTimelineStep:not(:last-child)::after{
  content:"";
  position:absolute;
  top:16px;
  right:0;
  left:32px;
  height:2px;
  background:color-mix(in srgb,var(--accent) 35%,var(--line));
}
@media(max-width:900px){
  body.pubRefresh .prPage--aboutbanner .aboutStoryGrid{grid-template-columns:minmax(0,1fr)}
  body.pubRefresh .prPage--aboutbanner .aboutMission,
  body.pubRefresh .prPage--aboutbanner .aboutHistory,
  body.pubRefresh .prPage--aboutbanner .aboutPartners{grid-column:1}
  body.pubRefresh .prPage--aboutbanner .aboutTimeline{grid-template-columns:1fr;gap:8px}
  body.pubRefresh .prPage--aboutbanner .aboutTimelineStep{
    grid-template-columns:34px minmax(0,1fr);
    grid-template-rows:34px;
    gap:0 10px;
  }
  body.pubRefresh .prPage--aboutbanner .aboutTimelineLabel{grid-column:2;grid-row:1}
  body.pubRefresh .prPage--aboutbanner .aboutTimelineStep:not(:last-child)::after{
    top:16px;
    right:auto;
    bottom:-25px;
    left:15px;
    width:2px;
    height:auto;
  }
}
@media(max-width:560px){
  body.pubRefresh .prPage--aboutbanner .aboutMission{
    grid-template-columns:minmax(0,1fr);
    padding:22px 20px;
  }
  body.pubRefresh .prPage--aboutbanner .aboutMissionStamp{display:none}
  body.pubRefresh .prPage--aboutbanner .aboutHistory,
  body.pubRefresh .prPage--aboutbanner .aboutPartners{padding:20px}
}
.prPage--storebanner .tierGrid{align-items:stretch}
.prPage--leaderboardsbanner .card{padding:0;overflow:hidden}
.prPage--leaderboardsbanner .card>h3{padding:18px 20px 0}
.prPage--gallerybanner .gallery{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.prPage--gallerybanner .gallery img{border-radius:16px;aspect-ratio:4/3;object-fit:cover}
body.pubRefresh .prPage--gallerybanner .galleryCard{display:grid;align-content:start;overflow:hidden;margin:0;border:1px solid var(--pr-rule);border-radius:18px;background:var(--panel);box-shadow:0 12px 30px rgba(0,0,0,.12)}
body.pubRefresh .prPage--gallerybanner .galleryCard[hidden]{display:none}
body.pubRefresh .prPage--gallerybanner .galleryCard img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:0;border-radius:0;box-shadow:none}
body.pubRefresh .prPage--gallerybanner .galleryCaption{display:grid;align-content:start;gap:8px;padding:14px 16px 16px}
body.pubRefresh .prPage--gallerybanner .galleryCategory{justify-self:start;border:1px solid var(--accent-soft);border-radius:999px;background:var(--accent-soft);padding:4px 9px;color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
body.pubRefresh .prPage--gallerybanner .galleryCaptionText{color:var(--text);font-size:13px;font-weight:650;line-height:1.5}
body.pubRefresh .galleryFilters{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
body.pubRefresh .galleryFilter{min-height:40px}
body.pubRefresh .galleryFilter.is-active{border-color:var(--accent);background:var(--accent);color:#021016}
body.pubRefresh .galleryFilterCount{display:inline-grid;place-items:center;min-width:21px;height:21px;border-radius:999px;background:rgba(2,6,23,.12);padding:0 5px;font-size:11px}
body.pubRefresh .galleryResultCount{margin:10px 0 14px;color:var(--muted);font-size:12px;font-weight:800}
.prPage--eventsbanner .grid .card,.prPage--newsbanner .grid .card{border-top:3px solid var(--accent)}
.prPage--eventsbanner .grid .card:before,.prPage--newsbanner .grid .card:before{display:none}
.prShell .gxLinks{gap:14px}
.prShell .gxLink{border-left:3px solid var(--accent)}

/* Outer docs shells */
body.pubRefresh[data-pub-family="dept-docs"] .departmentDocsIntro.departmentHero{border-radius:24px}
body.pubRefresh[data-pub-family="dept-docs"] .departmentSectionLabel h2{font-family:"Big Shoulders Display",sans-serif;text-transform:uppercase;letter-spacing:.02em;font-size:32px}
body.pubRefresh .rosterSheet{border-left:3px solid var(--accent)}
body.pubRefresh .rosterSheet[open]>summary{background:var(--accent-soft)}
body.pubRefresh .rosterSheet>summary:before{
  content:"›";
  display:inline-grid;
  place-items:center;
  width:22px;
  height:28px;
  flex:none;
  margin-right:0;
  border:0;
  border-radius:0;
  color:var(--accent);
  font-size:30px;
  font-weight:800;
  line-height:1;
  transition:transform .18s ease;
}
body.pubRefresh .rosterSheet[open]>summary:before{content:"›";transform:rotate(90deg)}
body.pubRefresh .rosterSheetHead p{
  color:#c5cfdd;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
}
html[data-theme="light"] body.pubRefresh .rosterSheetHead p{color:#334155}
body.docsMode.pubRefresh .docsDepartmentLibraryHeader h2{font-size:24px}

/* Light theme */
html[data-theme="light"] .prGameHero{background:radial-gradient(ellipse at 90% 10%,color-mix(in srgb,var(--g1) 22%,transparent),transparent 55%),linear-gradient(160deg,color-mix(in srgb,var(--g2) 10%,#f8fafc),#f1f5f9 70%)}
html[data-theme="light"] .prGameHero .prCrumbs a{color:#475569}
html[data-theme="light"] .prGame--minecraft{--g1:#4d7c0f}
html[data-theme="light"] .prGame--gta-roleplay{--g1:#b45309}
html[data-theme="light"] .prGame--fortnite{--g1:#7c3aed}
html:not([data-theme="light"]) .prGame--rdr2{--g1:#f87171}
html[data-theme="light"] .prGame--rdr2{--g1:#b91c1c}
html[data-theme="light"] .prGame .btn.primary{color:#fff}
.prGame--rdr2 .btn.primary{color:#fff}
html:not([data-theme="light"]) .prGame--rdr2 .btn.primary{color:#0b0f19}
html[data-theme="light"] .prStart,html[data-theme="light"] .prGuideStep,html[data-theme="light"] .prPaths a,html[data-theme="light"] .prDeptSwitch a,html[data-theme="light"] .prRelatedCard{background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06)}
html[data-theme="light"] .prSubnav{background:rgba(248,250,252,.9)}

/* Responsive */
@media(max-width:920px){
  .prStart{grid-template-columns:1fr 1fr}.prStart li:nth-child(3){border-left:0}.prStart li:nth-child(n+3){border-top:1px solid var(--line)}
  .prDeptCard,.prDeptCard:nth-child(2),.prDeptCard:nth-child(3){grid-column:span 3}
  .prDeptCard--lead{grid-column:span 6}
  .prJump{justify-content:flex-start}
}
@media(max-width:640px){
  body.pubRefresh .gxPlatformTable{display:none}
  body.pubRefresh .gxPlatformCards{display:grid;grid-template-columns:1fr;gap:10px}
  .prHero,.prGameHero{padding:48px 0 32px}
  .prStart{grid-template-columns:1fr}.prStart li{border-left:0;border-top:1px solid var(--line)}.prStart li:first-child{border-top:0}
  .prFacts{grid-template-columns:1fr}
  .prGuideStep{grid-template-columns:1fr;gap:6px;padding:18px}
  .prGuideNum{font-size:34px}
  .prDeptGrid{grid-template-columns:1fr}
  .prDeptCard,.prDeptCard--lead,.prDeptCard:nth-child(2),.prDeptCard:nth-child(3),.prDeptCard:nth-child(4),.prDeptCard:nth-child(5){grid-column:auto;min-height:300px}
}
@media(prefers-reduced-motion:reduce){.prDeptCard img,.prRelatedCard,.prPaths a{transition:none!important}.prDeptCard:hover img{transform:none}}

/* Public route polish: field-journal editorial system, retaining BCRP's
   strong condensed headings and electric-cyan navigation cues. */
body.pubRefresh{--pr-paper:#111d27;--pr-rule:color-mix(in srgb,var(--accent) 30%,var(--line))}
body.pubRefresh .prHero h1,body.pubRefresh .prGameHero h1,
body.pubRefresh .pageBanner h1{font-family:"Big Shoulders Display",system-ui,sans-serif}
body.pubRefresh .prPage--communities .gxGames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.pubRefresh .prPage--communities .gxGame{min-height:200px;display:flex;flex-direction:column;justify-content:space-between}
body.pubRefresh .prPage--communities .gxGame h3{font-family:var(--pr-display);font-size:27px;text-transform:uppercase}
body.pubRefresh .prGameHero .prFacts{border-color:var(--pr-rule)}
body.pubRefresh .prGame--minecraft .prGameHero{background-image:linear-gradient(90deg,transparent 0 72%,color-mix(in srgb,var(--g1) 9%,transparent) 72%),radial-gradient(ellipse at 90% 10%,color-mix(in srgb,var(--g1) 24%,transparent),transparent 55%),linear-gradient(160deg,color-mix(in srgb,var(--g2) 22%,var(--bg)),var(--bg) 70%)}
body.pubRefresh .prGame--minecraft .prGuideStep{border-radius:3px;background-image:linear-gradient(90deg,color-mix(in srgb,var(--g1) 6%,var(--panel)),var(--panel) 28%)}
body.pubRefresh .prGame--rdr2 .prGameHero{background-image:radial-gradient(ellipse at 84% 15%,color-mix(in srgb,var(--g1) 22%,transparent),transparent 48%),repeating-linear-gradient(176deg,transparent 0 78px,color-mix(in srgb,var(--g1) 5%,transparent) 79px 80px),linear-gradient(160deg,color-mix(in srgb,var(--g2) 25%,var(--bg)),var(--bg) 70%)}
body.pubRefresh .prGame--rdr2 .prGuideStep{border-radius:2px 18px 18px 2px}
body.pubRefresh .prGame--fortnite .prGameHero{background-image:linear-gradient(115deg,transparent 42%,color-mix(in srgb,var(--g1) 8%,transparent) 42% 57%,transparent 57%),radial-gradient(ellipse at 90% 10%,color-mix(in srgb,var(--g1) 24%,transparent),transparent 55%),linear-gradient(160deg,color-mix(in srgb,var(--g2) 22%,var(--bg)),var(--bg) 70%)}
body.pubRefresh .prGame--fortnite .prGuideStep{border-radius:18px 4px 18px 4px}
body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(4),
body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(5){
  border-color:color-mix(in srgb,var(--g1) 42%,var(--line));
  background:linear-gradient(105deg,color-mix(in srgb,var(--g1) 9%,var(--panel)),var(--panel) 44%);
}
body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(4):after,
body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(5):after{
  content:"Connected member system";
  grid-column:2;
  grid-row:2;
  color:var(--muted);
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(4) .btn,
body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(5) .btn{width:max-content}
body.pubRefresh .prPage--communities .gxGames .card{position:relative;border-top:3px solid var(--accent)}
body.pubRefresh .prPage--communities .gxGames .card:before{display:none}
body.pubRefresh .prDept--law-enforcement{--dept-accent:#61b9d8}
body.pubRefresh .prDept--fire-rescue{--dept-accent:#e27667}
body.pubRefresh .prDept--civilian-operations{--dept-accent:#d8ad62}
body.pubRefresh .prDept--communications{--dept-accent:#73bca8}
body.pubRefresh .prDept .prJump a:hover,
body.pubRefresh .prDept .prDiv:target{border-color:var(--dept-accent,var(--accent))}
body.pubRefresh .prDept .prDivNum{color:var(--dept-accent,var(--accent))}
body.pubRefresh .prDept .prJoin{border-left-color:var(--dept-accent,var(--accent))}

/* Home entry paths / active content are visually distinct without introducing
   new event or announcement records. */
body.pubRefresh[data-pub-family="home"] .cineJoin{position:relative}
body.pubRefresh[data-pub-family="home"] .cineJoin .stepRow{align-items:stretch}
body.pubRefresh[data-pub-family="home"] .cineJoin .stepCard{min-height:150px}
body.pubRefresh[data-pub-family="home"] .cineJoin .stepCard:first-child{border-top:3px solid var(--accent)}
body.pubRefresh[data-pub-family="home"] .cineJoin .stepCard:last-child{background:color-mix(in srgb,var(--accent) 8%,var(--panel))}
body.pubRefresh[data-pub-family="home"] .cineEcosystem{border-block:1px solid var(--pr-rule)}
body.pubRefresh[data-pub-family="home"] .cineEcosystem .card{border-radius:4px 18px 18px 4px}
body.pubRefresh[data-pub-family="home"] .gxFeaturedAnnouncement{border-left:4px solid var(--accent);background:linear-gradient(110deg,var(--accent-soft),var(--panel) 58%)}
body.pubRefresh[data-pub-family="home"] .gxFeaturedAnnouncement h2{font-size:clamp(24px,3vw,38px)}
body.pubRefresh[data-pub-family="home"] .homeEntryPaths{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}
body.pubRefresh[data-pub-family="home"] .homeEntryPath{padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
body.pubRefresh[data-pub-family="home"] .homeEntryPath--visitor{border-top:3px solid var(--accent)}
body.pubRefresh[data-pub-family="home"] .homeEntryPath--member{border-top:3px solid color-mix(in srgb,var(--accent) 45%,#d7a75f)}
body.pubRefresh[data-pub-family="home"] .homeEntryPath h3{margin:8px 0;font-family:var(--pr-display);font-size:25px;text-transform:uppercase}
body.pubRefresh[data-pub-family="home"] .homeEntryPath p{margin:0;color:var(--muted)}
body.pubRefresh .prDeptResources{padding-top:30px}
body.pubRefresh .prDeptResources .prPaths a{min-height:98px}
body.pubRefresh .prDeptResources .prPaths a span{overflow-wrap:anywhere}
body.pubRefresh .gxSpotlightWhen{margin-top:4px}

/* Department profile: mission and coverage take precedence; programs remain
   individually discoverable and links retain their original destinations. */
body.pubRefresh .prDept .prBanner .lead{max-width:76ch}
body.pubRefresh .prDept .prDivGrid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}
body.pubRefresh .prDept .prJoin{background:linear-gradient(110deg,var(--accent-soft),var(--panel) 65%)}
body.pubRefresh .prDeptSwitch a{min-height:60px}
body.pubRefresh .prDept .prDiv{min-height:0;align-self:flex-start}
body.pubRefresh .prDept .prDivBody{gap:9px;flex:none}
body.pubRefresh .prDeptGrid .prDeptCard:nth-child(4),
body.pubRefresh .prDeptGrid .prDeptCard:nth-child(5){min-height:315px}
body.pubRefresh[data-pub-family="departments"] .prPaths a{border-left-width:4px}

/* Applications, event/news scanning, resources, businesses and store. */
body.pubRefresh .applicationPathGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--pr-collection-gap)}
body.pubRefresh .applicationPath{
  --application-accent:#38bdf8;
  --application-tint:rgba(56,189,248,.10);
  display:flex;
  min-height:320px;
  flex-direction:column;
  align-items:stretch;
  padding:22px;
  border:1px solid var(--line);
  border-top:4px solid var(--application-accent);
  border-radius:16px;
  background:linear-gradient(150deg,var(--application-tint),var(--panel) 58%);
  box-shadow:0 12px 30px rgba(0,0,0,.07);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.pubRefresh .applicationPath:hover{transform:translateY(-3px);border-color:var(--application-accent);box-shadow:0 18px 38px rgba(0,0,0,.12)}
body.pubRefresh .applicationPath--staff{--application-accent:#a78bfa;--application-tint:rgba(167,139,250,.12)}
body.pubRefresh .applicationPath--law-enforcement{--application-accent:#38bdf8;--application-tint:rgba(56,189,248,.11)}
body.pubRefresh .applicationPath--fire-ems{--application-accent:#fb7185;--application-tint:rgba(251,113,133,.11)}
body.pubRefresh .applicationPath--civilian{--application-accent:#4ade80;--application-tint:rgba(74,222,128,.10)}
body.pubRefresh .applicationPath--business{--application-accent:#fbbf24;--application-tint:rgba(251,191,36,.11)}
body.pubRefresh .applicationPath--partnerships{--application-accent:#c084fc;--application-tint:rgba(192,132,252,.11)}
body.pubRefresh .applicationPathHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
body.pubRefresh .applicationPathCategory{color:var(--application-accent);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
body.pubRefresh .applicationPathNumber{color:var(--application-accent);font-family:var(--pr-display);font-size:23px;line-height:1}
body.pubRefresh .applicationPath h3{margin:0 0 9px;font-family:var(--pr-display);font-size:26px;line-height:1.08}
body.pubRefresh .applicationPath>p{margin:0;color:var(--muted);line-height:1.55}
body.pubRefresh .applicationPathNext{margin-top:auto;padding:15px 0 13px;border-top:1px solid var(--line)}
body.pubRefresh .applicationPathNext>span{color:var(--application-accent);font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
body.pubRefresh .applicationPathNext p{margin:5px 0 0;color:var(--text);font-size:13px;line-height:1.5}
body.pubRefresh .applicationPathAction{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:3px;padding:10px 13px;border-color:transparent;background:var(--application-accent);color:#07111f;font-weight:900}
body.pubRefresh .applicationPathAction:hover{filter:brightness(1.06);transform:translateY(-1px)}
body.pubRefresh .applicationPathAction:focus-visible{outline:3px solid var(--text);outline-offset:3px}
body.pubRefresh .prPage--applications .stepRow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--pr-collection-gap)}
body.pubRefresh .prPage--applications .stepCard{padding:18px;border:1px solid var(--line);border-top:2px solid var(--accent);border-radius:14px;background:var(--panel)}
body.pubRefresh .prPage--eventsbanner .gxEventViews{display:flex;gap:7px}
body.pubRefresh .prPage--eventsbanner .gxEventView[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#09131b}
body.pubRefresh .gxEventCollection[data-view="calendar"]{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
body.pubRefresh .gxEventCollection[data-view="calendar"] .gxEventCard{min-height:190px;padding-top:52px}
body.pubRefresh .gxEventCollection[data-view="calendar"] .gxEventWhen{position:absolute;top:16px;left:18px}
body.pubRefresh .prPage--newsbanner .grid .card{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;min-height:150px}
body.pubRefresh .prPage--newsbanner .grid .card h3{font-family:var(--pr-display);font-size:24px}
body.pubRefresh .prPage--supportbanner .faqItem{
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
body.pubRefresh .prPage--supportbanner .faqItem:hover,
body.pubRefresh .prPage--supportbanner .faqItem[open]{
  border-color:color-mix(in srgb,var(--accent) 55%,var(--line));
  background:color-mix(in srgb,var(--accent) 4%,var(--panel));
}
body.pubRefresh .prPage--supportbanner .faqItem[open]{box-shadow:0 10px 24px rgba(15,23,42,.06)}
body.pubRefresh .prPage--supportbanner .faqItem>summary{
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 2px;
  list-style:none;
  color:var(--text);
  font-size:15px;
  font-weight:800;
  line-height:1.45;
  transition:color .18s ease;
}
body.pubRefresh .prPage--supportbanner .faqItem>summary::marker{content:""}
body.pubRefresh .prPage--supportbanner .faqItem>summary::-webkit-details-marker{display:none}
body.pubRefresh .prPage--supportbanner .faqItem>summary::before{
  content:"›";
  flex:0 0 30px;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid color-mix(in srgb,var(--accent) 38%,var(--line));
  border-radius:50%;
  background:color-mix(in srgb,var(--accent) 8%,var(--panel));
  color:var(--accent);
  font-size:22px;
  line-height:1;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
body.pubRefresh .prPage--supportbanner .faqItem>summary:hover,
body.pubRefresh .prPage--supportbanner .faqItem[open]>summary{color:var(--accent)}
body.pubRefresh .prPage--supportbanner .faqItem[open]>summary::before{
  transform:rotate(90deg);
  border-color:var(--accent);
  background:var(--accent);
  color:#021016;
}
body.pubRefresh .prPage--supportbanner .faqItem>summary:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:3px;
  border-radius:10px;
}
body.pubRefresh .prPage--resources .gxLinks{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
body.pubRefresh .prPage--resources .gxLink{
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:5px;
  min-height:118px;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
body.pubRefresh .prPage--resources .gxLink:hover,
body.pubRefresh .prPage--resources .gxLink:focus-visible{
  transform:translateY(-3px);
  border-color:var(--accent);
  background:color-mix(in srgb,var(--accent) 5%,var(--panel));
  box-shadow:0 14px 32px var(--accent-soft);
}
body.pubRefresh .prPage--resources .gxLink:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:4px;
}
body.pubRefresh .prPage--resources .gxLink em{
  display:inline-flex;
  justify-self:start;
  align-items:center;
  gap:8px;
  margin-top:10px;
  padding:6px 11px;
  border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));
  border-radius:999px;
  background:color-mix(in srgb,var(--accent) 8%,var(--panel));
  color:var(--accent);
  font-size:11px;
  font-style:normal;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.pubRefresh .prPage--resources .gxLink em::after{
  content:"→";
  font-size:16px;
  line-height:.8;
  transition:transform .18s ease;
}
body.pubRefresh .prPage--resources .gxLink:hover em::after,
body.pubRefresh .prPage--resources .gxLink:focus-visible em::after{transform:translateX(3px)}
body.pubRefresh .prPage--resources .prResourceJump{display:flex;flex-wrap:wrap;gap:9px}
body.pubRefresh .prPage--resources .prResourceJump .btn{border-left:3px solid var(--accent)}
body.pubRefresh .prPage--resources .prResourceGroup{scroll-margin-top:calc(var(--pub-nav-height,74px) + 18px)}
body.pubRefresh .prPage--resources .prResourceGroup .sectionHead .lead{max-width:54ch}
body.pubRefresh .prPage--resources .prResourceGroup--pair .gxLinks{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:620px){body.pubRefresh .prPage--resources .prResourceGroup--pair .gxLinks{grid-template-columns:1fr}}
body.pubRefresh .prPage--civbusiness .grid.wide>.card{min-height:185px;display:flex;flex-direction:column;align-items:flex-start}
body.pubRefresh .prPage--civbusiness .grid.wide>.card .btn{margin-top:auto}
body.pubRefresh .prPage--storebanner .grid.wide>.card{display:flex;flex-direction:column;align-items:flex-start;min-height:220px}
body.pubRefresh .prPage--storebanner .grid.wide>.card .btn{margin-top:auto}
body.pubRefresh .prStoreCard--membership{--store-accent:#0e7490}
body.pubRefresh .prStoreCard--merchandise{--store-accent:#6d28d9}
body.pubRefresh .prStoreCard--marketplace{--store-accent:#b45309}
html:not([data-theme="light"]) body.pubRefresh .prStoreCard--membership{--store-accent:#67e8f9}
html:not([data-theme="light"]) body.pubRefresh .prStoreCard--merchandise{--store-accent:#c4b5fd}
html:not([data-theme="light"]) body.pubRefresh .prStoreCard--marketplace{--store-accent:#fbbf24}
body.pubRefresh .prPage--storebanner .prStoreCard{
  border-color:color-mix(in srgb,var(--store-accent) 24%,var(--line));
  background:linear-gradient(155deg,color-mix(in srgb,var(--store-accent) 5%,var(--panel)),var(--panel) 48%);
}
body.pubRefresh .prPage--storebanner .prStoreCard:before{
  height:4px;
  background:linear-gradient(90deg,var(--store-accent),color-mix(in srgb,var(--store-accent) 18%,transparent));
  opacity:1;
}
body.pubRefresh .prStoreCategoryHeader{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:var(--store-accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.pubRefresh .prStoreIcon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid color-mix(in srgb,var(--store-accent) 32%,var(--line));
  border-radius:13px;
  background:color-mix(in srgb,var(--store-accent) 11%,var(--panel));
  font-size:22px;
  letter-spacing:0;
}
body.pubRefresh .prPage--storebanner .prStoreCard h3{margin:0 0 8px}
body.pubRefresh .prPage--storebanner .prStoreCard p{margin:0 0 14px}
body.pubRefresh .prPage--gallerybanner .gallery img{cursor:zoom-in;border:1px solid var(--pr-rule);box-shadow:0 12px 30px rgba(0,0,0,.18)}
body.pubRefresh .prPage--gallerybanner .gallery img:focus-visible{outline-offset:4px}
.cwOverlay{grid-template-columns:auto minmax(0,1fr) auto;gap:14px}
.cwOverlay figure{display:grid;gap:8px;margin:0;text-align:center}
.cwOverlay figcaption{color:#e2e8f0;font-size:13px}
.cwOverlay .cwClose{z-index:2;width:44px;height:44px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(2,6,23,.72);font-size:28px}
.cwOverlay .cwPrev,.cwOverlay .cwNext{min-height:44px;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(2,6,23,.72);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.cwOverlay .cwPrev:hover,.cwOverlay .cwNext:hover,.cwOverlay .cwClose:hover{border-color:var(--accent);background:var(--accent-soft)}
html[data-theme="light"] body.pubRefresh .prGame .prGuideStep,
html[data-theme="light"] body.pubRefresh .gxEventCollection .card{background-color:#fff}
@media(max-width:980px){
  body.pubRefresh .applicationPathGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body.pubRefresh[data-pub-family="home"] .homeEntryPaths{grid-template-columns:1fr}
  body.pubRefresh .prPage--communities .gxGames{grid-template-columns:1fr}
  body.pubRefresh .applicationPathGrid{grid-template-columns:1fr}
  body.pubRefresh .prPage--applications .stepRow{grid-template-columns:1fr}
  body.pubRefresh .prPage--eventsbanner .sectionHead{align-items:flex-start}
  body.pubRefresh .prPage--eventsbanner .gxEventViews{width:100%}
  body.pubRefresh .prPage--eventsbanner .gxEventView{flex:1}
  body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(4):after,
  body.pubRefresh .prGame--gta-roleplay .prGuideStep:nth-child(5):after{grid-column:1}
  .cwOverlay{grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr) auto;padding:12px}
  .cwOverlay .cwClose{position:fixed;top:12px;right:12px}
  .cwOverlay figure{grid-column:1/-1;grid-row:2}
  .cwOverlay .cwPrev,.cwOverlay .cwNext{grid-row:3}
  .cwOverlay img{display:block;max-width:100%;max-height:min(72vh,calc(100vh - 150px));object-fit:contain}
}

/* Global browse menu: added without replacing Studio-configured navigation. */
#mainNav .navBrowseGroup{position:relative}
#mainNav .navBrowseTrigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font:inherit;font-size:13px;font-weight:850;cursor:pointer}
html[data-theme="light"] #mainNav .navBrowseTrigger{background:#fff;color:#0f172a;border-color:rgba(15,23,42,.14)}
#mainNav .navBrowseTrigger:hover,#mainNav .navBrowseTrigger[aria-expanded="true"]{border-color:var(--accent);background:var(--accent-soft)}
.navDrop.navBrowsePanel{top:calc(100% + 8px);left:50%;width:min(1040px,calc(100vw - 28px));transform:translateX(-50%);grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:16px;max-height:min(72vh,620px);overflow:auto}
.navBrowseGroup:not(.open) .navBrowsePanel{display:none}
.navBrowseGroup.open .navBrowsePanel{display:grid}
.navBrowseColumn{min-width:0}
.navBrowseColumn h2{margin:2px 0 8px;padding:0 10px;color:var(--accent);font-size:11px;font-weight:950;letter-spacing:.13em;text-transform:uppercase}
.navDrop .navBrowseColumn a{padding:8px 10px;border-radius:9px;font-size:13px;line-height:1.35}
.navDrop .navBrowseColumn a:hover,.navDrop .navBrowseColumn a[aria-current="page"]{background:var(--accent-soft);color:var(--text)}
@media(max-width:1280px){
  #mainNav .navBrowseGroup{position:static}
  #mainNav .navBrowseTrigger{width:100%;justify-content:space-between;border-radius:12px}
  .navDrop.navBrowsePanel{position:static;left:auto;width:100%;transform:none;grid-template-columns:1fr;gap:8px;margin-top:6px;max-height:min(55vh,420px);padding:10px}
}

/* Keep the public navigation in one desktop row; use a floating menu below tablet width. */
@media(min-width:1281px){
  body.pubRefresh .nav .wrap{flex-wrap:nowrap;gap:10px}
  body.pubRefresh .nav .brand{flex:none;white-space:nowrap}
  body.pubRefresh #mainNav.links{
    display:flex;
    flex:1 1 auto;
    flex-wrap:nowrap;
    justify-content:flex-start;
    gap:8px;
    width:auto;
    min-width:0;
    padding:0;
  }
  body.pubRefresh #mainNav>.navGroup,
  body.pubRefresh #mainNav>.navBrowseGroup{flex:0 1 auto;min-width:0}
  body.pubRefresh #mainNav>a,
  body.pubRefresh #mainNav .navGroup>a,
  body.pubRefresh #mainNav .navBrowseTrigger{
    min-width:0;
    padding:8px 11px;
    font-size:12.5px;
    white-space:nowrap;
  }
  body.pubRefresh #mainNav .navBrowseTrigger{min-height:36px}
}

@media(max-width:1280px){
  body.pubRefresh .nav .wrap{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) 38px 38px;
    grid-template-areas:"brand theme menu" "auth auth auth";
    gap:10px 8px;
  }
  body.pubRefresh .nav .brand{grid-area:brand;min-width:0}
  body.pubRefresh .nav #themeToggle{grid-area:theme;justify-self:end;margin:0}
  body.pubRefresh .nav #navBurger{
    display:grid;
    grid-area:menu;
    place-items:center;
    order:initial;
    justify-self:end;
    margin:0;
  }
  body.pubRefresh .nav #navBurger[aria-expanded="true"]{
    border-color:var(--accent);
    color:var(--accent);
    background:var(--accent-soft);
  }
  body.pubRefresh .nav #bcrp-auth-slot{grid-area:auth;justify-self:start;min-width:0}
  body.pubRefresh #mainNav.links{
    position:absolute;
    top:calc(100% + 8px);
    right:12px;
    left:12px;
    z-index:60;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    width:auto;
    max-height:calc(100dvh - 130px);
    overflow:auto;
    padding:10px;
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--panel);
    box-shadow:0 20px 48px rgba(0,0,0,.38);
    backdrop-filter:blur(18px);
  }
  body.pubRefresh #mainNav.links.open{display:flex}
  body.pubRefresh #mainNav.links>a,
  body.pubRefresh #mainNav .navGroup>a,
  body.pubRefresh #mainNav .navBrowseTrigger{
    width:100%;
    min-height:42px;
    justify-content:flex-start;
    padding:9px 12px;
    border-radius:10px;
    font-size:13px;
    text-align:left;
  }
}

@media(min-width:641px) and (max-width:873px){
  body.pubRefresh .prGame--gta-roleplay .prSubnav .wrap{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
  }
  body.pubRefresh .prGame--gta-roleplay .prSubnav nav{min-width:0;scrollbar-width:thin}
  body.pubRefresh .prGame--gta-roleplay .prSubnav nav::-webkit-scrollbar{display:block;height:3px}
  body.pubRefresh .prGame--gta-roleplay .prSubnav nav::-webkit-scrollbar-thumb{border-radius:3px;background:var(--g1)}
  body.pubRefresh .prGame--gta-roleplay .prSubnav nav::-webkit-scrollbar-track{background:color-mix(in srgb,var(--g1) 12%,var(--bg))}
  body.pubRefresh .prGame--gta-roleplay .prSubnav .wrap:after{
    content:"Swipe →";
    justify-self:end;
    padding:4px 7px;
    border:1px solid var(--g1);
    border-radius:999px;
    color:var(--g1);
    background:color-mix(in srgb,var(--g1) 12%,var(--bg));
    font-size:9px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
    white-space:nowrap;
  }
}

/* Keep the authenticated status beside the controls on wide tablets and
   smaller laptops; narrower phones retain the dedicated second row. */
@media(min-width:900px) and (max-width:1280px){
  body.pubRefresh .nav .wrap{
    grid-template-columns:minmax(0,1fr) auto 38px 38px;
    grid-template-areas:"brand auth theme menu";
    gap:8px;
  }
  body.pubRefresh .nav #bcrp-auth-slot{
    justify-self:end;
    max-width:min(360px,32vw);
    min-width:0;
  }
}

/* BCRP public-site refresh v3 — keep the editorial language coherent without
   flattening the different communities into one template. */
body.pubRefresh[data-pub-family="home"]{
  --home-ink:#101c28;
  --home-paper:#182a37;
}
body.pubRefresh[data-pub-family="home"] #app main.page.active>section.section{
  position:relative;
  isolation:isolate;
  padding-block:var(--pr-section-space);
  border-top:1px solid color-mix(in srgb,var(--accent) 15%,var(--line));
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 44%,transparent),transparent 70%);
}
body.pubRefresh[data-pub-family="home"] #app main.page.active>section.section:nth-of-type(even){
  background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 5%,var(--bg)),transparent 62%);
}
body.pubRefresh[data-pub-family="home"] #app main.page.active>section.section:before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  left:max(22px,calc((100vw - 1220px)/2 + 22px));
  width:46px;
  height:2px;
  background:var(--accent);
  opacity:.75;
}
body.pubRefresh[data-pub-family="home"] .cineStats+.section{border-top:0}
body.pubRefresh[data-pub-family="home"] .sectionHead{align-items:end}
body.pubRefresh[data-pub-family="home"] .sectionHead h2{
  max-width:17ch;
  font-family:var(--pr-display,"Big Shoulders Display",sans-serif);
  font-size:clamp(34px,4vw,58px);
  line-height:.98;
  letter-spacing:.005em;
  text-transform:uppercase;
}
body.pubRefresh[data-pub-family="home"] .deptCard,
body.pubRefresh[data-pub-family="home"] .stepCard,
body.pubRefresh[data-pub-family="home"] .gxGame,
body.pubRefresh[data-pub-family="home"] .cineCta{
  border-color:color-mix(in srgb,var(--accent) 22%,var(--line));
  box-shadow:0 18px 44px rgba(0,0,0,.14);
}
body.pubRefresh[data-pub-family="home"] .stepCard{
  position:relative;
  border-radius:4px 18px 18px 4px;
  border-left:3px solid var(--accent);
  background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--accent) 5%,var(--panel2)));
}
body.pubRefresh[data-pub-family="home"] .stepCard h3{
  font-family:var(--pr-display,"Big Shoulders Display",sans-serif);
  font-size:24px;
  text-transform:uppercase;
}
body.pubRefresh[data-pub-family="home"] .cineGallery img{
  border:1px solid var(--line);
  border-radius:3px;
}

/* Bring the homepage proof points into view without changing its content. */
body.pubRefresh[data-pub-family="home"] .cineHero{
  min-height:clamp(560px,72vh,680px);
}
body.pubRefresh[data-pub-family="home"] .cineHero .wrap{
  padding-top:48px!important;
  padding-bottom:54px!important;
}
body.pubRefresh[data-pub-family="home"] .cineTitle{
  font-size:clamp(58px,8vw,116px);
}
body.pubRefresh[data-pub-family="home"] .cineLead{
  margin:14px 0 22px;
}
body.pubRefresh[data-pub-family="home"] .cineHero .actions{
  margin-top:20px;
}
body.pubRefresh[data-pub-family="home"] .cineStats .cell{
  padding:16px 12px;
}

/* The Communities page keeps its four-step path while showing game cards
   earlier in the first viewport. */
body.pubRefresh[data-pub-route="/communities"] .prHero{
  padding:32px 0 22px;
}
body.pubRefresh[data-pub-route="/communities"] .prHero h1{
  font-size:clamp(42px,6vw,84px);
  margin:6px 0 10px;
}
body.pubRefresh[data-pub-route="/communities"] .prHero .lead{
  font-size:clamp(16px,1.5vw,19px);
  line-height:1.5;
}
body.pubRefresh[data-pub-route="/communities"] .prHero .actions{
  margin-top:18px;
}
body.pubRefresh[data-pub-route="/communities"] .prStart{
  margin-top:20px;
}
body.pubRefresh[data-pub-route="/communities"] .prStart li{
  padding:12px 16px;
}
body.pubRefresh[data-pub-route="/communities"] #app .prPage--communities>section.section:first-of-type{
  padding-top:40px;
}
@media(max-width:920px){
  body.pubRefresh[data-pub-route="/communities"] .prHero{
    padding:28px 0 20px;
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li{
    padding:11px 14px;
  }
}
@media(max-width:700px){
  body.pubRefresh[data-pub-family="home"] .cineHero{
    min-height:clamp(460px,72vh,590px);
  }
  body.pubRefresh[data-pub-family="home"] .cineHero .wrap{
    padding-top:40px!important;
    padding-bottom:44px!important;
  }
  body.pubRefresh[data-pub-family="home"] .cineTitle{
    font-size:clamp(48px,11vw,74px);
    line-height:.94;
  }
  body.pubRefresh[data-pub-family="home"] .cineLead{
    margin:34px 0 18px;
  }
  body.pubRefresh[data-pub-family="home"] .cineHero .actions{
    margin-top:16px;
  }
  body.pubRefresh[data-pub-family="home"] .cineKicker{
    padding:6px 12px;
    font-size:10px;
    letter-spacing:.16em;
  }
  body.pubRefresh[data-pub-family="home"] .cineLead{
    font-size:15px;
    line-height:1.45;
    margin-left:-14px;
    padding:10px 14px 10px 15px;
    border-radius:0 10px 10px 0;
    background:rgba(2,6,23,.66);
  }
  /* Keep the ambulance and responders in-frame beside the mobile copy. */
  body.pubRefresh[data-pub-family="home"] .cineHero .bg{
    background-position:55% center;
  }
  body.pubRefresh[data-pub-family="home"] .cineHero .cineBtn{
    padding:12px 22px;
    font-size:17px;
  }
  body.pubRefresh[data-pub-family="home"] .cineStats .cell{
    padding:8px 10px;
  }
  body.pubRefresh[data-pub-family="home"] .cineEcosystem .grid.wide{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  body.pubRefresh[data-pub-family="home"] .cineEcosystem .card{
    display:flex;
    min-width:0;
    flex-direction:column;
    padding:14px;
  }
  body.pubRefresh[data-pub-family="home"] .cineEcosystem .card h3{
    margin-bottom:6px;
    font-size:clamp(13px,3.4vw,16px);
    line-height:1.2;
  }
  body.pubRefresh[data-pub-family="home"] .cineEcosystem .card p{
    margin-bottom:12px;
    font-size:12px;
    line-height:1.4;
  }
  body.pubRefresh[data-pub-family="home"] .cineEcosystem .card .btn{
    width:100%;
    min-height:38px;
    margin-top:auto;
    padding:8px 6px;
    font-size:11px;
    line-height:1.2;
    text-align:center;
  }
  body.pubRefresh[data-pub-route="/communities"] .prHero{
    padding:20px 0 14px;
  }
  body.pubRefresh[data-pub-route="/communities"] .prHero h1{
    font-size:clamp(38px,10vw,60px);
    margin:6px 0 8px;
  }
  body.pubRefresh[data-pub-route="/communities"] .prHero .lead{
    font-size:16px;
    line-height:1.45;
  }
  body.pubRefresh[data-pub-route="/communities"] .prHero .actions{
    margin-top:12px;
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart{
    margin-top:10px;
    grid-template-columns:minmax(0,1fr);
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li{
    padding:8px 10px;
    border-left:0;
    border-top:1px solid var(--line);
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li:first-child{
    border-top:0;
  }
  body.pubRefresh[data-pub-route="/communities"] #app .prPage--communities>section.section:first-of-type{
    padding-top:16px;
  }
  body.pubRefresh[data-pub-route="/communities"] #app .prPage--communities>section.section:first-of-type .sectionHead{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    margin-bottom:10px;
  }
  body.pubRefresh[data-pub-route="/communities"] #app .prPage--communities>section.section:first-of-type .sectionHead h2{
    font-size:26px;
    line-height:1.05;
  }
  body.pubRefresh[data-pub-route="/communities"] #app .prPage--communities>section.section:first-of-type .sectionHead>p{
    margin:0;
    font-size:14px;
    line-height:1.4;
  }
}
@media(max-width:560px){
  body.pubRefresh[data-pub-route="/communities"] .prHero .actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
  }
  body.pubRefresh[data-pub-route="/communities"] .prHero .actions .btn{
    min-width:0;
    padding:10px 8px;
    font-size:12px;
    white-space:nowrap;
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart b{font-size:14px}
  body.pubRefresh[data-pub-route="/communities"] .prStart span{font-size:12px;line-height:1.3}
  body.pubRefresh[data-pub-route="/communities"] .prStart{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:none;
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li{
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    grid-template-rows:auto auto;
    align-content:start;
    align-items:center;
    gap:2px 10px;
    min-width:0;
    padding:12px 14px;
    border-left:0;
    border-top:1px solid var(--line);
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li:first-child{
    border-top:0;
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li b,
  body.pubRefresh[data-pub-route="/communities"] .prStart li span{
    grid-column:2;
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li:before{
    position:relative;
    display:grid;
    place-items:center;
    grid-column:1;
    grid-row:1 / span 2;
    align-self:start;
    justify-self:center;
    width:28px;
    height:28px;
    border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));
    border-radius:50%;
    background:var(--panel);
    color:var(--accent);
    font-size:10px;
    letter-spacing:.04em;
    line-height:1;
  }
  body.pubRefresh[data-pub-route="/communities"] .prStart li:after{
    content:none!important;
    display:none!important;
  }
}

/* The four guides share a field-report structure, while their color, geometry
   and typography cues remain distinct and restrained. */
.prGameHero:after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 0 0 auto;
  width:min(42vw,560px);
  opacity:.24;
  pointer-events:none;
  background:repeating-linear-gradient(135deg,transparent 0 22px,color-mix(in srgb,var(--g1) 17%,transparent) 22px 23px);
  mask-image:linear-gradient(90deg,transparent,#000 55%);
}
.prGame--gta-roleplay .prGameHero:after{background:repeating-linear-gradient(0deg,transparent 0 34px,color-mix(in srgb,var(--g1) 20%,transparent) 34px 35px)}
.prGame--minecraft .prGameHero:after{background:linear-gradient(90deg,transparent 18%,color-mix(in srgb,var(--g1) 16%,transparent) 18% 20%,transparent 20% 40%,color-mix(in srgb,var(--g1) 16%,transparent) 40% 42%,transparent 42%)}
.prGame--rdr2 .prGameHero:after{background:repeating-linear-gradient(165deg,transparent 0 47px,color-mix(in srgb,var(--g1) 20%,transparent) 47px 48px)}
.prGame--fortnite .prGameHero:after{background:repeating-linear-gradient(45deg,transparent 0 31px,color-mix(in srgb,var(--g1) 19%,transparent) 31px 32px)}
.prGame .prGuideStep{border-radius:5px 18px 18px 5px}
.prGame .prGuideStep:target{box-shadow:inset 4px 0 var(--g1)}
.prGame .prSubnav a[aria-current="location"]{color:var(--g1)}

/* Department programs read as a directory, with anchors easy to reach on
   touch screens and descriptive copy kept at comfortable line lengths. */
.prDept--public-safety,.prDept--law-enforcement,.prDept--fire-rescue,
.prDept--civilian-operations,.prDept--communications{--dept-accent:var(--accent)}
.prDept .prJump{max-width:100%;padding:4px 0}
.prDept .prJump a{background:var(--panel);line-height:1.35}
.prDept #programs > .wrap > .sectionHead{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}
.prDept #programs .prJump{
  width:100%;
  max-width:none;
  justify-content:flex-start;
  gap:8px;
  margin:0 0 18px;
  padding:0;
}
.prDept .prDiv{min-height:100%}
.prDept .prDivBody{gap:9px}
.prDept .prDiv p{max-width:62ch;line-height:1.65}
.prDept .prDivNum{display:flex;align-items:center;gap:8px}
.prDept .prDivNum:after{content:"";height:1px;width:30px;background:var(--accent);opacity:.55}
.prDept .prPaths a{min-height:96px;align-content:center}
@media(min-width:641px){
  body.pubRefresh .prDept .prDivGrid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:flex-start;
    gap:18px;
  }
  body.pubRefresh .prDept .prDivGrid>.prDiv{
    flex:1 1 245px;
    min-width:min(100%,245px);
    max-width:calc((100% - 54px)/4);
  }
}
body.pubRefresh[data-pub-route="/businesses"] .grid.wide{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
}
@media(max-width:700px){
  body.pubRefresh[data-pub-route="/businesses"] .grid.wide{
    grid-template-columns:minmax(0,1fr);
  }
}

/* Phone reading: make the controls and article column the primary path,
   preserve the full navigation behind the existing disclosure. */
@media(max-width:700px){
  .docsSopPage .docsArticleLayout{width:100%;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px 12px 30px}
  .docsSopPage .docsArticleHeader.docsSopHero{grid-template-columns:40px minmax(0,1fr);gap:11px;padding:15px}
  .docsSopPage .docsCommunityTitleIcon{width:40px;height:40px}
  .docsSopPage .docsArticleHeader h1{font-size:clamp(26px,8vw,34px)}
  .docsSopPage .docsArticleMeta{flex-wrap:wrap}
  .docsSopPage .docsArticleMeta span{font-size:9px}
  .docsSopPage .docsSopOverviewPanel{padding:14px;margin:10px 0}
  .docsSopPage .docsSopQuickAccess{margin:12px 0 16px}
  .docsSopPage .docsSopQuickHeading{align-items:flex-start;flex-direction:column;gap:3px}
  .docsSopPage .docsSopQuickCards{grid-template-columns:1fr;gap:6px}
  .docsSopPage .docsSopQuickCard{min-height:0;padding:10px 34px 10px 12px}
  .docsSopPage .docsSopTocNav{grid-template-columns:1fr}
  .docsSopPage .docsSopChapter{margin-top:14px;padding:13px 12px 9px;border-radius:11px;scroll-margin-top:74px}
  .docsSopPage .docsSopChapter>h2{align-items:flex-start;font-size:15px}
  .docsSopPage .docsSopChapter>h2 .docsCommunityGroupCount{margin-left:auto;white-space:nowrap}
  .docsSopPage .docsSopContactLadder{grid-template-columns:repeat(2,minmax(0,1fr))}
  .docsSopPage .docsSopContactExampleList{grid-template-columns:1fr}
  .docsSopPage .docsSopSection>summary{padding:11px}
}

/* Public rosters stay semantically tables; the first identity column remains
   pinned while the operational fields scroll horizontally on narrow devices. */
body.pubRefresh .rosterScroll{
  position:relative;
  overscroll-behavior-inline:contain;
  scrollbar-color:var(--accent) color-mix(in srgb,var(--panel) 82%,transparent);
  scrollbar-width:thin;
}
body.pubRefresh .rosterScroll:before{
  content:"Swipe to view all fields";
  position:sticky;
  left:0;
  display:none;
  width:max-content;
  margin:0 0 8px 8px;
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--panel);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
}
body.pubRefresh .rosterTable thead th:first-child,
body.pubRefresh .rosterTable tbody td:first-child{
  position:sticky;
  left:0;
  z-index:2;
  min-width:150px;
  box-shadow:5px 0 12px rgba(0,0,0,.13);
}
body.pubRefresh .rosterTable thead th:first-child{z-index:3}
body.pubRefresh .rosterTable tbody td:first-child{background:#0d1728}
body.pubRefresh .rosterTable tbody tr:nth-child(even) td:first-child{background:#0a1424}
@media(max-width:640px){
  body.pubRefresh .rosterSheet>summary{align-items:flex-start;padding:15px 14px}
  body.pubRefresh .rosterSheetHead{max-width:100%}
  body.pubRefresh .rosterSheetHead h2{font-size:19px}
  body.pubRefresh .rosterSheet>summary .rosterOpenHint{white-space:normal}
  body.pubRefresh .rosterSheetBody{padding:9px}
  body.pubRefresh .rosterSectionBlock>summary{padding:12px}
  body.pubRefresh .rosterScroll{max-width:calc(100vw - 54px)}
  body.pubRefresh .rosterScroll:before{display:block}
  body.pubRefresh .rosterTable{min-width:620px;font-size:12px}
  body.pubRefresh .rosterTable th,body.pubRefresh .rosterTable td{padding:10px 8px}
  body.pubRefresh .rosterTable thead th:first-child,
  body.pubRefresh .rosterTable tbody td:first-child{min-width:132px}
}
html[data-theme="light"] body.pubRefresh .rosterTable tbody td:first-child{background:#fff}
html[data-theme="light"] body.pubRefresh .rosterTable tbody tr:nth-child(even) td:first-child{background:#f8fafc}
body.pubRefresh .rosterIndex{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  max-width:100%;
  margin:0 0 24px;
}
body.pubRefresh .rosterIndex a{
  min-width:0;
  text-align:center;
}
body.pubRefresh .rosterIndex a:last-child:nth-child(4n+1){grid-column:1/-1}
@media(max-width:900px){
  body.pubRefresh .rosterIndex{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.pubRefresh .rosterIndex a:last-child:nth-child(3n+1){grid-column:1/-1}
}
@media(max-width:640px){
  body.pubRefresh .rosterIndex{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.pubRefresh .rosterIndex a:last-child:nth-child(odd){grid-column:1/-1}
}
@media(min-width:1051px){
  body.pubRefresh[data-pub-family="docs"] #bcrpReportBtn,
  body.pubRefresh[data-pub-family="docs"] #bcrpAsstBtn{
    left:16px!important;
    right:auto!important;
  }
  body.pubRefresh[data-pub-family="docs"] #bcrpAsstPanel{
    left:16px!important;
    right:auto!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .prGame .prGuideStep,body.pubRefresh .rosterScroll{scroll-behavior:auto}
}

/* Smaller department program cards keep the imagery and copy while reducing
   the height of each division tile. */
body.pubRefresh[data-pub-family="departments"] .prDivImg{height:112px}
body.pubRefresh[data-pub-family="departments"] .prDivBody{gap:6px;padding:15px}
body.pubRefresh[data-pub-family="departments"] .prDivNum{font-size:10px}
body.pubRefresh[data-pub-family="departments"] .prDiv h3{font-size:18px;line-height:1.22}
body.pubRefresh[data-pub-family="departments"] .prDiv p{margin-bottom:0;font-size:14px;line-height:1.55}
@media(max-width:640px){
  body.pubRefresh[data-pub-family="departments"] .prDivImg{height:126px}
  body.pubRefresh[data-pub-family="departments"] .prDivBody{padding:14px}
}

/* Help GTA V visitors reach the first practical joining step sooner. */
body.pubRefresh .prGame--gta-roleplay .prGameHero{padding:42px 0 24px}
body.pubRefresh .prGame--gta-roleplay .prGameHero h1{
  max-width:14ch;
  margin:8px 0;
  font-size:clamp(50px,7vw,88px);
}
body.pubRefresh .prGame--gta-roleplay .prGameHero .lead{
  max-width:720px;
  font-size:18px;
  line-height:1.5;
}
body.pubRefresh .prGame--gta-roleplay .prGameHero .actions{margin-top:14px}
body.pubRefresh .prGame--gta-roleplay .prFacts{margin-top:18px}
body.pubRefresh .prGame--gta-roleplay .prFacts div{padding:9px 18px 0 0}
body.pubRefresh .prGame--gta-roleplay>section.section:first-of-type{padding-top:var(--pr-section-space)}
body.pubRefresh .prGame--gta-roleplay>section.section:first-of-type .sectionHead{margin-bottom:16px}

/* Make the rules contents readable and expose the active section in both
   desktop and mobile navigation. */
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc{
  padding:12px;
  border:1px solid var(--docs-line);
  border-radius:14px;
  background:var(--docs-surface);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  max-height:calc(100vh - 108px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayToc{display:grid;gap:5px}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocOverview{
  display:block;
  padding:7px 9px;
  border:1px solid var(--docs-line);
  border-radius:7px;
  color:var(--docs-text);
  font-size:10px;
  font-weight:800;
  text-decoration:none;
}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocGroup{
  padding:7px 0;
  border-top:1px solid var(--docs-line);
}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc a.docsRoleplayTocSection{
  display:block;
  padding:4px 2px;
  border:0;
  color:var(--docs-text);
  font-size:10px;
  font-weight:850;
  line-height:1.35;
  text-decoration:none;
}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc a.docsRoleplayTocSection:hover,
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc a.docsRoleplayTocSection:focus-visible{
  background:transparent;
  color:var(--docs-accent);
}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocRules{margin-top:3px}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocRules>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:4px 7px;
  border-radius:6px;
  color:var(--docs-muted);
  font-size:9px;
  font-weight:750;
  cursor:pointer;
  list-style:none;
}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocRules>summary::-webkit-details-marker{display:none}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocRules>summary:after{
  content:"+";
  color:var(--docs-accent);
  font-size:13px;
}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocRules[open]>summary:after{content:"−"}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocCount{
  margin-left:auto;
  color:var(--docs-muted);
  font-size:9px;
  font-variant-numeric:tabular-nums;
}
body.pubRefresh .docsRoleplayRulesPage .docsRoleplayTocRules nav{display:grid;gap:1px;padding:2px 0 0 5px}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc .docsRoleplayTocRules nav a{
  padding:5px 7px;
  border-left-color:transparent;
  font-size:10px;
  line-height:1.4;
}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc h2{
  margin:0 0 10px;
  color:var(--docs-text);
  font-size:11px;
  letter-spacing:.12em;
}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc a{
  padding:7px 9px;
  border-left:2px solid transparent;
  border-radius:0 7px 7px 0;
  font-size:11px;
  line-height:1.45;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc a[data-depth="3"]{padding-left:16px}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc a[data-depth="4"]{padding-left:26px}
body.pubRefresh .docsRoleplayRulesPage .docsArticleToc a[aria-current="location"],
body.pubRefresh .docsRoleplayRulesPage .docsMobileToc a[aria-current="location"]{
  border-left-color:var(--docs-accent);
  background:rgba(var(--docs-accent-rgb),.11);
  color:var(--docs-text);
  font-weight:850;
}
@media(max-width:1050px){
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.07);
  }
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc>summary{
    padding:11px 13px;
    color:var(--docs-text);
    font-size:12px;
    font-weight:850;
    list-style:none;
  }
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc>summary::-webkit-details-marker{display:none}
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc>summary:after{
    content:"+";
    float:right;
    color:var(--docs-accent);
    font-size:16px;
    line-height:1;
  }
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc[open]>summary:after{content:"−"}
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc nav{
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:4px;
    padding:0 10px 11px;
  }
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc a{
    padding:8px 9px;
    border-left:2px solid transparent;
    border-radius:0 7px 7px 0;
    color:var(--docs-muted);
    font-size:12px;
    line-height:1.4;
    text-decoration:none;
  }
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc a[data-depth="3"]{padding-left:16px}
  body.pubRefresh .docsRoleplayRulesPage .docsMobileToc a[data-depth="4"]{padding-left:26px}
}
@media(max-width:640px){
  body.pubRefresh .prGame--gta-roleplay .prGameHero{padding:26px 0 18px}
  body.pubRefresh .prGame--gta-roleplay .prGameHero h1{
    margin:6px 0 8px;
    font-size:clamp(42px,10vw,64px);
  }
  body.pubRefresh .prGame--gta-roleplay .prGameHero .lead{
    font-size:15px;
    line-height:1.45;
  }
  body.pubRefresh .prGame--gta-roleplay .prGameHero .actions{margin-top:12px;gap:8px}
  body.pubRefresh .prGame--gta-roleplay .prFacts{margin-top:14px}
  body.pubRefresh .prGame--gta-roleplay .prFacts div{padding:6px 0}
  body.pubRefresh .prGame--gta-roleplay .prFacts dt{font-size:10px}
  body.pubRefresh .prGame--gta-roleplay .prFacts dd{margin-top:2px;font-size:13px}
  body.pubRefresh .prGame--gta-roleplay .prSubnav nav{padding:4px 0}
  body.pubRefresh .prGame--gta-roleplay .prSubnav a{padding:7px 9px;font-size:12px}
  body.pubRefresh .prGame--gta-roleplay>section.section:first-of-type{padding-top:22px}
  body.pubRefresh .prGame--gta-roleplay>section.section:first-of-type .sectionHead{margin-bottom:12px}
}
@media(max-width:640px){
  body.pubRefresh .prGame--gta-roleplay .prGameHero .actions{flex-wrap:nowrap}
  body.pubRefresh .prGame--gta-roleplay .prGameHero .actions .btn{
    flex:1 1 0;
    min-width:0;
    padding:10px 8px;
    font-size:13px;
    white-space:nowrap;
  }
  body.pubRefresh .prGame--gta-roleplay .prFacts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
  body.pubRefresh .prGame--gta-roleplay .prFacts div:last-child{grid-column:1/-1}
  body.pubRefresh .prGame--gta-roleplay>section.section:first-of-type .sectionHead{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    margin-bottom:10px;
    padding-bottom:8px;
  }
  body.pubRefresh .prGame--gta-roleplay>section.section:first-of-type .sectionHead h2{
    margin:2px 0 0;
    font-size:28px;
    line-height:1;
  }
  body.pubRefresh .prGame--gta-roleplay>section.section:first-of-type .sectionHead>p{
    margin:0;
    font-size:13px;
    line-height:1.35;
  }
  body.pubRefresh .prGame--gta-roleplay .prGuideStep:first-child{
    grid-template-columns:42px minmax(0,1fr);
    gap:12px;
    padding:14px;
  }
  body.pubRefresh .prGame--gta-roleplay .prGuideStep:first-child h3{font-size:18px}
  body.pubRefresh .prGame--gta-roleplay .prGuideStep:first-child p{margin-bottom:10px;font-size:13px;line-height:1.5}
}

/* Keep department jump links fully visible on phones instead of clipping them
   inside a hidden-scrollbar strip. The two-row height is included in anchor offsets. */
@media(max-width:640px){
  body.pubRefresh .prDept .prSubnav nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px 8px;
    overflow:visible;
    padding:8px 0;
  }
  body.pubRefresh .prDept .prSubnav a{
    min-width:0;
    padding:7px 8px;
    text-align:center;
    white-space:normal;
    line-height:1.25;
  }
  body.pubRefresh .prDept [id]{
    scroll-margin-top:calc(var(--pub-nav-height,74px) + 96px);
  }
}

/* Keep the department's program index to one swipeable row on phones, so the
   first program card appears without several rows of anchor chips above it. */
@media(max-width:640px){
  body.pubRefresh .prDept #programs > .wrap > .sectionHead{
    gap:6px;
    margin-bottom:12px;
    padding-bottom:10px;
  }
  body.pubRefresh .prDept #programs .prJump{
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    scrollbar-color:var(--dept-accent) color-mix(in srgb,var(--panel) 82%,transparent);
    gap:6px;
    margin:0 0 4px;
    padding:2px 0 8px;
  }
  body.pubRefresh .prDept #programs .prJump::-webkit-scrollbar{display:block;height:3px}
  body.pubRefresh .prDept #programs .prJump::-webkit-scrollbar-thumb{border-radius:3px;background:var(--dept-accent)}
  body.pubRefresh .prDept #programs .prJump a{
    display:inline-flex;
    flex:0 0 auto;
    min-height:38px;
    align-items:center;
    scroll-snap-align:start;
    white-space:nowrap;
  }
}

/* Give the Communities intro a quiet four-game marker to balance the open
   right side without adding another photo or competing with the page copy. */
body.pubRefresh[data-pub-route="/communities"] .prHero{
  isolation:isolate;
}
body.pubRefresh[data-pub-route="/communities"] .prHero:after{
  content:"04";
  position:absolute;
  z-index:-1;
  top:50%;
  right:clamp(28px,7vw,110px);
  transform:translateY(-50%);
  color:transparent;
  -webkit-text-stroke:2px color-mix(in srgb,var(--accent) 36%,transparent);
  font-family:var(--pr-display);
  font-size:clamp(190px,25vw,330px);
  font-weight:900;
  letter-spacing:-.08em;
  line-height:.75;
  opacity:.32;
  pointer-events:none;
}

/* Keep the GTA watermark behind the facts row rather than competing with it. */
body.pubRefresh .prGame--gta-roleplay .prGameArt{
  right:-7vw;
  bottom:-6vw;
}
body.pubRefresh .prGame--gta-roleplay .prGameArt span{
  font-size:clamp(140px,22vw,300px);
  opacity:.28;
  -webkit-text-stroke:1.5px color-mix(in srgb,var(--g1) 36%,transparent);
}

/* Communities, game and department pages now share the same content handoff. */
body.pubRefresh .prPage--communities>section.section:first-of-type,
body.pubRefresh .prGame>section.section:first-of-type,
body.pubRefresh .prDept>section.section:first-of-type{
  padding-top:40px;
}
@media(max-width:700px){
  body.pubRefresh[data-pub-route="/communities"] .prHero:after{
    display:none;
  }
  body.pubRefresh .prPage--communities>section.section:first-of-type,
  body.pubRefresh .prGame>section.section:first-of-type,
  body.pubRefresh .prDept>section.section:first-of-type{
    padding-top:24px;
  }
}
@media(max-width:640px){
  body.pubRefresh .prGame--gta-roleplay .prGameArt{
    right:-12vw;
    bottom:-3vw;
  }
  body.pubRefresh .prGame--gta-roleplay .prGameArt span{
    font-size:clamp(100px,44vw,180px);
    opacity:.16;
  }
}

/* Keep Minecraft and Red Dead monograms inside the hero and behind its title. */
body.pubRefresh .prGame--minecraft .prGameArt{
  right:clamp(24px,7vw,100px);
  bottom:clamp(16px,3vw,44px);
}
body.pubRefresh .prGame--minecraft .prGameArt span{
  font-size:clamp(112px,19vw,250px);
  opacity:.22;
  -webkit-text-stroke:1.5px color-mix(in srgb,var(--g1) 36%,transparent);
}
body.pubRefresh .prGame--rdr2 .prGameArt{
  right:clamp(24px,6vw,88px);
  bottom:clamp(16px,3vw,40px);
}
body.pubRefresh .prGame--rdr2 .prGameArt span{
  font-size:clamp(96px,14vw,200px);
  opacity:.16;
  -webkit-text-stroke:1.25px color-mix(in srgb,var(--g1) 34%,transparent);
}
body.pubRefresh .prGame--rdr2 .prGameHero h1{
  max-width:11ch;
  font-size:clamp(38px,6.4vw,84px);
  line-height:.92;
}
body.pubRefresh .prSeasonalAvailability{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:10px 12px;
  max-width:880px;
  margin:18px 0 0;
  padding:12px 14px;
  border:1px solid color-mix(in srgb,var(--g1) 36%,var(--line));
  border-left:4px solid var(--g1);
  border-radius:14px;
  background:linear-gradient(110deg,color-mix(in srgb,var(--g1) 10%,var(--panel)),var(--panel) 68%);
}
body.pubRefresh .prSeasonalAvailabilityIcon{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:11px;
  background:color-mix(in srgb,var(--g1) 14%,transparent);
  color:var(--g1);
  font-size:19px;
  line-height:1;
}
body.pubRefresh .prSeasonalAvailabilityCopy strong{
  display:block;
  color:var(--text);
  font-size:14px;
  line-height:1.25;
}
body.pubRefresh .prSeasonalAvailabilityCopy p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
body.pubRefresh .prSeasonalAvailabilityLink{
  display:inline-flex;
  align-items:center;
  justify-self:end;
  gap:7px;
  min-height:38px;
  padding:8px 12px;
  border:1px solid color-mix(in srgb,var(--g1) 42%,var(--line));
  border-radius:999px;
  background:color-mix(in srgb,var(--g1) 7%,transparent);
  color:var(--g1);
  font-size:12px;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}
body.pubRefresh .prSeasonalAvailabilityLink:hover{
  background:color-mix(in srgb,var(--g1) 15%,transparent);
}
@media(max-width:640px){
  body.pubRefresh .prGame--minecraft .prGameArt{
    right:20px;
    bottom:12px;
  }
  body.pubRefresh .prGame--minecraft .prGameArt span{
    font-size:clamp(96px,28vw,160px);
    opacity:.14;
  }
  body.pubRefresh .prGame--rdr2 .prGameArt{
    right:20px;
    bottom:12px;
  }
  body.pubRefresh .prGame--rdr2 .prGameArt span{
    font-size:clamp(80px,22vw,132px);
    opacity:.12;
  }
  body.pubRefresh .prGame--rdr2 .prGameHero h1{
    font-size:clamp(36px,8.7vw,48px);
  }
  body.pubRefresh .prSeasonalAvailability{
    grid-template-columns:34px minmax(0,1fr);
    gap:9px 10px;
    margin-top:14px;
    padding:11px;
  }
  body.pubRefresh .prSeasonalAvailabilityIcon{
    width:32px;
    height:32px;
  }
  body.pubRefresh .prSeasonalAvailabilityLink{
    grid-column:2;
    justify-self:start;
  }
}

@media(max-width:640px){
  body.pubRefresh .prGame .prSubnav .wrap{
    display:block;
  }
  body.pubRefresh .prGame .prSubnav nav{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
    overflow:visible;
    padding:8px 0;
  }
  body.pubRefresh .prGame .prSubnav a{
    display:flex;
    min-width:0;
    min-height:38px;
    align-items:center;
    justify-content:center;
    padding:7px 5px;
    text-align:center;
    white-space:normal;
    line-height:1.2;
  }
  body.pubRefresh .prGame .prSubnav .wrap:after{display:none}
  body.pubRefresh .prGame [id]{
    scroll-margin-top:calc(var(--pub-nav-height,74px) + 180px);
  }
}
@media(max-width:380px){
  body.pubRefresh .prGame .prSubnav nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.pubRefresh .prGame [id]{
    scroll-margin-top:calc(var(--pub-nav-height,74px) + 220px);
  }
}

/* Keep off-screen sections readable in full-page captures and when motion
   observers are delayed or unavailable. */
body.pubRefresh .anim{
  opacity:1;
  transform:none;
}

@media(max-width:560px){
  body.pubRefresh[data-pub-family="home"] .cineStats .inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.pubRefresh[data-pub-family="home"] .cineStats .cell{
    display:flex;
    min-width:0;
    min-height:88px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:12px 8px;
  }
  body.pubRefresh[data-pub-family="home"] .cineStats strong{
    font-size:clamp(26px,8vw,34px);
  }
  body.pubRefresh[data-pub-family="home"] .cineStats span{
    display:block;
    max-width:100%;
    font-size:10px;
    line-height:1.3;
    letter-spacing:.07em;
    overflow-wrap:break-word;
  }

  body.pubRefresh #bcrpReportBtn{
    right:auto!important;
    left:14px!important;
    bottom:calc(env(safe-area-inset-bottom,0px) + 14px)!important;
    display:grid!important;
    width:44px!important;
    height:44px!important;
    max-width:44px!important;
    place-items:center!important;
    padding:0!important;
    border-radius:50%!important;
    font-size:0!important;
  }
  body.pubRefresh #bcrpReportBtn::before{
    content:"🛠️";
    font-size:18px;
    line-height:1;
  }
  body.pubRefresh #bcrpAsstBtn{
    right:14px!important;
    bottom:calc(env(safe-area-inset-bottom,0px) + 14px)!important;
    width:48px!important;
    height:48px!important;
    font-size:23px!important;
  }
  body.pubRefresh #bcrpAsstPanel{
    right:12px!important;
    bottom:calc(env(safe-area-inset-bottom,0px) + 76px)!important;
    left:12px!important;
    width:auto!important;
    height:min(520px,calc(100dvh - 110px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))!important;
  }
}

/* Floating support controls must never cover readable public-site content.
   The dock script restores each control as soon as it no longer obstructs a page. */
body.pub-home-stats-visible #bcrpReportBtn,
body.pub-home-stats-visible #bcrpAsstBtn,
body.pub-support-report-obstructed #bcrpReportBtn,
body.pub-support-chat-obstructed #bcrpAsstBtn{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
@media(max-width:560px){
  body.pub-support-footer-visible #bcrpReportBtn,
  body.pub-support-footer-visible #bcrpAsstBtn{
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
}

/* Make the small-screen menu easier to scan and use with touch. */
body.pubRefresh #mainNav .navQuickActions{display:none}
@media(max-width:1280px){
  body.pubRefresh #mainNav.links::before{
    content:"SITE MENU";
    display:block;
    order:-2;
    padding:4px 12px 6px;
    color:var(--muted);
    font-size:10px;
    font-weight:900;
    letter-spacing:.14em;
  }
  body.pubRefresh #mainNav .navQuickActions{
    order:-1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:4px 0 10px;
    margin-bottom:2px;
    border-bottom:1px solid var(--line);
  }
  body.pubRefresh #mainNav .navQuickActions a{
    display:inline-flex;
    width:100%;
    min-height:48px;
    align-items:center;
    justify-content:center;
    padding:10px 8px;
    border-radius:12px;
    font-size:13px;
    font-weight:900;
    line-height:1.2;
    text-align:center;
  }
  body.pubRefresh #mainNav .navQuickAction--portal{
    border-color:var(--line)!important;
    background:var(--panel2)!important;
    color:var(--text)!important;
  }
  body.pubRefresh #mainNav .navQuickAction--discord{
    border-color:var(--accent)!important;
    background:var(--accent)!important;
    color:#021016!important;
  }
  body.pubRefresh #mainNav .navQuickActions a:hover,
  body.pubRefresh #mainNav .navQuickActions a:focus-visible{
    transform:translateY(-1px);
    box-shadow:0 0 0 2px var(--accent-soft);
  }
  body.pubRefresh #mainNav .navPrimaryActionDuplicate{display:none}
  body.pubRefresh #mainNav.links>a,
  body.pubRefresh #mainNav .navGroup>a,
  body.pubRefresh #mainNav .navBrowseTrigger{
    min-height:46px;
    padding:10px 13px;
    border-radius:12px;
    font-size:14px;
  }
  body.pubRefresh #mainNav.links>a[aria-current="page"],
  body.pubRefresh #mainNav.links>a[aria-current="location"],
  body.pubRefresh #mainNav .navGroup[data-current-section="true"]>a,
  body.pubRefresh #mainNav .navBrowseTrigger[data-current-section="true"],
  body.pubRefresh #mainNav .navDrop a[aria-current="page"],
  body.pubRefresh #mainNav .navDrop a[aria-current="location"],
  body.pubRefresh #mainNav .navQuickActions a[aria-current="page"]{
    border-color:var(--accent)!important;
    background:linear-gradient(90deg,var(--accent-soft),transparent 92%)!important;
    color:var(--text)!important;
    font-weight:950;
    box-shadow:inset 4px 0 0 var(--accent);
  }
  body.pubRefresh #mainNav .navBrowsePanel a{
    display:flex;
    min-height:44px;
    align-items:center;
    padding:10px 12px;
  }
}
@media(max-width:360px){
  body.pubRefresh #mainNav .navQuickActions{grid-template-columns:1fr}
}
body.pubRefresh #mainNav .navPrimaryActionDuplicate{display:none}
@media(max-width:1280px){
  body.pubRefresh #mainNav .navBrowseColumn+.navBrowseColumn{padding-top:10px;border-top:1px solid var(--line)}
  body.pubRefresh #mainNav .navBrowseColumn h2{margin:2px 0 8px;padding:0 12px;font-size:11px;letter-spacing:.14em}
  body.pubRefresh #mainNav .navBrowseGroup.open>.navBrowseTrigger{border-color:var(--accent);background:var(--accent-soft)}
}
@media(min-width:1281px){
  body.pubRefresh #mainNav .navDrop.navBrowsePanel{
    position:fixed;
    top:calc(var(--pub-nav-height,74px) + 8px);
    left:50%;
    transform:translateX(-50%);
    width:min(1040px,calc(100vw - 28px));
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  body.pubRefresh #mainNav .navQuickActions{
    display:flex;
    order:99;
    align-items:center;
    gap:7px;
    flex:none;
    margin-left:auto;
    padding-left:14px;
    border-left:1px solid var(--line);
  }
  body.pubRefresh #mainNav .navQuickActions a{
    display:inline-flex;
    min-height:36px;
    align-items:center;
    justify-content:center;
    padding:8px 11px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
  }
  body.pubRefresh #mainNav .navQuickAction--portal{
    border-color:var(--line);
    background:var(--panel2);
    color:var(--text);
  }
  body.pubRefresh #mainNav .navQuickAction--discord{
    border-color:var(--accent);
    background:var(--accent);
    color:#021016;
  }
  body.pubRefresh #mainNav .navQuickActions a:hover,
  body.pubRefresh #mainNav .navQuickActions a:focus-visible{transform:translateY(-1px);box-shadow:0 0 0 2px var(--accent-soft)}
}

/* Match the issue-report action to BCRP's cyan public-site controls. */
@media(min-width:561px){
  body.pubRefresh:not([data-pub-family="docs"]) #bcrpReportBtn{
    left:16px!important;
    right:auto!important;
    bottom:18px!important;
  }
}
body.pubRefresh #bcrpReportBtn{
  color:#e0f2fe!important;
  background:linear-gradient(145deg,#0b1724,#122539)!important;
  border:1px solid rgba(34,211,238,.55)!important;
  box-shadow:0 8px 24px rgba(2,6,23,.35),inset 0 1px rgba(255,255,255,.06)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
body.pubRefresh #bcrpReportBtn:hover{
  transform:translateY(-2px);
  border-color:var(--accent)!important;
  box-shadow:0 10px 28px rgba(2,6,23,.4),0 0 18px var(--accent-soft)!important;
}
body.pubRefresh #bcrpReportBtn:focus-visible{
  outline:3px solid var(--accent)!important;
  outline-offset:4px;
}
@media(max-width:560px){
  body.pubRefresh #bcrpReportBtn{
    width:48px!important;
    height:48px!important;
    max-width:48px!important;
    border:1px solid rgba(165,243,252,.9)!important;
    background:linear-gradient(145deg,#0e7490,#0891b2)!important;
    box-shadow:0 8px 24px rgba(2,6,23,.42),0 0 0 3px rgba(34,211,238,.14)!important;
  }
}

/* Public footer navigation */
.siteFooter{
  padding:0!important;
  color:var(--muted);
  text-align:left!important;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 88%,transparent),var(--bg));
}
.siteFooterInner{
  display:grid;
  grid-template-columns:minmax(190px,1fr) minmax(0,2.2fr);
  gap:44px;
  width:min(1220px,100%);
  margin:0 auto;
  padding:42px 22px 30px;
}
.siteFooterBrand{
  max-width:330px;
  font-size:13px;
  font-weight:750;
  line-height:1.65;
}
.siteFooterNav{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}
.siteFooterGroup{display:grid;align-content:start;gap:9px}
.siteFooterGroup h2{
  margin:0 0 3px;
  color:var(--text);
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.siteFooterGroup a{
  width:fit-content;
  color:var(--muted);
  font-size:12px;
  font-weight:650;
  text-decoration:none;
}
.siteFooterGroup a:hover,.siteFooterGroup a:focus-visible{color:var(--accent)}
@media(max-width:800px){
  .siteFooterInner{grid-template-columns:1fr;gap:26px;padding-top:34px}
  .siteFooterBrand{max-width:520px}
}
@media(max-width:560px){
  .siteFooterInner{gap:24px;padding:30px 16px 24px}
  .siteFooterNav{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
}

/* Raise contrast for secondary copy without changing the site's visual hierarchy. */
body.pubRefresh{--muted:#c5cfdd}
html[data-theme="light"] body.pubRefresh{--muted:#475569}
body.pubRefresh #siteFooter{color:var(--muted)}
body.pubRefresh.docsMode{--docs-muted:#c5cfdd}
html[data-theme="light"] body.pubRefresh.docsMode{--docs-muted:#475569}
body.pubRefresh .docsHubJurisdictionCard>small{color:var(--muted)}
body.pubRefresh .cineCta .lead{color:#f8fafc;text-shadow:0 1px 3px rgba(0,0,0,.8)}

/* Shared rhythm for game guides, department pages, and document readers. */
body.pubRefresh{
  --pr-deep-card-radius:16px;
  --pr-deep-card-radius-compact:12px;
  --pr-deep-section-space:var(--pr-section-space);
}
body.pubRefresh .prGameHero h1,
body.pubRefresh .prBanner h1,
body.pubRefresh .docsArticleHeader h1{
  font-family:var(--pr-display);
  font-weight:900;
  line-height:.98;
  letter-spacing:.005em;
  text-wrap:balance;
}
body.pubRefresh .prGame>section.section,
body.pubRefresh .prDept>section.section{
  padding-block:var(--pr-deep-section-space);
}
body.pubRefresh .prGame .sectionHead,
body.pubRefresh .prDept .sectionHead{
  margin-bottom:18px;
  padding-bottom:14px;
}
body.pubRefresh .prGame .prGuideStep,
body.pubRefresh .prDept .prDiv,
body.pubRefresh .docsDesignedRulesPage .docsArticleGroupLevel2,
body.pubRefresh .docsSopPage .docsSopChapter{
  border-radius:var(--pr-deep-card-radius);
}
body.pubRefresh .prGame .prGuideStep{padding:20px}
body.pubRefresh .prDept .prDivBody{padding:18px}
body.pubRefresh .docsCommunityRulesPage .docsCommunityAccordion,
body.pubRefresh .docsDepartmentTextAccordion,
body.pubRefresh .docsDesignedRulesPage .docsCommunityRuleCard,
body.pubRefresh .docsSopPage .docsSopSection{
  border-radius:var(--pr-deep-card-radius-compact);
}
@media(max-width:640px){
  body.pubRefresh{
    --pr-deep-card-radius:14px;
    --pr-deep-card-radius-compact:10px;
    --pr-deep-section-space:40px;
  }
  body.pubRefresh .prGame .prGuideStep{padding:16px}
  body.pubRefresh .prDept .prDivBody{padding:14px}
}

/* Empty and loading states: keep useful content visible when a feed or search
   has nothing to show, and make active catalog requests easy to recognize. */
body.pubRefresh .gxEmpty{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:center;
  gap:18px;
  min-height:190px;
  padding:clamp(22px,4vw,36px);
  border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));
  border-left:4px solid var(--accent);
  border-radius:var(--pr-radius);
  background:radial-gradient(ellipse at 0 0,var(--accent-soft),transparent 58%),linear-gradient(140deg,var(--panel),var(--panel2));
  text-align:left;
}
body.pubRefresh .prPage--eventsbanner .gxEmpty,
body.pubRefresh .prPage--newsbanner .gxEmpty{max-width:780px;margin-inline:auto}
body.pubRefresh .gxEmptyIcon,
body.pubRefresh .docsSearchEmptyIcon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid color-mix(in srgb,var(--accent) 38%,var(--line));
  border-radius:15px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:25px;
  font-weight:850;
}
body.pubRefresh .gxEmptyCopy{min-width:0}
body.pubRefresh .gxEmptyActions{display:flex;flex-wrap:wrap;gap:10px}
body.pubRefresh .gxEmptyKicker,
body.pubRefresh .docsSearchEmptyKicker{
  display:block;
  margin-bottom:5px;
  color:var(--accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}
body.pubRefresh .gxEmpty h3{margin:0 0 6px;font-family:var(--pr-display);font-size:clamp(24px,3vw,32px);line-height:1;text-transform:uppercase}
body.pubRefresh .gxEmpty p{max-width:58ch;margin:0 0 16px;color:var(--muted);line-height:1.6}
body.pubRefresh .gxEmpty .btn{width:max-content;max-width:100%}
body.pubRefresh .gxEmpty--compact{grid-template-columns:38px minmax(0,1fr);gap:12px;min-height:0;padding:14px 16px;border-radius:12px}
body.pubRefresh .gxEmpty--compact .gxEmptyIcon{width:36px;height:36px;border-radius:11px;font-size:19px}
body.pubRefresh .gxEmpty--compact .gxEmptyKicker{font-size:9px}
body.pubRefresh .gxEmpty--compact h3{font-size:19px}
body.pubRefresh .gxEmpty--compact p{margin-bottom:10px;font-size:13px}
body.pubRefresh .gxEmpty--compact .btn{min-height:38px;padding:8px 11px;font-size:12px}
body.pubRefresh .docsNoResults{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:start;
  gap:14px;
  padding:22px;
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:16px;
  background:linear-gradient(120deg,var(--accent-soft),var(--panel) 58%);
  color:var(--text);
  font-size:14px;
  line-height:1.6;
}
body.pubRefresh .docsNoResults:before{
  content:"⌕";
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid color-mix(in srgb,var(--accent) 36%,var(--line));
  border-radius:12px;
  background:var(--panel);
  color:var(--accent);
  font-size:22px;
}
body.pubRefresh .docsSearchNoResults:before{display:none}
body.pubRefresh .docsNoResults strong{display:block;color:var(--text);font-size:16px}
body.pubRefresh .docsNoResults p{margin:5px 0 0;color:var(--muted);font-size:13px}
body.pubRefresh .docsNoResults[hidden]{display:none!important}
body.pubRefresh .docsSearchNoResults{grid-template-columns:42px minmax(0,1fr);align-items:center;margin-top:10px}
body.pubRefresh .docsSearchEmptyAction{
  min-height:38px;
  margin-top:12px;
  padding:8px 12px;
  border:1px solid color-mix(in srgb,var(--accent) 48%,var(--line));
  border-radius:10px;
  background:var(--panel);
  color:var(--accent);
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
body.pubRefresh .docsSearchEmptyAction:hover{background:var(--accent-soft)}
body.pubRefresh .docsSearchEmpty{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:start;
  gap:10px;
  padding:14px;
  border:1px dashed var(--line);
  border-radius:12px;
  background:var(--panel2);
  color:var(--text);
  white-space:normal;
}
body.pubRefresh .docsSearchEmpty .docsSearchEmptyIcon{width:32px;height:32px;border-radius:10px;font-size:18px}
body.pubRefresh .docsSearchEmpty strong{display:block;font-size:12px}
body.pubRefresh .docsSearchEmpty p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
body.pubRefresh .penalEmptyState:not(.penalEmptyState--loading){
  border-left:3px solid var(--accent);
  background:linear-gradient(115deg,var(--accent-soft),var(--panel) 52%);
}
body.pubRefresh .penalCatalogStatus[aria-busy="true"]{min-height:32px}
body.pubRefresh .penalCatalogStatus[aria-busy="true"]:before,
body.pubRefresh .penalEmptyState--loading:before{
  content:"";
  flex:none;
  width:17px;
  height:17px;
  border:2px solid color-mix(in srgb,var(--accent) 24%,transparent);
  border-top-color:var(--accent);
  border-radius:50%;
  animation:prStateSpin .8s linear infinite;
}
body.pubRefresh .penalEmptyState--loading{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:76px;
  border-left:3px solid var(--accent);
  background:linear-gradient(115deg,var(--accent-soft),var(--panel) 52%);
  color:var(--muted);
}
@keyframes prStateSpin{to{transform:rotate(360deg)}}
html[data-theme="light"] body.pubRefresh .gxEmpty,
html[data-theme="light"] body.pubRefresh .docsNoResults,
html[data-theme="light"] body.pubRefresh .penalEmptyState:not(.penalEmptyState--loading){background:linear-gradient(120deg,var(--accent-soft),#fff 64%)}
html[data-theme="light"] body.pubRefresh .docsSearchEmpty{background:#fff}
@media(max-width:600px){
  body.pubRefresh .gxEmpty{grid-template-columns:1fr;gap:12px;min-height:0;padding:22px}
  body.pubRefresh .gxEmpty--compact{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:14px}
  body.pubRefresh .docsNoResults{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:17px}
  body.pubRefresh .docsNoResults:before{width:32px;height:32px}
}
@media(prefers-reduced-motion:reduce){
  body.pubRefresh .penalCatalogStatus[aria-busy="true"]:before,
  body.pubRefresh .penalEmptyState--loading:before{animation:none}
}

/* Contact forms should look editable in both site themes, with explicit
   keyboard, validation, submission, and disabled feedback. */
body.pubRefresh .cwForm{gap:14px}
body.pubRefresh .prPage--supportbanner .cwFormField{display:grid;gap:7px}
body.pubRefresh .prPage--supportbanner .cwFieldLabel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--text);
  font-size:13px;
  font-weight:850;
  line-height:1.4;
}
body.pubRefresh .prPage--supportbanner .cwFieldRequirement{
  flex:none;
  padding:3px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--panel2);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.pubRefresh .cwForm input,
body.pubRefresh .cwForm textarea,
body.pubRefresh .cwForm select{
  min-height:48px;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.62);
  border-radius:12px;
  background:#0b1220;
  color:#f8fafc;
  caret-color:#67e8f9;
  font:inherit;
  font-size:15px;
  line-height:1.5;
  opacity:1;
  box-shadow:inset 0 1px rgba(255,255,255,.04);
  transition:border-color .16s ease,outline-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
body.pubRefresh .cwForm textarea{min-height:148px}
body.pubRefresh .cwForm input::placeholder,
body.pubRefresh .cwForm textarea::placeholder{
  color:#cbd5e1;
  opacity:1;
}
body.pubRefresh .cwForm input:focus-visible,
body.pubRefresh .cwForm textarea:focus-visible,
body.pubRefresh .cwForm select:focus-visible{
  border-color:#22d3ee;
  outline:3px solid rgba(34,211,238,.3);
  outline-offset:2px;
  box-shadow:0 0 0 1px rgba(34,211,238,.35);
}
body.pubRefresh .cwForm input:user-invalid,
body.pubRefresh .cwForm textarea:user-invalid,
body.pubRefresh .cwForm select:user-invalid,
body.pubRefresh .cwForm [aria-invalid="true"]{
  border-color:#fb7185;
  box-shadow:0 0 0 2px rgba(251,113,133,.2);
}
body.pubRefresh .cwForm input:user-invalid:focus-visible,
body.pubRefresh .cwForm textarea:user-invalid:focus-visible,
body.pubRefresh .cwForm select:user-invalid:focus-visible,
body.pubRefresh .cwForm [aria-invalid="true"]:focus-visible{
  outline-color:rgba(251,113,133,.32);
}
body.pubRefresh .cwForm input:disabled,
body.pubRefresh .cwForm textarea:disabled,
body.pubRefresh .cwForm select:disabled{
  border-color:#64748b;
  background:#253246;
  color:#e2e8f0;
  opacity:1;
  cursor:not-allowed;
  -webkit-text-fill-color:#e2e8f0;
}
body.pubRefresh .cwForm input:disabled::placeholder,
body.pubRefresh .cwForm textarea:disabled::placeholder{color:#cbd5e1}
body.pubRefresh .cwForm button:disabled,
body.pubRefresh .cwForm button[aria-busy="true"]{
  border-color:#64748b!important;
  background:#475569!important;
  color:#fff!important;
  cursor:wait;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
  box-shadow:none!important;
}
body.pubRefresh .cwForm [data-cw-status]:empty{display:none}
body.pubRefresh .cwForm [data-cw-status]:not(:empty){
  display:block;
  min-height:1.5em;
  font-size:14px!important;
  line-height:1.5;
}
body.pubRefresh .cwForm [data-cw-status].is-pending{color:#cbd5e1}
body.pubRefresh .cwForm [data-cw-status].is-error{color:#fecdd3}
body.pubRefresh .cwForm [data-cw-status].is-success{color:#a7f3d0}
html[data-theme="light"] body.pubRefresh .cwForm input,
html[data-theme="light"] body.pubRefresh .cwForm textarea,
html[data-theme="light"] body.pubRefresh .cwForm select{
  border-color:#64748b;
  background:#fff;
  color:#0f172a;
  caret-color:#0e7490;
  box-shadow:inset 0 1px rgba(15,23,42,.04);
}
html[data-theme="light"] body.pubRefresh .cwForm input::placeholder,
html[data-theme="light"] body.pubRefresh .cwForm textarea::placeholder{
  color:#475569;
  opacity:1;
}
html[data-theme="light"] body.pubRefresh .cwForm input:focus-visible,
html[data-theme="light"] body.pubRefresh .cwForm textarea:focus-visible,
html[data-theme="light"] body.pubRefresh .cwForm select:focus-visible{
  border-color:#0e7490;
  outline-color:rgba(14,116,144,.25);
}
html[data-theme="light"] body.pubRefresh .cwForm input:user-invalid,
html[data-theme="light"] body.pubRefresh .cwForm textarea:user-invalid,
html[data-theme="light"] body.pubRefresh .cwForm select:user-invalid,
html[data-theme="light"] body.pubRefresh .cwForm [aria-invalid="true"]{
  border-color:#be123c;
  box-shadow:0 0 0 2px rgba(190,18,60,.16);
}
html[data-theme="light"] body.pubRefresh .cwForm input:disabled,
html[data-theme="light"] body.pubRefresh .cwForm textarea:disabled,
html[data-theme="light"] body.pubRefresh .cwForm select:disabled{
  border-color:#64748b;
  background:#e2e8f0;
  color:#334155;
  -webkit-text-fill-color:#334155;
}
html[data-theme="light"] body.pubRefresh .cwForm input:disabled::placeholder,
html[data-theme="light"] body.pubRefresh .cwForm textarea:disabled::placeholder{color:#475569}
html[data-theme="light"] body.pubRefresh .cwForm [data-cw-status].is-pending{color:#334155}
html[data-theme="light"] body.pubRefresh .cwForm [data-cw-status].is-error{color:#9f1239}
html[data-theme="light"] body.pubRefresh .cwForm [data-cw-status].is-success{color:#065f46}
@media(prefers-reduced-motion:reduce){
  body.pubRefresh .cwForm input,
  body.pubRefresh .cwForm textarea,
  body.pubRefresh .cwForm select{transition:none}
}

/* Shared section rhythm: consistent introductions, collections, and CTAs. */
body.pubRefresh #app main.page.active>section.section{
  padding-block:var(--pr-section-space);
}
body.pubRefresh #app main.page.active>section.section .sectionHead{
  align-items:flex-end;
  gap:clamp(16px,2.5vw,28px);
  margin:0 0 var(--pr-section-head-space);
  padding-bottom:14px;
}
body.pubRefresh #app main.page.active>section.section .sectionHead>div{
  display:grid;
  gap:7px;
}
body.pubRefresh #app main.page.active>section.section .sectionHead>div>.eyebrow{
  margin:0;
}
body.pubRefresh #app main.page.active>section.section .sectionHead>div>h2{
  margin:0;
  line-height:1.04;
}
body.pubRefresh #app main.page.active>section.section .sectionHead>p{
  max-width:48ch;
  margin:0;
}
body.pubRefresh #app main.page.active>section.section :is(.grid,.divGrid,.deptGrid,.prDeptGrid,.prPaths,.gxLinks,.gxGames,.gxEventCollection,.stepRow,.gallery,.docList,.departmentSelector){
  gap:var(--pr-collection-gap);
}
body.pubRefresh #app main.page.active>section.section :is(.grid,.divGrid,.deptGrid,.prDeptGrid,.prPaths,.gxLinks,.gxGames,.gxEventCollection,.stepRow,.gallery,.docList) + :is(.actions,.panel,.sectionHead){
  margin-top:var(--pr-section-stack-space)!important;
}
body.pubRefresh #app main.page.active>section.section .grid[style*="margin-bottom"]{
  margin-bottom:var(--pr-section-stack-space)!important;
}
body.pubRefresh .prPage--supportbanner .faqItem:last-of-type + .panel{
  margin-top:var(--pr-section-stack-space)!important;
}
body.pubRefresh .prPage--supportbanner .section .wrap>.panel{
  max-width:920px;
  margin:var(--pr-section-stack-space) auto 0!important;
}
body.pubRefresh .prPage--supportbanner .section .wrap>.panel>.eyebrow,
body.pubRefresh .prPage--supportbanner .section .wrap>.panel>h2{
  text-align:center;
}
body.pubRefresh .prPage--supportbanner .section .wrap>.panel .cwForm{
  width:min(100%,560px);
  max-width:560px;
  margin:0 auto;
}

@media(max-width:700px){
  body.pubRefresh{
    --pr-section-space:clamp(36px,9.5vw,42px);
    --pr-section-head-space:18px;
    --pr-section-stack-space:20px;
    --pr-collection-gap:14px;
  }
  body.pubRefresh #app main.page.active>section.section .sectionHead{
    align-items:start;
    gap:10px;
  }
  body.pubRefresh #app main.page.active>section.section .sectionHead>p{
    max-width:60ch;
  }
  body.pubRefresh .prPage--supportbanner .section .wrap>.panel{
    max-width:none;
    padding:20px 16px;
  }
  body.pubRefresh .prPage--supportbanner .section .wrap>.panel .cwForm{
    width:100%;
  }
}

/* Shared public action system: keep route colors, standardize primary/secondary geometry. */
body.pubRefresh .btn,
body.pubRefresh .cineBtn{
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  clip-path:none;
  font-family:inherit;
  font-size:13px;
  font-weight:850;
  letter-spacing:.01em;
  line-height:1.2;
  text-transform:none;
  transition:transform .18s var(--pr-ease),filter .18s ease,border-color .18s ease,background .18s ease;
}
body.pubRefresh .btn.primary,
body.pubRefresh .cineBtn.p{box-shadow:none}
body.pubRefresh .btn:not(.primary),
body.pubRefresh .cineBtn.g{box-shadow:none}
body.pubRefresh .cineBtn{justify-content:center;gap:8px}
body.pubRefresh .btn:hover,
body.pubRefresh .cineBtn:hover{transform:translateY(-1px);filter:brightness(1.05)}
body.pubRefresh .btn:active,
body.pubRefresh .cineBtn:active{transform:translateY(0)}
body.pubRefresh .cineHero .actions .cineBtn,
body.pubRefresh[data-pub-family="home"] .cineHero .cineBtn{
  min-height:42px;
  padding:10px 16px;
  font-size:13px;
  letter-spacing:.01em;
}
body.pubRefresh .cineHero .actions .cineBtn:not(:first-child){
  padding-inline:16px;
  font-size:13px;
  letter-spacing:.01em;
}
@media(max-width:560px){
  body.pubRefresh .prPage--platforms .prHero .actions>.btn:first-child{flex:1 1 100%}
  body.pubRefresh .prPage--platforms .prHero .actions>.btn:not(:first-child){
    flex:1 1 calc(50% - 8px);
    min-width:0;
    white-space:nowrap;
  }
}

/* Keep the application steps connected and compact on phone screens. */
@media(max-width:700px){
  body.pubRefresh .prPage--applicationsbanner .stepRow{
    grid-template-columns:1fr;
    gap:0;
  }
  body.pubRefresh .prPage--applicationsbanner .stepCard{
    min-height:0;
    padding:11px 4px 11px 52px!important;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  body.pubRefresh .prPage--applicationsbanner .stepCard::before{
    display:grid;
    place-items:center;
    top:8px;
    right:auto;
    left:0;
    z-index:1;
    width:32px;
    height:32px;
    border:1px solid color-mix(in srgb,var(--accent) 38%,var(--line));
    border-radius:50%;
    background:var(--panel);
    color:var(--accent);
    font-size:14px;
    line-height:1;
    opacity:1;
  }
  body.pubRefresh .prPage--applicationsbanner .stepCard:not(:last-child)::after{
    content:"";
    position:absolute;
    top:24px;
    bottom:-24px;
    left:15px;
    z-index:0;
    width:2px;
    border-radius:2px;
    background:color-mix(in srgb,var(--accent) 38%,var(--line));
  }
  body.pubRefresh .prPage--applicationsbanner .stepCard h3{
    margin:0 0 3px;
    font-size:16px;
    line-height:1.3;
  }
  body.pubRefresh .prPage--applicationsbanner .stepCard p{
    margin:0;
    font-size:13px;
    line-height:1.5;
  }
}

/* Fire & Rescue keeps one compact thumbnail slot on every program card. */
body.pubRefresh .prDept--fire-rescue .prDiv--thumb{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  align-items:start;
  gap:12px;
  min-height:0;
  align-self:stretch;
  padding:16px!important;
}
body.pubRefresh .prDept--fire-rescue .prDivThumb{
  display:grid;
  grid-column:1;
  grid-row:1;
  place-items:center;
  width:64px;
  height:64px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));
  border-radius:11px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:13px;
  font-weight:950;
  letter-spacing:.04em;
}
body.pubRefresh .prDept--fire-rescue .prDivThumb .prDivImg{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
body.pubRefresh .prDept--fire-rescue .prDivBody{
  grid-column:2;
  grid-row:1;
  min-width:0;
  gap:6px;
  padding:0!important;
}
body.pubRefresh .prDept--fire-rescue .prDiv h3{font-size:18px}
@media(max-width:560px){
  body.pubRefresh .prDept--fire-rescue .prDiv--thumb{
    grid-template-columns:56px minmax(0,1fr);
    gap:11px;
    padding:14px!important;
  }
  body.pubRefresh .prDept--fire-rescue .prDivThumb{width:56px;height:56px}
}
@media(max-width:560px){
  body.pubRefresh .prDept--public-safety .prBanner h1{
    max-width:12ch;
    margin:8px 0 16px;
    font-size:clamp(34px,8.5vw,40px);
    line-height:.98;
    text-wrap:balance;
  }
}
