/* /score only. Hero copy and upload styles remain unchanged. */
/* Scale the headline with the available desktop/tablet width, not a fixed 44px. */
@media (min-width: 701px) {
  #header-wrapper #linkedin-top .home-left h1 {
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: 1.22;
    letter-spacing: .2px !important;
  }
}
#linkedin-top { overflow: clip; }
#linkedin-top #wave_on_score {
  display: block;
  width: 100%;
  height: clamp(38px, 7.43vw, 107px);
  margin: 0 0 -1px !important;
  overflow: hidden;
}
#linkedin-top #wave_on_score path { fill: #fff; }
#linkedin-top .home-right {
  box-sizing: border-box;
  padding: 10px 0 0 20px;
  margin-top: 0;
  overflow: visible;
}
#linkedin-top .score-laptop {
  position: relative;
  width: clamp(840px, 63vw, 1040px);
  max-width: none;
  margin: 0;
  isolation: isolate;
}
#linkedin-top .score-laptop::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -10px;
  left: 7%;
  width: 86%;
  height: 18px;
  border-radius: 50%;
  background: rgba(7, 1, 29, .35);
  filter: blur(10px);
}
#linkedin-top .score-laptop__display {
  position: relative;
  box-sizing: border-box;
  width: 92%;
  margin: 0 auto;
  padding: 10px 9px 11px;
  border: 1px solid #73717f;
  border-radius: 15px 15px 5px 5px;
  background: linear-gradient(145deg, #3b3945, #14131b 48%, #302e38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 16px 40px rgba(8,1,37,.2);
}
#linkedin-top .score-laptop__display::before {
  content: "";
  position: absolute;
  left: calc(50% - 1.5px);
  top: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #111019;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
#linkedin-top .score-laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px 6px 2px 2px;
  background: #edf1f8;
}
#linkedin-top #smr-showcase {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center top;
}
#linkedin-top .score-laptop__base {
  position: relative;
  height: 14px;
  margin-top: -1px;
  border-radius: 2px 2px 50% 50% / 2px 2px 90% 90%;
  background: linear-gradient(#dedde4 0%, #a7a5b0 28%, #777581 70%, #33313f 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.8);
}
#linkedin-top .score-laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 43%;
  width: 14%;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: #85838f;
  box-shadow: 0 1px rgba(255,255,255,.5);
}
/* Coordinates follow the score card in the supplied screenshot's 16:10 crop. */
#linkedin-top .score-laptop__spotlight {
  position: absolute;
  box-sizing: border-box;
  left: 2.69%;
  top: 21.75%;
  width: 43.1%;
  height: 15.72%;
  border-radius: 8px;
  border: 2px solid rgba(115,83,242,.95);
  box-shadow: 0 0 0 3px rgba(173,143,255,.22), 0 0 22px rgba(120,82,244,.65);
  background: transparent;
  pointer-events: none;
  opacity: .72;
  animation: score-laptop-focus 6s ease-in-out infinite;
}
@keyframes score-laptop-focus {
  0%, 65%, 100% { opacity: .55; }
  25%, 40% { opacity: 1; }
}
@media (max-width: 1000px) {
  #linkedin-top .home-right {
    width: 100% !important;
    margin: 42px auto 0;
    padding: 0 20px;
  }
  #linkedin-top .score-laptop { width: 100%; max-width: 760px; margin: 0 auto; }
}
@media (max-width: 600px) {
  #linkedin-top .score-laptop__display { padding: 7px 5px 7px; border-radius: 10px 10px 3px 3px; }
  #linkedin-top .score-laptop__screen { border-radius: 4px 4px 1px 1px; }
  #linkedin-top .score-laptop__base { height: 9px; }
  #linkedin-top .score-laptop__base::before { height: 3px; }
  #linkedin-top .score-laptop__spotlight { border-radius: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  #linkedin-top .score-laptop__spotlight { animation: none; }
}

/* Keep fixed-header anchor clearance when restoring the original dark palette. */
#header-wrapper #smr-entry-landing-upload,
#header-wrapper #zdrop { scroll-margin-top: 90px; }
@media (max-width: 736px) {
  #header-wrapper #header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    height: 66px;
    z-index: 10000;
    background: #1a1450;
    border-bottom: 1px solid #433f70;
  }
}
