html.collection-viewer-open{overflow:hidden;scrollbar-gutter:auto}.collection-viewer-open{overflow:hidden}
.collection-viewer{--panel-space:0px;position:fixed;inset:0;width:100%;height:100%;height:100svh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#141414;color:#fff;overflow:hidden;isolation:isolate;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}
.collection-viewer::backdrop{background:#141414}.collection-viewer-backdrop{position:absolute;inset:-32px;width:calc(100% + 64px);height:calc(100% + 64px);filter:blur(30px) brightness(.66);pointer-events:none;z-index:0}.collection-viewer-backdrop[hidden]{display:none}.collection-viewer-shade{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,#0001 20%,#0005 100%);z-index:1}
.collection-viewer button,.collection-viewer a,.collection-viewer textarea{font:inherit}.collection-viewer button,.collection-viewer-detail{border:1px solid #ffffff38;border-radius:8px;min-height:44px;padding:8px 14px;background:#202124c9;color:#fff;cursor:pointer}.collection-viewer button:disabled{opacity:.3;cursor:default}.collection-viewer button:focus-visible,.collection-viewer a:focus-visible,.collection-viewer input:focus-visible,.collection-viewer textarea:focus-visible{outline:3px solid #ffde00;outline-offset:2px}
.collection-viewer-top{position:absolute;inset:18px calc(var(--panel-space) + 20px) auto 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:4;pointer-events:none}.collection-viewer-top>*{pointer-events:auto}.collection-viewer .collection-viewer-close,.collection-viewer-detail{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:12px;background:#15151580;backdrop-filter:blur(12px);text-decoration:none}.collection-viewer-top svg,.collection-image-prev svg,.collection-image-next svg,.collection-work-nav svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.collection-viewer-stage{position:absolute;inset:56px calc(var(--panel-space) + 84px) 56px 84px;display:flex;align-items:center;justify-content:center;touch-action:pinch-zoom;z-index:2}.collection-viewer-stage>img,.collection-viewer-stage>video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:transparent}
.collection-viewer-caption{position:absolute;bottom:78px;left:24px;right:calc(var(--panel-space) + 108px);z-index:3;pointer-events:none;text-shadow:0 1px 8px #000}.collection-viewer-caption h2{margin:0;font-size:19px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.collection-viewer .collection-image-prev,.collection-viewer .collection-image-next{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;z-index:3;width:48px;height:48px;min-height:44px;padding:10px;border:1px solid #ffffff40;border-radius:50%;background:#17171755;backdrop-filter:blur(10px)}.collection-image-prev{left:20px}.collection-image-next{right:calc(var(--panel-space) + 98px)}.collection-viewer .collection-image-prev[hidden],.collection-viewer .collection-image-next[hidden]{display:none}
.collection-work-nav{position:absolute;right:calc(var(--panel-space) + 20px);top:clamp(80px,18%,160px);width:46px;display:flex;flex-direction:column;z-index:4;border:1px solid #ffffff45;border-radius:26px;background:#15151538;backdrop-filter:blur(12px);overflow:hidden}.collection-viewer .collection-work-nav button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:9px;border:0;border-radius:0;background:transparent}.collection-work-nav button+button{border-top:1px solid #ffffff20}
.collection-viewer-bottom{position:absolute;inset:auto calc(var(--panel-space) + 20px) 0 20px;height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:4}.collection-viewer-counter{font-size:13px;color:#fff;text-shadow:0 1px 6px #000}.collection-autoplay{display:flex;gap:8px;align-items:center;font-size:14px;text-shadow:0 1px 6px #000;white-space:nowrap;min-height:44px;cursor:pointer}.collection-autoplay input{appearance:none;width:38px;height:24px;flex:none;border:1px solid #ffffff70;border-radius:15px;background:#555;position:relative;margin:0;cursor:pointer}.collection-autoplay input::before{content:"";position:absolute;width:18px;height:18px;left:2px;top:2px;border-radius:50%;background:#fff}.collection-autoplay input:checked{background:#ffde00;border-color:#ffde00}.collection-autoplay input:checked::before{transform:translateX(14px);background:#111}
.collection-social{position:absolute;right:calc(var(--panel-space) + 12px);bottom:100px;display:flex;flex-direction:column;align-items:center;gap:12px;width:60px;z-index:4}.collection-author{min-width:44px;min-height:44px;display:grid;place-items:center;width:44px;height:44px;flex:none;margin-bottom:6px;border-radius:50%;background:#ffde00;box-shadow:0 1px 8px #0003}.collection-author img{display:block;width:38px;height:38px;object-fit:contain}.collection-social button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;width:56px;min-height:56px;border:0;background:transparent;padding:4px;font-size:21px;filter:drop-shadow(0 1px 3px #0006)}.collection-social svg{width:30px;height:30px;fill:currentColor}.collection-social svg circle{fill:#333}.collection-social button small{font-size:13px;line-height:1.2}.collection-social button[aria-pressed=true]{color:#ffde00}.collection-social button[aria-label="点赞"][aria-pressed=true]{color:#ff536c}
.collection-viewer-notice{position:absolute;bottom:126px;left:24px;right:calc(var(--panel-space) + 90px);z-index:5;text-align:center;padding:10px;font-size:14px;line-height:1.5;background:#222e;border-radius:8px}.collection-social-status{position:absolute;bottom:120px;left:24px;right:calc(var(--panel-space) + 90px);z-index:9;background:#252525df;color:#fff;padding:10px;border-radius:8px;overflow-wrap:anywhere;font-size:14px}.collection-social-status a{display:block;text-decoration:underline}
.collection-viewer.has-comments{--panel-space:360px}.collection-comments{position:absolute;right:0;top:0;bottom:0;width:360px;background:#202124;padding:18px 16px;z-index:7;display:flex;flex-direction:column;gap:12px;box-sizing:border-box}.collection-comments[hidden]{display:none}.collection-comments-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.collection-comments-head h3{margin:0;font-size:18px}.collection-comment-list{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.collection-comment-list article{padding:12px 0;border-bottom:1px solid #444;overflow-wrap:anywhere}.collection-comment-list p{white-space:pre-wrap;line-height:1.6;margin:8px 0}.collection-comment-list small{font-size:12px;color:#aaa}.collection-comments form{display:grid;gap:8px}.collection-comments textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:70px;max-height:160px;background:#303135;color:#fff;border:1px solid #666;border-radius:8px;padding:10px}.collection-comments textarea::placeholder{color:#ccc;opacity:1}.collection-comment-pager{display:flex;justify-content:space-between}.collection-comment-pager[hidden]{display:none}
@media(max-width:760px){.collection-viewer,.collection-viewer.has-comments{--panel-space:0px}.collection-viewer-top{inset:12px 12px auto}.collection-viewer-stage{left:31px;right:31px}.collection-viewer-caption{left:14px;right:78px;bottom:74px}.collection-viewer-caption h2{font-size:16px}.collection-social{right:2px;width:56px;bottom:102px;gap:10px}.collection-social button{width:52px;min-height:52px;gap:4px}.collection-social svg{width:28px;height:28px}.collection-author{width:40px;height:40px;margin-bottom:2px}.collection-author img{width:35px;height:35px}.collection-work-nav{right:8px;top:clamp(72px,17%,140px)}.collection-viewer .collection-image-prev,.collection-viewer .collection-image-next{width:44px;height:44px;padding:9px}.collection-image-prev{left:10px}.collection-image-next{right:72px}.collection-viewer-bottom{inset:auto 12px 0}.collection-comments{top:35%;width:100%;border-radius:18px 18px 0 0;padding-top:14px}.collection-comments textarea{max-height:110px}.collection-viewer.has-comments .collection-viewer-stage{top:0;bottom:calc(65% + 50px)}.collection-viewer.has-comments .collection-viewer-bottom{bottom:65%;height:50px}.collection-viewer.has-comments .collection-viewer-caption,.collection-viewer.has-comments .collection-social,.collection-viewer.has-comments .collection-work-nav,.collection-viewer.has-comments .collection-image-prev,.collection-viewer.has-comments .collection-image-next{visibility:hidden}.collection-viewer.has-comments .collection-social-status,.collection-viewer.has-comments .collection-viewer-notice{left:12px;right:12px;bottom:calc(65% + 55px)}}
@media(max-height:620px){.collection-social{bottom:72px;gap:6px}.collection-social button{min-height:44px;gap:3px}.collection-social svg{width:24px;height:24px}.collection-author{width:34px;height:34px;margin-bottom:0}.collection-author img{width:30px;height:30px}.collection-work-nav{right:calc(var(--panel-space) + 84px);top:12px}.collection-viewer-caption{bottom:62px}.collection-viewer-caption h2{font-size:15px}.collection-viewer-top{top:12px}.collection-viewer .collection-image-prev,.collection-viewer .collection-image-next{width:44px;height:44px}.collection-comments{gap:8px;padding-top:10px}.collection-comments textarea{min-height:44px;height:54px}}

.collection-viewer.is-video .collection-viewer-caption{bottom:128px}.collection-viewer.is-video .collection-viewer-notice,.collection-viewer.is-video .collection-social-status{bottom:176px}@media(max-width:760px){.collection-viewer.has-comments.is-video .collection-social-status,.collection-viewer.has-comments.is-video .collection-viewer-notice{bottom:calc(65% + 55px)}}

.collection-side-rail{position:absolute;top:26%;bottom:18%;right:calc(var(--panel-space) + 12px);width:60px;display:flex;flex-direction:column;align-items:center;gap:clamp(32px,5vh,56px);z-index:4;pointer-events:none}.collection-side-rail>*{pointer-events:auto}.collection-side-rail .collection-work-nav{position:static;flex:none}.collection-side-rail .collection-social{position:static;flex:1;min-height:0;width:60px;gap:0;justify-content:space-between}.collection-side-rail .collection-author{margin-bottom:0}@media(max-width:760px){.collection-side-rail{right:2px;width:56px}.collection-side-rail .collection-social{width:56px}.collection-viewer.has-comments .collection-side-rail{visibility:hidden}}@media(max-height:740px){.collection-side-rail{top:20%;bottom:14%}}@media(max-height:620px){.collection-side-rail{top:auto;bottom:72px;gap:0}.collection-side-rail .collection-social{flex:none;gap:6px}.collection-side-rail .collection-work-nav{position:fixed;right:calc(var(--panel-space) + 84px);top:12px}}

@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-viewer .collection-work-nav,.collection-viewer .collection-image-prev,.collection-viewer .collection-image-next{display:none!important}.collection-side-rail{top:46%;bottom:12%;gap:0}.collection-side-rail .collection-social{flex:1;gap:0;justify-content:space-between}}@media(max-height:540px) and (max-width:760px),(max-height:540px) and (hover:none) and (pointer:coarse){.collection-side-rail{top:20%;bottom:70px}}

/* Comment sidebar: source reference typography, tabs, rows and fixed composer. */
.collection-viewer.has-comments{--panel-space:330px}.collection-comments{width:330px;padding:0;gap:0;background:#20212b;color:#f4f4f6;border-left:1px solid #343540}.collection-comments-tabs{height:50px;min-height:50px;display:flex;align-items:stretch;gap:2px;padding:0 8px;border-bottom:1px solid #30313a}.collection-viewer .collection-comments-tabs [role=tab]{position:relative;min-height:49px;border:0;border-radius:0;background:transparent;color:#b7bdcb;padding:0 6px;font-size:14px;white-space:nowrap}.collection-comments-tabs [aria-selected=true]{color:#fff!important;font-weight:600}.collection-comments-tabs [aria-selected=true]::after{content:"";position:absolute;left:6px;right:6px;bottom:0;height:2px;background:#ff315e}.collection-viewer .collection-comments-close{width:30px;min-width:30px;min-height:44px;padding:5px;margin-left:auto;border:0;background:transparent}.collection-comments-close img{width:20px;height:20px;opacity:.75}.collection-comments-count{font-size:14px;line-height:20px;font-weight:600;margin:0;padding:14px 12px 4px}.collection-comment-list{padding:0 12px;scrollbar-width:thin;scrollbar-color:#41434f transparent}.collection-comment-list article{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;padding:14px 0;border:0}.collection-comment-avatar{display:block;width:36px;height:36px;border-radius:50%;background:#343643;filter:invert(.72)}.collection-comment-body{min-width:0}.collection-comment-body strong{display:block;font-size:12px;line-height:18px;font-weight:400;color:#a9b6ce}.collection-comment-body p{font-size:14px;line-height:22px;margin:3px 0 4px;overflow-wrap:anywhere}.collection-comment-body time{display:block;color:#91a2bd;font-size:12px;line-height:18px}.collection-comment-actions{display:flex;align-items:center;gap:10px;margin-top:8px}.collection-viewer .collection-comment-actions button{display:flex;align-items:center;gap:3px;min-height:28px;padding:2px 0;border:0;background:transparent;color:#a7acb9;font-size:12px;white-space:nowrap}.collection-comment-actions img{display:block;width:15px;height:15px;opacity:.65;filter:invert(1)}.collection-comment-actions [aria-pressed=true]{color:#ff4269!important}.collection-comment-actions [aria-pressed=true] img{filter:invert(45%) sepia(95%) saturate(2200%) hue-rotate(315deg);opacity:1}.collection-comments-empty{font-size:14px;text-align:center;color:#9b9eab;margin-top:35px!important}.collection-comments .collection-comment-pager{padding:4px 12px 8px}.collection-viewer .collection-comment-pager button{font-size:12px;min-height:32px;padding:4px 8px;border-color:#40424d;background:transparent;color:#aab1c0}
.collection-comments form.collection-comment-composer{position:relative;display:flex;align-items:flex-end;flex:none;gap:0;margin:8px 10px 12px;padding:2px 4px 2px 8px;min-height:48px;border:1px solid transparent;border-radius:12px;background:#3a3b45}.collection-comment-composer:focus-within{border-color:#777d8e!important}.collection-comments .collection-comment-composer textarea{flex:1;min-width:0;min-height:40px;max-height:88px;height:40px;resize:none;border:0;border-radius:0;background:transparent;padding:10px 2px;outline:0;color:#f5f5f7;font-size:14px;line-height:20px}.collection-comments .collection-comment-composer textarea::placeholder{color:#8f929e;opacity:1}.collection-composer-actions{display:flex;align-items:center;flex:none;min-height:40px}.collection-viewer .collection-composer-actions button{display:grid;place-items:center;width:32px;min-height:40px;padding:6px;border:0;background:transparent}.collection-composer-actions img,.collection-comments-close img{display:block;filter:invert(.7);width:20px;height:20px}.collection-composer-actions [type=submit]:not(:disabled) img{filter:invert(1)}.collection-emoji-menu{position:absolute;bottom:calc(100% + 8px);right:0;display:grid;grid-template-columns:repeat(4,40px);gap:2px;padding:6px;border:1px solid #505363;background:#30323e;border-radius:10px;z-index:2}.collection-viewer .collection-emoji-menu button{font-size:21px;padding:4px;min-height:40px;border:0;background:transparent}.collection-emoji-menu[hidden],.collection-panel-content[hidden],.collection-comment-list[hidden],.collection-comment-composer[hidden],.collection-comments-count[hidden]{display:none!important}
.collection-panel-content{flex:1;min-height:0;overflow:auto;padding:16px 12px;overscroll-behavior:contain}.collection-panel-content h3{font-size:18px;line-height:1.5;margin:0 0 8px}.collection-panel-content small{color:#a9b6ce}.collection-panel-content p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.collection-panel-content>a{font-size:14px;color:#d0d6e5;text-decoration:underline}.collection-panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}.collection-panel-grid a{min-width:0;font-size:12px;line-height:1.5}.collection-panel-grid img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:5px;background:#343641}.collection-panel-grid span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-top:5px}
@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-viewer.has-comments{--panel-space:0px}.collection-comments{top:35%;bottom:0;left:0;right:0;width:100%;padding:0;border:0;border-radius:18px 18px 0 0}.collection-viewer.has-comments .collection-viewer-stage{left:31px;right:31px;top:0;bottom:calc(65% + 50px)}.collection-viewer.has-comments .collection-viewer-bottom{bottom:65%;right:12px;height:50px}.collection-viewer.has-comments .collection-viewer-caption,.collection-viewer.has-comments .collection-side-rail{visibility:hidden}.collection-comments-tabs{padding:0 12px;gap:7px}.collection-viewer .collection-comments-tabs [role=tab]{padding:0 8px}.collection-comments-count{padding-top:12px}.collection-comments form.collection-comment-composer{margin-bottom:max(12px,env(safe-area-inset-bottom))}.collection-viewer.has-comments .collection-social-status{left:12px;right:12px;bottom:calc(65% + 55px)}}

.collection-comment-avatar{background:transparent}

.collection-comments-count{padding-top:11px}.collection-comment-list article{padding:8px 0 14px}.collection-comment-body p{line-height:20px}.collection-comment-actions{margin-top:6px}.collection-viewer .collection-comment-actions button{min-height:24px}@media(max-width:760px){.collection-viewer .collection-comment-actions button{min-height:32px}}

.collection-social-status.is-panel{left:auto;right:12px;bottom:72px;width:306px;box-sizing:border-box}@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-social-status.is-panel{left:12px;right:12px;width:auto;bottom:78px}}


/* Phone player uses the available viewport; desktop keeps its controls and margins. */
.collection-viewer .collection-work-nav button[hidden]{display:none!important}@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-viewer{height:100dvh}.collection-viewer .collection-viewer-stage{inset:0}.collection-viewer-stage[data-orientation=portrait]>video{object-fit:cover}.collection-viewer-top{top:max(12px,env(safe-area-inset-top));left:12px;right:12px}.collection-viewer-bottom{bottom:env(safe-area-inset-bottom);height:50px}.collection-viewer-caption{bottom:calc(80px + env(safe-area-inset-bottom))}.collection-viewer.is-video .collection-viewer-caption{bottom:calc(100px + env(safe-area-inset-bottom))}.collection-viewer-close,.collection-viewer-detail{background:#15151538!important;backdrop-filter:none}.collection-viewer.has-comments .collection-viewer-stage{inset:0}}

.collection-floating-comments{display:none;pointer-events:none}@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-floating-comments:not([hidden]){display:block;position:absolute;left:12px;right:78px;bottom:calc(144px + env(safe-area-inset-bottom));overflow:hidden;z-index:3;pointer-events:none;mask-image:linear-gradient(transparent,#000 12%,#000 92%,transparent)}.collection-floating-comments p{position:absolute;bottom:0;left:0;max-width:100%;margin:0;padding:7px 10px;border-radius:16px;background:#1818188c;backdrop-filter:blur(8px);color:#fff;font-size:13px;line-height:20px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;animation:collection-comment-rise 9s linear forwards}.collection-floating-comments strong{font-weight:600;color:#ffe789}.collection-floating-comments[hidden]{display:none!important}}@keyframes collection-comment-rise{0%{transform:translateY(110%);opacity:0}12%,85%{opacity:1}100%{transform:translateY(calc(-1 * var(--float-travel)));opacity:0}}@media(prefers-reduced-motion:reduce){.collection-floating-comments{display:none!important}}

.collection-viewer button svg,.collection-viewer button svg *,.collection-viewer button>small,.collection-viewer button>img{pointer-events:none}

.collection-viewer-counter{display:none}.collection-viewer-bottom{justify-content:flex-end}
.collection-swipe-hint{display:inline-block;margin-top:3px;font-size:12px;color:#fff;text-shadow:0 1px 5px #000}
.collection-swipe-hint[hidden]{display:none}
.collection-viewer-notice button{margin-left:8px}

.collection-viewer .collection-player-sound{position:absolute;right:18px;bottom:72px;z-index:5;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;background:#15151566;border-radius:50%}.collection-player-sound svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.collection-player-sound[hidden],.collection-viewer.has-comments .collection-player-sound{display:none!important}@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-viewer .collection-player-sound{right:12px;bottom:calc(24px + env(safe-area-inset-bottom))}}

.collection-gallery-progress{position:absolute;display:flex;gap:4px;height:3px;z-index:3;pointer-events:none;filter:drop-shadow(0 1px 2px #0008)}.collection-gallery-progress span{display:block;flex:1;min-width:0;height:100%;border-radius:2px;background:#fff6}.collection-gallery-progress [data-current=true]{background:#fff}.collection-gallery-progress[hidden]{display:none!important}@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-gallery-progress{gap:3px}}

/* Desktop navigation stays in matching blurred gutters, apart from the compact action rail. */
@media(min-width:761px) and (hover:hover) and (pointer:fine){.collection-viewer .collection-viewer-stage{left:148px;right:calc(var(--panel-space) + 148px)}.collection-viewer .collection-image-prev{left:80px}.collection-viewer .collection-image-next{right:calc(var(--panel-space) + 80px)}.collection-viewer-close,.collection-image-prev,.collection-image-next,.collection-work-nav{opacity:.3;transition:opacity .16s ease-out}.collection-viewer-close:hover,.collection-viewer-close:focus-visible,.collection-image-prev:hover,.collection-image-prev:focus-visible,.collection-image-next:hover,.collection-image-next:focus-visible,.collection-work-nav:hover,.collection-work-nav:focus-within{opacity:1}.collection-side-rail{top:26%;bottom:auto;gap:clamp(24px,4vh,44px)}.collection-side-rail .collection-social{flex:0 0 auto;gap:14px;justify-content:flex-start}.collection-side-rail .collection-author{margin:0}.collection-viewer .collection-player-sound{right:calc(var(--panel-space) + 80px)}}
@media(min-width:761px) and (hover:hover) and (pointer:fine) and (max-height:740px){.collection-side-rail{top:auto;bottom:72px;gap:0}.collection-side-rail .collection-work-nav{position:fixed;right:calc(var(--panel-space) + 80px);top:12px}.collection-side-rail .collection-social{gap:4px}.collection-social button{min-height:48px;height:48px;padding:2px;gap:2px}.collection-social svg{width:24px;height:24px}.collection-author{height:44px;width:44px}.collection-author img{width:36px;height:36px}}
@media(min-width:761px) and (hover:hover) and (pointer:fine) and (max-height:540px){.collection-side-rail .collection-social{gap:0}}@media(prefers-reduced-motion:reduce){.collection-viewer-close,.collection-image-prev,.collection-image-next,.collection-work-nav{transition:none}}

@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-viewer.has-comments:not(.is-video) .collection-viewer-stage{top:0;left:0;right:0;bottom:65%}.collection-viewer.has-comments .collection-viewer-stage>img{object-fit:contain}}

/* Reserve action space independently of textarea intrinsic width, including mobile keyboards. */
.collection-comments form.collection-comment-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;max-width:calc(100% - 20px);box-sizing:border-box}.collection-comments .collection-comment-composer textarea{width:100%;min-width:0;box-sizing:border-box}.collection-composer-actions{display:grid;grid-template-columns:repeat(3,32px);width:max-content;min-width:0}.collection-viewer .collection-composer-actions button{min-width:32px}
@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-comments .collection-comment-composer textarea{font-size:16px;line-height:22px;min-height:44px}.collection-composer-actions{grid-template-columns:repeat(3,44px);min-height:44px}.collection-viewer .collection-composer-actions button{width:44px;min-width:44px;min-height:44px;padding:10px}.collection-viewer.is-comment-editing{inset:auto;left:var(--comment-viewport-left,0px);top:var(--comment-viewport-top,0px);width:var(--comment-viewport-width,100%);height:var(--comment-viewport-height,100dvh)}.collection-viewer.is-comment-editing .collection-comments{top:0;border-radius:0}.collection-viewer.is-comment-narrow .collection-composer-actions{grid-template-columns:44px}.collection-viewer.is-comment-narrow .collection-composer-actions>button:not([type=submit]){display:none}.collection-viewer.is-comment-narrow .collection-comments-tabs{gap:0;padding:0 4px}.collection-viewer.is-comment-narrow .collection-comments-tabs [role=tab]{font-size:12px;padding:0 3px}}

/* Leave the mobile system player’s top controls unobstructed. */
@media(max-width:760px),(hover:none) and (pointer:coarse){.collection-viewer .collection-viewer-top{top:calc(56px + env(safe-area-inset-top))}}@media(max-height:540px) and (max-width:760px),(max-height:540px) and (hover:none) and (pointer:coarse){.collection-viewer .collection-viewer-top{right:76px}}
.collection-viewer .collection-resume-play{min-height:44px;padding:8px 20px;border:1px solid #ffffff80;border-radius:6px;background:#222;color:#fff;font:inherit;cursor:pointer}

.collection-social-status.is-share-help{line-height:1.6;background:#202124;box-shadow:0 6px 30px #0005;padding:16px;max-width:440px}
.collection-share-actions{display:flex;gap:12px;margin-top:12px}
.collection-viewer .collection-share-actions button{min-height:44px;flex:1;padding:8px 12px;border:1px solid #777;border-radius:6px;background:transparent;color:#fff;font:inherit;cursor:pointer}
.collection-viewer .collection-share-actions button:first-child{background:#ffde00;color:#111;border-color:#ffde00}
.collection-social-status.is-share-help input{box-sizing:border-box;width:100%;min-width:0;padding:10px;margin-top:12px;background:#303135;border:1px solid #777;color:#fff;font-size:16px}
@media(max-width:760px){.collection-social-status.is-share-help{left:16px;right:16px;bottom:calc(30px + env(safe-area-inset-bottom));max-width:none}}
.collection-social-status.is-share-help{padding:20px 52px 18px 20px;text-align:left;color:#fff;z-index:32}
.collection-social-status.is-share-help>strong,.collection-social-status.is-share-help>span:not(.collection-share-actions){display:block}
.collection-social-status.is-share-help>strong{font-size:18px;margin-bottom:6px}
.collection-social-status.is-share-help .collection-share-close{position:absolute;right:4px;top:4px;width:44px;height:44px;min-width:44px;padding:0;border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}
.collection-social-status.is-share-help.is-wechat-guide{left:auto;right:16px;top:calc(16px + env(safe-area-inset-top,0px));bottom:auto;max-width:min(360px,calc(100% - 32px));transform:none}
.collection-social-status.is-wechat-guide::before{content:"";position:absolute;right:24px;top:-8px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #202124}
.collection-share-alternative{margin-top:12px;font-size:13px;color:#b7bac0}
.collection-share-alternative summary{cursor:pointer;min-height:28px;padding:6px 0}
.collection-share-alternative button{margin-top:6px;min-height:44px;padding:6px 14px;border:1px solid #676a70;border-radius:6px;background:transparent;color:#fff}

/* Image playback toggles across the photo; the paused play mark stays subtle until targeted. */
.collection-viewer-stage>img[role=button]{cursor:pointer}.collection-viewer-stage>img[role=button]:focus-visible{outline:2px solid #ffde00;outline-offset:-2px}
.collection-viewer .collection-image-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:72px;height:72px;padding:8px;border:0;border-radius:50%;background:transparent;color:#fff;opacity:.3;transition:opacity .16s ease;filter:drop-shadow(0 1px 5px #0006);z-index:1}.collection-image-play svg{width:56px;height:56px;fill:currentColor}.collection-image-play[hidden]{display:none!important}.collection-viewer .collection-image-play:hover,.collection-viewer .collection-image-play:focus-visible,.collection-viewer .collection-image-play:active{opacity:1}@media(prefers-reduced-motion:reduce){.collection-viewer .collection-image-play{transition:none}}

.collection-viewer-original{display:grid;place-items:center;min-height:44px;padding:0 12px;border-radius:12px;background:#151515bd;color:#fff;text-decoration:none;white-space:nowrap}

/* Phone controls follow the reference's proportions at a 425px viewport. */
@media(max-width:760px),(hover:none) and (pointer:coarse){
 .collection-viewer .collection-viewer-bottom{display:none}
 .collection-viewer .collection-side-rail{--rail-step:clamp(44px,8.6dvh,66px);top:auto;bottom:calc(112px + env(safe-area-inset-bottom));right:4px;width:48px;gap:0}
 .collection-viewer .collection-side-rail .collection-social{flex:none;width:48px;gap:0}
 .collection-viewer .collection-social button{width:48px;min-height:44px;height:var(--rail-step);padding:2px;gap:3px}
 .collection-viewer .collection-social svg{width:31px;height:31px;flex:none}
 .collection-viewer .collection-social button small{font-size:12px}
 .collection-viewer .collection-author{width:46px;height:46px;margin:0 0 max(0px,calc(var(--rail-step) - 46px));border:2px solid #fff}
 .collection-viewer .collection-author img{width:38px;height:38px}
 .collection-viewer .collection-side-rail .collection-player-sound{position:absolute;top:calc(100% + 4px);right:2px;bottom:auto;width:44px;height:44px;padding:9px;background:#fffe;color:#161616}
 .collection-viewer .collection-player-sound svg{width:23px;height:23px}
 .collection-viewer .collection-viewer-top svg{width:21px;height:21px}
 .collection-viewer .collection-viewer-original{font-size:13px;padding-inline:10px}
 .collection-viewer.is-video .collection-viewer-caption{bottom:calc(72px + env(safe-area-inset-bottom))}
}
@media(max-height:420px) and (max-width:760px),(max-height:420px) and (hover:none) and (pointer:coarse){
 .collection-viewer .collection-side-rail{bottom:calc(64px + env(safe-area-inset-bottom))}
 .collection-viewer .collection-social svg{width:27px;height:27px}
 .collection-viewer .collection-side-rail .collection-player-sound{position:fixed;inset:auto auto calc(64px + env(safe-area-inset-bottom)) 12px}
 .collection-viewer.is-video .collection-viewer-caption{left:64px}
}
