/* Stable Tracker 2.1.2: one outline icon family and consistent community cards. */
.st-icon{width:18px;height:18px;display:inline-block;vertical-align:-3px;flex:0 0 18px;stroke:currentColor;stroke-width:1.8;fill:none}
.v204-category-button{display:inline-flex;align-items:center;gap:8px}
.v204-profile-menu[hidden]{display:flex!important}
.v04-nav-emoji:empty{display:none}
.v173-emoji .st-icon,.v174-symbol .st-icon,.v205-tile-emoji .st-icon,.v183-badge-icon .st-icon,.v10-award-emoji .st-icon{width:24px;height:24px}
.v19-widget-head h2{display:flex;align-items:center;gap:8px}
.v17-photo-fallback .st-icon,.v203-empty-symbol .st-icon,.v101-empty-avatar .st-icon{width:32px;height:32px}
/* The arrow always occupies the final grid column, including narrow screens. */
.v2014-submenu>summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;gap:12px;flex-wrap:nowrap}
.v2014-submenu-label{white-space:normal;overflow-wrap:anywhere}
.v2014-submenu-current{margin:0;max-width:none;min-width:0;text-align:right}
.v2014-chevron{width:24px;height:24px;margin:0;display:grid;place-items:center;align-self:center;justify-self:end;transform-origin:center}
.v2014-chevron .st-icon{display:block;width:18px;height:18px}
@media(max-width:400px){.v2014-submenu>summary{grid-template-columns:minmax(0,1fr) 24px;gap:6px 10px}.v2014-submenu-label{grid-column:1;grid-row:1}.v2014-submenu-current{grid-column:1;grid-row:2;text-align:left}.v2014-chevron{grid-column:2;grid-row:1 / span 2}}
/* Only the content scrolls; the close button stays outside the scrolling area. */
dialog.modal[open],dialog.st210-popup[open]{display:flex!important;flex-direction:column;overflow:hidden!important;padding:0;max-height:90dvh;max-height:min(90dvh,calc(100dvh - 24px))}
.st-dialog-bar{position:relative;z-index:140;flex:0 0 auto;display:flex;align-items:center;padding:10px 12px;background:var(--panel);border-bottom:1px solid var(--line)}
.st-dialog-close{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);cursor:pointer}
.st-dialog-close:focus-visible{outline:3px solid var(--wine);outline-offset:2px}
.st-dialog-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1 1 auto;width:100%}
/* Legacy horse content must not create a second scrollbar inside the shared one. */
.st-dialog-scroll .detail-dialog-body{max-height:none!important;overflow:visible!important}
[data-st-original-close]{display:none!important}
.st210-dialog-head{position:static}
.v17-showcase-card,.v10-person,.v20-feed-post,.v203-empty-showcase{border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow);color:var(--ink);min-width:0}
.v10-person,.v20-feed-post,.v203-empty-showcase{background:var(--panel)}
.v17-showcase-top,.v20-feed-author{gap:12px;align-items:center}
.v17-showcase-top{flex-wrap:wrap}
.v17-share-grid{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:12px;align-items:stretch;grid-auto-rows:1fr}
.v17-share-horse{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}
.v183-showcase-horse-btn{display:flex;flex-direction:column;flex:1;width:100%;height:100%;min-width:0;padding:0;text-align:left;color:inherit}
.v17-share-horse img,.v17-photo-fallback{display:flex;width:100%;aspect-ratio:1 / 1;height:auto;object-fit:contain;align-items:center;justify-content:center;flex:none;background:var(--bg);color:var(--muted)}
.v18-layout-wide .v17-share-horse img,.v18-layout-wide .v17-photo-fallback{aspect-ratio:4 / 3}
.v183-showcase-horse-btn>div:last-child:not(.v17-photo-fallback){display:flex;flex-direction:column;gap:6px;padding:12px;flex:1;min-width:0;width:100%}
.v183-more-link{margin-top:auto;padding-top:8px}
.v17-share-horse strong,.v17-share-horse small,.v17-showcase-card p,.v10-person p{overflow-wrap:anywhere}
.v10-person-actions,.v20-feed-post .v20-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.v10-person-actions .btn,.v20-feed-post .btn{min-height:40px;white-space:normal}
@media(max-width:560px){.v17-showcase-card,.v10-person,.v20-feed-post,.v203-empty-showcase{padding:16px}.v17-share-grid,.v18-layout-album .v17-share-grid,.v18-layout-wide .v17-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:320px){.v17-share-grid,.v18-layout-album .v17-share-grid,.v18-layout-wide .v17-share-grid{grid-template-columns:1fr}}
