:root{--blue:#0033c3;--dark-blue:#00269a;--lighter-blue:#eaf0ff;--paper:#ffffff;--text:#17243e;--muted:#62708b;--line:#d7e3fa;--shadow:0 9px 28px rgba(0,51,195,.085);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}
html{background:#f4f7ff;scroll-behavior:smooth}
body{margin:0;color:var(--text);min-height:100dvh;background:radial-gradient(ellipse at 12% 10%,#e5efff 0,transparent 35%),radial-gradient(ellipse at 95% 40%,#e4eaff 0,transparent 28%),linear-gradient(#f7faff,#eef3ff);font-size:15px;line-height:1.48}
a,button{touch-action:manipulation}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #22c2e9;outline-offset:3px}svg{display:block;flex-shrink:0}button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.site-head{background:linear-gradient(112deg,#0033c3 0%,#084be2 100%);color:white;box-shadow:0 5px 22px #0033c333}.site-head-inner{max-width:1050px;min-height:70px;margin:auto;display:flex;gap:12px;align-items:center;padding:12px 22px}.site-head img{width:40px;height:40px;border:1px solid #ffffff75;border-radius:12px;object-fit:contain}.brand-name{min-width:0;flex:1}.brand-name strong{display:block;font-weight:850;font-size:clamp(13px,3.8vw,18px);letter-spacing:-.015em;line-height:1.25}.brand-name span{display:block;color:#e6edff;font-size:11px;letter-spacing:.03em;margin-top:3px}.icon-btn{border:1px solid #ffffff60;background:#ffffff1c;color:white;width:36px;height:36px;border-radius:11px;display:grid;place-items:center}.icon-btn:hover{background:#ffffff30}
.page{width:min(650px,100%);padding:22px 18px 24px;margin:0 auto;display:grid;gap:17px}.intro{text-align:center;padding:2px 0 0}.eyebrow{color:#2350a8;font-size:11px;font-weight:800;letter-spacing:.11em;display:inline-flex;align-items:center;gap:8px}.online-dot{width:8px;height:8px;background:#1bad78;border-radius:100%;box-shadow:0 0 0 3px #17bf8430}.intro h1{font-size:clamp(21px,5.6vw,27px);letter-spacing:-.045em;margin:6px 0 3px;color:#152b5f}.intro p{font-size:13px;color:#63738c;margin:0}
.card{background:white;border:1px solid #d9e3f8;border-radius:22px;box-shadow:var(--shadow)}.clock-card{padding:15px 15px 13px}.clock-surface{position:relative;overflow:hidden;isolation:isolate;background:white;border-radius:16px;aspect-ratio:2.7/1}.clock-surface video{display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:2.7/1;background:#fff;cursor:pointer;-webkit-user-select:none;user-select:none}.clock-fallback{position:absolute;inset:0;background:white;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:13px;gap:13px;pointer-events:none}.clock-fallback[hidden]{display:none}.fallback-time{font-weight:850;line-height:1;letter-spacing:-.045em;white-space:nowrap;font-size:clamp(28px,8vw,57px);font-variant-numeric:tabular-nums}.fallback-time span:last-child{color:var(--blue)}.fallback-bar{height:7px;background:#e6ecfa;border-radius:10px;width:89%;overflow:hidden}.fallback-bar div{width:0%;height:100%;background:var(--blue)}.fallback-labels{display:flex;justify-content:space-between;width:89%;font-size:11px;color:#8794b2;margin-top:-10px}.pip-overlay{position:absolute;inset:0;background:#f6f9ff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--dark-blue);text-align:center}.pip-overlay svg{width:38px;height:38px;stroke:currentColor;fill:none;stroke-width:1.5}.pip-overlay small{font-size:12px;color:var(--muted)}[hidden]{display:none!important}.clock-subrow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 5px 0}.sync-state{display:inline-flex;align-items:center;gap:7px;color:#65758b;font-size:12px;min-width:0;overflow-wrap:anywhere}.state-dot{display:inline-block;flex:0 0 7px;height:7px;border-radius:50%;background:#edab35}.sync-state.ok .state-dot{background:#15a576}.sync-state.warn .state-dot{background:#e79620}.sync-state.offline .state-dot{background:#ed6b65}.small-link{background:none;border:0;color:var(--blue);font-weight:750;font-size:12px;white-space:nowrap;padding:4px}.small-link:hover{text-decoration:underline}.clock-hint{color:#7c8aa4;font-size:11px;text-align:center;margin:4px 0 0}
.controls{display:grid;gap:12px}.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle-grid.single{grid-template-columns:1fr}.toggle-btn{background:#fff;border:1px solid #d5e0f7;color:#7b879d;border-radius:13px;padding:12px 8px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:47px;font-size:13px;box-shadow:0 2px 6px #082f9620}.toggle-btn .toggle-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.toggle-btn.on{border-color:#4d76ec;color:var(--blue);background:#fafdff}.primary-btn{background:linear-gradient(110deg,#0033c3,#1157ed);color:white;border:0;border-radius:13px;font-weight:850;min-height:55px;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 9px 22px #0033c33b;letter-spacing:.015em}.primary-btn:hover{filter:brightness(1.07)}.primary-btn.active{background:white;color:var(--blue);border:1px solid var(--blue);box-shadow:none}.primary-btn:disabled{opacity:.6;cursor:not-allowed}.browser-warning{background:#fff7e9;border:1px solid #f8d6a0;color:#794c13;border-radius:13px;padding:12px 14px;font-size:12px}.browser-warning p{margin:4px 0 9px}.secondary-btn{border:1px solid #9aabdf;color:var(--blue);background:white;border-radius:10px;padding:9px 12px;font-weight:750}.secondary-btn.compact{font-size:12px}
.install-panel{background:#fff;border-radius:18px;border:1px solid #dbe4fa;box-shadow:var(--shadow);padding:14px;display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center}.install-icon{background:#e6eeff;border-radius:12px;display:grid;place-items:center;width:42px;height:42px}.install-icon svg{width:26px;height:26px;fill:none;stroke:var(--blue);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.install-text h2{font-size:13px;margin:0;color:#172c5b}.install-text p{font-size:11px;color:#73819a;margin:3px 0 0}.install-button{border:1px solid var(--blue);border-radius:11px;color:var(--blue);background:#fff;font-weight:800;padding:11px 12px;font-size:11px;white-space:nowrap}.install-button:hover{background:#f0f5ff}
.voucher-panel{padding:16px;background:#fff9f3;border:1px solid #ffdcbb;border-radius:18px;box-shadow:0 5px 20px #e6a05f19}.section-lead{display:flex;align-items:flex-start;gap:11px}.section-icon{width:37px;height:37px;flex:none;display:grid;place-items:center;border-radius:11px;background:#fff0d9;font-size:21px}.voucher-panel h2{font-size:15px;margin:0;color:#6e3e15}.voucher-panel p{font-size:12px;color:#845b38;margin:3px 0 0}.voucher-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:13px 0 9px}.voucher{padding:13px 11px;display:flex;align-items:center;justify-content:center;gap:10px;color:white;border-radius:13px;text-decoration:none;box-shadow:0 5px 13px #4b4b4b20;min-width:0}.voucher:hover{filter:brightness(1.05);transform:translateY(-1px)}.voucher strong{display:block;font-weight:900;letter-spacing:.025em;font-size:13px}.voucher small{font-weight:650;display:block;font-size:10px}.voucher-logo{width:34px;height:34px;flex:none;display:grid;place-items:center}.voucher-logo svg{width:34px;height:34px;display:block}.shopee{background:linear-gradient(105deg,#e94e31,#ff794b)}.lazada{background:linear-gradient(105deg,#4324c8,#a839d1)}.tiktok{background:linear-gradient(105deg,#111318,#303039)}.voucher.pending{cursor:not-allowed;opacity:.78;box-shadow:none;border:1px solid #777}.voucher.pending small{font-size:9px}.voucher.pending:hover{transform:none;filter:none}.affiliate-note{display:block;color:#a48262;font-size:10px}
.community{padding:17px}.community-head{display:flex;gap:11px;align-items:flex-start;margin-bottom:14px}.community h2{font-size:15px;margin:0;color:#193b8f}.community p{margin:3px 0 0;color:#71819d;font-size:12px}.group-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;background:#eaf0ff;border-radius:12px}.group-avatar svg{width:26px;height:26px;fill:none;stroke:var(--blue);stroke-width:1.7;stroke-linecap:round}.channels{display:grid;grid-template-columns:1fr 1fr;gap:10px}.channel{color:white;display:flex;align-items:center;gap:9px;min-height:60px;padding:9px 10px;border-radius:12px;text-decoration:none;min-width:0}.channel:hover{filter:brightness(1.07)}.channel-symbol{width:32px;height:32px;flex:none;border-radius:50%;background:#ffffff26;display:grid;place-items:center;color:white}.channel-symbol svg{width:22px;height:22px;display:block}.channel>span:nth-child(2){font-weight:800;font-size:12px;line-height:1.15;min-width:0}.channel small{display:block;font-size:10px;font-weight:500;opacity:.92;margin-top:3px}.channel b{margin-left:auto;font-size:15px}.facebook{background:linear-gradient(110deg,#1265e5,#408cfa)}.telegram{background:linear-gradient(110deg,#168cca,#39b4ed)}.zalo-details{border:1px solid #dce7fb;background:#f7faff;border-radius:13px;margin-top:10px;overflow:hidden}.zalo-details summary{padding:11px 13px;display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;color:#0047bb}.zalo-details summary::-webkit-details-marker{display:none}.zalo-details summary>span:nth-child(2){font-size:12px;font-weight:800;flex:1}.zalo-details summary small{display:block;color:#6b83b0;font-size:10px;font-weight:500}.zalo-mark{color:#0767e8;display:grid;place-items:center;width:30px;height:30px}.zalo-mark svg{width:30px;height:30px}.chevron{font-size:22px;transition:transform .2s}.zalo-details[open] .chevron{transform:rotate(180deg)}.zalo-links{border-top:1px solid #dce7fb;display:grid;padding:4px 12px}.zalo-links a{color:#144aa4;text-decoration:none;display:flex;justify-content:space-between;padding:11px 2px;border-bottom:1px solid #e3ebfa;font-weight:700;font-size:12px}.zalo-links a:last-child{border:0}.zalo-links span{color:#4f79c5;font-size:11px}
.footer{font-size:10px;color:#8996b1;text-align:center;padding:3px 12px 9px}.footer span{font-size:10px}
.info-dialog{border:1px solid #cbd8f7;background:white;max-width:min(480px,calc(100vw - 25px));width:100%;box-shadow:0 17px 70px #0a24654d;border-radius:20px;padding:0;color:var(--text)}.info-dialog::backdrop{background:#101b35a6}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:16px 19px;border-bottom:1px solid #e3eafa}.dialog-head h2{margin:0;font-size:18px;color:#163982}.close-dialog{width:33px;height:33px;background:#eff4ff;border:0;border-radius:9px;font-size:25px;color:#3858a0}.dialog-content{font-size:13px;line-height:1.65;padding:17px 20px;max-height:62vh;overflow:auto;color:#384969}.dialog-content p{margin:0 0 10px}.dialog-content ol{margin:0;padding-left:19px}.dialog-content li{margin:7px 0}.dialog-actions{padding:0 20px 17px}.dialog-actions .primary-btn{min-height:43px;width:100%;font-size:13px}
@media(max-width:540px){.page{gap:15px;padding:18px 13px 23px}.site-head-inner{padding:10px 13px;min-height:63px;gap:10px}.site-head img{width:35px;height:35px}.clock-card{padding:10px 9px 12px}.intro h1{font-size:23px}.install-panel{grid-template-columns:37px 1fr;gap:9px;padding:12px}.install-icon{width:37px;height:37px}.install-button{grid-column:1 / -1;width:100%;padding:10px}.voucher-panel,.community{padding:13px}.voucher{padding:10px 6px;gap:7px}.voucher-logo,.voucher-logo svg{width:30px;height:30px}.channel{padding:8px 6px;gap:6px}.channel-symbol{width:25px;height:25px}.channel>span:nth-child(2){font-size:11px}.channel small{font-size:9px}}
@media(max-width:350px){.brand-name strong{font-size:12px}.toggle-btn{font-size:11px}.channel b{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Mobile: hai voucher đầu trên một hàng, TikTok Shop ở hàng riêng */
@media(max-width:540px){.voucher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.voucher.tiktok{grid-column:1/-1}.voucher{min-height:59px}}
.ios-guide-lead{font-size:14px;color:#173f91}
.ios-step{display:flex;align-items:center;gap:10px;margin:11px 0;padding:11px 12px;border-radius:12px;background:#f0f5ff;border:1px solid #e0e9ff;line-height:1.5}
.ios-step-no{flex:none;width:29px;height:29px;border-radius:50%;background:#0033c3;color:white;display:grid;place-items:center;font-size:14px;font-weight:850}
.ios-share-icon{display:inline-grid;place-items:center;color:#0068ff;border:1.5px solid currentColor;border-radius:3px;width:20px;height:21px;font-size:19px;font-weight:800;line-height:1;vertical-align:middle}
.ios-add-icon{display:inline-grid;place-items:center;color:#0068ff;border:1.5px solid currentColor;border-radius:4px;width:20px;height:20px;font-size:19px;line-height:1;vertical-align:middle}
.ios-install-note{color:#6d7e9c;font-size:11px;margin-top:14px!important}
