/* Transit Finder v0.9.8 Round 13 supplemental layout. */
.r13QuickActions{order:2!important;display:flex;justify-content:flex-end;align-items:center;gap:8px;min-height:44px;padding:1px 2px;flex:0 0 auto}
#r13QuickActions .r13IconAction{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:10px;font-size:22px;line-height:1}
#aircraftPanel #transitActions{flex:0 0 auto}
.r13LocalFeed{margin:12px 0;padding:12px;border:1px solid #416784;border-radius:12px;background:#13283a;gap:10px}
.r13LocalFeed>label,.r13FeedGrid label{display:flex;flex-direction:column;gap:5px;min-width:0}
.r13FeedGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.r13LocalFeed input{width:100%;min-width:0}
.r13ResultsGallery{margin-top:16px;padding-top:10px;border-top:1px solid #36546c}
.r13ResultsGallery h3{margin:4px 0;font-size:17px}
.r13GalleryRows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;padding:6px 0}
.r13GalleryCard{min-width:0;display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid #3d5d75;border-radius:10px;background:#12283a;color:#e8f4fc;overflow:hidden}
.r13GalleryCard img{width:100%;max-height:220px;object-fit:contain;border-radius:7px;background:#071521}
.r13GalleryCard small{color:#a9c6d8}
.r13GalleryCard a{color:#a9e0ff;font-size:12px}
.r13ResultBadge{align-self:flex-start;border:1px solid #57778f;border-radius:99px;padding:3px 8px;font-size:10px;font-weight:800;letter-spacing:.08em}
.r13GalleryCard p{margin:0;overflow-wrap:anywhere}
/* A licensed photo is visible near the card header instead of being buried in More details. */
#aircraftPanel .r10AirPhoto{order:2!important;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:2px;margin:3px 0;padding:4px 7px;flex:0 0 auto;max-height:65px;overflow:hidden}
#aircraftPanel .r10AirPhoto img{height:40px;max-height:40px;width:100%;object-fit:contain}
#aircraftPanel .r10AirPhoto figcaption{font-size:9px;padding:1px 0;line-height:1.15}
@media(max-width:760px),(max-height:500px) and (orientation:landscape){
 #aircraftPanel .r10AirPhoto{order:3!important;max-height:52px;margin:1px 0;padding:2px 5px}
 #aircraftPanel .r10AirPhoto img{height:31px;max-height:31px}
 #aircraftPanel .r10AirPhoto figcaption{font-size:8px;padding:0}
 #aircraftPanel .stats3{order:4!important}
 #aircraftPanel #r13QuickActions{order:2!important}
 #aircraftPanel #r11Kinematics{order:5!important}
 #aircraftPanel .transitArea{order:6!important}
 #aircraftPanel #r12Extra{order:7!important}
 #aircraftPanel #r12Footer{order:8!important}
}
@media(max-width:480px){.r13FeedGrid{grid-template-columns:1fr 1fr}.r13FeedGrid label:last-child{grid-column:1/-1}}

/* v0.9.9: receiver discovery UI and compact, readable mobile transit card. */
.r13ScanResults{display:grid;gap:8px;margin-top:8px}
.r13ScanCandidate{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #3d607a;border-radius:9px;background:#102437;flex-wrap:wrap}
.r13ScanCandidate small{font-size:12px;color:#b6cddd;overflow-wrap:anywhere}
.r13ScanCandidate button{min-height:44px;white-space:normal}
#aircraftPanel small,#aircraftPanel figcaption,#aircraftPanel .muted,#aircraftPanel .transitVisualCaption,#aircraftPanel .predictionStrip,#aircraftPanel .stats3 span,#aircraftPanel #r11Kinematics,#aircraftPanel .r10AirPhoto figcaption{font-size:max(12px,1em)!important;line-height:1.35}
@media(max-height:500px) and (orientation:landscape){
 #aircraftPanel:not([hidden]){position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:env(safe-area-inset-top,0px) 12px env(safe-area-inset-bottom,0px)!important;overflow-y:auto!important;z-index:120!important}
 #aircraftPanel .astrodisc{width:min(24dvh,150px)!important;height:auto!important;aspect-ratio:1/1}
 #aircraftPanel .panelHeading{min-height:44px!important;padding:4px!important}
 body:has(#aircraftPanel:not([hidden])) #r10MobileNav{display:none!important}
}

#aircraftSource.localReceiverBadge{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:#173d36;border:1px solid #57c9a4;color:#b6ffe6;font-weight:800;letter-spacing:.04em}

/* v1.0.5: full-sized credited aircraft hero, readable photo attribution. */
#aircraftPanel .r10AirPhoto{display:flex!important;flex-direction:column!important;order:2!important;max-height:none!important;overflow:visible!important;margin:8px 0!important;padding:0!important;gap:5px!important;flex-shrink:0!important;width:100%!important}
#aircraftPanel .r10AirPhoto img{display:block!important;width:100%!important;height:auto!important;min-height:200px!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:cover!important;background:#132b40!important;border-radius:8px!important}
#aircraftPanel .r10AirPhoto figcaption{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere!important;white-space:normal!important}
#aircraftPanel .r11PhotoPlaceholder{display:flex;justify-content:center;align-items:center;width:100%;aspect-ratio:16/9;min-height:200px;background:linear-gradient(145deg,#2d495a,#112233);font-size:14px}
@media(max-height:500px) and (orientation:landscape){
 #aircraftPanel:not([hidden]){left:auto!important;right:0!important;top:0!important;bottom:0!important;width:min(500px,59vw)!important;max-width:min(500px,59vw)!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;inset:auto 0 0 auto!important;padding:8px!important}
 #aircraftPanel .r10AirPhoto img{min-height:200px!important}
 #aircraftPanel #r12Footer{position:static!important;inset:auto!important}
}
