/*
Theme Name: Bitranked Community
Theme URI: https://bitranked.ru/
Author: Bitranked
Description: Community ranking product for Bitranked.
Version: 3.0.0
Text Domain: bitranked-community
*/

:root {
  --br-bg: #f4f4f1;
  --br-paper: #ffffff;
  --br-ink: #202326;
  --br-muted: #6d7175;
  --br-soft: #92969a;
  --br-line: #deded9;
  --br-line-dark: #34383b;
  --br-header: #1e2225;
  --br-orange: #f4513a;
  --br-orange-dark: #d83e2a;
  --br-green: #009d72;
  --br-width: 1040px;
  --br-reading: 760px;
  --br-radius: 6px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--br-bg);
  color: var(--br-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body.br-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus {
  z-index: 100;
  top: 8px;
  left: 8px;
  width: auto !important;
  height: auto !important;
  padding: 10px 14px !important;
  clip: auto !important;
  background: var(--br-paper);
  color: var(--br-ink);
}

.br-shell {
  width: min(calc(100% - 32px), var(--br-width));
  margin-inline: auto;
}

.br-reading {
  max-width: var(--br-reading);
}

/* Header */
.br-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid #151719;
  background: var(--br-header);
  color: #f7f7f5;
}

.admin-bar .br-header {
  top: 32px;
}

.br-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 58px;
}

.br-brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.br-brand__mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: var(--br-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.br-nav {
  min-width: 0;
}

.br-nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.br-nav a {
  color: #b8bdc0;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.br-nav a:hover,
.br-nav .current-menu-item > a,
.home .br-nav li:first-child > a {
  color: #fff;
}

.br-header__tools {
  display: flex;
  gap: 9px;
  align-items: center;
}

.br-header-search {
  display: flex;
  width: 138px;
  height: 34px;
  gap: 6px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #45494c;
  border-radius: var(--br-radius);
  color: #969b9e;
  background: #282c2f;
}

.br-header-search:focus-within {
  border-color: #787d80;
  background: #2d3134;
}

.br-header-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 13px;
}

.br-header-search input::placeholder {
  color: #9a9fa2;
}

.br-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--br-orange);
  border-radius: var(--br-radius);
  background: var(--br-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.br-action:hover {
  border-color: var(--br-orange-dark);
  background: var(--br-orange-dark);
}

.br-menu-toggle {
  display: none;
  width: 36px;
  height: 34px;
  padding: 8px;
  border: 1px solid #45494c;
  border-radius: var(--br-radius);
  background: transparent;
}

.br-menu-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 1px;
  margin: 4px 0;
  background: #fff;
}

/* Shared page controls */
.br-eyebrow {
  margin: 0 0 6px;
  color: var(--br-orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.br-tabs {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  border-bottom: 1px solid var(--br-line);
  scrollbar-width: none;
}

.br-tabs::-webkit-scrollbar {
  display: none;
}

.br-tabs a {
  flex: 0 0 auto;
  padding: 0 1px 12px;
  border-bottom: 2px solid transparent;
  color: var(--br-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.br-tabs a:hover {
  color: var(--br-ink);
}

.br-tabs .is-active {
  border-bottom-color: var(--br-orange);
  color: var(--br-ink);
}

/* Home: title, then the product */
.br-home {
  background: var(--br-paper);
}

.br-home__head {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 26px;
}

.br-home__head h1 {
  margin: 0;
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.br-home__intro {
  max-width: 610px;
  margin: 8px 0 0;
  color: var(--br-muted);
  font-size: 15px;
}

.br-home__meta {
  display: flex;
  flex: 0 0 auto;
  gap: 26px;
  margin: 0 0 2px;
}

.br-home__meta div {
  min-width: 92px;
}

.br-home__meta dt {
  color: var(--br-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.br-home__meta dd {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.br-ranking {
  padding: 28px 0 12px;
}

.br-section-head {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 17px;
}

.br-section-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.br-section-head p {
  margin: 4px 0 0;
  color: var(--br-muted);
  font-size: 12px;
}

.br-section-head > a {
  color: var(--br-orange-dark);
  font-size: 13px;
  font-weight: 750;
}

.br-rank-tools {
  display: flex;
  min-height: 48px;
  gap: 14px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--br-line);
  border-bottom: 0;
  background: #fafaf8;
}

.br-rank-search {
  display: flex;
  width: 250px;
  height: 32px;
  gap: 7px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #cfcfca;
  border-radius: 4px;
  background: #fff;
  color: var(--br-soft);
}

.br-rank-search:focus-within {
  border-color: #8f9294;
}

.br-rank-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--br-ink);
  font-size: 13px;
}

.br-rank-filters {
  display: flex;
  gap: 3px;
}

.br-rank-filters button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--br-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.br-rank-filters button:hover {
  color: var(--br-ink);
}

.br-rank-filters button.is-active {
  border-color: #cfcfca;
  background: #fff;
  color: var(--br-ink);
}

.br-rank-found {
  margin-left: auto;
  color: var(--br-soft);
  font-size: 12px;
  white-space: nowrap;
}

.br-ranking__table {
  border: 1px solid var(--br-line);
}

.br-ranking__table .ninja_table_wrapper,
.br-ranking__table .ninja_table_wrapper > div,
.br-ranking__table .footable_parent,
.br-ranking__table .semantic_ui {
  margin: 0 !important;
}

.br-ranking__table tr.footable-filtering,
.br-ranking__table .ninja_table_search_wrap,
.br-ranking__table .ninja_table_title,
.br-ranking__table .ninja_table_description {
  display: none !important;
}

.br-ranking__table table,
.br-community-table {
  display: table !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: #fff !important;
  color: var(--br-ink) !important;
  table-layout: fixed;
}

.br-ranking__table thead th {
  height: 34px;
  padding: 0 13px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--br-line) !important;
  background: #f7f7f5 !important;
  color: #85898c !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0.045em;
  text-align: left !important;
  text-transform: uppercase;
}

.br-ranking__table thead th:nth-child(1) {
  width: 100px;
}

.br-ranking__table thead th:nth-child(3) {
  width: 96px;
  text-align: center !important;
}

.br-ranking__table thead th:nth-child(4) {
  width: 145px;
}

.br-ranking__table thead th:nth-child(5) {
  width: 132px;
  text-align: right !important;
}

.br-ranking__table tbody tr {
  height: 82px;
  background: #fff !important;
  transition: background-color 120ms ease;
}

.br-ranking__table tbody tr:hover {
  background: #fbfbf9 !important;
}

.br-ranking__table tbody td {
  padding: 13px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8e8e4 !important;
  background: transparent !important;
  color: var(--br-ink) !important;
  vertical-align: middle !important;
}

.br-ranking__table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.br-ranking__table tbody td:first-child {
  position: relative;
  padding-left: 42px !important;
}

.br-ranking__table tbody td:first-child::before {
  content: attr(data-br-rank);
  position: absolute;
  top: 50%;
  left: 13px;
  width: 18px;
  transform: translateY(-50%);
  color: #93979a;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: center;
}

.br-ranking__table tbody td:first-child a {
  display: block;
  width: 48px;
  height: 48px;
}

.br-ranking__table tbody td:first-child img {
  display: block;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid #e3e3df;
  border-radius: 9px;
  object-fit: cover;
}

.br-ranking__table tbody td:nth-child(2) a {
  display: inline;
  color: var(--br-ink) !important;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
  text-decoration: none;
}

.br-ranking__table tbody td:nth-child(2) a:hover {
  color: var(--br-orange-dark) !important;
}

.br-ranking__table tbody td:nth-child(3) {
  text-align: center !important;
}

.br-ranking__table tbody td:nth-child(3) .glsr-summary {
  display: block !important;
}

.br-ranking__table tbody td:nth-child(3) .glsr-summary-rating {
  display: inline-flex;
  min-width: 50px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d6d1;
  border-radius: 4px;
  background: #f8f8f6;
  color: var(--br-ink);
  font-size: 15px;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.br-ranking__table tbody td:nth-child(4) {
  overflow: hidden;
  color: var(--br-muted) !important;
  font-size: 0 !important;
  white-space: nowrap;
}

.br-ranking__table tbody td:nth-child(4)::after {
  content: attr(data-br-short-reviews);
  font-size: 12px;
  font-weight: 650;
}

.br-ranking__table tbody td:nth-child(5) {
  text-align: right !important;
}

.br-ranking__table .nt_btn,
.br-ranking__table tbody td:nth-child(5) a {
  display: inline-flex !important;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px !important;
  border: 1px solid #d2d2cd !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: var(--br-ink) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.br-ranking__table .nt_btn:hover,
.br-ranking__table tbody td:nth-child(5) a:hover {
  border-color: var(--br-orange) !important;
  color: var(--br-orange-dark) !important;
}

.br-ranking__empty {
  padding: 28px;
  margin: 0;
  border: 1px solid var(--br-line);
  border-top: 0;
  color: var(--br-muted);
  text-align: center;
}

/* Top-three utility: a disclosure, not a promotional card */
.br-list-maker {
  padding: 24px 0 32px;
}

.br-list-maker__details {
  border-top: 1px solid var(--br-line);
  border-bottom: 1px solid var(--br-line);
}

.br-list-maker__details > summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  list-style: none;
  cursor: pointer;
}

.br-list-maker__details > summary::-webkit-details-marker {
  display: none;
}

.br-list-maker__details > summary > span:first-child {
  display: grid;
}

.br-list-maker__details > summary strong {
  font-size: 15px;
}

.br-list-maker__details > summary small {
  margin-top: 2px;
  color: var(--br-muted);
  font-size: 12px;
}

.br-list-maker__details > summary > span:last-child {
  width: 28px;
  color: var(--br-soft);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.br-list-maker__details[open] > summary > span:last-child {
  transform: rotate(45deg);
}

.br-list-maker__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.75fr);
  gap: 42px;
  padding: 8px 0 30px;
}

.br-field-label {
  margin: 0 0 10px;
  color: var(--br-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.br-builder__options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.br-builder__option {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #d0d0cb;
  border-radius: 4px;
  background: #fff;
  color: var(--br-ink);
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
}

.br-builder__option:hover {
  border-color: #9b9e9f;
}

.br-builder__option[aria-pressed="true"] {
  border-color: var(--br-orange);
  background: #fff4f1;
  color: var(--br-orange-dark);
}

.br-builder__option:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.br-builder__result {
  padding: 0;
  margin: 0 0 10px;
  list-style: none;
}

.br-builder__result li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid #e9e9e5;
  font-size: 13px;
}

.br-builder__result li > span {
  color: var(--br-soft);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.br-builder__result li.is-empty {
  display: block;
  color: var(--br-muted);
  font-weight: 400;
}

.br-reset {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--br-muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Long-form content */
.br-home-copy {
  padding: 50px 0 78px;
  border-top: 1px solid var(--br-line);
  background: var(--br-bg);
}

.br-page {
  min-height: 62vh;
  padding: 48px 0 76px;
  background: var(--br-paper);
}

.br-entry-head {
  padding-bottom: 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--br-line);
}

.br-breadcrumb {
  display: flex;
  gap: 7px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 15px;
  color: var(--br-soft);
  font-size: 12px;
  white-space: nowrap;
}

.br-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-breadcrumb a {
  color: var(--br-orange-dark);
  text-decoration: none;
}

.br-entry-head h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.042em;
}

.br-entry-meta {
  display: flex;
  gap: 16px;
  margin: 15px 0 0 !important;
  color: var(--br-muted);
  font-size: 12px;
}

.br-entry-meta a {
  color: var(--br-orange-dark);
  font-weight: 700;
}

.br-entry-cover {
  margin: 0 0 34px;
}

.br-entry-cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.br-content {
  color: #2b2e30;
}

.br-content > *:first-child {
  margin-top: 0;
}

.br-content h2,
.br-content h3,
.br-content h4 {
  color: var(--br-ink);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.br-content h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(26px, 4vw, 34px);
}

.br-content h3 {
  margin: 1.9em 0 0.65em;
  font-size: 23px;
}

.br-content h4 {
  margin: 1.6em 0 0.6em;
  font-size: 18px;
}

.br-content p,
.br-content li {
  max-width: 72ch;
}

.br-content p {
  margin: 0 0 1.15em;
}

.br-content ul,
.br-content ol {
  padding-left: 1.4em;
}

.br-content li {
  margin: 0.35em 0;
}

.br-content a {
  color: #bf3927;
}

.br-content blockquote {
  padding: 2px 0 2px 20px;
  margin: 30px 0;
  border-left: 3px solid var(--br-orange);
  color: #3b3e40;
  font-size: 19px;
  line-height: 1.5;
}

.br-content figure {
  margin: 32px 0;
}

.br-content figcaption {
  margin-top: 7px;
  color: var(--br-muted);
  font-size: 12px;
}

.br-content hr {
  height: 1px;
  margin: 38px 0;
  border: 0;
  background: var(--br-line);
}

.br-content table:not(.br-community-table) {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.br-content table:not(.br-community-table) th,
.br-content table:not(.br-community-table) td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--br-line);
  text-align: left;
}

.br-content table:not(.br-community-table) th {
  color: var(--br-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.br-entry-foot {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  margin-top: 48px;
  border-top: 1px solid var(--br-line);
  font-size: 13px;
  font-weight: 700;
}

.br-entry-foot a:last-child {
  color: var(--br-orange-dark);
}

/* Site Reviews: preserve the plugin structure, improve reading order */
.glsr {
  --glsr-primary: var(--br-orange);
  --glsr-gray-300: var(--br-line);
  --glsr-gray-400: #c8c8c3;
  --glsr-gray-500: var(--br-muted);
}

.glsr-reviews {
  margin-top: 22px !important;
}

.glsr-review {
  padding: 25px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--br-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.glsr-review:first-child {
  border-top: 1px solid var(--br-line) !important;
}

.glsr-review-title h3 {
  margin: 0 0 7px !important;
  color: var(--br-ink) !important;
  font-family: inherit !important;
  font-size: 19px !important;
  font-weight: 760 !important;
  letter-spacing: -0.02em !important;
}

.glsr-review-content p {
  color: #373a3c !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.glsr-review-author {
  color: var(--br-ink) !important;
  font-weight: 750 !important;
}

.glsr-review-date {
  color: var(--br-soft) !important;
  font-size: 12px !important;
}

.glsr-star {
  filter: none !important;
}

.glsr-form {
  padding-top: 10px;
}

.glsr-form label {
  color: var(--br-ink);
  font-size: 13px;
  font-weight: 700;
}

.br-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.br-content textarea,
.br-content select,
.glsr-input,
.glsr-textarea,
.glsr-select {
  width: 100%;
  padding: 11px 12px !important;
  border: 1px solid #bfc0bc !important;
  border-radius: 4px !important;
  outline: 0;
  background: #fff !important;
  color: var(--br-ink) !important;
  box-shadow: none !important;
}

.br-content input:focus,
.br-content textarea:focus,
.br-content select:focus,
.glsr-input:focus,
.glsr-textarea:focus,
.glsr-select:focus {
  border-color: #777a7c !important;
}

.br-content input[type="submit"],
.br-content button:not(.br-builder__option):not(.br-reset),
.glsr-button {
  min-height: 40px;
  padding: 0 16px !important;
  border: 1px solid var(--br-orange) !important;
  border-radius: 4px !important;
  background: var(--br-orange) !important;
  color: #fff !important;
  font-weight: 750 !important;
  cursor: pointer;
}

/* Archive */
.br-archive {
  min-height: 65vh;
  padding: 40px 0 76px;
  background: var(--br-paper);
}

.br-archive-head {
  padding-bottom: 25px;
}

.br-archive-head h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.br-archive-list {
  padding-top: 26px;
}

.br-post-list {
  border-top: 1px solid var(--br-line);
}

.br-post {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 32px;
  gap: 15px;
  align-items: center;
  min-height: 112px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--br-line);
}

.br-post:hover {
  background: #fafaf8;
}

.br-post__thumb {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e0e0dc;
  border-radius: 8px;
  background: #f0f0ed;
  color: var(--br-orange);
  font-size: 20px;
  font-weight: 850;
  text-decoration: none;
}

.br-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.br-post__meta {
  margin: 0 0 3px !important;
  color: var(--br-soft) !important;
  font-size: 11px;
}

.br-post h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.br-post h2 a {
  text-decoration: none;
}

.br-post h2 a:hover {
  color: var(--br-orange-dark);
}

.br-post__body > p:last-child {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--br-muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.br-post__arrow {
  color: var(--br-soft);
  font-size: 19px;
  text-decoration: none;
}

.br-pagination {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
}

.br-pagination .nav-links {
  display: flex;
  justify-content: space-between;
}

.br-empty {
  padding: 40px 0;
  color: var(--br-muted);
}

.br-empty h2 {
  margin: 0;
  color: var(--br-ink);
  font-size: 22px;
}

.br-empty p {
  margin: 5px 0 0;
}

/* 404 */
.br-not-found {
  display: flex;
  min-height: 63vh;
  align-items: center;
  padding: 60px 0;
  background: var(--br-paper);
}

.br-not-found .br-reading {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  align-items: center;
}

.br-not-found__code {
  color: #e4e4e0;
  font-size: 82px;
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 1;
}

.br-not-found h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.035em;
}

.br-not-found p:not(.br-eyebrow) {
  margin: 8px 0 20px;
  color: var(--br-muted);
}

.br-not-found__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* Footer */
.br-footer {
  padding: 42px 0 24px;
  border-top: 1px solid #171a1c;
  background: var(--br-header);
  color: #aeb3b6;
}

.br-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 180px 180px;
  gap: 42px;
}

.br-footer__brand {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.br-footer__about p {
  max-width: 360px;
  margin: 8px 0 0;
  font-size: 13px;
}

.br-footer__nav {
  display: grid;
  align-content: start;
  gap: 7px;
  font-size: 12px;
}

.br-footer__nav strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 12px;
}

.br-footer__nav a {
  color: #aeb3b6;
  text-decoration: none;
}

.br-footer__nav a:hover {
  color: #fff;
}

.br-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 34px;
  border-top: 1px solid var(--br-line-dark);
  color: #81878a;
  font-size: 11px;
}

@media (max-width: 860px) {
  .br-header__inner {
    grid-template-columns: auto 1fr;
  }

  .br-header__tools {
    justify-self: end;
  }

  .br-header-search {
    display: none;
  }

  .br-menu-toggle {
    display: block;
  }

  .br-nav {
    position: fixed;
    z-index: 79;
    inset: 58px 0 auto;
    display: none;
    padding: 10px 16px 18px;
    border-top: 1px solid #34383b;
    border-bottom: 1px solid #151719;
    background: var(--br-header);
  }

  .admin-bar .br-nav {
    top: 90px;
  }

  .br-menu-open .br-nav {
    display: block;
  }

  .br-nav ul {
    display: grid;
    gap: 0;
  }

  .br-nav li {
    border-bottom: 1px solid #34383b;
  }

  .br-nav a {
    display: block;
    padding: 12px 0;
    color: #fff;
    font-size: 14px;
  }

  .br-home__head {
    align-items: flex-start;
  }

  .br-home__meta {
    display: none;
  }

  .br-ranking__table thead th:nth-child(4) {
    width: 115px;
  }

  .br-ranking__table thead th:nth-child(5) {
    width: 115px;
  }

  .br-list-maker__body {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 680px) {
  .br-shell {
    width: min(calc(100% - 24px), var(--br-width));
  }

  .admin-bar .br-header {
    top: 46px;
  }

  .admin-bar .br-nav {
    top: 104px;
  }

  .br-header__inner {
    min-height: 58px;
  }

  .br-brand__name {
    font-size: 17px;
  }

  .br-action {
    padding-inline: 10px;
    font-size: 12px;
  }

  .br-home__head {
    padding-top: 29px;
    padding-bottom: 21px;
  }

  .br-home__head h1 {
    font-size: 28px;
  }

  .br-home__intro {
    font-size: 14px;
    line-height: 1.5;
  }

  .br-tabs {
    gap: 20px;
  }

  .br-ranking {
    padding-top: 23px;
  }

  .br-section-head {
    align-items: flex-start;
  }

  .br-section-head > a {
    display: none;
  }

  .br-rank-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
  }

  .br-rank-search {
    grid-column: 1 / -1;
    width: 100%;
  }

  .br-ranking__table {
    border-top: 0;
  }

  .br-ranking__table table,
  .br-ranking__table thead,
  .br-ranking__table tbody {
    display: block !important;
    width: 100% !important;
  }

  .br-ranking__table thead {
    display: none !important;
  }

  .br-ranking__table tbody tr.br-ranked-row {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    grid-template-areas:
      "logo name rating"
      "logo reviews action";
    gap: 3px 10px;
    align-items: center;
    min-height: 91px;
    height: auto;
    padding: 12px 10px;
    border-bottom: 1px solid var(--br-line);
  }

  .br-ranking__table tbody tr.br-ranked-row[hidden] {
    display: none !important;
  }

  .br-ranking__table tbody td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .br-ranking__table tbody td:first-child {
    grid-area: logo;
    align-self: start;
    min-height: 54px;
    padding-left: 20px !important;
  }

  .br-ranking__table tbody td:first-child::before {
    top: 24px;
    left: -2px;
  }

  .br-ranking__table tbody td:first-child a,
  .br-ranking__table tbody td:first-child img {
    width: 46px !important;
    height: 46px !important;
  }

  .br-ranking__table tbody td:nth-child(2) {
    grid-area: name;
  }

  .br-ranking__table tbody td:nth-child(2) a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .br-ranking__table tbody td:nth-child(3) {
    grid-area: rating;
  }

  .br-ranking__table tbody td:nth-child(3) .glsr-summary-rating {
    min-width: 43px;
    min-height: 30px;
    font-size: 13px;
  }

  .br-ranking__table tbody td:nth-child(4) {
    grid-area: reviews;
  }

  .br-ranking__table tbody td:nth-child(4)::after {
    font-size: 11px;
  }

  .br-ranking__table tbody td:nth-child(5) {
    grid-area: action;
  }

  .br-ranking__table .nt_btn,
  .br-ranking__table tbody td:nth-child(5) a {
    min-height: auto;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--br-orange-dark) !important;
    font-size: 11px !important;
  }

  .br-list-maker {
    padding-top: 16px;
  }

  .br-list-maker__body {
    padding-bottom: 24px;
  }

  .br-home-copy {
    padding: 38px 0 58px;
  }

  .br-page {
    padding: 30px 0 56px;
  }

  .br-entry-head {
    padding-bottom: 22px;
    margin-bottom: 27px;
  }

  .br-entry-head h1 {
    font-size: 33px;
  }

  .br-entry-meta,
  .br-entry-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .br-content h2 {
    font-size: 27px;
  }

  .br-content h3 {
    font-size: 21px;
  }

  .br-content figure {
    margin: 25px 0;
  }

  .br-content .wp-block-table {
    overflow-x: auto;
  }

  .br-post {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 100px;
  }

  .br-post__thumb {
    width: 48px;
    height: 48px;
  }

  .br-post__arrow {
    display: none;
  }

  .br-post__body > p:last-child {
    display: none;
  }

  .br-not-found .br-reading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .br-not-found__code {
    font-size: 56px;
  }

  .br-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .br-footer__about {
    grid-column: 1 / -1;
  }

  .br-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 390px) {
  .br-action {
    display: none;
  }

  .br-ranking__table tbody tr.br-ranked-row {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 3px 7px;
  }

  .br-ranking__table tbody td:first-child {
    padding-left: 16px !important;
  }

  .br-ranking__table tbody td:first-child a,
  .br-ranking__table tbody td:first-child img {
    width: 42px !important;
    height: 42px !important;
  }
}
