/* Bright puzzle portal — exclusive to coolmathggames.net. */
body.identity-puzzle,.identity-puzzle .all{background:#f4f7ff;color:#182841;font-family:'Trebuchet MS',Verdana,sans-serif}.identity-puzzle .all .bdcn{background:#f4f7ff!important}.identity-puzzle .identity-header{background:#fff;border-bottom:1px solid #d8e0f0}.identity-puzzle .cmg-header-inner{display:flex;align-items:center;justify-content:space-between;text-align:left;max-width:1240px;padding:18px 28px;gap:24px}.identity-puzzle .cmg-brand{justify-content:flex-start;font:800 26px/1.1 'Trebuchet MS',sans-serif;color:#142d65!important;letter-spacing:-1px;margin:0}.identity-puzzle .cmg-brand small{color:#607291;font:700 9px/1.4 'Trebuchet MS',sans-serif;letter-spacing:1.8px;margin-top:7px}.puzzle-brand-grid{display:grid;grid-template-columns:repeat(2,15px);gap:4px;transform:rotate(-8deg);flex:none}.puzzle-brand-grid i{width:15px;height:15px;background:#2958e8;border-radius:4px}.puzzle-brand-grid i:nth-child(2),.puzzle-brand-grid i:nth-child(3){background:#ffd451}.identity-puzzle .identity-header nav{margin:0;gap:8px;justify-content:flex-end}.identity-puzzle .identity-header nav a{font:700 13px/1.4 'Trebuchet MS',sans-serif;border-radius:24px;color:#34496c;padding:0 16px}.identity-puzzle .identity-header nav a:hover{background:#ecf1ff;color:#2256ed}.identity-puzzle .identity-home{max-width:1240px;padding:28px 28px 48px}.puzzle-launch{display:grid;grid-template-columns:1.12fr 1fr;gap:40px;padding:36px;margin-bottom:24px;background:#e6edff;border:1px solid #cedbfd;border-radius:24px;align-items:center;position:relative;overflow:hidden}.puzzle-badge{display:inline-block;font:800 10px/1.5 'Trebuchet MS',sans-serif;letter-spacing:1.5px;color:#3151a1;margin:0}.puzzle-launch-copy h1{font:900 clamp(36px,4.2vw,57px)/1.08 'Trebuchet MS',sans-serif;letter-spacing:-1.9px;color:#182b53;margin:16px 0}.puzzle-launch-copy h1 span{color:#2256ed;position:relative;z-index:0}.puzzle-launch-copy>p:not(.puzzle-badge){font:400 16px/1.75 'Trebuchet MS',sans-serif;color:#526583;max-width:48ch;margin:16px 0}.puzzle-primary{display:inline-flex;align-items:center;gap:28px;padding:0 22px;min-height:48px;background:#2256ed;color:#fff!important;border-radius:12px;font:700 14px/1.4 'Trebuchet MS',sans-serif;text-decoration:none!important;box-shadow:0 4px 0 #123ab0;margin-top:6px}.puzzle-primary:hover{background:#1645cc}.puzzle-minitags{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.puzzle-minitags span{font:700 9px/1.5 'Trebuchet MS',sans-serif;letter-spacing:1px;color:#5b6c8d}.puzzle-minitags span+span:before{content:'·';margin-right:12px;color:#2256ed}.puzzle-launch-picks{min-width:0}.puzzle-picks-caption{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;color:#364c7d}.puzzle-picks-caption>span{background:#ffd451;border-radius:6px;padding:5px 8px;font:800 9px/1.5 'Trebuchet MS',sans-serif;letter-spacing:1px;white-space:nowrap}.puzzle-picks-caption>strong{font-size:13px}.puzzle-starter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.puzzle-starter{display:grid;grid-template-columns:1fr 16px;padding:9px;background:#fff;border:1px solid #d4dff6;border-radius:14px;color:#1d355d!important;text-decoration:none!important;box-shadow:0 5px 0 #ced9f4;min-width:0;align-items:center}.puzzle-starter>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;grid-column:1/-1;display:block}.puzzle-starter>span{padding:9px 3px 2px;min-width:0}.puzzle-starter small{font-size:9px;color:#6e7d95;display:block;margin-bottom:4px}.puzzle-starter strong{font-size:12px;line-height:1.3;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.puzzle-starter>b{color:#2256ed}.puzzle-starter:hover{border-color:#2256ed;transform:translateY(-2px)}.identity-puzzle .cmg-explorer{background:#fff;border:1px solid #d9e1f2;border-radius:18px;padding:22px!important;margin:0 0 24px!important;color:#182841;box-shadow:0 5px 18px #233e8310}.identity-puzzle .cmg-explorer-heading strong{font:800 20px/1.3 'Trebuchet MS',sans-serif;color:#1a3561}.identity-puzzle .cmg-explorer-heading span,.identity-puzzle .cmg-storage-note{font:400 12px/1.5 'Trebuchet MS',sans-serif;color:#6e7c96}.identity-puzzle .cmg-search input,.identity-puzzle .cmg-search select{border:1px solid #c6d2eb;border-radius:10px;font-size:14px;min-height:46px}.identity-puzzle .cmg-search button{background:#2256ed;border-color:#2256ed;border-radius:10px;color:#fff;font:800 12px/1.4 'Trebuchet MS',sans-serif;min-height:46px}.identity-puzzle .cmg-library-buttons button{border:1px solid #d5dff2;background:#f3f6fd;color:#355588;border-radius:8px;font-size:11px;text-decoration:none;padding:8px 12px;min-height:40px}.puzzle-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 38px}.puzzle-quicklinks>a{display:flex;align-items:center;gap:12px;padding:18px;background:#fff;border:1px solid #d9e1f2;border-radius:16px;color:#203c6b!important;text-decoration:none!important;min-width:0}.puzzle-quicklinks>a:nth-child(2){background:#fff8df;border-color:#f0e0a4}.puzzle-quicklinks>a:nth-child(3){background:#edf7f4;border-color:#cce5db}.puzzle-icon{width:42px;height:42px;border-radius:11px;background:#e7edff;color:#2256ed;display:grid;place-content:center;font-size:25px;flex:none}.puzzle-quicklinks>a:nth-child(2) .puzzle-icon{background:#ffecb1;color:#8e6512}.puzzle-quicklinks>a:nth-child(3) .puzzle-icon{background:#d2ede3;color:#246f56;font-size:21px;font-weight:800}.puzzle-quicklinks strong{font-size:14px;display:block}.puzzle-quicklinks small{font-size:11px;line-height:1.5;color:#6b7b91;display:block;margin-top:4px}.puzzle-quicklinks b{margin-left:auto;color:#3a5888}.identity-puzzle .cmg-home-section{margin:34px 0 42px}.identity-puzzle .cmg-home-section h2{font:800 27px/1.25 'Trebuchet MS',sans-serif;color:#1c3560;letter-spacing:-.7px;margin-bottom:20px}.identity-puzzle .cmg-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.identity-puzzle .cmg-game-card{background:#fff;padding:10px;border:1px solid #dbe3f2;border-radius:16px;box-shadow:0 4px 0 #e1e8f6;gap:12px;color:#1b355f!important}.identity-puzzle .cmg-game-card img{border-radius:10px;aspect-ratio:4/3}.identity-puzzle .cmg-game-card span{font:700 14px/1.45 'Trebuchet MS',sans-serif;padding:0 5px 8px}.identity-puzzle .cmg-game-card:hover{border-color:#2256ed;background:#fff;transform:translateY(-3px);box-shadow:0 7px 0 #d0dcff}.puzzle-pause{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:24px;background:#fff1bf;border-radius:18px;padding:28px 32px;margin:36px 0;border:1px solid #ead694}.puzzle-pause>span{display:grid;place-content:center;background:#ffd451;color:#594515;border-radius:20px;width:66px;height:66px;font:800 48px/1 'Trebuchet MS',sans-serif;transform:rotate(-8deg)}.puzzle-pause .puzzle-badge{color:#8a6920;font-size:9px}.puzzle-pause h2{font:800 25px/1.2 'Trebuchet MS',sans-serif;color:#65501c;margin:8px 0}.puzzle-pause p:last-child{font:400 13px/1.7 'Trebuchet MS',sans-serif;color:#7e6b37;margin:0;max-width:64ch}.puzzle-pause>a{color:#69521c;font-size:13px;font-weight:800;min-height:44px;display:inline-flex;align-items:center;gap:14px;white-space:nowrap}.identity-puzzle .identity-footer{background:#152b55;color:#c4d1e8;border-top:0}.identity-puzzle .identity-footer strong{font:800 27px/1.3 'Trebuchet MS',sans-serif;color:#fff}.identity-puzzle .identity-footer-tag{font:400 20px/1.5 'Trebuchet MS',sans-serif!important}.identity-puzzle .identity-footer a{color:#e4ecff}.identity-puzzle .post-sngl>header h1{font-family:'Trebuchet MS',sans-serif!important;color:#1a3561!important}.identity-puzzle .cmg-game-tools button{background:#edf2ff;border-color:#b8c9f3;border-radius:10px;color:#2256ed}.identity-puzzle .cmg-game-tools [aria-pressed=true]{background:#2256ed;color:#fff}.identity-puzzle .cmg-all-results{color:#2256ed}.identity-puzzle .cmg-library,.identity-puzzle .cmg-search-results{background:#fff;border-color:#d4def3;border-radius:14px}.identity-puzzle .cmg-brand:focus-visible,.puzzle-primary:focus-visible,.puzzle-starter:focus-visible,.puzzle-quicklinks a:focus-visible{outline:3px solid #d39800;outline-offset:4px}
@media(max-width:1000px){.puzzle-launch{gap:26px;padding:26px}.puzzle-launch-copy h1{font-size:43px}.puzzle-quicklinks>a{padding:15px;gap:10px}.puzzle-quicklinks small{display:none}.puzzle-pause{grid-template-columns:64px 1fr}.puzzle-pause>a{grid-column:2}.identity-puzzle .cmg-header-inner{padding:18px 24px;gap:14px}.identity-puzzle .cmg-brand{font-size:24px}.identity-puzzle .identity-header nav a{padding:0 10px}}
@media(max-width:760px){.identity-puzzle .cmg-header-inner{display:block;padding:18px 16px}.identity-puzzle .cmg-brand{font-size:25px;justify-content:flex-start}.identity-puzzle .identity-header nav{justify-content:flex-start;margin-top:16px;gap:8px}.identity-puzzle .identity-header nav a{padding:0 12px;min-height:38px;background:#f1f5ff;font-size:12px}.identity-puzzle .identity-home{padding:18px 14px 36px}.puzzle-launch{grid-template-columns:1fr;padding:24px 20px;gap:26px;border-radius:18px}.puzzle-launch-copy h1{font-size:42px!important;letter-spacing:-1.7px}.puzzle-launch-copy>p:not(.puzzle-badge){font-size:14px}.puzzle-picks-caption{margin-bottom:12px}.puzzle-picks-caption>strong{font-size:11px}.puzzle-starter-grid{gap:10px}.puzzle-starter{padding:7px;border-radius:12px}.puzzle-starter strong{font-size:11px}.puzzle-starter small{font-size:8px}.identity-puzzle .cmg-explorer{padding:18px!important;border-radius:14px}.identity-puzzle .cmg-explorer-heading strong{font-size:19px}.puzzle-quicklinks{grid-template-columns:1fr;gap:10px;margin-bottom:28px}.puzzle-quicklinks small{display:block}.puzzle-quicklinks>a{padding:14px}.identity-puzzle .cmg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.identity-puzzle .cmg-game-card{padding:8px;border-radius:12px}.identity-puzzle .cmg-game-card span{font-size:12px;padding:0 3px 6px}.identity-puzzle .cmg-home-section h2{font-size:25px}.puzzle-pause{padding:22px;grid-template-columns:1fr;gap:18px}.puzzle-pause>a{grid-column:auto}.puzzle-pause>span{width:48px;height:48px;font-size:36px;border-radius:14px}.puzzle-pause h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.puzzle-refresh *{transform:none!important;transition:none!important}}
