/* The orange edge catches the light. The face stays darker under white text. */
:root {
  --uppership-action-weight: 600;
  --uppership-action-face: linear-gradient(180deg, #e85a32 0, #c34220 6px, #ba3a1a 55%, #a93216 100%);
  --uppership-action-hover: linear-gradient(180deg, #f26942 0, #c74320 6px, #be3918 55%, #ad3114 100%);
  --uppership-action-pressed: linear-gradient(180deg, #b13818, #a43116);
  --uppership-action-edge: inset 0 1px 0 #ffb59a9c, inset 0 0 0 1px #9a2a1460, inset 0 -2px 0 #80230d63;
  --uppership-action-shadow: 0 2px 3px #902b192e, 0 5px 10px -5px #902b1959;
}

html #up-combined :is(.u-primary, .u-navbutton, .h-review, .d-compare-button, .d-work-action, .up-shortcut-plate),
html #up-combined .d-film-player .d-film-play-icon,
html #up-pricing :is(.u-navbutton, .btn-primary),
html #ask-vera .ask-form button[type=submit],
.askp .askp-form button[type=submit],
.askp .askp-links a.is-primary {
  background: var(--uppership-action-face);
  box-shadow: var(--uppership-action-edge), var(--uppership-action-shadow);
  color: #fff;
}

html #up-combined :is(.u-primary, .u-navbutton, .h-review, .d-compare-button, .d-work-action, .cta-label, .up-shortcut-label),
html #up-pricing :is(.u-navbutton, .btn-primary),
html #ask-vera .ask-links a.is-primary {
  font-weight: var(--uppership-action-weight);
}

@media (hover: hover) {
  html #up-combined :is(.u-primary, .u-navbutton, .h-review, .d-compare-button, .d-work-action):hover,
  html #up-combined .d-film-player .d-film-play:hover .d-film-play-icon,
  html #up-pricing :is(.u-navbutton, .btn-primary):hover,
  html #ask-vera .ask-form button[type=submit]:hover,
  .askp .askp-form button[type=submit]:hover,
  .askp .askp-links a.is-primary:hover {
    background: var(--uppership-action-hover);
  }
}

html #up-combined :is(.u-primary, .u-navbutton, .h-review, .d-compare-button, .d-work-action):active,
html #up-combined .d-film-player .d-film-play:active .d-film-play-icon,
html #up-pricing :is(.u-navbutton, .btn-primary):active,
html #ask-vera .ask-form button[type=submit]:active,
.askp .askp-form button[type=submit]:active,
.askp .askp-links a.is-primary:active {
  background: var(--uppership-action-pressed);
  box-shadow: var(--uppership-action-edge);
}

/* Clear the frosted poster layers so the orange face reads at full strength. */
html #up-combined .d-film-player .d-film-play-icon::before,
html #up-combined .d-film-player .d-film-play-icon::after {
  content: none;
}

/* Secondary actions use a quieter version of the same orange edge. */
html #up-pricing .btn-secondary {
  background: linear-gradient(180deg, #fffaf7, #ffede5);
  border-color: #e7a48f;
  color: #4e2015;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #e5a89655, 0 3px 6px -3px #902b193d;
}

@media (hover: hover) {
  html #up-pricing .btn-secondary:hover {
    background: linear-gradient(180deg, #fff6f1, #ffe2d5);
  }
}

/* The supplied mark is tight to its artwork, unlike the old square PNG. */
html #up-combined .up-shortcut .up-shortcut-mark {
  top: 50%;
  right: 24px;
  width: 23px;
  height: auto;
  transform: translate(50%, -50%);
  object-fit: contain;
}

html #up-combined .up-shortcut .up-shortcut-label {
  color: #fff;
}

@media (max-width: 960px) {
  html #up-combined .up-shortcut .up-shortcut-mark {
    right: 22px;
    width: 21px;
  }
}
