/* Feed cards use the same hierarchy as the app. Desktop gives the map its own column. */
html[data-theme] #app .dc-app.dc-no-sidebar .dc-content:has(>.activity-feed) {width:100%;max-width:760px!important;padding:18px 0 32px!important}
html[data-theme] #app .dc-app .activity-feed .feed-toolbar {margin:0 18px 14px}
html[data-theme] #app .dc-app .activity-feed .app-feed-card {display:grid;grid-template-areas:"author" "overview" "awards" "media" "social";grid-template-columns:minmax(0,1fr);padding:0;margin:0 0 14px;border:0!important;border-bottom:6px solid var(--surface)!important;border-radius:0!important;background:var(--surface-2)!important;overflow:hidden;box-shadow:none!important}
html[data-theme] #app .dc-app .app-feed-card>* {min-width:0}
html[data-theme] #app .dc-app .app-feed-card .feed-card-header {grid-area:author;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:6px 18px 8px;border:0}
html[data-theme] #app .dc-app .app-feed-card .outing-author {padding:0;margin:0;min-height:44px;gap:10px;min-width:0}
html[data-theme] #app .dc-app .app-feed-card .outing-author>div {min-width:0;display:grid;gap:2px}
html[data-theme] #app .dc-app .app-feed-card .outing-author .avatar {width:34px;height:34px;min-width:34px;overflow:hidden}
html[data-theme] #app .dc-app .app-feed-card .outing-author .avatar img {width:100%;height:100%;object-fit:cover}
html[data-theme] #app .dc-app .app-feed-card .outing-author strong {font-size:14px;line-height:20px}
html[data-theme] #app .dc-app .app-feed-card .outing-author time,html[data-theme] #app .dc-app .app-feed-card .feed-card-sport {font-size:11px;line-height:16px;color:var(--muted);margin:0;overflow-wrap:anywhere}
html[data-theme] #app .dc-app .app-feed-card .feed-card-options {flex:none;align-self:flex-start;margin:0}
html[data-theme] #app .dc-app .app-feed-card .feed-card-options>summary {min-width:44px;min-height:44px;display:grid;place-items:center;letter-spacing:2px;color:var(--ink);padding:0}
html[data-theme] #app .dc-app .app-feed-card .feed-card-options[open] .compact-menu-items {z-index:8}
html[data-theme] #app .dc-app .app-feed-card .feed-card-overview {grid-area:overview;padding:4px 18px 12px;cursor:pointer}
html[data-theme] #app .dc-app .app-feed-card .feed-card-overview h2 {padding:0;margin:0 0 18px}
html[data-theme] #app .dc-app .app-feed-card .feed-card-title {display:flex;align-items:center;gap:10px;width:100%;font-size:21px!important;line-height:27px;font-weight:600;letter-spacing:-.5px;text-align:left;overflow-wrap:anywhere}
html[data-theme] #app .dc-app .app-feed-card .feed-card-title>span:not([aria-hidden]) {flex:1;min-width:0}
html[data-theme] #app .dc-app .app-feed-card .feed-card-title .prologue-activity-badge {width:34px;height:34px;min-width:34px}
html[data-theme] #app .dc-app .app-feed-card .feed-card-chevron {width:16px;min-width:16px;color:var(--muted)}
html[data-theme] #app .dc-app .app-feed-card .feed-card-chevron svg {width:16px;height:16px}
html[data-theme] #app .dc-app .app-feed-card .feed-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0}
html[data-theme] #app .dc-app .app-feed-card .feed-metrics>div {display:flex;flex-direction:column-reverse;justify-content:flex-end;width:auto;min-width:0;gap:4px;padding:0}
html[data-theme] #app .dc-app .app-feed-card .feed-metrics dd {font-size:20px;line-height:26px;font-weight:600;letter-spacing:-.5px;white-space:nowrap}
html[data-theme] #app .dc-app .app-feed-card .feed-metrics dt {font-size:11px;line-height:16px;letter-spacing:0;text-transform:none}
html[data-theme] #app .dc-app .app-feed-card .feed-card-note {margin:10px 0 0;color:var(--muted);font-size:12px;line-height:18px}
html[data-theme] #app .dc-app .app-feed-card .feed-card-awards {grid-area:awards}
html[data-theme] #app .dc-app .app-feed-card .feed-card-awards:empty {display:none}
html[data-theme] #app .dc-app .app-feed-card .feed-achievement-summary {padding:0 18px 6px}
html[data-theme] #app .dc-app .app-feed-card .feed-challenge-completion {margin:0 18px 8px}
html[data-theme] #app .dc-app .app-feed-card .feed-card-media {grid-area:media;overflow:hidden;background:var(--surface)}
html[data-theme] #app .dc-app .app-feed-card .feed-card-media .activity-photo-gallery {margin:0;border-radius:0}
html[data-theme] #app .dc-app .app-feed-card .feed-card-map,html[data-theme] #app .dc-app .app-feed-card .feed-map-preview {position:relative;width:100%;max-width:none;height:auto;min-height:0;margin:0;border:0;border-radius:0;aspect-ratio:16/9;background:var(--surface);background-image:none;overflow:hidden}
html[data-theme] #app .dc-app .app-feed-card .feed-map-preview>svg {display:block;width:100%;height:100%!important;aspect-ratio:auto!important;filter:none}
html[data-theme] #app .dc-app .app-feed-card .feed-map-preview foreignObject img {display:block;width:100%;height:100%;max-width:none;filter:none}
html[data-theme] #app .dc-app .app-feed-card .feed-route-casing path {fill:none;stroke:var(--surface-2);stroke-opacity:.6;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] #app .dc-app .app-feed-card .feed-route-line path {fill:none;stroke:#ff793d;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] #app .dc-app .app-feed-card :is(.feed-route-start,.feed-route-finish) {stroke:var(--surface-2);stroke-width:1.5;fill:white}
html[data-theme] #app .dc-app .app-feed-card .feed-route-finish {fill:#ff793d}
html[data-theme] #app .dc-app .app-feed-card .feed-map-explore {position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;border-radius:0;padding:10px;display:flex;align-items:flex-start;justify-content:flex-end;color:var(--ink);cursor:pointer;z-index:1}
html[data-theme] #app .dc-app .app-feed-card .feed-map-explore>span {display:inline-flex;align-items:center;gap:5px;background:var(--surface-2);padding:7px 10px;border-radius:20px;font-size:12px;line-height:16px;box-shadow:0 1px 8px #0001}
html[data-theme] #app .dc-app .app-feed-card .feed-map-explore svg {width:13px;height:13px}
html[data-theme] #app .dc-app .app-feed-card .route-provider-logo {position:absolute;left:10px;bottom:7px;width:72px;min-width:0;height:18px;z-index:2;filter:drop-shadow(0 1px 2px #0008)}
html[data-theme] #app .dc-app .app-feed-card .route-provider-logo svg {width:72px;height:18px}
html[data-theme] #app .dc-app .app-feed-card .route-map-credits {position:absolute;right:10px;bottom:7px;z-index:3}
html[data-theme] #app .dc-app .app-feed-card .map-fallback:not([hidden]) {position:absolute;top:12px;left:14px;padding:4px 8px;background:var(--surface-2);color:var(--muted);border-radius:8px;font-size:11px}
html[data-theme] #app .dc-app .app-feed-card .feed-card-footer {grid-area:social;padding:0 0 3px}
html[data-theme] #app .dc-app .app-feed-card .outing-social-bar {justify-content:flex-start;gap:8px;min-height:50px;padding:3px 18px;color:var(--ink)}
html[data-theme] #app .dc-app .app-feed-card .activity-boost-people {margin:14px 18px 0}
html[data-theme] #app .dc-app .app-feed-card .activity-boost-people+.outing-social-bar {min-height:47px;padding-top:0;padding-bottom:3px}
html[data-theme] #app .dc-app .app-feed-card .activity-heart[aria-pressed=true] {color:var(--declined)}
html[data-theme] #app .dc-app .app-feed-card .activity-heart[aria-pressed=true] svg {fill:currentColor;stroke:currentColor}
html[data-theme] #app .dc-app .app-feed-card .activity-comment-label {display:none}
html[data-theme] #app .dc-app .app-feed-card .activity-comment-button span:first-of-type {display:initial}
@media(min-width:1000px){
 html[data-theme] #app .dc-app.dc-no-sidebar .dc-content:has(>.activity-feed) {max-width:1240px!important;padding:24px 40px 56px!important}
 html[data-theme] #app .dc-app .activity-feed .feed-toolbar {margin:0 0 20px}
 html[data-theme] #app .dc-app .activity-feed .mountain-outing-list {display:grid;gap:24px}
 html[data-theme] #app .dc-app .activity-feed .app-feed-card {margin:0;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--surface-2)!important;grid-template-areas:"author" "overview" "awards" "social"}
 html[data-theme] #app .dc-app .activity-feed .app-feed-card.has-media {grid-template-columns:minmax(340px,.85fr) minmax(0,1.25fr);grid-template-areas:"author author" "overview media" "awards media" "social social";grid-template-rows:auto auto 1fr auto}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-header {padding:18px 24px 16px}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-overview {padding:8px 24px 18px}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-title {font-size:24px!important;line-height:31px}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-overview h2 {margin-bottom:24px}
 html[data-theme] #app .dc-app .app-feed-card .feed-metrics dd {font-size:23px;line-height:30px}
 html[data-theme] #app .dc-app .app-feed-card .feed-metrics dt {font-size:12px;line-height:18px}
 html[data-theme] #app .dc-app .app-feed-card .feed-achievement-summary {padding:0 24px 16px}
 html[data-theme] #app .dc-app .app-feed-card .feed-challenge-completion {margin:0 24px 12px}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-media {margin:0 24px 0 0;border-radius:12px;align-self:start}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-map,html[data-theme] #app .dc-app .app-feed-card .feed-map-preview {height:320px!important;aspect-ratio:auto!important}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-footer {padding:0 6px 6px}
 html[data-theme] #app .dc-app .app-feed-card .feed-card-footer .outing-social-bar {padding-left:18px}
 html[data-theme] #app .dc-app .app-feed-card:not(.has-media) .feed-card-overview {max-width:720px}
 html[data-theme] #app .dc-app .app-feed-card:not(.has-media) .feed-card-footer {margin-top:2px}
}
@media(max-width:374px){
 html[data-theme] #app .dc-app .app-feed-card .feed-metrics {gap:8px}
 html[data-theme] #app .dc-app .app-feed-card .feed-metrics dd {font-size:18px}
}

html[data-theme] #app .dc-app .app-feed-card .feed-stats-2 {grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme] #app .dc-app .app-feed-card .feed-stats-1 {grid-template-columns:minmax(0,1fr)}

html[data-theme] #app .dc-app .app-feed-card .activity-boost-avatars .social-avatar {width:28px!important;height:28px!important;min-width:28px;flex-basis:28px;border-radius:50%!important}
html[data-theme] #app .dc-app .app-feed-card .activity-boost-avatars .social-avatar img {border-radius:50%!important}
html[data-theme] #app .dc-app .app-feed-card .activity-boost-avatars .social-avatar:nth-child(1) {z-index:3}
html[data-theme] #app .dc-app .app-feed-card .activity-boost-avatars .social-avatar:nth-child(2) {z-index:2}
html[data-theme] #app .dc-app .app-feed-card .activity-comment-button.is-empty .activity-comment-label {display:inline}
html[data-theme] #app .dc-app .app-feed-card .activity-comment-button.is-empty span:first-of-type {display:none}
html[data-theme] #app .dc-app .app-feed-card :is(.feed-route-casing,.feed-route-line) path {vector-effect:non-scaling-stroke}

html[data-theme] #app .dc-app .app-feed-card:has(.feed-card-options[open]) {overflow:visible}

@media(max-width:999px){
 html[data-theme] #app .dc-app .app-feed-card .feed-card-map,html[data-theme] #app .dc-app .app-feed-card .feed-map-preview {height:230px!important;aspect-ratio:auto!important}
}

html[data-theme] #app .dc-app .app-feed-card .feed-map-preview img[hidden] {display:none}

html[data-theme] #app .dc-app .app-feed-card .outing-author {cursor:pointer}

html[data-theme] #app .dc-app .app-feed-card .feed-session-details {margin:12px 0 0;color:var(--ink);font-size:14px;line-height:22px;white-space:pre-wrap;overflow-wrap:anywhere}
