/* Generated by scripts/build-content-css.js from style.css. */
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/vendor/bugmakers/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-052F, U+20B4-20BD, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/vendor/bugmakers/fonts/IBMPlexMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-052F, U+20B4-20BD, U+2116;
}

@font-face {
  font-family: "Terminalia";
  src: url("/vendor/bugmakers/fonts/Terminalia-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-052F, U+20B4-20BD, U+2116;
}

:root {
  --bm-black: #303030;
  --bm-black-dark: #4a4a4a;
  --bm-gray: #f2f2f3;
  --bm-gray-line: #e3e3e3;
  --bm-white: #fff;
  --bm-red: #ff2426;
  --bm-red-extra: #f43d40;
  --bm-orange: #fdc19c;
  --bm-blue: #376dff;
  --bm-green: #7ed56d;
  --bm-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --pixie-page-bg: var(--bm-gray);
  --pixie-header-bg: var(--bm-gray);
  --pixie-header-text: var(--bm-black);
  --pixie-header-border: var(--bm-black);
  --pixie-card-bg: var(--bm-white);
  --pixie-card-text: var(--bm-black);
  --pixie-card-muted: var(--bm-black-dark);
  --pixie-media-bg: var(--bm-gray-line);
  --pixie-soft-bg: var(--bm-gray);
  --pixie-input-bg: var(--bm-white);
  --pixie-input-text: var(--bm-black);
  --pixie-input-placeholder: rgba(48, 48, 48, 0.55);
  --pixie-control-bg: rgba(48, 48, 48, 0.04);
  --pixie-control-border: rgba(48, 48, 48, 0.72);
  --pixie-progressive-fallback: linear-gradient(135deg, #f2f2f3 0%, #fff 48%, #e3e3e3 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #f5f5f5;
  color: #333;
  padding-top: 58px;
}

/* Фиксированная шапка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #667eea;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 4000;
  padding: 8px 0;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
}

.logo:hover,
.logo:focus {
  background: rgba(255, 255, 255, 0.32);
  text-decoration: none;
}

.logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-title {
  font-size: 16px;
  font-weight: 400;
}

/* Контейнер фильтра */
.tag-filter-container {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  padding: 4px 6px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: none;
  overflow: visible;
}

.filter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.tag-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.tag-filter-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 7px 42px 7px 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  cursor: text;
  outline: none;
  transition: all 0.3s ease;
}

.tag-filter-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.tag-filter-input:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tag-filter-input:focus {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.is-hidden {
  display: none !important;
}

.metrika-noscript-pixel {
  position: absolute;
  left: -9999px;
}

:where(.fas, .far) {
  color: currentColor;
}

button :where(.fas, .far),
a :where(.fas, .far) {
  pointer-events: none;
}

.tag-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  top: calc(100% + 6px);
  left: 6px;
  right: 6px;
  z-index: 4100;
  padding: 8px;
  border-radius: 10px;
  background: #667eea;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.tag-suggestion {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tag-suggestion:hover,
.tag-suggestion:focus {
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.tag-search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--pixie-header-text, white);
  opacity: 0.78;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  pointer-events: none;
  transform: translateY(-50%);
}

.telegram-header-link {
  flex: 0 0 auto;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.telegram-header-link:hover,
.telegram-header-link:focus-visible {
  opacity: 0.86;
  text-decoration: none;
}

.telegram-header-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.auth-controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-user-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-username {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
}

.auth-button {
  border: none;
  border-radius: 999px;
  min-height: 28px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.22);
  color: white;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.auth-button:hover {
  background: rgba(255, 255, 255, 0.32);
}

.auth-button-secondary {
  background: rgba(255, 255, 255, 0.14);
}

.auth-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  font-size: 12px;
  line-height: 1;
}

.login-modal,
.access-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 28, 66, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.login-modal.is-visible,
.access-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.login-dialog,
.access-dialog {
  position: relative;
  width: min(100%, 360px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  display: grid;
  gap: 14px;
  padding: 12px 24px 24px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.access-dialog {
  width: min(calc(100vw - 96px), 840px);
  margin-right: 84px;
  gap: 0;
  padding: 80px 56px 70px;
  border-radius: 56px;
  background: var(--bm-white);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.access-dialog .access-dialog-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  min-height: 0;
  display: block;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-modal.is-visible .login-dialog,
.access-modal.is-visible .access-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.login-dialog h2,
.access-dialog h2 {
  margin: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding-right: 56px;
  font-size: 24px;
  line-height: 1;
  color: #222;
}

.login-close,
.access-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 50%;
  background: transparent;
  color: var(--bm-black);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.access-close {
  top: 0;
  right: -84px;
  width: 68px;
  height: 68px;
  border: 0;
  background: var(--bm-white);
  font-size: 30px;
}

.login-close:hover,
.login-close:focus-visible,
.access-close:hover,
.access-close:focus-visible {
  border-color: var(--bm-black);
  background: transparent;
  outline: none;
}

.access-offers {
  display: grid;
  gap: 0;
}

.access-offer {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 0 0 52px;
  text-align: center;
}

.access-offer + .access-offer {
  padding-top: 40px;
  border-top: 1px solid var(--bm-gray-line);
}

.access-offer h3 {
  margin: 0;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(27px, 3.1vw, 38px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.access-offer h3 span {
  color: var(--bm-red);
}

.access-offer p {
  max-width: 560px;
  margin: -10px 0 4px;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.access-choice-button {
  width: min(100%, 730px);
  min-height: 70px;
  padding: 16px 32px;
  border: 2px solid var(--bm-black);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-black);
  color: var(--bm-white);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(20px, 2.15vw, 27px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.access-choice-button-free {
  min-height: 48px;
  padding: 8px 22px;
  line-height: 1.3;
}

.access-choice-button:hover,
.access-choice-button:focus-visible {
  border-color: var(--bm-black);
  background: var(--bm-white);
  color: var(--bm-black);
  outline: none;
  text-decoration: none;
}

.access-choice-button-secondary {
  min-height: 70px;
  margin-top: 50px;
  background: var(--bm-white);
  color: var(--bm-black);
}

.access-choice-button-secondary:hover,
.access-choice-button-secondary:focus-visible {
  background: var(--bm-black);
  color: var(--bm-white);
}

.access-details-link {
  min-height: 24px;
  margin-top: 38px;
  padding: 0;
  border: 0;
  justify-self: center;
  background: transparent;
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: color 0.18s ease;
}

.access-details-link:hover,
.access-details-link:focus-visible {
  background: transparent;
  color: var(--bm-black);
  outline: none;
}

.access-support-note {
  max-width: 710px;
  margin: 26px auto 0;
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}

.access-support-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}

.access-support-note a:hover,
.access-support-note a:focus-visible {
  color: var(--bm-black);
  outline: none;
}

.login-field {
  display: grid;
  gap: 7px;
}

.login-field span {
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.login-field input {
  width: 100%;
  border: 1px solid #dfe4ff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 18px;
  color: #222;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  outline: none;
}

.login-field input:focus {
  border-color: var(--bm-black);
  box-shadow: none;
}

.login-field input:hover {
  border-color: var(--bm-black);
}

.login-submit {
  min-height: 40px;
  margin-top: 8px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 999px;
  background: transparent;
  color: var(--bm-black);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.login-submit:hover,
.login-submit:focus-visible {
  border-color: var(--bm-black);
  background: transparent;
  color: var(--bm-black);
  outline: none;
  box-shadow: none;
  transform: none;
}

.login-access-link {
  margin: 14px 0 0;
  text-align: center;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.login-access-link a:not(.login-access-button) {
  color: #667eea;
  font-weight: 700;
  text-decoration: none;
}

.login-access-link a:not(.login-access-button):hover,
.login-access-link a:not(.login-access-button):focus-visible {
  text-decoration: underline;
  outline: none;
}

.login-access-button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 999px;
  box-sizing: border-box;
  background: var(--bm-white);
  color: var(--bm-black);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.login-access-button:hover,
.login-access-button:focus-visible {
  background: var(--bm-white);
  border-color: var(--bm-black);
  color: var(--bm-black);
  outline: none;
  text-decoration: none;
  transform: none;
}

.login-status {
  min-height: 18px;
  font-size: 13px;
  color: #666;
}

.login-status:empty {
  display: none;
}

.login-status.danger {
  color: #b63d34;
}

.login-status.muted {
  color: #666;
}

@media (prefers-reduced-motion: reduce) {
  .login-modal,
  .login-dialog,
  .access-modal,
  .access-dialog,
  .mobile-search-modal,
  .mobile-search-sheet {
    transition: none !important;
  }
}

/* Информация о боте */
.bot-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.9;
  padding: 5px 0;
}

/* Основная лента */
.main {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.not-found-page {
  max-width: 800px;
  height: calc(100dvh - 58px);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f5f5;
}

.not-found-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 74px);
  object-fit: contain;
  mix-blend-mode: darken;
}

.detail-page {
  --detail-section-gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.detail-description-card {
  margin-top: var(--detail-section-gap);
  padding: 0;
  line-height: 1.6;
}

.detail-description-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.detail-description-text {
  margin: 0;
  white-space: pre-line;
}

.detail-page .tags-container {
  margin-top: 0;
}

@supports not (height: 100dvh) {
  .not-found-page {
    height: calc(100vh - 58px);
  }

  .not-found-image {
    max-height: calc(100vh - 74px);
  }
}

.tag-page-banner {
  margin-bottom: 24px;
}

.tag-page-banner-card {
  border-radius: 12px;
  padding: 18px 0;
}

.tag-page-banner-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #222;
}

.tag-page-banner-card p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.access-page {
  display: grid;
  gap: 18px;
}

.access-hero {
  display: grid;
  gap: 10px;
}

.access-options {
  display: grid;
  gap: 14px;
}

.access-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--bm-gray-line);
  background: var(--pixie-card-bg);
  color: var(--pixie-card-text);
}

.access-card-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 50%;
  background: transparent;
  color: var(--bm-black);
  font-size: 22px;
  line-height: 1;
}

.access-card-content {
  display: grid;
  gap: 10px;
}

.access-card h2 {
  margin: 0;
  color: var(--pixie-card-text);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.access-card p {
  margin: 0;
  color: var(--pixie-card-muted);
  font-size: 16px;
  line-height: 1.6;
}

.access-card-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 999px;
  background: transparent;
  color: var(--bm-black);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.access-card-link i {
  font-size: 16px;
  line-height: 1;
}

.access-card-link:hover,
.access-card-link:focus-visible {
  border-color: var(--bm-black);
  background: transparent;
  color: var(--bm-black);
  text-decoration: none;
  outline: none;
  box-shadow: none;
  transform: none;
}

.access-payment-page {
  display: grid;
  justify-items: center;
}

.access-payment-card {
  width: min(100%, 720px);
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--bm-gray-line);
  background: var(--pixie-card-bg);
  color: var(--pixie-card-text);
}

.access-payment-back {
  width: fit-content;
  color: var(--pixie-card-muted);
  font-size: 14px;
  text-decoration: none;
}

.access-payment-back:hover,
.access-payment-back:focus-visible {
  color: var(--bm-black);
  text-decoration: underline;
}

.access-payment-card h1 {
  margin: 0;
  color: var(--pixie-card-text);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.access-payment-description,
.access-payment-notice,
.access-payment-support {
  margin: 0;
  color: var(--pixie-card-muted);
  font-size: 16px;
  line-height: 1.55;
}

.access-payment-form {
  display: grid;
  gap: 16px;
}

.access-payment-field {
  display: grid;
  gap: 8px;
  color: var(--pixie-card-muted);
  font-size: 14px;
}

.access-payment-field input {
  width: 100%;
  height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(48, 48, 48, 0.3);
  border-radius: 999px;
  background: var(--bm-white);
  color: var(--bm-black);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.access-payment-field input:focus-visible {
  border-color: var(--bm-black);
  box-shadow: 0 0 0 3px rgba(48, 48, 48, 0.1);
}

.access-payment-error {
  margin: 0;
  color: var(--bm-red);
  font-size: 14px;
  line-height: 1.4;
}

.access-payment-submit {
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--bm-black);
  border-radius: 999px;
  background: var(--bm-black);
  color: var(--bm-white);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
}

.access-payment-submit:hover,
.access-payment-submit:focus-visible {
  background: var(--bm-white);
  color: var(--bm-black);
}

.access-payment-support {
  padding-top: 20px;
  border-top: 1px solid var(--bm-gray-line);
  font-size: 14px;
}

/* Карточка медиа */

.original-view-control {
  --original-view-edge-offset: var(--media-overlay-edge-offset, 10px);
  --original-view-button-size: 40px;
  --original-view-icon-size: 24px;
  position: absolute;
  right: var(--original-view-edge-offset);
  bottom: var(--original-view-edge-offset);
  z-index: 15;
  width: auto;
  height: var(--original-view-button-size);
  display: flex;
  align-items: center;
  gap: 6px;
}

.original-view-button,
.media-post-link {
  width: var(--original-view-button-size);
  height: var(--original-view-button-size);
  position: relative;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}

.original-view-button::before,
.media-post-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.16);
  transition: box-shadow 0.18s ease;
}

.original-view-button::after,
.media-post-link::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}

.original-view-button:hover,
.original-view-button:focus-visible,
.media-post-link:hover,
.media-post-link:focus-visible {
  color: #000;
  outline: none;
}

.original-view-button:hover::before,
.original-view-button:focus-visible::before,
.media-post-link:hover::before,
.media-post-link:focus-visible::before {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

.original-view-icon,
.media-post-link-icon {
  position: relative;
  z-index: 1;
  width: var(--original-view-icon-size);
  height: var(--original-view-icon-size);
  display: block;
  background: currentColor;
}

.original-view-icon {
  -webkit-mask: url('/vendor/pixie-icons/zoom-plus.svg?v=20260920-2') center / contain no-repeat;
  mask: url('/vendor/pixie-icons/zoom-plus.svg?v=20260920-2') center / contain no-repeat;
}

img[data-original-viewer-trigger='true'] {
  cursor: zoom-in;
  touch-action: pan-y;
}

img[data-original-viewer-trigger='true'].is-pinch-opening {
  position: relative;
  z-index: 5;
  will-change: transform;
}

.progressive-media {
  background-color: #edf1ff;
  background-image: linear-gradient(135deg, #dfe6ff 0%, #f5f7ff 45%, #d9e1ff 100%);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.progressive-media::before,
.progressive-media::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.progressive-media::before {
  inset: -24px;
  z-index: 0;
  background-image: linear-gradient(135deg, #dfe6ff 0%, #f5f7ff 45%, #d9e1ff 100%);
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  transform: scale(1.06);
  transition: opacity 0.35s ease;
}

.progressive-placeholder-image {
  position: absolute;
  inset: -24px;
  z-index: 0 !important;
  width: calc(100% + 48px) !important;
  height: calc(100% + 48px) !important;
  max-height: none !important;
  object-fit: cover;
  filter: blur(18px);
  transform: scale(1.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.progressive-media::after {
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.26) 45%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-100%);
}

.progressive-media.is-progressive-bound:not(.is-loaded)::before,
.progressive-media.is-progressive-bound:not(.is-loaded) .progressive-placeholder-image {
  opacity: 1;
}

.progressive-media.is-progressive-bound:not(.is-loaded)::after {
  opacity: 1;
  animation: progressive-shimmer 1.35s ease-in-out infinite;
}

.progressive-media.is-progressive-bound > img:not(.progressive-placeholder-image),
.progressive-media.is-progressive-bound .related-preview-link > img {
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.38s ease, transform 0.45s ease;
}

.progressive-media.is-progressive-bound.is-loaded > img:not(.progressive-placeholder-image),
.progressive-media.is-progressive-bound.is-loaded .related-preview-link > img {
  opacity: 1;
  transform: none;
}

@keyframes progressive-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.restricted-media {
  position: relative;
}

.restricted-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: rgba(24, 30, 54, 0.24);
  color: white;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
  z-index: 4;
}

.restricted-overlay:hover,
.restricted-overlay:focus-visible {
  background: rgba(24, 30, 54, 0.36);
  outline: none;
}

.empty-tags {
  color: #999;
  font-style: italic;
}

.unsupported-file {
  padding: 40px;
  text-align: center;
  color: #666;
}

.unsupported-file-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

.collections-section {
  margin-top: 40px;
}

.collections-grid {
  align-items: start;
  row-gap: 28px;
}

.collection-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.collection-card-preview-wrap {
  position: relative;
}

.collection-preview {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.collection-preview-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.collection-preview-link > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-preview-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 36, 38, 0.08), rgba(48, 48, 48, 0.08)),
    var(--bm-gray);
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 700;
}

.collection-card-body {
  display: block;
  color: inherit;
  text-decoration: none;
}

.collection-card-title {
  margin: 0;
  color: var(--bm-black);
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.collection-card-description {
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
  font-size: 14px;
  line-height: 1.35;
}

.group-header {
  padding: 16px 20px 0;
}

.meta-info {
  order: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.date-views {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.type-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 28px;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.type-badge i {
  flex: 0 0 auto;
}

.type-badge--overlay {
  position: absolute;
  top: var(--media-overlay-edge-offset, 10px);
  right: var(--media-overlay-edge-offset, 10px);
  z-index: 6;
  height: 24px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(242, 242, 243, 0.92);
  border: 1px solid rgba(48, 48, 48, 0.12);
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.8;
  pointer-events: none;
}

.type-badge--overlay i {
  font-size: 18px;
  line-height: 1;
}

.type-badge-count {
  line-height: 1;
}

.type-badge-compact {
  display: none;
}

.views-badge {
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.views-icon {
  width: 16px;
  height: 16px;
  line-height: 1;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.tag {
  --color-text: var(--pixie-card-text);
  --color-cross: #FF2426;
  background: transparent;
  color: var(--color-text);
  min-height: auto;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  transition: color 0.18s ease;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
}

.tag::before {
  content: "#";
  color: var(--color-cross);
}

.tag-link {
  cursor: pointer;
}

.tag-link:hover,
.tag-link:focus-visible {
  --color-text: color-mix(in srgb, var(--bm-black) 65%, transparent);
  --color-cross: color-mix(in srgb, var(--bm-black) 65%, transparent);
  background: transparent;
  color: var(--color-text);
  outline: none;
}

.tag.is-adult {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-weight: 400;
  align-items: baseline;
  line-height: 1.35;
}

/* Загрузка */
.loading,
.no-more {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.loading.is-idle {
  min-height: 1px;
  padding: 0;
}

.loading.is-idle > * {
  display: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.no-more-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.no-more-content i {
  width: 48px;
  height: 48px;
  color: #667eea;
  opacity: 0.7;
}

.retry-media-button {
  min-height: 40px;
  padding: 8px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.retry-media-button:hover,
.retry-media-button:focus-visible {
  color: var(--bm-red, #ff3037);
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: #667eea;
  background: rgba(255, 255, 255, 0.9);
}

.modal-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #000;
  max-height: 70vh;
  overflow: hidden;
}

.modal-media img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.modal-info {
  padding: 20px;
  background: white;
  border-top: 1px solid #eee;
}

.modal-date {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@keyframes original-viewer-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Адаптивность */
@media (max-width: 850px) {
  .detail-page {
    --detail-section-gap: 32px;
  }

  .header-content {
    padding: 0 15px;
    align-items: stretch;
    flex-direction: column;
  }

  .main {
    padding: 15px;
  }

  .original-view-control {
    --original-view-button-size: 28px;
    --original-view-icon-size: 17px;
  }
}

/* Project footer and trust pages */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--bm-black);
  background: var(--bm-black);
  color: var(--bm-white);
}

.site-footer-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 48px 32px 52px;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(160px, 0.8fr) minmax(240px, 1.15fr) minmax(220px, 1fr);
  gap: 40px;
}

.site-footer h2,
.site-footer p,
.site-footer ul {
  margin: 0;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li,
.site-footer a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.site-footer a {
  color: var(--bm-white);
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--bm-red);
  text-decoration-color: var(--bm-red);
}

.site-footer-brand,
.site-footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer-logo {
  font-family: "Terminalia", "IBM Plex Mono", monospace !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
}

.site-footer-logo span {
  color: var(--bm-red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  vertical-align: top;
}

.site-footer-version {
  margin-top: 8px !important;
}

.site-footer-version a {
  font-weight: 700;
}

.site-footer-copy {
  color: rgba(255, 255, 255, 0.62);
}

.trust-page {
  max-width: 960px;
  padding-top: 36px;
  padding-bottom: 40px;
}

.trust-page-card {
  margin-top: 24px;
  border-top: 1px solid var(--bm-black);
}

.trust-page-header {
  padding: 42px 0 38px;
  border-bottom: 1px solid var(--bm-gray-line);
}

.trust-page-kicker {
  margin: 0 0 14px;
  color: var(--bm-red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-page-header h1 {
  max-width: 820px;
  margin: 0;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.trust-page-lead {
  max-width: 800px;
  margin: 24px 0 0;
  color: var(--bm-black-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  line-height: 1.65;
}

.trust-page-updated {
  margin: 20px 0 0;
  color: rgba(48, 48, 48, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
}

.trust-page-content {
  max-width: 820px;
}

.trust-page-content section {
  padding: 36px 0;
  border-bottom: 1px solid var(--bm-gray-line);
}

.trust-page-content h2 {
  margin: 0 0 18px;
  color: var(--bm-black);
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.trust-page-content p,
.trust-page-content li {
  color: var(--bm-black-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1.75;
}

.trust-page-content p + p,
.trust-page-content p + ul,
.trust-page-content ul + p {
  margin-top: 16px;
}

.trust-page-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
}

.project-history-day-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.project-history-date {
  margin: 0;
  color: var(--bm-red) !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.3 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-history-version {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--bm-black);
  color: var(--bm-white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.project-history-day h2 {
  margin-bottom: 16px;
}

.trust-page-content a,
.access-page-legal a,
.access-form-legal a {
  color: var(--bm-black);
  text-decoration-color: var(--bm-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.trust-page-content a:hover,
.trust-page-content a:focus-visible,
.access-page-legal a:hover,
.access-page-legal a:focus-visible,
.access-form-legal a:hover,
.access-form-legal a:focus-visible {
  color: var(--bm-red);
}

/* Illustrated stories */
.story-comic-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4em 0.8em;
  padding: 0.65em 1em;
  border: 1px solid currentColor;
  color: var(--text-color, #303030);
  font: inherit;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
}
.story-comic-download span { font-size: 0.8em; }
.story-comic-download:hover { background: #e7e7e7; }
.story-comic-download:focus-visible { outline: 2px solid #ff3030; outline-offset: 4px; }
.story-card-body .story-comic-download { margin-top: 0.8em; font-size: 0.85em; }
.stories-page,
.story-page {
  padding-top: 36px;
  padding-bottom: 40px;
}

.stories-page {
  max-width: 1160px;
}

.stories-header,
.story-header {
  margin-top: 24px;
  padding: 42px 0 38px;
  border-top: 1px solid var(--bm-black);
  border-bottom: 1px solid var(--bm-gray-line);
}

.stories-kicker,
.story-card-kicker,
.story-section-number {
  margin: 0;
  color: var(--bm-red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stories-header h1,
.story-header h1 {
  max-width: 980px;
  margin: 14px 0 0;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.stories-header > p:last-child,
.story-lead {
  max-width: 880px;
  margin: 24px 0 0;
  color: var(--bm-black-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  line-height: 1.65;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 28px;
  margin-top: 48px;
}

.story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.story-card-cover {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--bm-gray-line);
  background: var(--bm-white);
}

.story-card-cover .story-image-link,
.story-card-cover .story-image,
.story-card-cover img:not(.progressive-placeholder-image) {
  width: 100%;
  height: 100%;
}

.story-card-cover img:not(.progressive-placeholder-image) {
  object-fit: cover;
  transition: transform 260ms ease;
}

.story-card-cover:hover img:not(.progressive-placeholder-image),
.story-card-cover:focus-within img:not(.progressive-placeholder-image) {
  transform: scale(1.025);
}

.story-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding-top: 20px;
}

.story-card h2 {
  min-height: 2.5em;
  margin: 10px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.25;
}

.story-card h2 a {
  color: var(--bm-black);
  text-decoration: none;
}

.story-card h2 a:hover,
.story-card h2 a:focus-visible {
  color: var(--bm-red);
}

.story-card-body > p:not(.story-card-kicker) {
  display: -webkit-box;
  min-height: 4.95em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 14px 0 0;
  color: var(--bm-gray-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  line-height: 1.65;
}

.story-read-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--bm-black);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  text-decoration-color: var(--bm-red);
  text-underline-offset: 4px;
}

.story-read-link:hover,
.story-read-link:focus-visible {
  color: var(--bm-red);
}

.story-page {
  max-width: 1160px;
}

.story-header {
  max-width: 960px;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  color: rgba(48, 48, 48, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
}

.story-header > .story-comic-download {
  margin-top: 20px;
}

.story-content {
  border-bottom: 1px solid var(--bm-gray-line);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding: 64px 0;
  border-bottom: 1px solid var(--bm-gray-line);
}

.story-section:last-child {
  border-bottom: 0;
}

.story-section--reverse .story-section-copy {
  order: 2;
}

.story-section.story-section--text-only {
  display: block;
}

.story-section--text-only .story-section-copy {
  max-width: 780px;
  margin-inline: auto;
}

.story-section--reverse .story-figure {
  order: 1;
}

.story-section-copy h2 {
  margin: 12px 0 24px;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.16;
}

.story-section-copy p:not(.story-section-number) {
  margin: 0;
  color: var(--bm-black-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1.8;
}

.story-section-copy p:not(.story-section-number) + p:not(.story-section-number) {
  margin-top: 18px;
}

.story-section-copy p.story-dialogue + p.story-dialogue {
  margin-top: 8px;
}

.story-figure {
  min-width: 0;
  margin: 0;
}

.story-image-link {
  display: block;
  color: inherit;
}

.story-image {
  position: relative;
  overflow: hidden;
  background: var(--bm-white);
}

.story-image img:not(.progressive-placeholder-image) {
  display: block;
  width: 100%;
  height: auto;
}

.story-card-cover .story-image img:not(.progressive-placeholder-image) {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.story-card-cover--portrait .story-image img:not(.progressive-placeholder-image) {
  object-position: center 24%;
}

.story-figure .story-image {
  max-height: 760px;
  border: 1px solid var(--bm-gray-line);
}

.story-figure .story-image img:not(.progressive-placeholder-image) {
  max-height: 760px;
  object-fit: contain;
}

.story-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: var(--bm-gray-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
}

.story-figure figcaption a {
  flex: 0 0 auto;
  color: var(--bm-black);
  font-weight: 700;
  text-decoration-color: var(--bm-red);
  text-underline-offset: 3px;
}

.story-figure figcaption a:hover,
.story-figure figcaption a:focus-visible {
  color: var(--bm-red);
}

.story-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 48px 0 12px;
}

.story-chapter-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 48px 0 0;
}

.story-chapter-link {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--bm-gray-line);
  color: var(--bm-black);
  font-family: "IBM Plex Mono", monospace;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.story-chapter-link--next {
  text-align: right;
}

.story-chapter-link > span {
  color: var(--bm-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-chapter-link > strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.story-chapter-link:hover,
.story-chapter-link:focus-visible {
  border-color: var(--bm-red);
  background: rgba(255, 42, 42, 0.04);
  color: var(--bm-red);
}

.story-footer-links h2 {
  margin: 0 0 16px;
  color: var(--bm-black);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  line-height: 1.3;
}

.story-footer-links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-footer-links a {
  color: var(--bm-black-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 1.5;
  text-decoration-color: var(--bm-red);
  text-underline-offset: 3px;
}

.story-footer-links a:hover,
.story-footer-links a:focus-visible {
  color: var(--bm-red);
}

.access-page-legal {
  margin: 4px 0 0;
  color: var(--bm-black-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
}

.access-form-legal {
  margin: 4px auto 0;
  color: var(--bm-black-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.access-dialog .access-form-legal {
  max-width: 680px;
}

@media (max-width: 980px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 48px;
  }

  .site-footer-inner {
    padding: 36px 20px 40px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-page {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .stories-page,
  .story-page {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .stories-header,
  .story-header {
    margin-top: 18px;
    padding: 30px 0;
  }

  .stories-header > p:last-child,
  .story-lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 36px;
  }

  .story-card-cover {
    aspect-ratio: 4 / 3;
  }

  .story-card h2,
  .story-card-body > p:not(.story-card-kicker) {
    min-height: 0;
  }

  .story-section,
  .story-section--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0;
  }

  .story-section--reverse .story-section-copy,
  .story-section--reverse .story-figure {
    order: initial;
  }

  .story-section-copy h2 {
    margin-bottom: 18px;
  }

  .story-section-copy p:not(.story-section-number) {
    font-size: 15px;
    line-height: 1.75;
  }

  .story-figure figcaption {
    display: grid;
    gap: 8px;
  }

  .story-footer-links {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 36px;
  }

  .story-chapter-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 36px;
  }

  .story-chapter-link-placeholder {
    display: none;
  }

  .story-chapter-link--next {
    text-align: left;
  }

  .trust-page-card {
    margin-top: 18px;
  }

  .trust-page-header {
    padding: 28px 0 30px;
  }

  .trust-page-header h1 {
    font-size: 34px;
  }

  .trust-page-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .trust-page-content section {
    padding: 28px 0;
  }

  .trust-page-content h2 {
    font-size: 19px;
  }

  .trust-page-content p,
  .trust-page-content li {
    font-size: 14px;
    line-height: 1.68;
  }

  .project-history-day-header {
    align-items: flex-start;
    gap: 8px 12px;
  }
}

/* Clothing and color collection explorer. */
.collections-page-banner-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--bm-gray-line);
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 36, 38, 0.13) 0 72px, transparent 73px),
    linear-gradient(118deg, var(--pixie-card-bg) 0 72%, rgba(255, 36, 38, 0.045) 72% 100%);
}

.collections-page-banner-card h1,
.collections-page-banner-card p {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.collections-explorer {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.collection-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--bm-gray-line);
  background: var(--pixie-card-bg);
}

.collection-filter-copy {
  display: grid;
  gap: 5px;
  max-width: 760px;
}

.collection-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 8px;
  color: var(--bm-gray-text);
  font-size: 13px;
}

.collection-breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collection-card-stats,
.collection-detail-stats {
  color: var(--bm-gray-text);
  font-size: 12px;
  line-height: 1.35;
}

.collection-card-stats {
  display: block;
  margin-top: 6px;
}

.collection-detail-stats {
  margin: 8px 0 0;
}

.collection-related-section {
  margin-top: 36px;
}

.detail-attribute-links {
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}

.detail-attribute-link-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.detail-attribute-link {
  --color-cross: var(--bm-black);
}

.collection-filter-copy strong {
  color: var(--bm-black);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  line-height: 1.25;
}

.collection-filter-copy p {
  margin: 0;
  color: var(--pixie-card-muted);
  font-size: 13px;
  line-height: 1.4;
}

.collection-filter-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.collection-filter-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--pixie-card-muted);
  font-size: 12px;
  font-weight: 700;
}

.collection-filter-field select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 36px 0 14px;
  border: 1px solid rgba(48, 48, 48, 0.3);
  border-radius: 0;
  background: var(--bm-white);
  color: var(--bm-black);
  font: 600 14px/1.2 "IBM Plex Mono", monospace;
}

.collection-filter-field select:focus-visible {
  border-color: var(--bm-red);
  outline: 2px solid rgba(255, 36, 38, 0.15);
  outline-offset: 1px;
}

.collection-filter-status {
  margin: 8px 0 0;
  color: var(--pixie-card-muted);
  font-size: 13px;
}

.collection-filter-retry {
  justify-self: start;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bm-black);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.collection-filter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--bm-black);
  border-radius: 0;
  background: var(--bm-black);
  color: var(--bm-white);
  font: 700 14px/1 "IBM Plex Mono", monospace;
  cursor: pointer;
}

.collection-filter-submit:hover,
.collection-filter-submit:focus-visible {
  border-color: var(--bm-red);
  background: var(--bm-red);
  outline: none;
  transform: none;
}

.collection-type-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.collection-type-tabs a {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 14px;
  box-sizing: border-box;
  border: 1px solid var(--bm-gray-line);
  border-radius: 999px;
  background: var(--pixie-card-bg);
  color: var(--pixie-card-muted);
  font: 700 13px/1.2 "IBM Plex Mono", monospace;
  text-decoration: none;
}

.collection-type-tabs a:hover,
.collection-type-tabs a:focus-visible,
.collection-type-tabs a.active {
  border-color: var(--bm-black);
  background: var(--bm-black);
  color: var(--bm-white);
  outline: none;
  transform: none;
}

.collection-description {
  display: grid;
  gap: 12px;
  max-width: 1050px;
}

.collection-description p {
  margin: 0;
}

.collection-filter-refine {
  margin-bottom: 22px;
}

.collections-empty {
  padding: 42px 22px;
  border: 1px dashed rgba(48, 48, 48, 0.28);
  color: var(--pixie-card-muted);
  font-family: "IBM Plex Mono", monospace;
  text-align: center;
}

@media (max-width: 640px) {
  .collections-page-banner-card {
    padding: 20px 16px;
  }

  .collection-filter-form {
    padding: 16px;
  }

  .collection-filter-controls {
    grid-template-columns: 1fr;
  }

  .collection-filter-submit {
    width: 100%;
  }

  .collection-type-tabs {
    margin-right: -10px;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 58px;
  }

  .header-content {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    width: 100%;
    min-width: 0;
  }

  .logo {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
  }

  .logo img {
    width: 22px;
    height: 22px;
  }

  .logo-title {
    display: none;
  }

  .tag-filter-container {
    flex: 1 1 110px;
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .telegram-header-link {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 50%;
  }

  .telegram-header-icon {
    width: 32px;
    height: 32px;
  }

  .tag-search-wrap {
    flex-wrap: nowrap;
  }

  .tag-filter-input {
    padding: 8px 40px 8px 12px;
  }

  .auth-controls {
    flex: 0 0 auto;
    min-width: 36px;
    gap: 0;
  }

  .auth-user-box {
    gap: 0;
  }

  .auth-username {
    display: none;
  }

  .auth-controls .auth-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
  }

  .auth-controls .auth-button-text {
    display: none;
  }

  .auth-controls .auth-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    font-size: 15px;
    line-height: 1;
  }

  .bot-info {
    justify-content: center;
    text-align: center;
  }

  .access-page {
    gap: 14px;
  }

  .access-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .access-card-icon {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .access-card h2 {
    font-size: 21px;
  }

  .access-card p {
    font-size: 15px;
  }

  .access-card-link {
    width: 100%;
    justify-content: center;
    min-height: 32px;
    font-size: 14px;
  }

  .access-payment-card {
    gap: 16px;
    padding: 20px 16px;
  }

  .access-payment-card h1 {
    font-size: 24px;
  }

  .access-payment-description,
  .access-payment-notice,
  .access-payment-support {
    font-size: 14px;
  }

  .meta-info {
    order: initial;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bm-gray-line);
  }

  .date-views {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 7px;
    justify-content: flex-start;
  }

  .type-badge-full {
    display: none;
  }

  .type-badge-compact {
    display: inline;
  }

  .type-badge--overlay {
    gap: 6px;
  }

  .collections-grid {
    row-gap: 20px;
  }

  .wallpapers-page .collections-grid {
    row-gap: 32px;
  }
}

/* Bug Makers visual sync */
body {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--pixie-page-bg);
  color: var(--pixie-header-text);
  line-height: 1.4;
}

body::selection {
  background: var(--pixie-header-text);
  color: var(--pixie-header-bg);
}

.header {
  background: var(--pixie-header-bg);
  color: var(--pixie-header-text);
  border-bottom: 1px solid var(--pixie-header-border);
  box-shadow: none;
}

.logo,
.auth-button {
  border: 1px solid var(--pixie-control-border);
  background: var(--pixie-control-bg);
  color: var(--pixie-header-text);
}

.auth-button:hover,
.auth-button:focus-visible {
  background: var(--bm-red);
  border-color: var(--bm-red);
  color: var(--bm-white);
}

.logo:hover,
.logo:focus {
  background: color-mix(in srgb, var(--pixie-control-bg) 72%, var(--pixie-header-text));
  border-color: var(--pixie-header-border);
  color: var(--pixie-header-text);
}

.telegram-header-link:hover,
.telegram-header-link:focus-visible {
  color: var(--pixie-header-text);
}

.logo-title,
.auth-button,
.access-choice-button,
.access-details-link,
.tag-filter-input,
.tag-suggestion,
.tag,
.date,
.views-badge,
.vote-count,
.vote-score,
.crawl-pagination-number,
.crawl-pagination-current {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.tag-filter-input {
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--pixie-input-bg);
  color: var(--pixie-input-text);
}

.tag-filter-input::placeholder {
  color: var(--pixie-input-placeholder);
}

.tag-filter-input:hover {
  background: color-mix(in srgb, var(--pixie-input-bg) 86%, var(--pixie-header-text));
}

.tag-filter-input:focus {
  border-color: var(--bm-red);
  background: color-mix(in srgb, var(--pixie-input-bg) 80%, var(--pixie-header-text));
  box-shadow: none;
}

.tag-suggestions {
  border: 1px solid var(--pixie-control-border);
  border-radius: 14px;
  background: var(--pixie-input-bg);
  box-shadow: var(--bm-shadow);
}

.tag-suggestion {
  border-radius: 10px;
  background: var(--pixie-control-bg);
  color: var(--pixie-input-text);
}

.tag-suggestion:hover,
.tag-suggestion:focus {
  background: var(--bm-red);
  color: var(--bm-white);
}

.login-modal,
.access-modal {
  background: rgba(48, 48, 48, 0.72);
}

.login-dialog,
.access-dialog {
  border: 1px solid var(--bm-gray-line);
  border-radius: 0;
  background: var(--bm-gray);
  color: var(--bm-black);
  box-shadow: var(--bm-shadow);
}

.login-dialog h2,
.access-dialog h2,
.tag-page-banner-card h1,
.detail-description-title,
.related-title {
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.login-dialog h2,
.access-dialog h2 {
  color: var(--bm-black);
}

.login-close,
.access-close {
  border-color: rgba(48, 48, 48, 0.52);
  background: transparent;
  color: var(--bm-black);
}

.login-close:hover,
.login-close:focus-visible,
.access-close:hover,
.access-close:focus-visible {
  border-color: var(--bm-black);
  background: transparent;
  color: var(--bm-black);
}

.access-dialog {
  width: min(calc(100vw - 96px), 840px);
  margin-right: 84px;
  gap: 0;
  padding: 80px 56px 70px;
  border: 0;
  border-radius: 56px;
  background: var(--bm-white);
  color: var(--bm-black);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.access-dialog .access-dialog-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  min-height: 0;
  display: block;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.access-close {
  top: 0;
  right: -84px;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: var(--bm-white);
  color: var(--bm-black);
  font-size: 30px;
}

.access-close:hover,
.access-close:focus-visible {
  background: var(--bm-white);
  color: var(--bm-red);
}

.access-offers {
  display: grid;
  gap: 0;
}

.access-offer {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 0 0 52px;
  text-align: center;
}

.access-offer + .access-offer {
  padding-top: 40px;
  border-top: 1px solid var(--bm-gray-line);
}

.access-offer h3 {
  margin: 0;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(27px, 3.1vw, 38px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.access-offer h3 span {
  color: var(--bm-red);
}

.access-offer p {
  max-width: 560px;
  margin: -10px 0 4px;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.access-dialog .access-choice-button {
  width: min(100%, 730px);
  min-height: 70px;
  padding: 16px 32px;
  border: 2px solid var(--bm-black);
  border-radius: 999px;
  background: var(--bm-black);
  color: var(--bm-white);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: clamp(20px, 2.15vw, 27px);
  font-weight: 400;
  line-height: 1.2;
}

.access-dialog .access-choice-button:hover,
.access-dialog .access-choice-button:focus-visible {
  background: var(--bm-white);
  color: var(--bm-black);
}

.access-dialog .access-choice-button-secondary {
  min-height: 70px;
  margin-top: 50px;
  background: var(--bm-white);
  color: var(--bm-black);
}

.access-dialog .access-choice-button-secondary:hover,
.access-dialog .access-choice-button-secondary:focus-visible {
  background: var(--bm-black);
  color: var(--bm-white);
}

.access-dialog .access-details-link {
  margin-top: 38px;
  font-size: 15px;
}

.access-dialog .access-support-note {
  max-width: 710px;
  margin: 26px auto 0;
  font-size: 17px;
  line-height: 1.4;
}

.login-field span,
.login-access-link,
.login-status,
.login-status.muted {
  color: var(--bm-black-dark);
  font-size: 14px;
}

.login-field input {
  height: 40px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 999px;
  background: transparent;
  color: var(--bm-black);
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.login-field input:hover,
.login-field input:focus {
  border-color: var(--bm-black);
  background: transparent;
  box-shadow: none;
}

.login-submit {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 999px;
  background: transparent;
  color: var(--bm-black);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.login-submit:hover,
.login-submit:focus-visible {
  background: transparent;
  border-color: var(--bm-black);
  color: var(--bm-black);
  box-shadow: none;
  transform: none;
}

.login-access-link a:not(.login-access-button) {
  color: var(--bm-red);
}

.login-access-button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  background: var(--bm-white);
  color: var(--bm-black);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.login-access-button:hover,
.login-access-button:focus-visible {
  background: var(--bm-white);
  border-color: var(--bm-black);
  color: var(--bm-black);
  box-shadow: none;
  transform: none;
}

.not-found-page {
  background: var(--pixie-page-bg);
}

.tag-page-banner-card,
.detail-description-card,
.related-tags-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pixie-card-text);
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.tag-page-banner-card h1 {
  color: var(--pixie-card-text);
  font-size: 34px;
}

.tag-page-banner-card p,
.detail-description-card,
.detail-description-text {
  color: var(--pixie-card-muted);
}

.progressive-media {
  background-color: var(--pixie-media-bg);
  background-image: var(--pixie-progressive-fallback);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.progressive-media::before {
  background-image: var(--pixie-progressive-fallback);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.progressive-media.is-progressive-bound.is-loaded::after {
  opacity: 0;
  animation: none;
}

.crawl-pagination-number,
.crawl-pagination-ellipsis,
.loading,
.no-more {
  color: var(--pixie-header-text);
}

.tag-page-editorial {
  display: grid;
  gap: 12px;
  max-width: 1050px;
}

.tag-page-editorial p {
  margin: 0;
}

.spinner {
  border-color: var(--bm-black-dark);
  border-top-color: var(--bm-red);
}

.no-more-content i {
  color: var(--bm-red);
}

.date i,
.views-icon {
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
}

.meta-info {
  border-bottom-color: var(--bm-gray-line);
}

.views-badge {
  color: color-mix(in srgb, var(--bm-black) 65%, transparent);
}

.tag {
  --color-text: var(--pixie-card-text);
  --color-cross: #FF2426;
}

.tag-link:hover,
.tag-link:focus-visible {
  --color-text: color-mix(in srgb, var(--bm-black) 65%, transparent);
  --color-cross: color-mix(in srgb, var(--bm-black) 65%, transparent);
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
}

.tag.is-adult {
  background: transparent;
  color: var(--color-text);
}

.modal-content {
  border-radius: 0;
}

.close:hover {
  color: var(--bm-red);
}

.modal-info {
  border-top-color: var(--bm-gray-line);
  background: var(--bm-gray);
  color: var(--bm-black);
}

.modal-date {
  color: var(--bm-black-dark);
}

@media (max-width: 600px) {
  .header-content {
    gap: 6px;
    padding: 0 8px;
  }

  .tag-filter-container {
    flex: 1 1 110px;
  }

  .telegram-header-link {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 50%;
  }

  .telegram-header-icon {
    width: 32px;
    height: 32px;
  }

  .tag-page-banner-card h1 {
    font-size: 28px;
  }
}

/* Header refresh from the light Bug Makers mockups */
body {
  padding-top: 57px;
}

.header {
  padding: 0;
  background: var(--bm-gray);
  color: var(--bm-black);
  border-bottom: 1px solid #e3e3e3;
  box-shadow: none;
}

.header-content {
  width: 100%;
  max-width: 800px;
  min-height: 56px;
  margin: 0 auto;
  padding: 8px 20px;
  border-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.logo {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bm-black);
}

.logo:hover,
.logo:focus,
.logo:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--bm-black);
  text-decoration: none;
  transform: none;
}

.logo-icon,
.logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.18s ease;
}

.logo-title {
  color: var(--bm-black);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo:hover .logo-icon,
.logo:hover img,
.logo:focus .logo-icon,
.logo:focus img,
.logo:focus-visible .logo-icon,
.logo:focus-visible img {
  transform: rotate(-7deg);
}

.tag-filter-container {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  overflow: visible;
}

.tag-filter-container-desktop {
  flex: 0 0 300px;
  width: 300px;
  margin-left: auto;
}

.tag-search-wrap {
  min-height: 40px;
}

.tag-filter-input {
  height: 40px;
  padding: 0 18px 0 48px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 999px;
  background: transparent;
  color: var(--bm-black);
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.18s ease;
}

.tag-filter-input::placeholder {
  color: rgba(48, 48, 48, 0.28);
}

.tag-filter-input:hover,
.tag-filter-input:focus {
  border-color: var(--bm-black);
  background: transparent;
  box-shadow: none;
}

.tag-search-icon {
  left: 20px;
  right: auto;
  width: 16px;
  height: 16px;
  color: var(--bm-black);
  opacity: 1;
}

.tag-search-icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.tag-suggestions {
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(48, 48, 48, 0.26);
  border-radius: 18px;
  background: var(--bm-gray);
  box-shadow: 0 18px 42px rgba(48, 48, 48, 0.16);
}

.tag-suggestion {
  min-height: 30px;
  padding: 8px 14px;
  border-radius: 10px;
  background: transparent;
  color: var(--bm-black);
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
  transition: background-color 0.14s ease;
}

.tag-suggestion:hover,
.tag-suggestion:focus {
  background: rgba(48, 48, 48, 0.06);
  color: var(--bm-black);
}

.header-icon-button,
.telegram-header-link {
  flex: 0 0 auto;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 50%;
  background: transparent;
  color: var(--bm-black);
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.header-icon-button:hover,
.header-icon-button:focus-visible,
.telegram-header-link:hover,
.telegram-header-link:focus-visible {
  border-color: var(--bm-black);
  background: transparent;
  color: var(--bm-black);
  opacity: 1;
  text-decoration: none;
  transform: none;
}

.header-control-icon,
.telegram-header-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.mobile-search-trigger {
  display: none;
}

.header .auth-controls {
  flex: 0 0 auto;
  gap: 8px;
}

.header .auth-button {
  min-width: 0;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(48, 48, 48, 0.52);
  border-radius: 999px;
  background: transparent;
  color: var(--bm-black);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  gap: 8px;
  box-shadow: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.header .auth-button:hover,
.header .auth-button:focus-visible {
  border-color: var(--bm-black);
  background: transparent;
  color: var(--bm-black);
  box-shadow: none;
  transform: none;
}

.header .auth-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  object-fit: contain;
  font-size: 22px;
}

.header .auth-user-box {
  gap: 12px;
}

.header .auth-username {
  max-width: 160px;
  color: var(--bm-black);
  font-size: 18px;
}

.mobile-search-modal {
  position: fixed;
  inset: 0;
  z-index: 5200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.mobile-search-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-search-modal.is-hidden {
  display: none !important;
}

.mobile-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 48, 48, 0.62);
}

.mobile-search-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(86vh, 500px);
  max-height: min(86vh, 500px);
  padding: 0 32px 28px;
  border-radius: 28px 28px 0 0;
  background: var(--bm-gray);
  color: var(--bm-black);
  box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-search-modal.is-visible .mobile-search-sheet {
  opacity: 1;
  transform: translateY(0);
}

.mobile-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  margin: 0 -32px 22px;
  padding: 0 32px;
  border-bottom: 1px solid var(--bm-gray-line);
}

.mobile-search-header h2 {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.mobile-search-close {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bm-black);
  cursor: pointer;
  font: inherit;
  font-size: 0;
  line-height: 1;
  transition: none;
}

.mobile-search-close::before,
.mobile-search-close::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 1px;
  background: var(--bm-black);
  transform-origin: center;
}

.mobile-search-close::before {
  transform: rotate(45deg);
}

.mobile-search-close::after {
  transform: rotate(-45deg);
}

.mobile-search-close:hover,
.mobile-search-close:focus-visible {
  background: transparent;
  color: var(--bm-black);
  transform: none;
}

.tag-filter-container-mobile {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.tag-filter-container-mobile .tag-search-wrap {
  flex: 0 0 auto;
}

.tag-filter-container-mobile .tag-suggestions {
  position: static;
  margin-top: 18px;
  padding: 0 4px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px 24px;
}

.tag-filter-container-mobile .tag-suggestions.is-hidden {
  display: none !important;
}

.tag-filter-container-mobile .tag-suggestion {
  width: auto;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-suggestion-match {
  font-weight: 700;
}

.tag-filter-container-mobile .tag-suggestion::before {
  content: "#";
  margin-right: 2px;
  color: rgba(48, 48, 48, 0.52);
}

@media (max-width: 850px) {
  body {
    padding-top: 48px;
  }

  .header-content {
    min-height: 47px;
    padding: 7px 15px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .tag-filter-container-desktop {
    display: none;
  }

  .mobile-search-trigger {
    display: inline-flex;
    margin-left: auto;
  }

  .logo {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 32px;
    padding: 0;
    gap: 8px;
    border-radius: 0;
  }

  .logo-title {
    display: inline;
    font-size: 22px;
  }

  .logo-icon,
  .logo img {
    width: 32px;
    height: 32px;
  }

  .header-icon-button,
  .telegram-header-link {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .header-control-icon,
  .telegram-header-icon {
    width: 20px;
    height: 20px;
  }

  .header .auth-controls {
    min-width: 0;
    gap: 8px;
  }

  .header .auth-button {
    width: auto;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    padding: 0 14px;
    font-size: 14px;
  }

  .header .auth-button-text {
    display: inline;
  }

  .header .auth-icon {
    width: 18px;
    height: 18px;
  }

  .login-field input {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 48px;
  }

  .header-content {
    min-height: 47px;
    padding: 7px 15px;
    gap: 8px;
  }

  .logo {
    gap: 6px;
    min-height: 32px;
  }

  .logo-title {
    font-size: 22px;
    letter-spacing: -0.06em;
  }

  .logo-icon,
  .logo img {
    width: 28px;
    height: 28px;
  }

  .header-icon-button,
  .telegram-header-link {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .header-control-icon,
  .telegram-header-icon {
    width: 20px;
    height: 20px;
  }

  .header .auth-button {
    height: 32px;
    min-height: 32px;
    padding: 0 9px;
    font-size: 14px;
    gap: 6px;
  }

  .header .auth-icon {
    width: 17px;
    height: 17px;
  }

  .mobile-search-sheet {
    height: min(86vh, 500px);
    max-height: min(86vh, 500px);
    padding: 0 24px 24px;
  }

  .mobile-search-header {
    min-height: 58px;
    margin: 0 -24px 20px;
    padding: 0 24px;
  }

  .mobile-search-header h2 {
    font-size: 16px;
  }

  .mobile-search-sheet .tag-filter-input {
    height: 40px;
    min-height: 40px;
    padding-left: 48px;
    font-size: 16px;
  }
}

@media (max-width: 374px) {
  .logo-title {
    font-size: 16px;
  }
}

@media (max-width: 349px) {
  .logo-title {
    display: none;
  }
}

@media (max-width: 760px) {
  .access-modal {
    padding: 16px;
  }

  .access-dialog {
    width: min(100%, 560px);
    margin-right: 0;
    padding: 42px 24px 34px;
    border-radius: 34px;
  }

  .access-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(48, 48, 48, 0.52);
    font-size: 18px;
  }

  .access-offer {
    gap: 16px;
    padding-bottom: 28px;
  }

  .access-offer + .access-offer {
    padding-top: 26px;
  }

  .access-offer h3 {
    max-width: 360px;
    padding-right: 0;
    font-size: clamp(23px, 7vw, 30px);
  }

  .access-offer p {
    max-width: 340px;
    margin: -6px 0 2px;
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .access-dialog .access-choice-button {
    min-height: 56px;
    padding: 12px 20px;
    font-size: clamp(17px, 5.2vw, 22px);
  }

  .access-dialog .access-choice-button-secondary {
    margin-top: 28px;
  }

  .access-dialog .access-details-link {
    margin-top: 24px;
    font-size: 14px;
  }

  .access-dialog .access-support-note {
    margin-top: 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .access-modal {
    align-items: flex-start;
    padding: 122px 0 0;
  }

  .access-dialog {
    width: 100%;
    max-height: calc(100dvh - 122px);
    padding: 0 34px 34px;
    border-radius: 14px 14px 0 0;
    background: var(--bm-gray);
  }

  .access-dialog .access-dialog-title {
    position: sticky;
    top: 0;
    z-index: 2;
    width: auto;
    height: 68px;
    min-height: 68px;
    padding: 0 64px 0 34px;
    margin: 0 -34px 30px;
    border-bottom: 1px solid var(--bm-gray-line);
    display: flex;
    align-items: center;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--bm-gray);
    color: var(--bm-black);
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
  }

  .access-close {
    top: 13px;
    right: 22px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    font-size: 20px;
  }

  .access-close:hover,
  .access-close:focus-visible {
    background: transparent;
  }

  .access-offer {
    gap: 16px;
    padding-bottom: 28px;
  }

  .access-offer + .access-offer {
    padding-top: 22px;
  }

  .access-offer h3 {
    font-size: 25px;
    line-height: 1.15;
  }

  .access-offer p {
    max-width: 310px;
    margin: -5px 0 2px;
    font-size: 23px;
    line-height: 1.32;
  }

  .access-dialog .access-choice-button {
    min-height: 56px;
    padding: 12px 18px;
    font-size: 23px;
  }

  .access-dialog .access-choice-button-secondary {
    margin-top: 30px;
  }

  .access-dialog .access-details-link {
    margin-top: 20px;
  }

  .access-dialog .access-support-note {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.35;
  }
}

@media (max-width: 380px) {
  .access-dialog {
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 28px;
  }

  .access-dialog .access-dialog-title {
    padding-right: 58px;
    padding-left: 18px;
    margin-right: -18px;
    margin-left: -18px;
  }

  .access-close {
    right: 14px;
  }
}

/* Final access dialog proportions from the approved responsive mockup. */
.access-modal {
  padding: 40px 72px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.access-dialog {
  width: min(calc(100vw - 96px), 480px);
  height: min(698px, calc(100dvh - 80px));
  max-height: calc(100dvh - 80px);
  margin-right: 0;
  padding: 34px 30px 24px;
  border-radius: 28px;
  overflow: visible;
}

.access-close {
  top: 0;
  right: -54px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.access-close i {
  display: none;
}

.access-close::before,
.access-close::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.access-close::before {
  transform: rotate(45deg);
}

.access-close::after {
  transform: rotate(-45deg);
}

.access-offer {
  gap: 10px;
  padding: 0 0 16px;
}

.access-offer + .access-offer {
  padding-top: 16px;
}

.access-offer:last-child {
  padding-bottom: 0;
}

.access-offer h3 {
  max-width: 420px;
  font-size: 24px;
  line-height: 1.16;
}

.access-offer p {
  max-width: 350px;
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
}

.access-dialog .access-choice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 8px 20px;
  border: 2px solid var(--bm-black);
  border-radius: 999px;
  background: var(--bm-black);
  color: var(--bm-white);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.access-dialog .access-choice-button-secondary {
  position: relative;
  min-height: 40px;
  height: 40px;
  margin-top: 49px;
  padding: 8px 20px;
  background: var(--bm-white);
  color: var(--bm-black);
}

.access-dialog .access-choice-button-secondary::before {
  content: "";
  position: absolute;
  top: -25px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--bm-gray-line);
  pointer-events: none;
}

.access-dialog .access-choice-button:hover,
.access-dialog .access-choice-button:focus-visible {
  background: var(--bm-white);
  color: var(--bm-black);
}

.access-dialog .access-choice-button-secondary:hover,
.access-dialog .access-choice-button-secondary:focus-visible {
  background: var(--bm-black);
  color: var(--bm-white);
}

.access-dialog .access-details-link {
  margin-top: 15px;
  font-size: 12px;
}

.access-dialog .access-support-note {
  max-width: 360px;
  margin: 14px auto 0;
  font-size: 12px;
  line-height: 1.35;
}

.access-email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.access-email-form.is-hidden {
  display: none;
}

.access-dialog.is-email-step {
  height: auto;
  min-height: 0;
  padding-top: 54px;
}

.access-dialog.is-email-step .access-dialog-title,
.access-dialog.is-email-step .access-offers,
.access-dialog.is-email-step .access-choice-button-secondary,
.access-dialog.is-email-step .access-details-link {
  display: none;
}

.access-email-title {
  max-width: 420px;
  margin: 0 auto;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.16;
  text-align: center;
}

.access-email-title span {
  color: var(--bm-red);
}

.access-email-description {
  max-width: 400px;
  margin: -4px auto 4px;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1.42;
  text-align: center;
}

.access-email-field {
  display: flex;
  flex-direction: column;
  color: rgba(48, 48, 48, 0.62);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 1.2;
}

.access-email-separator {
  margin: -6px 0;
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1.42;
  text-align: center;
}

.access-email-field input {
  width: 100%;
  height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(48, 48, 48, 0.26);
  border-radius: 999px;
  background: var(--bm-white);
  color: var(--bm-black);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
}

.access-email-field input::placeholder {
  color: rgba(48, 48, 48, 0.32);
}

.access-email-field input:focus-visible {
  border-color: var(--bm-black);
  box-shadow: 0 0 0 3px rgba(48, 48, 48, 0.10);
}

.access-email-notice {
  max-width: 560px;
  margin: -2px auto 0;
  color: rgba(48, 48, 48, 0.68);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.38;
  text-align: center;
}

.access-email-status {
  min-height: 18px;
  margin-top: -8px;
  color: var(--bm-red);
  font-family: "Terminalia", "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

.access-email-status:empty {
  display: none;
}

.access-email-status.success {
  color: #2f8f44;
}

.access-dialog .access-email-submit {
  margin-top: 0;
}

.access-dialog.is-email-step .access-support-note {
  position: relative;
  max-width: 390px;
  margin-top: 26px;
  padding-top: 26px;
}

.access-dialog.is-email-step .access-support-note::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--bm-gray-line);
}

@media (max-width: 760px) {
  .access-modal {
    padding: 40px 16px;
  }

  .access-dialog {
    width: min(100%, 480px);
    height: auto;
    max-height: calc(100dvh - 80px);
    padding: 42px 24px 24px;
    border-radius: 28px;
  }

  .access-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(48, 48, 48, 0.52);
    background: transparent;
    font-size: 18px;
  }

  .access-close::before,
  .access-close::after {
    width: 22px;
  }
}

@media (max-width: 480px) {
  .access-modal {
    align-items: flex-end;
    padding: 0;
  }

  .access-dialog {
    width: 100%;
    height: auto;
    max-height: 100dvh;
    padding: 0 18px 24px;
    border-radius: 16px 16px 0 0;
    background: var(--bm-gray);
  }

  .access-dialog .access-dialog-title {
    height: 48px;
    min-height: 48px;
    padding: 0 46px 0 18px;
    margin: 0 -18px 18px;
    border-radius: 16px 16px 0 0;
    font-size: 16px;
    line-height: 1.1;
  }

  .access-close {
    top: 8px;
    right: 9px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 18px;
  }

  .access-close::before,
  .access-close::after {
    width: 20px;
    height: 1.5px;
  }

  .access-offer {
    gap: 10px;
    padding-bottom: 16px;
  }

  .access-offer:last-child {
    padding-bottom: 16px;
  }

  .access-offer + .access-offer {
    padding-top: 14px;
  }

  .access-offer h3 {
    max-width: 300px;
    font-size: 20px;
    line-height: 1.2;
  }

  .access-offer p {
    max-width: 285px;
    margin: -2px 0 0;
    font-size: 13px;
    line-height: 1.42;
  }

  .access-dialog .access-choice-button {
    width: 100%;
    min-height: 40px;
    height: 40px;
    padding: 8px 14px;
    font-size: 16px;
    line-height: 1.25;
  }

  .access-dialog .access-choice-button-secondary {
    margin-top: 30px;
  }

  .access-dialog .access-choice-button-secondary::before {
    top: -16px;
  }

  .access-dialog .access-details-link {
    margin-top: 14px;
    font-size: 11px;
  }

  .access-dialog .access-support-note {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.35;
  }

  .access-dialog.is-email-step {
    padding: 28px 18px 24px;
    border-radius: 16px 16px 0 0;
  }

  .access-email-form {
    gap: 16px;
  }

  .access-email-title {
    max-width: 300px;
    font-size: 20px;
    line-height: 1.2;
  }

  .access-email-description {
    max-width: 320px;
    margin-top: -2px;
    font-size: 13px;
    line-height: 1.42;
  }

  .access-email-field {
    font-size: 13px;
  }

  .access-email-separator {
    font-size: 13px;
    line-height: 1.42;
  }

  .access-email-field input {
    height: 42px;
    padding: 9px 18px;
    font-size: 16px;
  }

  .access-email-notice {
    max-width: 320px;
    font-size: 11px;
    line-height: 1.36;
  }

  .access-dialog.is-email-step .access-support-note {
    margin-top: 22px;
    padding-top: 22px;
  }
}

/* Wallpapers */
.wallpapers-page .collections-page-banner-card,
.wallpaper-category-page .collection-detail-banner-card {
  border-color: rgba(48, 48, 48, 0.1);
}

@media (max-width: 850px) {
  .header .auth-button {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
  }

  .header .auth-button-text {
    display: none;
  }

  .header .auth-icon {
    width: 20px;
    height: 20px;
  }
}
