@font-face{font-family:Inter;src:url('/assets/Inter-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('/assets/Inter-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
:root{font-family:Inter,sans-serif;font-synthesis:none;color:#17394b;background:#f4f5ef;--ink:#17394b;--muted:#667780;--gold:#ffc952;--line:#dbe2df;--night:#102c3e}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}button,a{transition:background .18s,transform .18s,color .18s,box-shadow .18s}button{cursor:pointer;border:0;background:transparent;color:inherit}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #dd981b;outline-offset:4px}input:focus-visible{outline:2px solid #12819c;outline-offset:2px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h2{font-size:29px;letter-spacing:-1px;line-height:1.2;margin-bottom:0}h3{font-size:23px;line-height:1.25}p{line-height:1.7}.site-icon{display:block;width:24px;height:24px;flex:none}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#957026;margin-bottom:10px}.text-button{display:inline-flex;align-items:center;gap:20px;font-size:13px;font-weight:700;padding:0;min-height:44px}.outline{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid #c8d5d7;border-radius:10px;padding:12px 18px;font-size:13px;font-weight:700;min-height:46px}.outline:hover{background:#e6eeed}.play-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:19px 23px;min-height:58px;border:1px solid #ffe9a0;border-radius:12px;background:linear-gradient(#ffdd79,#ffbd42);color:#3f2f17;box-shadow:0 4px 0 #bc812d,0 10px 26px #072b392b;font-size:15px;font-weight:700}.play-button .site-icon{width:22px;height:22px}.play-button:hover{background:linear-gradient(#ffe8a0,#ffd365);transform:translateY(-2px)}.play-button:active{transform:translateY(2px);box-shadow:0 1px 0 #bc812d}.light-button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;background:#fff8e6;color:#3d3522;font-size:12px;font-weight:700;padding:12px 18px;border-radius:8px}.light-button:hover{background:#ffdd83}
/* Header và hero dùng chung khổ nội dung, không phụ thuộc scale của game. */
.site-header{background:#102c3e;color:#fff8e9;border-bottom:1px solid #ffffff15;position:relative;z-index:2}.header-inner{max-width:1240px;margin:auto;padding:18px 28px;display:flex;align-items:center;gap:32px;min-height:86px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:700;white-space:nowrap;letter-spacing:-.8px}.brand small{display:block;font-size:8px;letter-spacing:1.45px;color:#a4c2cb;margin-top:4px}.brand-mark{display:grid;place-items:center;width:44px;height:47px;border-radius:13px 13px 17px 17px;background:linear-gradient(135deg,#ffeaa8,#efaa2c);border:1px solid #ffeabd;box-shadow:0 3px 0 #b17a28;color:#49351b;transform:rotate(-5deg)}.brand-mark .site-icon{width:30px;height:30px}.header-inner nav{display:flex;gap:25px;margin-left:auto;align-items:center;font-size:12px;font-weight:700;color:#dce7e8}.header-inner nav a,.header-inner nav button{padding:10px 0;white-space:nowrap}.header-inner nav a:hover,.header-inner nav button:hover{color:#ffd477}.header-account{display:flex;gap:8px;align-items:center;border:1px solid #65818a;border-radius:9px;padding:12px 15px;font-size:12px;font-weight:700;white-space:nowrap}.header-account .site-icon{width:18px;height:18px}.header-account:hover{background:#284857}
.hero{position:relative;isolation:isolate;overflow:hidden;background:#1c5f76;color:#fff7df}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:55% 65%;z-index:-3}.hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#102c3ef5 0%,#133f54e8 32%,#14547085 62%,#17577030),linear-gradient(0deg,#102c3e9c,transparent 40%)}.hero-inner{max-width:1240px;min-height:606px;margin:auto;padding:62px 28px 80px;display:grid;grid-template-columns:1fr 1fr;position:relative;align-items:center}.hero-copy{position:relative;z-index:1}.hero-tag{display:inline-flex;align-items:center;gap:8px;border:1px solid #b4dae24a;border-radius:30px;padding:8px 12px;background:#102c3e65;color:#c5e9ec;font-size:9px;font-weight:700;letter-spacing:1.3px;margin-bottom:24px}.status-dot{width:6px;height:6px;border-radius:50%;background:#96e0bc;box-shadow:0 0 9px #96e0bc88}.hero h1{font-size:clamp(42px,4.8vw,62px);line-height:1.08;letter-spacing:-2.5px;max-width:670px;margin-bottom:22px;white-space:pre-line}.hero h1 span{display:block;color:#ffd375}.hero-description{max-width:460px;color:#c3dce4;font-size:14px;line-height:1.8;margin-bottom:29px}.hero-actions{display:flex;gap:24px;align-items:center}.hero-more{min-height:44px;padding:6px 0;font-weight:700;font-size:12px;white-space:nowrap}.hero-more span{margin-left:8px;color:#f8d479}.device-note{display:flex;gap:16px;margin-top:24px;align-items:center;font-size:9px;color:#b2cbd3}.device-note>span{display:flex;gap:5px;align-items:center}.device-note .site-icon{width:14px;height:14px}.device-note>span:last-child{border-left:1px solid #ffffff40;padding-left:14px}.hero-install{display:flex;align-items:center;gap:11px;padding:18px 0 0;margin-top:16px;border-top:1px solid #ffffff24;text-align:left;font-weight:700;font-size:12px;max-width:370px;width:100%;color:#fff6df}.hero-install small{display:block;font-size:10px;font-weight:400;color:#a9cbd6;margin-top:5px}.install-mini{width:36px;height:36px;border:1px solid #a0c0c544;border-radius:10px;display:grid;place-items:center;color:#fedc8e}.install-mini .site-icon{width:18px;height:18px}.hero-install>.site-icon{margin-left:auto;width:17px;height:17px}.hero-art{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;min-width:0}.hero-character{position:relative;width:122%;max-width:none;flex:none;filter:drop-shadow(0 20px 15px #071d3a70);animation:hero-arrive .7s ease-out both}.hero-orbit{position:absolute;width:95%;aspect-ratio:1;border:1px solid #ffe9ac42;border-radius:50%;background:radial-gradient(circle,#9bd9e422,transparent 68%);transform:rotate(-25deg)}.hero-orbit::after{content:'';position:absolute;inset:28px;border:1px dashed #ffffff23;border-radius:50%}.art-caption{position:absolute;bottom:-16px;display:flex;align-items:center;gap:8px;color:#f6e4b8;font-weight:700;font-size:9px;letter-spacing:1.5px;text-shadow:0 2px 4px #163a4b}.art-caption .site-icon{width:15px;height:15px}@keyframes hero-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.page-body{max-width:1240px;margin:auto;padding:0 28px}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);position:relative;margin-top:-32px;z-index:1;background:#fffdf6;border:1px solid #dfdac8;border-radius:16px;box-shadow:0 10px 26px #173d4910;padding:8px 0}.quick-links>a,.quick-links>button{display:flex;align-items:center;gap:16px;padding:19px 25px;text-align:left;min-width:0}.quick-links>:not(:last-child){border-right:1px solid #e8e5d9}.quick-links small{display:block;font-size:8px;letter-spacing:1px;color:#849096;margin-bottom:6px;font-weight:700}.quick-links strong{display:block;font-size:14px;line-height:1.4}.quick-icon{color:#b58636}.quick-icon .site-icon{width:28px;height:28px}.quick-arrow{margin-left:auto;color:#a3afb3}.quick-links>a:hover,.quick-links>button:hover{color:#a66e12}
.section{padding-top:48px;min-width:0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.section-heading>p{font-size:12px;color:var(--muted);margin:0}.section-heading .eyebrow{margin-bottom:9px}.updates-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:32px}.carousel-controls{display:flex;gap:6px}.carousel-controls button{width:36px;height:36px;border:1px solid #d2dad7;border-radius:9px;background:#fffdf6;font-size:18px}.carousel-controls button:hover{background:#ffdf91}.heading-mark{color:#adbbbc}.event-banner{min-height:353px;position:relative;overflow:hidden;border:1px solid #385066;border-radius:16px;background:#153b51;color:#fff8e5;display:flex;align-items:end;box-shadow:0 6px 0 #dfe4da}.event-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65%}.event-shade{position:absolute;inset:0;background:linear-gradient(0deg,#0c273cf5,#0c273c9e 58%,#0c273c08)}.event-copy{position:relative;padding:27px 30px;max-width:510px}.tag{display:inline-block;border:1px solid #ecca8250;border-radius:5px;padding:5px 8px;color:#ffe096;font-size:8px;letter-spacing:1.2px;font-weight:700;margin-bottom:13px;background:#18354985}.event-copy h3{font-size:29px;letter-spacing:-.8px;line-height:1.18;margin-bottom:12px;max-width:380px}.event-copy p{font-size:12px;color:#c7d8e1;max-width:400px;margin-bottom:18px}.banner-page{position:absolute;right:23px;bottom:24px;font-size:10px;color:#c5d5de}.event-empty{border:1px dashed #c9d6d4;border-radius:16px;padding:60px 30px}.news-card{background:#fffdf8;border:1px solid #e0e4dc;border-radius:16px;padding:6px 23px 18px;min-height:359px}.news-tabs{display:flex;border-bottom:1px solid #e4e6dd;gap:19px;margin-bottom:5px}.news-tabs button{font-size:11px;padding:18px 0 14px;color:#76858a;border-bottom:2px solid transparent;font-weight:700;white-space:nowrap}.news-tabs [aria-selected=true]{color:#9a6a1e;border-color:#daac52}.post{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:16px 0;border-bottom:1px solid #e6e9e1}.post-image{width:75px;height:62px;object-fit:cover;border-radius:8px;flex:none}.post-meta{font-size:9px;color:#a48142;display:block;margin-bottom:6px}.post strong{font-size:13px;line-height:1.4;display:block}.post p{font-size:11px;line-height:1.5;color:var(--muted);margin:5px 0 0}.post-arrow{margin-left:auto;color:#94a4a9}.post:hover strong{color:#b07920}.load-more{font-size:11px;margin-top:6px}.features-section{padding-top:62px}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature{padding:24px 22px;border:1px solid #dce3dc;border-radius:14px;background:linear-gradient(145deg,#fffcf2,#f6f7f0)}.feature-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:21px;border:1px solid #d8d9bb;border-radius:12px;background:#f0ecd6;color:#9c752b}.feature:nth-child(2) .feature-icon{color:#b57254;background:#f5e9dd;border-color:#ead7c5}.feature:nth-child(3) .feature-icon{color:#437b91;background:#e3eff0;border-color:#c5dcdf}.feature:nth-child(4) .feature-icon{color:#6f799e;background:#eaeaf4;border-color:#d4d7e7}.feature h3{font-size:15px;letter-spacing:-.3px;line-height:1.45;margin-bottom:10px}.feature p{font-size:11px;line-height:1.8;color:var(--muted);margin-bottom:0}
.home-screen-section{position:relative;overflow:hidden;margin-top:55px;display:grid;grid-template-columns:.75fr 1.25fr;gap:40px;align-items:center;border:1px solid #547380;border-radius:22px;padding:38px 60px;background:radial-gradient(ellipse at 15% 100%,#416d6c,#163e50 55%,#143246);color:#fff6dd}.home-screen-copy .eyebrow{color:#ebc87a}.home-screen-copy h2{font-size:37px;letter-spacing:-1.4px;line-height:1.15}.home-screen-copy>p:not(.eyebrow){font-size:12px;color:#b9d0d9;margin-top:18px;max-width:470px}.platform-buttons{display:flex;gap:10px;margin-top:23px}.platform-buttons .outline{border-color:#8dabad;color:#e3eeec;font-size:12px;background:#ffffff08}.platform-buttons .outline:hover{background:#ffffff18}.platform-buttons .site-icon{width:20px;height:20px}.home-screen-art{position:relative;display:grid;place-items:center;min-height:260px}.home-phone{position:relative;width:163px;height:270px;border:5px solid #365b6b;outline:1px solid #769b9c;border-radius:27px;transform:rotate(-9deg);background:linear-gradient(155deg,#b4d9cb,#649596 55%,#345875);box-shadow:13px 17px 0 #071c3625;display:flex;align-items:center;flex-direction:column;gap:10px;padding-top:68px}.phone-speaker{position:absolute;width:50px;height:7px;border-radius:6px;background:#365b6b;top:10px;left:calc(50% - 25px)}.home-app{width:68px;height:68px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#ffebac,#efa329);box-shadow:0 5px 0 #ac772b;color:#55431c}.home-app .site-icon{width:43px;height:43px}.home-phone>strong{font-size:11px;color:#fff}.phone-dock{position:absolute;bottom:14px;left:12px;right:12px;display:flex;gap:11px;justify-content:center;padding:10px;border-radius:15px;background:#cfe8e52b}.phone-dock i{width:23px;height:23px;border-radius:7px;background:#cbe2d830}.phone-spark{position:absolute;color:#ffdb77;font-size:38px}.spark-one{top:25px;right:30px}.spark-two{bottom:18px;left:25px;font-size:24px}.community-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:40px 0 44px}.account-card,.support-banner{display:flex;gap:22px;padding:26px 28px;border:1px solid #dfe5dd;border-radius:14px;background:#fffdf6;min-width:0}.community-grid h3{font-size:21px;letter-spacing:-.6px;margin-bottom:9px;overflow-wrap:anywhere}.community-grid p:not(.eyebrow){font-size:11px;color:var(--muted);margin-bottom:5px;overflow-wrap:anywhere}.community-grid .eyebrow{font-size:8px;margin-bottom:10px}.card-symbol{color:#ac8b42;flex:none;padding-top:5px}.card-symbol .site-icon{width:30px;height:30px}.community-grid .text-button{font-size:12px;color:#2d6277}.site-footer{max-width:1184px;margin:auto;border-top:1px solid #d9e1d8;display:flex;gap:24px;align-items:center;padding:29px 0;font-size:10px;color:#7b8a90}.site-footer .brand{font-size:20px;color:var(--ink)}.site-footer .brand-mark{width:32px;height:34px;border-radius:10px}.site-footer .brand-mark .site-icon{width:23px;height:23px}.site-footer>span{margin-right:auto}.site-footer button{font-size:10px;padding:12px 0}.page-status{font-size:13px;padding:16px;border:1px solid #e3c794;background:#fff5da;border-radius:9px}.page-status .outline{margin-left:15px}.page-status:empty{display:none}.mobile-play-bar{display:none}
/* Dialog cùng theme và kích thước native, không bị game viewport co theo bàn phím. */
dialog{border:1px solid #e3dcc5;border-radius:19px;width:min(620px,calc(100% - 28px));padding:0;color:var(--ink);background:#fffdf6;box-shadow:0 30px 100px #071d3860;max-height:92dvh;overflow:hidden}dialog::backdrop{background:#071d35bb;backdrop-filter:blur(5px)}dialog>header{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #e6e5d9;background:#f6f3e7}dialog>header .eyebrow{display:block;font-size:8px;letter-spacing:1.6px;margin-bottom:7px}dialog h2{font-size:21px;letter-spacing:-.6px}.dialog-close{display:grid;place-items:center;width:39px;height:39px;border:1px solid #d9d8c9;border-radius:11px;background:#fffdf6;font-size:25px;flex:none}.dialog-close:hover{background:#e9e6d8}.dialog-body{padding:25px;overflow:auto;max-height:calc(92dvh - 99px);overscroll-behavior:contain}.dialog-body form{display:grid;gap:17px}.dialog-body label{display:grid;gap:7px;font-size:12px;font-weight:700}.dialog-body input{border:1px solid #c3d1ce;border-radius:9px;background:#fff;padding:13px;width:100%;font-size:16px;color:var(--ink)}.dialog-body .check{display:flex;align-items:center;font-weight:400}.check input{width:auto}.form-message{font-size:12px;color:#ad3838;margin:0;white-space:pre-line}.dialog-links{display:flex;gap:20px;justify-content:space-between;margin-top:18px}.dialog-body article p{white-space:pre-wrap;font-size:14px}.article-image{width:100%;border-radius:10px;max-height:270px;object-fit:cover}.account-detail{padding:14px 0;border-bottom:1px solid #e0e6e5;font-size:13px;overflow-wrap:anywhere}.account-detail small{display:block;color:var(--muted);margin-bottom:5px}.account-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.characters{margin-top:22px}.characters h3{font-size:17px}.empty{font-size:13px;color:var(--muted);padding:25px 0}.preview-toolbar{background:#092639;color:#d3e4e7;padding:7px 18px;font-size:11px;position:relative;z-index:3;margin:0}
/* Hướng dẫn là minh họa browser, không giả lập nút cài PWA của hệ điều hành. */
dialog.install-dialog{width:min(810px,calc(100% - 28px))}.install-intro{font-size:13px;color:var(--muted);margin-bottom:18px}.install-platforms{display:flex;gap:6px;background:#edf1ea;padding:5px;border:1px solid #dce3d9;border-radius:12px;margin-bottom:20px}.install-platforms button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border-radius:8px;font-size:12px;font-weight:700;padding:8px 10px}.install-platforms .site-icon{width:19px;height:19px}.install-platforms [aria-pressed=true]{background:#163d50;color:#fff8e1;box-shadow:0 2px 4px #173d4920}.install-detected{color:#4e7e6b;font-size:11px;margin-bottom:15px;line-height:1.5}.install-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:center}.install-steps{list-style:none;padding:0;margin:0;display:grid;gap:16px}.install-steps li{display:grid;grid-template-columns:28px 1fr;gap:12px}.step-number{display:grid;place-items:center;width:28px;height:28px;border:1px solid #e3c68e;border-radius:9px;background:#fff0c9;color:#936921;font-size:12px;font-weight:700}.install-steps h3{font-size:13px;margin:4px 0 7px;line-height:1.3}.install-steps p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.inline-step-icon{display:inline-flex;vertical-align:middle;padding:2px 4px;color:#246783}.inline-step-icon .site-icon{width:17px;height:17px}.browser-demo{padding:12px;background:#eaf0e9;border-radius:14px}.demo-device{border:3px solid #355667;border-radius:19px;background:#fffaf0;overflow:hidden;box-shadow:0 7px 0 #b6c8c722}.demo-toolbar{display:flex;align-items:center;gap:6px;background:#e6eeee;padding:11px 8px;font-size:9px;color:#577180}.demo-address{border-radius:5px;background:#fff;flex:1;padding:7px 5px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.demo-toolbar .site-icon{width:19px;height:19px}.demo-active-icon{padding:5px;background:#ffdb79;color:#735016;border:1px solid #d7a33f;border-radius:6px}.demo-game{height:83px;display:flex;gap:9px;align-items:center;justify-content:center;background:linear-gradient(135deg,#254d66,#357f84);color:#fff3ce;font-size:14px;font-weight:700}.demo-game .site-icon{width:30px;height:30px;color:#ffcd69}.demo-sheet{margin:10px;background:#f3f5f2;border:1px solid #e0e7df;border-radius:10px;padding:10px 8px;display:grid;gap:8px}.demo-sheet small{font-size:9px;color:#87959a}.demo-row{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:9px 8px;border:1px solid #dfbc6d;background:#fff0c6;border-radius:7px;font-size:10px;font-weight:700;color:#72561e}.demo-row .site-icon{width:19px;height:19px}.demo-ghost{height:7px;width:65%;border-radius:5px;background:#e3e8e3}.demo-confirm{padding:8px;border:1px solid #bed9cb;border-radius:6px;background:#e9f4ec;color:#44745d;text-align:center;font-size:10px;font-weight:700}.demo-caption{font-size:9px;line-height:1.5;color:#83938d;text-align:center;margin:13px 0 0}.install-tip{font-size:11px;padding:13px 15px;background:#f3f0e3;border-left:3px solid #d3b576;border-radius:0 8px 8px 0;color:#6b745d;line-height:1.7;margin:20px 0}.install-link-box{display:flex;gap:10px;align-items:center;margin-bottom:13px}.install-link-box input{font-size:12px;padding:12px;min-width:0;background:#f7f8f2}.copy-link{display:flex;align-items:center;gap:6px;border:1px solid #cbd8d2;border-radius:8px;min-height:42px;padding:9px 12px;white-space:nowrap;font-size:11px;font-weight:700}.copy-link .site-icon{width:17px;height:17px}.install-actions{display:flex;align-items:center;gap:18px}.install-actions .play-button{font-size:13px;min-height:47px;padding:12px 17px}.install-actions>p{font-size:10px;color:var(--muted);margin:0;max-width:230px}.install-copy-status{font-size:11px;color:#3e7860;margin:10px 0 0;line-height:1.5}.install-copy-status:empty{display:none}.install-sources{display:flex;gap:14px;margin-top:20px;font-size:9px;color:#85938e}.install-sources a{text-decoration:underline}
@media(max-width:1050px){.header-inner{gap:20px}.header-inner nav{gap:16px;font-size:11px}.brand{font-size:22px}.hero-inner{grid-template-columns:1.05fr 1fr;padding-top:45px;min-height:590px}.hero h1{font-size:49px}.hero-description{font-size:13px}.hero-actions{gap:17px}.hero-actions .play-button{padding:18px;font-size:13px}.hero-more{font-size:11px}.hero-character{width:123%}.device-note{gap:10px;font-size:8px}.quick-links>a,.quick-links>button{padding:17px;gap:12px}.quick-links strong{font-size:12px}.quick-links small{font-size:7px}.updates-grid{gap:23px}.news-card{padding:6px 17px 14px}.news-tabs{gap:17px}.post-image{width:63px}.event-copy{padding:25px}.event-copy h3{font-size:27px}.features{gap:12px}.feature{padding:22px 17px}.home-screen-section{padding:35px;gap:25px}.site-footer{margin:0 28px;gap:18px}}
@media(max-width:800px){.header-inner nav{display:none}.header-account{margin-left:auto}.hero-inner{padding:42px 25px 65px;min-height:545px;grid-template-columns:1.2fr 1fr}.hero h1{font-size:42px;letter-spacing:-1.9px}.hero-tag{font-size:8px;padding:7px 10px}.hero-description{font-size:12px}.hero-actions{gap:15px;flex-wrap:wrap}.hero-more{min-height:30px}.device-note{flex-wrap:wrap;row-gap:8px}.device-note>span:last-child{border:0;padding:0}.hero-character{width:140%;transform:translateX(8px)}.art-caption{font-size:7px;letter-spacing:.6px;bottom:6px}.quick-links{margin-top:-25px}.quick-icon .site-icon{width:22px;height:22px}.quick-links>a,.quick-links>button{padding:15px 12px;gap:10px}.quick-links small{display:none}.quick-arrow{display:none}.updates-grid{grid-template-columns:1fr 1fr;gap:20px}h2{font-size:24px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.carousel-controls button{width:31px;height:31px}.event-copy{padding:23px 20px 54px}.event-copy h3{font-size:24px}.event-copy p{font-size:11px}.event-banner{min-height:360px}.banner-page{bottom:18px}.news-tabs{gap:12px}.news-tabs button{font-size:10px}.post-image{display:none}.post-arrow{font-size:12px}.post strong{font-size:12px}.features{grid-template-columns:repeat(2,1fr);gap:15px}.feature{padding:24px}.feature-icon{margin-bottom:15px}.feature p{font-size:12px}.home-screen-copy h2{font-size:31px}.home-screen-section{grid-template-columns:.8fr 1.2fr;padding:28px;gap:23px}.platform-buttons{flex-wrap:wrap}.home-phone{width:148px;height:250px}.community-grid{gap:18px}.account-card,.support-banner{padding:23px 20px;gap:15px}.card-symbol .site-icon{width:25px;height:25px}.site-footer{flex-wrap:wrap}.site-footer>span{margin-right:0}.site-footer>button{margin-left:auto}}
@media(max-width:600px){body{padding-bottom:85px}.header-inner{padding:14px 20px;min-height:74px;gap:15px}.brand{font-size:22px;gap:10px}.brand small{font-size:7px;letter-spacing:1px}.brand-mark{width:36px;height:39px;border-radius:11px}.brand-mark .site-icon{width:25px;height:25px}.header-account{font-size:11px;padding:11px 12px}.header-account .site-icon{width:16px;height:16px}.hero-inner{display:flex;flex-direction:column;padding:31px 22px 48px;min-height:0;gap:0}.hero-copy{width:100%;text-align:center}.hero-tag{font-size:8px;margin-bottom:18px;letter-spacing:.9px;padding:7px 11px}.hero h1{font-size:43px;line-height:1.08;letter-spacing:-1.9px;margin-bottom:18px}.hero-description{font-size:12px;max-width:355px;margin:0 auto 24px;line-height:1.7}.hero-actions{justify-content:center;gap:20px;flex-wrap:nowrap}.hero-actions .play-button{min-height:51px;font-size:12px;padding:15px;gap:9px;border-radius:10px}.hero-actions .play-button .site-icon{width:17px;height:17px}.hero-actions .play-button>span:last-child{display:none}.hero-more{font-size:11px}.device-note{justify-content:center;gap:12px;font-size:8px;margin-top:22px}.device-note .site-icon{width:13px;height:13px}.hero-install{display:none}.hero-art{width:100%;height:245px;margin-top:19px;align-self:center;isolation:isolate}.hero-character{height:272px;width:auto;max-width:115%;object-fit:contain;transform:none}.hero-orbit{width:220px;inset:15px auto auto}.art-caption{bottom:-12px;font-size:7px}.hero-bg{object-position:64% center}.hero-shade{background:linear-gradient(180deg,#102c3ef2 0%,#164863e8 48%,#1a658896 80%,#123b52c9)}.page-body{padding:0 18px}.quick-links{grid-template-columns:1fr;margin-top:-16px;padding:0;border-radius:14px;box-shadow:0 6px 20px #1537490d}.quick-links>a,.quick-links>button{padding:15px 19px;gap:14px}.quick-links>:not(:last-child){border-right:0;border-bottom:1px solid #ebe7d9}.quick-links small{display:block;font-size:7px;margin-bottom:4px;letter-spacing:.8px}.quick-links strong{font-size:13px}.quick-icon .site-icon{width:23px;height:23px}.quick-arrow{display:block}.updates-grid{grid-template-columns:1fr;gap:0}.section{padding-top:33px}.section-heading{margin-bottom:18px;gap:15px}h2{font-size:25px;letter-spacing:-.8px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:8px}.event-banner{min-height:326px}.event-copy{padding:25px 24px 30px}.event-copy h3{font-size:27px;max-width:290px}.event-copy p{font-size:12px}.banner-page{bottom:22px;right:20px}.news-card{padding:4px 18px 15px;min-height:0}.news-tabs{gap:0;justify-content:space-between}.news-tabs button{font-size:11px;padding:18px 0 13px}.post-image{display:block;width:63px;height:60px}.post{gap:12px;padding:17px 0}.post strong{font-size:12px}.post p{font-size:10px}.post-meta{font-size:8px}.post-arrow{display:none}.features-section{padding-top:38px}.features-section h2{font-size:26px;max-width:295px}.section-heading>p{display:none}.features{gap:11px}.feature{padding:19px 15px}.feature h3{font-size:13px;margin-bottom:9px}.feature p{font-size:11px;line-height:1.7}.feature-icon{width:37px;height:37px;border-radius:10px;margin-bottom:16px}.feature-icon .site-icon{width:21px;height:21px}.home-screen-section{margin-top:35px;padding:31px 24px;display:flex;flex-direction:column-reverse;gap:21px;border-radius:17px}.home-screen-copy h2{font-size:31px;line-height:1.16}.home-screen-copy .eyebrow{font-size:8px;letter-spacing:1.3px}.home-screen-copy>p:not(.eyebrow){font-size:12px;margin-top:16px}.platform-buttons{gap:8px;flex-wrap:nowrap}.platform-buttons .outline{font-size:10px;padding:11px;gap:6px;flex:1;white-space:nowrap}.platform-buttons .site-icon{width:17px;height:17px}.home-screen-art{width:220px;min-height:200px;margin-top:8px}.home-phone{width:127px;height:208px;padding-top:45px;border-radius:21px;border-width:4px;gap:9px}.home-app{width:55px;height:55px;border-radius:14px}.home-app .site-icon{width:36px;height:36px}.phone-dock{padding:8px;gap:7px;bottom:10px;border-radius:12px}.phone-dock i{width:20px;height:20px}.phone-speaker{width:36px;left:calc(50% - 18px);height:5px;top:7px}.home-phone>strong{font-size:9px}.spark-one{right:3px;font-size:27px}.spark-two{left:0}.community-grid{grid-template-columns:1fr;gap:14px;margin:26px 0 30px}.account-card,.support-banner{padding:23px;gap:17px}.community-grid h3{font-size:21px}.community-grid p:not(.eyebrow){font-size:12px}.site-footer{margin:0 18px;padding:25px 0 10px;gap:18px;align-items:center}.site-footer .brand{font-size:19px}.site-footer>span{order:4;width:100%;font-size:10px}.site-footer>button{order:3;margin:0;text-align:left;flex:1}.site-footer>a:last-child{margin-left:auto;font-size:11px}.mobile-play-bar{display:flex;position:fixed;z-index:5;inset:auto 0 0;gap:16px;align-items:center;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#102c3ef5;border-top:1px solid #85a3ac65;box-shadow:0 -5px 18px #09263b25}.mobile-play-bar>button{display:flex;align-items:center;gap:10px;color:#e2edef;font-size:11px;text-align:left;line-height:1.4;padding:3px 0;flex:1;min-width:0}.mobile-play-bar>button .site-icon{color:#f4d28d;width:23px;height:23px}.mobile-play-bar .play-button{min-height:42px;font-size:12px;padding:10px 22px;gap:10px;border-radius:9px}.mobile-play-bar .play-button .site-icon{width:18px;height:18px}dialog{width:calc(100% - 22px);max-height:94dvh;border-radius:16px}dialog>header{padding:17px 18px;gap:12px}dialog h2{font-size:19px}.dialog-close{width:36px;height:36px}.dialog-body{padding:19px;max-height:calc(94dvh - 87px)}.dialog-links{gap:12px}.dialog-links .text-button{font-size:12px}.install-dialog .dialog-body{padding:17px}.install-intro{font-size:12px;margin-bottom:14px}.install-platforms{gap:3px;padding:4px;margin-bottom:13px}.install-platforms button{font-size:10px;padding:8px 4px;gap:4px;min-height:41px}.install-platforms .site-icon{width:16px;height:16px}.install-layout{grid-template-columns:1fr;gap:20px}.install-steps{gap:16px}.install-steps li{gap:10px}.install-steps p{font-size:12px}.browser-demo{max-width:250px;width:100%;margin:auto}.demo-device{border-radius:13px}.demo-game{height:52px;font-size:12px}.demo-sheet{margin:8px;padding:8px}.demo-toolbar{padding:7px;font-size:8px}.demo-caption{margin-top:9px}.install-tip{font-size:11px;margin:17px 0;padding:12px}.install-link-box{gap:6px}.copy-link{padding:9px;font-size:10px;gap:4px}.install-actions{align-items:start;flex-direction:column;gap:13px}.install-actions .play-button{width:100%}.install-actions>p{max-width:none;font-size:11px}.install-sources{font-size:9px}.preview-toolbar{font-size:9px;padding:6px 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.install-actions{margin-bottom:24px}.install-actions .copy-link{min-height:47px}.install-copy-status{margin:-12px 0 20px}.install-actions .play-button{flex:1;max-width:260px}.install-link-box{margin-bottom:0}
@media(max-width:600px){.install-actions{flex-direction:row;align-items:center;gap:8px;margin-bottom:22px}.install-actions .play-button{font-size:11px;padding:11px 9px;gap:7px;max-width:none}.install-actions .play-button .site-icon{width:17px;height:17px}.install-actions .play-button>.site-icon:last-child{display:none}.install-actions .copy-link{font-size:10px;padding:10px 9px}}
.field-hint{font-size:10px;font-weight:400;color:var(--muted);line-height:1.6}
/* Header modal có thể xuống dòng: flex tự dành đúng phần còn lại để cuộn. */
dialog[open]{display:flex;flex-direction:column}dialog>header{flex:none}.dialog-body{flex:1;min-height:0;max-height:none}.hero-copy{min-width:0}.header-inner .brand{min-width:0;white-space:normal}.header-inner .brand>span:last-child{min-width:0}.header-inner .brand [data-site-name]{display:block;overflow-wrap:anywhere}.header-account,.brand-mark{flex:none}
@media(max-width:600px){body{padding-bottom:calc(85px + env(safe-area-inset-bottom))}}
