:root {
  --run-focus: #67e8f9;
  --run-focus-shadow: rgba(34, 211, 238, 0.28);
  --run-contributor: #c7f35c;
  --run-contributor-strong: #e4ff9c;
  --run-contributor-muted: rgba(223, 255, 166, 0.76);
  --run-contributor-border: rgba(199, 243, 92, 0.68);
  --run-contributor-surface: #17220c;
  --run-panel-bg: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.032));
  --run-panel-border: rgba(255,255,255,0.15);
  --run-panel-text: rgba(255,255,255,0.78);
  --run-muted: rgba(255,255,255,0.58);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--run-focus) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px var(--run-focus-shadow) !important;
}

.run-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2147483647;
  transform: translateY(-160%);
  border: 1px solid rgba(103, 232, 249, 0.55);
  border-radius: 8px;
  background: #04111f;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease;
}

.run-skip-link:focus,
.run-skip-link:focus-visible {
  transform: translateY(0);
}

.run-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.run-btn:hover {
  border-color: rgba(103, 232, 249, 0.42);
  background: rgba(34, 211, 238, 0.1);
}

.run-btn:active {
  transform: translateY(1px);
}

.run-btn-primary {
  border-color: rgba(103, 232, 249, 0.5);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(14, 165, 233, 0.78));
  color: #03131f;
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.22);
}

.run-btn-danger {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.48);
}

.run-field,
.run-select,
.run-textarea {
  width: 100%;
  min-height: clamp(44px, 10vw, 48px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: clamp(0.625rem, 2vw, 0.75rem) clamp(0.75rem, 2.5vw, 1rem);
  font-size: 16px;
  line-height: 1.35;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.run-textarea {
  min-height: 116px;
  resize: vertical;
}

.run-field::placeholder,
.run-textarea::placeholder {
  color: rgba(255,255,255,0.4);
  opacity: 1;
}

input:not([type="button"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="radio"]):not([type="range"]):not([type="reset"]):not([type="submit"]):focus,
select:focus,
textarea:focus,
.input-field:focus,
.run-field:focus,
.run-select:focus,
.run-textarea:focus,
input:not([type="button"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="radio"]):not([type="range"]):not([type="reset"]):not([type="submit"]):focus-visible,
select:focus-visible,
textarea:focus-visible,
.input-field:focus-visible,
.run-field:focus-visible,
.run-select:focus-visible,
.run-textarea:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  border-color: #2ed1f4 !important;
  background: rgba(46, 209, 244, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 0 18px rgba(46, 209, 244, 0.32), 0 0 40px rgba(46, 209, 244, 0.18) !important;
}

select:focus,
select:focus-visible,
.run-select:focus,
.run-select:focus-visible {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' fill-opacity='0.5' d='M6 8L1 3h10z'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(46,209,244,0.06), rgba(46,209,244,0.025)) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: right clamp(0.75rem, 2.5vw, 1rem) center, 0 0 !important;
  background-size: 12px 12px, 100% 100% !important;
}

.run-field:focus,
.run-field:focus-visible,
.run-textarea:focus,
.run-textarea:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  border-color: #2ed1f4 !important;
  background: rgba(46, 209, 244, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 0 18px rgba(46, 209, 244, 0.32), 0 0 40px rgba(46, 209, 244, 0.18) !important;
}

.run-label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 700;
}

.run-status-panel {
  position: relative;
  z-index: 10;
  margin: 0 0 32px;
  border: 1px solid var(--run-panel-border);
  border-radius: 12px;
  background: var(--run-panel-bg);
  box-shadow: 0 14px 44px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 18px;
  color: var(--run-panel-text);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.run-status-panel h2,
.run-status-panel h3 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.run-status-panel h2::after,
.run-status-panel h3::after {
  display: none;
}

.run-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.run-status-meta {
  margin-top: 6px;
  color: var(--run-muted);
  font-size: 13px;
}

.run-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.run-feedback-backdrop,
.run-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(46, 209, 244, 0.12), rgba(46, 209, 244, 0) 34%),
    radial-gradient(circle at 22% 18%, rgba(34, 211, 238, 0.08), rgba(34, 211, 238, 0) 28%),
    linear-gradient(180deg, rgba(0, 5, 16, 0.78), rgba(0, 5, 16, 0.93));
  padding: clamp(16px, 4vw, 32px);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
}

.activity-shoe-editor-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(46, 209, 244, 0.12), rgba(46, 209, 244, 0) 34%),
    radial-gradient(circle at 22% 18%, rgba(34, 211, 238, 0.08), rgba(34, 211, 238, 0) 28%),
    linear-gradient(180deg, rgba(0, 5, 16, 0.78), rgba(0, 5, 16, 0.93));
  padding: clamp(16px, 4vw, 32px);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
}

.activity-shoe-editor-backdrop.active {
  display: flex;
}

.run-feedback-card,
.run-modal-card,
.activity-shoe-editor-modal {
  position: relative;
  overflow: hidden;
  width: min(100%, 520px);
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 18px;
  /* Opaque card: no second backdrop-filter on top of the backdrop's blur. */
  background:
    linear-gradient(180deg, rgba(9, 18, 34, 0.97), rgba(3, 8, 20, 0.98)) !important;
  box-shadow:
    0 28px 90px rgba(0,0,0,0.62),
    0 0 56px rgba(46, 209, 244, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  color: #fff;
  padding: clamp(24px, 4vw, 34px);
}

.run-modal-card {
  text-align: center;
}

.run-feedback-card > *,
.run-modal-card > *,
.activity-shoe-editor-modal > * {
  position: relative;
  z-index: 1;
}

.run-feedback-card::before,
.run-modal-card::before,
.activity-shoe-editor-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(46, 209, 244, 0), rgba(103, 232, 249, 0.56), rgba(46, 209, 244, 0)) top / 100% 1px no-repeat,
    radial-gradient(circle at 50% 0%, rgba(46, 209, 244, 0.13), rgba(46, 209, 244, 0) 42%);
  pointer-events: none;
}

.run-feedback-card::after,
.run-modal-card::after,
.activity-shoe-editor-modal::after {
  content: "";
  position: absolute;
  top: clamp(22px, 4vw, 34px);
  bottom: clamp(22px, 4vw, 34px);
  left: 0;
  z-index: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(46, 209, 244, 0), rgba(103, 232, 249, 0.8), rgba(46, 209, 244, 0));
  box-shadow: 0 0 18px rgba(46, 209, 244, 0.44);
  pointer-events: none;
}

.run-feedback-title,
.run-modal-title,
.activity-shoe-editor-title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(1.25rem, 3vw, 1.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  position: relative;
  display: inline-block;
  text-align: center;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.run-feedback-title,
.run-modal-title {
  display: block;
  width: 100%;
}

.run-feedback-title::after,
.run-modal-title::after,
.activity-shoe-editor-title::after {
  display: none;
  content: none;
}

.activity-shoe-editor-header {
  position: static !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.activity-shoe-editor-title-row {
  display: block;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0 56px;
  text-align: center;
}

.activity-shoe-editor-title-row > div:last-child {
  align-items: center;
  width: 100%;
}

.activity-shoe-editor-meta {
  color: rgba(255,255,255,0.58);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-top: 0;
  letter-spacing: 0;
}

.activity-shoe-editor-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.68);
  font-size: 18px !important;
  line-height: 1;
  cursor: pointer;
  transform: none !important;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.activity-shoe-editor-close:hover {
  border-color: rgba(46,209,244,0.42);
  background: rgba(46,209,244,0.1);
  box-shadow: 0 0 0 3px rgba(46,209,244,0.1);
  color: #fff;
}

.run-feedback-copy,
.run-modal-copy {
  max-width: 430px;
  margin: 0 auto 22px;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(103, 232, 249, 0.14);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
  line-height: 1.58;
}

.run-modal-copy {
  text-align: center;
  text-wrap: balance;
}

.run-feedback-card:focus,
.run-modal-card:focus {
  outline: none;
}

/* Inline dialog errors (confirmation mismatch, empty feedback) replace toasts and
   the browser's validation bubble. */
.run-modal-error {
  margin: 10px 0 0;
  color: #fecaca;
  font-size: var(--ri-text-secondary, 14px);
  line-height: 1.45;
  text-align: left;
}

.run-modal-field-group .run-field[aria-invalid="true"],
.run-feedback-card .run-textarea[aria-invalid="true"] {
  border-color: rgba(248, 113, 113, 0.72);
}

/* Form controls in dialogs stay at the input token (16px up to 1024px wide),
   which also beats page-level clamps that make iOS zoom on focus. */
.run-modal-card .run-field,
.run-modal-card .run-select,
.run-modal-card .run-textarea {
  font-size: var(--ri-text-input, 16px) !important;
}

/* Scroll-lock fallback for pages without js/ui-motion.js. */
html.run-scroll-locked {
  overflow: hidden;
  overscroll-behavior: contain;
}

.run-modal-field-group {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.run-modal-field-group .run-field {
  min-height: 44px;
  padding: 10px 12px;
  font-size: var(--ri-text-input, 16px) !important;
  line-height: 1.35;
  background: rgba(255,255,255,0.055);
  box-shadow: none;
}

.run-modal-field-group .run-field:focus,
.run-modal-field-group .run-field:focus-visible {
  background: rgba(46, 209, 244, 0.055) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.48), 0 0 18px rgba(46, 209, 244, 0.32), 0 0 40px rgba(46, 209, 244, 0.18) !important;
}

.activity-shoe-editor-current-card,
.activity-shoe-editor-section {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.activity-shoe-editor-current-card {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(103, 232, 249, 0.14);
  color: rgba(255,255,255,0.66);
  font-size: 0.9rem;
  line-height: 1.55;
}

.activity-shoe-editor-current-card::before {
  content: none;
  display: none;
}

.activity-shoe-editor-label {
  display: block;
  margin-bottom: 9px;
  color: rgba(176, 238, 249, 0.78);
  font-size: 0.76rem !important;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.activity-shoe-editor-select-wrap {
  position: relative;
}

.activity-shoe-editor-select-wrap::after {
  content: '';
  position: absolute;
  right: clamp(0.75rem, 2.5vw, 1rem);
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255,255,255,0.58);
  border-bottom: 1.5px solid rgba(255,255,255,0.58);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.activity-shoe-editor-select {
  width: 100%;
  min-height: clamp(44px, 10vw, 48px);
  box-sizing: border-box;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.045);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  padding: clamp(0.625rem, 2vw, 0.75rem) clamp(2rem, 6vw, 2.5rem) clamp(0.625rem, 2vw, 0.75rem) clamp(0.75rem, 2.5vw, 1rem);
  font-size: 16px !important;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 18px rgba(46, 209, 244, 0.12), 0 12px 30px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.activity-shoe-editor-select:focus {
  outline: none !important;
  border-color: #2ed1f4 !important;
  background: rgba(46, 209, 244, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 0 18px rgba(46, 209, 244, 0.32), 0 0 40px rgba(46, 209, 244, 0.18) !important;
}

.run-feedback-actions,
.run-modal-actions,
.activity-shoe-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.run-modal-actions {
  justify-content: center;
}

.run-feedback-actions .run-btn,
.run-modal-actions .run-btn,
.activity-shoe-editor-btn {
  --run-action-accent-rgb: 121, 241, 255;
  --run-action-accent-strong-rgb: 56, 230, 215;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  box-shadow: inset 0 -6px 15px rgba(56, 230, 215, 0.18), inset 0 6px 15px rgba(121, 241, 255, 0.16);
  color: rgba(255,255,255,0.72);
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: none;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow 0.22s ease, color 0.22s ease, transform .16s ease;
}

.run-feedback-actions .run-btn::before,
.run-feedback-actions .run-btn::after,
.run-modal-actions .run-btn::before,
.run-modal-actions .run-btn::after,
.activity-shoe-editor-btn::before,
.activity-shoe-editor-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.run-feedback-actions .run-btn::before,
.run-modal-actions .run-btn::before,
.activity-shoe-editor-btn::before {
  background: linear-gradient(90deg, rgba(var(--run-action-accent-rgb), 0.24) 0.01%, rgba(var(--run-action-accent-strong-rgb), 0.34) 50.01%, rgba(var(--run-action-accent-rgb), 0.24) 100%);
  background-size: 180% 100%;
  opacity: 0.75;
}

.run-feedback-actions .run-btn::after,
.run-modal-actions .run-btn::after,
.activity-shoe-editor-btn::after {
  background: linear-gradient(90deg, rgba(var(--run-action-accent-rgb), 0.78) 0.01%, rgba(var(--run-action-accent-strong-rgb), 0.84) 50.01%, rgba(var(--run-action-accent-rgb), 0.78) 100%);
  background-size: 180% 100%;
  opacity: 0;
}

.run-feedback-actions .run-btn:hover,
.run-modal-actions .run-btn:hover,
.activity-shoe-editor-btn:hover:not(:disabled) {
  box-shadow: inset 0 -6px 17px rgba(var(--run-action-accent-strong-rgb), 0.24), inset 0 6px 17px rgba(var(--run-action-accent-rgb), 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.run-feedback-actions .run-btn:hover::before,
.run-modal-actions .run-btn:hover::before,
.activity-shoe-editor-btn:hover:not(:disabled)::before {
  opacity: 0.28;
}

.run-feedback-actions .run-btn:hover::after,
.run-modal-actions .run-btn:hover::after,
.activity-shoe-editor-btn:hover:not(:disabled)::after {
  opacity: 0.9;
  /* One drift there and back, then rest (no endless repaint while hovered). */
  animation: run-action-border-drift 1.4s ease-in-out 2 alternate;
}

.run-feedback-actions .run-btn:focus-visible,
.run-modal-actions .run-btn:focus-visible,
.activity-shoe-editor-btn:focus-visible {
  outline: 2px solid rgba(var(--run-action-accent-strong-rgb), 0.72) !important;
  outline-offset: 2px !important;
  box-shadow: inset 0 -6px 17px rgba(var(--run-action-accent-strong-rgb), 0.24), inset 0 6px 17px rgba(var(--run-action-accent-rgb), 0.2), 0 0 0 6px rgba(var(--run-action-accent-strong-rgb), 0.16) !important;
}

.run-feedback-actions .run-btn-primary,
.run-modal-actions .run-btn-primary,
.activity-shoe-editor-btn.primary {
  --run-action-accent-rgb: 121, 241, 255;
  --run-action-accent-strong-rgb: 56, 230, 215;
  color: #fff;
}

.run-feedback-actions .run-btn-danger,
.run-modal-actions .run-btn-danger,
.activity-shoe-editor-btn.ghost.destructive {
  --run-action-accent-rgb: 255, 77, 109;
  --run-action-accent-strong-rgb: 225, 29, 72;
  border-color: transparent;
  background: linear-gradient(180deg, rgba(255, 77, 109, 0.18) 0%, rgba(190, 18, 60, 0.06) 100%);
  color: #fff;
}

.run-feedback-actions .run-btn-primary,
.run-feedback-actions .run-btn-danger,
.run-modal-actions .run-btn-primary,
.run-modal-actions .run-btn-danger,
.activity-shoe-editor-btn.primary,
.activity-shoe-editor-btn.ghost.destructive {
  box-shadow: inset 0 -6px 17px rgba(var(--run-action-accent-strong-rgb), 0.34), inset 0 6px 17px rgba(var(--run-action-accent-rgb), 0.28), 0 0 0 1px rgba(var(--run-action-accent-strong-rgb), 0.12);
}

.run-feedback-actions .run-btn-danger,
.run-modal-actions .run-btn-danger,
.activity-shoe-editor-btn.ghost.destructive {
  box-shadow: inset 0 -6px 17px rgba(225, 29, 72, 0.38), inset 0 6px 17px rgba(255, 77, 109, 0.3), 0 0 0 1px rgba(225, 29, 72, 0.24);
}

.run-feedback-actions .run-btn-danger:hover,
.run-modal-actions .run-btn-danger:hover,
.activity-shoe-editor-btn.ghost.destructive:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(255, 77, 109, 0.24) 0%, rgba(190, 18, 60, 0.1) 100%);
  box-shadow: inset 0 -6px 17px rgba(225, 29, 72, 0.46), inset 0 6px 17px rgba(255, 77, 109, 0.34), 0 0 18px rgba(225, 29, 72, 0.26);
  color: #fff;
}

.activity-shoe-editor-btn.ghost.destructive.is-busy-remove:disabled {
  opacity: 0.92;
  color: #fff;
}

.activity-shoe-editor-btn.ghost.destructive .asme-spinner-sm--danger {
  border-color: rgba(255,255,255,0.28);
  border-top-color: #fff;
}

.run-feedback-actions .run-btn:disabled,
.run-modal-actions .run-btn:disabled {
  opacity: 0.58;
  cursor: default;
  transform: none !important;
  pointer-events: none;
}

.run-feedback-actions .run-btn.is-loading,
.run-modal-actions .run-btn.is-loading {
  color: #fff;
}

.run-btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.24);
  border-top-color: currentColor;
  border-radius: 999px;
  flex: 0 0 14px;
  animation: run-spin .8s linear infinite;
}

.run-feedback-actions .run-btn-primary::before,
.run-feedback-actions .run-btn-danger::before,
.run-modal-actions .run-btn-primary::before,
.run-modal-actions .run-btn-danger::before,
.activity-shoe-editor-btn.primary::before,
.activity-shoe-editor-btn.ghost.destructive::before {
  opacity: 0.22;
}

.run-feedback-actions .run-btn-primary::after,
.run-feedback-actions .run-btn-danger::after,
.run-modal-actions .run-btn-primary::after,
.run-modal-actions .run-btn-danger::after,
.activity-shoe-editor-btn.primary::after,
.activity-shoe-editor-btn.ghost.destructive::after {
  opacity: 1;
}

.activity-shoe-editor-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none !important;
}

.activity-shoe-editor-hint {
  color: rgba(255,255,255,0.48);
  font-size: 0.78rem;
  margin-top: 16px;
  line-height: 1.5;
}

.activity-shoe-editor-hint a {
  color: rgba(103,232,249,0.95);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(103,232,249,0.36);
}

.activity-shoe-editor-message {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.activity-shoe-editor-message.show {
  display: block;
}

.activity-shoe-editor-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.activity-shoe-editor-message.success {
  background: rgba(46,209,244,0.07);
  border: 1px solid rgba(46,209,244,0.22);
  color: #67e8f9;
}

@media (prefers-reduced-motion: reduce) {
  .run-feedback-actions .run-btn:hover::after,
  .run-modal-actions .run-btn:hover::after,
  .activity-shoe-editor-btn:hover:not(:disabled)::after {
    animation: none;
  }
}

body.dashboard-contributor-open { overflow: hidden; }
.dashboard-contributor-backdrop[hidden] { display: none !important; }
.dashboard-contributor-backdrop { position: fixed; inset: 0; z-index: 1000010; box-sizing: border-box; display: grid; place-items: center; padding: 1rem; overflow: hidden; overscroll-behavior: contain; background: rgba(1, 7, 18, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: dashboard-contributor-backdrop-in .22s ease-out both; }
/* With js/ui-motion.js loaded the shared overlay motion runs both ways; the CSS
   entrance stays as the fallback. The congratulations card keeps its own arrival. */
.dashboard-contributor-backdrop.is-motion-driven,
.dashboard-contributor-backdrop.is-motion-driven > .dashboard-contributor-modal:not(.dashboard-contributor-congratulations-modal) { animation: none; }
.dashboard-contributor-modal { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; width: min(100%, 720px); max-height: calc(100vh - 2rem); overflow: hidden; padding: 0; border: 1.5px solid transparent; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #101b0d 0%, #071525 58%, #06101c 100%) padding-box, conic-gradient(in oklch shorter hue from 0deg at 50% 50%, #4b7cff 0deg, #8b5cf6 45deg, #675cf6 68deg, #4b7cff 88deg, #2ed1f4 114deg, #b7ff00 145deg, #b7ff00 220deg, #9bff3c 244deg, #5be9a4 272deg, #2ed1f4 315deg, #4b7cff 360deg) border-box; box-shadow: 0 28px 80px rgba(0, 0, 0, .58); animation: dashboard-contributor-modal-in .44s cubic-bezier(.16, 1, .3, 1) both; }
.dashboard-contributor-modal [hidden] { display: none !important; }
.dashboard-contributor-modal::before { display: none; content: none; }
.dashboard-contributor-modal > * { position: relative; z-index: 2; }
.dashboard-contributor-scroll { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow-x: hidden; overflow-y: auto; border-radius: 0; overscroll-behavior-y: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.dashboard-contributor-content { flex: 0 0 auto; padding: 1.35rem; }
.dashboard-contributor-close { position: absolute; z-index: 3; top: .9rem; right: .9rem; display: grid; width: 2.35rem; height: 2.35rem; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: rgba(255, 255, 255, .76); background: rgba(255, 255, 255, .06); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.dashboard-contributor-close:hover, .dashboard-contributor-close:focus-visible { border-color: rgba(183, 255, 0, .72); color: #fff; background: rgba(183, 255, 0, .1); outline: none; }
.dashboard-contributor-modal h2 { display: block; max-width: 610px; margin: 0; padding-bottom: 0 !important; color: #fff !important; font-size: clamp(1.55rem, 4.4vw, 2.15rem); font-weight: 900; line-height: 1.1; letter-spacing: 0; white-space: pre-line; }
.dashboard-contributor-modal h2::after { display: none !important; content: none !important; }
.dashboard-contributor-lead { max-width: 650px; margin: .7rem 0 0; color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.55; }
.dashboard-contributor-reward { display: grid; justify-items: center; gap: .35rem; margin: 1.35rem 0 1.55rem; text-align: center; }
.dashboard-contributor-reward strong { color: #b7ff00; font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 900; line-height: 1; }
.dashboard-contributor-reward span { display: block; color: rgba(255, 255, 255, .58); font-size: .78rem; font-weight: 750; }
.dashboard-contributor-reward-image { width: min(100%, 470px); margin: 0 auto 1.35rem; overflow: hidden; border: 1px solid rgba(183, 255, 0, .38); border-radius: 22px; background: #07111d; box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 14px 34px rgba(0, 0, 0, .32); }
.dashboard-contributor-reward-image img { display: block; width: 100%; height: auto; border-radius: inherit; }
.dashboard-contributor-scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.dashboard-contributor-scope-grid section { min-width: 0; padding: .85rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .045); }
.dashboard-contributor-scope-grid h3 { margin: 0 0 .38rem; color: #fff !important; font-size: .75rem !important; font-weight: 850 !important; line-height: 1.3 !important; }
.dashboard-contributor-scope-grid p { margin: 0; color: rgba(255, 255, 255, .66); font-size: .75rem !important; line-height: 1.48 !important; }
.dashboard-contributor-scope-link { display: inline-flex; gap: .35rem; margin-top: .8rem; color: #b7ff00; font-size: .78rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.dashboard-contributor-scope-link:hover, .dashboard-contributor-scope-link:focus-visible { color: #caff2f; outline: none; }
.dashboard-contributor-loading { display: flex; align-items: center; gap: .58rem; min-height: 3.3rem; margin-top: 1rem; padding: .78rem .85rem; border: 1px solid rgba(46, 209, 244, .24); border-radius: 12px; color: rgba(255, 255, 255, .68); background: rgba(46, 209, 244, .045); font-size: .75rem; font-weight: 750; line-height: 1.35; }
.dashboard-contributor-spinner { width: .95rem; height: .95rem; flex: 0 0 auto; border: 2px solid rgba(46, 209, 244, .22); border-top-color: #2ed1f4; border-radius: 50%; animation: dashboard-contributor-spin .72s linear infinite; }
.dashboard-contributor-blocked { margin-top: 1rem; padding: .85rem; border: 1px solid rgba(183, 255, 0, .38); border-radius: 12px; background: rgba(183, 255, 0, .07); }
.dashboard-contributor-blocked { opacity: 0; transform: translateY(7px); transition: opacity 260ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1); }
.dashboard-contributor-blocked.is-visible { opacity: 1; transform: translateY(0); }
.dashboard-contributor-blocked h3 { margin: 0; color: #fff !important; font-size: .75rem !important; font-weight: 850 !important; line-height: 1.3 !important; }
.dashboard-contributor-blocked p { margin: .35rem 0 0; color: rgba(255, 255, 255, .74); font-size: .78rem; line-height: 1.48; }
.dashboard-contributor-checkbox { display: flex; align-items: flex-start; gap: .65rem; margin-top: .85rem; color: rgba(255, 255, 255, .74); font-size: .78rem; line-height: 1.48; cursor: pointer; }
.dashboard-contributor-checkbox input { width: 1rem; height: 1rem; flex: 0 0 auto; margin-top: .08rem; accent-color: #b7ff00; }
.dashboard-contributor-checkbox a, .dashboard-contributor-legal a { color: #d9ff74; }
.dashboard-contributor-existing-consent, .dashboard-contributor-legal { margin: .85rem 0 0; color: rgba(255, 255, 255, .56); font-size: .73rem; line-height: 1.5; }
.dashboard-contributor-error { margin: .85rem 0 0; color: #ffb4b4; font-size: .78rem; line-height: 1.45; }
.dashboard-contributor-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: center; gap: .65rem; margin: 0; padding: .9rem 1.35rem 1.35rem; border-top: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(7, 21, 37, .1), rgba(6, 16, 28, .94)); }
.dashboard-contributor-primary, .dashboard-contributor-secondary, .dashboard-contributor-profile-action { min-height: 2.6rem; padding: .68rem 1rem; border-radius: 10px; font-size: .8rem; font-weight: 800; }
.dashboard-contributor-primary, .dashboard-contributor-profile-action { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; }
.dashboard-contributor-primary { border: 1px solid #b7ff00; color: #102000; background: #b7ff00; box-shadow: inset 0 1px rgba(255, 255, 255, .68), 0 8px 22px rgba(183, 255, 0, .2); }
.dashboard-contributor-primary:disabled { border-color: #b7ff00; color: #102000; background: #b7ff00; box-shadow: inset 0 1px rgba(255, 255, 255, .68); cursor: not-allowed; }
.dashboard-contributor-secondary { border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .05); }
.dashboard-contributor-profile-action { border: 1px solid rgba(46, 209, 244, .54); color: #dffcff; background: rgba(46, 209, 244, .1); text-decoration: none; }
.dashboard-contributor-primary:not(:disabled):hover, .dashboard-contributor-primary:not(:disabled):focus-visible, .dashboard-contributor-secondary:hover, .dashboard-contributor-secondary:focus-visible, .dashboard-contributor-profile-action:hover, .dashboard-contributor-profile-action:focus-visible { transform: translateY(-1px); outline: none; }
.dashboard-contributor-backdrop.is-congratulations { align-items: center; }
.dashboard-contributor-congratulations-modal { display: block; width: min(100%, 600px); max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1.35rem; border-radius: 8px; text-align: center; animation: dashboard-contributor-success-arrive .62s cubic-bezier(.16, 1, .3, 1) both; }
.dashboard-contributor-success-mark { display: grid; width: 4.2rem; height: 4.2rem; place-items: center; margin: .2rem auto .85rem; border: 1px solid rgba(183, 255, 0, .7); border-radius: 50%; color: #102000; background: #b7ff00; box-shadow: 0 0 0 9px rgba(183, 255, 0, .08), 0 0 34px rgba(183, 255, 0, .35); animation: dashboard-contributor-success-pop .55s cubic-bezier(.2, .8, .2, 1) both; }
.dashboard-contributor-success-mark svg { width: 2rem; height: 2rem; }
.dashboard-contributor-success-kicker { display: flex; width: fit-content; justify-content: center; margin: 0 auto .65rem; color: #b7ff00; font-size: .72rem; font-weight: 850; line-height: 1; text-transform: uppercase; }
.dashboard-contributor-congratulations-modal h2 { max-width: none; margin: 0 auto; padding: 0 !important; color: #fff !important; font-size: clamp(1.85rem, 4.4vw, 2.15rem); font-weight: 400; line-height: 1.1; white-space: normal; }
.contributor-success-modal .contributor-flow-title { color: #fff !important; }
.dashboard-contributor-success-lead { max-width: 550px; margin: .7rem auto 0; color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.55; }
.dashboard-contributor-success-reward-image { max-width: 470px; margin: 1rem auto; }
.dashboard-contributor-success-legal { margin: .65rem auto 0; color: rgba(255, 255, 255, .48); font-size: .7rem; line-height: 1.45; }
.dashboard-contributor-success-actions { display: flex; align-items: stretch; gap: .65rem; margin-top: 1rem; }
.dashboard-contributor-success-actions .dashboard-contributor-primary,
.dashboard-contributor-success-actions .dashboard-contributor-secondary { min-height: 3rem; flex: 1 1 0; border-radius: 8px; font-size: .82rem; font-weight: 850; line-height: 1.25; }
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-kicker,
.dashboard-contributor-congratulations-modal h2,
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-lead,
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-reward-image,
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-legal,
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-actions { animation: dashboard-contributor-success-content .52s cubic-bezier(.16, 1, .3, 1) both; }
.dashboard-contributor-congratulations-modal h2 { animation-delay: .07s; }
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-lead { animation-delay: .11s; }
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-reward-image { animation-delay: .15s; }
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-legal { animation-delay: .23s; }
.dashboard-contributor-congratulations-modal .dashboard-contributor-success-actions { animation-delay: .27s; }
.dashboard-contributor-success-confetti[hidden] { display: none !important; }
/* Confetti falls with transform only (compositor); cqh = the modal's height. */
.dashboard-contributor-success-confetti { position: absolute !important; inset: 0; z-index: 4 !important; overflow: hidden; border-radius: inherit; pointer-events: none; container-type: size; }
.dashboard-contributor-success-confetti i { position: absolute; top: -1rem; width: .45rem; height: .85rem; border-radius: 2px; background: #b7ff00; opacity: 0; animation: dashboard-contributor-confetti 1.8s cubic-bezier(.16, 1, .3, 1) both; }
.dashboard-contributor-success-confetti i:nth-child(2n) { background: #f4d35e; }
.dashboard-contributor-success-confetti i:nth-child(3n) { background: #2ed1f4; }
.dashboard-contributor-success-confetti i:nth-child(4n) { width: .34rem; height: .66rem; }
.dashboard-contributor-success-confetti i:nth-child(5n) { width: .56rem; height: .56rem; border-radius: 50%; }
.dashboard-contributor-success-confetti i:nth-child(1) { left: 8%; animation-delay: .04s; }
.dashboard-contributor-success-confetti i:nth-child(2) { left: 19%; animation-delay: .16s; }
.dashboard-contributor-success-confetti i:nth-child(3) { left: 32%; animation-delay: .09s; }
.dashboard-contributor-success-confetti i:nth-child(4) { left: 46%; animation-delay: .22s; }
.dashboard-contributor-success-confetti i:nth-child(5) { left: 58%; animation-delay: .02s; }
.dashboard-contributor-success-confetti i:nth-child(6) { left: 71%; animation-delay: .18s; }
.dashboard-contributor-success-confetti i:nth-child(7) { left: 84%; animation-delay: .07s; }
.dashboard-contributor-success-confetti i:nth-child(8) { left: 93%; animation-delay: .25s; }
.dashboard-contributor-success-confetti i:nth-child(9) { left: 4%; animation-delay: .31s; }
.dashboard-contributor-success-confetti i:nth-child(10) { left: 14%; animation-delay: .12s; }
.dashboard-contributor-success-confetti i:nth-child(11) { left: 26%; animation-delay: .38s; }
.dashboard-contributor-success-confetti i:nth-child(12) { left: 39%; animation-delay: .21s; }
.dashboard-contributor-success-confetti i:nth-child(13) { left: 52%; animation-delay: .43s; }
.dashboard-contributor-success-confetti i:nth-child(14) { left: 65%; animation-delay: .28s; }
.dashboard-contributor-success-confetti i:nth-child(15) { left: 77%; animation-delay: .36s; }
.dashboard-contributor-success-confetti i:nth-child(16) { left: 89%; animation-delay: .15s; }
.dashboard-contributor-success-confetti i:nth-child(17) { left: 11%; animation-delay: .48s; }
.dashboard-contributor-success-confetti i:nth-child(18) { left: 23%; animation-delay: .33s; }
.dashboard-contributor-success-confetti i:nth-child(19) { left: 35%; animation-delay: .56s; }
.dashboard-contributor-success-confetti i:nth-child(20) { left: 48%; animation-delay: .41s; }
.dashboard-contributor-success-confetti i:nth-child(21) { left: 61%; animation-delay: .6s; }
.dashboard-contributor-success-confetti i:nth-child(22) { left: 74%; animation-delay: .47s; }
.dashboard-contributor-success-confetti i:nth-child(23) { left: 87%; animation-delay: .54s; }
.dashboard-contributor-success-confetti i:nth-child(24) { left: 97%; animation-delay: .39s; }
.dashboard-contributor-success-confetti i:nth-child(25) { left: 2%; animation-delay: .63s; }
.dashboard-contributor-success-confetti i:nth-child(26) { left: 17%; animation-delay: .51s; }
.dashboard-contributor-success-confetti i:nth-child(27) { left: 29%; animation-delay: .68s; }
.dashboard-contributor-success-confetti i:nth-child(28) { left: 43%; animation-delay: .58s; }
.dashboard-contributor-success-confetti i:nth-child(29) { left: 56%; animation-delay: .72s; }
.dashboard-contributor-success-confetti i:nth-child(30) { left: 82%; animation-delay: .64s; }
@keyframes dashboard-contributor-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dashboard-contributor-modal-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dashboard-contributor-spin { to { transform: rotate(360deg); } }
@keyframes dashboard-contributor-success-arrive { 0% { opacity: 0; transform: translateY(28px) scale(.9); } 68% { opacity: 1; transform: translateY(-3px) scale(1.012); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dashboard-contributor-success-pop { from { opacity: 0; transform: scale(.62) rotate(-18deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes dashboard-contributor-success-content { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dashboard-contributor-confetti { 0% { opacity: 0; transform: translateY(0) rotate(0); } 14% { opacity: 1; } 72% { opacity: .9; } 100% { opacity: 0; transform: translateY(100vh) rotate(480deg); transform: translateY(calc(100cqh + 2rem)) rotate(480deg); } }
@media (max-width: 640px) {
  .dashboard-contributor-backdrop { align-items: end; padding: .6rem; padding-bottom: max(.6rem, env(safe-area-inset-bottom)); }
  .dashboard-contributor-modal { width: 100%; max-height: min(47rem, calc(100dvh - .6rem)); padding: 0; border-radius: 19px; }
  .dashboard-contributor-content { padding: 1.05rem 1.05rem .72rem; }
  .dashboard-contributor-close { top: .72rem; right: .72rem; width: 2.5rem; height: 2.5rem; }
  .dashboard-contributor-modal h2 { padding-right: 2.75rem; font-size: clamp(1.38rem, 7vw, 1.75rem); }
  .dashboard-contributor-lead { margin-top: .58rem; font-size: .84rem; line-height: 1.48; }
  .dashboard-contributor-reward { margin: 1rem 0 1.2rem; }
  .dashboard-contributor-reward-image { width: min(100%, 470px); margin: 0 auto 1rem; }
  .dashboard-contributor-scope-grid { grid-template-columns: 1fr; gap: .55rem; margin-top: .85rem; }
  .dashboard-contributor-scope-grid section, .dashboard-contributor-blocked { padding: .72rem; }
  .dashboard-contributor-checkbox { margin-top: .65rem; padding: .65rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(255, 255, 255, .035); }
  .dashboard-contributor-legal { margin-top: .7rem; }
  .dashboard-contributor-actions { display: grid; grid-template-columns: 1fr; gap: .42rem; margin: 0; padding: .65rem 1.05rem max(.7rem, env(safe-area-inset-bottom)); }
  .dashboard-contributor-primary { order: -1; width: 100%; min-height: 2.85rem; }
  .dashboard-contributor-secondary, .dashboard-contributor-profile-action { width: 100%; min-height: 2.15rem; padding-top: .42rem; padding-bottom: .42rem; text-align: center; }

  html[data-run-it-native-shell="1"] .dashboard-contributor-backdrop {
    --dashboard-contributor-native-top-clearance: clamp(5.5rem, 13dvh, 7.75rem);
    inset: var(--dashboard-contributor-native-top-clearance) 0 var(--run-it-native-bottom-chrome-inset, 7rem);
    padding: .65rem;
  }

  html[data-run-it-native-shell="1"] .dashboard-contributor-modal {
    max-height: 100%;
  }

  html[data-run-it-native-shell="1"] .dashboard-contributor-actions {
    padding-bottom: .85rem;
  }

  .dashboard-contributor-backdrop.is-congratulations { align-items: center; padding: .6rem; }
  .dashboard-contributor-backdrop.is-congratulations .dashboard-contributor-congratulations-modal { max-height: calc(100dvh - 1.2rem); padding: 1.05rem; border-radius: 8px; }
  .dashboard-contributor-congratulations-modal h2 { padding: 0 2.4rem !important; font-size: clamp(1.55rem, 7vw, 1.85rem); }
  .dashboard-contributor-success-actions { flex-direction: column; }
  .dashboard-contributor-success-actions .dashboard-contributor-primary { order: 0; }
  .dashboard-contributor-success-actions .dashboard-contributor-secondary { min-height: 3rem; padding-top: .68rem; padding-bottom: .68rem; }
}
@media (max-width: 380px) {
  .dashboard-contributor-modal { padding: 0; }
  .dashboard-contributor-modal h2 { font-size: 1.34rem; }
  .dashboard-contributor-scope-grid section, .dashboard-contributor-blocked { padding: .65rem; }
}
@media (prefers-reduced-motion: reduce) { .dashboard-contributor-backdrop, .dashboard-contributor-modal, .dashboard-contributor-primary, .dashboard-contributor-secondary, .dashboard-contributor-spinner, .dashboard-contributor-success-mark, .dashboard-contributor-congratulations-modal .dashboard-contributor-success-kicker, .dashboard-contributor-congratulations-modal h2, .dashboard-contributor-congratulations-modal .dashboard-contributor-success-lead, .dashboard-contributor-congratulations-modal .dashboard-contributor-success-reward-image, .dashboard-contributor-congratulations-modal .dashboard-contributor-success-legal, .dashboard-contributor-congratulations-modal .dashboard-contributor-success-actions { animation: none !important; transition: none !important; } .dashboard-contributor-blocked { transition: none !important; } .dashboard-contributor-success-confetti { display: none !important; } }

/* The page behind the Pro modal is dimmed and blurred by the backdrop alone
   (no per-child filter: it snapped back on close and doubled the blur cost). */
body.run-pro-upgrade-open {
  overflow: hidden;
}

.run-scroll-edge-fade {
  position: fixed;
  z-index: 2147483647;
  height: 2.35rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
  will-change: opacity;
}

.run-scroll-edge-fade.is-visible {
  opacity: 1;
}

.run-scroll-edge-frame {
  position: fixed;
  z-index: 2147483647;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.run-scroll-edge-frame.is-visible {
  opacity: 1;
}

.run-scroll-edge-frame-pro {
  border: 1px solid rgba(46, 209, 244, 0.64);
  border-radius: 12px;
}

.run-scroll-edge-fade-top {
  border-radius: 10px 10px 0 0;
}

.run-scroll-edge-fade-bottom {
  border-radius: 0 0 10px 10px;
}

.run-scroll-edge-fade-top.run-scroll-edge-fade-pro {
  background: linear-gradient(to bottom, rgba(9, 21, 34, 0.98), rgba(9, 21, 34, 0.72) 48%, rgba(9, 21, 34, 0));
}

.run-scroll-edge-fade-bottom.run-scroll-edge-fade-pro {
  background: linear-gradient(to top, rgba(9, 21, 34, 0.98), rgba(9, 21, 34, 0.72) 48%, rgba(9, 21, 34, 0));
}

.run-pro-upgrade-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 12%, rgba(46, 209, 244, 0.13), transparent 38%),
    rgba(2, 6, 23, 0.84);
  backdrop-filter: blur(24px) saturate(0.78) brightness(0.7);
  -webkit-backdrop-filter: blur(24px) saturate(0.78) brightness(0.7);
}

.run-pro-upgrade-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 820px);
  max-height: min(94vh, 700px);
  overflow-y: auto;
  padding: clamp(1.15rem, 2.6vw, 1.55rem);
  border-radius: 12px;
  color: #fff;
  border: 1px solid rgba(46, 209, 244, 0.5);
  background: #091522;
  box-shadow:
    0 26px 72px rgba(0,0,0,0.44),
    0 0 48px rgba(46, 209, 244, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.run-pro-upgrade-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background: linear-gradient(90deg, rgba(46, 209, 244, 0.08), transparent 46%);
}

.run-pro-upgrade-card > * {
  position: relative;
  z-index: 1;
}

.run-pro-upgrade-head {
  min-height: 2.85rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 2.55rem;
}

.run-pro-upgrade-logo {
  width: min(15.25rem, 58vw);
  height: clamp(2.75rem, 4.7vw, 3.35rem);
  overflow: hidden;
  background: url('/images/prologo.png') center / 145% auto no-repeat;
  filter: drop-shadow(0 0 15px rgba(46, 209, 244, 0.18));
}

.run-pro-upgrade-logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
}

.run-pro-upgrade-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.82rem;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  color: #b9f8ff;
  background: rgba(2, 19, 26, 0.58);
  border: 1px solid rgba(103, 232, 249, 0.42);
  box-shadow: 0 0 22px rgba(46, 209, 244, 0.18), inset 0 1px 0 rgba(255,255,255,0.16);
  font-size: 0.69rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.run-pro-upgrade-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.72);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.run-pro-upgrade-close:hover {
  transform: translateY(-1px);
  border-color: rgba(46, 209, 244, 0.4);
  background: rgba(46, 209, 244, 0.1);
  color: #fff;
}

.run-pro-upgrade-title {
  margin: 0.82rem 0 0;
  color: #fff !important;
  font-size: clamp(1.35rem, 3.6vw, 1.75rem) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.run-pro-upgrade-title::after {
  display: none !important;
}

.run-pro-upgrade-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.72rem;
  color: #fff;
  flex-wrap: wrap;
}

.run-pro-upgrade-price strong {
  font-size: clamp(2.05rem, 7vw, 3.05rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.run-pro-upgrade-price span {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 750;
}

.run-pro-upgrade-copy {
  margin: 0.48rem 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  line-height: 1.48;
  text-wrap: balance;
}

.run-pro-upgrade-option-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 0.58rem;
  row-gap: 0.45rem;
  margin-top: 1.15rem;
}

.run-pro-upgrade-option-card {
  --run-pro-option-accent: #2ed1f4;
  --run-pro-option-border: rgba(46, 209, 244, 0.42);
  --run-pro-option-rule: rgba(46, 209, 244, 0.24);
  --run-pro-option-glow: rgba(46, 209, 244, 0.1);
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 8.75rem auto auto;
  align-items: stretch;
  align-content: start;
  gap: 0.72rem;
  padding: 1.1rem;
  border-radius: 22px;
  text-align: left;
  color: #fff;
  border: 1px solid var(--run-pro-option-border);
  background: rgba(255,255,255,0.045);
  /* No backdrop-filter: the card behind is a flat colour, so the blur only cost frames. */
  box-shadow:
    0 18px 44px rgba(0,0,0,0.26),
    0 0 22px var(--run-pro-option-glow),
    inset 0 1px 0 rgba(255,255,255,0.13),
    inset 0 -1px 0 rgba(0,0,0,0.18);
}

.run-pro-upgrade-option-card-paid {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    linear-gradient(150deg, rgba(11, 35, 47, 0.94), rgba(7, 20, 29, 0.92));
}

.run-pro-upgrade-option-card-contributor {
  --run-pro-option-accent: #B7FF00;
  --run-pro-option-border: rgba(183, 255, 0, 0.58);
  --run-pro-option-rule: rgba(183, 255, 0, 0.24);
  --run-pro-option-glow: rgba(183, 255, 0, 0.09);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    linear-gradient(150deg, rgba(11, 35, 47, 0.94), rgba(7, 20, 29, 0.92));
}

.run-pro-upgrade-option-card-contributor::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(125deg, #B7FF00 0%, #2ED1F4 24%, #4B7CFF 43%, #8B5CF6 61%, #B7FF00 82%, #2ED1F4 100%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  content: "";
  /* background-position repaints on the main thread: one sweep there and back, then rest. */
  animation: run-pro-contributor-border-morph 6.2s ease-in-out 2 alternate;
}

@keyframes run-pro-contributor-border-morph {
  0% { background-position: 0% 12%; }
  50% { background-position: 100% 76%; }
  100% { background-position: 18% 100%; }
}

.run-pro-upgrade-option-meta {
  width: fit-content;
  min-height: 1.45rem;
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.52rem;
  border-radius: 6px;
  color: rgba(219, 250, 255, 0.86);
  background: rgba(46, 209, 244, 0.1);
  border: 1px solid rgba(46, 209, 244, 0.24);
  font-size: var(--ri-text-micro, 11px);
  font-weight: 850;
  line-height: 1;
}

.run-pro-upgrade-option-title {
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.06rem, 2.2vw, 1.24rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.run-pro-upgrade-option-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  min-height: 3.55rem;
  padding: 0.08rem 0 0.72rem;
  border-bottom: 1px solid var(--run-pro-option-rule);
}

.run-pro-upgrade-option-route {
  margin: 0;
  color: var(--run-pro-option-accent);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
}

.run-pro-upgrade-option-price {
  min-height: 3.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.26rem;
  color: #fff;
}

.run-pro-upgrade-option-price strong {
  font-size: clamp(1.95rem, 5vw, 2.55rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.run-pro-upgrade-option-price span {
  max-width: none;
  color: rgba(255,255,255,0.56);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.22;
}

.run-pro-upgrade-option-price-contributor {
  margin-top: 0;
}

.run-pro-upgrade-option-price-contributor strong {
  color: #fff;
  font-size: clamp(1.95rem, 5vw, 2.55rem);
  line-height: 1;
}

.run-pro-upgrade-option-price-contributor span {
  max-width: 9.4rem;
  color: var(--run-contributor-muted);
}

.run-pro-upgrade-option-copy {
  min-height: 3.3rem;
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.run-pro-upgrade-choice-divider {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 0.42rem;
  min-width: 1.85rem;
  color: rgba(219, 250, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.run-pro-upgrade-choice-divider i {
  display: block;
  width: 1px;
  height: 1.9rem;
  background: rgba(103, 232, 249, 0.28);
}

.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-copy {
  color: rgba(241, 255, 215, 0.76);
}

.run-pro-upgrade-option-visual {
  width: min(100%, 14rem);
  height: 8.75rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--run-pro-option-border);
  border-radius: 10px;
  background: rgba(4, 13, 22, 0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 22px rgba(0,0,0,0.16);
}

.run-pro-upgrade-option-visual img {
  display: block;
}

/* Images in the JS-built modal load with it: fade them in over the tile (no pop). */
.run-pro-upgrade-backdrop[data-run-image-fade] .run-pro-upgrade-option-visual img {
  opacity: 0;
  transition: opacity var(--ri-dur-reveal, 520ms) var(--ri-ease-fade, ease);
}

.run-pro-upgrade-backdrop[data-run-image-fade] .run-pro-upgrade-option-visual img.is-loaded {
  opacity: 1;
}

.run-pro-upgrade-option-visual-paid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none !important;
}

.run-pro-upgrade-option-visual-contributor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.run-pro-upgrade-option-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
  align-self: start;
}

.run-pro-upgrade-option-cta {
  width: 100%;
  min-height: 3.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(103, 232, 249, 0.48);
  background: rgba(46, 209, 244, 0.12);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  appearance: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

.run-pro-upgrade-option-cta span {
  min-width: 0;
}

.run-pro-upgrade-option-cta svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: #7de8ff;
}

.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta {
  border-color: rgba(199, 243, 92, 0.66);
  background: rgba(199, 243, 92, 0.14);
  color: #f4ffda;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 18px rgba(180, 236, 55, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta svg,
.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta > span:last-child {
  color: var(--run-contributor);
  transition: transform 160ms ease;
}

.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta:hover,
.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta:focus-visible {
  transform: translateY(-2px);
  border-color: #B7FF00;
  background: rgba(183, 255, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta:hover svg,
.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta:hover > span:last-child,
.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta:focus-visible svg,
.run-pro-upgrade-option-card-contributor .run-pro-upgrade-option-cta:focus-visible > span:last-child {
  transform: translateX(3px);
}

.run-pro-upgrade-benefits {
  display: grid;
  gap: 0.44rem;
  margin: 0.78rem 0 0 0;
  padding: 0;
  list-style: none;
}

.run-pro-upgrade-benefits li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  align-items: start;
  gap: 0.58rem;
  color: rgba(255,255,255,0.79);
  font-size: 0.82rem;
  line-height: 1.38;
}

.run-pro-upgrade-benefits svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.06rem;
  color: #2ed1f4;
  filter: drop-shadow(0 0 8px rgba(46, 209, 244, 0.22));
}

.run-pro-upgrade-benefits strong {
  color: #fff;
  font-weight: 850;
}

.run-pro-upgrade-action {
  min-height: 3.9rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  border-radius: 8px;
  padding: 0.58rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.run-pro-upgrade-action-primary {
  border: 1px solid rgba(46, 209, 244, 0.52);
  background: linear-gradient(180deg, rgba(51, 255, 255, 0.24), rgba(0, 188, 212, 0.14));
  box-shadow: 0 0 26px rgba(46, 209, 244, 0.18), inset 0 1px 0 rgba(255,255,255,0.18);
}

.run-pro-upgrade-action-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
}

.run-pro-upgrade-action:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(46, 209, 244, 0.72);
  box-shadow: 0 0 28px rgba(46, 209, 244, 0.18);
}

.run-pro-upgrade-action:disabled {
  cursor: default;
  opacity: 0.62;
}

.run-pro-upgrade-action-title {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
}

.run-pro-upgrade-action-subtitle {
  color: rgba(255,255,255,0.62);
  font-size: var(--ri-text-micro, 11px);
  font-weight: 750;
  line-height: 1.35;
}

.run-pro-upgrade-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.28rem 0.42rem;
  width: 100%;
  margin: 0.6rem 0 0;
  padding: 0.42rem 0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.58);
  transition: background 0.18s ease, color 0.18s ease;
}

.run-pro-upgrade-dismiss:hover {
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.86);
}

.run-pro-upgrade-dismiss-title {
  font-size: 0.79rem;
  font-weight: 850;
  line-height: 1.3;
}

.run-pro-upgrade-dismiss-subtitle {
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255,255,255,0.44);
}

.run-pro-upgrade-note {
  margin: 0.6rem 0 0 0;
  color: rgba(255,255,255,0.48);
  font-size: 0.73rem;
  line-height: 1.4;
}

.run-toast-region {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 2147483640;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

/* In the native app the tab bar covers the bottom of the WebView. */
html[data-run-it-native-shell="1"] .run-toast-region {
  bottom: calc(var(--run-it-native-bottom-chrome-inset, 88px) + 12px);
}

.run-toast {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 16px 42px rgba(0,0,0,0.34);
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
  pointer-events: auto;
  /* Exit fallback when js/ui-motion.js is not loaded (RunItMotion animates otherwise). */
  transition: opacity 160ms var(--ri-ease-in, ease-in), transform 160ms var(--ri-ease-in, ease-in);
}

.run-toast[data-kind="success"] {
  border-color: rgba(34, 197, 94, 0.34);
}

.run-toast[data-kind="error"] {
  border-color: rgba(248, 113, 113, 0.42);
}

.run-loading {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.72);
}

.run-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.16);
  border-top-color: #67e8f9;
  border-radius: 999px;
  animation: run-spin .8s linear infinite;
}

@keyframes run-spin {
  to { transform: rotate(360deg); }
}

@keyframes run-action-border-drift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (max-width: 640px) {
  .run-status-grid {
    grid-template-columns: 1fr;
  }

  .run-status-actions {
    justify-content: stretch;
  }

  .run-status-actions .run-btn {
    width: 100%;
  }

  .run-feedback-actions,
  .run-modal-actions {
    flex-direction: column-reverse;
  }

  .run-feedback-actions .run-btn,
  .run-modal-actions .run-btn {
    width: 100%;
  }

  .run-feedback-card,
  .run-modal-card,
  .activity-shoe-editor-modal {
    border-radius: 16px;
    padding: 1.25rem;
  }

  .run-feedback-copy,
  .run-modal-copy {
    padding: 0 0 1rem;
  }

  .activity-shoe-editor-current-card {
    padding: 0 0 1rem;
  }

  .activity-shoe-editor-section {
    padding: 0;
  }

  .activity-shoe-editor-actions {
    flex-direction: column;
  }

  .activity-shoe-editor-btn {
    width: 100%;
  }

  .run-pro-upgrade-backdrop {
    --run-pro-mobile-header-clearance: calc(8.75rem + env(safe-area-inset-top, 0px));
    --run-pro-mobile-bottom-clearance: calc(112px + env(safe-area-inset-bottom, 0px));
    inset: 0;
    box-sizing: border-box;
    place-items: start center;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: calc(var(--run-pro-mobile-header-clearance) + 12px) 12px calc(var(--run-pro-mobile-bottom-clearance) + 12px);
  }

  .run-pro-upgrade-card {
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    max-height: calc(100vh - var(--run-pro-mobile-header-clearance) - var(--run-pro-mobile-bottom-clearance) - 24px);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 19px;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .run-scroll-edge-frame-pro {
    border-radius: 19px;
  }

  @supports (height: 100dvh) {
    .run-pro-upgrade-card {
      max-height: calc(100dvh - var(--run-pro-mobile-header-clearance) - var(--run-pro-mobile-bottom-clearance) - 24px);
    }
  }

  .run-pro-upgrade-head {
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding-right: 0;
  }

  .run-pro-upgrade-logo {
    width: min(14.75rem, 61vw);
    height: auto;
    aspect-ratio: 806 / 269;
    overflow: visible;
    background: none;
  }

  .run-pro-upgrade-logo img {
    height: 100%;
    object-fit: contain;
    object-position: left center;
    opacity: 1;
  }

  .run-pro-upgrade-status {
    display: none;
  }

  .run-pro-upgrade-option-card {
    padding: 0.78rem;
  }

  .run-pro-upgrade-contributor-art {
    display: none;
  }

  .run-pro-upgrade-benefits li {
    font-size: 0.84rem;
  }
}

@media (min-width: 521px) and (max-width: 640px) {
  .run-pro-upgrade-backdrop {
    --run-pro-mobile-header-clearance: 0px;
    --run-pro-mobile-bottom-clearance: 0px;
    place-items: center;
    padding: 12px;
  }

  .run-pro-upgrade-card {
    max-height: calc(100vh - 24px);
  }

  @supports (height: 100dvh) {
    .run-pro-upgrade-card {
      max-height: calc(100dvh - 24px);
    }
  }
}

@media (max-width: 520px) {
  .run-pro-upgrade-title {
    margin-top: 0.72rem;
  }

  .run-pro-upgrade-copy {
    margin-top: 0.42rem;
  }

  .run-pro-upgrade-option-grid {
    grid-template-columns: 1fr;
    row-gap: 0.72rem;
    margin-top: 1rem;
  }

  .run-pro-upgrade-option-card-contributor {
    order: 1;
  }

  .run-pro-upgrade-choice-divider {
    order: 2;
  }

  .run-pro-upgrade-option-card-paid {
    order: 3;
  }

  .run-pro-upgrade-choice-divider {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    width: 100%;
    gap: 0.55rem;
  }

  .run-pro-upgrade-choice-divider i {
    width: 100%;
    height: 1px;
  }

  .run-pro-upgrade-option-card {
    min-height: 0;
    grid-template-rows: auto auto 7.25rem auto auto;
    gap: 0.65rem;
    padding: 0.86rem;
  }

  .run-pro-upgrade-option-heading {
    min-height: 3.15rem;
    padding-bottom: 0.62rem;
  }

  .run-pro-upgrade-option-visual {
    height: 7.25rem;
  }

}

@media (max-width: 640px) {
  .contributor-flow-modal:not(.contributor-success-modal) > .contributor-flow-title {
    box-sizing: border-box;
    padding-right: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .run-scroll-edge-fade,
  .run-scroll-edge-frame,
  .run-toast,
  .run-pro-upgrade-backdrop[data-run-image-fade] .run-pro-upgrade-option-visual img {
    transition: none;
  }

  .run-pro-upgrade-option-card-contributor::before {
    animation: none;
    background-position: 50% 50%;
  }
}
