/* Catalog action geometry; the shared action themes supply primary/secondary paint.
   Resource links live in the same menu in every card size. */
.search-results-page .rs-event-footer { display:flex; flex-direction:row; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.search-results-page .rs-event-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; width:auto; margin-left:auto; }
.search-results-page .rs-event-actions > a { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:42px; min-width:0; padding:10px 9px; border-radius:10px; font-size:12px; font-weight:600; line-height:1.3; text-decoration:none; white-space:nowrap; }
.search-results-page .rs-event-actions > a svg { width:16px; height:16px; flex:none; }
.search-results-page .rs-event-actions > a > span { color:inherit; font-size:inherit; line-height:inherit; }
.search-results-page .rs-event-actions .rs-detail-link { color:#fff; background:var(--rs-accent); }
.search-results-page .rs-event-actions .rs-ticket-link { color:var(--rs-link); background:#fff; background-image:none; border:1px solid var(--outlo-brand-border, #c7d2fe); box-shadow:none; }
.search-results-page .rs-event-actions .rs-ticket-link:hover { color:var(--rs-link); background:var(--outlo-brand-soft, #eef2ff); border-color:var(--outlo-brand-accent, #4f46e5); }
.search-results-page .rs-event-actions > a:focus-visible { outline:3px solid var(--outlo-control-focus, #a5b4fc); outline-offset:2px; }
.search-results-page .rs-owner-actions { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; margin:10px -8px -8px; padding:9px 14px; border-top:1px solid #e8e2f2; border-radius:0 0 16px 16px; background:#f8f6fc; }
.search-results-page .rs-owner-label { display:inline-flex; align-items:center; gap:6px; color:#7b708d; font-size:11px; line-height:1.4; font-weight:500; }
.search-results-page .rs-owner-label svg { width:14px; height:14px; }
.search-results-page .rs-owner-links { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.search-results-page .rs-owner-links > a { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:40px; padding:8px 12px; border:1px solid #e1daed; border-radius:10px; background:#fff; color:#63547e; text-decoration:none; font-size:12px; font-weight:600; line-height:1.3; }
.search-results-page .rs-owner-links > a > span { color:inherit; font-size:inherit; line-height:inherit; }
.search-results-page .rs-owner-links > a > svg { width:16px; height:16px; flex:none; }
.search-results-page .rs-owner-links > .rs-promotion-link { background:var(--outlo-brand-soft, #eef2ff); border-color:var(--outlo-brand-border, #c7d2fe); color:var(--outlo-brand-text, #4338ca); }
.search-results-page .rs-owner-links > a:hover { border-color:var(--outlo-brand-border, #c7d2fe); background:var(--outlo-brand-soft, #eef2ff); color:var(--outlo-brand-text-hover, #3730a3); }
.search-results-page .rs-owner-links > a:focus-visible { outline:3px solid var(--outlo-brand-accent, #4f46e5); outline-offset:2px; }

.search-results-page .rs-event-controls { position:absolute; top:18px; right:18px; z-index:40; display:flex; align-items:center; gap:6px; }
.search-results-page .rs-event { isolation:isolate; }
/* Lift the whole card, not a descendant trapped inside the TOP footer's layer.
   Search/filter overlays still remain above the results. */
.search-results-page .rs-event:has(.rs-event-menu[open]) { z-index:45; }
.search-results-page .rs-event-controls:has(.rs-event-menu[open]) { z-index:46; }
.search-results-page .rs-event-controls .rs-event-menu { position:relative; top:auto; right:auto; z-index:auto; }
.search-results-page .rs-save-icon,
.search-results-page .rs-event-menu summary { display:grid; place-items:center; width:40px; height:40px; min-height:40px; padding:0; border:1px solid #e5e1ef; border-radius:11px; background:#fff; color:#655d7c; box-shadow:0 2px 8px #28223e10; }
.search-results-page .rs-save-icon svg { width:var(--outlo-icon-lg,20px); height:var(--outlo-icon-lg,20px); fill:none; stroke:currentColor; stroke-width:var(--outlo-icon-stroke,1.8); stroke-linecap:round; stroke-linejoin:round; }
.search-results-page .rs-event-controls .rs-event-menu summary svg { width:var(--outlo-icon-lg,20px); height:var(--outlo-icon-lg,20px); }
.search-results-page .rs-save-icon:hover,
.search-results-page .rs-event-menu summary:hover,
.search-results-page .rs-event-menu[open] summary { color:var(--outlo-brand-accent, #4f46e5); border-color:var(--outlo-brand-border, #c7d2fe); background:var(--outlo-brand-soft, #eef2ff); }
.search-results-page .rs-save-icon.is-saved { color:#e11d48; border-color:#f4b7c8; background:#fff0f4; }
.search-results-page .rs-save-icon.is-saved svg,
.search-results-page .rs-save-icon.is-saved svg path { fill:currentColor; stroke:currentColor; }
.search-results-page .rs-save-icon.is-saved:hover { color:#be123c; border-color:#eaa1b5; background:#ffe3ec; }
.search-results-page .rs-save-icon:disabled { opacity:.5; cursor:wait; }
.search-results-page .rs-save-icon:focus-visible,
.search-results-page .rs-event-menu summary:focus-visible { outline:3px solid var(--outlo-brand-accent, #4f46e5); outline-offset:2px; }

.search-results-page .rs-overflow { width:304px; max-width:calc(100vw - 48px); padding:7px; border:1px solid #e5e1ef; border-radius:17px; background:#fff; box-shadow:0 12px 35px #28223e21; }
.search-results-page .rs-overflow :is(a,button) { display:grid; grid-template-columns:26px minmax(0,1fr) 15px; align-items:center; gap:11px; box-sizing:border-box; width:100%; height:46px; min-height:46px; margin:0; padding:4px 12px; border-radius:10px; color:#252638; font-size:13px; font-weight:500; line-height:1.4; }
.search-results-page .rs-overflow :is(a,button) > svg { width:18px; height:18px; justify-self:center; color:#79748a; }
.search-results-page .rs-overflow :is(a,button) > span:not(.rs-music-play) { color:inherit; font-size:inherit; line-height:inherit; }
.search-results-page .rs-overflow a > svg:last-child { width:var(--outlo-icon-xs,14px); height:var(--outlo-icon-xs,14px); }
.search-results-page .rs-overflow :is(a,button):hover { color:var(--rs-link); background:var(--outlo-brand-soft, #eef2ff); }
.search-results-page .rs-overflow :is(a,button):focus-visible { outline:2px solid var(--outlo-brand-accent, #4f46e5); outline-offset:-2px; }
.search-results-page .rs-menu-divider { height:1px; margin:6px 8px; background:#ece8f2; }
.search-results-page .rs-overflow .rs-music-link { background:color-mix(in srgb,var(--music-provider-color) 7%,#fff); }
.search-results-page .rs-overflow .rs-music-link:hover { background:color-mix(in srgb,var(--music-provider-color) 12%,#fff); color:#252638; }
.search-results-page .rs-music-play { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:color-mix(in srgb,var(--music-provider-color) 80%,#1e293b); color:#fff; }
.search-results-page .rs-music-play svg { width:15px; height:15px; fill:currentColor; stroke:currentColor; }
.search-results-page .rs-music-copy { display:grid; gap:3px; min-width:0; }
.search-results-page .rs-music-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:600; line-height:1.45; }
.search-results-page .rs-music-copy small { color:color-mix(in srgb,var(--music-provider-color) 65%,#334155); font-size:11px; line-height:1.4; }
.search-results-page .rs-overflow .rs-report { color:#79748a; font-size:12px; }
.search-results-page .rs-overflow .rs-report:hover { color:#a52d45; background:#fff1f2; }

@media (min-width:861px) {
  .search-results-page.rs-compact .rs-event { grid-template-columns:minmax(180px,29%) minmax(0,1fr) 264px; }
  .search-results-page.rs-compact .rs-owner-actions { margin-top:-6px; }
  .search-results-page.rs-compact .rs-event-footer { flex-direction:column; flex-wrap:nowrap; align-items:stretch; padding-top:10px; gap:12px; }
  /* Price shares the top row with save/menu. Keep long prices in their own
     column so they wrap without pushing or overlapping the controls. */
  .search-results-page.rs-compact .rs-price { margin-right:98px; }
  .search-results-page.rs-compact .rs-event-actions { margin-top:auto; }
}
@media (min-width:641px) and (max-width:860px) {
  .search-results-page.rs-compact .rs-badges { min-height:38px; padding-right:88px; }
}
@media (max-width:640px) {
  .search-results-page .rs-owner-actions { margin:7px -7px -7px; padding:8px 10px; border-radius:0 0 14px 14px; }
  .search-results-page .rs-owner-links > a { min-height:44px; padding-inline:10px; }
  .search-results-page .rs-event-controls { top:15px; right:15px; }
  .search-results-page .rs-event-actions > a,
  .search-results-page .rs-save-icon,
  .search-results-page .rs-event-menu summary { min-height:44px; }
  .search-results-page .rs-save-icon,
  .search-results-page .rs-event-menu summary { width:44px; height:44px; }
}


/* Native popovers render above sticky filters without moving delegated controls. */
.search-results-page .rs-overflow[popover] { position:fixed; inset:auto; margin:0; }
.search-results-page .rs-overflow .rs-menu-artists { grid-template-columns:26px minmax(0,1fr) 15px; }
.search-results-page .rs-menu-artists-copy { display:grid; gap:3px; min-width:0; }
.search-results-page .rs-menu-artists-copy strong { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:600; }
.search-results-page .rs-menu-artists-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--rs-muted); font-size:11px; }
.search-results-page .rs-menu-artists-count { padding:1px 6px; border-radius:8px; background:var(--outlo-brand-soft,#eef2ff); color:var(--outlo-brand-accent,#4f46e5); font-size:11px; }

/* Action names remain readable in narrow or short mobile menus. The bounded
   panel scrolls; each complete action owns its own row. */
.search-results-page .rs-overflow[popover] { box-sizing:border-box; }
@media (max-width:640px) {
  .search-results-page .rs-overflow :is(a,button) { height:auto; min-height:46px; padding-block:8px; }
  .search-results-page .rs-overflow :is(a,button) > span:not(.rs-music-play,.rs-menu-artists-copy) { min-width:0; white-space:normal; overflow-wrap:anywhere; }
  .search-results-page .rs-overflow .rs-music-copy strong { overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
}
