@import url('/art/match/type.css');

#partners { font-family: 'Match Proxima',system-ui,sans-serif; min-width: 0; }
.partners-heading { position: relative; z-index: 1; min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#partners .partners-heading h2 {
  display: flex; align-items: center; gap: 10px; margin: 0; color: #fff;
  font: 800 28px/1.12 'Match Proxima',system-ui,sans-serif; letter-spacing: .012em;
}
.partners-heading h2::before { content: ''; width: 30px; height: 22px; background: currentColor; mask: url('/art/guest-home/crown-icon.svg') center/contain no-repeat; }
.partners-arrows { display: none; gap: 8px; }
.partners-arrows button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #2e2e56; color: #abadcc; }
.partners-arrows button:hover:enabled { color: #fff; }
.partners-arrows button:disabled { opacity: .45; cursor: default; }
.partners-rail {
  --fade-start: 0px; --fade-end: 56px; position: relative; display: grid;
  grid-auto-flow: column; grid-auto-columns: 300px; gap: 12px; list-style: none;
  padding: 28px 0 0; margin: -12px 0 0; overflow: hidden; scrollbar-width: none;
  mask-image: linear-gradient(to right,transparent,#000 var(--fade-start),#000 calc(100% - var(--fade-end)),transparent);
  user-select: none; touch-action: pan-y;
}
.partners-rail::-webkit-scrollbar { display: none; }
.partners-rail li {
  position: relative; isolation: isolate; height: 138px; border-radius: 14px; scroll-snap-align: start;
  background: linear-gradient(110deg,#0d0919,#241155); box-shadow: inset 0 0 0 1px #ffffff1a;
}
.partners-rail li::before,.partners-rail li::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.partners-rail li::before { background: rgb(255 255 255 / 3.5%); mask: url('/art/guest-home/crown-icon.svg') 18% 60%/150px no-repeat; }
.partners-rail li::after { opacity: .4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.partners-portrait { position: absolute; inset: 0; clip-path: inset(-28px 0 0 round 14px); }
.partners-portrait img { position: absolute; top: -24px; right: 8px; width: 190px; height: auto; max-width: none; pointer-events: none; }
.partners-copy { position: relative; display: flex; height: 100%; max-width: 58%; flex-direction: column; justify-content: center; padding-left: 20px; }
.partners-copy p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.5; color: #abadcc; }
.partners-copy p+p { margin-top: 4px; }
.partners-copy .partners-name { font-size: 20px; line-height: 1.25; font-weight: 700; color: #fff; text-wrap: pretty; }
.partners-name svg { display: inline-block; vertical-align: -2px; margin-left: 4px; color: #3897f0; }
.partners-copy p:last-child { font-variant-numeric: tabular-nums; }
.partners-rail[data-dragging] * { cursor: grabbing; }
@media (pointer:coarse) {
  .partners-rail { overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; touch-action: auto; }
}
@media (min-width:640px) {
  #partners .partners-heading h2 { font-size: 32px; }
  .partners-arrows:not([hidden]) { display: flex; }
  .partners-rail { grid-auto-columns: minmax(380px,1fr); }
}
.partners-heading button:focus-visible { outline: 2px solid #8b72ff; outline-offset: 2px; }
