/*
Theme Name: Coolmathgames Studio
Theme URI: https://coolmathgames.it.com/
Author: Ali Raza
Description: Standalone gold and navy magazine theme with original puzzle games, guides, responsive archives, contact form and one-click starter setup.
Version: 1.3.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coolmathgames-studio
*/
:root{--gold:#fcc915;--gold-light:#fff6cd;--navy:#0f172a;--deep:#0e1633;--muted:#64748b;--line:#e2e8f0;--white:#fff;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--navy);background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.75}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto;vertical-align:middle}button,input,textarea,select{font:inherit}button,.button{cursor:pointer}button:disabled{cursor:default}a,button,input,summary{touch-action:manipulation}:focus-visible{outline:3px solid #2563eb;outline-offset:4px}h1,h2,h3,h4{line-height:1.18;letter-spacing:-.035em}h1{font-size:clamp(32px,4.7vw,62px)}h2{font-size:clamp(26px,3vw,40px)}h3{font-size:23px}p{margin:0 0 1.2em}.wrap{max-width:1240px;width:calc(100% - 48px);margin:auto}.skip-link{position:absolute;left:20px;top:-100px;z-index:9999;background:#fff;padding:14px}.skip-link:focus{top:10px}.topbar{background:var(--navy);color:#cbd5e1;font-size:11px;letter-spacing:.06em}.topbar .wrap{display:flex;justify-content:space-between;padding:8px 0;gap:14px}.topbar a{color:#fff}.brandbar{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:54px;height:54px}.wordmark{font-size:clamp(22px,2.4vw,32px);line-height:1.05;font-weight:900;letter-spacing:-1.5px}.wordmark small{font-size:11px;display:block;letter-spacing:.22em;font-weight:700;margin-top:9px;color:var(--muted);text-transform:uppercase}.custom-logo{max-height:72px;width:auto}.header-links{display:flex;gap:9px}.social-pill{font-size:12px;font-weight:800;background:var(--gold);padding:8px 15px;border-radius:7px}.nav-shell{background:var(--gold);border-bottom:1px solid #e1af00;position:sticky;top:0;z-index:90}.admin-bar .nav-shell{top:32px}.nav-row{display:flex;align-items:center;gap:15px;min-height:57px}.navigation{flex:1}.menu,.sub-menu{padding:0;margin:0;list-style:none}.menu{display:flex;align-items:center;flex-wrap:wrap;gap:2px}.menu>li{position:relative}.menu a{display:block;font-size:12px;font-weight:800;padding:18px 11px;line-height:1.4}.menu a:hover,.current-menu-item>a{background:rgba(15,23,42,.08);text-decoration:none}.sub-menu{display:none;position:absolute;left:0;top:100%;min-width:220px;background:var(--navy);color:#fff;box-shadow:0 12px 35px #0002}.sub-menu a{padding:13px 18px}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.nav-search{background:transparent;border:0;font-size:22px;padding:8px}.menu-toggle{display:none;border:1px solid #0f172a35;border-radius:6px;background:transparent;padding:8px 13px;font-size:13px;font-weight:800}.search-panel{background:var(--navy);color:#fff;padding:24px 0}.search-form{display:flex;gap:10px}.search-form label{flex:1}.search-form input{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:12px 14px;background:#fff;color:var(--navy)}.search-submit,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--gold);color:var(--navy);border:0;border-radius:8px;padding:13px 22px;font-size:13px;font-weight:850;line-height:1.4}.btn:hover{filter:brightness(.96);text-decoration:none}.btn-dark{background:var(--navy);color:#fff}.btn-outline{background:transparent;border:1px solid #fff5;color:#fff}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.19em;font-weight:850;color:var(--muted)}.ticker{background:var(--deep);color:#fff;display:flex;height:44px;overflow:hidden}.ticker-label{padding:0 24px;background:var(--gold);color:var(--navy);font-size:11px;font-weight:900;letter-spacing:.12em;display:flex;align-items:center;gap:9px;flex-shrink:0}.ticker-label::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--navy)}.ticker-window{overflow:hidden;display:flex;align-items:center;flex:1}.ticker-track{display:flex;white-space:nowrap;animation:ticker 55s linear infinite;gap:38px;padding-left:28px}.ticker-track:hover,.ticker-track:focus-within{animation-play-state:paused}.ticker a{font-size:12px}.ticker a::after{content:"◆";color:var(--gold);padding-left:35px}@keyframes ticker{to{transform:translateX(-50%)}}.gold-section{background:linear-gradient(135deg,var(--gold),#f5bd00 60%,#e0ac00);background-image:radial-gradient(#0f172a0a 1.5px,transparent 1.5px),linear-gradient(135deg,var(--gold),#e9b300);background-size:26px 26px,100% 100%;padding:40px 0 48px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 25px}.section-heading h2{margin:7px 0 0;font-size:31px}.section-heading a{font-size:12px;font-weight:800}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.feature-col{display:flex;flex-direction:column;gap:18px}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.post-card{background:var(--navy);border-radius:var(--radius);overflow:hidden;color:#fff;box-shadow:0 6px 22px #0f172a25;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;min-width:0}.post-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #0f172a35}.card-art{aspect-ratio:1.9;position:relative;overflow:hidden;background:#1e293b;display:block}.card-art img{width:100%;height:100%;object-fit:cover}.card-tag{position:absolute;top:12px;left:12px;background:var(--gold);color:var(--navy);font-size:9px;letter-spacing:.08em;font-weight:850;padding:4px 11px;border-radius:30px}.card-content{padding:20px;display:flex;flex-direction:column;flex:1}.card-content time{font-size:10px;color:#a5b4c7;letter-spacing:.06em}.card-content h3{font-size:22px;margin:10px 0;letter-spacing:-.025em}.card-content p{font-size:13px;color:#b6c1d3;line-height:1.6}.read-more{font-size:12px;color:var(--gold);font-weight:850;margin-top:auto}.post-card.mini{border-radius:14px}.mini .card-content{padding:12px}.mini .card-content h3{font-size:14px;margin:7px 0 12px}.mini .card-content p{display:none}.mini .card-content time{font-size:9px}.mini .read-more{font-size:10px}.section{padding:76px 0}.intro{text-align:center;max-width:820px;margin:auto}.intro h1{margin:15px 0 22px}.intro p{font-size:17px;color:#475569}.accent-rule{height:4px;width:65px;background:var(--gold);margin:25px auto;border-radius:3px}.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:35px}.guide-card{padding:28px 22px;background:var(--deep);color:#fff;border-radius:18px;box-shadow:0 9px 0 #dbe1ed;transition:transform .2s}.guide-card:hover{transform:translateY(-5px);text-decoration:none}.guide-number{font-size:11px;letter-spacing:.14em;color:#98a9cd}.guide-icon{font-size:32px;display:block;margin:12px 0}.guide-card h3{font-size:20px;margin:0 0 12px}.guide-card p{font-size:13px;color:#b8c5df;margin:0}.soft-section{background:#f5f7fb}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:step}.step{padding:25px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;position:relative}.step b{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--gold);font-size:15px}.step h3{font-size:19px}.step p{font-size:13px;color:var(--muted);margin:0}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.category-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:30px}.category-tabs a{border:1px solid #0f172a40;padding:8px 14px;border-radius:30px;font-size:11px;font-weight:800}.category-tabs a:hover{background:var(--navy);color:#fff;text-decoration:none}.home-copy{max-width:850px;margin:auto}.home-copy h2{font-size:31px;margin:40px 0 18px}.home-copy p,.home-copy li{color:#475569}.faq-list details{border-bottom:1px solid var(--line);padding:20px 0}.faq-list summary{cursor:pointer;font-weight:800;line-height:1.5}.faq-list details p{padding:15px 0 0;margin:0;color:#475569}.cta{padding:45px;background:var(--navy);color:#fff;border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{margin:0 0 10px;font-size:32px}.cta p{margin:0;color:#cbd5e1;font-size:14px}.footer{background:var(--gold);padding:65px 0 0}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:55px}.footer h3{font-size:20px;margin:0 0 20px}.footer p{font-size:13px;line-height:1.9}.footer ul{padding:0;list-style:none}.footer li{font-size:13px;margin:9px 0}.footer-contact a{overflow-wrap:anywhere}.footer-bottom{display:flex;justify-content:space-between;gap:15px;margin-top:40px;padding:22px 0;border-top:1px solid #0f172a25;font-size:11px}.footer-notice{font-size:11px;max-width:900px;opacity:.85;padding-bottom:24px}.breadcrumbs{font-size:12px;color:var(--muted);padding:30px 0 12px}.page-hero{padding:18px 0 35px;border-bottom:1px solid var(--line)}.page-hero h1{font-size:clamp(32px,4vw,50px);margin:10px 0 16px;max-width:950px}.page-hero p{color:var(--muted);max-width:760px}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:55px;padding:45px 0 70px}.entry-content{min-width:0;overflow-wrap:break-word}.entry-content h2{font-size:29px;margin:40px 0 18px}.entry-content h3{font-size:22px;margin:30px 0 16px}.entry-content p,.entry-content li{color:#334155}.entry-content a{color:#174fa3;text-decoration:underline}.entry-content img{border-radius:16px}.entry-content table{border-collapse:collapse;width:100%;font-size:14px}.entry-content td,.entry-content th{border:1px solid var(--line);padding:12px;text-align:left}.entry-content th{background:var(--gold-light)}.entry-content .btn{color:var(--navy);text-decoration:none}.entry-content .btn-dark{color:#fff}.article-cover{margin-bottom:30px;border-radius:20px;width:100%}.meta{font-size:12px;color:var(--muted);display:flex;gap:17px;flex-wrap:wrap}.sidebar-box{background:#f5f7fb;border:1px solid var(--line);border-radius:16px;padding:23px;margin-bottom:24px}.sidebar-box h3{font-size:19px;margin:0 0 18px}.sidebar-box ul{list-style:none;padding:0;margin:0}.sidebar-box li{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}.sidebar-box li:last-child{border:0}.sidebar-box a{overflow-wrap:anywhere}.share-row{display:flex;gap:8px;flex-wrap:wrap}.share-row a{padding:7px 10px;background:var(--navy);color:#fff;border-radius:6px;font-size:11px}.pagination{display:flex;gap:8px;justify-content:center;margin:40px 0}.page-numbers{padding:8px 15px;background:#f1f5f9;border-radius:6px}.page-numbers.current{background:var(--gold);font-weight:800}.notice{padding:18px 22px;background:var(--gold-light);border-left:4px solid var(--gold);border-radius:7px;margin:20px 0;font-size:14px}.notice.error{background:#fff1f2;border-color:#be123c}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-form label{display:block;font-weight:700;font-size:13px;margin-bottom:17px}.contact-form input,.contact-form textarea,.calc input,.calc select{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:var(--navy);margin-top:7px}.contact-form textarea{min-height:160px}.hp{position:absolute;left:-9999px}.calc{padding:25px;background:#f1f5f9;border-radius:15px}.calc label{font-size:13px;font-weight:700;display:block;margin:14px 0}.calc-output{font-size:21px;font-weight:850;margin-top:18px}.game-shell{border:1px solid var(--line);border-radius:18px;padding:25px;background:#f5f7fb;margin:25px 0}.game-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.game-tabs button{background:#e2e8f0;border:0;border-radius:6px;padding:10px 13px;font-size:12px;font-weight:800}.game-tabs button[aria-selected=true]{background:var(--navy);color:#fff}.game-panel[hidden]{display:none}.game-grid{display:grid;gap:9px;max-width:380px;margin:20px auto}.game-grid.memory{grid-template-columns:repeat(4,1fr)}.game-grid.ttt{grid-template-columns:repeat(3,1fr);max-width:300px}.game-cell{aspect-ratio:1;background:var(--navy);color:var(--gold);border:0;border-radius:10px;font-size:28px;font-weight:900}.game-cell.open,.game-cell.matched{background:var(--gold);color:var(--navy)}.game-cell.matched{opacity:.7}.game-status{text-align:center;font-weight:750;margin:16px 0}.math-question{font-size:35px;text-align:center;margin:20px 0}.math-input{display:flex;gap:10px;max-width:350px;margin:20px auto}.math-input input{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px}.empty-state{border:1px dashed #cbd5e1;border-radius:14px;padding:40px;text-align:center;color:var(--muted)}.back-top{position:fixed;bottom:20px;right:20px;background:var(--navy);color:var(--gold);border:2px solid var(--gold);border-radius:10px;padding:9px 15px;z-index:60}.screen-reader-text{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}body [hidden]{display:none!important}.alignwide{max-width:100%}.aligncenter{margin-left:auto;margin-right:auto}.wp-caption-text{font-size:13px;color:var(--muted)}.gallery-caption{font-size:13px}.sticky{border:2px solid var(--gold)}.bypostauthor{font-weight:inherit}.comment-list{padding-left:22px}.comment-form textarea{width:100%;min-height:130px}.comment-form input{max-width:100%}.entry-content pre{overflow:auto;padding:20px;background:#f1f5f9}.entry-content iframe{max-width:100%}
@media(max-width:1050px){.menu a{padding:18px 8px;font-size:11px}.article-layout{gap:30px;grid-template-columns:minmax(0,1fr) 270px}.guide-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{gap:30px}.header-links .social-pill:first-child{display:none}}
@media(max-width:850px){.wrap{width:calc(100% - 32px)}.menu-toggle{display:block}.nav-row{justify-content:space-between;flex-wrap:wrap;padding:9px 0}.navigation{display:none;order:3;flex-basis:100%}.navigation.is-open{display:block}.menu{display:block;padding:8px 0}.menu a{font-size:13px;padding:11px}.sub-menu{display:block;position:static;box-shadow:none;background:#f6c512;color:var(--navy);padding-left:15px;border-left:2px solid var(--navy)}.menu li:hover>.sub-menu{display:block}.feature-grid{grid-template-columns:1fr}.feature-col:last-child{display:none}.article-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.sidebar-box{margin:0}.steps{grid-template-columns:repeat(2,1fr)}.post-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.header-links .social-pill{font-size:11px;padding:8px 10px}.brandbar{min-height:95px}.topbar span:last-child{display:none}.section{padding:55px 0}.cta{padding:30px;align-items:start;flex-direction:column}.admin-bar .nav-shell{top:46px}}
@media(max-width:520px){.header-links{display:none}.brand-icon{width:43px;height:43px}.wordmark{font-size:25px}.wordmark small{font-size:9px}.topbar{font-size:10px}.ticker-label{padding:0 13px;font-size:10px}.gold-section{padding:28px 0}.section-heading h2{font-size:26px}.mini-grid{gap:12px}.guide-grid{gap:15px}.guide-card{padding:21px 18px}.guide-card h3{font-size:18px}.guide-card p{font-size:12px}.post-grid{grid-template-columns:1fr}.sidebar{display:block}.sidebar-box{margin-bottom:20px}.footer-grid{grid-template-columns:1fr;gap:26px}.footer-bottom{flex-direction:column;gap:6px}.contact-grid{grid-template-columns:1fr}.section-heading{align-items:start}.section-heading>a{max-width:110px;text-align:right}.steps{gap:12px}.step{padding:19px}.step h3{font-size:17px}.page-hero h1{font-size:34px}.entry-content h2{font-size:26px}.game-shell{padding:16px}.game-cell{font-size:24px}.intro p{font-size:15px}.admin-bar .nav-shell{top:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Video-reference layout: gold canvas, compact white header, dark drawer,
   staggered stories, rotating latest posts, guide feed and long-form guide. */
body.cmg-reference{background:#fcc915;color:#202020;font-family:Arial,Helvetica,sans-serif;line-height:1.65}.cmg-reference .wrap{max-width:1290px;width:calc(100% - 60px)}.reference-header{background:#fff}.cmg-reference .brandbar{min-height:100px;gap:20px}.reference-logo{width:260px;max-width:65vw;height:auto;display:block}.cmg-reference h1,.cmg-reference h2,.cmg-reference h3{letter-spacing:0}.cmg-reference .nav-shell{position:relative;top:0;border:0;z-index:100}.cmg-reference .nav-row{min-height:48px}.cmg-reference .menu a{font-weight:600;font-size:12px;padding:13px 9px}.drawer-close,.drawer-scrim{display:none}.reference-home{padding-top:28px}.cmg-reference .ticker{height:44px;border-top:2px solid #1a2547;border-bottom:2px solid #1a2547}.cmg-reference .ticker-label{background:#ffcd1c;font-size:10px}.cmg-reference .ticker-track{gap:20px}.reference-feature{padding:40px 20px 38px;background:linear-gradient(135deg,#fcc915,#e8b100);margin-bottom:40px}.cmg-reference .feature-grid{grid-template-columns:1fr 1fr;gap:18px}.cmg-reference .feature-col{display:flex;gap:18px}.cmg-reference .mini-grid{gap:14px}.cmg-reference .post-card{background:#0f172a;border-radius:20px;box-shadow:0 6px 22px #0f172a38;color:#fff}.cmg-reference .card-art{aspect-ratio:1.91}.cmg-reference .card-content{padding:18px 20px 22px}.cmg-reference .card-content h3{font-family:Arial,sans-serif;font-size:20px;line-height:1.35;margin:8px 0}.cmg-reference .card-content p{font-size:13px;line-height:1.6;color:#94a3b8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cmg-reference .card-content time,.cmg-reference .card-content>.eyebrow{color:#64748b;font-size:9px;letter-spacing:1px}.cmg-reference .read-more{color:#fcc915;font-size:11px}.cmg-reference .mini{border-radius:14px}.cmg-reference .mini .card-content{padding:10px 12px 12px}.cmg-reference .mini .card-content h3{font-size:12px;line-height:1.4;margin:6px 0 9px}.cmg-reference .mini .card-content p{display:none}.cmg-reference .mini .read-more{font-size:9px}.cmg-reference .card-tag{top:10px;left:10px;padding:3px 9px;font-size:8px}.cmg-reference .mini .card-tag{top:7px;left:7px;font-size:7px;padding:2px 7px}.reference-carousel{text-align:center;overflow:hidden;margin:45px 0 55px}.reference-carousel>h2{font-size:30px;font-weight:500;text-transform:uppercase;margin:0 0 24px}.carousel-stage{height:420px;position:relative;perspective:1400px}.carousel-cards{position:relative;height:100%;max-width:100%;transform-style:preserve-3d}.carousel-slide{position:absolute;left:50%;top:18px;width:260px;margin-left:-130px;transition:transform .75s,opacity .75s;transform-origin:center;opacity:0;pointer-events:none;transform:translateX(0) translateZ(-280px) scale(.7)}.carousel-slide .post-card{height:350px;box-shadow:0 18px 22px #0f172a50}.carousel-slide .card-content{padding:15px!important;text-align:center}.carousel-slide .card-content h3{font-size:15px!important}.carousel-slide .card-content p{display:none!important}.carousel-slide .card-content>.eyebrow,.carousel-slide time{display:none}.carousel-slide[data-position="0"]{transform:translateX(0) translateZ(60px);opacity:1;pointer-events:auto;z-index:3}.carousel-slide[data-position="1"]{transform:translateX(285px) rotateY(-24deg) scale(.91);opacity:1;pointer-events:auto;z-index:2}.carousel-slide[data-position="-1"]{transform:translateX(-285px) rotateY(24deg) scale(.91);opacity:1;pointer-events:auto;z-index:2}.carousel-controls{display:flex;justify-content:center;gap:12px;margin-top:2px}.carousel-controls button{border:0;border-radius:50%;background:#0e1633;color:#fcc915;width:38px;height:38px;font-size:18px;line-height:1}.reference-guides,.reference-play-panel,.reference-how-panel{position:relative;padding:80px 28px;background:linear-gradient(135deg,#fcc915,#eab308 50%,#ca8a04);overflow:hidden}.reference-section-head{text-align:center;max-width:950px;margin:0 auto 42px}.section-badge{display:inline-block;background:#0f172a;color:#facc15;font-size:10px;font-weight:700;letter-spacing:2px;border:1px solid #ffffff33;border-radius:30px;padding:8px 17px}.reference-section-head h2{font-size:clamp(32px,3.6vw,48px);line-height:1.25;color:#0f172a;font-weight:900;margin:30px 0 20px}.reference-section-head h2 span{color:#fff}.reference-section-head p{font-size:15px;color:#786415;max-width:620px;margin:auto;line-height:1.7}.guide-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;max-width:1140px;margin:0 auto 35px}.guide-feed-card{display:flex;flex-direction:column;background:#3f4034;color:#fff;border-radius:20px;overflow:hidden;border:1px solid #ffffff26;box-shadow:0 18px 36px #0f172a42}.guide-feed-art{aspect-ratio:1.8;display:block;overflow:hidden;background:#0f172a}.guide-feed-art img{width:100%;height:100%;object-fit:cover}.guide-feed-body{padding:22px;display:flex;flex-direction:column;flex:1}.guide-feed-body>.eyebrow{color:#c5c5ac;font-size:9px;letter-spacing:2px}.guide-feed-body h3{font-size:20px;line-height:1.3;margin:22px 0 13px}.guide-feed-body p{font-size:13px;color:#cccdbd;line-height:1.75}.guide-feed-body .read-more{margin-top:auto;padding-top:20px;color:#fcc915}.center{text-align:center}.pill-button{display:inline-flex;align-items:center;justify-content:center;padding:13px 24px;background:linear-gradient(135deg,#17243e,#0e1633);border:1px solid #fff2;box-shadow:0 10px 18px #0002;border-radius:40px;color:#fcc915!important;font-weight:700;font-size:12px;line-height:1.5;text-decoration:none!important}.pill-button:hover{filter:brightness(1.2)}.reference-long-guide{padding:30px 0 0;font-size:16px;line-height:1.7}.reference-long-guide p,.reference-long-guide li{color:#494214}.reference-long-guide h2{background:#f9a51a;font-size:25px;font-weight:500;margin:38px 0 20px;padding:30px 42px;line-height:1.4}.reference-long-guide h3{font-size:21px;font-weight:500;margin:30px 0 18px}.reference-long-guide ul,.reference-long-guide ol{padding-left:26px}.reference-long-guide .complete-guide-art{border-radius:0;border:3px solid #242424;width:100%;margin:20px 0 0}.reference-long-guide table{margin:22px 0;font-size:14px}.reference-long-guide th{background:#f4a91c;border-color:#e2b746;font-weight:500;text-align:center}.reference-long-guide td{border-color:#e9cf6e}.reference-long-guide tbody tr:nth-child(odd){background:#f4f4f4}.reference-long-guide tbody tr:nth-child(even){background:#f8a31a}.reference-play-panel,.reference-how-panel{margin:35px 0}.quick-game-selector{max-width:610px;margin:0 auto 45px;padding:25px;background:#3b3d34;border:1px solid #fff3;box-shadow:0 18px 35px #0004;border-radius:23px;color:#fff}.quick-game-selector label{display:block;font-size:13px;font-weight:600;margin-bottom:12px}.quick-game-selector>div{display:flex;gap:12px}.quick-game-selector select{min-width:0;flex:1;width:100%;background:#ffffff10;color:#fff;border:1px solid #ffffff2b;border-radius:12px;padding:12px}.quick-game-selector option{background:#0f172a;color:#fff}.reference-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.reference-steps>div{padding:24px 18px;text-align:center;background:#65581680;border:1px solid #fff2;border-radius:15px;box-shadow:0 12px 20px #0002}.reference-steps span{display:inline-grid;place-items:center;min-width:38px;height:38px;border-radius:10px;background:#fcc915;color:#0f172a;font-size:20px;font-weight:bold}.reference-steps h3{font-size:17px;color:#fff;margin:16px 0 12px}.reference-steps p{font-size:12px;color:#e3d9a4;line-height:1.7;margin:0}.reference-how-panel .center{margin-top:34px}.reference-disclaimer{padding:20px 0 40px}.reference-disclaimer h2,.reference-disclaimer p{background:#fff;padding:26px 35px;margin:0 0 18px;border:1px solid #eee}.reference-disclaimer h2{font-size:25px;font-weight:500}.reference-disclaimer p{font-size:14px;color:#444}.cmg-reference .footer{padding:30px 0 0;background:#fcc915;border-top:1px solid #edbd1e;color:#1e1e1e}.cmg-reference .footer h3{font-size:21px;font-weight:500;text-decoration:underline;line-height:1.4}.cmg-reference .footer p,.cmg-reference .footer li{font-size:13px;color:#494214;line-height:1.9}.cmg-reference .footer li{margin:9px 0}.cmg-reference .footer-grid{grid-template-columns:1.6fr 1fr 1fr;gap:55px}.cmg-reference .footer-bottom,.cmg-reference .footer-notice{font-size:11px}.cmg-reference .back-top{border:1px solid #222;color:#222;background:#fcc915;box-shadow:none;border-radius:0;width:30px;height:30px;padding:0;bottom:18px;right:18px}.cmg-reference .page-hero{border-bottom-color:#cda400}.cmg-reference .page-hero h1{font-size:38px;font-weight:500}.cmg-reference .page-hero>.eyebrow{color:#6b5b14}.cmg-reference .page-hero p,.cmg-reference .meta,.cmg-reference .breadcrumbs{color:#5f531d}.cmg-reference .article-layout{padding-top:30px}.cmg-reference .entry-content>h2{background:#f9a51a;padding:24px 30px;font-size:25px;font-weight:500}.cmg-reference .entry-content>h3{font-weight:500;font-size:21px}.cmg-reference .entry-content p,.cmg-reference .entry-content li{color:#494214}.cmg-reference .sidebar-box{background:#e9b712;border-color:#d5a70b}.cmg-reference .sidebar-box h3{font-weight:500}.cmg-reference .contact-form input,.cmg-reference .contact-form textarea{background:#fff9df}.cmg-reference .calc,.cmg-reference .game-shell{background:#e6b413;border-color:#cba20d}.cmg-reference .faq-list details{border-color:#c9a11b}.cmg-reference .empty-state{border-color:#a5851d;color:#594b14}.cmg-reference .section{padding:65px 0}.cmg-reference .menu .sub-menu a{color:#d7deec}.cmg-reference .menu .sub-menu a:hover{background:#1e293b}.cmg-reference .pagination .page-numbers{background:#e5b100}.cmg-reference .pagination .current{background:#0f172a;color:#fcc915}
@media(max-width:1100px){.cmg-reference .menu a{font-size:11px;padding:13px 7px}.guide-feed{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-feature{padding:25px 18px}.reference-section-head h2{font-size:38px}}
@media(max-width:1024px){.cmg-reference .brandbar{min-height:80px}.cmg-reference .reference-logo{width:235px}.cmg-reference .menu-toggle{display:block;margin-left:auto;border:0;color:#e2b314;font-size:25px;background:transparent;padding:10px}.cmg-reference .header-links{display:none}.cmg-reference .nav-shell{height:0;position:static}.cmg-reference .nav-row{min-height:0;padding:0;width:100%}.cmg-reference .nav-search{display:none}.cmg-reference .navigation{display:block;position:fixed;right:0;top:0;bottom:0;width:94%;max-width:650px;background:#090b0f;color:#d3d7dd;z-index:1000;overflow:auto;padding:60px 22px 30px;transform:translateX(102%);transition:transform .25s;visibility:hidden}.cmg-reference .navigation.is-open{transform:translateX(0);visibility:visible}.cmg-reference .menu{display:block;margin:0;padding:0}.cmg-reference .menu>li{border-bottom:1px solid #ffffff0b}.cmg-reference .menu a{font-size:13px;padding:14px 12px;font-weight:400;background:transparent;color:#d3d7dd}.cmg-reference .menu a:hover{color:#fcc915;background:#ffffff06}.cmg-reference .menu .sub-menu{display:none;position:static;box-shadow:none;background:transparent;border:0;padding-left:20px;min-width:0}.cmg-reference .menu .sub-menu a{font-size:12px;padding:11px;border-bottom:1px solid #ffffff08}.cmg-reference .menu li:hover>.sub-menu{display:none}.cmg-reference .menu li.submenu-open>.sub-menu,.cmg-reference .menu li:focus-within>.sub-menu{display:block}.submenu-toggle{position:absolute;right:0;top:0;border:0;background:transparent;color:#ccc;width:44px;height:47px;font-size:16px}.menu-item-has-children>a{padding-right:50px!important}.cmg-reference .drawer-close{display:block;position:absolute;right:20px;top:12px;color:#fff;background:transparent;border:0;font-size:27px}.cmg-reference .drawer-scrim{position:fixed;inset:0;display:block;z-index:999;background:#0008;border:0;width:100%;height:100%;padding:0}.cmg-reference.drawer-open{overflow:hidden}.reference-home{padding-top:22px}.cmg-reference .wrap{width:calc(100% - 54px)}.cmg-reference .feature-grid{grid-template-columns:1fr 1fr}.cmg-reference .feature-col:last-child{display:flex}.cmg-reference .footer-grid{grid-template-columns:1fr;gap:28px}.cmg-reference .footer-grid>div:first-child{grid-column:auto}.reference-long-guide{font-size:15px}.reference-long-guide h2{font-size:24px;padding:26px 32px}.reference-steps{gap:15px}.reference-steps>div{padding:23px 12px}}
@media(max-width:650px){.cmg-reference .wrap{width:calc(100% - 26px)}.cmg-reference .brandbar{min-height:67px}.cmg-reference .reference-logo{width:195px}.reference-home{padding-top:14px}.cmg-reference .ticker{height:32px}.cmg-reference .ticker-label{font-size:8px;padding:0 9px}.cmg-reference .ticker a{font-size:9px}.cmg-reference .ticker-track{padding-left:13px}.reference-feature{padding:20px 8px;margin-bottom:28px}.cmg-reference .feature-grid{gap:8px}.cmg-reference .feature-col{gap:9px}.cmg-reference .mini-grid{gap:8px;grid-template-columns:1fr 1fr}.cmg-reference .post-card{border-radius:10px}.cmg-reference .card-content{padding:11px 9px 13px}.cmg-reference .card-content h3{font-size:12px;line-height:1.35;margin:6px 0}.cmg-reference .card-content p{font-size:9px;line-height:1.45;margin:0 0 9px}.cmg-reference .card-content time,.cmg-reference .card-content>.eyebrow{font-size:6px;letter-spacing:.6px}.cmg-reference .card-tag{font-size:6px;padding:2px 5px;left:6px;top:6px}.cmg-reference .read-more{font-size:8px}.cmg-reference .mini{border-radius:8px}.cmg-reference .mini .card-content{padding:7px 6px 9px}.cmg-reference .mini .card-content h3{font-size:8px;line-height:1.4;margin:4px 0 6px}.cmg-reference .mini .read-more{font-size:6px}.cmg-reference .mini .card-tag{font-size:5px;left:4px;top:4px;padding:1px 4px}.reference-carousel{margin:30px 0}.reference-carousel>h2{font-size:20px;margin-bottom:15px}.carousel-stage{height:295px;perspective:900px}.carousel-slide{width:160px;margin-left:-80px;top:16px}.carousel-slide .post-card{height:245px;border-radius:10px}.carousel-slide .card-content h3{font-size:11px!important}.carousel-slide .card-content{padding:12px!important}.carousel-slide .read-more{font-size:8px}.carousel-slide[data-position="1"]{transform:translateX(148px) rotateY(-28deg) scale(.84)}.carousel-slide[data-position="-1"]{transform:translateX(-148px) rotateY(28deg) scale(.84)}.carousel-controls{gap:8px}.carousel-controls button{width:28px;height:28px;font-size:14px}.reference-guides,.reference-play-panel,.reference-how-panel{padding:52px 12px}.section-badge{font-size:7px;padding:6px 12px;letter-spacing:1.2px}.reference-section-head{margin-bottom:26px}.reference-section-head h2{font-size:27px;margin:25px 0 15px}.reference-section-head p{font-size:11px}.guide-feed{gap:12px;margin-bottom:25px}.guide-feed-card{border-radius:12px}.guide-feed-body{padding:12px 10px}.guide-feed-body>.eyebrow{font-size:6px;letter-spacing:1px}.guide-feed-body h3{font-size:12px;margin:16px 0 10px;line-height:1.35}.guide-feed-body p{font-size:10px;line-height:1.6}.guide-feed-body .read-more{font-size:8px;padding-top:14px}.pill-button{padding:10px 17px;font-size:9px}.reference-long-guide{font-size:12px;line-height:1.75;padding-top:24px}.reference-long-guide h2{font-size:18px;padding:21px 22px;margin:25px 0 15px}.reference-long-guide h3{font-size:16px;margin:24px 0 14px}.reference-long-guide table{font-size:10px;line-height:1.5}.reference-long-guide td,.reference-long-guide th{padding:8px}.reference-steps{gap:7px;grid-template-columns:repeat(4,minmax(0,1fr))}.reference-steps>div{padding:14px 6px;border-radius:10px}.reference-steps span{min-width:24px;height:24px;font-size:13px;border-radius:6px}.reference-steps h3{font-size:10px;margin:12px 0 8px}.reference-steps p{font-size:8px;line-height:1.7}.quick-game-selector{padding:18px;margin-bottom:28px;border-radius:16px}.quick-game-selector label{font-size:11px}.quick-game-selector select{font-size:11px;padding:10px}.quick-game-selector>div{gap:7px}.quick-game-selector .pill-button{font-size:8px;padding:9px 12px}.reference-disclaimer h2{font-size:18px}.reference-disclaimer h2,.reference-disclaimer p{padding:18px 22px;margin-bottom:14px}.reference-disclaimer p{font-size:11px}.cmg-reference .footer h3{font-size:18px}.cmg-reference .footer p,.cmg-reference .footer li{font-size:12px}.cmg-reference .entry-content>h2{font-size:21px}.cmg-reference .reference-long-guide>h2{font-size:18px}.cmg-reference .page-hero h1{font-size:30px}.cmg-reference .article-layout{gap:25px}.cmg-reference .navigation{width:94%}.cmg-reference .navigation .menu a{font-size:12px}.cmg-reference .navigation .menu .sub-menu a{font-size:11px}}
@media(prefers-reduced-motion:reduce){.carousel-slide{transition:none!important}}
.submenu-toggle{display:none}@media(max-width:1024px){.cmg-reference .submenu-toggle{display:block}.cmg-reference .menu li:focus-within>.sub-menu{display:none}.cmg-reference .menu li.submenu-open>.sub-menu{display:block}}

/* Version 1.2: screenshot proportions, full rotating ring and four-step tabs. */
.reference-carousel{--ring-card:260px;--ring-radius:380px}.carousel-stage{height:510px;perspective:1200px;perspective-origin:50% 45%}.carousel-cards{position:absolute;left:50%;top:52px;width:var(--ring-card);height:380px;margin-left:calc(var(--ring-card) / -2);transform-style:preserve-3d;will-change:transform}.carousel-slide[data-slide]{position:absolute;left:0;top:0;width:100%;margin:0;opacity:1;pointer-events:auto;backface-visibility:hidden;transition:none;transform-style:preserve-3d}.carousel-slide[data-slide] .post-card{height:380px;background:#19264b;box-shadow:0 15px 22px #57400066;overflow:hidden}.carousel-slide .card-art{aspect-ratio:1.35}.carousel-slide .card-content h3{font-size:16px!important;line-height:1.35}.carousel-slide .card-content p,.carousel-slide .card-content time{display:none}.carousel-slide .card-content{padding:24px 18px!important}.carousel-slide .card-content .read-more{display:inline-block;margin-top:12px}
.how-tablist{display:flex;justify-content:center;gap:14px;margin:34px 0 45px}.how-tablist button{border:0;background:#b58b00;color:#fff6be;border-radius:30px;font-weight:700;padding:14px 24px;cursor:pointer}.how-tablist button[aria-selected="true"]{background:#182b40;color:#ffda23;box-shadow:0 7px 15px #4b39002e}.how-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;text-align:left;margin-bottom:45px}.how-cards>div{position:relative;background:#3b4033;box-shadow:0 12px 23px #50430050;padding:30px 24px 24px;min-height:270px;border-radius:18px}.reference-steps.how-cards .step-index{position:absolute;top:-14px;left:22px;width:auto;min-width:38px;height:30px;border-radius:10px;background:#ffd714;font-size:14px;color:#151515}.reference-steps.how-cards .step-icon{display:flex;width:58px;height:58px;border:1px solid #6d6b45;border-radius:15px;background:#42453b;font-size:27px;margin-bottom:30px;box-shadow:0 4px 10px #0002}.how-cards h3{font-size:17px;color:#fff;margin:12px 0}.how-cards p{font-size:14px;line-height:1.7;color:#e2e3df}.reference-long-guide>h2{background:#ffa500}.reference-long-guide table{width:100%;border-collapse:collapse}.reference-long-guide th{background:#ffa500}.reference-long-guide tbody tr:nth-child(odd){background:#efefef;color:#374151}.reference-long-guide tbody tr:nth-child(even){background:#ffa500}.reference-faq>div{margin:0 0 30px}.reference-faq h3{font-size:inherit;font-weight:500;margin:0 0 22px}.reference-faq p{margin:0}
@media(min-width:1150px){.how-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.reference-carousel{--ring-card:185px;--ring-radius:255px}.carousel-stage{height:355px;perspective:850px}.carousel-cards{top:32px;height:285px}.carousel-slide[data-slide] .post-card{height:285px}.carousel-slide .card-content h3{font-size:12px!important}.carousel-slide .card-content{padding:17px 12px!important}.how-tablist{gap:10px;margin:25px 0 35px}.how-tablist button{font-size:10px;padding:11px 16px}.how-cards{gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:30px}.reference-steps.how-cards>div{padding:25px 12px 16px;min-height:205px;border-radius:13px}.reference-steps.how-cards .step-index{left:14px;top:-11px;min-width:28px;height:24px;font-size:10px;border-radius:8px}.reference-steps.how-cards .step-icon{width:40px;height:40px;min-width:40px;font-size:21px;border-radius:10px;margin-bottom:25px}.reference-steps.how-cards h3{font-size:11px;margin:10px 0}.reference-steps.how-cards p{font-size:10px;line-height:1.6}.reference-faq h3{font-size:12px}.reference-faq>div{margin-bottom:27px}}
@media(max-width:359px){.how-cards{grid-template-columns:1fr 1fr}.reference-steps.how-cards>div{min-height:200px}}

.cmg-reference .reference-long-guide>h2{background:#ffa500}
.carousel-slide[aria-hidden="true"]{pointer-events:none}

/* Desktop navigation follows the supplied reference; phones retain the drawer. */
@media(min-width:1200px){
.cmg-reference .menu-toggle,.cmg-reference .drawer-close{display:none}
.cmg-reference .nav-shell{height:auto;position:relative;background:#fcc915;border:0}
.cmg-reference .nav-row{display:flex;align-items:center;flex-wrap:nowrap;min-height:62px;padding:0;width:calc(100% - 44px);max-width:1400px;gap:12px}
.cmg-reference .navigation{position:static;inset:auto;width:auto;max-width:none;flex:1;order:0;flex-basis:auto;overflow:visible;padding:0;background:transparent;color:#111;transform:none;visibility:visible;transition:none;display:block}
.cmg-reference .navigation>.menu{display:flex;align-items:center;justify-content:space-between;gap:0}
.cmg-reference .menu>li{border:0;position:relative}
.cmg-reference .menu>li>a{display:block;color:#111;font-size:clamp(12px,1.03vw,15px);font-weight:700;padding:18px 8px;white-space:nowrap;line-height:1.5}
.cmg-reference .menu>li.menu-item-has-children>a{padding-right:25px}
.cmg-reference .menu>li.current-menu-item>a{color:#fff}
.cmg-reference .menu>li.current-menu-item>a:after{content:"";position:absolute;left:8px;right:8px;bottom:8px;height:2px;background:white}
.cmg-reference .menu .submenu-toggle{top:15px;right:0;width:22px;height:30px;color:#111;font-size:15px}
.cmg-reference .menu .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:240px;padding:7px 0;background:#fff;color:#111;box-shadow:0 12px 25px #0003;border:0;z-index:1001}
.cmg-reference .menu .sub-menu a{display:block;padding:11px 18px;color:#222;font-size:13px;line-height:1.5;border:0}
.cmg-reference .menu .sub-menu a:hover{background:#fff3b2;color:#111}
.cmg-reference .menu>li:hover>.sub-menu,.cmg-reference .menu>li:focus-within>.sub-menu,.cmg-reference .menu>li.submenu-open>.sub-menu{display:block}
.cmg-reference .menu>li:last-child>.sub-menu{left:auto;right:0}
.cmg-reference .nav-search{display:block;color:#335c85;background:transparent;padding:7px;font-size:25px}
}
.cmg-reference .ticker:hover .ticker-track,.cmg-reference .ticker:focus-within .ticker-track{animation-play-state:paused}

.post-recommendations{margin:36px 0}.post-recommendations>h2{font-size:24px;background:#ffa500;color:#202020;padding:18px 24px;font-weight:500}.recommendations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.recommendations-grid .post-card{height:100%;min-width:0}.recommendations-grid .card-content h3{font-size:17px}.recommendations-grid .card-content p{font-size:12px}@media(max-width:650px){.recommendations-grid{gap:12px}.post-recommendations>h2{font-size:19px;padding:16px 20px}.recommendations-grid .card-content h3{font-size:12px}.recommendations-grid .card-content p{font-size:10px}}
