/* Web feed refinement. Native app navigation keeps its existing rules. */
html.fy-professional #feed .item:not(.quote){--fy-media-width:min(100vw,calc(100dvh * .5625))}
html.fy-professional #feed .item:not(.quote)>.actions{right:calc((100% - var(--fy-media-width)) / 2 + 12px)!important;bottom:calc(132px + env(safe-area-inset-bottom,0px) + var(--fy-anchor-gap,0px))!important;gap:12px!important}
html.fy-professional #feed .item:not(.quote)>.caption{box-sizing:border-box;left:50%!important;right:auto!important;width:var(--fy-media-width)!important;max-width:100%!important;transform:translateX(-50%);bottom:0!important;padding:16px 74px calc(28px + env(safe-area-inset-bottom,0px) + var(--fy-anchor-gap,0px)) 18px!important;background:linear-gradient(transparent,rgba(0,14,9,.78));pointer-events:none}
html.fy-professional #feed .caption a,html.fy-professional #feed .caption button{pointer-events:auto}
html.fy-professional #feed .caption h2{font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px!important;line-height:1.5!important;font-weight:550;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:5px 0;overflow-wrap:anywhere}
html.fy-professional #feed .category-name{font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px!important;line-height:1.5;color:#d6ebdf}
html.fy-professional #feed .action button,html.fy-professional #feed .favorite-toggle{min-width:44px;min-height:44px}
html.fy-professional #feed .actions .action>button{display:grid;place-items:center;background:#05241a65;border:1px solid #c9e9d622;border-radius:50%;backdrop-filter:blur(5px);color:#fff}
html.fy-professional #feed .actions .action>button:focus-visible,html.fy-professional #feed .caption a:focus-visible{outline:2px solid #86e4b6;outline-offset:3px}
html.fy-professional #feed .actions .action>span{font-family:ui-sans-serif,system-ui,sans-serif;font-size:10px;line-height:1.3;text-shadow:0 1px 3px #000}
html.fy-professional #feed .item.quote>.actions{right:10px!important;gap:12px!important;bottom:calc(108px + env(safe-area-inset-bottom,0px) + var(--fy-anchor-gap,0px))!important}
html.fy-professional #feed .quote-content{padding-right:80px!important;padding-left:24px!important}
html.fy-professional #feed .quote-text{line-height:1.5!important;text-wrap:pretty}
html.fy-professional #feed .maker-version a,html.fy-professional #feed a.ds-use-template{font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px;min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;background:#135239cc;border:1px solid #90d3ad65;border-radius:999px;color:#e7fff0;text-decoration:none}
html.fy-professional .scroll-next-hint{top:92px!important;bottom:auto!important;pointer-events:none;opacity:1;transition:opacity .2s}
html.fy-professional .scroll-next-pill{font-size:11px!important;padding:6px 12px!important;gap:6px!important;box-shadow:none!important;background:#082d21bd!important;animation:none!important}
html.fy-professional .scroll-next-icon{width:22px!important;height:22px!important;animation:none!important}
html.fy-professional .scroll-next-icon svg{width:14px;height:14px;animation:none!important}
html.fy-professional .scroll-next-hint.fy-dismissed{display:none!important}
html.fy-professional .feed-adsense-label{font:500 10px/1.5 ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9bb7a8}
html.fy-professional .feed-adsense-content{width:min(100%,620px);max-width:100%;box-sizing:border-box}
@media(max-width:767px){html.fy-professional #feed .item:not(.quote){--fy-media-width:100%}html.fy-professional #feed .item:not(.quote)>.actions{right:10px!important;gap:10px!important;bottom:calc(145px + env(safe-area-inset-bottom,0px) + var(--fy-anchor-gap,0px))!important}html.fy-professional #feed .item:not(.quote)>.caption{padding-left:14px!important;padding-right:72px!important}html.fy-professional #feed .item.quote>.actions{gap:10px!important}html.fy-professional #feed .quote-content{padding-left:20px!important;padding-right:76px!important}html.fy-professional .scroll-next-hint{top:96px!important}}
@media(max-height:660px){html.fy-professional #feed .actions{gap:5px!important}html.fy-professional #feed .item:not(.quote)>.actions{bottom:95px!important}html.fy-professional #feed .action button{min-height:36px;min-width:36px}html.fy-professional .scroll-next-hint{display:none!important}}
@media(prefers-reduced-motion:reduce){html.fy-professional .scroll-next-hint{transition:none}}
