.ow-rrs-coach-p102[hidden] {
  display: none !important;
}

#map > .ow-rrs-coach-p102 {
  position: absolute;
  z-index: 840;
  top: 116px;
  right: 18px;
  width: min(330px, calc(100% - 36px));
  padding: 13px 14px 12px;
  border: 1px solid rgba(8, 129, 122, 0.28);
  border-radius: 18px;
  background: rgba(248, 253, 253, 0.96);
  box-shadow: 0 12px 30px rgba(10, 38, 55, 0.18);
  color: #10233f;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.ow-rrs-coach-p102__head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
}

.ow-rrs-coach-p102__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #dff7f4;
  color: #007d76;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.ow-rrs-coach-p102__head strong,
.ow-rrs-coach-p102__head span {
  display: block;
}

.ow-rrs-coach-p102__head strong {
  font-size: 14px;
  line-height: 1.2;
  color: #10233f;
}

.ow-rrs-coach-p102__head div > span {
  margin-top: 2px;
  color: #587084;
  font-size: 11px;
  font-weight: 750;
}

.ow-rrs-coach-p102__head button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #eaf2f6;
  color: #24435a;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ow-rrs-coach-p102 > p {
  margin: 10px 0 9px;
  color: #29465a;
  font-size: 12px;
  line-height: 1.45;
}

.ow-rrs-coach-p102__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(36, 67, 90, 0.12);
  color: #60788b;
  font-size: 10px;
  font-weight: 750;
}

.ow-rrs-coach-p102__foot a {
  color: #007d76;
  text-decoration: none;
}

.ow-rrs-coach-p102[data-rule="RRS 23.1"] {
  border-color: rgba(0, 94, 173, 0.28);
}

.ow-rrs-coach-p102[data-rule="RRS 23.1"]
.ow-rrs-coach-p102__icon {
  background: #e4f1fb;
  color: #005ead;
}

@media (max-width: 820px) {
  #map > .ow-rrs-coach-p102 {
    top: auto;
    right: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    width: min(340px, calc(100% - 24px));
    padding: 11px 12px 10px;
    border-radius: 16px;
  }

  .ow-rrs-coach-p102__head {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .ow-rrs-coach-p102__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .ow-rrs-coach-p102__head strong {
    font-size: 13px;
  }

  .ow-rrs-coach-p102 > p {
    margin: 8px 0;
    font-size: 11px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #map > .ow-rrs-coach-p102:not([hidden]) {
    animation: ow-rrs-coach-enter 180ms ease-out;
  }

  @keyframes ow-rrs-coach-enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

