@charset "UTF-8";
.br-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  color: #ffffff;
  position: relative;
}

.br-panel {
  background: rgba(11, 61, 79, 0.6);
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.br-panel-title {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.br-panel-title .icon {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.br-page-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.br-page-header-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(28, 194, 235, 0.4);
  -o-object-fit: cover;
     object-fit: cover;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.br-page-header-actions {
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .br-page-header {
    flex-wrap: wrap;
  }
  .br-page-header-actions {
    margin-left: 0;
    width: 100%;
  }
}
.br-page-title {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}

.br-page-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.br-table-wrap {
  background-color: rgba(11, 61, 79, 0.6);
}

.br-table {
  width: 100%;
  border-collapse: collapse;
  color: #ffffff;
}
.br-table thead th,
.br-table thead td {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  padding: 12px 14px;
  border-bottom: 1px solid rgba(28, 194, 235, 0.15);
  text-align: left;
}
.br-table tbody tr {
  transition: background 0.15s;
}
.br-table tbody tr:hover {
  background: rgba(28, 194, 235, 0.06);
}
.br-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  vertical-align: middle;
}
.br-table .text-center {
  text-align: center;
}
.br-table .text-right {
  text-align: right;
}
.br-table a {
  color: #1cc2eb;
  text-decoration: none;
  transition: color 0.15s;
}
.br-table a:hover {
  color: #ffffff;
}
.br-table .br-detail-row td {
  padding: 10px 14px 18px;
  border-bottom: 1px solid rgba(28, 194, 235, 0.08);
  background: rgba(4, 22, 30, 0.35);
}
.br-table .br-detail-row:hover {
  background: none;
}

.br-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.br-badge-green {
  background: rgba(36, 218, 152, 0.15);
  color: #24da98;
}

.br-badge-red {
  background: rgba(244, 67, 54, 0.15);
  color: #ff7a6e;
}

.br-badge-blue {
  background: rgba(28, 194, 235, 0.15);
  color: #1cc2eb;
}

.br-badge-amber {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.br-badge-purple {
  background: rgba(159, 64, 226, 0.15);
  color: #c88af1;
}

.br-badge-teal {
  background: rgba(0, 188, 212, 0.15);
  color: #00bcd4;
}

.br-btn, a.br-btn, button.br-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid rgba(28, 194, 235, 0.25);
  border-radius: 6px;
  background: rgba(28, 194, 235, 0.08);
  color: #1cc2eb;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1.4;
  font-family: inherit;
}
.br-btn:hover, a.br-btn:hover, button.br-btn:hover {
  background: rgba(28, 194, 235, 0.18);
  border-color: rgba(28, 194, 235, 0.4);
  color: #ffffff;
}
.br-btn .icon, a.br-btn .icon, button.br-btn .icon {
  font-size: 13px;
}
.br-btn.br-btn-green, a.br-btn.br-btn-green, button.br-btn.br-btn-green {
  border-color: rgba(36, 218, 152, 0.25);
  background: rgba(36, 218, 152, 0.08);
  color: #24da98;
}
.br-btn.br-btn-green:hover, a.br-btn.br-btn-green:hover, button.br-btn.br-btn-green:hover {
  background: rgba(36, 218, 152, 0.18);
  border-color: rgba(36, 218, 152, 0.4);
  color: #ffffff;
}
.br-btn.br-btn-red, a.br-btn.br-btn-red, button.br-btn.br-btn-red {
  border-color: rgba(244, 67, 54, 0.25);
  background: rgba(244, 67, 54, 0.08);
  color: #f44336;
}
.br-btn.br-btn-red:hover, a.br-btn.br-btn-red:hover, button.br-btn.br-btn-red:hover {
  background: rgba(244, 67, 54, 0.18);
  border-color: rgba(244, 67, 54, 0.4);
  color: #ffffff;
}
.br-btn.br-btn-amber, a.br-btn.br-btn-amber, button.br-btn.br-btn-amber {
  border-color: rgba(255, 193, 7, 0.25);
  background: rgba(255, 193, 7, 0.08);
  color: #ffc107;
}
.br-btn.br-btn-amber:hover, a.br-btn.br-btn-amber:hover, button.br-btn.br-btn-amber:hover {
  background: rgba(255, 193, 7, 0.18);
  border-color: rgba(255, 193, 7, 0.4);
  color: #ffffff;
}
.br-btn.br-btn-blue, a.br-btn.br-btn-blue, button.br-btn.br-btn-blue {
  border-color: rgba(28, 194, 235, 0.25);
  background: rgba(28, 194, 235, 0.08);
  color: #1cc2eb;
}
.br-btn.br-btn-blue:hover, a.br-btn.br-btn-blue:hover, button.br-btn.br-btn-blue:hover {
  background: rgba(28, 194, 235, 0.18);
  border-color: rgba(28, 194, 235, 0.4);
  color: #ffffff;
}
.br-btn.br-btn-purple, a.br-btn.br-btn-purple, button.br-btn.br-btn-purple {
  border-color: rgba(159, 64, 226, 0.25);
  background: rgba(159, 64, 226, 0.08);
  color: #9f40e2;
}
.br-btn.br-btn-purple:hover, a.br-btn.br-btn-purple:hover, button.br-btn.br-btn-purple:hover {
  background: rgba(159, 64, 226, 0.18);
  border-color: rgba(159, 64, 226, 0.4);
  color: #ffffff;
}
.br-btn.br-btn-teal, a.br-btn.br-btn-teal, button.br-btn.br-btn-teal {
  border-color: rgba(0, 188, 212, 0.25);
  background: rgba(0, 188, 212, 0.08);
  color: #00bcd4;
}
.br-btn.br-btn-teal:hover, a.br-btn.br-btn-teal:hover, button.br-btn.br-btn-teal:hover {
  background: rgba(0, 188, 212, 0.18);
  border-color: rgba(0, 188, 212, 0.4);
  color: #ffffff;
}
.br-btn.cyan, a.br-btn.cyan, button.br-btn.cyan {
  background: #1cc2eb;
  color: #04161e;
  border-color: transparent;
}
.br-btn.cyan:hover, a.br-btn.cyan:hover, button.br-btn.cyan:hover {
  opacity: 0.85;
}
.br-btn.green, a.br-btn.green, button.br-btn.green {
  background: #24da98;
  color: #04161e;
  border-color: transparent;
}
.br-btn.green:hover, a.br-btn.green:hover, button.br-btn.green:hover {
  opacity: 0.85;
}
.br-btn.amber, a.br-btn.amber, button.br-btn.amber {
  background: #f7cb15;
  color: #04161e;
  border-color: transparent;
}
.br-btn.amber:hover, a.br-btn.amber:hover, button.br-btn.amber:hover {
  opacity: 0.85;
}
.br-btn.red, a.br-btn.red, button.br-btn.red {
  background: #f44336;
  color: #ffffff;
  border-color: transparent;
}
.br-btn.red:hover, a.br-btn.red:hover, button.br-btn.red:hover {
  opacity: 0.85;
}
.br-btn.purple, a.br-btn.purple, button.br-btn.purple {
  background: #9f40e2;
  color: #ffffff;
  border-color: transparent;
}
.br-btn.purple:hover, a.br-btn.purple:hover, button.br-btn.purple:hover {
  opacity: 0.85;
}
.br-btn.ghost, a.br-btn.ghost, button.br-btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.br-btn.ghost:hover, a.br-btn.ghost:hover, button.br-btn.ghost:hover {
  opacity: 0.85;
}

.br-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.br-answer-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  background: rgba(28, 194, 235, 0.1);
  color: rgba(255, 255, 255, 0.7);
  margin: 3px 6px 3px 0;
}
.br-answer-pill .icon {
  font-size: 12px;
}

.br-answer-correct {
  background: rgba(36, 218, 152, 0.12);
  color: #24da98;
  border: 1px solid rgba(36, 218, 152, 0.2);
}

.br-answer-wrong {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.15);
}

.br-qa-block {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.br-qa-block:last-child {
  border-bottom: none;
}

.br-qa-question {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.br-qa-question::before {
  content: "Q: ";
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.br-qa-answer {
  margin-top: 4px;
}

.br-tabs {
  display: flex;
  gap: 4px;
  background: rgba(11, 61, 79, 0.4);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.br-tab-btn, a.br-tab-btn, button.br-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.br-tab-btn:hover, a.br-tab-btn:hover, button.br-tab-btn:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.03);
}
.br-tab-btn.active, a.br-tab-btn.active, button.br-tab-btn.active {
  background: rgba(28, 194, 235, 0.12);
  color: #1cc2eb;
}
.br-tab-btn .icon, a.br-tab-btn .icon, button.br-tab-btn .icon {
  font-size: 14px;
}

.br-tabs-sticky {
  position: sticky;
  top: 50px;
  z-index: 100;
  background: rgba(4, 22, 30, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 10px 10px;
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 20px;
  padding-right: 20px;
}

.br-scroll-section {
  scroll-margin-top: 120px;
}

.br-empty {
  text-align: center;
  padding: 48px 24px;
}
.br-empty > .icon {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 14px;
}
.br-empty h3 {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 6px;
}
.br-empty p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.br-form-group {
  margin-bottom: 20px;
}

.br-form-label,
.br-label {
  display: block;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.br-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(28, 194, 235, 0.15);
  border-radius: 6px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  font-family: inherit;
  box-sizing: border-box;
}
.br-input:focus {
  border-color: rgba(28, 194, 235, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.br-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.br-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.br-input-lg {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 12px 16px;
}

select.br-input {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231cc2eb' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
select.br-input option {
  background: rgba(11, 61, 79, 0.5);
  color: #ffffff;
}
select.br-input option:hover {
  background: rgba(11, 61, 79, 0.75);
  color: #ffffff;
}

.br-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.br-input-row .br-input {
  flex: 1;
}

.br-form-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(28, 194, 235, 0.1);
}

.br-form-bottom-bar {
  position: fixed;
  bottom: 50px;
  left: 50%;
  z-index: 200;
  background: rgba(4, 22, 30, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(28, 194, 235, 0.12);
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  transform: translateX(-50%);
}
.br-form-bottom-bar .br-actions {
  gap: 10px;
}

.br-has-bottom-bar {
  padding-bottom: 80px;
}

.br-form-component {
  background: rgba(4, 22, 30, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 14px;
}

.br-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .br-form-grid {
    grid-template-columns: 1fr;
  }
}
.br-drawer-btn-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.br-btn.br-btn-drawer, button.br-btn.br-btn-drawer {
  font-size: 22px;
  font-weight: 700;
  gap: 12px;
  padding: 16px 20px;
  text-align: left;
  justify-content: flex-start;
}
.br-btn.br-btn-drawer .icon, button.br-btn.br-btn-drawer .icon {
  font-size: 26px;
  flex-shrink: 0;
}
.br-btn.br-btn-drawer[disabled], button.br-btn.br-btn-drawer[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.br-btn.br-btn-drawer[disabled]:hover, button.br-btn.br-btn-drawer[disabled]:hover {
  background: rgba(28, 194, 235, 0.08);
  border-color: rgba(28, 194, 235, 0.25);
  color: #1cc2eb;
}

.br-btn-drawer-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.br-btn-drawer-value {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

ul.br-pick-grid, .br-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  grid-auto-rows: 216px;
  justify-content: start;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.br-pick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(11, 61, 79, 0.6);
  border: 2px solid rgba(28, 194, 235, 0.2);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.br-pick-card:hover {
  border-color: rgba(28, 194, 235, 0.5);
  transform: translateY(-2px);
}
.br-pick-card.active {
  border-color: #24da98;
  box-shadow: 0 0 0 1px rgba(36, 218, 152, 0.4);
}

.br-pick-card-image {
  flex: 0 0 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.br-pick-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  min-height: 0;
}
.br-pick-card-body .br-pick-card-meta {
  margin-top: auto;
}
.br-pick-card-body .br-pick-card-name:only-child {
  margin: auto 0;
}

.br-pick-card-name {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.br-pick-card-meta {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.br-pick-card-meta .icon {
  font-size: 12px;
  opacity: 0.7;
  margin-right: 2px;
}

.br-pick-card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #24da98;
  color: #04161e;
}
.br-pick-card-check .icon {
  font-size: 15px;
}

.br-pick-card.active .br-pick-card-check {
  display: flex;
}

.br-form-component ul.selectable-list.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.br-form-component ul.selectable-list.grid li {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(4, 22, 30, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.br-form-component ul.selectable-list.grid li:hover {
  border-color: rgba(28, 194, 235, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.br-form-component ul.selectable-list.grid li .color-overlay {
  opacity: 0.6;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 22, 30, 0.85) 100%);
  transition: opacity 0.25s;
}
.br-form-component ul.selectable-list.grid li .achievement-name {
  background: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  padding: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  text-align: center;
}
.br-form-component ul.selectable-list.grid li .active-content {
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.br-form-component ul.selectable-list.grid li.active {
  border-color: #24da98;
  box-shadow: 0 0 0 1px #24da98, 0 4px 16px rgba(36, 218, 152, 0.15);
}
.br-form-component ul.selectable-list.grid li.active .color-overlay {
  opacity: 0.15;
  background: linear-gradient(180deg, transparent 50%, rgba(36, 218, 152, 0.3) 100%);
}
.br-form-component ul.selectable-list.grid li.active .achievement-name {
  color: #ffffff;
  font-weight: 700;
  background: rgba(36, 218, 152, 0.25);
  border-radius: 0 0 8px 8px;
}
.br-form-component ul.selectable-list.grid li.hidden {
  opacity: 0.2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .br-form-component ul.selectable-list.grid li {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 480px) {
  .br-form-component ul.selectable-list.grid li {
    width: 100px;
    height: 100px;
  }
  .br-form-component ul.selectable-list.grid li .achievement-name {
    font-size: 11px;
    padding: 4px;
  }
}
.br-color-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.br-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.br-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
  outline: none;
}
.br-color-swatch .icon {
  font-size: 14px;
  color: #fff;
  opacity: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.br-color-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.br-color-swatch.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.br-color-swatch.active .icon {
  opacity: 1;
}

.br-color-opacity-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.br-color-preview {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.br-color-opacity-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.br-color-opacity-slider {
  flex: 1;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}
.br-color-opacity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1cc2eb;
  cursor: pointer;
  border: 2px solid rgba(4, 22, 30, 0.8);
}
.br-color-opacity-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1cc2eb;
  cursor: pointer;
  border: 2px solid rgba(4, 22, 30, 0.8);
}

.br-color-opacity-value {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  min-width: 32px;
  text-align: right;
}

.br-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.br-gallery.br-gallery-single {
  grid-template-columns: 1fr;
  max-width: 200px;
}
.br-gallery.br-gallery-large {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.br-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s;
}
.br-gallery-item:hover {
  border-color: rgba(28, 194, 235, 0.25);
}
.br-gallery-item:hover .br-gallery-actions {
  opacity: 1;
}
.br-gallery-item:hover .br-gallery-placeholder {
  color: #1cc2eb;
}

.br-gallery-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-gallery-placeholder {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.br-gallery-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: none;
}
.br-gallery-video.active {
  display: block;
}

.br-gallery-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.2s;
}

.br-gallery-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.15s;
}
.br-gallery-btn.br-gallery-btn-upload {
  background: rgba(36, 218, 152, 0.9);
  color: #fff;
}
.br-gallery-btn.br-gallery-btn-upload:hover {
  background: #24da98;
}
.br-gallery-btn.br-gallery-btn-remove {
  background: rgba(244, 67, 54, 0.9);
  color: #fff;
}
.br-gallery-btn.br-gallery-btn-remove:hover {
  background: #f44336;
}
.br-gallery-btn.br-gallery-btn-delete {
  background: rgba(233, 30, 99, 0.9);
  color: #fff;
}
.br-gallery-btn.br-gallery-btn-delete:hover {
  background: #e91e63;
}

.br-gallery-label {
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-magic-backdrop {
  background: radial-gradient(ellipse at 50% 35%, rgba(159, 64, 226, 0.35), transparent 60%), rgba(2, 10, 14, 0.85);
  cursor: pointer;
}

.br-overlay-backdrop {
  background: rgba(2, 10, 14, 0.85);
  cursor: pointer;
}

.br-magic-card {
  width: min(440px, 92vw);
  box-sizing: border-box;
  padding: 28px 26px 22px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(159, 64, 226, 0.3);
  background: linear-gradient(160deg, rgba(46, 16, 72, 0.96), rgba(4, 22, 30, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.br-magic-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.br-magic-close:hover {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
}

.br-magic-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(159, 64, 226, 0.35);
  background: rgba(159, 64, 226, 0.14);
  color: #9f40e2;
  font-size: 28px;
  box-shadow: 0 0 30px rgba(159, 64, 226, 0.25);
}

.br-magic-title {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  color: #ffffff;
}

.br-magic-legend {
  margin: 8px 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.br-magic-field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 12px 14px 18px;
  border: 1px solid rgba(159, 64, 226, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 6px;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.br-magic-field:focus {
  border-color: rgba(159, 64, 226, 0.65);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(159, 64, 226, 0.15);
}
.br-magic-field::-moz-placeholder {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25);
}
.br-magic-field::placeholder {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25);
}

.br-magic-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.br-magic-actions .br-btn {
  padding: 10px 22px;
  font-size: 14px;
}
.br-magic-actions .br-btn .icon {
  font-size: 15px;
}

.br-gallery-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.35);
  text-align: left;
}

.br-gallery-caption-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.br-gallery-caption-note {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
}

.br-gallery-caption-warn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #ffc107;
}

.br-player-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.br-player-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(11, 61, 79, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.br-player-card:hover {
  background: rgba(11, 61, 79, 0.45);
  border-color: rgba(28, 194, 235, 0.15);
}
.br-player-card.active {
  background: rgba(36, 218, 152, 0.07);
  border-color: rgba(36, 218, 152, 0.35);
  box-shadow: inset 0 0 0 1px rgba(36, 218, 152, 0.1);
}
.br-player-card.active .br-player-check {
  opacity: 1;
  color: #24da98;
}
.br-player-card.active .br-player-name {
  color: #24da98;
}

.br-player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.br-player-info {
  flex: 1;
  min-width: 0;
}

.br-player-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.br-player-meta {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-player-check {
  font-size: 20px;
  opacity: 0.1;
  transition: all 0.2s;
  flex-shrink: 0;
}

.br-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0;
}

.br-page-btn {
  min-width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.br-page-btn:hover {
  background: rgba(28, 194, 235, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.br-page-btn.active {
  background: rgba(28, 194, 235, 0.15);
  border-color: rgba(28, 194, 235, 0.3);
  color: #1cc2eb;
  font-weight: 700;
}

.br-step-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.br-step-item {
  border-radius: 6px;
  transition: box-shadow 0.2s;
}
.br-step-item:hover {
  box-shadow: 0 0 0 1px rgba(28, 194, 235, 0.1);
}

.br-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(11, 61, 79, 0.35);
  border-left: 3px solid var(--step-color, #1cc2eb);
  border-radius: 6px;
  transition: background 0.2s;
  cursor: grab;
}
.br-step-row:hover {
  background: rgba(11, 61, 79, 0.55);
}

.br-step-order {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--step-color, #1cc2eb);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--step-color, #1cc2eb);
  flex-shrink: 0;
}

.br-step-type {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--step-color, #1cc2eb);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--step-color, #1cc2eb);
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}

.br-step-title {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-step-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.br-step-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  background: transparent;
}
.br-step-btn.br-step-btn-amber {
  color: #ffc107;
}
.br-step-btn.br-step-btn-amber:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.4);
}
.br-step-btn.br-step-btn-green {
  color: #24da98;
}
.br-step-btn.br-step-btn-green:hover, .br-step-btn.br-step-btn-green.active {
  background: rgba(36, 218, 152, 0.15);
  border-color: rgba(36, 218, 152, 0.4);
}
.br-step-btn.br-step-btn-red {
  color: #f44336;
}
.br-step-btn.br-step-btn-red:hover {
  background: rgba(244, 67, 54, 0.15);
  border-color: rgba(244, 67, 54, 0.4);
}

.br-step-accordion {
  display: none;
}
.br-step-accordion.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1440px, 94vw);
  max-height: 88vh;
  z-index: 300;
  background: rgba(4, 22, 30, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(28, 194, 235, 0.18);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: br-modal-pop 0.2s ease;
}

@keyframes br-modal-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.br-drawer-backdrop {
  display: none;
}

body.br-drawer-open .br-drawer-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
body.br-drawer-open .br-form-bottom-bar {
  opacity: 0.3;
  filter: grayscale(0.5);
  pointer-events: none;
}

.br-step-form {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.br-step-form-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(28, 194, 235, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(4, 22, 30, 0.5);
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}
.br-step-form-header > button {
  flex-shrink: 0;
}

.br-step-form-icon {
  font-size: 18px;
  color: var(--step-color, #1cc2eb);
}

.br-step-form-header-info {
  flex: 1;
  min-width: 0;
}

.br-step-form-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}

.br-step-form-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.br-avatar-grid .br-gallery-actions {
  opacity: 1;
}

.br-step-form-footer {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid rgba(28, 194, 235, 0.12);
  background: rgba(4, 22, 30, 0.5);
  border-radius: 0 0 12px 12px;
  flex-shrink: 0;
}

.br-skin-panel {
  display: none;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.br-skin-panel:first-of-type {
  border-top: none;
}

.br-skin-panel-inline {
  display: none;
}

.br-option-row {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
  transition: background 0.15s;
}
.br-option-row:hover {
  background: rgba(0, 0, 0, 0.3);
}
.br-option-row .mc-correct {
  width: 18px;
  height: 18px;
  accent-color: #24da98;
  flex-shrink: 0;
}

.br-avatar-purple {
  background: rgba(159, 64, 226, 0.2);
  border-color: rgba(159, 64, 226, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-icon-purple {
  color: #9f40e2;
}

.br-icon-lg {
  font-size: 28px;
}

.br-required {
  color: #f44336;
  font-size: 10px;
  letter-spacing: 0;
}

.br-qr-preview {
  height: 198px;
  width: 198px;
}

.br-section-desc {
  display: block;
  margin: -12px 0 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.br-section-title {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.9);
}

.br-input-readonly {
  color: rgba(255, 255, 255, 0.5);
}

.br-input-auto {
  width: auto;
}

.br-btn-sm {
  padding: 5px 10px;
  font-size: 11px;
  gap: 4px;
}

.br-btn-submit {
  padding: 10px 24px;
  font-size: 14px;
}

.br-mt-lg {
  margin-top: 24px;
}

.br-ml-auto {
  margin-left: auto;
}

.br-tabs-inline {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(28, 194, 235, 0.08);
  padding-bottom: 12px;
}

.br-tab-content {
  padding-top: 12px;
}

.br-th-narrow {
  width: 50px;
}

.br-th-actions {
  width: 120px;
  text-align: right;
}

.br-td-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-code-value {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.br-code-expired {
  opacity: 0.5;
}

.br-empty-sm {
  padding: 20px;
}

.br-empty-md {
  padding: 24px;
}

.br-form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.br-form-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.br-label-optional {
  color: rgba(255, 255, 255, 0.5);
}

.br-form-label-sm {
  font-size: 11px;
}

.br-input-narrow {
  width: 120px;
}

.br-input-file {
  padding: 7px 14px;
}

.br-flex-1 {
  flex: 1;
}

.br-upload-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.br-file-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-thumb-preview {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.br-btn-xs {
  padding: 2px 6px;
  font-size: 10px;
}

.br-scorm-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 0;
}
.br-scorm-status.br-scorm-ready {
  color: #24da98;
}

.br-skin-panel-centered {
  text-align: center;
  padding: 16px;
}

.br-muted {
  color: rgba(255, 255, 255, 0.5);
}

.br-warning-inline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
}

.br-icon-warning {
  color: #ffc107;
}

.br-rewards-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.br-rewards-title {
  margin-bottom: 10px;
}

.br-rewards-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.br-rewards-note p {
  margin: 0 0 12px;
  font-size: 15px;
  opacity: 0.8;
}
.br-rewards-note p:last-child {
  margin-bottom: 0;
}

.br-text-center {
  text-align: center;
}

.br-step-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.br-step-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}
.br-step-option:hover {
  background: rgba(28, 194, 235, 0.1);
  border-color: rgba(28, 194, 235, 0.3);
}
.br-step-option.disabled {
  cursor: default;
  opacity: 0.7;
}
.br-step-option.disabled:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.br-step-option.br-option-correct {
  background: rgba(36, 218, 152, 0.15);
  border-color: rgba(36, 218, 152, 0.4);
}

.br-step-option-text {
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.br-step-option-image {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.br-step-question-image {
  max-width: 100%;
  border-radius: 12px;
  margin: 8px 0;
}

.br-step-feedback {
  display: none;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}
.br-step-feedback.br-step-feedback-success {
  display: block;
  padding: 12px;
  background: rgba(36, 218, 152, 0.15);
  border: 1px solid rgba(36, 218, 152, 0.3);
  color: #24da98;
  margin: 12px 0;
}
.br-step-feedback.br-step-feedback-error {
  display: block;
  padding: 12px;
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
  margin: 12px 0;
}

.br-step-prompt {
  margin: 16px 0 8px;
}

.br-step-mc-hint {
  font-size: 13px;
  color: rgba(28, 194, 235, 0.7);
  margin: 4px 0 0;
  font-weight: 600;
}

.br-option-check-icon {
  margin-left: auto;
  color: #24da98;
  font-size: 16px;
}

.br-step-recorded {
  padding: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-align: center;
}

.br-step-input-wrap {
  margin: 16px 0;
}

.br-step-keyphrase-input {
  text-align: center;
  font-size: 18px;
  padding: 12px;
  width: 100%;
  max-width: 400px;
}

.br-step-answered-value {
  font-size: 22px;
  font-weight: 900;
  color: #24da98;
  letter-spacing: 1px;
  margin: 12px 0 4px;
}

.br-cryptex-wheels {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 20px 0;
}

.cryptex-wheel {
  width: 42px;
  height: 52px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0;
  border-radius: 6px;
}

.br-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.br-rating-label {
  font-size: 12px;
  opacity: 0.5;
}

.br-rating-buttons {
  display: flex;
  gap: 6px;
}

.sr-rating-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid rgba(28, 194, 235, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.sr-rating-btn:hover {
  border-color: rgba(28, 194, 235, 0.5);
  background: rgba(28, 194, 235, 0.15);
}

.br-rating-active {
  background: rgba(28, 194, 235, 0.3) !important;
  border-color: rgba(28, 194, 235, 0.6) !important;
}

.br-poll-option {
  position: relative;
}

.br-poll-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--poll-w, 0%);
  background: rgba(28, 194, 235, 0.12);
  transition: width 0.3s;
}

.br-poll-pct {
  position: relative;
  z-index: 1;
  font-weight: 700;
  color: #1cc2eb;
  margin-left: auto;
}

.br-step-upload-area {
  margin: 16px 0;
}

.br-step-upload-hint {
  font-size: 11px;
  opacity: 0.4;
  margin-top: 6px;
}

.br-step-uploaded-preview {
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
  margin: 12px 0;
}

.br-step-uploaded-video {
  max-width: 100%;
  border-radius: 12px;
  margin: 12px 0;
}

.br-puzzle-prompt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  padding: 16px 20px;
  max-width: 800px;
}

.br-puzzle-done {
  padding: 20px;
  text-align: center;
}

.br-puzzle-complete-image {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

.br-puzzle-wrap {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 20px auto;
}

.br-puzzle-board {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(28, 194, 235, 0.2);
  border-radius: 6px;
}
.br-puzzle-board.br-puzzle-solved {
  border-color: #24da98;
  box-shadow: 0 0 20px rgba(36, 218, 152, 0.3);
}

.br-puzzle-slot {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

.br-puzzle-piece {
  position: absolute;
  cursor: grab;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.15s;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  overflow: hidden;
  z-index: 5;
}
.br-puzzle-piece:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 10;
}
.br-puzzle-piece:hover .br-puzzle-rotate-btn {
  opacity: 1;
}
.br-puzzle-piece.br-puzzle-dragging {
  cursor: grabbing;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  transition: none;
  z-index: 100;
}
.br-puzzle-piece.br-puzzle-piece-correct {
  box-shadow: 0 0 0 2px #24da98;
  cursor: default;
  z-index: 4;
}
.br-puzzle-piece.br-puzzle-piece-correct .br-puzzle-rotate-btn {
  display: none;
}

.br-puzzle-piece-inner {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.br-puzzle-rotate-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 15px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  z-index: 6;
  padding: 0;
}
.br-puzzle-rotate-btn:hover {
  background: rgba(28, 194, 235, 0.8);
}

.br-puzzle-hint {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 8px 0 0;
}

.br-ot-answer-display {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.br-ot-answer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.br-ot-answer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 12px;
}
.br-ot-answer-text p {
  margin: 0 0 8px;
}

.br-ai-help {
  margin-top: 16px;
}
.br-ai-help summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
}
.br-ai-help summary:hover {
  color: #ffffff;
}

.br-ai-help-content {
  padding: 12px 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.br-ai-help-content ol {
  padding-left: 20px;
  margin: 8px 0;
}
.br-ai-help-content ol li {
  margin-bottom: 6px;
}
.br-ai-help-content a {
  color: #1cc2eb;
  text-decoration: underline;
}
.br-ai-help-content code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}

.br-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 6px;
  background: rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s, background 0.2s;
}
.br-accordion[open] {
  border-color: rgba(28, 194, 235, 0.4);
  background: rgba(28, 194, 235, 0.04);
}
.br-accordion[open] .br-accordion-header {
  border-bottom: 1px solid rgba(28, 194, 235, 0.15);
  background: rgba(28, 194, 235, 0.08);
}
.br-accordion[open] .br-accordion-arrow {
  transform: rotate(-90deg);
}
.br-accordion[open] .br-accordion-body {
  display: block;
}

.br-accordion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
  transition: background 0.15s;
}
.br-accordion-header:hover {
  background: rgba(255, 255, 255, 0.04);
}
.br-accordion-header::-webkit-details-marker {
  display: none;
}
.br-accordion-header::marker {
  display: none;
  content: "";
}

.br-accordion-title {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.br-accordion-key {
  font-size: 11px;
  color: #1cc2eb;
  background: rgba(28, 194, 235, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
}

.br-accordion-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

.br-accordion-arrow {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s;
  transform: rotate(180deg);
  flex-shrink: 0;
}

.br-accordion-action {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.br-accordion-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.br-accordion-new-plan {
  display: none;
  background: rgba(4, 22, 30, 0.5);
  border: 1px solid rgba(28, 194, 235, 0.15);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .br-puzzle-wrap {
    max-width: 100%;
  }
}
.br-branch-cards {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.br-path-choice-card {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  padding: 20px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  color: #ffffff;
}
.br-path-choice-card:hover {
  border-color: rgba(28, 194, 235, 0.5);
  background: rgba(28, 194, 235, 0.1);
  transform: translateY(-2px);
}

.br-path-card-badge {
  max-width: 70px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.br-path-card-name {
  font-weight: 700;
  font-size: 16px;
}

.br-path-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.br-branch-chosen {
  padding: 16px;
  border-radius: 12px;
  background: rgba(28, 194, 235, 0.1);
  border: 1px solid rgba(28, 194, 235, 0.25);
  margin: 16px 0;
}

.br-branch-chosen-badge {
  max-width: 80px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.br-branch-chosen-name {
  font-size: 18px;
  font-weight: 700;
  color: #1cc2eb;
}

.br-branch-chosen-label {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 4px;
}

.br-branch-warning {
  font-size: 11px;
  opacity: 0.35;
}

.br-branch-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.br-branch-opt {
  padding: 8px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}
.br-branch-opt:hover {
  border-color: rgba(28, 194, 235, 0.4);
  background: rgba(28, 194, 235, 0.08);
}
.br-branch-opt.active {
  border-color: rgba(159, 64, 226, 0.6);
  background: rgba(159, 64, 226, 0.15);
}
.br-branch-opt.active:first-child {
  border-color: rgba(28, 194, 235, 0.6);
  background: rgba(28, 194, 235, 0.12);
}

.br-branch-add {
  border-style: dashed;
  border-color: rgba(28, 194, 235, 0.3);
  background: transparent;
  color: rgba(28, 194, 235, 0.7);
}

.br-branch-count {
  font-size: 10px;
  opacity: 0.5;
  margin-left: 4px;
}

.br-branch-inline-form {
  display: none;
  margin-top: 10px;
  align-items: center;
  gap: 8px;
}
.br-branch-inline-form .br-input {
  flex: 1;
  max-width: 250px;
}

.br-step-item.ui-sortable-helper {
  opacity: 0.85;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.br-step-list .ui-sortable-placeholder {
  visibility: visible !important;
  height: 52px;
  background: rgba(28, 194, 235, 0.06);
  border: 1px dashed rgba(28, 194, 235, 0.25);
  border-radius: 6px;
}

@media (max-width: 768px) {
  .br-page-header {
    flex-direction: column;
    text-align: center;
  }
  .br-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .br-table {
    display: block;
    overflow-x: auto;
  }
  .br-step-row {
    gap: 8px;
    padding: 6px 8px;
  }
  .br-step-type {
    display: none;
  }
  .br-player-card {
    padding: 6px 10px;
    gap: 8px;
  }
  .br-player-avatar {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  .br-page-title {
    font-size: 26px;
  }
  .br-tab-btn {
    font-size: 13px;
    padding: 8px 10px;
  }
}
.br-journey-manager {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 80px;
  color: #ffffff;
}

.br-search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
}
.br-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  padding: 8px 12px 8px 34px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.br-search input:focus {
  border-color: rgba(28, 194, 235, 0.4);
}
.br-search input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.br-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.br-search .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  pointer-events: none;
}

.br-type-filters {
  display: flex;
  gap: 4px;
}

.br-type-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #ffffff;
  transition: all 0.15s;
  background: rgba(255, 255, 255, 0.06);
}
.br-type-btn:hover {
  opacity: 0.8;
}
.br-type-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}
.br-type-btn.t-all {
  background: rgba(255, 255, 255, 0.12);
}
.br-type-btn.t-quest {
  background: rgba(33, 150, 243, 0.25);
  color: #2196f3;
}
.br-type-btn.t-mission {
  background: rgba(255, 152, 0, 0.25);
  color: #ff9800;
}
.br-type-btn.t-challenge {
  background: rgba(244, 67, 54, 0.25);
  color: #f44336;
}
.br-type-btn.t-survey {
  background: rgba(0, 150, 136, 0.25);
  color: #009688;
}

.br-table-wrap {
  padding: 0 8px;
}

.br-action-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px 12px 8px;
  background: rgba(11, 61, 79, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.br-action-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  font-family: inherit;
}
.br-action-link .icon {
  font-size: 11px;
}
.br-action-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}
.br-action-link.edit {
  color: #24da98;
  border-color: rgba(36, 218, 152, 0.15);
}
.br-action-link.edit:hover {
  background: rgba(36, 218, 152, 0.1);
}
.br-action-link.expand {
  color: #1cc2eb;
  border-color: rgba(28, 194, 235, 0.15);
}
.br-action-link.expand:hover, .br-action-link.expand.open {
  background: rgba(28, 194, 235, 0.1);
}
.br-action-link.lock {
  color: #f7cb15;
  border-color: rgba(247, 203, 21, 0.15);
}
.br-action-link.lock:hover {
  background: rgba(247, 203, 21, 0.1);
}
.br-action-link.unlock {
  color: #24da98;
  border-color: rgba(36, 218, 152, 0.15);
}
.br-action-link.unlock:hover {
  background: rgba(36, 218, 152, 0.1);
}
.br-action-link.duplicate {
  color: #c88af1;
  border-color: rgba(159, 64, 226, 0.15);
}
.br-action-link.duplicate:hover {
  background: rgba(159, 64, 226, 0.1);
}
.br-action-link.trash {
  color: #ff7a6e;
  border-color: rgba(244, 67, 54, 0.15);
}
.br-action-link.trash:hover {
  background: rgba(244, 67, 54, 0.1);
}
.br-action-link.validate-toggle.on {
  color: #00bcd4;
  border-color: rgba(0, 188, 212, 0.15);
}
.br-action-link.validate-toggle.on:hover {
  background: rgba(0, 188, 212, 0.1);
}
.br-action-link.optional-toggle.on {
  color: #9f40e2;
  border-color: rgba(159, 64, 226, 0.15);
}
.br-action-link.optional-toggle.on:hover {
  background: rgba(159, 64, 226, 0.1);
}

.br-type-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  color: #ffffff;
  border: none;
}
.br-type-icon.quest {
  background: rgba(33, 150, 243, 0.3);
  color: #2196f3;
}
.br-type-icon.mission {
  background: rgba(255, 152, 0, 0.3);
  color: #ff9800;
}
.br-type-icon.challenge {
  background: rgba(244, 67, 54, 0.3);
  color: #f44336;
}
.br-type-icon.survey {
  background: rgba(0, 150, 136, 0.3);
  color: #009688;
}

.br-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.br-name {
  min-width: 0;
}
.br-name input[type=text] {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #ffffff;
  padding: 5px 8px;
  font-size: 26px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.br-name input[type=text]:hover, .br-name input[type=text]:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  outline: none;
}

.br-num {
  display: flex;
  align-items: center;
  gap: 4px;
}
.br-num .icon {
  font-size: 12px;
  opacity: 0.4;
}
.br-num.br-num-static span {
  padding: 5px 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.br-num input[type=number] {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #ffffff;
  padding: 5px 6px;
  font-size: 13px;
  text-align: center;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
  transition: border-color 0.2s, background 0.2s;
}
.br-num input[type=number]::-webkit-inner-spin-button, .br-num input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.br-num input[type=number]:hover, .br-num input[type=number]:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  outline: none;
}

.br-quick-edit {
  display: none;
  grid-column: 1/-1;
  padding: 12px 16px;
  background: rgba(11, 61, 79, 0.4);
  border: 1px solid rgba(28, 194, 235, 0.12);
  border-radius: 0 0 10px 10px;
  margin: -1px 0 6px;
}
.br-quick-edit.open {
  display: block;
}

.br-qe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.br-qe-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.br-qe-field input, .br-qe-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}
.br-qe-field input:focus, .br-qe-field select:focus {
  border-color: rgba(28, 194, 235, 0.4);
}
.br-qe-field select option {
  background: #0b3d4f;
  color: #ffffff;
}

.br-section-body {
  background: rgba(11, 61, 79, 0.2);
  border: 1px solid rgba(28, 194, 235, 0.08);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.br-section-body.collapsed {
  display: none;
}

.br-sortable .ui-sortable-helper {
  background: rgba(4, 22, 30, 0.95) !important;
  border: 1px solid rgba(28, 194, 235, 0.4) !important;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.br-sortable .br-sortable-placeholder {
  background: rgba(28, 194, 235, 0.06);
  border: 2px dashed rgba(28, 194, 235, 0.3);
  border-radius: 8px;
  visibility: visible !important;
  margin: 2px 0;
}
.br-sortable .row-container {
  cursor: default;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.1);
}
.br-sortable .row-container:nth-of-type(even) {
  background: #04161e;
}

@media (max-width: 900px) {
  .br-table-header,
  .br-row {
    grid-template-columns: 30px 30px 1fr 50px 60px 60px 90px;
    font-size: 12px;
  }
  .br-table-header.with-ep,
  .br-row.with-ep {
    grid-template-columns: 30px 30px 1fr 50px 60px 60px 60px 90px;
  }
  .br-drag {
    display: none;
  }
  .br-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .br-summary-bar {
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 12px;
  }
  .br-dt-row {
    grid-template-columns: 30px 1fr 60px 60px 100px;
  }
  .br-action-bar {
    padding: 4px 8px;
  }
}
@media (max-width: 600px) {
  .br-table-header,
  .br-row {
    grid-template-columns: 30px 1fr 50px 50px 80px;
    gap: 4px;
    padding: 6px 8px;
  }
  .br-table-header.with-ep,
  .br-row.with-ep {
    grid-template-columns: 30px 1fr 50px 50px 50px 80px;
  }
  .br-toolbar {
    gap: 6px;
    padding: 8px 10px;
  }
  .br-qe-grid {
    grid-template-columns: 1fr 1fr;
  }
  .br-dt-row {
    grid-template-columns: 1fr 60px 100px;
  }
  .br-action-link {
    font-size: 10px;
    padding: 2px 6px;
  }
}
.br-wall-tabs {
  margin-bottom: 16px;
}

.br-wall-channel.hidden {
  display: none;
}

.br-wall-composer {
  margin-bottom: 16px;
}
.br-wall-composer.hidden {
  display: none;
}
.br-wall-composer textarea.br-input {
  resize: vertical;
  min-height: 70px;
  margin-bottom: 10px;
}

.br-wall-composer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.br-wall-feed {
  min-height: 120px;
}

.br-wall-card {
  background: rgba(11, 61, 79, 0.6);
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.br-wall-card:hover {
  border-color: rgba(28, 194, 235, 0.35);
}

.br-wall-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.br-wall-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.br-wall-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.br-wall-author {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-wall-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-wall-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.br-wall-body p {
  margin: 0 0 8px;
}
.br-wall-body p:last-child {
  margin-bottom: 0;
}
.br-wall-body img {
  max-width: 100%;
  border-radius: 6px;
}

.br-wall-trash {
  margin-left: auto;
  flex-shrink: 0;
}

.br-wall-guild-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: rgba(11, 61, 79, 0.6);
  border-left: 4px solid #00bcd4;
  border-radius: 12px;
}

.br-wall-guild-name {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.br-activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.br-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s;
}
.br-activity-item:hover {
  background: rgba(28, 194, 235, 0.04);
}
.br-activity-item + .br-activity-item {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.br-activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.br-activity-icon.green {
  background: rgba(36, 218, 152, 0.15);
  color: #24da98;
}
.br-activity-icon.red {
  background: rgba(244, 67, 54, 0.15);
  color: #f44336;
}
.br-activity-icon.amber {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}
.br-activity-icon.blue {
  background: rgba(28, 194, 235, 0.15);
  color: #1cc2eb;
}
.br-activity-icon.purple {
  background: rgba(159, 64, 226, 0.15);
  color: #9f40e2;
}
.br-activity-icon.teal {
  background: rgba(0, 188, 212, 0.15);
  color: #00bcd4;
}
.br-activity-icon.orange {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
}
.br-activity-icon.default {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.br-activity-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.br-activity-action {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.br-activity-action strong {
  color: #ffffff;
}

.br-activity-detail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-activity-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.br-admin-log-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.br-admin-log-toolbar .br-search {
  flex: 1 1 200px;
  max-width: 320px;
}

.br-admin-log {
  border-radius: 12px;
  overflow: hidden;
}
.br-admin-log .br-table {
  font-size: 13px;
}

.br-admin-log-content {
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .br-wall-card {
    padding: 12px;
  }
  .br-wall-avatar {
    width: 34px;
    height: 34px;
  }
  .br-activity-item {
    padding: 8px 10px;
    gap: 8px;
  }
  .br-activity-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .br-admin-log-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .br-admin-log-toolbar .br-search {
    max-width: none;
  }
  .br-admin-log-content {
    max-width: 120px;
  }
}
.br-input-group {
  display: flex;
  align-items: center;
  gap: 0;
}
.br-input-group .br-input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.br-input-suffix {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  border-radius: 0 12px 12px 0;
  white-space: nowrap;
  height: 38px;
  box-sizing: border-box;
}

.br-panel-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: -12px 0 16px;
}

.br-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 600;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.br-question-item {
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.br-question-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s;
}
.br-question-header:hover {
  background: rgba(255, 255, 255, 0.07);
}
.br-question-header .question-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-question-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  flex-shrink: 0;
}

.br-question-chevron {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.accordion-tab.active .br-question-chevron {
  transform: rotate(180deg);
}

.br-question-body {
  padding: 16px;
  background: rgba(0, 0, 0, 0.15);
}

.br-question-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
}

.br-question-upload form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.br-options-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.br-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.br-option-row:last-child {
  border-bottom: none;
}

.br-opt-col-toggle {
  flex-shrink: 0;
  width: 92px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.br-opt-col-img {
  flex-shrink: 0;
  width: 60px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.br-opt-img-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3) center/cover no-repeat;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s;
}
.br-opt-img-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.br-opt-img-clear {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: none;
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  font-size: 10px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.br-opt-img-clear:hover {
  background: rgba(244, 67, 54, 0.4);
}

.br-opt-col-text {
  flex: 1;
}
.br-opt-col-text .br-input {
  margin-bottom: 0;
}

.br-opt-col-del {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .br-option-row {
    flex-wrap: wrap;
  }
  .br-options-header {
    display: none;
  }
  .br-opt-col-text {
    min-width: 100%;
    order: 10;
  }
}
@media (max-width: 480px) {
  .br-wall-composer-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .br-wall-composer-actions .br-btn {
    justify-content: center;
  }
  .br-activity-action {
    font-size: 13px;
  }
  .br-activity-time {
    font-size: 11px;
  }
}
.br-initially-hidden {
  display: none;
}

.svg-clip-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.br-page-narrow {
  max-width: 900px;
}

.br-btn-submit {
  padding: 10px 24px;
  font-size: 14px;
}

.br-select-auto {
  width: auto;
}

.br-form-hint-block {
  display: block;
  margin-top: -12px;
  margin-bottom: 16px;
}

.br-avatar-red {
  background: rgba(244, 67, 54, 0.2);
  border-color: rgba(244, 67, 54, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-avatar-teal {
  background: rgba(0, 188, 212, 0.2);
  border-color: rgba(0, 188, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-avatar-green {
  background: rgba(36, 218, 152, 0.2);
  border-color: rgba(36, 218, 152, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-avatar-blue {
  background: rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-avatar-brown {
  background: rgba(121, 85, 72, 0.25);
  border-color: rgba(121, 85, 72, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-icon-red {
  color: #f44336;
}

.br-icon-teal {
  color: #00bcd4;
}

.br-icon-green {
  color: #24da98;
}

.br-icon-blue {
  color: #2196f3;
}

.br-icon-brown {
  color: #8d6e63;
}

.br-icon-md {
  font-size: 24px;
}

.br-page-mid {
  max-width: 1000px;
}

.br-form-label-green {
  color: #24da98;
}

.br-form-label-red {
  color: #f44336;
}

.br-input-green {
  border-color: rgba(36, 218, 152, 0.25);
}

.br-input-red {
  border-color: rgba(244, 67, 54, 0.2);
}

.br-text-muted-sm {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.br-member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(28, 194, 235, 0.2);
}

.br-search-inline {
  position: relative;
}
.br-search-inline .icon {
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}
.br-search-inline .br-input {
  padding-left: 34px;
}

.br-helper-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 8px;
}

.br-confirm-dialog {
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
}

.br-confirm-dialog-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.br-confirm-dialog-actions {
  display: flex;
  gap: 6px;
}

.br-empty-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 16px;
}

.br-badge-ml {
  margin-left: 8px;
}

.br-mt-sm {
  margin-top: 16px;
}

.br-mt-md {
  margin-top: 24px;
}

.br-mb-sm {
  margin-bottom: 8px;
}

.br-mb-md {
  margin-bottom: 16px;
}

.br-mb-14 {
  margin-bottom: 14px;
}

.br-btn-compact {
  padding: 4px 10px;
}

.br-speaker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.br-speaker-label {
  cursor: pointer;
}
.br-speaker-label.active {
  background: rgba(28, 194, 235, 0.18);
  border-color: rgba(28, 194, 235, 0.4);
}

.br-speaker-hero {
  position: relative;
  padding: 40px 28px;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.br-speaker-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 30, 0.55), rgba(4, 22, 30, 0.92));
}

.br-speaker-hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.br-speaker-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
}

.br-speaker-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.br-speaker-edit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.br-speaker-bio {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.br-speaker-sessions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.br-speaker-session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.br-speaker-session-row:last-child {
  border-bottom: none;
}

.br-speaker-session-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.br-speaker-session-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.br-speaker-session-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 6px 0 0;
}

.br-flex {
  display: flex;
}

.br-flex-center {
  display: flex;
  align-items: center;
}

.br-flex-wrap {
  flex-wrap: wrap;
}

.br-gap-sm {
  gap: 8px;
}

.br-gap-md {
  gap: 16px;
}

.br-mr-sm {
  margin-right: 8px;
}

.br-badge-sm {
  font-size: 9px;
}

.br-flex-mt-sm {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.br-input-suffix-sm {
  font-size: 10px;
}

.br-badge-ml-sm {
  margin-left: 4px;
  font-size: 10px;
}

.br-config-header-icon {
  background: rgba(28, 194, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(28, 194, 235, 0.4);
}
.br-config-header-icon .icon {
  font-size: 28px;
  color: #1cc2eb;
}

.br-config-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.br-config-setting-row {
  border-left: 3px solid rgba(28, 194, 235, 0.3);
  cursor: default;
  align-items: flex-start;
  padding: 10px 14px;
}

.br-config-setting-body {
  flex: 1;
  min-width: 0;
}

.br-config-setting-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: block;
}

.br-config-setting-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-config-setting-control {
  flex-shrink: 0;
  min-width: 180px;
}

.br-config-settings-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.br-config-code-name {
  color: #1cc2eb;
  font-size: 12px;
}

.br-config-feature-actions {
  display: flex;
  gap: 4px;
}

.br-config-feature-btn {
  width: 28px;
  height: 28px;
}

.br-config-feature-form {
  display: none;
  background: rgba(4, 22, 30, 0.5);
  border: 1px solid rgba(28, 194, 235, 0.15);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
}

.br-config-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.br-config-section-divider {
  border-top: 1px solid rgba(28, 194, 235, 0.1);
  margin-top: 20px;
  padding-top: 20px;
}

.br-config-id-cell {
  opacity: 0.4;
}

.br-config-name-cell {
  font-weight: 600;
}

.br-config-feature-desc-cell {
  font-size: 12px;
  opacity: 0.5;
}

.br-config-add-row {
  margin-top: 12px;
}

.br-config-org-logo {
  height: 40px;
  border-radius: 6px;
}

.br-config-org-actions {
  display: flex;
  gap: 4px;
}

.br-config-icon-hint {
  opacity: 0.5;
}

.br-config-save-btn {
  padding: 10px 24px;
  font-size: 14px;
}

.br-stats-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.br-stats-filter-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.br-stats-date-input {
  padding: 4px 8px;
  font-size: 12px;
  width: auto;
}

.br-stats-date-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.br-stats-btn-sm {
  padding: 4px 12px;
  font-size: 12px;
}

.br-stats-btn-reset {
  padding: 4px 10px;
  font-size: 11px;
  opacity: 0.6;
}

.br-stats-sortable {
  cursor: pointer;
}

.br-stats-kpi-small {
  font-size: 14px;
  opacity: 0.5;
}

.br-stats-kpi-label-note {
  font-size: 10px;
  opacity: 0.5;
}

.br-stats-breakdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.br-stats-breakdown-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-stats-info-icon {
  cursor: help;
  opacity: 0.4;
  font-size: 12px;
  margin-left: 2px;
}

.br-stats-section-gap {
  margin-top: 8px;
}

.br-stats-search-wrap {
  margin-bottom: 12px;
}

.br-stats-funnel-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-stats-funnel-btn {
  min-width: 24px;
  height: 24px;
  font-size: 11px;
}

@media (max-width: 768px) {
  .br-mf-chart-shell {
    aspect-ratio: 4/3;
  }
}
.br-trnx-id {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.br-trnx-email {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.br-trnx-date {
  font-size: 13px;
}

.br-trnx-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

.br-trnx-search-icon {
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.br-trnx-search-input {
  padding-left: 34px;
}

.br-trnx-total {
  text-align: right;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(28, 194, 235, 0.1);
}

.br-trnx-total-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.br-trnx-total-value {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #f7cb15;
  margin-left: 10px;
}

.br-trnx-total-unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 4px;
}

.br-trnx-btn-action {
  padding: 4px 8px;
}

.br-trnx-new-badge {
  font-size: 9px;
}

.br-leaderboard-header {
  text-align: center;
  margin-bottom: 24px;
}

.br-leaderboard-title {
  font-size: 40px;
}

.br-leaderboard-highlight {
  background: rgba(28, 194, 235, 0.1);
}

.br-leaderboard-xp {
  color: #1cc2eb;
  font-weight: 700;
}

.br-leaderboard-bloo {
  color: #f7cb15;
  font-weight: 700;
}

.br-requests-header {
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}

.br-requests-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.br-requests-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.br-requests-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 10px;
  font-size: 22px;
  color: #2196f3;
}

.br-requests-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.br-requests-filters {
  border-radius: 0;
  margin-bottom: 0;
  padding: 12px 24px;
}

.br-requests-list {
  border-radius: 0 0 12px 12px;
}

.br-secrets-title {
  background-color: rgba(0, 0, 0, 0.5);
}

.br-secrets-message-header {
  background-color: rgba(0, 0, 0, 0.3);
}

.br-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.br-secrets-card {
  position: relative;
  overflow: hidden;
}

.br-secrets-message-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.br-schedule-day {
  margin-bottom: 20px;
  text-align: left;
}

.br-schedule-day-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(28, 194, 235, 0.2);
}

.br-schedule-day-number {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #1cc2eb;
  line-height: 1;
}

.br-schedule-day-labels {
  display: flex;
  flex-direction: column;
}

.br-schedule-day-weekday {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.br-schedule-day-month {
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
}

.br-schedule-session-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  margin-bottom: 10px;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.br-schedule-session-card:hover {
  border-color: rgba(28, 194, 235, 0.3);
  background: rgba(28, 194, 235, 0.05);
}

.br-schedule-session-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(28, 194, 235, 0.2);
  flex-shrink: 0;
}

.br-schedule-session-body {
  flex: 1;
  min-width: 0;
}

.br-schedule-session-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.br-schedule-session-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.br-schedule-session-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.br-schedule-session-edit {
  position: absolute;
  top: 8px;
  right: 8px;
}

.br-schedule-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.br-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  align-items: center;
  justify-content: center;
}
.br-modal-overlay.active {
  display: flex;
}

.br-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 14, 0.75);
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.br-modal {
  position: relative;
  z-index: 1;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.br-schedule-detail {
  width: min(640px, 92vw);
  border-radius: 12px;
}

.br-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.br-modal-header-title {
  margin: 0;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
}

.br-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.br-modal-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.br-modal-close:hover {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
}

.br-schedule-detail-hero {
  height: 140px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.br-schedule-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 22, 30, 0.2), rgba(4, 22, 30, 0.85));
}

.br-schedule-detail-body {
  padding: 20px;
  overflow-y: auto;
}

.br-schedule-speakers-panel {
  margin: 16px 0;
}

.br-schedule-detail-description {
  margin-top: 16px;
}

.br-schedule-speaker-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.br-schedule-speaker-chip:last-child {
  margin-bottom: 0;
}

.br-schedule-speaker-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(28, 194, 235, 0.2);
  flex-shrink: 0;
}

.br-wall-log-avatar {
  width: 32px;
  height: 32px;
}

.br-m0 {
  margin: 0;
}

.br-w-full {
  width: 100%;
}

.br-flex-1 {
  flex: 1;
}

.br-btn-mini {
  padding: 4px 10px;
  font-size: 11px;
}

.br-btn-sm-action {
  padding: 3px 8px;
  font-size: 11px;
}

.br-max-w-400 {
  max-width: 400px;
}

.br-max-w-300 {
  max-width: 300px;
}

.br-gap-6 {
  gap: 6px;
}

.br-flex-end {
  justify-content: flex-end;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.br-initially-hidden {
  display: none;
}

.br-inline-block {
  display: inline-block;
}

.br-add-option-wrap {
  padding: 8px 0;
}

.br-media-flush {
  margin: 0;
  border-radius: 0;
}

.br-confirm-popup {
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  white-space: nowrap;
}

.br-confirm-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.br-confirm-title-red {
  color: #f44336;
}

.br-confirm-title-amber {
  color: #ff9800;
}

.br-confirm-subtitle {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.br-confirm-buttons {
  display: flex;
  gap: 6px;
}

.br-ql-hint {
  display: block;
  margin: -12px 0 16px;
}

.br-ql-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.br-ql-row {
  border-left: 3px solid var(--ql-color, #1cc2eb);
  cursor: default;
}

.br-ql-icon {
  font-size: 20px;
  color: var(--ql-color, #1cc2eb);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.br-ql-info {
  flex: 1;
  min-width: 0;
}

.br-ql-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: block;
}

.br-ql-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-ql-custom-card {
  background: rgba(4, 22, 30, 0.4);
  border: 1px solid rgba(28, 194, 235, 0.1);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 10px;
}

.br-ql-custom-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.br-ql-custom-number {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 194, 235, 0.1);
  color: #1cc2eb;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.br-ql-custom-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
}

.br-ql-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.br-ql-icon-setting {
  display: flex;
  align-items: center;
  gap: 8px;
}

.br-ql-icon-btn {
  padding: 6px 14px;
  font-size: 12px;
}

.br-ql-icon-preview {
  height: 30px;
  border-radius: 4px;
}

.br-ql-custom-links-title {
  margin-top: 24px;
}

.br-manage-header-panel {
  margin-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.br-manage-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.br-manage-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.br-manage-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(159, 64, 226, 0.15);
  border-radius: 10px;
  font-size: 22px;
  color: #9f40e2;
}

.br-manage-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.br-manage-panel-title {
  margin: 0;
}

.br-manage-col-header-panel {
  margin-bottom: 0;
  margin-top: 2px;
  border-radius: 0;
  padding: 10px 16px;
}

.br-tabi-grid {
  display: grid;
  grid-template-columns: 40px 1fr 50px 50px 70px 70px 70px 80px 80px;
  gap: 8px;
}

.br-tabi-col-header {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.br-tabi-row-panel {
  margin-bottom: 2px;
  border-radius: 0;
  padding: 0;
}

.br-tabi-data-row {
  display: grid;
  grid-template-columns: 40px 1fr 50px 50px 70px 70px 70px 80px 80px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
}

.br-tabi-num {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.br-tabi-input-center {
  text-align: center;
  padding: 6px;
}

.br-tabi-input-bold {
  font-weight: 600;
}

.br-panel.br-tabi-row-panel:nth-of-type(even) {
  background: rgba(11, 61, 79, 0.3);
}

.br-tabi-check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.br-tabi-color-btn {
  background: rgba(255, 255, 255, 0.08);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
}

.br-tabi-color-swatch {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.br-tabi-color-select-row {
  display: none;
  padding: 8px 16px;
  background: rgba(4, 22, 30, 0.5);
}

.br-tabi-prereq-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.br-tabi-prereq-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.15s;
}

.br-tabi-no-others {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-branch-ach-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.br-psa-bulk-section {
  padding: 16px 0;
  border-bottom: 1px solid rgba(28, 194, 235, 0.08);
}

.br-psa-bulk-label {
  margin-bottom: 8px;
}

.br-psa-bulk-hint {
  display: block;
  margin-bottom: 10px;
}

.br-psa-bulk-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.br-psa-file-input {
  padding: 7px 14px;
  flex: 1;
  min-width: 200px;
}

.br-psa-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.br-psa-search {
  flex: 1;
  min-width: 180px;
}

.br-psa-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.br-psa-actions {
  gap: 6px;
}

.br-psa-action-btn {
  padding: 6px 14px;
  font-size: 13px;
}

.br-psa-player-meta-level {
  color: #9f40e2;
  font-weight: 700;
}

.br-myreq-card {
  padding: 16px;
  margin-bottom: 4px;
  border-radius: 0;
}

.br-myreq-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.br-myreq-body {
  flex: 1;
  min-width: 0;
}

.br-myreq-subject {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.br-myreq-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.br-myreq-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-myreq-content {
  margin-top: 10px;
  white-space: pre-wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.br-myreq-admin-response {
  margin-top: 10px;
  padding: 12px;
  background: rgba(28, 194, 235, 0.08);
  border: 1px solid rgba(28, 194, 235, 0.15);
  border-radius: 8px;
}

.br-myreq-admin-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1cc2eb;
}

.br-myreq-admin-text {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap;
}

.br-myreq-updated {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-auc-code-cell {
  position: relative;
}

.br-auc-code-value {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}

.br-auc-copied-legend {
  background: #24da98;
  color: #ffffff;
  position: absolute;
  top: -6px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.3s;
}

.br-auc-actions-row {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.svg-clip-definitions {
  width: 0;
  height: 0;
  overflow: hidden;
}

.br-mech-checkbox-btn {
  cursor: pointer;
}
.br-mech-checkbox-btn.is-checked {
  background: rgba(28, 194, 235, 0.18);
  border-color: rgba(28, 194, 235, 0.4);
}
.br-mech-checkbox-btn.is-checked-green {
  background: rgba(36, 218, 152, 0.18);
  border-color: rgba(36, 218, 152, 0.4);
}
.br-mech-checkbox-btn input[type=checkbox] {
  display: none;
}

.br-text-center {
  text-align: center;
}

.br-pagination-ellipsis {
  color: rgba(255, 255, 255, 0.5);
}

.br-lb-rank-cell {
  width: 28px;
}

.br-lb-name-cell {
  padding: 2px 6px;
}

.br-lb-avatar-inline {
  display: inline-block;
  background-size: cover;
  border-radius: 50%;
  vertical-align: middle;
}

.br-lb-level-cell {
  width: 32px;
}

.br-adv-header-avatar {
  background: rgba(255, 152, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 152, 0, 0.4);
}

.br-adv-header-icon {
  font-size: 28px;
  color: #ff9800;
}

.br-adv-enrolled-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.br-adv-enrolled-search {
  flex: 1;
  min-width: 200px;
}

.br-adv-enrolled-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.br-adv-features-actions {
  margin-left: auto;
  display: inline-flex;
  gap: 6px;
}

.br-icon-red {
  color: #f44336;
}

.br-icon-primary {
  color: #1cc2eb;
}

.br-icon-green {
  color: #24da98;
}

.br-icon-purple {
  color: #9f40e2;
}

.br-table-scroll {
  overflow-x: auto;
  width: 100%;
}

.br-roster-head-scroll {
  position: sticky;
  top: 50px;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #04161e;
  z-index: 7;
  border-bottom: 2px solid rgba(28, 194, 235, 0.2);
}

.br-roster-scroll {
  overflow-x: auto;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.br-roster-scroll::-webkit-scrollbar {
  display: none;
}

.br-roster-scrollbar-track {
  position: sticky;
  bottom: 50px;
  height: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(28, 194, 235, 0.2);
  border-bottom: 1px solid rgba(28, 194, 235, 0.2);
  z-index: 7;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.35);
  scrollbar-color: #1cc2eb rgba(255, 255, 255, 0.06);
}
.br-roster-scrollbar-track div {
  height: 1px;
}
.br-roster-scrollbar-track::-webkit-scrollbar {
  height: 18px;
}
.br-roster-scrollbar-track::-webkit-scrollbar-track {
  background: transparent;
}
.br-roster-scrollbar-track::-webkit-scrollbar-thumb {
  background-color: #1cc2eb;
  border-radius: 9px;
  border: 4px solid transparent;
  background-clip: content-box;
}

.br-roster-table th, .br-roster-table td {
  white-space: nowrap;
}
.br-roster-table .br-roster-name-cell {
  position: sticky;
  left: 0;
  background: #04161e;
  z-index: 2;
  min-width: 180px;
}
.br-roster-table th.br-roster-name-cell {
  z-index: 5;
}

.br-roster-role-gm {
  color: #00bcd4;
}

.br-roster-role-npc {
  color: #1cc2eb;
}

.br-roster-col-header {
  text-align: center;
  min-width: 60px;
}
.br-roster-col-header img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
}

.br-roster-cell {
  text-align: center;
}

.br-roster-cell-done {
  color: #24da98;
  font-size: 18px;
}

.br-roster-cell-pending {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

.br-roster-grade-input {
  width: 56px;
  text-align: center;
  background: rgba(36, 218, 152, 0.12);
  border: 1px solid rgba(36, 218, 152, 0.4);
  border-radius: 6px;
  color: #ffffff;
  padding: 2px 4px;
  font-size: 12px;
}

.br-post-auto-complete {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(36, 218, 152, 0.1);
  border: 1px solid rgba(36, 218, 152, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}
.br-post-auto-complete .icon {
  font-size: 20px;
  color: #24da98;
  flex-shrink: 0;
}
.br-post-auto-complete strong {
  color: #ffffff;
}

.br-reward-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.br-summary-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.br-summary-stat .icon {
  font-size: 18px;
}
.br-summary-stat .br-stat-val {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #1cc2eb;
}
.br-summary-stat .br-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-gm-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(28, 194, 235, 0.08);
  border: 1px solid rgba(28, 194, 235, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-align: left;
}
.br-gm-comment .icon {
  font-size: 18px;
  color: #1cc2eb;
  flex-shrink: 0;
  margin-top: 2px;
}

.br-ap-email {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.br-ap-nick {
  color: #1cc2eb;
}
.br-ap-nick .icon {
  font-size: 11px;
  opacity: 0.7;
}

.br-ap-status-hint {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.br-ap-refresh {
  margin-left: auto;
}

.br-ap-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.br-ap-log-list li {
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.br-roster-wrap {
  width: 100%;
}

.br-row-num {
  width: 48px;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}

.br-sort-icon {
  font-size: 10px;
  color: #1cc2eb;
}

.br-step-item-display {
  margin: 16px auto;
  display: inline-block;
}
.br-step-item-display.br-step-item-locked {
  opacity: 0.4;
}

.br-step-item-badge {
  max-width: 100px;
  border-radius: 12px;
}

.br-step-item-name {
  font-weight: 700;
  margin-top: 6px;
}

.br-tabi-row-panel {
  border-left: 4px solid transparent;
  transition: border-left-color 0.2s;
}

.br-gallery-item-video {
  width: 100%;
  max-height: 160px;
  border-radius: 6px;
  display: none;
}
.br-gallery-item-video.active {
  display: block;
}

.br-step-edit-btn.active {
  background: rgba(36, 218, 152, 0.35);
}

.br-wall-card.br-wall-card-mine {
  border-color: rgba(28, 194, 235, 0.4);
  background: rgba(28, 194, 235, 0.08);
}
.br-wall-card.br-wall-card-system {
  border-color: rgba(236, 64, 122, 0.4);
  background: rgba(236, 64, 122, 0.08);
}

.br-wall-avatar.br-wall-avatar-system {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(236, 64, 122, 0.25);
  color: #ec407a;
  font-size: 18px;
}

.br-trnx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.br-trnx-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.br-trnx-search {
  position: relative;
}

@media (max-width: 768px) {
  .br-trnx-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .br-trnx-search-input {
    width: 100%;
  }
}
.br-leaderboard-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #04161e;
}

.br-leaderboard-rank {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.br-leaderboard-player {
  display: flex;
  align-items: center;
  gap: 12px;
}

.br-leaderboard-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(28, 194, 235, 0.25);
  flex-shrink: 0;
}

.br-leaderboard-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.br-leaderboard-level {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #9f40e2;
}
.br-leaderboard-level .icon {
  font-size: 14px;
  margin-right: 2px;
}

@media (max-width: 480px) {
  .br-leaderboard-avatar {
    width: 32px;
    height: 32px;
  }
  .br-leaderboard-medal {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}
.br-qa-toggle-row {
  display: none;
}
.br-qa-toggle-row.br-accordion-open {
  display: table-row;
}

.br-qa-header-row {
  cursor: pointer;
  transition: background 0.15s;
}
.br-qa-header-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.br-qa-header-row .br-accordion-arrow {
  display: inline-block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s;
  transform: rotate(-90deg);
}
.br-qa-header-row.br-accordion-open .br-accordion-arrow {
  transform: rotate(0deg);
}

.br-grade-good {
  color: #24da98;
}

.br-grade-mid {
  color: #f7cb15;
}

.br-grade-bad {
  color: #f44336;
}

.br-side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 92vw);
  max-height: none;
  border-radius: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 0.84, 0.44, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.br-modal-overlay.active .br-side-drawer {
  transform: translateX(0);
}

.br-side-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 24px;
}

.br-task-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
}

.br-task-list-row-main {
  min-width: 0;
  flex: 1;
}

.br-task-list-row-title {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.br-task-list-row-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.br-panel.br-task-list-row .br-action-bar {
  background: none;
  border-bottom: none;
  padding: 0;
  opacity: 1;
  flex-shrink: 0;
}

.br-dm-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  height: 65vh;
  min-height: 420px;
}

.br-dm-list-panel {
  overflow-y: auto;
  padding: 0;
}

.br-dm-conv-list {
  display: flex;
  flex-direction: column;
}

.br-dm-conv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(28, 194, 235, 0.2);
  transition: background 0.15s ease;
}
.br-dm-conv-row:hover {
  background: rgba(28, 194, 235, 0.08);
}
.br-dm-conv-row.active {
  background: rgba(28, 194, 235, 0.16);
}
.br-dm-conv-row.unread .br-dm-conv-name {
  font-weight: 700;
}

.br-dm-conv-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.br-dm-conv-name {
  font-size: 13px;
  color: #ffffff;
}

.br-dm-conv-preview {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-dm-unread-badge {
  background: #1cc2eb;
  color: #04161e;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.br-dm-thread-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.br-dm-thread-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(28, 194, 235, 0.2);
  flex-shrink: 0;
}

.br-dm-thread-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

#dm-thread-wrap {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.br-dm-thread-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.br-dm-composer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(28, 194, 235, 0.2);
  flex-shrink: 0;
}

.br-dm-composer-label {
  font-size: 12px;
  font-weight: 700;
  color: #1cc2eb;
}

.br-dm-composer-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.br-dm-composer-row textarea {
  flex: 1;
}

@media (max-width: 720px) {
  .br-dm-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 180px 1fr;
    height: auto;
  }
}
.br-task-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.br-task-instructions {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.br-task-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.br-task-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.br-task-timer-ring-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}

.br-task-timer-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.br-task-timer-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 5;
}

.br-task-timer-fg {
  fill: none;
  stroke: #1cc2eb;
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

.br-task-timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.br-task-timer-caption {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.br-task-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.br-task-qr-image {
  width: 140px;
  height: 140px;
  border-radius: 6px;
  background: #ffffff;
  padding: 6px;
}

.br-manage-section-label {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1cc2eb;
  margin: 18px 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 194, 235, 0.2);
}
.br-task-manager-row > .br-manage-section-label:first-of-type, .br-mission-manager-row > .br-manage-section-label:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.br-task-cooldown-row {
  display: flex;
  gap: 6px;
}
.br-task-cooldown-row input {
  flex: 1;
  min-width: 0;
}
.br-task-cooldown-row select {
  flex: 0 0 110px;
}

.br-mission-manager-panel {
  margin-bottom: 14px;
}

.br-mission-target-select {
  height: auto;
}

.br-mission-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.br-help-board-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.br-btn-block {
  width: 100%;
  justify-content: center;
}

.br-btn-active {
  background: rgba(28, 194, 235, 0.18);
  border-color: rgba(28, 194, 235, 0.4);
  color: #ffffff;
}

.br-btn-loading {
  opacity: 0.6;
  pointer-events: none;
}

.br-drag-handle {
  cursor: grab;
}
.br-drag-handle:active {
  cursor: grabbing;
}

.ui-sortable-placeholder {
  visibility: visible !important;
  background: rgba(28, 194, 235, 0.08);
  border: 1px dashed rgba(28, 194, 235, 0.3);
  border-radius: 10px;
  margin-bottom: 2px;
}

.br-manage-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2px;
  border-radius: 0;
}

.br-manage-sort {
  min-width: 160px;
  margin-bottom: 0;
}
.br-manage-sort select {
  min-width: 160px;
}

.br-journey-grid {
  display: grid;
  grid-template-columns: 36px 1fr 50px 44px 55px 60px 60px 120px 140px;
  gap: 8px;
  align-items: center;
}
.br-journey-grid.br-tabi-data-row {
  padding: 12px 16px;
}
.br-journey-grid.with-ep {
  grid-template-columns: 36px 1fr 50px 44px 55px 60px 60px 60px 120px 140px;
}

.br-achievement-grid {
  display: grid;
  grid-template-columns: 50px 1fr 44px 200px 90px 60px 60px;
  gap: 8px;
  align-items: center;
}
.br-achievement-grid.br-tabi-data-row {
  padding: 12px 16px;
}
.br-achievement-grid.no-magic {
  grid-template-columns: 50px 1fr 44px 60px 60px;
}

.br-encounter-grid {
  display: grid;
  grid-template-columns: 50px 1fr 128px 148px 44px 164px 80px 142px;
  gap: 8px;
  align-items: center;
}
.br-encounter-grid.br-tabi-data-row {
  padding: 12px 16px;
}
.br-encounter-grid .br-enc-flags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.br-encounter-grid .br-enc-weight-hint {
  display: block;
  font-size: 10px;
  text-align: center;
  opacity: 0.55;
  margin-top: 2px;
}

.br-enc-cat-grid {
  display: grid;
  grid-template-columns: 1fr 150px 190px 70px 80px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
}
.br-enc-cat-grid .br-form-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}

.br-weekday-picker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.br-weekday {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid rgba(28, 194, 235, 0.18);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}
.br-weekday:has(input:checked) {
  border-color: #1cc2eb;
  background: rgba(28, 194, 235, 0.12);
}

@media (max-width: 1100px) {
  .br-enc-cat-grid {
    grid-template-columns: 1fr 190px;
  }
  .br-enc-cat-grid .br-enc-cat-col-when {
    display: none;
  }
}
.br-enc-cat-every {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 4px;
}

@media (max-width: 1100px) {
  .br-enc-cat-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1100px) {
  .br-encounter-grid {
    grid-template-columns: 50px 1fr 132px 44px;
  }
  .br-encounter-grid .br-enc-col-group,
  .br-encounter-grid .br-enc-col-milestone,
  .br-encounter-grid .br-enc-col-weight,
  .br-encounter-grid .br-enc-col-flags {
    display: none;
  }
}
.br-guild-grid {
  display: grid;
  grid-template-columns: 50px 1fr 44px 120px 90px 220px;
  gap: 8px;
  align-items: center;
}
.br-guild-grid.br-tabi-data-row {
  padding: 12px 16px;
}

.br-hidden {
  display: none;
}

.br-item-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.br-item-type-btn {
  background: rgba(11, 61, 79, 0.4);
  border: 2px solid rgba(28, 194, 235, 0.2);
  border-radius: 6px;
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.br-item-type-btn .icon-image {
  width: 46px;
  height: 46px;
}
.br-item-type-btn .button-legend {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
}
.br-item-type-btn:hover {
  border-color: rgba(28, 194, 235, 0.4);
  background: rgba(28, 194, 235, 0.08);
}
.br-item-type-btn.active {
  border-color: #1cc2eb;
  background: rgba(28, 194, 235, 0.15);
  box-shadow: 0 0 0 1px rgba(28, 194, 235, 0.3);
}
.br-item-type-btn.active .button-legend {
  color: #ffffff;
}

.br-billing-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.br-billing-status-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.br-billing-status-plan {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}

.br-billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.br-plan-card {
  border-radius: 12px;
  border: 1px solid rgba(28, 194, 235, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  text-align: center;
  position: relative;
}
.br-plan-card.br-plan-card-highlight {
  border-color: #f7cb15;
  background: rgba(247, 203, 21, 0.06);
}

.br-plan-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f7cb15;
  color: #1c1c1c;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 999px;
}

.br-plan-card-name {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.br-plan-card-price {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: #1cc2eb;
  line-height: 1;
  margin-bottom: 4px;
}
.br-plan-card-price span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.br-plan-card-interval-toggle {
  display: inline-flex;
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 999px;
  padding: 3px;
  margin: 12px 0;
}
.br-plan-card-interval-toggle button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.br-plan-card-interval-toggle button.active {
  background: #1cc2eb;
  color: #06202b;
}

.br-plan-card-save {
  font-size: 11px;
  color: #24da98;
  font-weight: 700;
  margin-bottom: 12px;
}

.br-page-footer {
  display: flex;
  justify-content: center;
}

.br-news-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
}
@media (max-width: 800px) {
  .br-news-hero {
    grid-template-columns: 1fr;
  }
}

.br-news-hero-image {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  gap: 8px;
}

.br-news-hero-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.br-news-hero-title {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-decoration: none;
  display: block;
}
.br-news-hero-title:hover {
  color: #1cc2eb;
}

.br-news-hero-excerpt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.br-news-path-badge, .br-news-level-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.br-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .br-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .br-news-grid {
    grid-template-columns: 1fr;
  }
}

.br-news-mini-card {
  padding: 0;
  overflow: hidden;
}

.br-news-mini-image {
  position: relative;
  height: 130px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 8px;
}

.br-news-mini-content {
  padding: 14px;
}

.br-news-mini-path {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.br-news-mini-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.3;
}
.br-news-mini-title:hover {
  color: #1cc2eb;
}

.br-news-mini-title-locked {
  color: rgba(255, 255, 255, 0.5);
}

.br-news-list {
  margin-top: 16px;
  padding: 4px;
}

.br-news-list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s;
}
.br-news-list-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.br-news-list-row:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.02);
}

.br-news-list-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.br-news-list-body {
  flex: 1;
  min-width: 0;
}

.br-news-list-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
.br-news-list-title:hover {
  color: #1cc2eb;
}

.br-news-list-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.br-news-locked {
  opacity: 0.6;
}

.br-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .br-resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .br-resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .br-resource-grid {
    grid-template-columns: 1fr;
  }
}

.br-resource-card {
  padding: 0;
  overflow: hidden;
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
}

.br-resource-thumb {
  display: block;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.br-resource-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.br-resource-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
.br-resource-title:hover {
  color: #1cc2eb;
}

.br-resource-excerpt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  flex: 1;
}

.br-resource-actions {
  display: flex;
  gap: 6px;
  padding: 8px 14px 14px;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.br-resource-card:hover .br-resource-actions {
  opacity: 1;
}

.br-richtext-video, .br-richtext-audio {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 10px 0;
}

.br-richtext-audio {
  width: 100%;
}

.br-account-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.br-account-flash-success {
  color: #24da98;
  border-color: rgba(36, 218, 152, 0.35);
}

.br-account-flash-error {
  color: #f44336;
  border-color: rgba(244, 67, 54, 0.35);
}

.br-account-level {
  display: flex;
  align-items: center;
  gap: 14px;
}

.br-account-level-num {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1cc2eb;
}

.br-panel-danger {
  border-color: rgba(244, 67, 54, 0.3);
}

.br-panel-title-danger {
  color: #f44336;
}

.br-account-danger-action {
  text-align: center;
  position: relative;
}

.br-guild-leader-select {
  min-width: 150px;
}

.br-guild-badge-static {
  cursor: default;
  opacity: 0.75;
}
.br-guild-badge-static:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.br-notif-view-tab-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  cursor: default;
}

.br-adv-locked-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.br-bulk-bar {
  display: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid rgba(28, 194, 235, 0.25);
  border-radius: 6px;
  background: rgba(28, 194, 235, 0.08);
}
.br-bulk-bar.active {
  display: flex;
}

.br-bulk-count {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.br-bulk-count strong {
  font-size: 15px;
  font-weight: 800;
  color: #1cc2eb;
  margin-right: 3px;
}

.br-guild-pick {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #1cc2eb;
}

.br-email-progress {
  margin-top: 14px;
}

.br-email-progress-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 6px;
}

.br-email-progress-bar {
  height: 100%;
  width: 0;
  background: #24da98;
  transition: width 0.3s ease;
}

.br-import-mapping {
  margin-top: 14px;
}
.br-import-mapping .br-import-error {
  color: #f44336;
}
.br-import-mapping .br-import-warn {
  color: #ffc107;
}

.br-import-progress {
  margin-top: 16px;
}

.br-import-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.br-import-stats strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}
.br-import-stats .br-import-stat-created strong {
  color: #24da98;
}
.br-import-stats .br-import-stat-enrolled strong {
  color: #1cc2eb;
}
.br-import-stats .br-import-stat-already strong {
  color: rgba(255, 255, 255, 0.5);
}
.br-import-stats .br-import-stat-failed strong {
  color: #f44336;
}

.br-import-log {
  margin-top: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 12px 14px;
  border: 1px solid rgba(28, 194, 235, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  font: 400 12px/1.55 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color: rgba(255, 255, 255, 0.7);
  white-space: pre-wrap;
  word-break: break-word;
}
.br-import-log .br-import-ok {
  color: rgba(36, 218, 152, 0.85);
}
.br-import-log .br-import-warn {
  color: #ffc107;
}
.br-import-log .br-import-error {
  color: #f44336;
}
.br-import-log .br-import-dim {
  color: rgba(255, 255, 255, 0.5);
}

.br-add-player {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.br-ap-search {
  position: relative;
  max-width: 420px;
}
.br-ap-search input {
  padding-right: 34px;
}

.br-ap-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
}
.br-ap-clear:hover {
  color: #ffffff;
}

.br-ap-status {
  font-size: 12px;
  min-height: 16px;
  color: rgba(255, 255, 255, 0.5);
}
.br-ap-status.br-ap-status-found {
  color: rgba(36, 218, 152, 0.8);
}
.br-ap-status.br-ap-status-empty {
  color: #ffc107;
}
.br-ap-status.br-ap-status-error {
  color: #f44336;
}

.br-ap-results {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
}

.br-ap-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}
.br-ap-row:hover {
  background: rgba(255, 255, 255, 0.06);
}
.br-ap-row.br-ap-row-in {
  opacity: 0.7;
}
.br-ap-row.br-ap-row-done {
  background: rgba(36, 218, 152, 0.08);
}
.br-ap-row.br-ap-row-error {
  background: rgba(244, 67, 54, 0.08);
}

.br-ap-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.br-ap-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.br-ap-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-ap-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
}

.br-ap-action {
  flex-shrink: 0;
}

.br-ap-create-toggle {
  align-self: flex-start;
  margin-top: 4px;
}

.br-ap-create {
  margin-top: 8px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.br-ap-create-header {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.br-ap-create-error {
  color: #f44336;
  font-size: 12px;
  margin-bottom: 8px;
}

.br-ap-log {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(36, 218, 152, 0.06);
  border: 1px solid rgba(36, 218, 152, 0.2);
}

.br-ap-log-header {
  font-size: 12px;
  font-weight: 700;
  color: rgba(36, 218, 152, 0.85);
  margin-bottom: 6px;
}

.br-ap-log ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  max-height: 140px;
  overflow-y: auto;
}
.br-ap-log ul li {
  padding: 3px 0;
}

.br-ap-log-pass code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  color: #f7cb15;
}

.br-ap-spin {
  display: inline-block;
  animation: br-ap-spin-anim 0.8s linear infinite;
}

@keyframes br-ap-spin-anim {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.br-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.br-ai-validate-modal {
  width: min(480px, 92vw);
  border-radius: 12px;
}

.br-ai-verdict {
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 12px;
  font-size: 13px;
}
.br-ai-verdict .icon {
  margin-right: 4px;
}
.br-ai-verdict p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.6);
}
.br-ai-verdict.br-ai-verdict-valid {
  background: rgba(36, 218, 152, 0.1);
  border: 1px solid rgba(36, 218, 152, 0.25);
  color: #24da98;
}
.br-ai-verdict.br-ai-verdict-invalid {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.25);
  color: #f44336;
}

.br-ai-suggestion {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.br-cond-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.br-cond-row select {
  flex: 1;
  min-width: 0;
}
.br-cond-row .br-cond-threshold {
  max-width: 130px;
  flex: none;
}

.br-rewards-modal {
  width: min(440px, 92vw);
  border-radius: 16px;
  border: 1px solid rgba(247, 203, 21, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(247, 203, 21, 0.15);
}

.br-rewards-modal-body {
  padding: 28px 24px 8px;
  overflow-y: auto;
  text-align: center;
}

.br-reward-achievement {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.br-reward-achievement:last-child {
  margin-bottom: 0;
}

.br-reward-achievement-badge {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 2px rgba(247, 203, 21, 0.4);
}

.br-reward-achievement-name {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  color: #ffffff;
}

.br-reward-achievement-reason {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.br-rewards-modal-footer {
  padding: 16px 24px 22px;
  text-align: center;
  flex-shrink: 0;
}

.br-rewards-claim-btn {
  padding: 12px 32px;
  font-size: 15px;
}

.br-adv-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.br-adv-badge {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.04);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.br-adv-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.br-adv-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}
.br-adv-title a {
  color: inherit;
  text-decoration: none;
}
.br-adv-title a:hover {
  color: #1cc2eb;
}

.br-adv-enroll {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.br-adv-enroll .icon {
  font-size: 10px;
  flex-shrink: 0;
}
.br-adv-enroll:hover {
  color: #1cc2eb;
}

.br-adv-owner-email {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-adv-actions {
  padding: 0;
  background: transparent;
  border-bottom: 0;
  justify-content: flex-end;
}

.br-adv-dup-name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.br-adv-dup-actions {
  margin-top: 18px;
  justify-content: flex-end;
}

.br-prereq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.br-prereq-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.br-prereq-option:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}
.br-prereq-option input {
  accent-color: #24da98;
  flex-shrink: 0;
}

.br-prereq-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.br-piece-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.br-piece-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.br-piece-badge {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.04);
}

.br-piece-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.br-journey-empty {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.br-journey-empty-inner {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.br-journey-empty-icon {
  font-size: 44px;
  color: rgba(28, 194, 235, 0.35);
}

.br-journey-empty-title {
  margin: 14px 0 4px;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.br-journey-empty-sub {
  margin: 0 0 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}

.br-create-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
  gap: 12px;
  justify-content: center;
}

.br-create-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(11, 61, 79, 0.6);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.br-create-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 194, 235, 0.45);
  background: rgba(28, 194, 235, 0.06);
}

.br-create-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.br-create-icon.br-create-icon-blue {
  background: rgba(33, 150, 243, 0.2);
  color: #2196f3;
}
.br-create-icon.br-create-icon-red {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
}
.br-create-icon.br-create-icon-teal {
  background: rgba(0, 188, 212, 0.2);
  color: #00bcd4;
}
.br-create-icon.br-create-icon-purple {
  background: rgba(159, 64, 226, 0.2);
  color: #9f40e2;
}
.br-create-icon.br-create-icon-amber {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.br-create-label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.br-create-desc {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
}

.br-adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.br-adv-card {
  display: flex;
  flex-direction: column;
  background: rgba(11, 61, 79, 0.6);
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s, border-color 0.15s;
}
.br-adv-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 194, 235, 0.45);
}

.br-adv-card-image {
  position: relative;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.br-adv-card-cover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.15s;
}
.br-adv-card-cover:hover {
  background: rgba(0, 0, 0, 0.15);
}

.br-adv-card-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.br-adv-card-body {
  padding: 14px 16px 10px;
  flex: 1;
}

.br-adv-card-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}
.br-adv-card-name a {
  color: #ffffff;
  text-decoration: none;
}
.br-adv-card-name a:hover {
  color: #1cc2eb;
}

.br-adv-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.br-adv-card-stats .icon {
  font-size: 12px;
  margin-right: 2px;
  opacity: 0.7;
}

.br-adv-card-stats-empty {
  font-style: italic;
  opacity: 0.6;
}

.br-adv-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.br-adv-card-play {
  flex: 1;
  justify-content: center;
}

.builder-tabi .milestone-layer-controls {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.builder-tabi:hover .milestone-layer-controls {
  opacity: 1;
  visibility: visible;
}

.br-skill-name-row {
  margin-bottom: 12px;
}

.br-cons-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.br-cons-summary-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.br-cons-head-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.br-cons-head-main .br-form-hint {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60ch;
}

.br-cons-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.br-cons-modal {
  width: min(680px, 94vw);
}

.br-skill-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.br-skill-head > .br-input {
  flex: 1 1 240px;
}

.br-skill-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.br-skill-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.br-skill-check input {
  accent-color: #24da98;
  flex-shrink: 0;
}

.asset-btn.asset-z-badge {
  cursor: default;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  pointer-events: none;
}

/* ── Bulk operations (2026-08-22) ────────────────────────────────────────
   Progress readout shared by the achievement, player-meta and guild CSV
   imports (brBulkRun / brBulkProgress in script.js). Every one of these used
   to post its whole file in a single request; they now stream in batches, so
   they need somewhere to say how far along they are. */
.br-bulk-progress {
  margin: 10px 0 0;
  font-variant-numeric: tabular-nums;
  color: #1cc2eb;
}

.br-import-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 16px;
}
.br-import-actions .br-bulk-progress {
  margin: 0;
}

.br-guild-bulk-assign {
  margin-bottom: 16px;
}

.br-guild-bulk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  /* the guild picker gets the room; the file input takes what is left */
}
.br-guild-bulk-row > select.br-input {
  flex: 0 1 240px;
}
.br-guild-bulk-row > input[type=file].br-input {
  flex: 1 1 220px;
  min-width: 0;
}
.br-guild-bulk-row > .br-btn {
  flex: 0 0 auto;
}

/* ── Tabi badge progress (2026-08-22, WP 6c78d72) ────────────────────────
   Lives here rather than _tabis.scss on purpose: that compiles into
   style.css, whose checked-in copy carries vendor-prefixed declarations
   this environment's dart-sass does not emit, so recompiling it to add
   four rules would strip them. br-table.css loads after style.css, so a
   fully-qualified selector does the same job without touching that chain
   — the same reasoning as the milestone z-index controls. */
.tabi-modal .tabi-modal-progress {
  padding: 14px 20px 4px;
}

.tabi-modal .tabi-progress-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: #ffffff;
}

.tabi-modal .tabi-progress-badge {
  width: 26px;
  height: 26px;
  -o-object-fit: contain;
     object-fit: contain;
  flex: 0 0 auto;
}

.tabi-modal .tabi-progress-label {
  flex: 1 1 auto;
  min-width: 0;
  /* a long achievement name must not push the count off the card */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tabi-modal .tabi-progress-label strong {
  color: #1cc2eb;
}

.tabi-modal .tabi-progress-count {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.62);
}

.tabi-modal .tabi-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.tabi-modal .tabi-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #1cc2eb;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tabi-modal .tabi-progress-fill.complete {
  background: #24da98;
}

@media (prefers-reduced-motion: reduce) {
  .tabi-modal .tabi-progress-fill {
    transition: none;
  }
}
/* ── Manage Adventure dashboard (2026-08-22, WP 9546168) ─────────────────
   Read at a glance, not top-to-bottom: the summary comes before the detail,
   and anything needing attention has to be findable without reading a
   number. Locked and hidden get their own colour because they are the whole
   reason the screen exists. */
.br-dash-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.br-dash-kpi {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  border-top: 3px solid transparent;
}
.br-dash-kpi.br-dash-kpi-attention {
  border-top-color: #ffc107;
}
.br-dash-kpi.br-dash-kpi-warn {
  border-top-color: #f7cb15;
}

.br-dash-kpi-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.br-dash-kpi-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

.br-dash-kpi-note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

.br-dash-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  border-left: 3px solid #f7cb15;
}
.br-dash-note > .icon {
  color: #f7cb15;
  font-size: 20px;
  flex: 0 0 auto;
}
.br-dash-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.br-dash-inventory {
  padding: 18px 20px 20px;
}

.br-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 620px;
}
.br-dash-table th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.br-dash-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.br-dash-table tbody tr:last-child td {
  border-bottom: 0;
}
.br-dash-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.br-dash-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}

.br-dash-name {
  color: #ffffff;
}

.br-dash-quiet {
  color: rgba(255, 255, 255, 0.5);
}

.br-dash-total {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

/* The point of the screen: a non-zero here is content a player cannot reach
   but is still being measured against. */
.br-dash-flag {
  color: #f7cb15;
  font-weight: 600;
}

/* ── Case-study review (2026-08-23, WP 9cfbb4b) ──────────────────────────
   Reading other people's work: the result has to be legible at a glance
   down the column, and an answer has to be readable as prose. Scored
   questions and free-typed notes are visually distinct because they are
   different things — a note is not a wrong answer. */
.br-cs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 14px;
}
.br-cs-toolbar .br-form-group {
  margin: 0;
}

.br-cs-step-picker {
  flex: 1 1 320px;
  min-width: 0;
}

.br-cs-search-group {
  flex: 0 1 240px;
  min-width: 0;
}

.br-cs-toolbar-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.br-cs-toolbar-actions .br-bulk-progress {
  margin: 0;
}

.br-cs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}
.br-cs-table th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.br-cs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}
.br-cs-table tbody tr:last-child td {
  border-bottom: 0;
}
.br-cs-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.br-cs-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.br-cs-when {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.br-cs-player {
  min-width: 180px;
}

.br-cs-player-name {
  display: block;
  color: #ffffff;
  /* a long display name must not stretch the table */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

/* Result, at a glance. Colour is doing real work here, so each pill also
   carries its own word rather than relying on hue alone. */
.br-cs-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.br-cs-pill-pass {
  background: rgba(36, 218, 152, 0.16);
  color: #24da98;
}

.br-cs-pill-fail {
  background: rgba(244, 67, 54, 0.16);
  color: #ff8a80;
}

.br-cs-pill-open {
  background: rgba(28, 194, 235, 0.16);
  color: #1cc2eb;
}

.br-cs-pill-quiet {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

/* ── the attempt modal ── */
.br-cs-modal {
  width: min(760px, 94vw);
}

.br-cs-attempt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.br-cs-attempt-name {
  margin: 0 0 2px;
  color: #ffffff;
  font-size: 17px;
}

.br-cs-attempt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.br-cs-attempt-meta strong {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.br-cs-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.br-cs-answer {
  padding: 11px 14px;
  border-radius: 3px;
  border-left: 3px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  /* A note is neither right nor wrong — it must not read as a failure. */
}
.br-cs-answer.is-correct {
  border-left-color: #24da98;
}
.br-cs-answer.is-incorrect {
  border-left-color: #f44336;
}
.br-cs-answer.is-note {
  border-left-color: #1cc2eb;
}

.br-cs-answer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.br-cs-answer-key {
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.br-cs-answer-question {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.br-cs-answer-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #ffffff;
}

/* ── the Manage Content tab ── */
.br-cs-manage-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.br-cs-manage-main {
  flex: 1 1 240px;
  min-width: 0;
}

.br-cs-manage-title {
  display: block;
  color: #ffffff;
  font-size: 16px;
}

.br-cs-manage-stats {
  flex: 0 1 auto;
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.br-cs-manage-stats strong {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

/* The Continue action inside a passed case study's success block. */
.br-casestudy-continue {
  margin-left: 14px;
}

/* ─────────────────────────────────────────────────────────────────────────
   page: admin/users.php + partials/user-admin-drawer.php  (2026-08-24)
   Global User Management. CI4-only — WordPress supplied this screen from
   wp-admin, so there is nothing in WP's theme to match against.
   ───────────────────────────────────────────────────────────────────────── */
.br-user-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.br-user-chips {
  flex-wrap: wrap;
}

/* auto-fit so the four filters spread on a wide screen and stack on a narrow
   one without a breakpoint of their own. */
.br-user-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  align-items: end;
}

.br-user-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ---- list row ---- */
.br-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.br-user-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(28, 194, 235, 0.2);
}

.br-user-meta {
  min-width: 0;
}

.br-user-name {
  display: block;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-user-email,
.br-user-sub {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-user-plan {
  display: block;
  color: #ffffff;
  font-size: 13px;
}

.br-user-num {
  font-variant-numeric: tabular-nums;
}

.br-user-date {
  white-space: nowrap;
  font-size: 13px;
}

.br-user-never {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* ---- drawer ---- */
.br-ua-drawer {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.br-ua-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.br-ua-avatar {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(28, 194, 235, 0.2);
}

.br-ua-head-meta {
  min-width: 0;
}

.br-ua-name {
  margin: 0 0 2px;
  color: #ffffff;
  font-size: 20px;
}

.br-ua-sub {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.br-ua-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 6px;
}

.br-ua-section {
  border-top: 1px solid rgba(28, 194, 235, 0.2);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.br-ua-section-title {
  margin: 0;
  color: #1cc2eb;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.br-ua-sub-title {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.br-ua-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.br-ua-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.br-ua-kv strong {
  color: #ffffff;
  word-break: break-all;
  text-align: right;
}

.br-ua-muted {
  color: rgba(255, 255, 255, 0.5);
}

/* The drawer is narrow, so its tables get a tighter scale than the page's. */
.br-ua-table {
  font-size: 12px;
}
.br-ua-table th, .br-ua-table td {
  padding: 6px 8px;
}

/* A "Set password" button that submits nothing anywhere else in the app is
   worth keeping visually distinct from the blue save buttons around it. */
.br-ua-drawer .br-btn {
  align-self: flex-start;
}

/* ═══════════════════════════════════════════════════════════
   Player Requests — admin review cards (manage-requests.php)
   Ported from WP's br-table.scss "Request Row" block 2026-08-25. These rules
   existed here once and were removed by the 2026-07-20 dead-selector sweep,
   correctly at the time: the admin tab rendered plain table rows and nothing
   used them. It renders WP's card layout now, so they come back.
   Distinct from .br-requests-* (plural), which is the PLAYER's own inbox on
   my-requests.php — different page, different shape, both live.
   ═══════════════════════════════════════════════════════════ */
.br-req-card {
  margin-bottom: 8px;
  padding: 16px;
}

.br-req-layout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.br-req-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.br-req-body {
  flex: 1;
  min-width: 0;
}

.br-req-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.br-req-subject {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.br-req-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-req-sender {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.br-req-sender-name {
  color: rgba(255, 255, 255, 0.7);
}

.br-req-sender-email {
  opacity: 0.6;
}

.br-req-content {
  margin-top: 10px;
  white-space: pre-wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.br-req-admin-note {
  font-size: 13px;
  color: rgba(28, 194, 235, 0.7);
  padding: 6px 0;
  margin-top: 6px;
}

.br-req-actions-wrap {
  margin-top: 10px;
}

.br-req-actions-bar {
  margin-top: 8px;
  gap: 6px;
}

/* WP puts the status-filter row's spacing in an inline style attribute; this
   app does not allow those, so it is a class. */
.br-req-filters {
  padding: 12px 0;
  gap: 6px;
  flex-wrap: wrap;
}

/* Tremendous order failure reason — sits under the status badge in the orders
   log. Deliberately readable rather than truncated: it carries Tremendous's own
   field-level complaint, which is the whole point of showing it.
   WP keeps this in _items.scss; it lives here because _items.scss compiles into
   style.css, whose checked-in copy carries vendor-prefixed declarations this
   environment's dart-sass does not emit — recompiling it to add one rule would
   strip them. br-table.css loads after style.css, so the rule still wins.
   Same reasoning as the milestone layer controls (2026-08-19). */
.br-order-reason {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.4;
  color: #f44336;
  text-align: left;
  word-break: break-word;
}

/* Two-step inline confirm (brConfirmInline). The button re-labels itself amber
   on the first click and runs the action on the second — used for row-level
   actions in long tables, where a modal costs more attention than the action is
   worth. Ported from WP 2026-08-25 along with the helper itself. */
.br-btn.br-confirming,
button.br-btn.br-confirming {
  background: #ffc107;
  border-color: #ffc107;
  color: #04161e;
}
.br-btn.br-confirming .icon,
button.br-btn.br-confirming .icon {
  font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════
   Manage Players table (player/manage.php) — ported from WP 2026-08-25
   alongside the page rebuild. These are WP's own rules; they were never
   brought over because this port's version of the page was still rendering
   the pre-redesign dashboard/form-ui markup and had no use for them.
   ═══════════════════════════════════════════════════════════ */
.br-actions-center {
  justify-content: center;
}

.br-mp-header-actions {
  margin-left: auto;
}

/* Must NOT set `display` — brSwitchPanel() shows/hides these by toggling
   .br-hidden, and a display here would win over it and pin every panel open. */
.br-panel-group {
  min-width: 0;
}

.br-adv-enrolled-filter {
  flex: 0 0 auto;
  width: auto;
  min-width: 130px;
}

.br-adv-players-table td {
  vertical-align: middle;
}

.br-adv-id-cell {
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  width: 70px;
}

.br-adv-email-cell {
  color: rgba(255, 255, 255, 0.65);
  word-break: break-all;
}

.br-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: all 0.15s;
}
.br-icon-link:hover {
  color: #1cc2eb;
  background: rgba(28, 194, 235, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   Milestone Funnel drill-down (stats/milestone-funnel.php)
   Ported from WP 2026-08-25 with the page itself. This family existed here
   once and was removed by the 2026-07-20 dead-selector sweep — correctly at
   the time, since the page it styles had never been built. Same story as
   .br-req-*.
   ═══════════════════════════════════════════════════════════ */
.br-stats-funnel-details-link {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.br-mf-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  color: #ffffff;
}

.br-mf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.br-mf-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.br-mf-back-link:hover {
  color: #1cc2eb;
}

.br-mf-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 16px;
}
.br-mf-filter-row label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}
.br-mf-filter-row select {
  width: auto;
  min-width: 220px;
}

.br-mf-context-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.br-mf-context-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(28, 194, 235, 0.1);
  border: 1px solid rgba(28, 194, 235, 0.25);
}
.br-mf-context-stat.orange {
  background: rgba(255, 152, 0, 0.1);
  border-color: rgba(255, 152, 0, 0.25);
}
.br-mf-context-stat.accent {
  background: rgba(247, 203, 21, 0.1);
  border-color: rgba(247, 203, 21, 0.25);
}

.br-mf-context-value {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #1cc2eb;
}
.br-mf-context-stat.orange .br-mf-context-value {
  color: #ff9800;
}
.br-mf-context-stat.accent .br-mf-context-value {
  color: #f7cb15;
}

.br-mf-context-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* Fixed-aspect "slide" shell: horizontally scrollable body with a sticky
   y-axis column, so the chart can grow arbitrarily wide as milestones are
   added. The axis labels are an overlay built from the live Chart.js scale
   (br-milestone-funnel.js) rather than Chart's own axis, because
   `overflow-x: auto` traps position:sticky to its own scroll container. */
.br-mf-chart-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 720px;
  min-height: 320px;
  display: flex;
  background: rgba(11, 61, 79, 0.6);
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.br-mf-scroll-wrap {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.br-mf-yaxis-sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  flex: 0 0 auto;
  width: 56px;
  height: 100%;
  background: rgba(11, 61, 79, 0.6);
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.25);
}

.br-mf-yaxis-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 100%;
  pointer-events: none;
}

.br-mf-yaxis-label {
  position: absolute;
  left: 0;
  width: 48px;
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
}
.br-mf-yaxis-label.logged-in {
  pointer-events: auto;
  width: 52px;
  font-weight: 900;
  color: #ff9800;
  cursor: help;
}

.br-mf-chart-area {
  flex: 0 0 auto;
  height: 100%;
  position: relative;
}

.br-mf-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

@media (max-width: 768px) {
  .br-mf-chart-shell {
    aspect-ratio: 4/3;
  }
}
/* ═══════════════════════════════════════════════════════════
   Email recipient picker (email/index.php) — ported from WP 2026-08-25
   with the avatar-grid rebuild. The card itself (.br-player-card and its
   .active state) already existed here, shared with the Stats drill-down
   drawers; only the toolbar around it was missing.
   ═══════════════════════════════════════════════════════════ */
.br-notif-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.br-input-search-flex {
  flex: 1;
  min-width: 180px;
}

.br-notif-meta-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.br-notif-selected-count {
  color: #24da98;
  font-weight: 700;
}

.br-notif-player-level {
  color: #9f40e2;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   Magic-link landing page (achievements/magic-link.php)
   Ported from WP 2026-08-25 — but only the page-level chrome WP genuinely
   invented for this screen (the washed art, the explosion over it, and the
   refusal treatment). The celebration card itself reuses this port's own
   br-rewards-modal / br-reward-achievement-* surface rather than importing
   WP's parallel br-celebrate-* family, so there is one celebration
   vocabulary here, not two.
   ═══════════════════════════════════════════════════════════ */
.br-magic-page {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: #04161e;
}

.br-magic-bg,
.br-magic-explosion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.br-magic-bg {
  opacity: 0.35;
  filter: blur(6px) saturate(1.2);
}

/* The explosion is the one piece of the old screen worth keeping, so it stays
   as it was: full-bleed, over the art wash, under the panel. */
.br-magic-explosion {
  opacity: 0.55;
  mix-blend-mode: screen;
}

.br-magic-panel {
  position: relative;
  z-index: 2;
  width: min(460px, 92vw);
  max-height: none;
}

.br-magic-head {
  position: relative;
  padding: 26px 24px 18px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.br-magic-line {
  position: relative;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.br-magic-outro {
  margin: 0 0 14px;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* A refusal is not a celebration: the border and title lose the accent colour so
   the panel does not congratulate someone on being turned away. */
.br-magic-panel-refused {
  border-color: rgba(255, 193, 7, 0.35);
}
.br-magic-panel-refused .br-rewards-title {
  text-shadow: 0 0 26px rgba(255, 193, 7, 0.4);
}

.br-magic-reason {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 6px;
  border-left: 3px solid #ffc107;
  background: rgba(255, 193, 7, 0.1);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
}
.br-magic-reason .icon {
  flex-shrink: 0;
  font-size: 20px;
  color: #ffc107;
}

/* The achievement's own prose. Authored in the editor, so it can be anything —
   kept readable and left-aligned rather than inheriting the panel's centring. */
.br-magic-story {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
}
.br-magic-story p {
  margin: 0 0 10px;
}
.br-magic-story p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   Roster export column + hexad avatar (player/roster.php)
   Ported from WP 2026-08-25.
   ═══════════════════════════════════════════════════════════ */
/* Never rendered — it exists only to carry a value into the CSV via
   data-export, which brExportRosterCsv() reads in preference to cell text. */
.br-roster-col-export {
  display: none;
}

/* The player picture with a role-coloured ring. Its title attribute carries the
   hexad type, so one narrow column shows both who they are and how they play. */
.br-roster-avatar {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.br-roster-avatar.br-roster-avatar-gm {
  border: 3px solid #00bcd4;
}
.br-roster-avatar.br-roster-avatar-npc {
  border: 3px solid #1cc2eb;
}

/* ═══════════════════════════════════════════════════════════
   Duplicator (duplicator/index.php) — 2026-08-25
   WP's version floats its own fixed pill for the action bar; this reuses
   .br-form-bottom-bar, which is already this port's bottom-bar convention on
   every editor page, and only adds what the duplicator needs on top.
   ═══════════════════════════════════════════════════════════ */
/* 50px clears the fixed site header, same offset the sticky manage tabs use. */
.br-dup-sticky-header {
  position: sticky;
  top: 50px;
  z-index: 100;
}

.br-dup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(159, 64, 226, 0.15);
  border: 1px solid rgba(159, 64, 226, 0.3);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.br-dup-badge span {
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

/* Keep the destination picker from stretching the whole bar — it is one field
   sharing the row with the trigger, not a form. */
.br-dup-bottom-bar {
  align-items: flex-end;
  gap: 12px;
}
.br-dup-bottom-bar .br-form-group {
  max-width: 420px;
}

.br-modal-intro {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 10px;
}

/* The destination, called out inside the sentence — duplicating into the wrong
   adventure is the mistake this dialog exists to prevent. */
.br-modal-target-name {
  color: #f7cb15;
  padding: 2px 8px;
  background: rgba(247, 203, 21, 0.08);
  border: 1px solid rgba(247, 203, 21, 0.2);
  border-radius: 6px;
}

.br-mb-0 {
  margin-bottom: 0 !important;
}

/* Sortable column header on the case-study review table. Server-side sort, so
   it is a link rather than a click handler — the active column keeps its arrow
   through a page turn. 2026-08-25. */
.br-cs-sortable {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.br-cs-sortable:hover {
  color: #1cc2eb;
}
.br-cs-sortable.active {
  color: #1cc2eb;
}

/* ═══════════════════════════════════════════════════════════
   Achievement editor: bulk magic-link list + the rank note
   Ported from WP 2026-08-25.
   ═══════════════════════════════════════════════════════════ */
.br-details-links {
  margin-top: 12px;
}
.br-details-links summary {
  cursor: pointer;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-links-panel {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 10px;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  word-break: break-all;
  max-height: 200px;
  overflow-y: auto;
}

.br-link-line {
  padding: 2px 0;
}

/* Says what actually awards a rank, since this port keeps the rank ladder on
   Adventure Settings rather than folding it into the conditions below. */
.br-cond-rank-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 6px;
  background: rgba(28, 194, 235, 0.06);
}
.br-cond-rank-note > .icon {
  font-size: 22px;
  color: rgba(28, 194, 235, 0.7);
  flex-shrink: 0;
  line-height: 1.2;
}
.br-cond-rank-note h4 {
  margin: 0 0 6px;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
}
.br-cond-rank-note p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.br-cond-rank-note p:last-child {
  margin-bottom: 0;
}
.br-cond-rank-note p strong {
  color: #ffffff;
}

.br-cond-rank-hint {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ═══════════════════════════════════════════════════════════
   Enrolled-players role switch (adventures/new.php) — WP parity 2026-08-25.
   Replaces the last of the half-migrated form-ui widgets flagged in the
   2026-08-07 audit, and with it a hidden confirm overlay that was rendered
   once per row.
   ═══════════════════════════════════════════════════════════ */
.br-role-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px;
  gap: 2px;
}

.br-role-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  /* The armed state has to beat every role colour below. */
}
.br-role-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.br-role-btn.br-confirming {
  background: #ffc107 !important;
  color: #04161e !important;
}
.br-role-btn.br-confirming .icon {
  font-size: 11px;
}

/* The active segment is coloured from the ROW's role class, so the buttons
   themselves carry no per-state markup. */
tr.role-player .br-role-btn.role-button-player {
  background: rgba(28, 194, 235, 0.9);
  color: #04161e;
  cursor: default;
}

tr.role-gm .br-role-btn.role-button-gm {
  background: rgba(0, 188, 212, 0.9);
  color: #04161e;
  cursor: default;
}

tr.role-npc .br-role-btn.role-button-npc {
  background: rgba(159, 64, 226, 0.9);
  color: #ffffff;
  cursor: default;
}

.br-role-owner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(247, 203, 21, 0.15);
  color: #f7cb15;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.br-tremendous-status {
  min-height: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.br-tremendous-status.is-error {
  color: #f44336;
}

.br-tremendous-chosen {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px;
  align-items: center;
  padding: 6px 0 10px;
}

.br-tremendous-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 10px;
  font-size: 13px;
  color: #ffffff;
  background: rgba(28, 194, 235, 0.16);
  border: 1px solid rgba(28, 194, 235, 0.4);
  border-radius: 999px;
}

.br-tremendous-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  font-size: 15px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.br-tremendous-chip-x:hover {
  color: #ffffff;
  background: rgba(244, 67, 54, 0.5);
}

.br-tremendous-search {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .br-tremendous-search {
    grid-template-columns: 1fr 1fr;
  }
}

.br-tremendous-product-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 4px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 8px;
}

.br-tremendous-results-meta {
  padding: 4px 6px 8px;
  font-size: 12px;
}

.br-tremendous-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.br-tremendous-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}
.br-tremendous-product:hover {
  background: rgba(255, 255, 255, 0.07);
}
.br-tremendous-product.active {
  background: rgba(28, 194, 235, 0.12);
  border-color: rgba(28, 194, 235, 0.5);
}

.br-tremendous-product-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  -o-object-fit: contain;
     object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.br-tremendous-product-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.br-tremendous-product-name {
  overflow: hidden;
  font-size: 13px;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-tremendous-product-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.br-template-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}
.br-template-note .icon {
  color: #1cc2eb;
  font-size: 18px;
}
.br-template-note p {
  margin: 0;
}

.br-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.br-template-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid transparent;
}

.br-template-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.br-template-badge {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  -o-object-fit: cover;
     object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.br-template-badge-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.5);
}

.br-template-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.br-template-name {
  margin: 0;
  font-size: 17px;
  color: #ffffff;
}

.br-template-by {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-template-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.br-template-stats li {
  padding: 3px 9px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}
.br-template-stats li strong {
  color: #ffffff;
}

.br-template-used {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.br-template-actions {
  margin-top: auto;
}

.br-config-org-add {
  margin-bottom: 12px;
}

.br-task-card-running {
  border-left: 4px solid #ffc107;
}

.br-task-missed {
  display: flex;
  gap: 6px;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}
.br-task-missed .icon {
  color: #f44336;
}

.br-cond-window {
  max-width: 190px;
}

.br-reward-consequence {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid #ffc107;
}
.br-reward-consequence:last-child {
  margin-bottom: 0;
}

.br-reward-consequence-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.br-reward-consequence-name {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  color: #ffffff;
}

.br-reward-consequence-reason {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.br-consequence-danger {
  background: rgba(244, 67, 54, 0.1);
}

.br-consequence-good {
  background: rgba(36, 218, 152, 0.1);
}

.quest-conditions-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  transform: none;
  width: 50vw;
  min-width: min(600px, 96vw);
  max-width: 96vw;
  max-height: none;
  overflow: hidden;
  background: rgba(4, 22, 30, 0.97);
  backdrop-filter: blur(12px);
  border-left: 1px solid rgba(28, 194, 235, 0.18);
  border-radius: 0;
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.45);
  padding: 0;
  display: flex;
  flex-direction: column;
  z-index: 300;
}
.quest-conditions-overlay.active {
  visibility: visible;
  opacity: 1;
}
.quest-conditions-overlay .tabi-conditions-modal-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.quest-conditions-overlay .tabi-conditions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(28, 194, 235, 0.12);
  background: rgba(4, 22, 30, 0.5);
  flex-shrink: 0;
}
.quest-conditions-overlay .tabi-conditions-header h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}
.quest-conditions-overlay .tabi-conditions-header .icon {
  margin-right: 6px;
}
.quest-conditions-overlay .tabi-conditions-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 0 20px 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}
.quest-conditions-overlay .tabi-conditions-body .br-text-12 {
  font-size: 16px;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-conditions-section {
  margin-bottom: 26px;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-conditions-section:last-of-type {
  margin-bottom: 8px;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-conditions-section-title {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -20px 10px;
  padding: 14px 20px 10px;
  background: rgb(6, 26, 35);
  border-bottom: 1px solid rgba(28, 194, 235, 0.14);
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.75);
}
.quest-conditions-overlay .tabi-conditions-body .tabi-conditions-section-title .icon {
  font-size: 15px;
  color: #1cc2eb;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-conditions-hint {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.quest-conditions-overlay .tabi-conditions-body .tabi-conditions-empty {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-prereq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-prereq-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: rgba(4, 22, 30, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.quest-conditions-overlay .tabi-conditions-body .tabi-prereq-label input[type=checkbox] {
  cursor: pointer;
  width: 16px;
  height: 16px;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-cond-threshold-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}
.quest-conditions-overlay .tabi-conditions-body .tabi-cond-threshold-row label {
  flex: 1;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}
.quest-conditions-overlay .tabi-conditions-body .tabi-cond-threshold-row input {
  width: 120px;
  font-size: 15px;
}
.quest-conditions-overlay .tabi-conditions-footer {
  flex-shrink: 0;
  padding: 14px;
  text-align: center;
  border-top: 1px solid rgba(28, 194, 235, 0.12);
  background: rgba(4, 22, 30, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.quest-conditions-overlay .br-pick-card.hidden {
  display: none;
}

.br-thumb-select {
  position: relative;
  max-width: 420px;
}

.br-thumb-select-trigger,
.br-thumb-select-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  background: rgba(11, 61, 79, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.br-thumb-select-trigger:hover,
.br-thumb-select-option:hover {
  background: rgba(11, 61, 79, 0.45);
  border-color: rgba(28, 194, 235, 0.15);
}

.br-thumb-select-trigger {
  border-color: rgba(28, 194, 235, 0.2);
}

.br-thumb-select-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.br-thumb-select-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.br-thumb-select-thumb.is-empty .icon {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.br-thumb-select-info {
  flex: 1;
  min-width: 0;
}

.br-thumb-select-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-thumb-select-meta {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.br-thumb-select-meta .icon {
  font-size: 12px;
  margin-right: 2px;
}

.br-thumb-select-caret {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.br-thumb-select-check {
  font-size: 18px;
  color: #24da98;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.br-thumb-select-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  background: rgb(6, 26, 35);
  border: 1px solid rgba(28, 194, 235, 0.25);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}
.br-thumb-select-list .br-thumb-select-option {
  background: transparent;
  border-color: transparent;
}
.br-thumb-select-list .br-thumb-select-option.active {
  background: rgba(36, 218, 152, 0.07);
  border-color: rgba(36, 218, 152, 0.35);
}
.br-thumb-select-list .br-thumb-select-option.active .br-thumb-select-name {
  color: #24da98;
}
.br-thumb-select-list .br-thumb-select-option.active .br-thumb-select-check {
  opacity: 1;
}

.br-thumb-select.open .br-thumb-select-list {
  display: block;
}
.br-thumb-select.open .br-thumb-select-caret {
  transform: rotate(180deg);
}

.br-challenge-review-bar {
  gap: 20px;
}
.br-challenge-review-bar .br-actions {
  gap: 10px;
}

.br-review-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.br-review-score .icon {
  font-size: 18px;
}
.br-review-score.passed {
  color: #24da98;
}
.br-review-score.failed {
  color: #f44336;
}

@media (max-width: 768px) {
  .br-challenge-review-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(560px, 94vw);
  }
  .br-challenge-review-bar .br-review-score {
    justify-content: center;
  }
  .br-challenge-review-bar .br-actions {
    justify-content: center;
  }
}
@supports selector(:has(*)) {
  .br-page:has(> .br-tabs-sticky) {
    margin-left: 252px;
    margin-right: auto;
  }
  .br-page:has(> .br-tabs-sticky) .br-form-bottom-bar {
    left: calc(50% + 126px);
  }
  .br-page > .br-tabs-sticky {
    position: fixed;
    left: 0;
    top: 50px;
    bottom: 50px;
    width: 224px;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 12px 10px;
    gap: 2px;
    border-radius: 0 14px 14px 0;
    border-right: 1px solid rgba(28, 194, 235, 0.12);
  }
  .br-page > .br-tabs-sticky .br-tab-btn {
    flex: 0 0 auto;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 11px 14px;
    white-space: normal;
    line-height: 1.3;
  }
  .br-page > .br-tabs-sticky .br-tab-btn .icon {
    flex: 0 0 auto;
    width: 18px;
    text-align: center;
  }
  .br-page > .br-tabs-sticky .br-tab-btn.active {
    box-shadow: inset 3px 0 0 #1cc2eb;
  }
  .br-page:has(> .br-tabs-sticky) .br-scroll-section {
    scroll-margin-top: 70px;
  }
  body:has(#start.active) .br-page > .br-tabs-sticky {
    z-index: 40;
  }
  @media (max-width: 900px) {
    .br-page:has(> .br-tabs-sticky) {
      margin-left: auto;
    }
    .br-page:has(> .br-tabs-sticky) .br-form-bottom-bar {
      left: 50%;
    }
    .br-page > .br-tabs-sticky {
      position: sticky;
      top: 50px;
      bottom: auto;
      width: auto;
      flex-direction: row;
      overflow-x: auto;
      overflow-y: hidden;
      margin-left: -16px;
      margin-right: -16px;
      margin-bottom: 24px;
      padding: 4px 20px;
      border-radius: 0 0 10px 10px;
      border-right: 0;
    }
    .br-page > .br-tabs-sticky .br-tab-btn {
      flex: 1;
      width: auto;
      justify-content: center;
      text-align: center;
      white-space: nowrap;
      padding: 10px 16px;
    }
    .br-page > .br-tabs-sticky .br-tab-btn.active {
      box-shadow: none;
    }
    .br-page:has(> .br-tabs-sticky) .br-scroll-section {
      scroll-margin-top: 120px;
    }
  }
}
.br-log-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.br-log-toolbar .br-input {
  width: auto;
  min-width: 180px;
}
.br-log-toolbar .br-input[type=text] {
  flex: 1 1 260px;
}

.br-log-count {
  margin-left: auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.br-log-content {
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-page-jump {
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 12px;
}

.br-leaderboard-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.br-leaderboard-meta-empty {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .br-leaderboard-meta-col {
    display: none;
  }
}
.br-guild-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.br-guild-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.br-guild-pick:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.br-guild-pick-art {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.br-guild-pick-art img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.br-guild-pick-name {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-ach-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 760px) {
  .br-ach-showcase {
    grid-template-columns: 1fr;
  }
}

.br-ach-showcase-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.br-ach-showcase-body {
  display: flex;
  align-items: center;
  gap: 14px;
}
.br-ach-showcase-body img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex: 0 0 auto;
}

.br-ach-showcase-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.br-ach-showcase-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.5);
}
.br-ach-showcase-empty > .icon {
  font-size: 26px;
  opacity: 0.5;
}
.br-ach-showcase-empty p {
  margin: 0;
}

.br-ach-badge-pick {
  border-top: 1px solid rgba(28, 194, 235, 0.2);
  padding-top: 10px;
}

.br-ach-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.br-ach-toolbar .br-panel-title {
  margin: 0;
}
.br-ach-toolbar .br-input {
  max-width: 260px;
}

.br-ach-group {
  margin-top: 18px;
}
.br-ach-group:first-of-type {
  margin-top: 10px;
}

.br-ach-group-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(28, 194, 235, 0.2);
  padding-bottom: 6px;
}

.br-stats-achievement.br-ach-clickable {
  cursor: pointer;
  position: relative;
}

.br-ach-locked-note .icon {
  font-size: 9px;
  margin-right: 2px;
}

.br-ach-edit {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(4, 22, 30, 0.65);
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}
.br-stats-achievement:hover .br-ach-edit, .br-ach-edit:focus {
  opacity: 1;
}
.br-ach-edit:hover {
  color: #1cc2eb;
}

.br-module-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 4px 10px;
  padding: 10px 0;
  border-bottom: solid 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.br-module-check input {
  accent-color: #24da98;
  margin-top: 3px;
}
.br-module-check > span:first-of-type {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.br-module-check .br-form-hint {
  grid-column: 2;
  margin: 0;
}

.br-sso-endpoint-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.br-sso-endpoint-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 8px 0;
  border-bottom: solid 1px rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}
.br-sso-endpoint-list li:last-child {
  border-bottom: 0;
}
.br-sso-endpoint-list strong {
  flex: 0 0 150px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  letter-spacing: 1px;
}
.br-sso-endpoint-list code {
  flex: 1 1 260px;
  min-width: 0;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #1cc2eb;
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}

.br-form-error {
  display: flex;
  gap: 8px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border-left: solid 3px #f44336;
  border-radius: 0 6px 6px 0;
  background: rgba(244, 67, 54, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
}
.br-form-error code {
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.3);
  font-family: monospace;
  font-size: 12px;
}

.br-builder-bar {
  padding: 6px;
  position: relative;
  background: rgba(4, 22, 30, 0.94);
  border: solid 1px rgba(28, 194, 235, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: rgba(234, 246, 248, 0.85);
}

.milestone-layer-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}
.milestone-layer-controls button {
  position: static;
}

.br-builder-btn {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: solid 1px rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(234, 246, 248, 0.85);
  font: 700 11px "proxima-nova-extra-condensed", sans-serif;
  cursor: pointer;
  transition: color 0.15s ease-out, border-color 0.15s ease-out, background-color 0.15s ease-out;
}
.br-builder-btn .icon {
  font-size: 14px;
  line-height: 1;
}
.br-builder-btn img {
  max-width: 16px;
  max-height: 16px;
}
.br-builder-btn:hover, .br-builder-btn:focus-visible {
  color: #24da98;
  border-color: rgba(36, 218, 152, 0.55);
  background: rgba(36, 218, 152, 0.12);
}
.br-builder-btn.active {
  color: #1cc2eb;
  border-color: rgba(28, 194, 235, 0.65);
  background: rgba(28, 194, 235, 0.16);
}
.br-builder-btn.danger:hover, .br-builder-btn.danger:focus-visible {
  color: #f44336;
  border-color: rgba(244, 67, 54, 0.6);
  background: rgba(244, 67, 54, 0.14);
}

.br-builder-badge {
  flex: 0 0 auto;
  min-width: 24px;
  height: 30px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 12px "proxima-nova-extra-condensed", sans-serif;
  color: rgba(234, 246, 248, 0.6);
  cursor: default;
  background: none;
  border: 0;
}

.br-builder-bar .asset-sep {
  width: 1px;
  height: 18px;
  margin: 0 2px;
  background: rgba(255, 255, 255, 0.16);
}

.br-builder-bar::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.asset-count-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px;
}

.asset-count-label {
  flex: 1 1 auto;
  font: 600 11px "proxima-nova-extra-condensed", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.asset-count-input {
  flex: 0 0 auto;
  width: 56px;
  height: 26px;
  padding: 0 6px;
  background: rgba(0, 0, 0, 0.35);
  border: solid 1px rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font: 700 12px "proxima-nova-extra-condensed", sans-serif;
  text-align: center;
  outline: none;
}
.asset-count-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}
.asset-count-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}
.asset-count-input:focus {
  border-color: rgba(28, 194, 235, 0.6);
}

.br-reset-modal {
  width: min(520px, 94vw);
  box-sizing: border-box;
}

.br-reset-loading {
  padding: 28px 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.br-reset-intro {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}
.br-reset-intro strong {
  color: #ffffff;
}

.br-reset-quest {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #f44336;
  background: rgba(244, 67, 54, 0.08);
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.br-reset-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 40vh;
  overflow-y: auto;
}

.br-reset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.br-reset-row:last-child {
  border-bottom: none;
}

.br-reset-row-count {
  flex-shrink: 0;
  min-width: 34px;
  padding: 1px 8px;
  border-radius: 20px;
  background: rgba(244, 67, 54, 0.16);
  color: #f44336;
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
}

.br-reset-empty {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.br-reset-total {
  margin: 12px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.br-reset-total strong {
  font-family: "proxima-nova-extra-condensed", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #f44336;
}

.br-reset-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.br-reset-actions {
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 0 2px;
}

.br-drift-actions {
  margin-top: 16px;
}

.br-step-buttons-container:empty {
  display: none;
}

.br-step-buttons-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.br-step-buttons-body {
  display: block;
}

.br-avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-auto-rows: max-content;
  gap: 12px;
  margin: 10px 0;
}

.br-th-image {
  width: 96px;
}

.br-th-actions-sm {
  width: 64px;
}

.br-actions-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.br-form-group-tight {
  margin-bottom: 8px;
}

.br-form-group-flush {
  margin-bottom: 0;
}

.br-form-hint-warn {
  color: #ffc107;
  display: block;
  border-left: 2px solid rgba(255, 193, 7, 0.5);
  padding-left: 10px;
  margin-bottom: 6px;
}
.br-form-hint-warn a {
  color: #1cc2eb;
}

.br-weight-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}
.br-weight-table th, .br-weight-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(28, 194, 235, 0.2);
  vertical-align: middle;
}
.br-weight-table thead th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  text-align: left;
}
.br-weight-table tbody tr:last-child td {
  border-bottom: 0;
}

.br-weight-col {
  width: 68px;
  text-align: center;
}

.br-weight-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: 1px;
}

.br-weight-cell {
  width: 54px;
  text-align: center;
  padding: 5px 2px;
  font-variant-numeric: tabular-nums;
}
.br-weight-cell.is-set {
  border-width: 2px;
  font-weight: 700;
  color: #ffffff;
}

.br-weight-row td:first-child {
  min-width: 200px;
}

.br-profile-list-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.br-profile-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 240px;
  min-width: 0;
}

.br-profile-row-icon {
  font-size: 24px;
  color: #9f40e2;
  flex: none;
}

.br-profile-row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.br-profile-row-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-profile-row-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.br-profile-row-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.br-trait-row {
  border-left: 4px solid transparent;
  transition: border-left-color 0.2s;
  margin-bottom: 10px;
}

.br-icon-select {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 168px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(4, 22, 30, 0.35);
  border: 1px solid rgba(28, 194, 235, 0.14);
  border-radius: 8px;
}

.br-icon-option {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(28, 194, 235, 0.08);
  border: 1px solid rgba(28, 194, 235, 0.18);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.br-icon-option:hover {
  color: #ffffff;
  border-color: rgba(28, 194, 235, 0.45);
}
.br-icon-option.active {
  color: #ffffff;
  background: rgba(28, 194, 235, 0.24);
  border: 2px solid #1cc2eb;
}

.br-icon-none {
  font-size: 20px;
  line-height: 1;
}

.br-trait-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.br-trait-chip {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.br-trait-summary-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  flex: 1 1 160px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-trait-summary-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.br-trait-summary-key {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(28, 194, 235, 0.1);
  border: 1px solid rgba(28, 194, 235, 0.18);
  padding: 2px 7px;
  border-radius: 4px;
}

.br-trait-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 194, 235, 0.14);
}

.br-trait-slug-note code {
  font-family: "Cascadia Mono", Consolas, monospace;
  color: #1cc2eb;
  background: rgba(28, 194, 235, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
}

.br-profile-form-save {
  margin: 4px 0 18px;
}

.br-profile-traits-pending {
  margin-top: 16px;
}

.br-profile-question,
.br-profile-statement {
  margin: 0 0 18px;
  line-height: 1.25;
  text-wrap: balance;
  color: #ffffff;
}

.br-step-option.br-option-picked {
  border-color: #f7cb15;
  background: rgba(247, 203, 21, 0.1);
}

.br-scale-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 6px 0 18px;
}

.br-scale-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  flex: 0 1 auto;
  max-width: 120px;
}

.br-scale-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.ts-scale-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(28, 194, 235, 0.2);
  background: rgba(4, 22, 30, 0.6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.ts-scale-btn:hover:not(:disabled) {
  border-color: #1cc2eb;
}
.ts-scale-btn.br-scale-active {
  background: #f7cb15;
  border-color: #f7cb15;
  color: #04161e;
}
.ts-scale-btn:disabled {
  cursor: default;
  opacity: 0.75;
}

.br-profile-screen-title {
  margin: 0 0 6px;
  text-wrap: balance;
}

.br-profile-screen-intro {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 62ch;
}

.br-sheet {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.br-sheet-kicker {
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.br-sheet-section-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.br-sheet-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  border-radius: 12px;
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-left: 5px solid var(--sheet-accent, #1cc2eb);
  background: rgba(4, 22, 30, 0.5);
}

.br-sheet-hero-mark {
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 22, 30, 0.7);
  border: 2px solid var(--sheet-accent, #1cc2eb);
}

.br-sheet-hero-badge {
  width: 72px;
  height: 72px;
  -o-object-fit: contain;
     object-fit: contain;
}

.br-sheet-hero-icon {
  font-size: 46px;
  color: #ffffff;
}

.br-sheet-hero-initial {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.br-sheet-hero-text {
  flex: 1 1 260px;
  min-width: 0;
}

.br-sheet-hero-name {
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
  text-wrap: balance;
}

.br-sheet-hero-share {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.br-sheet-hero-share strong {
  color: #ffffff;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.br-sheet-hero-copy {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}
.br-sheet-hero-copy p:first-child {
  margin-top: 0;
}
.br-sheet-hero-copy p:last-child {
  margin-bottom: 0;
}

.br-sheet-hero-none {
  border-left-color: rgba(28, 194, 235, 0.4);
}

.br-sheet-mid {
  display: block;
}

.br-sheet-chart {
  max-width: 420px;
  margin: 0 auto 20px;
  text-align: center;
}

.br-sheet-chart-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 420px;
  max-height: 420px;
  margin: 0 auto;
}
.br-sheet-chart-box canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.br-sheet-chart-note {
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  max-width: 46ch;
}

.br-sheet-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.br-sheet-facts .br-sheet-fact {
  flex: 1 1 150px;
}

.br-sheet-fact {
  flex: 1 1 110px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(28, 194, 235, 0.16);
  border-radius: 10px;
  background: rgba(4, 22, 30, 0.4);
}

.br-sheet-fact-num {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.br-sheet-fact-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.br-sheet-fact-note {
  flex: 1 1 100%;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.br-sheet-traits {
  margin-top: 2px;
}

.br-sheet-trait {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(28, 194, 235, 0.14);
  border-left: 4px solid var(--sheet-accent, #1cc2eb);
  background: rgba(4, 22, 30, 0.34);
  margin-bottom: 10px;
}
.br-sheet-trait.is-dominant {
  border-color: rgba(28, 194, 235, 0.38);
  background: rgba(4, 22, 30, 0.55);
}
.br-sheet-trait.is-zero {
  opacity: 0.72;
}

.br-sheet-trait-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.br-sheet-trait-rank {
  flex: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(28, 194, 235, 0.12);
  font-variant-numeric: tabular-nums;
}

.br-sheet-trait-mark {
  flex: none;
  color: var(--sheet-accent, #1cc2eb);
  font-size: 18px;
  line-height: 1;
}
.br-sheet-trait-mark:empty {
  display: none;
}

.br-sheet-trait-name {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  flex: 1 1 auto;
  min-width: 0;
}

.br-sheet-trait-score {
  flex: none;
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.br-sheet-trait-score strong {
  font-size: 22px;
  color: #ffffff;
}

.br-sheet-trait-share {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.br-sheet-trait-track {
  display: block;
  height: 8px;
  margin: 10px 0 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.br-sheet-trait-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--sheet-accent, #1cc2eb);
}

.br-sheet-trait-copy {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 78ch;
}
.br-sheet-trait-copy p:first-child {
  margin-top: 0;
}
.br-sheet-trait-copy p:last-child {
  margin-bottom: 0;
}

.br-profile-screen-actions {
  margin-top: 24px;
}

@media (max-width: 860px) {
  .br-sheet-hero-name {
    font-size: 30px;
  }
  .br-sheet-hero-mark {
    width: 68px;
    height: 68px;
  }
  .br-sheet-hero-badge {
    width: 52px;
    height: 52px;
  }
  .br-sheet-hero-icon {
    font-size: 34px;
  }
  .br-sheet-hero-initial {
    font-size: 30px;
  }
}
.br-profile-import {
  margin-bottom: 16px;
}
.br-profile-import[open] .br-profile-import-summary {
  margin-bottom: 14px;
}

.br-profile-import-summary {
  cursor: pointer;
  font-weight: 600;
  color: #1cc2eb;
  list-style: none;
}
.br-profile-import-summary::-webkit-details-marker {
  display: none;
}
.br-profile-import-summary .br-form-hint {
  display: block;
  margin-top: 4px;
  font-weight: 400;
}

.br-profile-import-example {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(28, 194, 235, 0.2);
  border-radius: 4px;
  background: rgba(4, 22, 30, 0.72);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  overflow-x: auto;
  white-space: pre;
}

.br-profile-import-body code {
  font-family: "Cascadia Mono", Consolas, monospace;
  color: #1cc2eb;
  background: rgba(28, 194, 235, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
}

.br-profile-import #profile-import-text {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.7;
}

.br-profile-import-result {
  margin-bottom: 12px;
}

.br-profile-import-errors {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: #ffc107;
}
.br-profile-import-errors li {
  margin-bottom: 4px;
}

.br-profile-import-ok {
  margin: 0;
  font-size: 13.5px;
  color: #24da98;
}

.br-profile-modal {
  width: min(940px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.br-profile-modal-body {
  overflow-y: auto;
  padding: 18px 20px 22px;
  flex: 1 1 auto;
  min-height: 0;
}

.br-profile-modal .br-trait-row {
  margin-bottom: 14px;
}

@media (max-width: 700px) {
  .br-profile-modal {
    width: 96vw;
    max-height: 92vh;
  }
  .br-profile-modal-body {
    padding: 14px 15px 18px;
  }
}
.br-sheet-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px 22px 24px;
  margin-bottom: 20px;
}

.br-sheet-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.br-sheet-panel-title {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.br-sheet-panel-intro {
  margin: 8px 0 0;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.br-sheet-panel-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.br-sheet-empty {
  text-align: center;
  padding: 34px 20px;
}
.br-sheet-empty .icon {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-bottom: 10px;
}
.br-sheet-empty h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
}
.br-sheet-empty p {
  margin: 0 auto;
  max-width: 46ch;
}

.br-sheet-loading {
  padding: 30px 20px;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}
.br-sheet-loading p {
  margin: 10px 0 0;
}

.br-sheet-loading-spin {
  width: 48px;
  height: 48px;
  animation: rotate-right 1s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .br-sheet-loading-spin {
    animation: none;
  }
}
.br-profile-step {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.br-profile-step-sheet {
  min-height: 180px;
}

.br-profile-scoped[hidden] {
  display: none;
}

.br-profile-unchosen {
  padding: 14px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.br-profile-form {
  display: block;
}

@media (max-width: 700px) {
  .br-sheet-panel {
    padding: 16px 15px 18px;
  }
  .br-sheet-panel-title {
    font-size: 21px;
  }
  .br-sheet-panel-actions {
    width: 100%;
  }
  .br-sheet-panel-actions .br-btn {
    width: 100%;
    justify-content: center;
  }
}
