.dynamic-festivities{--festive-orange:#eca05c;--festive-rind:#b86a35;--festive-leaf:#4d826b;--festive-vein:#a7c3a1;--festive-red:#c85c5f;--festive-gold:#e6bf75;--festive-snow:#7babc0;--festive-ink:#503a38;--festive-ghost:#fff8e8;z-index:2;pointer-events:none;user-select:none;height:78px;position:absolute;inset:0 0 auto}html[data-theme=dark] .dynamic-festivities{--festive-orange:#efae6b;--festive-leaf:#82b89a;--festive-vein:#c1d6ba;--festive-red:#d77c81;--festive-snow:#9fcee4;--festive-ghost:#e6effa}.festive-set{opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;position:absolute;inset:0}html[data-dynamic-decoration=halloween] .festive-set--halloween,html[data-dynamic-decoration=christmas] .festive-set--christmas{opacity:1;visibility:visible}.festive-ornament{width:68px;height:68px;display:block;position:absolute;top:-12px}.festive-ornament--start{left:12px;rotate:-8deg}.festive-ornament--end{right:12px;rotate:8deg}.festive-ornament svg{width:100%;height:100%;display:block;overflow:visible}.festive-ghost{fill:var(--festive-ghost);stroke:color-mix(in srgb,var(--sky) 38%,var(--panel))}.festive-ink{fill:var(--festive-ink)}.festive-face{stroke:var(--festive-ink)}.festive-bat{fill:color-mix(in srgb,var(--muted) 80%,var(--panel))}.festive-spark{fill:var(--festive-gold)}.festive-drift{transform-box:fill-box;transform-origin:50%;animation:5.6s ease-in-out infinite paused festive-drift}.festive-ornament--end .festive-drift{animation-delay:-2.4s}.festive-swing{transform-box:view-box;transform-origin:45px 18px;animation:6.4s ease-in-out infinite paused festive-swing}html[data-dynamic-decoration=halloween] .dynamic-festivities[data-running=true] .festive-set--halloween :is(.festive-drift,.festive-swing),html[data-dynamic-decoration=christmas] .dynamic-festivities[data-running=true] .festive-set--christmas :is(.festive-drift,.festive-swing){animation-play-state:running}@keyframes festive-drift{0%,to{transform:translateY(0)rotate(-2deg)}50%{transform:translateY(-3px)rotate(2deg)}}@keyframes festive-swing{0%,to{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}@media (width<=760px){.dynamic-festivities{height:58px}.festive-ornament{width:48px;height:48px;top:-11px}.festive-ornament--start{left:9px}.festive-ornament--end{right:9px}}@media (prefers-reduced-motion:reduce){.festive-set{transition:none}.festive-drift,.festive-swing{animation:none}}.moment-gallery{z-index:2;border-radius:19px;min-width:0;margin-top:18px;position:relative;overflow:hidden;container-type:inline-size}.moment-gallery>.moment-images{margin-top:0}.moment-gallery [hidden]{display:none}.moment-image-more{color:#fff;pointer-events:none;background:#0009;place-items:center;font-size:clamp(22px,3vw,32px);font-weight:700;display:grid;position:absolute;inset:0}.moment-gallery-viewer{background:color-mix(in srgb, var(--sky) 8%, var(--bg));border-radius:19px;padding:12px}.moment-gallery-toolbar{justify-content:space-between;align-items:center;gap:8px;margin:-4px -4px 10px;display:flex}.moment-gallery-toolbar>div{align-items:center;gap:6px;min-width:0;display:flex}.moment-gallery-toolbar button{min-height:40px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:13px;line-height:1;transition:background .18s,color .18s;display:inline-flex}.moment-gallery-toolbar button:hover{background:var(--panel-hover);color:var(--link)}.moment-gallery-counter{color:var(--link);background:color-mix(in srgb, var(--accent) 10%, transparent);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:10px;flex:none;padding:4px 8px;font-size:12px;font-weight:600}.moment-gallery-stage{justify-content:center;align-items:center;height:min(520px,55svh,105cqw);min-height:180px;display:flex;position:relative}.moment-gallery-large{cursor:zoom-in;background:0 0;border:0;border-radius:16px;justify-content:center;align-items:center;width:100%;height:100%;padding:0 44px;display:flex}.moment-gallery-large img{object-fit:contain;border-radius:16px;width:auto;max-width:100%;height:auto;max-height:100%}.moment-gallery-status{text-align:center;color:var(--muted);pointer-events:none;font-size:13px;position:absolute;left:44px;right:44px}.moment-gallery-arrow{background:color-mix(in srgb, var(--panel) 80%, var(--bg));width:42px;height:42px;color:var(--ink);box-shadow:0 3px 12px color-mix(in srgb, var(--shadow-color) 40%, transparent);z-index:1;border:0;border-radius:50%;place-items:center;margin-top:-21px;transition:color .18s,background .18s,opacity .18s;display:grid;position:absolute;top:50%;left:0}.moment-gallery-arrow[data-gallery-action=next]{left:auto;right:0}.moment-gallery-arrow:hover:not(:disabled){background:var(--panel-hover);color:var(--link)}.moment-gallery-arrow:disabled{opacity:.3;cursor:default}.moment-gallery-thumbnails{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;gap:8px;margin:12px -3px -4px;padding:4px 3px;display:flex;position:relative;overflow-x:auto}.moment-gallery-thumbnails>button{background:var(--panel);opacity:.55;border:0;border-radius:12px;flex:0 0 56px;width:56px;height:56px;padding:0;transition:opacity .18s,box-shadow .18s;position:relative;overflow:hidden}.moment-gallery-thumbnails img{object-fit:cover;width:100%;height:100%}.moment-gallery-thumbnails>button:hover{opacity:.85}.moment-gallery-thumbnails>button[aria-pressed=true]{opacity:1;box-shadow:0 0 0 2px var(--link)}.moment-gallery button:focus-visible{outline:2px solid var(--link);outline-offset:-3px}.moment-gallery-large:focus-visible{outline-offset:-2px}.moment-image.image-unavailable{aspect-ratio:1}.image-unavailable>img{visibility:hidden}.moment-image-fallback{color:var(--muted);background:var(--bg);text-align:center;justify-content:center;align-items:center;padding:8px;font-size:12px;display:flex;position:absolute;inset:0}.image-view-error{text-align:center;padding-block:48px}.repost-source .moment-gallery>.moment-images{max-width:none}@media (width<=760px){.moment-gallery,.moment-gallery-viewer{border-radius:14px}.moment-gallery-viewer{padding:8px}.moment-gallery-toolbar{margin:-4px -4px 8px}.moment-gallery-toolbar>div{gap:0}.moment-gallery-toolbar button{gap:4px;padding-inline:6px;font-size:12px}.moment-gallery-toolbar svg{width:16px;height:16px}.moment-gallery-counter{padding-inline:6px;font-size:11px}.moment-gallery-large{padding-inline:34px}.moment-gallery-arrow{border-radius:14px;width:34px;height:44px;margin-top:-22px}.moment-gallery-status{left:36px;right:36px}.moment-gallery-thumbnails>button{border-radius:10px;flex-basis:48px;width:48px;height:48px}.moment-gallery-thumbnails{gap:7px;margin-top:8px}}@media (prefers-reduced-motion:reduce){.moment-gallery *,.moment-gallery :before,.moment-gallery :after{transition:none;animation:none}}
