.rp-frame {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  pointer-events: none;
}
.rp-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-family: 'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
.rp-scroll {
  position: absolute;
  left: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}
.rp-svg {
  display: block;
  outline: none;
}
.rp-svg:focus-visible {
  outline: 2px solid var(--rp-accent, #b8462a);
  outline-offset: -2px;
}
.rp-svg text {
  user-select: none;
}
.rp-ridge {
  cursor: pointer;
}
.rp-ridge.rp-ghost {
  pointer-events: none;
}
.rp-ridge.rp-kb path.rp-line,
.rp-ridge.rp-kb path.rp-area {
  stroke: #000;
  stroke-width: 2px;
}
.rp-label {
  cursor: pointer;
}
.rp-row {
  cursor: pointer;
}
.rp-root {
  isolation: isolate;
}
.rp-root::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: var(--pl-texture, none);
  background-size: var(--pl-texture-size, auto);
  background-position: var(--pl-texture-pos, 0 0);
  background-repeat: var(--pl-texture-repeat, repeat);
}
.rp-title .rp-title-main {
  font-family: var(--pl-title-font, inherit);
  text-shadow: var(--pl-text-glow, none);
}
.rp-title {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 4px;
  line-height: 1.25;
  pointer-events: none;
}
.rp-title .rp-title-main {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-title .rp-title-sub {
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-title.rp-wrap .rp-title-main {
  white-space: normal;
  overflow-wrap: anywhere;
}
.rp-title.rp-wrap .rp-title-sub {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.rp-title .rp-title-divider {
  margin-top: 3px;
  height: 0;
}
.rp-legend {
  position: absolute;
}
.rp-controls {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--rp-text, #1f1e1c);
  font-variant-numeric: tabular-nums;
}
.rp-controls .rp-spacer {
  flex: 1;
}
.rp-controls .rp-range {
  flex: 0 1 220px;
  min-width: 60px;
  accent-color: var(--rp-accent, #b8462a);
}
.rp-controls .rp-ctrl-label {
  font-weight: 700;
  min-width: 30px;
}
.rp-controls .rp-modes {
  display: flex;
  gap: 2px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.rp-btn {
  border: 1px solid var(--rp-line, #d6d3cc);
  background: var(--rp-surface, #fff);
  color: var(--rp-text, #1f1e1c);
  border-radius: 13px;
  height: 22px;
  min-width: 24px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 150ms cubic-bezier(0.2, 0, 0, 1), color 150ms cubic-bezier(0.2, 0, 0, 1);
}
.rp-btn:hover {
  border-color: var(--rp-accent, #b8462a);
  color: var(--rp-accent, #b8462a);
}
.rp-btn:focus-visible {
  outline: 2px solid var(--rp-accent, #b8462a);
  outline-offset: 1px;
}
.rp-btn.rp-on {
  background: var(--rp-accent, #b8462a);
  color: #fff;
  border-color: var(--rp-accent, #b8462a);
}
.rp-play {
  width: 30px;
  padding: 0;
  font-weight: 700;
}
.rp-focusbar {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 24px;
  pointer-events: none;
}
.rp-focusbar .rp-breadcrumb {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 12px;
  pointer-events: all;
  color: var(--rp-text, #1f1e1c);
}
.rp-focusbar .rp-current {
  font-weight: 700;
}
.rp-focusbar .rp-backbox {
  position: absolute;
  display: flex;
  gap: 4px;
  pointer-events: all;
}
.rp-focusbar .rp-backbox.rp-topRight {
  right: 0;
  top: 0;
}
.rp-focusbar .rp-backbox.rp-topLeft {
  left: 0;
  top: 0;
}
.rp-focusbar .rp-backbox.rp-bottomRight {
  right: 0;
  bottom: -9999px;
}
.rp-focusbar .rp-backbox.rp-bottomLeft {
  left: 0;
  bottom: -9999px;
}
.rp-focusbar .rp-nav {
  width: 26px;
  padding: 0;
}
/* Back button at the bottom: repositioned relative to the visual (the -9999px above is overridden here) */
.rp-focusbar .rp-backbox.rp-bottomRight,
.rp-focusbar .rp-backbox.rp-bottomLeft {
  position: fixed;
  bottom: 34px;
}
.rp-focusbar .rp-backbox.rp-bottomRight {
  right: 8px;
}
.rp-focusbar .rp-backbox.rp-bottomLeft {
  left: 8px;
}
.rp-back {
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-family: inherit;
  height: 22px;
  padding: 0 10px;
  background: transparent;
}
.rp-back.rp-back-pill {
  border-radius: 11px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.rp-back.rp-back-text {
  text-decoration: underline;
  font-weight: 600;
}
.rp-back.rp-back-icon {
  width: 24px;
  padding: 0;
  font-size: 14px;
}
.rp-back:focus-visible {
  outline: 2px solid #000;
}
.rp-link {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--rp-accent, #b8462a);
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
}
.rp-source {
  position: absolute;
  left: 8px;
  right: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.rp-watermark {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
  display: none;
}
.rp-watermark .rp-wm-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.rp-watermark text {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  fill: var(--rp-text, #1f1e1c);
  fill-opacity: 0.11;
  letter-spacing: 0.02em;
}
.rp-hc .rp-watermark text {
  fill-opacity: 0.2;
}
.rp-badge {
  position: absolute;
  right: 6px;
  bottom: 4px;
  z-index: 9;
  display: none;
  border: 1px solid #d9b44a;
  background: rgba(255, 248, 225, 0.95);
  color: #6b4f00;
  border-radius: 10px;
  font-size: 10px;
  padding: 1px 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  max-width: calc(100% - 12px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-badge.rp-wm-edit {
  font-weight: 600;
}
.rp-logo {
  position: absolute;
  right: 6px;
  bottom: 3px;
  display: none;
  border: none;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.rp-licensee {
  position: absolute;
  right: 6px;
  top: 2px;
  font-size: 9px;
  color: #9a9a9a;
  background: rgba(255, 255, 255, 0.75);
  padding: 0 4px;
  border-radius: 4px;
  display: none;
  pointer-events: none;
}
.rp-licensee.rp-bad {
  color: #c0392b;
  font-weight: 600;
  pointer-events: auto;
}
.rp-licensee .rp-lic-buy {
  font-size: 9px;
  color: inherit;
}
.rp-warn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 4px;
  font-size: 10px;
  color: #8a5a00;
  background: rgba(255, 244, 214, 0.95);
  padding: 1px 8px;
  border-radius: 8px;
  display: none;
  pointer-events: none;
  max-width: 90%;
}
.rp-toast {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.9);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  display: none;
  pointer-events: none;
}
.rp-message {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #333;
}
.rp-message .rp-msg-box {
  max-width: 360px;
  padding: 12px;
}
.rp-message .rp-msg-title {
  font-weight: 700;
  font-size: 15px;
  margin: 6px 0;
  color: var(--rp-accent, #b8462a);
}
.rp-message .rp-msg-text {
  font-size: 12px;
  color: var(--rp-muted, #6b6862);
  margin-bottom: 4px;
}
.rp-message .rp-link {
  font-size: 12px;
  margin-top: 6px;
}
.rp-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

