/* Following / For You feed. */

.phone .feed-wordmark{display:inline-flex;align-items:center;gap:8px;font-size:24px;letter-spacing:-.9px;font-weight:800;line-height:28px;direction:ltr}
.phone .feed-logo{display:block;width:28px;height:28px;flex-shrink:0;color:var(--brand);fill:currentColor;stroke:none}
.phone .feed-search-icon{display:grid;place-items:center;width:44px;height:44px;color:var(--text);pointer-events:none}
.phone .feed-content{padding-bottom:184px}

.phone .feed-filter-rail{display:flex;align-items:flex-start;gap:8px;overflow-x:auto;padding:12px 16px;border-bottom:1px solid var(--hairline);scrollbar-width:none;scroll-snap-type:inline proximity;scroll-padding-inline:16px;overscroll-behavior-inline:contain}
.phone .feed-filter-rail::-webkit-scrollbar{display:none}
.phone .feed-filter-chip{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 56px;min-height:72px;border:0;background:transparent;border-radius:12px;padding:4px 0;font-size:12px;font-weight:400;color:var(--muted);scroll-snap-align:start}
.phone .feed-filter-portrait{position:relative;display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:var(--surface);color:var(--muted)}
.phone .feed-filter-label{white-space:nowrap;line-height:16px}
.phone .feed-filter-chip.selected{color:var(--text);font-weight:600}
.phone .feed-filter-chip.selected:after{display:none}
.phone .feed-filter-chip.selected .feed-filter-portrait{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--text)}
.phone .feed-community-symbol{width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:var(--surface);color:var(--muted);font-size:20px}
.phone .feed-filter-chip .avatar{width:44px!important;height:44px!important}
.phone .feed-filter-discover{flex-basis:68px}
.phone .feed-filter-discover .feed-filter-portrait{background:transparent;border:1px solid var(--line)}
.phone .feed-filter-discover svg{width:20px;height:20px}
.phone .feed-community-symbol.large{width:44px;height:44px;font-size:30px}
.phone .feed-unread-dot{width:8px;height:8px;background:var(--brand);position:absolute;top:0;inset-inline-end:0;border-radius:50%;outline:2px solid var(--bg)}

.phone .feed-discovery{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--hairline)}
.phone .feed-discovery p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:20px}
.phone .feed-section-label{font-size:13px;font-weight:600;line-height:20px;color:var(--muted)}
.phone .feed-section-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}
.phone .feed-section-heading h2{font-size:15px;font-weight:600;line-height:20px;margin:0;letter-spacing:-.2px}
.phone .feed-section-heading>.icon-button{margin-inline-end:-8px}

.phone .sheet .tells-suggestions{padding:0 0 20px;background:transparent;border-bottom:0}

.phone .feed-connect-card{margin:0;padding:16px;border:0;border-bottom:1px solid var(--hairline);border-radius:0;background:var(--bg)}
.phone .feed-connect-card h2{font-size:17px;font-weight:600;letter-spacing:-.3px;line-height:24px;margin:8px 0}
.phone .feed-connect-card p{font-size:13px;line-height:20px;color:var(--muted);margin:8px 0 12px}
.phone .feed-connect-symbol{display:grid;place-items:center;width:36px;height:36px;background:var(--surface);border-radius:50%;color:var(--muted)}
.phone .feed-connect-card .btn,.phone .feed-request>.btn,.phone .feed-community-question>.btn,.phone .feed-prompt>.btn{background:transparent;border:0;color:var(--text);padding:8px 0;min-height:44px;font-size:14px;font-weight:500}
.phone .feed-request>.btn svg,.phone .feed-community-question>.btn svg{width:18px;height:18px}

.phone .feed-empty-state:has(.feed-empty-retry)>.empty{padding-bottom:12px}
.phone .feed-empty-retry{display:flex;justify-content:center;padding:0 40px 72px}

.phone .feed-compose{position:absolute;bottom:112px;inset-inline-end:16px;z-index:16;width:56px;height:56px;border-radius:50%;padding:16px;background:var(--brand);color:var(--on-brand);border:0;display:grid;place-items:center}
.phone .feed-compose svg{width:24px;height:24px;stroke-width:1.8}
.phone:has(.nav-layer.android) .feed-compose{bottom:100px}
.phone:has(.overlay .sheet,.feed-startup-layer) .feed-compose{visibility:hidden}

.phone .feed-loading-label,.phone .feed-refresh-label{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:13px;line-height:20px;padding:24px}
.phone .feed-refresh-label{padding:12px;background:transparent}
.phone .feed-loading-label>i,.phone .feed-refresh-label>i{width:16px;height:16px;border:2px solid var(--raised);border-top-color:var(--muted);border-radius:50%;animation:feed-spin .9s linear infinite}
.phone .feed-new-posts{display:flex;justify-content:center;padding:12px 16px 4px}
.phone .feed-new-posts .btn{background:var(--text);color:var(--bg);font-size:13px;min-height:36px;padding:8px 16px;box-shadow:0 4px 14px #00000022}
.phone .feed-new-answer-label{padding:12px 16px 0;font-size:13px;color:var(--muted);font-weight:500}

.phone .feed-hidden-row{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--hairline);font-size:14px;color:var(--muted)}
.phone .feed-hidden-row svg{width:18px;height:18px}
.phone .feed-hidden-row .btn{margin-inline-start:auto}

.phone .feed-end{padding:24px 20px;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--muted);font-size:13px}

.phone .feed-game{margin:0;padding:16px;border:0;border-bottom:1px solid var(--hairline);border-radius:0;background:var(--bg)}
.phone .feed-game h2{font-size:17px;line-height:24px;font-weight:600;letter-spacing:-.3px;margin:12px 0}
.phone .feed-game-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.phone .feed-game-options button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:start;background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:16px 12px;min-height:104px;font-size:13px}
.phone .feed-game-options button.selected{background:var(--surface);border-color:var(--outline);color:var(--text)}
.phone .feed-game-options button>strong{font-size:22px;font-weight:700;letter-spacing:-.5px}
.phone .feed-game p{font-size:12px;color:var(--muted);line-height:20px;margin:12px 0 0}

.phone .feed-prompt{padding:16px;margin:0;background:var(--bg);border:0;border-bottom:1px solid var(--hairline);border-radius:0}
.phone .feed-prompt h2{font-size:16px;line-height:24px;font-weight:400;letter-spacing:-.2px;margin:12px 0}
.phone .feed-prompt-note{display:block;font-size:12px;color:var(--muted);margin-top:12px}

.phone .feed-ad{padding:12px 16px 16px;border-bottom:1px solid var(--hairline)}
.phone .feed-ad-art{height:160px;border-radius:16px;padding:20px;display:flex;align-items:center;gap:24px;background:#282D36;color:#F8F8FC}
.phone .feed-ad-art>span{display:grid;place-items:center;width:56px;height:56px;flex-shrink:0;border-radius:50%;background:#424C5E;color:#C9DCF9}
.phone .feed-ad-art b{font-size:20px;font-weight:600;line-height:28px;letter-spacing:-.4px}
.phone .feed-ad-art.taqwa{background:#173731;color:#F1F6EC}
.phone .feed-ad-art.taqwa>span{background:#315249;color:#E2ECC8}
.phone .feed-ad-caption{display:flex;gap:12px;align-items:center;justify-content:space-between;padding-top:12px}
.phone .feed-ad-caption b{font-size:14px;font-weight:600}
.phone .feed-ad-caption p{font-size:12px;line-height:20px;color:var(--muted);margin:4px 0 0}
.phone .feed-ad-caption .btn{background:transparent;border:0;color:var(--text);font-size:14px;white-space:nowrap;padding:8px 0}

.phone .feed-caught-up{padding:24px 24px 0;text-align:center}
.phone .feed-caught-up-check{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:50%;margin:auto}
.phone .feed-caught-up h2{font-size:19px;font-weight:700;letter-spacing:-.4px;line-height:24px;margin:16px 0 8px}
.phone .feed-caught-up p{font-size:13px;line-height:20px;color:var(--muted);margin:0 8px 20px}

.phone .feed-boundary-switch{display:flex;padding:4px;background:var(--surface);border-radius:12px;border:0;gap:4px}
.phone .feed-boundary-switch button{flex:1;border:0;border-radius:8px;background:none;min-height:40px;font-size:13px;font-weight:500;padding:8px;color:var(--muted)}
.phone .feed-boundary-switch button.selected{background:var(--bg);color:var(--text);font-weight:600;box-shadow:0 1px 4px #00000014}
.phone .feed-boundary-label{display:block;border-bottom:1px solid var(--hairline);text-align:start;font-size:13px;color:var(--muted);padding:20px 0 12px}

.phone .feed-request{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:var(--avatar-content-gap);row-gap:4px;padding:12px 16px;border-bottom:1px solid var(--hairline);text-align:start}
.phone .feed-request>.identity{grid-column:1/-1}
.phone .feed-request>:not(.identity){grid-column:2}
.phone .feed-request>.tag{justify-self:start}
.phone .feed-request>p{font-size:16px;line-height:24px;letter-spacing:-.2px;margin:4px 0 0}
.phone .feed-request-note{display:flex;align-items:center;gap:4px;font-size:12px;line-height:20px;color:var(--muted)}
.phone .feed-request-note svg{width:16px;height:16px}
.phone .feed-request>.btn{justify-self:start}

.phone .feed-community-header{display:flex;align-items:center;gap:12px;padding:16px 16px 4px}
.phone .feed-community-header>div{min-width:0;flex:1}
.phone .feed-community-header b{font-size:14px;font-weight:600}
.phone .feed-community-header p{font-size:12px;line-height:20px;color:var(--muted);margin:4px 0 0}
.phone .feed-community-question{padding:16px;margin:0;border:0;border-bottom:1px solid var(--hairline);border-radius:0;background:var(--bg)}
.phone .feed-community-question h2{font-size:16px;letter-spacing:-.2px;line-height:24px;font-weight:400;margin:12px 0}
.phone .feed-community-question p{font-size:13px;line-height:20px;color:var(--muted);margin:12px 0}
.phone .feed-community-cover{font-size:48px;text-align:center;padding:16px;border-radius:16px;background:var(--surface);color:var(--muted)}

.phone .feed-controls-card,.phone .feed-why{padding:20px;margin:16px;border-radius:16px;border:1px solid var(--line);background:var(--bg)}
.phone .feed-controls-card h2,.phone .feed-why h2{font-size:19px;line-height:24px;letter-spacing:-.4px;font-weight:700;margin:8px 0}
.phone .feed-controls-card p,.phone .feed-why p{font-size:13px;line-height:20px;color:var(--muted);margin:8px 0 16px}
.phone .feed-topic-options{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.phone .feed-topic-options button{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;background:var(--bg);padding:8px 16px;min-height:40px;font-size:14px;font-weight:500}
.phone .feed-topic-options button.selected{color:var(--bg);background:var(--text);border-color:var(--text)}
.phone .feed-topic-options svg{width:16px;height:16px}

.phone .feed-reader-cover{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:20px 20px 40px;text-align:center;background:var(--surface);color:var(--text)}
.phone .feed-reader-cover b{font-size:14px;font-weight:600;line-height:20px}
.phone .feed-reader-cover p{font-size:12px;line-height:20px;color:var(--muted);margin:0}
.phone .feed-reader-cover .btn{font-size:13px;min-height:36px;padding:8px 16px;margin:4px 0 0;background:var(--bg)}
.phone .feed-cover-symbol{color:var(--muted)}
.phone .feed-reader-cover~.media-count,.phone .feed-reader-cover~.media-controls{z-index:3}
.phone .feed-image-loading{font-size:12px;color:var(--muted)}
.phone .feed-progress{position:relative;width:110px;height:3px;background:var(--raised);margin-top:12px;overflow:hidden;border-radius:3px}
.phone .feed-progress:after{content:'';position:absolute;top:0;bottom:0;left:0;width:40%;background:var(--muted);animation:feed-progress 1.8s ease-in-out infinite}

.phone .feed-coin-balance{display:flex;gap:8px;align-items:baseline;justify-content:center;padding:24px;color:var(--muted);font-size:13px}
.phone .feed-coin-balance b{font-size:32px;font-weight:700;letter-spacing:-.6px;color:var(--text);font-variant-numeric:tabular-nums}

@keyframes feed-spin{to{transform:rotate(360deg)}}
@keyframes feed-progress{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
@media(prefers-reduced-motion:reduce){.phone .feed-loading-label>i,.phone .feed-refresh-label>i,.phone .feed-progress:after{animation:none}}

.phone .feed-startup-layer{position:absolute;inset:0;z-index:45}
.phone .feed-startup-person{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px 0 8px}
.phone .feed-startup-dialog>p{text-align:center}
.phone .feed-startup-dialog{padding-bottom:32px}
