:root{--bg:#000;--fg:#f5f5f7;--fg2:#ebebf599;--fg3:#ebebf54d;--glass:#1e1e20b8;--line:#ffffff14;--accent:#d4574f;--warn:#ff9f0a;--safe-t:env(safe-area-inset-top,0px);--safe-b:env(safe-area-inset-bottom,0px);--press:cubic-bezier(.3, 1.7, .5, 1)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--fg);overscroll-behavior-y:none;margin:0}body{-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;font:15px/1.4 -apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.center-msg{min-height:100vh;color:var(--fg2);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:0 40px;display:flex}.mark{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:48px;height:48px;font:600 20px/1 Songti SC,serif;display:grid}.spin{border:2.5px solid var(--fg3);border-top-color:var(--fg);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.page{min-height:100vh;padding-bottom:calc(var(--safe-b) + 60px)}.pg-head{padding:calc(var(--safe-t) + 28px) 16px 10px}.pg-head h1{letter-spacing:.01em;margin:0;font-size:32px;font-weight:700}.pg-head p{color:var(--fg2);margin:4px 0 0;font-size:14px}.bar-top{z-index:20;padding:calc(var(--safe-t) + 8px) 12px 8px 16px;margin-top:calc(-1 * var(--safe-t));justify-content:space-between;align-items:center;gap:12px;transition:background-color .25s;display:flex;position:sticky;top:0}.bar-top.on{background:#0a0a0cf0;box-shadow:0 .5px #ffffff14}.bt-name{opacity:0;white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:600;transition:opacity .2s,transform .25s;overflow:hidden;transform:translateY(4px)}.bar-top.on .bt-name{opacity:1;transform:none}.seg{background:#7676803d;border-radius:9px;flex:none;padding:2px;display:flex;position:relative}.seg i{background:#636366;border-radius:7px;width:calc(50% - 2px);transition:transform .3s cubic-bezier(.3,1.2,.5,1);position:absolute;top:2px;bottom:2px;left:2px}.seg button{min-width:72px;color:var(--fg2);padding:6px 12px;font-size:13px;font-weight:600;transition:color .2s;position:relative}.seg button.on{color:var(--fg)}.grid{grid-template-columns:repeat(3,1fr);gap:2px;display:grid}@media (min-width:700px){.grid{grid-template-columns:repeat(5,1fr)}}@media (min-width:1100px){.grid{grid-template-columns:repeat(7,1fr)}}.tile{aspect-ratio:3/4;contain:layout paint;background:#1c1c1e;position:relative;overflow:hidden}.tile img{object-fit:cover;-webkit-touch-callout:none;width:100%;height:100%;display:block}@keyframes fadein{to{opacity:1}}.tile.away img{visibility:hidden}.tile.land{animation:.34s cubic-bezier(.3,1.4,.5,1) land}@keyframes land{0%{transform:scale(1)}40%{transform:scale(.985)}to{transform:scale(1)}}.chk{width:44px;height:44px;position:absolute;bottom:0;right:0}.chk:before{content:"";border:1.5px solid #ffffffd9;border-radius:50%;width:22px;height:22px;transition:background .15s,border-color .15s;position:absolute;bottom:7px;right:7px;box-shadow:0 0 4px #00000059,inset 0 0 3px #00000026}.chk svg{fill:none;stroke:#fff;stroke-width:3.2px;stroke-linecap:round;stroke-linejoin:round;opacity:0;width:14px;height:14px;transition:opacity .12s, transform .25s var(--press);position:absolute;bottom:11px;right:11px;transform:scale(.4)}.tile.on .chk:before{background:var(--accent);animation:pop .32s var(--press);border-color:#fff}.tile.on .chk svg{opacity:1;transform:scale(1)}@keyframes pop{0%{transform:scale(.7)}60%{transform:scale(1.12)}to{transform:scale(1)}}.empty{white-space:pre-line;text-align:center;color:var(--fg2);padding:80px 20px;line-height:1.8}.dock{z-index:30;padding:8px 12px calc(var(--safe-b) + 8px) 18px;background:#141416f5;position:fixed;bottom:0;left:0;right:0;box-shadow:inset 0 .5px #ffffff1f}.cap{align-items:center;gap:10px;max-width:640px;height:36px;margin:0 auto;display:flex}.count{flex:1;align-items:baseline;gap:1px;min-width:0;display:flex}.count b{font-variant-numeric:tabular-nums;font-size:17px;font-weight:600}.count span{color:var(--fg2);font-variant-numeric:tabular-nums;font-size:14px}.count em{color:var(--fg2);margin-left:8px;font-size:12px;font-style:normal}.cap.over .count b,.cap.over .count em{color:var(--warn)}.go{background:var(--accent);color:#fff;letter-spacing:.02em;height:32px;transition:transform .25s var(--press);border-radius:16px;padding:0 16px;font-size:14px;font-weight:600}.go:active,.v-btn:active,.v-pick:active .ring,.seg button:active{transition-duration:80ms;transform:scale(.88)}.toast{left:50%;top:calc(var(--safe-t) + 64px);z-index:200;white-space:nowrap;color:#fff;background:#36363af7;border-radius:20px;padding:10px 18px;font-size:14px;animation:2.2s cubic-bezier(.2,.9,.3,1) forwards toast;position:fixed;transform:translate(-50%)}@keyframes toast{0%{opacity:0;transform:translate(-50%,-8px)scale(.96)}10%,85%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(-50%,-4px)}}.viewer{z-index:160;touch-action:none;color:var(--fg);position:fixed;inset:0;overflow:hidden}.v-bg{opacity:0;background:#000;position:absolute;inset:0}.v-track{will-change:transform;position:absolute;inset:0}.v-slide{position:absolute;inset:0}.v-wrap{transform-origin:50%;will-change:transform;position:absolute;inset:0}.v-img{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:100%;height:100%;position:absolute;inset:0}.v-img.hi{animation:.2s ease-out fadein}.v-chrome{pointer-events:none;transition:opacity .2s;position:absolute;inset:0}.v-chrome.off{opacity:0}.v-chrome.off *{pointer-events:none!important}.v-top{padding:calc(var(--safe-t) + 8px) 12px 24px;background:linear-gradient(#00000073,#0000);justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;left:0;right:0}.v-btn{pointer-events:auto;width:40px;height:40px;transition:transform .25s var(--press);background:#2c2c30cc;border-radius:50%;place-items:center;display:grid}.v-btn svg{fill:none;stroke:#fff;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.v-idx{font-variant-numeric:tabular-nums;text-shadow:0 1px 6px #00000080;font-size:15px;font-weight:600}.v-pick{pointer-events:auto;right:0;bottom:calc(var(--safe-b) + 2px);place-items:center;width:76px;height:76px;display:grid;position:absolute}.v-pick .ring{width:28px;height:28px;transition:transform .25s var(--press);background:#00000026;border:1.75px solid #ffffffeb;border-radius:50%;place-items:center;display:grid;box-shadow:0 1px 6px #00000073}.v-pick .ring svg{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;opacity:0;width:16px;height:16px}.v-pick.on .ring{background:var(--accent);animation:pop .34s var(--press);border-color:#fff}.v-pick.on .ring svg{opacity:1}.v-count{text-align:right;color:#ffffffd9;font-variant-numeric:tabular-nums;text-shadow:0 1px 6px #0009;min-width:40px;font-size:13px;font-weight:500}.pg-head p.ok{color:#8fd19e;align-items:center;gap:4px;display:flex}.pg-head p.add{color:var(--warn)}.ok-ico{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.grid.ro .tile:not(.on) .chk{display:none}.grid.ro .chk{pointer-events:none}.grid.ro .tile.on .chk:before{animation:none}.ico-btn{width:34px;height:34px;transition:transform .25s var(--press);background:#7676803d;border-radius:50%;flex:none;place-items:center;margin-left:-6px;display:grid;position:relative}.ico-btn svg{fill:none;stroke:#fff;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.ico-btn.dot:after{content:"";background:var(--accent);border-radius:50%;width:7px;height:7px;position:absolute;top:4px;right:4px;box-shadow:0 0 0 1.5px #1c1c1e}.ico-btn:active{transition-duration:80ms;transform:scale(.88)}.go:disabled{opacity:.4}.go.ghost{background:#7676804d;align-items:center;gap:6px;display:flex}.go.ghost svg{fill:none;stroke:#fff;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.count em.st{color:var(--fg);margin-left:0;font-size:14px}.spin.sm{vertical-align:middle;border-width:2px;width:18px;height:18px;display:inline-block}.sheet-wrap{z-index:150;position:fixed;inset:0}.sheet-bg{background:#0000009e;animation:.3s ease-out bgin;position:absolute;inset:0}.sheet{color:var(--fg);background:#1c1c1e;border-radius:16px 16px 0 0;flex-direction:column;max-width:640px;max-height:88vh;margin:0 auto;transition:transform .3s cubic-bezier(.2,.9,.22,1);animation:.42s cubic-bezier(.2,.9,.22,1) sheetin;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -10px 40px #00000080}.sheet.tall{height:88vh}.sheet-wrap.out .sheet{transition:transform .26s cubic-bezier(.4,0,.8,.4);transform:translateY(105%)}.sheet-wrap.out .sheet-bg{opacity:0;transition:opacity .26s}@keyframes sheetin{0%{transform:translateY(100%)}}@keyframes bgin{0%{opacity:0}}.sh-head{touch-action:none;flex:none;padding:18px 56px 12px 20px;position:relative}.grab{background:#ffffff38;border-radius:3px;width:36px;height:5px;margin-left:-18px;position:absolute;top:6px;left:50%}.sh-head h3{margin:0;font-size:19px;font-weight:700}.sh-x{background:#7676803d;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:14px;right:14px}.sh-x svg{fill:none;width:14px;height:14px;stroke:var(--fg2);stroke-width:2.5px;stroke-linecap:round}.sh-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:1;padding:4px 20px 20px;overflow-y:auto}.sh-foot{padding:10px 16px calc(var(--safe-b) + 12px);flex:none;box-shadow:inset 0 .5px #ffffff14}.btn-main{background:var(--accent);color:#fff;width:100%;height:50px;transition:transform .25s var(--press), opacity .2s;border-radius:14px;place-items:center;font-size:17px;font-weight:600;display:grid}.btn-main:disabled{opacity:.4}.btn-main:active:not(:disabled){transition-duration:80ms;transform:scale(.97)}.btn-sub{text-align:center;width:100%;height:44px;color:var(--fg);background:#7676803d;border-radius:12px;margin-top:16px;font-size:15px;font-weight:600;line-height:44px;text-decoration:none;display:block}.sh-tip{text-align:center;color:var(--fg3);margin:10px 0 0;font-size:12px}.sh-tip.left{text-align:left}.hint{color:var(--fg2);margin:8px 0 0;font-size:13px;line-height:1.6}.hint.warn{color:var(--warn)}.sum{gap:10px;margin-top:6px;display:flex}.sum>div{background:#76768029;border-radius:12px;flex:1;padding:12px 12px 10px}.sum b{font-variant-numeric:tabular-nums;font-size:24px;font-weight:700;display:block}.sum span{color:var(--fg2);font-size:12px}.sum .warn{background:#ff9f0a24}.sum .warn b{color:var(--warn)}.sel-grid{grid-template-columns:repeat(4,1fr);gap:4px;margin:16px 0;display:grid}.sel-item{aspect-ratio:3/4;background:#2c2c2e;border-radius:6px;position:relative;overflow:hidden}.sel-item img{object-fit:cover;width:100%;height:100%;display:block}.sel-item.away img{visibility:hidden}.sel-item.land{animation:.34s cubic-bezier(.3,1.4,.5,1) land}.rm{place-items:start end;width:34px;height:34px;padding:4px;display:grid;position:absolute;top:0;right:0}.rm svg{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round;background:#0000008c;border-radius:50%;width:20px;height:20px;padding:4px}.row-link{text-align:left;background:#76768029;border-radius:12px;align-items:center;gap:12px;width:100%;padding:14px;display:flex}.row-link .ico{width:32px;height:32px;color:var(--accent);background:#d4574f33;border-radius:8px;flex:none;place-items:center;font-size:16px;display:grid}.row-link .txt{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.row-link b{font-size:15px;font-weight:600}.row-link em{color:var(--fg2);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-style:normal;overflow:hidden}.arr{color:var(--fg3);flex:none;font-size:20px}.log h4,.compose h4{color:var(--fg2);margin:8px 0 10px;font-size:13px;font-weight:600}.log-item{background:#76768029;border-radius:12px;margin-bottom:8px;padding:12px 14px}.log-item .when{color:var(--fg3);margin-bottom:4px;font-size:12px}.log-item p{white-space:pre-wrap;word-break:break-word;-webkit-user-select:text;user-select:text;margin:0;font-size:15px;line-height:1.6}.refs{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.refs img{object-fit:cover;border-radius:6px;width:56px;height:56px}.compose{margin-top:8px}.compose textarea{resize:none;width:100%;min-height:96px;color:var(--fg);-webkit-user-select:text;user-select:text;background:#76768029;border:0;border-radius:12px;outline:0;padding:12px 14px;font:16px/1.55 inherit}.compose textarea::placeholder{color:var(--fg3)}.refs.edit{margin-top:10px}.ref{background:#76768029;border-radius:8px;place-items:center;width:72px;height:72px;display:grid;position:relative;overflow:hidden}.ref img{object-fit:cover;width:100%;height:100%}.ref .rm{width:30px;height:30px;padding:3px}.ref .rm svg{width:18px;height:18px}.ref.add{cursor:pointer;color:var(--fg2);background:0 0;border:1.5px dashed #fff3;flex-direction:column;gap:2px;font-size:11px}.ref.add input{display:none}.ref.add svg{fill:none;width:22px;height:22px;stroke:var(--fg2);stroke-width:2px;stroke-linecap:round}.opts{flex-direction:column;gap:8px;margin-top:6px;display:flex}.opt{text-align:left;background:#76768029;border-radius:12px;align-items:center;gap:12px;padding:16px;display:flex}.opt:disabled{opacity:.5}.opt .txt{flex-direction:column;flex:1;gap:2px;display:flex}.opt b{font-size:16px;font-weight:600}.opt em{color:var(--fg2);font-size:13px;font-style:normal}.wx .dl-title,.done-dl .dl-title{margin:6px 0 12px;font-size:17px;font-weight:600}.wx ol,.done-dl ol{color:var(--fg2);margin:0;padding-left:20px;font-size:15px;line-height:1.9}.wx b,.done-dl b{color:var(--fg)}.done-screen{z-index:180;padding:0 32px calc(var(--safe-b) + 20px);text-align:center;background:#000000f7;flex-direction:column;justify-content:center;align-items:center;animation:.3s ease-out bgin;display:flex;position:fixed;inset:0}.done-screen h2{margin:22px 0 8px;font-size:26px;font-weight:700}.done-screen p{color:var(--fg2);margin:0;font-size:15px;line-height:1.7}.done-screen p.sub{color:var(--warn);margin-top:6px;font-size:13px}.done-screen .btn-main{max-width:320px;margin-top:36px}.tick svg{fill:none;stroke-linecap:round;stroke-linejoin:round;width:88px;height:88px}.tick circle{stroke:var(--accent);stroke-width:2.5px;stroke-dasharray:151;stroke-dashoffset:151px;animation:.6s cubic-bezier(.65,0,.35,1) .1s forwards draw}.tick path{stroke:#fff;stroke-width:3.5px;stroke-dasharray:40;stroke-dashoffset:40px;animation:.35s cubic-bezier(.65,0,.35,1) .55s forwards draw}@keyframes draw{to{stroke-dashoffset:0}}.done-dl .btn-main{margin:4px 0 18px;text-decoration:none}.done-dl .sh-tip{margin-top:14px}.v-box{transform-origin:50%;will-change:transform;position:absolute;overflow:hidden}.v-inner{transform-origin:50%;will-change:transform;position:absolute;inset:0}.v-box .v-img{object-fit:cover}.v-img.hi{pointer-events:auto;-webkit-touch-callout:default}.opt.hl{background:#d4574f29;box-shadow:inset 0 0 0 1px #d4574f73}.done-dl .bar{background:#7676804d;border-radius:2px;height:4px;margin:-4px 0 16px;overflow:hidden}.done-dl .bar i{background:var(--accent);height:100%;transition:width .3s;display:block}.done-dl .pct{color:var(--fg2);font-variant-numeric:tabular-nums;margin:-10px 0 14px;font-size:12px}.dv{--paper:#fff;--ink:#211922;--ink2:#8e8a87;--card:#efeeeb;background:var(--paper);min-height:100vh;color:var(--ink);padding-bottom:calc(var(--safe-b) + 104px)}.dv-cover{height:100vh;background:#1a1714;height:100svh;position:relative;overflow:hidden}.dv-cover img{object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity 1.4s ease-out,transform 2.6s cubic-bezier(.2,.7,.2,1);position:absolute;inset:0;transform:scale(1.08)}.dv-cover img.in{opacity:1;transform:scale(1)}.dv-shade{background:linear-gradient(#0000002e,#0000 30% 52%,#0000008c);position:absolute;inset:0}.dv-words{left:28px;right:28px;bottom:calc(var(--safe-b) + 156px);color:#fff;position:absolute}.dv-words>*{opacity:0;animation:.9s cubic-bezier(.2,.8,.2,1) forwards rise;transform:translateY(14px)}.dv-mast{top:calc(env(safe-area-inset-top) + 26px);text-align:center;color:#fff;letter-spacing:.6em;text-indent:.6em;opacity:0;margin:0;font:400 13px/1 Songti SC,STSong,serif;animation:.9s cubic-bezier(.2,.8,.2,1) .5s forwards rise;position:absolute;left:0;right:0}.dv-words h1{letter-spacing:.12em;margin:0;font:500 44px/1.1 Songti SC,STSong,serif;animation-delay:.9s!important}.dv-date{letter-spacing:.24em;color:#ffffffe0;align-items:center;gap:12px;margin:18px 0 0;font:400 13px/1 Songti SC,serif;display:flex;animation-delay:1.2s!important}.dv-date i{background:#ffffffb3;width:28px;height:1px}@keyframes rise{to{opacity:1;transform:none}}.dv-down{width:max-content;left:0;right:0;bottom:calc(var(--safe-b) + 92px);color:#ffffffd9;letter-spacing:.2em;opacity:0;flex-direction:column;align-items:center;gap:2px;margin:0 auto;font-size:12px;animation:.8s 1.8s forwards rise;display:flex;position:absolute}.dv-down svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;animation:1.8s ease-in-out 2.6s infinite nudge}@keyframes nudge{0%,to{transform:translateY(0)}50%{transform:translateY(5px)}}.dv-wall{flex-direction:column;gap:8px;min-height:60vh;padding:36px 12px 0;display:flex}@media (min-width:700px){.dv-wall{gap:12px;padding:56px max(24px,50% - 360px) 0}}.dv-row{align-items:flex-start;gap:8px;display:flex}.dv-row.dv-big{display:block}.dv-row.dv-big .dv-cell{width:100%}.dv-cell{flex-direction:column;gap:8px;min-width:0;display:flex}.dv-wait{place-items:center;padding-top:60px;display:grid}.dv .spin{border-color:#2119228c #2119221f #2119221f}.d-item{background:var(--card);cursor:pointer;opacity:0;border-radius:16px;margin:0;transition:opacity .8s ease-out,transform .9s cubic-bezier(.2,.8,.2,1);overflow:hidden;transform:translateY(18px)}.d-item.show{opacity:1;transition:opacity .8s ease-out,transform .9s cubic-bezier(.2,.8,.2,1);transform:none}.d-item.show:active{transition:transform .12s;transform:scale(.97)}.dv-quiet .d-item{transition:none}.d-item img{object-fit:cover;-webkit-touch-callout:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.dv-end{text-align:center;color:var(--ink);letter-spacing:.12em;margin:44px 0 0;font:15px/1.9 Songti SC,serif}.dv-end span{color:var(--ink2);letter-spacing:.04em;font:12px -apple-system,PingFang SC,sans-serif}.dv-dock{z-index:30;padding:12px 20px calc(var(--safe-b) + 14px);pointer-events:none;opacity:0;justify-content:center;transition:opacity .3s;display:flex;position:fixed;bottom:0;left:0;right:0}.dv-dock.on{opacity:1}.dv-dock .dv-save{transition:transform .45s cubic-bezier(.2,.9,.3,1);transform:translateY(140%)}.dv-dock.on .dv-save{transform:none}.dv-save{pointer-events:auto;background:var(--ink);color:#fff;letter-spacing:.06em;border-radius:26px;justify-content:center;align-items:center;gap:8px;width:100%;max-width:420px;height:52px;font-size:16px;font-weight:600;display:flex;box-shadow:0 8px 24px #21192238}.dv-dock.on .dv-save:active{transition:transform 80ms;transform:scale(.88)}.dv-dock.on .dv-save:not(:active){transition:transform .35s cubic-bezier(.3,1.7,.5,1)}.dv-save svg{fill:none;stroke:#fff;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.done-dl.finished{text-align:center;padding-top:6px}.done-dl.finished .dl-title{margin:10px 0 6px;font-size:22px}.done-dl.finished .hint,.done-dl.finished .bar{margin:0 0 18px}.ok-big svg{fill:none;stroke-linecap:round;stroke-linejoin:round;width:64px;height:64px}.ok-big circle{stroke:#34c759;stroke-width:2.5px;stroke-dasharray:151;stroke-dashoffset:151px;animation:.5s cubic-bezier(.65,0,.35,1) forwards draw}.ok-big path{stroke:#34c759;stroke-width:3.5px;stroke-dasharray:40;stroke-dashoffset:40px;animation:.3s cubic-bezier(.65,0,.35,1) .4s forwards draw}.dv-cover.tile{aspect-ratio:auto;contain:none;cursor:pointer;border-radius:0}
