/* Public pages only; the OBS canvases and private game controllers keep their geometry. */
body.rf173-wide{--rf173-gutter:clamp(16px,2.2vw,38px);--shell:calc(100% - var(--rf173-gutter) * 2)}
body.rf173-wide .rf-app-stage,body.rf173-wide .rf-app-content{min-width:0}
body.rf173-wide .rf-app-content .shell{width:calc(100% - var(--rf173-gutter) * 2)!important;max-width:none!important;margin-inline:auto!important;box-sizing:border-box}
body.rf173-wide .rf-app-content>.section{padding-block:clamp(24px,3vw,48px)}
body.rf173-wide .rf-app-content>.subhero{padding-block:clamp(30px,4vw,60px)}
body.rf173-wide .subhero p,body.rf173-wide .section-heading>p{max-width:78ch;line-height:1.75}
body.rf173-wide .rf-app-content :is(.section-heading,.viewer-guide-head,.season-content-head,.module-head)>div{min-width:0}
body.rf173-wide .rf-app-content :is(.guide-content,.viewer-guide-card,.social-card,.activity-body,.rf173-cards article){overflow-wrap:anywhere}
body.rf173-wide .rf-app-content :is(input,select,textarea){max-width:100%;box-sizing:border-box}
body.rf173-wide .rf-app-content :is(.guide-grid,.social-grid,.mplus-center-grid,.raid-signup-layout,.profile-columns,.bolero-code-wrap,.s2-boss-guide-grid,.home-live-grid)>*{min-width:0}
body.rf173-wide :is(.guide-filters,.rf-pokemon-tabs,.rf173-page-links){display:flex;flex-wrap:wrap;gap:10px}
body.rf173-wide .rf173-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
body.rf173-wide .rf173-cards article{display:flex;flex-direction:column;padding:clamp(20px,2vw,30px);border:1px solid #715044;border-radius:20px;background:linear-gradient(135deg,#311329,#130d1a);min-width:0}
body.rf173-wide .rf173-card-icon{font-size:28px;color:#f7ce86}
body.rf173-wide .rf173-cards h3{font-size:clamp(19px,1.4vw,24px);margin:14px 0 10px;color:#ffe6bb}
body.rf173-wide .rf173-cards p{line-height:1.75;margin:0 0 20px;color:#d8c1d1;max-width:70ch}
body.rf173-wide .rf173-cards a{margin-top:auto;align-self:start;color:#f6c87e}
body.rf173-wide .rf173-live-note{padding:14px 18px;border:1px solid #a66a4b66;border-radius:12px;background:#291321;line-height:1.65;color:#e9cba5}
body.rf173-wide .rf173-source-note{padding:16px 20px;border-left:3px solid #d59860;background:#271323;border-radius:0 12px 12px 0;line-height:1.7;color:#d5bacb;max-width:90ch}
body.rf173-wide .rf173-guide-date{display:block;margin-top:12px;color:#c4a6ba;font-size:14px}
body.rf173-wide .guide-content{max-width:90ch;font-size:clamp(16px,1.05vw,19px);line-height:1.85}
body.rf173-wide .guide-video-consent{max-width:1200px;margin-bottom:30px}
body.rf173-wide .guide-content :is(img,video,iframe){max-width:100%;height:auto}
body.rf173-wide .mplus-center-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)}
body.rf173-wide .viewer-guide-intro .viewer-guide-flow .viewer-guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.rf173-wide .viewer-guide-intro .viewer-guide-flow .viewer-guide-steps>li:last-child{grid-column:1/-1}
body.rf173-wide.rf173-stream-spiele .rf173-explainer .rf173-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
body.rf173-wide .raid-signup-layout{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}
body.rf173-wide .social-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}
body.rf173-wide .guide-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
body.rf173-wide .bolero-fact-grid,body.rf173-wide .bolero-step-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body.rf173-wide .bolero-range-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
body.rf173-wide .rf-pokedex-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr))}
body.rf173-wide .home-hero .hero-copy{max-width:900px}
body.rf173-wide .home-hero .hero-copy>p{max-width:65ch}
body.rf173-wide .community-wrap{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(20px,3vw,48px)}
body.rf173-wide .community-wrap>*{min-width:0;max-width:100%}
body.rf173-wide .community-badge{width:100%;max-width:480px;justify-self:center}
body.rf173-wide .home-week-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
body.rf173-wide .profile-page-shell,body.rf173-wide .mplus-center-shell{max-width:none!important}
body.rf173-wide .profile-stat-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
body.rf173-wide .rf-pokedex-balls .rf-pokedex-ball img{object-fit:contain}
body.rf173-wide .rf173-training-help{margin-block:20px;padding:18px 22px;background:#211021;border:1px solid #725044;border-radius:16px}
body.rf173-wide .rf173-training-help summary{font-weight:750;cursor:pointer;color:#f0cd94}
body.rf173-wide .rf173-training-help p{max-width:90ch;line-height:1.8;color:#d9bfce}
body.rf173-wide :is(.rf173-page-links a,.guide-filters a){min-height:40px;display:inline-flex;align-items:center}
body.rf173-wide :is(.rf173-cards a,.rf173-page-links a):focus-visible{outline:3px solid #ff9bc9;outline-offset:5px}
@media(min-width:1800px){body.rf173-wide .bolero-code-wrap{grid-template-columns:minmax(360px,.7fr) minmax(0,1.3fr)}body.rf173-wide .season-dungeon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){body.rf173-wide .mplus-center-grid,body.rf173-wide .raid-signup-layout,body.rf173-wide .community-wrap{grid-template-columns:1fr}body.rf173-wide .home-week-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.rf173-wide .bolero-fact-grid,body.rf173-wide .bolero-step-grid,body.rf173-wide.rf173-stream-spiele .rf173-explainer .rf173-cards{grid-template-columns:repeat(2,minmax(0,1fr))}body.rf173-wide .viewer-guide-intro .viewer-guide-flow .viewer-guide-steps{grid-template-columns:1fr}}
@media(max-width:760px){body.rf173-wide .viewer-guide-grid.is-two,body.rf173-wide .bolero-code-wrap,body.rf173-wide .stream-tool-columns,body.rf173-wide .profile-columns{grid-template-columns:1fr}body.rf173-wide .rf173-cards,body.rf173-wide.rf173-stream-spiele .rf173-explainer .rf173-cards{grid-template-columns:1fr}body.rf173-wide .home-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.rf173-wide .subhero h1{overflow-wrap:anywhere}body.rf173-wide .rf173-page-links a{flex:1 1 140px}}
@media(max-width:420px){body.rf173-wide .bolero-fact-grid,body.rf173-wide .bolero-step-grid{grid-template-columns:1fr}}
