:root{--ink:#15233e;--muted:#74839b;--blue:#2868ed;--line:#e6ebf4;--gap:10px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f7fc;color:var(--ink);font-family:Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,.board:focus-visible{outline:3px solid #8bbcff;outline-offset:3px}a{text-decoration:none;color:inherit}.topbar{height:76px;position:sticky;top:0;z-index:20;background:#ffffffed;backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.topbar-inner{max-width:1110px;margin:auto;height:100%;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:11px}.brand-icon{width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#407dff,#1244b9);box-shadow:0 8px 20px #285ce536;display:grid;place-items:center;color:white;font-size:15px;font-weight:900;letter-spacing:-1px}.brand-icon span{color:#bfe9ff}.brand-word{display:block;font-size:20px;font-weight:850;letter-spacing:-.7px;line-height:1.15}.brand-word b{color:#2868ed}.brand-word small{display:block;font-size:9px;letter-spacing:1.7px;color:#99a6b9;margin-top:4px;font-weight:800}.company-link{color:#1b59c3;background:#eef4ff;border:1px solid #dbe8ff;padding:11px 15px;border-radius:12px;font-weight:800;font-size:13px;white-space:nowrap}.company-link:hover{background:#dae9ff}.main{max-width:1110px;margin:0 auto;padding:0 22px}.hero{position:relative;margin:28px 0 24px;min-height:263px;overflow:hidden;border-radius:27px;background:radial-gradient(circle at 80% 15%,#496eef 0,transparent 37%),linear-gradient(120deg,#0c1c40 0%,#183b89 55%,#2559d4 100%);color:white;padding:34px 48px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 16px 40px #193a7c22}.hero:before,.hero:after{content:"";position:absolute;width:310px;height:310px;border:1px solid #ffffff16;border-radius:100%;right:-110px;bottom:-220px}.hero:after{width:500px;height:500px;right:-230px;bottom:-390px}.hero-text{position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:900;letter-spacing:1.4px;color:#b6d0ff;margin:0 0 11px;display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;border-radius:50%;background:#72edb3;box-shadow:0 0 0 5px #73eab420}.hero h1{font-size:37px;line-height:1.32;letter-spacing:-1.8px;margin:0;font-weight:900}.hero h1 em{font-style:normal;color:#ffe19a}.lead{font-size:13px;color:#cbdbfa;line-height:1.75;margin:12px 0 17px}.hero-cta{display:inline-flex;align-items:center;gap:11px;padding:10px 15px;border-radius:10px;background:#fff;color:#1847a2;font-size:12px;font-weight:900}.hero-cta:hover{background:#f1f6ff}.hero-art{position:relative;width:280px;height:185px;flex:none;margin-right:35px}.art-tile{position:absolute;width:97px;height:97px;border-radius:21px;display:grid;place-items:center;font-size:41px;font-weight:900;box-shadow:0 18px 30px #08143250;border:1px solid #ffffff88}.tile-a{left:0;top:45px;transform:rotate(-18deg);background:#fff5e5;color:#8e7358}.tile-b{left:66px;top:3px;transform:rotate(13deg);background:#f9ddbb;color:#8b6243}.tile-c{left:132px;top:58px;transform:rotate(-11deg);background:#ffb76d;color:#fff}.tile-d{left:187px;top:11px;width:84px;height:84px;transform:rotate(14deg);background:#fd865f;color:white;font-size:32px}.art-spark{position:absolute;color:#ffd889;font-size:31px}.spark-a{left:20px;top:0}.spark-b{right:0;bottom:0}.game-shell{scroll-margin-top:94px;padding:26px 29px 17px;border:1px solid #e4eaf3;border-radius:26px;background:white;box-shadow:0 16px 60px #203e7810}.game-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f6;padding-bottom:22px;margin-bottom:22px;gap:10px}.game-title{display:flex;align-items:center;gap:12px}.game-mark{display:grid;place-items:center;width:46px;height:46px;background:#eaf1ff;border-radius:14px;color:#2165ee;font-size:29px}.mini-label{font-size:10px;letter-spacing:2px;color:#8da2c1;font-weight:900;margin:0 0 5px}.game-title h2{font-size:24px;margin:0;letter-spacing:-1px}.play-badge{font-size:11px;font-weight:900;color:#23816c;background:#e6f9f3;border-radius:30px;padding:9px 12px;white-space:nowrap}.play-badge span{display:inline-block;background:#30ba92;width:7px;height:7px;border-radius:50%;margin-right:5px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:26px;align-items:start}.game-main{min-width:0}.score-group{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.score-card{background:#f5f7fb;border:1px solid #e8edf5;border-radius:14px;padding:11px 14px;min-width:0}.score-card span{display:block;font-size:11px;font-weight:800;color:#7b8a9f;margin-bottom:6px}.score-card strong{font-size:25px;line-height:1.2;letter-spacing:-.8px;display:block;color:#1d355a;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.score-card.best{background:#edf4ff;border-color:#d9e8ff}.score-card.best strong{color:#2868ed}.board-wrap{width:min(100%,570px);position:relative;margin:0 auto}.board{position:relative;width:100%;aspect-ratio:1;background:#abbad0;border:7px solid #a5b6ce;border-radius:20px;touch-action:none;user-select:none;-webkit-user-select:none;box-shadow:inset 0 1px 5px #6d7c9530,0 12px 20px #354c7213}.board-cells,.tiles{position:absolute;inset:var(--gap);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:var(--gap)}.board-cells>div{background:#dde4ee9c;border-radius:11px}.tiles{pointer-events:none}.tile{display:grid;place-items:center;border-radius:11px;font-size:clamp(24px,4.7vw,47px);font-weight:900;letter-spacing:-1px;line-height:1;box-shadow:inset 0 -3px #0000000b;font-variant-numeric:tabular-nums}.tile.new{animation:pop .17s ease-out both}.tile.merged{animation:merge .2s ease-out both}.tile[data-value="2"]{background:#fff9ee;color:#786d65}.tile[data-value="4"]{background:#f8e9ce;color:#74665b}.tile[data-value="8"]{background:#f6b87d;color:white}.tile[data-value="16"]{background:#f69e6c;color:white}.tile[data-value="32"]{background:#f37e64;color:white}.tile[data-value="64"]{background:#ee6450;color:white}.tile[data-value="128"]{background:#efcc67;color:#fff;font-size:clamp(20px,4vw,38px)}.tile[data-value="256"]{background:#edc15a;color:#fff;font-size:clamp(20px,4vw,38px)}.tile[data-value="512"]{background:#eab84a;color:#fff;font-size:clamp(20px,4vw,38px)}.tile[data-value="1024"]{background:#e8af33;color:white;font-size:clamp(18px,3.5vw,34px)}.tile[data-value="2048"]{background:#eaa51e;color:white;font-size:clamp(18px,3.5vw,34px);box-shadow:0 0 22px #ffe06e88}.tile[data-value="4096"],.tile[data-value="8192"],.tile[data-value="16384"],.tile[data-value="32768"],.tile[data-value="65536"]{background:#2b3b76;color:white;font-size:clamp(16px,3vw,29px)}@keyframes pop{from{transform:scale(.45);opacity:.4}to{transform:scale(1);opacity:1}}@keyframes merge{50%{transform:scale(1.12)}}.game-actions{display:flex;gap:9px;align-items:center;margin-top:16px}.action-primary,.action-secondary,.icon-button{border:1px solid transparent;border-radius:12px;min-height:45px;padding:11px 18px;font-weight:800;font-size:13px;transition:background .15s,transform .15s}.action-primary{background:#2868ed;color:white;box-shadow:0 5px 15px #2868ed30}.action-primary:hover{background:#1656d5}.action-secondary{background:#eef3fc;color:#365d92;border-color:#e1eafa}.action-secondary:disabled{opacity:.45;cursor:not-allowed}.action-secondary:hover:not(:disabled){background:#dce9fa}.icon-button{background:white;color:#647997;border-color:#dce5f1;display:flex;align-items:center;gap:8px;margin-left:auto}.action-primary:active,.action-secondary:active,.icon-button:active,.key:active{transform:scale(.96)}.status{border-radius:12px;background:#f7f9fc;color:#6f819a;padding:13px 15px;font-size:12px;display:flex;align-items:center;gap:9px;margin-top:12px;line-height:1.5}.status-dot{flex:none;width:7px;height:7px;background:#38c49e;border-radius:50%}.game-aside{border:1px solid #e6edf9;background:#f8faff;border-radius:19px;padding:22px 18px;display:flex;flex-direction:column;gap:17px}.aside-head{background:linear-gradient(135deg,#173e8a,#2868ed);color:white;border-radius:15px;padding:22px 19px}.aside-tag{font-weight:900;letter-spacing:1.4px;color:#bcd7ff;font-size:10px}.aside-head h3{font-size:27px;letter-spacing:-1px;line-height:1.35;margin:11px 0}.aside-head h3 span{color:#ffe0a0}.aside-head p{font-size:12px;color:#d8e5ff;line-height:1.75;margin:0}.progress-card{background:white;border:1px solid #e7ecf5;border-radius:14px;padding:18px 15px}.progress-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.progress-top span{font-size:12px;color:#7b8ba1;font-weight:800}.progress-top strong{font-size:25px;color:#2a65db;font-variant-numeric:tabular-nums}.progress-track{height:9px;border-radius:99px;background:#edf1f8;margin:13px 0 10px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#4d9bff,#2459de);border-radius:99px;transition:width .25s}.progress-card p{margin:0;font-size:11px;color:#8b9bae}.directions{border-radius:14px;background:white;border:1px solid #e7ecf5;text-align:center;padding:17px 10px}.directions h4{margin:0 0 5px;font-size:14px}.directions>p{margin:0 0 15px;font-size:11px;color:#8a9bb1}.keypad{display:grid;grid-template-columns:repeat(3,42px);gap:7px;justify-content:center}.key{height:41px;background:#f1f5fc;color:#315c9c;border:1px solid #dce6f4;border-bottom-width:3px;border-radius:9px;font-size:22px;font-weight:900;display:grid;place-items:center}.key.blank{border:0;background:transparent}.aside-tip{display:flex;gap:8px;align-items:start;padding:0 4px}.aside-tip span{font-size:18px}.aside-tip p{font-size:11px;line-height:1.7;color:#7b8a9f;margin:0}.save-note{font-size:11px;color:#8998aa;margin:18px 0 1px}.overlay{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#101e3bdb;border-radius:16px;padding:18px}.overlay.hidden{display:none}.overlay-panel{width:min(100%,330px);background:white;padding:27px 22px;text-align:center;border-radius:20px}.overlay-icon{font-size:40px}.overlay-panel h3{font-size:24px;margin:8px 0}.overlay-panel p{color:#718096;font-size:13px;line-height:1.7}.overlay-actions{display:flex;justify-content:center;gap:8px;margin-top:16px}.how-to{padding:39px 0 28px}.section-heading{margin-bottom:18px}.section-kicker{font-size:11px;font-weight:900;color:#2868ed;letter-spacing:1.5px}.section-heading h2{margin:6px 0 0;font-size:23px;letter-spacing:-.7px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step{background:white;border:1px solid #e6ecf5;border-radius:17px;padding:21px;min-height:166px}.step-num{font-size:11px;font-weight:900;color:#a1b2c9}.step-icon{display:block;color:#2d67d9;font-size:29px;font-weight:900;margin:7px 0}.step h3{font-size:15px;margin:0 0 7px}.step p{font-size:12px;line-height:1.7;color:#7b8ba2;margin:0}.footer{border-top:1px solid #e5ebf3;padding:24px 0 30px;font-size:12px;color:#8998aa;display:flex;justify-content:space-between;gap:10px}.footer a{color:#3265af;font-weight:800}@media(max-width:860px){.play-layout{grid-template-columns:minmax(0,1fr)}.game-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.aside-head{grid-row:span 2}.aside-tip{grid-column:1/-1}.hero-art{margin-right:0;transform:scale(.8);transform-origin:right center}.board-wrap{max-width:560px}}@media(max-width:600px){:root{--gap:7px}.topbar{height:63px}.topbar-inner{padding:0 13px}.brand-icon{width:38px;height:38px;border-radius:11px;font-size:12px}.brand-word{font-size:16px}.brand-word small{font-size:7px;letter-spacing:1.2px}.company-link{padding:9px;font-size:10px;border-radius:9px}.main{padding:0 11px}.hero{min-height:178px;margin:13px 0 14px;padding:19px 19px;border-radius:18px}.eyebrow{font-size:9px;letter-spacing:.7px}.hero h1{font-size:24px;letter-spacing:-1.2px}.lead{font-size:10px;line-height:1.65;margin:10px 0}.hero-cta{font-size:10px;padding:8px 10px}.hero-art{width:79px;height:115px;margin-right:-14px;transform:scale(.44);transform-origin:left center;align-self:center;flex:none}.game-shell{padding:16px 12px;border-radius:19px;scroll-margin-top:73px}.game-top{padding-bottom:14px;margin-bottom:14px}.game-title{gap:8px}.game-mark{width:35px;height:35px;font-size:23px;border-radius:10px}.game-title h2{font-size:18px}.mini-label{font-size:8px;margin-bottom:3px}.play-badge{font-size:9px;padding:7px}.play-layout{gap:14px}.score-group{gap:6px;margin-bottom:10px}.score-card{padding:10px 8px;border-radius:10px}.score-card span{font-size:9px;margin-bottom:5px}.score-card strong{font-size:20px}.board{border-width:5px;border-radius:14px}.board-cells>div,.tile{border-radius:7px}.tile{font-size:clamp(23px,7vw,39px)}.tile[data-value="128"],.tile[data-value="256"],.tile[data-value="512"]{font-size:clamp(20px,6vw,33px)}.tile[data-value="1024"],.tile[data-value="2048"]{font-size:clamp(17px,5vw,28px)}.game-actions{margin-top:11px;gap:6px}.action-primary,.action-secondary,.icon-button{padding:10px 11px;font-size:11px;min-height:42px;border-radius:9px}.sound-label{display:none}.status{margin-top:9px;padding:10px;font-size:11px}.game-aside{display:flex;gap:10px;padding:12px}.aside-head{padding:15px}.aside-head h3{font-size:21px;margin:5px 0}.aside-head p{font-size:11px}.progress-card{padding:11px 13px}.progress-top strong{font-size:22px}.directions{padding:11px}.keypad{grid-template-columns:repeat(3,45px);gap:7px}.key{height:40px}.aside-tip{padding:2px 4px}.save-note{font-size:10px;line-height:1.7}.how-to{padding:28px 2px}.section-heading h2{font-size:19px}.steps{grid-template-columns:1fr;gap:9px}.step{min-height:0;display:grid;grid-template-columns:42px 1fr;column-gap:10px;padding:13px}.step-num{grid-row:1}.step-icon{grid-row:2/4;margin:3px 0}.step h3{grid-column:2;grid-row:2;margin:0 0 4px}.step p{grid-column:2;grid-row:3;font-size:11px}.footer{flex-direction:column;text-align:center;gap:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
