/* CasinoNoob 2.2 — mobile comfort and alignment refinements; preserves 2.1 identity */
/* Full-site safeguards */
html{scroll-padding-bottom:90px}
.cn2-main,.cn2-content-shell{min-width:0}
.cn2-card-body,.cn2-home-articles-list a{overflow-wrap:break-word}
.cn2-content-shell :is(p,li){overflow-wrap:break-word}
.cn2-content-shell :is(img,video,iframe){max-width:100%}
.cn2-content-shell :is(pre,table){max-width:100%;overflow-x:auto}
.cn2-content-shell a{overflow-wrap:anywhere}
.cn2-cat:focus-visible,.cn2-card:focus-visible,.cn2-home-articles-list a:focus-visible{outline:3px solid #0d8ba0!important;outline-offset:3px}
@media(min-width:761px){
 .cn2-calc-button{margin:16px 0 17px}
 .cn2-result-grid{margin-top:12px}
 .cn2-tool-grid{align-items:start}
 .cn2-tool-box{height:100%}
 .cn2-tool-head p{max-width:850px}
}
@media(max-width:760px){
 /* Compact, readable hero: image remains the SAME approved reference character */
 .cn2-hero-grid{min-height:0;row-gap:0}
 .cn2-hero-grid>div:first-child{padding-top:19px}
 .cn2-hero h1{font-size:clamp(30px,7.4vw,38px);line-height:1.1;letter-spacing:-.035em;max-width:100%;margin:10px 0}
 .cn2-hero p:not(.cn2-eyebrow){font-size:16px;line-height:1.52;max-width:43ch;margin:12px 0 14px}
 .cn2-hero .cn2-btn{font-size:15px;min-height:46px;padding:10px 20px}
 .cn2-hero-image{height:132px;width:195px;max-width:75%;margin-top:-2px;object-position:center bottom;justify-self:center}
 .cn2-section{padding-top:29px;padding-bottom:29px}
 .cn2-sub{font-size:16px;line-height:1.5}
 .cn2-card-art{aspect-ratio:1.9/1;min-height:0}
 .cn2-card-art img{width:100%;height:100%;object-fit:cover}
 .cn2-card-body{padding:16px 18px 18px}
 .cn2-card strong{font-size:19px;line-height:1.3}
 .cn2-card p{font-size:15px;line-height:1.52}
 /* The 2x2 links caused cramped reading and clipped text on smaller phones */
 .cn2-home-articles-list{grid-template-columns:minmax(0,1fr);gap:10px}
 .cn2-home-articles-list a{min-height:67px;padding:16px 19px;display:flex;align-items:center;font-size:17px;line-height:1.4}
 .cn2-tool-section{padding:19px 15px;margin:10px 0 12px}
 .cn2-tool-grid{margin-top:14px;gap:11px}
 .cn2-tool-box{padding:17px 16px}
 .cn2-tool-head h2{font-size:27px;margin:0 0 8px}
 .cn2-tool-head p{margin:6px 0;font-size:15px;line-height:1.45}
 .cn2-calc-button{margin:14px 0 15px;min-height:48px}
 .cn2-result-grid>div{padding:13px 8px}
 .cn2-result-grid>div:first-child strong{font-size:29px}
 .cn2-result-grid>div:not(:first-child) strong{font-size:21px}
 .cn2-disclaimer{padding:12px 13px;font-size:13px;line-height:1.6}
 .cn2-link-row{gap:12px;margin-top:17px}
 .cn2-link-row a{font-size:15px}
 .cn2-content-shell{padding:28px 20px 48px}
 .cn2-content-shell :is(p,li){font-size:18px;line-height:1.68}
 .cn2-content-shell h2{margin-top:35px;margin-bottom:15px}
 .cn2-content-shell h3{margin-top:27px}
 /* Stick to viewport bottom on phones; reserve safe area so nothing gets obscured */
 .cn2-mobile-bottom{position:sticky;bottom:0;z-index:50;box-shadow:0 -5px 18px rgba(0,0,0,.11);padding:7px 7px max(9px,env(safe-area-inset-bottom))}
 .cn2-mobile-bottom a{min-height:51px}
 .cn2-footer{padding-bottom:24px}
}
@media(max-width:400px){
 .cn2-hero h1{font-size:clamp(29px,7.5vw,33px)}
 .cn2-hero-image{width:177px;height:120px}
 .cn2-tool-head img{width:60px;height:60px;flex-basis:60px}
 .cn2-result-grid>div:not(:first-child) strong{font-size:19px}
 .cn2-content-shell{padding-inline:18px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
