.feed-page #main{display:flex;flex-direction:column;min-height:0;height:calc(100dvh - 86px);overflow:hidden;padding-top:14px;padding-bottom:12px}
.feed-page .page-footer{display:none}.feed-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.feed-heading h1{font-size:25px}.feed-heading .heading-actions{gap:5px;flex-wrap:wrap}.feed-heading .button{padding:8px 10px;min-height:44px}
.feed-stream{flex:1 1 0;min-height:0;width:min(100%,480px);align-self:center;overflow-y:auto;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;border-radius:20px;background:#100D17;scrollbar-width:none}.feed-stream::-webkit-scrollbar{display:none}
.feed-card{position:relative;height:100%;min-height:380px;scroll-snap-align:start;scroll-snap-stop:always;background:#100D17;color:#FFF;isolation:isolate;overflow:hidden}
.feed-card video{display:block;width:100%;height:100%;object-fit:contain;background:#100D17}.feed-caption{position:absolute;left:0;bottom:58px;right:0;padding:38px 82px 12px 16px;background:linear-gradient(transparent,rgba(16,13,23,.88) 36%);pointer-events:none}.feed-caption>*{pointer-events:auto}.feed-caption h2{font-size:18px;color:#FFF;line-height:1.3;margin:6px 0}.feed-caption p{font-size:13px;color:#FFF;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.feed-caption details{font-size:12px;margin-top:8px}.feed-caption details[open]{background:#100D17;padding:8px;max-height:160px;overflow:auto}.feed-author{display:flex;gap:8px;align-items:center;max-width:100%;text-align:left;background:transparent;color:#FFF;font-size:12px;padding:0}.feed-author .avatar{width:30px;height:30px;flex:none}.feed-author>span:last-child{overflow-wrap:anywhere}.feed-target{background:#FFF;color:#30204D;min-height:44px;padding:8px 12px;border-radius:12px;margin-top:8px;font-size:12px}
.feed-actions{position:absolute;right:8px;bottom:92px;display:flex;flex-direction:column;gap:9px;align-items:stretch;width:64px}.feed-actions button,.feed-actions>span{border-radius:14px;background:rgba(16,13,23,.8);color:#FFF;border:0;padding:6px 2px;min-height:48px;font-size:10px;text-align:center;line-height:1.3}.feed-actions button b{display:block;font-size:28px;line-height:30px;font-weight:500}.feed-actions button span{display:block}.feed-actions button[aria-pressed=true]{color:#FFF}.feed-actions [data-feed-like][aria-pressed=true] b{color:#FF6787}.feed-actions [data-feed-save][aria-pressed=true] b{color:#DAC4FF}.feed-actions button:focus-visible,.feed-tap:focus-visible{outline:3px solid #FFF;outline-offset:-3px}
.feed-tap{position:absolute;inset:0 0 64px;width:100%;border:0;border-radius:0;background:transparent!important;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.feed-heart{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);font-size:88px;color:#FF6787;text-shadow:0 2px 12px #100D17;pointer-events:none;opacity:0}.feed-heart.is-visible{animation:feed-heart-pop .7s ease-out forwards}@keyframes feed-heart-pop{0%{opacity:0;scale:.6}25%{opacity:1;scale:1.1}70%{opacity:1;scale:1}100%{opacity:0;scale:1.2}}
.feed-video-status{position:absolute;top:10px;left:10px;right:10px;padding:8px;background:#100D17;color:#FFF;border-radius:8px;font-size:12px}.feed-video-status button{margin-left:8px;min-height:44px}.feed-more{align-self:center;flex:none;margin-top:6px}
@media(max-width:1100px){.feed-page #main{height:auto;padding:10px;overflow:hidden}.feed-heading h1{font-size:22px}.feed-heading .button{font-size:11px;padding:7px 9px}.feed-stream{width:100%;max-width:480px}.feed-card{min-height:0}}
@media(prefers-reduced-motion:reduce){.feed-stream{scroll-behavior:auto}.feed-heart.is-visible{animation:none}}

.profile-clips>label{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.profile-clips select{min-height:44px;border:1px solid var(--control-line);border-radius:10px;padding:8px}.profile-clip{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;align-items:center}.profile-clip>div{min-width:0}.profile-clip h3{overflow-wrap:anywhere}.profile-clip p{color:var(--muted);font-size:13px}.profile-clip .heading-actions{flex-wrap:wrap;flex-shrink:0}.profile-clip .button{min-height:44px}@media(max-width:680px){.profile-clip{align-items:flex-start;flex-direction:column}.profile-clip .heading-actions{gap:6px}}

.feed-actions svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}.feed-actions [aria-pressed=true] svg{fill:currentColor}.feed-card.is-paused .feed-tap::after{content:"▶";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(16,13,23,.72);color:#FFF;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;font-size:28px;pointer-events:none}

/* Updates use the approved Balanced tokens and ordinary page scrolling. */
.feed-page.updates-page #main{display:block;height:auto;min-height:calc(100dvh - 86px);overflow:visible;padding-top:24px;padding-bottom:32px}
.feed-page.updates-page .page-footer{display:flex}
.updates-page-content{max-width:1000px;margin:0 auto;min-width:0}
.updates-header{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;margin-bottom:26px}
.updates-header>div:first-child{max-width:650px;min-width:0}.updates-eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--muted);margin:0 0 12px}.updates-header h1{font-size:32px;margin:0 0 14px}.updates-header p:not(.updates-eyebrow){color:var(--muted);line-height:1.7;margin:0}.updates-header-actions{display:flex;flex-direction:column;gap:8px;flex:none}
.updates-toolbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;display:flex;flex-direction:column;gap:12px}.updates-filters,.updates-video-links{display:flex;flex-wrap:wrap;gap:8px}.updates-filters .button{background:var(--surface);border:1px solid var(--line);color:var(--ink);min-height:44px}.updates-filters .button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--ink);box-shadow:inset 0 0 0 1px var(--accent)}.updates-video-links .button{background:transparent;color:var(--accent-ink,var(--accent));padding:8px 0;text-decoration:underline;text-underline-offset:4px}.updates-video-links{gap:24px}.updates-status{min-height:22px;font-size:13px;line-height:1.6;color:var(--muted);margin:18px 0 12px}
.updates-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.update-card{border:1px solid var(--line);border-radius:var(--ns-radius-panel,22px);padding:24px;background:var(--surface);min-width:0;overflow-wrap:anywhere}.update-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:16px}.update-type{border-radius:8px;background:var(--accent-soft);color:var(--ink);padding:4px 8px;font-weight:600}.update-card h2{font-size:20px;line-height:1.5;margin:0 0 12px}.update-summary{font-size:14px;color:var(--muted);line-height:1.75;margin:0;white-space:pre-wrap}.update-card a{color:var(--accent-ink,var(--accent));text-decoration:underline;text-underline-offset:3px}.update-text{font-size:13px;line-height:1.75;margin-top:14px}.update-text summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;color:var(--accent-ink,var(--accent));text-decoration:underline;text-underline-offset:3px}.update-text>div{white-space:pre-wrap;margin-top:8px}.update-card-footer{margin-top:22px;display:flex;flex-direction:column;gap:16px;align-items:flex-start}.update-byline{font-size:11px;color:var(--muted);line-height:1.6}.update-card-footer .button{min-height:48px;background:var(--accent-soft);color:var(--ink);display:flex;align-items:center;gap:10px;max-width:100%;text-align:left}.updates-pagination{display:flex;justify-content:center;gap:12px;margin:24px 0}.updates-empty,.updates-loading{grid-column:1/-1}.updates-empty h2{font-size:21px}.updates-empty p{color:var(--muted);line-height:1.75}.updates-loading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.updates-loading span{display:block;min-height:190px;border:1px solid var(--line);border-radius:var(--ns-radius-panel,22px);background:var(--surface)}.updates-page-content :is(button,a,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.feed-caption details[open] p{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1100px){.feed-page.updates-page #main{padding:20px 16px 28px}.updates-header h1{font-size:28px}.updates-header{gap:18px}.update-card{padding:20px}}
@media(max-width:700px){.updates-header{flex-direction:column;gap:18px;margin-bottom:22px}.updates-header-actions{flex-direction:row;flex-wrap:wrap}.updates-header p:not(.updates-eyebrow){font-size:14px}.updates-list,.updates-loading{grid-template-columns:minmax(0,1fr)}.updates-filters{gap:7px}.updates-filters .button{font-size:12px;padding:8px 12px;min-height:44px}.updates-status{font-size:12px}.update-card h2{font-size:19px}.update-card-footer .button{font-size:13px}.updates-video-links{gap:18px}}
@media(max-width:1100px){.feed-page.updates-page #main{flex:1 1 0;min-height:0;height:auto;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.feed-page.updates-page .page-footer{display:none}}
