/* 123game: calm navigation, generous typography, game-first browsing. */
:root{--page:#f3f5f6;--surface:#fff;--surface2:#edf1f3;--text:#172328;--muted:#718087;--border:#e1e7e9;--dark:#172d2b;--lime:#c4ec83;--sidebar:224px;--shadow:0 12px 30px #14282908}
.boot-loader{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.boot-loader b{font-size:24px}.boot-loader>.boot-caption{font-size:13px;color:var(--muted)}
body{font-size:15px;line-height:1.5;background:var(--page)}h1,h2,h3{letter-spacing:-.7px}button,input,textarea,select{font-size:14px}
.sidebar{padding:30px 18px 18px}.sidebar>.brand{margin:0 11px 39px;font-size:27px;letter-spacing:-1.5px}.brand img{width:36px;height:36px}.nav-label{font-size:10px;letter-spacing:1.6px;color:var(--muted);margin-bottom:13px}.primary-nav a,.category-nav a{font-size:13px;padding:12px 13px;gap:12px;color:#637379}.primary-nav a.active,.category-nav a.active{background:#eaf3e1;color:#314e30}.category-label{margin-top:32px}.nav-count{font-size:11px;border-radius:6px}.side-tip{background:#f1f5ee;border:0;border-radius:14px;padding:17px}.side-tip b{font-size:13px}.side-tip p{font-size:12px}.side-tip a{font-size:11px}.sidebar-foot{font-size:9px}
.topbar{height:82px;padding:0 34px;gap:16px;background:#ffffffed;backdrop-filter:blur(14px)}.top-nav{gap:22px}.top-nav a{font-size:12px;gap:8px}.top-nav a.selected{color:#284e32}.searchbar{width:260px;border-radius:10px;padding:12px;background:#f0f3f4}.searchbar input{font-size:12px}.account-button{font-size:12px;padding:12px 15px;border-radius:10px;background:#183c2a}.theme-button{width:39px;height:39px}.page-home,.page-standard,.page-game{max-width:1570px;margin:auto;padding:29px 34px 45px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px}.button{border-radius:10px;padding:13px 20px;font-size:13px;font-weight:750;gap:10px}.button.lime{background:var(--lime);color:#1d3921}.button.dark{background:#1c3828}.button.outline{border-color:var(--border)}
.home-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.home-heading .eyebrow{color:#536b5c}.home-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.library-count{display:flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--border);border-radius:25px;padding:8px 13px;font-size:11px;color:var(--muted)}.library-count .icon{width:14px;height:14px;color:#749365}.library-count b{font-size:12px;color:var(--text)}
.home-lead{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:20px;margin-bottom:22px}.professional-home .hero-pro{height:390px;min-height:0;border-radius:18px;background:#142c29;overflow:hidden;position:relative;display:block;border:0}.professional-home .hero-copy{position:relative;z-index:2;width:63%;height:100%;padding:33px 30px;pointer-events:none}.hero-copy a{pointer-events:auto}.hero-label{font-size:9px;font-weight:750;letter-spacing:1.5px;color:#c2d6c5;display:flex;gap:8px;align-items:center}.hero-label i{width:6px;height:6px;background:#c4ec83;border-radius:50%}.professional-home .hero h1{font-size:46px;line-height:1.11;letter-spacing:-1.9px;margin:24px 0 18px;color:#fff}.professional-home .hero p{font-size:12px;line-height:1.8;color:#bccdc4;margin-bottom:25px;max-width:none}.professional-home .hero-actions{display:flex;gap:16px;align-items:center}.hero-library{font-size:10px;font-weight:600;color:#e6f1e9;border-bottom:1px solid #ffffff55;padding:6px 0}.hero-footnote{display:flex;align-items:center;gap:6px;font-size:9px;color:#93b29c;margin-top:24px}.hero-footnote .icon{width:13px;height:13px}.hero-visual{position:absolute;inset:0 0 0 auto;width:52%;overflow:hidden}.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#142c29 0%,#142c2966 38%,#142c2910 75%),linear-gradient(0deg,#10211dcc,transparent 65%)}.hero-visual>img{width:100%;height:100%;object-fit:cover;opacity:.79}.hero-game-caption{position:absolute;bottom:23px;right:21px;left:40%;z-index:1;color:white}.hero-game-caption>span{font-size:8px;letter-spacing:1.5px;display:block;color:#c9dfbc;margin-bottom:5px}.hero-game-caption strong{font-size:14px;line-height:1.3;display:block}.hero-game-caption>.icon{margin-top:9px;width:23px;height:23px;padding:5px;box-sizing:content-box;border:1px solid #ffffff66;border-radius:50%}
.editors-picks{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:23px 20px;display:flex;flex-direction:column}.picks-heading{display:flex;align-items:center;justify-content:space-between}.picks-heading .eyebrow{color:#78877e;font-size:9px}.picks-dot{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f0f5e9;color:#688345}.picks-dot .icon{width:13px;height:13px}.editors-picks h2{font-size:23px;margin:9px 0 5px}.editors-picks>p{font-size:11px;color:var(--muted);margin-bottom:15px}.pick-row{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:13px 0}.pick-number{font-size:10px;color:#8a9690}.pick-row>img{width:47px;height:47px;object-fit:cover;border-radius:10px}.pick-row>span:not(.pick-number){flex:1;min-width:0}.pick-row b{font-size:11px;line-height:1.4;display:block}.pick-row small{display:block;font-size:9px;margin-top:4px;color:var(--muted)}.pick-row>.icon{width:13px;height:13px;color:#a1aaa4}.pick-row:hover b{color:#488127}.picks-random{margin-top:auto;border-top:1px solid var(--border);padding-top:16px;display:flex;align-items:center;gap:8px;font-size:11px;color:#537438;font-weight:650;cursor:pointer}.picks-random>.icon{width:14px;height:14px}.picks-random>.icon:last-child{margin-left:auto}
.category-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:38px}.category-tiles>a{display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--border);padding:13px 11px;border-radius:12px;transition:transform .15s,border-color .15s}.category-tiles>a:hover{border-color:#96b879;transform:translateY(-2px)}.category-icon{width:30px;height:34px;background:#f1f5e9;color:#638349;border-radius:9px;display:grid;place-items:center}.category-icon .icon{width:16px;height:16px}.category-tiles b{font-size:11px;display:block;white-space:nowrap}.category-tiles small{font-size:9px;display:block;color:var(--muted);margin-top:3px}.category-tiles>a>.icon{display:none}
.game-section{margin-bottom:35px}.section-heading{margin-bottom:18px;align-items:center}.section-heading h2{font-size:25px;letter-spacing:-.9px;margin:0 0 5px}.section-heading h2>span:empty{display:none}.section-heading p{font-size:12px;color:var(--muted);margin:0}.text-link{font-size:11px;gap:7px;color:#52783d}.game-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.game-grid>.game-card{display:block!important}.game-card{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:6px;overflow:hidden;transition:transform .18s,box-shadow .18s}.game-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px #19342512}.card-image{border-radius:9px;aspect-ratio:1.15}.card-info{padding:10px 5px 7px}.card-title{font-size:12px;line-height:1.5;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}.card-meta{font-size:9px;margin-top:7px;gap:4px;color:#8b9791}.card-meta>span{display:flex;align-items:center;gap:3px}.card-meta .icon{width:10px;height:10px}.badge{font-size:7px;padding:4px 6px;top:9px;left:9px;border-radius:5px}.badge.new{background:#e8f2dc;color:#45642e}.badge.hot{background:#fff0dd;color:#a27136}.favorite{right:12px;top:12px;width:25px;height:25px;border-radius:50%;background:#fffffff2}.card-play{font-size:11px;gap:5px}.card-play .icon{width:15px;height:15px}
.collection-banners{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:7px 0 38px}.collection-banner{position:relative;display:flex;align-items:center;justify-content:space-between;padding:27px 30px;border-radius:15px;overflow:hidden}.collection-banner.vietnam{background:#e7efdb;color:#334d2b}.collection-banner.puzzles{background:#dfeaf0;color:#304852}.collection-banner .eyebrow{font-size:8px;opacity:.7}.collection-banner h2{font-size:25px;margin:10px 0 7px}.collection-banner p{font-size:11px;opacity:.7;margin-bottom:15px}.collection-link{display:flex;gap:7px;align-items:center;font-size:11px;font-weight:750}.collection-link .icon{width:14px;height:14px}.collection-art{font-size:80px;line-height:1;font-weight:900;letter-spacing:-9px;color:#b7cca6;transform:rotate(-9deg);margin-left:20px}.collection-art>span{font-size:40px;position:absolute;right:-10px;top:-20px;color:#93b37d;letter-spacing:0}.collection-art>.icon{width:84px;height:84px;color:#a6bec8;stroke-width:1.1;transform:rotate(20deg)}
.page-title h1{font-size:38px;line-height:1.2;margin:12px 0 14px}.page-title p{font-size:14px;max-width:680px}.filter-pills{gap:8px}.filter-pills button{font-size:12px;padding:10px 14px;border-radius:8px}.filter-pills button.active{background:#294f38;color:#fff;border-color:#294f38}.catalog-toolbar{font-size:13px;margin:24px 0}.catalog-toolbar select{font-size:12px;padding:10px 13px;border-radius:8px}.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:19px}.catalog-grid .card-image{aspect-ratio:1.35}.catalog-grid .card-title{font-size:13px;min-height:39px}.load-more .button{min-width:220px;background:var(--surface)}
.game-layout{grid-template-columns:minmax(0,1fr) 252px;gap:23px}.breadcrumbs{font-size:11px;gap:9px;margin-bottom:18px}.game-screen{background:#0e1920;border-radius:15px 15px 0 0;min-height:440px;aspect-ratio:1.5}.game-toolbar{padding:19px 20px;border:1px solid var(--border);border-top:0;border-radius:0 0 15px 15px;gap:15px}.game-toolbar h1{font-size:20px;line-height:1.3}.game-toolbar>div span{font-size:11px}.game-toolbar img{width:47px;height:47px;border-radius:10px}.tool-button{width:36px;height:36px;border-radius:9px}.game-detail{border-radius:15px;margin-top:24px;padding:0 24px 25px}.detail-tabs{gap:30px}.detail-tabs button{font-size:13px;padding:19px 0}.game-detail h3{font-size:18px}.game-detail p{font-size:13px;line-height:1.85}.game-rail{border-radius:15px;padding:22px 18px}.game-rail h3{font-size:15px}.related-game{padding:13px 0;gap:10px}.related-game b{font-size:12px;line-height:1.5;max-width:none;white-space:normal}.related-game small{font-size:10px}.related-game img{width:44px;height:44px;border-radius:9px}.rail-head{font-size:13px}.game-bottom-links{font-size:11px;padding:15px 3px}.game-screen:fullscreen{border-radius:0;aspect-ratio:auto;min-height:100vh}.game-screen:fullscreen iframe{height:100vh}
.site-footer{padding:35px 34px;border-top:1px solid var(--border);gap:32px;background:var(--surface)}.site-footer .brand{font-size:24px}.site-footer p{font-size:12px}.site-footer nav{font-size:12px;gap:24px}.site-footer>span{font-size:10px}.rank-row{font-size:13px}.ranking-toolbar select{font-size:12px}.challenge-card{border-radius:15px}.challenge-card h2{font-size:23px}.challenge-card p{font-size:13px}.feed-card{border-radius:18px}.feed-card p{font-size:14px}.profile-heading h1{font-size:32px}.profile-heading p{font-size:13px}.profile-stats span{font-size:12px}dialog{border-radius:18px}dialog h2{font-size:27px}dialog p,dialog label{font-size:13px}dialog input,dialog textarea{font-size:14px;padding:13px}.auth-switch{font-size:13px}.auth-switch button{font-size:13px}
[data-theme=dark]{--page:#111d23;--surface:#192931;--surface2:#22343c;--text:#e2ece8;--muted:#94aaa3;--border:#2b4047;--dark:#3c5f43}[data-theme=dark] .topbar{background:#192931f5}[data-theme=dark] .searchbar{background:#22343c}[data-theme=dark] .side-tip{background:#25382d}[data-theme=dark] .primary-nav a.active,[data-theme=dark] .category-nav a.active{background:#304c38;color:#d8edc5}[data-theme=dark] .category-icon,[data-theme=dark] .picks-dot{background:#2b4132;color:#b4d191}[data-theme=dark] .collection-banner.vietnam{background:#2a402f;color:#e3edda}[data-theme=dark] .collection-banner.puzzles{background:#293f4a;color:#dfebed}[data-theme=dark] .collection-art{color:#46664a}[data-theme=dark] .collection-art>.icon{color:#486575}[data-theme=dark] .favorite{background:#22343ceb}[data-theme=dark] .top-nav a.selected{color:#cee3b8}
@media(min-width:1600px){.home-lead{grid-template-columns:minmax(0,1fr) 330px}.professional-home .hero-pro{height:430px}.professional-home .hero-copy{padding:42px}.professional-home .hero h1{font-size:57px}.professional-home .hero p{font-size:14px}.hero-game-caption strong{font-size:18px}.editors-picks{padding:25px}.pick-row{padding:16px 0}.pick-row b{font-size:13px}.pick-row>img{width:54px;height:54px}.card-title{font-size:14px}.card-meta{font-size:10px}.category-tiles b{font-size:13px}}
@media(max-width:1200px){:root{--sidebar:194px}.topbar{padding:0 24px;gap:10px}.top-nav{gap:14px}.top-nav a{font-size:10px}.searchbar{width:205px}.page-home,.page-standard,.page-game{padding:24px}.home-lead{grid-template-columns:minmax(0,1fr) 245px;gap:15px}.professional-home .hero h1{font-size:39px}.professional-home .hero-copy{padding:29px 24px;width:67%}.professional-home .hero p{font-size:11px}.professional-home .hero-actions{gap:11px}.hero-actions .button{font-size:11px;padding:12px 16px}.hero-library{font-size:9px}.editors-picks{padding:20px 15px}.editors-picks h2{font-size:20px}.pick-row{gap:7px}.pick-row>img{width:40px;height:40px}.pick-row b{font-size:10px}.pick-number{font-size:9px}.category-tiles{grid-template-columns:repeat(3,1fr)}.category-tiles b{font-size:12px}.category-tiles>a{padding:13px}.category-tiles>a>.icon{display:block;margin-left:auto;width:13px;height:13px;color:#a3b1a7}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.game-layout{grid-template-columns:minmax(0,1fr) 220px;gap:17px}.game-toolbar h1{font-size:17px}.game-toolbar{padding:15px}.game-rail{padding:18px 15px}.collection-banner{padding:25px}.collection-banner h2{font-size:23px}.collection-art{font-size:60px}.collection-art>.icon{width:65px;height:65px}.collection-art>span{font-size:29px}}
@media(max-width:1000px){.top-nav a:last-child{display:none}.home-lead{grid-template-columns:1fr}.professional-home .hero-pro{height:370px}.professional-home .hero-copy{width:60%;padding:33px}.professional-home .hero h1{font-size:45px}.professional-home .hero p{font-size:12px}.hero-game-caption{left:45%}.editors-picks{padding:18px 20px;display:block}.picks-heading,.editors-picks>p,.picks-random{display:none}.editors-picks h2{font-size:17px;margin:0 0 13px}.picks-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pick-row{border:0;padding:0}.pick-number{display:none}.pick-row>.icon{display:none}.pick-row b{font-size:10px}.pick-row small{font-size:8px}.game-layout{grid-template-columns:1fr}.game-rail{display:none}.collection-banners{gap:14px}.collection-banner{padding:23px}.collection-art{display:none}.collection-banner p{font-size:11px}.game-screen{min-height:440px}.site-footer{padding:28px 24px 90px}}
@media(max-width:760px){:root{--sidebar:224px}.topbar{height:68px;padding:0 16px}.top-nav{display:none}.searchbar{max-width:none;width:auto;flex:1;padding:11px 12px}.searchbar input{font-size:12px}.account-button{padding:10px}.theme-button{width:34px;height:34px}.page-home,.page-standard,.page-game{padding:22px 18px 32px}.home-heading{margin-bottom:18px}.home-heading p{font-size:12px}.home-heading .eyebrow{font-size:9px}.library-count{font-size:10px;padding:7px 10px}.professional-home .hero-copy{padding:30px;width:64%}.professional-home .hero h1{font-size:42px}.professional-home .hero p{font-size:11px}.hero-game-caption strong{font-size:13px}.game-grid,.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.card-title,.catalog-grid .card-title{font-size:12px}.card-meta{font-size:9px}.section-heading h2{font-size:23px}.section-heading p{font-size:12px;max-width:none}.text-link{font-size:10px}.game-screen{min-height:420px;height:450px}.game-toolbar h1{font-size:19px}.game-detail p{font-size:13px}.filter-pills button{font-size:12px}.page-title h1{font-size:32px}.page-title p{font-size:13px}.site-footer nav{font-size:12px}.mobile-nav{height:68px;box-shadow:0 -4px 20px #162c2908}.mobile-nav>a,.mobile-nav>button{font-size:10px;gap:5px}.mobile-nav .icon{width:21px;height:21px}.site-footer{padding-bottom:100px}.challenge-card p{font-size:12px}}
@media(max-width:480px){.topbar{padding:0 12px;gap:6px}.searchbar input{font-size:11px}.home-heading p{font-size:11px}.home-heading .eyebrow{font-size:8px}.library-count{font-size:9px;gap:5px}.page-home,.page-standard,.page-game{padding:20px 15px 30px}.home-lead{gap:13px}.professional-home .hero-pro{height:390px;border-radius:15px}.professional-home .hero-copy{padding:28px 23px;width:100%}.professional-home .hero h1{font-size:39px;line-height:1.12;margin:20px 0 15px}.professional-home .hero p{font-size:11px;max-width:240px;line-height:1.8;margin-bottom:21px}.professional-home .hero p br{display:none}.hero-label{font-size:8px}.hero-visual{width:52%;top:118px;opacity:.75}.hero-visual:after{background:linear-gradient(90deg,#142c29,#142c2966),linear-gradient(0deg,#142c29,transparent)}.hero-game-caption{display:none}.hero-actions .button{padding:12px 16px;font-size:11px}.hero-library{font-size:9px}.hero-footnote{font-size:8px;max-width:200px;margin-top:24px}.editors-picks{padding:16px}.editors-picks h2{font-size:16px}.picks-list{grid-template-columns:1fr;gap:0}.pick-row{padding:10px 0;border-top:1px solid var(--border);gap:11px}.pick-row>img{width:44px;height:44px}.pick-row b{font-size:12px}.pick-row small{font-size:10px}.pick-row>.icon{display:block;margin-left:auto}.pick-number{display:inline;font-size:10px}.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:28px}.category-tiles>a{padding:12px 10px;gap:8px}.category-icon{width:28px;height:32px}.category-tiles b{font-size:11px}.category-tiles small{font-size:9px}.category-tiles>a>.icon{display:none}.game-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.card-image,.catalog-grid .card-image{aspect-ratio:1.2}.card-title,.catalog-grid .card-title{font-size:12px;min-height:36px}.card-meta{font-size:9px}.card-info{padding:9px 4px 6px}.section-heading{align-items:flex-start;gap:10px}.section-heading h2{font-size:22px;line-height:1.2}.section-heading p{font-size:11px;line-height:1.7;margin-top:7px;max-width:255px}.section-heading .text-link{font-size:9px;white-space:nowrap;padding-top:5px}.collection-banners{grid-template-columns:1fr;gap:12px;margin-bottom:29px}.collection-banner{padding:24px;min-height:178px}.collection-banner h2{font-size:26px}.collection-banner p{font-size:11px;max-width:225px}.collection-art{display:block;font-size:68px;position:absolute;right:25px;bottom:24px;opacity:.7}.collection-art>.icon{width:65px;height:65px}.collection-link{font-size:11px}.page-title h1{font-size:31px}.page-title .eyebrow{font-size:9px}.page-title p{font-size:13px}.catalog-toolbar{font-size:12px;gap:8px;align-items:center}.catalog-toolbar select{font-size:11px;padding:9px}.filter-pills{gap:7px}.filter-pills button{font-size:11px;padding:9px 12px}.breadcrumbs{font-size:10px;gap:7px;line-height:1.6;flex-wrap:wrap}.game-screen{height:445px;min-height:0}.game-toolbar{padding:15px;gap:15px}.game-toolbar h1{font-size:19px}.game-toolbar nav{justify-content:flex-start;gap:8px}.tool-button{width:39px;height:37px}.game-detail{padding:0 18px 23px;margin-top:20px}.detail-tabs{gap:26px}.detail-tabs button{font-size:12px}.game-detail h3{font-size:17px}.game-detail p{font-size:13px}.game-bottom-links{font-size:10px}.site-footer{padding:30px 18px 105px;gap:23px}.site-footer nav{font-size:12px;gap:17px}.site-footer>span{font-size:10px}.rank-row{font-size:12px}.profile-stats span{font-size:10px}.profile-heading h1{font-size:24px}.challenge-card h2{font-size:20px}.challenge-card p{font-size:12px}dialog{padding:29px 24px}dialog h2{font-size:25px}dialog p{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(min-width:1201px){.professional-home>.game-section:last-child .game-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.game-main{min-width:0}.game-screen{width:100%;max-width:100%;min-width:0}
@media(max-width:760px){.game-screen{aspect-ratio:auto}}
