/* @import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap'); */

:root {
  --therink-ink: #e7edf6;
  --therink-blue: #63a6ff;
  --therink-ice: #111a24;
  --therink-border: #243244;
  --therink-surface: #101924;
  --therink-surface-2: #162231;
  --therink-surface-3: #1c2c3d;
  --therink-muted: #97a9bd;
  --bs-body-bg: #0b1118;
  --bs-body-color: #e7edf6;
  --bs-secondary-color: #97a9bd;
  --bs-border-color: #243244;
  --bs-card-bg: #101924;
  --bs-card-border-color: #243244;
  --bs-tertiary-bg: #162231;
  --bs-secondary-bg: #111a24;
  --bs-emphasis-color: #f5f8fc;
  --bs-link-color: #8cc0ff;
  --bs-link-hover-color: #b5d6ff;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-family: "Manrope", system-ui, sans-serif;
  background: radial-gradient(circle at top, #152538 0%, #0b1118 48%, #080d13 100%);
  color: var(--therink-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.therink-footer-title,
.therink-section-kicker {
  font-family: "Sora", "Manrope", system-ui, sans-serif;
}

.therink-main {
  min-height: calc(100vh - 12rem);
}

.therink-navbar {
  background: linear-gradient(90deg, rgba(7, 13, 22, 0.92) 0%, rgba(12, 26, 42, 0.96) 52%, rgba(24, 66, 108, 0.98) 100%);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 192, 255, 0.12);
  position: relative;
  z-index: 2050;
}

.therink-navbar .navbar-brand,
.therink-navbar .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.therink-navbar .navbar-brand {
  letter-spacing: 0.02em;
}

.therink-navbar-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0.45rem 0.9rem rgba(0, 0, 0, 0.3));
}

.therink-nav-cta {
  min-width: 6.5rem;
  border-radius: 999px;
}

.therink-navbar .nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.therink-navbar .nav-link:hover,
.therink-navbar .nav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.therink-navbar .nav-link.active {
  background: rgba(140, 192, 255, 0.16);
  color: #fff;
}

.therink-account-nav-item .dropdown-menu {
  border-color: rgba(140, 192, 255, 0.18);
  background: rgba(10, 18, 27, 0.98);
  z-index: 2060;
  min-width: 18rem;
  max-width: calc(100vw - 2rem);
  max-height: min(34rem, calc(100vh - 5rem));
  overflow-y: auto;
}

.therink-account-nav-item.show,
.therink-account-nav-item:has(.dropdown-menu.show) {
  z-index: 2060;
}

.therink-account-nav-item .dropdown-item {
  border-radius: 0.35rem;
  margin-inline: 0.35rem;
  width: auto;
}

.therink-account-nav-section {
  color: rgba(196, 220, 249, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.45rem 0.85rem 0.2rem;
  text-transform: uppercase;
}

.therink-account-nav-divider {
  border-top-color: rgba(140, 192, 255, 0.16);
  margin-block: 0.35rem;
}

.therink-account-nav-toggle {
  padding-inline: 0.85rem !important;
}

.therink-account-nav-toggle::after {
  margin-left: 0.4rem;
}

.therink-language-toggle {
  width: 2.4rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  color: #fff;
  line-height: 1;
  padding: 0;
}

.therink-language-toggle:hover,
.therink-language-toggle:focus,
.therink-language-toggle:active,
.therink-language-toggle.show,
.therink-language-nav-item.show .therink-language-toggle {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.therink-language-menu {
  min-width: 11rem;
  border-color: rgba(140, 192, 255, 0.18);
  background: rgba(10, 18, 27, 0.98);
}

.therink-language-option {
  border-radius: 0.35rem;
  margin-inline: 0.35rem;
  width: auto;
}

.therink-language-menu .therink-language-option:hover,
.therink-language-menu .therink-language-option:focus,
.therink-language-menu .therink-language-option.active,
.therink-language-menu .therink-language-option:active {
  background: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.therink-language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  font-size: 1.1rem;
  line-height: 1;
}

.therink-language-flag-icon {
  display: block;
  width: 1.35rem;
  height: 0.95rem;
  min-width: 1.35rem;
  border-radius: 0.12rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.therink-navbar-tool-toggle {
  width: 2.4rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  color: #fff;
  line-height: 1;
  padding: 0;
}

.therink-navbar-tool-toggle:hover,
.therink-navbar-tool-toggle:focus,
.therink-navbar-tool-toggle:active {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.therink-navbar-tool-toggle:focus-visible {
  outline: 3px solid rgba(140, 192, 255, 0.75);
  outline-offset: 2px;
}

.therink-navbar-tool-toggle[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

body.skater-communication-board-open,
body.therink-modal-open {
  overflow: hidden;
}

.skater-communication-board-overlay {
  --skater-communication-columns: 4;
  --skater-communication-popout-columns: 3;
  --skater-communication-tile-font-size: 1.25rem;
  --skater-communication-option-font-size: 1.18rem;
  --skater-communication-control-font-size: 1.25rem;
  --skater-communication-selected-font-size: 1.75rem;
  --skater-communication-tile-min-height: 84px;
  --skater-communication-option-min-height: 76px;
  --skater-communication-icon-size: 2.85rem;
  --skater-communication-option-icon-size: 2.65rem;
  --skater-communication-tile-padding: 1rem;
  --skater-communication-tile-inner-gap: 0.75rem;
  --skater-communication-grid-gap: 0.85rem;
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: #0b1118;
  color: var(--therink-ink);
}

.skater-communication-board {
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0.9rem;
  padding: 1.15rem;
  background:
    radial-gradient(circle at top, #152538 0%, #0b1118 48%, #080d13 100%);
  overflow: hidden;
}

.skater-communication-board button {
  font: inherit;
}

.skater-communication-board-topbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--skater-communication-grid-gap);
}

.skater-communication-control {
  min-height: 64px;
  border: 1px solid rgba(140, 192, 255, 0.22);
  border-radius: 0.75rem;
  background: var(--therink-surface);
  color: var(--therink-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: var(--skater-communication-control-font-size);
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.22);
}

.skater-communication-control:hover,
.skater-communication-control:focus {
  border-color: rgba(140, 192, 255, 0.48);
  background: var(--therink-surface-2);
  color: #fff;
}

.skater-communication-control.is-active {
  border-color: #8cc0ff;
  background: rgba(31, 95, 145, 0.78);
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(140, 192, 255, 0.15), 0 0.45rem 1.2rem rgba(0, 0, 0, 0.28);
}

.skater-communication-control.is-active:hover,
.skater-communication-control.is-active:focus {
  border-color: #b5d6ff;
  background: rgba(40, 120, 180, 0.88);
  color: #ffffff;
}

.skater-communication-control > span:not(.visually-hidden) {
  white-space: nowrap;
}

.skater-communication-control:focus-visible,
.skater-communication-tile:focus-visible,
.skater-communication-option:focus-visible,
.skater-communication-dialog-button:focus-visible {
  outline: 4px solid #8cc0ff;
  outline-offset: 3px;
}

.skater-communication-control-exit {
  background: #26364d;
  border-color: rgba(140, 192, 255, 0.3);
  color: #ffffff;
}

.skater-communication-control-exit:hover,
.skater-communication-control-exit:focus {
  background: #334862;
  border-color: rgba(140, 192, 255, 0.56);
  color: #ffffff;
}

.skater-communication-selected {
  min-height: clamp(4.2rem, 9vh, 5.6rem);
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(140, 192, 255, 0.24);
  border-radius: 0.75rem;
  background: rgba(16, 25, 36, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0.45rem 1.25rem rgba(0, 0, 0, 0.24);
  color: #f5f8fc;
  font-size: var(--skater-communication-selected-font-size);
  font-weight: 800;
  line-height: 1.22;
  overflow: hidden;
}

.skater-communication-selected.is-empty {
  color: var(--therink-muted);
  font-weight: 700;
}

.skater-communication-selected-text {
  display: block;
  width: 100%;
  max-height: 100%;
  overflow: auto;
}

.skater-communication-status {
  min-height: 1.4rem;
  margin-top: -0.35rem;
  color: var(--therink-muted);
  font-size: 1rem;
  font-weight: 700;
}

.skater-communication-grid {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(var(--skater-communication-columns), minmax(0, 1fr));
  grid-auto-rows: minmax(var(--skater-communication-tile-min-height), 1fr);
  gap: var(--skater-communication-grid-gap);
  padding-bottom: 0.15rem;
}

.skater-communication-tile,
.skater-communication-option {
  min-height: var(--skater-communication-tile-min-height);
  border: 1px solid rgba(140, 192, 255, 0.18);
  border-radius: 0.85rem;
  background: rgba(16, 25, 36, 0.94);
  color: var(--therink-ink);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--skater-communication-tile-inner-gap);
  padding: var(--skater-communication-tile-padding);
  text-align: left;
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.24);
}

.skater-communication-tile:hover,
.skater-communication-option:hover,
.skater-communication-tile:focus,
.skater-communication-option:focus {
  border-color: rgba(140, 192, 255, 0.48);
  background: var(--therink-surface-2);
  color: #fff;
}

.skater-communication-tile-icon,
.skater-communication-option-icon {
  width: var(--skater-communication-icon-size);
  min-width: var(--skater-communication-icon-size);
  height: var(--skater-communication-icon-size);
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(140, 192, 255, 0.14);
  color: #b5d6ff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.skater-communication-option {
  min-height: var(--skater-communication-option-min-height);
}

.skater-communication-option-icon {
  width: var(--skater-communication-option-icon-size);
  min-width: var(--skater-communication-option-icon-size);
  height: var(--skater-communication-option-icon-size);
}

.skater-communication-tile-label,
.skater-communication-option-label {
  min-width: 0;
  color: inherit;
  font-size: var(--skater-communication-tile-font-size);
  font-weight: 850;
  line-height: 1.1;
  overflow-wrap: normal;
  white-space: nowrap;
}

.skater-communication-option-label {
  font-size: var(--skater-communication-option-font-size);
}

.skater-communication-tile[data-priority="urgent"] {
  border-color: rgba(226, 87, 76, 0.62);
  background: rgba(92, 24, 24, 0.66);
}

.skater-communication-tile[data-priority="urgent"] .skater-communication-tile-icon {
  background: rgba(226, 87, 76, 0.22);
  color: #ffd1cc;
}

.skater-communication-tile[data-category="Comfort and safety"] .skater-communication-tile-icon {
  background: rgba(28, 159, 104, 0.18);
  color: #9ce5c4;
}

.skater-communication-tile[data-category="Fit feedback"] .skater-communication-tile-icon {
  background: rgba(210, 179, 61, 0.18);
  color: #f1da75;
}

.skater-communication-tile[data-tile-type="group"] {
  background: rgba(99, 166, 255, 0.1);
  border-color: rgba(140, 192, 255, 0.32);
}

.skater-communication-tile[data-tile-type="group"] .skater-communication-tile-icon {
  background: rgba(99, 166, 255, 0.2);
  color: #d2e8ff;
}

.skater-communication-popout-backdrop,
.skater-communication-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 6, 15, 0.72);
}

.skater-communication-popout-panel,
.skater-communication-confirm-panel {
  width: min(54rem, 100%);
  max-height: min(42rem, calc(100vh - 2rem));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  border: 1px solid rgba(140, 192, 255, 0.22);
  border-radius: 0.9rem;
  background: rgba(16, 25, 36, 0.98);
  color: var(--therink-ink);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.44);
  padding: 1.25rem;
}

.skater-communication-popout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.skater-communication-popout-title,
.skater-communication-confirm-title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 900;
  color: #f5f8fc;
}

.skater-communication-popout-options {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(var(--skater-communication-popout-columns), minmax(0, 1fr));
  grid-auto-rows: minmax(var(--skater-communication-option-min-height), auto);
  gap: 0.75rem;
}

.skater-communication-popout-actions,
.skater-communication-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.skater-communication-dialog-button {
  min-height: 56px;
  min-width: 7rem;
  border: 1px solid rgba(140, 192, 255, 0.28);
  border-radius: 0.65rem;
  background: var(--therink-surface-2);
  color: var(--therink-ink);
  font-weight: 800;
  padding: 0.65rem 1rem;
}

.skater-communication-dialog-button:hover,
.skater-communication-dialog-button:focus {
  border-color: rgba(140, 192, 255, 0.5);
  background: var(--therink-surface-3);
  color: #fff;
}

.skater-communication-dialog-button-primary {
  background: #1f5f91;
  border-color: #63a6ff;
  color: #ffffff;
}

.skater-communication-dialog-button-primary:hover,
.skater-communication-dialog-button-primary:focus {
  background: #2878b4;
  border-color: #8cc0ff;
  color: #ffffff;
}

.skater-communication-confirm-panel {
  width: min(28rem, 100%);
  grid-template-rows: auto auto;
}

@media (max-width: 700px) {
  .skater-communication-board {
    height: auto;
    min-height: 100vh;
    overflow: auto;
    gap: 0.7rem;
    padding: 0.75rem;
  }

  .skater-communication-tile,
  .skater-communication-option {
    min-height: var(--skater-communication-tile-min-height);
  }

  .skater-communication-popout-backdrop,
  .skater-communication-confirm-backdrop {
    padding: 0.75rem;
  }
}

.therink-footer {
  background: linear-gradient(180deg, rgba(10, 17, 27, 0.96), rgba(8, 13, 20, 1));
  border-top: 1px solid var(--therink-border);
}

.therink-hero {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.therink-hero-card {
  background: rgba(9, 18, 28, 0.8);
  border: 1px solid rgba(115, 149, 191, 0.22);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.therink-hero-logo {
  max-height: 260px;
  filter: drop-shadow(0 1rem 1.5rem rgba(0, 0, 0, 0.35));
}

.therink-topimage {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.therink-home-intro {
  padding: 2rem 2rem;
  border: 1px solid rgba(115, 149, 191, 0.16);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(18, 32, 48, 0.94), rgba(8, 16, 25, 0.86));
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.22);
}

.therink-home-hero {
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 13, 22, 0.96) 0%, rgba(7, 13, 22, 0.82) 48%, rgba(7, 13, 22, 0.44) 100%),
    linear-gradient(180deg, rgba(7, 13, 22, 0.18), rgba(7, 13, 22, 0.9)),
    url('/images/home/skate-tech.jpg') center right / cover no-repeat;
}

.therink-home-hero > * {
  position: relative;
  z-index: 1;
  width: 100%;
}

.therink-home-hero .lead {
  max-width: 46rem;
}

.therink-home-quicklinks a {
  text-decoration: none;
}

.therink-home-blurb {
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(99, 166, 255, 0.5);
  background: rgba(99, 166, 255, 0.06);
  border-radius: 0.9rem;
}

.therink-home-hero .therink-home-blurb {
  background: rgba(8, 16, 25, 0.72);
  backdrop-filter: blur(8px);
}

.therink-home-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.therink-home-card {
  min-height: 100%;
}

.therink-section-card {
  border: 1px solid rgba(115, 149, 191, 0.16);
}

.therink-required-label::after {
  content: " *";
  color: #ffcc66;
  font-weight: 700;
}

.therink-start-journey-menu .therink-start-menu-link {
  appearance: none;
  -webkit-appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #f3f7ff;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.therink-start-journey-menu button.therink-start-menu-link {
  width: auto;
}

.therink-start-journey-menu a.therink-start-menu-link {
  text-decoration: underline;
}

.therink-start-journey-menu .therink-start-menu-link:hover,
.therink-start-journey-menu .therink-start-menu-link:active,
.therink-start-journey-menu .therink-start-menu-link:focus {
  background: transparent !important;
  color: #ffffff;
}

.therink-start-journey-menu .therink-start-menu-link:focus-visible {
  outline: 2px solid rgba(140, 192, 255, 0.7);
  outline-offset: 0.15rem;
}

.therink-start-journey-menu .therink-start-menu-link-selected {
  color: #f3f7ff;
  font-weight: 600;
}

.therink-start-journey-menu .therink-start-menu-link-not-needed {
  color: rgba(196, 214, 235, 0.66);
  font-weight: 500;
}

.therink-start-journey-menu .therink-start-menu-link-not-needed:hover,
.therink-start-journey-menu .therink-start-menu-link-not-needed:focus {
  color: rgba(226, 238, 252, 0.92);
}

.therink-account-promo {
  overflow: hidden;
  border: 1px solid rgba(140, 192, 255, 0.18);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(99, 166, 255, 0.13), rgba(42, 172, 125, 0.12)),
    rgba(13, 23, 34, 0.96);
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.18);
}

.therink-account-promo-panel {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
}

.therink-account-promo-panel-alt {
  border-top: 1px solid rgba(140, 192, 255, 0.14);
}

.therink-account-promo-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(140, 192, 255, 0.26);
  background: rgba(140, 192, 255, 0.1);
  color: #b8dcff;
  font-size: 1.15rem;
}

.therink-account-promo-kicker {
  color: #8ebbf3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.therink-account-promo-action {
  display: flex;
  justify-content: center;
  padding: 0 1rem 1rem;
}

.therink-home-card .card-body {
  padding: 1.5rem;
}

.therink-home-card .card-title {
  margin-bottom: 0.9rem;
}

.therink-home-card-media {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 8.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px dashed rgba(184, 220, 255, 0.38);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%) 0 0 / 1.35rem 1.35rem,
    linear-gradient(315deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 1.35rem 1.35rem,
    linear-gradient(135deg, rgba(12, 21, 31, 0.9), rgba(27, 43, 60, 0.96));
  color: #dcecff;
}

.therink-home-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(140, 192, 255, 0.28), transparent 32%),
    linear-gradient(180deg, transparent 36%, rgba(8, 13, 20, 0.78));
}

.therink-home-card-media-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(8, 13, 20, 0.62);
  font-size: 0.95rem;
  font-weight: 700;
}

.therink-home-card-media-content i {
  color: #8cc0ff;
  font-size: 1.2rem;
}

.therink-home-card-media-payment {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.08) 0%, rgba(8, 13, 20, 0.72) 100%),
    url('/images/home/sharpening-card.jpg') center center / cover no-repeat;
  border-style: solid;
}

.therink-home-card-media-guidance {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.04) 0%, rgba(8, 13, 20, 0.72) 100%),
    url('/images/home/helping-card.jpg') center center / cover no-repeat;
  border-style: solid;
}

.therink-home-card-media-account {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.04) 0%, rgba(8, 13, 20, 0.72) 100%),
    url('/images/home/horizon-card.jpg') center center / cover no-repeat;
  border-style: solid;
}

.start-intent-button {
  display: block;
  width: 100%;
  padding: 0;
  color: var(--therink-ink);
  background: linear-gradient(180deg, rgba(18, 31, 45, 0.98), rgba(11, 19, 29, 1));
  border: 1px solid rgba(115, 149, 191, 0.16);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.start-intent-button:hover,
.start-intent-button:focus,
.start-intent-button:focus-visible {
  color: #fff;
  border-color: rgba(140, 192, 255, 0.4);
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.therink-login-card {
  border: 1px solid rgba(115, 149, 191, 0.16);
  background: linear-gradient(180deg, rgba(18, 29, 42, 0.96), rgba(10, 18, 27, 0.92));
}

.therink-login-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.6rem;
}

.therink-icon-chip {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(99, 166, 255, 0.18), rgba(99, 166, 255, 0.06));
  color: #a9d0ff;
  font-size: 1.8rem;
}

.therink-action-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: rgba(99, 166, 255, 0.12);
  color: #a9d0ff;
  font-size: 1.15rem;
}

.therink-pathway-card {
  --therink-pathway-accent: #8cc0ff;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-top: 3px solid var(--therink-pathway-accent);
  border-radius: 0.5rem;
  background: rgba(13, 23, 34, 0.9);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.14);
}

.therink-pathway-card--care {
  --therink-pathway-accent: #66d9ef;
}

.therink-pathway-card--progression {
  --therink-pathway-accent: #5ee0a0;
}

.therink-pathway-card--payments {
  --therink-pathway-accent: #f6c85f;
}

.therink-pathway-card--help {
  --therink-pathway-accent: #b9a7ff;
}

.therink-pathway-card--community {
  --therink-pathway-accent: #5eead4;
}

.therink-pathway-card--account {
  --therink-pathway-accent: #f0abfc;
}

.therink-pathway-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--therink-pathway-accent);
  font-size: 1.15rem;
}

.therink-pathway-card h3,
.therink-pathway-card p,
.therink-pathway-card .btn {
  overflow-wrap: anywhere;
}

.therink-pathway-card .btn {
  white-space: normal;
}

.therink-pathway-actions {
  align-content: start;
  min-height: 7.5rem;
}

.therink-pathway-actions .btn {
  width: 100%;
}

.therink-account-select-button {
  display: block;
  padding: 0.35rem 0.45rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
}

.therink-account-select-button:hover,
.therink-account-select-button:focus,
.therink-account-select-button:focus-visible {
  background: rgba(140, 192, 255, 0.1);
  color: #fff;
}

.therink-account-select-button:focus-visible {
  outline: 2px solid rgba(140, 192, 255, 0.58);
  outline-offset: 2px;
}

.therink-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(140, 192, 255, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(102, 217, 239, 0.24), rgba(94, 224, 160, 0.16));
  color: #edf7ff;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0.7rem 1.5rem rgba(0, 0, 0, 0.18);
}

.therink-account-avatar--sm {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 0.78rem;
}

.therink-account-avatar--lg {
  width: 4rem;
  height: 4rem;
  font-size: 1.15rem;
}

.therink-account-avatar--child {
  border-color: rgba(185, 167, 255, 0.42);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(185, 167, 255, 0.32), rgba(240, 171, 252, 0.18));
}

.therink-account-avatar--adult {
  border-color: rgba(102, 217, 239, 0.38);
}

.therink-help-topic {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.therink-help-topic:hover,
.therink-help-topic:focus,
.therink-help-topic:focus-visible {
  border-color: rgba(140, 192, 255, 0.4);
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.therink-help-navigation .list-group-item:hover,
.therink-help-navigation .list-group-item:focus {
  background: rgba(140, 192, 255, 0.08) !important;
}

.therink-page-lead {
  margin-bottom: 2rem;
}

.therink-member-home-hero {
  min-height: 12rem;
  padding: 2rem;
  border: 1px solid rgba(115, 149, 191, 0.16);
  border-radius: 1rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 13, 22, 0.97) 0%, rgba(7, 13, 22, 0.91) 48%, rgba(7, 13, 22, 0.62) 100%),
    linear-gradient(180deg, rgba(7, 13, 22, 0.22), rgba(7, 13, 22, 0.9)),
    url('/images/home/member-home.jpg') center right / cover no-repeat;
  box-shadow: 0 1.15rem 2.4rem rgba(0, 0, 0, 0.18);
}

.therink-member-home-hero .lead {
  max-width: 47rem;
}

.therink-section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8ebbf3;
}

.therink-stat-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(140, 192, 255, 0.18);
  background: rgba(140, 192, 255, 0.08);
  color: #dfeeff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.therink-skill-video-link {
  max-width: 100%;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(140, 192, 255, 0.32);
  border-radius: 0.5rem;
  background: rgba(140, 192, 255, 0.08);
  color: #cfe5ff;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.therink-skill-video-link:hover,
.therink-skill-video-link:focus,
.therink-skill-video-link:focus-visible {
  border-color: rgba(140, 192, 255, 0.5);
  background: rgba(140, 192, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.therink-skill-video-link:focus-visible {
  outline: 2px solid rgba(140, 192, 255, 0.65);
  outline-offset: 2px;
}

.therink-skill-video-link .bi {
  flex: 0 0 auto;
  color: #8cc0ff;
}

.therink-skill-video-link span {
  overflow-wrap: anywhere;
}

.therink-flowchart {
  display: grid;
  gap: 0.65rem;
}

.therink-flow-node {
  border: 1px solid rgba(140, 192, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(12, 24, 35, 0.72);
  padding: 0.9rem;
}

.therink-flow-arrow {
  color: rgba(207, 229, 255, 0.72);
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
}

.therink-flow-progress {
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.therink-flow-progress > div {
  min-width: 0;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #66d9ef, #f6c85f);
}

.therink-programme-flow-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.therink-programme-flow-svg {
  display: block;
  min-width: 560px;
  max-width: 760px;
  width: 100%;
  height: auto;
}

.therink-programme-flow-edge {
  fill: none;
  stroke: rgba(140, 192, 255, 0.58);
  stroke-width: 2.25;
}

.therink-programme-flow-edge-cross {
  stroke: rgba(246, 200, 95, 0.78);
  stroke-dasharray: 4 4;
}

.therink-programme-flow-arrowhead {
  fill: rgba(140, 192, 255, 0.88);
}

.therink-programme-flow-arrowhead-cross {
  fill: rgba(246, 200, 95, 0.9);
}

.therink-programme-flow-node-box {
  fill: rgba(15, 29, 42, 0.98);
  stroke: rgba(140, 192, 255, 0.45);
  stroke-width: 1.5;
}

.therink-programme-flow-node-both {
  stroke: rgba(83, 214, 165, 0.78);
}

.therink-programme-flow-node-hockey {
  stroke: rgba(246, 200, 95, 0.74);
}

.therink-programme-flow-node-figure {
  stroke: rgba(140, 192, 255, 0.78);
}

.therink-programme-flow-link:hover .therink-programme-flow-node-box,
.therink-programme-flow-link:focus .therink-programme-flow-node-box,
.therink-programme-flow-link-active .therink-programme-flow-node-box {
  fill: rgba(23, 43, 61, 1);
  stroke-width: 2.5;
}

.therink-programme-flow-node-text {
  fill: #eef7ff;
  font-size: 12px;
  font-weight: 700;
}

.therink-programme-flow-node-pathway {
  fill: rgba(223, 238, 255, 0.72);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.card,
.modal-content,
.list-group-item {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.16);
}

.card,
.modal-content {
  background: linear-gradient(180deg, rgba(18, 31, 45, 0.98), rgba(11, 19, 29, 1));
  border-radius: 1.2rem;
}

.card-footer {
  border-top-color: rgba(115, 149, 191, 0.18) !important;
}

.list-group-item {
  background: transparent;
}

.alert-secondary {
  background: #142131;
  border-color: #2f4a68;
  color: #dce9f8;
}

.alert-warning {
  background: #342613;
  border-color: #7f6130;
  color: #ffe8b3;
}

.form-control,
.form-select,
.form-check-input {
  background-color: var(--therink-surface-2);
  border-color: var(--therink-border);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  background-color: var(--therink-surface-3);
  border-color: #5a8fc8;
  box-shadow: 0 0 0 0.25rem rgba(99, 166, 255, 0.16);
}

.text-body-secondary {
  color: var(--therink-muted) !important;
}

a {
  text-decoration-thickness: 0.08em;
}

.btn-outline-secondary {
  --bs-btn-color: #c6d3e3;
  --bs-btn-border-color: #506175;
  --bs-btn-hover-bg: #506175;
  --bs-btn-hover-border-color: #506175;
}

.btn-light {
  --bs-btn-bg: #dce6f2;
  --bs-btn-border-color: #dce6f2;
  --bs-btn-color: #102033;
}

.btn {
  border-radius: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary {
  --bs-btn-bg: #3b82f6;
  --bs-btn-border-color: #3b82f6;
  --bs-btn-hover-bg: #4a8ef7;
  --bs-btn-hover-border-color: #4a8ef7;
}

.btn-success {
  --bs-btn-bg: #1f8f6b;
  --bs-btn-border-color: #1f8f6b;
  --bs-btn-hover-bg: #27a47a;
  --bs-btn-hover-border-color: #27a47a;
}

::selection {
  background: rgba(99, 166, 255, 0.28);
}

.therink.ui {
  overflow: visible visible;
  background: white;
  color: black;
}

div.ui h1, div.ui h2, div.ui h3 {
  color: black;
}

.hidden.menu {
  display: none;
}

.ui.accordion.item {
  padding:0px;
}

.ui.accordion.item > .title {
  padding: 0.92857143em 1.14285714em;
}

.ui.accordion.item > .title:NOT(.active):hover {
  background: rgba(255,255,255,.1);
  color: #ffffff;
}

.ui.accordion.item > .content > .item {
  padding-left: 1.4em;
}

.ui.imghead.segment {
  min-height: 200px;
  padding: 1em 0em;
  background-repeat: no-repeat;
  background-size: cover;
}
.ui.masthead.segment {
  min-height: 600px;
  padding: 1em 0em;
  text-shadow: #FFFFFF 1px 1px 10px, #FFFFFF 1px -1px 10px, #FFFFFF -1px 1px 10px, #FFFFFF -1px -1px 10px;
  background-image: url('/images/filip-mroz-XUwk3DG6jqg-unsplash.jpg');
  background-position: 50% 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed ;
}

.masthead .logo.item img {
  margin-right: 1em;
  filter: drop-shadow(30px 10px 4px #ffffff);

}

.topmenu.segment {
  margin: 0;
  padding: 0;
}

.masthead .ui.menu .ui.button {
  margin-left: 0.5em;
}

.masthead h1.ui.header {
  margin-top: 2em;
  margin-bottom: 0em;
  font-size: 4em;
  font-weight: normal;
}

.masthead h2 {
  font-size: 1.7em;
  font-weight: normal;
}

.ui.vertical.stripe {
  padding: 1em 0em;
}

.ui.vertical.stripe h3 {
  font-size: 1.4em;
}

.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
  margin-top: 1.4em;
}

.ui.vertical.stripe .floated.image {
  clear: both;
}

.ui.vertical.stripe p {
  font-size: 1.33em;
}

.ui.vertical.content {
  font-size: 1.2em;
}

.ui.vertical.stripe .horizontal.divider {
  margin: 3em 0em;
}

.quote.stripe.segment {
  padding: 0em;
}

.quote.stripe.segment .grid .column {
  padding-top: 5em;
  padding-bottom: 5em;
}

.footer.segment {
  padding: 5em 0em;
}

.secondary.pointing.menu .toc.item {
  display: none;
}

.ui.container:not(.fluid) {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 1600px) {
  .ui.ui.ui.container:not(.fluid) {
      width: 1527px;
      margin-left: auto;
      margin-right: auto;
  }
}
@media only screen and (min-width: 2000px) {
  .ui.ui.ui.container:not(.fluid) {
      width: 1927px;
      margin-left: auto;
      margin-right: auto;
  }
}
@media only screen and (max-width: 700px) {
  .therink-hero-card {
    padding: 1.5rem;
  }

  .therink-hero-logo {
    max-height: 180px;
  }

  .ui.fixed.menu {
    display: none !important;
  }

  .secondary.pointing.menu .item,
  .secondary.pointing.menu .menu {
    display: none;
  }

  .secondary.pointing.menu .toc.item {
    display: block;
  }

  .masthead.segment {
    min-height: 350px;
  }

  .masthead h1.ui.header {
    font-size: 2em;
    margin-top: 1.5em;
  }

  .masthead h2 {
    margin-top: 0.5em;
    font-size: 1.5em;
  }
}

@media (min-width: 992px) {
  .therink-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .therink-account-promo-panel {
    padding: 1rem 1.1rem;
  }

  .therink-account-promo-panel-alt {
    border-top: 0;
    border-left: 1px solid rgba(140, 192, 255, 0.14);
  }
}

div.caption {
  font-size: 1em;
  font-style: italic;
}
.gallery.grid .column {
  text-align: center;
}
.gallery.grid .column img {
  margin-left: auto;
  margin-right: auto;
}

.therink-lab-hero {
  min-height: 34rem;
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.9), rgba(10, 20, 31, 0.72), rgba(10, 20, 31, 0.32)),
    url('/images/sharpening-crop.jpg');
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(140, 192, 255, 0.18);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
}

.therink-lab-hero-inner {
  max-width: 48rem;
  padding: clamp(2rem, 6vw, 5rem);
}

.therink-lab-cta {
  border: 1px solid rgba(40, 167, 117, 0.24);
  background:
    linear-gradient(135deg, rgba(31, 143, 107, 0.15), rgba(99, 166, 255, 0.09)),
    rgba(14, 25, 36, 0.96);
}

.therink-section-card .list-group-item:last-child {
  border-bottom: 0;
}

.therink-marketplace-card-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.therink-marketplace-detail-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}


.comments {
  margin-bottom: 5px;
}
.commentheader {
  font-weight: bolder;
  margin-left: 6px;
  font-size: 1.2em;
  background: #eeeeee;
}
.commentbody {
  border-left: 1px solid black;
  margin-left: 6px;
}
.new.comments {
  margin-top: 10px;
}

[data-lpignore] [data-lastpass-icon-root] {
  visibility: none;
  display: none !important;
}

.messagecontainer {
  width: 100%;
}
.messagesdt {
  margin: 0px auto;
  max-width: 960px;
  background: #222;
  padding: 10px;
}


.messages {
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0px auto;
  max-width: 960px;
  background: #222;
  padding: 0px;
}
.messages .message, .messagesdt .message {
  position: relative;
  max-width: 60%;
  min-width: 40%;
  margin: 5px 0px;
  padding: 10px;
}
.messages .message.out, .messagesdt .message.out {
  float: right;
  text-align: right;
  background: #8888cc;
  border-radius: 10px 10px 0px 10px;
}
.messages .message.in, .messagesdt .message.in {
  float: left;
  background: #cccccc;
  border-radius: 10px 10px 10px 0px;
}
.messages .message.in .messageicon, .messagesdt .message.in .messageicon {
  position: absolute;
  right: -35px;
  bottom: 0px;
}
.messages .message.out .messageicon, .messagesdt .message.out .messageicon {
  position: absolute;
  left: -35px;
  bottom: 0px;
}
.messages .messageresp, .messagesdt .messageresp {
  margin: 0px auto;
  width: 960px;
  padding: 10px;
  border: 1px solid #222;
}

.therink-markdown {
  color: var(--bs-body-color);
}

.therink-markdown h1,
.therink-markdown h2,
.therink-markdown h3,
.therink-markdown h4 {
  margin-top: 1.35rem;
  margin-bottom: 0.75rem;
}

.therink-markdown h1:first-child,
.therink-markdown h2:first-child,
.therink-markdown h3:first-child,
.therink-markdown h4:first-child {
  margin-top: 0;
}

.therink-markdown p,
.therink-markdown ul,
.therink-markdown ol,
.therink-markdown .table-responsive {
  margin-bottom: 1rem;
}

.therink-code-block,
.therink-markdown pre {
  background: #f6f8fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
}

.therink-mermaid-wrap {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  margin: 1rem 0;
  overflow-x: auto;
  padding: 1rem;
  text-align: center;
}

.therink-markdown-table {
  margin-top: 1rem;
}

.therink-help-label-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.therink-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  appearance: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.therink-help-button:hover,
.therink-help-button:focus {
  border-color: #f26f3d;
  background: rgba(242, 111, 61, 0.18);
  color: #ffffff;
}

.therink-guided-help-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.08);
}

.therink-guided-help-backdrop[hidden] {
  display: none;
}

.therink-guided-help-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(26rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(242, 111, 61, 0.45);
  border-radius: 0.5rem;
  background: #101820;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.therink-guided-help-count {
  margin-bottom: 0.35rem;
  color: #ffb38f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.therink-guided-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.therink-guided-help-active {
  border-radius: 0.45rem;
  outline: 3px solid #f26f3d;
  outline-offset: 4px;
  box-shadow: 0 0 0 0.4rem rgba(242, 111, 61, 0.2);
}

.therink-roh-test,
.therink-roh-result {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(115, 149, 191, 0.2) !important;
}

.therink-roh-test .form-check {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  column-gap: 0.55rem;
  align-items: start;
  min-height: 1.5rem;
  padding-left: 0;
}

.therink-roh-test .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  float: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  border: 2px solid rgba(196, 220, 249, 0.64);
  border-radius: 50%;
  background-color: rgba(4, 9, 15, 0.7);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.78rem 0.78rem;
  box-shadow: 0 0 0 1px rgba(4, 9, 15, 0.45);
  cursor: pointer;
}

.therink-roh-test .form-check-input:hover {
  border-color: #ffffff;
  background-color: rgba(23, 39, 55, 0.96);
}

.therink-roh-test .form-check-input:focus {
  border-color: #63d99a;
  box-shadow: 0 0 0 0.22rem rgba(42, 172, 125, 0.24);
}

.therink-roh-test .form-check-input:checked {
  border-color: #2aac7d;
  background-color: #2aac7d;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.2 6.6 11.2 12.7 4.8' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.therink-roh-test .form-check-input:checked + .form-check-label {
  color: #ffffff;
  font-weight: 600;
}

.therink-roh-test .form-check-label {
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.therink-roh-test .form-text {
  grid-column: 2;
  margin-top: 0.1rem;
  color: rgba(213, 231, 249, 0.78);
}

.therink-roh-instructions {
  display: grid;
  gap: 0.75rem;
}

.therink-roh-diagram {
  padding: 0.65rem;
  border-radius: 0.45rem;
  background: rgba(4, 9, 15, 0.72);
}

.therink-roh-line-drawing {
  display: block;
  width: 100%;
  max-height: 14rem;
}

.therink-roh-ice-plane {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(207, 230, 255, 0.18);
}

.therink-roh-skater-line,
.therink-roh-edge-line,
.therink-roh-guide-line,
.therink-roh-arrow-line,
.therink-roh-arrow-head,
.therink-roh-spin-line,
.therink-roh-scrape-line,
.therink-roh-turn-point {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.therink-roh-skater-line {
  stroke: #f6f8fb;
  stroke-width: 3.2;
}

.therink-roh-skater-line circle {
  fill: rgba(246, 248, 251, 0.08);
}

.therink-roh-skate-line {
  stroke: #9ed0ff;
  stroke-width: 3.6;
}

.therink-roh-edge-line {
  stroke: #9ed0ff;
  stroke-width: 3;
}

.therink-roh-guide-line,
.therink-roh-spin-line {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
}

.therink-roh-arrow-line,
.therink-roh-arrow-head {
  stroke: #f26f3d;
  stroke-width: 2.4;
}

.therink-roh-scrape-line {
  stroke: #ffb36c;
  stroke-width: 2.3;
}

.therink-roh-turn-point {
  fill: #f26f3d;
  stroke: rgba(4, 9, 15, 0.9);
  stroke-width: 2;
}

.therink-roh-image-diagram {
  overflow: hidden;
  padding: 0;
  background: #07101a;
}

.therink-roh-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #07101a;
  color: #fff;
  cursor: zoom-in;
}

.therink-roh-reference-image {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  object-position: 50% 44%;
}

.therink-roh-image-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(4, 9, 15, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.therink-skate-feel-rating-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.therink-skate-feel-rating-legend {
  float: none;
  width: auto;
  font-size: 1rem;
  line-height: 1.5;
}

.therink-skate-feel-rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.therink-skate-feel-rating-choice {
  min-width: 0;
}

.therink-skate-feel-rating-option {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.therink-skate-feel-rating-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.085);
}

.therink-skate-feel-rating-input:focus-visible + .therink-skate-feel-rating-option {
  outline: 2px solid #8cc0ff;
  outline-offset: 2px;
}

.therink-skate-feel-rating-input:checked + .therink-skate-feel-rating-option {
  border-color: var(--therink-rating-color);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 0.18rem rgba(140, 192, 255, 0.12);
}

.therink-skate-feel-rating-1 { --therink-rating-color: #e2574c; }
.therink-skate-feel-rating-2 { --therink-rating-color: #e88945; }
.therink-skate-feel-rating-3 { --therink-rating-color: #d2b33d; }
.therink-skate-feel-rating-4 { --therink-rating-color: #77b85d; }
.therink-skate-feel-rating-5 { --therink-rating-color: #1c9f68; }

.therink-skate-feel-face {
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
}

.therink-skate-feel-face-bg {
  fill: rgba(255, 255, 255, 0.1);
  stroke: var(--therink-rating-color);
  stroke-width: 4;
}

.therink-skate-feel-face-eye,
.therink-skate-feel-face-mouth {
  fill: none;
  stroke: var(--therink-rating-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
}

.therink-skate-feel-face-eye {
  fill: var(--therink-rating-color);
  stroke: none;
}

.therink-skate-feel-rating-score {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.therink-fit-map-panel {
  border: 1px solid rgba(255, 111, 55, 0.22);
  border-radius: 0.5rem;
  background: rgba(13, 23, 34, 0.86);
  padding: 1rem;
}

.therink-fit-scale-labels {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.25rem;
  text-align: center;
}

.therink-fit-scale-labels > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  white-space: normal;
}

.therink-fit-scale-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.35rem;
  align-items: end;
}

.therink-fit-scale-icon {
  display: flex;
  justify-content: center;
}

.therink-fit-scale-icon svg {
  width: 2.6rem;
  height: 2.6rem;
  overflow: visible;
}

.therink-fit-discomfort-skin {
  fill: #efc4a8;
  stroke: rgba(80, 50, 35, 0.55);
  stroke-width: 2;
}

.therink-fit-discomfort-redness {
  fill: #f18a95;
  stroke: rgba(171, 44, 59, 0.6);
  stroke-width: 1.4;
}

.therink-fit-discomfort-stress {
  fill: none;
  stroke: #101820;
  stroke-linecap: round;
  stroke-width: 3.2;
}

.therink-fit-discomfort-face {
  fill: #f5c96a;
  stroke: #b65b38;
  stroke-width: 3;
}

.therink-fit-discomfort-face-line {
  fill: none;
  stroke: #3a1717;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

.therink-fit-discomfort-skate-boot {
  fill: #e7eef6;
  stroke: #172234;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.therink-fit-discomfort-skate-detail,
.therink-fit-discomfort-skate-blade {
  fill: none;
  stroke: #172234;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.therink-fit-discomfort-no-ring,
.therink-fit-discomfort-no-slash {
  fill: none;
  stroke: #d3292f;
  stroke-linecap: round;
  stroke-width: 5;
}

.therink-fit-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.therink-fit-toggle-group .btn {
  min-width: 5.25rem;
}

.therink-fit-toggle-group .btn.active,
.therink-fit-toggle-group .btn[aria-pressed="true"] {
  background: #f26f3d;
  border-color: #f26f3d;
  color: #101820;
}

.therink-fit-slider-wrap {
  position: relative;
}

.therink-fit-slider-wrap .form-range {
  position: relative;
  z-index: 2;
}

.therink-fit-slider-ticks {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 50%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.therink-fit-slider-ticks span {
  width: 1px;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.45);
}

.therink-fit-map-stage {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 55% 42%, rgba(140, 192, 255, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(4, 9, 15, 0.72);
  margin-bottom: 1rem;
}

.therink-fit-canvas,
.therink-fit-mark-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.therink-fit-canvas {
  z-index: 1;
}

.therink-fit-mark-layer {
  z-index: 2;
  touch-action: none;
  user-select: none;
}

.therink-fit-mark-layer[data-fit-map-mode="move"] {
  cursor: grab;
}

.therink-fit-mark-layer[data-fit-map-mode="move"][data-moving="1"] {
  cursor: grabbing;
}

.therink-fit-mark-layer[data-fit-map-mode="markup"] {
  cursor: crosshair;
}

.therink-fit-map-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  max-width: calc(100% - 1.5rem);
}

.therink-fit-map-actions .btn {
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.28);
}

.therink-fit-foot-card {
  height: 100%;
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-radius: 0.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 0.85rem;
}

.therink-fit-foot-stage {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(140, 192, 255, 0.16), transparent 45%),
    rgba(4, 9, 15, 0.72);
  perspective: 900px;
}

.therink-fit-foot-canvas,
.therink-fit-foot-map {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.therink-fit-foot-canvas {
  z-index: 1;
}

.therink-fit-foot-map {
  z-index: 2;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.therink-fit-foot-hit-area {
  fill: transparent;
}

.therink-fit-model-status {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.65rem;
  z-index: 3;
  padding: 0.35rem 0.5rem;
  border-radius: 0.35rem;
  background: rgba(4, 9, 15, 0.62);
  pointer-events: none;
}

.therink-routine-shell {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.therink-routine-panel,
.therink-routine-stage-panel {
  border: 1px solid rgba(115, 149, 191, 0.22);
  border-radius: 0.5rem;
  background: rgba(13, 23, 34, 0.88);
}

.therink-routine-panel {
  padding: 1rem;
}

.therink-routine-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.therink-routine-tool-grid .btn,
.therink-routine-actions .btn {
  min-height: 2.45rem;
}

.therink-routine-tool-grid .btn.active,
.therink-routine-tool-grid .btn[aria-pressed="true"] {
  color: #07101a;
  background: #7dd3a8;
  border-color: #7dd3a8;
}

.therink-routine-delete-sequence {
  --bs-btn-color: #fff7f7;
  --bs-btn-bg: #9f2438;
  --bs-btn-border-color: #c34054;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #b72d43;
  --bs-btn-hover-border-color: #d14b5f;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #831b2c;
  --bs-btn-active-border-color: #a83246;
}

.therink-routine-handle-control {
  padding: 0.75rem;
  border: 1px solid rgba(115, 149, 191, 0.22);
  border-radius: 0.5rem;
  background: rgba(7, 16, 26, 0.42);
}

.therink-routine-handle-control[hidden] {
  display: none !important;
}

.therink-routine-required-elements {
  padding: 0.75rem;
  border: 1px solid rgba(115, 149, 191, 0.22);
  border-radius: 0.5rem;
  background: rgba(7, 16, 26, 0.34);
}

.therink-routine-required-list {
  display: grid;
  gap: 0.45rem;
}

.therink-routine-required-list[hidden] {
  display: none !important;
}

.therink-routine-required-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.035);
}

.therink-routine-required-item i {
  font-size: 1rem;
}

.therink-routine-required-item[data-complete="1"] i {
  color: #7dd3a8;
}

.therink-routine-required-count {
  white-space: nowrap;
}

.therink-routine-required-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6rem auto;
  gap: 0.5rem;
  align-items: center;
}

.therink-routine-radius-output {
  white-space: nowrap;
}

.therink-routine-stage-panel {
  overflow: hidden;
}

.therink-routine-canvas-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.75rem 0.75rem 0;
}

.therink-routine-canvas-tabs .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.therink-routine-canvas-tabs .btn.active {
  color: #07101a;
  background: #8cc0ff;
  border-color: #8cc0ff;
}

.therink-routine-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 520;
  min-height: 18rem;
  background: #07101a;
  touch-action: none;
  user-select: none;
}

.therink-routine-rink {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.therink-routine-rink[data-tool="select"] {
  cursor: default;
}

.therink-routine-rink[data-dragging="1"] {
  cursor: grabbing;
}

.therink-routine-path {
  fill: none;
  stroke: #0f7b86;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

.therink-routine-path--selected {
  stroke: #f0b84f;
}

.therink-routine-path-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
  cursor: pointer;
}

.therink-routine-markings {
  pointer-events: none;
}

.therink-routine-hockey-center-line {
  stroke: #d34a62;
  stroke-width: 8;
  stroke-linecap: butt;
}

.therink-routine-hockey-blue-line {
  stroke: #306aa8;
  stroke-width: 7;
  stroke-linecap: butt;
}

.therink-routine-hockey-goal-line,
.therink-routine-hockey-faceoff-circle {
  fill: none;
  stroke: #d34a62;
  stroke-width: 4;
  stroke-linecap: butt;
}

.therink-routine-hockey-center-circle {
  fill: none;
  stroke: #306aa8;
  stroke-width: 4;
}

.therink-routine-hockey-red-spot,
.therink-routine-hockey-faceoff-spot {
  fill: #d34a62;
}

.therink-routine-hockey-center-spot {
  fill: #306aa8;
}

.therink-routine-hockey-faceoff-hash {
  stroke: #d34a62;
  stroke-width: 3;
  stroke-linecap: butt;
}

.therink-routine-hockey-crease {
  fill: none;
  stroke: #76bce0;
  stroke-width: 4;
  stroke-linecap: butt;
}

.therink-routine-curling-boundary {
  stroke: rgba(15, 123, 134, 0.58);
  stroke-width: 2;
}

.therink-routine-curling-center-line {
  stroke: rgba(15, 123, 134, 0.32);
  stroke-width: 2;
}

.therink-routine-curling-hog-line {
  stroke: rgba(211, 74, 98, 0.5);
  stroke-width: 2;
}

.therink-routine-curling-house {
  fill: none;
  stroke-width: 3;
}

.therink-routine-curling-house--outer,
.therink-routine-curling-house--button {
  stroke: rgba(48, 106, 168, 0.68);
}

.therink-routine-curling-house--middle {
  stroke: rgba(211, 74, 98, 0.68);
}

.therink-routine-curling-tee {
  stroke: rgba(9, 30, 45, 0.25);
  stroke-width: 1.5;
}

.therink-routine-handle-line {
  stroke: rgba(240, 184, 79, 0.78);
  stroke-width: 2;
  stroke-dasharray: 7 5;
  pointer-events: none;
  opacity: 0.46;
}

.therink-routine-handle-line[data-selected="1"] {
  opacity: 0.95;
}

.therink-routine-handle-radius {
  fill: rgba(240, 184, 79, 0.07);
  stroke: rgba(240, 184, 79, 0.54);
  stroke-width: 2;
  stroke-dasharray: 5 5;
  pointer-events: none;
}

.therink-routine-handle-radius[data-selected="1"] {
  fill: rgba(240, 184, 79, 0.13);
  stroke: rgba(240, 184, 79, 0.9);
}

.therink-routine-radius-line {
  stroke: rgba(240, 184, 79, 0.62);
  stroke-width: 2;
  pointer-events: none;
}

.therink-routine-radius-line[data-selected="1"] {
  stroke-width: 3;
  stroke: rgba(240, 184, 79, 0.96);
}

.therink-routine-radius-grip {
  fill: #f7fbff;
  stroke: #0f7b86;
  stroke-width: 3;
  cursor: ew-resize;
}

.therink-routine-radius-grip[data-selected="1"] {
  fill: #f0b84f;
  stroke: #07101a;
}

.therink-routine-handle {
  fill: #f0b84f;
  stroke: #07101a;
  stroke-width: 3;
  cursor: grab;
}

.therink-routine-handle[data-selected="1"] {
  fill: #7dd3a8;
}

.therink-routine-move {
  cursor: grab;
}

.therink-routine-move[data-selected="1"] .therink-routine-move-ring {
  stroke: #f0b84f;
  stroke-width: 5;
}

.therink-routine-move-symbol {
  fill: #f7fbff;
  stroke: #18324a;
  stroke-width: 3;
}

.therink-routine-move-symbol--start {
  fill: #7dd3a8;
}

.therink-routine-move-symbol--jump {
  fill: #f8d66d;
}

.therink-routine-move-symbol--spin {
  fill: #a5d8ff;
}

.therink-routine-move-symbol--edge {
  fill: #ffb3a1;
}

.therink-routine-move-symbol--pair {
  fill: #c8b6ff;
}

.therink-routine-move-symbol--formation {
  fill: #b9e8cf;
}

.therink-routine-move-text {
  fill: #07101a;
  font-size: 21px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.therink-routine-move-rotation-badge {
  fill: #07101a;
  stroke: #f8d66d;
  stroke-width: 1.5;
  pointer-events: none;
}

.therink-routine-move-rotation {
  fill: #f8d66d;
  font-size: 8px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.therink-routine-status {
  min-height: 1.6rem;
}

.therink-routine-stage-footer {
  padding: 0.85rem;
  border-top: 1px solid rgba(115, 149, 191, 0.18);
}

.therink-routine-marking-controls {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) minmax(12rem, 1fr);
  gap: 0.75rem;
  align-items: end;
}

.therink-routine-panel .therink-routine-marking-controls {
  grid-template-columns: 1fr;
}

@media (max-width: 991.98px) {
  .therink-routine-shell {
    grid-template-columns: 1fr;
  }

  .therink-routine-stage {
    min-height: 14rem;
  }

  .therink-routine-marking-controls {
    grid-template-columns: 1fr;
  }

  .therink-routine-required-editor-row {
    grid-template-columns: 1fr;
  }
}

.therink-fit-map-mark {
  mix-blend-mode: normal;
  pointer-events: none;
}

.therink-fit-map-mark text {
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.28);
  stroke-width: 0.8px;
}

.therink-fit-map-mark-preview {
  stroke-dasharray: 4 3;
}

.therink-fit-capture {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.therink-fit-capture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.therink-fit-capture-item {
  position: relative;
}

.therink-fit-capture-preview {
  max-width: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
}

.therink-fit-capture-delete {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: #111820;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.therink-checkin-detail {
  display: block;
}

.therink-checkin-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style-position: inside;
}

.therink-checkin-summary-main {
  display: grid;
  gap: 0.2rem;
}

.therink-checkin-readonly {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.therink-checkin-note {
  white-space: pre-wrap;
}

.therink-checkin-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.therink-checkin-image {
  max-width: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  cursor: zoom-in;
}

.therink-checkin-image:focus {
  outline: 2px solid #f26f3d;
  outline-offset: 3px;
}

.therink-popup-open {
  overflow: hidden;
}

.therink-image-popup {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.78);
}

.therink-image-popup[hidden] {
  display: none;
}

.therink-image-popup-panel {
  position: relative;
  max-width: min(92vw, 72rem);
  max-height: 90vh;
}

.therink-image-popup-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.5rem;
  background: #07101a;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
}

.therink-image-popup-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: #111820;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.therink-hockey-game {
  display: grid;
  gap: 1rem;
}

.therink-hockey-topbar {
  display: grid;
  gap: 0.75rem;
}

.therink-hockey-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(2, minmax(8rem, 0.85fr));
  gap: 0.35rem;
  padding: 0.6rem;
  border: 1px solid rgba(248, 214, 109, 0.3);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #080b0f, #111820);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0.75rem 1.5rem rgba(0, 0, 0, 0.24);
}

.therink-hockey-score-cell,
.therink-hockey-penalty-cell {
  min-height: 4rem;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.35rem;
  background: #05080d;
  color: #f8d66d;
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  text-align: center;
}

.therink-hockey-score-cell strong {
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  line-height: 1;
}

.therink-hockey-score-time strong {
  font-size: 1.2rem;
}

.therink-hockey-clock {
  color: #79f0c5;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.therink-hockey-score-label,
.therink-hockey-penalty-cell span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.therink-hockey-penalty-cell strong {
  font-size: 1.15rem;
  line-height: 1.1;
}

.therink-hockey-status {
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  border-left: 3px solid #f26f3d;
  border-radius: 0.4rem;
  background: rgba(242, 111, 61, 0.09);
  color: #ffe2d8;
}

.therink-hockey-panel {
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-radius: 0.5rem;
  background: rgba(14, 23, 34, 0.94);
  box-shadow: 0 0.9rem 1.7rem rgba(0, 0, 0, 0.18);
}

.therink-hockey-panel-header,
.therink-hockey-control-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(115, 149, 191, 0.16);
}

.therink-hockey-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.therink-hockey-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(121, 240, 197, 0.32);
  border-radius: 999px;
  color: #bdf8e2;
  background: rgba(121, 240, 197, 0.08);
  font-weight: 700;
  white-space: nowrap;
}

.therink-hockey-setup-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 0.75fr) minmax(16rem, 1.25fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1rem;
}

.therink-hockey-fieldset {
  min-width: 0;
  margin: 0;
}

.therink-hockey-fieldset legend {
  float: none;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.therink-hockey-segmented,
.therink-hockey-shot-types,
.therink-hockey-body-stances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.therink-hockey-gameplay {
  position: relative;
  display: grid;
  gap: 1rem;
}

.therink-hockey-viewbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 2.25rem;
}

.therink-hockey-view-switch {
  min-height: 2rem;
  margin: 0;
  padding: 0.35rem 0.75rem 0.35rem 2.85rem;
  border: 1px solid rgba(121, 240, 197, 0.28);
  border-radius: 999px;
  background: rgba(7, 12, 18, 0.55);
  color: #dce8f5;
  font-weight: 700;
}

.therink-hockey-view-switch .form-check-input,
.therink-hockey-view-switch .form-check-label {
  cursor: pointer;
}

.therink-hockey-board-wrap {
  overflow-x: auto;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(7, 12, 18, 0.72);
}

.therink-hockey-rink {
  --hockey-board-width: 18;
  --hockey-board-height: 9;
  position: relative;
  min-width: min(68rem, calc(100vw - 3rem));
  aspect-ratio: 1000 / 520;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #dff4fb;
  color: #07101a;
  box-shadow: inset 0 0 2rem rgba(75, 158, 196, 0.25);
}

.therink-hockey-game.is-3d .therink-hockey-board-wrap {
  padding: 2rem 1.25rem 3.25rem;
  perspective: 80rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    linear-gradient(130deg, rgba(121, 240, 197, 0.08), rgba(242, 111, 61, 0.08)),
    rgba(7, 12, 18, 0.76);
}

.therink-hockey-game.is-3d .therink-hockey-rink {
  overflow: visible;
  transform: perspective(80rem) rotateX(15deg);
  transform-origin: center 70%;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 1.45rem 2.6rem rgba(0, 0, 0, 0.36),
    inset 0 0 2rem rgba(75, 158, 196, 0.25);
}

.therink-hockey-game.is-3d .therink-hockey-rink::after {
  content: "";
  position: absolute;
  right: 0.45rem;
  bottom: -0.72rem;
  left: 0.45rem;
  z-index: 0;
  height: 0.75rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: linear-gradient(180deg, #a9d5df, #5f8f9c);
  box-shadow: 0 0.8rem 1.4rem rgba(0, 0, 0, 0.3);
  transform: rotateX(-55deg);
  transform-origin: top;
}

.therink-hockey-rink-markings {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.therink-hockey-game.is-3d .therink-hockey-rink-markings {
  z-index: 1;
}

.therink-hockey-grid {
  --hockey-board-width: 18;
  --hockey-board-height: 9;
  position: absolute;
  top: 5.384615%;
  right: 2.8%;
  bottom: 5.384615%;
  left: 2.8%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--hockey-board-width), minmax(0, 1fr));
  grid-template-rows: repeat(var(--hockey-board-height), minmax(0, 1fr));
}

.therink-hockey-game.is-3d .therink-hockey-grid {
  z-index: 2;
  transform: translateZ(0.08rem);
  transform-style: preserve-3d;
}

.therink-hockey-action-lines {
  position: absolute;
  top: 5.384615%;
  left: 2.8%;
  width: 94.4%;
  height: 89.23077%;
  z-index: 4;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.therink-hockey-game.is-3d .therink-hockey-action-lines {
  z-index: 5;
  transform: translateZ(0.24rem);
}

.therink-hockey-action-line {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 0.12rem rgba(255, 255, 255, 0.86)) drop-shadow(0 0.18rem 0.22rem rgba(7, 16, 26, 0.28));
}

.therink-hockey-action-line-move {
  stroke: #1f8f6b;
}

.therink-hockey-action-line-pass {
  stroke: #a47112;
  stroke-dasharray: 0.2 7;
}

.therink-hockey-action-line-carry {
  stroke: #1769aa;
}

.therink-hockey-action-line-shot {
  stroke: #a81f2d;
  stroke-width: 2.8;
}

.therink-hockey-action-arrow-head {
  stroke: none;
}

.therink-hockey-action-arrow-move {
  fill: #1f8f6b;
}

.therink-hockey-action-arrow-pass {
  fill: #a47112;
}

.therink-hockey-action-arrow-carry {
  fill: #1769aa;
}

.therink-hockey-action-arrow-shot {
  fill: #a81f2d;
}

.therink-hockey-game.is-turn-animation-active .therink-hockey-action-lines {
  opacity: 0;
}

.therink-hockey-game.is-turn-animation-active .therink-hockey-action-popout {
  display: none;
}

.therink-hockey-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(32, 70, 96, 0.16);
  border-bottom: 1px solid rgba(32, 70, 96, 0.16);
  outline: none;
}

.therink-hockey-game.is-3d .therink-hockey-cell {
  align-items: flex-end;
  padding-bottom: 0.28rem;
  transform-style: preserve-3d;
}

.therink-hockey-cell:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(242, 111, 61, 0.75);
}

.therink-hockey-cell.goal-net-cell {
  background: rgba(255, 255, 255, 0.18);
}

.therink-hockey-goal-net {
  position: absolute;
  z-index: 1;
  width: 76%;
  height: 62%;
  top: 19%;
  display: block;
  pointer-events: none;
}

.therink-hockey-goal-net-left {
  left: 0.12rem;
}

.therink-hockey-goal-net-right {
  right: 0.12rem;
}

.therink-hockey-goal-net-frame,
.therink-hockey-goal-net-mesh {
  position: absolute;
  inset: 0;
  display: block;
}

.therink-hockey-goal-net-frame {
  border: 0.16rem solid #c82432;
  border-radius: 0.22rem;
  box-shadow: 0 0.08rem 0.22rem rgba(0, 0, 0, 0.2);
}

.therink-hockey-goal-net-left .therink-hockey-goal-net-frame {
  border-right-width: 0.28rem;
}

.therink-hockey-goal-net-right .therink-hockey-goal-net-frame {
  border-left-width: 0.28rem;
}

.therink-hockey-goal-net-mesh {
  inset: 0.24rem;
  border-radius: 0.12rem;
  background:
    repeating-linear-gradient(90deg, rgba(70, 106, 132, 0.34) 0 1px, transparent 1px 0.42rem),
    repeating-linear-gradient(0deg, rgba(70, 106, 132, 0.34) 0 1px, transparent 1px 0.42rem),
    rgba(255, 255, 255, 0.46);
}

.therink-hockey-piece {
  position: relative;
  z-index: 2;
  width: clamp(1.6rem, 4.5vw, 2.35rem);
  height: clamp(1.6rem, 4.5vw, 2.35rem);
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #fff;
  font-size: clamp(0.72rem, 1.8vw, 0.92rem);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0.25rem 0.55rem rgba(0, 0, 0, 0.32);
  cursor: default;
  user-select: none;
}

.therink-hockey-game.is-3d .therink-hockey-piece {
  box-sizing: border-box;
  width: clamp(0.95rem, 2.5vw, 1.3rem);
  height: clamp(2.35rem, 5.4vw, 3.05rem);
  align-items: flex-start;
  place-items: start center;
  padding-top: 0.38rem;
  border: 0;
  border-radius: 0.42rem 0.42rem 0.28rem 0.28rem;
  overflow: visible;
  font-size: clamp(0.62rem, 1.25vw, 0.78rem);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
  transform: rotateX(-15deg) translateY(-0.46rem) translateZ(1.2rem);
  transform-origin: center bottom;
  transform-style: preserve-3d;
  box-shadow:
    inset -0.24rem 0 0 rgba(0, 0, 0, 0.16),
    inset 0.16rem 0 0 rgba(255, 255, 255, 0.22),
    0 0.58rem 0.9rem rgba(0, 0, 0, 0.34);
}

.therink-hockey-game.is-3d .therink-hockey-piece::before {
  content: "";
  position: absolute;
  top: -0.28rem;
  left: 0;
  width: 100%;
  height: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: inherit;
  box-shadow:
    inset 0 0.16rem 0.16rem rgba(255, 255, 255, 0.28),
    0 0.08rem 0.16rem rgba(0, 0, 0, 0.18);
}

.therink-hockey-piece[role="button"] {
  cursor: pointer;
}

.therink-hockey-piece[role="button"]:focus-visible {
  outline: 3px solid #07101a;
  outline-offset: 2px;
}

.therink-hockey-piece-home {
  background: linear-gradient(180deg, #f05252, #a81f2d);
}

.therink-hockey-game.is-3d .therink-hockey-piece-home {
  background: linear-gradient(90deg, #7f1723, #d9444d 38%, #f07070 62%, #9b1d2a);
}

.therink-hockey-piece-away {
  background: linear-gradient(180deg, #f8d66d, #a87709);
  color: #12100a;
}

.therink-hockey-game.is-3d .therink-hockey-piece-away {
  background: linear-gradient(90deg, #8a6107, #e2b832 38%, #ffe48a 62%, #9a6d08);
  color: #171108;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.therink-hockey-piece-goalie {
  border-radius: 0.45rem;
}

.therink-hockey-game.is-3d .therink-hockey-piece-goalie {
  width: clamp(1.25rem, 3vw, 1.68rem);
  border-radius: 0.3rem 0.3rem 0.2rem 0.2rem;
}

.therink-hockey-piece.selected {
  outline: 3px solid #07101a;
  outline-offset: 2px;
}

.therink-hockey-piece.faceoff-target {
  outline: 3px solid rgba(121, 240, 197, 0.9);
  outline-offset: 2px;
}

.therink-hockey-piece.has-puck::after {
  content: "";
  position: absolute;
  right: -0.23rem;
  bottom: -0.2rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #101010;
}

.therink-hockey-game.is-3d .therink-hockey-piece.has-puck::after {
  right: -0.38rem;
  bottom: 0.08rem;
  width: 0.55rem;
  height: 0.55rem;
  transform: translateZ(0.18rem);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.82),
    0 0.25rem 0.4rem rgba(0, 0, 0, 0.32);
}

.therink-hockey-puck {
  position: absolute;
  z-index: 3;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #101010;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.therink-hockey-game.is-3d .therink-hockey-puck {
  transform: rotateX(-15deg) translateZ(0.7rem);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.8),
    0 0.25rem 0.45rem rgba(0, 0, 0, 0.34);
}

.therink-hockey-game.is-turn-animation-active .therink-hockey-grid .therink-hockey-piece,
.therink-hockey-game.is-turn-animation-active .therink-hockey-grid .therink-hockey-puck {
  opacity: 0.16;
}

.therink-hockey-game.is-turn-animation-active .therink-hockey-options,
.therink-hockey-game.is-turn-animation-active .therink-hockey-viewbar {
  opacity: 0.72;
  pointer-events: none;
}

.therink-hockey-animation-layer {
  position: absolute;
  top: 5.384615%;
  right: 2.8%;
  bottom: 5.384615%;
  left: 2.8%;
  z-index: 8;
  pointer-events: auto;
  transform-style: preserve-3d;
}

.therink-hockey-animation-banner-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
}

.therink-hockey-game.is-3d .therink-hockey-animation-layer {
  z-index: 9;
  transform: translateZ(0.12rem);
}

.therink-hockey-animation-pass-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.therink-hockey-animation-pass-line {
  fill: none;
  stroke: #f26f3d;
  stroke-width: 1.2;
  stroke-dasharray: 2.2 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 0.18rem rgba(255, 255, 255, 0.9)) drop-shadow(0 0.18rem 0.22rem rgba(7, 16, 26, 0.34));
}

.therink-hockey-animation-piece {
  position: absolute;
  z-index: 6;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.therink-hockey-game.is-3d .therink-hockey-animation-piece {
  transform: translate(-50%, -96%) rotateX(-15deg) translateY(-0.46rem) translateZ(1.45rem);
}

.therink-hockey-animation-puck {
  position: absolute;
  z-index: 10;
  width: 0.78rem;
  height: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #101010;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.86),
    0 0.24rem 0.44rem rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.therink-hockey-game.is-3d .therink-hockey-animation-puck {
  transform: translate(-50%, -50%) rotateX(-15deg) translateZ(0.95rem);
}

.therink-hockey-animation-banner {
  position: absolute;
  z-index: 1;
  min-width: 6.5rem;
  padding: 0.45rem 0.8rem;
  border: 2px solid rgba(7, 16, 26, 0.22);
  border-radius: 0.45rem;
  background: rgba(247, 251, 255, 0.96);
  color: #07101a;
  font-size: clamp(0.88rem, 2.1vw, 1.12rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, -140%) scale(0.92);
  transition: opacity 140ms ease, transform 180ms ease;
  pointer-events: none;
}

.therink-hockey-animation-banner.visible {
  opacity: 1;
  transform: translate(-50%, -150%) scale(1);
}

.therink-hockey-animation-banner.tone-success {
  border-color: rgba(28, 126, 87, 0.4);
  background: #d9f7e6;
  color: #0c4b34;
}

.therink-hockey-animation-banner.tone-warning {
  border-color: rgba(164, 113, 18, 0.42);
  background: #fff1bd;
  color: #5d3a06;
}

.therink-hockey-animation-banner.tone-danger {
  border-color: rgba(166, 38, 52, 0.42);
  background: #ffd9dd;
  color: #7c1422;
}

.therink-hockey-options {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  gap: 1rem;
}

.therink-hockey-faceoff,
.therink-hockey-planning,
.therink-hockey-shot,
.therink-hockey-recovery,
.therink-hockey-sync {
  padding: 1rem;
}

.therink-hockey-recovery-text {
  margin: 0;
  color: #dce8f5;
  font-weight: 700;
}

.therink-hockey-goalie-body {
  margin-top: 0.75rem;
}

.therink-hockey-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.65rem;
}

.therink-hockey-selected {
  min-height: 1.8rem;
  margin-bottom: 0.75rem;
  color: #dce8f5;
  font-weight: 700;
}

.therink-hockey-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.75rem;
}

.therink-hockey-action-popout {
  position: absolute;
  z-index: 14;
  display: grid;
  grid-template-columns: repeat(2, minmax(6.5rem, 1fr));
  gap: 0.4rem;
  width: min(18rem, calc(100% - 1rem));
  padding: 0.55rem;
  border: 1px solid rgba(7, 16, 26, 0.24);
  border-radius: 0.5rem;
  background: rgba(9, 17, 27, 0.96);
  box-shadow: 0 0.85rem 1.8rem rgba(0, 0, 0, 0.34);
  transform: translate(-50%, calc(-100% - 0.75rem));
}

.therink-hockey-action-popout::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.46rem;
  width: 0.82rem;
  height: 0.82rem;
  background: rgba(9, 17, 27, 0.96);
  border-right: 1px solid rgba(7, 16, 26, 0.24);
  border-bottom: 1px solid rgba(7, 16, 26, 0.24);
  transform: translateX(-50%) rotate(45deg);
}

.therink-hockey-action-popout .btn {
  position: relative;
  z-index: 1;
  justify-content: center;
  min-height: 2.2rem;
  white-space: nowrap;
}

.therink-hockey-plan-list {
  display: grid;
  gap: 0.45rem;
  min-height: 2rem;
  margin-top: 0.75rem;
}

.therink-hockey-plan-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.045);
}

.therink-hockey-log-panel {
  padding: 1rem;
}

.therink-hockey-log-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.therink-hockey-log {
  display: grid;
  gap: 0.35rem;
  max-height: 16rem;
  margin: 0;
  padding-left: 1.25rem;
  overflow: auto;
  color: #cad8e7;
}

.therink-hockey-net {
  display: grid;
  grid-template-columns: repeat(10, minmax(1.85rem, 1fr));
  grid-template-rows: repeat(6, minmax(1.85rem, 1fr));
  gap: 0.15rem;
  max-width: 32rem;
  margin-top: 0.85rem;
  padding: 0.5rem;
  border: 0.35rem solid #d9e6f2;
  border-radius: 0.45rem;
  background:
    linear-gradient(90deg, rgba(205, 36, 48, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(205, 36, 48, 0.16) 1px, transparent 1px),
    #f6fbff;
  background-size: 10% 16.66%;
}

.therink-hockey-net-square {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(20, 40, 60, 0.2);
  border-radius: 0.2rem;
  background: rgba(75, 158, 196, 0.08);
}

.therink-hockey-net-square.body-anchor-option {
  border-color: rgba(15, 123, 134, 0.52);
  background: rgba(15, 123, 134, 0.12);
  cursor: pointer;
}

.therink-hockey-net-square.body-preview {
  border-color: rgba(121, 240, 197, 0.58);
  background: rgba(121, 240, 197, 0.26);
}

.therink-hockey-net-square.body-covered {
  background: rgba(49, 111, 190, 0.34);
}

.therink-hockey-net-square.body-anchor {
  box-shadow: inset 0 0 0 3px rgba(49, 111, 190, 0.86);
}

.therink-hockey-net-square.body-anchor-preview {
  box-shadow: inset 0 0 0 3px rgba(121, 240, 197, 0.86);
}

.therink-hockey-net-square.hand-covered {
  background:
    linear-gradient(135deg, rgba(49, 111, 190, 0.34), rgba(121, 240, 197, 0.38));
}

.therink-hockey-net-square:hover,
.therink-hockey-net-square:focus-visible,
.therink-hockey-net-square.selected {
  border-color: #a81f2d;
  background: rgba(168, 31, 45, 0.26);
  outline: none;
}

@media (max-width: 991.98px) {
  .therink-hockey-scoreboard,
  .therink-hockey-setup-grid,
  .therink-hockey-options {
    grid-template-columns: 1fr;
  }

  .therink-hockey-scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therink-hockey-score-time {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 575.98px) {
  .therink-hockey-board-wrap {
    margin-inline: -0.75rem;
    border-radius: 0;
  }

  .therink-hockey-rink {
    min-width: 43rem;
  }

  .therink-hockey-action-popout {
    grid-template-columns: 1fr;
    width: min(12rem, calc(100% - 1rem));
  }

  .therink-hockey-scoreboard {
    grid-template-columns: 1fr;
  }

  .therink-hockey-panel-header,
  .therink-hockey-control-header {
    display: grid;
  }
}

@media (max-width: 575.98px) {
  .therink-fit-scale-labels {
    grid-template-columns: 1fr 1fr;
  }

  .therink-fit-map-stage {
    min-height: 24rem;
  }

  .therink-fit-foot-stage {
    min-height: 18rem;
  }
}
