*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;position:fixed;inset:0;overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-text-size-adjust:100%;background:#cfdcf0;font-family:"PingFang HK","PingFang TC","Hiragino Sans CNS","Noto Sans CJK HK","Noto Sans CJK TC","Noto Sans TC","Microsoft JhengHei",sans-serif;color:#2b2140}
body.en{font-family:"Arial Rounded MT Bold","Avenir Next","Trebuchet MS","Helvetica Neue",Arial,"Noto Sans CJK HK",sans-serif}
#safe{position:fixed;left:0;top:0;width:0;height:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);visibility:hidden;pointer-events:none}
canvas#c{position:fixed;left:0;top:0;display:block;touch-action:none}
.screen{position:fixed;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top) + 12px) 14px max(14px, calc(env(safe-area-inset-bottom) + 10px));touch-action:manipulation;z-index:5;background:rgba(43,33,64,.55);overflow:hidden}
#title{background:linear-gradient(180deg,#eaf1fb 0,#dbe6f6 55%,#c8d8f0 100%);justify-content:space-between}
.hidden{display:none!important}
.card{width:100%;max-width:400px;background:#fffdf7;border:3px solid #2b2140;border-radius:22px;padding:14px 16px 12px;text-align:center;box-shadow:0 6px 0 #2b2140;animation:pop .35s cubic-bezier(.2,1.6,.4,1) both;max-height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y}
@keyframes pop{0%{transform:translateY(30px) scale(.9);opacity:0}100%{transform:none;opacity:1}}
.logoWrap{text-align:center;margin-top:4px;animation:pop .45s cubic-bezier(.2,1.6,.4,1) both}
.logo{line-height:0;animation:slam 1.8s ease-in-out infinite;transform-origin:50% 90%}
@keyframes slam{0%,70%,100%{transform:translateY(0)}80%{transform:translateY(-10px) rotate(-4deg)}88%{transform:translateY(3px) scaleY(.92)}}
.title{font-size:40px;font-weight:900;line-height:1.1;color:#3b5bdb;letter-spacing:1px;-webkit-text-stroke:1.5px #2b2140;text-shadow:0 3px 0 #2b2140;margin-top:6px}
body.en .title{font-size:34px}
.sub{display:inline-block;margin-top:8px;font-size:14px;font-weight:900;color:#2b2140;background:#fff;border:2px solid #2b2140;border-radius:99px;padding:4px 12px}
.lang{display:flex;width:max-content;margin:10px auto 0;border:2.5px solid #2b2140;border-radius:12px;overflow:hidden}
.lang button{appearance:none;border:0;background:#fff;color:#2b2140;font-weight:900;font-size:14px;font-family:inherit;padding:7px 14px;cursor:pointer}
.lang button.on{background:#3b5bdb;color:#fff}
.howto{display:inline-block;background:#e03131;color:#fff;font-weight:900;font-size:17px;border-radius:99px;padding:6px 16px;margin-bottom:8px;border:2px solid #2b2140}
.tips{list-style:none;padding:0;margin:0 0 8px;font-size:14px;font-weight:700;color:#4a4060;line-height:1.55;text-align:left}
.tips li::before{content:"▸ ";color:#e03131}
.tips b{color:#2b2140}
.diff{display:flex;align-items:center;justify-content:center;gap:6px;margin:4px 0 10px;font-weight:900;font-size:14px}
.diff button{appearance:none;font-family:inherit;font-weight:900;font-size:15px;min-width:64px;padding:7px 10px;border:2.5px solid #2b2140;border-radius:12px;background:#fff;color:#2b2140;cursor:pointer}
.diff button.on{background:#ffd43b;box-shadow:0 3px 0 #2b2140;transform:translateY(-2px)}
.row{display:flex;gap:8px;justify-content:center;margin-top:8px;flex-wrap:wrap}
.btn{appearance:none;-webkit-appearance:none;border:3px solid #2b2140;border-radius:16px;font-family:inherit;font-weight:900;color:#fff;background:#2b9a3e;box-shadow:0 4px 0 #2b2140;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;touch-action:manipulation}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 #2b2140}
.btn.big{font-size:21px;padding:10px 0;min-height:54px;width:100%}
.btn.small{font-size:14px;padding:7px 12px;box-shadow:0 3px 0 #2b2140}
.btn.alt{background:#ff3d7f}
.btn.ghost{background:#fff;color:#2b2140}
.best{font-size:13px;font-weight:800;color:#6d6385;margin-top:6px;min-height:16px}
.brand{margin-top:10px;font-size:12px;font-weight:800;color:#8a7fa0}
.brand a{color:#3b5bdb}
.stHead{font-size:30px;font-weight:900;color:#3b5bdb;margin-bottom:6px}
.newRule{background:#fff3bf;border:2.5px solid #2b2140;border-radius:16px;padding:10px 12px;margin:4px 0 10px;text-align:left}
.newRule .tag{display:inline-block;background:#e03131;color:#fff;font-weight:900;font-size:13px;border-radius:8px;padding:2px 8px;margin-bottom:4px}
.newRule .h{font-size:22px;font-weight:900;color:#2b2140}
.newRule .d{font-size:15px;font-weight:700;color:#4a4060;line-height:1.5;margin-top:2px}
.briefSp{font-size:16px;font-weight:900;color:#c2255c;margin:4px 0 10px}
.briefAll{text-align:left;font-size:14px;font-weight:800;color:#4a4060;margin-bottom:12px;line-height:1.7}
.briefAll .lb{font-size:12px;color:#8a7fa0}
.briefAll span.r{display:inline-block;background:#eef2f8;border-radius:8px;padding:1px 8px;margin:2px 4px 2px 0;color:#2b2140}
.rbList{text-align:left;margin:4px 0 12px;max-height:60vh;overflow:auto}
.rbList .it{padding:8px 4px;border-bottom:1.5px solid #e6e1ee}
.rbList .it b{display:block;font-size:17px;color:#2b2140}
.rbList .it i{display:block;font-style:normal;font-size:14.5px;font-weight:700;color:#4a4060;line-height:1.5;margin-top:2px}
.rbList .visa{font-size:15px;font-weight:800;color:#2b2140;padding:8px 4px}
.resTitle{font-size:28px;font-weight:900;color:#2b9a3e}
.resTitle.lose{color:#e03131}
.cause{font-size:14px;font-weight:900;color:#e03131;margin:2px 0}
.shareImg{display:block;width:100%;max-width:210px;margin:8px auto;border-radius:16px;border:3px solid #2b2140;box-shadow:0 4px 0 #2b2140;-webkit-touch-callout:default;pointer-events:auto}
.stats{font-size:14px;font-weight:700;color:#4a4060;line-height:1.6}
.stats b{color:#3b5bdb}
.toast{position:fixed;left:50%;top:calc(env(safe-area-inset-top) + 64px);transform:translateX(-50%) translateY(-20px);background:#2b2140;color:#fff;font-weight:900;padding:10px 18px;border-radius:99px;opacity:0;transition:all .25s;z-index:20;pointer-events:none;white-space:nowrap;font-size:15px}
.toast.show{opacity:1;transform:translateX(-50%)}
.prog{margin:2px 0 8px;text-align:left}
.rank .rt{font-size:15px;font-weight:900;display:flex;align-items:center;gap:6px}
.rank .badge{background:#3b5bdb;color:#fff;font-size:11px;border-radius:7px;padding:2px 7px}
.rank .ts{margin-left:auto;color:#f08c00;font-size:14px}
.rank .bar{height:9px;background:#eceaf2;border-radius:6px;border:1.5px solid #2b2140;overflow:hidden;margin:5px 0 3px}
.rank .bar i{display:block;height:100%;background:linear-gradient(90deg,#fcc419,#f59f00)}
.rank .nx{font-size:12px;font-weight:800;color:#6d6385}
.days{display:flex;gap:6px;overflow-x:auto;padding:8px 2px 4px;-webkit-overflow-scrolling:touch;touch-action:pan-x;scrollbar-width:none}
.days::-webkit-scrollbar{display:none}
.days button{appearance:none;flex:0 0 auto;min-width:46px;border:2.5px solid #2b2140;border-radius:12px;background:#fff;font-family:inherit;color:#2b2140;padding:3px 4px 2px;cursor:pointer;line-height:1.1}
.days button b{display:block;font-size:17px}
.days button i{display:block;font-style:normal;font-size:11px;color:#f59f00;letter-spacing:-1px;min-height:12px}
.days button.cur{background:#ffd43b;box-shadow:0 3px 0 #2b2140}
.skins{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:12px;font-weight:900;color:#6d6385}
.skins span{margin-right:2px}
.skins button{appearance:none;width:34px;height:34px;border:2px solid #2b2140;border-radius:10px;background:#fff;font-size:18px;line-height:1;padding:0;cursor:pointer}
.skins button.on{background:#ffd43b;box-shadow:0 2px 0 #2b2140}
.skins button.lock{opacity:.45;font-size:13px}
.file{font-size:12px;font-weight:800;color:#6d6385;margin-top:6px;line-height:1.7}
.file span{display:inline-block;background:#f1f3f5;border-radius:6px;padding:0 6px;margin:0 3px 0 0;color:#adb5bd}
.file span.got{background:#f3d9fa;color:#862e9c}
.briefTg{font-size:14px;font-weight:800;color:#4a4060;margin:0 0 10px;text-align:left;background:#fff9db;border:2px solid #2b2140;border-radius:12px;padding:6px 10px;line-height:1.6}
.briefTg .st{color:#f59f00;letter-spacing:-1px}
.briefTg .mine{float:right;color:#3b5bdb}
.briefTg .sneak{font-size:13px;color:#862e9c;border-top:1.5px dashed #e6e1ee;margin-top:4px;padding-top:3px}
.near{font-size:16px;font-weight:900;color:#e8590c;margin:2px 0 4px}
.near.gold{color:#f08c00}
.resRank{margin:8px 0 2px;text-align:left;background:#f8f9ff;border:2px solid #dbe4ff;border-radius:12px;padding:6px 10px}
.promo{background:linear-gradient(90deg,#fff3bf,#ffe066,#fff3bf);border:3px solid #2b2140;border-radius:16px;padding:6px 10px;margin-bottom:8px;animation:pop .5s cubic-bezier(.2,1.6,.4,1) both}
.promo .h{font-size:14px;font-weight:900;color:#e8590c}
.promo .r{font-size:24px;font-weight:900;color:#2b2140}
.promo .u{font-size:13px;font-weight:800;color:#4a4060}
.btn.gold{background:#fab005;color:#2b2140}
@media (max-height:720px){.tips{font-size:13px;line-height:1.45}.title{font-size:34px}.logo svg{width:84px;height:70px}.shareImg{max-width:220px}}
@media (max-height:620px){.tips{display:none}.shareImg{max-width:170px}}

/* launch polish common */
.verChip{appearance:none;display:block;margin:4px auto 0;border:0;background:none;font-family:inherit;font-size:11.5px;font-weight:800;color:#8a7f9a;text-decoration:underline dotted;cursor:pointer;padding:4px 8px}
#clog{z-index:40}
.clogList{text-align:left;max-height:55vh;overflow-y:auto;font-size:13.5px;font-weight:700;line-height:1.5;margin:6px 0 10px;touch-action:pan-y}
.clogList b{display:block;font-size:15px;margin-top:8px}
.clogList ul{margin:2px 0 0;padding-left:18px}
@media (max-height:520px) and (orientation:landscape){
  #title{flex-direction:row;align-items:center;justify-content:center;gap:20px}
  #title .logoWrap{flex:0 0 auto;max-width:36%}
  .screen{padding-top:calc(env(safe-area-inset-top) + 6px);padding-bottom:calc(env(safe-area-inset-bottom) + 6px)}
  .screen>.card{zoom:.82;max-height:calc(100vh / .82 - 14px)}
  .tips{display:none}
}
/* /launch polish common */

/* lp4: HK arrivals-hall title scene (fills the gap, adds identity) */
#title{background:linear-gradient(180deg,#fff6dc 0,#ffe7a6 58%,#ffd27a 100%)}
.hall{position:relative;flex:1 1 0;min-height:0;width:100%;max-width:360px;display:flex;align-items:center;justify-content:center;margin:2px auto}
.hall svg{width:100%;height:100%;max-height:250px;display:block;filter:drop-shadow(0 4px 0 rgba(43,33,64,.25))}
.hallQ{position:absolute;left:3%;top:24%;transform:rotate(-2deg);max-width:63%;background:#fff;border:3px solid #2b2140;border-radius:14px;padding:4px 10px;font-weight:900;font-size:clamp(11px,3.4vw,14px);color:#2b2140;text-align:center;box-shadow:0 3px 0 #2b2140;animation:pop .5s .3s cubic-bezier(.2,1.6,.4,1) both;white-space:normal}
.hallQ:empty{display:none}
.hall .hstamp{animation:hslam 1.6s ease-in-out infinite;transform-origin:305px 100px}
.hall .hq1{animation:hbob 2.2s ease-in-out infinite}.hall .hq2{animation:hbob 2.6s .3s ease-in-out infinite}.hall .hq3{animation:hbob 1.9s .6s ease-in-out infinite}
@keyframes hslam{0%,70%,100%{transform:translateY(0)}78%{transform:translateY(-8px)}86%{transform:translateY(3px)}}
@keyframes hbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media (max-height:600px){.hall{display:none}}
@media (orientation:landscape) and (max-height:560px){.hall{display:none}}
@media (prefers-reduced-motion:reduce){.hall *{animation:none!important}}

.disc{margin:6px auto 0;max-width:92%;font-size:11px;line-height:1.3;font-weight:700;color:#2b2140;opacity:.72;text-align:center}
.disc .d-en{display:none}body.en .disc .d-en{display:inline}body.en .disc .d-zh{display:none}
