.rtb-rl,
.rtb-rl-account {
  --rtb-bg: #0e0e0e;
  --rtb-card: #161616;
  --rtb-line: #2c2c2c;
  --rtb-text: #f4f1ea;
  --rtb-muted: #b7b1a8;
  --rtb-red: #c8102e;
  --rtb-red-ink: #ffffff;
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  background: var(--rtb-bg);
  color: var(--rtb-text);
  color-scheme: dark;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.rtb-rl *,
.rtb-rl *::before,
.rtb-rl *::after,
.rtb-rl-account *,
.rtb-rl-account *::before,
.rtb-rl-account *::after {
  box-sizing: border-box;
}

.rtb-rl__kicker {
  margin: 0 0 0.25rem;
  color: var(--rtb-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rtb-rl__title {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.05;
  font-weight: 750;
}

.rtb-rl__lede {
  margin: 0.45rem 0 0;
  font-size: 1.05rem;
}

.rtb-rl p {
  margin: 0.75rem 0;
}

.rtb-rl a {
  color: var(--rtb-text);
}

#rtb-rl-app a.rtb-rl__pdf {
  color: #c8102e;
  text-decoration: underline;
}

.rtb-rl__nav {
  display: flex;
  gap: 0.35rem;
  margin: 1rem 0 0;
}

.rtb-rl__nav a {
  flex: 1;
  padding: 0.65rem 0.4rem;
  border: 1px solid var(--rtb-line);
  border-radius: 6px;
  color: var(--rtb-muted);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.rtb-rl__nav a[aria-current="page"] {
  color: var(--rtb-text);
  border-color: var(--rtb-red);
  background: #1c1012;
}

.rtb-rl__banner,
.rtb-rl__result,
.rtb-rl__card {
  margin-top: 1rem;
  padding: 0.9rem;
  background: var(--rtb-card);
  border: 1px solid var(--rtb-line);
  border-radius: 8px;
}

.rtb-rl__banner {
  border-color: var(--rtb-red);
}

.rtb-rl__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.8rem 0;
}

.rtb-rl__btn {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--rtb-red);
  color: var(--rtb-red-ink);
  border: 1px solid var(--rtb-red);
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}

.rtb-rl__btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.rtb-rl__btn--ghost {
  background: transparent;
  color: var(--rtb-text);
  border-color: #d9d3c8;
}

.rtb-rl__note,
.rtb-rl__muted {
  color: var(--rtb-muted);
  font-size: 0.95rem;
}

.rtb-rl__alert {
  min-height: 1.2em;
  color: #ffb4c0;
}

.rtb-rl__ok {
  color: #d5e2c4;
}

.rtb-rl form {
  margin-top: 1rem;
}

.rtb-rl fieldset {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
}

.rtb-rl legend,
.rtb-rl label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rtb-muted);
}

.rtb-rl__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rtb-rl__chips label {
  position: relative;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--rtb-text);
}

.rtb-rl__chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rtb-rl__chips span {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--rtb-line);
  border-radius: 999px;
}

.rtb-rl__chips input:focus + span,
.rtb-rl__chips input:checked + span {
  border-color: var(--rtb-red);
}

.rtb-rl__chips input:checked + span {
  background: #1c1012;
}

.rtb-rl input[type="text"],
.rtb-rl input[type="date"],
.rtb-rl input[type="number"],
.rtb-rl select,
.rtb-rl textarea,
.rtb-rl-account input[type="text"] {
  width: 100%;
  margin: 0 0 0.8rem;
  padding: 0.7rem 0.75rem;
  background: #111111;
  color: #f4f1ea;
  border: 1px solid #333333;
  border-radius: 6px;
  font: inherit;
  color-scheme: dark;
}

#rtb-rl-app input[type="text"],
#rtb-rl-app input[type="date"],
#rtb-rl-app input[type="number"],
#rtb-rl-app select,
#rtb-rl-app textarea {
  background: #111111 !important;
  color: #f4f1ea !important;
  border: 1px solid #333333 !important;
  color-scheme: dark;
}

#rtb-rl-app select option {
  background: #111111;
  color: #f4f1ea;
}

#rtb-rl-app input::placeholder,
#rtb-rl-app textarea::placeholder {
  color: #b7b1a8;
  opacity: 1;
}

.rtb-rl textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.rtb-rl input:focus,
.rtb-rl select:focus,
.rtb-rl textarea:focus,
.rtb-rl-account input:focus,
.rtb-rl__btn:focus,
.rtb-rl__nav a:focus,
.rtb-rl a:focus {
  outline: 2px solid var(--rtb-red);
  outline-offset: 2px;
}

.rtb-rl__check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0 0 0.7rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rtb-text);
}

.rtb-rl__check input {
  margin-top: 0.2rem;
}

.rtb-rl__score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  max-width: 24rem;
}

.rtb-rl__tier-row {
  margin: 0;
}

.rtb-rl__tier {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border: 1px solid var(--rtb-red);
  color: var(--rtb-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rtb-rl__tier--low {
  border-color: #666666;
  color: var(--rtb-muted);
}

.rtb-rl__blunt {
  margin: 0.35rem 0 0;
  color: var(--rtb-text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.rtb-rl__score .rtb-rl__blunt,
.rtb-rl__score .rtb-rl__note {
  margin: 0;
  text-align: right;
}

.rtb-rl__badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  background: var(--rtb-red);
  color: var(--rtb-red-ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.rtb-rl__run {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rtb-line);
}

.rtb-rl__run strong {
  font-size: 1.05rem;
}

.rtb-rl__chart {
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  background: #101010;
  border-radius: 8px;
}

.rtb-rl__chart text {
  fill: #b7b1a8;
  font-size: 11px;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.rtb-rl__drill-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rtb-line);
  color: var(--rtb-text);
  text-decoration: none;
  font-weight: 700;
}

.rtb-rl__stat {
  margin: 0.4rem 0 0;
  font-size: 2.4rem;
  font-weight: 750;
  line-height: 1;
}

.rtb-rl__stat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--rtb-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.rtb-rl-account__rounds {
  font-size: 1.1rem;
}

.rtb-rl-account__rounds span,
.rtb-rl-account__list strong {
  color: var(--rtb-text);
  font-weight: 750;
}

.rtb-rl-account__rounds span {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.rtb-rl-account h3 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1rem;
}

.rtb-rl-account__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rtb-rl-account__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rtb-line);
}

.rtb-rl-account__delete {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

.rtb-rl__home {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--rtb-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  max-width: 36rem;
}

@media (display-mode: standalone) {
  .rtb-rl__home {
    display: none !important;
  }
}

.rtb-rl__steps {
  margin: 0.2rem 0 1rem;
  padding-left: 1.2rem;
}

.rtb-rl__steps li {
  margin: 0.35rem 0;
}

.rtb-rl h2 {
  margin: 1.1rem 0 0.35rem;
  font-size: 1.05rem;
}

.rtb-rl .rtb-rl__stats h2,
.rtb-rl h2.rtb-rl__section {
  margin-top: 16px;
}

body.rtb-rl-page .entry-title,
body.rtb-rl-page .wp-block-post-title,
body.rtb-rl-page .page-title,
body.rtb-rl-page .entry-header > h1,
body.rtb-rl-page .page-header > h1 {
  display: none;
}

@media (max-width: 720px) {
  .rtb-rl__run {
    flex-direction: column;
    align-items: stretch;
  }

  .rtb-rl__score {
    align-items: flex-start;
    max-width: none;
  }

  .rtb-rl__score .rtb-rl__blunt,
  .rtb-rl__score .rtb-rl__note {
    text-align: left;
  }
}

@media (min-width: 1100px) {
  .rtb-rl,
  .rtb-rl-account {
    padding: 1.5rem 1.5rem 2.5rem;
  }

  .rtb-rl__title {
    font-size: 2.4rem;
  }

  .rtb-rl__nav a {
    flex: 0 0 auto;
    min-width: 7.5rem;
  }

  .rtb-rl__actions {
    flex-direction: row;
    align-items: center;
  }

  .rtb-rl__btn {
    width: auto;
    min-width: 11rem;
  }

  .rtb-rl__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    gap: 1.25rem;
    align-items: start;
  }

  .rtb-rl__stats {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

/* Carried forward from Theme LOOK PASS (v0.2.1.1) */
body.page-id-298501 .entry-title,
body.page-id-298501 .page-title,
body.page-id-298501 h1.wp-block-post-title,
body.page-id-298501 .entry-header {
  display: none !important;
}

body.page-id-298501 #right-sidebar,
body.page-id-298501 .is-right-sidebar {
  display: none !important;
}

body.page-id-298501 #primary,
body.page-id-298501 .content-area {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

#rtb-rl-app {
  width: 100% !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#rtb-rl-app a.rtb-rl__pdf,
#rtb-rl-app .rtb-rl__stats a[href*="my-account"] {
  display: inline-block;
  color: var(--rtb-text);
  text-decoration: underline;
  text-decoration-color: var(--rtb-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 600;
}

#rtb-rl-app .rtb-rl__stats a[href*="my-account"] {
  margin-top: 1rem;
}

.rtb-rl__stats h2 {
  margin: 1rem 0 0.5rem;
}

.rtb-rl__stats .rtb-rl__stat {
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .rtb-rl .rtb-rl__stats h2 {
    font-size: 1.5rem !important;
    line-height: 1.15;
  }
}

.rtb-rl__source {
  font-size: 13px;
  opacity: 0.75;
}
.rtb-rl__source a {
  color: inherit;
  text-decoration: underline;
}

/* 0.4.5 LOOK (Theme): muted hint and placeholder color. */
#rtb-rl-app .rtb-rl__home,
.rtb-rl .rtb-rl__home {
  color: #8f897f !important;
  font-size: 13px !important;
}
#rtb-rl-app input::placeholder,
#rtb-rl-app textarea::placeholder,
.rtb-rl input::placeholder,
.rtb-rl textarea::placeholder {
  color: #8f897f !important;
  opacity: 1;
}
#rtb-rl-app input::-webkit-input-placeholder,
.rtb-rl input::-webkit-input-placeholder {
  color: #8f897f !important;
}
