:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#102c32;color:#f5ebcf}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
body{position:fixed;inset:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
#canvas{position:absolute;inset:0;display:block;width:100%;height:100%;outline:0;touch-action:none}
#insets{visibility:hidden;pointer-events:none;position:absolute;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.screen{position:fixed;inset:0;display:grid;place-items:center;text-align:center;padding:max(16px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));background:linear-gradient(180deg,#091c29a6,#12353b70 36%,#09282ef2 92%),url(shore.jpg) center/cover}
#loading{z-index:2}.splash{width:min(78vw,340px)}h1,h2,p{margin:0}.crest{font-size:29px;color:#eccea0;margin-bottom:7px}h1,h2{font-family:"Songti SC","STSong","Noto Serif CJK SC",serif;font-weight:600;letter-spacing:.09em}h1{font-size:clamp(36px,8vh,64px)}p{margin:13px 0 16px;font-size:16px;line-height:1.55;color:#e2e6da}small{font-size:13px;line-height:1.6;color:#c8d6ce}
progress{display:block;width:min(100%,290px);height:5px;margin:18px auto 7px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:#254b51;color:#dec799}
progress::-webkit-progress-bar{background:#254b51}progress::-webkit-progress-value{background:#e3c790;transition:width .18s linear}progress::-moz-progress-bar{background:#e3c790}
button{font:600 15px/1.2 inherit;font-family:inherit;color:#f5edd7;border:1px solid #c1ba92aa;background:#21464be8;border-radius:8px;min-height:44px;padding:6px 18px}
#expand{position:fixed;z-index:3;right:max(12px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));font-size:14px}
#retry{margin:8px auto}#turn{display:none;z-index:5}.turn-inner{max-width:350px}.motion{position:relative;display:grid;place-items:center;width:176px;height:144px;margin:0 auto 31px}.orbit{width:144px;height:144px;border:1px solid #d4c58c4f;border-top-color:#f2d59eb3;border-radius:50%;transform:rotate(-36deg)}.orbit::after{content:"";position:absolute;top:20px;right:13px;width:8px;height:8px;border:solid #f2d59e;border-width:0 2px 2px 0;transform:rotate(18deg)}
.handset{position:absolute;width:53px;height:95px;padding:4px;border:2px solid #f1d7a1;border-radius:12px;background:#153d41;box-shadow:0 6px 24px #071e2575;animation:rotate-phone 3s cubic-bezier(.4,0,.2,1) infinite}.glass{height:100%;border-radius:7px;background:linear-gradient(30deg,#19494f66,transparent),url(shore.jpg) center/cover}.handset:after{content:"";position:absolute;left:50%;top:5px;width:13px;height:3px;transform:translateX(-50%);border-radius:3px;background:#14333b}
h2{font-size:clamp(28px,7vw,38px)}#turn small{display:block;margin:32px auto 0;max-width:270px}
@keyframes rotate-phone{0%,13%{transform:rotate(0deg)}48%,80%{transform:rotate(-90deg)}100%{transform:rotate(0deg)}}
@media (orientation:portrait){#turn{display:grid}#canvas{pointer-events:none}#expand{display:none}}
@media (prefers-reduced-motion:reduce){.handset{animation:none;transform:rotate(-90deg)}}
[hidden]{display:none!important}
