@charset "UTF-8";
html {
  overflow-y: scroll;
}

.rk-content-col {
  padding: 6px 6px 6px 1.5rem;
}

h1:not(.accordion-header),
h2:not(.accordion-header) {
  margin-top: 40px !important;
  position: relative;
  padding-left: 1.6em;
  padding-bottom: 0.55em;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2a1a0a;
  margin-bottom: 0.75rem;
  display: flex;
  padding-left: 27px;
  line-height: 4px;
}
h1:not(.accordion-header)::before,
h2:not(.accordion-header)::before {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -0.1em;
  width: 1.7em;
  height: 1.75em;
  background: url(../img/regno_shield.png) no-repeat center bottom;
  background-size: contain;
}
h1:not(.accordion-header)::after,
h2:not(.accordion-header)::after {
  content: "";
  position: absolute;
  bottom: 0.15em;
  left: -34px;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, #c8a878 10%, #7a5430 30%, #5a3a10 50%, #7a5430 70%, #c8a878 90%, transparent 100%);
}

h1:not(.accordion-header) {
  font-size: 1.3rem;
  padding-left: 37px;
}

h2:not(.accordion-header) {
  font-size: 1.05rem;
}

.rk-stat-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3a2a10;
  min-width: 3.5rem;
  text-align: right;
}

h1.rk-site-title {
  display: block !important;
  font-size: 0.8rem !important;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a3a10;
  opacity: 0.55;
  margin: 0.25rem 0 0.5rem !important;
  padding: 0 !important;
}
h1.rk-site-title::before, h1.rk-site-title::after {
  display: none !important;
}

h2.rk-plain {
  display: block !important;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2a1a0a;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}
h2.rk-plain::before, h2.rk-plain::after {
  display: none !important;
}

h3.rk-plain {
  display: block !important;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2a1a0a;
  margin: 0 0 0.4rem !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}
h3.rk-plain::before, h3.rk-plain::after {
  display: none !important;
}

.rk-shield-title {
  position: relative;
  padding-left: 1.8em;
}
.rk-shield-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-61%);
  width: 1.3em;
  height: 1.3em;
  background: url(../img/regno_shield.png) no-repeat center center;
  background-size: contain;
}

a,
a:hover,
a:focus,
a:visited {
  text-decoration: none !important;
}

.rk-btn-primary {
  background-color: #7a5430;
  border-color: #5a3a10;
  color: #f5ede0 !important;
}
.rk-btn-primary:hover, .rk-btn-primary:focus-visible {
  background-color: #5a3a10;
  border-color: #3a2000;
  color: #f5ede0 !important;
}
.rk-btn-primary:active {
  background-color: #3a2000 !important;
  border-color: #2a1000 !important;
  color: #f5ede0 !important;
}
.rk-btn-primary:disabled, .rk-btn-primary[disabled] {
  opacity: 1 !important;
  background-color: #b8a898;
  border-color: #a09080;
  color: #e8e0d4 !important;
  cursor: not-allowed;
}

.rk-btn-secondary {
  background-color: #f0ebe2;
  border-color: #b8a888;
  color: #5a3a1a !important;
}
.rk-btn-secondary:hover, .rk-btn-secondary:focus-visible {
  background-color: #e0d8cc;
  border-color: #9a8868;
  color: #3a2000 !important;
}
.rk-btn-secondary:active {
  background-color: #d0c8bc !important;
  border-color: #8a7858 !important;
  color: #3a2000 !important;
}

.rk-btn-danger {
  background-color: transparent;
  border-color: #8b3020;
  color: #8b3020 !important;
}
.rk-btn-danger:hover, .rk-btn-danger:focus-visible {
  background-color: #8b3020;
  border-color: #8b3020;
  color: #fff !important;
}
.rk-btn-danger:active {
  background-color: #6b2010 !important;
  border-color: #6b2010 !important;
  color: #fff !important;
}

.rk-btn-ghost {
  background-color: transparent;
  border-color: #c8b898;
  color: #5a3a1a !important;
}
.rk-btn-ghost:hover, .rk-btn-ghost:focus-visible {
  background-color: #e8e0d4;
  border-color: #9a8060;
  color: #3a2000 !important;
}
.rk-btn-ghost:active {
  background-color: #d8d0c4 !important;
  border-color: #7a5430 !important;
  color: #2a1a00 !important;
}

.rk-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  margin-left: 0.35em;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
  background: #7a5430;
  color: #f5ede0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.rk-info-btn:hover, .rk-info-btn:focus-visible {
  background: #5a3a10;
  color: #f5ede0;
}
.rk-info-btn:active {
  background: #3a2000 !important;
  color: #f5ede0 !important;
}

.rk-alert-success {
  background: #e4ede4;
  border: 1px solid #7a9a7a;
  border-left: 4px solid #4a7a4a;
  color: #1e3a1e;
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.rk-color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.rk-color-swatch--active {
  border-color: #2a1a0a;
}
.rk-color-swatch:hover {
  border-color: #5a3a10;
}

.rk-box {
  background: #ede8e0;
  border: 1px solid #b8a888;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}
.rk-box--white {
  background: #fff;
}

.rk-pack-title {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2a1a0a;
  margin-bottom: 0.35rem;
}
.rk-pack-title .rk-pack-price {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #8a7a60;
}

#rk-ajax-loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#rk-ajax-loader .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #7a5430;
  border-width: 0.3rem;
}
#rk-ajax-loader.rk-ajax-loader--visible {
  display: flex;
}

@media (max-width: 599px) {
  .rk-pack-img {
    width: 25%;
    height: auto;
  }
  .rk-box--white.d-flex {
    align-items: flex-start !important;
  }
  h1:not(.accordion-header),
h2:not(.accordion-header) {
    padding-right: 0;
    line-height: 1.2;
  }
}
@keyframes rk-arrow-nudge {
  0%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(6px);
  }
  70% {
    transform: translateX(2px);
  }
}
.rk-btn-buy {
  font-size: 0.95rem;
  padding: 0.45rem 1.2rem;
  color: #fff !important;
  background-color: #7a5430;
  border-color: #6a4420;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.rk-btn-buy::after {
  content: "→";
  display: inline-block;
  margin-left: 0.55em;
}
.rk-btn-buy:hover, .rk-btn-buy:focus-visible {
  background-color: #6a4828;
  border-color: #5a3a18;
  color: #fff !important;
}
.rk-btn-buy:hover::after, .rk-btn-buy:focus-visible::after {
  animation: rk-arrow-nudge 0.55s ease infinite;
}
.rk-btn-buy:active {
  background-color: #5c3c20 !important;
  border-color: #4a2e10 !important;
  color: #fff !important;
}
.rk-btn-buy.disabled, .rk-btn-buy:disabled {
  background-color: #c0b8b0;
  border-color: #a8a09a;
  color: #8a8480;
  pointer-events: none;
  opacity: 1;
}
.rk-btn-buy.disabled::after, .rk-btn-buy:disabled::after {
  content: "";
}

.gb-entry {
  border-left: 3px solid #a89060;
  background: #e8e4de;
}
.gb-entry--private {
  border-left-color: #6a8a6a;
  background: #dce4dc;
}
.gb-entry .card-header {
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}
.gb-entry .card-footer {
  background: rgba(0, 0, 0, 0.04);
  font-size: 0.85rem;
}

.rk-chat-avatar {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #aaa;
  vertical-align: middle;
  margin: -2px 4px 0 0;
}

.gb-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #aaa;
}

.gb-avatar-placeholder {
  width: 48px;
  flex-shrink: 0;
}

.rk-avatar-current {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid #aaa;
}

.rk-avatar-pick {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: none;
  line-height: 0;
}
.rk-avatar-pick img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 2px;
}
.rk-avatar-pick:hover, .rk-avatar-pick:focus-visible {
  border-color: #74553a;
}
.rk-avatar-pick.is-chosen {
  border-color: #2e6b2e;
}

.gb-sender--online {
  color: #0000ff;
}

.lb-entry {
  background: #e8e4de;
  border-left: 3px solid #a89060;
}
.lb-entry--unread {
  border-left-color: #3a6a9a;
  background: #dde6f0;
}
.lb-entry .card-header {
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
}

.lb-delete {
  font-size: 0.8rem;
  color: #800000;
}

.faq-section-heading {
  margin-top: 1.25rem;
  color: #5a3a1a;
  border-bottom: 1px solid #c8b89a;
  padding-bottom: 0.25rem;
}

.faq-item {
  border: 1px solid #c8b89a;
}
.faq-item .faq-question {
  background: #f0ebe2;
  color: #333;
  font-size: 0.95rem;
}
.faq-item .faq-question:not(.collapsed) {
  background: #e0d8cc;
  color: #5a3a1a;
}
.faq-item .faq-answer {
  background: #faf7f2;
  font-size: 0.92rem;
}

.faq-discord-box {
  background: #eef3f8;
  border: 1px solid #a0b8cc;
  margin-top: 1rem;
}

.credits-person .credits-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #aaa;
  border-radius: 4px;
}
.credits-person .credits-photo-placeholder {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: #ddd;
  border-radius: 4px;
}

.nav-tabs {
  border: none;
  position: relative;
  z-index: 1;
  overflow: visible;
  gap: 3px;
  flex-wrap: nowrap;
}
.nav-tabs .nav-link {
  background: #b8a888;
  color: #5a3a1a;
  border: 1px solid #9a8060;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 0.5rem 1.6rem 0.75rem;
  margin: 0;
  transition: margin-top 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-tabs .nav-link:hover:not(.active) {
  background: #e0d4c4;
  color: #2a1a0a;
  margin-top: -2px;
}
.nav-tabs .nav-link.active {
  background: #fff;
  color: #2a1a0a;
  font-weight: 700;
  margin-top: -4px;
}
@media (max-width: 999px) {
  .nav-tabs {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
  }
  .nav-tabs .nav-link {
    border-radius: 4px !important;
    border: 1px solid #9a8060 !important;
    border-bottom: 1px solid #9a8060 !important;
    padding: 0.25rem 0.6rem;
    font-size: 0.82rem;
    margin-top: 0 !important;
    white-space: nowrap;
  }
  .nav-tabs .nav-link.active {
    background: #7a5430;
    color: #f5ede0;
    border-color: #5a3a10 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 999px) {
  .rk-tab-content {
    margin-top: 0;
  }
}
.rk-tab-content {
  position: relative;
  z-index: 2;
  margin-top: -4px;
}
.rk-tab-content--white {
  background: #fff;
}

.rk-stat {
  background: #ede8e0;
  border: 1px solid #b8a888;
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  text-align: center;
  height: 100%;
}
.rk-stat__number {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #2a1a0a;
}
.rk-stat__label {
  font-size: 0.8rem;
  color: #5a3a1a;
}

.rk-chart__cols {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 140px;
  border-bottom: 1px solid #d8cdbd;
}
.rk-chart__slot {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.rk-chart__slot:hover .rk-chart__col {
  background: #7a4a16;
}
.rk-chart__slot:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #2a1a0a;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 3;
  pointer-events: none;
}
.rk-chart__col {
  width: 100%;
  max-width: 24px;
  min-height: 1px;
  background: #9a5f1e;
  border-radius: 4px 4px 0 0;
}
.rk-chart__axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6a5a4a;
  margin-top: 2px;
}
.rk-chart__bar {
  height: 10px;
  min-width: 1px;
  background: #9a5f1e;
  border-radius: 0 4px 4px 0;
}

.rk-admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rk-admin-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.rk-admin-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
}
.rk-admin-burger span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.rk-admin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b3020;
}

.rk-admin-menu {
  background: #f5ede0;
  border: 1px solid #9a8060;
  min-width: 14rem;
}
.rk-admin-menu .dropdown-item {
  color: #2a1a0a;
  padding: 0.4rem 1rem;
}
.rk-admin-menu .dropdown-item:hover, .rk-admin-menu .dropdown-item:focus {
  background: #e0d4c4;
  color: #2a1a0a;
}
.rk-admin-menu .dropdown-item.active {
  background: #7a5430;
  color: #f5ede0;
  font-weight: 700;
}

.rk-mail-warning {
  border-left: 4px solid #c0392b;
  background: #fbeceb;
  color: #800000;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.rk-admin-only {
  border: 2px solid #8b3020;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #fbf3f0;
}

.rk-admin-col {
  background: #fbf3f0 !important;
  color: #8b3020 !important;
  box-shadow: inset 2px 0 0 #8b3020;
}

.rk-admin-only__label {
  color: #8b3020;
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.rk-admin-panel {
  background: #fff;
  border: 1px solid #9a8060;
  border-radius: 6px;
  padding: 1rem;
}
.rk-admin-panel .rk-box--white {
  border-color: #e0d6c6;
}
.rk-admin-panel > :last-child {
  margin-bottom: 0;
}
.rk-admin-panel .rk-sort-table th a {
  color: inherit;
}
@media (min-width: 768px) {
  .rk-admin-panel {
    padding: 1.25rem 1.5rem;
  }
}

.rk-tab-placeholder {
  background: #fff;
  min-height: 200px;
  padding: 0.75rem 1rem;
  color: #888;
}

.cb-card-table {
  font-size: 0.875rem;
}
.cb-card-table thead th {
  padding-top: 0.56rem;
  padding-bottom: 0.56rem;
}
.cb-card-table thead th[data-col] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.cb-card-table thead th[data-col]::after {
  content: " ⇅";
  color: #bbb;
  font-size: 0.75em;
}
.cb-card-table thead th[data-col].cb-sort-asc::after {
  content: " ▲";
  color: #5a3a1a;
}
.cb-card-table thead th[data-col].cb-sort-desc::after {
  content: " ▼";
  color: #5a3a1a;
}
.cb-card-table .cb-th-img {
  width: 52px;
}
.cb-card-table .cb-th-btn {
  width: 70px;
}
.cb-card-table .cb-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
}
.cb-card-table .cb-stats-cell {
  color: #444;
}
.cb-card-table .cb-stats {
  font-family: monospace;
  letter-spacing: 0.04em;
}
.cb-card-table .cb-icon-btn {
  padding: 0.05rem 1.1rem;
  font-size: 1.4rem;
  line-height: 1.4;
}
.cb-card-table .cb-info-row td {
  border-bottom: 0;
}
.cb-card-table .cb-th-chevron,
.cb-card-table .cb-chevron-cell {
  width: 2.5rem;
  text-align: center;
}
.cb-card-table .cb-chevron {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid #7a5430;
  border-bottom: 2px solid #7a5430;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
.cb-card-table .cb-info-row:hover .cb-chevron {
  border-color: #4a2f17;
}
.cb-card-table .cb-info-row.cb-open .cb-chevron {
  transform: rotate(45deg);
}

.cb-badge {
  display: inline-block;
  font-size: 0.68rem;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  margin-left: 0.2rem;
  vertical-align: middle;
  font-weight: 600;
}

.cb-badge-good {
  background: #d1e7dd;
  color: #0a3622;
}

.cb-badge-evil {
  background: #f8d7da;
  color: #58151c;
}

.cb-badge-neutral {
  background: #e2e3e5;
  color: #3d3f42;
}

.cb-badge-fly {
  background: #cfe2ff;
  color: #052c65;
}

.cb-badge-upg {
  background: #fff3cd;
  color: #4a3500;
}

.cb-actions-row td {
  border-top: 0;
  padding: 0;
}

.cb-actions-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: #f5f0e8;
  border-bottom: 1px solid #dee2e6;
}

.rk-delete-tokens {
  opacity: 0.85;
}

.rk-info-trigger {
  cursor: pointer;
}

.rk-token {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  vertical-align: middle;
}

.rk-wallet {
  background: #fff;
  border: 1px solid #c8b898;
  border-left: 4px solid #8B6914;
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1rem;
}

.rk-wallet__label {
  color: #6c757d;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rk-wallet__amount {
  font-size: 2rem;
  font-weight: bold;
  color: #5a7a2e;
  line-height: 1.2;
}
.rk-wallet__amount small {
  font-size: 1rem;
}

.rk-wallet__note {
  color: #6c757d;
  font-size: 0.85rem;
}

.rk-buying {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-weight: bold;
  color: #7a5430;
}

.rk-token-icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
  display: block;
}

.rk-card-thumb {
  cursor: pointer;
}

.cb-inline-input {
  display: inline-block;
  width: 72px;
  padding: 0.2rem 0.35rem;
  font-size: 0.8rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  line-height: 1.4;
}

.cs-images {
  display: flex;
  gap: 12px;
  padding: 0.75rem 0.75rem 0.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.cs-full-img {
  max-width: 280px;
  width: auto;
  border: 1px solid #b8a888;
  border-radius: 3px;
  flex-shrink: 0;
}

.cs-thumb-img {
  max-width: 90px;
  width: auto;
  border: 1px solid #b8a888;
  border-radius: 3px;
  flex-shrink: 0;
}

.cb-modal-frame {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
}

.ec-card {
  width: 132px;
  height: 172px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-card-inner {
  width: 100px;
  height: 100px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.ec-stat-top,
.ec-stat-bottom {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.ec-card-middle {
  height: 50px;
  display: flex;
  align-items: center;
}

.ec-stat-side {
  width: 25px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.ec-card-thumb {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.ec-card-thumb img {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: cover;
}

.rk-hand-preview {
  position: relative;
  width: 132px;
  height: 172px;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 0 0;
  cursor: pointer;
}
.rk-hand-preview .rk-hp-name {
  position: absolute;
  top: 4px;
  width: 100%;
  padding: 0 4px;
  font-size: 15px;
  font-weight: bold;
  line-height: 16px;
  color: #000;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rk-hand-preview .rk-hp-bottom {
  height: 25px;
  display: flex;
  align-items: center;
  width: 100%;
}
.rk-hand-preview .rk-hp-bottom .ec-stat-bottom {
  flex: 1;
}
.rk-hand-preview .rk-hp-corner {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rk-hand-preview .rk-hp-slots {
  display: flex;
  gap: 2px;
  width: 100px;
  margin-top: 5px;
}
.rk-hand-preview .rk-hp-slot {
  flex: 1;
  height: 24px;
  border: 1px solid #837e74;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(180, 165, 140, 0.18);
}
.rk-hand-preview .rk-hp-slot img {
  display: block;
}

.rk-card-specials {
  font-size: 0.85rem;
  color: #5a3e22;
}

.cb-special-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.65rem;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  background: #faf7f2;
  transition: border-color 0.12s, background 0.12s;
  user-select: none;
}
.cb-special-item input[type=radio] {
  display: none;
}
.cb-special-item:hover {
  background: #f0ece3;
  border-color: #c8b89a;
}
.cb-special-item:has(input:checked) {
  border-color: #6a8a4a;
  background: #eaf2e0;
}
.cb-special-item--disabled {
  opacity: 0.45;
  filter: grayscale(70%);
  pointer-events: none;
  cursor: default;
  border-color: #e0dbd4;
  background: #f5f2ee;
}
.cb-special-item .cb-special-thumb {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid #bbb;
  border-radius: 3px;
  margin-top: 0.1rem;
}
.cb-special-item .cb-special-info {
  flex: 1;
  min-width: 0;
}
.cb-special-item .cb-special-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.cb-special-item .cb-special-effect {
  font-size: 0.8rem;
  color: #3a5a2a;
  line-height: 1.3;
}
.cb-special-item .cb-special-target {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.1rem;
}

.cb-badge-only-one {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15em 0.4em;
  border-radius: 3px;
  background: #8b2020;
  color: #fff;
  vertical-align: middle;
}

.cb-special-form button[type=submit] {
  display: none;
}
.cb-special-form:has(input[type=radio]:checked) button[type=submit] {
  display: inline-block;
}

.hs-online {
  color: #0000ff;
}

.rk-badge-online {
  background: #2a7a2a;
  color: #fff;
  font-size: 0.7em;
  padding: 0.2em 0.5em;
  border-radius: 4px;
}

.badge-unread {
  background: #c0392b;
  color: #fff;
}

.badge-unanswered {
  background: #e67e22;
  color: #fff;
}

.badge-private {
  background: #800000;
  color: #fff;
}

.grain {
  background-image: url("data:image/png;base64,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");
  background-blend-mode: multiply;
}

.rk-warning {
  display: inline-block;
  background: #fff;
  border: 1.5px solid #b03030;
  border-radius: 6px;
  color: #b03030;
  font-size: 0.85em;
  padding: 0.35em 0.7em;
}

.form-switch .form-check-input.rk-switch {
  width: 2.4em;
  height: 1.15em;
  margin-top: -2px;
  margin-right: 6px;
  cursor: pointer;
}
.form-switch .form-check-input.rk-switch:focus:not(:checked) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280%2C0%2C0%2C0.25%29'/%3e%3c/svg%3e");
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: none;
}
.form-switch .form-check-input.rk-switch:checked {
  background-color: #7a5430;
  border-color: #5a3a10;
}
.form-switch .form-check-input.rk-switch:focus {
  border-color: #7a5430;
  box-shadow: 0 0 0 0.2rem rgba(122, 84, 48, 0.25);
}

.rk-cb-msg {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.5rem;
}

.rk-cb-meta {
  font-size: 0.85rem;
}

.rk-cb-txt {
  word-break: break-word;
}

.rk-clan-action {
  font-size: 0.8rem;
  margin-left: 4px;
}

.rk-legend-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rk-legend-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
}

.rk-legend-label {
  font-size: 0.82rem;
  color: #4a3a2a;
  white-space: nowrap;
  padding-left: 4px;
}

.csug-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.csug-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.csug-start .csug-card {
  border-color: #b8860b;
  border-width: 2px;
  background: #fbf3de;
}

.csug-drag-handle {
  flex-shrink: 0;
  cursor: grab;
  color: #8a7a60;
  font-size: 1.1rem;
  user-select: none;
}
.csug-drag-handle:active {
  cursor: grabbing;
}

.csug-thumb {
  display: block;
  width: 70px;
  height: auto;
  flex-shrink: 0;
  cursor: pointer;
}

.csug-info {
  flex: 1 1 auto;
  min-width: 0;
}

.csug-rank-badge {
  background: #6a5a45;
  color: #fff;
}

.csug-stats {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.csug-quad {
  font-family: monospace;
  letter-spacing: 0.04em;
  color: #444;
  margin-right: 0.15rem;
}

.csug-badge {
  background: #e8dfc8;
  color: #4a3a2a;
}

.csug-text {
  color: #5a4a38;
  margin: 0.2rem 0 0;
}

.csug-dates {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.csug-date-other {
  font-style: italic;
}

.csug-start-badge {
  display: inline-block;
  background: #b8860b;
  color: #fff;
  border: 1px solid #96700a;
  border-radius: 3px;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  margin-right: 0.35rem;
  vertical-align: middle;
  cursor: pointer;
}
.csug-start-badge--off {
  background: transparent;
  color: #8a7a60;
  border-color: #c8b898;
}
.csug-start-badge--off:hover {
  background: #b8860b;
  color: #fff;
  border-color: #96700a;
}

.sortable-ghost {
  opacity: 0.4;
}

@media (max-width: 599px) {
  .csug-card {
    flex-wrap: wrap;
  }
  .csug-dates {
    text-align: left;
    margin-left: calc(70px + 1.1rem + 1rem);
  }
}
.rk-sidebar-col {
  position: relative;
}

.rk-menu-fold-btn,
.rk-menu-unfold-btn {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.2rem 0.5rem 0.3rem;
}

.rk-menu-fold-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 6;
}

.rk-menu-unfold-btn {
  display: none;
  float: left;
  margin: 6px 8px 0 0;
}

@media (max-width: 991.98px) {
  .rk-menu-fold-btn {
    display: none;
  }
}
@media (min-width: 992px) {
  html.rk-menu-folded #rk-sidebar-col {
    display: none !important;
  }
  html.rk-menu-folded #rk-content-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  html.rk-menu-folded .rk-menu-unfold-btn {
    display: inline-block;
  }
}
.rk-sidebar {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.rk-menu-logo {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 12px 8px 8px;
}
.rk-menu-logo img {
  max-width: 80%;
  height: auto;
}

.rk-dev-ribbon {
  position: absolute;
  top: 30px;
  left: -52px;
  width: 220px;
  transform: rotate(-45deg);
  background: #c62828;
  color: #fff;
  text-align: center;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.3em;
  line-height: 1.9;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 5;
}

.rk-mobile-nav__logo {
  position: relative;
}

.rk-dev-ribbon--small {
  top: 2px;
  left: auto;
  right: -6px;
  width: auto;
  padding: 0 4px;
  transform: rotate(-12deg);
  font-size: 0.75rem;
  line-height: 1.4;
  border-width: 2px;
  letter-spacing: 0.1em;
}

.rk-menu-section {
  width: 86%;
  margin: 0 auto 8px;
}

.rk-menu-section-title {
  margin: 0;
  padding: 4px 10px 3px;
  background-color: #8b7040;
  color: #f5ede0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 2px 2px 0 0;
}
.rk-menu-section-title--admin {
  background-color: #6b2010;
  color: #ffe8e0;
}

.rk-menu-toggle {
  all: unset;
  display: block;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 18px;
  cursor: pointer;
  text-align: center;
}
.rk-menu-toggle:focus-visible {
  outline: 2px solid #f5ede0;
  outline-offset: 2px;
}

.rk-menu-chevron {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s;
}

.rk-menu-section--closed .rk-menu-section-title {
  border-radius: 2px;
}
.rk-menu-section--closed .rk-menu-section-body {
  display: none;
}
.rk-menu-section--closed .rk-menu-chevron {
  transform: translateY(-50%) rotate(135deg);
}

.rk-admin-freeroll {
  padding: 6px 10px 8px;
  font-size: 0.78rem;
  color: #3a1a0a;
}
.rk-admin-freeroll select, .rk-admin-freeroll input[type=text] {
  font-size: 0.75rem;
  padding: 1px 4px;
  border: 1px solid #c8a878;
  border-radius: 2px;
  background: #faf6ef;
  color: #2a1a0a;
  width: 100%;
  margin-bottom: 3px;
}
.rk-admin-freeroll label {
  display: block;
  margin-bottom: 1px;
  color: #5a3a1a;
  font-size: 0.72rem;
}
.rk-admin-freeroll .rk-admin-info {
  margin-bottom: 8px;
  color: #5a3a1a;
}
.rk-admin-freeroll .btn {
  width: 100%;
  margin-top: 4px;
  font-size: 0.78rem;
}

.rk-menu-section-body {
  background-color: #f0ead8;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  padding: 3px 0 5px;
  border-radius: 0 0 2px 2px;
  margin: 0 5px;
}

.rk-menu-link {
  display: block;
  padding: 4px 10px;
  color: #5c1e0e;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}
.rk-menu-link:hover, .rk-menu-link:focus {
  background: rgba(0, 0, 0, 0.07);
}
.rk-menu-link:visited {
  color: #5c1e0e;
}
.rk-menu-link--logout {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: #7a3020;
  padding: 2px 8px 8px;
}
.rk-menu-link--logout:visited {
  color: #7a3020;
}
.rk-menu-link--strong {
  font-weight: 700;
}
.rk-menu-link--muted {
  font-size: 0.8rem;
  opacity: 0.7;
}

.rk-menu-notice {
  font-size: 0.8rem;
  padding: 6px 10px;
  font-style: italic;
  opacity: 0.75;
}

.rk-menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 3px 0;
}

.rk-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #c0392b;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  margin-left: 3px;
  vertical-align: middle;
}

.rk-menu-badge.rk-badge--done,
.rk-drawer-badge.rk-badge--done {
  background: #2e7d32;
}

.rk-menu-arrow {
  margin-left: 4px;
  vertical-align: middle;
}

.rk-menu-time {
  margin-top: auto;
  padding: 8px 10px 12px;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.55;
}

.rk-version-link {
  color: inherit;
  font-weight: 600;
}
.rk-version-link:hover {
  color: #7a5430;
}

.rk-menu-spacer-top {
  height: 10px;
}

.rk-menu-spacer {
  height: 5px;
}

.rk-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}
.rk-mobile-nav--hidden {
  transform: translateY(-100%);
}
.rk-mobile-nav__logo {
  flex-shrink: 0;
  line-height: 0;
}
.rk-mobile-nav__logo img {
  height: 38px;
  max-width: 110px;
  object-fit: contain;
}
.rk-mobile-nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 10px;
}

.rk-mnav-link {
  color: #2a1a0a;
  font-size: 0.82rem;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  white-space: nowrap;
}
.rk-mnav-link:hover, .rk-mnav-link:visited {
  color: #7a5430;
}

@media (max-width: 400px) {
  .rk-mnav-newaccount {
    display: none !important;
  }
}
@media (max-width: 320px) {
  .rk-mnav-faq {
    display: none !important;
  }
}
@media (max-width: 340px) {
  .rk-mnav-faq {
    display: none !important;
  }
}
.rk-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}
.rk-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2a1a0a;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.rk-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rk-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.rk-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.rk-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1045;
  backdrop-filter: blur(4px) grayscale(100%);
  -webkit-backdrop-filter: blur(4px) grayscale(100%);
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.rk-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rk-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1050;
  width: 50vw;
  min-width: 240px;
  max-width: 300px;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: #f7f4ef;
}
.rk-drawer.is-open {
  transform: translateX(0);
}
.rk-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #2a1a0a;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.rk-drawer__header img {
  height: 34px;
  max-width: 100px;
  object-fit: contain;
}
.rk-drawer__logo-link {
  line-height: 0;
}
.rk-drawer__close {
  background: none;
  border: none;
  color: #f5ede0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.65;
}
.rk-drawer__close:hover {
  opacity: 1;
}
.rk-drawer__nav {
  padding: 6px 0;
  flex: 1;
}
.rk-drawer__time {
  padding: 10px 16px 14px;
  font-size: 0.78rem;
  color: #999;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.rk-drawer-section-title.rk-drawer-section-title--admin {
  color: #b02a2a;
}

.rk-drawer-section-title {
  padding: 10px 16px 3px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.rk-drawer-link {
  display: block;
  padding: 9px 16px;
  color: #2a1a0a;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}
.rk-drawer-link:hover, .rk-drawer-link:focus {
  background: rgba(0, 0, 0, 0.05);
  color: #7a5430;
}
.rk-drawer-link:visited {
  color: #2a1a0a;
}
.rk-drawer-link--strong {
  font-weight: 600;
}
.rk-drawer-link--muted {
  font-size: 0.8rem;
  color: #777;
}
.rk-drawer-link--logout {
  color: #8b3020;
  font-weight: 600;
}

.rk-drawer-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.09);
  margin: 4px 0;
}

.rk-drawer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #c0392b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
}

.rk-drawer-arrow {
  margin-left: 5px;
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .rk-content-col {
    padding-top: calc(52px + 6px) !important;
  }
  body {
    overflow-x: hidden;
  }
}
html.rk-drawer-open {
  overflow: hidden;
}

.db-facts {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.db-type-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.5;
}

.db-type-name {
  flex: 0 0 8.5rem;
}

.db-type-n {
  flex: 0 0 2rem;
  text-align: right;
  font-weight: 600;
}

.db-bar {
  flex: 1 1 auto;
  height: 0.55rem;
  background: #e3dccd;
  border-radius: 3px;
  overflow: hidden;
}
.db-bar span {
  display: block;
  height: 100%;
  background: #7a5430;
}

.db-col-head {
  min-height: 2rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.db-col {
  height: calc(100vh - 19rem);
  min-height: 22rem;
  overflow-y: auto;
  padding: 0.5rem;
  transition: box-shadow 0.15s, background-color 0.15s;
}

.db-col--target {
  box-shadow: inset 0 0 0 2px #c9b48a;
}

.db-col--over {
  box-shadow: inset 0 0 0 3px #7a5430;
  background-color: #fbf6ea !important;
}

.db-group-title {
  font-weight: 700;
  margin: 0.25rem 0 0.35rem;
  border-bottom: 1px solid #e3dccd;
}

.db-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.5rem;
  margin-bottom: 0.75rem;
}

.db-stack {
  position: relative;
  cursor: grab;
  border-radius: 6px;
  padding: 2px;
  transition: box-shadow 0.3s;
}
.db-stack img {
  -webkit-user-drag: none;
  user-select: none;
}

.db-stack--off {
  cursor: default;
  opacity: 0.55;
}

.db-stack--new {
  box-shadow: 0 0 0 3px #e0a63a;
}

.db-pile {
  position: relative;
  padding-right: calc(var(--n, 0) * 4px);
  padding-bottom: calc(var(--n, 0) * 4px);
}
.db-pile .rk-hand-preview {
  position: relative;
  z-index: 2;
}

.db-frame {
  position: absolute;
  left: calc(var(--i) * 4px);
  top: calc(var(--i) * 4px);
  width: 132px;
  height: 172px;
  border: 1px solid #8f7a55;
  border-radius: 5px;
  background: #d9d4ca;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  transform: rotate(calc(var(--i) * 1.2deg));
  z-index: 1;
}

.db-stack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.db-stack-foot .btn {
  padding: 0 0.55rem;
  line-height: 1.4;
  font-weight: 700;
}

.db-count {
  font-weight: 700;
  font-size: 0.85rem;
}

.db-note {
  font-size: 0.75rem;
  color: #8a4a1c;
  max-width: 140px;
}

.db-filter {
  border: 1px solid #c9b48a;
  background: #f3eee4;
  color: #4a3218;
  padding: 0.1rem 0.5rem;
  font-size: 0.8rem;
}

.db-filter--on {
  background: #7a5430;
  color: #fff;
  border-color: #7a5430;
}

.db-stats {
  background: #fff;
  border: 1px solid #d8cdb8;
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
}

.db-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
@media (max-width: 575.98px) {
  .db-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.db-tile {
  background: #f6f2ea;
  border-radius: 5px;
  padding: 0.3rem 0.45rem;
  text-align: center;
}

.db-tile-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a6a52;
}

.db-tile-value {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2a1a0a;
}

.db-tile-sub {
  font-size: 0.7rem;
  color: #8a7a62;
}

.db-good {
  color: #2e7d32;
}

.db-warn {
  color: #d9822b;
}

.db-bad {
  color: #c62828;
}

.db-meter-label {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.db-meter {
  position: relative;
  height: 0.8rem;
  margin-top: 0.2rem;
  background: #e3dccd;
  border-radius: 4px;
}

.db-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  transition: width 0.3s;
}

.db-meter.db-good .db-meter-fill {
  background: #2e7d32;
}

.db-meter.db-warn .db-meter-fill {
  background: #d9822b;
}

.db-meter.db-bad .db-meter-fill {
  background: #c62828;
}

.db-meter-line {
  position: absolute;
  top: -0.25rem;
  bottom: -0.25rem;
  width: 3px;
  margin-left: -1px;
  background: #2a1a0a;
  border-radius: 1px;
}

.rk-profile-picture {
  width: 150px;
  max-height: 200px;
  object-fit: cover;
  border: 1px solid #888;
  border-radius: 2px;
}

.rk-profile-avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid #888;
  border-radius: 2px;
}

.rk-profile-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  border: 1px dashed #888;
  font-size: 0.85rem;
  text-align: center;
  color: #5a4630;
}

.rk-profile-picture.rk-profile-image-empty {
  height: 200px;
}

.rk-profile-image-link {
  display: block;
  line-height: 0;
}

.rk-profile-image-link .rk-profile-image-empty {
  line-height: 1.2;
}

.rk-profile-image-link:hover img, .rk-profile-image-link:hover .rk-profile-image-empty {
  outline: 2px solid #74553a;
}

.rk-bot-row--locked {
  opacity: 0.55;
  filter: grayscale(0.6);
}
.rk-bot-row--locked label {
  cursor: default;
}

.rk-bot-lock {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0 0.45rem;
  border-radius: 4px;
  background: #5a3a1a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
